@antchain/riskplus 1.12.16 → 1.12.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.12.16",
3
+ "version": "1.12.17",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1748,6 +1748,39 @@ export class ZhimaQueryResp extends $tea.Model {
1748
1748
  }
1749
1749
  }
1750
1750
 
1751
+ // 企业信息详情
1752
+ export class BusinessDetail extends $tea.Model {
1753
+ // 经营地址
1754
+ operatingAddrJson: string;
1755
+ // 社会统一信用代码
1756
+ ucCode: string;
1757
+ // 注册日期
1758
+ registerDate: string;
1759
+ // 详细地址
1760
+ addressDetail: string;
1761
+ static names(): { [key: string]: string } {
1762
+ return {
1763
+ operatingAddrJson: 'operating_addr_json',
1764
+ ucCode: 'uc_code',
1765
+ registerDate: 'register_date',
1766
+ addressDetail: 'address_detail',
1767
+ };
1768
+ }
1769
+
1770
+ static types(): { [key: string]: any } {
1771
+ return {
1772
+ operatingAddrJson: 'string',
1773
+ ucCode: 'string',
1774
+ registerDate: 'string',
1775
+ addressDetail: 'string',
1776
+ };
1777
+ }
1778
+
1779
+ constructor(map?: { [key: string]: any }) {
1780
+ super(map);
1781
+ }
1782
+ }
1783
+
1751
1784
  // 机构平台通知响应结果
1752
1785
  export class DefinInnerChannelNotifyResult extends $tea.Model {
1753
1786
  // 请求编号
@@ -2412,6 +2445,47 @@ export class RpcommonResp extends $tea.Model {
2412
2445
  }
2413
2446
  }
2414
2447
 
2448
+ // 公司列表
2449
+ export class CompanyItems extends $tea.Model {
2450
+ // 公司id
2451
+ companyId: string;
2452
+ // 蚂蚁科技集团股份有限公司
2453
+ companyName: string;
2454
+ // 匹配名称
2455
+ matchingName: string;
2456
+ // 匹配类型
2457
+ matchingType: string;
2458
+ // 匹配值
2459
+ matchingValue: string;
2460
+ // 返回标识
2461
+ ucCode: string;
2462
+ static names(): { [key: string]: string } {
2463
+ return {
2464
+ companyId: 'company_id',
2465
+ companyName: 'company_name',
2466
+ matchingName: 'matching_name',
2467
+ matchingType: 'matching_type',
2468
+ matchingValue: 'matching_value',
2469
+ ucCode: 'uc_code',
2470
+ };
2471
+ }
2472
+
2473
+ static types(): { [key: string]: any } {
2474
+ return {
2475
+ companyId: 'string',
2476
+ companyName: 'string',
2477
+ matchingName: 'string',
2478
+ matchingType: 'string',
2479
+ matchingValue: 'string',
2480
+ ucCode: 'string',
2481
+ };
2482
+ }
2483
+
2484
+ constructor(map?: { [key: string]: any }) {
2485
+ super(map);
2486
+ }
2487
+ }
2488
+
2415
2489
  // 标签图片
2416
2490
  export class RtopTagImage extends $tea.Model {
2417
2491
  // 标签图片表主键
@@ -7582,6 +7656,239 @@ export class QueryDubbridgeReceiptStatusResponse extends $tea.Model {
7582
7656
  }
7583
7657
  }
7584
7658
 
7659
+ export class QueryDubbridgeCustomerCommonagreementsignRequest extends $tea.Model {
7660
+ // OAuth模式下的授权token
7661
+ authToken?: string;
7662
+ productInstanceId?: string;
7663
+ // 订单号
7664
+ orderNo: string;
7665
+ // 客户编号
7666
+ customNo: string;
7667
+ // 资金方编号
7668
+ fundNo: string;
7669
+ static names(): { [key: string]: string } {
7670
+ return {
7671
+ authToken: 'auth_token',
7672
+ productInstanceId: 'product_instance_id',
7673
+ orderNo: 'order_no',
7674
+ customNo: 'custom_no',
7675
+ fundNo: 'fund_no',
7676
+ };
7677
+ }
7678
+
7679
+ static types(): { [key: string]: any } {
7680
+ return {
7681
+ authToken: 'string',
7682
+ productInstanceId: 'string',
7683
+ orderNo: 'string',
7684
+ customNo: 'string',
7685
+ fundNo: 'string',
7686
+ };
7687
+ }
7688
+
7689
+ constructor(map?: { [key: string]: any }) {
7690
+ super(map);
7691
+ }
7692
+ }
7693
+
7694
+ export class QueryDubbridgeCustomerCommonagreementsignResponse extends $tea.Model {
7695
+ // 请求唯一ID,用于链路跟踪和问题排查
7696
+ reqMsgId?: string;
7697
+ // 结果码,一般OK表示调用成功
7698
+ resultCode?: string;
7699
+ // 异常信息的文本描述
7700
+ resultMsg?: string;
7701
+ // 客户编号
7702
+ customNo?: string;
7703
+ // 客户名称
7704
+ customName?: string;
7705
+ // 流水号
7706
+ transSerials?: string;
7707
+ // 签约状态
7708
+ status?: string;
7709
+ // 签约用户唯一标识
7710
+ accountUserId?: string;
7711
+ // 脱敏的签约账号
7712
+ accountNo?: string;
7713
+ // 协议号
7714
+ protocolNo?: string;
7715
+ // 协议签约时间
7716
+ signTime?: string;
7717
+ // 协议生效时间
7718
+ validTime?: string;
7719
+ // 协议失效时间
7720
+ invalidTime?: string;
7721
+ static names(): { [key: string]: string } {
7722
+ return {
7723
+ reqMsgId: 'req_msg_id',
7724
+ resultCode: 'result_code',
7725
+ resultMsg: 'result_msg',
7726
+ customNo: 'custom_no',
7727
+ customName: 'custom_name',
7728
+ transSerials: 'trans_serials',
7729
+ status: 'status',
7730
+ accountUserId: 'account_user_id',
7731
+ accountNo: 'account_no',
7732
+ protocolNo: 'protocol_no',
7733
+ signTime: 'sign_time',
7734
+ validTime: 'valid_time',
7735
+ invalidTime: 'invalid_time',
7736
+ };
7737
+ }
7738
+
7739
+ static types(): { [key: string]: any } {
7740
+ return {
7741
+ reqMsgId: 'string',
7742
+ resultCode: 'string',
7743
+ resultMsg: 'string',
7744
+ customNo: 'string',
7745
+ customName: 'string',
7746
+ transSerials: 'string',
7747
+ status: 'string',
7748
+ accountUserId: 'string',
7749
+ accountNo: 'string',
7750
+ protocolNo: 'string',
7751
+ signTime: 'string',
7752
+ validTime: 'string',
7753
+ invalidTime: 'string',
7754
+ };
7755
+ }
7756
+
7757
+ constructor(map?: { [key: string]: any }) {
7758
+ super(map);
7759
+ }
7760
+ }
7761
+
7762
+ export class QueryDubbridgeCompanyItemsRequest extends $tea.Model {
7763
+ // OAuth模式下的授权token
7764
+ authToken?: string;
7765
+ productInstanceId?: string;
7766
+ // 查询字段(公司名、产品名、平台名等不能为空)
7767
+ keyword: string;
7768
+ static names(): { [key: string]: string } {
7769
+ return {
7770
+ authToken: 'auth_token',
7771
+ productInstanceId: 'product_instance_id',
7772
+ keyword: 'keyword',
7773
+ };
7774
+ }
7775
+
7776
+ static types(): { [key: string]: any } {
7777
+ return {
7778
+ authToken: 'string',
7779
+ productInstanceId: 'string',
7780
+ keyword: 'string',
7781
+ };
7782
+ }
7783
+
7784
+ constructor(map?: { [key: string]: any }) {
7785
+ super(map);
7786
+ }
7787
+ }
7788
+
7789
+ export class QueryDubbridgeCompanyItemsResponse extends $tea.Model {
7790
+ // 请求唯一ID,用于链路跟踪和问题排查
7791
+ reqMsgId?: string;
7792
+ // 结果码,一般OK表示调用成功
7793
+ resultCode?: string;
7794
+ // 异常信息的文本描述
7795
+ resultMsg?: string;
7796
+ // 返回公司列表
7797
+ businessItems?: CompanyItems[];
7798
+ // 企业信息个数
7799
+ total?: number;
7800
+ static names(): { [key: string]: string } {
7801
+ return {
7802
+ reqMsgId: 'req_msg_id',
7803
+ resultCode: 'result_code',
7804
+ resultMsg: 'result_msg',
7805
+ businessItems: 'business_items',
7806
+ total: 'total',
7807
+ };
7808
+ }
7809
+
7810
+ static types(): { [key: string]: any } {
7811
+ return {
7812
+ reqMsgId: 'string',
7813
+ resultCode: 'string',
7814
+ resultMsg: 'string',
7815
+ businessItems: { 'type': 'array', 'itemType': CompanyItems },
7816
+ total: 'number',
7817
+ };
7818
+ }
7819
+
7820
+ constructor(map?: { [key: string]: any }) {
7821
+ super(map);
7822
+ }
7823
+ }
7824
+
7825
+ export class UpdateDubbridgeFileRequest extends $tea.Model {
7826
+ // OAuth模式下的授权token
7827
+ authToken?: string;
7828
+ productInstanceId?: string;
7829
+ // 订单号
7830
+ orderNo: string;
7831
+ // 授信申请订单号(资产方)
7832
+ originalOrderNo: string;
7833
+ // 客户编号
7834
+ customNo: string;
7835
+ // 资料文件
7836
+ materials: Material[];
7837
+ static names(): { [key: string]: string } {
7838
+ return {
7839
+ authToken: 'auth_token',
7840
+ productInstanceId: 'product_instance_id',
7841
+ orderNo: 'order_no',
7842
+ originalOrderNo: 'original_order_no',
7843
+ customNo: 'custom_no',
7844
+ materials: 'materials',
7845
+ };
7846
+ }
7847
+
7848
+ static types(): { [key: string]: any } {
7849
+ return {
7850
+ authToken: 'string',
7851
+ productInstanceId: 'string',
7852
+ orderNo: 'string',
7853
+ originalOrderNo: 'string',
7854
+ customNo: 'string',
7855
+ materials: { 'type': 'array', 'itemType': Material },
7856
+ };
7857
+ }
7858
+
7859
+ constructor(map?: { [key: string]: any }) {
7860
+ super(map);
7861
+ }
7862
+ }
7863
+
7864
+ export class UpdateDubbridgeFileResponse extends $tea.Model {
7865
+ // 请求唯一ID,用于链路跟踪和问题排查
7866
+ reqMsgId?: string;
7867
+ // 结果码,一般OK表示调用成功
7868
+ resultCode?: string;
7869
+ // 异常信息的文本描述
7870
+ resultMsg?: string;
7871
+ static names(): { [key: string]: string } {
7872
+ return {
7873
+ reqMsgId: 'req_msg_id',
7874
+ resultCode: 'result_code',
7875
+ resultMsg: 'result_msg',
7876
+ };
7877
+ }
7878
+
7879
+ static types(): { [key: string]: any } {
7880
+ return {
7881
+ reqMsgId: 'string',
7882
+ resultCode: 'string',
7883
+ resultMsg: 'string',
7884
+ };
7885
+ }
7886
+
7887
+ constructor(map?: { [key: string]: any }) {
7888
+ super(map);
7889
+ }
7890
+ }
7891
+
7585
7892
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
7586
7893
  // OAuth模式下的授权token
7587
7894
  authToken?: string;
@@ -12581,7 +12888,7 @@ export default class Client {
12581
12888
  req_msg_id: AntchainUtil.getNonce(),
12582
12889
  access_key: this._accessKeyId,
12583
12890
  base_sdk_version: "TeaSDK-2.0",
12584
- sdk_version: "1.12.16",
12891
+ sdk_version: "1.12.17",
12585
12892
  _prod_code: "RISKPLUS",
12586
12893
  _prod_channel: "undefined",
12587
12894
  };
@@ -13676,6 +13983,63 @@ export default class Client {
13676
13983
  return $tea.cast<QueryDubbridgeReceiptStatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.receipt.status.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeReceiptStatusResponse({}));
13677
13984
  }
13678
13985
 
13986
+ /**
13987
+ * Description: 天枢系统协议签约查询(通用)
13988
+ * Summary: 天枢系统协议签约查询(通用)
13989
+ */
13990
+ async queryDubbridgeCustomerCommonagreementsign(request: QueryDubbridgeCustomerCommonagreementsignRequest): Promise<QueryDubbridgeCustomerCommonagreementsignResponse> {
13991
+ let runtime = new $Util.RuntimeOptions({ });
13992
+ let headers : {[key: string ]: string} = { };
13993
+ return await this.queryDubbridgeCustomerCommonagreementsignEx(request, headers, runtime);
13994
+ }
13995
+
13996
+ /**
13997
+ * Description: 天枢系统协议签约查询(通用)
13998
+ * Summary: 天枢系统协议签约查询(通用)
13999
+ */
14000
+ async queryDubbridgeCustomerCommonagreementsignEx(request: QueryDubbridgeCustomerCommonagreementsignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCustomerCommonagreementsignResponse> {
14001
+ Util.validateModel(request);
14002
+ return $tea.cast<QueryDubbridgeCustomerCommonagreementsignResponse>(await this.doRequest("1.0", "riskplus.dubbridge.customer.commonagreementsign.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCustomerCommonagreementsignResponse({}));
14003
+ }
14004
+
14005
+ /**
14006
+ * Description: 根据关键字从第三方查询企业信息
14007
+ * Summary: 天枢系统企业搜索
14008
+ */
14009
+ async queryDubbridgeCompanyItems(request: QueryDubbridgeCompanyItemsRequest): Promise<QueryDubbridgeCompanyItemsResponse> {
14010
+ let runtime = new $Util.RuntimeOptions({ });
14011
+ let headers : {[key: string ]: string} = { };
14012
+ return await this.queryDubbridgeCompanyItemsEx(request, headers, runtime);
14013
+ }
14014
+
14015
+ /**
14016
+ * Description: 根据关键字从第三方查询企业信息
14017
+ * Summary: 天枢系统企业搜索
14018
+ */
14019
+ async queryDubbridgeCompanyItemsEx(request: QueryDubbridgeCompanyItemsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCompanyItemsResponse> {
14020
+ Util.validateModel(request);
14021
+ return $tea.cast<QueryDubbridgeCompanyItemsResponse>(await this.doRequest("1.0", "riskplus.dubbridge.company.items.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCompanyItemsResponse({}));
14022
+ }
14023
+
14024
+ /**
14025
+ * Description: 客户影像信息更新
14026
+ * Summary: 客户影像信息更新
14027
+ */
14028
+ async updateDubbridgeFile(request: UpdateDubbridgeFileRequest): Promise<UpdateDubbridgeFileResponse> {
14029
+ let runtime = new $Util.RuntimeOptions({ });
14030
+ let headers : {[key: string ]: string} = { };
14031
+ return await this.updateDubbridgeFileEx(request, headers, runtime);
14032
+ }
14033
+
14034
+ /**
14035
+ * Description: 客户影像信息更新
14036
+ * Summary: 客户影像信息更新
14037
+ */
14038
+ async updateDubbridgeFileEx(request: UpdateDubbridgeFileRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateDubbridgeFileResponse> {
14039
+ Util.validateModel(request);
14040
+ return $tea.cast<UpdateDubbridgeFileResponse>(await this.doRequest("1.0", "riskplus.dubbridge.file.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateDubbridgeFileResponse({}));
14041
+ }
14042
+
13679
14043
  /**
13680
14044
  * Description: 四要素认证首先调用此接口
13681
14045
  * Summary: 芝麻四要素接口