@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.
117 lines • 5.31 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../../schema';
import { ApplyCreditNoteEvent } from '../applyCreditNoteEvent';
import { ApplyDebitNoteEvent } from '../applyDebitNoteEvent';
import { ApplyPaymentEvent } from '../applyPaymentEvent';
import { BackportInvoiceEvent } from '../backportInvoiceEvent';
import { ChangeChargebackStatusEvent } from '../changeChargebackStatusEvent';
import { ChangeInvoiceCollectionMethodEvent } from '../changeInvoiceCollectionMethodEvent';
import { ChangeInvoiceStatusEvent } from '../changeInvoiceStatusEvent';
import { CreateCreditNoteEvent } from '../createCreditNoteEvent';
import { CreateDebitNoteEvent } from '../createDebitNoteEvent';
import { FailedPaymentEvent } from '../failedPaymentEvent';
import { IssueInvoiceEvent } from '../issueInvoiceEvent';
import { RefundInvoiceEvent } from '../refundInvoiceEvent';
import { RemovePaymentEvent } from '../removePaymentEvent';
import { VoidInvoiceEvent } from '../voidInvoiceEvent';
import { VoidRemainderEvent } from '../voidRemainderEvent';
/** This is a container type for any-of types. */
export type InvoiceEvent = ApplyCreditNoteEvent | ApplyDebitNoteEvent | ApplyPaymentEvent | BackportInvoiceEvent | ChangeChargebackStatusEvent | ChangeInvoiceCollectionMethodEvent | ChangeInvoiceStatusEvent | CreateCreditNoteEvent | CreateDebitNoteEvent | FailedPaymentEvent | IssueInvoiceEvent | RefundInvoiceEvent | RemovePaymentEvent | VoidInvoiceEvent | VoidRemainderEvent;
export declare const invoiceEventSchema: Schema<InvoiceEvent>;
export declare namespace InvoiceEvent {
/**
* Validation method to narrow down union type to ApplyCreditNoteEvent type case.
*
* This is Apply Credit Note Event case.
*/
function isApplyCreditNoteEvent(value: unknown): value is ApplyCreditNoteEvent;
/**
* Validation method to narrow down union type to ApplyDebitNoteEvent type case.
*
* This is Apply Debit Note Event case.
*/
function isApplyDebitNoteEvent(value: unknown): value is ApplyDebitNoteEvent;
/**
* Validation method to narrow down union type to ApplyPaymentEvent type case.
*
* This is Apply Payment Event case.
*/
function isApplyPaymentEvent(value: unknown): value is ApplyPaymentEvent;
/**
* Validation method to narrow down union type to BackportInvoiceEvent type case.
*
* This is Backport Invoice Event case.
*/
function isBackportInvoiceEvent(value: unknown): value is BackportInvoiceEvent;
/**
* Validation method to narrow down union type to ChangeChargebackStatusEvent type case.
*
* This is Change Chargeback Status Event case.
*/
function isChangeChargebackStatusEvent(value: unknown): value is ChangeChargebackStatusEvent;
/**
* Validation method to narrow down union type to ChangeInvoiceCollectionMethodEvent type case.
*
* This is Change Invoice Collection Method Event case.
*/
function isChangeInvoiceCollectionMethodEvent(value: unknown): value is ChangeInvoiceCollectionMethodEvent;
/**
* Validation method to narrow down union type to ChangeInvoiceStatusEvent type case.
*
* This is Change Invoice Status Event case.
*/
function isChangeInvoiceStatusEvent(value: unknown): value is ChangeInvoiceStatusEvent;
/**
* Validation method to narrow down union type to CreateCreditNoteEvent type case.
*
* This is Create Credit Note Event case.
*/
function isCreateCreditNoteEvent(value: unknown): value is CreateCreditNoteEvent;
/**
* Validation method to narrow down union type to CreateDebitNoteEvent type case.
*
* This is Create Debit Note Event case.
*/
function isCreateDebitNoteEvent(value: unknown): value is CreateDebitNoteEvent;
/**
* Validation method to narrow down union type to FailedPaymentEvent type case.
*
* This is Failed Payment Event case.
*/
function isFailedPaymentEvent(value: unknown): value is FailedPaymentEvent;
/**
* Validation method to narrow down union type to IssueInvoiceEvent type case.
*
* This is Issue Invoice Event case.
*/
function isIssueInvoiceEvent(value: unknown): value is IssueInvoiceEvent;
/**
* Validation method to narrow down union type to RefundInvoiceEvent type case.
*
* This is Refund Invoice Event case.
*/
function isRefundInvoiceEvent(value: unknown): value is RefundInvoiceEvent;
/**
* Validation method to narrow down union type to RemovePaymentEvent type case.
*
* This is Remove Payment Event case.
*/
function isRemovePaymentEvent(value: unknown): value is RemovePaymentEvent;
/**
* Validation method to narrow down union type to VoidInvoiceEvent type case.
*
* This is Void Invoice Event case.
*/
function isVoidInvoiceEvent(value: unknown): value is VoidInvoiceEvent;
/**
* Validation method to narrow down union type to VoidRemainderEvent type case.
*
* This is Void Remainder Event case.
*/
function isVoidRemainderEvent(value: unknown): value is VoidRemainderEvent;
}
//# sourceMappingURL=invoiceEvent.d.ts.map