@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
|
import type { AccountBalance, AccountDeletionReadiness, ActiveResourceList, AllowanceList, AutoRenewSet, BillingAccount, BillingAccountCreate, BillingAccountList, BillingAccountUpdate, CancelSubscriptionRequest, Cancellation, CancellationCreate, CancellationList, CancellationPreviewRequest, CancellationRefundPreview, CheckoutSession, CheckoutSessionConfirm, CheckoutSessionCreate, CheckoutSessionItemList, CheckoutSessionList, CheckoutSessionResult, Contact, ContactCreate, ContactList, ContactUpdate, CreditGrantList, CreditNote, CreditNoteItemList, CreditNoteList, CurrencyList, DiscountList, EntitlementList, Error, ErrorResponse, FeatureGrantList, GetCheckoutSessionQuoteParams, GetPlanHeaders, GetPriceHeaders, GetProductHeaders, GetStatementUsageParams, Invoice, InvoiceItemList, InvoiceList, ListAccountDiscountsParams, ListActiveResourcesParams, ListAllowancesParams, ListBillingAccountsParams, ListCancellationsParams, ListCheckoutSessionItemsParams, ListCheckoutSessionsParams, ListContactsParams, ListCreditGrantsParams, ListCreditNoteItemsParams, ListCreditNotesParams, ListCurrenciesParams, ListEntitlementsParams, ListFeatureGrantsParams, ListInvoiceItemsParams, ListInvoicesParams, ListMonthlyStatementsParams, ListOrderItemsParams, ListOrdersParams, ListPaymentMethodsParams, ListPaymentOptionsParams, ListPlansHeaders, ListPlansParams, ListPricesByPlanHeaders, ListPricesByPlanParams, ListPricesHeaders, ListPricesParams, ListProductsHeaders, ListProductsParams, ListProjectAssignmentsParams, ListRatesHeaders, ListRatesParams, ListRefundsParams, ListRenewalPricesParams, ListSpendParams, ListStatementsParams, ListSubscriptionsParams, ListTopUpsParams, ListTransactionsParams, ListUsageChargesParams, ListWithdrawalItemsParams, ListWithdrawalsParams, MonthlyStatementList, NotModifiedResponse, Order, OrderCancel, OrderItemList, OrderList, OrderRefundPreview, PayInvoiceRequest, PayTogetherRequest, PaymentMethod, PaymentMethodList, PaymentMethodSetup, PaymentMethodSetupResult, PaymentOptionList, PaymentPreview, PaymentResult, Plan, PlanList, PreviewInvoicePaymentParams, PreviewOrderRefundParams, Price, PriceList, Product, ProductID, ProductList, ProjectAssignment, ProjectAssignmentList, Quote, QuoteRequest, RateList, RefundList, RenewRequest, RenewalPriceList, SetProjectAssignmentRequest, SpendRowList, Statement, StatementList, StatementSummary, Subscription, SubscriptionList, TopUp, TopUpCreate, TopUpList, TransactionList, UsageChargeList, UsageEstimate, UsageEstimateRequest, Withdrawal, WithdrawalCreate, WithdrawalItemList, WithdrawalList, WithdrawalPreview, WithdrawalPreviewRequest } from "./models.js";
|
|
@@ -302,7 +302,7 @@ export type getBillingAccountResponseError = getBillingAccountResponseDefault &
|
|
|
302
302
|
export type getBillingAccountResponse = getBillingAccountResponseSuccess | getBillingAccountResponseError;
|
|
303
303
|
export declare const getGetBillingAccountUrl: (accountId: number) => string;
|
|
304
304
|
/**
|
|
305
|
-
*
|
|
305
|
+
* 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.
|
|
306
306
|
* @summary Get billing account
|
|
307
307
|
*/
|
|
308
308
|
export declare const getBillingAccount: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getBillingAccountResponse>;
|
|
@@ -391,7 +391,7 @@ export type getAccountBalanceResponseError = getAccountBalanceResponseDefault &
|
|
|
391
391
|
export type getAccountBalanceResponse = getAccountBalanceResponseSuccess | getAccountBalanceResponseError;
|
|
392
392
|
export declare const getGetAccountBalanceUrl: (accountId: number) => string;
|
|
393
393
|
/**
|
|
394
|
-
* The balance of
|
|
394
|
+
* 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.
|
|
395
395
|
* @summary Get account balance
|
|
396
396
|
*/
|
|
397
397
|
export declare const getAccountBalance: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getAccountBalanceResponse>;
|
|
@@ -412,7 +412,7 @@ export type listPaymentOptionsResponseError = listPaymentOptionsResponseDefault
|
|
|
412
412
|
export type listPaymentOptionsResponse = listPaymentOptionsResponseSuccess | listPaymentOptionsResponseError;
|
|
413
413
|
export declare const getListPaymentOptionsUrl: (accountId: number, params?: ListPaymentOptionsParams) => string;
|
|
414
414
|
/**
|
|
415
|
-
* 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.
|
|
415
|
+
* 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.
|
|
416
416
|
* @summary List payment options
|
|
417
417
|
*/
|
|
418
418
|
export declare const listPaymentOptions: (accountId: number, params?: ListPaymentOptionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPaymentOptionsResponse>;
|
|
@@ -480,7 +480,7 @@ export type getProjectAssignmentResponseError = getProjectAssignmentResponseDefa
|
|
|
480
480
|
export type getProjectAssignmentResponse = getProjectAssignmentResponseSuccess | getProjectAssignmentResponseError;
|
|
481
481
|
export declare const getGetProjectAssignmentUrl: (projectId: string) => string;
|
|
482
482
|
/**
|
|
483
|
-
* The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
|
|
483
|
+
* 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.
|
|
484
484
|
* @summary Get project assignment
|
|
485
485
|
*/
|
|
486
486
|
export declare const getProjectAssignment: (projectId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getProjectAssignmentResponse>;
|
|
@@ -501,7 +501,8 @@ export type setProjectAssignmentResponseError = setProjectAssignmentResponseDefa
|
|
|
501
501
|
export type setProjectAssignmentResponse = setProjectAssignmentResponseSuccess | setProjectAssignmentResponseError;
|
|
502
502
|
export declare const getSetProjectAssignmentUrl: (projectId: string) => string;
|
|
503
503
|
/**
|
|
504
|
-
* Links the project to a billing account
|
|
504
|
+
* Links the project to a billing account you own; you need the project permission
|
|
505
|
+
* `billing:project_assignment.write`. A project without one is linked directly. Moving it to another
|
|
505
506
|
* account has the same requirements as unlinking: you own both accounts, the project has no metered resources,
|
|
506
507
|
* no subscriptions that have not ended and no orders in progress, and the current account has no unpaid
|
|
507
508
|
* invoices. Nothing moves with the project; charges already incurred stay with the account linked when they
|
|
@@ -528,7 +529,7 @@ export type unlinkProjectBillingAccountResponseError = unlinkProjectBillingAccou
|
|
|
528
529
|
export type unlinkProjectBillingAccountResponse = unlinkProjectBillingAccountResponseSuccess | unlinkProjectBillingAccountResponseError;
|
|
529
530
|
export declare const getUnlinkProjectBillingAccountUrl: (projectId: string) => string;
|
|
530
531
|
/**
|
|
531
|
-
* 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.
|
|
532
|
+
* 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.
|
|
532
533
|
* @summary Unlink project billing account
|
|
533
534
|
*/
|
|
534
535
|
export declare const unlinkProjectBillingAccount: (projectId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<unlinkProjectBillingAccountResponse>;
|
|
@@ -747,6 +748,9 @@ export declare const getPayInvoiceUrl: (invoiceId: string) => string;
|
|
|
747
748
|
* `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `fractional_amount` when the amount left for the gateway is
|
|
748
749
|
* not a whole number of the currency's minor unit; such an invoice is collected from credit grants and balance
|
|
749
750
|
* automatically, including right after a top-up.
|
|
751
|
+
*
|
|
752
|
+
* Open to the owner of the invoice's billing account and, for the invoice of an order of a project, to members
|
|
753
|
+
* of the project. Only the owner can pay with a saved `payment_method_id`.
|
|
750
754
|
* @summary Pay an invoice
|
|
751
755
|
*/
|
|
752
756
|
export declare const payInvoice: (invoiceId: string, payInvoiceRequest?: PayInvoiceRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<payInvoiceResponse>;
|
|
@@ -773,7 +777,7 @@ export declare const getPreviewInvoicePaymentUrl: (invoiceId: string, params?: P
|
|
|
773
777
|
* Nothing is charged, reserved or created.
|
|
774
778
|
*
|
|
775
779
|
* Refused with the same errors as paying, except that insufficient funds are not an error here:
|
|
776
|
-
* they show as a `gateway_amount` above zero.
|
|
780
|
+
* they show as a `gateway_amount` above zero. Open to the same callers as paying.
|
|
777
781
|
* @summary Preview invoice payment
|
|
778
782
|
*/
|
|
779
783
|
export declare const previewInvoicePayment: (invoiceId: string, params?: PreviewInvoicePaymentParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewInvoicePaymentResponse>;
|
|
@@ -867,7 +871,7 @@ export type getInvoiceResponseError = getInvoiceResponseDefault & {
|
|
|
867
871
|
export type getInvoiceResponse = getInvoiceResponseSuccess | getInvoiceResponseError;
|
|
868
872
|
export declare const getGetInvoiceUrl: (invoiceId: string) => string;
|
|
869
873
|
/**
|
|
870
|
-
* An issued invoice of your billing account, with its amounts, tax lines and payment state. A missing or unissued invoice returns 404;
|
|
874
|
+
* 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.
|
|
871
875
|
* @summary Get invoice
|
|
872
876
|
*/
|
|
873
877
|
export declare const getInvoice: (invoiceId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getInvoiceResponse>;
|
|
@@ -888,7 +892,7 @@ export type listInvoiceItemsResponseError = listInvoiceItemsResponseDefault & {
|
|
|
888
892
|
export type listInvoiceItemsResponse = listInvoiceItemsResponseSuccess | listInvoiceItemsResponseError;
|
|
889
893
|
export declare const getListInvoiceItemsUrl: (invoiceId: string, params?: ListInvoiceItemsParams) => string;
|
|
890
894
|
/**
|
|
891
|
-
* Lines of an
|
|
895
|
+
* 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.
|
|
892
896
|
* @summary List invoice items
|
|
893
897
|
*/
|
|
894
898
|
export declare const listInvoiceItems: (invoiceId: string, params?: ListInvoiceItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInvoiceItemsResponse>;
|
|
@@ -1056,7 +1060,7 @@ export type listUsageChargesResponseError = listUsageChargesResponseDefault & {
|
|
|
1056
1060
|
export type listUsageChargesResponse = listUsageChargesResponseSuccess | listUsageChargesResponseError;
|
|
1057
1061
|
export declare const getListUsageChargesUrl: (params?: ListUsageChargesParams) => string;
|
|
1058
1062
|
/**
|
|
1059
|
-
* Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
|
|
1063
|
+
* 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.
|
|
1060
1064
|
* @summary List usage charges
|
|
1061
1065
|
*/
|
|
1062
1066
|
export declare const listUsageCharges: (params?: ListUsageChargesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listUsageChargesResponse>;
|
|
@@ -1077,7 +1081,7 @@ export type listSubscriptionsResponseError = listSubscriptionsResponseDefault &
|
|
|
1077
1081
|
export type listSubscriptionsResponse = listSubscriptionsResponseSuccess | listSubscriptionsResponseError;
|
|
1078
1082
|
export declare const getListSubscriptionsUrl: (params?: ListSubscriptionsParams) => string;
|
|
1079
1083
|
/**
|
|
1080
|
-
* Subscriptions
|
|
1084
|
+
* Subscriptions paid by your billing accounts; members of a project list its subscriptions with `project_ids`. Deleted subscriptions are not listed.
|
|
1081
1085
|
* @summary List subscriptions
|
|
1082
1086
|
*/
|
|
1083
1087
|
export declare const listSubscriptions: (params?: ListSubscriptionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listSubscriptionsResponse>;
|
|
@@ -1098,7 +1102,7 @@ export type getSubscriptionResponseError = getSubscriptionResponseDefault & {
|
|
|
1098
1102
|
export type getSubscriptionResponse = getSubscriptionResponseSuccess | getSubscriptionResponseError;
|
|
1099
1103
|
export declare const getGetSubscriptionUrl: (subscriptionId: string) => string;
|
|
1100
1104
|
/**
|
|
1101
|
-
* A subscription
|
|
1105
|
+
* A subscription paid by your billing account or of a project you are a member of. Deleted subscriptions are reported as not found.
|
|
1102
1106
|
* @summary Get subscription
|
|
1103
1107
|
*/
|
|
1104
1108
|
export declare const getSubscription: (subscriptionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getSubscriptionResponse>;
|
|
@@ -1119,7 +1123,7 @@ export type deleteSubscriptionResponseError = deleteSubscriptionResponseDefault
|
|
|
1119
1123
|
export type deleteSubscriptionResponse = deleteSubscriptionResponseSuccess | deleteSubscriptionResponseError;
|
|
1120
1124
|
export declare const getDeleteSubscriptionUrl: (subscriptionId: string) => string;
|
|
1121
1125
|
/**
|
|
1122
|
-
* Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept.
|
|
1126
|
+
* 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.
|
|
1123
1127
|
* @summary Delete subscription
|
|
1124
1128
|
*/
|
|
1125
1129
|
export declare const deleteSubscription: (subscriptionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteSubscriptionResponse>;
|
|
@@ -1141,8 +1145,9 @@ export type cancelSubscriptionResponse = cancelSubscriptionResponseSuccess | can
|
|
|
1141
1145
|
export declare const getCancelSubscriptionUrl: (subscriptionId: string) => string;
|
|
1142
1146
|
/**
|
|
1143
1147
|
* Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
|
|
1144
|
-
* refund amount from a quote with this subscription in `cancellation.subscription_ids`.
|
|
1145
|
-
*
|
|
1148
|
+
* refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
|
|
1149
|
+
* subscription's current billing account and to members of its project with the project permission
|
|
1150
|
+
* `billing:subscription.write`.
|
|
1146
1151
|
*
|
|
1147
1152
|
* Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
|
|
1148
1153
|
* subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
|
|
@@ -1172,10 +1177,11 @@ export declare const getGetQuoteUrl: () => string;
|
|
|
1172
1177
|
* Calculates what a proposed purchase, or the renewal of your subscriptions, would invoice now, and what each
|
|
1173
1178
|
* purchased line renews at. Nothing is saved, reserved or redeemed.
|
|
1174
1179
|
*
|
|
1175
|
-
* With `billing_account_id`, the quote is for
|
|
1180
|
+
* With `billing_account_id`, the quote is for that billing account: its currency, account discounts,
|
|
1176
1181
|
* tax and funds apply, renewals use the account currently paying for each subscription, and an access token
|
|
1177
|
-
* is required.
|
|
1178
|
-
* discount or funds apply, and
|
|
1182
|
+
* is required. The account must be yours or currently pay for a project you are a member of. Without it,
|
|
1183
|
+
* proposed items are priced in `currency` for anyone, signed in or not: no account discount or funds apply, and
|
|
1184
|
+
* `tax_status` is `requires_location_inputs`.
|
|
1179
1185
|
*
|
|
1180
1186
|
* A promotion code is evaluated without being applied. It is applied only when a Checkout Session is completed
|
|
1181
1187
|
* with it; conditions that depend on the account, such as a first purchase, are checked only with an account
|
|
@@ -1224,7 +1230,7 @@ export type listCancellationsResponseError = listCancellationsResponseDefault &
|
|
|
1224
1230
|
export type listCancellationsResponse = listCancellationsResponseSuccess | listCancellationsResponseError;
|
|
1225
1231
|
export declare const getListCancellationsUrl: (params?: ListCancellationsParams) => string;
|
|
1226
1232
|
/**
|
|
1227
|
-
* Newest first
|
|
1233
|
+
* 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.
|
|
1228
1234
|
* @summary List cancellations
|
|
1229
1235
|
*/
|
|
1230
1236
|
export declare const listCancellations: (params?: ListCancellationsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCancellationsResponse>;
|
|
@@ -1250,7 +1256,9 @@ export type createCancellationResponse = createCancellationResponseSuccess | cre
|
|
|
1250
1256
|
export declare const getCreateCancellationUrl: () => string;
|
|
1251
1257
|
/**
|
|
1252
1258
|
* Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
|
|
1253
|
-
* subscription released with it, such as a server with its disks or an address with its bandwidth.
|
|
1259
|
+
* subscription released with it, such as a server with its disks or an address with its bandwidth. Open to the
|
|
1260
|
+
* owner of the subscriptions' current billing account and to members of their project with the project
|
|
1261
|
+
* permission `billing:subscription.write`.
|
|
1254
1262
|
*
|
|
1255
1263
|
* The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
|
|
1256
1264
|
* term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
|
|
@@ -1299,7 +1307,7 @@ export type previewCancellationResponseError = previewCancellationResponseDefaul
|
|
|
1299
1307
|
export type previewCancellationResponse = previewCancellationResponseSuccess | previewCancellationResponseError;
|
|
1300
1308
|
export declare const getPreviewCancellationUrl: () => string;
|
|
1301
1309
|
/**
|
|
1302
|
-
* What creating the cancellation now would return, per subscription and in total. Nothing is canceled, ended or refunded.
|
|
1310
|
+
* What creating the cancellation now would return, per subscription and in total. Nothing is canceled, ended or refunded. Open to the same callers and refused as creating it would be, except that nothing is recorded.
|
|
1303
1311
|
* @summary Preview a cancellation
|
|
1304
1312
|
*/
|
|
1305
1313
|
export declare const previewCancellation: (cancellationPreviewRequest: CancellationPreviewRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewCancellationResponse>;
|
|
@@ -1320,7 +1328,7 @@ export type getCancellationResponseError = getCancellationResponseDefault & {
|
|
|
1320
1328
|
export type getCancellationResponse = getCancellationResponseSuccess | getCancellationResponseError;
|
|
1321
1329
|
export declare const getGetCancellationUrl: (cancellationId: string) => string;
|
|
1322
1330
|
/**
|
|
1323
|
-
* A cancellation
|
|
1331
|
+
* 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.
|
|
1324
1332
|
* @summary Get a cancellation
|
|
1325
1333
|
*/
|
|
1326
1334
|
export declare const getCancellation: (cancellationId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getCancellationResponse>;
|
|
@@ -1341,7 +1349,7 @@ export type withdrawCancellationResponseError = withdrawCancellationResponseDefa
|
|
|
1341
1349
|
export type withdrawCancellationResponse = withdrawCancellationResponseSuccess | withdrawCancellationResponseError;
|
|
1342
1350
|
export declare const getWithdrawCancellationUrl: (cancellationId: string) => string;
|
|
1343
1351
|
/**
|
|
1344
|
-
* 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.
|
|
1352
|
+
* 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`.
|
|
1345
1353
|
* @summary Withdraw a cancellation
|
|
1346
1354
|
*/
|
|
1347
1355
|
export declare const withdrawCancellation: (cancellationId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<withdrawCancellationResponse>;
|
|
@@ -1362,7 +1370,7 @@ export type listRenewalPricesResponseError = listRenewalPricesResponseDefault &
|
|
|
1362
1370
|
export type listRenewalPricesResponse = listRenewalPricesResponseSuccess | listRenewalPricesResponseError;
|
|
1363
1371
|
export declare const getListRenewalPricesUrl: (subscriptionId: string, params?: ListRenewalPricesParams) => string;
|
|
1364
1372
|
/**
|
|
1365
|
-
* 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.
|
|
1373
|
+
* 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.
|
|
1366
1374
|
* @summary List the terms this item can be renewed for
|
|
1367
1375
|
*/
|
|
1368
1376
|
export declare const listRenewalPrices: (subscriptionId: string, params?: ListRenewalPricesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listRenewalPricesResponse>;
|
|
@@ -1395,6 +1403,9 @@ export declare const getRenewSubscriptionUrl: (subscriptionId: string) => string
|
|
|
1395
1403
|
* `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
|
|
1396
1404
|
* order is left. To apply a promotion code or pay later, create a renewal Checkout Session.
|
|
1397
1405
|
*
|
|
1406
|
+
* Open to the owner of the subscription's current billing account and to members of its project with the
|
|
1407
|
+
* project permission `billing:subscription.write`. Only the owner can pay with `payment_method_id`.
|
|
1408
|
+
*
|
|
1398
1409
|
* Keep order_id and read the order after an unknown outcome; creating it again conflicts.
|
|
1399
1410
|
* @summary Renew subscription
|
|
1400
1411
|
*/
|
|
@@ -1416,7 +1427,7 @@ export type setAutoRenewResponseError = setAutoRenewResponseDefault & {
|
|
|
1416
1427
|
export type setAutoRenewResponse = setAutoRenewResponseSuccess | setAutoRenewResponseError;
|
|
1417
1428
|
export declare const getSetAutoRenewUrl: (subscriptionId: string) => string;
|
|
1418
1429
|
/**
|
|
1419
|
-
* 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.
|
|
1430
|
+
* 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`.
|
|
1420
1431
|
* @summary Set auto renew
|
|
1421
1432
|
*/
|
|
1422
1433
|
export declare const setAutoRenew: (subscriptionId: string, autoRenewSet: AutoRenewSet, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setAutoRenewResponse>;
|
|
@@ -1437,7 +1448,7 @@ export type listAllowancesResponseError = listAllowancesResponseDefault & {
|
|
|
1437
1448
|
export type listAllowancesResponse = listAllowancesResponseSuccess | listAllowancesResponseError;
|
|
1438
1449
|
export declare const getListAllowancesUrl: (params?: ListAllowancesParams) => string;
|
|
1439
1450
|
/**
|
|
1440
|
-
* Remaining usage quantities, such as bytes, seconds or tokens
|
|
1451
|
+
* 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.
|
|
1441
1452
|
* @summary List allowances
|
|
1442
1453
|
*/
|
|
1443
1454
|
export declare const listAllowances: (params?: ListAllowancesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listAllowancesResponse>;
|
|
@@ -1458,7 +1469,7 @@ export type listCheckoutSessionsResponseError = listCheckoutSessionsResponseDefa
|
|
|
1458
1469
|
export type listCheckoutSessionsResponse = listCheckoutSessionsResponseSuccess | listCheckoutSessionsResponseError;
|
|
1459
1470
|
export declare const getListCheckoutSessionsUrl: (params?: ListCheckoutSessionsParams) => string;
|
|
1460
1471
|
/**
|
|
1461
|
-
* Checkout Sessions of your billing accounts, newest first
|
|
1472
|
+
* 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.
|
|
1462
1473
|
* @summary List Checkout Sessions
|
|
1463
1474
|
*/
|
|
1464
1475
|
export declare const listCheckoutSessions: (params?: ListCheckoutSessionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCheckoutSessionsResponse>;
|
|
@@ -1483,13 +1494,15 @@ export type createCheckoutSessionResponseError = (createCheckoutSessionResponse4
|
|
|
1483
1494
|
export type createCheckoutSessionResponse = createCheckoutSessionResponseSuccess | createCheckoutSessionResponseError;
|
|
1484
1495
|
export declare const getCreateCheckoutSessionUrl: () => string;
|
|
1485
1496
|
/**
|
|
1486
|
-
* Opens a Checkout Session renewing
|
|
1497
|
+
* Opens a Checkout Session renewing a licensed subscription, with periods and price chosen as in
|
|
1487
1498
|
* renewing. Nothing is charged until you complete it, when a promotion code can be applied; it then renews from
|
|
1488
1499
|
* the subscription's current_term_end at that time. To renew at once from credit grants, balance or a payment
|
|
1489
1500
|
* method, renew the subscription instead. Purchases and changes of a service's resources are created through
|
|
1490
1501
|
* that service.
|
|
1491
1502
|
*
|
|
1492
|
-
*
|
|
1503
|
+
* Open to the owner of the subscription's current billing account and to members of its project with the
|
|
1504
|
+
* project permission `billing:subscription.write`. Keep `checkout_session_id` and read the session after an
|
|
1505
|
+
* unknown outcome; creating it again conflicts.
|
|
1493
1506
|
* @summary Create a renewal Checkout Session
|
|
1494
1507
|
*/
|
|
1495
1508
|
export declare const createCheckoutSession: (checkoutSessionCreate: CheckoutSessionCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createCheckoutSessionResponse>;
|
|
@@ -1510,7 +1523,7 @@ export type getCheckoutSessionResponseError = getCheckoutSessionResponseDefault
|
|
|
1510
1523
|
export type getCheckoutSessionResponse = getCheckoutSessionResponseSuccess | getCheckoutSessionResponseError;
|
|
1511
1524
|
export declare const getGetCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1512
1525
|
/**
|
|
1513
|
-
* 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;
|
|
1526
|
+
* 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.
|
|
1514
1527
|
* @summary Get a Checkout Session
|
|
1515
1528
|
*/
|
|
1516
1529
|
export declare const getCheckoutSession: (checkoutSessionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getCheckoutSessionResponse>;
|
|
@@ -1531,7 +1544,7 @@ export type listCheckoutSessionItemsResponseError = listCheckoutSessionItemsResp
|
|
|
1531
1544
|
export type listCheckoutSessionItemsResponse = listCheckoutSessionItemsResponseSuccess | listCheckoutSessionItemsResponseError;
|
|
1532
1545
|
export declare const getListCheckoutSessionItemsUrl: (checkoutSessionId: string, params?: ListCheckoutSessionItemsParams) => string;
|
|
1533
1546
|
/**
|
|
1534
|
-
* What the session buys, by position. Prices and amounts are in its quote.
|
|
1547
|
+
* What the session buys, by position. Prices and amounts are in its quote. Readable by whoever can read the session.
|
|
1535
1548
|
* @summary List Checkout Session items
|
|
1536
1549
|
*/
|
|
1537
1550
|
export declare const listCheckoutSessionItems: (checkoutSessionId: string, params?: ListCheckoutSessionItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCheckoutSessionItemsResponse>;
|
|
@@ -1560,6 +1573,8 @@ export declare const getGetCheckoutSessionQuoteUrl: (checkoutSessionId: string,
|
|
|
1560
1573
|
* immediate change, the returned `proration_date`. An expired session is refused with
|
|
1561
1574
|
* `BILLING_CHECKOUT_SESSION_EXPIRED`, and a complete one with `BILLING_CHECKOUT_SESSION_COMPLETE`; read its order
|
|
1562
1575
|
* instead.
|
|
1576
|
+
*
|
|
1577
|
+
* Open to the owner of the session's billing account and to members of its project.
|
|
1563
1578
|
* @summary Quote a Checkout Session
|
|
1564
1579
|
*/
|
|
1565
1580
|
export declare const getCheckoutSessionQuote: (checkoutSessionId: string, params?: GetCheckoutSessionQuoteParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getCheckoutSessionQuoteResponse>;
|
|
@@ -1593,6 +1608,8 @@ export declare const getConfirmCheckoutSessionUrl: (checkoutSessionId: string) =
|
|
|
1593
1608
|
* Confirming a complete session again with the same terms returns it with its order; different terms are refused
|
|
1594
1609
|
* with `BILLING_CHECKOUT_SESSION_COMPLETE`. An expired session is refused with `BILLING_CHECKOUT_SESSION_EXPIRED`.
|
|
1595
1610
|
* The order is delivered by the service that owns it once paid; confirmation alone does not mean delivery.
|
|
1611
|
+
*
|
|
1612
|
+
* Open to the owner of the session's billing account and to members of its project.
|
|
1596
1613
|
* @summary Confirm a Checkout Session
|
|
1597
1614
|
*/
|
|
1598
1615
|
export declare const confirmCheckoutSession: (checkoutSessionId: string, checkoutSessionConfirm: CheckoutSessionConfirm, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<confirmCheckoutSessionResponse>;
|
|
@@ -1617,7 +1634,7 @@ export type expireCheckoutSessionResponseError = (expireCheckoutSessionResponse4
|
|
|
1617
1634
|
export type expireCheckoutSessionResponse = expireCheckoutSessionResponseSuccess | expireCheckoutSessionResponseError;
|
|
1618
1635
|
export declare const getExpireCheckoutSessionUrl: (checkoutSessionId: string) => string;
|
|
1619
1636
|
/**
|
|
1620
|
-
* 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.
|
|
1637
|
+
* 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.
|
|
1621
1638
|
* @summary Expire a Checkout Session
|
|
1622
1639
|
*/
|
|
1623
1640
|
export declare const expireCheckoutSession: (checkoutSessionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<expireCheckoutSessionResponse>;
|
|
@@ -1638,7 +1655,7 @@ export type listOrdersResponseError = listOrdersResponseDefault & {
|
|
|
1638
1655
|
export type listOrdersResponse = listOrdersResponseSuccess | listOrdersResponseError;
|
|
1639
1656
|
export declare const getListOrdersUrl: (params?: ListOrdersParams) => string;
|
|
1640
1657
|
/**
|
|
1641
|
-
* Orders with their status and invoice amounts
|
|
1658
|
+
* 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.
|
|
1642
1659
|
* @summary List orders
|
|
1643
1660
|
*/
|
|
1644
1661
|
export declare const listOrders: (params?: ListOrdersParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listOrdersResponse>;
|
|
@@ -1659,7 +1676,7 @@ export type getOrderResponseError = getOrderResponseDefault & {
|
|
|
1659
1676
|
export type getOrderResponse = getOrderResponseSuccess | getOrderResponseError;
|
|
1660
1677
|
export declare const getGetOrderUrl: (orderId: string) => string;
|
|
1661
1678
|
/**
|
|
1662
|
-
* An order of your billing account with its status and invoice. An unknown order returns 404;
|
|
1679
|
+
* 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.
|
|
1663
1680
|
* @summary Get order
|
|
1664
1681
|
*/
|
|
1665
1682
|
export declare const getOrder: (orderId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getOrderResponse>;
|
|
@@ -1680,7 +1697,7 @@ export type previewOrderRefundResponseError = previewOrderRefundResponseDefault
|
|
|
1680
1697
|
export type previewOrderRefundResponse = previewOrderRefundResponseSuccess | previewOrderRefundResponseError;
|
|
1681
1698
|
export declare const getPreviewOrderRefundUrl: (orderId: string, params?: PreviewOrderRefundParams) => string;
|
|
1682
1699
|
/**
|
|
1683
|
-
* What canceling the listed items, or the whole order, would refund to the original payment sources. Nothing is canceled or refunded.
|
|
1700
|
+
* 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.
|
|
1684
1701
|
* @summary Preview an order refund
|
|
1685
1702
|
*/
|
|
1686
1703
|
export declare const previewOrderRefund: (orderId: string, params?: PreviewOrderRefundParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewOrderRefundResponse>;
|
|
@@ -1716,7 +1733,7 @@ export declare const getCancelOrderUrl: (orderId: string) => string;
|
|
|
1716
1733
|
* `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
|
|
1717
1734
|
*
|
|
1718
1735
|
* An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
|
|
1719
|
-
* Refunds are previewed with `preview-order-refund`.
|
|
1736
|
+
* Refunds are previewed with `preview-order-refund`. Open to the owner of the order's billing account and to members of its project.
|
|
1720
1737
|
* @summary Cancel order
|
|
1721
1738
|
*/
|
|
1722
1739
|
export declare const cancelOrder: (orderId: string, orderCancel?: OrderCancel, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<cancelOrderResponse>;
|
|
@@ -1737,7 +1754,7 @@ export type listOrderItemsResponseError = listOrderItemsResponseDefault & {
|
|
|
1737
1754
|
export type listOrderItemsResponse = listOrderItemsResponseSuccess | listOrderItemsResponseError;
|
|
1738
1755
|
export declare const getListOrderItemsUrl: (orderId: string, params?: ListOrderItemsParams) => string;
|
|
1739
1756
|
/**
|
|
1740
|
-
* One entry per item bought, with the price charged and the period it covers.
|
|
1757
|
+
* One entry per item bought, with the price charged and the period it covers. Readable by whoever can read the order.
|
|
1741
1758
|
* @summary List order items
|
|
1742
1759
|
*/
|
|
1743
1760
|
export declare const listOrderItems: (orderId: string, params?: ListOrderItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listOrderItemsResponse>;
|
|
@@ -1758,7 +1775,7 @@ export type listEntitlementsResponseError = listEntitlementsResponseDefault & {
|
|
|
1758
1775
|
export type listEntitlementsResponse = listEntitlementsResponseSuccess | listEntitlementsResponseError;
|
|
1759
1776
|
export declare const getListEntitlementsUrl: (params?: ListEntitlementsParams) => string;
|
|
1760
1777
|
/**
|
|
1761
|
-
* Capabilities granted by live subscriptions and active feature grants
|
|
1778
|
+
* 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.
|
|
1762
1779
|
* @summary List entitlements
|
|
1763
1780
|
*/
|
|
1764
1781
|
export declare const listEntitlements: (params?: ListEntitlementsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listEntitlementsResponse>;
|
|
@@ -2000,7 +2017,7 @@ export type listActiveResourcesResponseError = listActiveResourcesResponseDefaul
|
|
|
2000
2017
|
export type listActiveResourcesResponse = listActiveResourcesResponseSuccess | listActiveResourcesResponseError;
|
|
2001
2018
|
export declare const getListActiveResourcesUrl: (params?: ListActiveResourcesParams) => string;
|
|
2002
2019
|
/**
|
|
2003
|
-
* Continuous metering registrations paid for by your billing accounts
|
|
2020
|
+
* 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.
|
|
2004
2021
|
* @summary List active resources
|
|
2005
2022
|
*/
|
|
2006
2023
|
export declare const listActiveResources: (params?: ListActiveResourcesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listActiveResourcesResponse>;
|
|
@@ -2026,6 +2043,9 @@ export declare const getListSpendUrl: (params: ListSpendParams) => string;
|
|
|
2026
2043
|
* closing are included. `from` and `to` must fall on UTC day boundaries and span at most 92 days.
|
|
2027
2044
|
* Project filters use the account recorded on each charge, including charges for projects later
|
|
2028
2045
|
* assigned to another account. The total covers all matching groups, not just the returned page.
|
|
2046
|
+
*
|
|
2047
|
+
* Open to the owner of the account and to members with the project permission `billing:cost.read` of each
|
|
2048
|
+
* project in `project_ids`, which must then be given and currently assigned to the account.
|
|
2029
2049
|
* @summary List account spend
|
|
2030
2050
|
*/
|
|
2031
2051
|
export declare const listSpend: (params: ListSpendParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listSpendResponse>;
|
|
@@ -2109,7 +2129,7 @@ export type getStatementUsageResponseError = getStatementUsageResponseDefault &
|
|
|
2109
2129
|
export type getStatementUsageResponse = getStatementUsageResponseSuccess | getStatementUsageResponseError;
|
|
2110
2130
|
export declare const getGetStatementUsageUrl: (statementId: string, params?: GetStatementUsageParams) => string;
|
|
2111
2131
|
/**
|
|
2112
|
-
* 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.
|
|
2132
|
+
* 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.
|
|
2113
2133
|
* @summary Get grouped consumption
|
|
2114
2134
|
*/
|
|
2115
2135
|
export declare const getStatementUsage: (statementId: string, params?: GetStatementUsageParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getStatementUsageResponse>;
|