@leaflow/sdk 0.0.0-dev.352.g85966ed → 0.0.0-dev.355.g42152f5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/models.d.ts +379 -779
- package/dist/billing/type/order/v1/generated/models.js +12 -44
- package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +22 -11
- package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +8 -8
- package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +8 -5
- package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +22 -11
- package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +12 -3
- package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +5 -5
- package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
- package/dist/billing/type/order/v1/generated/validators/contact.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +22 -11
- package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
- package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +22 -11
- package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +23 -12
- package/dist/billing/type/order/v1/generated/validators/discount.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +23 -12
- package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +0 -1
- package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +8 -8
- package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +10 -4
- package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +1 -3
- package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +0 -1
- package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
- package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
- package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +7 -4
- package/dist/billing/type/order/v1/generated/validators/order.zod.js +10 -12
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +7 -3
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +16 -14
- package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +7 -3
- package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +7 -4
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
- package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
- package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +5 -8
- package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +0 -1
- package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +7 -5
- package/dist/billing/type/order/v1/generated/validators/price.zod.js +14 -11
- package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +7 -5
- package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +7 -5
- package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +7 -3
- package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/productID.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +6 -3
- package/dist/billing/type/order/v1/generated/validators/quote.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +8 -8
- package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
- package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +5 -5
- package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +11 -0
- package/dist/billing/type/order/v1/generated/validators/rate.zod.js +14 -6
- package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +11 -0
- package/dist/billing/type/order/v1/generated/validators/refund.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +8 -0
- package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +8 -0
- package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/statement.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +4 -0
- package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +7 -3
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +20 -14
- package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
- package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +8 -8
- package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +4 -4
- package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +6 -6
- package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +8 -7
- package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/billing/type/quote/v1/generated/models.d.ts +4 -4
- package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/v1/generated/functions.d.ts +176 -310
- package/dist/billing/v1/generated/functions.js +175 -309
- package/dist/billing/v1/generated/models.d.ts +429 -863
- package/dist/billing/v1/generated/models.js +13 -49
- package/dist/billing/v1/generated/schemas.zod.d.ts +166 -383
- package/dist/billing/v1/generated/schemas.zod.js +213 -372
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +22 -11
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +8 -8
- package/dist/billing/v1/generated/validators/activeResource.zod.js +8 -5
- package/dist/billing/v1/generated/validators/allowance.zod.js +3 -3
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +22 -11
- package/dist/billing/v1/generated/validators/applicability.zod.js +12 -3
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +5 -5
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/cancellation.zod.js +4 -4
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
- package/dist/billing/v1/generated/validators/contact.zod.js +2 -2
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +22 -11
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +22 -11
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.js +4 -4
- package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +23 -12
- package/dist/billing/v1/generated/validators/discount.zod.js +4 -4
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +23 -12
- package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/invoice.zod.js +8 -8
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +10 -4
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -3
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +5 -2
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +4 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +2 -2
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/order.zod.d.ts +7 -4
- package/dist/billing/v1/generated/validators/order.zod.js +10 -12
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +7 -3
- package/dist/billing/v1/generated/validators/orderItem.zod.js +16 -14
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +7 -3
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +7 -4
- package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +4 -4
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +4 -4
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +5 -8
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +7 -5
- package/dist/billing/v1/generated/validators/price.zod.js +14 -11
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +7 -5
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +7 -5
- package/dist/billing/v1/generated/validators/priceOption.zod.js +7 -3
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +2 -2
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +6 -3
- package/dist/billing/v1/generated/validators/quote.zod.js +4 -4
- package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +4 -4
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +8 -8
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +5 -5
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +11 -0
- package/dist/billing/v1/generated/validators/rate.zod.js +14 -6
- package/dist/billing/v1/generated/validators/rateList.zod.d.ts +11 -0
- package/dist/billing/v1/generated/validators/refund.zod.js +3 -3
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +8 -0
- package/dist/billing/v1/generated/validators/spendRow.zod.js +11 -0
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +8 -0
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.js +2 -2
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/statementItem.zod.js +4 -0
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +7 -3
- package/dist/billing/v1/generated/validators/subscription.zod.js +20 -14
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.js +8 -8
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +4 -4
- package/dist/billing/v1/generated/validators/transaction.zod.js +6 -6
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +8 -7
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -2
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +2 -2
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/canopy/v1/generated/functions.d.ts +1 -1
- package/dist/canopy/v1/generated/functions.js +1 -1
- package/dist/canopy/v1/generated/models.d.ts +379 -779
- package/dist/canopy/v1/generated/models.js +12 -44
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/schemas.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +22 -11
- package/dist/canopy/v1/generated/validators/accountBalance.zod.js +8 -8
- package/dist/canopy/v1/generated/validators/activeResource.zod.js +8 -5
- package/dist/canopy/v1/generated/validators/allowance.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +22 -11
- package/dist/canopy/v1/generated/validators/applicability.zod.js +12 -3
- package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingAccount.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/billingScheme.zod.d.ts +39 -0
- package/dist/canopy/v1/generated/validators/billingScheme.zod.js +36 -0
- package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/cancellation.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
- package/dist/canopy/v1/generated/validators/contact.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +22 -11
- package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
- package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +22 -11
- package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/creditNote.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/discount.zod.d.ts +23 -12
- package/dist/canopy/v1/generated/validators/discount.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +23 -12
- package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/funds.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/invoice.zod.js +8 -8
- package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +10 -4
- package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.js +1 -3
- package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/order.zod.d.ts +7 -4
- package/dist/canopy/v1/generated/validators/order.zod.js +10 -12
- package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +7 -3
- package/dist/canopy/v1/generated/validators/orderItem.zod.js +16 -14
- package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +7 -3
- package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +7 -4
- package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
- package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/paymentAction.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
- package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/paymentResult.zod.js +5 -8
- package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +0 -1
- package/dist/canopy/v1/generated/validators/price.zod.d.ts +7 -5
- package/dist/canopy/v1/generated/validators/price.zod.js +14 -11
- package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +7 -5
- package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +7 -5
- package/dist/canopy/v1/generated/validators/priceOption.zod.js +7 -3
- package/dist/canopy/v1/generated/validators/priceType.zod.d.ts +39 -0
- package/dist/canopy/v1/generated/validators/priceType.zod.js +36 -0
- package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +6 -3
- package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/quoteItem.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +8 -8
- package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
- package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/rate.zod.d.ts +11 -0
- package/dist/canopy/v1/generated/validators/rate.zod.js +14 -6
- package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +11 -0
- package/dist/canopy/v1/generated/validators/refund.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +8 -0
- package/dist/canopy/v1/generated/validators/spendRow.zod.js +11 -0
- package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +8 -0
- package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/statement.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/statementItem.zod.js +4 -0
- package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +7 -3
- package/dist/canopy/v1/generated/validators/subscription.zod.js +20 -14
- package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
- package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/topUp.zod.js +8 -8
- package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +4 -4
- package/dist/canopy/v1/generated/validators/transaction.zod.js +6 -6
- package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/usageCharge.zod.js +8 -7
- package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/usageType.zod.d.ts +39 -0
- package/dist/canopy/v1/generated/validators/usageType.zod.js +36 -0
- package/dist/canopy/v1/generated/validators/withdrawal.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/compute/v1/generated/functions.d.ts +15 -15
- package/dist/compute/v1/generated/functions.js +13 -13
- package/dist/compute/v1/generated/models.d.ts +37 -29
- package/dist/compute/v1/generated/models.js +6 -6
- package/dist/compute/v1/generated/schemas.zod.d.ts +69 -69
- package/dist/compute/v1/generated/schemas.zod.js +15 -15
- package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +3 -3
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/backupOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/backupResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/backupService.zod.d.ts +10 -10
- package/dist/compute/v1/generated/validators/backupService.zod.js +7 -7
- package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/billingChoice.zod.js +6 -4
- package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/billingPeriod.zod.js +2 -2
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/bootDisk.zod.js +2 -2
- package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +9 -9
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskAttachment.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +2 -2
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/error.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/error.zod.js +2 -2
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +2 -2
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/funds.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/funds.zod.js +6 -6
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +2 -2
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +8 -8
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +8 -8
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/imageOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/imageResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/imageVisibility.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/instanceOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/instanceResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +11 -11
- package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +11 -11
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listDisksParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listImagesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listPortsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/money.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/money.zod.js +2 -2
- package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/newBootDisk.zod.js +2 -2
- package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/newCompute.zod.js +2 -2
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +2 -2
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/operationLogResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/peeringOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/peeringResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/placedOrder.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portAddress.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portAttachment.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/portResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/portResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/powerRequest.zod.js +2 -2
- package/dist/compute/v1/generated/validators/pricing.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/pricing.zod.js +2 -2
- package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/pricingOption.zod.js +12 -10
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/quote.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
- package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/quoteItem.zod.js +2 -2
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/regionResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/releaseResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/routeResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +5 -5
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +8 -8
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +2 -2
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +8 -8
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +2 -2
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/snapshotResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/subnetResource.zod.js +2 -2
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +2 -2
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +2 -2
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +2 -2
- package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/zoneResource.zod.js +2 -2
- package/dist/membership/v1/generated/models.d.ts +379 -779
- package/dist/membership/v1/generated/models.js +12 -44
- package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +22 -11
- package/dist/membership/v1/generated/validators/accountBalance.zod.js +8 -8
- package/dist/membership/v1/generated/validators/activeResource.zod.js +8 -5
- package/dist/membership/v1/generated/validators/allowance.zod.js +3 -3
- package/dist/membership/v1/generated/validators/applicability.zod.d.ts +22 -11
- package/dist/membership/v1/generated/validators/applicability.zod.js +12 -3
- package/dist/membership/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/membership/v1/generated/validators/billingAccount.zod.js +5 -5
- package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/membership/v1/generated/validators/billingScheme.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/billingScheme.zod.js +11 -0
- package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/cancellation.zod.js +4 -4
- package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +3 -3
- package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
- package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
- package/dist/membership/v1/generated/validators/contact.zod.js +2 -2
- package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +22 -11
- package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
- package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +22 -11
- package/dist/membership/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/membership/v1/generated/validators/creditNote.zod.js +4 -4
- package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +1 -1
- package/dist/membership/v1/generated/validators/discount.zod.d.ts +23 -12
- package/dist/membership/v1/generated/validators/discount.zod.js +4 -4
- package/dist/membership/v1/generated/validators/discountList.zod.d.ts +23 -12
- package/dist/membership/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/membership/v1/generated/validators/funds.zod.js +4 -4
- package/dist/membership/v1/generated/validators/invoice.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/invoice.zod.js +8 -8
- package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/invoiceItem.zod.js +10 -4
- package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/invoiceItemProration.zod.js +1 -3
- package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +2 -2
- package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +3 -3
- package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/monthlyStatement.zod.js +2 -2
- package/dist/membership/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/membership/v1/generated/validators/order.zod.d.ts +7 -4
- package/dist/membership/v1/generated/validators/order.zod.js +10 -12
- package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +7 -3
- package/dist/membership/v1/generated/validators/orderItem.zod.js +16 -14
- package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +7 -3
- package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/membership/v1/generated/validators/orderList.zod.d.ts +7 -4
- package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
- package/dist/membership/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/membership/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
- package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +2 -2
- package/dist/membership/v1/generated/validators/paymentAction.zod.js +4 -4
- package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
- package/dist/membership/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/membership/v1/generated/validators/paymentPreview.zod.js +4 -4
- package/dist/membership/v1/generated/validators/paymentResult.zod.js +5 -8
- package/dist/membership/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +0 -1
- package/dist/membership/v1/generated/validators/price.zod.d.ts +7 -5
- package/dist/membership/v1/generated/validators/price.zod.js +14 -11
- package/dist/membership/v1/generated/validators/priceList.zod.d.ts +7 -5
- package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +7 -5
- package/dist/membership/v1/generated/validators/priceOption.zod.js +7 -3
- package/dist/membership/v1/generated/validators/priceType.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/priceType.zod.js +11 -0
- package/dist/membership/v1/generated/validators/productID.zod.js +1 -1
- package/dist/membership/v1/generated/validators/projectAssignment.zod.js +2 -2
- package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/membership/v1/generated/validators/quote.zod.d.ts +6 -3
- package/dist/membership/v1/generated/validators/quote.zod.js +4 -4
- package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/membership/v1/generated/validators/quoteItem.zod.js +4 -4
- package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
- package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +8 -8
- package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +1 -1
- package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
- package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
- package/dist/membership/v1/generated/validators/quoteRequest.zod.js +5 -5
- package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +1 -1
- package/dist/membership/v1/generated/validators/rate.zod.d.ts +11 -0
- package/dist/membership/v1/generated/validators/rate.zod.js +14 -6
- package/dist/membership/v1/generated/validators/rateList.zod.d.ts +11 -0
- package/dist/membership/v1/generated/validators/refund.zod.js +3 -3
- package/dist/membership/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/membership/v1/generated/validators/renewRequest.zod.js +2 -2
- package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/membership/v1/generated/validators/renewalPrice.zod.js +1 -1
- package/dist/membership/v1/generated/validators/scheduledChange.zod.js +2 -2
- package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +8 -0
- package/dist/membership/v1/generated/validators/spendRow.zod.js +11 -0
- package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +8 -0
- package/dist/membership/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/membership/v1/generated/validators/statement.zod.js +2 -2
- package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/statementItem.zod.js +4 -0
- package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/membership/v1/generated/validators/subscription.zod.d.ts +7 -3
- package/dist/membership/v1/generated/validators/subscription.zod.js +20 -14
- package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
- package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
- package/dist/membership/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/membership/v1/generated/validators/tier.zod.js +1 -1
- package/dist/membership/v1/generated/validators/topUp.zod.js +8 -8
- package/dist/membership/v1/generated/validators/topUpCreate.zod.js +4 -4
- package/dist/membership/v1/generated/validators/transaction.zod.js +6 -6
- package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/usageCharge.zod.js +8 -7
- package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/usageType.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/usageType.zod.js +11 -0
- package/dist/membership/v1/generated/validators/withdrawal.zod.js +2 -2
- package/dist/membership/v1/generated/validators/withdrawalItem.zod.js +2 -2
- package/dist/membership/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/routes.d.ts +4 -4
- package/dist/routes.js +4 -4
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export type listWithdrawalItemsResponseError = listWithdrawalItemsResponseDefaul
|
|
|
29
29
|
export type listWithdrawalItemsResponse = listWithdrawalItemsResponseSuccess | listWithdrawalItemsResponseError;
|
|
30
30
|
export declare const getListWithdrawalItemsUrl: (withdrawalId: string, params?: ListWithdrawalItemsParams) => string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The withdrawal's items and their outcomes. A failed item does not undo refunds completed through other items.
|
|
33
33
|
* @summary List withdrawal items
|
|
34
34
|
*/
|
|
35
35
|
export declare const listWithdrawalItems: (withdrawalId: string, params?: ListWithdrawalItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listWithdrawalItemsResponse>;
|
|
@@ -50,7 +50,7 @@ export type listWithdrawalsResponseError = listWithdrawalsResponseDefault & {
|
|
|
50
50
|
export type listWithdrawalsResponse = listWithdrawalsResponseSuccess | listWithdrawalsResponseError;
|
|
51
51
|
export declare const getListWithdrawalsUrl: (params?: ListWithdrawalsParams) => string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Withdrawals, newest first.
|
|
54
54
|
* @summary List withdrawals
|
|
55
55
|
*/
|
|
56
56
|
export declare const listWithdrawals: (params?: ListWithdrawalsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listWithdrawalsResponse>;
|
|
@@ -71,7 +71,7 @@ export type createWithdrawalResponseError = createWithdrawalResponseDefault & {
|
|
|
71
71
|
export type createWithdrawalResponse = createWithdrawalResponseSuccess | createWithdrawalResponseError;
|
|
72
72
|
export declare const getCreateWithdrawalUrl: () => string;
|
|
73
73
|
/**
|
|
74
|
-
* Withdraws the requested
|
|
74
|
+
* Withdraws the requested balance through the original top-ups, oldest first, with fees calculated per source. expected_items and expected_refund_amount must match the preview. Reusing the ID with different terms fails. Only successful items are charged a fee.
|
|
75
75
|
* @summary Create withdrawal
|
|
76
76
|
*/
|
|
77
77
|
export declare const createWithdrawal: (withdrawalCreate: WithdrawalCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createWithdrawalResponse>;
|
|
@@ -92,7 +92,7 @@ export type previewWithdrawalResponseError = previewWithdrawalResponseDefault &
|
|
|
92
92
|
export type previewWithdrawalResponse = previewWithdrawalResponseSuccess | previewWithdrawalResponseError;
|
|
93
93
|
export declare const getPreviewWithdrawalUrl: () => string;
|
|
94
94
|
/**
|
|
95
|
-
* Previews the
|
|
95
|
+
* Previews the balance deduction, fees and refund split by original top-up. Omit amount to preview all available balance. Nothing is created or reserved. Fails when a selected source has no refund route or its original processing cost is not yet known.
|
|
96
96
|
* @summary Preview withdrawal
|
|
97
97
|
*/
|
|
98
98
|
export declare const previewWithdrawal: (withdrawalPreviewRequest: WithdrawalPreviewRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewWithdrawalResponse>;
|
|
@@ -113,7 +113,7 @@ export type getWithdrawalResponseError = getWithdrawalResponseDefault & {
|
|
|
113
113
|
export type getWithdrawalResponse = getWithdrawalResponseSuccess | getWithdrawalResponseError;
|
|
114
114
|
export declare const getGetWithdrawalUrl: (withdrawalId: string) => string;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* A withdrawal with its accepted amounts and overall outcome; list its items for each refund result.
|
|
117
117
|
* @summary Get withdrawal
|
|
118
118
|
*/
|
|
119
119
|
export declare const getWithdrawal: (withdrawalId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getWithdrawalResponse>;
|
|
@@ -134,7 +134,7 @@ export type listContactsResponseError = listContactsResponseDefault & {
|
|
|
134
134
|
export type listContactsResponse = listContactsResponseSuccess | listContactsResponseError;
|
|
135
135
|
export declare const getListContactsUrl: (accountId: number, params?: ListContactsParams) => string;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* Contacts of the billing account, inactive ones included. Returns 404 if the account does not exist.
|
|
138
138
|
* @summary List contacts
|
|
139
139
|
*/
|
|
140
140
|
export declare const listContacts: (accountId: number, params?: ListContactsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listContactsResponse>;
|
|
@@ -155,7 +155,7 @@ export type createContactResponseError = createContactResponseDefault & {
|
|
|
155
155
|
export type createContactResponse = createContactResponseSuccess | createContactResponseError;
|
|
156
156
|
export declare const getCreateContactUrl: (accountId: number) => string;
|
|
157
157
|
/**
|
|
158
|
-
* Creates a contact
|
|
158
|
+
* Creates a contact for the billing account. To use it on invoices, set the account's invoice_contact_id.
|
|
159
159
|
* @summary Create contact
|
|
160
160
|
*/
|
|
161
161
|
export declare const createContact: (accountId: number, contactCreate: ContactCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createContactResponse>;
|
|
@@ -176,7 +176,7 @@ export type getContactResponseError = getContactResponseDefault & {
|
|
|
176
176
|
export type getContactResponse = getContactResponseSuccess | getContactResponseError;
|
|
177
177
|
export declare const getGetContactUrl: (accountId: number, contactId: string) => string;
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* A contact of this billing account. Returns 404 if it does not exist in the account.
|
|
180
180
|
* @summary Get contact
|
|
181
181
|
*/
|
|
182
182
|
export declare const getContact: (accountId: number, contactId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getContactResponse>;
|
|
@@ -197,7 +197,7 @@ export type updateContactResponseError = updateContactResponseDefault & {
|
|
|
197
197
|
export type updateContactResponse = updateContactResponseSuccess | updateContactResponseError;
|
|
198
198
|
export declare const getUpdateContactUrl: (accountId: number, contactId: string) => string;
|
|
199
199
|
/**
|
|
200
|
-
* Updates a contact
|
|
200
|
+
* Updates a contact of this billing account. Returns 404 if it does not exist in the account.
|
|
201
201
|
* @summary Update contact
|
|
202
202
|
*/
|
|
203
203
|
export declare const updateContact: (accountId: number, contactId: string, contactUpdate: ContactUpdate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateContactResponse>;
|
|
@@ -218,7 +218,7 @@ export type deleteContactResponseError = deleteContactResponseDefault & {
|
|
|
218
218
|
export type deleteContactResponse = deleteContactResponseSuccess | deleteContactResponseError;
|
|
219
219
|
export declare const getDeleteContactUrl: (accountId: number, contactId: string) => string;
|
|
220
220
|
/**
|
|
221
|
-
* Deletes a contact
|
|
221
|
+
* Deletes a contact of this billing account; 404 if it does not exist in the account. A contact selected for invoices must be cleared or replaced first. Issued invoices keep their copy.
|
|
222
222
|
* @summary Delete contact
|
|
223
223
|
*/
|
|
224
224
|
export declare const deleteContact: (accountId: number, contactId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteContactResponse>;
|
|
@@ -239,8 +239,7 @@ export type listCurrenciesResponseError = listCurrenciesResponseDefault & {
|
|
|
239
239
|
export type listCurrenciesResponse = listCurrenciesResponseSuccess | listCurrenciesResponseError;
|
|
240
240
|
export declare const getListCurrenciesUrl: (params?: ListCurrenciesParams) => string;
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
243
|
-
* although accounts already opened in it keep working. Results are paginated.
|
|
242
|
+
* Currencies a new billing account can be opened in; retired currencies are not listed.
|
|
244
243
|
* @summary List currencies accounts can be opened in
|
|
245
244
|
*/
|
|
246
245
|
export declare const listCurrencies: (params?: ListCurrenciesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCurrenciesResponse>;
|
|
@@ -261,7 +260,7 @@ export type listBillingAccountsResponseError = listBillingAccountsResponseDefaul
|
|
|
261
260
|
export type listBillingAccountsResponse = listBillingAccountsResponseSuccess | listBillingAccountsResponseError;
|
|
262
261
|
export declare const getListBillingAccountsUrl: (params?: ListBillingAccountsParams) => string;
|
|
263
262
|
/**
|
|
264
|
-
*
|
|
263
|
+
* Billing accounts owned by the authenticated user.
|
|
265
264
|
* @summary List billing accounts
|
|
266
265
|
*/
|
|
267
266
|
export declare const listBillingAccounts: (params?: ListBillingAccountsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listBillingAccountsResponse>;
|
|
@@ -282,10 +281,7 @@ export type createBillingAccountResponseError = createBillingAccountResponseDefa
|
|
|
282
281
|
export type createBillingAccountResponse = createBillingAccountResponseSuccess | createBillingAccountResponseError;
|
|
283
282
|
export declare const getCreateBillingAccountUrl: () => string;
|
|
284
283
|
/**
|
|
285
|
-
*
|
|
286
|
-
* account — prices, orders, invoices, balance — is denominated in it.
|
|
287
|
-
*
|
|
288
|
-
* One person may hold several accounts, for example a personal one and one for a team.
|
|
284
|
+
* Creates a billing account. Its currency is fixed: prices, orders, invoices and balance are all in it.
|
|
289
285
|
* @summary Create billing account
|
|
290
286
|
*/
|
|
291
287
|
export declare const createBillingAccount: (billingAccountCreate: BillingAccountCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createBillingAccountResponse>;
|
|
@@ -306,7 +302,7 @@ export type getBillingAccountResponseError = getBillingAccountResponseDefault &
|
|
|
306
302
|
export type getBillingAccountResponse = getBillingAccountResponseSuccess | getBillingAccountResponseError;
|
|
307
303
|
export declare const getGetBillingAccountUrl: (accountId: number) => string;
|
|
308
304
|
/**
|
|
309
|
-
*
|
|
305
|
+
* Your billing account with its currency, status and invoice contact. Returns 404 if it does not exist and 403 if it belongs to another user.
|
|
310
306
|
* @summary Get billing account
|
|
311
307
|
*/
|
|
312
308
|
export declare const getBillingAccount: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getBillingAccountResponse>;
|
|
@@ -327,9 +323,7 @@ export type updateBillingAccountResponseError = updateBillingAccountResponseDefa
|
|
|
327
323
|
export type updateBillingAccountResponse = updateBillingAccountResponseSuccess | updateBillingAccountResponseError;
|
|
328
324
|
export declare const getUpdateBillingAccountUrl: (accountId: number) => string;
|
|
329
325
|
/**
|
|
330
|
-
*
|
|
331
|
-
* address and tax identifier are copied when an invoice is issued; issued snapshots are
|
|
332
|
-
* retained. Set invoice_contact_id to null to clear the selection. The currency cannot change.
|
|
326
|
+
* Selects an active contact of this account for future invoices; its legal name, address and tax identifier are copied when an invoice is issued. Set invoice_contact_id to null to clear it. The currency cannot change.
|
|
333
327
|
* @summary Update billing account
|
|
334
328
|
*/
|
|
335
329
|
export declare const updateBillingAccount: (accountId: number, billingAccountUpdate: BillingAccountUpdate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateBillingAccountResponse>;
|
|
@@ -350,7 +344,7 @@ export type getAccountBalanceResponseError = getAccountBalanceResponseDefault &
|
|
|
350
344
|
export type getAccountBalanceResponse = getAccountBalanceResponseSuccess | getAccountBalanceResponseError;
|
|
351
345
|
export declare const getGetAccountBalanceUrl: (accountId: number) => string;
|
|
352
346
|
/**
|
|
353
|
-
*
|
|
347
|
+
* The balance of your account, with credit groups, unpaid invoice amounts, unbilled estimates and pending returns. Returns 404 for a missing account and 403 for another user's account.
|
|
354
348
|
* @summary Get account balance
|
|
355
349
|
*/
|
|
356
350
|
export declare const getAccountBalance: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getAccountBalanceResponse>;
|
|
@@ -371,10 +365,7 @@ export type listPaymentOptionsResponseError = listPaymentOptionsResponseDefault
|
|
|
371
365
|
export type listPaymentOptionsResponse = listPaymentOptionsResponseSuccess | listPaymentOptionsResponseError;
|
|
372
366
|
export declare const getListPaymentOptionsUrl: (accountId: number, params?: ListPaymentOptionsParams) => string;
|
|
373
367
|
/**
|
|
374
|
-
*
|
|
375
|
-
* preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
|
|
376
|
-
* others are refused. An empty result means no online payment is available for this account.
|
|
377
|
-
* Results are paginated.
|
|
368
|
+
* 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.
|
|
378
369
|
* @summary List payment options
|
|
379
370
|
*/
|
|
380
371
|
export declare const listPaymentOptions: (accountId: number, params?: ListPaymentOptionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPaymentOptionsResponse>;
|
|
@@ -395,7 +386,7 @@ export type listProjectAssignmentsResponseError = listProjectAssignmentsResponse
|
|
|
395
386
|
export type listProjectAssignmentsResponse = listProjectAssignmentsResponseSuccess | listProjectAssignmentsResponseError;
|
|
396
387
|
export declare const getListProjectAssignmentsUrl: (params?: ListProjectAssignmentsParams) => string;
|
|
397
388
|
/**
|
|
398
|
-
*
|
|
389
|
+
* Current project assignments to your billing accounts, filtered by billing_account_id or project_ids. Past charges keep the account they were assigned to.
|
|
399
390
|
* @summary List project assignments
|
|
400
391
|
*/
|
|
401
392
|
export declare const listProjectAssignments: (params?: ListProjectAssignmentsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listProjectAssignmentsResponse>;
|
|
@@ -416,8 +407,7 @@ export type getProjectAssignmentResponseError = getProjectAssignmentResponseDefa
|
|
|
416
407
|
export type getProjectAssignmentResponse = getProjectAssignmentResponseSuccess | getProjectAssignmentResponseError;
|
|
417
408
|
export declare const getGetProjectAssignmentUrl: (projectId: string) => string;
|
|
418
409
|
/**
|
|
419
|
-
*
|
|
420
|
-
* no billing account is assigned; no resources can be created until one is assigned.
|
|
410
|
+
* The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
|
|
421
411
|
* @summary Get project assignment
|
|
422
412
|
*/
|
|
423
413
|
export declare const getProjectAssignment: (projectId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getProjectAssignmentResponse>;
|
|
@@ -438,17 +428,13 @@ export type setProjectAssignmentResponseError = setProjectAssignmentResponseDefa
|
|
|
438
428
|
export type setProjectAssignmentResponse = setProjectAssignmentResponseSuccess | setProjectAssignmentResponseError;
|
|
439
429
|
export declare const getSetProjectAssignmentUrl: (projectId: string) => string;
|
|
440
430
|
/**
|
|
441
|
-
* Charges already incurred
|
|
442
|
-
* occurred
|
|
443
|
-
* the change.
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
* Orders keep the billing account they were placed with and are fulfilled as placed. Periods
|
|
447
|
-
* already paid for are unaffected; renewals are charged to the new billing account.
|
|
431
|
+
* Links the project to another billing account. Charges already incurred stay with the account linked when they
|
|
432
|
+
* occurred and are invoiced to it; metered resources are settled up to the moment of the change. Amounts the
|
|
433
|
+
* previous account owes do not prevent the change. Orders keep the account they were placed with; paid periods
|
|
434
|
+
* are unaffected, and renewals are charged to the new account.
|
|
448
435
|
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
* other than that of the new billing account.
|
|
436
|
+
* Refused once the project no longer accepts purchases because it is being deleted, and while a subscription or
|
|
437
|
+
* an in-progress order of the project uses a currency other than the new account's.
|
|
452
438
|
* @summary Set project assignment
|
|
453
439
|
*/
|
|
454
440
|
export declare const setProjectAssignment: (projectId: string, setProjectAssignmentRequest: SetProjectAssignmentRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setProjectAssignmentResponse>;
|
|
@@ -469,17 +455,7 @@ export type unlinkProjectBillingAccountResponseError = unlinkProjectBillingAccou
|
|
|
469
455
|
export type unlinkProjectBillingAccountResponse = unlinkProjectBillingAccountResponseSuccess | unlinkProjectBillingAccountResponseError;
|
|
470
456
|
export declare const getUnlinkProjectBillingAccountUrl: (projectId: string) => string;
|
|
471
457
|
/**
|
|
472
|
-
* Ends the project's current assignment
|
|
473
|
-
*
|
|
474
|
-
* Permitted only when nothing in the project is still running or in progress: no metered
|
|
475
|
-
* resources, no subscriptions that have not ended, and no orders in progress, including
|
|
476
|
-
* changes scheduled for the end of a period. Orders are not modified by this request; wait
|
|
477
|
-
* for them to complete, and have the service that scheduled a change call it off.
|
|
478
|
-
*
|
|
479
|
-
* Charges already incurred remain with the billing account and are invoiced to it as usual.
|
|
480
|
-
* Amounts the billing account owes do not prevent unlinking.
|
|
481
|
-
*
|
|
482
|
-
* After this the project cannot make purchases until a billing account is linked again.
|
|
458
|
+
* 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; orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual; amounts it owes do not prevent unlinking. The project cannot make purchases until a billing account is linked again.
|
|
483
459
|
* @summary Unlink project billing account
|
|
484
460
|
*/
|
|
485
461
|
export declare const unlinkProjectBillingAccount: (projectId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<unlinkProjectBillingAccountResponse>;
|
|
@@ -500,8 +476,7 @@ export type listTopUpsResponseError = listTopUpsResponseDefault & {
|
|
|
500
476
|
export type listTopUpsResponse = listTopUpsResponseSuccess | listTopUpsResponseError;
|
|
501
477
|
export declare const getListTopUpsUrl: (params?: ListTopUpsParams) => string;
|
|
502
478
|
/**
|
|
503
|
-
*
|
|
504
|
-
* created for a top-up. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
|
|
479
|
+
* Your top-ups, including pending, failed and canceled attempts. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
|
|
505
480
|
* @summary List top ups
|
|
506
481
|
*/
|
|
507
482
|
export declare const listTopUps: (params?: ListTopUpsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listTopUpsResponse>;
|
|
@@ -522,9 +497,7 @@ export type createTopUpResponseError = createTopUpResponseDefault & {
|
|
|
522
497
|
export type createTopUpResponse = createTopUpResponseSuccess | createTopUpResponseError;
|
|
523
498
|
export declare const getCreateTopUpUrl: () => string;
|
|
524
499
|
/**
|
|
525
|
-
* Creates a top-up for an account
|
|
526
|
-
* The balance increases only after the payment gateway confirms receipt. A top-up has no invoice.
|
|
527
|
-
* Keep the supplied ID to query the original attempt after a lost response; duplicate creation conflicts.
|
|
500
|
+
* Creates a top-up for an account of the authenticated user and returns its payment information. The balance increases when the gateway confirms receipt. Keep the supplied ID to read the attempt after a lost response; creating it again conflicts.
|
|
528
501
|
* @summary Create top up
|
|
529
502
|
*/
|
|
530
503
|
export declare const createTopUp: (topUpCreate: TopUpCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createTopUpResponse>;
|
|
@@ -545,12 +518,7 @@ export type getTopUpResponseError = getTopUpResponseDefault & {
|
|
|
545
518
|
export type getTopUpResponse = getTopUpResponseSuccess | getTopUpResponseError;
|
|
546
519
|
export declare const getGetTopUpUrl: (topUpId: string) => string;
|
|
547
520
|
/**
|
|
548
|
-
*
|
|
549
|
-
* It is not an invoice.
|
|
550
|
-
*
|
|
551
|
-
* While the top-up is pending, the answer includes the customer's next step as the payment gateway
|
|
552
|
-
* currently reports it, so that a payment interrupted by a closed page can be continued. When the gateway
|
|
553
|
-
* cannot be reached, the top-up is returned without `action`; read it again later.
|
|
521
|
+
* A top-up of the authenticated user, with its outcome and unspent amount. While it is pending, `action` carries the customer's next step as the gateway reports it, so an interrupted payment can be continued; when the gateway cannot be reached, `action` is omitted.
|
|
554
522
|
* @summary Get top up
|
|
555
523
|
*/
|
|
556
524
|
export declare const getTopUp: (topUpId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getTopUpResponse>;
|
|
@@ -575,17 +543,14 @@ export type cancelTopUpResponseError = (cancelTopUpResponse409 | cancelTopUpResp
|
|
|
575
543
|
export type cancelTopUpResponse = cancelTopUpResponseSuccess | cancelTopUpResponseError;
|
|
576
544
|
export declare const getCancelTopUpUrl: (topUpId: string) => string;
|
|
577
545
|
/**
|
|
578
|
-
* Withdraws a pending top-up
|
|
579
|
-
* `
|
|
580
|
-
* top-up
|
|
581
|
-
*
|
|
582
|
-
* If the gateway has already collected the payment, nothing is withdrawn and the top-up is returned
|
|
583
|
-
* as `succeeded` with the balance increased. Check `status` in the answer rather than assuming the
|
|
584
|
-
* cancellation took effect.
|
|
546
|
+
* Withdraws a pending top-up of the authenticated user at the payment gateway. It becomes `canceled` with
|
|
547
|
+
* `cancellation_reason` `requested_by_customer`, and nothing is collected. Canceling a canceled top-up returns
|
|
548
|
+
* it unchanged. If the gateway has already collected the payment, the top-up is returned as `succeeded` with the
|
|
549
|
+
* balance increased; check `status` in the response.
|
|
585
550
|
*
|
|
586
|
-
* Fails with 409
|
|
587
|
-
*
|
|
588
|
-
*
|
|
551
|
+
* Fails with 409 `BILLING_TOPUP_NOT_CANCELABLE` when the top-up has succeeded or failed, with `status` naming
|
|
552
|
+
* the outcome, or while the gateway is processing the payment, with `status` `pending`; read the top-up again
|
|
553
|
+
* later.
|
|
589
554
|
* @summary Cancel top up
|
|
590
555
|
*/
|
|
591
556
|
export declare const cancelTopUp: (topUpId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<cancelTopUpResponse>;
|
|
@@ -606,7 +571,7 @@ export type listPaymentMethodsResponseError = listPaymentMethodsResponseDefault
|
|
|
606
571
|
export type listPaymentMethodsResponse = listPaymentMethodsResponseSuccess | listPaymentMethodsResponseError;
|
|
607
572
|
export declare const getListPaymentMethodsUrl: (params?: ListPaymentMethodsParams) => string;
|
|
608
573
|
/**
|
|
609
|
-
*
|
|
574
|
+
* Saved payment methods of your billing accounts, optionally for one billing_account_id. Removed methods are not listed.
|
|
610
575
|
* @summary List payment methods
|
|
611
576
|
*/
|
|
612
577
|
export declare const listPaymentMethods: (params?: ListPaymentMethodsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPaymentMethodsResponse>;
|
|
@@ -627,11 +592,7 @@ export type createPaymentMethodSetupResponseError = createPaymentMethodSetupResp
|
|
|
627
592
|
export type createPaymentMethodSetupResponse = createPaymentMethodSetupResponseSuccess | createPaymentMethodSetupResponseError;
|
|
628
593
|
export declare const getCreatePaymentMethodSetupUrl: () => string;
|
|
629
594
|
/**
|
|
630
|
-
* Returns what
|
|
631
|
-
* form. Nothing is charged, and the method appears in the list once the gateway
|
|
632
|
-
* confirms it.
|
|
633
|
-
*
|
|
634
|
-
* Card numbers are never sent to or stored by this service.
|
|
595
|
+
* Returns what the browser needs to open the payment gateway's card form. Nothing is charged; the method is listed once the gateway confirms it. Card numbers never reach this service.
|
|
635
596
|
* @summary Create payment method setup
|
|
636
597
|
*/
|
|
637
598
|
export declare const createPaymentMethodSetup: (paymentMethodSetup: PaymentMethodSetup, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createPaymentMethodSetupResponse>;
|
|
@@ -652,7 +613,7 @@ export type setDefaultPaymentMethodResponseError = setDefaultPaymentMethodRespon
|
|
|
652
613
|
export type setDefaultPaymentMethodResponse = setDefaultPaymentMethodResponseSuccess | setDefaultPaymentMethodResponseError;
|
|
653
614
|
export declare const getSetDefaultPaymentMethodUrl: (paymentMethodId: string) => string;
|
|
654
615
|
/**
|
|
655
|
-
*
|
|
616
|
+
* Makes an active saved payment method the default for its billing account and returns it. Expired or removed methods cannot be selected; selecting the current default changes nothing.
|
|
656
617
|
* @summary Set default payment method
|
|
657
618
|
*/
|
|
658
619
|
export declare const setDefaultPaymentMethod: (paymentMethodId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setDefaultPaymentMethodResponse>;
|
|
@@ -673,8 +634,7 @@ export type deletePaymentMethodResponseError = deletePaymentMethodResponseDefaul
|
|
|
673
634
|
export type deletePaymentMethodResponse = deletePaymentMethodResponseSuccess | deletePaymentMethodResponseError;
|
|
674
635
|
export declare const getDeletePaymentMethodUrl: (paymentMethodId: string) => string;
|
|
675
636
|
/**
|
|
676
|
-
* Refused when it is the only method
|
|
677
|
-
* as there would be nothing left to charge when the balance runs out.
|
|
637
|
+
* Refused when it is the only payment method of an account with metered resources.
|
|
678
638
|
* @summary Delete payment method
|
|
679
639
|
*/
|
|
680
640
|
export declare const deletePaymentMethod: (paymentMethodId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deletePaymentMethodResponse>;
|
|
@@ -695,41 +655,30 @@ export type payInvoiceResponseError = payInvoiceResponseDefault & {
|
|
|
695
655
|
export type payInvoiceResponse = payInvoiceResponseSuccess | payInvoiceResponseError;
|
|
696
656
|
export declare const getPayInvoiceUrl: (invoiceId: string) => string;
|
|
697
657
|
/**
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
* account funds fail without starting an online payment. Card and non-card methods use this same
|
|
701
|
-
* operation.
|
|
658
|
+
* Pays the invoice from eligible credit grants and balance as requested, and collects the remainder through the
|
|
659
|
+
* selected gateway and method. Without a gateway, insufficient funds fail and no online payment starts.
|
|
702
660
|
*
|
|
703
|
-
* The draft invoice of a deferred order is priced
|
|
704
|
-
*
|
|
705
|
-
*
|
|
706
|
-
*
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
* insufficient funds or a declined card: later attempts reuse them, and a different promotion_code
|
|
710
|
-
* is then refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred period-end change can be paid
|
|
711
|
-
* once its first period is due to be invoiced; earlier attempts are refused with
|
|
661
|
+
* The draft invoice of a deferred order is priced on its first payment: promotion_code, or otherwise the best
|
|
662
|
+
* applicable account discount, is applied, the total is compared with expected_amount, and the invoice is issued
|
|
663
|
+
* before collection. An invalid or inapplicable code fails, and a total other than expected_amount fails with
|
|
664
|
+
* `BILLING_AMOUNT_CHANGED`; neither changes anything. Once fixed, the terms stay fixed even if collection does
|
|
665
|
+
* not complete, and a different promotion_code is refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred
|
|
666
|
+
* period-end change can be paid only once its first period is due to be invoiced; earlier attempts fail with
|
|
712
667
|
* `BILLING_CHANGE_NOT_INVOICED`.
|
|
713
668
|
*
|
|
714
|
-
* Returns a payment action when customer
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
*
|
|
718
|
-
*
|
|
719
|
-
* charged. One the gateway is still processing is refused with `BILLING_PAYMENT_PENDING` and
|
|
720
|
-
* `meta.transaction_id`; wait for its outcome.
|
|
669
|
+
* Returns a payment action when the customer must act; requires_action and processing are not paid. An
|
|
670
|
+
* unresolved online payment with the same gateway, method and saved payment method is reused, and retries never
|
|
671
|
+
* apply credit grants or balance twice. Paying any other way first cancels that payment; if the gateway had
|
|
672
|
+
* already collected it, the invoice is paid by it and nothing more is charged. A payment the gateway is still
|
|
673
|
+
* processing fails with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
|
|
721
674
|
*
|
|
722
|
-
*
|
|
723
|
-
*
|
|
724
|
-
* order
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
* `BILLING_INVOICE_NOT_PAYABLE`
|
|
728
|
-
*
|
|
729
|
-
* `subscription_ended` respectively. A usage invoice is billed to the smallest fraction a balance can
|
|
730
|
-
* hold, finer than a payment method can charge, so paying one online is refused with
|
|
731
|
-
* `BILLING_INVOICE_NOT_PAYABLE` and `meta.reason` `usage_invoice`; it is collected from credit grants
|
|
732
|
-
* and balance automatically, including right after a top-up.
|
|
675
|
+
* A paid invoice returns its existing result without another charge. Refused with `BILLING_INVOICE_NOT_PAYABLE`
|
|
676
|
+
* for a void invoice; `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED` for the invoice of a failed or canceled
|
|
677
|
+
* order; `BILLING_ORDER_EXPIRED` after the order's payment deadline; `BILLING_INVOICE_NOT_PAYABLE` with
|
|
678
|
+
* `meta.reason` `subscription_canceling`, `subscription_reclaiming` or `subscription_ended` for a renewal
|
|
679
|
+
* invoice whose subscription is being canceled, is being reclaimed or has ended; and
|
|
680
|
+
* `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `usage_invoice` for a usage invoice, which is collected from
|
|
681
|
+
* credit grants and balance automatically, including right after a top-up.
|
|
733
682
|
* @summary Pay an invoice
|
|
734
683
|
*/
|
|
735
684
|
export declare const payInvoice: (invoiceId: string, payInvoiceRequest?: PayInvoiceRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<payInvoiceResponse>;
|
|
@@ -779,25 +728,19 @@ export type payTogetherResponseError = payTogetherResponseDefault & {
|
|
|
779
728
|
export type payTogetherResponse = payTogetherResponseSuccess | payTogetherResponseError;
|
|
780
729
|
export declare const getPayTogetherUrl: () => string;
|
|
781
730
|
/**
|
|
782
|
-
* Pays outstanding invoices, including
|
|
783
|
-
*
|
|
784
|
-
*
|
|
785
|
-
* account discount and is issued first, and stays issued if the payment fails; pay it on its own to
|
|
786
|
-
* apply a promotion code.
|
|
731
|
+
* Pays outstanding invoices, including those of the listed orders, from eligible credit grants and then balance,
|
|
732
|
+
* without a payment gateway. The draft invoice of a deferred order takes the best applicable account discount
|
|
733
|
+
* and is issued first, staying issued if payment fails; pay it alone to use a promotion code.
|
|
787
734
|
*
|
|
788
|
-
*
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
* `
|
|
794
|
-
* `BILLING_INVOICE_NOT_PAYABLE
|
|
795
|
-
* `
|
|
796
|
-
*
|
|
797
|
-
* passed with `BILLING_ORDER_EXPIRED`. A renewal invoice is refused with
|
|
798
|
-
* `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
|
|
799
|
-
* ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
|
|
800
|
-
* `subscription_ended` respectively.
|
|
735
|
+
* All invoices are paid or none: insufficient funds fail with `BILLING_INSUFFICIENT_FUNDS`, and a total other
|
|
736
|
+
* than expected_amount fails with `BILLING_AMOUNT_CHANGED`, charging nothing. Paid invoices are not charged
|
|
737
|
+
* again. An earlier online payment for one of the invoices is canceled first; one the gateway is still
|
|
738
|
+
* processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Also refused with
|
|
739
|
+
* `BILLING_INVOICE_NOT_PAYABLE` for a void invoice; `BILLING_CHANGE_NOT_INVOICED` for a period-end change not
|
|
740
|
+
* yet due; `BILLING_ORDER_FAILED`, `BILLING_ORDER_CANCELED` or `BILLING_ORDER_EXPIRED` for an order in that
|
|
741
|
+
* state; and `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `subscription_canceling`,
|
|
742
|
+
* `subscription_reclaiming` or `subscription_ended` for a renewal invoice of a subscription being canceled,
|
|
743
|
+
* being reclaimed or ended.
|
|
801
744
|
* @summary Pay together
|
|
802
745
|
*/
|
|
803
746
|
export declare const payTogether: (payTogetherRequest: PayTogetherRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<payTogetherResponse>;
|
|
@@ -818,13 +761,7 @@ export type previewPayTogetherResponseError = previewPayTogetherResponseDefault
|
|
|
818
761
|
export type previewPayTogetherResponse = previewPayTogetherResponseSuccess | previewPayTogetherResponseError;
|
|
819
762
|
export declare const getPreviewPayTogetherUrl: () => string;
|
|
820
763
|
/**
|
|
821
|
-
* What paying these invoices together now would take from credit grants and from the balance,
|
|
822
|
-
* invoice by invoice in the order they would be paid. It is computed as paying together computes
|
|
823
|
-
* it. Nothing is charged, reserved or created.
|
|
824
|
-
*
|
|
825
|
-
* Refused with the same errors as paying together, except that insufficient funds are not an
|
|
826
|
-
* error here: they show as a `gateway_amount` above zero, and paying together would then be
|
|
827
|
-
* refused with `BILLING_INSUFFICIENT_FUNDS`.
|
|
764
|
+
* What paying these invoices together now would take from credit grants and from the balance, per invoice in payment order, calculated as paying together does. Nothing is charged, reserved or created. Refused with the same errors as paying together, except that insufficient funds show as a `gateway_amount` above zero instead of an error.
|
|
828
765
|
* @summary Preview paying together
|
|
829
766
|
*/
|
|
830
767
|
export declare const previewPayTogether: (payTogetherRequest: PayTogetherRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewPayTogetherResponse>;
|
|
@@ -845,7 +782,7 @@ export type listInvoicesResponseError = listInvoicesResponseDefault & {
|
|
|
845
782
|
export type listInvoicesResponse = listInvoicesResponseSuccess | listInvoicesResponseError;
|
|
846
783
|
export declare const getListInvoicesUrl: (params?: ListInvoicesParams) => string;
|
|
847
784
|
/**
|
|
848
|
-
*
|
|
785
|
+
* Issued invoices of your billing accounts. Drafts are not listed; an order's draft invoice is reached through its order. Top-ups have no invoices.
|
|
849
786
|
* @summary List invoices
|
|
850
787
|
*/
|
|
851
788
|
export declare const listInvoices: (params?: ListInvoicesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInvoicesResponse>;
|
|
@@ -866,7 +803,7 @@ export type getInvoiceResponseError = getInvoiceResponseDefault & {
|
|
|
866
803
|
export type getInvoiceResponse = getInvoiceResponseSuccess | getInvoiceResponseError;
|
|
867
804
|
export declare const getGetInvoiceUrl: (invoiceId: string) => string;
|
|
868
805
|
/**
|
|
869
|
-
*
|
|
806
|
+
* An invoice of your billing account, issued or an order's draft, with its amounts, tax lines and payment state. A missing invoice or another draft returns 404; an invoice of another user's account returns 403.
|
|
870
807
|
* @summary Get invoice
|
|
871
808
|
*/
|
|
872
809
|
export declare const getInvoice: (invoiceId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getInvoiceResponse>;
|
|
@@ -887,7 +824,7 @@ export type listInvoiceItemsResponseError = listInvoiceItemsResponseDefault & {
|
|
|
887
824
|
export type listInvoiceItemsResponse = listInvoiceItemsResponseSuccess | listInvoiceItemsResponseError;
|
|
888
825
|
export declare const getListInvoiceItemsUrl: (invoiceId: string, params?: ListInvoiceItemsParams) => string;
|
|
889
826
|
/**
|
|
890
|
-
*
|
|
827
|
+
* Lines of an invoice of your billing account, issued or an order's draft, with their service periods and projects. A missing invoice or another draft returns 404; an invoice of another user's account returns 403.
|
|
891
828
|
* @summary List invoice items
|
|
892
829
|
*/
|
|
893
830
|
export declare const listInvoiceItems: (invoiceId: string, params?: ListInvoiceItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInvoiceItemsResponse>;
|
|
@@ -908,7 +845,7 @@ export type listTransactionsResponseError = listTransactionsResponseDefault & {
|
|
|
908
845
|
export type listTransactionsResponse = listTransactionsResponseSuccess | listTransactionsResponseError;
|
|
909
846
|
export declare const getListTransactionsUrl: (params?: ListTransactionsParams) => string;
|
|
910
847
|
/**
|
|
911
|
-
*
|
|
848
|
+
* Ledger entries of your billing accounts, filtered by billing_account_id and creation time.
|
|
912
849
|
* @summary List transactions
|
|
913
850
|
*/
|
|
914
851
|
export declare const listTransactions: (params?: ListTransactionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listTransactionsResponse>;
|
|
@@ -929,8 +866,7 @@ export type listAccountDiscountsResponseError = listAccountDiscountsResponseDefa
|
|
|
929
866
|
export type listAccountDiscountsResponse = listAccountDiscountsResponseSuccess | listAccountDiscountsResponseError;
|
|
930
867
|
export declare const getListAccountDiscountsUrl: (params?: ListAccountDiscountsParams) => string;
|
|
931
868
|
/**
|
|
932
|
-
* Coupons
|
|
933
|
-
* entered. A coupon reached through a code is not listed here.
|
|
869
|
+
* Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
|
|
934
870
|
* @summary List the coupons held on this account
|
|
935
871
|
*/
|
|
936
872
|
export declare const listAccountDiscounts: (params?: ListAccountDiscountsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listAccountDiscountsResponse>;
|
|
@@ -951,8 +887,7 @@ export type listCreditGrantsResponseError = listCreditGrantsResponseDefault & {
|
|
|
951
887
|
export type listCreditGrantsResponse = listCreditGrantsResponseSuccess | listCreditGrantsResponseError;
|
|
952
888
|
export declare const getListCreditGrantsUrl: (params?: ListCreditGrantsParams) => string;
|
|
953
889
|
/**
|
|
954
|
-
*
|
|
955
|
-
* and cannot be withdrawn.
|
|
890
|
+
* Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
|
|
956
891
|
* @summary List credit grants
|
|
957
892
|
*/
|
|
958
893
|
export declare const listCreditGrants: (params?: ListCreditGrantsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCreditGrantsResponse>;
|
|
@@ -973,7 +908,7 @@ export type listCreditNotesResponseError = listCreditNotesResponseDefault & {
|
|
|
973
908
|
export type listCreditNotesResponse = listCreditNotesResponseSuccess | listCreditNotesResponseError;
|
|
974
909
|
export declare const getListCreditNotesUrl: (params?: ListCreditNotesParams) => string;
|
|
975
910
|
/**
|
|
976
|
-
*
|
|
911
|
+
* Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
|
|
977
912
|
* @summary List credit notes
|
|
978
913
|
*/
|
|
979
914
|
export declare const listCreditNotes: (params?: ListCreditNotesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCreditNotesResponse>;
|
|
@@ -1015,7 +950,7 @@ export type listCreditNoteItemsResponseError = listCreditNoteItemsResponseDefaul
|
|
|
1015
950
|
export type listCreditNoteItemsResponse = listCreditNoteItemsResponseSuccess | listCreditNoteItemsResponseError;
|
|
1016
951
|
export declare const getListCreditNoteItemsUrl: (creditNoteId: string, params?: ListCreditNoteItemsParams) => string;
|
|
1017
952
|
/**
|
|
1018
|
-
* The
|
|
953
|
+
* The invoice lines this credit note reduced.
|
|
1019
954
|
* @summary List credit note items
|
|
1020
955
|
*/
|
|
1021
956
|
export declare const listCreditNoteItems: (creditNoteId: string, params?: ListCreditNoteItemsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCreditNoteItemsResponse>;
|
|
@@ -1057,7 +992,7 @@ export type listUsageChargesResponseError = listUsageChargesResponseDefault & {
|
|
|
1057
992
|
export type listUsageChargesResponse = listUsageChargesResponseSuccess | listUsageChargesResponseError;
|
|
1058
993
|
export declare const getListUsageChargesUrl: (params?: ListUsageChargesParams) => string;
|
|
1059
994
|
/**
|
|
1060
|
-
*
|
|
995
|
+
* Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
|
|
1061
996
|
* @summary List usage charges
|
|
1062
997
|
*/
|
|
1063
998
|
export declare const listUsageCharges: (params?: ListUsageChargesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listUsageChargesResponse>;
|
|
@@ -1078,7 +1013,7 @@ export type listSubscriptionsResponseError = listSubscriptionsResponseDefault &
|
|
|
1078
1013
|
export type listSubscriptionsResponse = listSubscriptionsResponseSuccess | listSubscriptionsResponseError;
|
|
1079
1014
|
export declare const getListSubscriptionsUrl: (params?: ListSubscriptionsParams) => string;
|
|
1080
1015
|
/**
|
|
1081
|
-
*
|
|
1016
|
+
* Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
|
|
1082
1017
|
* @summary List subscriptions
|
|
1083
1018
|
*/
|
|
1084
1019
|
export declare const listSubscriptions: (params?: ListSubscriptionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listSubscriptionsResponse>;
|
|
@@ -1099,7 +1034,7 @@ export type getSubscriptionResponseError = getSubscriptionResponseDefault & {
|
|
|
1099
1034
|
export type getSubscriptionResponse = getSubscriptionResponseSuccess | getSubscriptionResponseError;
|
|
1100
1035
|
export declare const getGetSubscriptionUrl: (subscriptionId: string) => string;
|
|
1101
1036
|
/**
|
|
1102
|
-
*
|
|
1037
|
+
* A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
|
|
1103
1038
|
* @summary Get subscription
|
|
1104
1039
|
*/
|
|
1105
1040
|
export declare const getSubscription: (subscriptionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getSubscriptionResponse>;
|
|
@@ -1120,15 +1055,7 @@ export type deleteSubscriptionResponseError = deleteSubscriptionResponseDefault
|
|
|
1120
1055
|
export type deleteSubscriptionResponse = deleteSubscriptionResponseSuccess | deleteSubscriptionResponseError;
|
|
1121
1056
|
export declare const getDeleteSubscriptionUrl: (subscriptionId: string) => string;
|
|
1122
1057
|
/**
|
|
1123
|
-
*
|
|
1124
|
-
* list and detail. Your account access token must authorize the subscription's current billing
|
|
1125
|
-
* account. Preserves commercial status, ended_at and billing and financial history. Completed
|
|
1126
|
-
* cancellations and canceled unfulfilled purchases can be deleted directly, without termination.
|
|
1127
|
-
* Pending, provisioning, active and suspended subscriptions are refused with 409
|
|
1128
|
-
* BILLING_SUBSCRIPTION_NOT_ENDED and status in error params. A scheduled or releasing cancellation
|
|
1129
|
-
* does not make a subscription canceled.
|
|
1130
|
-
* There is no force, skip-cleanup or override option. Repeating deletion preserves the original
|
|
1131
|
-
* deleted_at. Sends no cleanup command and creates no refund; outstanding cleanup continues.
|
|
1058
|
+
* Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. The token must authorize the subscription's current billing account. 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.
|
|
1132
1059
|
* @summary Delete subscription
|
|
1133
1060
|
*/
|
|
1134
1061
|
export declare const deleteSubscription: (subscriptionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteSubscriptionResponse>;
|
|
@@ -1149,47 +1076,45 @@ export type cancelSubscriptionResponseError = cancelSubscriptionResponseDefault
|
|
|
1149
1076
|
export type cancelSubscriptionResponse = cancelSubscriptionResponseSuccess | cancelSubscriptionResponseError;
|
|
1150
1077
|
export declare const getCancelSubscriptionUrl: (subscriptionId: string) => string;
|
|
1151
1078
|
/**
|
|
1152
|
-
* Requests cancellation on the purchase's agreed terms
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1155
|
-
* Your account access token must authorize the subscription's current billing account.
|
|
1079
|
+
* Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
|
|
1080
|
+
* refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
|
|
1081
|
+
* the subscription's current billing account.
|
|
1156
1082
|
*
|
|
1157
|
-
* Immediate cancellation asks the owning service to
|
|
1158
|
-
*
|
|
1159
|
-
*
|
|
1160
|
-
*
|
|
1161
|
-
*
|
|
1162
|
-
* Related subscriptions released together must be submitted as one group to create-cancellation.
|
|
1163
|
-
* Pending or provisioning purchases are canceled through their order, not this operation.
|
|
1164
|
-
* Repeating the same open cancellation returns it without another refund or command.
|
|
1083
|
+
* Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
|
|
1084
|
+
* subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
|
|
1085
|
+
* confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
|
|
1086
|
+
* together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
|
|
1087
|
+
* request while the cancellation is open returns it.
|
|
1165
1088
|
* @summary Cancel subscription
|
|
1166
1089
|
*/
|
|
1167
1090
|
export declare const cancelSubscription: (subscriptionId: string, cancelSubscriptionRequest: CancelSubscriptionRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<cancelSubscriptionResponse>;
|
|
1168
|
-
export type
|
|
1091
|
+
export type getQuoteResponse200 = {
|
|
1169
1092
|
data: Quote;
|
|
1170
1093
|
status: 200;
|
|
1171
1094
|
};
|
|
1172
|
-
export type
|
|
1095
|
+
export type getQuoteResponseDefault = {
|
|
1173
1096
|
data: ErrorResponse;
|
|
1174
1097
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
1175
1098
|
};
|
|
1176
|
-
export type
|
|
1099
|
+
export type getQuoteResponseSuccess = getQuoteResponse200 & {
|
|
1177
1100
|
headers: Headers;
|
|
1178
1101
|
};
|
|
1179
|
-
export type
|
|
1102
|
+
export type getQuoteResponseError = getQuoteResponseDefault & {
|
|
1180
1103
|
headers: Headers;
|
|
1181
1104
|
};
|
|
1182
|
-
export type
|
|
1183
|
-
export declare const
|
|
1105
|
+
export type getQuoteResponse = getQuoteResponseSuccess | getQuoteResponseError;
|
|
1106
|
+
export declare const getGetQuoteUrl: () => string;
|
|
1184
1107
|
/**
|
|
1185
|
-
* Calculates exactly one target for a billing account you own: proposed items, an existing order, renewals,
|
|
1186
|
-
*
|
|
1187
|
-
* Existing orders use their recorded purchase account and terms. Renewals and cancellations use the account currently paying for each subscription. Every target must belong to the requested account. A project association or project token does not authorize a quote.
|
|
1108
|
+
* Calculates exactly one target for a billing account you own: proposed items, an existing order, renewals, a
|
|
1109
|
+
* cancellation or an order refund. Nothing is saved, reserved or redeemed.
|
|
1188
1110
|
*
|
|
1189
|
-
*
|
|
1190
|
-
*
|
|
1111
|
+
* Existing orders use their recorded account and terms; renewals and cancellations use the account currently
|
|
1112
|
+
* paying for each subscription. Every target must belong to the requested account; a project token does not
|
|
1113
|
+
* authorize a quote. An existing order's total is the expected_amount for paying its invoice. Usage estimates
|
|
1114
|
+
* are not checkout amounts.
|
|
1115
|
+
* @summary Get a quote
|
|
1191
1116
|
*/
|
|
1192
|
-
export declare const
|
|
1117
|
+
export declare const getQuote: (quoteRequest: QuoteRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getQuoteResponse>;
|
|
1193
1118
|
export type listCancellationsResponse200 = {
|
|
1194
1119
|
data: CancellationList;
|
|
1195
1120
|
status: 200;
|
|
@@ -1207,7 +1132,7 @@ export type listCancellationsResponseError = listCancellationsResponseDefault &
|
|
|
1207
1132
|
export type listCancellationsResponse = listCancellationsResponseSuccess | listCancellationsResponseError;
|
|
1208
1133
|
export declare const getListCancellationsUrl: (params?: ListCancellationsParams) => string;
|
|
1209
1134
|
/**
|
|
1210
|
-
* Newest first. Filter by `subscription_id` and `status=open` to find
|
|
1135
|
+
* Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
|
|
1211
1136
|
* @summary List cancellations
|
|
1212
1137
|
*/
|
|
1213
1138
|
export declare const listCancellations: (params?: ListCancellationsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listCancellationsResponse>;
|
|
@@ -1232,46 +1157,36 @@ export type createCancellationResponseError = createCancellationResponseDefault
|
|
|
1232
1157
|
export type createCancellationResponse = createCancellationResponseSuccess | createCancellationResponseError;
|
|
1233
1158
|
export declare const getCreateCancellationUrl: () => string;
|
|
1234
1159
|
/**
|
|
1235
|
-
* Ends
|
|
1236
|
-
* subscription
|
|
1237
|
-
* such as a server with the disks deleted along with it, or an address with its bandwidth.
|
|
1160
|
+
* Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
|
|
1161
|
+
* subscription released with it, such as a server with its disks or an address with its bandwidth.
|
|
1238
1162
|
*
|
|
1239
|
-
* The service
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
1242
|
-
*
|
|
1243
|
-
* amount confirmed here is the amount returned: prepaid service used while the resources are
|
|
1244
|
-
* being released is not deducted from it. Usage of a postpaid subscription is charged until its
|
|
1245
|
-
* resources are released, as usual.
|
|
1163
|
+
* The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
|
|
1164
|
+
* term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
|
|
1165
|
+
* sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
|
|
1166
|
+
* and is not reduced by service used during release. Metered usage is charged until release.
|
|
1246
1167
|
*
|
|
1247
|
-
* `mode` must be allowed for every subscription.
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
1250
|
-
* not ended yet. For `period_end` the paid terms of all the subscriptions must end at the same
|
|
1168
|
+
* `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
|
|
1169
|
+
* licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
|
|
1170
|
+
* the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
|
|
1251
1171
|
* time.
|
|
1252
1172
|
*
|
|
1253
1173
|
* Refused with:
|
|
1254
|
-
*
|
|
1255
|
-
*
|
|
1256
|
-
* account and currency;
|
|
1174
|
+
*
|
|
1175
|
+
* - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
|
|
1176
|
+
* the subscriptions do not share one service, project, account and currency;
|
|
1257
1177
|
* - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
|
|
1258
|
-
* - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
* - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
|
|
1262
|
-
* different times;
|
|
1178
|
+
* - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
|
|
1179
|
+
* when a licensed subscription has no termination terms, both with `meta.subscription_id`;
|
|
1180
|
+
* - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
|
|
1263
1181
|
* - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
|
|
1264
|
-
* (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid
|
|
1265
|
-
*
|
|
1266
|
-
* - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for
|
|
1267
|
-
*
|
|
1268
|
-
* - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
|
|
1269
|
-
* `expected_refundable_amount`; quote again.
|
|
1182
|
+
* (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
|
|
1183
|
+
* switch (`meta.order_id`);
|
|
1184
|
+
* - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
|
|
1185
|
+
* - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
|
|
1270
1186
|
*
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1274
|
-
* every subscription in the set, for `period_end` as well as `immediate`.
|
|
1187
|
+
* Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
|
|
1188
|
+
* with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
|
|
1189
|
+
* subscription.
|
|
1275
1190
|
* @summary Cancel subscriptions
|
|
1276
1191
|
*/
|
|
1277
1192
|
export declare const createCancellation: (cancellationCreate: CancellationCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createCancellationResponse>;
|
|
@@ -1292,7 +1207,7 @@ export type getCancellationResponseError = getCancellationResponseDefault & {
|
|
|
1292
1207
|
export type getCancellationResponse = getCancellationResponseSuccess | getCancellationResponseError;
|
|
1293
1208
|
export declare const getGetCancellationUrl: (cancellationId: string) => string;
|
|
1294
1209
|
/**
|
|
1295
|
-
*
|
|
1210
|
+
* A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
|
|
1296
1211
|
* @summary Get a cancellation
|
|
1297
1212
|
*/
|
|
1298
1213
|
export declare const getCancellation: (cancellationId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getCancellationResponse>;
|
|
@@ -1313,11 +1228,7 @@ export type withdrawCancellationResponseError = withdrawCancellationResponseDefa
|
|
|
1313
1228
|
export type withdrawCancellationResponse = withdrawCancellationResponseSuccess | withdrawCancellationResponseError;
|
|
1314
1229
|
export declare const getWithdrawCancellationUrl: (cancellationId: string) => string;
|
|
1315
1230
|
/**
|
|
1316
|
-
* Withdraws the whole cancellation while
|
|
1317
|
-
* subscriptions continue as before, except that automatic renewal, turned off when the
|
|
1318
|
-
* cancellation was created, stays off until it is turned on again. After that it is refused with
|
|
1319
|
-
* 409 `BILLING_CANCELLATION_CONFLICT`. Withdrawing one that is already withdrawn returns it
|
|
1320
|
-
* unchanged.
|
|
1231
|
+
* 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.
|
|
1321
1232
|
* @summary Withdraw a cancellation
|
|
1322
1233
|
*/
|
|
1323
1234
|
export declare const withdrawCancellation: (cancellationId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<withdrawCancellationResponse>;
|
|
@@ -1363,17 +1274,15 @@ export type renewSubscriptionResponseError = (renewSubscriptionResponse409 | ren
|
|
|
1363
1274
|
export type renewSubscriptionResponse = renewSubscriptionResponseSuccess | renewSubscriptionResponseError;
|
|
1364
1275
|
export declare const getRenewSubscriptionUrl: (subscriptionId: string) => string;
|
|
1365
1276
|
/**
|
|
1366
|
-
*
|
|
1367
|
-
*
|
|
1368
|
-
*
|
|
1277
|
+
* Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
|
|
1278
|
+
* different interval selects the price currently sold for it and fixes new terms on the order, applied after
|
|
1279
|
+
* fulfillment. Paid periods keep their value.
|
|
1369
1280
|
*
|
|
1370
|
-
* Without `payment_method_id`, the renewal is paid from credit grants and
|
|
1371
|
-
* `
|
|
1372
|
-
*
|
|
1373
|
-
* and pay its invoice instead.
|
|
1281
|
+
* Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
|
|
1282
|
+
* `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
|
|
1283
|
+
* order is left. To pay another way, create a renewal order and pay its invoice.
|
|
1374
1284
|
*
|
|
1375
|
-
*
|
|
1376
|
-
* creation conflicts.
|
|
1285
|
+
* Keep order_id and read the order after an unknown outcome; creating it again conflicts.
|
|
1377
1286
|
* @summary Renew subscription
|
|
1378
1287
|
*/
|
|
1379
1288
|
export declare const renewSubscription: (subscriptionId: string, renewRequest: RenewRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<renewSubscriptionResponse>;
|
|
@@ -1398,16 +1307,14 @@ export type createRenewalOrderResponseError = (createRenewalOrderResponse409 | c
|
|
|
1398
1307
|
export type createRenewalOrderResponse = createRenewalOrderResponseSuccess | createRenewalOrderResponseError;
|
|
1399
1308
|
export declare const getCreateRenewalOrderUrl: (subscriptionId: string) => string;
|
|
1400
1309
|
/**
|
|
1401
|
-
* Places a renewal order with a draft invoice, without applying a new discount or charging anything.
|
|
1402
|
-
*
|
|
1403
|
-
*
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1406
|
-
*
|
|
1407
|
-
* order's terms are not fixed yet.
|
|
1310
|
+
* Places a renewal order with a draft invoice, without applying a new discount or charging anything. Pay its
|
|
1311
|
+
* invoice to renew; a promotion code can be applied when paying. Existing subscription discounts are kept.
|
|
1312
|
+
* Periods and price are chosen as for renewing. The order can be paid until the current paid period ends, and
|
|
1313
|
+
* never after the end of the first period it renews; unpaid by then, it is canceled. While auto-renew is on, the
|
|
1314
|
+
* renewal due at the end of the period pays this order instead of placing another, applying an applicable
|
|
1315
|
+
* account discount first if its terms are not fixed yet.
|
|
1408
1316
|
*
|
|
1409
|
-
*
|
|
1410
|
-
* second time conflicts.
|
|
1317
|
+
* Keep `order_id` and read the order after an unknown outcome; creating it again conflicts.
|
|
1411
1318
|
* @summary Create renewal order
|
|
1412
1319
|
*/
|
|
1413
1320
|
export declare const createRenewalOrder: (subscriptionId: string, renewalOrderRequest: RenewalOrderRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createRenewalOrderResponse>;
|
|
@@ -1428,15 +1335,7 @@ export type setAutoRenewResponseError = setAutoRenewResponseDefault & {
|
|
|
1428
1335
|
export type setAutoRenewResponse = setAutoRenewResponseSuccess | setAutoRenewResponseError;
|
|
1429
1336
|
export declare const getSetAutoRenewUrl: (subscriptionId: string) => string;
|
|
1430
1337
|
/**
|
|
1431
|
-
*
|
|
1432
|
-
* subscription cannot set this preference and returns 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE`. Disabling it does
|
|
1433
|
-
* not shorten current_term_end and still permits manual renewal. A postpaid subscription always continues until it is
|
|
1434
|
-
* canceled; setting it is refused with 409
|
|
1435
|
-
* `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED`.
|
|
1436
|
-
*
|
|
1437
|
-
* While the subscription has an open cancellation, turning it on or off is refused with 409
|
|
1438
|
-
* `BILLING_SUBSCRIPTION_OPERATION_PENDING` and `meta.cancellation_id`: creating the cancellation
|
|
1439
|
-
* turned it off, and withdrawing the cancellation does not turn it back on.
|
|
1338
|
+
* 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.
|
|
1440
1339
|
* @summary Set auto renew
|
|
1441
1340
|
*/
|
|
1442
1341
|
export declare const setAutoRenew: (subscriptionId: string, autoRenewSet: AutoRenewSet, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setAutoRenewResponse>;
|
|
@@ -1457,13 +1356,7 @@ export type listAllowancesResponseError = listAllowancesResponseDefault & {
|
|
|
1457
1356
|
export type listAllowancesResponse = listAllowancesResponseSuccess | listAllowancesResponseError;
|
|
1458
1357
|
export declare const getListAllowancesUrl: (params?: ListAllowancesParams) => string;
|
|
1459
1358
|
/**
|
|
1460
|
-
*
|
|
1461
|
-
* consumed before usage is charged. Lower priority values are consumed first, followed by earlier
|
|
1462
|
-
* expiry and earlier issuance.
|
|
1463
|
-
*
|
|
1464
|
-
* Unused quantity expires without a refund or carry-over. Promotional allowances apply to usage paid
|
|
1465
|
-
* by their holding account. Included allowances apply only to the associated subscription, including
|
|
1466
|
-
* after its project moves to another billing account.
|
|
1359
|
+
* Remaining usage quantities, such as bytes, seconds or tokens. 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.
|
|
1467
1360
|
* @summary List allowances
|
|
1468
1361
|
*/
|
|
1469
1362
|
export declare const listAllowances: (params?: ListAllowancesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listAllowancesResponse>;
|
|
@@ -1484,9 +1377,7 @@ export type listOrdersResponseError = listOrdersResponseDefault & {
|
|
|
1484
1377
|
export type listOrdersResponse = listOrdersResponseSuccess | listOrdersResponseError;
|
|
1485
1378
|
export declare const getListOrdersUrl: (params?: ListOrdersParams) => string;
|
|
1486
1379
|
/**
|
|
1487
|
-
*
|
|
1488
|
-
* its invoice shows whether it still needs payment. accepted means accepted, not delivered.
|
|
1489
|
-
* Pending orders can expire at expires_at.
|
|
1380
|
+
* Orders with their status and invoice amounts. 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.
|
|
1490
1381
|
* @summary List orders
|
|
1491
1382
|
*/
|
|
1492
1383
|
export declare const listOrders: (params?: ListOrdersParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listOrdersResponse>;
|
|
@@ -1507,7 +1398,7 @@ export type getOrderResponseError = getOrderResponseDefault & {
|
|
|
1507
1398
|
export type getOrderResponse = getOrderResponseSuccess | getOrderResponseError;
|
|
1508
1399
|
export declare const getGetOrderUrl: (orderId: string) => string;
|
|
1509
1400
|
/**
|
|
1510
|
-
*
|
|
1401
|
+
* An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
|
|
1511
1402
|
* @summary Get order
|
|
1512
1403
|
*/
|
|
1513
1404
|
export declare const getOrder: (orderId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getOrderResponse>;
|
|
@@ -1532,24 +1423,19 @@ export type cancelOrderResponseError = (cancelOrderResponse409 | cancelOrderResp
|
|
|
1532
1423
|
export type cancelOrderResponse = cancelOrderResponseSuccess | cancelOrderResponseError;
|
|
1533
1424
|
export declare const getCancelOrderUrl: (orderId: string) => string;
|
|
1534
1425
|
/**
|
|
1535
|
-
* Cancels the selected
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1538
|
-
*
|
|
1539
|
-
* its existing pending phase while any item is still pending; its final outcome follows all
|
|
1540
|
-
* item outcomes. Previously failed items keep their failure outcome.
|
|
1426
|
+
* Cancels the selected undelivered items of an order that has not been accepted, without recording a delivery
|
|
1427
|
+
* failure. Omit order_item_ids to select every pending item. Delivered items stay delivered and are not
|
|
1428
|
+
* refunded; failed items keep their outcome. The order stays pending while any item is pending, and its final
|
|
1429
|
+
* status follows its items.
|
|
1541
1430
|
*
|
|
1542
|
-
*
|
|
1543
|
-
*
|
|
1544
|
-
*
|
|
1545
|
-
*
|
|
1546
|
-
*
|
|
1431
|
+
* Once the order's terms are fixed, the canceled items keep their agreed amounts and discounts: credit notes
|
|
1432
|
+
* reduce the issued invoice, and collected amounts return to their original payment sources, possibly
|
|
1433
|
+
* asynchronously. While a deferred order's terms are not fixed, the remaining items are priced again. An online
|
|
1434
|
+
* payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
|
|
1435
|
+
* `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
|
|
1547
1436
|
*
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
* subscription cancellation. Unknown delivery or payment outcomes are not refund evidence;
|
|
1551
|
-
* in-flight or unknown payments must be reconciled first. Scheduled changes continue to be
|
|
1552
|
-
* canceled through the owning service. Refund quotations use CreateQuote.refund.
|
|
1437
|
+
* An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
|
|
1438
|
+
* Refunds are quoted with the quote operation's `refund` target.
|
|
1553
1439
|
* @summary Cancel order
|
|
1554
1440
|
*/
|
|
1555
1441
|
export declare const cancelOrder: (orderId: string, orderCancel?: OrderCancel, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<cancelOrderResponse>;
|
|
@@ -1591,13 +1477,7 @@ export type listEntitlementsResponseError = listEntitlementsResponseDefault & {
|
|
|
1591
1477
|
export type listEntitlementsResponse = listEntitlementsResponseSuccess | listEntitlementsResponseError;
|
|
1592
1478
|
export declare const getListEntitlementsUrl: (params?: ListEntitlementsParams) => string;
|
|
1593
1479
|
/**
|
|
1594
|
-
* Capabilities
|
|
1595
|
-
* does not appear, so that "this does not exist" and "this has not been bought" cannot be
|
|
1596
|
-
* confused.
|
|
1597
|
-
*
|
|
1598
|
-
* Derived from live subscriptions and active feature grants rather than stored, so this always
|
|
1599
|
-
* agrees with what is being paid for and granted. It stops being listed as soon as the
|
|
1600
|
-
* subscription or grant providing it ends.
|
|
1480
|
+
* Capabilities granted by live subscriptions and active feature grants. A capability not held is not listed, and one stops being listed when the subscription or grant providing it ends.
|
|
1601
1481
|
* @summary List entitlements
|
|
1602
1482
|
*/
|
|
1603
1483
|
export declare const listEntitlements: (params?: ListEntitlementsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listEntitlementsResponse>;
|
|
@@ -1618,9 +1498,7 @@ export type listFeatureGrantsResponseError = listFeatureGrantsResponseDefault &
|
|
|
1618
1498
|
export type listFeatureGrantsResponse = listFeatureGrantsResponseSuccess | listFeatureGrantsResponseError;
|
|
1619
1499
|
export declare const getListFeatureGrantsUrl: (params?: ListFeatureGrantsParams) => string;
|
|
1620
1500
|
/**
|
|
1621
|
-
*
|
|
1622
|
-
* is active, every project whose current billing account holds it has the feature, in addition to the
|
|
1623
|
-
* features of its own subscriptions.
|
|
1501
|
+
* Features held by a billing account for a period, for example through a membership. While a grant is active, every project whose current billing account holds it has the feature, in addition to its subscriptions' features.
|
|
1624
1502
|
* @summary List feature grants
|
|
1625
1503
|
*/
|
|
1626
1504
|
export declare const listFeatureGrants: (params?: ListFeatureGrantsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listFeatureGrantsResponse>;
|
|
@@ -1645,13 +1523,7 @@ export type listPricesResponseError = (listPricesResponse304 | listPricesRespons
|
|
|
1645
1523
|
export type listPricesResponse = listPricesResponseSuccess | listPricesResponseError;
|
|
1646
1524
|
export declare const getListPricesUrl: (params: ListPricesParams) => string;
|
|
1647
1525
|
/**
|
|
1648
|
-
* Every
|
|
1649
|
-
*
|
|
1650
|
-
* `currency` is required: a plan has a price in each currency it is sold in, so "what does
|
|
1651
|
-
* this cost" has no answer without one.
|
|
1652
|
-
*
|
|
1653
|
-
* Archived prices are left out. Existing subscriptions keep the terms they were bought at, so
|
|
1654
|
-
* this is not the place to look up what an existing purchase is paying.
|
|
1526
|
+
* Every active price in the currency, one entry per plan and price. Archived prices are not listed; existing subscriptions keep the terms they were bought at.
|
|
1655
1527
|
* @summary List what is on sale, with prices
|
|
1656
1528
|
*/
|
|
1657
1529
|
export declare const listPrices: (params: ListPricesParams, headers?: ListPricesHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPricesResponse>;
|
|
@@ -1676,7 +1548,7 @@ export type listProductsResponseError = (listProductsResponse304 | listProductsR
|
|
|
1676
1548
|
export type listProductsResponse = listProductsResponseSuccess | listProductsResponseError;
|
|
1677
1549
|
export declare const getListProductsUrl: (params?: ListProductsParams) => string;
|
|
1678
1550
|
/**
|
|
1679
|
-
*
|
|
1551
|
+
* Registered products. If-None-Match returns 304 for an unchanged page.
|
|
1680
1552
|
* @summary List catalog products
|
|
1681
1553
|
*/
|
|
1682
1554
|
export declare const listProducts: (params?: ListProductsParams, headers?: ListProductsHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listProductsResponse>;
|
|
@@ -1701,8 +1573,7 @@ export type getProductResponseError = (getProductResponse304 | getProductRespons
|
|
|
1701
1573
|
export type getProductResponse = getProductResponseSuccess | getProductResponseError;
|
|
1702
1574
|
export declare const getGetProductUrl: (productId: ProductID) => string;
|
|
1703
1575
|
/**
|
|
1704
|
-
*
|
|
1705
|
-
* the terms of a credit — into something that can be displayed.
|
|
1576
|
+
* A product by its ID.
|
|
1706
1577
|
* @summary Get a service
|
|
1707
1578
|
*/
|
|
1708
1579
|
export declare const getProduct: (productId: ProductID, headers?: GetProductHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getProductResponse>;
|
|
@@ -1727,8 +1598,7 @@ export type getPlanResponseError = (getPlanResponse304 | getPlanResponseDefault)
|
|
|
1727
1598
|
export type getPlanResponse = getPlanResponseSuccess | getPlanResponseError;
|
|
1728
1599
|
export declare const getGetPlanUrl: (planId: string) => string;
|
|
1729
1600
|
/**
|
|
1730
|
-
*
|
|
1731
|
-
* no longer on sale: an existing purchase still refers to one.
|
|
1601
|
+
* A plan, including one no longer on sale.
|
|
1732
1602
|
* @summary Get a sellable item
|
|
1733
1603
|
*/
|
|
1734
1604
|
export declare const getPlan: (planId: string, headers?: GetPlanHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getPlanResponse>;
|
|
@@ -1753,7 +1623,7 @@ export type getPriceResponseError = (getPriceResponse304 | getPriceResponseDefau
|
|
|
1753
1623
|
export type getPriceResponse = getPriceResponseSuccess | getPriceResponseError;
|
|
1754
1624
|
export declare const getGetPriceUrl: (priceId: string) => string;
|
|
1755
1625
|
/**
|
|
1756
|
-
*
|
|
1626
|
+
* A catalog price, archived prices included. The terms of past purchases are on their orders and subscriptions.
|
|
1757
1627
|
* @summary Get a price
|
|
1758
1628
|
*/
|
|
1759
1629
|
export declare const getPrice: (priceId: string, headers?: GetPriceHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getPriceResponse>;
|
|
@@ -1778,7 +1648,7 @@ export type listPlansResponseError = (listPlansResponse304 | listPlansResponseDe
|
|
|
1778
1648
|
export type listPlansResponse = listPlansResponseSuccess | listPlansResponseError;
|
|
1779
1649
|
export declare const getListPlansUrl: (params: ListPlansParams) => string;
|
|
1780
1650
|
/**
|
|
1781
|
-
*
|
|
1651
|
+
* Active plans of product_id with their features. An unknown product returns 404; If-None-Match returns 304 for an unchanged page.
|
|
1782
1652
|
* @summary List catalog plans
|
|
1783
1653
|
*/
|
|
1784
1654
|
export declare const listPlans: (params: ListPlansParams, headers?: ListPlansHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPlansResponse>;
|
|
@@ -1803,8 +1673,7 @@ export type listPricesByPlanResponseError = (listPricesByPlanResponse304 | listP
|
|
|
1803
1673
|
export type listPricesByPlanResponse = listPricesByPlanResponseSuccess | listPricesByPlanResponseError;
|
|
1804
1674
|
export declare const getListPricesByPlanUrl: (planId: string, params?: ListPricesByPlanParams) => string;
|
|
1805
1675
|
/**
|
|
1806
|
-
* Public list prices
|
|
1807
|
-
* it is never charged more.
|
|
1676
|
+
* Public list prices. An account with a negotiated agreement may be charged less, never more.
|
|
1808
1677
|
* @summary List catalog prices
|
|
1809
1678
|
*/
|
|
1810
1679
|
export declare const listPricesByPlan: (planId: string, params?: ListPricesByPlanParams, headers?: ListPricesByPlanHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPricesByPlanResponse>;
|
|
@@ -1829,8 +1698,7 @@ export type listRatesResponseError = (listRatesResponse304 | listRatesResponseDe
|
|
|
1829
1698
|
export type listRatesResponse = listRatesResponseSuccess | listRatesResponseError;
|
|
1830
1699
|
export declare const getListRatesUrl: (rateCardId: string, params?: ListRatesParams) => string;
|
|
1831
1700
|
/**
|
|
1832
|
-
*
|
|
1833
|
-
* and its identifier cannot be used to reach it.
|
|
1701
|
+
* Rules of a public rate card; contract cards are not readable here.
|
|
1834
1702
|
* @summary List catalog rates
|
|
1835
1703
|
*/
|
|
1836
1704
|
export declare const listRates: (rateCardId: string, params?: ListRatesParams, headers?: ListRatesHeaders, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listRatesResponse>;
|
|
@@ -1851,9 +1719,7 @@ export type listActiveResourcesResponseError = listActiveResourcesResponseDefaul
|
|
|
1851
1719
|
export type listActiveResourcesResponse = listActiveResourcesResponseSuccess | listActiveResourcesResponseError;
|
|
1852
1720
|
export declare const getListActiveResourcesUrl: (params?: ListActiveResourcesParams) => string;
|
|
1853
1721
|
/**
|
|
1854
|
-
*
|
|
1855
|
-
* describe machine runtime or health. Project filters narrow the authorized accounts; they do not
|
|
1856
|
-
* grant project-based access.
|
|
1722
|
+
* Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
|
|
1857
1723
|
* @summary List active resources
|
|
1858
1724
|
*/
|
|
1859
1725
|
export declare const listActiveResources: (params?: ListActiveResourcesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listActiveResourcesResponse>;
|
|
@@ -1899,7 +1765,7 @@ export type listMonthlyStatementsResponseError = listMonthlyStatementsResponseDe
|
|
|
1899
1765
|
export type listMonthlyStatementsResponse = listMonthlyStatementsResponseSuccess | listMonthlyStatementsResponseError;
|
|
1900
1766
|
export declare const getListMonthlyStatementsUrl: (params?: ListMonthlyStatementsParams) => string;
|
|
1901
1767
|
/**
|
|
1902
|
-
* Usage billing
|
|
1768
|
+
* Usage billing per UTC calendar month for your billing accounts, newest first. Each month combines its statements, the invoices they issued and how those were paid.
|
|
1903
1769
|
* @summary List monthly statements
|
|
1904
1770
|
*/
|
|
1905
1771
|
export declare const listMonthlyStatements: (params?: ListMonthlyStatementsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listMonthlyStatementsResponse>;
|
|
@@ -1920,7 +1786,7 @@ export type listStatementsResponseError = listStatementsResponseDefault & {
|
|
|
1920
1786
|
export type listStatementsResponse = listStatementsResponseSuccess | listStatementsResponseError;
|
|
1921
1787
|
export declare const getListStatementsUrl: (params?: ListStatementsParams) => string;
|
|
1922
1788
|
/**
|
|
1923
|
-
*
|
|
1789
|
+
* Statements of your billing accounts, filtered by billing_account_id, open or closed and period start. A closed statement does not mean the month is complete.
|
|
1924
1790
|
* @summary List statements
|
|
1925
1791
|
*/
|
|
1926
1792
|
export declare const listStatements: (params?: ListStatementsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listStatementsResponse>;
|
|
@@ -1941,7 +1807,7 @@ export type getStatementResponseError = getStatementResponseDefault & {
|
|
|
1941
1807
|
export type getStatementResponse = getStatementResponseSuccess | getStatementResponseError;
|
|
1942
1808
|
export declare const getGetStatementUrl: (statementId: string) => string;
|
|
1943
1809
|
/**
|
|
1944
|
-
*
|
|
1810
|
+
* A statement of your billing account with its period, estimated or closed amounts and invoice. Returns 404 for a missing statement and 403 for another user's account.
|
|
1945
1811
|
* @summary Get statement
|
|
1946
1812
|
*/
|
|
1947
1813
|
export declare const getStatement: (statementId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getStatementResponse>;
|
|
@@ -1962,7 +1828,7 @@ export type getStatementUsageResponseError = getStatementUsageResponseDefault &
|
|
|
1962
1828
|
export type getStatementUsageResponse = getStatementUsageResponseSuccess | getStatementUsageResponseError;
|
|
1963
1829
|
export declare const getGetStatementUsageUrl: (statementId: string, params?: GetStatementUsageParams) => string;
|
|
1964
1830
|
/**
|
|
1965
|
-
*
|
|
1831
|
+
* 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.
|
|
1966
1832
|
* @summary Get grouped consumption
|
|
1967
1833
|
*/
|
|
1968
1834
|
export declare const getStatementUsage: (statementId: string, params?: GetStatementUsageParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getStatementUsageResponse>;
|