@leaflow/sdk 0.212.0 → 0.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/type/checkout/v1/generated/models.d.ts +14 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +9 -0
- 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 +220 -170
- package/dist/billing/v1/generated/functions.js +242 -189
- package/dist/billing/v1/generated/models.d.ts +973 -658
- package/dist/billing/v1/generated/models.js +75 -62
- package/dist/billing/v1/generated/schemas.zod.d.ts +160 -109
- package/dist/billing/v1/generated/schemas.zod.js +176 -121
- 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 +2 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.js +4 -3
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +2 -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 +2 -1
- package/dist/billing/v1/generated/validators/allowance.zod.js +6 -2
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +2 -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 +2 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +6 -5
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.js +13 -0
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +2 -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 +2 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +5 -4
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +9 -8
- 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 +4 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +10 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +272 -7
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +53 -14
- 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 +5 -2
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +9 -3
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +32 -2
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +62 -8
- 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 +272 -7
- 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 -7
- 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 +95 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +53 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +13 -0
- 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 +2 -2
- 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 +2 -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 +2 -2
- 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 +3 -3
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +3 -3
- 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 +2 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +2 -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 +3 -3
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +3 -3
- 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 +3 -3
- 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 +18 -0
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -3
- 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 +5 -2
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +8 -2
- 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 +3 -3
- 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 +2 -1
- package/dist/billing/v1/generated/validators/order.zod.js +3 -3
- 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 +2 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.js +9 -5
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +2 -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 +2 -2
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +2 -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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/billing/v1/generated/validators/productId.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/productId.zod.js +16 -0
- 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 +2 -2
- 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 +4 -4
- package/dist/billing/v1/generated/validators/renewalOption.zod.d.ts +37 -0
- package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +25 -0
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
- 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 +132 -113
- package/dist/billing/v1/generated/validators/subscription.zod.js +40 -74
- 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 +104 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
- package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.d.ts → subscriptionItemCancellation.zod.d.ts} +5 -5
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +31 -0
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +132 -112
- 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 +2 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +3 -3
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
- 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 +18 -0
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
- 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 +20 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +3 -2
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +2 -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 +3 -3
- 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 +15 -1
- package/dist/canopy/v1/generated/schemas.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +9 -0
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
- package/dist/compute/v2/generated/functions.d.ts +373 -285
- package/dist/compute/v2/generated/functions.js +232 -76
- package/dist/compute/v2/generated/models.d.ts +379 -336
- package/dist/compute/v2/generated/models.js +9 -9
- package/dist/compute/v2/generated/schemas.zod.d.ts +176 -98
- package/dist/compute/v2/generated/schemas.zod.js +157 -85
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.d.ts → associateElasticIpRequestBody.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.js → associateElasticIpRequestBody.zod.js} +3 -3
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{imageID.zod.d.ts → availabilityZoneId.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.js → availabilityZoneId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +4 -4
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +3 -3
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{updateElasticIPRequestBody.zod.d.ts → changeElasticIpBandwidthRequestBody.zod.d.ts} +8 -10
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +5 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +11 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.d.ts → createElasticIpRequestBody.zod.d.ts} +11 -8
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.js → createElasticIpRequestBody.zod.js} +13 -11
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.d.ts → createElasticIpResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.js → createElasticIpResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +6 -6
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +5 -5
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +7 -4
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +11 -9
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.d.ts → deleteElasticIpResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.js → deleteElasticIpResponseBody.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{elasticIP.zod.d.ts → elasticIp.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{elasticIP.zod.js → elasticIp.zod.js} +23 -19
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.d.ts → elasticIpAssociation.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.js → elasticIpAssociation.zod.js} +12 -12
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{updateElasticIPResponseBody.zod.d.ts → elasticIpChangeResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.js → elasticIpChangeResponseBody.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{elasticIPID.zod.js → elasticIpId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.d.ts → elasticIpLine.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.js → elasticIpLine.zod.js} +13 -13
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.d.ts → elasticIpLineListResponseBody.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.js → elasticIpLineListResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.d.ts → elasticIpListResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.js → elasticIpListResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.d.ts → elasticIpReleaseResource.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.js → elasticIpReleaseResource.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/error.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/error.zod.js +2 -2
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.d.ts → existingElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.js → existingElasticIp.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +4 -4
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{imageID.zod.js → imageId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/instance.zod.js +26 -22
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.d.ts → instanceElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.js → instanceElasticIp.zod.js} +6 -6
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +6 -6
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceFamilyID.zod.js → instanceFamilyId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceID.zod.js → instanceId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +5 -5
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.js +10 -10
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceTypeID.zod.js → instanceTypeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceVolumeID.zod.js → instanceVolumeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +3 -3
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{iPv4HostAddress.zod.js → ipv4HostAddress.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/latestOperation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.d.ts → launchTemplateElasticIp.zod.d.ts} +6 -6
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.js → launchTemplateElasticIp.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{launchTemplateID.zod.js → launchTemplateId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +4 -4
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +8 -8
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +8 -8
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/money.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/money.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +6 -6
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{regionID.zod.d.ts → networkInterfaceAddressId.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{networkInterfaceID.zod.js → networkInterfaceId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +6 -6
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.js +4 -4
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.d.ts → newElasticIp.zod.d.ts} +6 -6
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.js → newElasticIp.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +6 -6
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +6 -6
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{operationLogID.zod.js → operationLogId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +14 -10
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +4 -4
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{regionID.zod.js → regionId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +3 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +5 -4
- package/dist/compute/v2/generated/validators/{elasticIPLineID.zod.d.ts → replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{elasticIPID.zod.d.ts → replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js} +11 -8
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/{updateInstanceResponseBody.zod.d.ts → resizeInstanceResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +6 -6
- package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{securityGroupID.zod.js → securityGroupId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{securityGroupIDOrWildcard.zod.js → securityGroupIdOrWildcard.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +6 -6
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{subnetID.zod.js → subnetId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +2 -12
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +3 -11
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +2 -4
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +3 -11
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +2 -13
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +3 -16
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +6 -6
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudID.zod.js → virtualPrivateCloudId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudIDOrWildcard.zod.js → virtualPrivateCloudIdOrWildcard.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +9 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +8 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +6 -6
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +8 -8
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeBackupID.zod.js → volumeBackupId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.d.ts → volumeChangeResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.d.ts → volumeChangeResponseBody.zod.js} +15 -8
- package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeID.zod.js → volumeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeSnapshotID.zod.js → volumeSnapshotId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeTypeID.zod.js → volumeTypeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +8 -8
- 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 +14 -0
- package/dist/membership/v1/generated/schemas.zod.d.ts +5 -1
- package/dist/membership/v1/generated/schemas.zod.js +1 -1
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +9 -0
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +2 -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 +84 -36
- package/dist/routes.js +91 -37
- 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/autoRenewSet.zod.d.ts +0 -13
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +0 -11
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +0 -27
- 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/listRenewalPricesParams.zod.d.ts +0 -18
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +0 -24
- package/dist/billing/v1/generated/validators/productID.zod.d.ts +0 -13
- package/dist/billing/v1/generated/validators/productID.zod.js +0 -16
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +0 -105
- 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 -51
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +0 -70
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +0 -41
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +0 -34
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -27
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +0 -26
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -27
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +0 -24
- 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
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +0 -33
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +0 -25
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +0 -40
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +0 -14
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +0 -31
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +0 -48
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +0 -41
|
@@ -2,32 +2,86 @@
|
|
|
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 { PriceType } from "./priceType.zod.js";
|
|
12
|
+
import { ProductId } from "./productId.zod.js";
|
|
13
|
+
import { UsageType } from "./usageType.zod.js";
|
|
9
14
|
export const checkoutSessionItemPositionMin = 0;
|
|
10
15
|
export const CheckoutSessionItem = zod
|
|
11
16
|
.strictObject({
|
|
12
|
-
position: zod
|
|
17
|
+
position: zod
|
|
18
|
+
.int()
|
|
19
|
+
.min(checkoutSessionItemPositionMin)
|
|
20
|
+
.describe("Counted across the session's subscriptions in order, starting from zero."),
|
|
21
|
+
subscription_item_id: zod
|
|
22
|
+
.uuid()
|
|
23
|
+
.nullable()
|
|
24
|
+
.describe("The subscription item changed or renewed. Null for an item the purchase adds."),
|
|
25
|
+
product_id: ProductId,
|
|
13
26
|
plan_id: zod.uuid(),
|
|
14
27
|
plan_name: zod.string(),
|
|
15
28
|
price_id: zod
|
|
16
29
|
.uuid()
|
|
17
30
|
.nullable()
|
|
18
|
-
.describe("The price the item
|
|
31
|
+
.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."),
|
|
32
|
+
type: zod.union([PriceType, zod.null()]).describe("The price type; null when `price_id` is."),
|
|
33
|
+
usage_type: zod
|
|
34
|
+
.union([UsageType, zod.null()])
|
|
35
|
+
.describe("The usage type; null when `price_id` is."),
|
|
36
|
+
interval: zod
|
|
37
|
+
.enum(["none", "day", "month", "year"])
|
|
38
|
+
.describe("The billing period of a recurring licensed price; `none` otherwise, and when `price_id` is null."),
|
|
39
|
+
interval_count: zod
|
|
40
|
+
.int()
|
|
41
|
+
.min(1)
|
|
42
|
+
.nullable()
|
|
43
|
+
.describe("Periods per billing cycle of a recurring licensed price; null otherwise."),
|
|
19
44
|
quantity: zod.string(),
|
|
20
45
|
dimensions: zod
|
|
21
46
|
.record(zod.string(), zod.string())
|
|
22
47
|
.describe("The dimension values of what is bought, such as region and instance type."),
|
|
23
|
-
subscription_id: zod
|
|
24
|
-
.uuid()
|
|
25
|
-
.nullable()
|
|
26
|
-
.describe("The subscription changed or renewed. Null for a new purchase."),
|
|
27
48
|
periods: zod
|
|
28
49
|
.int()
|
|
29
50
|
.min(1)
|
|
30
51
|
.nullable()
|
|
31
52
|
.describe("Renewals only; null otherwise. How many consecutive periods are renewed."),
|
|
53
|
+
unit_amount: zod
|
|
54
|
+
.union([Money, zod.null()])
|
|
55
|
+
.describe("Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing."),
|
|
56
|
+
setup_amount: zod
|
|
57
|
+
.union([Money, zod.null()])
|
|
58
|
+
.describe("The setup charge already included in `amount`; null when none applies."),
|
|
59
|
+
recurring_amount: zod
|
|
60
|
+
.union([Money, zod.null()])
|
|
61
|
+
.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."),
|
|
62
|
+
amount: zod
|
|
63
|
+
.union([Money, zod.null()])
|
|
64
|
+
.describe("Amount before discounts, including any setup charge."),
|
|
65
|
+
discount_amount: zod
|
|
66
|
+
.union([Money, zod.null()])
|
|
67
|
+
.describe("Total reduction on this item, including any continuing renewal discount."),
|
|
68
|
+
tax_amount: zod
|
|
69
|
+
.union([Money, zod.null()])
|
|
70
|
+
.describe("Tax on the discounted amount, including any tax already contained in that amount."),
|
|
71
|
+
tax_included_amount: zod
|
|
72
|
+
.union([Money, zod.null()])
|
|
73
|
+
.describe("The part of tax_amount already contained in amount minus discount_amount."),
|
|
74
|
+
total: zod
|
|
75
|
+
.union([Money, zod.null()])
|
|
76
|
+
.describe("amount minus discount_amount plus tax_amount minus tax_included_amount."),
|
|
77
|
+
remaining_amount: zod
|
|
78
|
+
.union([Money, zod.null()])
|
|
79
|
+
.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`."),
|
|
80
|
+
unused_amount: zod
|
|
81
|
+
.union([Money, zod.null()])
|
|
82
|
+
.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."),
|
|
83
|
+
downgrade_refund: zod
|
|
84
|
+
.union([CheckoutSessionItemDowngradeRefund, zod.null()])
|
|
85
|
+
.describe("Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise."),
|
|
32
86
|
})
|
|
33
|
-
.describe("One item of the session
|
|
87
|
+
.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`.");
|
|
@@ -2,20 +2,20 @@
|
|
|
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 CheckoutSessionList: zod.ZodObject<{
|
|
10
10
|
items: zod.ZodArray<zod.ZodObject<{
|
|
11
|
-
id: zod.ZodUUID
|
|
11
|
+
id: zod.ZodNullable<zod.ZodUUID>;
|
|
12
12
|
product_id: zod.ZodString;
|
|
13
|
-
billing_account_id: zod.ZodInt
|
|
14
|
-
account: zod.ZodObject<{
|
|
13
|
+
billing_account_id: zod.ZodNullable<zod.ZodInt>;
|
|
14
|
+
account: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
15
15
|
id: zod.ZodInt;
|
|
16
16
|
name: zod.ZodString;
|
|
17
17
|
currency: zod.ZodString;
|
|
18
|
-
}, zod.z.core.$strict>;
|
|
18
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
19
19
|
project_id: zod.ZodNullable<zod.ZodUUID>;
|
|
20
20
|
project: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
21
21
|
id: zod.ZodUUID;
|
|
@@ -44,12 +44,277 @@ export declare const CheckoutSessionList: zod.ZodObject<{
|
|
|
44
44
|
}>>;
|
|
45
45
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
46
46
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
47
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
48
|
+
trial_grant_id: zod.ZodOptional<zod.ZodUUID>;
|
|
47
49
|
}, zod.z.core.$strict>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
promotion_code: zod.ZodNullable<zod.ZodString>;
|
|
51
|
+
discount: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
52
|
+
type: zod.ZodEnum<{
|
|
53
|
+
promotion_code: "promotion_code";
|
|
54
|
+
account_discount: "account_discount";
|
|
55
|
+
}>;
|
|
56
|
+
name: zod.ZodString;
|
|
57
|
+
promotion_code: zod.ZodNullable<zod.ZodString>;
|
|
58
|
+
frequency: zod.ZodEnum<{
|
|
59
|
+
recurring: "recurring";
|
|
60
|
+
once: "once";
|
|
61
|
+
forever: "forever";
|
|
62
|
+
}>;
|
|
63
|
+
frequency_duration: zod.ZodNullable<zod.ZodInt>;
|
|
64
|
+
eligibility: zod.ZodEnum<{
|
|
65
|
+
confirmed: "confirmed";
|
|
66
|
+
unverified: "unverified";
|
|
67
|
+
}>;
|
|
68
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
69
|
+
subtotal: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
70
|
+
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
71
|
+
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
72
|
+
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
73
|
+
tax_status: zod.ZodEnum<{
|
|
74
|
+
complete: "complete";
|
|
75
|
+
requires_location_inputs: "requires_location_inputs";
|
|
76
|
+
}>;
|
|
77
|
+
proration_date: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
78
|
+
funds: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
79
|
+
available_balance_amount: zod.ZodString;
|
|
80
|
+
usable_credit_amount: zod.ZodString;
|
|
81
|
+
restricted_credit_amount: zod.ZodString;
|
|
82
|
+
required_balance_amount: zod.ZodString;
|
|
83
|
+
balance_shortfall_amount: zod.ZodString;
|
|
84
|
+
required_top_up_amount: zod.ZodString;
|
|
85
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
86
|
+
trial_grants: zod.ZodArray<zod.ZodObject<{
|
|
87
|
+
id: zod.ZodUUID;
|
|
88
|
+
billing_account_id: zod.ZodInt;
|
|
89
|
+
trial_offer: zod.ZodObject<{
|
|
90
|
+
id: zod.ZodUUID;
|
|
91
|
+
name: zod.ZodString;
|
|
92
|
+
description: zod.ZodString;
|
|
93
|
+
trial_period_days: zod.ZodInt;
|
|
94
|
+
trial_settings: zod.ZodObject<{
|
|
95
|
+
end_behavior: zod.ZodObject<{
|
|
96
|
+
missing_payment_method: zod.ZodEnum<{
|
|
97
|
+
cancel: "cancel";
|
|
98
|
+
pause: "pause";
|
|
99
|
+
create_invoice: "create_invoice";
|
|
100
|
+
}>;
|
|
101
|
+
retention_seconds: zod.ZodNullable<zod.ZodInt>;
|
|
102
|
+
}, zod.z.core.$strict>;
|
|
103
|
+
}, zod.z.core.$strict>;
|
|
104
|
+
applies_to: zod.ZodObject<{
|
|
105
|
+
products: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
106
|
+
id: zod.ZodString;
|
|
107
|
+
name: zod.ZodString;
|
|
108
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
109
|
+
}, zod.z.core.$strict>>>;
|
|
110
|
+
plans: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
111
|
+
id: zod.ZodUUID;
|
|
112
|
+
name: zod.ZodString;
|
|
113
|
+
active: zod.ZodBoolean;
|
|
114
|
+
}, zod.z.core.$strict>>>;
|
|
115
|
+
prices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
116
|
+
product: zod.ZodObject<{
|
|
117
|
+
id: zod.ZodString;
|
|
118
|
+
name: zod.ZodString;
|
|
119
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
120
|
+
}, zod.z.core.$strict>;
|
|
121
|
+
plan: zod.ZodObject<{
|
|
122
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
123
|
+
id: zod.ZodUUID;
|
|
124
|
+
name: zod.ZodString;
|
|
125
|
+
}, zod.z.core.$strict>;
|
|
126
|
+
billing_scheme: zod.ZodOptional<zod.ZodEnum<{
|
|
127
|
+
per_unit: "per_unit";
|
|
128
|
+
tiered: "tiered";
|
|
129
|
+
}>>;
|
|
130
|
+
unit_quantity: zod.ZodString;
|
|
131
|
+
id: zod.ZodUUID;
|
|
132
|
+
currency: zod.ZodString;
|
|
133
|
+
type: zod.ZodEnum<{
|
|
134
|
+
one_time: "one_time";
|
|
135
|
+
recurring: "recurring";
|
|
136
|
+
}>;
|
|
137
|
+
usage_type: zod.ZodEnum<{
|
|
138
|
+
licensed: "licensed";
|
|
139
|
+
metered: "metered";
|
|
140
|
+
}>;
|
|
141
|
+
interval: zod.ZodEnum<{
|
|
142
|
+
none: "none";
|
|
143
|
+
day: "day";
|
|
144
|
+
month: "month";
|
|
145
|
+
year: "year";
|
|
146
|
+
}>;
|
|
147
|
+
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
148
|
+
unit_amount: zod.ZodOptional<zod.ZodString>;
|
|
149
|
+
active: zod.ZodBoolean;
|
|
150
|
+
}, zod.z.core.$strict>>>;
|
|
151
|
+
price_types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
152
|
+
one_time: "one_time";
|
|
153
|
+
recurring: "recurring";
|
|
154
|
+
}>>>;
|
|
155
|
+
usage_types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
156
|
+
licensed: "licensed";
|
|
157
|
+
metered: "metered";
|
|
158
|
+
}>>>;
|
|
159
|
+
operations: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
160
|
+
new: "new";
|
|
161
|
+
renew: "renew";
|
|
162
|
+
modify: "modify";
|
|
163
|
+
}>>>;
|
|
164
|
+
min_term_months: zod.ZodOptional<zod.ZodInt>;
|
|
165
|
+
max_term_months: zod.ZodOptional<zod.ZodInt>;
|
|
166
|
+
excluded_products: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
167
|
+
id: zod.ZodString;
|
|
168
|
+
name: zod.ZodString;
|
|
169
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
170
|
+
}, zod.z.core.$strict>>>;
|
|
171
|
+
excluded_plans: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
172
|
+
id: zod.ZodUUID;
|
|
173
|
+
name: zod.ZodString;
|
|
174
|
+
active: zod.ZodBoolean;
|
|
175
|
+
}, zod.z.core.$strict>>>;
|
|
176
|
+
excluded_prices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
177
|
+
product: zod.ZodObject<{
|
|
178
|
+
id: zod.ZodString;
|
|
179
|
+
name: zod.ZodString;
|
|
180
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
181
|
+
}, zod.z.core.$strict>;
|
|
182
|
+
plan: zod.ZodObject<{
|
|
183
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
184
|
+
id: zod.ZodUUID;
|
|
185
|
+
name: zod.ZodString;
|
|
186
|
+
}, zod.z.core.$strict>;
|
|
187
|
+
billing_scheme: zod.ZodOptional<zod.ZodEnum<{
|
|
188
|
+
per_unit: "per_unit";
|
|
189
|
+
tiered: "tiered";
|
|
190
|
+
}>>;
|
|
191
|
+
unit_quantity: zod.ZodString;
|
|
192
|
+
id: zod.ZodUUID;
|
|
193
|
+
currency: zod.ZodString;
|
|
194
|
+
type: zod.ZodEnum<{
|
|
195
|
+
one_time: "one_time";
|
|
196
|
+
recurring: "recurring";
|
|
197
|
+
}>;
|
|
198
|
+
usage_type: zod.ZodEnum<{
|
|
199
|
+
licensed: "licensed";
|
|
200
|
+
metered: "metered";
|
|
201
|
+
}>;
|
|
202
|
+
interval: zod.ZodEnum<{
|
|
203
|
+
none: "none";
|
|
204
|
+
day: "day";
|
|
205
|
+
month: "month";
|
|
206
|
+
year: "year";
|
|
207
|
+
}>;
|
|
208
|
+
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
209
|
+
unit_amount: zod.ZodOptional<zod.ZodString>;
|
|
210
|
+
active: zod.ZodBoolean;
|
|
211
|
+
}, zod.z.core.$strict>>>;
|
|
212
|
+
}, zod.z.core.$strict>;
|
|
213
|
+
}, zod.z.core.$strict>;
|
|
214
|
+
status: zod.ZodEnum<{
|
|
215
|
+
scheduled: "scheduled";
|
|
216
|
+
available: "available";
|
|
217
|
+
expired: "expired";
|
|
218
|
+
voided: "voided";
|
|
219
|
+
redeemed: "redeemed";
|
|
220
|
+
}>;
|
|
221
|
+
valid_from: zod.z.ZodISODateTime;
|
|
222
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
223
|
+
voided_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
224
|
+
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
225
|
+
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
226
|
+
redeemed_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
227
|
+
}, zod.z.core.$strict>>;
|
|
228
|
+
expires_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
229
|
+
created_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
50
230
|
completed_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
51
231
|
expired_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
52
232
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
233
|
+
subscriptions: zod.ZodArray<zod.ZodObject<{
|
|
234
|
+
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
235
|
+
subscription_data: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
236
|
+
trial_period_days: zod.ZodNullable<zod.ZodInt>;
|
|
237
|
+
trial_end: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
238
|
+
trial_settings: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
239
|
+
end_behavior: zod.ZodObject<{
|
|
240
|
+
missing_payment_method: zod.ZodEnum<{
|
|
241
|
+
cancel: "cancel";
|
|
242
|
+
pause: "pause";
|
|
243
|
+
create_invoice: "create_invoice";
|
|
244
|
+
}>;
|
|
245
|
+
retention_seconds: zod.ZodNullable<zod.ZodInt>;
|
|
246
|
+
}, zod.z.core.$strict>;
|
|
247
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
248
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
249
|
+
trial_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
250
|
+
trial: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
251
|
+
trial_start: zod.z.ZodISODateTime;
|
|
252
|
+
trial_end: zod.z.ZodISODateTime;
|
|
253
|
+
trial_settings: zod.ZodObject<{
|
|
254
|
+
end_behavior: zod.ZodObject<{
|
|
255
|
+
missing_payment_method: zod.ZodEnum<{
|
|
256
|
+
cancel: "cancel";
|
|
257
|
+
pause: "pause";
|
|
258
|
+
create_invoice: "create_invoice";
|
|
259
|
+
}>;
|
|
260
|
+
retention_seconds: zod.ZodNullable<zod.ZodInt>;
|
|
261
|
+
}, zod.z.core.$strict>;
|
|
262
|
+
}, zod.z.core.$strict>;
|
|
263
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
264
|
+
interval: zod.ZodEnum<{
|
|
265
|
+
none: "none";
|
|
266
|
+
day: "day";
|
|
267
|
+
month: "month";
|
|
268
|
+
year: "year";
|
|
269
|
+
}>;
|
|
270
|
+
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
271
|
+
periods: zod.ZodNullable<zod.ZodInt>;
|
|
272
|
+
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
273
|
+
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
274
|
+
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
275
|
+
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
276
|
+
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
277
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
278
|
+
position: zod.ZodInt;
|
|
279
|
+
subscription_item_id: zod.ZodNullable<zod.ZodUUID>;
|
|
280
|
+
product_id: zod.ZodString;
|
|
281
|
+
plan_id: zod.ZodUUID;
|
|
282
|
+
plan_name: zod.ZodString;
|
|
283
|
+
price_id: zod.ZodNullable<zod.ZodUUID>;
|
|
284
|
+
type: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
285
|
+
one_time: "one_time";
|
|
286
|
+
recurring: "recurring";
|
|
287
|
+
}>, zod.ZodNull]>;
|
|
288
|
+
usage_type: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
289
|
+
licensed: "licensed";
|
|
290
|
+
metered: "metered";
|
|
291
|
+
}>, zod.ZodNull]>;
|
|
292
|
+
interval: zod.ZodEnum<{
|
|
293
|
+
none: "none";
|
|
294
|
+
day: "day";
|
|
295
|
+
month: "month";
|
|
296
|
+
year: "year";
|
|
297
|
+
}>;
|
|
298
|
+
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
299
|
+
quantity: zod.ZodString;
|
|
300
|
+
dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
301
|
+
periods: zod.ZodNullable<zod.ZodInt>;
|
|
302
|
+
unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
303
|
+
setup_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
304
|
+
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
305
|
+
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
306
|
+
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
307
|
+
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
308
|
+
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
309
|
+
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
310
|
+
remaining_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
311
|
+
unused_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
312
|
+
downgrade_refund: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
313
|
+
refundable_amount: zod.ZodString;
|
|
314
|
+
forfeited_amount: zod.ZodString;
|
|
315
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
316
|
+
}, zod.z.core.$strict>>;
|
|
317
|
+
}, zod.z.core.$strict>>;
|
|
53
318
|
}, zod.z.core.$strict>>;
|
|
54
319
|
pagination: zod.ZodObject<{
|
|
55
320
|
page: zod.ZodInt;
|
|
@@ -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,91 @@
|
|
|
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 checkoutSessionPreviewRequestCurrencyMin = 3;
|
|
10
|
+
export declare const checkoutSessionPreviewRequestCurrencyMax = 3;
|
|
11
|
+
export declare const checkoutSessionPreviewRequestSubscriptionsMax = 100;
|
|
12
|
+
export declare const checkoutSessionPreviewRequestPeriodsDefault = 1;
|
|
13
|
+
export declare const checkoutSessionPreviewRequestPromotionCodeMax = 64;
|
|
14
|
+
export declare const CheckoutSessionPreviewRequest: zod.ZodObject<{
|
|
15
|
+
type: zod.ZodEnum<{
|
|
16
|
+
new: "new";
|
|
17
|
+
renew: "renew";
|
|
18
|
+
modify: "modify";
|
|
19
|
+
}>;
|
|
20
|
+
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
21
|
+
currency: zod.ZodOptional<zod.ZodString>;
|
|
22
|
+
address: zod.ZodOptional<zod.ZodObject<{
|
|
23
|
+
country: zod.ZodString;
|
|
24
|
+
state: zod.ZodOptional<zod.ZodString>;
|
|
25
|
+
}, zod.z.core.$strict>>;
|
|
26
|
+
change_effective: zod.ZodOptional<zod.ZodEnum<{
|
|
27
|
+
immediate: "immediate";
|
|
28
|
+
period_end: "period_end";
|
|
29
|
+
}>>;
|
|
30
|
+
subscriptions: zod.ZodArray<zod.ZodObject<{
|
|
31
|
+
subscription_id: zod.ZodOptional<zod.ZodUUID>;
|
|
32
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
33
|
+
subscription_item_id: zod.ZodOptional<zod.ZodUUID>;
|
|
34
|
+
price_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
35
|
+
plan_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
36
|
+
price_id: zod.ZodOptional<zod.ZodUUID>;
|
|
37
|
+
product_id: zod.ZodOptional<zod.ZodString>;
|
|
38
|
+
plan_id: zod.ZodOptional<zod.ZodUUID>;
|
|
39
|
+
price_type: zod.ZodOptional<zod.ZodEnum<{
|
|
40
|
+
one_time: "one_time";
|
|
41
|
+
recurring: "recurring";
|
|
42
|
+
}>>;
|
|
43
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
44
|
+
licensed: "licensed";
|
|
45
|
+
metered: "metered";
|
|
46
|
+
}>>;
|
|
47
|
+
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
48
|
+
none: "none";
|
|
49
|
+
day: "day";
|
|
50
|
+
month: "month";
|
|
51
|
+
year: "year";
|
|
52
|
+
}>>;
|
|
53
|
+
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
54
|
+
cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
55
|
+
immediate: "immediate";
|
|
56
|
+
period_end: "period_end";
|
|
57
|
+
}>>;
|
|
58
|
+
quantity: zod.ZodString;
|
|
59
|
+
dimensions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
60
|
+
}, zod.z.core.$strict>>>;
|
|
61
|
+
subscription_data: zod.ZodOptional<zod.ZodObject<{
|
|
62
|
+
trial_period_days: zod.ZodOptional<zod.ZodInt>;
|
|
63
|
+
trial_end: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
64
|
+
trial_settings: zod.ZodOptional<zod.ZodObject<{
|
|
65
|
+
end_behavior: zod.ZodObject<{
|
|
66
|
+
missing_payment_method: zod.ZodEnum<{
|
|
67
|
+
cancel: "cancel";
|
|
68
|
+
pause: "pause";
|
|
69
|
+
create_invoice: "create_invoice";
|
|
70
|
+
}>;
|
|
71
|
+
retention_seconds: zod.ZodNullable<zod.ZodInt>;
|
|
72
|
+
}, zod.z.core.$strict>;
|
|
73
|
+
}, zod.z.core.$strict>>;
|
|
74
|
+
}, zod.z.core.$strict>>;
|
|
75
|
+
}, zod.z.core.$strict>>;
|
|
76
|
+
periods: zod.ZodDefault<zod.ZodInt>;
|
|
77
|
+
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
78
|
+
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
79
|
+
day: "day";
|
|
80
|
+
month: "month";
|
|
81
|
+
year: "year";
|
|
82
|
+
}>>;
|
|
83
|
+
cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
84
|
+
immediate: "immediate";
|
|
85
|
+
period_end: "period_end";
|
|
86
|
+
}>>;
|
|
87
|
+
promotion_code: zod.ZodOptional<zod.ZodString>;
|
|
88
|
+
trial_grant_id: zod.ZodOptional<zod.ZodUUID>;
|
|
89
|
+
}, zod.z.core.$strict>;
|
|
90
|
+
export type CheckoutSessionPreviewRequest = zod.input<typeof CheckoutSessionPreviewRequest>;
|
|
91
|
+
export type CheckoutSessionPreviewRequestOutput = zod.output<typeof CheckoutSessionPreviewRequest>;
|