@antchain/riskplus 1.12.14 → 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.14",
3
+ "version": "1.12.17",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -374,19 +374,22 @@ export class RtopRiskTag extends $tea.Model {
374
374
  // 回执统计数据详情
375
375
  export class StatisticInfoDetail extends $tea.Model {
376
376
  // actionDriverCode类型
377
- actionDriverCode: number;
377
+ actionDriverCode?: number;
378
378
  // 调用总数
379
- invokeCount: number;
379
+ invokeCount?: number;
380
380
  // 成功数
381
- successCount: number;
381
+ successCount?: number;
382
382
  // 失败数
383
- failCount: number;
383
+ failCount?: number;
384
+ // 已处理完成任务数
385
+ finishCount?: number;
384
386
  static names(): { [key: string]: string } {
385
387
  return {
386
388
  actionDriverCode: 'action_driver_code',
387
389
  invokeCount: 'invoke_count',
388
390
  successCount: 'success_count',
389
391
  failCount: 'fail_count',
392
+ finishCount: 'finish_count',
390
393
  };
391
394
  }
392
395
 
@@ -396,6 +399,7 @@ export class StatisticInfoDetail extends $tea.Model {
396
399
  invokeCount: 'number',
397
400
  successCount: 'number',
398
401
  failCount: 'number',
402
+ finishCount: 'number',
399
403
  };
400
404
  }
401
405
 
@@ -1744,6 +1748,39 @@ export class ZhimaQueryResp extends $tea.Model {
1744
1748
  }
1745
1749
  }
1746
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
+
1747
1784
  // 机构平台通知响应结果
1748
1785
  export class DefinInnerChannelNotifyResult extends $tea.Model {
1749
1786
  // 请求编号
@@ -2408,6 +2445,47 @@ export class RpcommonResp extends $tea.Model {
2408
2445
  }
2409
2446
  }
2410
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
+
2411
2489
  // 标签图片
2412
2490
  export class RtopTagImage extends $tea.Model {
2413
2491
  // 标签图片表主键
@@ -5683,12 +5761,15 @@ export class BindDubbridgeCustomerBankcardResponse extends $tea.Model {
5683
5761
  resultMsg?: string;
5684
5762
  // 绑卡流水
5685
5763
  bindSerialNo?: string;
5764
+ // 客户号
5765
+ customerNo?: string;
5686
5766
  static names(): { [key: string]: string } {
5687
5767
  return {
5688
5768
  reqMsgId: 'req_msg_id',
5689
5769
  resultCode: 'result_code',
5690
5770
  resultMsg: 'result_msg',
5691
5771
  bindSerialNo: 'bind_serial_no',
5772
+ customerNo: 'customer_no',
5692
5773
  };
5693
5774
  }
5694
5775
 
@@ -5698,6 +5779,7 @@ export class BindDubbridgeCustomerBankcardResponse extends $tea.Model {
5698
5779
  resultCode: 'string',
5699
5780
  resultMsg: 'string',
5700
5781
  bindSerialNo: 'string',
5782
+ customerNo: 'string',
5701
5783
  };
5702
5784
  }
5703
5785
 
@@ -7138,8 +7220,6 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
7138
7220
  repayType: string;
7139
7221
  // 订单号
7140
7222
  orderNo: string;
7141
- // 借据号
7142
- receiptNo: string;
7143
7223
  static names(): { [key: string]: string } {
7144
7224
  return {
7145
7225
  authToken: 'auth_token',
@@ -7147,7 +7227,6 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
7147
7227
  originalOrderNo: 'original_order_no',
7148
7228
  repayType: 'repay_type',
7149
7229
  orderNo: 'order_no',
7150
- receiptNo: 'receipt_no',
7151
7230
  };
7152
7231
  }
7153
7232
 
@@ -7158,7 +7237,6 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
7158
7237
  originalOrderNo: 'string',
7159
7238
  repayType: 'string',
7160
7239
  orderNo: 'string',
7161
- receiptNo: 'string',
7162
7240
  };
7163
7241
  }
7164
7242
 
@@ -7280,11 +7358,14 @@ export class QueryDubbridgeSearchContractRequest extends $tea.Model {
7280
7358
  productInstanceId?: string;
7281
7359
  // 原用信订单号
7282
7360
  originalOrderNo: string;
7361
+ // 客户号
7362
+ customerNo: string;
7283
7363
  static names(): { [key: string]: string } {
7284
7364
  return {
7285
7365
  authToken: 'auth_token',
7286
7366
  productInstanceId: 'product_instance_id',
7287
7367
  originalOrderNo: 'original_order_no',
7368
+ customerNo: 'customer_no',
7288
7369
  };
7289
7370
  }
7290
7371
 
@@ -7293,6 +7374,7 @@ export class QueryDubbridgeSearchContractRequest extends $tea.Model {
7293
7374
  authToken: 'string',
7294
7375
  productInstanceId: 'string',
7295
7376
  originalOrderNo: 'string',
7377
+ customerNo: 'string',
7296
7378
  };
7297
7379
  }
7298
7380
 
@@ -7574,6 +7656,239 @@ export class QueryDubbridgeReceiptStatusResponse extends $tea.Model {
7574
7656
  }
7575
7657
  }
7576
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
+
7577
7892
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
7578
7893
  // OAuth模式下的授权token
7579
7894
  authToken?: string;
@@ -12573,7 +12888,7 @@ export default class Client {
12573
12888
  req_msg_id: AntchainUtil.getNonce(),
12574
12889
  access_key: this._accessKeyId,
12575
12890
  base_sdk_version: "TeaSDK-2.0",
12576
- sdk_version: "1.12.14",
12891
+ sdk_version: "1.12.17",
12577
12892
  _prod_code: "RISKPLUS",
12578
12893
  _prod_channel: "undefined",
12579
12894
  };
@@ -13668,6 +13983,63 @@ export default class Client {
13668
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({}));
13669
13984
  }
13670
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
+
13671
14043
  /**
13672
14044
  * Description: 四要素认证首先调用此接口
13673
14045
  * Summary: 芝麻四要素接口