@leaflow/sdk 0.0.0-dev.379.g796e6e7 → 0.0.0-dev.383.gb69023e
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/v1/generated/functions.d.ts +61 -41
- package/dist/billing/v1/generated/functions.js +60 -40
- package/dist/billing/v1/generated/models.d.ts +31 -31
- package/dist/billing/v1/generated/schemas.zod.d.ts +56 -37
- package/dist/billing/v1/generated/schemas.zod.js +83 -64
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +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/cancellationList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationList.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/cancellationPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/error.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRatesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRatesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRatesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRatesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/order.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/price.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/product.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productID.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rateList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rateList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +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/taxItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/routes.d.ts +2992 -2992
- package/dist/routes.js +3005 -3005
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Leaflow Billing API
|
|
5
|
-
* Products, prices, orders, subscriptions and account billing.
|
|
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, and, with project permissions granted in IAM, change its subscriptions (`billing:subscription.write`), change its billing account (`billing:project_assignment.write`) and read its costs (`billing:cost.read`). A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
@@ -2758,7 +2758,7 @@ export interface UsageEstimate {
|
|
|
2758
2758
|
*/
|
|
2759
2759
|
export interface QuoteRequest {
|
|
2760
2760
|
/**
|
|
2761
|
-
* The billing account to price for; it must be yours, and an access token is required. Renewals must currently be paid by it.
|
|
2761
|
+
* The billing account to price for; it must be yours or currently pay for a project you are a member of, and an access token is required. Renewals must currently be paid by it.
|
|
2762
2762
|
* @minimum 1
|
|
2763
2763
|
*/
|
|
2764
2764
|
billing_account_id?: number;
|
|
@@ -3178,7 +3178,7 @@ export type FromParameter = string;
|
|
|
3178
3178
|
*/
|
|
3179
3179
|
export type ToParameter = string;
|
|
3180
3180
|
/**
|
|
3181
|
-
* Only this account of yours
|
|
3181
|
+
* Only this account; all of yours when omitted.
|
|
3182
3182
|
*/
|
|
3183
3183
|
export type AccountIdQueryParameter = number;
|
|
3184
3184
|
/**
|
|
@@ -3191,7 +3191,7 @@ export type FromRequiredParameter = string;
|
|
|
3191
3191
|
*/
|
|
3192
3192
|
export type ToRequiredParameter = string;
|
|
3193
3193
|
/**
|
|
3194
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3194
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3195
3195
|
*/
|
|
3196
3196
|
export type ProjectIdsQueryParameter = string[];
|
|
3197
3197
|
export type ListWithdrawalItemsParams = {
|
|
@@ -3294,7 +3294,7 @@ export type ListProjectAssignmentsParams = {
|
|
|
3294
3294
|
page_size?: number;
|
|
3295
3295
|
billing_account_id?: number;
|
|
3296
3296
|
/**
|
|
3297
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3297
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3298
3298
|
* @minItems 1
|
|
3299
3299
|
* @maxItems 100
|
|
3300
3300
|
*/
|
|
@@ -3314,7 +3314,7 @@ export type ListTopUpsParams = {
|
|
|
3314
3314
|
*/
|
|
3315
3315
|
page_size?: number;
|
|
3316
3316
|
/**
|
|
3317
|
-
* Only this account of yours
|
|
3317
|
+
* Only this account; all of yours when omitted.
|
|
3318
3318
|
*/
|
|
3319
3319
|
billing_account_id?: AccountIdQueryParameter;
|
|
3320
3320
|
};
|
|
@@ -3332,7 +3332,7 @@ export type ListPaymentMethodsParams = {
|
|
|
3332
3332
|
*/
|
|
3333
3333
|
page_size?: number;
|
|
3334
3334
|
/**
|
|
3335
|
-
* Only this account of yours
|
|
3335
|
+
* Only this account; all of yours when omitted.
|
|
3336
3336
|
*/
|
|
3337
3337
|
billing_account_id?: AccountIdQueryParameter;
|
|
3338
3338
|
};
|
|
@@ -3360,7 +3360,7 @@ export type ListInvoicesParams = {
|
|
|
3360
3360
|
*/
|
|
3361
3361
|
page_size?: number;
|
|
3362
3362
|
/**
|
|
3363
|
-
* Only this account of yours
|
|
3363
|
+
* Only this account; all of yours when omitted.
|
|
3364
3364
|
*/
|
|
3365
3365
|
billing_account_id?: AccountIdQueryParameter;
|
|
3366
3366
|
status?: InvoiceStatus;
|
|
@@ -3402,7 +3402,7 @@ export type ListTransactionsParams = {
|
|
|
3402
3402
|
*/
|
|
3403
3403
|
page_size?: number;
|
|
3404
3404
|
/**
|
|
3405
|
-
* Only this account of yours
|
|
3405
|
+
* Only this account; all of yours when omitted.
|
|
3406
3406
|
*/
|
|
3407
3407
|
billing_account_id?: AccountIdQueryParameter;
|
|
3408
3408
|
from?: FromParameter;
|
|
@@ -3425,7 +3425,7 @@ export type ListAccountDiscountsParams = {
|
|
|
3425
3425
|
*/
|
|
3426
3426
|
page_size?: number;
|
|
3427
3427
|
/**
|
|
3428
|
-
* Only this account of yours
|
|
3428
|
+
* Only this account; all of yours when omitted.
|
|
3429
3429
|
*/
|
|
3430
3430
|
billing_account_id?: AccountIdQueryParameter;
|
|
3431
3431
|
};
|
|
@@ -3443,7 +3443,7 @@ export type ListCreditGrantsParams = {
|
|
|
3443
3443
|
*/
|
|
3444
3444
|
page_size?: number;
|
|
3445
3445
|
/**
|
|
3446
|
-
* Only this account of yours
|
|
3446
|
+
* Only this account; all of yours when omitted.
|
|
3447
3447
|
*/
|
|
3448
3448
|
billing_account_id?: AccountIdQueryParameter;
|
|
3449
3449
|
status?: ListCreditGrantsStatus;
|
|
@@ -3469,7 +3469,7 @@ export type ListCreditNotesParams = {
|
|
|
3469
3469
|
*/
|
|
3470
3470
|
page_size?: number;
|
|
3471
3471
|
/**
|
|
3472
|
-
* Only this account of yours
|
|
3472
|
+
* Only this account; all of yours when omitted.
|
|
3473
3473
|
*/
|
|
3474
3474
|
billing_account_id?: AccountIdQueryParameter;
|
|
3475
3475
|
/**
|
|
@@ -3505,7 +3505,7 @@ export type ListRefundsParams = {
|
|
|
3505
3505
|
*/
|
|
3506
3506
|
page_size?: number;
|
|
3507
3507
|
/**
|
|
3508
|
-
* Only this account of yours
|
|
3508
|
+
* Only this account; all of yours when omitted.
|
|
3509
3509
|
*/
|
|
3510
3510
|
billing_account_id?: AccountIdQueryParameter;
|
|
3511
3511
|
/**
|
|
@@ -3531,7 +3531,7 @@ export type ListUsageChargesParams = {
|
|
|
3531
3531
|
*/
|
|
3532
3532
|
page_size?: number;
|
|
3533
3533
|
/**
|
|
3534
|
-
* Only this account of yours
|
|
3534
|
+
* Only this account; all of yours when omitted.
|
|
3535
3535
|
*/
|
|
3536
3536
|
billing_account_id?: AccountIdQueryParameter;
|
|
3537
3537
|
product_id?: ProductID;
|
|
@@ -3546,7 +3546,7 @@ export type ListUsageChargesParams = {
|
|
|
3546
3546
|
*/
|
|
3547
3547
|
to?: ToParameter;
|
|
3548
3548
|
/**
|
|
3549
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3549
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3550
3550
|
* @minItems 1
|
|
3551
3551
|
* @maxItems 100
|
|
3552
3552
|
*/
|
|
@@ -3569,11 +3569,11 @@ export type ListSubscriptionsParams = {
|
|
|
3569
3569
|
*/
|
|
3570
3570
|
page_size?: number;
|
|
3571
3571
|
/**
|
|
3572
|
-
* Only this account of yours
|
|
3572
|
+
* Only this account; all of yours when omitted.
|
|
3573
3573
|
*/
|
|
3574
3574
|
billing_account_id?: AccountIdQueryParameter;
|
|
3575
3575
|
/**
|
|
3576
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3576
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3577
3577
|
* @minItems 1
|
|
3578
3578
|
* @maxItems 100
|
|
3579
3579
|
*/
|
|
@@ -3593,7 +3593,7 @@ export type ListCancellationsParams = {
|
|
|
3593
3593
|
*/
|
|
3594
3594
|
page_size?: number;
|
|
3595
3595
|
/**
|
|
3596
|
-
* Only this account of yours
|
|
3596
|
+
* Only this account; all of yours when omitted.
|
|
3597
3597
|
*/
|
|
3598
3598
|
billing_account_id?: AccountIdQueryParameter;
|
|
3599
3599
|
/**
|
|
@@ -3605,7 +3605,7 @@ export type ListCancellationsParams = {
|
|
|
3605
3605
|
*/
|
|
3606
3606
|
status?: ListCancellationsStatus;
|
|
3607
3607
|
/**
|
|
3608
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3608
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3609
3609
|
* @minItems 1
|
|
3610
3610
|
* @maxItems 100
|
|
3611
3611
|
*/
|
|
@@ -3649,7 +3649,7 @@ export type ListAllowancesParams = {
|
|
|
3649
3649
|
*/
|
|
3650
3650
|
page_size?: number;
|
|
3651
3651
|
/**
|
|
3652
|
-
* Only this account of yours
|
|
3652
|
+
* Only this account; all of yours when omitted.
|
|
3653
3653
|
*/
|
|
3654
3654
|
billing_account_id?: AccountIdQueryParameter;
|
|
3655
3655
|
/**
|
|
@@ -3659,7 +3659,7 @@ export type ListAllowancesParams = {
|
|
|
3659
3659
|
status?: ListAllowancesStatus;
|
|
3660
3660
|
product_id?: ProductID;
|
|
3661
3661
|
/**
|
|
3662
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3662
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3663
3663
|
* @minItems 1
|
|
3664
3664
|
* @maxItems 100
|
|
3665
3665
|
*/
|
|
@@ -3686,12 +3686,12 @@ export type ListCheckoutSessionsParams = {
|
|
|
3686
3686
|
*/
|
|
3687
3687
|
page_size?: number;
|
|
3688
3688
|
/**
|
|
3689
|
-
* Only this account of yours
|
|
3689
|
+
* Only this account; all of yours when omitted.
|
|
3690
3690
|
*/
|
|
3691
3691
|
billing_account_id?: AccountIdQueryParameter;
|
|
3692
3692
|
status?: CheckoutSessionStatus;
|
|
3693
3693
|
/**
|
|
3694
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3694
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3695
3695
|
* @minItems 1
|
|
3696
3696
|
* @maxItems 100
|
|
3697
3697
|
*/
|
|
@@ -3732,7 +3732,7 @@ export type ListOrdersParams = {
|
|
|
3732
3732
|
*/
|
|
3733
3733
|
page_size?: number;
|
|
3734
3734
|
/**
|
|
3735
|
-
* Only this account of yours
|
|
3735
|
+
* Only this account; all of yours when omitted.
|
|
3736
3736
|
*/
|
|
3737
3737
|
billing_account_id?: AccountIdQueryParameter;
|
|
3738
3738
|
status?: OrderStatus;
|
|
@@ -3742,7 +3742,7 @@ export type ListOrdersParams = {
|
|
|
3742
3742
|
*/
|
|
3743
3743
|
to?: ToParameter;
|
|
3744
3744
|
/**
|
|
3745
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3745
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3746
3746
|
* @minItems 1
|
|
3747
3747
|
* @maxItems 100
|
|
3748
3748
|
*/
|
|
@@ -3784,11 +3784,11 @@ export type ListEntitlementsParams = {
|
|
|
3784
3784
|
*/
|
|
3785
3785
|
page_size?: number;
|
|
3786
3786
|
/**
|
|
3787
|
-
* Only this account of yours
|
|
3787
|
+
* Only this account; all of yours when omitted.
|
|
3788
3788
|
*/
|
|
3789
3789
|
billing_account_id?: AccountIdQueryParameter;
|
|
3790
3790
|
/**
|
|
3791
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3791
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3792
3792
|
* @minItems 1
|
|
3793
3793
|
* @maxItems 100
|
|
3794
3794
|
*/
|
|
@@ -3809,7 +3809,7 @@ export type ListFeatureGrantsParams = {
|
|
|
3809
3809
|
*/
|
|
3810
3810
|
page_size?: number;
|
|
3811
3811
|
/**
|
|
3812
|
-
* Only this account of yours
|
|
3812
|
+
* Only this account; all of yours when omitted.
|
|
3813
3813
|
*/
|
|
3814
3814
|
billing_account_id?: AccountIdQueryParameter;
|
|
3815
3815
|
product_id?: ProductID;
|
|
@@ -3973,11 +3973,11 @@ export type ListActiveResourcesParams = {
|
|
|
3973
3973
|
page_size?: number;
|
|
3974
3974
|
resource_id?: string;
|
|
3975
3975
|
/**
|
|
3976
|
-
* Only this account of yours
|
|
3976
|
+
* Only this account; all of yours when omitted.
|
|
3977
3977
|
*/
|
|
3978
3978
|
billing_account_id?: AccountIdQueryParameter;
|
|
3979
3979
|
/**
|
|
3980
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
3980
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
3981
3981
|
* @minItems 1
|
|
3982
3982
|
* @maxItems 100
|
|
3983
3983
|
*/
|
|
@@ -4024,7 +4024,7 @@ export type ListSpendParams = {
|
|
|
4024
4024
|
*/
|
|
4025
4025
|
billing_account_id: number;
|
|
4026
4026
|
/**
|
|
4027
|
-
* Only records of these projects. Omit for all projects and account-level records.
|
|
4027
|
+
* Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
|
|
4028
4028
|
* @minItems 1
|
|
4029
4029
|
* @maxItems 100
|
|
4030
4030
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by orval 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Leaflow Billing API
|
|
5
|
-
* Products, prices, orders, subscriptions and account billing.
|
|
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, and, with project permissions granted in IAM, change its subscriptions (`billing:subscription.write`), change its billing account (`billing:project_assignment.write`) and read its costs (`billing:cost.read`). A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
@@ -161,7 +161,7 @@ export declare const CreateBillingAccountBody: zod.ZodObject<{
|
|
|
161
161
|
name: zod.ZodOptional<zod.ZodString>;
|
|
162
162
|
}, zod.z.core.$strict>;
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
164
|
+
* A billing account with its currency, status and invoice contact, readable by its owner and by members of the projects it currently pays for. Returns 404 if it does not exist and 403 to anyone else.
|
|
165
165
|
* @summary Get billing account
|
|
166
166
|
*/
|
|
167
167
|
export declare const GetBillingAccountParams: zod.ZodObject<{
|
|
@@ -198,14 +198,14 @@ export declare const ResumeBillingAccountParams: zod.ZodObject<{
|
|
|
198
198
|
accountId: zod.ZodInt;
|
|
199
199
|
}, zod.z.core.$strict>;
|
|
200
200
|
/**
|
|
201
|
-
* The balance of
|
|
201
|
+
* The balance of an account, with credit groups, unpaid invoice amounts, unbilled estimates and pending returns, readable by its owner and by members of the projects it currently pays for. Returns 404 for a missing account and 403 to anyone else.
|
|
202
202
|
* @summary Get account balance
|
|
203
203
|
*/
|
|
204
204
|
export declare const GetAccountBalanceParams: zod.ZodObject<{
|
|
205
205
|
accountId: zod.ZodInt;
|
|
206
206
|
}, zod.z.core.$strict>;
|
|
207
207
|
/**
|
|
208
|
-
* The payment gateways and methods currently accepting the account's currency, preferred gateway first. Top-ups and invoice payments must use one listed here. An empty result means online payment is unavailable for the account.
|
|
208
|
+
* The payment gateways and methods currently accepting the account's currency, preferred gateway first. Top-ups and invoice payments must use one listed here. An empty result means online payment is unavailable for the account. Open to the owner of the account and to members of the projects it currently pays for.
|
|
209
209
|
* @summary List payment options
|
|
210
210
|
*/
|
|
211
211
|
export declare const ListPaymentOptionsParams: zod.ZodObject<{
|
|
@@ -235,14 +235,15 @@ export declare const ListProjectAssignmentsQueryParams: zod.ZodObject<{
|
|
|
235
235
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
236
236
|
}, zod.z.core.$strict>;
|
|
237
237
|
/**
|
|
238
|
-
* The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
|
|
238
|
+
* The project's current assignment, readable by the owner of the assigned account and by members of the project. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
|
|
239
239
|
* @summary Get project assignment
|
|
240
240
|
*/
|
|
241
241
|
export declare const GetProjectAssignmentParams: zod.ZodObject<{
|
|
242
242
|
projectId: zod.ZodUUID;
|
|
243
243
|
}, zod.z.core.$strict>;
|
|
244
244
|
/**
|
|
245
|
-
* Links the project to a billing account
|
|
245
|
+
* Links the project to a billing account you own; you need the project permission
|
|
246
|
+
* `billing:project_assignment.write`. A project without one is linked directly. Moving it to another
|
|
246
247
|
* account has the same requirements as unlinking: you own both accounts, the project has no metered resources,
|
|
247
248
|
* no subscriptions that have not ended and no orders in progress, and the current account has no unpaid
|
|
248
249
|
* invoices. Nothing moves with the project; charges already incurred stay with the account linked when they
|
|
@@ -258,7 +259,7 @@ export declare const SetProjectAssignmentBody: zod.ZodObject<{
|
|
|
258
259
|
billing_account_id: zod.ZodInt;
|
|
259
260
|
}, zod.z.core.$strict>;
|
|
260
261
|
/**
|
|
261
|
-
* Ends the project's current assignment; the assignment history is kept. Allowed only when the project has no metered resources, no subscriptions that have not ended and no orders in progress, including period-end changes, and the billing account has no unpaid invoices; invoices of orders awaiting payment do not count. Orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual. The project cannot make purchases until a billing account is linked again.
|
|
262
|
+
* Ends the project's current assignment; the assignment history is kept. You need to own the account and hold the project permission `billing:project_assignment.write`. Allowed only when the project has no metered resources, no subscriptions that have not ended and no orders in progress, including period-end changes, and the billing account has no unpaid invoices; invoices of orders awaiting payment do not count. Orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual. The project cannot make purchases until a billing account is linked again.
|
|
262
263
|
* @summary Unlink project billing account
|
|
263
264
|
*/
|
|
264
265
|
export declare const UnlinkProjectBillingAccountParams: zod.ZodObject<{
|
|
@@ -366,6 +367,9 @@ export declare const DeletePaymentMethodParams: zod.ZodObject<{
|
|
|
366
367
|
* `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `fractional_amount` when the amount left for the gateway is
|
|
367
368
|
* not a whole number of the currency's minor unit; such an invoice is collected from credit grants and balance
|
|
368
369
|
* automatically, including right after a top-up.
|
|
370
|
+
*
|
|
371
|
+
* Open to the owner of the invoice's billing account and, for the invoice of an order of a project, to members
|
|
372
|
+
* of the project. Only the owner can pay with a saved `payment_method_id`.
|
|
369
373
|
* @summary Pay an invoice
|
|
370
374
|
*/
|
|
371
375
|
export declare const PayInvoiceParams: zod.ZodObject<{
|
|
@@ -386,7 +390,7 @@ export declare const PayInvoiceBody: zod.ZodObject<{
|
|
|
386
390
|
* Nothing is charged, reserved or created.
|
|
387
391
|
*
|
|
388
392
|
* Refused with the same errors as paying, except that insufficient funds are not an error here:
|
|
389
|
-
* they show as a `gateway_amount` above zero.
|
|
393
|
+
* they show as a `gateway_amount` above zero. Open to the same callers as paying.
|
|
390
394
|
* @summary Preview invoice payment
|
|
391
395
|
*/
|
|
392
396
|
export declare const PreviewInvoicePaymentParams: zod.ZodObject<{
|
|
@@ -439,14 +443,14 @@ export declare const ListInvoicesQueryParams: zod.ZodObject<{
|
|
|
439
443
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
440
444
|
}, zod.z.core.$strict>;
|
|
441
445
|
/**
|
|
442
|
-
* An issued invoice of your billing account, with its amounts, tax lines and payment state. A missing or unissued invoice returns 404;
|
|
446
|
+
* An issued invoice of your billing account, or the invoice of an order of a project you are a member of, with its amounts, tax lines and payment state. A missing or unissued invoice returns 404; any other invoice returns 403.
|
|
443
447
|
* @summary Get invoice
|
|
444
448
|
*/
|
|
445
449
|
export declare const GetInvoiceParams: zod.ZodObject<{
|
|
446
450
|
invoiceId: zod.ZodUUID;
|
|
447
451
|
}, zod.z.core.$strict>;
|
|
448
452
|
/**
|
|
449
|
-
* Lines of an
|
|
453
|
+
* Lines of an invoice readable with get-invoice, with their service periods and projects. A missing or unissued invoice returns 404; any other invoice returns 403.
|
|
450
454
|
* @summary List invoice items
|
|
451
455
|
*/
|
|
452
456
|
export declare const ListInvoiceItemsParams: zod.ZodObject<{
|
|
@@ -559,7 +563,7 @@ export declare const ListRefundsQueryParams: zod.ZodObject<{
|
|
|
559
563
|
order_id: zod.ZodOptional<zod.ZodUUID>;
|
|
560
564
|
}, zod.z.core.$strict>;
|
|
561
565
|
/**
|
|
562
|
-
* Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
|
|
566
|
+
* Priced usage charges in the requested scope; members with the project permission `billing:cost.read` list a project's charges with `project_ids`. Usage that had no price when it occurred is never charged later.
|
|
563
567
|
* @summary List usage charges
|
|
564
568
|
*/
|
|
565
569
|
export declare const listUsageChargesQueryPageDefault = 1;
|
|
@@ -583,7 +587,7 @@ export declare const ListUsageChargesQueryParams: zod.ZodObject<{
|
|
|
583
587
|
statement_id: zod.ZodOptional<zod.ZodUUID>;
|
|
584
588
|
}, zod.z.core.$strict>;
|
|
585
589
|
/**
|
|
586
|
-
* Subscriptions
|
|
590
|
+
* Subscriptions paid by your billing accounts; members of a project list its subscriptions with `project_ids`. Deleted subscriptions are not listed.
|
|
587
591
|
* @summary List subscriptions
|
|
588
592
|
*/
|
|
589
593
|
export declare const listSubscriptionsQueryPageDefault = 1;
|
|
@@ -599,14 +603,14 @@ export declare const ListSubscriptionsQueryParams: zod.ZodObject<{
|
|
|
599
603
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
600
604
|
}, zod.z.core.$strict>;
|
|
601
605
|
/**
|
|
602
|
-
* A subscription
|
|
606
|
+
* A subscription paid by your billing account or of a project you are a member of. Deleted subscriptions are reported as not found.
|
|
603
607
|
* @summary Get subscription
|
|
604
608
|
*/
|
|
605
609
|
export declare const GetSubscriptionParams: zod.ZodObject<{
|
|
606
610
|
subscriptionId: zod.ZodUUID;
|
|
607
611
|
}, zod.z.core.$strict>;
|
|
608
612
|
/**
|
|
609
|
-
* Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept.
|
|
613
|
+
* Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. Only the owner of the subscription's current billing account can delete it. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
|
|
610
614
|
* @summary Delete subscription
|
|
611
615
|
*/
|
|
612
616
|
export declare const DeleteSubscriptionParams: zod.ZodObject<{
|
|
@@ -614,8 +618,9 @@ export declare const DeleteSubscriptionParams: zod.ZodObject<{
|
|
|
614
618
|
}, zod.z.core.$strict>;
|
|
615
619
|
/**
|
|
616
620
|
* Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
|
|
617
|
-
* refund amount from a quote with this subscription in `cancellation.subscription_ids`.
|
|
618
|
-
*
|
|
621
|
+
* refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
|
|
622
|
+
* subscription's current billing account and to members of its project with the project permission
|
|
623
|
+
* `billing:subscription.write`.
|
|
619
624
|
*
|
|
620
625
|
* Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
|
|
621
626
|
* subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
|
|
@@ -637,7 +642,7 @@ export declare const CancelSubscriptionBody: zod.ZodObject<{
|
|
|
637
642
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
638
643
|
}, zod.z.core.$strict>;
|
|
639
644
|
/**
|
|
640
|
-
* Newest first
|
|
645
|
+
* Newest first; members of a project list its cancellations with `project_ids`. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
|
|
641
646
|
* @summary List cancellations
|
|
642
647
|
*/
|
|
643
648
|
export declare const listCancellationsQueryPageDefault = 1;
|
|
@@ -663,7 +668,9 @@ export declare const ListCancellationsQueryParams: zod.ZodObject<{
|
|
|
663
668
|
}, zod.z.core.$strict>;
|
|
664
669
|
/**
|
|
665
670
|
* Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
|
|
666
|
-
* subscription released with it, such as a server with its disks or an address with its bandwidth.
|
|
671
|
+
* subscription released with it, such as a server with its disks or an address with its bandwidth. Open to the
|
|
672
|
+
* owner of the subscriptions' current billing account and to members of their project with the project
|
|
673
|
+
* permission `billing:subscription.write`.
|
|
667
674
|
*
|
|
668
675
|
* The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
|
|
669
676
|
* term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
|
|
@@ -705,21 +712,21 @@ export declare const CreateCancellationBody: zod.ZodObject<{
|
|
|
705
712
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
706
713
|
}, zod.z.core.$strict>;
|
|
707
714
|
/**
|
|
708
|
-
* A cancellation
|
|
715
|
+
* A cancellation paid by your billing account or of a project you are a member of, with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
|
|
709
716
|
* @summary Get a cancellation
|
|
710
717
|
*/
|
|
711
718
|
export declare const GetCancellationParams: zod.ZodObject<{
|
|
712
719
|
cancellationId: zod.ZodUUID;
|
|
713
720
|
}, zod.z.core.$strict>;
|
|
714
721
|
/**
|
|
715
|
-
* Withdraws the whole cancellation while no resource has begun to be released; afterwards it is refused with 409 `BILLING_CANCELLATION_CONFLICT`. The subscriptions continue, but automatic renewal, turned off when the cancellation was created, stays off until it is turned on again. Withdrawing a withdrawn cancellation returns it unchanged.
|
|
722
|
+
* Withdraws the whole cancellation while no resource has begun to be released; afterwards it is refused with 409 `BILLING_CANCELLATION_CONFLICT`. The subscriptions continue, but automatic renewal, turned off when the cancellation was created, stays off until it is turned on again. Withdrawing a withdrawn cancellation returns it unchanged. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:subscription.write`.
|
|
716
723
|
* @summary Withdraw a cancellation
|
|
717
724
|
*/
|
|
718
725
|
export declare const WithdrawCancellationParams: zod.ZodObject<{
|
|
719
726
|
cancellationId: zod.ZodUUID;
|
|
720
727
|
}, zod.z.core.$strict>;
|
|
721
728
|
/**
|
|
722
|
-
* Lists the current renewal agreement and available intervals. The current option preserves recurring_amount; other options use current prices. Amounts cover the whole subscription quantity and exclude tax.
|
|
729
|
+
* Lists the current renewal agreement and available intervals. The current option preserves recurring_amount; other options use current prices. Amounts cover the whole subscription quantity and exclude tax. Open to the owner of the subscription's current billing account and to members of its project.
|
|
723
730
|
* @summary List the terms this item can be renewed for
|
|
724
731
|
*/
|
|
725
732
|
export declare const ListRenewalPricesParams: zod.ZodObject<{
|
|
@@ -742,6 +749,9 @@ export declare const ListRenewalPricesQueryParams: zod.ZodObject<{
|
|
|
742
749
|
* `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
|
|
743
750
|
* order is left. To apply a promotion code or pay later, create a renewal Checkout Session.
|
|
744
751
|
*
|
|
752
|
+
* Open to the owner of the subscription's current billing account and to members of its project with the
|
|
753
|
+
* project permission `billing:subscription.write`. Only the owner can pay with `payment_method_id`.
|
|
754
|
+
*
|
|
745
755
|
* Keep order_id and read the order after an unknown outcome; creating it again conflicts.
|
|
746
756
|
* @summary Renew subscription
|
|
747
757
|
*/
|
|
@@ -767,7 +777,7 @@ export declare const RenewSubscriptionBody: zod.ZodObject<{
|
|
|
767
777
|
return_url: zod.ZodOptional<zod.ZodString>;
|
|
768
778
|
}, zod.z.core.$strict>;
|
|
769
779
|
/**
|
|
770
|
-
* Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on.
|
|
780
|
+
* Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on. Open to the owner of the subscription's current billing account and to members of its project with the project permission `billing:subscription.write`.
|
|
771
781
|
* @summary Set auto renew
|
|
772
782
|
*/
|
|
773
783
|
export declare const SetAutoRenewParams: zod.ZodObject<{
|
|
@@ -777,7 +787,7 @@ export declare const SetAutoRenewBody: zod.ZodObject<{
|
|
|
777
787
|
auto_renew: zod.ZodBoolean;
|
|
778
788
|
}, zod.z.core.$strict>;
|
|
779
789
|
/**
|
|
780
|
-
* Remaining usage quantities, such as bytes, seconds or tokens
|
|
790
|
+
* Remaining usage quantities, such as bytes, seconds or tokens; members of a project list its allowances with `project_ids`. Applicable allowances are consumed before usage is charged: lower priority values first, then earlier expiry, then earlier issuance. Unused quantity expires without refund or carry-over. Promotional allowances apply to usage paid by their holding account; included allowances apply only to their subscription, also after its project moves to another billing account.
|
|
781
791
|
* @summary List allowances
|
|
782
792
|
*/
|
|
783
793
|
export declare const listAllowancesQueryPageDefault = 1;
|
|
@@ -802,7 +812,7 @@ export declare const ListAllowancesQueryParams: zod.ZodObject<{
|
|
|
802
812
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
803
813
|
}, zod.z.core.$strict>;
|
|
804
814
|
/**
|
|
805
|
-
* Checkout Sessions of your billing accounts, newest first
|
|
815
|
+
* Checkout Sessions of your billing accounts, newest first; members of a project list its sessions with `project_ids`. An open session is a purchase waiting for checkout to be completed.
|
|
806
816
|
* @summary List Checkout Sessions
|
|
807
817
|
*/
|
|
808
818
|
export declare const listCheckoutSessionsQueryPageDefault = 1;
|
|
@@ -822,13 +832,15 @@ export declare const ListCheckoutSessionsQueryParams: zod.ZodObject<{
|
|
|
822
832
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
823
833
|
}, zod.z.core.$strict>;
|
|
824
834
|
/**
|
|
825
|
-
* Opens a Checkout Session renewing
|
|
835
|
+
* Opens a Checkout Session renewing a licensed subscription, with periods and price chosen as in
|
|
826
836
|
* renewing. Nothing is charged until you complete it, when a promotion code can be applied; it then renews from
|
|
827
837
|
* the subscription's current_term_end at that time. To renew at once from credit grants, balance or a payment
|
|
828
838
|
* method, renew the subscription instead. Purchases and changes of a service's resources are created through
|
|
829
839
|
* that service.
|
|
830
840
|
*
|
|
831
|
-
*
|
|
841
|
+
* Open to the owner of the subscription's current billing account and to members of its project with the
|
|
842
|
+
* project permission `billing:subscription.write`. Keep `checkout_session_id` and read the session after an
|
|
843
|
+
* unknown outcome; creating it again conflicts.
|
|
832
844
|
* @summary Create a renewal Checkout Session
|
|
833
845
|
*/
|
|
834
846
|
export declare const CreateCheckoutSessionBody: zod.ZodObject<{
|
|
@@ -847,14 +859,14 @@ export declare const CreateCheckoutSessionBody: zod.ZodObject<{
|
|
|
847
859
|
}>>;
|
|
848
860
|
}, zod.z.core.$strict>;
|
|
849
861
|
/**
|
|
850
|
-
* A Checkout Session of your billing account. Poll it to follow checkout; once it is complete, read its order for payment and delivery. An unknown session returns 404;
|
|
862
|
+
* A Checkout Session of your billing account or of a project you are a member of. Poll it to follow checkout; once it is complete, read its order for payment and delivery. An unknown session returns 404; any other session returns 403.
|
|
851
863
|
* @summary Get a Checkout Session
|
|
852
864
|
*/
|
|
853
865
|
export declare const GetCheckoutSessionParams: zod.ZodObject<{
|
|
854
866
|
checkoutSessionId: zod.ZodUUID;
|
|
855
867
|
}, zod.z.core.$strict>;
|
|
856
868
|
/**
|
|
857
|
-
* What the session buys, by position. Prices and amounts are in its quote.
|
|
869
|
+
* What the session buys, by position. Prices and amounts are in its quote. Readable by whoever can read the session.
|
|
858
870
|
* @summary List Checkout Session items
|
|
859
871
|
*/
|
|
860
872
|
export declare const ListCheckoutSessionItemsParams: zod.ZodObject<{
|
|
@@ -877,6 +889,8 @@ export declare const ListCheckoutSessionItemsQueryParams: zod.ZodObject<{
|
|
|
877
889
|
* immediate change, the returned `proration_date`. An expired session is refused with
|
|
878
890
|
* `BILLING_CHECKOUT_SESSION_EXPIRED`, and a complete one with `BILLING_CHECKOUT_SESSION_COMPLETE`; read its order
|
|
879
891
|
* instead.
|
|
892
|
+
*
|
|
893
|
+
* Open to the owner of the session's billing account and to members of its project.
|
|
880
894
|
* @summary Quote a Checkout Session
|
|
881
895
|
*/
|
|
882
896
|
export declare const GetCheckoutSessionQuoteParams: zod.ZodObject<{
|
|
@@ -896,6 +910,8 @@ export declare const GetCheckoutSessionQuoteQueryParams: zod.ZodObject<{
|
|
|
896
910
|
* Confirming a complete session again with the same terms returns it with its order; different terms are refused
|
|
897
911
|
* with `BILLING_CHECKOUT_SESSION_COMPLETE`. An expired session is refused with `BILLING_CHECKOUT_SESSION_EXPIRED`.
|
|
898
912
|
* The order is delivered by the service that owns it once paid; confirmation alone does not mean delivery.
|
|
913
|
+
*
|
|
914
|
+
* Open to the owner of the session's billing account and to members of its project.
|
|
899
915
|
* @summary Confirm a Checkout Session
|
|
900
916
|
*/
|
|
901
917
|
export declare const ConfirmCheckoutSessionParams: zod.ZodObject<{
|
|
@@ -907,14 +923,14 @@ export declare const ConfirmCheckoutSessionBody: zod.ZodObject<{
|
|
|
907
923
|
proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
908
924
|
}, zod.z.core.$strict>;
|
|
909
925
|
/**
|
|
910
|
-
* Ends an open session without an order; the service that created it releases what it was holding for the purchase. An expired session is returned unchanged.
|
|
926
|
+
* Ends an open session without an order; the service that created it releases what it was holding for the purchase. An expired session is returned unchanged. Open to the owner of the session's billing account and to members of its project.
|
|
911
927
|
* @summary Expire a Checkout Session
|
|
912
928
|
*/
|
|
913
929
|
export declare const ExpireCheckoutSessionParams: zod.ZodObject<{
|
|
914
930
|
checkoutSessionId: zod.ZodUUID;
|
|
915
931
|
}, zod.z.core.$strict>;
|
|
916
932
|
/**
|
|
917
|
-
* Orders with their status and invoice amounts
|
|
933
|
+
* Orders of your billing accounts with their status and invoice amounts; members of a project list its orders with `project_ids`. A pending order is not yet accepted and can expire at expires_at; its invoice shows whether payment is needed. Accepted does not mean delivered.
|
|
918
934
|
* @summary List orders
|
|
919
935
|
*/
|
|
920
936
|
export declare const listOrdersQueryPageDefault = 1;
|
|
@@ -939,14 +955,14 @@ export declare const ListOrdersQueryParams: zod.ZodObject<{
|
|
|
939
955
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
940
956
|
}, zod.z.core.$strict>;
|
|
941
957
|
/**
|
|
942
|
-
* An order of your billing account with its status and invoice. An unknown order returns 404;
|
|
958
|
+
* An order of your billing account or of a project you are a member of, with its status and invoice. An unknown order returns 404; any other order returns 403.
|
|
943
959
|
* @summary Get order
|
|
944
960
|
*/
|
|
945
961
|
export declare const GetOrderParams: zod.ZodObject<{
|
|
946
962
|
orderId: zod.ZodUUID;
|
|
947
963
|
}, zod.z.core.$strict>;
|
|
948
964
|
/**
|
|
949
|
-
* What canceling the listed items, or the whole order, would refund to the original payment sources. Nothing is canceled or refunded.
|
|
965
|
+
* What canceling the listed items, or the whole order, would refund to the original payment sources. Nothing is canceled or refunded. Open to the owner of the order's billing account and to members of its project.
|
|
950
966
|
* @summary Preview an order refund
|
|
951
967
|
*/
|
|
952
968
|
export declare const PreviewOrderRefundParams: zod.ZodObject<{
|
|
@@ -968,7 +984,7 @@ export declare const PreviewOrderRefundQueryParams: zod.ZodObject<{
|
|
|
968
984
|
* `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
|
|
969
985
|
*
|
|
970
986
|
* An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
|
|
971
|
-
* Refunds are previewed with `preview-order-refund`.
|
|
987
|
+
* Refunds are previewed with `preview-order-refund`. Open to the owner of the order's billing account and to members of its project.
|
|
972
988
|
* @summary Cancel order
|
|
973
989
|
*/
|
|
974
990
|
export declare const CancelOrderParams: zod.ZodObject<{
|
|
@@ -978,7 +994,7 @@ export declare const CancelOrderBody: zod.ZodObject<{
|
|
|
978
994
|
order_item_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
979
995
|
}, zod.z.core.$strict>;
|
|
980
996
|
/**
|
|
981
|
-
* One entry per item bought, with the price charged and the period it covers.
|
|
997
|
+
* One entry per item bought, with the price charged and the period it covers. Readable by whoever can read the order.
|
|
982
998
|
* @summary List order items
|
|
983
999
|
*/
|
|
984
1000
|
export declare const ListOrderItemsParams: zod.ZodObject<{
|
|
@@ -993,7 +1009,7 @@ export declare const ListOrderItemsQueryParams: zod.ZodObject<{
|
|
|
993
1009
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
994
1010
|
}, zod.z.core.$strict>;
|
|
995
1011
|
/**
|
|
996
|
-
* Capabilities granted by live subscriptions and active feature grants
|
|
1012
|
+
* Capabilities granted by live subscriptions and active feature grants; members of a project list its entitlements with `project_ids`. A capability not held is not listed, and one stops being listed when the subscription or grant providing it ends.
|
|
997
1013
|
* @summary List entitlements
|
|
998
1014
|
*/
|
|
999
1015
|
export declare const listEntitlementsQueryPageDefault = 1;
|
|
@@ -1166,7 +1182,7 @@ export declare const ListRatesHeader: zod.ZodObject<{
|
|
|
1166
1182
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1167
1183
|
}, zod.z.core.$strict>;
|
|
1168
1184
|
/**
|
|
1169
|
-
* Continuous metering registrations paid for by your billing accounts
|
|
1185
|
+
* Continuous metering registrations paid for by your billing accounts; members of a project list its registrations with `project_ids`. Their state does not describe the resource's runtime.
|
|
1170
1186
|
* @summary List active resources
|
|
1171
1187
|
*/
|
|
1172
1188
|
export declare const listActiveResourcesQueryPageDefault = 1;
|
|
@@ -1197,6 +1213,9 @@ export declare const ListActiveResourcesQueryParams: zod.ZodObject<{
|
|
|
1197
1213
|
* closing are included. `from` and `to` must fall on UTC day boundaries and span at most 92 days.
|
|
1198
1214
|
* Project filters use the account recorded on each charge, including charges for projects later
|
|
1199
1215
|
* assigned to another account. The total covers all matching groups, not just the returned page.
|
|
1216
|
+
*
|
|
1217
|
+
* Open to the owner of the account and to members with the project permission `billing:cost.read` of each
|
|
1218
|
+
* project in `project_ids`, which must then be given and currently assigned to the account.
|
|
1200
1219
|
* @summary List account spend
|
|
1201
1220
|
*/
|
|
1202
1221
|
export declare const listSpendQueryGroupByDefault = "product";
|
|
@@ -1264,7 +1283,7 @@ export declare const GetStatementParams: zod.ZodObject<{
|
|
|
1264
1283
|
statementId: zod.ZodUUID;
|
|
1265
1284
|
}, zod.z.core.$strict>;
|
|
1266
1285
|
/**
|
|
1267
|
-
* The statement's consumption, grouped by project, product or meter and filtered within the statement. Quantities are given only for meter groups; grouping by meter also splits by the meter's presentation dimensions.
|
|
1286
|
+
* The statement's consumption, grouped by project, product or meter and filtered within the statement. Quantities are given only for meter groups; grouping by meter also splits by the meter's presentation dimensions. Open to the owner of the statement's account and to members with the project permission `billing:cost.read` of each project in `project_ids`, which must then be given and currently assigned to that account.
|
|
1268
1287
|
* @summary Get grouped consumption
|
|
1269
1288
|
*/
|
|
1270
1289
|
export declare const GetStatementUsageParams: zod.ZodObject<{
|