import { EntityStatus } from "@etsoo/appscript"; import { DataTypes } from "@etsoo/shared"; /** * Update customer request data * 更新客户请求数据 */ export type CustomerUpdateRQ = DataTypes.EditType<{ /** * Id * 主键编号 */ id: number; /** * Is legal person (enterprise) * 是否为法人(企业) */ isLegalPerson?: boolean; /** * Name * 名称 / 姓名 */ name?: string; /** * Preferred name * 首先名 */ preferredName?: string; /** * Assigned id * 分配的编号 */ assignedId?: string; /** * Description * 描述 */ description?: string; /** * PIN * 身份编号 */ pin?: string; /** * Tax ID * 税号 */ taxId?: string; /** * Birthday * 生日 */ birthday?: Date | string; /** * Categories * 类目 */ categories?: number[]; /** * Keywords * 关键词 */ tags?: string[]; /** * Status * 状况 */ status?: EntityStatus; /** * JSON data * JSON 数据 */ data?: Record; }>;