UNPKG

flexbase-client

Version:
17 lines (16 loc) 798 B
import { InvoiceOptions } from '../models/Invoice/InvoiceOptions.js'; import { Invoice } from '../models/Invoice/Invoice.js'; import { FlexbaseClientBase } from './FlexbaseClient.Base.js'; interface InvoiceForm { contractId: string; description: string; } export declare class FlexbaseClientInvoice extends FlexbaseClientBase { private buildParams; getInvoicesByCompany(companyId: string, options?: InvoiceOptions): Promise<Invoice[] | null>; getInvoicesByUser(userId: string, options?: InvoiceOptions): Promise<Invoice[] | null>; uploadInvoiceFile(invoiceId: string, file: any): Promise<Invoice | null>; unlinkInvoiceFile(invoiceId: string): Promise<Invoice | null>; updateInvoice(invoiceId: string, invoiceForm: InvoiceForm): Promise<Invoice | null>; } export {};