update AIChart, customer followup, media selector
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
import type { Attachment, Model, User } from "timi-web-api";
|
||||
import type { Customer } from "@/types/Customer";
|
||||
|
||||
/** 客户跟进提醒业务状态。 */
|
||||
export type FollowUpReminderStatus = "PENDING" | "COMPLETED";
|
||||
|
||||
/** 客户跟进提醒通知方式。 */
|
||||
export type FollowUpReminderNotifyChannel = "INTERNAL" | "SMS";
|
||||
|
||||
/** 跟进提醒附件请求项。 */
|
||||
export type FollowUpReminderAttachment = Partial<Attachment> & {
|
||||
name?: string;
|
||||
title?: string;
|
||||
};
|
||||
|
||||
/** 客户跟进提醒。 */
|
||||
export type FollowUpReminder = {
|
||||
storeId?: string;
|
||||
customerId?: string;
|
||||
responsibleUserId?: string;
|
||||
content?: string;
|
||||
remindAt?: number;
|
||||
status?: FollowUpReminderStatus;
|
||||
internalNotifyEnabled?: boolean;
|
||||
smsNotifyEnabled?: boolean;
|
||||
internalNotifyDetailId?: string;
|
||||
smsNotifyDetailId?: string;
|
||||
completedBy?: string;
|
||||
completedAt?: number;
|
||||
createdBy?: string;
|
||||
updatedBy?: string;
|
||||
notifyChannelList?: FollowUpReminderNotifyChannel[];
|
||||
customer?: Customer;
|
||||
responsibleUser?: Partial<User>;
|
||||
attachmentList?: FollowUpReminderAttachment[];
|
||||
} & Model;
|
||||
|
||||
/** 客户跟进提醒列表查询参数。 */
|
||||
export type FollowUpReminderPage = {
|
||||
index: number;
|
||||
size: number;
|
||||
storeId?: string;
|
||||
customerId?: string;
|
||||
responsibleUserId?: string;
|
||||
status?: FollowUpReminderStatus;
|
||||
beginRemindAt?: number;
|
||||
endRemindAt?: number;
|
||||
};
|
||||
|
||||
/** 客户跟进提醒创建或修改请求。 */
|
||||
export type FollowUpReminderPayload = {
|
||||
id?: string;
|
||||
storeId?: string;
|
||||
customerId: string;
|
||||
responsibleUserId: string;
|
||||
content: string;
|
||||
remindAt: number;
|
||||
notifyChannelList: FollowUpReminderNotifyChannel[];
|
||||
attachmentList: FollowUpReminderAttachment[];
|
||||
};
|
||||
Reference in New Issue
Block a user