71 lines
1.3 KiB
TypeScript
71 lines
1.3 KiB
TypeScript
//联系人标签分组
|
|
export interface ContactGroupByLabel {
|
|
id: number;
|
|
accountId?: number;
|
|
groupName: string;
|
|
tenantId?: number;
|
|
count: number;
|
|
[key: string]: any;
|
|
}
|
|
//群聊数据接口
|
|
export interface weChatGroup {
|
|
id?: number;
|
|
wechatAccountId: number;
|
|
tenantId: number;
|
|
accountId: number;
|
|
chatroomId: string;
|
|
chatroomOwner: string;
|
|
conRemark: string;
|
|
nickname: string;
|
|
chatroomAvatar: string;
|
|
groupId: number;
|
|
config?: {
|
|
top?: false;
|
|
chat?: boolean;
|
|
unreadCount?: number;
|
|
};
|
|
labels?: string[];
|
|
notice: string;
|
|
selfDisplyName: string;
|
|
wechatChatroomId: number;
|
|
serverId?: number;
|
|
[key: string]: any;
|
|
}
|
|
|
|
// 联系人数据接口
|
|
export interface ContractData {
|
|
id?: number;
|
|
serverId?: number;
|
|
wechatAccountId: number;
|
|
wechatId: string;
|
|
alias: string;
|
|
conRemark: string;
|
|
nickname: string;
|
|
quanPin: string;
|
|
avatar?: string;
|
|
gender: number;
|
|
region: string;
|
|
addFrom: number;
|
|
phone: string;
|
|
labels: string[];
|
|
signature: string;
|
|
accountId: number;
|
|
extendFields: null;
|
|
city?: string;
|
|
lastUpdateTime: string;
|
|
isPassed: boolean;
|
|
tenantId: number;
|
|
groupId: number;
|
|
thirdParty: null;
|
|
additionalPicture: string;
|
|
desc: string;
|
|
config?: {
|
|
chat?: boolean;
|
|
unreadCount: number;
|
|
};
|
|
lastMessageTime: number;
|
|
|
|
duplicate: boolean;
|
|
[key: string]: any;
|
|
}
|