@leaflow/sdk 0.130.0 → 0.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canopy/v1/generated/models.d.ts +5 -1
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +4 -1
- package/dist/compute/v1/generated/models.d.ts +26 -3117
- package/dist/compute/v1/generated/models.js +5 -384
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -25
- package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -2
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -2
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -8
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +5 -0
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +3 -0
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/placedOrder.zod.js +8 -5
- package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
- package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +3 -6
- package/dist/compute/v1/generated/validators/quoteItem.zod.js +11 -22
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -23
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -25
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -23
- package/package.json +1 -1
- package/dist/compute/v1/generated/validators/accountBalance.zod.d.ts +0 -140
- package/dist/compute/v1/generated/validators/accountBalance.zod.js +0 -43
- package/dist/compute/v1/generated/validators/accountIdentity.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/accountIdentity.zod.js +0 -29
- package/dist/compute/v1/generated/validators/activeResource.zod.d.ts +0 -57
- package/dist/compute/v1/generated/validators/activeResource.zod.js +0 -52
- package/dist/compute/v1/generated/validators/activeResourceList.zod.d.ts +0 -64
- package/dist/compute/v1/generated/validators/activeResourceList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/allowance.zod.d.ts +0 -60
- package/dist/compute/v1/generated/validators/allowance.zod.js +0 -57
- package/dist/compute/v1/generated/validators/allowanceList.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/allowanceList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/applicability.zod.d.ts +0 -124
- package/dist/compute/v1/generated/validators/applicability.zod.js +0 -48
- package/dist/compute/v1/generated/validators/applicablePlan.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/applicablePlan.zod.js +0 -31
- package/dist/compute/v1/generated/validators/appliedCredit.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/appliedCredit.zod.js +0 -32
- package/dist/compute/v1/generated/validators/autoRenewSet.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/autoRenewSet.zod.js +0 -27
- package/dist/compute/v1/generated/validators/billingAccount.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/billingAccount.zod.js +0 -47
- package/dist/compute/v1/generated/validators/billingAccountCreate.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/billingAccountCreate.zod.js +0 -31
- package/dist/compute/v1/generated/validators/billingAccountList.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/billingAccountList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.js +0 -32
- package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +0 -37
- package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.js +0 -37
- package/dist/compute/v1/generated/validators/cancellation.zod.d.ts +0 -80
- package/dist/compute/v1/generated/validators/cancellation.zod.js +0 -55
- package/dist/compute/v1/generated/validators/cancellationCreate.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/cancellationCreate.zod.js +0 -47
- package/dist/compute/v1/generated/validators/cancellationItem.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/cancellationItem.zod.js +0 -51
- package/dist/compute/v1/generated/validators/cancellationList.zod.d.ts +0 -87
- package/dist/compute/v1/generated/validators/cancellationList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.d.ts +0 -62
- package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.js +0 -48
- package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.js +0 -47
- package/dist/compute/v1/generated/validators/contact.zod.d.ts +0 -57
- package/dist/compute/v1/generated/validators/contact.zod.js +0 -55
- package/dist/compute/v1/generated/validators/contactCreate.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/contactCreate.zod.js +0 -46
- package/dist/compute/v1/generated/validators/contactList.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/contactList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/contactUpdate.zod.d.ts +0 -49
- package/dist/compute/v1/generated/validators/contactUpdate.zod.js +0 -47
- package/dist/compute/v1/generated/validators/creditGrant.zod.d.ts +0 -142
- package/dist/compute/v1/generated/validators/creditGrant.zod.js +0 -43
- package/dist/compute/v1/generated/validators/creditGrantList.zod.d.ts +0 -149
- package/dist/compute/v1/generated/validators/creditGrantList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/creditGroup.zod.d.ts +0 -128
- package/dist/compute/v1/generated/validators/creditGroup.zod.js +0 -34
- package/dist/compute/v1/generated/validators/creditNote.zod.d.ts +0 -50
- package/dist/compute/v1/generated/validators/creditNote.zod.js +0 -56
- package/dist/compute/v1/generated/validators/creditNoteItem.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/creditNoteItem.zod.js +0 -32
- package/dist/compute/v1/generated/validators/creditNoteItemList.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/creditNoteItemList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/creditNoteList.zod.d.ts +0 -57
- package/dist/compute/v1/generated/validators/creditNoteList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/currency.zod.d.ts +0 -37
- package/dist/compute/v1/generated/validators/currency.zod.js +0 -46
- package/dist/compute/v1/generated/validators/currencyList.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/currencyList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/discount.zod.d.ts +0 -158
- package/dist/compute/v1/generated/validators/discount.zod.js +0 -60
- package/dist/compute/v1/generated/validators/discountList.zod.d.ts +0 -165
- package/dist/compute/v1/generated/validators/discountList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/entitlement.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/entitlement.zod.js +0 -36
- package/dist/compute/v1/generated/validators/entitlementList.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/entitlementList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/errorA200529.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/errorA200529.zod.js +0 -26
- package/dist/compute/v1/generated/validators/featureGrant.zod.d.ts +0 -49
- package/dist/compute/v1/generated/validators/featureGrant.zod.js +0 -40
- package/dist/compute/v1/generated/validators/featureGrantList.zod.d.ts +0 -56
- package/dist/compute/v1/generated/validators/featureGrantList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/featureGrantStatus.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/featureGrantStatus.zod.js +0 -27
- package/dist/compute/v1/generated/validators/invoice.zod.d.ts +0 -79
- package/dist/compute/v1/generated/validators/invoice.zod.js +0 -69
- package/dist/compute/v1/generated/validators/invoiceItem.zod.d.ts +0 -57
- package/dist/compute/v1/generated/validators/invoiceItem.zod.js +0 -62
- package/dist/compute/v1/generated/validators/invoiceItemList.zod.d.ts +0 -64
- package/dist/compute/v1/generated/validators/invoiceItemList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/invoiceList.zod.d.ts +0 -86
- package/dist/compute/v1/generated/validators/invoiceList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/invoiceStatus.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/invoiceStatus.zod.js +0 -27
- package/dist/compute/v1/generated/validators/invoiceSummary.zod.d.ts +0 -49
- package/dist/compute/v1/generated/validators/invoiceSummary.zod.js +0 -50
- package/dist/compute/v1/generated/validators/monthlyStatement.zod.d.ts +0 -52
- package/dist/compute/v1/generated/validators/monthlyStatement.zod.js +0 -46
- package/dist/compute/v1/generated/validators/monthlyStatementList.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/monthlyStatementList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/namedIdentity.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/namedIdentity.zod.js +0 -31
- package/dist/compute/v1/generated/validators/objectIdentity.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/objectIdentity.zod.js +0 -31
- package/dist/compute/v1/generated/validators/order.zod.d.ts +0 -158
- package/dist/compute/v1/generated/validators/order.zod.js +0 -81
- package/dist/compute/v1/generated/validators/orderCancel.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/orderCancel.zod.js +0 -33
- package/dist/compute/v1/generated/validators/orderItem.zod.d.ts +0 -84
- package/dist/compute/v1/generated/validators/orderItem.zod.js +0 -94
- package/dist/compute/v1/generated/validators/orderItemList.zod.d.ts +0 -90
- package/dist/compute/v1/generated/validators/orderItemList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/orderItemStatus.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/orderItemStatus.zod.js +0 -27
- package/dist/compute/v1/generated/validators/orderList.zod.d.ts +0 -165
- package/dist/compute/v1/generated/validators/orderList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/orderRefundQuote.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/orderRefundQuote.zod.js +0 -34
- package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.js +0 -36
- package/dist/compute/v1/generated/validators/orderStatus.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/orderStatus.zod.js +0 -27
- package/dist/compute/v1/generated/validators/paidWith.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/paidWith.zod.js +0 -41
- package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.d.ts +0 -42
- package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.js +0 -69
- package/dist/compute/v1/generated/validators/payTogetherRequest.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/payTogetherRequest.zod.js +0 -37
- package/dist/compute/v1/generated/validators/paymentAction.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/paymentAction.zod.js +0 -40
- package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.js +0 -27
- package/dist/compute/v1/generated/validators/paymentMethod.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/paymentMethod.zod.js +0 -35
- package/dist/compute/v1/generated/validators/paymentMethodList.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/paymentMethodList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.js +0 -33
- package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +0 -42
- package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.js +0 -34
- package/dist/compute/v1/generated/validators/paymentOption.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/paymentOption.zod.js +0 -31
- package/dist/compute/v1/generated/validators/paymentOptionList.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/paymentOptionList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.js +0 -32
- package/dist/compute/v1/generated/validators/paymentPreview.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/paymentPreview.zod.js +0 -44
- package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.js +0 -32
- package/dist/compute/v1/generated/validators/paymentResult.zod.d.ts +0 -103
- package/dist/compute/v1/generated/validators/paymentResult.zod.js +0 -55
- package/dist/compute/v1/generated/validators/paymentStatus.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/paymentStatus.zod.js +0 -27
- package/dist/compute/v1/generated/validators/plan.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/plan.zod.js +0 -39
- package/dist/compute/v1/generated/validators/planFeature.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/planFeature.zod.js +0 -29
- package/dist/compute/v1/generated/validators/planList.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/planList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/price.zod.d.ts +0 -97
- package/dist/compute/v1/generated/validators/price.zod.js +0 -83
- package/dist/compute/v1/generated/validators/priceList.zod.d.ts +0 -104
- package/dist/compute/v1/generated/validators/priceList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/priceOption.zod.d.ts +0 -60
- package/dist/compute/v1/generated/validators/priceOption.zod.js +0 -44
- package/dist/compute/v1/generated/validators/product.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/product.zod.js +0 -30
- package/dist/compute/v1/generated/validators/productID.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/productID.zod.js +0 -32
- package/dist/compute/v1/generated/validators/productList.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/productList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/projectAssignment.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/projectAssignment.zod.js +0 -39
- package/dist/compute/v1/generated/validators/projectAssignmentList.zod.d.ts +0 -45
- package/dist/compute/v1/generated/validators/projectAssignmentList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/purchaseOperation.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/purchaseOperation.zod.js +0 -27
- package/dist/compute/v1/generated/validators/quote5f60d00.zod.d.ts +0 -115
- package/dist/compute/v1/generated/validators/quote5f60d00.zod.js +0 -46
- package/dist/compute/v1/generated/validators/quoteA200529.zod.d.ts +0 -115
- package/dist/compute/v1/generated/validators/quoteA200529.zod.js +0 -26
- package/dist/compute/v1/generated/validators/quoteCancellation.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/quoteCancellation.zod.js +0 -36
- package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.js +0 -43
- package/dist/compute/v1/generated/validators/quoteItemInput.zod.d.ts +0 -58
- package/dist/compute/v1/generated/validators/quoteItemInput.zod.js +0 -57
- package/dist/compute/v1/generated/validators/quoteRenewal.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/quoteRenewal.zod.js +0 -42
- package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.js +0 -40
- package/dist/compute/v1/generated/validators/quoteRequest.zod.d.ts +0 -88
- package/dist/compute/v1/generated/validators/quoteRequest.zod.js +0 -58
- package/dist/compute/v1/generated/validators/quotedDiscount.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/quotedDiscount.zod.js +0 -37
- package/dist/compute/v1/generated/validators/rate.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/rate.zod.js +0 -49
- package/dist/compute/v1/generated/validators/rateList.zod.d.ts +0 -61
- package/dist/compute/v1/generated/validators/rateList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/refund.zod.d.ts +0 -109
- package/dist/compute/v1/generated/validators/refund.zod.js +0 -60
- package/dist/compute/v1/generated/validators/refundList.zod.d.ts +0 -116
- package/dist/compute/v1/generated/validators/refundList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/refundPolicy.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/refundPolicy.zod.js +0 -27
- package/dist/compute/v1/generated/validators/refundReason.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/refundReason.zod.js +0 -39
- package/dist/compute/v1/generated/validators/renewRequest.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/renewRequest.zod.js +0 -58
- package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.js +0 -41
- package/dist/compute/v1/generated/validators/renewalPrice.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/renewalPrice.zod.js +0 -39
- package/dist/compute/v1/generated/validators/renewalPriceList.zod.d.ts +0 -53
- package/dist/compute/v1/generated/validators/renewalPriceList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/scheduledChange.zod.d.ts +0 -50
- package/dist/compute/v1/generated/validators/scheduledChange.zod.js +0 -42
- package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.js +0 -27
- package/dist/compute/v1/generated/validators/spendRow.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/spendRow.zod.js +0 -34
- package/dist/compute/v1/generated/validators/spendRowList.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/spendRowList.zod.js +0 -33
- package/dist/compute/v1/generated/validators/statement.zod.d.ts +0 -55
- package/dist/compute/v1/generated/validators/statement.zod.js +0 -52
- package/dist/compute/v1/generated/validators/statementAmounts.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/statementAmounts.zod.js +0 -31
- package/dist/compute/v1/generated/validators/statementItem.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/statementItem.zod.js +0 -37
- package/dist/compute/v1/generated/validators/statementList.zod.d.ts +0 -62
- package/dist/compute/v1/generated/validators/statementList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/statementStatus.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/statementStatus.zod.js +0 -25
- package/dist/compute/v1/generated/validators/statementSummary.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/statementSummary.zod.js +0 -35
- package/dist/compute/v1/generated/validators/statementType.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/statementType.zod.js +0 -27
- package/dist/compute/v1/generated/validators/subscription.zod.d.ts +0 -151
- package/dist/compute/v1/generated/validators/subscription.zod.js +0 -113
- package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.d.ts +0 -53
- package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.js +0 -46
- package/dist/compute/v1/generated/validators/subscriptionList.zod.d.ts +0 -157
- package/dist/compute/v1/generated/validators/subscriptionList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/taxItem.zod.d.ts +0 -37
- package/dist/compute/v1/generated/validators/taxItem.zod.js +0 -37
- package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.js +0 -26
- package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.js +0 -27
- package/dist/compute/v1/generated/validators/tier.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/tier.zod.js +0 -33
- package/dist/compute/v1/generated/validators/topUp.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/topUp.zod.js +0 -62
- package/dist/compute/v1/generated/validators/topUpCreate.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/topUpCreate.zod.js +0 -50
- package/dist/compute/v1/generated/validators/topUpList.zod.d.ts +0 -74
- package/dist/compute/v1/generated/validators/topUpList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/transaction.zod.d.ts +0 -70
- package/dist/compute/v1/generated/validators/transaction.zod.js +0 -64
- package/dist/compute/v1/generated/validators/transactionList.zod.d.ts +0 -77
- package/dist/compute/v1/generated/validators/transactionList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/transactionType.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/transactionType.zod.js +0 -27
- package/dist/compute/v1/generated/validators/usageCharge.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/usageCharge.zod.js +0 -73
- package/dist/compute/v1/generated/validators/usageChargeList.zod.d.ts +0 -66
- package/dist/compute/v1/generated/validators/usageChargeList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/withdrawal.zod.d.ts +0 -56
- package/dist/compute/v1/generated/validators/withdrawal.zod.js +0 -59
- package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/withdrawalAllocation.zod.js +0 -33
- package/dist/compute/v1/generated/validators/withdrawalCreate.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/withdrawalCreate.zod.js +0 -35
- package/dist/compute/v1/generated/validators/withdrawalItem.zod.d.ts +0 -62
- package/dist/compute/v1/generated/validators/withdrawalItem.zod.js +0 -53
- package/dist/compute/v1/generated/validators/withdrawalItemList.zod.d.ts +0 -64
- package/dist/compute/v1/generated/validators/withdrawalItemList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/withdrawalList.zod.d.ts +0 -55
- package/dist/compute/v1/generated/validators/withdrawalList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/withdrawalPreview.zod.d.ts +0 -56
- package/dist/compute/v1/generated/validators/withdrawalPreview.zod.js +0 -41
- package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +0 -44
- package/dist/compute/v1/generated/validators/withdrawalPreviewItem.zod.js +0 -35
- package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/withdrawalPreviewRequest.zod.js +0 -29
- package/dist/compute/v1/generated/validators/withdrawalSource.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/withdrawalSource.zod.js +0 -39
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export const PaymentCancellationReason = zod
|
|
26
|
-
.enum(["abandoned", "requested_by_customer"])
|
|
27
|
-
.describe("Why a gateway payment was withdrawn. `abandoned` means the customer did not complete it within the time\nallowed for payment. `requested_by_customer` means the customer canceled it.");
|
|
@@ -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 PaymentMethod: zod.ZodObject<{
|
|
26
|
-
id: zod.ZodUUID;
|
|
27
|
-
billing_account_id: zod.ZodInt;
|
|
28
|
-
payment_gateway: zod.ZodString;
|
|
29
|
-
brand: zod.ZodOptional<zod.ZodString>;
|
|
30
|
-
last4: zod.ZodOptional<zod.ZodString>;
|
|
31
|
-
exp_month: zod.ZodOptional<zod.ZodNullable<zod.ZodInt>>;
|
|
32
|
-
exp_year: zod.ZodOptional<zod.ZodNullable<zod.ZodInt>>;
|
|
33
|
-
is_default: zod.ZodBoolean;
|
|
34
|
-
status: zod.ZodEnum<{
|
|
35
|
-
expired: "expired";
|
|
36
|
-
active: "active";
|
|
37
|
-
removed: "removed";
|
|
38
|
-
}>;
|
|
39
|
-
}, zod.z.core.$strict>;
|
|
40
|
-
export type PaymentMethod = zod.input<typeof PaymentMethod>;
|
|
41
|
-
export type PaymentMethodOutput = zod.output<typeof PaymentMethod>;
|
|
@@ -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 const PaymentMethod = zod.strictObject({
|
|
26
|
-
id: zod.uuid(),
|
|
27
|
-
billing_account_id: zod.int(),
|
|
28
|
-
payment_gateway: zod.string(),
|
|
29
|
-
brand: zod.string().optional(),
|
|
30
|
-
last4: zod.string().optional(),
|
|
31
|
-
exp_month: zod.int().nullish(),
|
|
32
|
-
exp_year: zod.int().nullish(),
|
|
33
|
-
is_default: zod.boolean(),
|
|
34
|
-
status: zod.enum(["active", "expired", "removed"]),
|
|
35
|
-
});
|
|
@@ -1,48 +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 PaymentMethodList: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
id: zod.ZodUUID;
|
|
28
|
-
billing_account_id: zod.ZodInt;
|
|
29
|
-
payment_gateway: zod.ZodString;
|
|
30
|
-
brand: zod.ZodOptional<zod.ZodString>;
|
|
31
|
-
last4: zod.ZodOptional<zod.ZodString>;
|
|
32
|
-
exp_month: zod.ZodOptional<zod.ZodNullable<zod.ZodInt>>;
|
|
33
|
-
exp_year: zod.ZodOptional<zod.ZodNullable<zod.ZodInt>>;
|
|
34
|
-
is_default: zod.ZodBoolean;
|
|
35
|
-
status: zod.ZodEnum<{
|
|
36
|
-
expired: "expired";
|
|
37
|
-
active: "active";
|
|
38
|
-
removed: "removed";
|
|
39
|
-
}>;
|
|
40
|
-
}, zod.z.core.$strict>>;
|
|
41
|
-
pagination: zod.ZodObject<{
|
|
42
|
-
page: zod.ZodInt;
|
|
43
|
-
page_size: zod.ZodInt;
|
|
44
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
45
|
-
}, zod.z.core.$strict>;
|
|
46
|
-
}, zod.z.core.$strict>;
|
|
47
|
-
export type PaymentMethodList = zod.input<typeof PaymentMethodList>;
|
|
48
|
-
export type PaymentMethodListOutput = zod.output<typeof PaymentMethodList>;
|
|
@@ -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 { PaymentMethod } from "./paymentMethod.zod.js";
|
|
27
|
-
export const PaymentMethodList = zod.strictObject({
|
|
28
|
-
items: zod.array(PaymentMethod),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const paymentMethodSetupPaymentGatewayMax = 32;
|
|
26
|
-
export declare const PaymentMethodSetup: zod.ZodObject<{
|
|
27
|
-
payment_gateway: zod.ZodString;
|
|
28
|
-
billing_account_id: zod.ZodInt;
|
|
29
|
-
}, zod.z.core.$strict>;
|
|
30
|
-
export type PaymentMethodSetup = zod.input<typeof PaymentMethodSetup>;
|
|
31
|
-
export type PaymentMethodSetupOutput = zod.output<typeof PaymentMethodSetup>;
|
|
@@ -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 paymentMethodSetupPaymentGatewayMax = 32;
|
|
26
|
-
export const PaymentMethodSetup = zod.strictObject({
|
|
27
|
-
payment_gateway: zod
|
|
28
|
-
.string()
|
|
29
|
-
.min(1)
|
|
30
|
-
.max(paymentMethodSetupPaymentGatewayMax)
|
|
31
|
-
.describe("The selected gateway supporting saved payment methods."),
|
|
32
|
-
billing_account_id: zod.int(),
|
|
33
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const PaymentMethodSetupResult: zod.ZodObject<{
|
|
26
|
-
setup_id: zod.ZodString;
|
|
27
|
-
payment_gateway: zod.ZodString;
|
|
28
|
-
action: zod.ZodObject<{
|
|
29
|
-
type: zod.ZodEnum<{
|
|
30
|
-
redirect: "redirect";
|
|
31
|
-
qr_code: "qr_code";
|
|
32
|
-
sdk: "sdk";
|
|
33
|
-
}>;
|
|
34
|
-
provider: zod.ZodOptional<zod.ZodString>;
|
|
35
|
-
url: zod.ZodOptional<zod.ZodURL>;
|
|
36
|
-
qr_code: zod.ZodOptional<zod.ZodString>;
|
|
37
|
-
client_secret: zod.ZodOptional<zod.ZodString>;
|
|
38
|
-
public_key: zod.ZodOptional<zod.ZodString>;
|
|
39
|
-
}, zod.z.core.$strict>;
|
|
40
|
-
}, zod.z.core.$strict>;
|
|
41
|
-
export type PaymentMethodSetupResult = zod.input<typeof PaymentMethodSetupResult>;
|
|
42
|
-
export type PaymentMethodSetupResultOutput = zod.output<typeof PaymentMethodSetupResult>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { PaymentAction } from "./paymentAction.zod.js";
|
|
26
|
-
export const PaymentMethodSetupResult = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
setup_id: zod
|
|
29
|
-
.string()
|
|
30
|
-
.describe("The gateway's identifier for this attempt. Use it to tell a reloaded page apart\nfrom a second attempt."),
|
|
31
|
-
payment_gateway: zod.string(),
|
|
32
|
-
action: PaymentAction,
|
|
33
|
-
})
|
|
34
|
-
.describe("What the payment gateway's browser library needs in order to collect a card. There is\nno address to redirect to: the form is rendered in the page, and the card goes straight\nfrom the browser to the gateway.");
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const PaymentOption: zod.ZodObject<{
|
|
26
|
-
payment_gateway: zod.ZodString;
|
|
27
|
-
methods: zod.ZodArray<zod.ZodObject<{
|
|
28
|
-
method_type: zod.ZodString;
|
|
29
|
-
reusable: zod.ZodBoolean;
|
|
30
|
-
}, zod.z.core.$strict>>;
|
|
31
|
-
}, zod.z.core.$strict>;
|
|
32
|
-
export type PaymentOption = zod.input<typeof PaymentOption>;
|
|
33
|
-
export type PaymentOptionOutput = zod.output<typeof PaymentOption>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { PaymentOptionMethod } from "./paymentOptionMethod.zod.js";
|
|
26
|
-
export const PaymentOption = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
payment_gateway: zod.string().describe("The value to send as `payment_gateway`."),
|
|
29
|
-
methods: zod.array(PaymentOptionMethod),
|
|
30
|
-
})
|
|
31
|
-
.describe("A payment gateway that accepts payment in the account's currency, with the methods it accepts.");
|
|
@@ -1,40 +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 PaymentOptionList: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
payment_gateway: zod.ZodString;
|
|
28
|
-
methods: zod.ZodArray<zod.ZodObject<{
|
|
29
|
-
method_type: zod.ZodString;
|
|
30
|
-
reusable: zod.ZodBoolean;
|
|
31
|
-
}, zod.z.core.$strict>>;
|
|
32
|
-
}, zod.z.core.$strict>>;
|
|
33
|
-
pagination: zod.ZodObject<{
|
|
34
|
-
page: zod.ZodInt;
|
|
35
|
-
page_size: zod.ZodInt;
|
|
36
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
37
|
-
}, zod.z.core.$strict>;
|
|
38
|
-
}, zod.z.core.$strict>;
|
|
39
|
-
export type PaymentOptionList = zod.input<typeof PaymentOptionList>;
|
|
40
|
-
export type PaymentOptionListOutput = zod.output<typeof PaymentOptionList>;
|
|
@@ -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 { PaymentOption } from "./paymentOption.zod.js";
|
|
27
|
-
export const PaymentOptionList = zod.strictObject({
|
|
28
|
-
items: zod.array(PaymentOption),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const PaymentOptionMethod: zod.ZodObject<{
|
|
26
|
-
method_type: zod.ZodString;
|
|
27
|
-
reusable: zod.ZodBoolean;
|
|
28
|
-
}, zod.z.core.$strict>;
|
|
29
|
-
export type PaymentOptionMethod = zod.input<typeof PaymentOptionMethod>;
|
|
30
|
-
export type PaymentOptionMethodOutput = zod.output<typeof PaymentOptionMethod>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export const PaymentOptionMethod = zod.strictObject({
|
|
26
|
-
method_type: zod
|
|
27
|
-
.string()
|
|
28
|
-
.describe("The value to send as `method_type`, such as card, wechat_pay or alipay."),
|
|
29
|
-
reusable: zod
|
|
30
|
-
.boolean()
|
|
31
|
-
.describe("Whether a method of this type can be saved with create-payment-method-setup and charged later\nwithout the customer present. Methods that are not reusable are paid anew each time."),
|
|
32
|
-
});
|