import { MTableQueries } from "../../common-types/common"; import { IEmailList } from "../../schema/email/email_list"; import { controllerResponse } from "../../utilities"; type IEmailListErrorLogger = { [key in keyof MEmailList]: string; }; type IEmailListGetByIdErrorLogger = { [key in keyof MEmailListGetByIdPayload]: string; }; type IEmailListDeleteErrorLogger = { [key in keyof MEmailListDeletePayload]: string; }; type IEmailListInsertUpdateErrorLogger = { [key in keyof MEmailListInsertUpdatePayload]: string; }; type IEmailListToggleStatusErrorLogger = { [key in keyof MEmailListToggleStatusPayload]: string; }; declare class MEmailList extends MTableQueries { elst_email?: string; elst_id_evdr?: string; elst_isactive?: boolean; query?: string; constructor(init: MEmailList); Validate?(): Partial; } declare class MEmailListGetByIdPayload { elst_id?: string; _id?: string; constructor(init: MEmailListGetByIdPayload); Validate?(): Partial; } declare class MEmailListDeletePayload { elst_id?: string; _id?: string; constructor(init: MEmailListDeletePayload); Validate?(): Partial; } declare class MEmailListToggleStatusPayload { elst_id?: string; _id?: string; elst_isactive?: boolean; constructor(init: MEmailListToggleStatusPayload); Validate?(): Partial; } declare class MEmailListInsertUpdatePayload implements IEmailList { _id?: string; elst_email: string; elst_id_evdr: string; elst_sender_reciver_name: string; elst_isactive: boolean; constructor(init: Partial & { _id?: string; }); Validate?(): Partial; } interface emailListControllerResponse extends controllerResponse { data?: any[] | any | null; total?: number; totalDocument?: number; } interface emailListByIdControllerResponse extends controllerResponse { data?: any | null; } interface emailListInsertUpdateControllerResponse extends controllerResponse { data?: any | null; } interface emailListDeleteControllerResponse extends controllerResponse { data?: any | null; } interface emailListToggleStatusControllerResponse extends controllerResponse { data?: any | null; } export { MEmailList, MEmailListGetByIdPayload, MEmailListDeletePayload, MEmailListInsertUpdatePayload, MEmailListToggleStatusPayload, emailListControllerResponse, emailListByIdControllerResponse, emailListInsertUpdateControllerResponse, emailListDeleteControllerResponse, emailListToggleStatusControllerResponse };