cool-admin-vue/build/cool/temp/eps.d.ts
2023-05-24 10:31:12 +08:00

1906 lines
29 KiB
TypeScript

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 DemoUserEntity {
/**
* 任意键值
*/
[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 UserAddressEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface UserInfoEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface ChatMessage {
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* uploadMode
*/
uploadMode(data?: any): Promise<any>;
/**
* permmenu
*/
permmenu(data?: any): Promise<any>;
/**
* person
*/
person(data?: any): Promise<any>;
/**
* upload
*/
upload(data?: any): Promise<any>;
/**
* logout
*/
logout(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* captcha
*/
captcha(data?: any): Promise<any>;
/**
* login
*/
login(data?: any): Promise<any>;
/**
* html
*/
html(data?: any): Promise<any>;
/**
* eps
*/
eps(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* order
*/
order(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<BaseSysDepartmentEntity[]>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysDepartmentEntity[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<BaseSysDepartmentEntity>;
/**
* 权限标识
*/
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<any>;
/**
* getKeep
*/
getKeep(data?: any): Promise<any>;
/**
* clear
*/
clear(data?: any): Promise<any>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysLogEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<BaseSysLogEntity[]>;
/**
* info
*/
info(data?: any): Promise<BaseSysLogEntity>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* parse
*/
parse(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<BaseSysMenuEntity>;
/**
* list
*/
list(data?: any): Promise<BaseSysMenuEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysMenuEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* html
*/
html(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<BaseSysParamEntity>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysParamEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<BaseSysParamEntity[]>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<BaseSysRoleEntity>;
/**
* list
*/
list(data?: any): Promise<BaseSysRoleEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysRoleEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* move
*/
move(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<BaseSysUserEntity>;
/**
* list
*/
list(data?: any): Promise<BaseSysUserEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysUserEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* data
*/
data(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<CloudDBEntity>;
/**
* list
*/
list(data?: any): Promise<CloudDBEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudDBEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<CloudFuncInfoEntity>;
/**
* list
*/
list(data?: any): Promise<CloudFuncInfoEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudFuncInfoEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<CloudFuncLogEntity>;
/**
* list
*/
list(data?: any): Promise<CloudFuncLogEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudFuncLogEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<DemoGoodsEntity>;
/**
* list
*/
list(data?: any): Promise<DemoGoodsEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DemoGoodsEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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 DemoUser {
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<DemoUserEntity>;
/**
* list
*/
list(data?: any): Promise<DemoUserEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DemoUserEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* data
*/
data(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<DictInfoEntity>;
/**
* list
*/
list(data?: any): Promise<DictInfoEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DictInfoEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<DictTypeEntity>;
/**
* list
*/
list(data?: any): Promise<DictTypeEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DictTypeEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<IotDeviceEntity>;
/**
* list
*/
list(data?: any): Promise<IotDeviceEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: IotDeviceEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<IotMessageEntity[]>;
/**
* info
*/
info(data?: any): Promise<IotMessageEntity>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* config
*/
config(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* info
*/
info(data?: any): Promise<RecycleDataEntity>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: RecycleDataEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<RecycleDataEntity[]>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<SpaceInfoEntity>;
/**
* list
*/
list(data?: any): Promise<SpaceInfoEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: SpaceInfoEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<SpaceTypeEntity>;
/**
* list
*/
list(data?: any): Promise<SpaceTypeEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: SpaceTypeEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* start
*/
start(data?: any): Promise<any>;
/**
* once
*/
once(data?: any): Promise<any>;
/**
* stop
*/
stop(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<TaskInfoEntity>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: TaskInfoEntity[];
[key: string]: any;
}>;
/**
* log
*/
log(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<TaskInfoEntity[]>;
/**
* 权限标识
*/
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"];
}
interface UserAddress {
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<UserAddressEntity>;
/**
* list
*/
list(data?: any): Promise<UserAddressEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: UserAddressEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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 UserInfo {
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<UserInfoEntity>;
/**
* list
*/
list(data?: any): Promise<UserInfoEntity[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: UserInfoEntity[];
[key: string]: any;
}>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
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"];
}
type Service = {
request(options?: {
url: string;
method?: "POST" | "GET" | string;
data?: any;
params?: any;
proxy?: boolean;
[key: string]: any;
}): Promise<any>;
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; user: DemoUser };
dict: { info: DictInfo; type: DictType };
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
recycle: { data: RecycleData };
space: { info: SpaceInfo; type: SpaceType };
task: { info: TaskInfo };
user: { address: UserAddress; info: UserInfo };
};
}