koishi-plugin-adapter-wecom
Version:
Koishi 企业微信适配器。
44 lines (43 loc) • 923 B
TypeScript
export interface ApprovalInfo {
ThirdNo: string;
OpenSpName: string;
OpenTemplateId: string;
OpenSpStatus: string;
ApplyTime: string;
ApplyUserName: string;
ApplyUserId: string;
ApplyUserParty: string;
ApplyUserImage: string;
ApprovalNodes: ApprovalNodes;
NotifyNodes: NotifyNodes;
approverstep: string;
}
interface NotifyNodes {
NotifyNode: NotifyNode | NotifyNode[];
}
interface NotifyNode {
ItemName: string;
ItemUserId: string;
ItemImage: string;
}
interface ApprovalNodes {
ApprovalNode: ApprovalNode | ApprovalNode[];
}
interface ApprovalNode {
NodeStatus: string;
NodeAttr: string;
NodeType: string;
Items: Items;
}
interface Items {
Item: Item | Item[];
}
interface Item {
ItemName: string;
ItemUserId: string;
ItemImage: string;
ItemStatus: string;
ItemSpeech: string;
ItemOpTime: string;
}
export {};