@antchain/riskplus 1.26.3 → 1.26.4

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.4",
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,216 @@ 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
+ static names(): { [key: string]: string } {
5893
+ return {
5894
+ authToken: 'auth_token',
5895
+ productInstanceId: 'product_instance_id',
5896
+ orderNo: 'order_no',
5897
+ };
5898
+ }
5899
+
5900
+ static types(): { [key: string]: any } {
5901
+ return {
5902
+ authToken: 'string',
5903
+ productInstanceId: 'string',
5904
+ orderNo: 'string',
5905
+ };
5906
+ }
5907
+
5908
+ constructor(map?: { [key: string]: any }) {
5909
+ super(map);
5910
+ }
5911
+ }
5912
+
5913
+ export class QueryBenefithubReportInformationResponse extends $tea.Model {
5914
+ // 请求唯一ID,用于链路跟踪和问题排查
5915
+ reqMsgId?: string;
5916
+ // 结果码,一般OK表示调用成功
5917
+ resultCode?: string;
5918
+ // 异常信息的文本描述
5919
+ resultMsg?: string;
5920
+ // 用户id
5921
+ uuid?: string;
5922
+ // 订单号
5923
+ orderNo?: string;
5924
+ // 平台code
5925
+ platformCode?: string;
5926
+ // 产品码
5927
+ productCode?: string;
5928
+ // 报案号
5929
+ reportNo?: string;
5930
+ // 报告生成时间
5931
+ reportTime?: string;
5932
+ // 报案到期时间
5933
+ reportEndTime?: string;
5934
+ // 报告内容
5935
+ reportContent?: string;
5936
+ // 状态
5937
+ status?: string;
5938
+ // 用户姓名
5939
+ name?: string;
5940
+ // 身份证号
5941
+ idCard?: string;
5942
+ static names(): { [key: string]: string } {
5943
+ return {
5944
+ reqMsgId: 'req_msg_id',
5945
+ resultCode: 'result_code',
5946
+ resultMsg: 'result_msg',
5947
+ uuid: 'uuid',
5948
+ orderNo: 'order_no',
5949
+ platformCode: 'platform_code',
5950
+ productCode: 'product_code',
5951
+ reportNo: 'report_no',
5952
+ reportTime: 'report_time',
5953
+ reportEndTime: 'report_end_time',
5954
+ reportContent: 'report_content',
5955
+ status: 'status',
5956
+ name: 'name',
5957
+ idCard: 'id_card',
5958
+ };
5959
+ }
5960
+
5961
+ static types(): { [key: string]: any } {
5962
+ return {
5963
+ reqMsgId: 'string',
5964
+ resultCode: 'string',
5965
+ resultMsg: 'string',
5966
+ uuid: 'string',
5967
+ orderNo: 'string',
5968
+ platformCode: 'string',
5969
+ productCode: 'string',
5970
+ reportNo: 'string',
5971
+ reportTime: 'string',
5972
+ reportEndTime: 'string',
5973
+ reportContent: 'string',
5974
+ status: 'string',
5975
+ name: 'string',
5976
+ idCard: 'string',
5977
+ };
5978
+ }
5979
+
5980
+ constructor(map?: { [key: string]: any }) {
5981
+ super(map);
5982
+ }
5983
+ }
5984
+
5771
5985
  export class BatchqueryCreditshieldProductInfoRequest extends $tea.Model {
5772
5986
  // OAuth模式下的授权token
5773
5987
  authToken?: string;
@@ -10242,6 +10456,8 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10242
10456
  repayType: string;
10243
10457
  // 订单号
10244
10458
  orderNo: string;
10459
+ // 试算逾期期次列表
10460
+ periodList?: number[];
10245
10461
  static names(): { [key: string]: string } {
10246
10462
  return {
10247
10463
  authToken: 'auth_token',
@@ -10249,6 +10465,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10249
10465
  originalOrderNo: 'original_order_no',
10250
10466
  repayType: 'repay_type',
10251
10467
  orderNo: 'order_no',
10468
+ periodList: 'period_list',
10252
10469
  };
10253
10470
  }
10254
10471
 
@@ -10259,6 +10476,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
10259
10476
  originalOrderNo: 'string',
10260
10477
  repayType: 'string',
10261
10478
  orderNo: 'string',
10479
+ periodList: { 'type': 'array', 'itemType': 'number' },
10262
10480
  };
10263
10481
  }
10264
10482
 
@@ -10286,6 +10504,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10286
10504
  realGuaranteeFee?: number;
10287
10505
  // 违约金
10288
10506
  realLiquidatedDamages?: number;
10507
+ // 试算期次还款计划结果
10508
+ repayResultList?: RepayResult[];
10289
10509
  static names(): { [key: string]: string } {
10290
10510
  return {
10291
10511
  reqMsgId: 'req_msg_id',
@@ -10297,6 +10517,7 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10297
10517
  serviceCharge: 'service_charge',
10298
10518
  realGuaranteeFee: 'real_guarantee_fee',
10299
10519
  realLiquidatedDamages: 'real_liquidated_damages',
10520
+ repayResultList: 'repay_result_list',
10300
10521
  };
10301
10522
  }
10302
10523
 
@@ -10311,6 +10532,7 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
10311
10532
  serviceCharge: 'number',
10312
10533
  realGuaranteeFee: 'number',
10313
10534
  realLiquidatedDamages: 'number',
10535
+ repayResultList: { 'type': 'array', 'itemType': RepayResult },
10314
10536
  };
10315
10537
  }
10316
10538
 
@@ -10323,25 +10545,46 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
10323
10545
  // OAuth模式下的授权token
10324
10546
  authToken?: string;
10325
10547
  productInstanceId?: string;
10548
+ // 订单号
10549
+ orderNo: string;
10326
10550
  // 授信申请订单号
10327
10551
  originalOrderNo: string;
10328
10552
  // 还款类型1:当期结清,2:正常还款3:全部结清
10329
10553
  repayType: string;
10330
- // 订单号
10331
- orderNo: string;
10554
+ // 逾期期次列表(担保渠道)
10555
+ periodList?: number[];
10332
10556
  // 校验还款金额
10333
10557
  validRepayAmount?: string;
10334
10558
  // 银行卡号
10335
10559
  bankCardNo?: string;
10560
+ // 是否支付代扣,Y是N否(Y:支付代扣,N:无需走支付通道,直接信息流入账--线下还款模式);(担保渠道)
10561
+ paymentFlag?: string;
10562
+ // 账号开户名,payment_flag=Y时,必填;(担保渠道)
10563
+ accountName?: string;
10564
+ // 银行预留手机号,payment_flag=Y时,必填;(担保渠道)
10565
+ reservedMobile?: string;
10566
+ // 账号开户行编码(担保渠道)
10567
+ accountOpenBank?: string;
10568
+ // 扣款渠道代码(担保渠道)
10569
+ deductionCode?: string;
10570
+ // 通道签约协议号(担保渠道)
10571
+ signingAgreementNum?: string;
10336
10572
  static names(): { [key: string]: string } {
10337
10573
  return {
10338
10574
  authToken: 'auth_token',
10339
10575
  productInstanceId: 'product_instance_id',
10576
+ orderNo: 'order_no',
10340
10577
  originalOrderNo: 'original_order_no',
10341
10578
  repayType: 'repay_type',
10342
- orderNo: 'order_no',
10579
+ periodList: 'period_list',
10343
10580
  validRepayAmount: 'valid_repay_amount',
10344
10581
  bankCardNo: 'bank_card_no',
10582
+ paymentFlag: 'payment_flag',
10583
+ accountName: 'account_name',
10584
+ reservedMobile: 'reserved_mobile',
10585
+ accountOpenBank: 'account_open_bank',
10586
+ deductionCode: 'deduction_code',
10587
+ signingAgreementNum: 'signing_agreement_num',
10345
10588
  };
10346
10589
  }
10347
10590
 
@@ -10349,11 +10592,18 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
10349
10592
  return {
10350
10593
  authToken: 'string',
10351
10594
  productInstanceId: 'string',
10595
+ orderNo: 'string',
10352
10596
  originalOrderNo: 'string',
10353
10597
  repayType: 'string',
10354
- orderNo: 'string',
10598
+ periodList: { 'type': 'array', 'itemType': 'number' },
10355
10599
  validRepayAmount: 'string',
10356
10600
  bankCardNo: 'string',
10601
+ paymentFlag: 'string',
10602
+ accountName: 'string',
10603
+ reservedMobile: 'string',
10604
+ accountOpenBank: 'string',
10605
+ deductionCode: 'string',
10606
+ signingAgreementNum: 'string',
10357
10607
  };
10358
10608
  }
10359
10609
 
@@ -24660,7 +24910,7 @@ export default class Client {
24660
24910
  req_msg_id: AntchainUtil.getNonce(),
24661
24911
  access_key: this._accessKeyId,
24662
24912
  base_sdk_version: "TeaSDK-2.0",
24663
- sdk_version: "1.26.3",
24913
+ sdk_version: "1.26.4",
24664
24914
  _prod_code: "RISKPLUS",
24665
24915
  _prod_channel: "undefined",
24666
24916
  };
@@ -24746,6 +24996,44 @@ export default class Client {
24746
24996
  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
24997
  }
24748
24998
 
24999
+ /**
25000
+ * Description: 奇富组件支付结果通知, 提供给驭鉴使用,用于接收从奇富支付成功的通知,发起订单创建
25001
+ * Summary: 奇富组件支付结果通知
25002
+ */
25003
+ async notifyBenefithubRiskPayunilateral(request: NotifyBenefithubRiskPayunilateralRequest): Promise<NotifyBenefithubRiskPayunilateralResponse> {
25004
+ let runtime = new $Util.RuntimeOptions({ });
25005
+ let headers : {[key: string ]: string} = { };
25006
+ return await this.notifyBenefithubRiskPayunilateralEx(request, headers, runtime);
25007
+ }
25008
+
25009
+ /**
25010
+ * Description: 奇富组件支付结果通知, 提供给驭鉴使用,用于接收从奇富支付成功的通知,发起订单创建
25011
+ * Summary: 奇富组件支付结果通知
25012
+ */
25013
+ async notifyBenefithubRiskPayunilateralEx(request: NotifyBenefithubRiskPayunilateralRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyBenefithubRiskPayunilateralResponse> {
25014
+ Util.validateModel(request);
25015
+ 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({}));
25016
+ }
25017
+
25018
+ /**
25019
+ * Description: 渠道主动查询报告详情接口
25020
+ * Summary: 渠道查询报告详情
25021
+ */
25022
+ async queryBenefithubReportInformation(request: QueryBenefithubReportInformationRequest): Promise<QueryBenefithubReportInformationResponse> {
25023
+ let runtime = new $Util.RuntimeOptions({ });
25024
+ let headers : {[key: string ]: string} = { };
25025
+ return await this.queryBenefithubReportInformationEx(request, headers, runtime);
25026
+ }
25027
+
25028
+ /**
25029
+ * Description: 渠道主动查询报告详情接口
25030
+ * Summary: 渠道查询报告详情
25031
+ */
25032
+ async queryBenefithubReportInformationEx(request: QueryBenefithubReportInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryBenefithubReportInformationResponse> {
25033
+ Util.validateModel(request);
25034
+ 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({}));
25035
+ }
25036
+
24749
25037
  /**
24750
25038
  * Description: 信护盾产品批量查询
24751
25039
  * Summary: 信护盾产品批量查询