@keyiis/payroll-interface
Advanced tools
+343
-1
@@ -1030,2 +1030,6 @@ import { Options } from 'amqplib'; | ||
| /** | ||
| * 区域英文名称 | ||
| */ | ||
| ename?: string; | ||
| /** | ||
| * 层级 | ||
@@ -1384,2 +1388,16 @@ */ | ||
| /** | ||
| * 短链代码 | ||
| * 用于发送手机短信或邮件时的代码 | ||
| */ | ||
| shortCode?: string; | ||
| /** | ||
| * 工资单标题 | ||
| */ | ||
| title?: string; | ||
| /** | ||
| * 工资单生成渠道 | ||
| * {@link TEePayslipSrc} | ||
| */ | ||
| src?: TEePayslipSrc; | ||
| /** | ||
| * 员工平台用户id(系统id) | ||
@@ -1403,2 +1421,6 @@ * 由前端设置或继承 | ||
| /** | ||
| * 邮箱 | ||
| */ | ||
| email?: string; | ||
| /** | ||
| * 证件号码 | ||
@@ -1438,2 +1460,6 @@ * 用于查找员工工资数据 | ||
| /** | ||
| * 工资单生成时间 | ||
| */ | ||
| generatedAt?: number; | ||
| /** | ||
| * 工资表明细 id | ||
@@ -1454,4 +1480,44 @@ */ | ||
| data?: IEePayslipItemData[]; | ||
| /** | ||
| * 发送时间,通过微信/短信/邮件等渠道发送 | ||
| */ | ||
| sendAt?: number; | ||
| /** | ||
| * 发送结果 | ||
| */ | ||
| sendResult?: string; | ||
| /** | ||
| * 阅读时间,雇员查看工资条的时间 | ||
| */ | ||
| readAt?: number; | ||
| /** | ||
| * 签收时间,当签收方式为签字确认或一键确认时有值 | ||
| */ | ||
| signAt?: number; | ||
| /** | ||
| * 签名图片的url | ||
| */ | ||
| signImgUrl?: string; | ||
| /** | ||
| * 反馈内容 | ||
| */ | ||
| feedback?: string; | ||
| /** | ||
| * 雇员查看工资单时的校验失败次数 | ||
| */ | ||
| verifyFailedTimes?: number; | ||
| /** | ||
| * 是否锁定 | ||
| */ | ||
| locked?: boolean; | ||
| /** | ||
| * 当月发布配置 | ||
| */ | ||
| publishConfig?: any; | ||
| } | ||
| /** | ||
| * 工资条生成渠道 gzg:工资哥 gzt:工资条 hrone:Hrone | ||
| */ | ||
| declare type TEePayslipSrc = 'gzg' | 'gzt' | 'hrone'; | ||
| /** | ||
| * 雇员工资单的工资项目数据 | ||
@@ -1559,2 +1625,66 @@ */ | ||
| /** | ||
| * 雇主花名册 | ||
| */ | ||
| interface IErRoster extends ICommonFields { | ||
| id?: number; | ||
| /** | ||
| * 雇主id | ||
| */ | ||
| employerId?: number; | ||
| /** | ||
| * 系统工号 | ||
| * 自动生成 | ||
| */ | ||
| sysEmpNo?: string; | ||
| /** | ||
| * 工号 | ||
| * 用户录入 | ||
| */ | ||
| empNo?: string; | ||
| /** | ||
| * 员工平台账号 | ||
| */ | ||
| accountNo?: string; | ||
| /** | ||
| * 手机号码 | ||
| */ | ||
| phone?: string; | ||
| /** | ||
| * 证件类型 | ||
| */ | ||
| certType?: string; | ||
| /** | ||
| * 证件号码 | ||
| */ | ||
| certNo?: string; | ||
| /** | ||
| * 证件上的姓名 | ||
| */ | ||
| certName?: string; | ||
| /** | ||
| * 其它信息 | ||
| */ | ||
| otherInfo?: IErRosterOtherInfo; | ||
| } | ||
| /** | ||
| * 员工花名册其它信息 | ||
| */ | ||
| interface IErRosterOtherInfo { | ||
| /** | ||
| * 社保政策 | ||
| */ | ||
| socialPolicy?: any; | ||
| /** | ||
| * 公积金政策 | ||
| */ | ||
| fundPolicy?: any; | ||
| } | ||
| /** | ||
| * 花名册查询条件 | ||
| */ | ||
| interface IQueryErRosterWhereOptions { | ||
| employerId?: number; | ||
| } | ||
| /** | ||
| * 雇主系统工号 | ||
@@ -1787,2 +1917,6 @@ */ | ||
| /** | ||
| * 工资条生成渠道 | ||
| */ | ||
| src?: TEePayslipSrc; | ||
| /** | ||
| * 雇主id | ||
@@ -1928,2 +2062,6 @@ */ | ||
| /** | ||
| * 描述 | ||
| */ | ||
| desc?: string; | ||
| /** | ||
| * 内容 | ||
@@ -1951,2 +2089,206 @@ */ | ||
| /** | ||
| * 工资表员工记录 | ||
| */ | ||
| interface IGztPayrollEntry { | ||
| id?: string; | ||
| /** | ||
| * Payroll id | ||
| */ | ||
| payrollId?: string; | ||
| /** | ||
| * 所属Payroll | ||
| */ | ||
| payroll?: IGztPayroll; | ||
| /** | ||
| * 显示顺序 | ||
| */ | ||
| order?: number; | ||
| /** | ||
| * 系统内置工号 | ||
| */ | ||
| sysEmpNo?: string; | ||
| /** | ||
| * 姓名 | ||
| * 用于查找员工工资数据 | ||
| */ | ||
| name?: string; | ||
| /** | ||
| * 手机号码 | ||
| * 用于查找员工工资数据 | ||
| */ | ||
| phone?: string; | ||
| /** | ||
| * 邮箱 | ||
| * 用于发送工资单 | ||
| */ | ||
| email?: string; | ||
| /** | ||
| * 实发工资 | ||
| * 用于统计分析 | ||
| */ | ||
| pay?: number; | ||
| /** | ||
| * 薪资数据 | ||
| * key:项目id | ||
| */ | ||
| data?: IGztPayrollEntryData; | ||
| /** | ||
| * 关联的payslip,只在获取列表时使用 | ||
| */ | ||
| payslip?: IEePayslip; | ||
| } | ||
| /** | ||
| // * 工资条-工资表分录中记录的工资单状态 0:未生成 1:已生成 2:已发送 3:已读 4:已签收 5:已撤回 | ||
| // */ | ||
| /** | ||
| * 工资表分录详情数据 | ||
| */ | ||
| interface IGztPayrollEntryData { | ||
| /** | ||
| * 工资项名称 | ||
| */ | ||
| [field: string]: any; | ||
| } | ||
| /** | ||
| * 工资条产品用户上传的工资表 | ||
| */ | ||
| interface IGztPayroll extends ICommonFields { | ||
| id?: string; | ||
| /** | ||
| * 工资表标题 | ||
| */ | ||
| title?: string; | ||
| /** | ||
| * 发薪类型 | ||
| * {@link TGztWageType} | ||
| */ | ||
| wageType?: TGztWageType; | ||
| /** | ||
| * 表头 | ||
| */ | ||
| tpl?: string[]; | ||
| /** | ||
| * 雇主id | ||
| */ | ||
| employerId?: number; | ||
| /** | ||
| * 雇主编码 | ||
| */ | ||
| employerCode?: string; | ||
| /** | ||
| * 雇主名称 | ||
| */ | ||
| employerName?: string; | ||
| /** | ||
| * 工资表的发薪人数(新建或保存时设置) | ||
| */ | ||
| eeCount?: number; | ||
| /** | ||
| * 期间,例如:202301 | ||
| */ | ||
| period?: number; | ||
| /** | ||
| * 雇员薪酬列表 | ||
| */ | ||
| entries?: IGztPayrollEntry[]; | ||
| /** | ||
| * 软删除的时间 | ||
| * 有过确认记录的工资表不可以被硬删除,只能软删除 | ||
| */ | ||
| deletedAt?: number; | ||
| /** | ||
| * 计划发布时间 | ||
| */ | ||
| scheduledAt?: number; | ||
| /** | ||
| * 计划的id | ||
| */ | ||
| scheduledId?: string; | ||
| /** | ||
| * 发布工资单的时间 | ||
| */ | ||
| publishPsAt?: number; | ||
| /** | ||
| * 公告 | ||
| */ | ||
| notice?: string; | ||
| /** | ||
| * 当月发布配置 | ||
| */ | ||
| publishConfig?: IGztPayrollPublishConfig; | ||
| } | ||
| /** | ||
| * 发薪类型 1:薪资 2:奖金 3:补贴 4:报销 5:薪资补发 | ||
| */ | ||
| declare type TGztWageType = 1 | 2 | 3 | 4 | 5; | ||
| /** | ||
| * 工资表发布设置 | ||
| */ | ||
| interface IGztPayrollPublishConfig { | ||
| /** | ||
| * 不显示空项 | ||
| */ | ||
| hideNull?: boolean; | ||
| /** | ||
| * 不显示为0项 | ||
| */ | ||
| hideZero?: boolean; | ||
| /** | ||
| * 阅后即焚 | ||
| */ | ||
| destoryAfterRead?: boolean; | ||
| /** | ||
| * 显示公告 | ||
| */ | ||
| showNotice?: boolean; | ||
| /** | ||
| * 签收方式 | ||
| * sign 签字确认 | ||
| * oneClick 一键确认 | ||
| */ | ||
| recieveType?: 'sign' | 'oneClick'; | ||
| /** | ||
| * 发送类型 | ||
| */ | ||
| sendType?: 'wechat' | 'sms' | 'email'; | ||
| } | ||
| /** | ||
| * 工资条产品工资表查询参数 | ||
| */ | ||
| interface IGztPayrollQueryOptions { | ||
| /** | ||
| * 雇主id | ||
| */ | ||
| employerId?: number; | ||
| /** | ||
| * 是否已发布过 | ||
| */ | ||
| isPublished?: boolean; | ||
| } | ||
| /** | ||
| * 工资条-工资表分录查询条件 | ||
| */ | ||
| interface IGztPayrollEntryQueryOptions { | ||
| /** | ||
| * 工资表id | ||
| */ | ||
| payrollId?: string; | ||
| /** | ||
| * 是否已读 | ||
| */ | ||
| isRead?: boolean; | ||
| /** | ||
| * 是否已签收 | ||
| */ | ||
| isSign?: boolean; | ||
| /** | ||
| * 是否有反馈 | ||
| */ | ||
| isFeedback?: boolean; | ||
| } | ||
| /** | ||
| * 服务器api接口接口返回的结果 | ||
@@ -1974,2 +2316,2 @@ */ | ||
| export { ApiResponse, CalItemType, IArticle, IClientUser, ICommonEnv, ICommonFields, ICreatePayrollOptions, IDistrict, IEePayslip, IEePayslipItemData, IEmpInfoMap, IEmpInfoMapConfig, IErConfig, IErConfigDetail, IErItemConfig, IErItemFormula, IErPayroll, IErPayrollConfigDetail, IErPayrollConfirmRecoder, IErPayrollConfirmRecoderStatistics, IErPayrollEntry, IErPayrollEntryConfig, IErPayrollEntryData, IErPayrollEntryDiff, IErPayrollEntryItemData, IErPayrollEntryRemoved, IErPayrollScheduleMsgBody, IErPayrollTpl, IErPayrollTplItem, IErPayrollTplItemConfig, IErSysEmpNo, IInformalLocalPolicy, IInformalLocalPolicyLog, IItem, IItemCat, IItemConfig, IItemConfigByDate, IItemConfigByFormula, IItemConfigByNumber, IItemConfigBySelect, IItemConfigByString, IItemConfigUserInput, IItemFormulaExpression, IItemGroup, IItemGroupItemConfig, IItemTypeCommon, IItemUserInputTypeConfig, ILocalPolicy, ILocalPolicyCommon, IPageQueryOptions, IPayrollListWhereOptions, IPayrollTpl, IPayrollTplItemConfig, IPayslipTpl, IPolicyConfig, IPolicyErrorStatistics, IPolicyNullStatistics, IQueryErFormulaOptions, IQueryErItemsWhereOptions, IQueryFormalLocalPolicy, IQueryInFormalLocalPolicy, IQueryItemGroupWhereOptions, IQueryItemsWhereOptions, IQueryOptions, IQueryPayrollEntryDiffOptions, IQueryPayrollEntryOptions, IQueryPayslipOptions, IQueryPolicy, IQueryResults, IQueryTaxPolicy, IRabbitMqExchange, IRabbitMqQueue, IRabbitmqEnvConfig, ISchedule, IScheduleAction, IScheduleRule, IScheduleType, ITaxPolicy, ITaxPolicyData, IValueFormula, TInheritValue, TPayrollStatus, TZygzxValue }; | ||
| export { ApiResponse, CalItemType, IArticle, IClientUser, ICommonEnv, ICommonFields, ICreatePayrollOptions, IDistrict, IEePayslip, IEePayslipItemData, IEmpInfoMap, IEmpInfoMapConfig, IErConfig, IErConfigDetail, IErItemConfig, IErItemFormula, IErPayroll, IErPayrollConfigDetail, IErPayrollConfirmRecoder, IErPayrollConfirmRecoderStatistics, IErPayrollEntry, IErPayrollEntryConfig, IErPayrollEntryData, IErPayrollEntryDiff, IErPayrollEntryItemData, IErPayrollEntryRemoved, IErPayrollScheduleMsgBody, IErPayrollTpl, IErPayrollTplItem, IErPayrollTplItemConfig, IErRoster, IErRosterOtherInfo, IErSysEmpNo, IGztPayroll, IGztPayrollEntry, IGztPayrollEntryData, IGztPayrollEntryQueryOptions, IGztPayrollPublishConfig, IGztPayrollQueryOptions, IInformalLocalPolicy, IInformalLocalPolicyLog, IItem, IItemCat, IItemConfig, IItemConfigByDate, IItemConfigByFormula, IItemConfigByNumber, IItemConfigBySelect, IItemConfigByString, IItemConfigUserInput, IItemFormulaExpression, IItemGroup, IItemGroupItemConfig, IItemTypeCommon, IItemUserInputTypeConfig, ILocalPolicy, ILocalPolicyCommon, IPageQueryOptions, IPayrollListWhereOptions, IPayrollTpl, IPayrollTplItemConfig, IPayslipTpl, IPolicyConfig, IPolicyErrorStatistics, IPolicyNullStatistics, IQueryErFormulaOptions, IQueryErItemsWhereOptions, IQueryErRosterWhereOptions, IQueryFormalLocalPolicy, IQueryInFormalLocalPolicy, IQueryItemGroupWhereOptions, IQueryItemsWhereOptions, IQueryOptions, IQueryPayrollEntryDiffOptions, IQueryPayrollEntryOptions, IQueryPayslipOptions, IQueryPolicy, IQueryResults, IQueryTaxPolicy, IRabbitMqExchange, IRabbitMqQueue, IRabbitmqEnvConfig, ISchedule, IScheduleAction, IScheduleRule, IScheduleType, ITaxPolicy, ITaxPolicyData, IValueFormula, TEePayslipSrc, TGztWageType, TInheritValue, TPayrollStatus, TZygzxValue }; |
+1
-1
| { | ||
| "name": "@keyiis/payroll-interface", | ||
| "version": "0.0.19", | ||
| "version": "0.0.20", | ||
| "description": "server interface", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
44237
16.17%2268
17.51%