@antchain/realperson 1.13.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -507,6 +507,7 @@ class CheckIndividualidFourmetaRequest extends $tea.Model {
507
507
  mobile: 'mobile',
508
508
  bankCard: 'bank_card',
509
509
  externParam: 'extern_param',
510
+ certType: 'cert_type',
510
511
  };
511
512
  }
512
513
  static types() {
@@ -519,6 +520,7 @@ class CheckIndividualidFourmetaRequest extends $tea.Model {
519
520
  mobile: 'string',
520
521
  bankCard: 'string',
521
522
  externParam: 'string',
523
+ certType: 'string',
522
524
  };
523
525
  }
524
526
  }
@@ -985,6 +987,8 @@ class QueryThreemetaOnlinetimeRequest extends $tea.Model {
985
987
  certName: 'cert_name',
986
988
  certNo: 'cert_no',
987
989
  phoneNo: 'phone_no',
990
+ divCarrier: 'div_carrier',
991
+ carrier: 'carrier',
988
992
  externParam: 'extern_param',
989
993
  };
990
994
  }
@@ -996,6 +1000,8 @@ class QueryThreemetaOnlinetimeRequest extends $tea.Model {
996
1000
  certName: 'string',
997
1001
  certNo: 'string',
998
1002
  phoneNo: 'string',
1003
+ divCarrier: 'boolean',
1004
+ carrier: 'string',
999
1005
  externParam: 'string',
1000
1006
  };
1001
1007
  }
@@ -1232,6 +1238,7 @@ class CheckThreemetaBankcardRequest extends $tea.Model {
1232
1238
  certNo: 'cert_no',
1233
1239
  bankCard: 'bank_card',
1234
1240
  externParam: 'extern_param',
1241
+ certType: 'cert_type',
1235
1242
  };
1236
1243
  }
1237
1244
  static types() {
@@ -1243,6 +1250,7 @@ class CheckThreemetaBankcardRequest extends $tea.Model {
1243
1250
  certNo: 'string',
1244
1251
  bankCard: 'string',
1245
1252
  externParam: 'string',
1253
+ certType: 'string',
1246
1254
  };
1247
1255
  }
1248
1256
  }
@@ -1491,6 +1499,324 @@ class QueryTscenterDeviceResponse extends $tea.Model {
1491
1499
  }
1492
1500
  }
1493
1501
  exports.QueryTscenterDeviceResponse = QueryTscenterDeviceResponse;
1502
+ class QueryEducationInfoRequest extends $tea.Model {
1503
+ constructor(map) {
1504
+ super(map);
1505
+ }
1506
+ static names() {
1507
+ return {
1508
+ authToken: 'auth_token',
1509
+ productInstanceId: 'product_instance_id',
1510
+ outerOrderNo: 'outer_order_no',
1511
+ certNo: 'cert_no',
1512
+ certName: 'cert_name',
1513
+ authorized: 'authorized',
1514
+ externParam: 'extern_param',
1515
+ };
1516
+ }
1517
+ static types() {
1518
+ return {
1519
+ authToken: 'string',
1520
+ productInstanceId: 'string',
1521
+ outerOrderNo: 'string',
1522
+ certNo: 'string',
1523
+ certName: 'string',
1524
+ authorized: 'boolean',
1525
+ externParam: 'string',
1526
+ };
1527
+ }
1528
+ }
1529
+ exports.QueryEducationInfoRequest = QueryEducationInfoRequest;
1530
+ class QueryEducationInfoResponse extends $tea.Model {
1531
+ constructor(map) {
1532
+ super(map);
1533
+ }
1534
+ static names() {
1535
+ return {
1536
+ reqMsgId: 'req_msg_id',
1537
+ resultCode: 'result_code',
1538
+ resultMsg: 'result_msg',
1539
+ educationInfo: 'education_info',
1540
+ externInfo: 'extern_info',
1541
+ };
1542
+ }
1543
+ static types() {
1544
+ return {
1545
+ reqMsgId: 'string',
1546
+ resultCode: 'string',
1547
+ resultMsg: 'string',
1548
+ educationInfo: 'string',
1549
+ externInfo: 'string',
1550
+ };
1551
+ }
1552
+ }
1553
+ exports.QueryEducationInfoResponse = QueryEducationInfoResponse;
1554
+ class QueryDemoInfoRequest extends $tea.Model {
1555
+ constructor(map) {
1556
+ super(map);
1557
+ }
1558
+ static names() {
1559
+ return {
1560
+ authToken: 'auth_token',
1561
+ productInstanceId: 'product_instance_id',
1562
+ token: 'token',
1563
+ };
1564
+ }
1565
+ static types() {
1566
+ return {
1567
+ authToken: 'string',
1568
+ productInstanceId: 'string',
1569
+ token: 'string',
1570
+ };
1571
+ }
1572
+ }
1573
+ exports.QueryDemoInfoRequest = QueryDemoInfoRequest;
1574
+ class QueryDemoInfoResponse extends $tea.Model {
1575
+ constructor(map) {
1576
+ super(map);
1577
+ }
1578
+ static names() {
1579
+ return {
1580
+ reqMsgId: 'req_msg_id',
1581
+ resultCode: 'result_code',
1582
+ resultMsg: 'result_msg',
1583
+ record: 'record',
1584
+ };
1585
+ }
1586
+ static types() {
1587
+ return {
1588
+ reqMsgId: 'string',
1589
+ resultCode: 'string',
1590
+ resultMsg: 'string',
1591
+ record: 'string',
1592
+ };
1593
+ }
1594
+ }
1595
+ exports.QueryDemoInfoResponse = QueryDemoInfoResponse;
1596
+ class CheckBankcardTwometaRequest extends $tea.Model {
1597
+ constructor(map) {
1598
+ super(map);
1599
+ }
1600
+ static names() {
1601
+ return {
1602
+ authToken: 'auth_token',
1603
+ productInstanceId: 'product_instance_id',
1604
+ outerOrderNo: 'outer_order_no',
1605
+ metaMode: 'meta_mode',
1606
+ certType: 'cert_type',
1607
+ bankCard: 'bank_card',
1608
+ mobile: 'mobile',
1609
+ certName: 'cert_name',
1610
+ certNo: 'cert_no',
1611
+ externParam: 'extern_param',
1612
+ };
1613
+ }
1614
+ static types() {
1615
+ return {
1616
+ authToken: 'string',
1617
+ productInstanceId: 'string',
1618
+ outerOrderNo: 'string',
1619
+ metaMode: 'string',
1620
+ certType: 'string',
1621
+ bankCard: 'string',
1622
+ mobile: 'string',
1623
+ certName: 'string',
1624
+ certNo: 'string',
1625
+ externParam: 'string',
1626
+ };
1627
+ }
1628
+ }
1629
+ exports.CheckBankcardTwometaRequest = CheckBankcardTwometaRequest;
1630
+ class CheckBankcardTwometaResponse extends $tea.Model {
1631
+ constructor(map) {
1632
+ super(map);
1633
+ }
1634
+ static names() {
1635
+ return {
1636
+ reqMsgId: 'req_msg_id',
1637
+ resultCode: 'result_code',
1638
+ resultMsg: 'result_msg',
1639
+ externInfo: 'extern_info',
1640
+ };
1641
+ }
1642
+ static types() {
1643
+ return {
1644
+ reqMsgId: 'string',
1645
+ resultCode: 'string',
1646
+ resultMsg: 'string',
1647
+ externInfo: 'string',
1648
+ };
1649
+ }
1650
+ }
1651
+ exports.CheckBankcardTwometaResponse = CheckBankcardTwometaResponse;
1652
+ class CheckCarrierTwometaRequest extends $tea.Model {
1653
+ constructor(map) {
1654
+ super(map);
1655
+ }
1656
+ static names() {
1657
+ return {
1658
+ authToken: 'auth_token',
1659
+ productInstanceId: 'product_instance_id',
1660
+ outerOrderNo: 'outer_order_no',
1661
+ metaMode: 'meta_mode',
1662
+ mobile: 'mobile',
1663
+ certName: 'cert_name',
1664
+ certNo: 'cert_no',
1665
+ carrier: 'carrier',
1666
+ externParam: 'extern_param',
1667
+ };
1668
+ }
1669
+ static types() {
1670
+ return {
1671
+ authToken: 'string',
1672
+ productInstanceId: 'string',
1673
+ outerOrderNo: 'string',
1674
+ metaMode: 'string',
1675
+ mobile: 'string',
1676
+ certName: 'string',
1677
+ certNo: 'string',
1678
+ carrier: 'string',
1679
+ externParam: 'string',
1680
+ };
1681
+ }
1682
+ }
1683
+ exports.CheckCarrierTwometaRequest = CheckCarrierTwometaRequest;
1684
+ class CheckCarrierTwometaResponse extends $tea.Model {
1685
+ constructor(map) {
1686
+ super(map);
1687
+ }
1688
+ static names() {
1689
+ return {
1690
+ reqMsgId: 'req_msg_id',
1691
+ resultCode: 'result_code',
1692
+ resultMsg: 'result_msg',
1693
+ externInfo: 'extern_info',
1694
+ };
1695
+ }
1696
+ static types() {
1697
+ return {
1698
+ reqMsgId: 'string',
1699
+ resultCode: 'string',
1700
+ resultMsg: 'string',
1701
+ externInfo: 'string',
1702
+ };
1703
+ }
1704
+ }
1705
+ exports.CheckCarrierTwometaResponse = CheckCarrierTwometaResponse;
1706
+ class CreateNfcServerRequest extends $tea.Model {
1707
+ constructor(map) {
1708
+ super(map);
1709
+ }
1710
+ static names() {
1711
+ return {
1712
+ authToken: 'auth_token',
1713
+ productInstanceId: 'product_instance_id',
1714
+ certType: 'cert_type',
1715
+ certNo: 'cert_no',
1716
+ certName: 'cert_name',
1717
+ birthday: 'birthday',
1718
+ validateDate: 'validate_date',
1719
+ mode: 'mode',
1720
+ externParam: 'extern_param',
1721
+ metaInfo: 'meta_info',
1722
+ outerOrderNo: 'outer_order_no',
1723
+ sceneId: 'scene_id',
1724
+ userId: 'user_id',
1725
+ };
1726
+ }
1727
+ static types() {
1728
+ return {
1729
+ authToken: 'string',
1730
+ productInstanceId: 'string',
1731
+ certType: 'string',
1732
+ certNo: 'string',
1733
+ certName: 'string',
1734
+ birthday: 'string',
1735
+ validateDate: 'string',
1736
+ mode: 'string',
1737
+ externParam: 'string',
1738
+ metaInfo: 'string',
1739
+ outerOrderNo: 'string',
1740
+ sceneId: 'string',
1741
+ userId: 'string',
1742
+ };
1743
+ }
1744
+ }
1745
+ exports.CreateNfcServerRequest = CreateNfcServerRequest;
1746
+ class CreateNfcServerResponse extends $tea.Model {
1747
+ constructor(map) {
1748
+ super(map);
1749
+ }
1750
+ static names() {
1751
+ return {
1752
+ reqMsgId: 'req_msg_id',
1753
+ resultCode: 'result_code',
1754
+ resultMsg: 'result_msg',
1755
+ certifyId: 'certify_id',
1756
+ };
1757
+ }
1758
+ static types() {
1759
+ return {
1760
+ reqMsgId: 'string',
1761
+ resultCode: 'string',
1762
+ resultMsg: 'string',
1763
+ certifyId: 'string',
1764
+ };
1765
+ }
1766
+ }
1767
+ exports.CreateNfcServerResponse = CreateNfcServerResponse;
1768
+ class QueryNfcServerRequest extends $tea.Model {
1769
+ constructor(map) {
1770
+ super(map);
1771
+ }
1772
+ static names() {
1773
+ return {
1774
+ authToken: 'auth_token',
1775
+ productInstanceId: 'product_instance_id',
1776
+ certifyId: 'certify_id',
1777
+ externParam: 'extern_param',
1778
+ outerOrderNo: 'outer_order_no',
1779
+ sceneId: 'scene_id',
1780
+ };
1781
+ }
1782
+ static types() {
1783
+ return {
1784
+ authToken: 'string',
1785
+ productInstanceId: 'string',
1786
+ certifyId: 'string',
1787
+ externParam: 'string',
1788
+ outerOrderNo: 'string',
1789
+ sceneId: 'string',
1790
+ };
1791
+ }
1792
+ }
1793
+ exports.QueryNfcServerRequest = QueryNfcServerRequest;
1794
+ class QueryNfcServerResponse extends $tea.Model {
1795
+ constructor(map) {
1796
+ super(map);
1797
+ }
1798
+ static names() {
1799
+ return {
1800
+ reqMsgId: 'req_msg_id',
1801
+ resultCode: 'result_code',
1802
+ resultMsg: 'result_msg',
1803
+ passed: 'passed',
1804
+ reason: 'reason',
1805
+ materialInfo: 'material_info',
1806
+ };
1807
+ }
1808
+ static types() {
1809
+ return {
1810
+ reqMsgId: 'string',
1811
+ resultCode: 'string',
1812
+ resultMsg: 'string',
1813
+ passed: 'string',
1814
+ reason: 'string',
1815
+ materialInfo: 'string',
1816
+ };
1817
+ }
1818
+ }
1819
+ exports.QueryNfcServerResponse = QueryNfcServerResponse;
1494
1820
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
1495
1821
  constructor(map) {
1496
1822
  super(map);
@@ -1635,7 +1961,7 @@ class Client {
1635
1961
  req_msg_id: alipay_util_1.default.getNonce(),
1636
1962
  access_key: this._accessKeyId,
1637
1963
  base_sdk_version: "TeaSDK-2.0",
1638
- sdk_version: "1.13.0",
1964
+ sdk_version: "1.15.0",
1639
1965
  _prod_code: "REALPERSON",
1640
1966
  _prod_channel: "undefined",
1641
1967
  };
@@ -2099,6 +2425,108 @@ class Client {
2099
2425
  tea_util_1.default.validateModel(request);
2100
2426
  return $tea.cast(await this.doRequest("1.0", "di.realperson.tscenter.device.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTscenterDeviceResponse({}));
2101
2427
  }
2428
+ /**
2429
+ * Description: 学历验证
2430
+ * Summary: 学历验证
2431
+ */
2432
+ async queryEducationInfo(request) {
2433
+ let runtime = new $Util.RuntimeOptions({});
2434
+ let headers = {};
2435
+ return await this.queryEducationInfoEx(request, headers, runtime);
2436
+ }
2437
+ /**
2438
+ * Description: 学历验证
2439
+ * Summary: 学历验证
2440
+ */
2441
+ async queryEducationInfoEx(request, headers, runtime) {
2442
+ tea_util_1.default.validateModel(request);
2443
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.education.info.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryEducationInfoResponse({}));
2444
+ }
2445
+ /**
2446
+ * Description: demo用记录查询
2447
+ * Summary: demo用记录查询
2448
+ */
2449
+ async queryDemoInfo(request) {
2450
+ let runtime = new $Util.RuntimeOptions({});
2451
+ let headers = {};
2452
+ return await this.queryDemoInfoEx(request, headers, runtime);
2453
+ }
2454
+ /**
2455
+ * Description: demo用记录查询
2456
+ * Summary: demo用记录查询
2457
+ */
2458
+ async queryDemoInfoEx(request, headers, runtime) {
2459
+ tea_util_1.default.validateModel(request);
2460
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.demo.info.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDemoInfoResponse({}));
2461
+ }
2462
+ /**
2463
+ * Description: 个人银行卡二要素
2464
+ * Summary: 个人银行卡二要素
2465
+ */
2466
+ async checkBankcardTwometa(request) {
2467
+ let runtime = new $Util.RuntimeOptions({});
2468
+ let headers = {};
2469
+ return await this.checkBankcardTwometaEx(request, headers, runtime);
2470
+ }
2471
+ /**
2472
+ * Description: 个人银行卡二要素
2473
+ * Summary: 个人银行卡二要素
2474
+ */
2475
+ async checkBankcardTwometaEx(request, headers, runtime) {
2476
+ tea_util_1.default.validateModel(request);
2477
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.bankcard.twometa.check", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CheckBankcardTwometaResponse({}));
2478
+ }
2479
+ /**
2480
+ * Description: 个人运营商二要素
2481
+ * Summary: 个人运营商二要素
2482
+ */
2483
+ async checkCarrierTwometa(request) {
2484
+ let runtime = new $Util.RuntimeOptions({});
2485
+ let headers = {};
2486
+ return await this.checkCarrierTwometaEx(request, headers, runtime);
2487
+ }
2488
+ /**
2489
+ * Description: 个人运营商二要素
2490
+ * Summary: 个人运营商二要素
2491
+ */
2492
+ async checkCarrierTwometaEx(request, headers, runtime) {
2493
+ tea_util_1.default.validateModel(request);
2494
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.carrier.twometa.check", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CheckCarrierTwometaResponse({}));
2495
+ }
2496
+ /**
2497
+ * Description: NFC实证
2498
+ * Summary: NFC实证
2499
+ */
2500
+ async createNfcServer(request) {
2501
+ let runtime = new $Util.RuntimeOptions({});
2502
+ let headers = {};
2503
+ return await this.createNfcServerEx(request, headers, runtime);
2504
+ }
2505
+ /**
2506
+ * Description: NFC实证
2507
+ * Summary: NFC实证
2508
+ */
2509
+ async createNfcServerEx(request, headers, runtime) {
2510
+ tea_util_1.default.validateModel(request);
2511
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.nfc.server.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateNfcServerResponse({}));
2512
+ }
2513
+ /**
2514
+ * Description: NFC实证
2515
+ * Summary: NFC实证
2516
+ */
2517
+ async queryNfcServer(request) {
2518
+ let runtime = new $Util.RuntimeOptions({});
2519
+ let headers = {};
2520
+ return await this.queryNfcServerEx(request, headers, runtime);
2521
+ }
2522
+ /**
2523
+ * Description: NFC实证
2524
+ * Summary: NFC实证
2525
+ */
2526
+ async queryNfcServerEx(request, headers, runtime) {
2527
+ tea_util_1.default.validateModel(request);
2528
+ return $tea.cast(await this.doRequest("1.0", "di.realperson.nfc.server.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryNfcServerResponse({}));
2529
+ }
2102
2530
  /**
2103
2531
  * Description: 创建HTTP PUT提交的文件上传
2104
2532
  * Summary: 文件上传创建