| | |
| | | withChildren?: boolean; |
| | | } |
| | | |
| | | interface APIgetEnabledElectronSignSettingsParams { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseElectronSignSettingParams { |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseEmployeeElectronSignParams { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | code?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseEmployeeParams { |
| | |
| | | url?: string; |
| | | } |
| | | |
| | | interface APIgetLicenseOcrParams { |
| | | /** 通道 */ |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface APIgetMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | interface APIgetPersonalLoginInfoParams { |
| | | /** 查询个人用户登录信息 */ |
| | | request?: GetPersonalLoginInfoQuery; |
| | | } |
| | | |
| | | interface APIgetPersonalUserRealResultParams { |
| | | /** 查询个人实名结果 */ |
| | | request?: GetPersonalUserRealResultQuery; |
| | | } |
| | | |
| | | interface APIgetResourceFieldsParams { |
| | |
| | | mainBusiness?: string; |
| | | } |
| | | |
| | | interface BaiduOcrIdentityBackResultModel { |
| | | /** 失效日期 */ |
| | | expiryDate?: string; |
| | | /** 签发机关 */ |
| | | issueAuthority?: string; |
| | | /** 签发日期 */ |
| | | issueDate?: string; |
| | | } |
| | | |
| | | interface BaiduOcrIdentityFrontResultModel { |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | gender?: EnumUserGender; |
| | | /** 生日 */ |
| | | birthday?: string; |
| | | /** 民族 */ |
| | | nation?: string; |
| | | /** 住址 */ |
| | | address?: string; |
| | | } |
| | | |
| | | interface BindWxmpUserInfoCommand { |
| | | /** 访问令牌 */ |
| | | accessToken: string; |
| | |
| | | phoneNumber: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface CheckElectronSignAccessEnabledsCommand { |
| | | /** 通道 */ |
| | | accesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | type CheckHealthQuery = Record<string, any>; |
| | |
| | | Face = 30, |
| | | } |
| | | |
| | | enum EnumPersonalUserRealStatus { |
| | | /**未实名 */ |
| | | UnReal = 0, |
| | | /**校验中 */ |
| | | Checking = 10, |
| | | /**实名失败 */ |
| | | Fail = 99, |
| | | /**已实名 */ |
| | | Real = 100, |
| | | } |
| | | |
| | | enum EnumRealAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | |
| | | Pass = 20, |
| | | /**已拒签 */ |
| | | Refuse = 30, |
| | | /**生效中 */ |
| | | Effect = 40, |
| | | /**已终止 */ |
| | | Stop = 50, |
| | | } |
| | | |
| | | enum EnumTaskUserSubmitCheckReceiveStatus { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeElectronSignQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeeElectronSignQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeElectronSignsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeeElectronSignsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetExceptionLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetIdentityBackOcrCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetIdentityBackOcrCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetIdentityFrontOcrCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetIdentityFrontOcrCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserRealResultQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserRealResultQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetAreaSelectQueryResultOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetEnabledElectronSignSettingsQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetEnabledElectronSignSettingsQueryResultItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | name?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | /** 小程序码 */ |
| | | wxmpQrCode?: string; |
| | | /** 制版模板照片 */ |
| | | templateEditData?: string; |
| | | /** 制版变量JSON */ |
| | | templateJsonData?: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: GetContractTemplateQueryResultValue[]; |
| | | /** 创建操作人 */ |
| | | createdUserId?: string; |
| | | /** 是否企业用户创建 */ |
| | | isEnterpriseUserCreated?: boolean; |
| | | } |
| | | |
| | | interface GetContractTemplateQueryResultValue { |
| | |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | interface GetEnabledElectronSignSettingsQueryResultItem { |
| | | access?: EnumElectronSignAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQuery { |
| | | /** 模板Id */ |
| | | id?: string; |
| | |
| | | code?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | /** 小程序码 */ |
| | | wxmpQrCode?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | /** 制版时间 */ |
| | | completedTime?: string; |
| | |
| | | interface GetEnterpriseElectronSignSettingQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignQueryResult { |
| | | /** 合同编号 */ |
| | | contractCode?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 签约方信息-员工-姓名 */ |
| | | name?: string; |
| | | /** 签约方信息-员工-证件类型 */ |
| | | identityType?: string; |
| | | /** 签约方信息-员工-证件号码 */ |
| | | identity?: string; |
| | | /** 签约方信息-员工-签约时间 */ |
| | | userSignContractTime?: string; |
| | | /** 签约方信息-公司主体-主体类型 */ |
| | | enterpriseType?: string; |
| | | /** 签约方信息-公司主体-签约主体 */ |
| | | enterpriseName?: string; |
| | | /** 签约方信息-公司主体-签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 协议内容 */ |
| | | contractUrl?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQuery { |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseEmployeeElectronSignsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQueryResultItem { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeQueryResult { |
| | |
| | | createdUser?: GetResourceLogsQueryResultItemCreatedUser; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | | interface GetIdentityBackOcrCommand { |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface GetIdentityBackOcrCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | model?: BaiduOcrIdentityBackResultModel; |
| | | } |
| | | |
| | | interface GetIdentityFrontOcrCommand { |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface GetIdentityFrontOcrCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | model?: BaiduOcrIdentityFrontResultModel; |
| | | } |
| | | |
| | | interface GetLicenseOcrCommand { |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface GetLicenseOcrCommandResult { |
| | |
| | | hireTime?: string; |
| | | /** 最近签约时间 */ |
| | | signContractTime?: string; |
| | | } |
| | | |
| | | type GetPersonalUserRealResultQuery = Record<string, any>; |
| | | |
| | | interface GetPersonalUserRealResultQueryResult { |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | /** 实名时间 */ |
| | | realTime?: string; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | phoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | gender?: EnumUserGender; |
| | | /** 生日 */ |
| | | birthday?: string; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 银行卡号 */ |
| | | bankCard?: string; |
| | | /** 银行卡照片 */ |
| | | bankCardImg?: string; |
| | | realAccess?: EnumRealAccess; |
| | | realStatus?: EnumPersonalUserRealStatus; |
| | | /** 实名失败消息 */ |
| | | realFailMessage?: string; |
| | | /** 人脸实名认证地址 */ |
| | | faceRealUrl?: string; |
| | | } |
| | | |
| | | interface GetResourceFieldsQueryResultItem { |
| | |
| | | name: string; |
| | | /** 模板 */ |
| | | file: string; |
| | | /** 制版模板照片 */ |
| | | templateEditData?: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: SaveContractTemplateCommandValue[]; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommandValue { |
| | | interface SaveContractTemplateValuesCommand { |
| | | /** 模板Id */ |
| | | id: string; |
| | | /** 制版变量JSON */ |
| | | templateJsonData?: string; |
| | | /** 变量 */ |
| | | values: SaveContractTemplateValuesCommandItem[]; |
| | | } |
| | | |
| | | interface SaveContractTemplateValuesCommandItem { |
| | | /** Id */ |
| | | id?: string; |
| | | type?: EnumContractTemplateValueType; |
| | |
| | | interface SetEnterpriseElectronSignSettingCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | interface SetEnterpriseSmsSettingCommand { |
| | |
| | | files?: string[]; |
| | | } |
| | | |
| | | interface SyncElectronSignSettingsCommand { |
| | | /** 项 */ |
| | | items?: SyncElectronSignSettingsCommandItem[]; |
| | | } |
| | | |
| | | interface SyncElectronSignSettingsCommandItem { |
| | | access?: EnumElectronSignAccess; |
| | | /** 是否禁用 */ |
| | | isDisabled?: boolean; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface SyncEnterpriseUserCommand { |
| | | dataSource?: EnumDataSource; |
| | | /** 数据来源Id */ |
| | |
| | | bankCard?: string; |
| | | /** 是否已校验银行账户 */ |
| | | isCheckedBankCard?: boolean; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth; |
| | |
| | | interface SyncEnterpriseUserCommandEnterpriseAuth { |
| | | enterpriseRealMethod?: EnumEnterpriseRealMethod; |
| | | personalRealMethod?: EnumPersonalRealMethod; |
| | | /** 法人姓名 */ |
| | | legalPerson?: string; |
| | | /** 法人身份证号 */ |
| | | legalIdentity?: string; |
| | | /** 法人或经办人姓名 */ |
| | | name?: string; |
| | | /** 法人或经办人身份证号 */ |
| | |
| | | proxy?: boolean; |
| | | /** 企业授权书 */ |
| | | proxyPowerAttorneyUrl?: string; |
| | | /** 第三方实名通道账号 */ |
| | | certAccount?: string; |
| | | } |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |