@antchain/riskplus 1.16.2 → 1.16.3

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.16.2",
3
+ "version": "1.16.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -2733,6 +2733,55 @@ export class RtopGenderDistribution extends $tea.Model {
2733
2733
  }
2734
2734
  }
2735
2735
 
2736
+ // 授信信息
2737
+ export class ApplyInfo extends $tea.Model {
2738
+ // 授信编号
2739
+ applyNo?: string;
2740
+ // 资金方编号
2741
+ fundCode?: string;
2742
+ // 资金方名称
2743
+ fundName?: string;
2744
+ // 贷款利率
2745
+ rateValue?: number;
2746
+ // 贷款日利率
2747
+ rateValueDay?: number;
2748
+ // 年天数
2749
+ daysNumYear?: number;
2750
+ // 总授信额度
2751
+ totalAmount?: number;
2752
+ // 可用额度
2753
+ balanceAmount?: number;
2754
+ static names(): { [key: string]: string } {
2755
+ return {
2756
+ applyNo: 'apply_no',
2757
+ fundCode: 'fund_code',
2758
+ fundName: 'fund_name',
2759
+ rateValue: 'rate_value',
2760
+ rateValueDay: 'rate_value_day',
2761
+ daysNumYear: 'days_num_year',
2762
+ totalAmount: 'total_amount',
2763
+ balanceAmount: 'balance_amount',
2764
+ };
2765
+ }
2766
+
2767
+ static types(): { [key: string]: any } {
2768
+ return {
2769
+ applyNo: 'string',
2770
+ fundCode: 'string',
2771
+ fundName: 'string',
2772
+ rateValue: 'number',
2773
+ rateValueDay: 'number',
2774
+ daysNumYear: 'number',
2775
+ totalAmount: 'number',
2776
+ balanceAmount: 'number',
2777
+ };
2778
+ }
2779
+
2780
+ constructor(map?: { [key: string]: any }) {
2781
+ super(map);
2782
+ }
2783
+ }
2784
+
2736
2785
  // 是否联登结构体
2737
2786
  export class CustomRelationStatus extends $tea.Model {
2738
2787
  // 是否联登
@@ -3421,6 +3470,10 @@ export class CreditAmount extends $tea.Model {
3421
3470
  repayWay: string;
3422
3471
  // 状态0-正常 1-冻结 2-终止
3423
3472
  status: string;
3473
+ // 发放日期(兼容字段)
3474
+ payDateSup?: string;
3475
+ // 到期日期(兼容字段)
3476
+ expireDateSup?: string;
3424
3477
  static names(): { [key: string]: string } {
3425
3478
  return {
3426
3479
  creditAmount: 'credit_amount',
@@ -3431,6 +3484,8 @@ export class CreditAmount extends $tea.Model {
3431
3484
  rateValue: 'rate_value',
3432
3485
  repayWay: 'repay_way',
3433
3486
  status: 'status',
3487
+ payDateSup: 'pay_date_sup',
3488
+ expireDateSup: 'expire_date_sup',
3434
3489
  };
3435
3490
  }
3436
3491
 
@@ -3444,6 +3499,8 @@ export class CreditAmount extends $tea.Model {
3444
3499
  rateValue: 'number',
3445
3500
  repayWay: 'string',
3446
3501
  status: 'string',
3502
+ payDateSup: 'string',
3503
+ expireDateSup: 'string',
3447
3504
  };
3448
3505
  }
3449
3506
 
@@ -5771,6 +5828,12 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
5771
5828
  trafficMktId?: string;
5772
5829
  // 预留
5773
5830
  clickId?: string;
5831
+ // 订单号
5832
+ orderNo?: string;
5833
+ // 风险字段
5834
+ riskData?: string;
5835
+ // 扩展字段
5836
+ extInfo?: string;
5774
5837
  static names(): { [key: string]: string } {
5775
5838
  return {
5776
5839
  authToken: 'auth_token',
@@ -5786,6 +5849,9 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
5786
5849
  trafficAdId: 'traffic_ad_id',
5787
5850
  trafficMktId: 'traffic_mkt_id',
5788
5851
  clickId: 'click_id',
5852
+ orderNo: 'order_no',
5853
+ riskData: 'risk_data',
5854
+ extInfo: 'ext_info',
5789
5855
  };
5790
5856
  }
5791
5857
 
@@ -5804,6 +5870,9 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
5804
5870
  trafficAdId: 'string',
5805
5871
  trafficMktId: 'string',
5806
5872
  clickId: 'string',
5873
+ orderNo: 'string',
5874
+ riskData: 'string',
5875
+ extInfo: 'string',
5807
5876
  };
5808
5877
  }
5809
5878
 
@@ -5977,6 +6046,8 @@ export class UploadDubbridgeFileRequest extends $tea.Model {
5977
6046
  fileObject?: Readable;
5978
6047
  fileObjectName?: string;
5979
6048
  fileId: string;
6049
+ // 文件类型
6050
+ fileType: string;
5980
6051
  static names(): { [key: string]: string } {
5981
6052
  return {
5982
6053
  authToken: 'auth_token',
@@ -5987,6 +6058,7 @@ export class UploadDubbridgeFileRequest extends $tea.Model {
5987
6058
  fileObject: 'fileObject',
5988
6059
  fileObjectName: 'fileObjectName',
5989
6060
  fileId: 'file_id',
6061
+ fileType: 'file_type',
5990
6062
  };
5991
6063
  }
5992
6064
 
@@ -6000,6 +6072,7 @@ export class UploadDubbridgeFileRequest extends $tea.Model {
6000
6072
  fileObject: 'Readable',
6001
6073
  fileObjectName: 'string',
6002
6074
  fileId: 'string',
6075
+ fileType: 'string',
6003
6076
  };
6004
6077
  }
6005
6078
 
@@ -6189,6 +6262,8 @@ export class VerifyDubbridgeCustomerBankcardResponse extends $tea.Model {
6189
6262
  bindSerialNo?: string;
6190
6263
  // 签约结果
6191
6264
  signResult?: string;
6265
+ // 客户号
6266
+ customerNo?: string;
6192
6267
  static names(): { [key: string]: string } {
6193
6268
  return {
6194
6269
  reqMsgId: 'req_msg_id',
@@ -6196,6 +6271,7 @@ export class VerifyDubbridgeCustomerBankcardResponse extends $tea.Model {
6196
6271
  resultMsg: 'result_msg',
6197
6272
  bindSerialNo: 'bind_serial_no',
6198
6273
  signResult: 'sign_result',
6274
+ customerNo: 'customer_no',
6199
6275
  };
6200
6276
  }
6201
6277
 
@@ -6206,6 +6282,7 @@ export class VerifyDubbridgeCustomerBankcardResponse extends $tea.Model {
6206
6282
  resultMsg: 'string',
6207
6283
  bindSerialNo: 'string',
6208
6284
  signResult: 'string',
6285
+ customerNo: 'string',
6209
6286
  };
6210
6287
  }
6211
6288
 
@@ -6343,6 +6420,10 @@ export class QueryDubbridgeCreditStatusResponse extends $tea.Model {
6343
6420
  customNo?: string;
6344
6421
  // 授信申请编号
6345
6422
  applyNo?: string;
6423
+ // 资金方编号
6424
+ fundCode?: string;
6425
+ // 冷静期结束日期
6426
+ coolingPeriod?: string;
6346
6427
  static names(): { [key: string]: string } {
6347
6428
  return {
6348
6429
  reqMsgId: 'req_msg_id',
@@ -6356,6 +6437,8 @@ export class QueryDubbridgeCreditStatusResponse extends $tea.Model {
6356
6437
  creditInfo: 'credit_info',
6357
6438
  customNo: 'custom_no',
6358
6439
  applyNo: 'apply_no',
6440
+ fundCode: 'fund_code',
6441
+ coolingPeriod: 'cooling_period',
6359
6442
  };
6360
6443
  }
6361
6444
 
@@ -6372,6 +6455,8 @@ export class QueryDubbridgeCreditStatusResponse extends $tea.Model {
6372
6455
  creditInfo: CreditAmount,
6373
6456
  customNo: 'string',
6374
6457
  applyNo: 'string',
6458
+ fundCode: 'string',
6459
+ coolingPeriod: 'string',
6375
6460
  };
6376
6461
  }
6377
6462
 
@@ -6720,6 +6805,12 @@ export class ApplyDubbridgeCustomerAgreementsignRequest extends $tea.Model {
6720
6805
  idType?: string;
6721
6806
  // 资金方编号
6722
6807
  fundCode?: string;
6808
+ // 渠道号
6809
+ channelCode: string;
6810
+ // 项目编号
6811
+ projectCode: string;
6812
+ // 渠道号
6813
+ orgCode: string;
6723
6814
  static names(): { [key: string]: string } {
6724
6815
  return {
6725
6816
  authToken: 'auth_token',
@@ -6730,6 +6821,9 @@ export class ApplyDubbridgeCustomerAgreementsignRequest extends $tea.Model {
6730
6821
  cardNo: 'card_no',
6731
6822
  idType: 'id_type',
6732
6823
  fundCode: 'fund_code',
6824
+ channelCode: 'channel_code',
6825
+ projectCode: 'project_code',
6826
+ orgCode: 'org_code',
6733
6827
  };
6734
6828
  }
6735
6829
 
@@ -6743,6 +6837,9 @@ export class ApplyDubbridgeCustomerAgreementsignRequest extends $tea.Model {
6743
6837
  cardNo: 'string',
6744
6838
  idType: 'string',
6745
6839
  fundCode: 'string',
6840
+ channelCode: 'string',
6841
+ projectCode: 'string',
6842
+ orgCode: 'string',
6746
6843
  };
6747
6844
  }
6748
6845
 
@@ -6797,6 +6894,10 @@ export class QueryDubbridgeAccountStatusRequest extends $tea.Model {
6797
6894
  openId?: string;
6798
6895
  // 查询业务
6799
6896
  bizType: string;
6897
+ // 渠道号
6898
+ channelCode: string;
6899
+ // 渠道号
6900
+ orgCode?: string;
6800
6901
  static names(): { [key: string]: string } {
6801
6902
  return {
6802
6903
  authToken: 'auth_token',
@@ -6804,6 +6905,8 @@ export class QueryDubbridgeAccountStatusRequest extends $tea.Model {
6804
6905
  customNo: 'custom_no',
6805
6906
  openId: 'open_id',
6806
6907
  bizType: 'biz_type',
6908
+ channelCode: 'channel_code',
6909
+ orgCode: 'org_code',
6807
6910
  };
6808
6911
  }
6809
6912
 
@@ -6814,6 +6917,8 @@ export class QueryDubbridgeAccountStatusRequest extends $tea.Model {
6814
6917
  customNo: 'string',
6815
6918
  openId: 'string',
6816
6919
  bizType: 'string',
6920
+ channelCode: 'string',
6921
+ orgCode: 'string',
6817
6922
  };
6818
6923
  }
6819
6924
 
@@ -7054,6 +7159,12 @@ export class QueryDubbridgeCustomerAgreementsignResponse extends $tea.Model {
7054
7159
  validTime?: string;
7055
7160
  // 协议失效时间(用户代扣协议的失效时间,格式为yyyy-MM-dd HH:mm:ss)
7056
7161
  invalidTime?: string;
7162
+ // 客户名称
7163
+ customName?: string;
7164
+ // 支付宝会员id
7165
+ alipayUserId?: string;
7166
+ // 用以唯一标识用户签约记录的编号
7167
+ protocolNo?: string;
7057
7168
  static names(): { [key: string]: string } {
7058
7169
  return {
7059
7170
  reqMsgId: 'req_msg_id',
@@ -7065,6 +7176,9 @@ export class QueryDubbridgeCustomerAgreementsignResponse extends $tea.Model {
7065
7176
  signTime: 'sign_time',
7066
7177
  validTime: 'valid_time',
7067
7178
  invalidTime: 'invalid_time',
7179
+ customName: 'custom_name',
7180
+ alipayUserId: 'alipay_user_id',
7181
+ protocolNo: 'protocol_no',
7068
7182
  };
7069
7183
  }
7070
7184
 
@@ -7079,6 +7193,9 @@ export class QueryDubbridgeCustomerAgreementsignResponse extends $tea.Model {
7079
7193
  signTime: 'string',
7080
7194
  validTime: 'string',
7081
7195
  invalidTime: 'string',
7196
+ customName: 'string',
7197
+ alipayUserId: 'string',
7198
+ protocolNo: 'string',
7082
7199
  };
7083
7200
  }
7084
7201
 
@@ -7526,6 +7643,8 @@ export class CountDubbridgeRepayReftrialRequest extends $tea.Model {
7526
7643
  applyPeriod: number;
7527
7644
  // 还款方式1:等额本息,2:等额本金
7528
7645
  repayType: string;
7646
+ // 还款日
7647
+ repayDate?: string;
7529
7648
  static names(): { [key: string]: string } {
7530
7649
  return {
7531
7650
  authToken: 'auth_token',
@@ -7536,6 +7655,7 @@ export class CountDubbridgeRepayReftrialRequest extends $tea.Model {
7536
7655
  applyAmount: 'apply_amount',
7537
7656
  applyPeriod: 'apply_period',
7538
7657
  repayType: 'repay_type',
7658
+ repayDate: 'repay_date',
7539
7659
  };
7540
7660
  }
7541
7661
 
@@ -7549,6 +7669,7 @@ export class CountDubbridgeRepayReftrialRequest extends $tea.Model {
7549
7669
  applyAmount: 'number',
7550
7670
  applyPeriod: 'number',
7551
7671
  repayType: 'string',
7672
+ repayDate: 'string',
7552
7673
  };
7553
7674
  }
7554
7675
 
@@ -7566,12 +7687,24 @@ export class CountDubbridgeRepayReftrialResponse extends $tea.Model {
7566
7687
  resultMsg?: string;
7567
7688
  // 还款计划试算结果
7568
7689
  repayTrailList?: RepayTrail[];
7690
+ // 还款日
7691
+ repayDate?: string;
7692
+ // 还款账户
7693
+ repayAccount?: string;
7694
+ // 总利息
7695
+ totalInterest?: number;
7696
+ // 授信信息
7697
+ applyInfo?: ApplyInfo;
7569
7698
  static names(): { [key: string]: string } {
7570
7699
  return {
7571
7700
  reqMsgId: 'req_msg_id',
7572
7701
  resultCode: 'result_code',
7573
7702
  resultMsg: 'result_msg',
7574
7703
  repayTrailList: 'repay_trail_list',
7704
+ repayDate: 'repay_date',
7705
+ repayAccount: 'repay_account',
7706
+ totalInterest: 'total_interest',
7707
+ applyInfo: 'apply_info',
7575
7708
  };
7576
7709
  }
7577
7710
 
@@ -7581,6 +7714,10 @@ export class CountDubbridgeRepayReftrialResponse extends $tea.Model {
7581
7714
  resultCode: 'string',
7582
7715
  resultMsg: 'string',
7583
7716
  repayTrailList: { 'type': 'array', 'itemType': RepayTrail },
7717
+ repayDate: 'string',
7718
+ repayAccount: 'string',
7719
+ totalInterest: 'number',
7720
+ applyInfo: ApplyInfo,
7584
7721
  };
7585
7722
  }
7586
7723
 
@@ -7830,6 +7967,10 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7830
7967
  loanWay: string;
7831
7968
  // 还款日
7832
7969
  repayDate?: string;
7970
+ // 渠道类型
7971
+ channelType?: string;
7972
+ // 客户类型
7973
+ customType?: string;
7833
7974
  static names(): { [key: string]: string } {
7834
7975
  return {
7835
7976
  authToken: 'auth_token',
@@ -7842,6 +7983,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7842
7983
  repayType: 'repay_type',
7843
7984
  loanWay: 'loan_way',
7844
7985
  repayDate: 'repay_date',
7986
+ channelType: 'channel_type',
7987
+ customType: 'custom_type',
7845
7988
  };
7846
7989
  }
7847
7990
 
@@ -7857,6 +8000,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7857
8000
  repayType: 'string',
7858
8001
  loanWay: 'string',
7859
8002
  repayDate: 'string',
8003
+ channelType: 'string',
8004
+ customType: 'string',
7860
8005
  };
7861
8006
  }
7862
8007
 
@@ -8345,7 +8490,9 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
8345
8490
  // 失败原因
8346
8491
  failReason?: string;
8347
8492
  // 还款信息列表
8348
- repayInfos?: RepayInfos;
8493
+ repayInfos?: RepayInfos[];
8494
+ // 还款日期
8495
+ repayDate?: string;
8349
8496
  static names(): { [key: string]: string } {
8350
8497
  return {
8351
8498
  reqMsgId: 'req_msg_id',
@@ -8360,6 +8507,7 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
8360
8507
  repayStatus: 'repay_status',
8361
8508
  failReason: 'fail_reason',
8362
8509
  repayInfos: 'repay_infos',
8510
+ repayDate: 'repay_date',
8363
8511
  };
8364
8512
  }
8365
8513
 
@@ -8376,7 +8524,8 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
8376
8524
  repayAccount: 'string',
8377
8525
  repayStatus: 'string',
8378
8526
  failReason: 'string',
8379
- repayInfos: RepayInfos,
8527
+ repayInfos: { 'type': 'array', 'itemType': RepayInfos },
8528
+ repayDate: 'string',
8380
8529
  };
8381
8530
  }
8382
8531
 
@@ -14182,7 +14331,7 @@ export default class Client {
14182
14331
  req_msg_id: AntchainUtil.getNonce(),
14183
14332
  access_key: this._accessKeyId,
14184
14333
  base_sdk_version: "TeaSDK-2.0",
14185
- sdk_version: "1.16.2",
14334
+ sdk_version: "1.16.3",
14186
14335
  };
14187
14336
  if (!Util.empty(this._securityToken)) {
14188
14337
  request_.query["security_token"] = this._securityToken;