@leaflow/sdk 0.130.0 → 0.132.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 (317) hide show
  1. package/dist/canopy/v1/generated/models.d.ts +5 -1
  2. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +1 -1
  3. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +1 -1
  4. package/dist/canopy/v1/generated/validators/requestResource.zod.js +4 -1
  5. package/dist/compute/v1/generated/models.d.ts +26 -3117
  6. package/dist/compute/v1/generated/models.js +5 -384
  7. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -25
  8. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
  9. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  10. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -23
  11. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -23
  12. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +1 -23
  13. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -23
  14. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -2
  15. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -2
  16. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -8
  17. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +5 -0
  18. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +3 -0
  19. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +1 -23
  20. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +1 -23
  21. package/dist/compute/v1/generated/validators/placedOrder.zod.js +8 -5
  22. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  23. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +3 -6
  24. package/dist/compute/v1/generated/validators/quoteItem.zod.js +11 -22
  25. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +1 -23
  26. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -23
  27. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -25
  28. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -23
  29. package/package.json +1 -1
  30. package/dist/compute/v1/generated/validators/accountBalance.zod.d.ts +0 -140
  31. package/dist/compute/v1/generated/validators/accountBalance.zod.js +0 -43
  32. package/dist/compute/v1/generated/validators/accountIdentity.zod.d.ts +0 -31
  33. package/dist/compute/v1/generated/validators/accountIdentity.zod.js +0 -29
  34. package/dist/compute/v1/generated/validators/activeResource.zod.d.ts +0 -57
  35. package/dist/compute/v1/generated/validators/activeResource.zod.js +0 -52
  36. package/dist/compute/v1/generated/validators/activeResourceList.zod.d.ts +0 -64
  37. package/dist/compute/v1/generated/validators/activeResourceList.zod.js +0 -30
  38. package/dist/compute/v1/generated/validators/allowance.zod.d.ts +0 -60
  39. package/dist/compute/v1/generated/validators/allowance.zod.js +0 -57
  40. package/dist/compute/v1/generated/validators/allowanceList.zod.d.ts +0 -67
  41. package/dist/compute/v1/generated/validators/allowanceList.zod.js +0 -30
  42. package/dist/compute/v1/generated/validators/applicability.zod.d.ts +0 -124
  43. package/dist/compute/v1/generated/validators/applicability.zod.js +0 -48
  44. package/dist/compute/v1/generated/validators/applicablePlan.zod.d.ts +0 -31
  45. package/dist/compute/v1/generated/validators/applicablePlan.zod.js +0 -31
  46. package/dist/compute/v1/generated/validators/appliedCredit.zod.d.ts +0 -31
  47. package/dist/compute/v1/generated/validators/appliedCredit.zod.js +0 -32
  48. package/dist/compute/v1/generated/validators/autoRenewSet.zod.d.ts +0 -29
  49. package/dist/compute/v1/generated/validators/autoRenewSet.zod.js +0 -27
  50. package/dist/compute/v1/generated/validators/billingAccount.zod.d.ts +0 -41
  51. package/dist/compute/v1/generated/validators/billingAccount.zod.js +0 -47
  52. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.d.ts +0 -33
  53. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.js +0 -31
  54. package/dist/compute/v1/generated/validators/billingAccountList.zod.d.ts +0 -48
  55. package/dist/compute/v1/generated/validators/billingAccountList.zod.js +0 -30
  56. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.d.ts +0 -31
  57. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.js +0 -32
  58. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +0 -37
  59. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.js +0 -37
  60. package/dist/compute/v1/generated/validators/cancellation.zod.d.ts +0 -80
  61. package/dist/compute/v1/generated/validators/cancellation.zod.js +0 -55
  62. package/dist/compute/v1/generated/validators/cancellationCreate.zod.d.ts +0 -39
  63. package/dist/compute/v1/generated/validators/cancellationCreate.zod.js +0 -47
  64. package/dist/compute/v1/generated/validators/cancellationItem.zod.d.ts +0 -51
  65. package/dist/compute/v1/generated/validators/cancellationItem.zod.js +0 -51
  66. package/dist/compute/v1/generated/validators/cancellationList.zod.d.ts +0 -87
  67. package/dist/compute/v1/generated/validators/cancellationList.zod.js +0 -30
  68. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.d.ts +0 -62
  69. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.js +0 -48
  70. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +0 -47
  71. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.js +0 -47
  72. package/dist/compute/v1/generated/validators/contact.zod.d.ts +0 -57
  73. package/dist/compute/v1/generated/validators/contact.zod.js +0 -55
  74. package/dist/compute/v1/generated/validators/contactCreate.zod.d.ts +0 -48
  75. package/dist/compute/v1/generated/validators/contactCreate.zod.js +0 -46
  76. package/dist/compute/v1/generated/validators/contactList.zod.d.ts +0 -54
  77. package/dist/compute/v1/generated/validators/contactList.zod.js +0 -30
  78. package/dist/compute/v1/generated/validators/contactUpdate.zod.d.ts +0 -49
  79. package/dist/compute/v1/generated/validators/contactUpdate.zod.js +0 -47
  80. package/dist/compute/v1/generated/validators/creditGrant.zod.d.ts +0 -142
  81. package/dist/compute/v1/generated/validators/creditGrant.zod.js +0 -43
  82. package/dist/compute/v1/generated/validators/creditGrantList.zod.d.ts +0 -149
  83. package/dist/compute/v1/generated/validators/creditGrantList.zod.js +0 -30
  84. package/dist/compute/v1/generated/validators/creditGroup.zod.d.ts +0 -128
  85. package/dist/compute/v1/generated/validators/creditGroup.zod.js +0 -34
  86. package/dist/compute/v1/generated/validators/creditNote.zod.d.ts +0 -50
  87. package/dist/compute/v1/generated/validators/creditNote.zod.js +0 -56
  88. package/dist/compute/v1/generated/validators/creditNoteItem.zod.d.ts +0 -33
  89. package/dist/compute/v1/generated/validators/creditNoteItem.zod.js +0 -32
  90. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.d.ts +0 -40
  91. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.js +0 -30
  92. package/dist/compute/v1/generated/validators/creditNoteList.zod.d.ts +0 -57
  93. package/dist/compute/v1/generated/validators/creditNoteList.zod.js +0 -30
  94. package/dist/compute/v1/generated/validators/currency.zod.d.ts +0 -37
  95. package/dist/compute/v1/generated/validators/currency.zod.js +0 -46
  96. package/dist/compute/v1/generated/validators/currencyList.zod.d.ts +0 -39
  97. package/dist/compute/v1/generated/validators/currencyList.zod.js +0 -30
  98. package/dist/compute/v1/generated/validators/discount.zod.d.ts +0 -158
  99. package/dist/compute/v1/generated/validators/discount.zod.js +0 -60
  100. package/dist/compute/v1/generated/validators/discountList.zod.d.ts +0 -165
  101. package/dist/compute/v1/generated/validators/discountList.zod.js +0 -30
  102. package/dist/compute/v1/generated/validators/entitlement.zod.d.ts +0 -41
  103. package/dist/compute/v1/generated/validators/entitlement.zod.js +0 -36
  104. package/dist/compute/v1/generated/validators/entitlementList.zod.d.ts +0 -48
  105. package/dist/compute/v1/generated/validators/entitlementList.zod.js +0 -30
  106. package/dist/compute/v1/generated/validators/errorA200529.zod.d.ts +0 -32
  107. package/dist/compute/v1/generated/validators/errorA200529.zod.js +0 -26
  108. package/dist/compute/v1/generated/validators/featureGrant.zod.d.ts +0 -49
  109. package/dist/compute/v1/generated/validators/featureGrant.zod.js +0 -40
  110. package/dist/compute/v1/generated/validators/featureGrantList.zod.d.ts +0 -56
  111. package/dist/compute/v1/generated/validators/featureGrantList.zod.js +0 -30
  112. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.d.ts +0 -32
  113. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.js +0 -27
  114. package/dist/compute/v1/generated/validators/invoice.zod.d.ts +0 -79
  115. package/dist/compute/v1/generated/validators/invoice.zod.js +0 -69
  116. package/dist/compute/v1/generated/validators/invoiceItem.zod.d.ts +0 -57
  117. package/dist/compute/v1/generated/validators/invoiceItem.zod.js +0 -62
  118. package/dist/compute/v1/generated/validators/invoiceItemList.zod.d.ts +0 -64
  119. package/dist/compute/v1/generated/validators/invoiceItemList.zod.js +0 -30
  120. package/dist/compute/v1/generated/validators/invoiceList.zod.d.ts +0 -86
  121. package/dist/compute/v1/generated/validators/invoiceList.zod.js +0 -30
  122. package/dist/compute/v1/generated/validators/invoiceStatus.zod.d.ts +0 -33
  123. package/dist/compute/v1/generated/validators/invoiceStatus.zod.js +0 -27
  124. package/dist/compute/v1/generated/validators/invoiceSummary.zod.d.ts +0 -49
  125. package/dist/compute/v1/generated/validators/invoiceSummary.zod.js +0 -50
  126. package/dist/compute/v1/generated/validators/monthlyStatement.zod.d.ts +0 -52
  127. package/dist/compute/v1/generated/validators/monthlyStatement.zod.js +0 -46
  128. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.d.ts +0 -59
  129. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.js +0 -30
  130. package/dist/compute/v1/generated/validators/namedIdentity.zod.d.ts +0 -31
  131. package/dist/compute/v1/generated/validators/namedIdentity.zod.js +0 -31
  132. package/dist/compute/v1/generated/validators/objectIdentity.zod.d.ts +0 -31
  133. package/dist/compute/v1/generated/validators/objectIdentity.zod.js +0 -31
  134. package/dist/compute/v1/generated/validators/order.zod.d.ts +0 -158
  135. package/dist/compute/v1/generated/validators/order.zod.js +0 -81
  136. package/dist/compute/v1/generated/validators/orderCancel.zod.d.ts +0 -30
  137. package/dist/compute/v1/generated/validators/orderCancel.zod.js +0 -33
  138. package/dist/compute/v1/generated/validators/orderItem.zod.d.ts +0 -84
  139. package/dist/compute/v1/generated/validators/orderItem.zod.js +0 -94
  140. package/dist/compute/v1/generated/validators/orderItemList.zod.d.ts +0 -90
  141. package/dist/compute/v1/generated/validators/orderItemList.zod.js +0 -30
  142. package/dist/compute/v1/generated/validators/orderItemStatus.zod.d.ts +0 -32
  143. package/dist/compute/v1/generated/validators/orderItemStatus.zod.js +0 -27
  144. package/dist/compute/v1/generated/validators/orderList.zod.d.ts +0 -165
  145. package/dist/compute/v1/generated/validators/orderList.zod.js +0 -30
  146. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.d.ts +0 -33
  147. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.js +0 -34
  148. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +0 -31
  149. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.js +0 -36
  150. package/dist/compute/v1/generated/validators/orderStatus.zod.d.ts +0 -34
  151. package/dist/compute/v1/generated/validators/orderStatus.zod.js +0 -27
  152. package/dist/compute/v1/generated/validators/paidWith.zod.d.ts +0 -33
  153. package/dist/compute/v1/generated/validators/paidWith.zod.js +0 -41
  154. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.d.ts +0 -42
  155. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.js +0 -69
  156. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.d.ts +0 -34
  157. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.js +0 -37
  158. package/dist/compute/v1/generated/validators/paymentAction.zod.d.ts +0 -38
  159. package/dist/compute/v1/generated/validators/paymentAction.zod.js +0 -40
  160. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.d.ts +0 -30
  161. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.js +0 -27
  162. package/dist/compute/v1/generated/validators/paymentMethod.zod.d.ts +0 -41
  163. package/dist/compute/v1/generated/validators/paymentMethod.zod.js +0 -35
  164. package/dist/compute/v1/generated/validators/paymentMethodList.zod.d.ts +0 -48
  165. package/dist/compute/v1/generated/validators/paymentMethodList.zod.js +0 -30
  166. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.d.ts +0 -31
  167. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.js +0 -33
  168. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +0 -42
  169. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.js +0 -34
  170. package/dist/compute/v1/generated/validators/paymentOption.zod.d.ts +0 -33
  171. package/dist/compute/v1/generated/validators/paymentOption.zod.js +0 -31
  172. package/dist/compute/v1/generated/validators/paymentOptionList.zod.d.ts +0 -40
  173. package/dist/compute/v1/generated/validators/paymentOptionList.zod.js +0 -30
  174. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.d.ts +0 -30
  175. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.js +0 -32
  176. package/dist/compute/v1/generated/validators/paymentPreview.zod.d.ts +0 -46
  177. package/dist/compute/v1/generated/validators/paymentPreview.zod.js +0 -44
  178. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +0 -33
  179. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.js +0 -32
  180. package/dist/compute/v1/generated/validators/paymentResult.zod.d.ts +0 -103
  181. package/dist/compute/v1/generated/validators/paymentResult.zod.js +0 -55
  182. package/dist/compute/v1/generated/validators/paymentStatus.zod.d.ts +0 -32
  183. package/dist/compute/v1/generated/validators/paymentStatus.zod.js +0 -27
  184. package/dist/compute/v1/generated/validators/plan.zod.d.ts +0 -47
  185. package/dist/compute/v1/generated/validators/plan.zod.js +0 -39
  186. package/dist/compute/v1/generated/validators/planFeature.zod.d.ts +0 -34
  187. package/dist/compute/v1/generated/validators/planFeature.zod.js +0 -29
  188. package/dist/compute/v1/generated/validators/planList.zod.d.ts +0 -54
  189. package/dist/compute/v1/generated/validators/planList.zod.js +0 -30
  190. package/dist/compute/v1/generated/validators/price.zod.d.ts +0 -97
  191. package/dist/compute/v1/generated/validators/price.zod.js +0 -83
  192. package/dist/compute/v1/generated/validators/priceList.zod.d.ts +0 -104
  193. package/dist/compute/v1/generated/validators/priceList.zod.js +0 -30
  194. package/dist/compute/v1/generated/validators/priceOption.zod.d.ts +0 -60
  195. package/dist/compute/v1/generated/validators/priceOption.zod.js +0 -44
  196. package/dist/compute/v1/generated/validators/product.zod.d.ts +0 -31
  197. package/dist/compute/v1/generated/validators/product.zod.js +0 -30
  198. package/dist/compute/v1/generated/validators/productID.zod.d.ts +0 -29
  199. package/dist/compute/v1/generated/validators/productID.zod.js +0 -32
  200. package/dist/compute/v1/generated/validators/productList.zod.d.ts +0 -38
  201. package/dist/compute/v1/generated/validators/productList.zod.js +0 -30
  202. package/dist/compute/v1/generated/validators/projectAssignment.zod.d.ts +0 -38
  203. package/dist/compute/v1/generated/validators/projectAssignment.zod.js +0 -39
  204. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.d.ts +0 -45
  205. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.js +0 -30
  206. package/dist/compute/v1/generated/validators/purchaseOperation.zod.d.ts +0 -31
  207. package/dist/compute/v1/generated/validators/purchaseOperation.zod.js +0 -27
  208. package/dist/compute/v1/generated/validators/quote5f60d00.zod.d.ts +0 -115
  209. package/dist/compute/v1/generated/validators/quote5f60d00.zod.js +0 -46
  210. package/dist/compute/v1/generated/validators/quoteA200529.zod.d.ts +0 -115
  211. package/dist/compute/v1/generated/validators/quoteA200529.zod.js +0 -26
  212. package/dist/compute/v1/generated/validators/quoteCancellation.zod.d.ts +0 -34
  213. package/dist/compute/v1/generated/validators/quoteCancellation.zod.js +0 -36
  214. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +0 -38
  215. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.js +0 -43
  216. package/dist/compute/v1/generated/validators/quoteItemInput.zod.d.ts +0 -58
  217. package/dist/compute/v1/generated/validators/quoteItemInput.zod.js +0 -57
  218. package/dist/compute/v1/generated/validators/quoteRenewal.zod.d.ts +0 -43
  219. package/dist/compute/v1/generated/validators/quoteRenewal.zod.js +0 -42
  220. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -43
  221. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.js +0 -40
  222. package/dist/compute/v1/generated/validators/quoteRequest.zod.d.ts +0 -88
  223. package/dist/compute/v1/generated/validators/quoteRequest.zod.js +0 -58
  224. package/dist/compute/v1/generated/validators/quotedDiscount.zod.d.ts +0 -35
  225. package/dist/compute/v1/generated/validators/quotedDiscount.zod.js +0 -37
  226. package/dist/compute/v1/generated/validators/rate.zod.d.ts +0 -54
  227. package/dist/compute/v1/generated/validators/rate.zod.js +0 -49
  228. package/dist/compute/v1/generated/validators/rateList.zod.d.ts +0 -61
  229. package/dist/compute/v1/generated/validators/rateList.zod.js +0 -30
  230. package/dist/compute/v1/generated/validators/refund.zod.d.ts +0 -109
  231. package/dist/compute/v1/generated/validators/refund.zod.js +0 -60
  232. package/dist/compute/v1/generated/validators/refundList.zod.d.ts +0 -116
  233. package/dist/compute/v1/generated/validators/refundList.zod.js +0 -30
  234. package/dist/compute/v1/generated/validators/refundPolicy.zod.d.ts +0 -30
  235. package/dist/compute/v1/generated/validators/refundPolicy.zod.js +0 -27
  236. package/dist/compute/v1/generated/validators/refundReason.zod.d.ts +0 -39
  237. package/dist/compute/v1/generated/validators/refundReason.zod.js +0 -39
  238. package/dist/compute/v1/generated/validators/renewRequest.zod.d.ts +0 -47
  239. package/dist/compute/v1/generated/validators/renewRequest.zod.js +0 -58
  240. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.d.ts +0 -41
  241. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.js +0 -41
  242. package/dist/compute/v1/generated/validators/renewalPrice.zod.d.ts +0 -46
  243. package/dist/compute/v1/generated/validators/renewalPrice.zod.js +0 -39
  244. package/dist/compute/v1/generated/validators/renewalPriceList.zod.d.ts +0 -53
  245. package/dist/compute/v1/generated/validators/renewalPriceList.zod.js +0 -30
  246. package/dist/compute/v1/generated/validators/scheduledChange.zod.d.ts +0 -50
  247. package/dist/compute/v1/generated/validators/scheduledChange.zod.js +0 -42
  248. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +0 -29
  249. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.js +0 -27
  250. package/dist/compute/v1/generated/validators/spendRow.zod.d.ts +0 -38
  251. package/dist/compute/v1/generated/validators/spendRow.zod.js +0 -34
  252. package/dist/compute/v1/generated/validators/spendRowList.zod.d.ts +0 -47
  253. package/dist/compute/v1/generated/validators/spendRowList.zod.js +0 -33
  254. package/dist/compute/v1/generated/validators/statement.zod.d.ts +0 -55
  255. package/dist/compute/v1/generated/validators/statement.zod.js +0 -52
  256. package/dist/compute/v1/generated/validators/statementAmounts.zod.d.ts +0 -32
  257. package/dist/compute/v1/generated/validators/statementAmounts.zod.js +0 -31
  258. package/dist/compute/v1/generated/validators/statementItem.zod.d.ts +0 -35
  259. package/dist/compute/v1/generated/validators/statementItem.zod.js +0 -37
  260. package/dist/compute/v1/generated/validators/statementList.zod.d.ts +0 -62
  261. package/dist/compute/v1/generated/validators/statementList.zod.js +0 -30
  262. package/dist/compute/v1/generated/validators/statementStatus.zod.d.ts +0 -30
  263. package/dist/compute/v1/generated/validators/statementStatus.zod.js +0 -25
  264. package/dist/compute/v1/generated/validators/statementSummary.zod.d.ts +0 -51
  265. package/dist/compute/v1/generated/validators/statementSummary.zod.js +0 -35
  266. package/dist/compute/v1/generated/validators/statementType.zod.d.ts +0 -31
  267. package/dist/compute/v1/generated/validators/statementType.zod.js +0 -27
  268. package/dist/compute/v1/generated/validators/subscription.zod.d.ts +0 -151
  269. package/dist/compute/v1/generated/validators/subscription.zod.js +0 -113
  270. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.d.ts +0 -53
  271. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.js +0 -46
  272. package/dist/compute/v1/generated/validators/subscriptionList.zod.d.ts +0 -157
  273. package/dist/compute/v1/generated/validators/subscriptionList.zod.js +0 -30
  274. package/dist/compute/v1/generated/validators/taxItem.zod.d.ts +0 -37
  275. package/dist/compute/v1/generated/validators/taxItem.zod.js +0 -37
  276. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.d.ts +0 -30
  277. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.js +0 -26
  278. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.d.ts +0 -30
  279. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.js +0 -27
  280. package/dist/compute/v1/generated/validators/tier.zod.d.ts +0 -31
  281. package/dist/compute/v1/generated/validators/tier.zod.js +0 -33
  282. package/dist/compute/v1/generated/validators/topUp.zod.d.ts +0 -67
  283. package/dist/compute/v1/generated/validators/topUp.zod.js +0 -62
  284. package/dist/compute/v1/generated/validators/topUpCreate.zod.d.ts +0 -38
  285. package/dist/compute/v1/generated/validators/topUpCreate.zod.js +0 -50
  286. package/dist/compute/v1/generated/validators/topUpList.zod.d.ts +0 -74
  287. package/dist/compute/v1/generated/validators/topUpList.zod.js +0 -30
  288. package/dist/compute/v1/generated/validators/transaction.zod.d.ts +0 -70
  289. package/dist/compute/v1/generated/validators/transaction.zod.js +0 -64
  290. package/dist/compute/v1/generated/validators/transactionList.zod.d.ts +0 -77
  291. package/dist/compute/v1/generated/validators/transactionList.zod.js +0 -30
  292. package/dist/compute/v1/generated/validators/transactionType.zod.d.ts +0 -33
  293. package/dist/compute/v1/generated/validators/transactionType.zod.js +0 -27
  294. package/dist/compute/v1/generated/validators/usageCharge.zod.d.ts +0 -59
  295. package/dist/compute/v1/generated/validators/usageCharge.zod.js +0 -73
  296. package/dist/compute/v1/generated/validators/usageChargeList.zod.d.ts +0 -66
  297. package/dist/compute/v1/generated/validators/usageChargeList.zod.js +0 -30
  298. package/dist/compute/v1/generated/validators/withdrawal.zod.d.ts +0 -56
  299. package/dist/compute/v1/generated/validators/withdrawal.zod.js +0 -59
  300. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.d.ts +0 -35
  301. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.js +0 -33
  302. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.d.ts +0 -41
  303. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.js +0 -35
  304. package/dist/compute/v1/generated/validators/withdrawalItem.zod.d.ts +0 -62
  305. package/dist/compute/v1/generated/validators/withdrawalItem.zod.js +0 -53
  306. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.d.ts +0 -64
  307. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.js +0 -30
  308. package/dist/compute/v1/generated/validators/withdrawalList.zod.d.ts +0 -55
  309. package/dist/compute/v1/generated/validators/withdrawalList.zod.js +0 -30
  310. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.d.ts +0 -56
  311. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.js +0 -41
  312. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +0 -44
  313. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.js +0 -35
  314. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +0 -31
  315. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.js +0 -29
  316. package/dist/compute/v1/generated/validators/withdrawalSource.zod.d.ts +0 -39
  317. 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 RenewalPrice: zod.ZodObject<{
26
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
27
- immediate: "immediate";
28
- period_end: "period_end";
29
- }>>;
30
- refund_policy: zod.ZodOptional<zod.ZodEnum<{
31
- none: "none";
32
- prorated: "prorated";
33
- }>>;
34
- price_id: zod.ZodUUID;
35
- interval_count: zod.ZodInt;
36
- interval: zod.ZodEnum<{
37
- day: "day";
38
- month: "month";
39
- year: "year";
40
- }>;
41
- amount: zod.ZodOptional<zod.ZodString>;
42
- currency: zod.ZodOptional<zod.ZodString>;
43
- current: zod.ZodBoolean;
44
- }, zod.z.core.$strict>;
45
- export type RenewalPrice = zod.input<typeof RenewalPrice>;
46
- export type RenewalPriceOutput = zod.output<typeof RenewalPrice>;
@@ -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 { Money } from "./money.zod.js";
26
- import { RefundPolicy } from "./refundPolicy.zod.js";
27
- import { TerminationPolicyBfdab9f } from "./terminationPolicyBfdab9f.zod.js";
28
- export const RenewalPrice = zod.strictObject({
29
- termination_policy: TerminationPolicyBfdab9f.optional(),
30
- refund_policy: RefundPolicy.optional(),
31
- price_id: zod.uuid(),
32
- interval_count: zod.int().describe("How many periods one renewal covers."),
33
- interval: zod.enum(["day", "month", "year"]),
34
- amount: Money.optional().describe("What renewing for this term costs, for the quantity held."),
35
- currency: zod.string().optional(),
36
- current: zod
37
- .boolean()
38
- .describe("The term this item already bills at. Renewing for it uses the price bought\noriginally, so a later price change does not affect it."),
39
- });
@@ -1,53 +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 RenewalPriceList: zod.ZodObject<{
26
- items: zod.ZodArray<zod.ZodObject<{
27
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
28
- immediate: "immediate";
29
- period_end: "period_end";
30
- }>>;
31
- refund_policy: zod.ZodOptional<zod.ZodEnum<{
32
- none: "none";
33
- prorated: "prorated";
34
- }>>;
35
- price_id: zod.ZodUUID;
36
- interval_count: zod.ZodInt;
37
- interval: zod.ZodEnum<{
38
- day: "day";
39
- month: "month";
40
- year: "year";
41
- }>;
42
- amount: zod.ZodOptional<zod.ZodString>;
43
- currency: zod.ZodOptional<zod.ZodString>;
44
- current: zod.ZodBoolean;
45
- }, zod.z.core.$strict>>;
46
- pagination: zod.ZodObject<{
47
- page: zod.ZodInt;
48
- page_size: zod.ZodInt;
49
- total_count: zod.ZodOptional<zod.ZodInt>;
50
- }, zod.z.core.$strict>;
51
- }, zod.z.core.$strict>;
52
- export type RenewalPriceList = zod.input<typeof RenewalPriceList>;
53
- export type RenewalPriceListOutput = zod.output<typeof RenewalPriceList>;
@@ -1,30 +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 { OffsetPagination } from "./offsetPagination.zod.js";
26
- import { RenewalPrice } from "./renewalPrice.zod.js";
27
- export const RenewalPriceList = zod.strictObject({
28
- items: zod.array(RenewalPrice),
29
- pagination: OffsetPagination,
30
- });
@@ -1,50 +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 ScheduledChange: zod.ZodObject<{
26
- order_id: zod.ZodUUID;
27
- status: zod.ZodEnum<{
28
- pending: "pending";
29
- completed: "completed";
30
- failed: "failed";
31
- canceled: "canceled";
32
- accepted: "accepted";
33
- partially_completed: "partially_completed";
34
- }>;
35
- effective_at: zod.z.ZodISODateTime;
36
- plan_id: zod.ZodUUID;
37
- plan_name: zod.ZodString;
38
- price_id: zod.ZodUUID;
39
- quantity: zod.ZodString;
40
- recurring_amount: zod.ZodString;
41
- currency: zod.ZodString;
42
- interval: zod.ZodEnum<{
43
- day: "day";
44
- month: "month";
45
- year: "year";
46
- }>;
47
- interval_count: zod.ZodInt;
48
- }, zod.z.core.$strict>;
49
- export type ScheduledChange = zod.input<typeof ScheduledChange>;
50
- export type ScheduledChangeOutput = zod.output<typeof ScheduledChange>;
@@ -1,42 +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 { OrderStatus } from "./orderStatus.zod.js";
26
- export const ScheduledChange = zod
27
- .strictObject({
28
- order_id: zod.uuid(),
29
- status: OrderStatus,
30
- effective_at: zod.iso
31
- .datetime({ offset: true })
32
- .describe("When the target terms take effect, normally the end of the current paid period."),
33
- plan_id: zod.uuid(),
34
- plan_name: zod.string(),
35
- price_id: zod.uuid(),
36
- quantity: zod.string(),
37
- recurring_amount: zod.string().describe("The target prepaid renewal amount before tax."),
38
- currency: zod.string(),
39
- interval: zod.enum(["day", "month", "year"]),
40
- interval_count: zod.int().min(1),
41
- })
42
- .describe("The next accepted period-end change for a subscription. It describes the target terms and does not change the current subscription until effective_at.");
@@ -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
- export declare const SetProjectAssignmentRequest: zod.ZodObject<{
26
- billing_account_id: zod.ZodInt;
27
- }, zod.z.core.$strict>;
28
- export type SetProjectAssignmentRequest = zod.input<typeof SetProjectAssignmentRequest>;
29
- export type SetProjectAssignmentRequestOutput = zod.output<typeof SetProjectAssignmentRequest>;
@@ -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 SetProjectAssignmentRequest = zod.strictObject({
26
- billing_account_id: zod.int(),
27
- });
@@ -1,38 +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 SpendRow: zod.ZodObject<{
26
- product: zod.ZodOptional<zod.ZodObject<{
27
- id: zod.ZodString;
28
- name: zod.ZodString;
29
- description: zod.ZodOptional<zod.ZodString>;
30
- }, zod.z.core.$strict>>;
31
- plan_id: zod.ZodOptional<zod.ZodUUID>;
32
- plan_name: zod.ZodOptional<zod.ZodString>;
33
- resource_id: zod.ZodOptional<zod.ZodString>;
34
- amount: zod.ZodString;
35
- currency: zod.ZodString;
36
- }, zod.z.core.$strict>;
37
- export type SpendRow = zod.input<typeof SpendRow>;
38
- export type SpendRowOutput = zod.output<typeof SpendRow>;
@@ -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
- import { Money } from "./money.zod.js";
26
- import { Product } from "./product.zod.js";
27
- export const SpendRow = zod.strictObject({
28
- product: Product.optional(),
29
- plan_id: zod.uuid().optional(),
30
- plan_name: zod.string().optional(),
31
- resource_id: zod.string().optional().describe("Present only when grouped by resource."),
32
- amount: Money,
33
- currency: zod.string(),
34
- });
@@ -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 SpendRowList: zod.ZodObject<{
26
- items: zod.ZodArray<zod.ZodObject<{
27
- product: zod.ZodOptional<zod.ZodObject<{
28
- id: zod.ZodString;
29
- name: zod.ZodString;
30
- description: zod.ZodOptional<zod.ZodString>;
31
- }, zod.z.core.$strict>>;
32
- plan_id: zod.ZodOptional<zod.ZodUUID>;
33
- plan_name: zod.ZodOptional<zod.ZodString>;
34
- resource_id: zod.ZodOptional<zod.ZodString>;
35
- amount: zod.ZodString;
36
- currency: zod.ZodString;
37
- }, zod.z.core.$strict>>;
38
- total: zod.ZodString;
39
- currency: zod.ZodString;
40
- pagination: zod.ZodObject<{
41
- page: zod.ZodInt;
42
- page_size: zod.ZodInt;
43
- total_count: zod.ZodOptional<zod.ZodInt>;
44
- }, zod.z.core.$strict>;
45
- }, zod.z.core.$strict>;
46
- export type SpendRowList = zod.input<typeof SpendRowList>;
47
- export type SpendRowListOutput = zod.output<typeof SpendRowList>;
@@ -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
- import { Money } from "./money.zod.js";
26
- import { OffsetPagination } from "./offsetPagination.zod.js";
27
- import { SpendRow } from "./spendRow.zod.js";
28
- export const SpendRowList = zod.strictObject({
29
- items: zod.array(SpendRow),
30
- total: Money.describe("The sum over the whole period, not only the page returned."),
31
- currency: zod.string(),
32
- pagination: OffsetPagination,
33
- });
@@ -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
- export declare const Statement: zod.ZodObject<{
26
- id: zod.ZodUUID;
27
- billing_account_id: zod.ZodInt;
28
- currency: zod.ZodString;
29
- period_start: zod.z.ZodISODateTime;
30
- period_end: zod.z.ZodISODateTime;
31
- sequence: zod.ZodInt;
32
- status: zod.ZodEnum<{
33
- open: "open";
34
- closed: "closed";
35
- }>;
36
- type: zod.ZodEnum<{
37
- interim: "interim";
38
- final: "final";
39
- supplement: "supplement";
40
- }>;
41
- estimated: zod.ZodBoolean;
42
- amounts: zod.ZodObject<{
43
- subtotal: zod.ZodString;
44
- discount_amount: zod.ZodString;
45
- tax_amount: zod.ZodString;
46
- total: zod.ZodString;
47
- }, zod.z.core.$strict>;
48
- closed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
49
- invoice_id: zod.ZodOptional<zod.ZodUUID>;
50
- created_at: zod.z.ZodISODateTime;
51
- calculated_at: zod.ZodOptional<zod.z.ZodISODateTime>;
52
- credited_amount: zod.ZodString;
53
- }, zod.z.core.$strict>;
54
- export type Statement = zod.input<typeof Statement>;
55
- export type StatementOutput = zod.output<typeof Statement>;