@antchain/riskplus 1.26.3 → 1.26.5

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.26.3",
3
+ "version": "1.26.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -3038,6 +3038,8 @@ export class JobInfo extends $tea.Model {
3038
3038
  companyAddress?: string;
3039
3039
  // 年收入
3040
3040
  yearSalary?: number;
3041
+ // 贷款用户所属行业类别
3042
+ induInvol?: string;
3041
3043
  static names(): { [key: string]: string } {
3042
3044
  return {
3043
3045
  jobType: 'job_type',
@@ -3053,6 +3055,7 @@ export class JobInfo extends $tea.Model {
3053
3055
  companyStreet: 'company_street',
3054
3056
  companyAddress: 'company_address',
3055
3057
  yearSalary: 'year_salary',
3058
+ induInvol: 'indu_invol',
3056
3059
  };
3057
3060
  }
3058
3061
 
@@ -3071,6 +3074,7 @@ export class JobInfo extends $tea.Model {
3071
3074
  companyStreet: 'string',
3072
3075
  companyAddress: 'string',
3073
3076
  yearSalary: 'number',
3077
+ induInvol: 'string',
3074
3078
  };
3075
3079
  }
3076
3080
 
@@ -5768,6 +5772,228 @@ export class NotifyBenefithubRiskLoginResponse extends $tea.Model {
5768
5772
  }
5769
5773
  }
5770
5774
 
5775
+ export class NotifyBenefithubRiskPayunilateralRequest extends $tea.Model {
5776
+ // OAuth模式下的授权token
5777
+ authToken?: string;
5778
+ productInstanceId?: string;
5779
+ // 业务操作类型,目前只支持下单
5780
+ bizType: string;
5781
+ // 外部支付的订单号
5782
+ paymentNo: string;
5783
+ // 订单状态
5784
+ status: string;
5785
+ // 订单金额
5786
+ orderAmount: string;
5787
+ // 订单实际支付金额
5788
+ paymentAmount: string;
5789
+ // 支付时间
5790
+ paymentTime: string;
5791
+ // 支付使用的方式
5792
+ paymentMethodType: string;
5793
+ // 三方支付流水号
5794
+ capNum: string;
5795
+ // 支付通道商户号
5796
+ merchantNo?: string;
5797
+ // 订单类型,订阅、单次购买等
5798
+ orderType: string;
5799
+ // 订单来源
5800
+ orderSource: string;
5801
+ // 平台code,由蚂蚁数科颁发的特定平台code,用于报告产品授权使用
5802
+ platformCode: string;
5803
+ // 用户唯一id,流量平台提供,内部结合platformCode 组成唯一code
5804
+ userUniqueId: string;
5805
+ // 产品code,具体的报告产品;不同产品价格、展示内容可能均不一样,可通过产品code区分不同场景
5806
+ productCode: string;
5807
+ static names(): { [key: string]: string } {
5808
+ return {
5809
+ authToken: 'auth_token',
5810
+ productInstanceId: 'product_instance_id',
5811
+ bizType: 'biz_type',
5812
+ paymentNo: 'payment_no',
5813
+ status: 'status',
5814
+ orderAmount: 'order_amount',
5815
+ paymentAmount: 'payment_amount',
5816
+ paymentTime: 'payment_time',
5817
+ paymentMethodType: 'payment_method_type',
5818
+ capNum: 'cap_num',
5819
+ merchantNo: 'merchant_no',
5820
+ orderType: 'order_type',
5821
+ orderSource: 'order_source',
5822
+ platformCode: 'platform_code',
5823
+ userUniqueId: 'user_unique_id',
5824
+ productCode: 'product_code',
5825
+ };
5826
+ }
5827
+
5828
+ static types(): { [key: string]: any } {
5829
+ return {
5830
+ authToken: 'string',
5831
+ productInstanceId: 'string',
5832
+ bizType: 'string',
5833
+ paymentNo: 'string',
5834
+ status: 'string',
5835
+ orderAmount: 'string',
5836
+ paymentAmount: 'string',
5837
+ paymentTime: 'string',
5838
+ paymentMethodType: 'string',
5839
+ capNum: 'string',
5840
+ merchantNo: 'string',
5841
+ orderType: 'string',
5842
+ orderSource: 'string',
5843
+ platformCode: 'string',
5844
+ userUniqueId: 'string',
5845
+ productCode: 'string',
5846
+ };
5847
+ }
5848
+
5849
+ constructor(map?: { [key: string]: any }) {
5850
+ super(map);
5851
+ }
5852
+ }
5853
+
5854
+ export class NotifyBenefithubRiskPayunilateralResponse extends $tea.Model {
5855
+ // 请求唯一ID,用于链路跟踪和问题排查
5856
+ reqMsgId?: string;
5857
+ // 结果码,一般OK表示调用成功
5858
+ resultCode?: string;
5859
+ // 异常信息的文本描述
5860
+ resultMsg?: string;
5861
+ // 请求返回结果
5862
+ resultData?: string;
5863
+ static names(): { [key: string]: string } {
5864
+ return {
5865
+ reqMsgId: 'req_msg_id',
5866
+ resultCode: 'result_code',
5867
+ resultMsg: 'result_msg',
5868
+ resultData: 'result_data',
5869
+ };
5870
+ }
5871
+
5872
+ static types(): { [key: string]: any } {
5873
+ return {
5874
+ reqMsgId: 'string',
5875
+ resultCode: 'string',
5876
+ resultMsg: 'string',
5877
+ resultData: 'string',
5878
+ };
5879
+ }
5880
+
5881
+ constructor(map?: { [key: string]: any }) {
5882
+ super(map);
5883
+ }
5884
+ }
5885
+
5886
+ export class QueryBenefithubReportInformationRequest extends $tea.Model {
5887
+ // OAuth模式下的授权token
5888
+ authToken?: string;
5889
+ productInstanceId?: string;
5890
+ // 订单号
5891
+ orderNo: string;
5892
+ // 业务分配的平台code,8位纯大写字母code
5893
+ platformCode: string;
5894
+ // 产品码
5895
+ productCode: string;
5896
+ // 平台code、用户唯一ID 组合出全局唯一id
5897
+ userUniqueId: string;
5898
+ static names(): { [key: string]: string } {
5899
+ return {
5900
+ authToken: 'auth_token',
5901
+ productInstanceId: 'product_instance_id',
5902
+ orderNo: 'order_no',
5903
+ platformCode: 'platform_code',
5904
+ productCode: 'product_code',
5905
+ userUniqueId: 'user_unique_id',
5906
+ };
5907
+ }
5908
+
5909
+ static types(): { [key: string]: any } {
5910
+ return {
5911
+ authToken: 'string',
5912
+ productInstanceId: 'string',
5913
+ orderNo: 'string',
5914
+ platformCode: 'string',
5915
+ productCode: 'string',
5916
+ userUniqueId: 'string',
5917
+ };
5918
+ }
5919
+
5920
+ constructor(map?: { [key: string]: any }) {
5921
+ super(map);
5922
+ }
5923
+ }
5924
+
5925
+ export class QueryBenefithubReportInformationResponse extends $tea.Model {
5926
+ // 请求唯一ID,用于链路跟踪和问题排查
5927
+ reqMsgId?: string;
5928
+ // 结果码,一般OK表示调用成功
5929
+ resultCode?: string;
5930
+ // 异常信息的文本描述
5931
+ resultMsg?: string;
5932
+ // 用户id
5933
+ uuid?: string;
5934
+ // 订单号
5935
+ orderNo?: string;
5936
+ // 平台code
5937
+ platformCode?: string;
5938
+ // 产品码
5939
+ productCode?: string;
5940
+ // 报案号
5941
+ reportNo?: string;
5942
+ // 报告生成时间
5943
+ reportTime?: string;
5944
+ // 报案到期时间
5945
+ reportEndTime?: string;
5946
+ // 报告内容
5947
+ reportContent?: string;
5948
+ // 状态
5949
+ status?: string;
5950
+ // 用户姓名
5951
+ name?: string;
5952
+ // 身份证号
5953
+ idCard?: string;
5954
+ static names(): { [key: string]: string } {
5955
+ return {
5956
+ reqMsgId: 'req_msg_id',
5957
+ resultCode: 'result_code',
5958
+ resultMsg: 'result_msg',
5959
+ uuid: 'uuid',
5960
+ orderNo: 'order_no',
5961
+ platformCode: 'platform_code',
5962
+ productCode: 'product_code',
5963
+ reportNo: 'report_no',
5964
+ reportTime: 'report_time',
5965
+ reportEndTime: 'report_end_time',
5966
+ reportContent: 'report_content',
5967
+ status: 'status',
5968
+ name: 'name',
5969
+ idCard: 'id_card',
5970
+ };
5971
+ }
5972
+
5973
+ static types(): { [key: string]: any } {
5974
+ return {
5975
+ reqMsgId: 'string',
5976
+ resultCode: 'string',
5977
+ resultMsg: 'string',
5978
+ uuid: 'string',
5979
+ orderNo: 'string',
5980
+ platformCode: 'string',
5981
+ productCode: 'string',
5982
+ reportNo: 'string',
5983
+ reportTime: 'string',
5984
+ reportEndTime: 'string',
5985
+ reportContent: 'string',
5986
+ status: 'string',
5987
+ name: 'string',
5988
+ idCard: 'string',
5989
+ };
5990
+ }
5991
+
5992
+ constructor(map?: { [key: string]: any }) {
5993
+ super(map);
5994
+ }
5995
+ }
5996
+
5771
5997
  export class BatchqueryCreditshieldProductInfoRequest extends $tea.Model {
5772
5998
  // OAuth模式下的授权token
5773
5999
  authToken?: string;
@@ -10242,6 +10468,8 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10242
10468
  repayType: string;
10243
10469
  // 订单号
10244
10470
  orderNo: string;
10471
+ // 试算逾期期次列表
10472
+ periodList?: number[];
10245
10473
  static names(): { [key: string]: string } {
10246
10474
  return {
10247
10475
  authToken: 'auth_token',
@@ -10249,6 +10477,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10249
10477
  originalOrderNo: 'original_order_no',
10250
10478
  repayType: 'repay_type',
10251
10479
  orderNo: 'order_no',
10480
+ periodList: 'period_list',
10252
10481
  };
10253
10482
  }
10254
10483
 
@@ -10259,6 +10488,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10259
10488
  originalOrderNo: 'string',
10260
10489
  repayType: 'string',
10261
10490
  orderNo: 'string',
10491
+ periodList: { 'type': 'array', 'itemType': 'number' },
10262
10492
  };
10263
10493
  }
10264
10494
 
@@ -10286,6 +10516,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10286
10516
  realGuaranteeFee?: number;
10287
10517
  // 违约金
10288
10518
  realLiquidatedDamages?: number;
10519
+ // 试算期次还款计划结果
10520
+ repayResultList?: RepayResult[];
10289
10521
  static names(): { [key: string]: string } {
10290
10522
  return {
10291
10523
  reqMsgId: 'req_msg_id',
@@ -10297,6 +10529,7 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10297
10529
  serviceCharge: 'service_charge',
10298
10530
  realGuaranteeFee: 'real_guarantee_fee',
10299
10531
  realLiquidatedDamages: 'real_liquidated_damages',
10532
+ repayResultList: 'repay_result_list',
10300
10533
  };
10301
10534
  }
10302
10535
 
@@ -10311,6 +10544,7 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10311
10544
  serviceCharge: 'number',
10312
10545
  realGuaranteeFee: 'number',
10313
10546
  realLiquidatedDamages: 'number',
10547
+ repayResultList: { 'type': 'array', 'itemType': RepayResult },
10314
10548
  };
10315
10549
  }
10316
10550
 
@@ -10323,25 +10557,46 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
10323
10557
  // OAuth模式下的授权token
10324
10558
  authToken?: string;
10325
10559
  productInstanceId?: string;
10560
+ // 订单号
10561
+ orderNo: string;
10326
10562
  // 授信申请订单号
10327
10563
  originalOrderNo: string;
10328
10564
  // 还款类型1:当期结清,2:正常还款3:全部结清
10329
10565
  repayType: string;
10330
- // 订单号
10331
- orderNo: string;
10566
+ // 逾期期次列表(担保渠道)
10567
+ periodList?: number[];
10332
10568
  // 校验还款金额
10333
10569
  validRepayAmount?: string;
10334
10570
  // 银行卡号
10335
10571
  bankCardNo?: string;
10572
+ // 是否支付代扣,Y是N否(Y:支付代扣,N:无需走支付通道,直接信息流入账--线下还款模式);(担保渠道)
10573
+ paymentFlag?: string;
10574
+ // 账号开户名,payment_flag=Y时,必填;(担保渠道)
10575
+ accountName?: string;
10576
+ // 银行预留手机号,payment_flag=Y时,必填;(担保渠道)
10577
+ reservedMobile?: string;
10578
+ // 账号开户行编码(担保渠道)
10579
+ accountOpenBank?: string;
10580
+ // 扣款渠道代码(担保渠道)
10581
+ deductionCode?: string;
10582
+ // 通道签约协议号(担保渠道)
10583
+ signingAgreementNum?: string;
10336
10584
  static names(): { [key: string]: string } {
10337
10585
  return {
10338
10586
  authToken: 'auth_token',
10339
10587
  productInstanceId: 'product_instance_id',
10588
+ orderNo: 'order_no',
10340
10589
  originalOrderNo: 'original_order_no',
10341
10590
  repayType: 'repay_type',
10342
- orderNo: 'order_no',
10591
+ periodList: 'period_list',
10343
10592
  validRepayAmount: 'valid_repay_amount',
10344
10593
  bankCardNo: 'bank_card_no',
10594
+ paymentFlag: 'payment_flag',
10595
+ accountName: 'account_name',
10596
+ reservedMobile: 'reserved_mobile',
10597
+ accountOpenBank: 'account_open_bank',
10598
+ deductionCode: 'deduction_code',
10599
+ signingAgreementNum: 'signing_agreement_num',
10345
10600
  };
10346
10601
  }
10347
10602
 
@@ -10349,11 +10604,18 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
10349
10604
  return {
10350
10605
  authToken: 'string',
10351
10606
  productInstanceId: 'string',
10607
+ orderNo: 'string',
10352
10608
  originalOrderNo: 'string',
10353
10609
  repayType: 'string',
10354
- orderNo: 'string',
10610
+ periodList: { 'type': 'array', 'itemType': 'number' },
10355
10611
  validRepayAmount: 'string',
10356
10612
  bankCardNo: 'string',
10613
+ paymentFlag: 'string',
10614
+ accountName: 'string',
10615
+ reservedMobile: 'string',
10616
+ accountOpenBank: 'string',
10617
+ deductionCode: 'string',
10618
+ signingAgreementNum: 'string',
10357
10619
  };
10358
10620
  }
10359
10621
 
@@ -24660,7 +24922,7 @@ export default class Client {
24660
24922
  req_msg_id: AntchainUtil.getNonce(),
24661
24923
  access_key: this._accessKeyId,
24662
24924
  base_sdk_version: "TeaSDK-2.0",
24663
- sdk_version: "1.26.3",
24925
+ sdk_version: "1.26.5",
24664
24926
  _prod_code: "RISKPLUS",
24665
24927
  _prod_channel: "undefined",
24666
24928
  };
@@ -24746,6 +25008,44 @@ export default class Client {
24746
25008
  return $tea.cast<NotifyBenefithubRiskLoginResponse>(await this.doRequest("1.0", "riskplus.benefithub.risk.login.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyBenefithubRiskLoginResponse({}));
24747
25009
  }
24748
25010
 
25011
+ /**
25012
+ * Description: 奇富组件支付结果通知, 提供给驭鉴使用,用于接收从奇富支付成功的通知,发起订单创建
25013
+ * Summary: 奇富组件支付结果通知
25014
+ */
25015
+ async notifyBenefithubRiskPayunilateral(request: NotifyBenefithubRiskPayunilateralRequest): Promise<NotifyBenefithubRiskPayunilateralResponse> {
25016
+ let runtime = new $Util.RuntimeOptions({ });
25017
+ let headers : {[key: string ]: string} = { };
25018
+ return await this.notifyBenefithubRiskPayunilateralEx(request, headers, runtime);
25019
+ }
25020
+
25021
+ /**
25022
+ * Description: 奇富组件支付结果通知, 提供给驭鉴使用,用于接收从奇富支付成功的通知,发起订单创建
25023
+ * Summary: 奇富组件支付结果通知
25024
+ */
25025
+ async notifyBenefithubRiskPayunilateralEx(request: NotifyBenefithubRiskPayunilateralRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyBenefithubRiskPayunilateralResponse> {
25026
+ Util.validateModel(request);
25027
+ return $tea.cast<NotifyBenefithubRiskPayunilateralResponse>(await this.doRequest("1.0", "riskplus.benefithub.risk.payunilateral.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyBenefithubRiskPayunilateralResponse({}));
25028
+ }
25029
+
25030
+ /**
25031
+ * Description: 渠道主动查询报告详情接口
25032
+ * Summary: 渠道查询报告详情
25033
+ */
25034
+ async queryBenefithubReportInformation(request: QueryBenefithubReportInformationRequest): Promise<QueryBenefithubReportInformationResponse> {
25035
+ let runtime = new $Util.RuntimeOptions({ });
25036
+ let headers : {[key: string ]: string} = { };
25037
+ return await this.queryBenefithubReportInformationEx(request, headers, runtime);
25038
+ }
25039
+
25040
+ /**
25041
+ * Description: 渠道主动查询报告详情接口
25042
+ * Summary: 渠道查询报告详情
25043
+ */
25044
+ async queryBenefithubReportInformationEx(request: QueryBenefithubReportInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryBenefithubReportInformationResponse> {
25045
+ Util.validateModel(request);
25046
+ return $tea.cast<QueryBenefithubReportInformationResponse>(await this.doRequest("1.0", "riskplus.benefithub.report.information.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBenefithubReportInformationResponse({}));
25047
+ }
25048
+
24749
25049
  /**
24750
25050
  * Description: 信护盾产品批量查询
24751
25051
  * Summary: 信护盾产品批量查询