zhengyiming
2025-02-17 b0371b64792e2a071e273cd57496c9f38a3118c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
/* 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 || {}),
  });
}