UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

138 lines 6.63 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../../schema.js'; import { ComponentAllocationChange } from '../componentAllocationChange.js'; import { CreditAccountBalanceChanged } from '../creditAccountBalanceChanged.js'; import { CustomFieldValueChange } from '../customFieldValueChange.js'; import { DunningStepReached } from '../dunningStepReached.js'; import { InvoiceIssued } from '../invoiceIssued.js'; import { ItemPricePointChanged } from '../itemPricePointChanged.js'; import { MeteredUsage } from '../meteredUsage.js'; import { PaymentCollectionMethodChanged } from '../paymentCollectionMethodChanged.js'; import { PaymentRelatedEvents } from '../paymentRelatedEvents.js'; import { PendingCancellationChange } from '../pendingCancellationChange.js'; import { PrepaidSubscriptionBalanceChanged } from '../prepaidSubscriptionBalanceChanged.js'; import { PrepaidUsage } from '../prepaidUsage.js'; import { PrepaymentAccountBalanceChanged } from '../prepaymentAccountBalanceChanged.js'; import { ProformaInvoiceIssued } from '../proformaInvoiceIssued.js'; import { RefundSuccess } from '../refundSuccess.js'; import { SubscriptionGroupSignupEventData } from '../subscriptionGroupSignupEventData.js'; import { SubscriptionProductChange } from '../subscriptionProductChange.js'; import { SubscriptionStateChange } from '../subscriptionStateChange.js'; /** This is a container type for one-of types. */ export type EventEventSpecificData = SubscriptionProductChange | SubscriptionStateChange | PaymentRelatedEvents | RefundSuccess | ComponentAllocationChange | MeteredUsage | PrepaidUsage | DunningStepReached | InvoiceIssued | PendingCancellationChange | PrepaidSubscriptionBalanceChanged | ProformaInvoiceIssued | SubscriptionGroupSignupEventData | CreditAccountBalanceChanged | PrepaymentAccountBalanceChanged | PaymentCollectionMethodChanged | ItemPricePointChanged | CustomFieldValueChange; export declare const eventEventSpecificDataSchema: Schema<EventEventSpecificData>; export declare namespace EventEventSpecificData { /** * Validation method to narrow down union type to SubscriptionProductChange type case. * * This is Subscription Product Change case. */ function isSubscriptionProductChange(value: unknown): value is SubscriptionProductChange; /** * Validation method to narrow down union type to SubscriptionStateChange type case. * * This is Subscription State Change case. */ function isSubscriptionStateChange(value: unknown): value is SubscriptionStateChange; /** * Validation method to narrow down union type to PaymentRelatedEvents type case. * * This is Payment Related Events case. */ function isPaymentRelatedEvents(value: unknown): value is PaymentRelatedEvents; /** * Validation method to narrow down union type to RefundSuccess type case. * * This is Refund Success case. */ function isRefundSuccess(value: unknown): value is RefundSuccess; /** * Validation method to narrow down union type to ComponentAllocationChange type case. * * This is Component Allocation Change case. */ function isComponentAllocationChange(value: unknown): value is ComponentAllocationChange; /** * Validation method to narrow down union type to MeteredUsage type case. * * This is Metered Usage case. */ function isMeteredUsage(value: unknown): value is MeteredUsage; /** * Validation method to narrow down union type to PrepaidUsage type case. * * This is Prepaid Usage case. */ function isPrepaidUsage(value: unknown): value is PrepaidUsage; /** * Validation method to narrow down union type to DunningStepReached type case. * * This is Dunning Step Reached case. */ function isDunningStepReached(value: unknown): value is DunningStepReached; /** * Validation method to narrow down union type to InvoiceIssued type case. * * This is Invoice Issued case. */ function isInvoiceIssued(value: unknown): value is InvoiceIssued; /** * Validation method to narrow down union type to PendingCancellationChange type case. * * This is Pending Cancellation Change case. */ function isPendingCancellationChange(value: unknown): value is PendingCancellationChange; /** * Validation method to narrow down union type to PrepaidSubscriptionBalanceChanged type case. * * This is Prepaid Subscription Balance Changed case. */ function isPrepaidSubscriptionBalanceChanged(value: unknown): value is PrepaidSubscriptionBalanceChanged; /** * Validation method to narrow down union type to ProformaInvoiceIssued type case. * * This is Proforma Invoice Issued case. */ function isProformaInvoiceIssued(value: unknown): value is ProformaInvoiceIssued; /** * Validation method to narrow down union type to SubscriptionGroupSignupEventData type case. * * This is Subscription Group Signup Event Data case. */ function isSubscriptionGroupSignupEventData(value: unknown): value is SubscriptionGroupSignupEventData; /** * Validation method to narrow down union type to CreditAccountBalanceChanged type case. * * This is Credit Account Balance Changed case. */ function isCreditAccountBalanceChanged(value: unknown): value is CreditAccountBalanceChanged; /** * Validation method to narrow down union type to PrepaymentAccountBalanceChanged type case. * * This is Prepayment Account Balance Changed case. */ function isPrepaymentAccountBalanceChanged(value: unknown): value is PrepaymentAccountBalanceChanged; /** * Validation method to narrow down union type to PaymentCollectionMethodChanged type case. * * This is Payment Collection Method Changed case. */ function isPaymentCollectionMethodChanged(value: unknown): value is PaymentCollectionMethodChanged; /** * Validation method to narrow down union type to ItemPricePointChanged type case. * * This is Item Price Point Changed case. */ function isItemPricePointChanged(value: unknown): value is ItemPricePointChanged; /** * Validation method to narrow down union type to CustomFieldValueChange type case. * * This is Custom Field Value Change case. */ function isCustomFieldValueChange(value: unknown): value is CustomFieldValueChange; } //# sourceMappingURL=eventEventSpecificData.d.ts.map