@wepublish/api
Version:
API core for we.publish.
24 lines (23 loc) • 832 B
TypeScript
import { InvoicesStatic } from 'bexio';
declare class InvoiceNotFoundError extends Error {
constructor(invoice: any);
}
declare class SendingInvoiceError extends Error {
constructor(sentInvoice: InvoicesStatic.InvoiceSentAnswer);
}
declare class UnknownIntentState extends Error {
constructor(message?: string);
}
declare class WebhookNotImplementedError extends Error {
constructor(message?: string);
}
declare class ResponseNOK extends Error {
constructor(status: number);
}
declare class NoSubscriptionIdInInvoice extends Error {
constructor(message?: string);
}
declare class PaymentNotFound extends Error {
constructor(message?: string);
}
export { InvoiceNotFoundError, WebhookNotImplementedError, SendingInvoiceError, UnknownIntentState, ResponseNOK, NoSubscriptionIdInInvoice, PaymentNotFound };