export interface TplAuditData { type: number; value: any; oldValue: any; isRequired?: boolean; map?: any; } export interface TplAutoMatchData { name: string; content: any; contentType?: number; } export interface TplPreviewData { name: string; msgType: any; structureType?: number; sender: string; date: string; week: string; time: string; infos?: { content?: string; subject?: string; title?: string; thumb?: string; videoUrl?: string; audioUrl?: string; }[]; content?: any; cardLists?: { type?: string; title?: string; src?: string; des?: string; btnGroup?: { action: number; name: string; param: any; }[]; }[]; btnList?: { name: string; }[]; } export interface TimelineSourceData { isMo: boolean; content: string; } /** * 融合模板编辑对象 * - `ignoreAudit` 是否免审 * - `useTmplMethod` 调用方式 * - `maxTemplateLimit` 允许最大模板数 * - `id` 业务类型id * - `variableBinds` 业务类型变量 * - `templates` 模板列表 * - `applicationTypeList` 消息类型列表 * - `isDefault` 默认执行 * - `conditions` 执行条件 */ export interface TemplateEditData { [key: string]: any; ignoreAudit?: any; useTmplMethod?: any; maxTemplateLimit?: number; id?: null; variableBinds?: any[]; templates?: any[]; applicationTypeList?: any[]; isDefault?: boolean; conditions?: any[]; }