declare namespace Eps { interface BaseSysDepartmentEntity { /** * 任意键值 */ [key: string]: any; } interface BaseSysLogEntity { /** * 任意键值 */ [key: string]: any; } interface BaseSysMenuEntity { /** * 任意键值 */ [key: string]: any; } interface BaseSysParamEntity { /** * 任意键值 */ [key: string]: any; } interface BaseSysRoleEntity { /** * 任意键值 */ [key: string]: any; } interface BaseSysUserEntity { /** * 任意键值 */ [key: string]: any; } interface CloudDBEntity { /** * 任意键值 */ [key: string]: any; } interface CloudFuncInfoEntity { /** * 任意键值 */ [key: string]: any; } interface CloudFuncLogEntity { /** * 任意键值 */ [key: string]: any; } interface DemoGoodsEntity { /** * 任意键值 */ [key: string]: any; } interface DictInfoEntity { /** * 任意键值 */ [key: string]: any; } interface DictTypeEntity { /** * 任意键值 */ [key: string]: any; } interface IotDeviceEntity { /** * 任意键值 */ [key: string]: any; } interface IotMessageEntity { /** * 任意键值 */ [key: string]: any; } interface RecycleDataEntity { /** * 任意键值 */ [key: string]: any; } interface SpaceInfoEntity { /** * 任意键值 */ [key: string]: any; } interface SpaceTypeEntity { /** * 任意键值 */ [key: string]: any; } interface TaskInfoEntity { /** * 任意键值 */ [key: string]: any; } 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; }; /** * 请求 */ request: Service["request"]; } 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; }; /** * 请求 */ request: Service["request"]; } 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; }; /** * 请求 */ request: Service["request"]; } interface BaseComm { /** * personUpdate */ personUpdate(data?: any): Promise; /** * uploadMode */ uploadMode(data?: any): Promise; /** * permmenu */ permmenu(data?: any): Promise; /** * person */ person(data?: any): Promise; /** * upload */ upload(data?: any): Promise; /** * logout */ logout(data?: any): Promise; /** * 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: { personUpdate: string; uploadMode: string; permmenu: string; person: string; upload: string; logout: string; list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { personUpdate: boolean; uploadMode: boolean; permmenu: boolean; person: boolean; upload: boolean; logout: boolean; list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseOpen { /** * 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; /** * 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: { refreshToken: string; captcha: string; login: string; html: string; eps: string; list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { refreshToken: boolean; captcha: boolean; login: boolean; html: boolean; eps: boolean; list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysDepartment { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * order */ order(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysDepartmentEntity[]; [key: string]: any; }>; /** * info */ info(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; order: string; list: string; add: string; page: string; info: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; order: boolean; list: boolean; add: boolean; page: boolean; info: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysLog { /** * setKeep */ setKeep(data?: any): Promise; /** * getKeep */ getKeep(data?: any): Promise; /** * clear */ clear(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysLogEntity[]; [key: string]: any; }>; /** * list */ list(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { setKeep: string; getKeep: string; clear: string; page: string; list: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { setKeep: boolean; getKeep: boolean; clear: boolean; page: boolean; list: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysMenu { /** * create */ create(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * parse */ parse(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysMenuEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { create: string; delete: string; update: string; parse: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { create: boolean; delete: boolean; update: boolean; parse: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysParam { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * html */ html(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysParamEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; html: string; info: string; page: string; add: string; list: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; html: boolean; info: boolean; page: boolean; add: boolean; list: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysRole { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysRoleEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface BaseSysUser { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * move */ move(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: BaseSysUserEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; move: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; move: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface CloudDb { /** * initEntity */ initEntity(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * data */ data(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: CloudDBEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { initEntity: string; delete: string; update: string; data: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { initEntity: boolean; delete: boolean; update: boolean; data: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface CloudFuncInfo { /** * invoke */ invoke(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: CloudFuncInfoEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { invoke: string; delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { invoke: boolean; delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface CloudFuncLog { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: CloudFuncLogEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface DemoGoods { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: DemoGoodsEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface DictInfo { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * data */ data(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: DictInfoEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; data: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; data: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface DictType { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: DictTypeEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface IotDevice { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: IotDeviceEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface IotMessage { /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: IotMessageEntity[]; [key: string]: any; }>; /** * list */ list(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { page: string; list: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { page: boolean; list: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface IotMqtt { /** * publish */ publish(data?: any): Promise; /** * config */ config(data?: any): Promise; /** * 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: { publish: string; config: string; list: string; page: string; info: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { publish: boolean; config: boolean; list: boolean; page: boolean; info: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface RecycleData { /** * restore */ restore(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: RecycleDataEntity[]; [key: string]: any; }>; /** * list */ list(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { restore: string; info: string; page: string; list: string; update: string; delete: string; add: string; }; /** * 权限状态 */ _permission: { restore: boolean; info: boolean; page: boolean; list: boolean; update: boolean; delete: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface SpaceInfo { /** * getConfig */ getConfig(data?: any): Promise; /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: SpaceInfoEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { getConfig: string; delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { getConfig: boolean; delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface SpaceType { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: SpaceTypeEntity[]; [key: string]: any; }>; /** * add */ add(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; info: string; list: string; page: string; add: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; info: boolean; list: boolean; page: boolean; add: boolean; }; /** * 请求 */ request: Service["request"]; } interface TaskInfo { /** * delete */ delete(data?: any): Promise; /** * update */ update(data?: any): Promise; /** * start */ start(data?: any): Promise; /** * once */ once(data?: any): Promise; /** * stop */ stop(data?: any): Promise; /** * info */ info(data?: any): Promise; /** * page */ page(data?: any): Promise<{ pagination: { size: number; page: number; total: number }; list: TaskInfoEntity[]; [key: string]: any; }>; /** * log */ log(data?: any): Promise; /** * add */ add(data?: any): Promise; /** * list */ list(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; update: string; start: string; once: string; stop: string; info: string; page: string; log: string; add: string; list: string; }; /** * 权限状态 */ _permission: { delete: boolean; update: boolean; start: boolean; once: boolean; stop: boolean; info: boolean; page: boolean; log: boolean; add: boolean; list: boolean; }; /** * 请求 */ request: Service["request"]; } type Service = { request(options?: { url: string; method?: "POST" | "GET" | string; data?: any; params?: any; proxy?: boolean; [key: string]: any; }): Promise; chat: { message: ChatMessage; session: ChatSession }; test: Test; base: { comm: BaseComm; open: BaseOpen; sys: { department: BaseSysDepartment; log: BaseSysLog; menu: BaseSysMenu; param: BaseSysParam; role: BaseSysRole; user: BaseSysUser; }; }; cloud: { db: CloudDb; func: { info: CloudFuncInfo; log: CloudFuncLog } }; demo: { goods: DemoGoods }; dict: { info: DictInfo; type: DictType }; iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt }; recycle: { data: RecycleData }; space: { info: SpaceInfo; type: SpaceType }; task: { info: TaskInfo }; }; }