declare namespace Eps { interface BaseComm { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * personUpdate */ personUpdate(data?: any): Promise; /** * uploadMode */ uploadMode(data?: any): Promise; /** * permmenu */ permmenu(data?: any): Promise; /** * logout */ logout(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; personUpdate: string; uploadMode: string; permmenu: string; logout: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; personUpdate: boolean; uploadMode: boolean; permmenu: boolean; logout: boolean; }; } interface BaseOpen { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * refreshToken */ refreshToken(data?: any): Promise; /** * captcha */ captcha(data?: any): Promise; /** * login */ login(data?: any): Promise; /** * html */ html(data?: any): Promise; /** * eps */ eps(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; refreshToken: string; captcha: string; login: string; html: string; eps: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; refreshToken: boolean; captcha: boolean; login: boolean; html: boolean; eps: boolean; }; } interface BaseSysDepartment { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * order */ order(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; order: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; order: boolean; }; } interface BaseSysLog { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * setKeep */ setKeep(data?: any): Promise; /** * getKeep */ getKeep(data?: any): Promise; /** * clear */ clear(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; setKeep: string; getKeep: string; clear: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; setKeep: boolean; getKeep: boolean; clear: boolean; }; } interface BaseSysMenu { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface BaseSysParam { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * html */ html(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; html: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; html: boolean; }; } interface BaseSysRole { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface BaseSysUser { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * move */ move(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; move: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; move: boolean; }; } interface DemoGoods { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface DictInfo { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * data */ data(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; data: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; data: boolean; }; } interface DictType { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface SpaceInfo { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface SpaceType { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface TaskInfo { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * start */ start(data?: any): Promise; /** * once */ once(data?: any): Promise; /** * stop */ stop(data?: any): Promise; /** * log */ log(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; start: string; once: string; stop: string; log: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; start: boolean; once: boolean; stop: boolean; log: boolean; }; } interface ChatMessage { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface ChatSession { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } interface Test { /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: any[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; } type Service = { request(options: { url: string; method?: "POST" | "GET" | string; data?: any; params?: any; proxy?: boolean; [key: string]: any; }): Promise; base: { comm: BaseComm; open: BaseOpen; sys: { department: BaseSysDepartment; log: BaseSysLog; menu: BaseSysMenu; param: BaseSysParam; role: BaseSysRole; user: BaseSysUser; }; }; demo: { goods: DemoGoods }; dict: { info: DictInfo; type: DictType }; space: { info: SpaceInfo; type: SpaceType }; task: { info: TaskInfo }; chat: { message: ChatMessage; session: ChatSession }; test: Test; }; }