@leaflow/sdk 0.131.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 (313) hide show
  1. package/dist/compute/v1/generated/models.d.ts +26 -3117
  2. package/dist/compute/v1/generated/models.js +5 -384
  3. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -25
  4. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
  5. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  6. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -23
  7. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -23
  8. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +1 -23
  9. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -23
  10. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -2
  11. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -2
  12. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -8
  13. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +5 -0
  14. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +3 -0
  15. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +1 -23
  16. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +1 -23
  17. package/dist/compute/v1/generated/validators/placedOrder.zod.js +8 -5
  18. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  19. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +3 -6
  20. package/dist/compute/v1/generated/validators/quoteItem.zod.js +11 -22
  21. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +1 -23
  22. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -23
  23. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -25
  24. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -23
  25. package/package.json +1 -1
  26. package/dist/compute/v1/generated/validators/accountBalance.zod.d.ts +0 -140
  27. package/dist/compute/v1/generated/validators/accountBalance.zod.js +0 -43
  28. package/dist/compute/v1/generated/validators/accountIdentity.zod.d.ts +0 -31
  29. package/dist/compute/v1/generated/validators/accountIdentity.zod.js +0 -29
  30. package/dist/compute/v1/generated/validators/activeResource.zod.d.ts +0 -57
  31. package/dist/compute/v1/generated/validators/activeResource.zod.js +0 -52
  32. package/dist/compute/v1/generated/validators/activeResourceList.zod.d.ts +0 -64
  33. package/dist/compute/v1/generated/validators/activeResourceList.zod.js +0 -30
  34. package/dist/compute/v1/generated/validators/allowance.zod.d.ts +0 -60
  35. package/dist/compute/v1/generated/validators/allowance.zod.js +0 -57
  36. package/dist/compute/v1/generated/validators/allowanceList.zod.d.ts +0 -67
  37. package/dist/compute/v1/generated/validators/allowanceList.zod.js +0 -30
  38. package/dist/compute/v1/generated/validators/applicability.zod.d.ts +0 -124
  39. package/dist/compute/v1/generated/validators/applicability.zod.js +0 -48
  40. package/dist/compute/v1/generated/validators/applicablePlan.zod.d.ts +0 -31
  41. package/dist/compute/v1/generated/validators/applicablePlan.zod.js +0 -31
  42. package/dist/compute/v1/generated/validators/appliedCredit.zod.d.ts +0 -31
  43. package/dist/compute/v1/generated/validators/appliedCredit.zod.js +0 -32
  44. package/dist/compute/v1/generated/validators/autoRenewSet.zod.d.ts +0 -29
  45. package/dist/compute/v1/generated/validators/autoRenewSet.zod.js +0 -27
  46. package/dist/compute/v1/generated/validators/billingAccount.zod.d.ts +0 -41
  47. package/dist/compute/v1/generated/validators/billingAccount.zod.js +0 -47
  48. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.d.ts +0 -33
  49. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.js +0 -31
  50. package/dist/compute/v1/generated/validators/billingAccountList.zod.d.ts +0 -48
  51. package/dist/compute/v1/generated/validators/billingAccountList.zod.js +0 -30
  52. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.d.ts +0 -31
  53. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.js +0 -32
  54. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +0 -37
  55. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.js +0 -37
  56. package/dist/compute/v1/generated/validators/cancellation.zod.d.ts +0 -80
  57. package/dist/compute/v1/generated/validators/cancellation.zod.js +0 -55
  58. package/dist/compute/v1/generated/validators/cancellationCreate.zod.d.ts +0 -39
  59. package/dist/compute/v1/generated/validators/cancellationCreate.zod.js +0 -47
  60. package/dist/compute/v1/generated/validators/cancellationItem.zod.d.ts +0 -51
  61. package/dist/compute/v1/generated/validators/cancellationItem.zod.js +0 -51
  62. package/dist/compute/v1/generated/validators/cancellationList.zod.d.ts +0 -87
  63. package/dist/compute/v1/generated/validators/cancellationList.zod.js +0 -30
  64. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.d.ts +0 -62
  65. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.js +0 -48
  66. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +0 -47
  67. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.js +0 -47
  68. package/dist/compute/v1/generated/validators/contact.zod.d.ts +0 -57
  69. package/dist/compute/v1/generated/validators/contact.zod.js +0 -55
  70. package/dist/compute/v1/generated/validators/contactCreate.zod.d.ts +0 -48
  71. package/dist/compute/v1/generated/validators/contactCreate.zod.js +0 -46
  72. package/dist/compute/v1/generated/validators/contactList.zod.d.ts +0 -54
  73. package/dist/compute/v1/generated/validators/contactList.zod.js +0 -30
  74. package/dist/compute/v1/generated/validators/contactUpdate.zod.d.ts +0 -49
  75. package/dist/compute/v1/generated/validators/contactUpdate.zod.js +0 -47
  76. package/dist/compute/v1/generated/validators/creditGrant.zod.d.ts +0 -142
  77. package/dist/compute/v1/generated/validators/creditGrant.zod.js +0 -43
  78. package/dist/compute/v1/generated/validators/creditGrantList.zod.d.ts +0 -149
  79. package/dist/compute/v1/generated/validators/creditGrantList.zod.js +0 -30
  80. package/dist/compute/v1/generated/validators/creditGroup.zod.d.ts +0 -128
  81. package/dist/compute/v1/generated/validators/creditGroup.zod.js +0 -34
  82. package/dist/compute/v1/generated/validators/creditNote.zod.d.ts +0 -50
  83. package/dist/compute/v1/generated/validators/creditNote.zod.js +0 -56
  84. package/dist/compute/v1/generated/validators/creditNoteItem.zod.d.ts +0 -33
  85. package/dist/compute/v1/generated/validators/creditNoteItem.zod.js +0 -32
  86. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.d.ts +0 -40
  87. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.js +0 -30
  88. package/dist/compute/v1/generated/validators/creditNoteList.zod.d.ts +0 -57
  89. package/dist/compute/v1/generated/validators/creditNoteList.zod.js +0 -30
  90. package/dist/compute/v1/generated/validators/currency.zod.d.ts +0 -37
  91. package/dist/compute/v1/generated/validators/currency.zod.js +0 -46
  92. package/dist/compute/v1/generated/validators/currencyList.zod.d.ts +0 -39
  93. package/dist/compute/v1/generated/validators/currencyList.zod.js +0 -30
  94. package/dist/compute/v1/generated/validators/discount.zod.d.ts +0 -158
  95. package/dist/compute/v1/generated/validators/discount.zod.js +0 -60
  96. package/dist/compute/v1/generated/validators/discountList.zod.d.ts +0 -165
  97. package/dist/compute/v1/generated/validators/discountList.zod.js +0 -30
  98. package/dist/compute/v1/generated/validators/entitlement.zod.d.ts +0 -41
  99. package/dist/compute/v1/generated/validators/entitlement.zod.js +0 -36
  100. package/dist/compute/v1/generated/validators/entitlementList.zod.d.ts +0 -48
  101. package/dist/compute/v1/generated/validators/entitlementList.zod.js +0 -30
  102. package/dist/compute/v1/generated/validators/errorA200529.zod.d.ts +0 -32
  103. package/dist/compute/v1/generated/validators/errorA200529.zod.js +0 -26
  104. package/dist/compute/v1/generated/validators/featureGrant.zod.d.ts +0 -49
  105. package/dist/compute/v1/generated/validators/featureGrant.zod.js +0 -40
  106. package/dist/compute/v1/generated/validators/featureGrantList.zod.d.ts +0 -56
  107. package/dist/compute/v1/generated/validators/featureGrantList.zod.js +0 -30
  108. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.d.ts +0 -32
  109. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.js +0 -27
  110. package/dist/compute/v1/generated/validators/invoice.zod.d.ts +0 -79
  111. package/dist/compute/v1/generated/validators/invoice.zod.js +0 -69
  112. package/dist/compute/v1/generated/validators/invoiceItem.zod.d.ts +0 -57
  113. package/dist/compute/v1/generated/validators/invoiceItem.zod.js +0 -62
  114. package/dist/compute/v1/generated/validators/invoiceItemList.zod.d.ts +0 -64
  115. package/dist/compute/v1/generated/validators/invoiceItemList.zod.js +0 -30
  116. package/dist/compute/v1/generated/validators/invoiceList.zod.d.ts +0 -86
  117. package/dist/compute/v1/generated/validators/invoiceList.zod.js +0 -30
  118. package/dist/compute/v1/generated/validators/invoiceStatus.zod.d.ts +0 -33
  119. package/dist/compute/v1/generated/validators/invoiceStatus.zod.js +0 -27
  120. package/dist/compute/v1/generated/validators/invoiceSummary.zod.d.ts +0 -49
  121. package/dist/compute/v1/generated/validators/invoiceSummary.zod.js +0 -50
  122. package/dist/compute/v1/generated/validators/monthlyStatement.zod.d.ts +0 -52
  123. package/dist/compute/v1/generated/validators/monthlyStatement.zod.js +0 -46
  124. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.d.ts +0 -59
  125. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.js +0 -30
  126. package/dist/compute/v1/generated/validators/namedIdentity.zod.d.ts +0 -31
  127. package/dist/compute/v1/generated/validators/namedIdentity.zod.js +0 -31
  128. package/dist/compute/v1/generated/validators/objectIdentity.zod.d.ts +0 -31
  129. package/dist/compute/v1/generated/validators/objectIdentity.zod.js +0 -31
  130. package/dist/compute/v1/generated/validators/order.zod.d.ts +0 -158
  131. package/dist/compute/v1/generated/validators/order.zod.js +0 -81
  132. package/dist/compute/v1/generated/validators/orderCancel.zod.d.ts +0 -30
  133. package/dist/compute/v1/generated/validators/orderCancel.zod.js +0 -33
  134. package/dist/compute/v1/generated/validators/orderItem.zod.d.ts +0 -84
  135. package/dist/compute/v1/generated/validators/orderItem.zod.js +0 -94
  136. package/dist/compute/v1/generated/validators/orderItemList.zod.d.ts +0 -90
  137. package/dist/compute/v1/generated/validators/orderItemList.zod.js +0 -30
  138. package/dist/compute/v1/generated/validators/orderItemStatus.zod.d.ts +0 -32
  139. package/dist/compute/v1/generated/validators/orderItemStatus.zod.js +0 -27
  140. package/dist/compute/v1/generated/validators/orderList.zod.d.ts +0 -165
  141. package/dist/compute/v1/generated/validators/orderList.zod.js +0 -30
  142. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.d.ts +0 -33
  143. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.js +0 -34
  144. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +0 -31
  145. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.js +0 -36
  146. package/dist/compute/v1/generated/validators/orderStatus.zod.d.ts +0 -34
  147. package/dist/compute/v1/generated/validators/orderStatus.zod.js +0 -27
  148. package/dist/compute/v1/generated/validators/paidWith.zod.d.ts +0 -33
  149. package/dist/compute/v1/generated/validators/paidWith.zod.js +0 -41
  150. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.d.ts +0 -42
  151. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.js +0 -69
  152. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.d.ts +0 -34
  153. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.js +0 -37
  154. package/dist/compute/v1/generated/validators/paymentAction.zod.d.ts +0 -38
  155. package/dist/compute/v1/generated/validators/paymentAction.zod.js +0 -40
  156. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.d.ts +0 -30
  157. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.js +0 -27
  158. package/dist/compute/v1/generated/validators/paymentMethod.zod.d.ts +0 -41
  159. package/dist/compute/v1/generated/validators/paymentMethod.zod.js +0 -35
  160. package/dist/compute/v1/generated/validators/paymentMethodList.zod.d.ts +0 -48
  161. package/dist/compute/v1/generated/validators/paymentMethodList.zod.js +0 -30
  162. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.d.ts +0 -31
  163. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.js +0 -33
  164. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +0 -42
  165. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.js +0 -34
  166. package/dist/compute/v1/generated/validators/paymentOption.zod.d.ts +0 -33
  167. package/dist/compute/v1/generated/validators/paymentOption.zod.js +0 -31
  168. package/dist/compute/v1/generated/validators/paymentOptionList.zod.d.ts +0 -40
  169. package/dist/compute/v1/generated/validators/paymentOptionList.zod.js +0 -30
  170. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.d.ts +0 -30
  171. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.js +0 -32
  172. package/dist/compute/v1/generated/validators/paymentPreview.zod.d.ts +0 -46
  173. package/dist/compute/v1/generated/validators/paymentPreview.zod.js +0 -44
  174. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +0 -33
  175. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.js +0 -32
  176. package/dist/compute/v1/generated/validators/paymentResult.zod.d.ts +0 -103
  177. package/dist/compute/v1/generated/validators/paymentResult.zod.js +0 -55
  178. package/dist/compute/v1/generated/validators/paymentStatus.zod.d.ts +0 -32
  179. package/dist/compute/v1/generated/validators/paymentStatus.zod.js +0 -27
  180. package/dist/compute/v1/generated/validators/plan.zod.d.ts +0 -47
  181. package/dist/compute/v1/generated/validators/plan.zod.js +0 -39
  182. package/dist/compute/v1/generated/validators/planFeature.zod.d.ts +0 -34
  183. package/dist/compute/v1/generated/validators/planFeature.zod.js +0 -29
  184. package/dist/compute/v1/generated/validators/planList.zod.d.ts +0 -54
  185. package/dist/compute/v1/generated/validators/planList.zod.js +0 -30
  186. package/dist/compute/v1/generated/validators/price.zod.d.ts +0 -97
  187. package/dist/compute/v1/generated/validators/price.zod.js +0 -83
  188. package/dist/compute/v1/generated/validators/priceList.zod.d.ts +0 -104
  189. package/dist/compute/v1/generated/validators/priceList.zod.js +0 -30
  190. package/dist/compute/v1/generated/validators/priceOption.zod.d.ts +0 -60
  191. package/dist/compute/v1/generated/validators/priceOption.zod.js +0 -44
  192. package/dist/compute/v1/generated/validators/product.zod.d.ts +0 -31
  193. package/dist/compute/v1/generated/validators/product.zod.js +0 -30
  194. package/dist/compute/v1/generated/validators/productID.zod.d.ts +0 -29
  195. package/dist/compute/v1/generated/validators/productID.zod.js +0 -32
  196. package/dist/compute/v1/generated/validators/productList.zod.d.ts +0 -38
  197. package/dist/compute/v1/generated/validators/productList.zod.js +0 -30
  198. package/dist/compute/v1/generated/validators/projectAssignment.zod.d.ts +0 -38
  199. package/dist/compute/v1/generated/validators/projectAssignment.zod.js +0 -39
  200. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.d.ts +0 -45
  201. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.js +0 -30
  202. package/dist/compute/v1/generated/validators/purchaseOperation.zod.d.ts +0 -31
  203. package/dist/compute/v1/generated/validators/purchaseOperation.zod.js +0 -27
  204. package/dist/compute/v1/generated/validators/quote5f60d00.zod.d.ts +0 -115
  205. package/dist/compute/v1/generated/validators/quote5f60d00.zod.js +0 -46
  206. package/dist/compute/v1/generated/validators/quoteA200529.zod.d.ts +0 -115
  207. package/dist/compute/v1/generated/validators/quoteA200529.zod.js +0 -26
  208. package/dist/compute/v1/generated/validators/quoteCancellation.zod.d.ts +0 -34
  209. package/dist/compute/v1/generated/validators/quoteCancellation.zod.js +0 -36
  210. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +0 -38
  211. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.js +0 -43
  212. package/dist/compute/v1/generated/validators/quoteItemInput.zod.d.ts +0 -58
  213. package/dist/compute/v1/generated/validators/quoteItemInput.zod.js +0 -57
  214. package/dist/compute/v1/generated/validators/quoteRenewal.zod.d.ts +0 -43
  215. package/dist/compute/v1/generated/validators/quoteRenewal.zod.js +0 -42
  216. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -43
  217. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.js +0 -40
  218. package/dist/compute/v1/generated/validators/quoteRequest.zod.d.ts +0 -88
  219. package/dist/compute/v1/generated/validators/quoteRequest.zod.js +0 -58
  220. package/dist/compute/v1/generated/validators/quotedDiscount.zod.d.ts +0 -35
  221. package/dist/compute/v1/generated/validators/quotedDiscount.zod.js +0 -37
  222. package/dist/compute/v1/generated/validators/rate.zod.d.ts +0 -54
  223. package/dist/compute/v1/generated/validators/rate.zod.js +0 -49
  224. package/dist/compute/v1/generated/validators/rateList.zod.d.ts +0 -61
  225. package/dist/compute/v1/generated/validators/rateList.zod.js +0 -30
  226. package/dist/compute/v1/generated/validators/refund.zod.d.ts +0 -109
  227. package/dist/compute/v1/generated/validators/refund.zod.js +0 -60
  228. package/dist/compute/v1/generated/validators/refundList.zod.d.ts +0 -116
  229. package/dist/compute/v1/generated/validators/refundList.zod.js +0 -30
  230. package/dist/compute/v1/generated/validators/refundPolicy.zod.d.ts +0 -30
  231. package/dist/compute/v1/generated/validators/refundPolicy.zod.js +0 -27
  232. package/dist/compute/v1/generated/validators/refundReason.zod.d.ts +0 -39
  233. package/dist/compute/v1/generated/validators/refundReason.zod.js +0 -39
  234. package/dist/compute/v1/generated/validators/renewRequest.zod.d.ts +0 -47
  235. package/dist/compute/v1/generated/validators/renewRequest.zod.js +0 -58
  236. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.d.ts +0 -41
  237. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.js +0 -41
  238. package/dist/compute/v1/generated/validators/renewalPrice.zod.d.ts +0 -46
  239. package/dist/compute/v1/generated/validators/renewalPrice.zod.js +0 -39
  240. package/dist/compute/v1/generated/validators/renewalPriceList.zod.d.ts +0 -53
  241. package/dist/compute/v1/generated/validators/renewalPriceList.zod.js +0 -30
  242. package/dist/compute/v1/generated/validators/scheduledChange.zod.d.ts +0 -50
  243. package/dist/compute/v1/generated/validators/scheduledChange.zod.js +0 -42
  244. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +0 -29
  245. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.js +0 -27
  246. package/dist/compute/v1/generated/validators/spendRow.zod.d.ts +0 -38
  247. package/dist/compute/v1/generated/validators/spendRow.zod.js +0 -34
  248. package/dist/compute/v1/generated/validators/spendRowList.zod.d.ts +0 -47
  249. package/dist/compute/v1/generated/validators/spendRowList.zod.js +0 -33
  250. package/dist/compute/v1/generated/validators/statement.zod.d.ts +0 -55
  251. package/dist/compute/v1/generated/validators/statement.zod.js +0 -52
  252. package/dist/compute/v1/generated/validators/statementAmounts.zod.d.ts +0 -32
  253. package/dist/compute/v1/generated/validators/statementAmounts.zod.js +0 -31
  254. package/dist/compute/v1/generated/validators/statementItem.zod.d.ts +0 -35
  255. package/dist/compute/v1/generated/validators/statementItem.zod.js +0 -37
  256. package/dist/compute/v1/generated/validators/statementList.zod.d.ts +0 -62
  257. package/dist/compute/v1/generated/validators/statementList.zod.js +0 -30
  258. package/dist/compute/v1/generated/validators/statementStatus.zod.d.ts +0 -30
  259. package/dist/compute/v1/generated/validators/statementStatus.zod.js +0 -25
  260. package/dist/compute/v1/generated/validators/statementSummary.zod.d.ts +0 -51
  261. package/dist/compute/v1/generated/validators/statementSummary.zod.js +0 -35
  262. package/dist/compute/v1/generated/validators/statementType.zod.d.ts +0 -31
  263. package/dist/compute/v1/generated/validators/statementType.zod.js +0 -27
  264. package/dist/compute/v1/generated/validators/subscription.zod.d.ts +0 -151
  265. package/dist/compute/v1/generated/validators/subscription.zod.js +0 -113
  266. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.d.ts +0 -53
  267. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.js +0 -46
  268. package/dist/compute/v1/generated/validators/subscriptionList.zod.d.ts +0 -157
  269. package/dist/compute/v1/generated/validators/subscriptionList.zod.js +0 -30
  270. package/dist/compute/v1/generated/validators/taxItem.zod.d.ts +0 -37
  271. package/dist/compute/v1/generated/validators/taxItem.zod.js +0 -37
  272. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.d.ts +0 -30
  273. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.js +0 -26
  274. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.d.ts +0 -30
  275. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.js +0 -27
  276. package/dist/compute/v1/generated/validators/tier.zod.d.ts +0 -31
  277. package/dist/compute/v1/generated/validators/tier.zod.js +0 -33
  278. package/dist/compute/v1/generated/validators/topUp.zod.d.ts +0 -67
  279. package/dist/compute/v1/generated/validators/topUp.zod.js +0 -62
  280. package/dist/compute/v1/generated/validators/topUpCreate.zod.d.ts +0 -38
  281. package/dist/compute/v1/generated/validators/topUpCreate.zod.js +0 -50
  282. package/dist/compute/v1/generated/validators/topUpList.zod.d.ts +0 -74
  283. package/dist/compute/v1/generated/validators/topUpList.zod.js +0 -30
  284. package/dist/compute/v1/generated/validators/transaction.zod.d.ts +0 -70
  285. package/dist/compute/v1/generated/validators/transaction.zod.js +0 -64
  286. package/dist/compute/v1/generated/validators/transactionList.zod.d.ts +0 -77
  287. package/dist/compute/v1/generated/validators/transactionList.zod.js +0 -30
  288. package/dist/compute/v1/generated/validators/transactionType.zod.d.ts +0 -33
  289. package/dist/compute/v1/generated/validators/transactionType.zod.js +0 -27
  290. package/dist/compute/v1/generated/validators/usageCharge.zod.d.ts +0 -59
  291. package/dist/compute/v1/generated/validators/usageCharge.zod.js +0 -73
  292. package/dist/compute/v1/generated/validators/usageChargeList.zod.d.ts +0 -66
  293. package/dist/compute/v1/generated/validators/usageChargeList.zod.js +0 -30
  294. package/dist/compute/v1/generated/validators/withdrawal.zod.d.ts +0 -56
  295. package/dist/compute/v1/generated/validators/withdrawal.zod.js +0 -59
  296. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.d.ts +0 -35
  297. package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.js +0 -33
  298. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.d.ts +0 -41
  299. package/dist/compute/v1/generated/validators/withdrawalCreate.zod.js +0 -35
  300. package/dist/compute/v1/generated/validators/withdrawalItem.zod.d.ts +0 -62
  301. package/dist/compute/v1/generated/validators/withdrawalItem.zod.js +0 -53
  302. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.d.ts +0 -64
  303. package/dist/compute/v1/generated/validators/withdrawalItemList.zod.js +0 -30
  304. package/dist/compute/v1/generated/validators/withdrawalList.zod.d.ts +0 -55
  305. package/dist/compute/v1/generated/validators/withdrawalList.zod.js +0 -30
  306. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.d.ts +0 -56
  307. package/dist/compute/v1/generated/validators/withdrawalPreview.zod.js +0 -41
  308. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +0 -44
  309. package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.js +0 -35
  310. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +0 -31
  311. package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.js +0 -29
  312. package/dist/compute/v1/generated/validators/withdrawalSource.zod.d.ts +0 -39
  313. package/dist/compute/v1/generated/validators/withdrawalSource.zod.js +0 -39
@@ -1,52 +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 { StatementAmounts } from "./statementAmounts.zod.js";
27
- import { StatementStatus } from "./statementStatus.zod.js";
28
- import { StatementType } from "./statementType.zod.js";
29
- export const Statement = zod
30
- .strictObject({
31
- id: zod.uuid(),
32
- billing_account_id: zod.int(),
33
- currency: zod.string(),
34
- period_start: zod.iso.datetime({ offset: true }),
35
- period_end: zod.iso.datetime({ offset: true }),
36
- sequence: zod.int().describe("Increases with each closing of the period."),
37
- status: StatementStatus,
38
- type: StatementType,
39
- estimated: zod
40
- .boolean()
41
- .describe("True while the statement is open. The estimate applies tier pricing to the period's usage so far and adds tax for the current invoice contact. Minimum charges are added at the period's final closing, and a tier reduction larger than this statement's own charges is credited to earlier invoices of the period at closing."),
42
- amounts: StatementAmounts,
43
- closed_at: zod.iso.datetime({ offset: true }).optional(),
44
- invoice_id: zod
45
- .uuid()
46
- .optional()
47
- .describe("The invoice issued at this closing, when it produced one."),
48
- created_at: zod.iso.datetime({ offset: true }),
49
- calculated_at: zod.iso.datetime({ offset: true }).optional(),
50
- credited_amount: Money,
51
- })
52
- .describe("An account's consumption for one billing period, collected at one closing. Usage is billed after every settlement run, about hourly; each closing issues an invoice for the usage priced since the previous closing and collects it from credits and balance at once, and later usage is collected in the next statement of the same period. A closed statement is never rewritten. The period's consumption is the sum of its statements.");
@@ -1,32 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
- * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
- * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const StatementAmounts: zod.ZodObject<{
26
- subtotal: zod.ZodString;
27
- discount_amount: zod.ZodString;
28
- tax_amount: zod.ZodString;
29
- total: zod.ZodString;
30
- }, zod.z.core.$strict>;
31
- export type StatementAmounts = zod.input<typeof StatementAmounts>;
32
- export type StatementAmountsOutput = zod.output<typeof StatementAmounts>;
@@ -1,31 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
- * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
- * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { Money } from "./money.zod.js";
26
- export const StatementAmounts = zod.strictObject({
27
- subtotal: Money,
28
- discount_amount: Money,
29
- tax_amount: Money,
30
- total: Money,
31
- });
@@ -1,35 +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 StatementItem: zod.ZodObject<{
26
- project_id: zod.ZodOptional<zod.ZodUUID>;
27
- product_id: zod.ZodOptional<zod.ZodString>;
28
- meter_id: zod.ZodOptional<zod.ZodUUID>;
29
- unit: zod.ZodOptional<zod.ZodString>;
30
- quantity: zod.ZodOptional<zod.ZodString>;
31
- deducted_quantity: zod.ZodOptional<zod.ZodString>;
32
- amount: zod.ZodString;
33
- }, zod.z.core.$strict>;
34
- export type StatementItem = zod.input<typeof StatementItem>;
35
- export type StatementItemOutput = zod.output<typeof StatementItem>;
@@ -1,37 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
- * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
- * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { Money } from "./money.zod.js";
26
- export const StatementItem = zod.strictObject({
27
- project_id: zod.uuid().optional(),
28
- product_id: zod.string().optional(),
29
- meter_id: zod.uuid().optional(),
30
- unit: zod.string().optional(),
31
- quantity: zod
32
- .string()
33
- .optional()
34
- .describe("Net usage quantity. Included only when grouping by meter."),
35
- deducted_quantity: zod.string().optional(),
36
- amount: Money,
37
- });
@@ -1,62 +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 StatementList: zod.ZodObject<{
26
- items: zod.ZodArray<zod.ZodObject<{
27
- id: zod.ZodUUID;
28
- billing_account_id: zod.ZodInt;
29
- currency: zod.ZodString;
30
- period_start: zod.z.ZodISODateTime;
31
- period_end: zod.z.ZodISODateTime;
32
- sequence: zod.ZodInt;
33
- status: zod.ZodEnum<{
34
- open: "open";
35
- closed: "closed";
36
- }>;
37
- type: zod.ZodEnum<{
38
- interim: "interim";
39
- final: "final";
40
- supplement: "supplement";
41
- }>;
42
- estimated: zod.ZodBoolean;
43
- amounts: zod.ZodObject<{
44
- subtotal: zod.ZodString;
45
- discount_amount: zod.ZodString;
46
- tax_amount: zod.ZodString;
47
- total: zod.ZodString;
48
- }, zod.z.core.$strict>;
49
- closed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
50
- invoice_id: zod.ZodOptional<zod.ZodUUID>;
51
- created_at: zod.z.ZodISODateTime;
52
- calculated_at: zod.ZodOptional<zod.z.ZodISODateTime>;
53
- credited_amount: zod.ZodString;
54
- }, zod.z.core.$strict>>;
55
- pagination: zod.ZodObject<{
56
- page: zod.ZodInt;
57
- page_size: zod.ZodInt;
58
- total_count: zod.ZodOptional<zod.ZodInt>;
59
- }, zod.z.core.$strict>;
60
- }, zod.z.core.$strict>;
61
- export type StatementList = zod.input<typeof StatementList>;
62
- export type StatementListOutput = zod.output<typeof StatementList>;
@@ -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 { Statement } from "./statement.zod.js";
27
- export const StatementList = zod.strictObject({
28
- items: zod.array(Statement),
29
- pagination: OffsetPagination,
30
- });
@@ -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
- export declare const StatementStatus: zod.ZodEnum<{
26
- open: "open";
27
- closed: "closed";
28
- }>;
29
- export type StatementStatus = zod.input<typeof StatementStatus>;
30
- export type StatementStatusOutput = zod.output<typeof StatementStatus>;
@@ -1,25 +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 StatementStatus = zod.enum(["open", "closed"]);
@@ -1,51 +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 StatementSummary: zod.ZodObject<{
26
- statement_id: zod.ZodUUID;
27
- currency: zod.ZodString;
28
- estimated: zod.ZodBoolean;
29
- calculated_at: zod.ZodOptional<zod.z.ZodISODateTime>;
30
- group_by: zod.ZodEnum<{
31
- project: "project";
32
- product: "product";
33
- meter: "meter";
34
- }>;
35
- items: zod.ZodArray<zod.ZodObject<{
36
- project_id: zod.ZodOptional<zod.ZodUUID>;
37
- product_id: zod.ZodOptional<zod.ZodString>;
38
- meter_id: zod.ZodOptional<zod.ZodUUID>;
39
- unit: zod.ZodOptional<zod.ZodString>;
40
- quantity: zod.ZodOptional<zod.ZodString>;
41
- deducted_quantity: zod.ZodOptional<zod.ZodString>;
42
- amount: zod.ZodString;
43
- }, zod.z.core.$strict>>;
44
- pagination: zod.ZodObject<{
45
- page: zod.ZodInt;
46
- page_size: zod.ZodInt;
47
- total_count: zod.ZodOptional<zod.ZodInt>;
48
- }, zod.z.core.$strict>;
49
- }, zod.z.core.$strict>;
50
- export type StatementSummary = zod.input<typeof StatementSummary>;
51
- export type StatementSummaryOutput = zod.output<typeof StatementSummary>;
@@ -1,35 +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 { StatementItem } from "./statementItem.zod.js";
27
- export const StatementSummary = zod.strictObject({
28
- statement_id: zod.uuid(),
29
- currency: zod.string(),
30
- estimated: zod.boolean(),
31
- calculated_at: zod.iso.datetime({ offset: true }).optional(),
32
- group_by: zod.enum(["project", "product", "meter"]),
33
- items: zod.array(StatementItem),
34
- pagination: OffsetPagination,
35
- });
@@ -1,31 +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 StatementType: zod.ZodEnum<{
26
- interim: "interim";
27
- final: "final";
28
- supplement: "supplement";
29
- }>;
30
- export type StatementType = zod.input<typeof StatementType>;
31
- export type StatementTypeOutput = zod.output<typeof StatementType>;
@@ -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 StatementType = zod
26
- .enum(["interim", "final", "supplement"])
27
- .describe("interim: a closing before the period's usage is final; minimum charges are not applied. final: the first closing after the period ended and its late usage was settled; minimum charges for the whole period are applied. supplement: a closing after the final one, for usage priced late. An open statement is interim.");