| | |
| | | date?: string; |
| | | } |
| | | |
| | | interface APIgetContractTemplateParams { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetCurrentLogierMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | interface APIgetFileUrlParams { |
| | | /** 地址 */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface APIgetLicenseOcrParams { |
| | | /** 通道 */ |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface APIgetMenuParams { |
| | |
| | | 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; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface ElectronSignCallbackCommand { |
| | | /** 客户Id */ |
| | | customerId?: string; |
| | | /** 方法名称 */ |
| | | action?: string; |
| | | /** 是否成功 */ |
| | | success?: boolean; |
| | | /** 回调码 */ |
| | | code?: string; |
| | | /** 回调消息 */ |
| | | message?: string; |
| | | /** 关联Id */ |
| | | relationId?: string; |
| | | /** 回传数据 */ |
| | | data?: any; |
| | | } |
| | | |
| | | enum EnumBillingMethod { |
| | | /**按月 */ |
| | | Month = 10, |
| | |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateStatus { |
| | | /**待制版 */ |
| | | Wait = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateValueRecorder { |
| | | /**发件人 */ |
| | | Creator = 10, |
| | | /**签署人 */ |
| | | Signer = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateValueType { |
| | | /**文本 */ |
| | | Text = 10, |
| | | /**签署 */ |
| | | Sign = 20, |
| | | /**日期 */ |
| | | Date = 30, |
| | | } |
| | | |
| | | enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | |
| | | Modified = 20, |
| | | /**删除 */ |
| | | Deleted = 30, |
| | | } |
| | | |
| | | enum EnumElectronSignAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | | /**支付宝信任签 */ |
| | | AlipaySign = 20, |
| | | } |
| | | |
| | | enum EnumEnterpriseRealMethod { |
| | |
| | | |
| | | enum EnumResourceController { |
| | | /**数据字典 */ |
| | | Dictionary = 0, |
| | | FlexJobServerDictionary = 0, |
| | | /**任务 */ |
| | | Task = 1, |
| | | FlexJobServerTask = 1, |
| | | /**任务人员 */ |
| | | TaskUser = 2, |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | /**文字识别 */ |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | CommonServerOcrUtils = 5, |
| | | /**日志记录 */ |
| | | LogRecords = 6, |
| | | CommonServerLogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 7, |
| | | UserServerAuth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 8, |
| | | UserServerMenu = 8, |
| | | /**用户资源 */ |
| | | Resource = 9, |
| | | UserServerResource = 9, |
| | | /**用户角色 */ |
| | | Role = 10, |
| | | UserServerRole = 10, |
| | | /**用户信息 */ |
| | | User = 11, |
| | | UserServerUser = 11, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | /**用户简历 */ |
| | | UserResume = 12, |
| | | UserServerUserResume = 13, |
| | | /**企业信息 */ |
| | | Enterprise = 13, |
| | | UserServerEnterprise = 14, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 14, |
| | | UserServerEnterpriseEmployee = 15, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 16, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetContractTemplateEnterprisesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetContractTemplateEnterprisesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetContractTemplateQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetContractTemplateQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetDbAuditLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetDbAuditLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseContractTemplateLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseContractTemplateLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseContractTemplatesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseContractTemplatesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | /** 错误码 */ |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetContractTemplateEnterprisesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQueryResultItem { |
| | | /** 企业Id */ |
| | | id?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 联系人 */ |
| | | contacts?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 合同数 */ |
| | | total?: number; |
| | | /** 待制版 */ |
| | | waitCount?: number; |
| | | } |
| | | |
| | | interface GetContractTemplateQueryResult { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 模板名称 */ |
| | | name?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: GetContractTemplateQueryResultValue[]; |
| | | } |
| | | |
| | | interface GetContractTemplateQueryResultValue { |
| | | /** 变量Id */ |
| | | id?: string; |
| | | type?: EnumContractTemplateValueType; |
| | | recorder?: EnumContractTemplateValueRecorder; |
| | | userType?: EnumUserType; |
| | | /** 变量名称 */ |
| | | label?: string; |
| | | /** 变量代码 */ |
| | | name?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | } |
| | | |
| | | type GetCurrentLogierMenusQuery = Record<string, any>; |
| | | |
| | | interface GetDbAuditLogsQuery { |
| | |
| | | sort?: number; |
| | | /** 是否禁用 */ |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQuery { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseContractTemplateLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 操作人 */ |
| | | createdUser?: string; |
| | | /** 操作时间 */ |
| | | createdTime?: string; |
| | | operate?: EnumDbAuditOperate; |
| | | /** 操作内容 */ |
| | | content?: string[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQuery { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | /** 客户上传时间-起始 */ |
| | | createdTimeBegin?: string; |
| | | /** 客户上传时间-截止 */ |
| | | createdTimeEnd?: string; |
| | | /** 制版时间-起始 */ |
| | | completedTimeBegin?: string; |
| | | /** 制版时间-截止 */ |
| | | completedTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseContractTemplatesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQueryResultItem { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | /** 模板名称 */ |
| | | name?: string; |
| | | /** 客户上传时间 */ |
| | | createdTime?: string; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | /** 制版时间 */ |
| | | completedTime?: string; |
| | | /** 操作人 */ |
| | | operator?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseElectronSignSettingQueryResult { |
| | |
| | | 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 { |
| | |
| | | name: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 用户名 */ |
| | | userName?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface PersonalUserFaceRealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份证人像面 */ |
| | | identityImg: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg: string; |
| | | } |
| | | |
| | | interface PersonalUserIdentity3RealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 手机号 */ |
| | | phoneNumber: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份证人像面 */ |
| | | identityImg: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface RegisterPersonalUserCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | |
| | | interface ResendResourceCommand { |
| | | /** 资源日志Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommand { |
| | | /** 企业Id(运营端保存时) */ |
| | | enterpriseId?: string; |
| | | /** 模板名称 */ |
| | | name: string; |
| | | /** 模板 */ |
| | | file: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: SaveContractTemplateCommandValue[]; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommandValue { |
| | | /** Id */ |
| | | id?: string; |
| | | type?: EnumContractTemplateValueType; |
| | | recorder?: EnumContractTemplateValueRecorder; |
| | | userType?: EnumUserType; |
| | | /** 变量名称 */ |
| | | label?: string; |
| | | /** 变量代码 */ |
| | | name?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | } |
| | | |
| | | interface SaveDictionaryCategoryCommand { |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface SendPersonalUserIdentity3RealSmsCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 手机号 */ |
| | | phoneNumber: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | } |
| | | |
| | | interface SetDictionaryDataIsDisabledCommand { |
| | | ids?: string[]; |
| | | /** 是否已禁用 */ |
| | |
| | | smsCost?: number; |
| | | } |
| | | |
| | | interface SetIsDisabledContractTemplateCommand { |
| | | ids?: string[]; |
| | | /** 是否已禁用 */ |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | interface SetMenuSwitchCommand { |
| | | /** Id */ |
| | | ids?: string[]; |