/* eslint-disable */
|
// @ts-ignore
|
import { request } from '@/utils/request';
|
|
/** 检查订单双方是否已对该订单发起过签约 false 已存在 true不存在 POST /api/BestSign/CheckOrderSignExsit */
|
export async function checkOrderSignExsit(
|
body: API.CheckOrderSignInput,
|
options?: API.RequestConfig
|
) {
|
return request<boolean>('/api/BestSign/CheckOrderSignExsit', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 下载上上签证据报告 POST /api/BestSign/ContractEvidenceReportDownload */
|
export async function contractEvidenceReportDownload(
|
body: API.ContractEvidenceReportDownloadInput,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/BestSign/ContractEvidenceReportDownload', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取H5刷脸签署的订单号
|
因签署接口没有直接返回刷脸的orderNo,故通过此接口获取刷脸签署通过后产生的orderNo,通过此orderNo可以下载刷脸签署时的视频或照片文件。 POST /api/BestSign/ContractGetFaceAuthOrderNo */
|
export async function contractGetFaceAuthOrderNo(
|
body: API.ContractGetFaceAuthOrderNoInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.SingleSearchKeyInputBestSignOutputBase>(
|
'/api/BestSign/ContractGetFaceAuthOrderNo',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 合同签约,返回签约链接 POST /api/BestSign/ContractSendByTemplate */
|
export async function contractSendByTemplate(
|
body: API.ContractSendByTemplateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/ContractSendByTemplate', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 自动创建付款信息 GET /api/BestSign/CreateBusinessPayData */
|
export async function createBusinessPayData(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIcreateBusinessPayDataParams,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/CreateBusinessPayData', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 企业三要素验证 验证企业“企业名称、工商注册号或统一社会信用代码、法定代表人姓名”三要素之间的一致性。仅中国大陆的企业能够验证。此接口按照调用次数单独计费。
|
注:因工商总局数据源限制,使用个体工商户信息校验时会有较大概率返回“查询无结果”,此时开发者可至公开的企业征信类网站(比如企查查、天眼查等网站)手动查询对比。
|
民办企业、事业单位等非工商企业,不支持用企业工商接口查询和核验。 POST /api/BestSign/CredentialVerifyEnterpriseIdentity3 */
|
export async function credentialVerifyEnterpriseIdentity3(
|
body: API.CredentialVerifyEnterpriseIdInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyEnterpriseIdResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyEnterpriseIdentity3',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 企业四要素验证
|
验证企业“企业名称、工商注册号或统一社会信用代码、法定代表人姓名、法定代表人身份证号”四要素之间的一致性。此接口按照调用次数单独计费。
|
注:1、因工商总局数据源限制,使用个体工商户信息校验时会有较大概率返回“查询无结果”,此时开发者可至公开的企业征信类网站(比如企查查、天眼查等网站)手动查询对比。
|
2、民办企业、事业单位等非工商企业,不支持用企业工商接口查询和核验。
|
3、企业四要素中未包含企业经营状态,如需核验企业经营状态请使用接口“查询企业工商信息”。 POST /api/BestSign/CredentialVerifyEnterpriseIdentity4 */
|
export async function credentialVerifyEnterpriseIdentity4(
|
body: API.CredentialVerifyEnterpriseIdInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/CredentialVerifyEnterpriseIdentity4',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 企业打款状态查询
|
此接口用于查询认证企业发起的打款请求的到账情况。 POST /api/BestSign/CredentialVerifyEnterprisePayAuth */
|
export async function credentialVerifyEnterprisePayAuth(
|
body: API.CredentialVerifyEnterprisePayAuthInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/CredentialVerifyEnterprisePayAuth', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 企业应答验证
|
此接口用于“企业将对公账户收到的最新一笔有效的小于1元的随机金额回填至系统”,校验实名认证结果。
|
回答次数限制:6次,达到6次错误则随机金额失效,需重新打款。 POST /api/BestSign/CredentialVerifyEnterprisePayAuthVerify */
|
export async function credentialVerifyEnterprisePayAuthVerify(
|
body: API.CredentialVerifyEnterprisePayAuthVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/CredentialVerifyEnterprisePayAuthVerify',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取刷脸认证/签署的视频或照片
|
获取刷脸校验通过后的视频或照片。
|
支持范围:支持腾讯云H5刷脸、腾讯SDK刷脸、腾讯小程序刷脸方式;支付宝刷脸方式因支付宝的安全策略限制照片无法获取。
|
时效性:目前腾讯云对刷脸视频或照片文件最多保存三天,故如需获取请在刷脸后的三天内获取。。 POST /api/BestSign/CredentialVerifyFaceAuthResultDownload */
|
export async function credentialVerifyFaceAuthResultDownload(
|
body: API.CredentialVerifyFaceAuthResultDownloadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyFaceAuthResultDownloadResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyFaceAuthResultDownload',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人银行卡二要素验证 对个人姓名与银行卡号进行二要素比对验证,比如在人事发工资场景中,可以用此接口校验银行卡与新员工是否匹配,防止发错工资卡。此接口按照调用次数单独计费。 POST /api/BestSign/CredentialVerifyPersonalBankcard2 */
|
export async function credentialVerifyPersonalBankcard2(
|
body: API.CredentialVerifyPersonalBankcard2Input,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyPersonalIdentity2ResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyPersonalBankcard2',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人二要素验证 验证个人“姓名、身份证号”二要素之间的一致性。此接口按照调用次数单独计费。 POST /api/BestSign/CredentialVerifyPersonalIdentity2 */
|
export async function credentialVerifyPersonalIdentity2(
|
body: API.CredentialVerifyPersonalIdentity2Input,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyPersonalIdentity2ResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyPersonalIdentity2',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 非大陆身份信息二要素
|
用于非中国大陆居民身份证类型的身份二要素核验。
|
本接口通过出入境管理局的数据源核验,仅支持港澳台等非大陆身份证的身份信息,若核验结果不符合使用预期(比如中国公民护照有过出境旅游的记录核验结果可能会出现”文本信息比对一致但中国公民护照查询无结果”的情况),请改用其他的核验方式。
|
本接口按照调用次数单独计费。 POST /api/BestSign/CredentialVerifyPersonalIdentity3Abroad */
|
export async function credentialVerifyPersonalIdentity3Abroad(
|
body: API.CredentialVerifyPersonalId3AbroadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyEnterpriseIdResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyPersonalIdentity3Abroad',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人手机号三要素验证 验证个人“姓名、身份证号、手机号码”三要素之间的一致性。手机号码为三大运营商手机号码。此接口按照调用次数单独计费。 POST /api/BestSign/CredentialVerifyPersonalIdentity3Mobile */
|
export async function credentialVerifyPersonalIdentity3Mobile(
|
body: API.CredentialVerifyPersonalIdentity2Input,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/CredentialVerifyPersonalIdentity3Mobile',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人银行卡多要素验证 验证个人“姓名、身份证号、银行卡号、银行卡预留手机号码”多要素之间的一致性。此接口按照调用次数单独计费。 POST /api/BestSign/CredentialVerifyPersonalIdentity4 */
|
export async function credentialVerifyPersonalIdentity4(
|
body: API.CredentialVerifyPersonalBankcard2Input,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyPersonalIdentity2ResponseBestSignOutputBase>(
|
'/api/BestSign/CredentialVerifyPersonalIdentity4',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 下载签约存证报告 POST /api/BestSign/DistContractDownloadSignProcessReport */
|
export async function distContractDownloadSignProcessReport(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/BestSign/DistContractDownloadSignProcessReport', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 上传模版变量创建合同,通过模版创建一个pdf文件,并设置template values到模板文件最终生成合同编号。这个接口将原来的template/createContractPdf和contract/createByTemplate这两个接口二合一使用。 POST /api/BestSign/DistTemplateCreateContract */
|
export async function distTemplateCreateContract(
|
body: API.DistTemplateCreateContractInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/DistTemplateCreateContract', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 连续执行 客户注册 认证流程 POST /api/BestSign/EnterpriseRegVerify */
|
export async function enterpriseRegVerify(
|
body: API.EnterpriseRegVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/EnterpriseRegVerify', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 注册企业用户并申请证书 POST /api/BestSign/EnterpriseUserReg */
|
export async function enterpriseUserReg(
|
body: API.EnterpriseUserRegInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/EnterpriseUserReg', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 查询批量发放明细 POST /api/BestSign/GetBatchSettlePayInfoList */
|
export async function getBatchSettlePayInfoList(
|
body: API.GetBusinessPayInfoInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetBusinessPayInfoOutputPageOutput>(
|
'/api/BestSign/GetBatchSettlePayInfoList',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取协议文件预览路径 GET /api/BestSign/GetContactFilePreviewUrl */
|
export async function getContactFilePreviewUrl(options?: API.RequestConfig) {
|
return request<string>('/api/BestSign/GetContactFilePreviewUrl', {
|
method: 'GET',
|
...(options || {}),
|
});
|
}
|
|
/** 获取订单协议中支付信息列表 GET /api/BestSign/GetOrderBusinessPayList */
|
export async function getOrderBusinessPayList(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetOrderBusinessPayListParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetSignOrderToPayDto[]>('/api/BestSign/GetOrderBusinessPayList', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 获取订单签约协议详细信息 GET /api/BestSign/GetSignContractToOrderDto */
|
export async function getSignContractToOrderDto(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetSignContractToOrderDtoParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetSignContractToOrderOutput>('/api/BestSign/GetSignContractToOrderDto', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 查询协议管理 POST /api/BestSign/GetSignContractToOrderList */
|
export async function getSignContractToOrderList(
|
body: API.GetSignContractToOrderInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetSignContractToOrderOutputPageOutput>(
|
'/api/BestSign/GetSignContractToOrderList',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取电子签收款账户信息 GET /api/BestSign/GetSignEnterToBankInfo */
|
export async function getSignEnterToBankInfo(options?: API.RequestConfig) {
|
return request<API.BestSignEnterBankInfoDto>('/api/BestSign/GetSignEnterToBankInfo', {
|
method: 'GET',
|
...(options || {}),
|
});
|
}
|
|
/** 获取付款/收款管理列表 POST /api/BestSign/GetSignOrderPayList */
|
export async function getSignOrderPayList(
|
body: API.GetOrderSignPayInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetSignContractToOrderOutputPageOutput>('/api/BestSign/GetSignOrderPayList', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取用户申请证书状态 GET /api/BestSign/GetUserCertApplyStatus */
|
export async function getUserCertApplyStatus(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetUserCertApplyStatusParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/GetUserCertApplyStatus', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 回去订单合同列表 POST /api/BestSign/GetUserOrderContactList */
|
export async function getUserOrderContactList(
|
body: API.GetOrderContractInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetOrderContractInfoPageOutput>('/api/BestSign/GetUserOrderContactList', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 运营后台获取交易管理列表 POST /api/BestSign/GetUserOrderSignPayList */
|
export async function getUserOrderSignPayList(
|
body: API.GetUserOrderSignPayListInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetSignContractToOrderOutputPageOutput>(
|
'/api/BestSign/GetUserOrderSignPayList',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 上传发票或费用明细文件 POST /api/BestSign/OrderSinglePayUploadFile */
|
export async function orderSinglePayUploadFile(
|
body: API.OrderSinglePayUploadFileInput,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/OrderSinglePayUploadFile', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 发票确认 POST /api/BestSign/OrderSinglePayVerifyInvoice */
|
export async function orderSinglePayVerifyInvoice(
|
body: API.OrderSinglePayVerifyInvoiceInput,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/OrderSinglePayVerifyInvoice', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 个人人脸比对验证 POST /api/BestSign/PersonalIdentity3Face */
|
export async function personalIdentity3Face(
|
body: API.PersonalIdentity3FaceInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyPersonalIdentity2ResponseBestSignOutputBase>(
|
'/api/BestSign/PersonalIdentity3Face',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 注册个人用户并申请证书 POST /api/BestSign/PersonalUserReg */
|
export async function personalUserReg(body: API.PersonalUserRegInput, options?: API.RequestConfig) {
|
return request<API.BestSignRegDataResponseBestSignOutputBase>('/api/BestSign/PersonalUserReg', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 企业银行打款(关联用户)
|
此接口用于 “向企业对公账户转账一笔小于1元的随机金额”,到账时间1-2个工作日。(暂不支持国外、港澳台、北屯、双河、可克达拉、昆玉、东沙群岛等地区的对公打款认证)
|
注:1、此接口按照调用次数单独计费,如需调用本接口请先向上上签申请,开通后方可使用。
|
2、 随机金额每天(24h内)最多允许获取5次,重新发起即要求上一笔金额失效。
|
3、 随机金额用于回填验证,有效期是5天
|
4、 在向财务核对到账情况时,打款方是“通联支付网络服务股份有限公司”或“杭州尚尚签网络科技有限公司”二者中的一个。
|
5、 在向财务核对到账情况时,到账附言栏显示:上上签企业打款。
|
6、 部分银行对公打款业务不支持或者打款有延迟。如遇到打款问题,请咨询客服热线:400-993-6665。
|
7、“联行号”字段为非必填项,默认可不传,但有些银行有可能会打款不成功,此时需要带上联行号重试。联行号可参考微信支付https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=22_1 的《开户银行全称(含支行)对照表 》。
|
本接口已与account关联,支持在电子签约存证报告中体现此核验结果(电子签约存证报告需通过account将签署信息与实名认证核验信息关联起来),用于替代原先无存证的方式/credentialVerify/enterprise/payAuth。 POST /api/BestSign/RealNameEnterpriseCorporateAccountAudit */
|
export async function realNameEnterpriseCorporateAccountAudit(
|
body: API.RealNameEnterpriseCorporateAccountAuditInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/RealNameEnterpriseCorporateAccountAudit',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询企业工商信息,通过统一社会信用代码查询企业工商信息。此接口按照调用次数单独计费。 POST /api/BestSign/RealNameEnterpriseIndustryCommerceInfo */
|
export async function realNameEnterpriseIndustryCommerceInfo(
|
body: API.SingleSearchKeyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNameEnterpriseIndustryCommerceInfoResponseBestSignOutputBase>(
|
'/api/BestSign/RealNameEnterpriseIndustryCommerceInfo',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 企业银行反向打款认证 该接口用于企业认证,使用该接口请注意:1.请使用认证方企业对公银行账户提前向指定银行账户打款,接收方银行账户信息如下:
|
2.打款金额为0.01元人民币,不接受其他币种以及其他金额,且打款金额不退回;
|
3.实际打款到账时间会有延迟,请在打款15-30分钟后再调用该接口进行查询; POST /api/BestSign/RealNameEnterpriseRemitInfoAudit */
|
export async function realNameEnterpriseRemitInfoAudit(
|
body: API.RealNameEnterpriseRemitInfoAuditInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/RealNameEnterpriseRemitInfoAudit', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 请求认证url POST /api/BestSign/RealNamePersonalIdentity2AlipayFace */
|
export async function realNamePersonalIdentity2AlipayFace(
|
body: API.RealNamePersonalIdentity2FaceInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity2FaceResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity2AlipayFace',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 请求认证url POST /api/BestSign/RealNamePersonalIdentity2BestSignFace */
|
export async function realNamePersonalIdentity2BestSignFace(
|
body: API.RealNamePersonalIdentity2FaceInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity2FaceResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity2BestSignFace',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 请求认证url
|
利用个人“接口账号、姓名、身份证号等”要素生成唯一的认证url地址,通过该url地址跳转到腾讯云的H5认证页面。此接口单独计费。
|
此接口支持港澳台居民在大陆办理的港澳台居住证。
|
注:在小程序环境中打开长链接,请做好Encode与Decode,以此确保链接完整性,否则容易参数出错导致刷脸链接无法在小程序中打开。
|
链接有效期2分钟。
|
App兼容性请参考腾讯云文档 https://cloud.tencent.com/document/product/1007/61076 (外部文档,如失效请直接搜索“兼容性配置指引”) POST /api/BestSign/RealNamePersonalIdentity2Face */
|
export async function realNamePersonalIdentity2Face(
|
body: API.RealNamePersonalIdentity2FaceInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity2FaceResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity2Face',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 认证结果回调通知 POST /api/BestSign/RealNamePersonalIdentity2FaceCallBack */
|
export async function realNamePersonalIdentity2FaceCallBack(
|
body: API.RealNamePersonalId2FaceCallBackRequest,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/RealNamePersonalIdentity2FaceCallBack', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取刷脸结果
|
获取刷脸结果,支持腾讯云(即微众)刷脸、阿里云刷脸、支付宝(即蚂蚁)刷脸以及其他刷脸。 POST /api/BestSign/RealNamePersonalIdentity2GetFaceAuthResult */
|
export async function realNamePersonalIdentity2GetFaceAuthResult(
|
body: API.SingleSearchKeyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity2GetFaceAuthResultResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity2GetFaceAuthResult',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人手机号三要素验证码获取
|
此接口用于个人用户姓名、身份证、手机号3要素收集校验, 以及验证码的发送。该接口需与“个人手机号三要素验证码校验”接口搭配使用。获取到的验证码有效期为3分钟,用于校验的personalIdentity3Key为永久有效,但重新获取验证码后需要使用新personalIdentity3Key。
|
此接口按照调用次数单独计费,请确认已购买并开通此接口权限。 POST /api/BestSign/RealNamePersonalIdentity3VcodeSender */
|
export async function realNamePersonalIdentity3VcodeSender(
|
body: API.RealNamePersonalIdentity3VcodeSenderInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/RealNamePersonalIdentity3VcodeSender',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 个人手机号三要素验证码校验
|
此接口用于个人用户姓名、身份证、手机号3要素收集校验, 以及验证码的发送。该接口需与“个人手机号三要素验证码校验”接口搭配使用。获取到的验证码有效期为3分钟,用于校验的personalIdentity3Key为永久有效,但重新获取验证码后需要使用新personalIdentity3Key。
|
此接口按照调用次数单独计费,请确认已购买并开通此接口权限。 POST /api/BestSign/RealNamePersonalIdentity3VcodeVerify */
|
export async function realNamePersonalIdentity3VcodeVerify(
|
body: API.RealNamePersonalIdentity3VcodeSenderResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>(
|
'/api/BestSign/RealNamePersonalIdentity3VcodeVerify',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 银行卡多要素校验及发送验证码(支持非身份证)
|
此接口用于个人用户姓名、非身份证件类型的证件号码、银行卡号、银行卡预留手机号4要素校验, 校验通过后向该手机号发送短信验证码。该接口需与接口“银行卡多要素验证码校验(支持非身份证)”联合使用。获取到的验证码有效期为3分钟,用于校验的personalIdentity4PlusKey为永久有效,但重新获取验证码后需要使用新personalIdentity4PlusKey。此接口按照调用次数单独计费,请确认已购买并开通此接口权限。
|
注:
|
1.个人用户需要持有用当前校验证件办理的大陆的带银联标识的银行卡;
|
2.个人用户需要使用办理银行卡时预留的手机号码;
|
以上两条件,任一不满足,皆不可校验通过; POST /api/BestSign/RealNamePersonalIdentity4PlusVcodeSender */
|
export async function realNamePersonalIdentity4PlusVcodeSender(
|
body: API.RealNamePersonalIdentity4VcodeVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyEnterpriseIdResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity4PlusVcodeSender',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 银行卡多要素验证码校验(支持非身份证)
|
此接口用于对接口“银行卡多要素校验及发送验证码(支持非身份证)”中的手机验证码进行校验。 POST /api/BestSign/RealNamePersonalIdentity4PlusVcodeVerify */
|
export async function realNamePersonalIdentity4PlusVcodeVerify(
|
body: API.RealNamePersonalIdentity4PlusVcodeVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyEnterpriseIdResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity4PlusVcodeVerify',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 银行卡多要素校验及发送验证码
|
此接口用于个人用户姓名、身份证号、银行卡号、银行卡预留手机号4要素校验, 校验通过后向该手机号发送短信验证码。该接口需与接口“银行卡多要素验证码校验”联合使用。获取到的验证码有效期为3分钟,用于校验的personalIdentity4Key为永久有效,但重新获取验证码后需要使用新personalIdentity4Key。此接口按照调用次数单独计费,请确认已购买并开通此接口权限。 POST /api/BestSign/RealNamePersonalIdentity4VcodeSender */
|
export async function realNamePersonalIdentity4VcodeSender(
|
body: API.RealNamePersonalIdentity3VcodeSenderInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity4VcodeSenderResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity4VcodeSender',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 银行卡多要素校验及发送验证码
|
此接口用于个人用户姓名、身份证号、银行卡号、银行卡预留手机号4要素校验, 校验通过后向该手机号发送短信验证码。该接口需与接口“银行卡多要素验证码校验”联合使用。获取到的验证码有效期为3分钟,用于校验的personalIdentity4Key为永久有效,但重新获取验证码后需要使用新personalIdentity4Key。此接口按照调用次数单独计费,请确认已购买并开通此接口权限。 POST /api/BestSign/RealNamePersonalIdentity4VcodeVerify */
|
export async function realNamePersonalIdentity4VcodeVerify(
|
body: API.RealNamePersonalIdentity4VcodeVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.CredentialVerifyEnterpriseIdResponseBestSignOutputBase>(
|
'/api/BestSign/RealNamePersonalIdentity4VcodeVerify',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 拒绝签约 POST /api/BestSign/RefundOrderContactSign */
|
export async function refundOrderContactSign(
|
body: API.RefundOrderContactSignInput,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/RefundOrderContactSign', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 此处后端没有提供注释 POST /api/BestSign/SendMessageToYFSettleFee */
|
export async function sendMessageToYFSettleFee(options?: API.RequestConfig) {
|
return request<number>('/api/BestSign/SendMessageToYFSettleFee', {
|
method: 'POST',
|
...(options || {}),
|
});
|
}
|
|
/** 仅注册用户接口 POST /api/BestSign/SingleUserReg */
|
export async function singleUserReg(body: API.SingleUserRegInput, options?: API.RequestConfig) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/SingleUserReg', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 单用户注册测试 POST /api/BestSign/SingleUserRegTest */
|
export async function singleUserRegTest(body: API.SingleUserRegInput, options?: API.RequestConfig) {
|
return request<number>('/api/BestSign/SingleUserRegTest', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取模版变量 POST /api/BestSign/TemplateGetTemplateVars */
|
export async function templateGetTemplateVars(
|
body: API.UserTemplateGetTemplateVarsInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserTemplateGetTemplateVarsResponseBestSignOutputBase>(
|
'/api/BestSign/TemplateGetTemplateVars',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 此处后端没有提供注释 GET /api/BestSign/TestBestSign */
|
export async function testBestSign(options?: API.RequestConfig) {
|
return request<number>('/api/BestSign/TestBestSign', {
|
method: 'GET',
|
...(options || {}),
|
});
|
}
|
|
/** 此处后端没有提供注释 GET /api/BestSign/TestCallBack */
|
export async function testCallBack(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APItestCallBackParams,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/BestSign/TestCallBack', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 乙方确认主体信息 POST /api/BestSign/ToVerifyOrderSignInfo */
|
export async function toVerifyOrderSignInfo(
|
body: API.ToVerifyOrderSignInfoInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/ToVerifyOrderSignInfo', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 更新合同签约状态 POST /api/BestSign/UpdateUserOrderContactStatus */
|
export async function updateUserOrderContactStatus(
|
body: API.UpdateUserOrderContactStatusInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UpdateUserOrderContactStatus', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** PDF文件验签(新) 上传PDF文件验证签名,返回PDF文件是否有证书签名、签名/文件在签名后是否有篡改,以及每个证书签名的具体信息 POST /api/BestSign/UserCertificationV2VerifySignatureByFile */
|
export async function userCertificationV2VerifySignatureByFile(
|
body: API.UserDistTemplateUploadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserCertificationV2VerifySignatureByFileResponseListBestSignOutputBase>(
|
'/api/BestSign/UserCertificationV2VerifySignatureByFile',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 撤销合同 POST /api/BestSign/UserContractCancel */
|
export async function userContractCancel(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignDownloadImageDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractCancel',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 创建合同 POST /api/BestSign/UserContractCreate */
|
export async function userContractCreate(
|
body: API.GetUserContractCreateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserStorageContractUploadResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractCreate',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 生成合同签约存证页文件 POST /api/BestSign/UserContractCreateAttachment */
|
export async function userContractCreateAttachment(
|
body: API.UserContractCreateAttachmentInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserContractCreateAttachment', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 通过模版创建合同 POST /api/BestSign/UserContractCreateByTemplate */
|
export async function userContractCreateByTemplate(
|
body: API.UserContractCreateByTemplateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserStorageContractUploadResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractCreateByTemplate',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 下载合同签约存证页文件 POST /api/BestSign/UserContractDownloadAttachment */
|
export async function userContractDownloadAttachment(
|
body: API.UserContractCreateAttachmentInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserContractDownloadAttachment', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 企业手动签署(支持刷脸短信二选一) POST /api/BestSign/UserContractGetContractEnterpriseFaceSign */
|
export async function userContractGetContractEnterpriseFaceSign(
|
body: API.UserGetContractEnterpriseFaceSignInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserGetContractEnterpriseFaceSignResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractGetContractEnterpriseFaceSign',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询合同信息 POST /api/BestSign/UserContractGetInfo */
|
export async function userContractGetInfo(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserContractGetInfoResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractGetInfo',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取预览合同URL POST /api/BestSign/UserContractGetPreview */
|
export async function userContractGetPreview(
|
body: API.GetUserContractGetPreviewInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserContractGetPreview', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 查询合同签署者状态 POST /api/BestSign/UserContractGetSignerStatus */
|
export async function userContractGetSignerStatus(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserContractGetSignerStatus', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取签署链接(即手动签) POST /api/BestSign/UserContractSend */
|
export async function userContractSend(
|
body: API.UserGetContractSendInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserContractGetPreviewResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractSend',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 发送签署验证码 向指定手机号发送指定合同的签署验证码,该验证码回填用于【带校验的自动签/storage/contract/sign/cert2/】接口做签署校验。本接口调用前需要先调用【设置合同签署参数】接口设置vcodeMobile参数,验证码默认有效期是三分钟,请在发送验证码的有效期之内回填验证码,如超过验证码有效期请重新发送。
|
注:同一手机号1分钟内只能有效获取一次验证码,请勿频繁发送以免被运营商误判为骚扰或短信轰炸。 POST /api/BestSign/UserContractSendSignVCode */
|
export async function userContractSendSignVCode(
|
body: API.UserContractSendSignVCodeInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserContractSendSignVCodeResponseBestSignOutputBase>(
|
'/api/BestSign/UserContractSendSignVCode',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 自动签 POST /api/BestSign/UserContractSignCert */
|
export async function userContractSignCert(
|
body: API.UserContractSignCertInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserContractSignCert', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 关键字定位签署合同 POST /api/BestSign/UserContractSignKeywords */
|
export async function userContractSignKeywords(
|
body: API.UserContractSignKeywordsInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserContractSignKeywords', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 用模版变量签署合同 POST /api/BestSign/UserContractSignTemplate */
|
export async function userContractSignTemplate(
|
body: API.UserContractSignTemplateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserContractSignTemplate', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 生成用户签名/印章图片 POST /api/BestSign/UserCreateSignatureImage */
|
export async function userCreateSignatureImage(
|
body: API.GetUserCreateSignatureImageInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserCreateSignatureImage', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 身份证OCR识别 识别身份证正反面信息。此接口按照调用次数单独计费 POST /api/BestSign/UserCredentialVerifyOcrIDCard */
|
export async function userCredentialVerifyOcrIDCard(
|
body: API.UserCredentialVerifyOcrIDCardInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserCredentialVerifyOcrIDCardResponseBestSignOutputBase>(
|
'/api/BestSign/UserCredentialVerifyOcrIDCard',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 生成企业印章图片 POST /api/BestSign/UserDistCreateSignatureEnt */
|
export async function userDistCreateSignatureEnt(
|
body: API.GetUserCreateSignatureEntInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserDistCreateSignatureEnt', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 上传PDF文件并创建模版 POST /api/BestSign/UserDistTemplateUpload */
|
export async function userDistTemplateUpload(
|
body: API.UserDistTemplateUploadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserTemplateGetTemplateVarsInputBestSignOutputBase>(
|
'/api/BestSign/UserDistTemplateUpload',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 下载用户签名/印章图片 POST /api/BestSign/UserDownloadSignatureImage */
|
export async function userDownloadSignatureImage(
|
body: API.GetUserUploadSignatureImageInput,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/BestSign/UserDownloadSignatureImage', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取文件meta信息 POST /api/BestSign/UserFileMetaSDK */
|
export async function userFileMetaSDK(body: API.GetFileMetaSDKInput, options?: API.RequestConfig) {
|
return request<API.GetUserFileMetaSDKDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserFileMetaSDK',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 甲方发起签约确认邀约 POST /api/BestSign/UserFromSendSignInvite */
|
export async function userFromSendSignInvite(
|
body: API.DistTemplateCreateContractInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserFromSendSignInvite', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 异步申请状态查询 POST /api/BestSign/UserGetApplyCertStatus */
|
export async function userGetApplyCertStatus(
|
body: API.GetAsyncapplyCertStatusInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserGetApplyCertStatus', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 用户基本信息查询 POST /api/BestSign/UserGetBaseInfo */
|
export async function userGetBaseInfo(body: API.GetCertDataInput, options?: API.RequestConfig) {
|
return request<API.GetUserBaseInfoDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserGetBaseInfo',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询证书编号 POST /api/BestSign/UserGetCert */
|
export async function userGetCert(body: API.GetCertDataInput, options?: API.RequestConfig) {
|
return request<API.GetCertDataResponseBestSignOutputBase>('/api/BestSign/UserGetCert', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取证书详细信息 POST /api/BestSign/UserGetCertInfo */
|
export async function userGetCertInfo(body: API.GetCertDataResponse, options?: API.RequestConfig) {
|
return request<API.GetUserCertInfoDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserGetCertInfo',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询企业用户证件信息 POST /api/BestSign/UserGetEnterpriseCredential */
|
export async function userGetEnterpriseCredential(
|
body: API.GetCertDataInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetEnterpriseCredentialDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserGetEnterpriseCredential',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询个人用户证件信息 POST /api/BestSign/UserGetPersonalCredential */
|
export async function userGetPersonalCredential(
|
body: API.GetCertDataInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetPersonalCredentialDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserGetPersonalCredential',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 发送多文档自动签验证码 与“带短信校验的多文档自动签/dist/catalog/sign/cert/”搭配使用。
|
注:同一手机号1分钟内只能有效获取一次验证码,请勿频繁发送以免被运营商误判为骚扰或短信轰炸。 POST /api/BestSign/UserNoticeSendSignVCode */
|
export async function userNoticeSendSignVCode(
|
body: API.UserNoticeSendSignVCodeInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserContractSendSignVCodeResponseBestSignOutputBase>(
|
'/api/BestSign/UserNoticeSendSignVCode',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取创建模版的地址 POST /api/BestSign/UserPageTemplateCreate */
|
export async function userPageTemplateCreate(
|
body: API.UserPageTemplateCreateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserContractGetPreviewResponseBestSignOutputBase>(
|
'/api/BestSign/UserPageTemplateCreate',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 预览模版 POST /api/BestSign/UserPageTemplatePreview */
|
export async function userPageTemplatePreview(
|
body: API.UserPageTemplatePreviewInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserContractGetPreviewResponseBestSignOutputBase>(
|
'/api/BestSign/UserPageTemplatePreview',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 验证码发送接口 POST /api/BestSign/UserPersonalRealNameSendVCode */
|
export async function userPersonalRealNameSendVCode(
|
body: API.UserPersonalRealNameSendVCodeInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserPersonalRealNameSendVCode', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 验证码发送接口 POST /api/BestSign/UserPersonalRegAndRealNameAndApplyCert */
|
export async function userPersonalRegAndRealNameAndApplyCert(
|
body: API.UserPersonalRegAndRealNameAndApplyCertInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>(
|
'/api/BestSign/UserPersonalRegAndRealNameAndApplyCert',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 重新申请数字证书 POST /api/BestSign/UserReApplyCert */
|
export async function userReApplyCert(body: API.GetCertDataInput, options?: API.RequestConfig) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserReApplyCert', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 为PDF文件添加元素 POST /api/BestSign/UserStorageAddPdfElements */
|
export async function userStorageAddPdfElements(
|
body: API.GetUserStorageaddPdfElementsInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignStorageUploadDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserStorageAddPdfElements',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 下载合同文件 POST /api/BestSign/UserStorageContractDownload */
|
export async function userStorageContractDownload(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRequestResultDto>('/api/BestSign/UserStorageContractDownload', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 锁定并结束合同 POST /api/BestSign/UserStorageContractLock */
|
export async function userStorageContractLock(
|
body: API.GetUserStorageContractUploadResponse,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignDownloadImageDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserStorageContractLock',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 带校验的自动签 不需要查看合同即可快捷完成签署。此接口要求签署者必须拥有自己的数字证书,提交手机号码(或邮箱)与短信验证码(或邮箱验证码),如验证码校验通过则完成签署,否则签署失败需重试。
|
使用此接口的流程为:“创建合同(/storage/contract/upload/或/contract/create/)——添加签署者(/contract/addSigner/或/contract/addSigners/)——设置合同签署参数(/contract/setSignerConfig/中设置vcodeMobile参数)——发送签署验证码(/contract/sendSignVCode/)——带校验的自动签(本接口)”。 POST /api/BestSign/UserStorageContractSignCert2 */
|
export async function userStorageContractSignCert2(
|
body: API.UserContractSignCert2Input,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserStorageContractSignCert2', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 上传并创建合同 POST /api/BestSign/UserStorageContractUpload */
|
export async function userStorageContractUpload(
|
body: API.GetUserStorageContractUploadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetUserStorageContractUploadResponseBestSignOutputBase>(
|
'/api/BestSign/UserStorageContractUpload',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 下载文件 POST /api/BestSign/UserStorageDownload */
|
export async function userStorageDownload(
|
body: API.BestSignStorageUploadDataResponse,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/BestSign/UserStorageDownload', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 上传合同文件 POST /api/BestSign/UserStorageUpload */
|
export async function userStorageUpload(
|
body: API.GetUserStorageUploadInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignStorageUploadDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserStorageUpload',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 通过模版生成合同文件 POST /api/BestSign/UserTemplateCreateContractPdf */
|
export async function userTemplateCreateContractPdf(
|
body: API.UserTemplateCreateContractPdfInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.UserTemplateCreateContractPdfResponseBestSignOutputBase>(
|
'/api/BestSign/UserTemplateCreateContractPdf',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 删除模版 POST /api/BestSign/UserTemplateDelete */
|
export async function userTemplateDelete(
|
body: API.UseDeleteTemplateInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignOutputDynamic>('/api/BestSign/UserTemplateDelete', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取模板详情 POST /api/BestSign/UserTemplateGetTemplateDetail */
|
export async function userTemplateGetTemplateDetail(
|
body: API.GetTemplateInfoInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetTemplateVarsSubNodeTemplateDto>(
|
'/api/BestSign/UserTemplateGetTemplateDetail',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 上传用户签名/印章图片 POST /api/BestSign/UserUploadSignatureImage */
|
export async function userUploadSignatureImage(
|
body: API.GetUserUploadSignatureImageInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.BestSignRegDataResponseBestSignOutputBase>(
|
'/api/BestSign/UserUploadSignatureImage',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 人脸照片自带比对源比对,比对两张人脸照片的相似度。此接口按照调用次数单独计费。 POST /api/BestSign/WebankDoFaceCompare */
|
export async function webankDoFaceCompare(
|
body: API.WebankDoFaceCompareInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.WebankDoFaceCompareResponseBestSignOutputBase>(
|
'/api/BestSign/WebankDoFaceCompare',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取腾讯云刷脸认证结果 POST /api/BestSign/WebankGetFaceAuthResult */
|
export async function webankGetFaceAuthResult(
|
body: API.SingleSearchKeyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.RealNamePersonalIdentity2GetFaceAuthResultResponseBestSignOutputBase>(
|
'/api/BestSign/WebankGetFaceAuthResult',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 发送多文档自动签验证码 与“带短信校验的多文档自动签/dist/catalog/sign/cert/”搭配使用。
|
注:同一手机号1分钟内只能有效获取一次验证码,请勿频繁发送以免被运营商误判为骚扰或短信轰炸。 POST /api/BestSign/WebankGetFaceAuthSignIdcardFaceVerify */
|
export async function webankGetFaceAuthSignIdcardFaceVerify(
|
body: API.WebankGetFaceAuthSignIdcardFaceVerifyInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.WebankGetFaceAuthSignIdcardFaceVerifyResponseBestSignOutputBase>(
|
'/api/BestSign/WebankGetFaceAuthSignIdcardFaceVerify',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 此处后端没有提供注释 GET /api/BestSign/WorkerBusinessPayMessageSend */
|
export async function workerBusinessPayMessageSend(options?: API.RequestConfig) {
|
return request<number>('/api/BestSign/WorkerBusinessPayMessageSend', {
|
method: 'GET',
|
...(options || {}),
|
});
|
}
|