import { Moneybird } from "./moneybird"; import { IAdministration, IContactCreate, ICustomField, ILedgerAccount, ISalesInvoiceCreate, ISalesInvoiceState, ITax, ITaxRateType, IWebhook, IWebhookCreate, IWorkflow } from "./common"; import { Contact } from "./contact"; import { HTTP } from "./httpHandler"; import { SalesInvoice } from "./salesInvoice"; type PaginatedOptions = Partial<{ page: number; per_page: number; include_archived: boolean; }>; export declare class Administration { private readonly moneybird; private readonly id; readonly data: IAdministration; constructor(moneybird: Moneybird, data: IAdministration); readonly HTTP: HTTP; contacts(params?: Partial): Promise; filterContacts(filter: Partial<{ first_name: string; last_name: string; created_after: string; updated_after: string; }>, pagination?: PaginatedOptions): Promise; getContact(id: string): Promise; getCustomer(id: string): Promise; contact(id: string): Contact; createContact(contact: Partial): Promise; salesInvoices(params?: PaginatedOptions): Promise; filterSalesInvoices(filter: Partial<{ state: "all" | ISalesInvoiceState | ISalesInvoiceState[]; period: "this_month" | "prev_month" | "next_month" | "this_quarter" | "prev_quarter" | "next_quarter" | "this_year" | "prev_year" | "next_year" | string; reference: string; contact_id: string; recurring_sales_invoice_id: string; workflow_id: string; created_after: string; updated_after: string; }>, pagination?: PaginatedOptions): Promise; getSalesInvoice(id: string): Promise; salesInvoice(id: string): SalesInvoice; createSalesInvoice(invoice: Partial): Promise; taxes(params?: PaginatedOptions): Promise; filterTaxes(filter: Partial<{ name: string; partial_name: string; percentage: number; tax_rate_type: "all" | ITaxRateType | ITaxRateType[]; country: string; show_tax: boolean; active: boolean; created_after: string; updated_after: string; }>, pagination?: PaginatedOptions): Promise; customFields(params?: PaginatedOptions): Promise; ledgerAccounts(params?: PaginatedOptions): Promise; workflows(params?: PaginatedOptions): Promise; webhooks(params?: PaginatedOptions): Promise; createWebhook(webhook: IWebhookCreate): Promise; deleteWebhook(webhook: string | IWebhook): Promise; } export {}; //# sourceMappingURL=administration.d.ts.map