@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,56 +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 withdrawalCurrencyMin = 3;
26
- export declare const withdrawalCurrencyMax = 3;
27
- export declare const withdrawalAmountRegExp: RegExp;
28
- export declare const withdrawalFeeAmountRegExp: RegExp;
29
- export declare const withdrawalRefundAmountRegExp: RegExp;
30
- export declare const withdrawalDeductedAmountRegExp: RegExp;
31
- export declare const withdrawalSettledAmountRegExp: RegExp;
32
- export declare const withdrawalChargedFeeAmountRegExp: RegExp;
33
- export declare const Withdrawal: zod.ZodObject<{
34
- id: zod.ZodUUID;
35
- billing_account_id: zod.ZodInt;
36
- currency: zod.ZodString;
37
- amount: zod.ZodString;
38
- fee_amount: zod.ZodString;
39
- refund_amount: zod.ZodString;
40
- deducted_amount: zod.ZodString;
41
- settled_amount: zod.ZodString;
42
- charged_fee_amount: zod.ZodString;
43
- status: zod.ZodEnum<{
44
- pending: "pending";
45
- failed: "failed";
46
- succeeded: "succeeded";
47
- processing: "processing";
48
- partially_completed: "partially_completed";
49
- reversed: "reversed";
50
- }>;
51
- created_at: zod.z.ZodISODateTime;
52
- completed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
53
- created_by: zod.ZodOptional<zod.ZodString>;
54
- }, zod.z.core.$strict>;
55
- export type Withdrawal = zod.input<typeof Withdrawal>;
56
- export type WithdrawalOutput = zod.output<typeof Withdrawal>;
@@ -1,59 +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 withdrawalCurrencyMin = 3;
26
- export const withdrawalCurrencyMax = 3;
27
- export const withdrawalAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
28
- export const withdrawalFeeAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
29
- export const withdrawalRefundAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
30
- export const withdrawalDeductedAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
31
- export const withdrawalSettledAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
32
- export const withdrawalChargedFeeAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
33
- export const Withdrawal = zod
34
- .strictObject({
35
- id: zod.uuid(),
36
- billing_account_id: zod.int(),
37
- currency: zod.string().min(withdrawalCurrencyMin).max(withdrawalCurrencyMax),
38
- amount: zod.string().regex(withdrawalAmountRegExp),
39
- fee_amount: zod.string().regex(withdrawalFeeAmountRegExp),
40
- refund_amount: zod.string().regex(withdrawalRefundAmountRegExp),
41
- deducted_amount: zod.string().regex(withdrawalDeductedAmountRegExp),
42
- settled_amount: zod.string().regex(withdrawalSettledAmountRegExp),
43
- charged_fee_amount: zod.string().regex(withdrawalChargedFeeAmountRegExp),
44
- status: zod.enum([
45
- "pending",
46
- "processing",
47
- "succeeded",
48
- "partially_completed",
49
- "failed",
50
- "reversed",
51
- ]),
52
- created_at: zod.iso.datetime({ offset: true }),
53
- completed_at: zod.iso.datetime({ offset: true }).optional(),
54
- created_by: zod
55
- .string()
56
- .optional()
57
- .describe("Identity that submitted this withdrawal. It can differ from the billing account owner."),
58
- })
59
- .describe("An account withdrawal to the original payment methods of its unused top-ups. Accepted amounts are fixed. deducted_amount, settled_amount and charged_fee_amount report completed source items. Failed items release their principal and fee reservations; successful items are retained when another source fails.");
@@ -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 withdrawalAllocationAmountRegExp: RegExp;
26
- export declare const withdrawalAllocationFeeAmountRegExp: RegExp;
27
- export declare const withdrawalAllocationRefundAmountRegExp: RegExp;
28
- export declare const WithdrawalAllocation: zod.ZodObject<{
29
- source_transaction_id: zod.ZodUUID;
30
- amount: zod.ZodString;
31
- fee_amount: zod.ZodString;
32
- refund_amount: zod.ZodString;
33
- }, zod.z.core.$strict>;
34
- export type WithdrawalAllocation = zod.input<typeof WithdrawalAllocation>;
35
- export type WithdrawalAllocationOutput = zod.output<typeof WithdrawalAllocation>;
@@ -1,33 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
- * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
- * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export const withdrawalAllocationAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
26
- export const withdrawalAllocationFeeAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
27
- export const withdrawalAllocationRefundAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
28
- export const WithdrawalAllocation = zod.strictObject({
29
- source_transaction_id: zod.uuid(),
30
- amount: zod.string().regex(withdrawalAllocationAmountRegExp),
31
- fee_amount: zod.string().regex(withdrawalAllocationFeeAmountRegExp),
32
- refund_amount: zod.string().regex(withdrawalAllocationRefundAmountRegExp),
33
- });
@@ -1,41 +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 withdrawalCreateAmountRegExp: RegExp;
26
- export declare const withdrawalCreateExpectedRefundAmountRegExp: RegExp;
27
- export declare const withdrawalCreateExpectedItemsMax = 200;
28
- export declare const WithdrawalCreate: zod.ZodObject<{
29
- id: zod.ZodUUID;
30
- billing_account_id: zod.ZodInt;
31
- amount: zod.ZodString;
32
- expected_refund_amount: zod.ZodString;
33
- expected_items: zod.ZodArray<zod.ZodObject<{
34
- source_transaction_id: zod.ZodUUID;
35
- amount: zod.ZodString;
36
- fee_amount: zod.ZodString;
37
- refund_amount: zod.ZodString;
38
- }, zod.z.core.$strict>>;
39
- }, zod.z.core.$strict>;
40
- export type WithdrawalCreate = zod.input<typeof WithdrawalCreate>;
41
- export type WithdrawalCreateOutput = zod.output<typeof WithdrawalCreate>;
@@ -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 { WithdrawalAllocation } from "./withdrawalAllocation.zod.js";
26
- export const withdrawalCreateAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
27
- export const withdrawalCreateExpectedRefundAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
28
- export const withdrawalCreateExpectedItemsMax = 200;
29
- export const WithdrawalCreate = zod.strictObject({
30
- id: zod.uuid(),
31
- billing_account_id: zod.int(),
32
- amount: zod.string().regex(withdrawalCreateAmountRegExp),
33
- expected_refund_amount: zod.string().regex(withdrawalCreateExpectedRefundAmountRegExp),
34
- expected_items: zod.array(WithdrawalAllocation).min(1).max(withdrawalCreateExpectedItemsMax),
35
- });
@@ -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 withdrawalItemAmountRegExp: RegExp;
26
- export declare const withdrawalItemFeeAmountRegExp: RegExp;
27
- export declare const withdrawalItemRefundAmountRegExp: RegExp;
28
- export declare const withdrawalItemCurrencyMin = 3;
29
- export declare const withdrawalItemCurrencyMax = 3;
30
- export declare const WithdrawalItem: zod.ZodObject<{
31
- source_transaction_id: zod.ZodUUID;
32
- amount: zod.ZodString;
33
- fee_amount: zod.ZodString;
34
- refund_amount: zod.ZodString;
35
- id: zod.ZodUUID;
36
- withdrawal_id: zod.ZodUUID;
37
- billing_account_id: zod.ZodInt;
38
- currency: zod.ZodString;
39
- refund_id: zod.ZodUUID;
40
- fee_transaction_id: zod.ZodOptional<zod.ZodUUID>;
41
- status: zod.ZodEnum<{
42
- pending: "pending";
43
- failed: "failed";
44
- succeeded: "succeeded";
45
- reversed: "reversed";
46
- }>;
47
- completed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
48
- payment_gateway: zod.ZodString;
49
- method_type: zod.ZodString;
50
- source: zod.ZodObject<{
51
- amount: zod.ZodString;
52
- currency: zod.ZodString;
53
- received_at: zod.z.ZodISODateTime;
54
- payment_gateway: zod.ZodString;
55
- method_type: zod.ZodString;
56
- card_brand: zod.ZodOptional<zod.ZodString>;
57
- card_last4: zod.ZodOptional<zod.ZodString>;
58
- }, zod.z.core.$strict>;
59
- failure_code: zod.ZodOptional<zod.ZodString>;
60
- }, zod.z.core.$strict>;
61
- export type WithdrawalItem = zod.input<typeof WithdrawalItem>;
62
- export type WithdrawalItemOutput = zod.output<typeof WithdrawalItem>;
@@ -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
- import { WithdrawalSource } from "./withdrawalSource.zod.js";
26
- export const withdrawalItemAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
27
- export const withdrawalItemFeeAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
28
- export const withdrawalItemRefundAmountRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
29
- export const withdrawalItemCurrencyMin = 3;
30
- export const withdrawalItemCurrencyMax = 3;
31
- export const WithdrawalItem = zod
32
- .strictObject({
33
- source_transaction_id: zod.uuid(),
34
- amount: zod.string().regex(withdrawalItemAmountRegExp),
35
- fee_amount: zod.string().regex(withdrawalItemFeeAmountRegExp),
36
- refund_amount: zod.string().regex(withdrawalItemRefundAmountRegExp),
37
- id: zod.uuid(),
38
- withdrawal_id: zod.uuid(),
39
- billing_account_id: zod.int(),
40
- currency: zod.string().min(withdrawalItemCurrencyMin).max(withdrawalItemCurrencyMax),
41
- refund_id: zod.uuid(),
42
- fee_transaction_id: zod.uuid().optional(),
43
- status: zod.enum(["pending", "succeeded", "failed", "reversed"]),
44
- completed_at: zod.iso.datetime({ offset: true }).optional(),
45
- payment_gateway: zod.string(),
46
- method_type: zod.string(),
47
- source: WithdrawalSource,
48
- failure_code: zod
49
- .string()
50
- .optional()
51
- .describe("The original gateway failure code when a refund failed, or refund_reversed when a completed refund was reversed. Absent while pending or successful."),
52
- })
53
- .describe("The fixed principal deduction, withdrawal fee and exact refund obligation for one original top-up. Each item has its own refund; payment_gateway and method_type identify the original route.");
@@ -1,64 +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 WithdrawalItemList: zod.ZodObject<{
26
- items: zod.ZodArray<zod.ZodObject<{
27
- source_transaction_id: zod.ZodUUID;
28
- amount: zod.ZodString;
29
- fee_amount: zod.ZodString;
30
- refund_amount: zod.ZodString;
31
- id: zod.ZodUUID;
32
- withdrawal_id: zod.ZodUUID;
33
- billing_account_id: zod.ZodInt;
34
- currency: zod.ZodString;
35
- refund_id: zod.ZodUUID;
36
- fee_transaction_id: zod.ZodOptional<zod.ZodUUID>;
37
- status: zod.ZodEnum<{
38
- pending: "pending";
39
- failed: "failed";
40
- succeeded: "succeeded";
41
- reversed: "reversed";
42
- }>;
43
- completed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
44
- payment_gateway: zod.ZodString;
45
- method_type: zod.ZodString;
46
- source: zod.ZodObject<{
47
- amount: zod.ZodString;
48
- currency: zod.ZodString;
49
- received_at: zod.z.ZodISODateTime;
50
- payment_gateway: zod.ZodString;
51
- method_type: zod.ZodString;
52
- card_brand: zod.ZodOptional<zod.ZodString>;
53
- card_last4: zod.ZodOptional<zod.ZodString>;
54
- }, zod.z.core.$strict>;
55
- failure_code: zod.ZodOptional<zod.ZodString>;
56
- }, zod.z.core.$strict>>;
57
- pagination: zod.ZodObject<{
58
- page: zod.ZodInt;
59
- page_size: zod.ZodInt;
60
- total_count: zod.ZodOptional<zod.ZodInt>;
61
- }, zod.z.core.$strict>;
62
- }, zod.z.core.$strict>;
63
- export type WithdrawalItemList = zod.input<typeof WithdrawalItemList>;
64
- export type WithdrawalItemListOutput = zod.output<typeof WithdrawalItemList>;
@@ -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 { WithdrawalItem } from "./withdrawalItem.zod.js";
27
- export const WithdrawalItemList = zod.strictObject({
28
- items: zod.array(WithdrawalItem),
29
- pagination: OffsetPagination,
30
- });
@@ -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 WithdrawalList: zod.ZodObject<{
26
- items: zod.ZodArray<zod.ZodObject<{
27
- id: zod.ZodUUID;
28
- billing_account_id: zod.ZodInt;
29
- currency: zod.ZodString;
30
- amount: zod.ZodString;
31
- fee_amount: zod.ZodString;
32
- refund_amount: zod.ZodString;
33
- deducted_amount: zod.ZodString;
34
- settled_amount: zod.ZodString;
35
- charged_fee_amount: zod.ZodString;
36
- status: zod.ZodEnum<{
37
- pending: "pending";
38
- failed: "failed";
39
- succeeded: "succeeded";
40
- processing: "processing";
41
- partially_completed: "partially_completed";
42
- reversed: "reversed";
43
- }>;
44
- created_at: zod.z.ZodISODateTime;
45
- completed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
46
- created_by: zod.ZodOptional<zod.ZodString>;
47
- }, zod.z.core.$strict>>;
48
- pagination: zod.ZodObject<{
49
- page: zod.ZodInt;
50
- page_size: zod.ZodInt;
51
- total_count: zod.ZodOptional<zod.ZodInt>;
52
- }, zod.z.core.$strict>;
53
- }, zod.z.core.$strict>;
54
- export type WithdrawalList = zod.input<typeof WithdrawalList>;
55
- export type WithdrawalListOutput = zod.output<typeof WithdrawalList>;
@@ -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 { Withdrawal } from "./withdrawal.zod.js";
27
- export const WithdrawalList = zod.strictObject({
28
- items: zod.array(Withdrawal),
29
- pagination: OffsetPagination,
30
- });