@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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The withdrawal's items and their outcomes. A failed item does not undo refunds completed through other items.
|
|
11
11
|
* @summary List withdrawal items
|
|
12
12
|
*/
|
|
13
13
|
export declare const ListWithdrawalItemsParams: zod.ZodObject<{
|
|
@@ -22,7 +22,7 @@ export declare const ListWithdrawalItemsQueryParams: zod.ZodObject<{
|
|
|
22
22
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
23
23
|
}, zod.z.core.$strict>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Withdrawals, newest first.
|
|
26
26
|
* @summary List withdrawals
|
|
27
27
|
*/
|
|
28
28
|
export declare const listWithdrawalsQueryPageDefault = 1;
|
|
@@ -35,7 +35,7 @@ export declare const ListWithdrawalsQueryParams: zod.ZodObject<{
|
|
|
35
35
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
36
36
|
}, zod.z.core.$strict>;
|
|
37
37
|
/**
|
|
38
|
-
* Withdraws the requested
|
|
38
|
+
* 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.
|
|
39
39
|
* @summary Create withdrawal
|
|
40
40
|
*/
|
|
41
41
|
export declare const CreateWithdrawalBody: zod.ZodObject<{
|
|
@@ -51,22 +51,14 @@ export declare const CreateWithdrawalBody: zod.ZodObject<{
|
|
|
51
51
|
}, zod.z.core.$strict>>;
|
|
52
52
|
}, zod.z.core.$strict>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary Preview withdrawal
|
|
56
|
-
*/
|
|
57
|
-
export declare const PreviewWithdrawalBody: zod.ZodObject<{
|
|
58
|
-
billing_account_id: zod.ZodInt;
|
|
59
|
-
amount: zod.ZodOptional<zod.ZodString>;
|
|
60
|
-
}, zod.z.core.$strict>;
|
|
61
|
-
/**
|
|
62
|
-
* Reads the accepted amounts and aggregate outcome of an authorized withdrawal. List its source items for each original-method refund result.
|
|
54
|
+
* A withdrawal with its accepted amounts and overall outcome; list its items for each refund result.
|
|
63
55
|
* @summary Get withdrawal
|
|
64
56
|
*/
|
|
65
57
|
export declare const GetWithdrawalParams: zod.ZodObject<{
|
|
66
58
|
withdrawalId: zod.ZodUUID;
|
|
67
59
|
}, zod.z.core.$strict>;
|
|
68
60
|
/**
|
|
69
|
-
*
|
|
61
|
+
* Contacts of the billing account, inactive ones included. Returns 404 if the account does not exist.
|
|
70
62
|
* @summary List contacts
|
|
71
63
|
*/
|
|
72
64
|
export declare const ListContactsParams: zod.ZodObject<{
|
|
@@ -81,7 +73,7 @@ export declare const ListContactsQueryParams: zod.ZodObject<{
|
|
|
81
73
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
82
74
|
}, zod.z.core.$strict>;
|
|
83
75
|
/**
|
|
84
|
-
* Creates a contact
|
|
76
|
+
* Creates a contact for the billing account. To use it on invoices, set the account's invoice_contact_id.
|
|
85
77
|
* @summary Create contact
|
|
86
78
|
*/
|
|
87
79
|
export declare const CreateContactParams: zod.ZodObject<{
|
|
@@ -100,7 +92,7 @@ export declare const CreateContactBody: zod.ZodObject<{
|
|
|
100
92
|
address_country: zod.ZodOptional<zod.ZodString>;
|
|
101
93
|
}, zod.z.core.$strict>;
|
|
102
94
|
/**
|
|
103
|
-
*
|
|
95
|
+
* A contact of this billing account. Returns 404 if it does not exist in the account.
|
|
104
96
|
* @summary Get contact
|
|
105
97
|
*/
|
|
106
98
|
export declare const GetContactParams: zod.ZodObject<{
|
|
@@ -108,7 +100,7 @@ export declare const GetContactParams: zod.ZodObject<{
|
|
|
108
100
|
contactId: zod.ZodUUID;
|
|
109
101
|
}, zod.z.core.$strict>;
|
|
110
102
|
/**
|
|
111
|
-
* Updates a contact
|
|
103
|
+
* Updates a contact of this billing account. Returns 404 if it does not exist in the account.
|
|
112
104
|
* @summary Update contact
|
|
113
105
|
*/
|
|
114
106
|
export declare const UpdateContactParams: zod.ZodObject<{
|
|
@@ -129,7 +121,7 @@ export declare const UpdateContactBody: zod.ZodObject<{
|
|
|
129
121
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
130
122
|
}, zod.z.core.$strict>;
|
|
131
123
|
/**
|
|
132
|
-
* Deletes a contact
|
|
124
|
+
* 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.
|
|
133
125
|
* @summary Delete contact
|
|
134
126
|
*/
|
|
135
127
|
export declare const DeleteContactParams: zod.ZodObject<{
|
|
@@ -137,8 +129,7 @@ export declare const DeleteContactParams: zod.ZodObject<{
|
|
|
137
129
|
contactId: zod.ZodUUID;
|
|
138
130
|
}, zod.z.core.$strict>;
|
|
139
131
|
/**
|
|
140
|
-
*
|
|
141
|
-
* although accounts already opened in it keep working. Results are paginated.
|
|
132
|
+
* Currencies a new billing account can be opened in; retired currencies are not listed.
|
|
142
133
|
* @summary List currencies accounts can be opened in
|
|
143
134
|
*/
|
|
144
135
|
export declare const listCurrenciesQueryPageDefault = 1;
|
|
@@ -150,7 +141,7 @@ export declare const ListCurrenciesQueryParams: zod.ZodObject<{
|
|
|
150
141
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
151
142
|
}, zod.z.core.$strict>;
|
|
152
143
|
/**
|
|
153
|
-
*
|
|
144
|
+
* Billing accounts owned by the authenticated user.
|
|
154
145
|
* @summary List billing accounts
|
|
155
146
|
*/
|
|
156
147
|
export declare const listBillingAccountsQueryPageDefault = 1;
|
|
@@ -162,10 +153,7 @@ export declare const ListBillingAccountsQueryParams: zod.ZodObject<{
|
|
|
162
153
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
163
154
|
}, zod.z.core.$strict>;
|
|
164
155
|
/**
|
|
165
|
-
*
|
|
166
|
-
* account — prices, orders, invoices, balance — is denominated in it.
|
|
167
|
-
*
|
|
168
|
-
* One person may hold several accounts, for example a personal one and one for a team.
|
|
156
|
+
* Creates a billing account. Its currency is fixed: prices, orders, invoices and balance are all in it.
|
|
169
157
|
* @summary Create billing account
|
|
170
158
|
*/
|
|
171
159
|
export declare const CreateBillingAccountBody: zod.ZodObject<{
|
|
@@ -173,16 +161,14 @@ export declare const CreateBillingAccountBody: zod.ZodObject<{
|
|
|
173
161
|
name: zod.ZodOptional<zod.ZodString>;
|
|
174
162
|
}, zod.z.core.$strict>;
|
|
175
163
|
/**
|
|
176
|
-
*
|
|
164
|
+
* 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.
|
|
177
165
|
* @summary Get billing account
|
|
178
166
|
*/
|
|
179
167
|
export declare const GetBillingAccountParams: zod.ZodObject<{
|
|
180
168
|
accountId: zod.ZodInt;
|
|
181
169
|
}, zod.z.core.$strict>;
|
|
182
170
|
/**
|
|
183
|
-
*
|
|
184
|
-
* address and tax identifier are copied when an invoice is issued; issued snapshots are
|
|
185
|
-
* retained. Set invoice_contact_id to null to clear the selection. The currency cannot change.
|
|
171
|
+
* 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.
|
|
186
172
|
* @summary Update billing account
|
|
187
173
|
*/
|
|
188
174
|
export declare const UpdateBillingAccountParams: zod.ZodObject<{
|
|
@@ -193,17 +179,14 @@ export declare const UpdateBillingAccountBody: zod.ZodObject<{
|
|
|
193
179
|
name: zod.ZodOptional<zod.ZodString>;
|
|
194
180
|
}, zod.z.core.$strict>;
|
|
195
181
|
/**
|
|
196
|
-
*
|
|
182
|
+
* 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.
|
|
197
183
|
* @summary Get account balance
|
|
198
184
|
*/
|
|
199
185
|
export declare const GetAccountBalanceParams: zod.ZodObject<{
|
|
200
186
|
accountId: zod.ZodInt;
|
|
201
187
|
}, zod.z.core.$strict>;
|
|
202
188
|
/**
|
|
203
|
-
*
|
|
204
|
-
* preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
|
|
205
|
-
* others are refused. An empty result means no online payment is available for this account.
|
|
206
|
-
* Results are paginated.
|
|
189
|
+
* 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.
|
|
207
190
|
* @summary List payment options
|
|
208
191
|
*/
|
|
209
192
|
export declare const ListPaymentOptionsParams: zod.ZodObject<{
|
|
@@ -218,7 +201,7 @@ export declare const ListPaymentOptionsQueryParams: zod.ZodObject<{
|
|
|
218
201
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
219
202
|
}, zod.z.core.$strict>;
|
|
220
203
|
/**
|
|
221
|
-
*
|
|
204
|
+
* Current project assignments to your billing accounts, filtered by billing_account_id or project_ids. Past charges keep the account they were assigned to.
|
|
222
205
|
* @summary List project assignments
|
|
223
206
|
*/
|
|
224
207
|
export declare const listProjectAssignmentsQueryPageDefault = 1;
|
|
@@ -233,25 +216,20 @@ export declare const ListProjectAssignmentsQueryParams: zod.ZodObject<{
|
|
|
233
216
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
234
217
|
}, zod.z.core.$strict>;
|
|
235
218
|
/**
|
|
236
|
-
*
|
|
237
|
-
* no billing account is assigned; no resources can be created until one is assigned.
|
|
219
|
+
* The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
|
|
238
220
|
* @summary Get project assignment
|
|
239
221
|
*/
|
|
240
222
|
export declare const GetProjectAssignmentParams: zod.ZodObject<{
|
|
241
223
|
projectId: zod.ZodUUID;
|
|
242
224
|
}, zod.z.core.$strict>;
|
|
243
225
|
/**
|
|
244
|
-
* Charges already incurred
|
|
245
|
-
* occurred
|
|
246
|
-
* the change.
|
|
247
|
-
*
|
|
226
|
+
* Links the project to another billing account. Charges already incurred stay with the account linked when they
|
|
227
|
+
* occurred and are invoiced to it; metered resources are settled up to the moment of the change. Amounts the
|
|
228
|
+
* previous account owes do not prevent the change. Orders keep the account they were placed with; paid periods
|
|
229
|
+
* are unaffected, and renewals are charged to the new account.
|
|
248
230
|
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* The request is refused once the project no longer accepts purchases because it is being
|
|
253
|
-
* deleted, and while a subscription or an order in progress in the project uses a currency
|
|
254
|
-
* other than that of the new billing account.
|
|
231
|
+
* Refused once the project no longer accepts purchases because it is being deleted, and while a subscription or
|
|
232
|
+
* an in-progress order of the project uses a currency other than the new account's.
|
|
255
233
|
* @summary Set project assignment
|
|
256
234
|
*/
|
|
257
235
|
export declare const SetProjectAssignmentParams: zod.ZodObject<{
|
|
@@ -261,25 +239,14 @@ export declare const SetProjectAssignmentBody: zod.ZodObject<{
|
|
|
261
239
|
billing_account_id: zod.ZodInt;
|
|
262
240
|
}, zod.z.core.$strict>;
|
|
263
241
|
/**
|
|
264
|
-
* Ends the project's current assignment
|
|
265
|
-
*
|
|
266
|
-
* Permitted only when nothing in the project is still running or in progress: no metered
|
|
267
|
-
* resources, no subscriptions that have not ended, and no orders in progress, including
|
|
268
|
-
* changes scheduled for the end of a period. Orders are not modified by this request; wait
|
|
269
|
-
* for them to complete, and have the service that scheduled a change call it off.
|
|
270
|
-
*
|
|
271
|
-
* Charges already incurred remain with the billing account and are invoiced to it as usual.
|
|
272
|
-
* Amounts the billing account owes do not prevent unlinking.
|
|
273
|
-
*
|
|
274
|
-
* After this the project cannot make purchases until a billing account is linked again.
|
|
242
|
+
* 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.
|
|
275
243
|
* @summary Unlink project billing account
|
|
276
244
|
*/
|
|
277
245
|
export declare const UnlinkProjectBillingAccountParams: zod.ZodObject<{
|
|
278
246
|
projectId: zod.ZodUUID;
|
|
279
247
|
}, zod.z.core.$strict>;
|
|
280
248
|
/**
|
|
281
|
-
*
|
|
282
|
-
* created for a top-up. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
|
|
249
|
+
* 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.
|
|
283
250
|
* @summary List top ups
|
|
284
251
|
*/
|
|
285
252
|
export declare const listTopUpsQueryPageDefault = 1;
|
|
@@ -292,9 +259,7 @@ export declare const ListTopUpsQueryParams: zod.ZodObject<{
|
|
|
292
259
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
293
260
|
}, zod.z.core.$strict>;
|
|
294
261
|
/**
|
|
295
|
-
* Creates a top-up for an account
|
|
296
|
-
* The balance increases only after the payment gateway confirms receipt. A top-up has no invoice.
|
|
297
|
-
* Keep the supplied ID to query the original attempt after a lost response; duplicate creation conflicts.
|
|
262
|
+
* 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.
|
|
298
263
|
* @summary Create top up
|
|
299
264
|
*/
|
|
300
265
|
export declare const CreateTopUpBody: zod.ZodObject<{
|
|
@@ -307,36 +272,28 @@ export declare const CreateTopUpBody: zod.ZodObject<{
|
|
|
307
272
|
return_url: zod.ZodOptional<zod.ZodString>;
|
|
308
273
|
}, zod.z.core.$strict>;
|
|
309
274
|
/**
|
|
310
|
-
*
|
|
311
|
-
* It is not an invoice.
|
|
312
|
-
*
|
|
313
|
-
* While the top-up is pending, the answer includes the customer's next step as the payment gateway
|
|
314
|
-
* currently reports it, so that a payment interrupted by a closed page can be continued. When the gateway
|
|
315
|
-
* cannot be reached, the top-up is returned without `action`; read it again later.
|
|
275
|
+
* 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.
|
|
316
276
|
* @summary Get top up
|
|
317
277
|
*/
|
|
318
278
|
export declare const GetTopUpParams: zod.ZodObject<{
|
|
319
279
|
topUpId: zod.ZodUUID;
|
|
320
280
|
}, zod.z.core.$strict>;
|
|
321
281
|
/**
|
|
322
|
-
* Withdraws a pending top-up
|
|
323
|
-
* `
|
|
324
|
-
* top-up
|
|
282
|
+
* Withdraws a pending top-up of the authenticated user at the payment gateway. It becomes `canceled` with
|
|
283
|
+
* `cancellation_reason` `requested_by_customer`, and nothing is collected. Canceling a canceled top-up returns
|
|
284
|
+
* it unchanged. If the gateway has already collected the payment, the top-up is returned as `succeeded` with the
|
|
285
|
+
* balance increased; check `status` in the response.
|
|
325
286
|
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
* Fails with 409 and BILLING_TOPUP_NOT_CANCELABLE when the top-up has already succeeded or failed,
|
|
331
|
-
* with `status` naming that outcome, and while the gateway is processing the payment and can no
|
|
332
|
-
* longer withdraw it, with `status` set to `pending`; read the top-up again later in that case.
|
|
287
|
+
* Fails with 409 `BILLING_TOPUP_NOT_CANCELABLE` when the top-up has succeeded or failed, with `status` naming
|
|
288
|
+
* the outcome, or while the gateway is processing the payment, with `status` `pending`; read the top-up again
|
|
289
|
+
* later.
|
|
333
290
|
* @summary Cancel top up
|
|
334
291
|
*/
|
|
335
292
|
export declare const CancelTopUpParams: zod.ZodObject<{
|
|
336
293
|
topUpId: zod.ZodUUID;
|
|
337
294
|
}, zod.z.core.$strict>;
|
|
338
295
|
/**
|
|
339
|
-
*
|
|
296
|
+
* Saved payment methods of your billing accounts, optionally for one billing_account_id. Removed methods are not listed.
|
|
340
297
|
* @summary List payment methods
|
|
341
298
|
*/
|
|
342
299
|
export declare const listPaymentMethodsQueryPageDefault = 1;
|
|
@@ -349,11 +306,7 @@ export declare const ListPaymentMethodsQueryParams: zod.ZodObject<{
|
|
|
349
306
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
350
307
|
}, zod.z.core.$strict>;
|
|
351
308
|
/**
|
|
352
|
-
* Returns what
|
|
353
|
-
* form. Nothing is charged, and the method appears in the list once the gateway
|
|
354
|
-
* confirms it.
|
|
355
|
-
*
|
|
356
|
-
* Card numbers are never sent to or stored by this service.
|
|
309
|
+
* 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.
|
|
357
310
|
* @summary Create payment method setup
|
|
358
311
|
*/
|
|
359
312
|
export declare const CreatePaymentMethodSetupBody: zod.ZodObject<{
|
|
@@ -361,56 +314,44 @@ export declare const CreatePaymentMethodSetupBody: zod.ZodObject<{
|
|
|
361
314
|
billing_account_id: zod.ZodInt;
|
|
362
315
|
}, zod.z.core.$strict>;
|
|
363
316
|
/**
|
|
364
|
-
*
|
|
317
|
+
* 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.
|
|
365
318
|
* @summary Set default payment method
|
|
366
319
|
*/
|
|
367
320
|
export declare const SetDefaultPaymentMethodParams: zod.ZodObject<{
|
|
368
321
|
paymentMethodId: zod.ZodUUID;
|
|
369
322
|
}, zod.z.core.$strict>;
|
|
370
323
|
/**
|
|
371
|
-
* Refused when it is the only method
|
|
372
|
-
* as there would be nothing left to charge when the balance runs out.
|
|
324
|
+
* Refused when it is the only payment method of an account with metered resources.
|
|
373
325
|
* @summary Delete payment method
|
|
374
326
|
*/
|
|
375
327
|
export declare const DeletePaymentMethodParams: zod.ZodObject<{
|
|
376
328
|
paymentMethodId: zod.ZodUUID;
|
|
377
329
|
}, zod.z.core.$strict>;
|
|
378
330
|
/**
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
* account funds fail without starting an online payment. Card and non-card methods use this same
|
|
382
|
-
* operation.
|
|
331
|
+
* Pays the invoice from eligible credit grants and balance as requested, and collects the remainder through the
|
|
332
|
+
* selected gateway and method. Without a gateway, insufficient funds fail and no online payment starts.
|
|
383
333
|
*
|
|
384
|
-
* The draft invoice of a deferred order is priced
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
* insufficient funds or a declined card: later attempts reuse them, and a different promotion_code
|
|
391
|
-
* is then refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred period-end change can be paid
|
|
392
|
-
* once its first period is due to be invoiced; earlier attempts are refused with
|
|
334
|
+
* The draft invoice of a deferred order is priced on its first payment: promotion_code, or otherwise the best
|
|
335
|
+
* applicable account discount, is applied, the total is compared with expected_amount, and the invoice is issued
|
|
336
|
+
* before collection. An invalid or inapplicable code fails, and a total other than expected_amount fails with
|
|
337
|
+
* `BILLING_AMOUNT_CHANGED`; neither changes anything. Once fixed, the terms stay fixed even if collection does
|
|
338
|
+
* not complete, and a different promotion_code is refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred
|
|
339
|
+
* period-end change can be paid only once its first period is due to be invoiced; earlier attempts fail with
|
|
393
340
|
* `BILLING_CHANGE_NOT_INVOICED`.
|
|
394
341
|
*
|
|
395
|
-
* Returns a payment action when customer
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* charged. One the gateway is still processing is refused with `BILLING_PAYMENT_PENDING` and
|
|
401
|
-
* `meta.transaction_id`; wait for its outcome.
|
|
342
|
+
* Returns a payment action when the customer must act; requires_action and processing are not paid. An
|
|
343
|
+
* unresolved online payment with the same gateway, method and saved payment method is reused, and retries never
|
|
344
|
+
* apply credit grants or balance twice. Paying any other way first cancels that payment; if the gateway had
|
|
345
|
+
* already collected it, the invoice is paid by it and nothing more is charged. A payment the gateway is still
|
|
346
|
+
* processing fails with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
|
|
402
347
|
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
* order
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
* `BILLING_INVOICE_NOT_PAYABLE`
|
|
409
|
-
*
|
|
410
|
-
* `subscription_ended` respectively. A usage invoice is billed to the smallest fraction a balance can
|
|
411
|
-
* hold, finer than a payment method can charge, so paying one online is refused with
|
|
412
|
-
* `BILLING_INVOICE_NOT_PAYABLE` and `meta.reason` `usage_invoice`; it is collected from credit grants
|
|
413
|
-
* and balance automatically, including right after a top-up.
|
|
348
|
+
* A paid invoice returns its existing result without another charge. Refused with `BILLING_INVOICE_NOT_PAYABLE`
|
|
349
|
+
* for a void invoice; `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED` for the invoice of a failed or canceled
|
|
350
|
+
* order; `BILLING_ORDER_EXPIRED` after the order's payment deadline; `BILLING_INVOICE_NOT_PAYABLE` with
|
|
351
|
+
* `meta.reason` `subscription_canceling`, `subscription_reclaiming` or `subscription_ended` for a renewal
|
|
352
|
+
* invoice whose subscription is being canceled, is being reclaimed or has ended; and
|
|
353
|
+
* `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `usage_invoice` for a usage invoice, which is collected from
|
|
354
|
+
* credit grants and balance automatically, including right after a top-up.
|
|
414
355
|
* @summary Pay an invoice
|
|
415
356
|
*/
|
|
416
357
|
export declare const PayInvoiceParams: zod.ZodObject<{
|
|
@@ -450,25 +391,19 @@ export declare const PreviewInvoicePaymentQueryParams: zod.ZodObject<{
|
|
|
450
391
|
use_credits: zod.ZodDefault<zod.ZodBoolean>;
|
|
451
392
|
}, zod.z.core.$strict>;
|
|
452
393
|
/**
|
|
453
|
-
* Pays outstanding invoices, including
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
* account discount and is issued first, and stays issued if the payment fails; pay it on its own to
|
|
457
|
-
* apply a promotion code.
|
|
394
|
+
* Pays outstanding invoices, including those of the listed orders, from eligible credit grants and then balance,
|
|
395
|
+
* without a payment gateway. The draft invoice of a deferred order takes the best applicable account discount
|
|
396
|
+
* and is issued first, staying issued if payment fails; pay it alone to use a promotion code.
|
|
458
397
|
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
* `
|
|
465
|
-
* `BILLING_INVOICE_NOT_PAYABLE
|
|
466
|
-
* `
|
|
467
|
-
*
|
|
468
|
-
* passed with `BILLING_ORDER_EXPIRED`. A renewal invoice is refused with
|
|
469
|
-
* `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
|
|
470
|
-
* ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
|
|
471
|
-
* `subscription_ended` respectively.
|
|
398
|
+
* All invoices are paid or none: insufficient funds fail with `BILLING_INSUFFICIENT_FUNDS`, and a total other
|
|
399
|
+
* than expected_amount fails with `BILLING_AMOUNT_CHANGED`, charging nothing. Paid invoices are not charged
|
|
400
|
+
* again. An earlier online payment for one of the invoices is canceled first; one the gateway is still
|
|
401
|
+
* processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Also refused with
|
|
402
|
+
* `BILLING_INVOICE_NOT_PAYABLE` for a void invoice; `BILLING_CHANGE_NOT_INVOICED` for a period-end change not
|
|
403
|
+
* yet due; `BILLING_ORDER_FAILED`, `BILLING_ORDER_CANCELED` or `BILLING_ORDER_EXPIRED` for an order in that
|
|
404
|
+
* state; and `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `subscription_canceling`,
|
|
405
|
+
* `subscription_reclaiming` or `subscription_ended` for a renewal invoice of a subscription being canceled,
|
|
406
|
+
* being reclaimed or ended.
|
|
472
407
|
* @summary Pay together
|
|
473
408
|
*/
|
|
474
409
|
export declare const PayTogetherBody: zod.ZodObject<{
|
|
@@ -477,22 +412,7 @@ export declare const PayTogetherBody: zod.ZodObject<{
|
|
|
477
412
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
478
413
|
}, zod.z.core.$strict>;
|
|
479
414
|
/**
|
|
480
|
-
*
|
|
481
|
-
* invoice by invoice in the order they would be paid. It is computed as paying together computes
|
|
482
|
-
* it. Nothing is charged, reserved or created.
|
|
483
|
-
*
|
|
484
|
-
* Refused with the same errors as paying together, except that insufficient funds are not an
|
|
485
|
-
* error here: they show as a `gateway_amount` above zero, and paying together would then be
|
|
486
|
-
* refused with `BILLING_INSUFFICIENT_FUNDS`.
|
|
487
|
-
* @summary Preview paying together
|
|
488
|
-
*/
|
|
489
|
-
export declare const PreviewPayTogetherBody: zod.ZodObject<{
|
|
490
|
-
invoice_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
491
|
-
order_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
492
|
-
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
493
|
-
}, zod.z.core.$strict>;
|
|
494
|
-
/**
|
|
495
|
-
* Paginated issued invoices belonging to owned billing accounts, filtered by billing_account_id, subscription_id, status and creation interval. Drafts are excluded, including the draft invoice of an order awaiting payment, which is reached through its order; top-ups do not create invoices.
|
|
415
|
+
* 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.
|
|
496
416
|
* @summary List invoices
|
|
497
417
|
*/
|
|
498
418
|
export declare const listInvoicesQueryPageDefault = 1;
|
|
@@ -508,21 +428,20 @@ export declare const ListInvoicesQueryParams: zod.ZodObject<{
|
|
|
508
428
|
open: "open";
|
|
509
429
|
draft: "draft";
|
|
510
430
|
paid: "paid";
|
|
511
|
-
uncollectible: "uncollectible";
|
|
512
431
|
}>>;
|
|
513
432
|
subscription_id: zod.ZodOptional<zod.ZodUUID>;
|
|
514
433
|
from: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
515
434
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
516
435
|
}, zod.z.core.$strict>;
|
|
517
436
|
/**
|
|
518
|
-
*
|
|
437
|
+
* 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.
|
|
519
438
|
* @summary Get invoice
|
|
520
439
|
*/
|
|
521
440
|
export declare const GetInvoiceParams: zod.ZodObject<{
|
|
522
441
|
invoiceId: zod.ZodUUID;
|
|
523
442
|
}, zod.z.core.$strict>;
|
|
524
443
|
/**
|
|
525
|
-
*
|
|
444
|
+
* 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.
|
|
526
445
|
* @summary List invoice items
|
|
527
446
|
*/
|
|
528
447
|
export declare const ListInvoiceItemsParams: zod.ZodObject<{
|
|
@@ -537,7 +456,7 @@ export declare const ListInvoiceItemsQueryParams: zod.ZodObject<{
|
|
|
537
456
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
538
457
|
}, zod.z.core.$strict>;
|
|
539
458
|
/**
|
|
540
|
-
*
|
|
459
|
+
* Ledger entries of your billing accounts, filtered by billing_account_id and creation time.
|
|
541
460
|
* @summary List transactions
|
|
542
461
|
*/
|
|
543
462
|
export declare const listTransactionsQueryPageDefault = 1;
|
|
@@ -552,8 +471,7 @@ export declare const ListTransactionsQueryParams: zod.ZodObject<{
|
|
|
552
471
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
553
472
|
}, zod.z.core.$strict>;
|
|
554
473
|
/**
|
|
555
|
-
* Coupons
|
|
556
|
-
* entered. A coupon reached through a code is not listed here.
|
|
474
|
+
* Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
|
|
557
475
|
* @summary List the coupons held on this account
|
|
558
476
|
*/
|
|
559
477
|
export declare const listAccountDiscountsQueryPageDefault = 1;
|
|
@@ -566,8 +484,7 @@ export declare const ListAccountDiscountsQueryParams: zod.ZodObject<{
|
|
|
566
484
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
567
485
|
}, zod.z.core.$strict>;
|
|
568
486
|
/**
|
|
569
|
-
*
|
|
570
|
-
* and cannot be withdrawn.
|
|
487
|
+
* Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
|
|
571
488
|
* @summary List credit grants
|
|
572
489
|
*/
|
|
573
490
|
export declare const listCreditGrantsQueryPageDefault = 1;
|
|
@@ -586,7 +503,7 @@ export declare const ListCreditGrantsQueryParams: zod.ZodObject<{
|
|
|
586
503
|
}>>;
|
|
587
504
|
}, zod.z.core.$strict>;
|
|
588
505
|
/**
|
|
589
|
-
*
|
|
506
|
+
* Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
|
|
590
507
|
* @summary List credit notes
|
|
591
508
|
*/
|
|
592
509
|
export declare const listCreditNotesQueryPageDefault = 1;
|
|
@@ -607,7 +524,7 @@ export declare const GetCreditNoteParams: zod.ZodObject<{
|
|
|
607
524
|
creditNoteId: zod.ZodUUID;
|
|
608
525
|
}, zod.z.core.$strict>;
|
|
609
526
|
/**
|
|
610
|
-
* The
|
|
527
|
+
* The invoice lines this credit note reduced.
|
|
611
528
|
* @summary List credit note items
|
|
612
529
|
*/
|
|
613
530
|
export declare const ListCreditNoteItemsParams: zod.ZodObject<{
|
|
@@ -637,7 +554,7 @@ export declare const ListRefundsQueryParams: zod.ZodObject<{
|
|
|
637
554
|
order_id: zod.ZodOptional<zod.ZodUUID>;
|
|
638
555
|
}, zod.z.core.$strict>;
|
|
639
556
|
/**
|
|
640
|
-
*
|
|
557
|
+
* Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
|
|
641
558
|
* @summary List usage charges
|
|
642
559
|
*/
|
|
643
560
|
export declare const listUsageChargesQueryPageDefault = 1;
|
|
@@ -661,7 +578,7 @@ export declare const ListUsageChargesQueryParams: zod.ZodObject<{
|
|
|
661
578
|
statement_id: zod.ZodOptional<zod.ZodUUID>;
|
|
662
579
|
}, zod.z.core.$strict>;
|
|
663
580
|
/**
|
|
664
|
-
*
|
|
581
|
+
* Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
|
|
665
582
|
* @summary List subscriptions
|
|
666
583
|
*/
|
|
667
584
|
export declare const listSubscriptionsQueryPageDefault = 1;
|
|
@@ -677,41 +594,29 @@ export declare const ListSubscriptionsQueryParams: zod.ZodObject<{
|
|
|
677
594
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
678
595
|
}, zod.z.core.$strict>;
|
|
679
596
|
/**
|
|
680
|
-
*
|
|
597
|
+
* A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
|
|
681
598
|
* @summary Get subscription
|
|
682
599
|
*/
|
|
683
600
|
export declare const GetSubscriptionParams: zod.ZodObject<{
|
|
684
601
|
subscriptionId: zod.ZodUUID;
|
|
685
602
|
}, zod.z.core.$strict>;
|
|
686
603
|
/**
|
|
687
|
-
*
|
|
688
|
-
* list and detail. Your account access token must authorize the subscription's current billing
|
|
689
|
-
* account. Preserves commercial status, ended_at and billing and financial history. Completed
|
|
690
|
-
* cancellations and canceled unfulfilled purchases can be deleted directly, without termination.
|
|
691
|
-
* Pending, provisioning, active and suspended subscriptions are refused with 409
|
|
692
|
-
* BILLING_SUBSCRIPTION_NOT_ENDED and status in error params. A scheduled or releasing cancellation
|
|
693
|
-
* does not make a subscription canceled.
|
|
694
|
-
* There is no force, skip-cleanup or override option. Repeating deletion preserves the original
|
|
695
|
-
* deleted_at. Sends no cleanup command and creates no refund; outstanding cleanup continues.
|
|
604
|
+
* 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.
|
|
696
605
|
* @summary Delete subscription
|
|
697
606
|
*/
|
|
698
607
|
export declare const DeleteSubscriptionParams: zod.ZodObject<{
|
|
699
608
|
subscriptionId: zod.ZodUUID;
|
|
700
609
|
}, zod.z.core.$strict>;
|
|
701
610
|
/**
|
|
702
|
-
* Requests cancellation on the purchase's agreed terms
|
|
703
|
-
*
|
|
704
|
-
*
|
|
705
|
-
* Your account access token must authorize the subscription's current billing account.
|
|
611
|
+
* Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
|
|
612
|
+
* refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
|
|
613
|
+
* the subscription's current billing account.
|
|
706
614
|
*
|
|
707
|
-
* Immediate cancellation asks the owning service to
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
*
|
|
712
|
-
* Related subscriptions released together must be submitted as one group to create-cancellation.
|
|
713
|
-
* Pending or provisioning purchases are canceled through their order, not this operation.
|
|
714
|
-
* Repeating the same open cancellation returns it without another refund or command.
|
|
615
|
+
* Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
|
|
616
|
+
* subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
|
|
617
|
+
* confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
|
|
618
|
+
* together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
|
|
619
|
+
* request while the cancellation is open returns it.
|
|
715
620
|
* @summary Cancel subscription
|
|
716
621
|
*/
|
|
717
622
|
export declare const CancelSubscriptionParams: zod.ZodObject<{
|
|
@@ -727,74 +632,7 @@ export declare const CancelSubscriptionBody: zod.ZodObject<{
|
|
|
727
632
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
728
633
|
}, zod.z.core.$strict>;
|
|
729
634
|
/**
|
|
730
|
-
*
|
|
731
|
-
*
|
|
732
|
-
* 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.
|
|
733
|
-
*
|
|
734
|
-
* Use an existing order quote's total as expected_amount when paying the order's invoice. An order whose terms are fixed returns its recorded amounts; a different promotion code is refused. Requested future usage estimates are not collectible checkout amounts. An unknown delivery outcome is not proof of refund eligibility.
|
|
735
|
-
* @summary Create a quote
|
|
736
|
-
*/
|
|
737
|
-
export declare const CreateQuoteBody: zod.ZodObject<{
|
|
738
|
-
billing_account_id: zod.ZodInt;
|
|
739
|
-
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
740
|
-
price_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
741
|
-
plan_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
742
|
-
price_id: zod.ZodOptional<zod.ZodUUID>;
|
|
743
|
-
product_id: zod.ZodOptional<zod.ZodString>;
|
|
744
|
-
plan_id: zod.ZodOptional<zod.ZodUUID>;
|
|
745
|
-
price_type: zod.ZodOptional<zod.ZodEnum<{
|
|
746
|
-
postpaid: "postpaid";
|
|
747
|
-
prepaid: "prepaid";
|
|
748
|
-
one_time: "one_time";
|
|
749
|
-
}>>;
|
|
750
|
-
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
751
|
-
none: "none";
|
|
752
|
-
day: "day";
|
|
753
|
-
month: "month";
|
|
754
|
-
year: "year";
|
|
755
|
-
}>>;
|
|
756
|
-
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
757
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
758
|
-
immediate: "immediate";
|
|
759
|
-
period_end: "period_end";
|
|
760
|
-
}>>;
|
|
761
|
-
quantity: zod.ZodString;
|
|
762
|
-
meter_id: zod.ZodOptional<zod.ZodUUID>;
|
|
763
|
-
meter_lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
764
|
-
dimensions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
765
|
-
duration_seconds: zod.ZodOptional<zod.ZodInt>;
|
|
766
|
-
}, zod.z.core.$strict>>>;
|
|
767
|
-
order_id: zod.ZodOptional<zod.ZodUUID>;
|
|
768
|
-
renewals: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
769
|
-
subscription_id: zod.ZodUUID;
|
|
770
|
-
price_id: zod.ZodOptional<zod.ZodUUID>;
|
|
771
|
-
interval: zod.ZodOptional<zod.ZodEnum<{
|
|
772
|
-
day: "day";
|
|
773
|
-
month: "month";
|
|
774
|
-
year: "year";
|
|
775
|
-
}>>;
|
|
776
|
-
interval_count: zod.ZodOptional<zod.ZodInt>;
|
|
777
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
778
|
-
immediate: "immediate";
|
|
779
|
-
period_end: "period_end";
|
|
780
|
-
}>>;
|
|
781
|
-
periods: zod.ZodDefault<zod.ZodInt>;
|
|
782
|
-
}, zod.z.core.$strict>>>;
|
|
783
|
-
cancellation: zod.ZodOptional<zod.ZodObject<{
|
|
784
|
-
subscription_ids: zod.ZodArray<zod.ZodUUID>;
|
|
785
|
-
mode: zod.ZodEnum<{
|
|
786
|
-
immediate: "immediate";
|
|
787
|
-
period_end: "period_end";
|
|
788
|
-
}>;
|
|
789
|
-
}, zod.z.core.$strict>>;
|
|
790
|
-
promotion_code: zod.ZodOptional<zod.ZodString>;
|
|
791
|
-
refund: zod.ZodOptional<zod.ZodObject<{
|
|
792
|
-
order_id: zod.ZodUUID;
|
|
793
|
-
order_item_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
794
|
-
}, zod.z.core.$strict>>;
|
|
795
|
-
}, zod.z.core.$strict>;
|
|
796
|
-
/**
|
|
797
|
-
* Newest first. Filter by `subscription_id` and `status=open` to find the cancellation now under way for a subscription.
|
|
635
|
+
* Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
|
|
798
636
|
* @summary List cancellations
|
|
799
637
|
*/
|
|
800
638
|
export declare const listCancellationsQueryPageDefault = 1;
|
|
@@ -819,46 +657,36 @@ export declare const ListCancellationsQueryParams: zod.ZodObject<{
|
|
|
819
657
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
820
658
|
}, zod.z.core.$strict>;
|
|
821
659
|
/**
|
|
822
|
-
* Ends
|
|
823
|
-
* subscription
|
|
824
|
-
* such as a server with the disks deleted along with it, or an address with its bandwidth.
|
|
660
|
+
* Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
|
|
661
|
+
* subscription released with it, such as a server with its disks or an address with its bandwidth.
|
|
825
662
|
*
|
|
826
|
-
* The service
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
* amount confirmed here is the amount returned: prepaid service used while the resources are
|
|
831
|
-
* being released is not deducted from it. Usage of a postpaid subscription is charged until its
|
|
832
|
-
* resources are released, as usual.
|
|
663
|
+
* The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
|
|
664
|
+
* term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
|
|
665
|
+
* sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
|
|
666
|
+
* and is not reduced by service used during release. Metered usage is charged until release.
|
|
833
667
|
*
|
|
834
|
-
* `mode` must be allowed for every subscription.
|
|
835
|
-
*
|
|
836
|
-
*
|
|
837
|
-
* not ended yet. For `period_end` the paid terms of all the subscriptions must end at the same
|
|
668
|
+
* `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
|
|
669
|
+
* licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
|
|
670
|
+
* the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
|
|
838
671
|
* time.
|
|
839
672
|
*
|
|
840
673
|
* Refused with:
|
|
841
|
-
*
|
|
842
|
-
*
|
|
843
|
-
* account and currency;
|
|
674
|
+
*
|
|
675
|
+
* - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
|
|
676
|
+
* the subscriptions do not share one service, project, account and currency;
|
|
844
677
|
* - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
|
|
845
|
-
* - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed
|
|
846
|
-
*
|
|
847
|
-
*
|
|
848
|
-
* - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
|
|
849
|
-
* different times;
|
|
678
|
+
* - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
|
|
679
|
+
* when a licensed subscription has no termination terms, both with `meta.subscription_id`;
|
|
680
|
+
* - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
|
|
850
681
|
* - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
|
|
851
|
-
* (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid
|
|
852
|
-
*
|
|
853
|
-
* - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for
|
|
854
|
-
*
|
|
855
|
-
* - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
|
|
856
|
-
* `expected_refundable_amount`; quote again.
|
|
682
|
+
* (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
|
|
683
|
+
* switch (`meta.order_id`);
|
|
684
|
+
* - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
|
|
685
|
+
* - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
|
|
857
686
|
*
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
-
* every subscription in the set, for `period_end` as well as `immediate`.
|
|
687
|
+
* Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
|
|
688
|
+
* with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
|
|
689
|
+
* subscription.
|
|
862
690
|
* @summary Cancel subscriptions
|
|
863
691
|
*/
|
|
864
692
|
export declare const CreateCancellationBody: zod.ZodObject<{
|
|
@@ -872,18 +700,14 @@ export declare const CreateCancellationBody: zod.ZodObject<{
|
|
|
872
700
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
873
701
|
}, zod.z.core.$strict>;
|
|
874
702
|
/**
|
|
875
|
-
*
|
|
703
|
+
* A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
|
|
876
704
|
* @summary Get a cancellation
|
|
877
705
|
*/
|
|
878
706
|
export declare const GetCancellationParams: zod.ZodObject<{
|
|
879
707
|
cancellationId: zod.ZodUUID;
|
|
880
708
|
}, zod.z.core.$strict>;
|
|
881
709
|
/**
|
|
882
|
-
* Withdraws the whole cancellation while
|
|
883
|
-
* subscriptions continue as before, except that automatic renewal, turned off when the
|
|
884
|
-
* cancellation was created, stays off until it is turned on again. After that it is refused with
|
|
885
|
-
* 409 `BILLING_CANCELLATION_CONFLICT`. Withdrawing one that is already withdrawn returns it
|
|
886
|
-
* unchanged.
|
|
710
|
+
* 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.
|
|
887
711
|
* @summary Withdraw a cancellation
|
|
888
712
|
*/
|
|
889
713
|
export declare const WithdrawCancellationParams: zod.ZodObject<{
|
|
@@ -905,17 +729,15 @@ export declare const ListRenewalPricesQueryParams: zod.ZodObject<{
|
|
|
905
729
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
906
730
|
}, zod.z.core.$strict>;
|
|
907
731
|
/**
|
|
908
|
-
*
|
|
909
|
-
*
|
|
910
|
-
*
|
|
732
|
+
* Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
|
|
733
|
+
* different interval selects the price currently sold for it and fixes new terms on the order, applied after
|
|
734
|
+
* fulfillment. Paid periods keep their value.
|
|
911
735
|
*
|
|
912
|
-
* Without `payment_method_id`, the renewal is paid from credit grants and
|
|
913
|
-
* `
|
|
914
|
-
*
|
|
915
|
-
* and pay its invoice instead.
|
|
736
|
+
* Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
|
|
737
|
+
* `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
|
|
738
|
+
* order is left. To pay another way, create a renewal order and pay its invoice.
|
|
916
739
|
*
|
|
917
|
-
*
|
|
918
|
-
* creation conflicts.
|
|
740
|
+
* Keep order_id and read the order after an unknown outcome; creating it again conflicts.
|
|
919
741
|
* @summary Renew subscription
|
|
920
742
|
*/
|
|
921
743
|
export declare const RenewSubscriptionParams: zod.ZodObject<{
|
|
@@ -940,16 +762,14 @@ export declare const RenewSubscriptionBody: zod.ZodObject<{
|
|
|
940
762
|
return_url: zod.ZodOptional<zod.ZodString>;
|
|
941
763
|
}, zod.z.core.$strict>;
|
|
942
764
|
/**
|
|
943
|
-
* Places a renewal order with a draft invoice, without applying a new discount or charging anything.
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* order's terms are not fixed yet.
|
|
765
|
+
* Places a renewal order with a draft invoice, without applying a new discount or charging anything. Pay its
|
|
766
|
+
* invoice to renew; a promotion code can be applied when paying. Existing subscription discounts are kept.
|
|
767
|
+
* Periods and price are chosen as for renewing. The order can be paid until the current paid period ends, and
|
|
768
|
+
* never after the end of the first period it renews; unpaid by then, it is canceled. While auto-renew is on, the
|
|
769
|
+
* renewal due at the end of the period pays this order instead of placing another, applying an applicable
|
|
770
|
+
* account discount first if its terms are not fixed yet.
|
|
950
771
|
*
|
|
951
|
-
*
|
|
952
|
-
* second time conflicts.
|
|
772
|
+
* Keep `order_id` and read the order after an unknown outcome; creating it again conflicts.
|
|
953
773
|
* @summary Create renewal order
|
|
954
774
|
*/
|
|
955
775
|
export declare const CreateRenewalOrderParams: zod.ZodObject<{
|
|
@@ -970,15 +790,7 @@ export declare const CreateRenewalOrderBody: zod.ZodObject<{
|
|
|
970
790
|
}>>;
|
|
971
791
|
}, zod.z.core.$strict>;
|
|
972
792
|
/**
|
|
973
|
-
*
|
|
974
|
-
* subscription cannot set this preference and returns 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE`. Disabling it does
|
|
975
|
-
* not shorten current_term_end and still permits manual renewal. A postpaid subscription always continues until it is
|
|
976
|
-
* canceled; setting it is refused with 409
|
|
977
|
-
* `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED`.
|
|
978
|
-
*
|
|
979
|
-
* While the subscription has an open cancellation, turning it on or off is refused with 409
|
|
980
|
-
* `BILLING_SUBSCRIPTION_OPERATION_PENDING` and `meta.cancellation_id`: creating the cancellation
|
|
981
|
-
* turned it off, and withdrawing the cancellation does not turn it back on.
|
|
793
|
+
* 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.
|
|
982
794
|
* @summary Set auto renew
|
|
983
795
|
*/
|
|
984
796
|
export declare const SetAutoRenewParams: zod.ZodObject<{
|
|
@@ -988,13 +800,7 @@ export declare const SetAutoRenewBody: zod.ZodObject<{
|
|
|
988
800
|
auto_renew: zod.ZodBoolean;
|
|
989
801
|
}, zod.z.core.$strict>;
|
|
990
802
|
/**
|
|
991
|
-
*
|
|
992
|
-
* consumed before usage is charged. Lower priority values are consumed first, followed by earlier
|
|
993
|
-
* expiry and earlier issuance.
|
|
994
|
-
*
|
|
995
|
-
* Unused quantity expires without a refund or carry-over. Promotional allowances apply to usage paid
|
|
996
|
-
* by their holding account. Included allowances apply only to the associated subscription, including
|
|
997
|
-
* after its project moves to another billing account.
|
|
803
|
+
* 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.
|
|
998
804
|
* @summary List allowances
|
|
999
805
|
*/
|
|
1000
806
|
export declare const listAllowancesQueryPageDefault = 1;
|
|
@@ -1019,9 +825,7 @@ export declare const ListAllowancesQueryParams: zod.ZodObject<{
|
|
|
1019
825
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
1020
826
|
}, zod.z.core.$strict>;
|
|
1021
827
|
/**
|
|
1022
|
-
*
|
|
1023
|
-
* its invoice shows whether it still needs payment. accepted means accepted, not delivered.
|
|
1024
|
-
* Pending orders can expire at expires_at.
|
|
828
|
+
* 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.
|
|
1025
829
|
* @summary List orders
|
|
1026
830
|
*/
|
|
1027
831
|
export declare const listOrdersQueryPageDefault = 1;
|
|
@@ -1046,31 +850,26 @@ export declare const ListOrdersQueryParams: zod.ZodObject<{
|
|
|
1046
850
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
1047
851
|
}, zod.z.core.$strict>;
|
|
1048
852
|
/**
|
|
1049
|
-
*
|
|
853
|
+
* An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
|
|
1050
854
|
* @summary Get order
|
|
1051
855
|
*/
|
|
1052
856
|
export declare const GetOrderParams: zod.ZodObject<{
|
|
1053
857
|
orderId: zod.ZodUUID;
|
|
1054
858
|
}, zod.z.core.$strict>;
|
|
1055
859
|
/**
|
|
1056
|
-
* Cancels the selected
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
* its existing pending phase while any item is still pending; its final outcome follows all
|
|
1061
|
-
* item outcomes. Previously failed items keep their failure outcome.
|
|
860
|
+
* Cancels the selected undelivered items of an order that has not been accepted, without recording a delivery
|
|
861
|
+
* failure. Omit order_item_ids to select every pending item. Delivered items stay delivered and are not
|
|
862
|
+
* refunded; failed items keep their outcome. The order stays pending while any item is pending, and its final
|
|
863
|
+
* status follows its items.
|
|
1062
864
|
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
865
|
+
* Once the order's terms are fixed, the canceled items keep their agreed amounts and discounts: credit notes
|
|
866
|
+
* reduce the issued invoice, and collected amounts return to their original payment sources, possibly
|
|
867
|
+
* asynchronously. While a deferred order's terms are not fixed, the remaining items are priced again. An online
|
|
868
|
+
* payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
|
|
869
|
+
* `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
|
|
1068
870
|
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
* subscription cancellation. Unknown delivery or payment outcomes are not refund evidence;
|
|
1072
|
-
* in-flight or unknown payments must be reconciled first. Scheduled changes continue to be
|
|
1073
|
-
* canceled through the owning service. Refund quotations use CreateQuote.refund.
|
|
871
|
+
* An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
|
|
872
|
+
* Refunds are quoted with the quote operation's `refund` target.
|
|
1074
873
|
* @summary Cancel order
|
|
1075
874
|
*/
|
|
1076
875
|
export declare const CancelOrderParams: zod.ZodObject<{
|
|
@@ -1095,13 +894,7 @@ export declare const ListOrderItemsQueryParams: zod.ZodObject<{
|
|
|
1095
894
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1096
895
|
}, zod.z.core.$strict>;
|
|
1097
896
|
/**
|
|
1098
|
-
* Capabilities
|
|
1099
|
-
* does not appear, so that "this does not exist" and "this has not been bought" cannot be
|
|
1100
|
-
* confused.
|
|
1101
|
-
*
|
|
1102
|
-
* Derived from live subscriptions and active feature grants rather than stored, so this always
|
|
1103
|
-
* agrees with what is being paid for and granted. It stops being listed as soon as the
|
|
1104
|
-
* subscription or grant providing it ends.
|
|
897
|
+
* 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.
|
|
1105
898
|
* @summary List entitlements
|
|
1106
899
|
*/
|
|
1107
900
|
export declare const listEntitlementsQueryPageDefault = 1;
|
|
@@ -1119,9 +912,7 @@ export declare const ListEntitlementsQueryParams: zod.ZodObject<{
|
|
|
1119
912
|
product_id: zod.ZodOptional<zod.ZodString>;
|
|
1120
913
|
}, zod.z.core.$strict>;
|
|
1121
914
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
* is active, every project whose current billing account holds it has the feature, in addition to the
|
|
1124
|
-
* features of its own subscriptions.
|
|
915
|
+
* 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.
|
|
1125
916
|
* @summary List feature grants
|
|
1126
917
|
*/
|
|
1127
918
|
export declare const listFeatureGrantsQueryPageDefault = 1;
|
|
@@ -1143,13 +934,7 @@ export declare const ListFeatureGrantsQueryParams: zod.ZodObject<{
|
|
|
1143
934
|
}>>;
|
|
1144
935
|
}, zod.z.core.$strict>;
|
|
1145
936
|
/**
|
|
1146
|
-
* Every
|
|
1147
|
-
*
|
|
1148
|
-
* `currency` is required: a plan has a price in each currency it is sold in, so "what does
|
|
1149
|
-
* this cost" has no answer without one.
|
|
1150
|
-
*
|
|
1151
|
-
* Archived prices are left out. Existing subscriptions keep the terms they were bought at, so
|
|
1152
|
-
* this is not the place to look up what an existing purchase is paying.
|
|
937
|
+
* 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.
|
|
1153
938
|
* @summary List what is on sale, with prices
|
|
1154
939
|
*/
|
|
1155
940
|
export declare const listPricesQueryPageDefault = 1;
|
|
@@ -1166,16 +951,19 @@ export declare const ListPricesQueryParams: zod.ZodObject<{
|
|
|
1166
951
|
currency: zod.ZodString;
|
|
1167
952
|
product_id: zod.ZodOptional<zod.ZodString>;
|
|
1168
953
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
1169
|
-
postpaid: "postpaid";
|
|
1170
|
-
prepaid: "prepaid";
|
|
1171
954
|
one_time: "one_time";
|
|
955
|
+
recurring: "recurring";
|
|
956
|
+
}>>;
|
|
957
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
958
|
+
licensed: "licensed";
|
|
959
|
+
metered: "metered";
|
|
1172
960
|
}>>;
|
|
1173
961
|
}, zod.z.core.$strict>;
|
|
1174
962
|
export declare const ListPricesHeader: zod.ZodObject<{
|
|
1175
963
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1176
964
|
}, zod.z.core.$strict>;
|
|
1177
965
|
/**
|
|
1178
|
-
*
|
|
966
|
+
* Registered products. If-None-Match returns 304 for an unchanged page.
|
|
1179
967
|
* @summary List catalog products
|
|
1180
968
|
*/
|
|
1181
969
|
export declare const listProductsQueryPageDefault = 1;
|
|
@@ -1190,8 +978,7 @@ export declare const ListProductsHeader: zod.ZodObject<{
|
|
|
1190
978
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1191
979
|
}, zod.z.core.$strict>;
|
|
1192
980
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
* the terms of a credit — into something that can be displayed.
|
|
981
|
+
* A product by its ID.
|
|
1195
982
|
* @summary Get a service
|
|
1196
983
|
*/
|
|
1197
984
|
export declare const getProductPathProductIdMax = 64;
|
|
@@ -1203,8 +990,7 @@ export declare const GetProductHeader: zod.ZodObject<{
|
|
|
1203
990
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1204
991
|
}, zod.z.core.$strict>;
|
|
1205
992
|
/**
|
|
1206
|
-
*
|
|
1207
|
-
* no longer on sale: an existing purchase still refers to one.
|
|
993
|
+
* A plan, including one no longer on sale.
|
|
1208
994
|
* @summary Get a sellable item
|
|
1209
995
|
*/
|
|
1210
996
|
export declare const GetPlanParams: zod.ZodObject<{
|
|
@@ -1214,7 +1000,7 @@ export declare const GetPlanHeader: zod.ZodObject<{
|
|
|
1214
1000
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1215
1001
|
}, zod.z.core.$strict>;
|
|
1216
1002
|
/**
|
|
1217
|
-
*
|
|
1003
|
+
* A catalog price, archived prices included. The terms of past purchases are on their orders and subscriptions.
|
|
1218
1004
|
* @summary Get a price
|
|
1219
1005
|
*/
|
|
1220
1006
|
export declare const GetPriceParams: zod.ZodObject<{
|
|
@@ -1224,7 +1010,7 @@ export declare const GetPriceHeader: zod.ZodObject<{
|
|
|
1224
1010
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1225
1011
|
}, zod.z.core.$strict>;
|
|
1226
1012
|
/**
|
|
1227
|
-
*
|
|
1013
|
+
* Active plans of product_id with their features. An unknown product returns 404; If-None-Match returns 304 for an unchanged page.
|
|
1228
1014
|
* @summary List catalog plans
|
|
1229
1015
|
*/
|
|
1230
1016
|
export declare const listPlansQueryProductIdMax = 64;
|
|
@@ -1242,8 +1028,7 @@ export declare const ListPlansHeader: zod.ZodObject<{
|
|
|
1242
1028
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1243
1029
|
}, zod.z.core.$strict>;
|
|
1244
1030
|
/**
|
|
1245
|
-
* Public list prices
|
|
1246
|
-
* it is never charged more.
|
|
1031
|
+
* Public list prices. An account with a negotiated agreement may be charged less, never more.
|
|
1247
1032
|
* @summary List catalog prices
|
|
1248
1033
|
*/
|
|
1249
1034
|
export declare const ListPricesByPlanParams: zod.ZodObject<{
|
|
@@ -1262,8 +1047,7 @@ export declare const ListPricesByPlanHeader: zod.ZodObject<{
|
|
|
1262
1047
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1263
1048
|
}, zod.z.core.$strict>;
|
|
1264
1049
|
/**
|
|
1265
|
-
*
|
|
1266
|
-
* and its identifier cannot be used to reach it.
|
|
1050
|
+
* Rules of a public rate card; contract cards are not readable here.
|
|
1267
1051
|
* @summary List catalog rates
|
|
1268
1052
|
*/
|
|
1269
1053
|
export declare const ListRatesParams: zod.ZodObject<{
|
|
@@ -1283,9 +1067,7 @@ export declare const ListRatesHeader: zod.ZodObject<{
|
|
|
1283
1067
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
1284
1068
|
}, zod.z.core.$strict>;
|
|
1285
1069
|
/**
|
|
1286
|
-
*
|
|
1287
|
-
* describe machine runtime or health. Project filters narrow the authorized accounts; they do not
|
|
1288
|
-
* grant project-based access.
|
|
1070
|
+
* Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
|
|
1289
1071
|
* @summary List active resources
|
|
1290
1072
|
*/
|
|
1291
1073
|
export declare const listActiveResourcesQueryPageDefault = 1;
|
|
@@ -1331,6 +1113,7 @@ export declare const ListSpendQueryParams: zod.ZodObject<{
|
|
|
1331
1113
|
to: zod.z.ZodISODateTime;
|
|
1332
1114
|
group_by: zod.ZodDefault<zod.ZodEnum<{
|
|
1333
1115
|
product: "product";
|
|
1116
|
+
meter: "meter";
|
|
1334
1117
|
plan: "plan";
|
|
1335
1118
|
resource: "resource";
|
|
1336
1119
|
}>>;
|
|
@@ -1341,7 +1124,7 @@ export declare const ListSpendQueryParams: zod.ZodObject<{
|
|
|
1341
1124
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
1342
1125
|
}, zod.z.core.$strict>;
|
|
1343
1126
|
/**
|
|
1344
|
-
* Usage billing
|
|
1127
|
+
* 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.
|
|
1345
1128
|
* @summary List monthly statements
|
|
1346
1129
|
*/
|
|
1347
1130
|
export declare const listMonthlyStatementsQueryPageDefault = 1;
|
|
@@ -1356,7 +1139,7 @@ export declare const ListMonthlyStatementsQueryParams: zod.ZodObject<{
|
|
|
1356
1139
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1357
1140
|
}, zod.z.core.$strict>;
|
|
1358
1141
|
/**
|
|
1359
|
-
*
|
|
1142
|
+
* 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.
|
|
1360
1143
|
* @summary List statements
|
|
1361
1144
|
*/
|
|
1362
1145
|
export declare const listStatementsQueryPageDefault = 1;
|
|
@@ -1375,14 +1158,14 @@ export declare const ListStatementsQueryParams: zod.ZodObject<{
|
|
|
1375
1158
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1376
1159
|
}, zod.z.core.$strict>;
|
|
1377
1160
|
/**
|
|
1378
|
-
*
|
|
1161
|
+
* 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.
|
|
1379
1162
|
* @summary Get statement
|
|
1380
1163
|
*/
|
|
1381
1164
|
export declare const GetStatementParams: zod.ZodObject<{
|
|
1382
1165
|
statementId: zod.ZodUUID;
|
|
1383
1166
|
}, zod.z.core.$strict>;
|
|
1384
1167
|
/**
|
|
1385
|
-
*
|
|
1168
|
+
* 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.
|
|
1386
1169
|
* @summary Get grouped consumption
|
|
1387
1170
|
*/
|
|
1388
1171
|
export declare const GetStatementUsageParams: zod.ZodObject<{
|