UNPKG

ynu-oa

Version:

a oa API Client for YNU

50 lines (48 loc) 1.2 kB
/** * 创建新成员请求参数 */ export type UserAddParams = { /** 单位ID */ orgAccountId?: string; /** 编号 */ code?: string; /** 姓名 */ name?: string; /** 部门ID */ orgDepartmentId?: string; /** 移动电话 */ telNumber?: string; /** 办公电话 */ officeNum?: string | null; /** 电子邮件 */ emailAddress?: string; /** 性别 */ gender?: string; /** 电话 */ phone?: string; // 注意:telNumber字段重复,可能是冗余或需要合并 /** 密码 */ password?: string; /** 登录名 */ loginName?: string; /** 出生日期(时间戳格式) */ birthday?: string; /** 职务ID */ orgLevelId?: string; /** 岗位ID */ orgPostId?: string; /** 副岗信息列表 */ second_post?: DeputyPosition[]; } /** * 副岗信息 */ export type DeputyPosition = { /** 需要设置 副岗人员ID(可选,根据实际情况) */ memberId?: string; /** 指定副岗所在部门ID */ deptId?: string; /** 指定副岗ID */ postId?: string; /** 单位ID */ orgAccountId?: string; }