@leaflow/sdk 0.213.1 → 0.214.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/checkout/v1/generated/models.d.ts +10 -1
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/billing/type/funds/v1/generated/functions.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/functions.js +1 -1
- package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
- package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/schemas.zod.js +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/functions.d.ts +120 -85
- package/dist/billing/v1/generated/functions.js +142 -104
- package/dist/billing/v1/generated/models.d.ts +707 -566
- package/dist/billing/v1/generated/models.js +59 -52
- package/dist/billing/v1/generated/schemas.zod.d.ts +71 -43
- package/dist/billing/v1/generated/schemas.zod.js +82 -53
- 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/activeResourceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.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/allowanceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.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/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/billingAccountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationItemInput.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 +1 -1
- package/dist/billing/v1/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/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 +2 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +6 -2
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +268 -9
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +48 -13
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -3
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +3 -10
- 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/checkoutSessionDiscount.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +32 -4
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +62 -13
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.js +15 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.d.ts +42 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.js +41 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +268 -9
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.d.ts +91 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.js +69 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.d.ts +57 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.js +22 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +268 -9
- 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 +2 -2
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +83 -3
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +37 -8
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.d.ts +24 -0
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.js +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.js +27 -0
- 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/creditGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.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/creditNoteStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.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/customerAddress.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/customerAddress.zod.js +24 -0
- 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/discountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountStatus.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/errorStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/errorStatus.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/fieldViolation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/fieldViolation.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 +4 -4
- 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/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/listRefundsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.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/listTrialGrantsParams.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.js +28 -0
- 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 +2 -2
- 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 +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +1 -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/rate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rate.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/refundStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundStatus.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/renewalOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionList.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 +2 -2
- package/dist/billing/v1/generated/validators/subscriptionData.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionData.zod.js +27 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.js +22 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionUpdate.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/topUpStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpStatus.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/transactionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionStatus.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/trialEndBehavior.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +1 -1
- package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +152 -0
- package/dist/billing/v1/generated/validators/trialGrant.zod.js +33 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +159 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +136 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.js +21 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/trialSettings.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/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/models.d.ts +11 -2
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
- package/dist/compute/v2/generated/functions.d.ts +1 -1
- package/dist/compute/v2/generated/models.d.ts +16 -7
- package/dist/compute/v2/generated/schemas.zod.d.ts +11 -1
- package/dist/compute/v2/generated/schemas.zod.js +1 -1
- package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLine.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLine.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/error.zod.js +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/imageId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/imageId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.js +1 -1
- package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/money.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newCompute.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +1 -1
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +1 -1
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/subnetId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +1 -1
- package/dist/membership/v1/generated/functions.d.ts +1 -1
- package/dist/membership/v1/generated/functions.js +1 -1
- package/dist/membership/v1/generated/models.d.ts +10 -1
- package/dist/membership/v1/generated/schemas.zod.d.ts +3 -1
- package/dist/membership/v1/generated/schemas.zod.js +1 -1
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +19 -7
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +1 -1
- package/dist/routes.d.ts +25 -17
- package/dist/routes.js +27 -18
- package/dist/swas/v1/generated/models.d.ts +6 -6
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +1 -1
- package/dist/swas/v1/generated/validators/price.zod.js +1 -1
- package/dist/swas/v1/generated/validators/priceOption.zod.js +2 -2
- package/dist/swas/v1/generated/validators/purchase.zod.js +1 -1
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +1 -1
- package/package.json +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +0 -28
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +0 -12
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +0 -18
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +0 -24
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +0 -112
- package/dist/billing/v1/generated/validators/quote.zod.js +0 -37
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +0 -16
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +0 -22
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +0 -42
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +0 -38
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +0 -15
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +0 -52
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +0 -74
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +0 -42
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +0 -38
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -26
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +0 -25
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +0 -17
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +0 -18
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -33
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +0 -27
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +0 -101
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +0 -57
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +0 -29
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +0 -32
|
@@ -56,7 +56,16 @@ export interface CheckoutOptions {
|
|
|
56
56
|
return_url?: string;
|
|
57
57
|
/**
|
|
58
58
|
* Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off
|
|
59
|
-
* when omitted. It must be the customer's own choice.
|
|
59
|
+
* when omitted. It must be the customer's own choice. For a free trial, it converts the trial to paid
|
|
60
|
+
* when the trial ends.
|
|
60
61
|
*/
|
|
61
62
|
auto_renew?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* A free trial grant of the paying billing account that the customer chose to use. The first new
|
|
65
|
+
* subscription of the purchase whose lines the grant's offer all covers, and that has a licensed line and
|
|
66
|
+
* no trial of its own, opens with the offer's free trial. Accepted only in automatic mode; with deferred it is refused with
|
|
67
|
+
* HTTP 400, and the grant is chosen when completing the checkout through Billing. Refused with
|
|
68
|
+
* BILLING_TRIAL_GRANT_INAPPLICABLE when no subscription qualifies or the grant cannot be used now.
|
|
69
|
+
*/
|
|
70
|
+
trial_grant_id?: string;
|
|
62
71
|
}
|
|
@@ -18,6 +18,7 @@ export declare const CheckoutOptions: zod.ZodObject<{
|
|
|
18
18
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
19
19
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
20
20
|
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
21
|
+
trial_grant_id: zod.ZodOptional<zod.ZodUUID>;
|
|
21
22
|
}, zod.z.core.$strict>;
|
|
22
23
|
export type CheckoutOptions = zod.input<typeof CheckoutOptions>;
|
|
23
24
|
export type CheckoutOptionsOutput = zod.output<typeof CheckoutOptions>;
|
|
@@ -26,6 +26,10 @@ export const CheckoutOptions = zod
|
|
|
26
26
|
auto_renew: zod
|
|
27
27
|
.boolean()
|
|
28
28
|
.default(checkoutOptionsAutoRenewDefault)
|
|
29
|
-
.describe("Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off\nwhen omitted. It must be the customer's own choice."),
|
|
29
|
+
.describe("Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off\nwhen omitted. It must be the customer's own choice. For a free trial, it converts the trial to paid\nwhen the trial ends."),
|
|
30
|
+
trial_grant_id: zod
|
|
31
|
+
.uuid()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe("A free trial grant of the paying billing account that the customer chose to use. The first new\nsubscription of the purchase whose lines the grant's offer all covers, and that has a licensed line and\nno trial of its own, opens with the offer's free trial. Accepted only in automatic mode; with deferred it is refused with\nHTTP 400, and the grant is chosen when completing the checkout through Billing. Refused with\nBILLING_TRIAL_GRANT_INAPPLICABLE when no subscription qualifies or the grant cannot be used now."),
|
|
30
34
|
})
|
|
31
35
|
.describe("Shared checkout choices for a product purchase. The service may set them or forward its client's\nchoices unchanged; it does not need to read them, and Billing validates them. Omitting this object or\nmode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied\nonly to Billing. A service may retain a failed creation record when Billing refuses a purchase; no\ninfrastructure is created for that refusal.");
|
|
@@ -3,6 +3,6 @@ export {};
|
|
|
3
3
|
* Generated by orval 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Purchase Funds
|
|
6
|
-
* Current account funds and the additional balance needed for a
|
|
6
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
7
7
|
* OpenAPI spec version: v1
|
|
8
8
|
*/
|
|
@@ -3,6 +3,6 @@ export {};
|
|
|
3
3
|
* Generated by orval 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Purchase Funds
|
|
6
|
-
* Current account funds and the additional balance needed for a
|
|
6
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
7
7
|
* OpenAPI spec version: v1
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Purchase Funds
|
|
5
|
-
* Current account funds and the additional balance needed for a
|
|
5
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
@@ -25,13 +25,13 @@ export type Money = string;
|
|
|
25
25
|
export interface Funds {
|
|
26
26
|
/** Spendable balance after pending returns. */
|
|
27
27
|
available_balance_amount: Money;
|
|
28
|
-
/** Currently effective credits eligible for the
|
|
28
|
+
/** Currently effective credits eligible for the purchases being checked out or metered usage. Each grant is counted once. */
|
|
29
29
|
usable_credit_amount: Money;
|
|
30
|
-
/** Currently effective credits that cannot fund any
|
|
30
|
+
/** Currently effective credits that cannot fund any purchase being checked out or metered target. Unused eligible credits are not restricted. */
|
|
31
31
|
restricted_credit_amount: Money;
|
|
32
32
|
/** Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement. */
|
|
33
33
|
required_balance_amount: Money;
|
|
34
|
-
/** Additional balance needed now. Zero means account funds satisfy this
|
|
34
|
+
/** Additional balance needed now. Zero means account funds satisfy this purchase. No funds are reserved. */
|
|
35
35
|
balance_shortfall_amount: Money;
|
|
36
36
|
/** Minimum recharge that covers the shortfall, respecting the currency minimum recharge and currency precision. Zero when no additional balance is needed. */
|
|
37
37
|
required_top_up_amount: Money;
|
|
@@ -3,6 +3,6 @@ export {};
|
|
|
3
3
|
* Generated by orval 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Purchase Funds
|
|
6
|
-
* Current account funds and the additional balance needed for a
|
|
6
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
7
7
|
* OpenAPI spec version: v1
|
|
8
8
|
*/
|
|
@@ -3,6 +3,6 @@ export {};
|
|
|
3
3
|
* Generated by orval 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Purchase Funds
|
|
6
|
-
* Current account funds and the additional balance needed for a
|
|
6
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
7
7
|
* OpenAPI spec version: v1
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Purchase Funds
|
|
5
|
-
* Current account funds and the additional balance needed for a
|
|
5
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Purchase Funds
|
|
5
|
-
* Current account funds and the additional balance needed for a
|
|
5
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
@@ -10,10 +10,10 @@ import { Money } from "./money.zod.js";
|
|
|
10
10
|
export const Funds = zod
|
|
11
11
|
.strictObject({
|
|
12
12
|
available_balance_amount: Money.describe("Spendable balance after pending returns."),
|
|
13
|
-
usable_credit_amount: Money.describe("Currently effective credits eligible for the
|
|
14
|
-
restricted_credit_amount: Money.describe("Currently effective credits that cannot fund any
|
|
13
|
+
usable_credit_amount: Money.describe("Currently effective credits eligible for the purchases being checked out or metered usage. Each grant is counted once."),
|
|
14
|
+
restricted_credit_amount: Money.describe("Currently effective credits that cannot fund any purchase being checked out or metered target. Unused eligible credits are not restricted."),
|
|
15
15
|
required_balance_amount: Money.describe("Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement."),
|
|
16
|
-
balance_shortfall_amount: Money.describe("Additional balance needed now. Zero means account funds satisfy this
|
|
16
|
+
balance_shortfall_amount: Money.describe("Additional balance needed now. Zero means account funds satisfy this purchase. No funds are reserved."),
|
|
17
17
|
required_top_up_amount: Money.describe("Minimum recharge that covers the shortfall, respecting the currency minimum recharge and currency precision. Zero when no additional balance is needed."),
|
|
18
18
|
})
|
|
19
19
|
.describe("Account funding for this purchase, calculated by Billing. Amounts use the enclosing response currency.\nCredit eligibility and all purchase requirements are already evaluated. Nothing is charged or reserved.\nA licensed purchase may instead be paid with an online payment method.\n");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Purchase Funds
|
|
5
|
-
* Current account funds and the additional balance needed for a
|
|
5
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Purchase Funds
|
|
5
|
-
* Current account funds and the additional balance needed for a
|
|
5
|
+
* Current account funds and the additional balance needed for a purchase being checked out. Types only.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Leaflow Billing API
|
|
5
|
-
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and
|
|
5
|
+
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and checkout previews are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, preview the checkout of purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
|
-
import type { AccountBalance, AccountDeletionReadiness, ActiveResourceList, AllowanceList, BillingAccount, BillingAccountCreate, BillingAccountList, BillingAccountUpdate, CancelSubscriptionRequest, Cancellation, CancellationCreate, CancellationList, CancellationPreview, CancellationPreviewRequest, CheckoutSession, CheckoutSessionConfirm, CheckoutSessionCreate,
|
|
8
|
+
import type { AccountBalance, AccountDeletionReadiness, ActiveResourceList, AllowanceList, BillingAccount, BillingAccountCreate, BillingAccountList, BillingAccountUpdate, CancelSubscriptionRequest, Cancellation, CancellationCreate, CancellationList, CancellationPreview, CancellationPreviewRequest, CheckoutSession, CheckoutSessionConfirm, CheckoutSessionCreate, CheckoutSessionList, CheckoutSessionPreviewRequest, CheckoutSessionResult, CheckoutSessionUpdate, Contact, ContactCreate, ContactList, ContactUpdate, CreditGrantList, CreditNote, CreditNoteItemList, CreditNoteList, CurrencyList, DiscountList, EntitlementList, Error, ErrorResponse, FeatureGrantList, GetPlanHeaders, GetPriceHeaders, GetProductHeaders, GetStatementUsageParams, Invoice, InvoiceItemList, InvoiceList, ListAccountDiscountsParams, ListActiveResourcesParams, ListAllowancesParams, ListBillingAccountsParams, ListCancellationsParams, ListCheckoutSessionsParams, ListContactsParams, ListCreditGrantsParams, ListCreditNoteItemsParams, ListCreditNotesParams, ListCurrenciesParams, ListEntitlementsParams, ListFeatureGrantsParams, ListInvoiceItemsParams, ListInvoicesParams, ListMonthlyStatementsParams, ListOrderItemsParams, ListOrdersParams, ListPaymentMethodsParams, ListPaymentOptionsParams, ListPlansHeaders, ListPlansParams, ListPricesByPlanHeaders, ListPricesByPlanParams, ListPricesHeaders, ListPricesParams, ListProductsHeaders, ListProductsParams, ListProjectAssignmentsParams, ListRefundsParams, ListRenewalOptionsParams, ListSpendParams, ListStatementsParams, ListSubscriptionsParams, ListTopUpsParams, ListTransactionsParams, ListTrialGrantsParams, ListUsageChargesParams, ListWithdrawalItemsParams, ListWithdrawalsParams, MonthlyStatementList, NotModifiedResponse, Order, OrderCancel, OrderItemList, OrderList, OrderRefundPreview, PayInvoiceRequest, PayTogetherRequest, PaymentMethod, PaymentMethodList, PaymentMethodSetup, PaymentMethodSetupResult, PaymentOptionList, PaymentPreview, PaymentResult, Plan, PlanList, PreviewInvoicePaymentParams, PreviewOrderRefundParams, Price, PriceList, PriceSearch, Product, ProductId, ProductList, ProjectAssignment, ProjectAssignmentList, RefundList, RenewRequest, RenewalOptionList, SetProjectAssignmentRequest, SpendRowList, Statement, StatementList, StatementSummary, Subscription, SubscriptionList, SubscriptionUpdate, TopUp, TopUpCreate, TopUpList, TransactionList, TrialGrant, TrialGrantList, UsageChargeList, UsageEstimate, UsageEstimateRequest, Withdrawal, WithdrawalCreate, WithdrawalItemList, WithdrawalList, WithdrawalPreview, WithdrawalPreviewRequest } from "./models.js";
|
|
9
9
|
export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
|
|
10
10
|
export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
|
|
11
11
|
export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
|
|
@@ -239,7 +239,7 @@ export type listCurrenciesResponseError = listCurrenciesResponseDefault & {
|
|
|
239
239
|
export type listCurrenciesResponse = listCurrenciesResponseSuccess | listCurrenciesResponseError;
|
|
240
240
|
export declare const getListCurrenciesUrl: (params?: ListCurrenciesParams) => string;
|
|
241
241
|
/**
|
|
242
|
-
* Currencies a new billing account can be opened in, and prices and
|
|
242
|
+
* Currencies a new billing account can be opened in, and prices and checkout previews without an account can be given in, for anyone, signed in or not. Retired currencies are not listed.
|
|
243
243
|
* @summary List currencies accounts can be opened in
|
|
244
244
|
*/
|
|
245
245
|
export declare const listCurrencies: (params?: ListCurrenciesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCurrenciesResponse>;
|
|
@@ -938,6 +938,50 @@ export declare const getListAccountDiscountsUrl: (params?: ListAccountDiscountsP
|
|
|
938
938
|
* @summary List the coupons held on this account
|
|
939
939
|
*/
|
|
940
940
|
export declare const listAccountDiscounts: (params?: ListAccountDiscountsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listAccountDiscountsResponse>;
|
|
941
|
+
export type listTrialGrantsResponse200 = {
|
|
942
|
+
data: TrialGrantList;
|
|
943
|
+
status: 200;
|
|
944
|
+
};
|
|
945
|
+
export type listTrialGrantsResponseDefault = {
|
|
946
|
+
data: ErrorResponse;
|
|
947
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
948
|
+
};
|
|
949
|
+
export type listTrialGrantsResponseSuccess = listTrialGrantsResponse200 & {
|
|
950
|
+
headers: Headers;
|
|
951
|
+
};
|
|
952
|
+
export type listTrialGrantsResponseError = listTrialGrantsResponseDefault & {
|
|
953
|
+
headers: Headers;
|
|
954
|
+
};
|
|
955
|
+
export type listTrialGrantsResponse = listTrialGrantsResponseSuccess | listTrialGrantsResponseError;
|
|
956
|
+
export declare const getListTrialGrantsUrl: (params?: ListTrialGrantsParams) => string;
|
|
957
|
+
/**
|
|
958
|
+
* Free trials held by your billing accounts. Choose an available grant when checking out a purchase its offer
|
|
959
|
+
* covers, by saving its ID as `trial_grant_id` on the Checkout Session; a session and its preview list the grants that
|
|
960
|
+
* can be used for it.
|
|
961
|
+
* @summary List free trial grants
|
|
962
|
+
*/
|
|
963
|
+
export declare const listTrialGrants: (params?: ListTrialGrantsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listTrialGrantsResponse>;
|
|
964
|
+
export type getTrialGrantResponse200 = {
|
|
965
|
+
data: TrialGrant;
|
|
966
|
+
status: 200;
|
|
967
|
+
};
|
|
968
|
+
export type getTrialGrantResponseDefault = {
|
|
969
|
+
data: ErrorResponse;
|
|
970
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
971
|
+
};
|
|
972
|
+
export type getTrialGrantResponseSuccess = getTrialGrantResponse200 & {
|
|
973
|
+
headers: Headers;
|
|
974
|
+
};
|
|
975
|
+
export type getTrialGrantResponseError = getTrialGrantResponseDefault & {
|
|
976
|
+
headers: Headers;
|
|
977
|
+
};
|
|
978
|
+
export type getTrialGrantResponse = getTrialGrantResponseSuccess | getTrialGrantResponseError;
|
|
979
|
+
export declare const getGetTrialGrantUrl: (trialGrantId: string) => string;
|
|
980
|
+
/**
|
|
981
|
+
* A free trial held by one of your billing accounts. Returns 404 if it does not exist or is not yours.
|
|
982
|
+
* @summary Get a free trial grant
|
|
983
|
+
*/
|
|
984
|
+
export declare const getTrialGrant: (trialGrantId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getTrialGrantResponse>;
|
|
941
985
|
export type listCreditGrantsResponse200 = {
|
|
942
986
|
data: CreditGrantList;
|
|
943
987
|
status: 200;
|
|
@@ -1187,41 +1231,6 @@ export declare const getCancelSubscriptionUrl: (subscriptionId: string) => strin
|
|
|
1187
1231
|
* @summary Cancel subscription
|
|
1188
1232
|
*/
|
|
1189
1233
|
export declare const cancelSubscription: (subscriptionId: string, cancelSubscriptionRequest: CancelSubscriptionRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<cancelSubscriptionResponse>;
|
|
1190
|
-
export type getQuoteResponse200 = {
|
|
1191
|
-
data: Quote;
|
|
1192
|
-
status: 200;
|
|
1193
|
-
};
|
|
1194
|
-
export type getQuoteResponseDefault = {
|
|
1195
|
-
data: ErrorResponse;
|
|
1196
|
-
status: Exclude<HTTPStatusCodes, 200>;
|
|
1197
|
-
};
|
|
1198
|
-
export type getQuoteResponseSuccess = getQuoteResponse200 & {
|
|
1199
|
-
headers: Headers;
|
|
1200
|
-
};
|
|
1201
|
-
export type getQuoteResponseError = getQuoteResponseDefault & {
|
|
1202
|
-
headers: Headers;
|
|
1203
|
-
};
|
|
1204
|
-
export type getQuoteResponse = getQuoteResponseSuccess | getQuoteResponseError;
|
|
1205
|
-
export declare const getGetQuoteUrl: () => string;
|
|
1206
|
-
/**
|
|
1207
|
-
* Calculates what a proposed purchase, a change of your subscriptions or their renewal would invoice now, and
|
|
1208
|
-
* what each purchased or changed line renews at. Nothing is saved, reserved or redeemed.
|
|
1209
|
-
*
|
|
1210
|
-
* With `billing_account_id`, the quote is for that billing account: its currency, account discounts,
|
|
1211
|
-
* tax and funds apply, changes and renewals use the account currently paying for each subscription, and an
|
|
1212
|
-
* access token is required. The account must be yours or currently pay for a project you are a member of.
|
|
1213
|
-
* Without it, proposed items are priced in `currency` for anyone, signed in or not: no account discount or funds
|
|
1214
|
-
* apply, and tax that would be added is included only for the customer's `address`.
|
|
1215
|
-
*
|
|
1216
|
-
* A change is priced as the service that owns the subscription would order it: pass the returned `total` as the
|
|
1217
|
-
* expected amount and, for an immediate change, `proration_date` to that service when making the change.
|
|
1218
|
-
*
|
|
1219
|
-
* A promotion code is evaluated without being applied. It is applied only when a Checkout Session is completed
|
|
1220
|
-
* with it; conditions that depend on the account, such as a first purchase, are checked only with an account
|
|
1221
|
-
* and otherwise reported as `unverified`. Future usage of metered prices is estimated with `estimate-usage`.
|
|
1222
|
-
* @summary Get a quote
|
|
1223
|
-
*/
|
|
1224
|
-
export declare const getQuote: (quoteRequest: QuoteRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getQuoteResponse>;
|
|
1225
1234
|
export type estimateUsageResponse200 = {
|
|
1226
1235
|
data: UsageEstimate;
|
|
1227
1236
|
status: 200;
|
|
@@ -1301,8 +1310,9 @@ export declare const getCreateCancellationUrl: () => string;
|
|
|
1301
1310
|
*
|
|
1302
1311
|
* `mode` must be allowed for every item. Metered and one-time items end only `immediate`. A licensed item ends
|
|
1303
1312
|
* `period_end` while its subscription's paid term lasts, and `immediate` unless its terms allow only the end of
|
|
1304
|
-
* the paid term and that term has not ended.
|
|
1305
|
-
*
|
|
1313
|
+
* the paid term and that term has not ended. During a free trial a licensed item ends either way whatever its
|
|
1314
|
+
* terms, `period_end` meaning the end of the trial, and nothing is refunded. For `period_end` the paid terms of
|
|
1315
|
+
* all items must end at the same time.
|
|
1306
1316
|
*
|
|
1307
1317
|
* Refused with:
|
|
1308
1318
|
*
|
|
@@ -1486,7 +1496,8 @@ export type listCheckoutSessionsResponseError = listCheckoutSessionsResponseDefa
|
|
|
1486
1496
|
export type listCheckoutSessionsResponse = listCheckoutSessionsResponseSuccess | listCheckoutSessionsResponseError;
|
|
1487
1497
|
export declare const getListCheckoutSessionsUrl: (params?: ListCheckoutSessionsParams) => string;
|
|
1488
1498
|
/**
|
|
1489
|
-
* Checkout Sessions of your billing accounts, newest first; members of a project list its sessions with
|
|
1499
|
+
* Checkout Sessions of your billing accounts, newest first; members of a project list its sessions with
|
|
1500
|
+
* `project_ids`. An open session is a purchase waiting for checkout to be completed.
|
|
1490
1501
|
* @summary List Checkout Sessions
|
|
1491
1502
|
*/
|
|
1492
1503
|
export declare const listCheckoutSessions: (params?: ListCheckoutSessionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCheckoutSessionsResponse>;
|
|
@@ -1514,9 +1525,10 @@ export declare const getCreateCheckoutSessionUrl: () => string;
|
|
|
1514
1525
|
* Opens a Checkout Session renewing one or more subscriptions in one order, such as a machine and the separately
|
|
1515
1526
|
* bought volumes and elastic IPs attached to it, with periods and price chosen as in renewing. Every subscription
|
|
1516
1527
|
* must be paid by the same billing account and belong to the same project and service. Nothing is charged until
|
|
1517
|
-
* you complete it
|
|
1518
|
-
* at that time. To renew one subscription at once from credit grants, balance or a
|
|
1519
|
-
* subscription instead. Purchases and changes of a service's resources are created
|
|
1528
|
+
* you complete it; save a promotion code on it first with `update-checkout-session`. Each subscription then renews
|
|
1529
|
+
* from its current_term_end at that time. To renew one subscription at once from credit grants, balance or a
|
|
1530
|
+
* payment method, renew the subscription instead. Purchases and changes of a service's resources are created
|
|
1531
|
+
* through that service.
|
|
1520
1532
|
*
|
|
1521
1533
|
* Open to the owner of the subscriptions' current billing account and to members of their project with the
|
|
1522
1534
|
* project permission `billing:finance.manage`. Keep `checkout_session_id` and read the session after an
|
|
@@ -1524,78 +1536,97 @@ export declare const getCreateCheckoutSessionUrl: () => string;
|
|
|
1524
1536
|
* @summary Create a renewal Checkout Session
|
|
1525
1537
|
*/
|
|
1526
1538
|
export declare const createCheckoutSession: (checkoutSessionCreate: CheckoutSessionCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createCheckoutSessionResponse>;
|
|
1527
|
-
export type
|
|
1539
|
+
export type previewCheckoutSessionResponse200 = {
|
|
1528
1540
|
data: CheckoutSession;
|
|
1529
1541
|
status: 200;
|
|
1530
1542
|
};
|
|
1531
|
-
export type
|
|
1543
|
+
export type previewCheckoutSessionResponseDefault = {
|
|
1532
1544
|
data: ErrorResponse;
|
|
1533
1545
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
1534
1546
|
};
|
|
1535
|
-
export type
|
|
1547
|
+
export type previewCheckoutSessionResponseSuccess = previewCheckoutSessionResponse200 & {
|
|
1536
1548
|
headers: Headers;
|
|
1537
1549
|
};
|
|
1538
|
-
export type
|
|
1550
|
+
export type previewCheckoutSessionResponseError = previewCheckoutSessionResponseDefault & {
|
|
1539
1551
|
headers: Headers;
|
|
1540
1552
|
};
|
|
1541
|
-
export type
|
|
1542
|
-
export declare const
|
|
1553
|
+
export type previewCheckoutSessionResponse = previewCheckoutSessionResponseSuccess | previewCheckoutSessionResponseError;
|
|
1554
|
+
export declare const getPreviewCheckoutSessionUrl: () => string;
|
|
1543
1555
|
/**
|
|
1544
|
-
*
|
|
1545
|
-
*
|
|
1556
|
+
* What a Checkout Session for a purchase, a change of your subscriptions or their renewal would invoice if it
|
|
1557
|
+
* were completed now, returned as a session that is not saved: it has no `id`, and nothing is ordered, reserved
|
|
1558
|
+
* or redeemed. Use it to show prices before buying; the service that sells a resource creates the session for its
|
|
1559
|
+
* purchase or change, and you create renewal sessions here.
|
|
1560
|
+
*
|
|
1561
|
+
* With `billing_account_id` the preview is for that billing account: its currency, account discounts, tax,
|
|
1562
|
+
* funds and free trial grants apply, changes and renewals use the account currently paying for each
|
|
1563
|
+
* subscription, and an access token is required. The account must be yours or currently pay for a project you
|
|
1564
|
+
* are a member of. Without it, a purchase is priced in `currency` for anyone, signed in or not: no account
|
|
1565
|
+
* discount, funds or trial grant apply, and tax that would be added is included only for `address`.
|
|
1566
|
+
*
|
|
1567
|
+
* A promotion code is evaluated without being applied; conditions that depend on the account, such as a first
|
|
1568
|
+
* purchase, are checked only with an account and otherwise reported as `unverified`. An invalid or inapplicable
|
|
1569
|
+
* code or trial grant fails the request. Future usage of metered prices is estimated with `estimate-usage`.
|
|
1570
|
+
* @summary Preview a Checkout Session
|
|
1546
1571
|
*/
|
|
1547
|
-
export declare const
|
|
1548
|
-
export type
|
|
1549
|
-
data:
|
|
1572
|
+
export declare const previewCheckoutSession: (checkoutSessionPreviewRequest: CheckoutSessionPreviewRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewCheckoutSessionResponse>;
|
|
1573
|
+
export type getCheckoutSessionResponse200 = {
|
|
1574
|
+
data: CheckoutSession;
|
|
1550
1575
|
status: 200;
|
|
1551
1576
|
};
|
|
1552
|
-
export type
|
|
1577
|
+
export type getCheckoutSessionResponseDefault = {
|
|
1553
1578
|
data: ErrorResponse;
|
|
1554
1579
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
1555
1580
|
};
|
|
1556
|
-
export type
|
|
1581
|
+
export type getCheckoutSessionResponseSuccess = getCheckoutSessionResponse200 & {
|
|
1557
1582
|
headers: Headers;
|
|
1558
1583
|
};
|
|
1559
|
-
export type
|
|
1584
|
+
export type getCheckoutSessionResponseError = getCheckoutSessionResponseDefault & {
|
|
1560
1585
|
headers: Headers;
|
|
1561
1586
|
};
|
|
1562
|
-
export type
|
|
1563
|
-
export declare const
|
|
1587
|
+
export type getCheckoutSessionResponse = getCheckoutSessionResponseSuccess | getCheckoutSessionResponseError;
|
|
1588
|
+
export declare const getGetCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1564
1589
|
/**
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1590
|
+
* A Checkout Session of your billing account or of a project you are a member of, with what completing it now
|
|
1591
|
+
* would invoice under the choices saved on it. A saved promotion code or trial grant that can no longer be applied
|
|
1592
|
+
* is left out of the amounts; `discount` and the subscriptions' `trial_grant_id` show what applies, and confirming
|
|
1593
|
+
* fails until the session is updated. Poll it to follow checkout; once it is complete, read its order for payment
|
|
1594
|
+
* and delivery. An unknown session returns 404; any other session returns 403.
|
|
1595
|
+
* @summary Get a Checkout Session
|
|
1567
1596
|
*/
|
|
1568
|
-
export declare const
|
|
1569
|
-
export type
|
|
1570
|
-
data:
|
|
1597
|
+
export declare const getCheckoutSession: (checkoutSessionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getCheckoutSessionResponse>;
|
|
1598
|
+
export type updateCheckoutSessionResponse200 = {
|
|
1599
|
+
data: CheckoutSession;
|
|
1571
1600
|
status: 200;
|
|
1572
1601
|
};
|
|
1573
|
-
export type
|
|
1602
|
+
export type updateCheckoutSessionResponseDefault = {
|
|
1574
1603
|
data: ErrorResponse;
|
|
1575
1604
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
1576
1605
|
};
|
|
1577
|
-
export type
|
|
1606
|
+
export type updateCheckoutSessionResponseSuccess = updateCheckoutSessionResponse200 & {
|
|
1578
1607
|
headers: Headers;
|
|
1579
1608
|
};
|
|
1580
|
-
export type
|
|
1609
|
+
export type updateCheckoutSessionResponseError = updateCheckoutSessionResponseDefault & {
|
|
1581
1610
|
headers: Headers;
|
|
1582
1611
|
};
|
|
1583
|
-
export type
|
|
1584
|
-
export declare const
|
|
1612
|
+
export type updateCheckoutSessionResponse = updateCheckoutSessionResponseSuccess | updateCheckoutSessionResponseError;
|
|
1613
|
+
export declare const getUpdateCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1585
1614
|
/**
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
1588
|
-
*
|
|
1615
|
+
* Saves your checkout choices on an open session: a promotion code, a free trial grant and automatic renewal.
|
|
1616
|
+
* Choices left out keep their values, and null removes a code or a grant. The session is returned with its
|
|
1617
|
+
* amounts calculated under the new choices; nothing is redeemed until it is completed.
|
|
1589
1618
|
*
|
|
1590
|
-
*
|
|
1591
|
-
*
|
|
1592
|
-
*
|
|
1593
|
-
*
|
|
1619
|
+
* A code that does not exist or cannot be applied is refused with its promotion error, and a grant that cannot be
|
|
1620
|
+
* used with `BILLING_TRIAL_GRANT_INAPPLICABLE`; the session is then unchanged. A grant applies to the first new
|
|
1621
|
+
* subscription of the session whose lines its offer all covers, and that has a licensed line and no trial of its
|
|
1622
|
+
* own. `auto_renew` turns automatic renewal on or off for every subscription with licensed items the session
|
|
1623
|
+
* opens; for a free trial, it decides whether the trial converts to paid when it ends. A session that is not
|
|
1624
|
+
* open is refused with `BILLING_CHECKOUT_SESSION_COMPLETE` or `BILLING_CHECKOUT_SESSION_EXPIRED`.
|
|
1594
1625
|
*
|
|
1595
1626
|
* Open to the owner of the session's billing account and to members of its project.
|
|
1596
|
-
* @summary
|
|
1627
|
+
* @summary Update a Checkout Session
|
|
1597
1628
|
*/
|
|
1598
|
-
export declare const
|
|
1629
|
+
export declare const updateCheckoutSession: (checkoutSessionId: string, checkoutSessionUpdate: CheckoutSessionUpdate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateCheckoutSessionResponse>;
|
|
1599
1630
|
export type confirmCheckoutSessionResponse200 = {
|
|
1600
1631
|
data: CheckoutSessionResult;
|
|
1601
1632
|
status: 200;
|
|
@@ -1617,11 +1648,13 @@ export type confirmCheckoutSessionResponseError = (confirmCheckoutSessionRespons
|
|
|
1617
1648
|
export type confirmCheckoutSessionResponse = confirmCheckoutSessionResponseSuccess | confirmCheckoutSessionResponseError;
|
|
1618
1649
|
export declare const getConfirmCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1619
1650
|
/**
|
|
1620
|
-
* Completes an open session:
|
|
1621
|
-
* the total against `expected_amount` and creates the order
|
|
1622
|
-
* at once; otherwise pay the invoice next. A failed payment
|
|
1623
|
-
* invoice can be paid again until the order expires. Nothing
|
|
1624
|
-
*
|
|
1651
|
+
* Completes an open session under the choices saved on it: its promotion code, or otherwise the best applicable
|
|
1652
|
+
* account discount, and its free trial grant. Checks the total against `expected_amount` and creates the order
|
|
1653
|
+
* with its invoice issued. A zero-total invoice is paid at once; otherwise pay the invoice next. A failed payment
|
|
1654
|
+
* leaves the order and its terms as they are, and the invoice can be paid again until the order expires. Nothing
|
|
1655
|
+
* is created when the total differs, which fails with `BILLING_AMOUNT_CHANGED`, or when a saved code or grant can
|
|
1656
|
+
* no longer be applied, which fails with its error until the session is updated. A trial grant used by an order
|
|
1657
|
+
* that is later canceled or fails can be used again.
|
|
1625
1658
|
*
|
|
1626
1659
|
* Confirming a complete session again with the same terms returns it with its order; different terms are refused
|
|
1627
1660
|
* with `BILLING_CHECKOUT_SESSION_COMPLETE`. An expired session is refused with `BILLING_CHECKOUT_SESSION_EXPIRED`.
|
|
@@ -1652,7 +1685,9 @@ export type expireCheckoutSessionResponseError = (expireCheckoutSessionResponse4
|
|
|
1652
1685
|
export type expireCheckoutSessionResponse = expireCheckoutSessionResponseSuccess | expireCheckoutSessionResponseError;
|
|
1653
1686
|
export declare const getExpireCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1654
1687
|
/**
|
|
1655
|
-
* Ends an open session without an order; the service that created it releases what it was holding for
|
|
1688
|
+
* Ends an open session without an order; the service that created it releases what it was holding for
|
|
1689
|
+
* the purchase. An expired session is returned unchanged. Open to the owner of the session's billing account and
|
|
1690
|
+
* to members of its project.
|
|
1656
1691
|
* @summary Expire a Checkout Session
|
|
1657
1692
|
*/
|
|
1658
1693
|
export declare const expireCheckoutSession: (checkoutSessionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<expireCheckoutSessionResponse>;
|