@leaflow/sdk 0.131.0 → 0.133.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 (699) hide show
  1. package/dist/canopy/inference/v1/generated/functions.d.ts +100 -0
  2. package/dist/canopy/inference/v1/generated/functions.js +96 -0
  3. package/dist/canopy/inference/v1/generated/models.d.ts +74 -0
  4. package/dist/canopy/inference/v1/generated/models.js +4 -0
  5. package/dist/canopy/inference/v1/generated/schemas.zod.d.ts +40 -0
  6. package/dist/canopy/inference/v1/generated/schemas.zod.js +26 -0
  7. package/dist/canopy/inference/v1/generated/validators/chatCompletion.zod.d.ts +11 -0
  8. package/dist/canopy/inference/v1/generated/validators/chatCompletion.zod.js +9 -0
  9. package/dist/canopy/inference/v1/generated/validators/chatCompletionRequest.zod.d.ts +18 -0
  10. package/dist/canopy/inference/v1/generated/validators/chatCompletionRequest.zod.js +16 -0
  11. package/dist/canopy/inference/v1/generated/validators/embeddingRequest.zod.d.ts +20 -0
  12. package/dist/canopy/inference/v1/generated/validators/embeddingRequest.zod.js +17 -0
  13. package/dist/canopy/inference/v1/generated/validators/embeddingResponse.zod.d.ts +11 -0
  14. package/dist/canopy/inference/v1/generated/validators/embeddingResponse.zod.js +9 -0
  15. package/dist/canopy/inference/v1/generated/validators/error.zod.d.ts +18 -0
  16. package/dist/canopy/inference/v1/generated/validators/error.zod.js +16 -0
  17. package/dist/canopy/inference/v1/generated/validators/model.zod.d.ts +23 -0
  18. package/dist/canopy/inference/v1/generated/validators/model.zod.js +21 -0
  19. package/dist/canopy/inference/v1/generated/validators/modelList.zod.d.ts +26 -0
  20. package/dist/canopy/inference/v1/generated/validators/modelList.zod.js +13 -0
  21. package/dist/canopy/inference/v1/index.d.ts +3 -0
  22. package/dist/canopy/inference/v1/index.js +3 -0
  23. package/dist/canopy/v1/generated/functions.d.ts +1 -1
  24. package/dist/canopy/v1/generated/models.d.ts +1 -1
  25. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
  26. package/dist/canopy/v1/generated/schemas.zod.js +1 -1
  27. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +1 -1
  28. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +1 -1
  29. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +1 -1
  30. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +1 -1
  31. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +1 -1
  32. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +1 -1
  33. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  34. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +1 -1
  35. package/dist/canopy/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
  36. package/dist/canopy/v1/generated/validators/accountIdentity.zod.js +1 -1
  37. package/dist/canopy/v1/generated/validators/activeResource.zod.d.ts +1 -1
  38. package/dist/canopy/v1/generated/validators/activeResource.zod.js +1 -1
  39. package/dist/canopy/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
  40. package/dist/canopy/v1/generated/validators/activeResourceList.zod.js +1 -1
  41. package/dist/canopy/v1/generated/validators/allowance.zod.d.ts +1 -1
  42. package/dist/canopy/v1/generated/validators/allowance.zod.js +1 -1
  43. package/dist/canopy/v1/generated/validators/allowanceList.zod.d.ts +1 -1
  44. package/dist/canopy/v1/generated/validators/allowanceList.zod.js +1 -1
  45. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +1 -1
  46. package/dist/canopy/v1/generated/validators/applicability.zod.js +1 -1
  47. package/dist/canopy/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
  48. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
  49. package/dist/canopy/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
  50. package/dist/canopy/v1/generated/validators/appliedCredit.zod.js +1 -1
  51. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
  52. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.js +1 -1
  53. package/dist/canopy/v1/generated/validators/billingAccount.zod.d.ts +1 -1
  54. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +1 -1
  55. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
  56. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.js +1 -1
  57. package/dist/canopy/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
  58. package/dist/canopy/v1/generated/validators/billingAccountList.zod.js +1 -1
  59. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
  60. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  61. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
  62. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
  63. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +1 -1
  64. package/dist/canopy/v1/generated/validators/cancellation.zod.js +1 -1
  65. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
  66. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +1 -1
  67. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  68. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +1 -1
  69. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  70. package/dist/canopy/v1/generated/validators/cancellationList.zod.js +1 -1
  71. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
  72. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  73. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
  74. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
  75. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  76. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +1 -1
  77. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  78. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +1 -1
  79. package/dist/canopy/v1/generated/validators/contact.zod.d.ts +1 -1
  80. package/dist/canopy/v1/generated/validators/contact.zod.js +1 -1
  81. package/dist/canopy/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  82. package/dist/canopy/v1/generated/validators/contactCreate.zod.js +1 -1
  83. package/dist/canopy/v1/generated/validators/contactList.zod.d.ts +1 -1
  84. package/dist/canopy/v1/generated/validators/contactList.zod.js +1 -1
  85. package/dist/canopy/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  86. package/dist/canopy/v1/generated/validators/contactUpdate.zod.js +1 -1
  87. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +1 -1
  88. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +1 -1
  89. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -1
  90. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +1 -1
  91. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +1 -1
  92. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +1 -1
  93. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  94. package/dist/canopy/v1/generated/validators/creditGrant.zod.js +1 -1
  95. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  96. package/dist/canopy/v1/generated/validators/creditGrantList.zod.js +1 -1
  97. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  98. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
  99. package/dist/canopy/v1/generated/validators/creditNote.zod.d.ts +1 -1
  100. package/dist/canopy/v1/generated/validators/creditNote.zod.js +1 -1
  101. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  102. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.js +1 -1
  103. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  104. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  105. package/dist/canopy/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  106. package/dist/canopy/v1/generated/validators/creditNoteList.zod.js +1 -1
  107. package/dist/canopy/v1/generated/validators/currency.zod.d.ts +1 -1
  108. package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
  109. package/dist/canopy/v1/generated/validators/currencyList.zod.d.ts +1 -1
  110. package/dist/canopy/v1/generated/validators/currencyList.zod.js +1 -1
  111. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +1 -1
  112. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +1 -1
  113. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  114. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +1 -1
  115. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +1 -1
  116. package/dist/canopy/v1/generated/validators/discount.zod.js +1 -1
  117. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +1 -1
  118. package/dist/canopy/v1/generated/validators/discountList.zod.js +1 -1
  119. package/dist/canopy/v1/generated/validators/entitlement.zod.d.ts +1 -1
  120. package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
  121. package/dist/canopy/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  122. package/dist/canopy/v1/generated/validators/entitlementList.zod.js +1 -1
  123. package/dist/canopy/v1/generated/validators/error.zod.d.ts +1 -1
  124. package/dist/canopy/v1/generated/validators/error.zod.js +1 -1
  125. package/dist/canopy/v1/generated/validators/errorA200529.zod.d.ts +1 -1
  126. package/dist/canopy/v1/generated/validators/errorA200529.zod.js +1 -1
  127. package/dist/canopy/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  128. package/dist/canopy/v1/generated/validators/featureGrant.zod.js +1 -1
  129. package/dist/canopy/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  130. package/dist/canopy/v1/generated/validators/featureGrantList.zod.js +1 -1
  131. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  132. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  133. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +1 -1
  134. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +1 -1
  135. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +1 -1
  136. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +1 -1
  137. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +1 -1
  138. package/dist/canopy/v1/generated/validators/invoice.zod.js +1 -1
  139. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
  140. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +1 -1
  141. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
  142. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.js +1 -1
  143. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +1 -1
  144. package/dist/canopy/v1/generated/validators/invoiceList.zod.js +1 -1
  145. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  146. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +1 -1
  147. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  148. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +1 -1
  149. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +1 -1
  150. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +1 -1
  151. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +1 -1
  152. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +1 -1
  153. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +1 -1
  154. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +1 -1
  155. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +1 -1
  156. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +1 -1
  157. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +1 -1
  158. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +1 -1
  159. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +1 -1
  160. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +1 -1
  161. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +1 -1
  162. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +1 -1
  163. package/dist/canopy/v1/generated/validators/modelPricing.zod.d.ts +1 -1
  164. package/dist/canopy/v1/generated/validators/modelPricing.zod.js +1 -1
  165. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +1 -1
  166. package/dist/canopy/v1/generated/validators/modelResource.zod.js +1 -1
  167. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +1 -1
  168. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +1 -1
  169. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +1 -1
  170. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +1 -1
  171. package/dist/canopy/v1/generated/validators/money.zod.d.ts +1 -1
  172. package/dist/canopy/v1/generated/validators/money.zod.js +1 -1
  173. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
  174. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +1 -1
  175. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
  176. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  177. package/dist/canopy/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  178. package/dist/canopy/v1/generated/validators/namedIdentity.zod.js +1 -1
  179. package/dist/canopy/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  180. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
  181. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  182. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +1 -1
  183. package/dist/canopy/v1/generated/validators/order.zod.d.ts +1 -1
  184. package/dist/canopy/v1/generated/validators/order.zod.js +1 -1
  185. package/dist/canopy/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  186. package/dist/canopy/v1/generated/validators/orderCancel.zod.js +1 -1
  187. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +1 -1
  188. package/dist/canopy/v1/generated/validators/orderItem.zod.js +1 -1
  189. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  190. package/dist/canopy/v1/generated/validators/orderItemList.zod.js +1 -1
  191. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  192. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
  193. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +1 -1
  194. package/dist/canopy/v1/generated/validators/orderList.zod.js +1 -1
  195. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.d.ts +1 -1
  196. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  197. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +1 -1
  198. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  199. package/dist/canopy/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  200. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
  201. package/dist/canopy/v1/generated/validators/paidWith.zod.d.ts +1 -1
  202. package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
  203. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  204. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  205. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  206. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  207. package/dist/canopy/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  208. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +1 -1
  209. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  210. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  211. package/dist/canopy/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  212. package/dist/canopy/v1/generated/validators/paymentMethod.zod.js +1 -1
  213. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  214. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.js +1 -1
  215. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  216. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  217. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  218. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  219. package/dist/canopy/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  220. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
  221. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  222. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.js +1 -1
  223. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  224. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  225. package/dist/canopy/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  226. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +1 -1
  227. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  228. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  229. package/dist/canopy/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  230. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +1 -1
  231. package/dist/canopy/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  232. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
  233. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +1 -1
  234. package/dist/canopy/v1/generated/validators/placedOrder.zod.js +1 -1
  235. package/dist/canopy/v1/generated/validators/plan.zod.d.ts +1 -1
  236. package/dist/canopy/v1/generated/validators/plan.zod.js +1 -1
  237. package/dist/canopy/v1/generated/validators/planFeature.zod.d.ts +1 -1
  238. package/dist/canopy/v1/generated/validators/planFeature.zod.js +1 -1
  239. package/dist/canopy/v1/generated/validators/planList.zod.d.ts +1 -1
  240. package/dist/canopy/v1/generated/validators/planList.zod.js +1 -1
  241. package/dist/canopy/v1/generated/validators/price.zod.d.ts +1 -1
  242. package/dist/canopy/v1/generated/validators/price.zod.js +1 -1
  243. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +1 -1
  244. package/dist/canopy/v1/generated/validators/priceList.zod.js +1 -1
  245. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +1 -1
  246. package/dist/canopy/v1/generated/validators/priceOption.zod.js +1 -1
  247. package/dist/canopy/v1/generated/validators/product.zod.d.ts +1 -1
  248. package/dist/canopy/v1/generated/validators/product.zod.js +1 -1
  249. package/dist/canopy/v1/generated/validators/productID.zod.d.ts +1 -1
  250. package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
  251. package/dist/canopy/v1/generated/validators/productList.zod.d.ts +1 -1
  252. package/dist/canopy/v1/generated/validators/productList.zod.js +1 -1
  253. package/dist/canopy/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
  254. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +1 -1
  255. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
  256. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.js +1 -1
  257. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  258. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
  259. package/dist/canopy/v1/generated/validators/quote.zod.d.ts +1 -1
  260. package/dist/canopy/v1/generated/validators/quote.zod.js +1 -1
  261. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +1 -1
  262. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +1 -1
  263. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +1 -1
  264. package/dist/canopy/v1/generated/validators/quoteA200529.zod.js +1 -1
  265. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.d.ts +1 -1
  266. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +1 -1
  267. package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +1 -1
  268. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +1 -1
  269. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +1 -1
  270. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.js +1 -1
  271. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  272. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +1 -1
  273. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  274. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
  275. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
  276. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
  277. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +1 -1
  278. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +1 -1
  279. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
  280. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
  281. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +1 -1
  282. package/dist/canopy/v1/generated/validators/rate.zod.js +1 -1
  283. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +1 -1
  284. package/dist/canopy/v1/generated/validators/rateList.zod.js +1 -1
  285. package/dist/canopy/v1/generated/validators/refund.zod.d.ts +1 -1
  286. package/dist/canopy/v1/generated/validators/refund.zod.js +1 -1
  287. package/dist/canopy/v1/generated/validators/refundList.zod.d.ts +1 -1
  288. package/dist/canopy/v1/generated/validators/refundList.zod.js +1 -1
  289. package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  290. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
  291. package/dist/canopy/v1/generated/validators/refundReason.zod.d.ts +1 -1
  292. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  293. package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  294. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +1 -1
  295. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  296. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +1 -1
  297. package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
  298. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
  299. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
  300. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.js +1 -1
  301. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +1 -1
  302. package/dist/canopy/v1/generated/validators/requestResource.zod.js +1 -1
  303. package/dist/canopy/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  304. package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +1 -1
  305. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +1 -1
  306. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
  307. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  308. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  309. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +1 -1
  310. package/dist/canopy/v1/generated/validators/spendRow.zod.js +1 -1
  311. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  312. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
  313. package/dist/canopy/v1/generated/validators/statement.zod.d.ts +1 -1
  314. package/dist/canopy/v1/generated/validators/statement.zod.js +1 -1
  315. package/dist/canopy/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
  316. package/dist/canopy/v1/generated/validators/statementAmounts.zod.js +1 -1
  317. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -1
  318. package/dist/canopy/v1/generated/validators/statementItem.zod.js +1 -1
  319. package/dist/canopy/v1/generated/validators/statementList.zod.d.ts +1 -1
  320. package/dist/canopy/v1/generated/validators/statementList.zod.js +1 -1
  321. package/dist/canopy/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  322. package/dist/canopy/v1/generated/validators/statementStatus.zod.js +1 -1
  323. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  324. package/dist/canopy/v1/generated/validators/statementSummary.zod.js +1 -1
  325. package/dist/canopy/v1/generated/validators/statementType.zod.d.ts +1 -1
  326. package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
  327. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +1 -1
  328. package/dist/canopy/v1/generated/validators/subscription.zod.js +1 -1
  329. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
  330. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
  331. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  332. package/dist/canopy/v1/generated/validators/subscriptionList.zod.js +1 -1
  333. package/dist/canopy/v1/generated/validators/taxItem.zod.d.ts +1 -1
  334. package/dist/canopy/v1/generated/validators/taxItem.zod.js +1 -1
  335. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.d.ts +1 -1
  336. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
  337. package/dist/canopy/v1/generated/validators/tier.zod.d.ts +1 -1
  338. package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
  339. package/dist/canopy/v1/generated/validators/tokenPrice.zod.d.ts +1 -1
  340. package/dist/canopy/v1/generated/validators/tokenPrice.zod.js +1 -1
  341. package/dist/canopy/v1/generated/validators/topUp.zod.d.ts +1 -1
  342. package/dist/canopy/v1/generated/validators/topUp.zod.js +1 -1
  343. package/dist/canopy/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  344. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +1 -1
  345. package/dist/canopy/v1/generated/validators/topUpList.zod.d.ts +1 -1
  346. package/dist/canopy/v1/generated/validators/topUpList.zod.js +1 -1
  347. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +1 -1
  348. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +1 -1
  349. package/dist/canopy/v1/generated/validators/transaction.zod.d.ts +1 -1
  350. package/dist/canopy/v1/generated/validators/transaction.zod.js +1 -1
  351. package/dist/canopy/v1/generated/validators/transactionList.zod.d.ts +1 -1
  352. package/dist/canopy/v1/generated/validators/transactionList.zod.js +1 -1
  353. package/dist/canopy/v1/generated/validators/transactionType.zod.d.ts +1 -1
  354. package/dist/canopy/v1/generated/validators/transactionType.zod.js +1 -1
  355. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +1 -1
  356. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +1 -1
  357. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +1 -1
  358. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +1 -1
  359. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  360. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +1 -1
  361. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  362. package/dist/canopy/v1/generated/validators/usageChargeList.zod.js +1 -1
  363. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +1 -1
  364. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +1 -1
  365. package/dist/canopy/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  366. package/dist/canopy/v1/generated/validators/withdrawal.zod.js +1 -1
  367. package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  368. package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  369. package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  370. package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  371. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  372. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +1 -1
  373. package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  374. package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  375. package/dist/canopy/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  376. package/dist/canopy/v1/generated/validators/withdrawalList.zod.js +1 -1
  377. package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  378. package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  379. package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  380. package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  381. package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  382. package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  383. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  384. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
  385. package/dist/compute/v1/generated/models.d.ts +19 -3109
  386. package/dist/compute/v1/generated/models.js +5 -384
  387. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -25
  388. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -23
  389. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -23
  390. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +1 -23
  391. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -23
  392. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -2
  393. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -2
  394. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -8
  395. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +5 -0
  396. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +3 -0
  397. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +1 -23
  398. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +1 -23
  399. package/dist/compute/v1/generated/validators/placedOrder.zod.js +8 -5
  400. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  401. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +3 -6
  402. package/dist/compute/v1/generated/validators/quoteItem.zod.js +11 -22
  403. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +1 -23
  404. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -23
  405. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -25
  406. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -23
  407. package/dist/index.d.ts +1 -0
  408. package/dist/index.js +1 -0
  409. package/dist/routes.d.ts +32 -0
  410. package/dist/routes.js +36 -0
  411. package/package.json +1 -1
  412. package/dist/compute/v1/generated/validators/accountBalance.zod.d.ts +0 -140
  413. package/dist/compute/v1/generated/validators/accountBalance.zod.js +0 -43
  414. package/dist/compute/v1/generated/validators/accountIdentity.zod.d.ts +0 -31
  415. package/dist/compute/v1/generated/validators/accountIdentity.zod.js +0 -29
  416. package/dist/compute/v1/generated/validators/activeResource.zod.d.ts +0 -57
  417. package/dist/compute/v1/generated/validators/activeResource.zod.js +0 -52
  418. package/dist/compute/v1/generated/validators/activeResourceList.zod.d.ts +0 -64
  419. package/dist/compute/v1/generated/validators/activeResourceList.zod.js +0 -30
  420. package/dist/compute/v1/generated/validators/allowance.zod.d.ts +0 -60
  421. package/dist/compute/v1/generated/validators/allowance.zod.js +0 -57
  422. package/dist/compute/v1/generated/validators/allowanceList.zod.d.ts +0 -67
  423. package/dist/compute/v1/generated/validators/allowanceList.zod.js +0 -30
  424. package/dist/compute/v1/generated/validators/applicability.zod.d.ts +0 -124
  425. package/dist/compute/v1/generated/validators/applicability.zod.js +0 -48
  426. package/dist/compute/v1/generated/validators/applicablePlan.zod.d.ts +0 -31
  427. package/dist/compute/v1/generated/validators/applicablePlan.zod.js +0 -31
  428. package/dist/compute/v1/generated/validators/appliedCredit.zod.d.ts +0 -31
  429. package/dist/compute/v1/generated/validators/appliedCredit.zod.js +0 -32
  430. package/dist/compute/v1/generated/validators/autoRenewSet.zod.d.ts +0 -29
  431. package/dist/compute/v1/generated/validators/autoRenewSet.zod.js +0 -27
  432. package/dist/compute/v1/generated/validators/billingAccount.zod.d.ts +0 -41
  433. package/dist/compute/v1/generated/validators/billingAccount.zod.js +0 -47
  434. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.d.ts +0 -33
  435. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.js +0 -31
  436. package/dist/compute/v1/generated/validators/billingAccountList.zod.d.ts +0 -48
  437. package/dist/compute/v1/generated/validators/billingAccountList.zod.js +0 -30
  438. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.d.ts +0 -31
  439. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.js +0 -32
  440. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +0 -37
  441. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.js +0 -37
  442. package/dist/compute/v1/generated/validators/cancellation.zod.d.ts +0 -80
  443. package/dist/compute/v1/generated/validators/cancellation.zod.js +0 -55
  444. package/dist/compute/v1/generated/validators/cancellationCreate.zod.d.ts +0 -39
  445. package/dist/compute/v1/generated/validators/cancellationCreate.zod.js +0 -47
  446. package/dist/compute/v1/generated/validators/cancellationItem.zod.d.ts +0 -51
  447. package/dist/compute/v1/generated/validators/cancellationItem.zod.js +0 -51
  448. package/dist/compute/v1/generated/validators/cancellationList.zod.d.ts +0 -87
  449. package/dist/compute/v1/generated/validators/cancellationList.zod.js +0 -30
  450. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.d.ts +0 -62
  451. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.js +0 -48
  452. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +0 -47
  453. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.js +0 -47
  454. package/dist/compute/v1/generated/validators/contact.zod.d.ts +0 -57
  455. package/dist/compute/v1/generated/validators/contact.zod.js +0 -55
  456. package/dist/compute/v1/generated/validators/contactCreate.zod.d.ts +0 -48
  457. package/dist/compute/v1/generated/validators/contactCreate.zod.js +0 -46
  458. package/dist/compute/v1/generated/validators/contactList.zod.d.ts +0 -54
  459. package/dist/compute/v1/generated/validators/contactList.zod.js +0 -30
  460. package/dist/compute/v1/generated/validators/contactUpdate.zod.d.ts +0 -49
  461. package/dist/compute/v1/generated/validators/contactUpdate.zod.js +0 -47
  462. package/dist/compute/v1/generated/validators/creditGrant.zod.d.ts +0 -142
  463. package/dist/compute/v1/generated/validators/creditGrant.zod.js +0 -43
  464. package/dist/compute/v1/generated/validators/creditGrantList.zod.d.ts +0 -149
  465. package/dist/compute/v1/generated/validators/creditGrantList.zod.js +0 -30
  466. package/dist/compute/v1/generated/validators/creditGroup.zod.d.ts +0 -128
  467. package/dist/compute/v1/generated/validators/creditGroup.zod.js +0 -34
  468. package/dist/compute/v1/generated/validators/creditNote.zod.d.ts +0 -50
  469. package/dist/compute/v1/generated/validators/creditNote.zod.js +0 -56
  470. package/dist/compute/v1/generated/validators/creditNoteItem.zod.d.ts +0 -33
  471. package/dist/compute/v1/generated/validators/creditNoteItem.zod.js +0 -32
  472. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.d.ts +0 -40
  473. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.js +0 -30
  474. package/dist/compute/v1/generated/validators/creditNoteList.zod.d.ts +0 -57
  475. package/dist/compute/v1/generated/validators/creditNoteList.zod.js +0 -30
  476. package/dist/compute/v1/generated/validators/currency.zod.d.ts +0 -37
  477. package/dist/compute/v1/generated/validators/currency.zod.js +0 -46
  478. package/dist/compute/v1/generated/validators/currencyList.zod.d.ts +0 -39
  479. package/dist/compute/v1/generated/validators/currencyList.zod.js +0 -30
  480. package/dist/compute/v1/generated/validators/discount.zod.d.ts +0 -158
  481. package/dist/compute/v1/generated/validators/discount.zod.js +0 -60
  482. package/dist/compute/v1/generated/validators/discountList.zod.d.ts +0 -165
  483. package/dist/compute/v1/generated/validators/discountList.zod.js +0 -30
  484. package/dist/compute/v1/generated/validators/entitlement.zod.d.ts +0 -41
  485. package/dist/compute/v1/generated/validators/entitlement.zod.js +0 -36
  486. package/dist/compute/v1/generated/validators/entitlementList.zod.d.ts +0 -48
  487. package/dist/compute/v1/generated/validators/entitlementList.zod.js +0 -30
  488. package/dist/compute/v1/generated/validators/errorA200529.zod.d.ts +0 -32
  489. package/dist/compute/v1/generated/validators/errorA200529.zod.js +0 -26
  490. package/dist/compute/v1/generated/validators/featureGrant.zod.d.ts +0 -49
  491. package/dist/compute/v1/generated/validators/featureGrant.zod.js +0 -40
  492. package/dist/compute/v1/generated/validators/featureGrantList.zod.d.ts +0 -56
  493. package/dist/compute/v1/generated/validators/featureGrantList.zod.js +0 -30
  494. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.d.ts +0 -32
  495. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.js +0 -27
  496. package/dist/compute/v1/generated/validators/invoice.zod.d.ts +0 -79
  497. package/dist/compute/v1/generated/validators/invoice.zod.js +0 -69
  498. package/dist/compute/v1/generated/validators/invoiceItem.zod.d.ts +0 -57
  499. package/dist/compute/v1/generated/validators/invoiceItem.zod.js +0 -62
  500. package/dist/compute/v1/generated/validators/invoiceItemList.zod.d.ts +0 -64
  501. package/dist/compute/v1/generated/validators/invoiceItemList.zod.js +0 -30
  502. package/dist/compute/v1/generated/validators/invoiceList.zod.d.ts +0 -86
  503. package/dist/compute/v1/generated/validators/invoiceList.zod.js +0 -30
  504. package/dist/compute/v1/generated/validators/invoiceStatus.zod.d.ts +0 -33
  505. package/dist/compute/v1/generated/validators/invoiceStatus.zod.js +0 -27
  506. package/dist/compute/v1/generated/validators/invoiceSummary.zod.d.ts +0 -49
  507. package/dist/compute/v1/generated/validators/invoiceSummary.zod.js +0 -50
  508. package/dist/compute/v1/generated/validators/monthlyStatement.zod.d.ts +0 -52
  509. package/dist/compute/v1/generated/validators/monthlyStatement.zod.js +0 -46
  510. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.d.ts +0 -59
  511. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.js +0 -30
  512. package/dist/compute/v1/generated/validators/namedIdentity.zod.d.ts +0 -31
  513. package/dist/compute/v1/generated/validators/namedIdentity.zod.js +0 -31
  514. package/dist/compute/v1/generated/validators/objectIdentity.zod.d.ts +0 -31
  515. package/dist/compute/v1/generated/validators/objectIdentity.zod.js +0 -31
  516. package/dist/compute/v1/generated/validators/order.zod.d.ts +0 -158
  517. package/dist/compute/v1/generated/validators/order.zod.js +0 -81
  518. package/dist/compute/v1/generated/validators/orderCancel.zod.d.ts +0 -30
  519. package/dist/compute/v1/generated/validators/orderCancel.zod.js +0 -33
  520. package/dist/compute/v1/generated/validators/orderItem.zod.d.ts +0 -84
  521. package/dist/compute/v1/generated/validators/orderItem.zod.js +0 -94
  522. package/dist/compute/v1/generated/validators/orderItemList.zod.d.ts +0 -90
  523. package/dist/compute/v1/generated/validators/orderItemList.zod.js +0 -30
  524. package/dist/compute/v1/generated/validators/orderItemStatus.zod.d.ts +0 -32
  525. package/dist/compute/v1/generated/validators/orderItemStatus.zod.js +0 -27
  526. package/dist/compute/v1/generated/validators/orderList.zod.d.ts +0 -165
  527. package/dist/compute/v1/generated/validators/orderList.zod.js +0 -30
  528. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.d.ts +0 -33
  529. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.js +0 -34
  530. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +0 -31
  531. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.js +0 -36
  532. package/dist/compute/v1/generated/validators/orderStatus.zod.d.ts +0 -34
  533. package/dist/compute/v1/generated/validators/orderStatus.zod.js +0 -27
  534. package/dist/compute/v1/generated/validators/paidWith.zod.d.ts +0 -33
  535. package/dist/compute/v1/generated/validators/paidWith.zod.js +0 -41
  536. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.d.ts +0 -42
  537. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.js +0 -69
  538. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.d.ts +0 -34
  539. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.js +0 -37
  540. package/dist/compute/v1/generated/validators/paymentAction.zod.d.ts +0 -38
  541. package/dist/compute/v1/generated/validators/paymentAction.zod.js +0 -40
  542. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.d.ts +0 -30
  543. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.js +0 -27
  544. package/dist/compute/v1/generated/validators/paymentMethod.zod.d.ts +0 -41
  545. package/dist/compute/v1/generated/validators/paymentMethod.zod.js +0 -35
  546. package/dist/compute/v1/generated/validators/paymentMethodList.zod.d.ts +0 -48
  547. package/dist/compute/v1/generated/validators/paymentMethodList.zod.js +0 -30
  548. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.d.ts +0 -31
  549. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.js +0 -33
  550. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +0 -42
  551. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.js +0 -34
  552. package/dist/compute/v1/generated/validators/paymentOption.zod.d.ts +0 -33
  553. package/dist/compute/v1/generated/validators/paymentOption.zod.js +0 -31
  554. package/dist/compute/v1/generated/validators/paymentOptionList.zod.d.ts +0 -40
  555. package/dist/compute/v1/generated/validators/paymentOptionList.zod.js +0 -30
  556. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.d.ts +0 -30
  557. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.js +0 -32
  558. package/dist/compute/v1/generated/validators/paymentPreview.zod.d.ts +0 -46
  559. package/dist/compute/v1/generated/validators/paymentPreview.zod.js +0 -44
  560. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +0 -33
  561. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.js +0 -32
  562. package/dist/compute/v1/generated/validators/paymentResult.zod.d.ts +0 -103
  563. package/dist/compute/v1/generated/validators/paymentResult.zod.js +0 -55
  564. package/dist/compute/v1/generated/validators/paymentStatus.zod.d.ts +0 -32
  565. package/dist/compute/v1/generated/validators/paymentStatus.zod.js +0 -27
  566. package/dist/compute/v1/generated/validators/plan.zod.d.ts +0 -47
  567. package/dist/compute/v1/generated/validators/plan.zod.js +0 -39
  568. package/dist/compute/v1/generated/validators/planFeature.zod.d.ts +0 -34
  569. package/dist/compute/v1/generated/validators/planFeature.zod.js +0 -29
  570. package/dist/compute/v1/generated/validators/planList.zod.d.ts +0 -54
  571. package/dist/compute/v1/generated/validators/planList.zod.js +0 -30
  572. package/dist/compute/v1/generated/validators/price.zod.d.ts +0 -97
  573. package/dist/compute/v1/generated/validators/price.zod.js +0 -83
  574. package/dist/compute/v1/generated/validators/priceList.zod.d.ts +0 -104
  575. package/dist/compute/v1/generated/validators/priceList.zod.js +0 -30
  576. package/dist/compute/v1/generated/validators/priceOption.zod.d.ts +0 -60
  577. package/dist/compute/v1/generated/validators/priceOption.zod.js +0 -44
  578. package/dist/compute/v1/generated/validators/product.zod.d.ts +0 -31
  579. package/dist/compute/v1/generated/validators/product.zod.js +0 -30
  580. package/dist/compute/v1/generated/validators/productID.zod.d.ts +0 -29
  581. package/dist/compute/v1/generated/validators/productID.zod.js +0 -32
  582. package/dist/compute/v1/generated/validators/productList.zod.d.ts +0 -38
  583. package/dist/compute/v1/generated/validators/productList.zod.js +0 -30
  584. package/dist/compute/v1/generated/validators/projectAssignment.zod.d.ts +0 -38
  585. package/dist/compute/v1/generated/validators/projectAssignment.zod.js +0 -39
  586. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.d.ts +0 -45
  587. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.js +0 -30
  588. package/dist/compute/v1/generated/validators/purchaseOperation.zod.d.ts +0 -31
  589. package/dist/compute/v1/generated/validators/purchaseOperation.zod.js +0 -27
  590. package/dist/compute/v1/generated/validators/quote5f60d00.zod.d.ts +0 -115
  591. package/dist/compute/v1/generated/validators/quote5f60d00.zod.js +0 -46
  592. package/dist/compute/v1/generated/validators/quoteA200529.zod.d.ts +0 -115
  593. package/dist/compute/v1/generated/validators/quoteA200529.zod.js +0 -26
  594. package/dist/compute/v1/generated/validators/quoteCancellation.zod.d.ts +0 -34
  595. package/dist/compute/v1/generated/validators/quoteCancellation.zod.js +0 -36
  596. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +0 -38
  597. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.js +0 -43
  598. package/dist/compute/v1/generated/validators/quoteItemInput.zod.d.ts +0 -58
  599. package/dist/compute/v1/generated/validators/quoteItemInput.zod.js +0 -57
  600. package/dist/compute/v1/generated/validators/quoteRenewal.zod.d.ts +0 -43
  601. package/dist/compute/v1/generated/validators/quoteRenewal.zod.js +0 -42
  602. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -43
  603. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.js +0 -40
  604. package/dist/compute/v1/generated/validators/quoteRequest.zod.d.ts +0 -88
  605. package/dist/compute/v1/generated/validators/quoteRequest.zod.js +0 -58
  606. package/dist/compute/v1/generated/validators/quotedDiscount.zod.d.ts +0 -35
  607. package/dist/compute/v1/generated/validators/quotedDiscount.zod.js +0 -37
  608. package/dist/compute/v1/generated/validators/rate.zod.d.ts +0 -54
  609. package/dist/compute/v1/generated/validators/rate.zod.js +0 -49
  610. package/dist/compute/v1/generated/validators/rateList.zod.d.ts +0 -61
  611. package/dist/compute/v1/generated/validators/rateList.zod.js +0 -30
  612. package/dist/compute/v1/generated/validators/refund.zod.d.ts +0 -109
  613. package/dist/compute/v1/generated/validators/refund.zod.js +0 -60
  614. package/dist/compute/v1/generated/validators/refundList.zod.d.ts +0 -116
  615. package/dist/compute/v1/generated/validators/refundList.zod.js +0 -30
  616. package/dist/compute/v1/generated/validators/refundPolicy.zod.d.ts +0 -30
  617. package/dist/compute/v1/generated/validators/refundPolicy.zod.js +0 -27
  618. package/dist/compute/v1/generated/validators/refundReason.zod.d.ts +0 -39
  619. package/dist/compute/v1/generated/validators/refundReason.zod.js +0 -39
  620. package/dist/compute/v1/generated/validators/renewRequest.zod.d.ts +0 -47
  621. package/dist/compute/v1/generated/validators/renewRequest.zod.js +0 -58
  622. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.d.ts +0 -41
  623. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.js +0 -41
  624. package/dist/compute/v1/generated/validators/renewalPrice.zod.d.ts +0 -46
  625. package/dist/compute/v1/generated/validators/renewalPrice.zod.js +0 -39
  626. package/dist/compute/v1/generated/validators/renewalPriceList.zod.d.ts +0 -53
  627. package/dist/compute/v1/generated/validators/renewalPriceList.zod.js +0 -30
  628. package/dist/compute/v1/generated/validators/scheduledChange.zod.d.ts +0 -50
  629. package/dist/compute/v1/generated/validators/scheduledChange.zod.js +0 -42
  630. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +0 -29
  631. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.js +0 -27
  632. package/dist/compute/v1/generated/validators/spendRow.zod.d.ts +0 -38
  633. package/dist/compute/v1/generated/validators/spendRow.zod.js +0 -34
  634. package/dist/compute/v1/generated/validators/spendRowList.zod.d.ts +0 -47
  635. package/dist/compute/v1/generated/validators/spendRowList.zod.js +0 -33
  636. package/dist/compute/v1/generated/validators/statement.zod.d.ts +0 -55
  637. package/dist/compute/v1/generated/validators/statement.zod.js +0 -52
  638. package/dist/compute/v1/generated/validators/statementAmounts.zod.d.ts +0 -32
  639. package/dist/compute/v1/generated/validators/statementAmounts.zod.js +0 -31
  640. package/dist/compute/v1/generated/validators/statementItem.zod.d.ts +0 -35
  641. package/dist/compute/v1/generated/validators/statementItem.zod.js +0 -37
  642. package/dist/compute/v1/generated/validators/statementList.zod.d.ts +0 -62
  643. package/dist/compute/v1/generated/validators/statementList.zod.js +0 -30
  644. package/dist/compute/v1/generated/validators/statementStatus.zod.d.ts +0 -30
  645. package/dist/compute/v1/generated/validators/statementStatus.zod.js +0 -25
  646. package/dist/compute/v1/generated/validators/statementSummary.zod.d.ts +0 -51
  647. package/dist/compute/v1/generated/validators/statementSummary.zod.js +0 -35
  648. package/dist/compute/v1/generated/validators/statementType.zod.d.ts +0 -31
  649. package/dist/compute/v1/generated/validators/statementType.zod.js +0 -27
  650. package/dist/compute/v1/generated/validators/subscription.zod.d.ts +0 -151
  651. package/dist/compute/v1/generated/validators/subscription.zod.js +0 -113
  652. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.d.ts +0 -53
  653. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.js +0 -46
  654. package/dist/compute/v1/generated/validators/subscriptionList.zod.d.ts +0 -157
  655. package/dist/compute/v1/generated/validators/subscriptionList.zod.js +0 -30
  656. package/dist/compute/v1/generated/validators/taxItem.zod.d.ts +0 -37
  657. package/dist/compute/v1/generated/validators/taxItem.zod.js +0 -37
  658. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.d.ts +0 -30
  659. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.js +0 -26
  660. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.d.ts +0 -30
  661. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.js +0 -27
  662. package/dist/compute/v1/generated/validators/tier.zod.d.ts +0 -31
  663. package/dist/compute/v1/generated/validators/tier.zod.js +0 -33
  664. package/dist/compute/v1/generated/validators/topUp.zod.d.ts +0 -67
  665. package/dist/compute/v1/generated/validators/topUp.zod.js +0 -62
  666. package/dist/compute/v1/generated/validators/topUpCreate.zod.d.ts +0 -38
  667. package/dist/compute/v1/generated/validators/topUpCreate.zod.js +0 -50
  668. package/dist/compute/v1/generated/validators/topUpList.zod.d.ts +0 -74
  669. package/dist/compute/v1/generated/validators/topUpList.zod.js +0 -30
  670. package/dist/compute/v1/generated/validators/transaction.zod.d.ts +0 -70
  671. package/dist/compute/v1/generated/validators/transaction.zod.js +0 -64
  672. package/dist/compute/v1/generated/validators/transactionList.zod.d.ts +0 -77
  673. package/dist/compute/v1/generated/validators/transactionList.zod.js +0 -30
  674. package/dist/compute/v1/generated/validators/transactionType.zod.d.ts +0 -33
  675. package/dist/compute/v1/generated/validators/transactionType.zod.js +0 -27
  676. package/dist/compute/v1/generated/validators/usageCharge.zod.d.ts +0 -59
  677. package/dist/compute/v1/generated/validators/usageCharge.zod.js +0 -73
  678. package/dist/compute/v1/generated/validators/usageChargeList.zod.d.ts +0 -66
  679. package/dist/compute/v1/generated/validators/usageChargeList.zod.js +0 -30
  680. package/dist/compute/v1/generated/validators/withdrawal.zod.d.ts +0 -56
  681. package/dist/compute/v1/generated/validators/withdrawal.zod.js +0 -59
  682. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.d.ts +0 -35
  683. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.js +0 -33
  684. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.d.ts +0 -41
  685. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.js +0 -35
  686. package/dist/compute/v1/generated/validators/withdrawalItem.zod.d.ts +0 -62
  687. package/dist/compute/v1/generated/validators/withdrawalItem.zod.js +0 -53
  688. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.d.ts +0 -64
  689. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.js +0 -30
  690. package/dist/compute/v1/generated/validators/withdrawalList.zod.d.ts +0 -55
  691. package/dist/compute/v1/generated/validators/withdrawalList.zod.js +0 -30
  692. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.d.ts +0 -56
  693. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.js +0 -41
  694. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +0 -44
  695. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.js +0 -35
  696. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +0 -31
  697. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.js +0 -29
  698. package/dist/compute/v1/generated/validators/withdrawalSource.zod.d.ts +0 -39
  699. package/dist/compute/v1/generated/validators/withdrawalSource.zod.js +0 -39
@@ -1,46 +0,0 @@
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 PaymentPreview: zod.ZodObject<{
26
- currency: zod.ZodString;
27
- amount_due: zod.ZodString;
28
- credit_applied: zod.ZodString;
29
- credit_grants: zod.ZodArray<zod.ZodObject<{
30
- credit_grant_id: zod.ZodUUID;
31
- name: zod.ZodString;
32
- amount: zod.ZodString;
33
- }, zod.z.core.$strict>>;
34
- balance_applied: zod.ZodString;
35
- gateway_amount: zod.ZodString;
36
- balance_after: zod.ZodString;
37
- invoices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
38
- invoice_id: zod.ZodUUID;
39
- order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
40
- amount_due: zod.ZodString;
41
- credit_applied: zod.ZodString;
42
- balance_applied: zod.ZodString;
43
- }, zod.z.core.$strict>>>;
44
- }, zod.z.core.$strict>;
45
- export type PaymentPreview = zod.input<typeof PaymentPreview>;
46
- export type PaymentPreviewOutput = zod.output<typeof PaymentPreview>;
@@ -1,44 +0,0 @@
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 { AppliedCredit } from "./appliedCredit.zod.js";
26
- import { Money } from "./money.zod.js";
27
- import { PaymentPreviewInvoice } from "./paymentPreviewInvoice.zod.js";
28
- export const PaymentPreview = zod
29
- .strictObject({
30
- currency: zod.string(),
31
- amount_due: Money.describe("What is outstanding before paying."),
32
- credit_applied: Money.describe("What credit grants would pay. Grants restricted to other purchases pay nothing here."),
33
- credit_grants: zod
34
- .array(AppliedCredit)
35
- .describe("The credit grants that would pay, in the order they would be used."),
36
- balance_applied: Money.describe("What the balance would pay."),
37
- gateway_amount: Money.describe("What would remain to be paid online. Paying without a gateway is refused with `BILLING_INSUFFICIENT_FUNDS` while this is above zero."),
38
- balance_after: Money.describe("The available balance after paying."),
39
- invoices: zod
40
- .array(PaymentPreviewInvoice)
41
- .optional()
42
- .describe("Paying together only. Each invoice, in the order it would be paid."),
43
- })
44
- .describe("What paying would take, computed as paying computes it. Nothing is charged or reserved.");
@@ -1,33 +0,0 @@
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 PaymentPreviewInvoice: zod.ZodObject<{
26
- invoice_id: zod.ZodUUID;
27
- order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
28
- amount_due: zod.ZodString;
29
- credit_applied: zod.ZodString;
30
- balance_applied: zod.ZodString;
31
- }, zod.z.core.$strict>;
32
- export type PaymentPreviewInvoice = zod.input<typeof PaymentPreviewInvoice>;
33
- export type PaymentPreviewInvoiceOutput = zod.output<typeof PaymentPreviewInvoice>;
@@ -1,32 +0,0 @@
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 PaymentPreviewInvoice = zod.strictObject({
27
- invoice_id: zod.uuid(),
28
- order_id: zod.uuid().nullish(),
29
- amount_due: Money,
30
- credit_applied: Money,
31
- balance_applied: Money,
32
- });
@@ -1,103 +0,0 @@
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 PaymentResult: zod.ZodObject<{
26
- transactions: zod.ZodArray<zod.ZodObject<{
27
- invoice_id: zod.ZodOptional<zod.ZodUUID>;
28
- transaction_id: zod.ZodOptional<zod.ZodUUID>;
29
- credit_grant_id: zod.ZodOptional<zod.ZodUUID>;
30
- credit_grant: zod.ZodOptional<zod.ZodObject<{
31
- lookup_key: zod.ZodOptional<zod.ZodString>;
32
- id: zod.ZodUUID;
33
- name: zod.ZodString;
34
- }, zod.z.core.$strict>>;
35
- refund_id: zod.ZodOptional<zod.ZodUUID>;
36
- refund_destination: zod.ZodOptional<zod.ZodEnum<{
37
- balance: "balance";
38
- credit: "credit";
39
- gateway: "gateway";
40
- }>>;
41
- status: zod.ZodOptional<zod.ZodEnum<{
42
- pending: "pending";
43
- failed: "failed";
44
- canceled: "canceled";
45
- succeeded: "succeeded";
46
- }>>;
47
- cancellation_reason: zod.ZodOptional<zod.ZodEnum<{
48
- abandoned: "abandoned";
49
- requested_by_customer: "requested_by_customer";
50
- }>>;
51
- payment_gateway: zod.ZodOptional<zod.ZodString>;
52
- method_type: zod.ZodOptional<zod.ZodString>;
53
- failure_reason: zod.ZodOptional<zod.ZodString>;
54
- settled_at: zod.ZodOptional<zod.z.ZodISODateTime>;
55
- id: zod.ZodUUID;
56
- billing_account_id: zod.ZodOptional<zod.ZodInt>;
57
- type: zod.ZodEnum<{
58
- topup: "topup";
59
- payment: "payment";
60
- refund: "refund";
61
- adjustment: "adjustment";
62
- fee: "fee";
63
- }>;
64
- amount: zod.ZodString;
65
- remaining_amount: zod.ZodString;
66
- currency: zod.ZodString;
67
- reason: zod.ZodOptional<zod.ZodString>;
68
- created_at: zod.z.ZodISODateTime;
69
- }, zod.z.core.$strict>>;
70
- transaction_id: zod.ZodOptional<zod.ZodUUID>;
71
- status: zod.ZodEnum<{
72
- failed: "failed";
73
- succeeded: "succeeded";
74
- processing: "processing";
75
- requires_action: "requires_action";
76
- }>;
77
- amount_paid: zod.ZodString;
78
- amount_due: zod.ZodString;
79
- currency: zod.ZodString;
80
- credit_applied: zod.ZodOptional<zod.ZodString>;
81
- gateway_amount: zod.ZodOptional<zod.ZodString>;
82
- payment_gateway: zod.ZodOptional<zod.ZodString>;
83
- method_type: zod.ZodOptional<zod.ZodString>;
84
- balance_applied: zod.ZodOptional<zod.ZodString>;
85
- action: zod.ZodOptional<zod.ZodObject<{
86
- type: zod.ZodEnum<{
87
- redirect: "redirect";
88
- qr_code: "qr_code";
89
- sdk: "sdk";
90
- }>;
91
- provider: zod.ZodOptional<zod.ZodString>;
92
- url: zod.ZodOptional<zod.ZodURL>;
93
- qr_code: zod.ZodOptional<zod.ZodString>;
94
- client_secret: zod.ZodOptional<zod.ZodString>;
95
- public_key: zod.ZodOptional<zod.ZodString>;
96
- }, zod.z.core.$strict>>;
97
- retriable: zod.ZodOptional<zod.ZodBoolean>;
98
- invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
99
- order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
100
- failure_reason: zod.ZodOptional<zod.ZodString>;
101
- }, zod.z.core.$strict>;
102
- export type PaymentResult = zod.input<typeof PaymentResult>;
103
- export type PaymentResultOutput = zod.output<typeof PaymentResult>;
@@ -1,55 +0,0 @@
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
- import { PaymentAction } from "./paymentAction.zod.js";
27
- import { PaymentStatus } from "./paymentStatus.zod.js";
28
- import { Transaction } from "./transaction.zod.js";
29
- export const PaymentResult = zod.strictObject({
30
- transactions: zod.array(Transaction),
31
- transaction_id: zod
32
- .uuid()
33
- .optional()
34
- .describe("The gateway transaction, when one is involved. Balance and credit-grant payments are separate transactions."),
35
- status: PaymentStatus,
36
- amount_paid: Money,
37
- amount_due: Money.describe("What is still outstanding. Zero once the payment succeeds. Unchanged while\n`processing`: nothing is collected until the gateway confirms it."),
38
- currency: zod.string(),
39
- credit_applied: Money.optional(),
40
- gateway_amount: Money.optional(),
41
- payment_gateway: zod.string().optional(),
42
- method_type: zod.string().optional(),
43
- balance_applied: Money.optional().describe("The amount already paid from the account's balance toward this invoice. Retrying an online remainder\ndoes not debit it again. A canceled purchase returns funds through its refund process."),
44
- action: PaymentAction.optional(),
45
- retriable: zod
46
- .boolean()
47
- .optional()
48
- .describe("Whether paying again is worth attempting. False for a refusal that will keep\nhappening — a closed account, an amount over a limit — so that a client does not\nretry in a loop."),
49
- invoice_id: zod.uuid().nullish(),
50
- order_id: zod.uuid().nullish(),
51
- failure_reason: zod
52
- .string()
53
- .optional()
54
- .describe("Why the payment did not go through. Present with `failed`. For a declined gateway payment the\nvalue is the gateway's own code, passed on unchanged: the card issuer's decline code when\nthere is one (Stripe's decline_code, such as insufficient_funds or lost_card), otherwise the\ngateway's error code (Stripe's code, such as card_declined, expired_card or\npayment_intent_authentication_failure). Clients map it to their own wording and treat an\nunknown value as a generic decline."),
55
- });
@@ -1,32 +0,0 @@
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 PaymentStatus: zod.ZodEnum<{
26
- failed: "failed";
27
- succeeded: "succeeded";
28
- processing: "processing";
29
- requires_action: "requires_action";
30
- }>;
31
- export type PaymentStatus = zod.input<typeof PaymentStatus>;
32
- export type PaymentStatusOutput = zod.output<typeof PaymentStatus>;
@@ -1,27 +0,0 @@
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 PaymentStatus = zod
26
- .enum(["succeeded", "processing", "requires_action", "failed"])
27
- .describe("The current payment outcome.\n\nsucceeded means payment is complete. processing means confirmation is pending; poll the invoice or\norder rather than submitting another payment. requires_action means the customer must complete the\nsupplied action. failed means the attempt did not succeed and failure_reason explains the outcome; a\ndeclined gateway payment is withdrawn at the gateway, and paying again starts a new payment with the\nsame or another method.");
@@ -1,47 +0,0 @@
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 Plan: zod.ZodObject<{
26
- active: zod.ZodBoolean;
27
- lookup_key: zod.ZodOptional<zod.ZodString>;
28
- product: zod.ZodObject<{
29
- id: zod.ZodString;
30
- name: zod.ZodString;
31
- description: zod.ZodOptional<zod.ZodString>;
32
- }, zod.z.core.$strict>;
33
- features: zod.ZodArray<zod.ZodObject<{
34
- feature: zod.ZodObject<{
35
- lookup_key: zod.ZodOptional<zod.ZodString>;
36
- id: zod.ZodUUID;
37
- name: zod.ZodString;
38
- }, zod.z.core.$strict>;
39
- name: zod.ZodString;
40
- }, zod.z.core.$strict>>;
41
- id: zod.ZodUUID;
42
- product_id: zod.ZodString;
43
- name: zod.ZodString;
44
- description: zod.ZodOptional<zod.ZodString>;
45
- }, zod.z.core.$strict>;
46
- export type Plan = zod.input<typeof Plan>;
47
- export type PlanOutput = zod.output<typeof Plan>;
@@ -1,39 +0,0 @@
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 { PlanFeature } from "./planFeature.zod.js";
26
- import { Product } from "./product.zod.js";
27
- import { ProductID } from "./productID.zod.js";
28
- export const Plan = zod.strictObject({
29
- active: zod
30
- .boolean()
31
- .describe("False once archived. An archived plan cannot be bought until it is active again."),
32
- lookup_key: zod.string().optional(),
33
- product: Product,
34
- features: zod.array(PlanFeature),
35
- id: zod.uuid(),
36
- product_id: ProductID,
37
- name: zod.string(),
38
- description: zod.string().optional(),
39
- });
@@ -1,34 +0,0 @@
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 PlanFeature: zod.ZodObject<{
26
- feature: zod.ZodObject<{
27
- lookup_key: zod.ZodOptional<zod.ZodString>;
28
- id: zod.ZodUUID;
29
- name: zod.ZodString;
30
- }, zod.z.core.$strict>;
31
- name: zod.ZodString;
32
- }, zod.z.core.$strict>;
33
- export type PlanFeature = zod.input<typeof PlanFeature>;
34
- export type PlanFeatureOutput = zod.output<typeof PlanFeature>;
@@ -1,29 +0,0 @@
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 { ObjectIdentity } from "./objectIdentity.zod.js";
26
- export const PlanFeature = zod.strictObject({
27
- feature: ObjectIdentity,
28
- name: zod.string(),
29
- });