@leaflow/sdk 0.131.0 → 0.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canopy/inference/v1/generated/functions.d.ts +100 -0
- package/dist/canopy/inference/v1/generated/functions.js +96 -0
- package/dist/canopy/inference/v1/generated/models.d.ts +74 -0
- package/dist/canopy/inference/v1/generated/models.js +4 -0
- package/dist/canopy/inference/v1/generated/schemas.zod.d.ts +40 -0
- package/dist/canopy/inference/v1/generated/schemas.zod.js +26 -0
- package/dist/canopy/inference/v1/generated/validators/chatCompletion.zod.d.ts +11 -0
- package/dist/canopy/inference/v1/generated/validators/chatCompletion.zod.js +9 -0
- package/dist/canopy/inference/v1/generated/validators/chatCompletionRequest.zod.d.ts +18 -0
- package/dist/canopy/inference/v1/generated/validators/chatCompletionRequest.zod.js +16 -0
- package/dist/canopy/inference/v1/generated/validators/embeddingRequest.zod.d.ts +20 -0
- package/dist/canopy/inference/v1/generated/validators/embeddingRequest.zod.js +17 -0
- package/dist/canopy/inference/v1/generated/validators/embeddingResponse.zod.d.ts +11 -0
- package/dist/canopy/inference/v1/generated/validators/embeddingResponse.zod.js +9 -0
- package/dist/canopy/inference/v1/generated/validators/error.zod.d.ts +18 -0
- package/dist/canopy/inference/v1/generated/validators/error.zod.js +16 -0
- package/dist/canopy/inference/v1/generated/validators/model.zod.d.ts +23 -0
- package/dist/canopy/inference/v1/generated/validators/model.zod.js +21 -0
- package/dist/canopy/inference/v1/generated/validators/modelList.zod.d.ts +26 -0
- package/dist/canopy/inference/v1/generated/validators/modelList.zod.js +13 -0
- package/dist/canopy/inference/v1/index.d.ts +3 -0
- package/dist/canopy/inference/v1/index.js +3 -0
- package/dist/canopy/v1/generated/functions.d.ts +1 -1
- package/dist/canopy/v1/generated/models.d.ts +1 -1
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/schemas.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/accountBalance.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/accountIdentity.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/activeResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/activeResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/activeResourceList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/allowance.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/allowance.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/allowanceList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/allowanceList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/applicability.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/appliedCredit.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/autoRenewSet.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingAccount.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/billingAccount.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellationList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/contact.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/contact.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/contactCreate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/contactCreate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/contactList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/contactList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/contactUpdate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditGrant.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditGrantList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditNote.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditNote.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/creditNoteList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/currency.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/currencyList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/currencyList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/discount.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/discount.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/discountList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/entitlement.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/entitlementList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/entitlementList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/error.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/errorA200529.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/errorA200529.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/featureGrant.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/featureGrant.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/featureGrantList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoice.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoiceItemList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoiceList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/modelPricing.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/modelPricing.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/modelResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/money.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/namedIdentity.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/order.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/order.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderCancel.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderCancel.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderItemList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paidWith.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentAction.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentAction.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethod.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentOption.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentOptionList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentResult.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentResult.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/placedOrder.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/plan.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/plan.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/planFeature.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/planFeature.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/planList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/planList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/price.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/price.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/priceList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/priceOption.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/product.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/product.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/productID.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/productList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/productList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quote.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quote.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteA200529.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteCancellation.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/rate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/rate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/rateList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/refund.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/refund.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/refundList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/refundList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/refundReason.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewalPriceList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/spendRow.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statement.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statement.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementAmounts.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementStatus.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementSummary.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statementType.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/subscriptionList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/taxItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/taxItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/terminationPolicy.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/tier.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/tokenPrice.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/tokenPrice.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/topUp.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/topUp.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/topUpList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/topUpList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/transaction.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/transaction.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/transactionList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/transactionList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/transactionType.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/transactionType.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/usageCharge.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/usageChargeList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawal.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawal.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalCreate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalItemList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreview.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/compute/v1/generated/models.d.ts +19 -3109
- 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/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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/routes.d.ts +32 -0
- package/dist/routes.js +36 -0
- 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,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { Money } from "./money.zod.js";
|
|
26
|
-
import { NamedIdentity } from "./namedIdentity.zod.js";
|
|
27
|
-
export const InvoiceItem = zod.strictObject({
|
|
28
|
-
taxable: zod.boolean().optional(),
|
|
29
|
-
discount_amount: zod.string().optional().describe("Discount applied to this line before tax."),
|
|
30
|
-
discount_id: zod.uuid().nullish().describe("The account discount applied to this line."),
|
|
31
|
-
coupon_id: zod.uuid().nullish().describe("The coupon applied to this line."),
|
|
32
|
-
tax_amount: zod
|
|
33
|
-
.string()
|
|
34
|
-
.optional()
|
|
35
|
-
.describe("Tax on the discounted line, including tax already included in the price."),
|
|
36
|
-
tax_included_amount: zod
|
|
37
|
-
.string()
|
|
38
|
-
.optional()
|
|
39
|
-
.describe("The part of tax_amount already included in amount."),
|
|
40
|
-
id: zod.uuid(),
|
|
41
|
-
type: zod.enum(["usage", "subscription", "one_time", "setup", "adjustment"]).optional(),
|
|
42
|
-
project_id: zod.uuid().nullish(),
|
|
43
|
-
project: zod
|
|
44
|
-
.union([NamedIdentity, zod.null()])
|
|
45
|
-
.optional()
|
|
46
|
-
.describe("The project the charge was for and its current name, for display. Absent when the line is\nnot for a project, and when the project no longer exists or its details cannot be read at\nthe moment; `project_id` still identifies it then."),
|
|
47
|
-
resource_id: zod.string().optional(),
|
|
48
|
-
description: zod
|
|
49
|
-
.string()
|
|
50
|
-
.describe("The wording as recorded when the invoice was issued. It is not re-translated\nafterwards, so that an invoice continues to read as it did when it was sent."),
|
|
51
|
-
unit: zod.string().optional(),
|
|
52
|
-
quantity: zod.string().optional(),
|
|
53
|
-
deducted_quantity: zod
|
|
54
|
-
.string()
|
|
55
|
-
.optional()
|
|
56
|
-
.describe("The part covered by an included allowance, and therefore not charged."),
|
|
57
|
-
unit_amount: Money.optional(),
|
|
58
|
-
amount: Money,
|
|
59
|
-
currency: zod.string(),
|
|
60
|
-
period_start: zod.iso.datetime({ offset: true }).nullish(),
|
|
61
|
-
period_end: zod.iso.datetime({ offset: true }).nullish(),
|
|
62
|
-
});
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const InvoiceItemList: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
taxable: zod.ZodOptional<zod.ZodBoolean>;
|
|
28
|
-
discount_amount: zod.ZodOptional<zod.ZodString>;
|
|
29
|
-
discount_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
|
|
30
|
-
coupon_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
|
|
31
|
-
tax_amount: zod.ZodOptional<zod.ZodString>;
|
|
32
|
-
tax_included_amount: zod.ZodOptional<zod.ZodString>;
|
|
33
|
-
id: zod.ZodUUID;
|
|
34
|
-
type: zod.ZodOptional<zod.ZodEnum<{
|
|
35
|
-
one_time: "one_time";
|
|
36
|
-
adjustment: "adjustment";
|
|
37
|
-
usage: "usage";
|
|
38
|
-
subscription: "subscription";
|
|
39
|
-
setup: "setup";
|
|
40
|
-
}>>;
|
|
41
|
-
project_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
|
|
42
|
-
project: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
43
|
-
id: zod.ZodUUID;
|
|
44
|
-
name: zod.ZodString;
|
|
45
|
-
}, zod.z.core.$strict>, zod.ZodNull]>>;
|
|
46
|
-
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
47
|
-
description: zod.ZodString;
|
|
48
|
-
unit: zod.ZodOptional<zod.ZodString>;
|
|
49
|
-
quantity: zod.ZodOptional<zod.ZodString>;
|
|
50
|
-
deducted_quantity: zod.ZodOptional<zod.ZodString>;
|
|
51
|
-
unit_amount: zod.ZodOptional<zod.ZodString>;
|
|
52
|
-
amount: zod.ZodString;
|
|
53
|
-
currency: zod.ZodString;
|
|
54
|
-
period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
55
|
-
period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
56
|
-
}, zod.z.core.$strict>>;
|
|
57
|
-
pagination: zod.ZodObject<{
|
|
58
|
-
page: zod.ZodInt;
|
|
59
|
-
page_size: zod.ZodInt;
|
|
60
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
61
|
-
}, zod.z.core.$strict>;
|
|
62
|
-
}, zod.z.core.$strict>;
|
|
63
|
-
export type InvoiceItemList = zod.input<typeof InvoiceItemList>;
|
|
64
|
-
export type InvoiceItemListOutput = zod.output<typeof InvoiceItemList>;
|
|
@@ -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 { InvoiceItem } from "./invoiceItem.zod.js";
|
|
26
|
-
import { OffsetPagination } from "./offsetPagination.zod.js";
|
|
27
|
-
export const InvoiceItemList = zod.strictObject({
|
|
28
|
-
items: zod.array(InvoiceItem),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -1,86 +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 InvoiceList: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
void_requested_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
28
|
-
due_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
29
|
-
amount_refunded: zod.ZodOptional<zod.ZodString>;
|
|
30
|
-
tax_items: zod.ZodArray<zod.ZodObject<{
|
|
31
|
-
id: zod.ZodUUID;
|
|
32
|
-
invoice_id: zod.ZodUUID;
|
|
33
|
-
name: zod.ZodString;
|
|
34
|
-
percentage: zod.ZodString;
|
|
35
|
-
country: zod.ZodString;
|
|
36
|
-
state: zod.ZodOptional<zod.ZodString>;
|
|
37
|
-
taxable_amount: zod.ZodString;
|
|
38
|
-
tax_amount: zod.ZodString;
|
|
39
|
-
currency: zod.ZodString;
|
|
40
|
-
}, zod.z.core.$strict>>;
|
|
41
|
-
id: zod.ZodUUID;
|
|
42
|
-
billing_account_id: zod.ZodInt;
|
|
43
|
-
number: zod.ZodString;
|
|
44
|
-
currency: zod.ZodString;
|
|
45
|
-
status: zod.ZodEnum<{
|
|
46
|
-
void: "void";
|
|
47
|
-
open: "open";
|
|
48
|
-
draft: "draft";
|
|
49
|
-
paid: "paid";
|
|
50
|
-
uncollectible: "uncollectible";
|
|
51
|
-
}>;
|
|
52
|
-
subtotal: zod.ZodOptional<zod.ZodString>;
|
|
53
|
-
discount_amount: zod.ZodOptional<zod.ZodString>;
|
|
54
|
-
tax_amount: zod.ZodOptional<zod.ZodString>;
|
|
55
|
-
credit_applied: zod.ZodOptional<zod.ZodString>;
|
|
56
|
-
total: zod.ZodString;
|
|
57
|
-
amount_paid: zod.ZodOptional<zod.ZodString>;
|
|
58
|
-
pre_payment_credit_notes_amount: zod.ZodString;
|
|
59
|
-
post_payment_credit_notes_amount: zod.ZodString;
|
|
60
|
-
amount_due: zod.ZodString;
|
|
61
|
-
period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
62
|
-
period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
63
|
-
customer_name: zod.ZodOptional<zod.ZodString>;
|
|
64
|
-
customer_email: zod.ZodOptional<zod.ZodString>;
|
|
65
|
-
customer_tax_id: zod.ZodOptional<zod.ZodString>;
|
|
66
|
-
customer_tax_exempt: zod.ZodOptional<zod.ZodEnum<{
|
|
67
|
-
reverse: "reverse";
|
|
68
|
-
none: "none";
|
|
69
|
-
exempt: "exempt";
|
|
70
|
-
}>>;
|
|
71
|
-
customer_address_line1: zod.ZodOptional<zod.ZodString>;
|
|
72
|
-
customer_address_line2: zod.ZodOptional<zod.ZodString>;
|
|
73
|
-
customer_address_city: zod.ZodOptional<zod.ZodString>;
|
|
74
|
-
customer_address_state: zod.ZodOptional<zod.ZodString>;
|
|
75
|
-
customer_address_postal_code: zod.ZodOptional<zod.ZodString>;
|
|
76
|
-
customer_address_country: zod.ZodOptional<zod.ZodString>;
|
|
77
|
-
paid_at: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
78
|
-
}, zod.z.core.$strict>>;
|
|
79
|
-
pagination: zod.ZodObject<{
|
|
80
|
-
page: zod.ZodInt;
|
|
81
|
-
page_size: zod.ZodInt;
|
|
82
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
83
|
-
}, zod.z.core.$strict>;
|
|
84
|
-
}, zod.z.core.$strict>;
|
|
85
|
-
export type InvoiceList = zod.input<typeof InvoiceList>;
|
|
86
|
-
export type InvoiceListOutput = zod.output<typeof InvoiceList>;
|
|
@@ -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 { Invoice } from "./invoice.zod.js";
|
|
26
|
-
import { OffsetPagination } from "./offsetPagination.zod.js";
|
|
27
|
-
export const InvoiceList = zod.strictObject({
|
|
28
|
-
items: zod.array(Invoice),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -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 InvoiceStatus: zod.ZodEnum<{
|
|
26
|
-
void: "void";
|
|
27
|
-
open: "open";
|
|
28
|
-
draft: "draft";
|
|
29
|
-
paid: "paid";
|
|
30
|
-
uncollectible: "uncollectible";
|
|
31
|
-
}>;
|
|
32
|
-
export type InvoiceStatus = zod.input<typeof InvoiceStatus>;
|
|
33
|
-
export type InvoiceStatusOutput = zod.output<typeof InvoiceStatus>;
|
|
@@ -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 InvoiceStatus = zod
|
|
26
|
-
.enum(["draft", "open", "paid", "void", "uncollectible"])
|
|
27
|
-
.describe("A draft is not yet issued. The draft invoice of an order shows base prices until it is paid, when\nthe discount is applied and it is issued; other drafts are private to administrators.\nAn issued invoice is open until settled; a zero-total issued invoice is immediately paid.\nUnbilled usage remains separate from invoices until it is invoiced.\nA refund does not change the status: a paid invoice stays paid, with the refunded part in\namount_refunded. void means collection has stopped and any funds received have been returned.");
|
|
@@ -1,49 +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 invoiceSummaryAmountDueRegExp: RegExp;
|
|
26
|
-
export declare const InvoiceSummary: zod.ZodObject<{
|
|
27
|
-
id: zod.ZodUUID;
|
|
28
|
-
number: zod.ZodOptional<zod.ZodString>;
|
|
29
|
-
currency: zod.ZodString;
|
|
30
|
-
status: zod.ZodEnum<{
|
|
31
|
-
void: "void";
|
|
32
|
-
open: "open";
|
|
33
|
-
draft: "draft";
|
|
34
|
-
paid: "paid";
|
|
35
|
-
uncollectible: "uncollectible";
|
|
36
|
-
}>;
|
|
37
|
-
subtotal: zod.ZodString;
|
|
38
|
-
discount_amount: zod.ZodString;
|
|
39
|
-
tax_amount: zod.ZodString;
|
|
40
|
-
total: zod.ZodString;
|
|
41
|
-
amount_paid: zod.ZodString;
|
|
42
|
-
pre_payment_credit_notes_amount: zod.ZodString;
|
|
43
|
-
post_payment_credit_notes_amount: zod.ZodString;
|
|
44
|
-
amount_due: zod.ZodString;
|
|
45
|
-
amount_refunded: zod.ZodString;
|
|
46
|
-
due_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
47
|
-
}, zod.z.core.$strict>;
|
|
48
|
-
export type InvoiceSummary = zod.input<typeof InvoiceSummary>;
|
|
49
|
-
export type InvoiceSummaryOutput = zod.output<typeof InvoiceSummary>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { InvoiceStatus } from "./invoiceStatus.zod.js";
|
|
26
|
-
import { Money } from "./money.zod.js";
|
|
27
|
-
export const invoiceSummaryAmountDueRegExp = new RegExp("^\\d+(\\.\\d{1,10})?$");
|
|
28
|
-
export const InvoiceSummary = zod
|
|
29
|
-
.strictObject({
|
|
30
|
-
id: zod.uuid(),
|
|
31
|
-
number: zod.string().optional(),
|
|
32
|
-
currency: zod.string(),
|
|
33
|
-
status: InvoiceStatus,
|
|
34
|
-
subtotal: zod
|
|
35
|
-
.string()
|
|
36
|
-
.describe("Sum of the line amounts before discounts. Where prices include tax, the tax contained in\neach line's discounted amount is taken out here, so that total = subtotal -\ndiscount_amount + tax_amount always holds."),
|
|
37
|
-
discount_amount: zod.string().describe("Sum of the line discounts, taken off before tax."),
|
|
38
|
-
tax_amount: zod.string(),
|
|
39
|
-
total: zod.string(),
|
|
40
|
-
amount_paid: zod.string(),
|
|
41
|
-
pre_payment_credit_notes_amount: Money.describe("Issued, non-void credit notes that reduced unpaid receivables. Does not rewrite the original invoice total."),
|
|
42
|
-
post_payment_credit_notes_amount: Money.describe("Issued credit notes against payments already received. This is a return obligation, not evidence of completed refunds."),
|
|
43
|
-
amount_due: zod
|
|
44
|
-
.string()
|
|
45
|
-
.regex(invoiceSummaryAmountDueRegExp)
|
|
46
|
-
.describe("What is still collectible after unpaid credit notes and successful payments; never below zero."),
|
|
47
|
-
amount_refunded: zod.string(),
|
|
48
|
-
due_at: zod.iso.datetime({ offset: true }).optional(),
|
|
49
|
-
})
|
|
50
|
-
.describe("Purchase-related invoice amounts, without account contact details or payment methods. Every order\nhas an invoice from placement. A draft shows base prices until it is paid, when the discount is\napplied and it is issued; a zero-total invoice is issued and paid at placement whatever the\ncheckout mode. Neither establishes acceptance or delivery.");
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const MonthlyStatement: zod.ZodObject<{
|
|
26
|
-
billing_account_id: zod.ZodInt;
|
|
27
|
-
currency: zod.ZodString;
|
|
28
|
-
period_start: zod.z.ZodISODateTime;
|
|
29
|
-
period_end: zod.z.ZodISODateTime;
|
|
30
|
-
finalized: zod.ZodBoolean;
|
|
31
|
-
finalized_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
32
|
-
statement_count: zod.ZodInt;
|
|
33
|
-
billed: zod.ZodObject<{
|
|
34
|
-
subtotal: zod.ZodString;
|
|
35
|
-
discount_amount: zod.ZodString;
|
|
36
|
-
tax_amount: zod.ZodString;
|
|
37
|
-
total: zod.ZodString;
|
|
38
|
-
}, zod.z.core.$strict>;
|
|
39
|
-
credited_amount: zod.ZodString;
|
|
40
|
-
unbilled: zod.ZodOptional<zod.ZodObject<{
|
|
41
|
-
subtotal: zod.ZodString;
|
|
42
|
-
discount_amount: zod.ZodString;
|
|
43
|
-
tax_amount: zod.ZodString;
|
|
44
|
-
total: zod.ZodString;
|
|
45
|
-
}, zod.z.core.$strict>>;
|
|
46
|
-
credit_applied: zod.ZodString;
|
|
47
|
-
amount_paid: zod.ZodString;
|
|
48
|
-
amount_due: zod.ZodString;
|
|
49
|
-
amount_refunded: zod.ZodString;
|
|
50
|
-
}, zod.z.core.$strict>;
|
|
51
|
-
export type MonthlyStatement = zod.input<typeof MonthlyStatement>;
|
|
52
|
-
export type MonthlyStatementOutput = zod.output<typeof MonthlyStatement>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
|
|
15
|
-
* - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { Money } from "./money.zod.js";
|
|
26
|
-
import { StatementAmounts } from "./statementAmounts.zod.js";
|
|
27
|
-
export const MonthlyStatement = zod
|
|
28
|
-
.strictObject({
|
|
29
|
-
billing_account_id: zod.int(),
|
|
30
|
-
currency: zod.string(),
|
|
31
|
-
period_start: zod.iso.datetime({ offset: true }),
|
|
32
|
-
period_end: zod.iso.datetime({ offset: true }),
|
|
33
|
-
finalized: zod
|
|
34
|
-
.boolean()
|
|
35
|
-
.describe("True after the period's final closing, which applies minimum charges for the whole month. Usage priced later is still billed in supplement statements and added here."),
|
|
36
|
-
finalized_at: zod.iso.datetime({ offset: true }).optional(),
|
|
37
|
-
statement_count: zod.int().describe("Statements of the period, including the open one."),
|
|
38
|
-
billed: StatementAmounts,
|
|
39
|
-
credited_amount: Money,
|
|
40
|
-
unbilled: StatementAmounts.optional(),
|
|
41
|
-
credit_applied: Money,
|
|
42
|
-
amount_paid: Money,
|
|
43
|
-
amount_due: Money,
|
|
44
|
-
amount_refunded: Money,
|
|
45
|
-
})
|
|
46
|
-
.describe("One billing account's usage billing for one UTC calendar month, summed over the month's statements. It is a summary, not something to pay; each closing's invoice is collected on its own.");
|