@leaflow/sdk 0.159.0 → 0.161.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/billing/v1/generated/functions.d.ts +71 -20
- package/dist/billing/v1/generated/functions.js +93 -18
- package/dist/billing/v1/generated/models.d.ts +175 -6
- package/dist/billing/v1/generated/models.js +10 -0
- package/dist/billing/v1/generated/schemas.zod.d.ts +22 -12
- package/dist/billing/v1/generated/schemas.zod.js +22 -12
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/error.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRatesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRatesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRatesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRatesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/order.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/price.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +32 -0
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +53 -0
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/product.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productID.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +8 -1
- package/dist/billing/v1/generated/validators/quote.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +22 -0
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +42 -0
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +38 -0
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +15 -0
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +8 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +16 -2
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +39 -1
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +17 -3
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rateList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rateList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rateSearch.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/rateSearch.zod.js +38 -0
- package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/canopy/v1/generated/functions.d.ts +5 -32
- package/dist/canopy/v1/generated/functions.js +2 -20
- package/dist/canopy/v1/generated/models.d.ts +39 -200
- package/dist/canopy/v1/generated/models.js +1 -19
- package/dist/canopy/v1/generated/schemas.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/schemas.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +3 -2
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/error.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/inferenceError.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modality.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modality.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/model.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/model.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/{modelPricing.zod.d.ts → modelBilling.zod.d.ts} +9 -9
- package/dist/canopy/v1/generated/validators/{modelPricing.zod.js → modelBilling.zod.js} +11 -8
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modelList.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +8 -8
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/{tokenPrice.zod.d.ts → modelMeter.zod.d.ts} +7 -7
- package/dist/canopy/v1/generated/validators/{funds.zod.d.ts → modelMeter.zod.js} +9 -12
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +8 -8
- package/dist/canopy/v1/generated/validators/modelResource.zod.js +4 -6
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/money.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/money.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/responseCreate.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/responseResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +3 -2
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +6 -2
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/functions.d.ts +64 -257
- package/dist/compute/v1/generated/functions.js +41 -340
- package/dist/compute/v1/generated/models.d.ts +757 -1079
- package/dist/compute/v1/generated/models.js +121 -135
- package/dist/compute/v1/generated/schemas.zod.d.ts +30 -286
- package/dist/compute/v1/generated/schemas.zod.js +30 -86
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/backupService.zod.d.ts +1 -57
- package/dist/compute/v1/generated/validators/backupService.zod.js +1 -8
- package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/billingChoice.zod.js +1 -1
- package/dist/compute/v1/generated/validators/{quoteItem.zod.d.ts → billingComponent.zod.d.ts} +28 -33
- package/dist/compute/v1/generated/validators/billingComponent.zod.js +43 -0
- package/dist/compute/v1/generated/validators/{resizeInstanceQuoteRequestBody.zod.d.ts → billingMeter.zod.d.ts} +12 -6
- package/dist/compute/v1/generated/validators/{pricing.zod.js → billingMeter.zod.js} +11 -10
- package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/billingPeriod.zod.js +1 -1
- package/dist/compute/v1/generated/validators/{resizeDiskQuoteRequestBody.zod.d.ts → billingQuantity.zod.d.ts} +9 -6
- package/dist/compute/v1/generated/validators/{resizeDiskQuoteRequestBody.zod.js → billingQuantity.zod.js} +4 -6
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/bootDisk.zod.js +1 -1
- package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +1 -1
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -57
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +121 -0
- package/dist/compute/v1/generated/validators/{createBackupCapacityPackQuoteRequestBody.zod.js → deleteDiskResponseBody.zod.js} +9 -8
- package/dist/compute/v1/generated/validators/{createDiskQuoteRequestBody.zod.d.ts → deleteImageResponseBody.zod.d.ts} +78 -23
- package/dist/compute/v1/generated/validators/{funds.zod.d.ts → deleteImageResponseBody.zod.js} +9 -11
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +135 -0
- package/dist/compute/v1/generated/validators/{createImageQuoteRequestBody.zod.js → deleteInstanceResponseBody.zod.js} +9 -8
- package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskAttachment.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/diskOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/diskResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +27 -27
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +1 -1
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +27 -27
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +3 -5
- package/dist/compute/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/error.zod.js +1 -1
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +1 -1
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +1 -1
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +27 -55
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +27 -55
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +3 -8
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageVisibility.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +4 -4
- package/dist/compute/v1/generated/validators/instanceOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/instanceResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +27 -27
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +27 -27
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +3 -5
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listDisksParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listImagesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listPortsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/money.zod.js +1 -1
- package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/newBootDisk.zod.js +1 -1
- package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/newCompute.zod.js +1 -1
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +1 -1
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/operationLogResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/peeringOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/peeringResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAddress.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAttachment.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/portResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/powerRequest.zod.js +1 -1
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +109 -25
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +109 -25
- package/dist/compute/v1/generated/validators/regionResource.zod.js +10 -5
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +111 -0
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +32 -0
- package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/releaseResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/{setFloatingIPBandwidthQuoteRequestBody.zod.d.ts → resourceCancellation.zod.d.ts} +16 -5
- package/dist/compute/v1/generated/validators/{createDiskQuoteRequestBody.zod.js → resourceCancellation.zod.js} +15 -17
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/routeResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -29
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +1 -1
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +1 -29
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +1 -5
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/subnetResource.zod.js +1 -1
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +1 -1
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +1 -1
- package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/zoneResource.zod.js +1 -1
- package/dist/membership/v1/generated/functions.d.ts +22 -1
- package/dist/membership/v1/generated/functions.js +25 -0
- package/dist/membership/v1/generated/models.d.ts +30 -3
- package/dist/membership/v1/generated/schemas.zod.d.ts +15 -0
- package/dist/membership/v1/generated/schemas.zod.js +25 -0
- package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.d.ts +18 -0
- package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.js +24 -0
- package/dist/membership/v1/generated/validators/plan.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/planList.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/planPrice.zod.js +1 -3
- package/dist/membership/v1/generated/validators/upgradeOption.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/upgradeOption.zod.js +18 -0
- package/dist/membership/v1/generated/validators/upgradeOptionList.zod.d.ts +26 -0
- package/dist/membership/v1/generated/validators/upgradeOptionList.zod.js +14 -0
- package/dist/routes.d.ts +33 -81
- package/dist/routes.js +36 -90
- package/package.json +1 -1
- package/dist/canopy/v1/generated/validators/funds.zod.js +0 -52
- package/dist/canopy/v1/generated/validators/quote.zod.d.ts +0 -98
- package/dist/canopy/v1/generated/validators/quote.zod.js +0 -70
- package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +0 -76
- package/dist/canopy/v1/generated/validators/quoteItem.zod.js +0 -84
- package/dist/canopy/v1/generated/validators/tokenPrice.zod.js +0 -52
- package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +0 -44
- package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/funds.zod.js +0 -35
- package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +0 -113
- package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +0 -71
- package/dist/compute/v1/generated/validators/pricing.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/pricingOption.zod.js +0 -62
- package/dist/compute/v1/generated/validators/quote.zod.d.ts +0 -81
- package/dist/compute/v1/generated/validators/quote.zod.js +0 -53
- package/dist/compute/v1/generated/validators/quoteItem.zod.js +0 -67
- package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +0 -33
- package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +0 -43
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +0 -34
|
@@ -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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 { BillingPeriod } from "./billingPeriod.zod.js";
|
|
26
|
-
export const PricingOption = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
usage_type: zod
|
|
29
|
-
.enum(["licensed", "metered"])
|
|
30
|
-
.describe("`licensed` pays for a period in advance; `metered` bills usage until canceled."),
|
|
31
|
-
period: zod
|
|
32
|
-
.union([BillingPeriod, zod.null()])
|
|
33
|
-
.describe("The term of a licensed option; null for metered."),
|
|
34
|
-
quantity_unit: zod
|
|
35
|
-
.enum(["item", "gib", "mbps", "snapshot"])
|
|
36
|
-
.describe("What the amounts are for: one `item`, such as an instance or an address; one `gib` of size or capacity; one `mbps` of bandwidth; or one `snapshot` slot."),
|
|
37
|
-
amount: zod
|
|
38
|
-
.string()
|
|
39
|
-
.nullable()
|
|
40
|
-
.describe("Licensed only; null for metered. The amount for one period, per quantity unit."),
|
|
41
|
-
monthly_amount: zod
|
|
42
|
-
.string()
|
|
43
|
-
.nullable()
|
|
44
|
-
.describe("Licensed only; null for metered. `amount` spread over the months of the period."),
|
|
45
|
-
saving_percent: zod
|
|
46
|
-
.string()
|
|
47
|
-
.nullable()
|
|
48
|
-
.describe("Licensed only. How much lower `monthly_amount` is than that of the shortest licensed period of the same item, as a decimal percentage. Null for that shortest period and for metered."),
|
|
49
|
-
unit_amount: zod
|
|
50
|
-
.string()
|
|
51
|
-
.nullable()
|
|
52
|
-
.describe("Metered only; null for licensed. The amount for one `unit` of time, per quantity unit."),
|
|
53
|
-
unit: zod
|
|
54
|
-
.union([zod.literal("hour"), zod.literal(null)])
|
|
55
|
-
.nullable()
|
|
56
|
-
.describe("Metered only; null for licensed. The time unit of `unit_amount`."),
|
|
57
|
-
termination_policy: zod
|
|
58
|
-
.union([zod.literal("immediate"), zod.literal("period_end"), zod.literal(null)])
|
|
59
|
-
.nullable()
|
|
60
|
-
.describe("What canceling does under this option: `immediate` ends the service at once, with any refund following the option's terms; `period_end` ends it at the end of the paid period. Null means no explicit policy was recorded; it must not be interpreted as immediate."),
|
|
61
|
-
})
|
|
62
|
-
.describe("One way to buy an item. Choose it by giving its usage_type, period and termination_policy as billing.");
|
|
@@ -1,81 +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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 Quote: zod.ZodObject<{
|
|
26
|
-
funds: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
27
|
-
available_balance_amount: zod.ZodString;
|
|
28
|
-
usable_credit_amount: zod.ZodString;
|
|
29
|
-
restricted_credit_amount: zod.ZodString;
|
|
30
|
-
required_balance_amount: zod.ZodString;
|
|
31
|
-
balance_shortfall_amount: zod.ZodString;
|
|
32
|
-
required_top_up_amount: zod.ZodString;
|
|
33
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
34
|
-
tax_status: zod.ZodEnum<{
|
|
35
|
-
complete: "complete";
|
|
36
|
-
requires_location_inputs: "requires_location_inputs";
|
|
37
|
-
}>;
|
|
38
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
39
|
-
product_id: zod.ZodString;
|
|
40
|
-
plan_id: zod.ZodUUID;
|
|
41
|
-
plan_name: zod.ZodString;
|
|
42
|
-
price_id: zod.ZodUUID;
|
|
43
|
-
dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
44
|
-
type: zod.ZodEnum<{
|
|
45
|
-
one_time: "one_time";
|
|
46
|
-
recurring: "recurring";
|
|
47
|
-
}>;
|
|
48
|
-
usage_type: zod.ZodEnum<{
|
|
49
|
-
licensed: "licensed";
|
|
50
|
-
metered: "metered";
|
|
51
|
-
}>;
|
|
52
|
-
interval: zod.ZodEnum<{
|
|
53
|
-
none: "none";
|
|
54
|
-
day: "day";
|
|
55
|
-
month: "month";
|
|
56
|
-
year: "year";
|
|
57
|
-
}>;
|
|
58
|
-
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
59
|
-
setup_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
60
|
-
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
61
|
-
unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
62
|
-
quantity: zod.ZodString;
|
|
63
|
-
amount: zod.ZodString;
|
|
64
|
-
discount_amount: zod.ZodString;
|
|
65
|
-
tax_amount: zod.ZodString;
|
|
66
|
-
tax_included_amount: zod.ZodString;
|
|
67
|
-
total: zod.ZodString;
|
|
68
|
-
estimated_usage_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
69
|
-
currency: zod.ZodString;
|
|
70
|
-
}, zod.z.core.$strict>>;
|
|
71
|
-
subtotal: zod.ZodString;
|
|
72
|
-
discount_amount: zod.ZodString;
|
|
73
|
-
tax_amount: zod.ZodString;
|
|
74
|
-
total: zod.ZodString;
|
|
75
|
-
estimated_usage_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
76
|
-
currency: zod.ZodString;
|
|
77
|
-
proration_date: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
78
|
-
refundable_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
79
|
-
}, zod.z.core.$strict>;
|
|
80
|
-
export type Quote = zod.input<typeof Quote>;
|
|
81
|
-
export type QuoteOutput = zod.output<typeof Quote>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 { Funds } from "./funds.zod.js";
|
|
26
|
-
import { Money } from "./money.zod.js";
|
|
27
|
-
import { QuoteItem } from "./quoteItem.zod.js";
|
|
28
|
-
export const Quote = zod
|
|
29
|
-
.strictObject({
|
|
30
|
-
funds: zod.union([Funds, zod.null()]).describe("Null for a quote without a billing account."),
|
|
31
|
-
tax_status: zod
|
|
32
|
-
.enum(["complete", "requires_location_inputs"])
|
|
33
|
-
.describe("`complete`: tax is calculated for the billing account's invoice contact. `requires_location_inputs`: a quote without a billing account, which leaves out tax that would be added; tax already contained in a price is included."),
|
|
34
|
-
items: zod
|
|
35
|
-
.array(QuoteItem)
|
|
36
|
-
.describe("One line for each item the purchase would order, in the order it would order them."),
|
|
37
|
-
subtotal: Money.describe("Sum of line amounts before discounts, less tax already included in the discounted line\namounts, as on an invoice."),
|
|
38
|
-
discount_amount: Money.describe("Sum of line discounts."),
|
|
39
|
-
tax_amount: Money.describe("Sum of tax on the discounted line amounts."),
|
|
40
|
-
total: Money.describe("subtotal minus discount_amount plus tax_amount: what checkout collects, before applying\ncredit grants or balance. Equals the sum of line totals and excludes estimated_usage_amount."),
|
|
41
|
-
estimated_usage_amount: zod
|
|
42
|
-
.union([Money, zod.null()])
|
|
43
|
-
.describe("Sum of the lines' estimated_usage_amount. A projection, not part of total and not collected at\ncheckout. Null when no usage estimate is requested."),
|
|
44
|
-
currency: zod.string(),
|
|
45
|
-
proration_date: zod.iso
|
|
46
|
-
.datetime({ offset: true })
|
|
47
|
-
.nullable()
|
|
48
|
-
.describe("Changes only; null otherwise. The instant the change is priced from. Pass it with the change so the\norder is priced from the same instant."),
|
|
49
|
-
refundable_amount: zod
|
|
50
|
-
.union([Money, zod.null()])
|
|
51
|
-
.describe("Changes that lower the price only; null otherwise. What the change would return to the original\npayment sources, including the tax paid on it. total is zero for such a change."),
|
|
52
|
-
})
|
|
53
|
-
.describe("A price preview for the purchase described by a service, calculated by Billing. Nothing is saved,\ncharged or reserved, and no discount redemption is consumed. Account discounts and tax are\nevaluated as for automatic checkout. Promotion codes are evaluated by Billing at checkout, not here.\nAll amounts use currency. This preview does not lock prices or guarantee discount availability.\nSuccess includes complete checkout amounts and every requested usage estimate. If any item or\nrequested usage estimate cannot be calculated, the operation returns its existing structured\nerror response; it never returns a partial quote with HTTP 200. A quote without a billing account\nhas no funds and no account discount, and leaves out tax that would be added.");
|
|
@@ -1,67 +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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { Money } from "./money.zod.js";
|
|
26
|
-
export const QuoteItem = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
product_id: zod.string(),
|
|
29
|
-
plan_id: zod.uuid(),
|
|
30
|
-
plan_name: zod.string(),
|
|
31
|
-
price_id: zod
|
|
32
|
-
.uuid()
|
|
33
|
-
.describe("The price the line is priced at, including one Billing selected. With quantity and dimensions it\nprices the same line in Billing's own quote, for example with a promotion code."),
|
|
34
|
-
dimensions: zod
|
|
35
|
-
.record(zod.string(), zod.string())
|
|
36
|
-
.describe("The dimension values the line is priced at, such as region and instance type."),
|
|
37
|
-
type: zod.enum(["one_time", "recurring"]).describe("one_time or recurring."),
|
|
38
|
-
usage_type: zod.enum(["licensed", "metered"]).describe("licensed or metered."),
|
|
39
|
-
interval: zod
|
|
40
|
-
.enum(["none", "day", "month", "year"])
|
|
41
|
-
.describe("The billing period of a recurring licensed line; `none` otherwise."),
|
|
42
|
-
interval_count: zod
|
|
43
|
-
.int()
|
|
44
|
-
.min(1)
|
|
45
|
-
.nullable()
|
|
46
|
-
.describe("Periods per billing cycle of a recurring licensed line; null otherwise."),
|
|
47
|
-
setup_amount: zod
|
|
48
|
-
.union([Money, zod.null()])
|
|
49
|
-
.describe("The setup charge already included in amount; null when none applies."),
|
|
50
|
-
recurring_amount: zod
|
|
51
|
-
.union([Money, zod.null()])
|
|
52
|
-
.describe("Recurring licensed lines only; null otherwise. What each later period renews at, before discounts\nand tax, which differs from amount when the first period is priced differently."),
|
|
53
|
-
unit_amount: zod
|
|
54
|
-
.union([Money, zod.null()])
|
|
55
|
-
.describe("Unit price before discounts, with tax included only where the price includes it. Null when\nno single unit price applies, such as tiered or multiple-rate pricing or an immediate change."),
|
|
56
|
-
quantity: zod.string().describe("The quantity priced."),
|
|
57
|
-
amount: Money.describe("Before discounts, including any setup charges. Contains tax only where the price includes it.\nZero for an item with no immediate charge."),
|
|
58
|
-
discount_amount: Money.describe("Total reduction on this line, including any committed recurring discount."),
|
|
59
|
-
tax_amount: Money.describe("Tax on the discounted amount, including any tax already contained in that amount."),
|
|
60
|
-
tax_included_amount: Money.describe("The part of tax_amount already contained in amount minus discount_amount."),
|
|
61
|
-
total: Money.describe("amount minus discount_amount plus tax_amount minus tax_included_amount."),
|
|
62
|
-
estimated_usage_amount: zod
|
|
63
|
-
.union([Money, zod.null()])
|
|
64
|
-
.describe("Projected charge for this line's future usage over the period stated by the quoting operation,\nat current rates, before discounts and tax and not rounded. Not part of amount or total and\nnot collected at checkout. Null when no usage estimate is requested for this line."),
|
|
65
|
-
currency: zod.string(),
|
|
66
|
-
})
|
|
67
|
-
.describe("One calculated purchase line. Fixed purchase amounts are rounded as checkout rounds them.\nA line without an immediate charge has zero checkout amounts. unit_amount remains null when\nno single unit price applies; an unrequested usage estimate remains null.");
|
|
@@ -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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 resizeInstanceQuoteRequestBodyInstanceTypeIdMax = 64;
|
|
26
|
-
export const ResizeInstanceQuoteRequestBody = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
instance_type_id: zod
|
|
29
|
-
.uuid()
|
|
30
|
-
.max(resizeInstanceQuoteRequestBodyInstanceTypeIdMax)
|
|
31
|
-
.describe("Must be in the same region and availability zone as the current instance type"),
|
|
32
|
-
})
|
|
33
|
-
.describe("The request of `resize-instance`, without `checkout` and `proration_date`.");
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 restoreBackupQuoteRequestBodyDiskTypeIdMax = 64;
|
|
26
|
-
export declare const restoreBackupQuoteRequestBodyNameMax = 128;
|
|
27
|
-
export declare const restoreBackupQuoteRequestBodySizeGbMin = 0;
|
|
28
|
-
export declare const RestoreBackupQuoteRequestBody: zod.ZodObject<{
|
|
29
|
-
disk_type_id: zod.ZodUUID;
|
|
30
|
-
name: zod.ZodString;
|
|
31
|
-
size_gb: zod.ZodOptional<zod.ZodInt>;
|
|
32
|
-
billing: zod.ZodObject<{
|
|
33
|
-
usage_type: zod.ZodEnum<{
|
|
34
|
-
licensed: "licensed";
|
|
35
|
-
metered: "metered";
|
|
36
|
-
}>;
|
|
37
|
-
period: zod.ZodOptional<zod.ZodObject<{
|
|
38
|
-
unit: zod.ZodEnum<{
|
|
39
|
-
month: "month";
|
|
40
|
-
year: "year";
|
|
41
|
-
}>;
|
|
42
|
-
count: zod.ZodInt;
|
|
43
|
-
}, zod.z.core.$strict>>;
|
|
44
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
45
|
-
immediate: "immediate";
|
|
46
|
-
period_end: "period_end";
|
|
47
|
-
}>>;
|
|
48
|
-
}, zod.z.core.$strict>;
|
|
49
|
-
}, zod.z.core.$strict>;
|
|
50
|
-
export type RestoreBackupQuoteRequestBody = zod.input<typeof RestoreBackupQuoteRequestBody>;
|
|
51
|
-
export type RestoreBackupQuoteRequestBodyOutput = zod.output<typeof RestoreBackupQuoteRequestBody>;
|
|
@@ -1,43 +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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 { BillingChoice } from "./billingChoice.zod.js";
|
|
26
|
-
export const restoreBackupQuoteRequestBodyDiskTypeIdMax = 64;
|
|
27
|
-
export const restoreBackupQuoteRequestBodyNameMax = 128;
|
|
28
|
-
export const restoreBackupQuoteRequestBodySizeGbMin = 0;
|
|
29
|
-
export const RestoreBackupQuoteRequestBody = zod
|
|
30
|
-
.strictObject({
|
|
31
|
-
disk_type_id: zod
|
|
32
|
-
.uuid()
|
|
33
|
-
.max(restoreBackupQuoteRequestBodyDiskTypeIdMax)
|
|
34
|
-
.describe("May differ from the availability zone of the source disk, but must be in the same region. It has to be a data disk type on sale — restoring creates a new data disk, so a withdrawn type or a system disk type is rejected here as well"),
|
|
35
|
-
name: zod.string().min(1).max(restoreBackupQuoteRequestBodyNameMax),
|
|
36
|
-
size_gb: zod
|
|
37
|
-
.int()
|
|
38
|
-
.min(restoreBackupQuoteRequestBodySizeGbMin)
|
|
39
|
-
.optional()
|
|
40
|
-
.describe("Matches the size of the backup when omitted. When given, it must not be smaller than the backup"),
|
|
41
|
-
billing: BillingChoice,
|
|
42
|
-
})
|
|
43
|
-
.describe("The request of `restore-backup`, without `checkout`.");
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 SetFloatingIPBandwidthQuoteRequestBody = zod
|
|
26
|
-
.strictObject({
|
|
27
|
-
bandwidth_mbps: zod.int().min(1).describe("Applied to both directions"),
|
|
28
|
-
})
|
|
29
|
-
.describe("The request of `set-floating-ip-bandwidth`, without `checkout` and `proration_date`.");
|
|
@@ -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 the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 SetSnapshotQuotaQuoteRequestBody: zod.ZodObject<{
|
|
26
|
-
limit: zod.ZodInt;
|
|
27
|
-
billing: zod.ZodObject<{
|
|
28
|
-
usage_type: zod.ZodEnum<{
|
|
29
|
-
licensed: "licensed";
|
|
30
|
-
metered: "metered";
|
|
31
|
-
}>;
|
|
32
|
-
period: zod.ZodOptional<zod.ZodObject<{
|
|
33
|
-
unit: zod.ZodEnum<{
|
|
34
|
-
month: "month";
|
|
35
|
-
year: "year";
|
|
36
|
-
}>;
|
|
37
|
-
count: zod.ZodInt;
|
|
38
|
-
}, zod.z.core.$strict>>;
|
|
39
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
40
|
-
immediate: "immediate";
|
|
41
|
-
period_end: "period_end";
|
|
42
|
-
}>>;
|
|
43
|
-
}, zod.z.core.$strict>;
|
|
44
|
-
}, zod.z.core.$strict>;
|
|
45
|
-
export type SetSnapshotQuotaQuoteRequestBody = zod.input<typeof SetSnapshotQuotaQuoteRequestBody>;
|
|
46
|
-
export type SetSnapshotQuotaQuoteRequestBodyOutput = zod.output<typeof SetSnapshotQuotaQuoteRequestBody>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, 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 Checkout Session expires, 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 Checkout Session and 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 licensed and metered 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.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; 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` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
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 Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, 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 { BillingChoice } from "./billingChoice.zod.js";
|
|
26
|
-
export const SetSnapshotQuotaQuoteRequestBody = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
limit: zod
|
|
29
|
-
.int()
|
|
30
|
-
.min(1)
|
|
31
|
-
.describe("Desired total concurrent snapshot count for this project and region, not additional slots."),
|
|
32
|
-
billing: BillingChoice,
|
|
33
|
-
})
|
|
34
|
-
.describe("The request of `set-snapshot-quota`, without `checkout` and `proration_date`.");
|