@leaflow/sdk 0.213.1 → 0.215.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 +714 -567
- 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 +273 -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 +37 -4
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +66 -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 +273 -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 +273 -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 +88 -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 +5 -2
- 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
|
@@ -2,42 +2,77 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
9
9
|
import { AccountIdentity } from "./accountIdentity.zod.js";
|
|
10
10
|
import { CheckoutOptions } from "./checkoutOptions.zod.js";
|
|
11
|
+
import { CheckoutSessionDiscount } from "./checkoutSessionDiscount.zod.js";
|
|
11
12
|
import { CheckoutSessionStatus } from "./checkoutSessionStatus.zod.js";
|
|
12
13
|
import { CheckoutSessionSubscription } from "./checkoutSessionSubscription.zod.js";
|
|
14
|
+
import { Funds } from "./funds.zod.js";
|
|
15
|
+
import { Money } from "./money.zod.js";
|
|
13
16
|
import { NamedIdentity } from "./namedIdentity.zod.js";
|
|
14
17
|
import { ProductId } from "./productId.zod.js";
|
|
18
|
+
import { TrialGrant } from "./trialGrant.zod.js";
|
|
15
19
|
export const CheckoutSession = zod
|
|
16
20
|
.strictObject({
|
|
17
|
-
id: zod.uuid(),
|
|
21
|
+
id: zod.uuid().nullable().describe("Null in a preview."),
|
|
18
22
|
product_id: ProductId,
|
|
19
|
-
billing_account_id: zod.int(),
|
|
20
|
-
account:
|
|
23
|
+
billing_account_id: zod.int().nullable().describe("Null in a preview without an account."),
|
|
24
|
+
account: zod
|
|
25
|
+
.union([AccountIdentity, zod.null()])
|
|
26
|
+
.describe("Null in a preview without an account."),
|
|
21
27
|
project_id: zod
|
|
22
28
|
.uuid()
|
|
23
29
|
.nullable()
|
|
24
|
-
.describe("The project the purchase is for. Null for an account-level purchase, such as a membership."),
|
|
30
|
+
.describe("The project the purchase is for. Null for an account-level purchase, such as a membership, and in a preview."),
|
|
25
31
|
project: zod
|
|
26
32
|
.union([NamedIdentity, zod.null()])
|
|
27
|
-
.describe("The project and its current name. Null
|
|
33
|
+
.describe("The project and its current name. Null when `project_id` is, or when the project cannot be read;\n`project_id` still identifies it."),
|
|
28
34
|
type: zod
|
|
29
35
|
.enum(["new", "renew", "modify"])
|
|
30
|
-
.describe("`new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or
|
|
36
|
+
.describe('"`new` buys, `renew` extends subscriptions, `modify` changes subscription items\' configuration or\nbilling terms."'),
|
|
31
37
|
change_effective: zod
|
|
32
38
|
.enum(["none", "immediate", "period_end"])
|
|
33
39
|
.describe("When a change takes effect, as on the order it creates; `none` for anything that is not a change."),
|
|
34
|
-
status: CheckoutSessionStatus,
|
|
40
|
+
status: CheckoutSessionStatus.describe("`open` in a preview."),
|
|
35
41
|
currency: zod.string(),
|
|
36
|
-
checkout: CheckoutOptions.describe("The checkout choices as the purchase gave them. Billing does not check
|
|
42
|
+
checkout: CheckoutOptions.describe("The checkout choices, as the purchase gave them and as you saved them since. Billing does not check\n`return_url`; validate it before navigating."),
|
|
43
|
+
promotion_code: zod
|
|
44
|
+
.string()
|
|
45
|
+
.nullable()
|
|
46
|
+
.describe("The promotion code saved on the session, or used to complete it; null without one."),
|
|
47
|
+
discount: zod
|
|
48
|
+
.union([CheckoutSessionDiscount, zod.null()])
|
|
49
|
+
.describe("The discount the session gets, from its promotion code or otherwise the best applicable account discount. Null when there is none, and for an expired session."),
|
|
50
|
+
subtotal: zod
|
|
51
|
+
.union([Money, zod.null()])
|
|
52
|
+
.describe("Sum before discounts, excluding tax already included in the item amounts."),
|
|
53
|
+
discount_amount: zod.union([Money, zod.null()]).describe("Total item discounts."),
|
|
54
|
+
tax_amount: zod.union([Money, zod.null()]).describe("Total tax on the discounted amounts."),
|
|
55
|
+
total: zod
|
|
56
|
+
.union([Money, zod.null()])
|
|
57
|
+
.describe("subtotal minus discount_amount plus tax_amount, before credit grants and balance. Confirm an open session with it as `expected_amount`."),
|
|
58
|
+
tax_status: zod
|
|
59
|
+
.enum(["complete", "requires_location_inputs"])
|
|
60
|
+
.describe('"`complete`: tax is calculated for the billing account\'s invoice contact, or for `address` in a preview\nwithout an account. `requires_location_inputs`: a preview without an account or `address`, which leaves out\ntax that would be added; tax already contained in a price is included."'),
|
|
61
|
+
proration_date: zod.iso
|
|
62
|
+
.datetime({ offset: true })
|
|
63
|
+
.nullable()
|
|
64
|
+
.describe("Immediate changes and items added to an existing subscription of an open session only; null otherwise.\nThe instant they are priced from; confirm the session with it so it is priced from the same instant."),
|
|
65
|
+
funds: zod
|
|
66
|
+
.union([Funds, zod.null()])
|
|
67
|
+
.describe("Account funds for completing an open session; null for other sessions and without an account."),
|
|
68
|
+
trial_grants: zod
|
|
69
|
+
.array(TrialGrant)
|
|
70
|
+
.describe("The free trial grants of the account that the session can use now, soonest to expire first. Empty for a\nsession that is not open, without an account, and for changes and renewals."),
|
|
37
71
|
expires_at: zod.iso
|
|
38
72
|
.datetime({ offset: true })
|
|
39
|
-
.
|
|
40
|
-
|
|
73
|
+
.nullable()
|
|
74
|
+
.describe("When an open session expires; null in a preview. The order a complete session created has its own payment deadline."),
|
|
75
|
+
created_at: zod.iso.datetime({ offset: true }).nullable().describe("Null in a preview."),
|
|
41
76
|
completed_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
42
77
|
expired_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
43
78
|
order_id: zod
|
|
@@ -46,6 +81,6 @@ export const CheckoutSession = zod
|
|
|
46
81
|
.describe("The order created when the session completed. Null otherwise."),
|
|
47
82
|
subscriptions: zod
|
|
48
83
|
.array(CheckoutSessionSubscription)
|
|
49
|
-
.describe("The subscriptions the session buys, renews or changes, in order
|
|
84
|
+
.describe("The subscriptions the session buys, renews or changes, in order, each with its items."),
|
|
50
85
|
})
|
|
51
|
-
.describe("A purchase waiting for
|
|
86
|
+
.describe("A purchase, a change of subscriptions or their renewal, waiting for checkout to be completed, and what\ncompleting it invoices. Completing it applies the choices saved on it and creates the order with its invoice\nissued; the order carries the session's ID. A preview returns the same object without saving it.\n\nAmounts are what completing an open session would invoice at the time it is read, and for a complete session\nthose of its order's invoice. An expired session has no amounts; they are null.");
|
|
@@ -2,14 +2,12 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
9
|
-
export declare const checkoutSessionConfirmPromotionCodeMax = 64;
|
|
10
9
|
export declare const checkoutSessionConfirmExpectedAmountTwoRegExp: RegExp;
|
|
11
10
|
export declare const CheckoutSessionConfirm: zod.ZodObject<{
|
|
12
|
-
promotion_code: zod.ZodOptional<zod.ZodString>;
|
|
13
11
|
expected_amount: zod.ZodIntersection<zod.ZodString, zod.ZodString>;
|
|
14
12
|
proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
15
13
|
}, zod.z.core.$strict>;
|
|
@@ -2,23 +2,16 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
9
9
|
import { Money } from "./money.zod.js";
|
|
10
|
-
export const checkoutSessionConfirmPromotionCodeMax = 64;
|
|
11
10
|
export const checkoutSessionConfirmExpectedAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
|
|
12
11
|
export const CheckoutSessionConfirm = zod.strictObject({
|
|
13
|
-
|
|
14
|
-
.string()
|
|
15
|
-
.min(1)
|
|
16
|
-
.max(checkoutSessionConfirmPromotionCodeMax)
|
|
17
|
-
.optional()
|
|
18
|
-
.describe("As quoted. Omit to apply the best applicable account discount."),
|
|
19
|
-
expected_amount: Money.and(zod.string().regex(checkoutSessionConfirmExpectedAmountTwoRegExp)).describe("The quote's `total`, after discounts and tax and before credit grants or balance."),
|
|
12
|
+
expected_amount: Money.and(zod.string().regex(checkoutSessionConfirmExpectedAmountTwoRegExp)).describe("The session's `total` as read, after discounts and tax and before credit grants or balance."),
|
|
20
13
|
proration_date: zod.iso
|
|
21
14
|
.datetime({ offset: true })
|
|
22
15
|
.optional()
|
|
23
|
-
.describe("Immediate changes only. The
|
|
16
|
+
.describe("Immediate changes and items added to an existing subscription only. The session's `proration_date` as\nread; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is\nrefused with `BILLING_CHANGE_INVALID`. Defaults to the time of the request."),
|
|
24
17
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export declare const checkoutSessionDiscountPromotionCodeMax = 64;
|
|
10
|
+
export declare const CheckoutSessionDiscount: zod.ZodObject<{
|
|
11
|
+
type: zod.ZodEnum<{
|
|
12
|
+
promotion_code: "promotion_code";
|
|
13
|
+
account_discount: "account_discount";
|
|
14
|
+
}>;
|
|
15
|
+
name: zod.ZodString;
|
|
16
|
+
promotion_code: zod.ZodNullable<zod.ZodString>;
|
|
17
|
+
frequency: zod.ZodEnum<{
|
|
18
|
+
recurring: "recurring";
|
|
19
|
+
once: "once";
|
|
20
|
+
forever: "forever";
|
|
21
|
+
}>;
|
|
22
|
+
frequency_duration: zod.ZodNullable<zod.ZodInt>;
|
|
23
|
+
eligibility: zod.ZodEnum<{
|
|
24
|
+
confirmed: "confirmed";
|
|
25
|
+
unverified: "unverified";
|
|
26
|
+
}>;
|
|
27
|
+
}, zod.z.core.$strict>;
|
|
28
|
+
export type CheckoutSessionDiscount = zod.input<typeof CheckoutSessionDiscount>;
|
|
29
|
+
export type CheckoutSessionDiscountOutput = zod.output<typeof CheckoutSessionDiscount>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export const checkoutSessionDiscountPromotionCodeMax = 64;
|
|
10
|
+
export const CheckoutSessionDiscount = zod
|
|
11
|
+
.strictObject({
|
|
12
|
+
type: zod.enum(["promotion_code", "account_discount"]),
|
|
13
|
+
name: zod.string(),
|
|
14
|
+
promotion_code: zod
|
|
15
|
+
.string()
|
|
16
|
+
.min(1)
|
|
17
|
+
.max(checkoutSessionDiscountPromotionCodeMax)
|
|
18
|
+
.nullable()
|
|
19
|
+
.describe("Code text for a promotion_code discount; null for an account_discount."),
|
|
20
|
+
frequency: zod
|
|
21
|
+
.enum(["once", "recurring", "forever"])
|
|
22
|
+
.describe('"Whether the discount continues on renewals of what is bought: `once` applies only to this\npurchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal."'),
|
|
23
|
+
frequency_duration: zod
|
|
24
|
+
.int()
|
|
25
|
+
.min(1)
|
|
26
|
+
.nullable()
|
|
27
|
+
.describe("For `recurring`, the periods the discount lasts; null otherwise."),
|
|
28
|
+
eligibility: zod
|
|
29
|
+
.enum(["confirmed", "unverified"])
|
|
30
|
+
.describe('"`confirmed`: every condition of the discount holds for the billing account. `unverified`: a preview\nwithout an account, where conditions that depend on the account, such as a first purchase or a per-account\nlimit, are checked only when a session is completed."'),
|
|
31
|
+
})
|
|
32
|
+
.describe("The discount a session gets. It is redeemed only when the session completes.");
|
|
@@ -2,22 +2,55 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
9
9
|
export declare const checkoutSessionItemPositionMin = 0;
|
|
10
|
-
export declare const checkoutSessionItemSubscriptionIndexMin = 0;
|
|
11
10
|
export declare const CheckoutSessionItem: zod.ZodObject<{
|
|
12
11
|
position: zod.ZodInt;
|
|
12
|
+
subscription_item_id: zod.ZodNullable<zod.ZodUUID>;
|
|
13
|
+
product_id: zod.ZodString;
|
|
13
14
|
plan_id: zod.ZodUUID;
|
|
14
15
|
plan_name: zod.ZodString;
|
|
15
16
|
price_id: zod.ZodNullable<zod.ZodUUID>;
|
|
17
|
+
type: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
18
|
+
one_time: "one_time";
|
|
19
|
+
recurring: "recurring";
|
|
20
|
+
}>, zod.ZodNull]>;
|
|
21
|
+
usage_type: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
22
|
+
licensed: "licensed";
|
|
23
|
+
metered: "metered";
|
|
24
|
+
}>, zod.ZodNull]>;
|
|
25
|
+
interval: zod.ZodEnum<{
|
|
26
|
+
none: "none";
|
|
27
|
+
day: "day";
|
|
28
|
+
month: "month";
|
|
29
|
+
year: "year";
|
|
30
|
+
}>;
|
|
31
|
+
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
16
32
|
quantity: zod.ZodString;
|
|
17
33
|
dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
18
|
-
subscription_index: zod.ZodInt;
|
|
19
|
-
subscription_item_id: zod.ZodNullable<zod.ZodUUID>;
|
|
20
34
|
periods: zod.ZodNullable<zod.ZodInt>;
|
|
35
|
+
unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
36
|
+
setup_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
37
|
+
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
38
|
+
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
39
|
+
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
40
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
41
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
42
|
+
id: zod.ZodUUID;
|
|
43
|
+
name: zod.ZodString;
|
|
44
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
45
|
+
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
46
|
+
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
47
|
+
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
48
|
+
remaining_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
49
|
+
unused_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
50
|
+
downgrade_refund: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
51
|
+
refundable_amount: zod.ZodString;
|
|
52
|
+
forfeited_amount: zod.ZodString;
|
|
53
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
21
54
|
}, zod.z.core.$strict>;
|
|
22
55
|
export type CheckoutSessionItem = zod.input<typeof CheckoutSessionItem>;
|
|
23
56
|
export type CheckoutSessionItemOutput = zod.output<typeof CheckoutSessionItem>;
|
|
@@ -2,37 +2,90 @@
|
|
|
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
8
|
import * as zod from "zod";
|
|
9
|
+
import { CheckoutSessionItemDowngradeRefund } from "./checkoutSessionItemDowngradeRefund.zod.js";
|
|
10
|
+
import { Money } from "./money.zod.js";
|
|
11
|
+
import { ObjectIdentity } from "./objectIdentity.zod.js";
|
|
12
|
+
import { PriceType } from "./priceType.zod.js";
|
|
13
|
+
import { ProductId } from "./productId.zod.js";
|
|
14
|
+
import { UsageType } from "./usageType.zod.js";
|
|
9
15
|
export const checkoutSessionItemPositionMin = 0;
|
|
10
|
-
export const checkoutSessionItemSubscriptionIndexMin = 0;
|
|
11
16
|
export const CheckoutSessionItem = zod
|
|
12
17
|
.strictObject({
|
|
13
|
-
position: zod
|
|
18
|
+
position: zod
|
|
19
|
+
.int()
|
|
20
|
+
.min(checkoutSessionItemPositionMin)
|
|
21
|
+
.describe("Counted across the session's subscriptions in order, starting from zero."),
|
|
22
|
+
subscription_item_id: zod
|
|
23
|
+
.uuid()
|
|
24
|
+
.nullable()
|
|
25
|
+
.describe("The subscription item changed or renewed. Null for an item the purchase adds."),
|
|
26
|
+
product_id: ProductId,
|
|
14
27
|
plan_id: zod.uuid(),
|
|
15
28
|
plan_name: zod.string(),
|
|
16
29
|
price_id: zod
|
|
17
30
|
.uuid()
|
|
18
31
|
.nullable()
|
|
19
|
-
.describe("The price the item
|
|
32
|
+
.describe("The price the item is charged under: the one it named, or the one selected by billing terms or from the\nsubscription item changed or renewed. Null for an expired session whose item did not name one."),
|
|
33
|
+
type: zod.union([PriceType, zod.null()]).describe("The price type; null when `price_id` is."),
|
|
34
|
+
usage_type: zod
|
|
35
|
+
.union([UsageType, zod.null()])
|
|
36
|
+
.describe("The usage type; null when `price_id` is."),
|
|
37
|
+
interval: zod
|
|
38
|
+
.enum(["none", "day", "month", "year"])
|
|
39
|
+
.describe("The billing period of a recurring licensed price; `none` otherwise, and when `price_id` is null."),
|
|
40
|
+
interval_count: zod
|
|
41
|
+
.int()
|
|
42
|
+
.min(1)
|
|
43
|
+
.nullable()
|
|
44
|
+
.describe("Periods per billing cycle of a recurring licensed price; null otherwise."),
|
|
20
45
|
quantity: zod.string(),
|
|
21
46
|
dimensions: zod
|
|
22
47
|
.record(zod.string(), zod.string())
|
|
23
48
|
.describe("The dimension values of what is bought, such as region and instance type."),
|
|
24
|
-
subscription_index: zod
|
|
25
|
-
.int()
|
|
26
|
-
.min(checkoutSessionItemSubscriptionIndexMin)
|
|
27
|
-
.describe("The item's subscription, as its index in the session's `subscriptions`."),
|
|
28
|
-
subscription_item_id: zod
|
|
29
|
-
.uuid()
|
|
30
|
-
.nullable()
|
|
31
|
-
.describe("The subscription item changed or renewed. Null for an item the purchase adds."),
|
|
32
49
|
periods: zod
|
|
33
50
|
.int()
|
|
34
51
|
.min(1)
|
|
35
52
|
.nullable()
|
|
36
53
|
.describe("Renewals only; null otherwise. How many consecutive periods are renewed."),
|
|
54
|
+
unit_amount: zod
|
|
55
|
+
.union([Money, zod.null()])
|
|
56
|
+
.describe("Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing."),
|
|
57
|
+
setup_amount: zod
|
|
58
|
+
.union([Money, zod.null()])
|
|
59
|
+
.describe("The setup charge already included in `amount`; null when none applies."),
|
|
60
|
+
recurring_amount: zod
|
|
61
|
+
.union([Money, zod.null()])
|
|
62
|
+
.describe("Recurring licensed items only; null otherwise. What each later period renews at, before discounts and\ntax, which differs from `amount` when the first period is priced differently, such as in a free trial. The\nsession's `discount` says whether its discount continues on renewals."),
|
|
63
|
+
amount: zod
|
|
64
|
+
.union([Money, zod.null()])
|
|
65
|
+
.describe("Amount before discounts, including any setup charge."),
|
|
66
|
+
discount_amount: zod
|
|
67
|
+
.union([Money, zod.null()])
|
|
68
|
+
.describe("Total reduction on this item, including any continuing renewal discount."),
|
|
69
|
+
coupon: zod
|
|
70
|
+
.union([ObjectIdentity, zod.null()])
|
|
71
|
+
.describe("The coupon behind `discount_amount`, so the discount can be named: the one this checkout applies, or on\na renewal the one continuing from the purchase that first used it. Null when the item has no coupon\ndiscount."),
|
|
72
|
+
tax_amount: zod
|
|
73
|
+
.union([Money, zod.null()])
|
|
74
|
+
.describe("Tax on the discounted amount, including any tax already contained in that amount."),
|
|
75
|
+
tax_included_amount: zod
|
|
76
|
+
.union([Money, zod.null()])
|
|
77
|
+
.describe("The part of tax_amount already contained in amount minus discount_amount."),
|
|
78
|
+
total: zod
|
|
79
|
+
.union([Money, zod.null()])
|
|
80
|
+
.describe("amount minus discount_amount plus tax_amount minus tax_included_amount."),
|
|
81
|
+
remaining_amount: zod
|
|
82
|
+
.union([Money, zod.null()])
|
|
83
|
+
.describe("Immediate changes only; null otherwise. Before tax, the new terms for the time from `proration_date` to\nthe end of the paid period. An upgrade invoices `remaining_amount` minus `unused_amount`."),
|
|
84
|
+
unused_amount: zod
|
|
85
|
+
.union([Money, zod.null()])
|
|
86
|
+
.describe("Immediate changes only; null otherwise. Before tax, for an upgrade or an unchanged period price, the\namount paid for that time, up to the new terms' value for the same time; for a downgrade, the remaining value\nof what was paid, under the refund terms of each paid period."),
|
|
87
|
+
downgrade_refund: zod
|
|
88
|
+
.union([CheckoutSessionItemDowngradeRefund, zod.null()])
|
|
89
|
+
.describe("Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise."),
|
|
37
90
|
})
|
|
38
|
-
.describe("One item of the session
|
|
91
|
+
.describe("One item of the session; it becomes the order item at the same position. Its price is selected as when\ncheckout completes, and amounts are this item's share of the session's.");
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export declare const CheckoutSessionItemDowngradeRefund: zod.ZodObject<{
|
|
10
|
+
refundable_amount: zod.ZodString;
|
|
11
|
+
forfeited_amount: zod.ZodString;
|
|
12
|
+
}, zod.z.core.$strict>;
|
|
13
|
+
export type CheckoutSessionItemDowngradeRefund = zod.input<typeof CheckoutSessionItemDowngradeRefund>;
|
|
14
|
+
export type CheckoutSessionItemDowngradeRefundOutput = zod.output<typeof CheckoutSessionItemDowngradeRefund>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
import { Money } from "./money.zod.js";
|
|
10
|
+
export const CheckoutSessionItemDowngradeRefund = zod
|
|
11
|
+
.strictObject({
|
|
12
|
+
refundable_amount: Money.describe("Returned to the original payment sources, tax paid on it included."),
|
|
13
|
+
forfeited_amount: Money.describe("Before tax, the part of the excess that the item's refund terms do not return."),
|
|
14
|
+
})
|
|
15
|
+
.describe("What an immediate downgrade would refund, estimated as of `proration_date`. The refund itself is determined\nwhen the change takes effect.");
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export declare const checkoutSessionItemInputPriceLookupKeyMax = 128;
|
|
10
|
+
export declare const checkoutSessionItemInputPlanLookupKeyMax = 128;
|
|
11
|
+
export declare const checkoutSessionItemInputQuantityRegExp: RegExp;
|
|
12
|
+
export declare const CheckoutSessionItemInput: zod.ZodObject<{
|
|
13
|
+
subscription_item_id: zod.ZodOptional<zod.ZodUUID>;
|
|
14
|
+
price_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
15
|
+
plan_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
16
|
+
price_id: zod.ZodOptional<zod.ZodUUID>;
|
|
17
|
+
product_id: zod.ZodOptional<zod.ZodString>;
|
|
18
|
+
plan_id: zod.ZodOptional<zod.ZodUUID>;
|
|
19
|
+
price_type: zod.ZodOptional<zod.ZodEnum<{
|
|
20
|
+
one_time: "one_time";
|
|
21
|
+
recurring: "recurring";
|
|
22
|
+
}>>;
|
|
23
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
24
|
+
licensed: "licensed";
|
|
25
|
+
metered: "metered";
|
|
26
|
+
}>>;
|
|
27
|
+
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
28
|
+
none: "none";
|
|
29
|
+
day: "day";
|
|
30
|
+
month: "month";
|
|
31
|
+
year: "year";
|
|
32
|
+
}>>;
|
|
33
|
+
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
34
|
+
cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
35
|
+
immediate: "immediate";
|
|
36
|
+
period_end: "period_end";
|
|
37
|
+
}>>;
|
|
38
|
+
quantity: zod.ZodString;
|
|
39
|
+
dimensions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
40
|
+
}, zod.z.core.$strict>;
|
|
41
|
+
export type CheckoutSessionItemInput = zod.input<typeof CheckoutSessionItemInput>;
|
|
42
|
+
export type CheckoutSessionItemInputOutput = zod.output<typeof CheckoutSessionItemInput>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
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 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
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
import { CancellationPolicy } from "./cancellationPolicy.zod.js";
|
|
10
|
+
import { PriceType } from "./priceType.zod.js";
|
|
11
|
+
import { ProductId } from "./productId.zod.js";
|
|
12
|
+
import { UsageType } from "./usageType.zod.js";
|
|
13
|
+
export const checkoutSessionItemInputPriceLookupKeyMax = 128;
|
|
14
|
+
export const checkoutSessionItemInputPlanLookupKeyMax = 128;
|
|
15
|
+
export const checkoutSessionItemInputQuantityRegExp = new RegExp("^(?:(?:[1-9][0-9]{0,27}|0(?:[1-9][0-9]{0,26}|0(?:[1-9][0-9]{0,25}|0(?:[1-9][0-9]{0,24}|0(?:[1-9][0-9]{0,23}|0(?:[1-9][0-9]{0,22}|0(?:[1-9][0-9]{0,21}|0(?:[1-9][0-9]{0,20}|0(?:[1-9][0-9]{0,19}|0(?:[1-9][0-9]{0,18}|0(?:[1-9][0-9]{0,17}|0(?:[1-9][0-9]{0,16}|0(?:[1-9][0-9]{0,15}|0(?:[1-9][0-9]{0,14}|0(?:[1-9][0-9]{0,13}|0(?:[1-9][0-9]{0,12}|0(?:[1-9][0-9]{0,11}|0(?:[1-9][0-9]{0,10}|0(?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9])))))))))))))))))))))))))))([.][0-9]{1,10})?|0{1,28}[.](?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9]))))))))))$");
|
|
16
|
+
export const CheckoutSessionItemInput = zod
|
|
17
|
+
.strictObject({
|
|
18
|
+
subscription_item_id: zod
|
|
19
|
+
.uuid()
|
|
20
|
+
.optional()
|
|
21
|
+
.describe("For `modify` only. The subscription item changed."),
|
|
22
|
+
price_lookup_key: zod.string().min(1).max(checkoutSessionItemInputPriceLookupKeyMax).optional(),
|
|
23
|
+
plan_lookup_key: zod.string().min(1).max(checkoutSessionItemInputPlanLookupKeyMax).optional(),
|
|
24
|
+
price_id: zod.uuid().optional(),
|
|
25
|
+
product_id: ProductId.optional(),
|
|
26
|
+
plan_id: zod.uuid().optional(),
|
|
27
|
+
price_type: PriceType.optional().describe("Narrows the selection when a plan offers more than one price type."),
|
|
28
|
+
usage_type: UsageType.optional().describe("Narrows the selection when a plan offers more than one usage type."),
|
|
29
|
+
interval: zod.enum(["none", "day", "month", "year"]).optional(),
|
|
30
|
+
interval_count: zod.int().min(1).optional(),
|
|
31
|
+
cancellation_policy: CancellationPolicy.optional().describe("Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily."),
|
|
32
|
+
quantity: zod
|
|
33
|
+
.string()
|
|
34
|
+
.regex(checkoutSessionItemInputQuantityRegExp)
|
|
35
|
+
.describe("The quantity bought, or after a change."),
|
|
36
|
+
dimensions: zod
|
|
37
|
+
.record(zod.string(), zod.string())
|
|
38
|
+
.optional()
|
|
39
|
+
.describe("The dimension values of what is bought, such as region and instance type, or after a change, given in full. Required whenever the price uses a rate card; prices with their own amounts ignore them. Every key the meter declares must be given. A combination no rate covers is refused with `BILLING_PRICE_UNAVAILABLE` rather than priced at zero. Prices are set per currency, and a currency may not offer some combinations at all, for example in a region it does not sell to."),
|
|
40
|
+
})
|
|
41
|
+
.describe("Identify a price, or select one for a plan; give each resource's ID or lookup key, never both, and\nproduct_id with lookup keys. A change names its `subscription_item_id`; without a price or billing terms the\nplan's price with the item's price type, usage type, interval, interval count and cancellation policy is\nselected, and omitted dimensions keep the item's. A metered item includes only any setup charge; its usage is\nestimated with `estimate-usage`.");
|