export declare type EntityType = 'leads' | 'contacts' | 'companies' | 'customers'; export interface IGeneral { id?: number; entity_type: EntityType; entity_id: number; created_by: number; is_need_to_trigger_digital_pipeline: boolean; request_id: string; created_at: string; } export interface ICommonNoteParams { text: string; } export interface ICallInNoteParams { uniq: string; duration: number; source: string; link: string; phone: string; call_responsible: string; } export interface ICallOutNoteParams { uniq: string; duration: number; source: string; link: string; phone: string; call_responsible: number; } export interface IServiceMessageNoteParams { service: string; text: string; } export interface IExtendedServiceMessageNoteParams { service: string; text: string; } export interface IMessageCashierNoteParams { status: string; text: string; } export interface IGeolocationNoteParams { text: string; address: string; longitude: string; latitude: string; } export interface ISmsInNoteParams { text: string; phone: string; } export interface ISmsOutNoteParams { text: string; phone: string; } export interface IAttachmentNoteParams { version_uuid: string; file_uuid: string; file_name: string; } export interface IFormNote { common?: Array; call_in?: Array; call_out?: Array; service_message?: Array; message_cashier?: Array; geolocation?: Array; sms_in?: Array; sms_out?: Array; extended_service_message?: Array; attachment?: Array; } export declare type NoteTypes = keyof IFormNote;