/// import { KohoApiHelper } from '../index'; import { Resource } from '../resource'; import { PersonProperties } from './person.resource'; import { Invoice } from "./invoice.resource"; import { EmployeeProperties } from './employee.resource'; import { CustomerFinancialStatement } from './customer-financial-statement.resource'; export interface CustomerProperties { id?: number; company_id?: number; name: string; description?: string; number?: number; code?: string; organization_id?: string; customer_category_id?: number; archived?: boolean; invoice_name?: string; address?: string; zip_code?: string; city?: string; region?: string; country?: string; delivery_name?: string; delivery_address?: string; delivery_zip_code?: string; delivery_city?: string; delivery_country?: string; website?: string; phone?: string; email?: string; created_at?: string; updated_at?: string; ovt_identifier?: string; electronic_invoicing_intermediary?: string; default_invoice_delivery_method?: string; default_invoice_template_id?: number; web_invoice_address?: string; delivery_region?: string; address_extra?: string; delivery_address_extra?: string; accounting_software_delivery_method?: string; invoice_language?: string; default_our_reference?: string; default_your_reference?: string; custom_parameters?: any; persons?: PersonProperties[]; employees?: EmployeeProperties[]; group_ids?: number[]; archived_at?: string; zero_vat?: boolean; posting_group?: string; block_sessions?: boolean; marketing_ban?: boolean; [propName: string]: any; } export declare class Customer extends Resource { constructor(properties: Customer, helper: KohoApiHelper); _updateInterceptor(properties: Partial): void; archive(): Promise; activate(): Promise; getInvoices(): Promise; update(properties: Partial): Promise; addNotification(message: string): Promise; addFile(folderId: number, name: string, fileBuffer: Buffer, fileMetadata: { filename: string; contentType: string; }, description?: string): Promise; addFinancialStatement(financialStatement: Partial): Promise; }