import { KohoApiHelper } from '../index'; import { Resource } from '../resource'; export interface ContractProductProperties { id?: number; name: string; count: string; monthly: string; product_type_id: number; price?: number; period_price?: number; description?: string; term_start?: string; term_end?: string; vat?: number; cost?: number; code?: string; discount_percentage?: number; custom_parameters?: any; accounting_account_id?: number; accounting_target_id?: number; accounting_account_number?: string; accounting_target_number?: string; gross_total?: number; total_count?: number; net_total?: number; [propName: string]: any; } export interface ContractProperties { id?: number; name: string; description?: string; start_date?: string; end_date?: string; customer_id?: number; created_at?: string; updated_at?: string; billing_interval?: number; payment_term?: number; billing_day?: number; accounting_target_id?: number; billing_mode?: string; billing_offset?: number; our_reference?: string; your_reference?: string; free_text_before_lines?: string; free_text_after_lines?: string; offer_id?: number; confirmed_by_manager?: boolean; products?: ContractProductProperties[]; [propName: string]: any; } export declare class Contract extends Resource { constructor(properties: ContractProperties, helper: KohoApiHelper); _updateInterceptor(properties: Partial): void; update(properties: Partial): Promise; }