@leaflow/sdk 0.160.0 → 0.162.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/type/cancellation/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/cancellation/v1/generated/functions.js +8 -0
- package/dist/billing/type/cancellation/v1/generated/models.d.ts +19 -0
- package/dist/billing/type/cancellation/v1/generated/models.js +4 -0
- package/dist/billing/type/cancellation/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/cancellation/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
- package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.js +11 -0
- package/dist/billing/v1/generated/functions.d.ts +13 -13
- package/dist/billing/v1/generated/functions.js +12 -12
- package/dist/billing/v1/generated/models.d.ts +26 -13
- package/dist/billing/v1/generated/models.js +4 -4
- package/dist/billing/v1/generated/schemas.zod.d.ts +12 -12
- package/dist/billing/v1/generated/schemas.zod.js +12 -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 +3 -3
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +3 -3
- 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/cancellationMode.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/cancellationMode.zod.js +11 -0
- 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 +3 -3
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +3 -3
- 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 +3 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +8 -1
- 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 +1 -1
- package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +1 -1
- 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 +1 -1
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +2 -2
- 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 +1 -1
- package/dist/billing/v1/generated/validators/rateSearch.zod.js +1 -1
- 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 +3 -2
- 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 +4 -4
- package/dist/canopy/v1/generated/functions.js +2 -2
- package/dist/canopy/v1/generated/models.d.ts +35 -30
- package/dist/canopy/v1/generated/models.js +1 -1
- 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 +2 -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/{tokenPrice.zod.js → modelMeter.zod.js} +7 -11
- 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 +2 -2
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +3 -3
- 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 +72 -265
- package/dist/compute/v1/generated/functions.js +120 -356
- package/dist/compute/v1/generated/models.d.ts +829 -1076
- package/dist/compute/v1/generated/models.js +121 -135
- package/dist/compute/v1/generated/schemas.zod.d.ts +70 -284
- package/dist/compute/v1/generated/schemas.zod.js +72 -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/billingMeter.zod.d.ts +36 -0
- 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/{createImageQuoteRequestBody.zod.js → billingQuantity.zod.d.ts} +9 -8
- package/dist/compute/v1/generated/validators/{resizeDiskQuoteRequestBody.zod.d.ts → 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/{resizeDiskQuoteRequestBody.zod.js → cancellationMode.zod.d.ts} +7 -6
- package/dist/compute/v1/generated/validators/cancellationMode.zod.js +27 -0
- 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/deleteBackupCapacityPackParams.zod.d.ts +32 -0
- package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +30 -0
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +32 -0
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +30 -0
- package/dist/compute/v1/generated/validators/{setFloatingIPBandwidthQuoteRequestBody.zod.d.ts → deleteDiskParams.zod.d.ts} +8 -5
- package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +30 -0
- 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/{resizeInstanceQuoteRequestBody.zod.d.ts → deleteImageParams.zod.d.ts} +8 -6
- package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +30 -0
- package/dist/compute/v1/generated/validators/{allocateFloatingIPQuoteRequestBody.zod.d.ts → deleteImageResponseBody.zod.d.ts} +78 -23
- package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +32 -0
- package/dist/compute/v1/generated/validators/{funds.zod.d.ts → deleteInstanceParams.zod.d.ts} +8 -10
- package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +30 -0
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +135 -0
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +32 -0
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +32 -0
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +30 -0
- 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/releaseFloatingIpParams.zod.d.ts +32 -0
- package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +30 -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/resourceCancellation.zod.d.ts +40 -0
- package/dist/compute/v1/generated/validators/{createDiskQuoteRequestBody.zod.js → resourceCancellation.zod.js} +14 -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/models.d.ts +1 -3
- 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/routes.d.ts +9 -73
- package/dist/routes.js +9 -81
- package/package.json +1 -1
- 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/createDiskQuoteRequestBody.zod.d.ts +0 -51
- 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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -22,19 +22,15 @@
|
|
|
22
22
|
* OpenAPI spec version: 1.0.0
|
|
23
23
|
*/
|
|
24
24
|
import * as zod from "zod";
|
|
25
|
-
import { AllocateFloatingIPQuoteRequestBody } from "./validators/allocateFloatingIPQuoteRequestBody.zod.js";
|
|
26
25
|
import { AllocateFloatingIPRequestBody } from "./validators/allocateFloatingIPRequestBody.zod.js";
|
|
27
26
|
import { AttachDiskRequestBody } from "./validators/attachDiskRequestBody.zod.js";
|
|
28
27
|
import { AttachFloatingIPRequestBody } from "./validators/attachFloatingIPRequestBody.zod.js";
|
|
29
28
|
import { AttachPortRequestBody } from "./validators/attachPortRequestBody.zod.js";
|
|
30
29
|
import { BindFloatingIPRequestBody } from "./validators/bindFloatingIPRequestBody.zod.js";
|
|
31
|
-
import { CreateBackupCapacityPackQuoteRequestBody } from "./validators/createBackupCapacityPackQuoteRequestBody.zod.js";
|
|
32
30
|
import { CreateBackupCapacityPackRequestBody } from "./validators/createBackupCapacityPackRequestBody.zod.js";
|
|
33
31
|
import { CreateBackupRequestBody } from "./validators/createBackupRequestBody.zod.js";
|
|
34
32
|
import { CreateBackupServiceRequestBody } from "./validators/createBackupServiceRequestBody.zod.js";
|
|
35
|
-
import { CreateDiskQuoteRequestBody } from "./validators/createDiskQuoteRequestBody.zod.js";
|
|
36
33
|
import { CreateDiskRequestBody } from "./validators/createDiskRequestBody.zod.js";
|
|
37
|
-
import { CreateImageQuoteRequestBody } from "./validators/createImageQuoteRequestBody.zod.js";
|
|
38
34
|
import { CreateImageRequestBody } from "./validators/createImageRequestBody.zod.js";
|
|
39
35
|
import { CreatePeeringRequestBody } from "./validators/createPeeringRequestBody.zod.js";
|
|
40
36
|
import { CreatePortRequestBody } from "./validators/createPortRequestBody.zod.js";
|
|
@@ -44,7 +40,6 @@ import { CreateSecurityGroupRequestBody } from "./validators/createSecurityGroup
|
|
|
44
40
|
import { CreateSecurityRuleRequestBody } from "./validators/createSecurityRuleRequestBody.zod.js";
|
|
45
41
|
import { CreateSnapshotRequestBody } from "./validators/createSnapshotRequestBody.zod.js";
|
|
46
42
|
import { CreateSubnetRequestBody } from "./validators/createSubnetRequestBody.zod.js";
|
|
47
|
-
import { LaunchInstanceQuoteRequestBody } from "./validators/launchInstanceQuoteRequestBody.zod.js";
|
|
48
43
|
import { LaunchInstanceRequestBody } from "./validators/launchInstanceRequestBody.zod.js";
|
|
49
44
|
import { PowerRequest } from "./validators/powerRequest.zod.js";
|
|
50
45
|
import { RebootInstanceRequestBody } from "./validators/rebootInstanceRequestBody.zod.js";
|
|
@@ -57,19 +52,14 @@ import { RenamePrivateNetworkRequestBody } from "./validators/renamePrivateNetwo
|
|
|
57
52
|
import { RenameSecurityGroupRequestBody } from "./validators/renameSecurityGroupRequestBody.zod.js";
|
|
58
53
|
import { RenameSnapshotRequestBody } from "./validators/renameSnapshotRequestBody.zod.js";
|
|
59
54
|
import { ResetPasswordRequestBody } from "./validators/resetPasswordRequestBody.zod.js";
|
|
60
|
-
import { ResizeDiskQuoteRequestBody } from "./validators/resizeDiskQuoteRequestBody.zod.js";
|
|
61
55
|
import { ResizeDiskRequestBody } from "./validators/resizeDiskRequestBody.zod.js";
|
|
62
|
-
import { ResizeInstanceQuoteRequestBody } from "./validators/resizeInstanceQuoteRequestBody.zod.js";
|
|
63
56
|
import { ResizeInstanceRequestBody } from "./validators/resizeInstanceRequestBody.zod.js";
|
|
64
|
-
import { RestoreBackupQuoteRequestBody } from "./validators/restoreBackupQuoteRequestBody.zod.js";
|
|
65
57
|
import { RestoreBackupRequestBody } from "./validators/restoreBackupRequestBody.zod.js";
|
|
66
58
|
import { RevertDiskRequestBody } from "./validators/revertDiskRequestBody.zod.js";
|
|
67
59
|
import { RunCommandRequestBody } from "./validators/runCommandRequestBody.zod.js";
|
|
68
|
-
import { SetFloatingIPBandwidthQuoteRequestBody } from "./validators/setFloatingIPBandwidthQuoteRequestBody.zod.js";
|
|
69
60
|
import { SetFloatingIPBandwidthRequestBody } from "./validators/setFloatingIPBandwidthRequestBody.zod.js";
|
|
70
61
|
import { SetInstanceLabelsRequestBody } from "./validators/setInstanceLabelsRequestBody.zod.js";
|
|
71
62
|
import { SetInstanceNotesRequestBody } from "./validators/setInstanceNotesRequestBody.zod.js";
|
|
72
|
-
import { SetSnapshotQuotaQuoteRequestBody } from "./validators/setSnapshotQuotaQuoteRequestBody.zod.js";
|
|
73
63
|
import { SetSnapshotQuotaRequestBody } from "./validators/setSnapshotQuotaRequestBody.zod.js";
|
|
74
64
|
/**
|
|
75
65
|
* @summary List backups
|
|
@@ -135,14 +125,6 @@ export const RestoreBackupParams = zod.strictObject({
|
|
|
135
125
|
backupId: zod.uuid(),
|
|
136
126
|
});
|
|
137
127
|
export const RestoreBackupBody = RestoreBackupRequestBody;
|
|
138
|
-
/**
|
|
139
|
-
* Prices what `restore-backup` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
140
|
-
* @summary Quote restoring from a backup
|
|
141
|
-
*/
|
|
142
|
-
export const CreateBackupRestoreQuoteParams = zod.strictObject({
|
|
143
|
-
backupId: zod.uuid(),
|
|
144
|
-
});
|
|
145
|
-
export const CreateBackupRestoreQuoteBody = RestoreBackupQuoteRequestBody;
|
|
146
128
|
/**
|
|
147
129
|
* Only disk types currently on sale are listed, both system disk types and data disk types; `purpose` narrows the list to one of the two. A withdrawn one disappears from here and can no longer be bought, while the disks already on it keep working and can still be resized.
|
|
148
130
|
* @summary List disk types on sale
|
|
@@ -224,15 +206,10 @@ export const ListImagesQueryParams = zod.strictObject({
|
|
|
224
206
|
*
|
|
225
207
|
* The instance can be started, stopped and used normally during the capture, but cannot be released.
|
|
226
208
|
*
|
|
227
|
-
* The image is billed for the storage it occupies,
|
|
209
|
+
* The image is billed for the storage it occupies, under the region's `private_image_billing`. Quote it with Billing first.
|
|
228
210
|
* @summary Capture an instance as a private image
|
|
229
211
|
*/
|
|
230
212
|
export const CreateImageBody = CreateImageRequestBody;
|
|
231
|
-
/**
|
|
232
|
-
* Prices the capture `create-image` would order for the same instance, without ordering anything; nothing is reserved or recorded. The quantity priced is the size of the system disk, which is the most the image can occupy, with the option chosen in `billing`. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. Prices may change, so quote again before final confirmation.
|
|
233
|
-
* @summary Quote capturing an instance as a private image
|
|
234
|
-
*/
|
|
235
|
-
export const CreateImageQuoteBody = CreateImageQuoteRequestBody;
|
|
236
213
|
/**
|
|
237
214
|
* Returns a public image, or a private image of this project; any other image is reported as not found. Use this endpoint to poll capture progress. When `status` is `failed`, `failure_reason` states why.
|
|
238
215
|
* @summary Retrieve an image
|
|
@@ -255,12 +232,18 @@ export const RenameImageBody = RenameImageRequestBody;
|
|
|
255
232
|
*
|
|
256
233
|
* An image whose capture has not finished can be deleted; the capture is aborted. This is the one operation accepted while the `create` operation is in progress.
|
|
257
234
|
*
|
|
258
|
-
*
|
|
235
|
+
* When subscriptions pay for the image, its `release_subscription_ids`, this request cancels them in Billing as `cancellation_mode` says, and the response carries that cancellation. Canceled now, they are refunded under their terms and release begins when Billing begins the cancellation; canceled at the end of their paid period, the image is kept until `scheduled_at`. Deleting again while the cancellation is open returns it. Without subscriptions, deletion begins at once and `cancellation` is null.
|
|
259
236
|
* @summary Delete a private image
|
|
260
237
|
*/
|
|
261
238
|
export const DeleteImageParams = zod.strictObject({
|
|
262
239
|
imageId: zod.uuid(),
|
|
263
240
|
});
|
|
241
|
+
export const DeleteImageQueryParams = zod.strictObject({
|
|
242
|
+
cancellation_mode: zod
|
|
243
|
+
.enum(["immediate", "period_end"])
|
|
244
|
+
.optional()
|
|
245
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
246
|
+
});
|
|
264
247
|
/**
|
|
265
248
|
* Only instance types currently on sale are listed. A withdrawn one disappears from here and can no longer be ordered, while the instances already running it keep running.
|
|
266
249
|
* @summary List instance types on sale
|
|
@@ -364,11 +347,6 @@ export const ListDisksQueryParams = zod.strictObject({
|
|
|
364
347
|
* @summary Create a disk
|
|
365
348
|
*/
|
|
366
349
|
export const CreateDiskBody = CreateDiskRequestBody;
|
|
367
|
-
/**
|
|
368
|
-
* Prices what `create-disk` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
369
|
-
* @summary Quote creating a disk
|
|
370
|
-
*/
|
|
371
|
-
export const CreateDiskQuoteBody = CreateDiskQuoteRequestBody;
|
|
372
350
|
/**
|
|
373
351
|
* Returns the stored state of the disk; it does not query the cloud.
|
|
374
352
|
* @summary Retrieve a disk
|
|
@@ -387,12 +365,18 @@ export const RenameDiskBody = RenameDiskRequestBody;
|
|
|
387
365
|
/**
|
|
388
366
|
* Deletion is rejected while the disk is attached, or while snapshots created from it still exist.
|
|
389
367
|
*
|
|
390
|
-
*
|
|
368
|
+
* When subscriptions pay for the disk, its `release_subscription_ids`, this request cancels them in Billing as `cancellation_mode` says, and the response carries that cancellation. Canceled now, they are refunded under their terms and release begins when Billing begins the cancellation; canceled at the end of their paid period, the disk is kept until `scheduled_at`. Deleting again while the cancellation is open returns it. Without subscriptions, deletion begins at once and `cancellation` is null.
|
|
391
369
|
* @summary Delete a disk
|
|
392
370
|
*/
|
|
393
371
|
export const DeleteDiskParams = zod.strictObject({
|
|
394
372
|
diskId: zod.uuid(),
|
|
395
373
|
});
|
|
374
|
+
export const DeleteDiskQueryParams = zod.strictObject({
|
|
375
|
+
cancellation_mode: zod
|
|
376
|
+
.enum(["immediate", "period_end"])
|
|
377
|
+
.optional()
|
|
378
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
379
|
+
});
|
|
396
380
|
/**
|
|
397
381
|
* Capacity can only be increased; shrinking is not supported. Returns the disk with the Checkout Session for the resize, which keeps the disk's usage type and period. The disk shows the `resize` operation until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The disk keeps its current size until the resize is applied; once `size_gb` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the disk keeps its size and Billing shows the outcome.
|
|
398
382
|
*
|
|
@@ -407,14 +391,6 @@ export const ResizeDiskParams = zod.strictObject({
|
|
|
407
391
|
diskId: zod.uuid(),
|
|
408
392
|
});
|
|
409
393
|
export const ResizeDiskBody = ResizeDiskRequestBody;
|
|
410
|
-
/**
|
|
411
|
-
* Prices the change `resize-disk` would order, as of now, without ordering or changing anything. A change that raises the price has the charge for the rest of the paid period as `total`; one that lowers it has a zero `total` and the refund as `refundable_amount`. Give the returned `proration_date` with the change, and for automatic checkout `total` as `checkout.expected_amount`. A request the change would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
412
|
-
* @summary Quote resizing a disk
|
|
413
|
-
*/
|
|
414
|
-
export const CreateDiskResizeQuoteParams = zod.strictObject({
|
|
415
|
-
diskId: zod.uuid(),
|
|
416
|
-
});
|
|
417
|
-
export const CreateDiskResizeQuoteBody = ResizeDiskQuoteRequestBody;
|
|
418
394
|
/**
|
|
419
395
|
* Restores the contents of the disk to the moment the snapshot was taken. **All data written after that moment is lost and cannot be recovered.**
|
|
420
396
|
*
|
|
@@ -459,11 +435,6 @@ export const ListFloatingIpsQueryParams = zod.strictObject({
|
|
|
459
435
|
* @summary Allocate a floating IP
|
|
460
436
|
*/
|
|
461
437
|
export const AllocateFloatingIpBody = AllocateFloatingIPRequestBody;
|
|
462
|
-
/**
|
|
463
|
-
* Prices what `allocate-floating-ip` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
464
|
-
* @summary Quote allocating a floating IP
|
|
465
|
-
*/
|
|
466
|
-
export const CreateFloatingIpQuoteBody = AllocateFloatingIPQuoteRequestBody;
|
|
467
438
|
/**
|
|
468
439
|
* @summary Retrieve a floating IP
|
|
469
440
|
*/
|
|
@@ -473,12 +444,18 @@ export const GetFloatingIpParams = zod.strictObject({
|
|
|
473
444
|
/**
|
|
474
445
|
* Releases the floating IP after unbinding it. The floating IP shows the `delete` operation until it is released.
|
|
475
446
|
*
|
|
476
|
-
*
|
|
447
|
+
* When subscriptions pay for the address, its `release_subscription_ids`, this request cancels them in Billing as `cancellation_mode` says, and the response carries that cancellation. Canceled now, they are refunded under their terms and release begins when Billing begins the cancellation; canceled at the end of their paid period, the floating IP is kept until `scheduled_at`. Deleting again while the cancellation is open returns it. Without subscriptions, release begins at once and `cancellation` is null.
|
|
477
448
|
* @summary Release a floating IP
|
|
478
449
|
*/
|
|
479
450
|
export const ReleaseFloatingIpParams = zod.strictObject({
|
|
480
451
|
floatingIpId: zod.uuid(),
|
|
481
452
|
});
|
|
453
|
+
export const ReleaseFloatingIpQueryParams = zod.strictObject({
|
|
454
|
+
cancellation_mode: zod
|
|
455
|
+
.enum(["immediate", "period_end"])
|
|
456
|
+
.optional()
|
|
457
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
458
|
+
});
|
|
482
459
|
/**
|
|
483
460
|
* Changes the bandwidth of this floating IP through an order that keeps its usage type and period; no separate bandwidth resource is created. The limit applies to inbound and outbound traffic alike. The floating IP shows the `set_bandwidth` operation until the change is applied, its Checkout Session expires or its order is canceled, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied. If checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
484
461
|
*
|
|
@@ -489,14 +466,6 @@ export const SetFloatingIpBandwidthParams = zod.strictObject({
|
|
|
489
466
|
floatingIpId: zod.uuid(),
|
|
490
467
|
});
|
|
491
468
|
export const SetFloatingIpBandwidthBody = SetFloatingIPBandwidthRequestBody;
|
|
492
|
-
/**
|
|
493
|
-
* Prices the change `set-floating-ip-bandwidth` would order, as of now, without ordering or changing anything. A change that raises the price has the charge for the rest of the paid period as `total`; one that lowers it has a zero `total` and the refund as `refundable_amount`. Give the returned `proration_date` with the change, and for automatic checkout `total` as `checkout.expected_amount`. A request the change would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
494
|
-
* @summary Quote changing the bandwidth limit
|
|
495
|
-
*/
|
|
496
|
-
export const CreateFloatingIpBandwidthQuoteParams = zod.strictObject({
|
|
497
|
-
floatingIpId: zod.uuid(),
|
|
498
|
-
});
|
|
499
|
-
export const CreateFloatingIpBandwidthQuoteBody = SetFloatingIPBandwidthQuoteRequestBody;
|
|
500
469
|
/**
|
|
501
470
|
* The floating IP shows the `bind` operation until the binding is confirmed.
|
|
502
471
|
* @summary Bind a floating IP to a network interface
|
|
@@ -553,11 +522,6 @@ export const ListInstancesQueryParams = zod.strictObject({
|
|
|
553
522
|
* @summary Create instances
|
|
554
523
|
*/
|
|
555
524
|
export const LaunchInstanceBody = LaunchInstanceRequestBody;
|
|
556
|
-
/**
|
|
557
|
-
* Prices what `launch-instance` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
558
|
-
* @summary Quote creating instances
|
|
559
|
-
*/
|
|
560
|
-
export const CreateInstanceQuoteBody = LaunchInstanceQuoteRequestBody;
|
|
561
525
|
/**
|
|
562
526
|
* Returns the stored state of the instance; it does not query the cloud. Use it to poll creation progress.
|
|
563
527
|
* @summary Retrieve an instance
|
|
@@ -578,12 +542,18 @@ export const RenameInstanceBody = RenameInstanceRequestBody;
|
|
|
578
542
|
*
|
|
579
543
|
* An instance being captured as a private image cannot be released. Wait for the capture to finish, or delete that image first.
|
|
580
544
|
*
|
|
581
|
-
*
|
|
545
|
+
* When subscriptions pay for the instance, or for a disk deleted with it, its `release_subscription_ids`, this request cancels them in Billing as `cancellation_mode` says, and the response carries that cancellation. Canceled now, they are refunded under their terms and release begins when Billing begins the cancellation; canceled at the end of their paid period, the instance is kept until `scheduled_at`. Deleting again while the cancellation is open returns it. Without subscriptions, release begins at once and `cancellation` is null.
|
|
582
546
|
* @summary Release an instance
|
|
583
547
|
*/
|
|
584
548
|
export const DeleteInstanceParams = zod.strictObject({
|
|
585
549
|
instanceId: zod.uuid(),
|
|
586
550
|
});
|
|
551
|
+
export const DeleteInstanceQueryParams = zod.strictObject({
|
|
552
|
+
cancellation_mode: zod
|
|
553
|
+
.enum(["immediate", "period_end"])
|
|
554
|
+
.optional()
|
|
555
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
556
|
+
});
|
|
587
557
|
/**
|
|
588
558
|
* Runs one command over SSH and returns what it wrote. **This is not a shell.** There is no terminal, no standard input and no way to answer a prompt: a command that waits for input produces nothing and is killed at the timeout. Chain steps with `&&`, or write a script and run that.
|
|
589
559
|
*
|
|
@@ -711,14 +681,6 @@ export const ResizeInstanceParams = zod.strictObject({
|
|
|
711
681
|
instanceId: zod.uuid(),
|
|
712
682
|
});
|
|
713
683
|
export const ResizeInstanceBody = ResizeInstanceRequestBody;
|
|
714
|
-
/**
|
|
715
|
-
* Prices the change `resize-instance` would order, as of now, without ordering or changing anything. A change that raises the price has the charge for the rest of the paid period as `total`; one that lowers it has a zero `total` and the refund as `refundable_amount`. Give the returned `proration_date` with the change, and for automatic checkout `total` as `checkout.expected_amount`. A request the change would refuse is refused the same way. Prices may change, so quote again before final confirmation.
|
|
716
|
-
* @summary Quote resizing an instance
|
|
717
|
-
*/
|
|
718
|
-
export const CreateInstanceResizeQuoteParams = zod.strictObject({
|
|
719
|
-
instanceId: zod.uuid(),
|
|
720
|
-
});
|
|
721
|
-
export const CreateInstanceResizeQuoteBody = ResizeInstanceQuoteRequestBody;
|
|
722
684
|
/**
|
|
723
685
|
* Outstanding restrictions can prevent starting. The instance shows the `start` operation until it is running or the start has failed.
|
|
724
686
|
* @summary Start an instance
|
|
@@ -1169,9 +1131,9 @@ export const DeleteSecurityGroupRuleParams = zod.strictObject({
|
|
|
1169
1131
|
* max(limit - used, 0) while active, and zero when creation is not permitted; additional
|
|
1170
1132
|
* creation is refused while the quota is inactive, suspended or exhausted.
|
|
1171
1133
|
*
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1174
|
-
*
|
|
1134
|
+
* Deleting the quota, which cancels its subscription, is refused while any snapshot exists in the
|
|
1135
|
+
* region with SNAPSHOT_QUOTA_IN_USE. Reclaiming the quota for non-payment deletes its snapshots, as
|
|
1136
|
+
* for other reclaimed resources.
|
|
1175
1137
|
* @summary Get regional snapshot quota
|
|
1176
1138
|
*/
|
|
1177
1139
|
export const GetSnapshotQuotaParams = zod.strictObject({
|
|
@@ -1180,8 +1142,9 @@ export const GetSnapshotQuotaParams = zod.strictObject({
|
|
|
1180
1142
|
/**
|
|
1181
1143
|
* Purchases or changes the maximum number of snapshots this project may hold in this region.
|
|
1182
1144
|
* limit is the target total, not an additional number of slots or a consumable create allowance.
|
|
1183
|
-
* billing chooses
|
|
1184
|
-
*
|
|
1145
|
+
* billing chooses how the quota is bought, among the prices Billing offers for the region's
|
|
1146
|
+
* `snapshot_quota_billing`; a change of an existing purchase keeps its usage type and period, and billing
|
|
1147
|
+
* must name them. The purchased quantity is this count.
|
|
1185
1148
|
*
|
|
1186
1149
|
* Returns the quota with the Checkout Session. pending_limit records the target while the current limit stays
|
|
1187
1150
|
* in force; the new limit applies once the order is accepted and the quota is activated. Snapshots
|
|
@@ -1200,17 +1163,24 @@ export const SetSnapshotQuotaParams = zod.strictObject({
|
|
|
1200
1163
|
});
|
|
1201
1164
|
export const SetSnapshotQuotaBody = SetSnapshotQuotaRequestBody;
|
|
1202
1165
|
/**
|
|
1203
|
-
*
|
|
1204
|
-
*
|
|
1166
|
+
* Cancels the quota's subscription in Billing as `cancellation_mode` says and returns the cancellation. Refused with 409 `SNAPSHOT_QUOTA_IN_USE` while any snapshot exists in the region; delete the snapshots first. Refused with 409 `SNAPSHOT_QUOTA_NOT_ACTIVE` when no subscription pays for a quota in the region.
|
|
1167
|
+
*
|
|
1168
|
+
* Canceled now, it is refunded under its terms; canceled at the end of its paid period, the quota stays in force until `scheduled_at`. Deleting again while the cancellation is open returns it.
|
|
1169
|
+
* @summary Delete regional snapshot quota
|
|
1205
1170
|
*/
|
|
1206
|
-
export const
|
|
1171
|
+
export const DeleteSnapshotQuotaParams = zod.strictObject({
|
|
1207
1172
|
regionId: zod.uuid(),
|
|
1208
1173
|
});
|
|
1209
|
-
export const
|
|
1174
|
+
export const DeleteSnapshotQuotaQueryParams = zod.strictObject({
|
|
1175
|
+
cancellation_mode: zod
|
|
1176
|
+
.enum(["immediate", "period_end"])
|
|
1177
|
+
.optional()
|
|
1178
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
1179
|
+
});
|
|
1210
1180
|
/**
|
|
1211
1181
|
* The backup service of the authenticated project in this region. Backups can be created only while it is `active`. Each hour, Compute covers retained backup capacity up to the total `capacity_gib` of the capacity packs active in the region and meters only the excess on this service's subscription, per GiB-hour.
|
|
1212
1182
|
*
|
|
1213
|
-
*
|
|
1183
|
+
* Deleting the service, which cancels its subscription, is refused while any backup is retained in the region with `BACKUP_SERVICE_IN_USE`. Delete the backups first. Capacity packs are deleted separately, under their own refund terms. Reclaiming the service for non-payment deletes its backups.
|
|
1214
1184
|
* @summary Get the backup service of a region
|
|
1215
1185
|
*/
|
|
1216
1186
|
export const GetBackupServiceParams = zod.strictObject({
|
|
@@ -1227,12 +1197,20 @@ export const CreateBackupServiceParams = zod.strictObject({
|
|
|
1227
1197
|
});
|
|
1228
1198
|
export const CreateBackupServiceBody = CreateBackupServiceRequestBody;
|
|
1229
1199
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
*
|
|
1200
|
+
* Cancels the service's subscription in Billing as `cancellation_mode` says and returns the cancellation. Refused with 409 `BACKUP_SERVICE_IN_USE` while any backup is retained in the region; delete the backups first. Capacity packs are deleted separately. Refused with 409 `BACKUP_SERVICE_NOT_ACTIVE` when no subscription pays for a service in the region.
|
|
1201
|
+
*
|
|
1202
|
+
* Canceled now, it is refunded under its terms; canceled at the end of its paid period, the service stays in force until `scheduled_at`. Deleting again while the cancellation is open returns it.
|
|
1203
|
+
* @summary Delete the backup service of a region
|
|
1232
1204
|
*/
|
|
1233
|
-
export const
|
|
1205
|
+
export const DeleteBackupServiceParams = zod.strictObject({
|
|
1234
1206
|
regionId: zod.uuid(),
|
|
1235
1207
|
});
|
|
1208
|
+
export const DeleteBackupServiceQueryParams = zod.strictObject({
|
|
1209
|
+
cancellation_mode: zod
|
|
1210
|
+
.enum(["immediate", "period_end"])
|
|
1211
|
+
.optional()
|
|
1212
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
1213
|
+
});
|
|
1236
1214
|
/**
|
|
1237
1215
|
* The capacity packs of the authenticated project in this region, newest first, including ended ones.
|
|
1238
1216
|
* @summary List backup capacity packs
|
|
@@ -1259,7 +1237,7 @@ export const ListBackupCapacityPacksQueryParams = zod.strictObject({
|
|
|
1259
1237
|
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1260
1238
|
});
|
|
1261
1239
|
/**
|
|
1262
|
-
* Purchases a capacity pack, backup capacity for this project and region bought in advance by month or year: `billing` must be licensed with a period, as
|
|
1240
|
+
* Purchases a capacity pack, backup capacity for this project and region bought in advance by month or year: `billing` must be licensed with a period, as Billing offers for the region's `capacity_pack_billing`. Compute applies the coverage: each hour, retained backup capacity up to the total `capacity_gib` of the packs active in the region is covered, and Compute meters only the excess on the backup service's subscription. A pack is not a Billing allowance or credit; Billing takes its order and payment and handles its renewal and cancellation through the pack's subscription.
|
|
1263
1241
|
*
|
|
1264
1242
|
* Returns the pack as `pending` with its Checkout Session; it applies once the order is accepted. Refused with 409 `BACKUP_SERVICE_NOT_ACTIVE` and `meta.region_id` when the region's backup service is not active.
|
|
1265
1243
|
* @summary Buy a backup capacity pack
|
|
@@ -1269,13 +1247,21 @@ export const CreateBackupCapacityPackParams = zod.strictObject({
|
|
|
1269
1247
|
});
|
|
1270
1248
|
export const CreateBackupCapacityPackBody = CreateBackupCapacityPackRequestBody;
|
|
1271
1249
|
/**
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1250
|
+
* Cancels the pack's subscription in Billing as `cancellation_mode` says and returns the cancellation. Refused with 404 `BACKUP_CAPACITY_PACK_NOT_FOUND` when the project has no pack of this ID in the region, and with 409 `BACKUP_CAPACITY_PACK_ENDED` when the pack has ended.
|
|
1251
|
+
*
|
|
1252
|
+
* Canceled now, it is refunded under its terms; canceled at the end of its paid period, its coverage stays in force until `scheduled_at`. Deleting again while the cancellation is open returns it.
|
|
1253
|
+
* @summary Delete a backup capacity pack
|
|
1274
1254
|
*/
|
|
1275
|
-
export const
|
|
1255
|
+
export const DeleteBackupCapacityPackParams = zod.strictObject({
|
|
1276
1256
|
regionId: zod.uuid(),
|
|
1257
|
+
packId: zod.uuid(),
|
|
1258
|
+
});
|
|
1259
|
+
export const DeleteBackupCapacityPackQueryParams = zod.strictObject({
|
|
1260
|
+
cancellation_mode: zod
|
|
1261
|
+
.enum(["immediate", "period_end"])
|
|
1262
|
+
.optional()
|
|
1263
|
+
.describe("How the subscriptions that pay for what is deleted are canceled. `immediate` cancels them now and refunds them under their terms; `period_end` cancels them at the end of their paid period and keeps what is deleted until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period.\n\nRefused with 422 `BILLING_CANCELLATION_MODE_FIXED` when a subscription's terms do not allow the mode: a pay-as-you-go subscription is canceled only now, and a prepaid one whose terms allow only the end of its period only then. Refused with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` for `period_end` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again returns it as it is."),
|
|
1277
1264
|
});
|
|
1278
|
-
export const CreateBackupCapacityPackQuoteBody = CreateBackupCapacityPackQuoteRequestBody;
|
|
1279
1265
|
/**
|
|
1280
1266
|
* @summary List snapshots
|
|
1281
1267
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -36,7 +36,7 @@ export const AllocateFloatingIPRequestBody = zod.strictObject({
|
|
|
36
36
|
.int()
|
|
37
37
|
.min(1)
|
|
38
38
|
.max(allocateFloatingIPRequestBodyBandwidthMbpsMax)
|
|
39
|
-
.describe("The bandwidth ceiling of this address, in Mbit/s, applied to both directions.\n\nRequired, and there is no \"unlimited\": an address with no ceiling runs at line rate and is\ncharged nothing for the traffic, while the address itself bills normally — so the invoice\nlooks correct and nothing anywhere reports it.\n\nIt is part of this floating IP purchase and is billed
|
|
39
|
+
.describe("The bandwidth ceiling of this address, in Mbit/s, applied to both directions.\n\nRequired, and there is no \"unlimited\": an address with no ceiling runs at line rate and is\ncharged nothing for the traffic, while the address itself bills normally — so the invoice\nlooks correct and nothing anywhere reports it.\n\nIt is part of this floating IP purchase and is billed under the pool's `billing`, with the\npurchase's billing choice. Changing it later updates the\nsame floating IP through its bandwidth endpoint, not an independent bandwidth resource."),
|
|
40
40
|
private_network_id: zod.uuid(),
|
|
41
41
|
ipv4_pool_id: zod.uuid(),
|
|
42
42
|
billing: BillingChoice,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
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
|
-
* - **
|
|
14
|
+
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
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
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
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.
|