| | |
| | | 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 { |
| | |
| | | address?: string; |
| | | /** 经营范围 */ |
| | | 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 { |
| | |
| | | Identity4 = 20, |
| | | /**刷脸认证 */ |
| | | Face = 30, |
| | | } |
| | | |
| | | enum EnumPersonalUserRealStatus { |
| | | /**未实名 */ |
| | | UnReal = 0, |
| | | /**校验中 */ |
| | | Checking = 10, |
| | | /**实名失败 */ |
| | | Fail = 99, |
| | | /**已实名 */ |
| | | Real = 100, |
| | | } |
| | | |
| | | enum EnumRealAccess { |
| | |
| | | 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; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetLicenseOcrCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | name?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | /** 制版模板照片 */ |
| | | templateEditData?: string; |
| | | /** 制版变量JSON */ |
| | | templateJsonData?: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | |
| | | 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 { |
| | | /** 地址 */ |
| | | url?: string; |
| | |
| | | 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; |