import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class WebhookEvents extends ClientSDK { /** * checkout.session.completed * * @remarks * Fired when payment is confirmed; the subscription is now active and the invoice is finalized. Doc-only for parsing. */ postWebhookEventsCheckoutSessionCompleted(options?: RequestOptions): Promise; /** * checkout.session.expired * * @remarks * Fired when a Checkout Session times out without payment; draft records are cleaned up. Doc-only for parsing. */ postWebhookEventsCheckoutSessionExpired(options?: RequestOptions): Promise; /** * checkout.session.failed * * @remarks * Fired when payment fails or the provider cancels the payment link. Doc-only for parsing. */ postWebhookEventsCheckoutSessionFailed(options?: RequestOptions): Promise; /** * checkout.session.initiated * * @remarks * Fired when a Checkout Session is created and a payment URL is returned to the customer. Doc-only for parsing. */ postWebhookEventsCheckoutSessionInitiated(options?: RequestOptions): Promise; /** * credit_note.created * * @remarks * Fired when a new credit note is created. Doc-only for parsing. */ postWebhookEventsCreditNoteCreated(options?: RequestOptions): Promise; /** * credit_note.updated * * @remarks * Fired when a credit note is updated. Doc-only for parsing. */ postWebhookEventsCreditNoteUpdated(options?: RequestOptions): Promise; /** * customer.created * * @remarks * Fired when a new customer is created. Doc-only for parsing. */ postWebhookEventsCustomerCreated(options?: RequestOptions): Promise; /** * customer.deleted * * @remarks * Fired when a customer is deleted. Doc-only for parsing. */ postWebhookEventsCustomerDeleted(options?: RequestOptions): Promise; /** * customer.updated * * @remarks * Fired when a customer is updated. Doc-only for parsing. */ postWebhookEventsCustomerUpdated(options?: RequestOptions): Promise; /** * entitlement.created * * @remarks * Fired when a new entitlement is created. Doc-only for parsing. */ postWebhookEventsEntitlementCreated(options?: RequestOptions): Promise; /** * entitlement.deleted * * @remarks * Fired when an entitlement is deleted. Doc-only for parsing. */ postWebhookEventsEntitlementDeleted(options?: RequestOptions): Promise; /** * entitlement.updated * * @remarks * Fired when an entitlement is updated. Doc-only for parsing. */ postWebhookEventsEntitlementUpdated(options?: RequestOptions): Promise; /** * event.rejected * * @remarks * Fired when an ingested usage event produces no meter usage — either no meter is registered for its event name, or meters exist for the name but the event matched none of their filters. Throttled to at most once per configured window per event name. Doc-only for parsing. */ postWebhookEventsEventRejected(options?: RequestOptions): Promise; /** * feature.created * * @remarks * Fired when a new feature is created. Doc-only for parsing. */ postWebhookEventsFeatureCreated(options?: RequestOptions): Promise; /** * feature.deleted * * @remarks * Fired when a feature is deleted. Doc-only for parsing. */ postWebhookEventsFeatureDeleted(options?: RequestOptions): Promise; /** * feature.updated * * @remarks * Fired when a feature is updated. Doc-only for parsing. */ postWebhookEventsFeatureUpdated(options?: RequestOptions): Promise; /** * feature.wallet_balance.alert * * @remarks * Fired when a feature's associated wallet balance crosses an alert threshold. Doc-only for parsing. */ postWebhookEventsFeatureWalletBalanceAlert(options?: RequestOptions): Promise; /** * invoice.communication.triggered * * @remarks * Fired when an invoice communication (e.g. email notification) is triggered. Doc-only for parsing. */ postWebhookEventsInvoiceCommunicationTriggered(options?: RequestOptions): Promise; /** * invoice.create.drafted * * @remarks * Fired when a new invoice is created in draft state. Doc-only for parsing. */ postWebhookEventsInvoiceCreateDrafted(options?: RequestOptions): Promise; /** * invoice.payment.overdue * * @remarks * Fired when an invoice payment is overdue past the due date. Doc-only for parsing. */ postWebhookEventsInvoicePaymentOverdue(options?: RequestOptions): Promise; /** * invoice.update * * @remarks * Fired when an invoice is updated. Doc-only for parsing. */ postWebhookEventsInvoiceUpdate(options?: RequestOptions): Promise; /** * invoice.update.finalized * * @remarks * Fired when an invoice is finalized and locked for payment. Doc-only for parsing. */ postWebhookEventsInvoiceUpdateFinalized(options?: RequestOptions): Promise; /** * invoice.update.payment * * @remarks * Fired when an invoice payment status changes. Doc-only for parsing. */ postWebhookEventsInvoiceUpdatePayment(options?: RequestOptions): Promise; /** * invoice.update.voided * * @remarks * Fired when an invoice is voided (e.g. order cancelled or duplicate). Doc-only for parsing. */ postWebhookEventsInvoiceUpdateVoided(options?: RequestOptions): Promise; /** * payment.created * * @remarks * Fired when a new payment is created. Doc-only for parsing. */ postWebhookEventsPaymentCreated(options?: RequestOptions): Promise; /** * payment.failed * * @remarks * Fired when a payment fails. Doc-only for parsing. */ postWebhookEventsPaymentFailed(options?: RequestOptions): Promise; /** * payment.pending * * @remarks * Fired when a payment is pending processing. Doc-only for parsing. */ postWebhookEventsPaymentPending(options?: RequestOptions): Promise; /** * payment.success * * @remarks * Fired when a payment succeeds. Doc-only for parsing. */ postWebhookEventsPaymentSuccess(options?: RequestOptions): Promise; /** * payment.updated * * @remarks * Fired when a payment is updated. Doc-only for parsing. */ postWebhookEventsPaymentUpdated(options?: RequestOptions): Promise; /** * subscription.activated * * @remarks * Fired when a draft subscription is activated. Doc-only for parsing. */ postWebhookEventsSubscriptionActivated(options?: RequestOptions): Promise; /** * subscription.cancelled * * @remarks * Fired when a subscription is cancelled (immediately or end-of-period). Doc-only for parsing. */ postWebhookEventsSubscriptionCancelled(options?: RequestOptions): Promise; /** * subscription.created * * @remarks * Fired when a new subscription is created. Doc-only for parsing. */ postWebhookEventsSubscriptionCreated(options?: RequestOptions): Promise; /** * subscription.draft.created * * @remarks * Fired when a new draft subscription is created (not yet activated). Doc-only for parsing. */ postWebhookEventsSubscriptionDraftCreated(options?: RequestOptions): Promise; /** * subscription.group_spend.threshold_reached * * @remarks * Fired when a feature group's total metered spend on a subscription crosses an alert threshold (critical, warning, or info) for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionGroupSpendThresholdReached(options?: RequestOptions): Promise; /** * subscription.group_spend.threshold_recovered * * @remarks * Fired when a feature group's total metered spend on a subscription falls back below all configured alert thresholds for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionGroupSpendThresholdRecovered(options?: RequestOptions): Promise; /** * subscription.line_item_spend.threshold_reached * * @remarks * Fired when a subscription line item's metered spend crosses an alert threshold (critical, warning, or info) for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionLineItemSpendThresholdReached(options?: RequestOptions): Promise; /** * subscription.line_item_spend.threshold_recovered * * @remarks * Fired when a subscription line item's metered spend falls back below all configured alert thresholds for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionLineItemSpendThresholdRecovered(options?: RequestOptions): Promise; /** * subscription.paused * * @remarks * Fired when a subscription is paused. Doc-only for parsing. */ postWebhookEventsSubscriptionPaused(options?: RequestOptions): Promise; /** * subscription.phase.created * * @remarks * Fired when a new subscription phase is created. Doc-only for parsing. */ postWebhookEventsSubscriptionPhaseCreated(options?: RequestOptions): Promise; /** * subscription.phase.deleted * * @remarks * Fired when a subscription phase is deleted. Doc-only for parsing. */ postWebhookEventsSubscriptionPhaseDeleted(options?: RequestOptions): Promise; /** * subscription.phase.updated * * @remarks * Fired when a subscription phase is updated. Doc-only for parsing. */ postWebhookEventsSubscriptionPhaseUpdated(options?: RequestOptions): Promise; /** * subscription.plan_changed * * @remarks * Fired when a subscription plan changes in place (id/anchor preserved; not cancelled+created). Doc-only for parsing. */ postWebhookEventsSubscriptionPlanChanged(options?: RequestOptions): Promise; /** * subscription.renewal.due * * @remarks * Fired when a subscription renewal is upcoming (cron-driven). Doc-only for parsing. */ postWebhookEventsSubscriptionRenewalDue(options?: RequestOptions): Promise; /** * subscription.resumed * * @remarks * Fired when a paused subscription is resumed. Doc-only for parsing. */ postWebhookEventsSubscriptionResumed(options?: RequestOptions): Promise; /** * subscription.spend.threshold_reached * * @remarks * Fired when a subscription's total metered spend crosses an alert threshold (critical, warning, or info) for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionSpendThresholdReached(options?: RequestOptions): Promise; /** * subscription.spend.threshold_recovered * * @remarks * Fired when a subscription's total metered spend falls back below all configured alert thresholds for the current billing period. Doc-only for parsing. */ postWebhookEventsSubscriptionSpendThresholdRecovered(options?: RequestOptions): Promise; /** * subscription.updated * * @remarks * Fired when a subscription is updated (e.g. quantity, billing anchor, or metadata changes). Doc-only for parsing. */ postWebhookEventsSubscriptionUpdated(options?: RequestOptions): Promise; /** * wallet.created * * @remarks * Fired when a new wallet is created. Doc-only for parsing. */ postWebhookEventsWalletCreated(options?: RequestOptions): Promise; /** * wallet.credit_balance.dropped * * @remarks * Fired when a wallet's credit balance drops below an alert threshold. Doc-only for parsing. */ postWebhookEventsWalletCreditBalanceDropped(options?: RequestOptions): Promise; /** * wallet.credit_balance.recovered * * @remarks * Fired when a wallet's credit balance recovers above an alert threshold. Doc-only for parsing. */ postWebhookEventsWalletCreditBalanceRecovered(options?: RequestOptions): Promise; /** * wallet.ongoing_balance.dropped * * @remarks * Fired when a wallet's ongoing balance drops below an alert threshold. Doc-only for parsing. */ postWebhookEventsWalletOngoingBalanceDropped(options?: RequestOptions): Promise; /** * wallet.ongoing_balance.recovered * * @remarks * Fired when a wallet's ongoing balance recovers above an alert threshold. Doc-only for parsing. */ postWebhookEventsWalletOngoingBalanceRecovered(options?: RequestOptions): Promise; /** * wallet.ongoing_balance.updated * * @remarks * Fired when a wallet's ongoing (real-time) balance changes. Doc-only for parsing. */ postWebhookEventsWalletOngoingBalanceUpdated(options?: RequestOptions): Promise; /** * wallet.terminated * * @remarks * Fired when a wallet is terminated. Doc-only for parsing. */ postWebhookEventsWalletTerminated(options?: RequestOptions): Promise; /** * wallet.transaction.created * * @remarks * Fired when a new wallet transaction is created (top-up, deduction, etc.). Doc-only for parsing. */ postWebhookEventsWalletTransactionCreated(options?: RequestOptions): Promise; /** * wallet.transaction.updated * * @remarks * Fired when an existing wallet transaction is updated (e.g. pending to completed). Doc-only for parsing. */ postWebhookEventsWalletTransactionUpdated(options?: RequestOptions): Promise; /** * wallet.updated * * @remarks * Fired when a wallet is updated. Doc-only for parsing. */ postWebhookEventsWalletUpdated(options?: RequestOptions): Promise; } //# sourceMappingURL=webhook-events.d.ts.map