cool-admin-vue/build/cool/temp/eps.d.ts

2478 lines
36 KiB
TypeScript
Raw Normal View History

2023-03-08 15:14:43 +08:00
declare namespace Eps {
interface BaseSysDepartmentEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
* ID
*/
parentId?: BigInt;
/**
*
*/
orderNum?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface BaseSysLogEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
userId?: BigInt;
/**
*
*/
action?: string;
/**
* ip
*/
ip?: string;
/**
* ip地址
*/
ipAddr?: string;
/**
*
*/
params?: json;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface BaseSysMenuEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
parentId?: BigInt;
/**
*
*/
name?: string;
/**
*
*/
router?: string;
/**
*
*/
perms?: string;
/**
* 0- 1- 2-
*/
type?: number;
/**
*
*/
icon?: string;
/**
*
*/
orderNum?: number;
/**
*
*/
viewPath?: string;
/**
*
*/
keepAlive?: boolean;
/**
*
*/
isShow?: boolean;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface BaseSysParamEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
keyName?: string;
/**
*
*/
name?: string;
/**
*
*/
data?: string;
/**
* 0:字符串 1 2
*/
dataType?: number;
/**
*
*/
remark?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface BaseSysRoleEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
userId?: string;
/**
*
*/
name?: string;
/**
*
*/
label?: string;
/**
*
*/
remark?: string;
/**
*
*/
relevance?: number;
/**
*
*/
menuIdList?: json;
/**
*
*/
departmentIdList?: json;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface BaseSysUserEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
departmentId?: BigInt;
/**
*
*/
name?: string;
/**
*
*/
username?: string;
/**
*
*/
password?: string;
/**
* , token失效
*/
passwordV?: number;
/**
*
*/
nickName?: string;
/**
*
*/
headImg?: string;
/**
*
*/
phone?: string;
/**
*
*/
email?: string;
/**
*
*/
remark?: string;
/**
* 0:禁用 1
*/
status?: boolean;
/**
* socketId
*/
socketId?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface CloudDBEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
*
*/
readme?: string;
/**
*
*/
content?: string;
/**
*
*/
className?: string;
/**
*
*/
tableName?: string;
/**
* 0- 1-
*/
status?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface CloudFuncInfoEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
*
*/
readme?: string;
/**
*
*/
content?: string;
/**
* 0- 1-
*/
status?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface CloudFuncLogEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
infoId?: number;
/**
*
*/
request?: json;
/**
*
*/
result?: json;
/**
* 0- 1-
*/
type?: number;
/**
*
*/
error?: string;
/**
* ()
*/
time?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface DemoGoodsEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
title?: string;
/**
*
*/
price?: number;
/**
*
*/
description?: string;
/**
*
*/
mainImage?: string;
/**
*
*/
exampleImages?: json;
/**
*
*/
stock?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface DictInfoEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
typeId?: number;
/**
*
*/
name?: string;
/**
*
*/
orderNum?: number;
/**
*
*/
remark?: string;
/**
* ID
*/
parentId?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface DictTypeEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
*
*/
key?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface IotDeviceEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
icon?: string;
/**
*
*/
name?: string;
/**
* ID
*/
uniqueId?: string;
/**
* 0-线 1-线
*/
status?: boolean;
/**
* ID
*/
clientId?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface IotMessageEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
deviceId?: number;
/**
*
*/
data?: string;
/**
* 0- 1-
*/
type?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface RecycleDataEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
entityInfo?: json;
/**
*
*/
userId?: string;
/**
*
*/
data?: json;
/**
*
*/
url?: string;
/**
*
*/
params?: json;
/**
*
*/
count?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface SpaceInfoEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
url?: string;
/**
*
*/
type?: string;
/**
* ID
*/
classifyId?: BigInt;
/**
* id
*/
fileId?: string;
/**
*
*/
name?: string;
/**
*
*/
size?: number;
/**
*
*/
version?: number;
/**
*
*/
key?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface SpaceTypeEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
* ID
*/
parentId?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
interface TaskInfoEntity {
2023-03-09 12:16:15 +08:00
/**
* ID
*/
id?: number;
/**
* ID
*/
jobId?: string;
/**
*
*/
repeatConf?: string;
/**
*
*/
name?: string;
/**
* cron
*/
cron?: string;
/**
*
*/
limit?: number;
/**
* cron设置了
*/
every?: number;
/**
*
*/
remark?: string;
/**
* 0:停止 1
*/
status?: boolean;
/**
*
*/
startDate?: Date;
/**
*
*/
endDate?: Date;
/**
*
*/
data?: string;
/**
* service实例ID
*/
service?: string;
/**
* 0:系统 1
*/
type?: number;
/**
*
*/
nextRunTime?: Date;
/**
* 0:cron 1
*/
taskType?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2023-03-08 15:14:43 +08:00
/**
*
*/
[key: string]: any;
}
2023-04-03 19:02:44 +08:00
interface UserAddressEntity {
/**
* ID
*/
id?: number;
/**
* ID
*/
userId?: string;
/**
*
*/
contact?: string;
/**
*
*/
phone?: string;
/**
*
*/
province?: string;
/**
*
*/
city?: string;
/**
*
*/
district?: string;
/**
*
*/
address?: string;
/**
* 0- 1-
*/
isDefault?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
/**
*
*/
[key: string]: any;
}
2023-03-08 15:14:43 +08:00
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
personUpdate(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
uploadMode(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
permmenu(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
person(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
upload(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
* 退
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
* token
2023-03-08 15:14:43 +08:00
*/
refreshToken(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
captcha(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
login(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
html(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
order(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<BaseSysDepartmentEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
setKeep(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
getKeep(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
clear(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
create(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
parse(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<BaseSysMenuEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<BaseSysMenuEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysMenuEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
html(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<BaseSysParamEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysParamEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<BaseSysRoleEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<BaseSysRoleEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysRoleEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
move(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<BaseSysUserEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<BaseSysUserEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysUserEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
* Entity
2023-03-08 15:14:43 +08:00
*/
initEntity(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
data(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<CloudDBEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<CloudDBEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudDBEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
invoke(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<CloudFuncInfoEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<CloudFuncInfoEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudFuncInfoEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<CloudFuncLogEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<CloudFuncLogEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: CloudFuncLogEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<DemoGoodsEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<DemoGoodsEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DemoGoodsEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
data(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<DictInfoEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<DictInfoEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DictInfoEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<DictTypeEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<DictTypeEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: DictTypeEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<IotDeviceEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<IotDeviceEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: IotDeviceEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
publish(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
* MQTT配置信息
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
restore(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<RecycleDataEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
* WPS配置
2023-03-08 15:14:43 +08:00
*/
getConfig(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<SpaceInfoEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<SpaceInfoEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: SpaceInfoEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<SpaceTypeEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
list(data?: any): Promise<SpaceTypeEntity[]>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: SpaceTypeEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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 {
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
delete(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
update(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
start(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
once(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
stop(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
info(data?: any): Promise<TaskInfoEntity>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: TaskInfoEntity[];
[key: string]: any;
}>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
log(data?: any): Promise<any>;
/**
2023-03-09 12:16:15 +08:00
*
2023-03-08 15:14:43 +08:00
*/
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"];
}
2023-04-03 19:02:44 +08:00
interface UserAddress {
/**
*
*/
delete(data?: any): Promise<any>;
/**
*
*/
update(data?: any): Promise<any>;
/**
*
*/
info(data?: any): Promise<UserAddressEntity>;
/**
*
*/
list(data?: any): Promise<UserAddressEntity[]>;
/**
*
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: UserAddressEntity[];
[key: string]: any;
}>;
/**
*
*/
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"];
}
2023-03-08 15:14:43 +08:00
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 };
dict: { info: DictInfo; type: DictType };
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
recycle: { data: RecycleData };
space: { info: SpaceInfo; type: SpaceType };
task: { info: TaskInfo };
2023-04-03 19:02:44 +08:00
user: { address: UserAddress };
2023-03-08 15:14:43 +08:00
};
}