@leaflow/sdk 0.213.1 → 0.215.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/type/checkout/v1/generated/models.d.ts +10 -1
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/billing/type/funds/v1/generated/functions.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/functions.js +1 -1
- package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
- package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/schemas.zod.js +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/functions.d.ts +120 -85
- package/dist/billing/v1/generated/functions.js +142 -104
- package/dist/billing/v1/generated/models.d.ts +714 -567
- package/dist/billing/v1/generated/models.js +59 -52
- package/dist/billing/v1/generated/schemas.zod.d.ts +71 -43
- package/dist/billing/v1/generated/schemas.zod.js +82 -53
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +6 -2
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +273 -9
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +48 -13
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -3
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +3 -10
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +37 -4
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +66 -13
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.js +15 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.d.ts +42 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.js +41 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +273 -9
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.d.ts +91 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.js +69 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.d.ts +57 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.js +22 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +273 -9
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +88 -3
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +37 -8
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.d.ts +24 -0
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.js +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.js +27 -0
- package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/customerAddress.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/customerAddress.zod.js +24 -0
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/error.zod.js +1 -1
- package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/errorStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/fieldViolation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +5 -2
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.js +28 -0
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/order.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +2 -2
- package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/price.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/product.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productId.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productId.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.js +2 -2
- package/dist/billing/v1/generated/validators/subscriptionData.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionData.zod.js +27 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.js +22 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +1 -1
- package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +152 -0
- package/dist/billing/v1/generated/validators/trialGrant.zod.js +33 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +159 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +136 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.js +21 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/trialSettings.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/models.d.ts +11 -2
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
- package/dist/compute/v2/generated/functions.d.ts +1 -1
- package/dist/compute/v2/generated/models.d.ts +16 -7
- package/dist/compute/v2/generated/schemas.zod.d.ts +11 -1
- package/dist/compute/v2/generated/schemas.zod.js +1 -1
- package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLine.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLine.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/error.zod.js +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/imageId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/imageId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.js +1 -1
- package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/money.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newCompute.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newElasticIp.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newElasticIp.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +1 -1
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +1 -1
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/subnetId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +1 -1
- package/dist/membership/v1/generated/functions.d.ts +1 -1
- package/dist/membership/v1/generated/functions.js +1 -1
- package/dist/membership/v1/generated/models.d.ts +10 -1
- package/dist/membership/v1/generated/schemas.zod.d.ts +3 -1
- package/dist/membership/v1/generated/schemas.zod.js +1 -1
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -1
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +19 -7
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +1 -1
- package/dist/routes.d.ts +25 -17
- package/dist/routes.js +27 -18
- package/dist/swas/v1/generated/models.d.ts +6 -6
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +1 -1
- package/dist/swas/v1/generated/validators/price.zod.js +1 -1
- package/dist/swas/v1/generated/validators/priceOption.zod.js +2 -2
- package/dist/swas/v1/generated/validators/purchase.zod.js +1 -1
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +1 -1
- package/package.json +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +0 -28
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +0 -12
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +0 -18
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +0 -24
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +0 -112
- package/dist/billing/v1/generated/validators/quote.zod.js +0 -37
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +0 -16
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +0 -22
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +0 -42
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +0 -38
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +0 -15
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +0 -52
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +0 -74
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +0 -42
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +0 -38
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -26
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +0 -25
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +0 -17
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +0 -18
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -33
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +0 -27
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +0 -101
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +0 -57
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +0 -29
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +0 -32
|
@@ -1,112 +0,0 @@
|
|
|
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 quotes 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, quote 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 Quote: zod.ZodObject<{
|
|
10
|
-
funds: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11
|
-
available_balance_amount: zod.ZodString;
|
|
12
|
-
usable_credit_amount: zod.ZodString;
|
|
13
|
-
restricted_credit_amount: zod.ZodString;
|
|
14
|
-
required_balance_amount: zod.ZodString;
|
|
15
|
-
balance_shortfall_amount: zod.ZodString;
|
|
16
|
-
required_top_up_amount: zod.ZodString;
|
|
17
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
18
|
-
subtotal: zod.ZodString;
|
|
19
|
-
discount_amount: zod.ZodString;
|
|
20
|
-
tax_amount: zod.ZodString;
|
|
21
|
-
discount: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
22
|
-
type: zod.ZodEnum<{
|
|
23
|
-
promotion_code: "promotion_code";
|
|
24
|
-
account_discount: "account_discount";
|
|
25
|
-
}>;
|
|
26
|
-
name: zod.ZodString;
|
|
27
|
-
promotion_code: zod.ZodNullable<zod.ZodString>;
|
|
28
|
-
frequency: zod.ZodEnum<{
|
|
29
|
-
recurring: "recurring";
|
|
30
|
-
once: "once";
|
|
31
|
-
forever: "forever";
|
|
32
|
-
}>;
|
|
33
|
-
frequency_duration: zod.ZodNullable<zod.ZodInt>;
|
|
34
|
-
eligibility: zod.ZodEnum<{
|
|
35
|
-
confirmed: "confirmed";
|
|
36
|
-
unverified: "unverified";
|
|
37
|
-
}>;
|
|
38
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
39
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
40
|
-
tax_amount: zod.ZodString;
|
|
41
|
-
tax_included_amount: zod.ZodString;
|
|
42
|
-
index: zod.ZodInt;
|
|
43
|
-
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
44
|
-
subscription_item_id: zod.ZodNullable<zod.ZodUUID>;
|
|
45
|
-
product_id: zod.ZodString;
|
|
46
|
-
plan_id: zod.ZodUUID;
|
|
47
|
-
price_id: zod.ZodUUID;
|
|
48
|
-
plan_name: zod.ZodString;
|
|
49
|
-
type: zod.ZodEnum<{
|
|
50
|
-
one_time: "one_time";
|
|
51
|
-
recurring: "recurring";
|
|
52
|
-
}>;
|
|
53
|
-
usage_type: zod.ZodEnum<{
|
|
54
|
-
licensed: "licensed";
|
|
55
|
-
metered: "metered";
|
|
56
|
-
}>;
|
|
57
|
-
interval: zod.ZodEnum<{
|
|
58
|
-
none: "none";
|
|
59
|
-
day: "day";
|
|
60
|
-
month: "month";
|
|
61
|
-
year: "year";
|
|
62
|
-
}>;
|
|
63
|
-
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
64
|
-
dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
65
|
-
setup_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
66
|
-
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
67
|
-
unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
68
|
-
quantity: zod.ZodString;
|
|
69
|
-
amount: zod.ZodString;
|
|
70
|
-
discount_amount: zod.ZodString;
|
|
71
|
-
remaining_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
72
|
-
unused_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
73
|
-
downgrade_refund: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
74
|
-
refundable_amount: zod.ZodString;
|
|
75
|
-
forfeited_amount: zod.ZodString;
|
|
76
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
77
|
-
total: zod.ZodString;
|
|
78
|
-
currency: zod.ZodString;
|
|
79
|
-
}, zod.z.core.$strict>>;
|
|
80
|
-
renewals: zod.ZodArray<zod.ZodObject<{
|
|
81
|
-
index: zod.ZodInt;
|
|
82
|
-
subscription_id: zod.ZodUUID;
|
|
83
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
84
|
-
subscription_item_id: zod.ZodUUID;
|
|
85
|
-
plan_id: zod.ZodUUID;
|
|
86
|
-
plan_name: zod.ZodString;
|
|
87
|
-
price_id: zod.ZodUUID;
|
|
88
|
-
amount: zod.ZodString;
|
|
89
|
-
}, zod.z.core.$strict>>;
|
|
90
|
-
interval: zod.ZodEnum<{
|
|
91
|
-
day: "day";
|
|
92
|
-
month: "month";
|
|
93
|
-
year: "year";
|
|
94
|
-
}>;
|
|
95
|
-
interval_count: zod.ZodInt;
|
|
96
|
-
periods: zod.ZodInt;
|
|
97
|
-
amount: zod.ZodString;
|
|
98
|
-
discount_amount: zod.ZodString;
|
|
99
|
-
tax_amount: zod.ZodString;
|
|
100
|
-
tax_included_amount: zod.ZodString;
|
|
101
|
-
total: zod.ZodString;
|
|
102
|
-
}, zod.z.core.$strict>>;
|
|
103
|
-
total: zod.ZodString;
|
|
104
|
-
currency: zod.ZodString;
|
|
105
|
-
proration_date: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
106
|
-
tax_status: zod.ZodEnum<{
|
|
107
|
-
complete: "complete";
|
|
108
|
-
requires_location_inputs: "requires_location_inputs";
|
|
109
|
-
}>;
|
|
110
|
-
}, zod.z.core.$strict>;
|
|
111
|
-
export type Quote = zod.input<typeof Quote>;
|
|
112
|
-
export type QuoteOutput = zod.output<typeof Quote>;
|
|
@@ -1,37 +0,0 @@
|
|
|
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 quotes 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, quote 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 { Funds } from "./funds.zod.js";
|
|
10
|
-
import { Money } from "./money.zod.js";
|
|
11
|
-
import { QuotedDiscount } from "./quotedDiscount.zod.js";
|
|
12
|
-
import { QuoteItem } from "./quoteItem.zod.js";
|
|
13
|
-
import { QuoteRenewalResult } from "./quoteRenewalResult.zod.js";
|
|
14
|
-
export const Quote = zod
|
|
15
|
-
.strictObject({
|
|
16
|
-
funds: zod
|
|
17
|
-
.union([Funds, zod.null()])
|
|
18
|
-
.describe("Account funds for the quoted purchase. Null without an account."),
|
|
19
|
-
subtotal: Money,
|
|
20
|
-
discount_amount: Money,
|
|
21
|
-
tax_amount: Money,
|
|
22
|
-
discount: zod
|
|
23
|
-
.union([QuotedDiscount, zod.null()])
|
|
24
|
-
.describe("The discount a purchase would get, not yet applied. Null when there is none, and for renewals."),
|
|
25
|
-
items: zod.array(QuoteItem),
|
|
26
|
-
renewals: zod.array(QuoteRenewalResult),
|
|
27
|
-
total: Money,
|
|
28
|
-
currency: zod.string(),
|
|
29
|
-
proration_date: zod.iso
|
|
30
|
-
.datetime({ offset: true })
|
|
31
|
-
.nullable()
|
|
32
|
-
.describe("Immediate changes and items added to an existing subscription only; null otherwise. The instant they are priced from; pass it when confirming the Checkout Session so it is priced from the same instant."),
|
|
33
|
-
tax_status: zod
|
|
34
|
-
.enum(["complete", "requires_location_inputs"])
|
|
35
|
-
.describe("`complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included."),
|
|
36
|
-
})
|
|
37
|
-
.describe("A complete calculation in `currency`; nothing is saved or reserved. The request fails if any item cannot be priced. A Checkout Session quote gives what completing the session would invoice.");
|
|
@@ -1,16 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteAddressCountryRegExp: RegExp;
|
|
10
|
-
export declare const quoteAddressStateMax = 128;
|
|
11
|
-
export declare const QuoteAddress: zod.ZodObject<{
|
|
12
|
-
country: zod.ZodString;
|
|
13
|
-
state: zod.ZodOptional<zod.ZodString>;
|
|
14
|
-
}, zod.z.core.$strict>;
|
|
15
|
-
export type QuoteAddress = zod.input<typeof QuoteAddress>;
|
|
16
|
-
export type QuoteAddressOutput = zod.output<typeof QuoteAddress>;
|
|
@@ -1,22 +0,0 @@
|
|
|
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 quotes 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, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
|
-
* OpenAPI spec version: v1
|
|
7
|
-
*/
|
|
8
|
-
import * as zod from "zod";
|
|
9
|
-
export const quoteAddressCountryRegExp = new RegExp("^[A-Z]{2}$");
|
|
10
|
-
export const quoteAddressStateMax = 128;
|
|
11
|
-
export const QuoteAddress = zod.strictObject({
|
|
12
|
-
country: zod
|
|
13
|
-
.string()
|
|
14
|
-
.regex(quoteAddressCountryRegExp)
|
|
15
|
-
.describe("ISO 3166-1 alpha-2, two uppercase letters."),
|
|
16
|
-
state: zod
|
|
17
|
-
.string()
|
|
18
|
-
.min(1)
|
|
19
|
-
.max(quoteAddressStateMax)
|
|
20
|
-
.optional()
|
|
21
|
-
.describe("The state or province, as the tax rates name it."),
|
|
22
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteChangeInputPriceLookupKeyMax = 128;
|
|
10
|
-
export declare const quoteChangeInputPlanLookupKeyMax = 128;
|
|
11
|
-
export declare const quoteChangeInputQuantityRegExp: RegExp;
|
|
12
|
-
export declare const QuoteChangeInput: zod.ZodObject<{
|
|
13
|
-
subscription_item_id: 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 QuoteChangeInput = zod.input<typeof QuoteChangeInput>;
|
|
42
|
-
export type QuoteChangeInputOutput = zod.output<typeof QuoteChangeInput>;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteChangeInputPriceLookupKeyMax = 128;
|
|
14
|
-
export const quoteChangeInputPlanLookupKeyMax = 128;
|
|
15
|
-
export const quoteChangeInputQuantityRegExp = 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 QuoteChangeInput = zod
|
|
17
|
-
.strictObject({
|
|
18
|
-
subscription_item_id: zod.uuid(),
|
|
19
|
-
price_lookup_key: zod.string().min(1).max(quoteChangeInputPriceLookupKeyMax).optional(),
|
|
20
|
-
plan_lookup_key: zod.string().min(1).max(quoteChangeInputPlanLookupKeyMax).optional(),
|
|
21
|
-
price_id: zod.uuid().optional(),
|
|
22
|
-
product_id: ProductId.optional(),
|
|
23
|
-
plan_id: zod.uuid().optional(),
|
|
24
|
-
price_type: PriceType.optional().describe("Selects the price type instead of keeping the item's."),
|
|
25
|
-
usage_type: UsageType.optional().describe("Selects the usage type instead of keeping the item's."),
|
|
26
|
-
interval: zod.enum(["none", "day", "month", "year"]).optional(),
|
|
27
|
-
interval_count: zod.int().min(1).optional(),
|
|
28
|
-
cancellation_policy: CancellationPolicy.optional().describe("Selects among licensed prices with otherwise identical billing terms."),
|
|
29
|
-
quantity: zod
|
|
30
|
-
.string()
|
|
31
|
-
.regex(quoteChangeInputQuantityRegExp)
|
|
32
|
-
.describe("The quantity after the change."),
|
|
33
|
-
dimensions: zod
|
|
34
|
-
.record(zod.string(), zod.string())
|
|
35
|
-
.optional()
|
|
36
|
-
.describe("The dimension values after the change, given in full; omit to keep the item's."),
|
|
37
|
-
})
|
|
38
|
-
.describe("The new terms of one subscription item. Identify the price, or the plan to select one from, as for a proposed item. Without a price or billing terms, the plan's price with the item's price type, usage type, interval, interval count and cancellation policy is selected. Omitted dimensions keep the item's.");
|
|
@@ -1,14 +0,0 @@
|
|
|
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 quotes 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, quote 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 QuoteDowngradeRefund: zod.ZodObject<{
|
|
10
|
-
refundable_amount: zod.ZodString;
|
|
11
|
-
forfeited_amount: zod.ZodString;
|
|
12
|
-
}, zod.z.core.$strict>;
|
|
13
|
-
export type QuoteDowngradeRefund = zod.input<typeof QuoteDowngradeRefund>;
|
|
14
|
-
export type QuoteDowngradeRefundOutput = zod.output<typeof QuoteDowngradeRefund>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 quotes 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, quote 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 QuoteDowngradeRefund = 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 when the change takes effect.");
|
|
@@ -1,52 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteItemIndexMin = 0;
|
|
10
|
-
export declare const QuoteItem: zod.ZodObject<{
|
|
11
|
-
tax_amount: zod.ZodString;
|
|
12
|
-
tax_included_amount: zod.ZodString;
|
|
13
|
-
index: zod.ZodInt;
|
|
14
|
-
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
15
|
-
subscription_item_id: zod.ZodNullable<zod.ZodUUID>;
|
|
16
|
-
product_id: zod.ZodString;
|
|
17
|
-
plan_id: zod.ZodUUID;
|
|
18
|
-
price_id: zod.ZodUUID;
|
|
19
|
-
plan_name: zod.ZodString;
|
|
20
|
-
type: zod.ZodEnum<{
|
|
21
|
-
one_time: "one_time";
|
|
22
|
-
recurring: "recurring";
|
|
23
|
-
}>;
|
|
24
|
-
usage_type: zod.ZodEnum<{
|
|
25
|
-
licensed: "licensed";
|
|
26
|
-
metered: "metered";
|
|
27
|
-
}>;
|
|
28
|
-
interval: zod.ZodEnum<{
|
|
29
|
-
none: "none";
|
|
30
|
-
day: "day";
|
|
31
|
-
month: "month";
|
|
32
|
-
year: "year";
|
|
33
|
-
}>;
|
|
34
|
-
interval_count: zod.ZodNullable<zod.ZodInt>;
|
|
35
|
-
dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
36
|
-
setup_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
37
|
-
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
38
|
-
unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
39
|
-
quantity: zod.ZodString;
|
|
40
|
-
amount: zod.ZodString;
|
|
41
|
-
discount_amount: zod.ZodString;
|
|
42
|
-
remaining_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
43
|
-
unused_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
44
|
-
downgrade_refund: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
45
|
-
refundable_amount: zod.ZodString;
|
|
46
|
-
forfeited_amount: zod.ZodString;
|
|
47
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
48
|
-
total: zod.ZodString;
|
|
49
|
-
currency: zod.ZodString;
|
|
50
|
-
}, zod.z.core.$strict>;
|
|
51
|
-
export type QuoteItem = zod.input<typeof QuoteItem>;
|
|
52
|
-
export type QuoteItemOutput = zod.output<typeof QuoteItem>;
|
|
@@ -1,74 +0,0 @@
|
|
|
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 quotes 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, quote 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
|
-
import { PriceType } from "./priceType.zod.js";
|
|
11
|
-
import { ProductId } from "./productId.zod.js";
|
|
12
|
-
import { QuoteDowngradeRefund } from "./quoteDowngradeRefund.zod.js";
|
|
13
|
-
import { UsageType } from "./usageType.zod.js";
|
|
14
|
-
export const quoteItemIndexMin = 0;
|
|
15
|
-
export const QuoteItem = zod
|
|
16
|
-
.strictObject({
|
|
17
|
-
tax_amount: Money,
|
|
18
|
-
tax_included_amount: Money,
|
|
19
|
-
index: zod
|
|
20
|
-
.int()
|
|
21
|
-
.min(quoteItemIndexMin)
|
|
22
|
-
.describe("The zero-based index of the item or change in the request, or the item's position for a Checkout Session quote."),
|
|
23
|
-
subscription_id: zod
|
|
24
|
-
.uuid()
|
|
25
|
-
.nullable()
|
|
26
|
-
.describe("The subscription the line belongs to when it changes an item or is added to an existing subscription; null when it opens a new one."),
|
|
27
|
-
subscription_item_id: zod
|
|
28
|
-
.uuid()
|
|
29
|
-
.nullable()
|
|
30
|
-
.describe("The subscription item changed; null for a new line."),
|
|
31
|
-
product_id: ProductId,
|
|
32
|
-
plan_id: zod.uuid(),
|
|
33
|
-
price_id: zod
|
|
34
|
-
.uuid()
|
|
35
|
-
.describe("The selected price, also when the request identified it indirectly."),
|
|
36
|
-
plan_name: zod.string(),
|
|
37
|
-
type: PriceType,
|
|
38
|
-
usage_type: UsageType,
|
|
39
|
-
interval: zod
|
|
40
|
-
.enum(["none", "day", "month", "year"])
|
|
41
|
-
.describe("The billing period of a recurring licensed line; `none` otherwise."),
|
|
42
|
-
interval_count: zod
|
|
43
|
-
.int()
|
|
44
|
-
.min(1)
|
|
45
|
-
.nullable()
|
|
46
|
-
.describe("Periods per billing cycle of a recurring licensed line; null otherwise."),
|
|
47
|
-
dimensions: zod
|
|
48
|
-
.record(zod.string(), zod.string())
|
|
49
|
-
.describe("The dimension values the line is priced at."),
|
|
50
|
-
setup_amount: zod
|
|
51
|
-
.union([Money, zod.null()])
|
|
52
|
-
.describe("The setup charge already included in `amount`; null when none applies."),
|
|
53
|
-
recurring_amount: zod
|
|
54
|
-
.union([Money, zod.null()])
|
|
55
|
-
.describe("Recurring licensed lines only; null otherwise. What each later period renews at, before discounts and tax, which differs from `amount` when the first period is priced differently. `discount` says whether its discount continues on renewals."),
|
|
56
|
-
unit_amount: zod
|
|
57
|
-
.union([Money, zod.null()])
|
|
58
|
-
.describe("Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing."),
|
|
59
|
-
quantity: zod.string().describe("The quantity priced."),
|
|
60
|
-
amount: Money.describe("Amount before discounts and including any setup charge."),
|
|
61
|
-
discount_amount: Money,
|
|
62
|
-
remaining_amount: zod
|
|
63
|
-
.union([Money, zod.null()])
|
|
64
|
-
.describe("Immediate changes only; null otherwise. Before tax, the new terms for the time from `proration_date` to the end of the paid period. An upgrade invoices `remaining_amount` minus `unused_amount`."),
|
|
65
|
-
unused_amount: zod
|
|
66
|
-
.union([Money, zod.null()])
|
|
67
|
-
.describe("Immediate changes only; null otherwise. Before tax, for an upgrade or an unchanged period price, the amount paid for that time, up to the new terms' value for the same time; for a downgrade, the remaining value of what was paid, under the refund terms of each paid period."),
|
|
68
|
-
downgrade_refund: zod
|
|
69
|
-
.union([QuoteDowngradeRefund, zod.null()])
|
|
70
|
-
.describe("Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise."),
|
|
71
|
-
total: Money,
|
|
72
|
-
currency: zod.string(),
|
|
73
|
-
})
|
|
74
|
-
.describe("One fully calculated purchase line. An item with no immediate charge, such as a metered purchase, has zero checkout amounts.");
|
|
@@ -1,42 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteItemInputPriceLookupKeyMax = 128;
|
|
10
|
-
export declare const quoteItemInputPlanLookupKeyMax = 128;
|
|
11
|
-
export declare const quoteItemInputQuantityRegExp: RegExp;
|
|
12
|
-
export declare const QuoteItemInput: zod.ZodObject<{
|
|
13
|
-
price_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
14
|
-
plan_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
15
|
-
price_id: zod.ZodOptional<zod.ZodUUID>;
|
|
16
|
-
product_id: zod.ZodOptional<zod.ZodString>;
|
|
17
|
-
plan_id: zod.ZodOptional<zod.ZodUUID>;
|
|
18
|
-
price_type: zod.ZodOptional<zod.ZodEnum<{
|
|
19
|
-
one_time: "one_time";
|
|
20
|
-
recurring: "recurring";
|
|
21
|
-
}>>;
|
|
22
|
-
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
23
|
-
licensed: "licensed";
|
|
24
|
-
metered: "metered";
|
|
25
|
-
}>>;
|
|
26
|
-
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
27
|
-
none: "none";
|
|
28
|
-
day: "day";
|
|
29
|
-
month: "month";
|
|
30
|
-
year: "year";
|
|
31
|
-
}>>;
|
|
32
|
-
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
33
|
-
cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
34
|
-
immediate: "immediate";
|
|
35
|
-
period_end: "period_end";
|
|
36
|
-
}>>;
|
|
37
|
-
quantity: zod.ZodString;
|
|
38
|
-
dimensions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
39
|
-
subscription_id: zod.ZodOptional<zod.ZodUUID>;
|
|
40
|
-
}, zod.z.core.$strict>;
|
|
41
|
-
export type QuoteItemInput = zod.input<typeof QuoteItemInput>;
|
|
42
|
-
export type QuoteItemInputOutput = zod.output<typeof QuoteItemInput>;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteItemInputPriceLookupKeyMax = 128;
|
|
14
|
-
export const quoteItemInputPlanLookupKeyMax = 128;
|
|
15
|
-
export const quoteItemInputQuantityRegExp = 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 QuoteItemInput = zod
|
|
17
|
-
.strictObject({
|
|
18
|
-
price_lookup_key: zod.string().min(1).max(quoteItemInputPriceLookupKeyMax).optional(),
|
|
19
|
-
plan_lookup_key: zod.string().min(1).max(quoteItemInputPlanLookupKeyMax).optional(),
|
|
20
|
-
price_id: zod.uuid().optional(),
|
|
21
|
-
product_id: ProductId.optional(),
|
|
22
|
-
plan_id: zod.uuid().optional(),
|
|
23
|
-
price_type: PriceType.optional().describe("Narrows the selection when a plan offers more than one price type."),
|
|
24
|
-
usage_type: UsageType.optional().describe("Narrows the selection when a plan offers more than one usage type."),
|
|
25
|
-
interval: zod.enum(["none", "day", "month", "year"]).optional(),
|
|
26
|
-
interval_count: zod.int().min(1).optional(),
|
|
27
|
-
cancellation_policy: CancellationPolicy.optional().describe("Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily."),
|
|
28
|
-
quantity: zod.string().regex(quoteItemInputQuantityRegExp),
|
|
29
|
-
dimensions: zod
|
|
30
|
-
.record(zod.string(), zod.string())
|
|
31
|
-
.optional()
|
|
32
|
-
.describe("The dimension values of what is bought, such as region and instance type. 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."),
|
|
33
|
-
subscription_id: zod
|
|
34
|
-
.uuid()
|
|
35
|
-
.optional()
|
|
36
|
-
.describe("Price the line as a new item added to this existing subscription, as the owning service adds it when buying for a resource the subscription pays for. Needs `billing_account_id`, which must currently pay for the subscription. A licensed line is priced up to the subscription's `current_term_end`, the rest of the current period in proportion to the time left from `proration_date`, and must have the subscription's interval and interval count; a metered line has no immediate charge; added to a trialing subscription, the line is free until the trial ends."),
|
|
37
|
-
})
|
|
38
|
-
.describe("Identify a price, or select one for a plan; give each resource's ID or lookup key, never both, and product_id with lookup keys. A metered item includes only any setup charge; its usage is estimated with `estimate-usage`.");
|
|
@@ -1,26 +0,0 @@
|
|
|
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 quotes 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, quote 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 quoteRenewalPeriodsDefault = 1;
|
|
10
|
-
export declare const quoteRenewalPeriodsMax = 100;
|
|
11
|
-
export declare const QuoteRenewal: zod.ZodObject<{
|
|
12
|
-
subscription_id: zod.ZodUUID;
|
|
13
|
-
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
14
|
-
day: "day";
|
|
15
|
-
month: "month";
|
|
16
|
-
year: "year";
|
|
17
|
-
}>>;
|
|
18
|
-
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
19
|
-
cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
20
|
-
immediate: "immediate";
|
|
21
|
-
period_end: "period_end";
|
|
22
|
-
}>>;
|
|
23
|
-
periods: zod.ZodDefault<zod.ZodInt>;
|
|
24
|
-
}, zod.z.core.$strict>;
|
|
25
|
-
export type QuoteRenewal = zod.input<typeof QuoteRenewal>;
|
|
26
|
-
export type QuoteRenewalOutput = zod.output<typeof QuoteRenewal>;
|
|
@@ -1,25 +0,0 @@
|
|
|
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 quotes 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, quote 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
|
-
export const quoteRenewalPeriodsDefault = 1;
|
|
11
|
-
export const quoteRenewalPeriodsMax = 100;
|
|
12
|
-
export const QuoteRenewal = zod
|
|
13
|
-
.strictObject({
|
|
14
|
-
subscription_id: zod.uuid(),
|
|
15
|
-
interval: zod.enum(["day", "month", "year"]).optional(),
|
|
16
|
-
interval_count: zod.int().min(1).optional(),
|
|
17
|
-
cancellation_policy: CancellationPolicy.optional().describe("With `interval` and `interval_count`, renews every item at its price of that term with this cancellation policy."),
|
|
18
|
-
periods: zod
|
|
19
|
-
.int()
|
|
20
|
-
.min(1)
|
|
21
|
-
.max(quoteRenewalPeriodsMax)
|
|
22
|
-
.default(quoteRenewalPeriodsDefault)
|
|
23
|
-
.describe("How many consecutive periods to renew for."),
|
|
24
|
-
})
|
|
25
|
-
.describe("Price renewing a whole subscription: every continuing licensed item. Give `interval` with\n`interval_count` to renew for another term at the price each item currently sells it for, with\nits own cancellation policy or the only price of that term. Naming the current term, or giving\nneither, renews every item at its agreed amount. A term an item does not sell is refused with\n409 `BILLING_RENEWAL_PRICE_UNAVAILABLE` and `meta.subscription_item_id`; prices the rule cannot\nchoose between, with 409 `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.");
|
|
@@ -1,17 +0,0 @@
|
|
|
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 quotes 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, quote 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 QuoteRenewalItem: zod.ZodObject<{
|
|
10
|
-
subscription_item_id: zod.ZodUUID;
|
|
11
|
-
plan_id: zod.ZodUUID;
|
|
12
|
-
plan_name: zod.ZodString;
|
|
13
|
-
price_id: zod.ZodUUID;
|
|
14
|
-
amount: zod.ZodString;
|
|
15
|
-
}, zod.z.core.$strict>;
|
|
16
|
-
export type QuoteRenewalItem = zod.input<typeof QuoteRenewalItem>;
|
|
17
|
-
export type QuoteRenewalItemOutput = zod.output<typeof QuoteRenewalItem>;
|
|
@@ -1,18 +0,0 @@
|
|
|
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 quotes 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, quote 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 QuoteRenewalItem = zod
|
|
11
|
-
.strictObject({
|
|
12
|
-
subscription_item_id: zod.uuid(),
|
|
13
|
-
plan_id: zod.uuid(),
|
|
14
|
-
plan_name: zod.string(),
|
|
15
|
-
price_id: zod.uuid().describe("The price the item is charged under."),
|
|
16
|
-
amount: Money.describe("The price of the periods for this item before the account's discounts."),
|
|
17
|
-
})
|
|
18
|
-
.describe("One item of a quoted renewal.");
|