@antchain/riskplus 1.33.8 → 1.33.10

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
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly":"tsc",
23
23
  "test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test"
24
24
  },
25
- "version":"1.33.8",
25
+ "version":"1.33.10",
26
26
  "dependencies":{
27
27
  "@alicloud/rpc-util":"^0.1.0",
28
28
  "@antchain/alipay-util":"^1.0.4",
package/src/client.ts CHANGED
@@ -15712,6 +15712,16 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
15712
15712
  prodType?: string;
15713
15713
  // 商户入驻id
15714
15714
  merchantExternalId?: string;
15715
+ // 扩展字段
15716
+ extInfo?: string;
15717
+ // 申请金额
15718
+ applicationsAmount?: string;
15719
+ // 申请期限(月)
15720
+ applicationDeadline?: string;
15721
+ // 发证机关名称
15722
+ authorityName?: string;
15723
+ // 月收入
15724
+ monthSalary?: string;
15715
15725
  static names(): { [key: string]: string } {
15716
15726
  return {
15717
15727
  authToken: 'auth_token',
@@ -15736,6 +15746,11 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
15736
15746
  bizOrderNo: 'biz_order_no',
15737
15747
  prodType: 'prod_type',
15738
15748
  merchantExternalId: 'merchant_external_id',
15749
+ extInfo: 'ext_info',
15750
+ applicationsAmount: 'applications_amount',
15751
+ applicationDeadline: 'application_deadline',
15752
+ authorityName: 'authority_name',
15753
+ monthSalary: 'month_salary',
15739
15754
  };
15740
15755
  }
15741
15756
 
@@ -15763,6 +15778,11 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
15763
15778
  bizOrderNo: 'string',
15764
15779
  prodType: 'string',
15765
15780
  merchantExternalId: 'string',
15781
+ extInfo: 'string',
15782
+ applicationsAmount: 'string',
15783
+ applicationDeadline: 'string',
15784
+ authorityName: 'string',
15785
+ monthSalary: 'string',
15766
15786
  };
15767
15787
  }
15768
15788
 
@@ -17569,6 +17589,8 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17569
17589
  interestSubsidyRatio?: string;
17570
17590
  // 参考定价
17571
17591
  referenceRatio?: string;
17592
+ // 扩展信息
17593
+ extInfo?: string;
17572
17594
  static names(): { [key: string]: string } {
17573
17595
  return {
17574
17596
  authToken: 'auth_token',
@@ -17579,6 +17601,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17579
17601
  periodList: 'period_list',
17580
17602
  interestSubsidyRatio: 'interest_subsidy_ratio',
17581
17603
  referenceRatio: 'reference_ratio',
17604
+ extInfo: 'ext_info',
17582
17605
  };
17583
17606
  }
17584
17607
 
@@ -17592,6 +17615,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17592
17615
  periodList: { 'type': 'array', 'itemType': 'number' },
17593
17616
  interestSubsidyRatio: 'string',
17594
17617
  referenceRatio: 'string',
17618
+ extInfo: 'string',
17595
17619
  };
17596
17620
  }
17597
17621
 
@@ -18016,6 +18040,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18016
18040
  disburseContractNo?: string;
18017
18041
  // 授信合同编号
18018
18042
  creditContractNo?: string;
18043
+ // 扩展信息
18044
+ extInfo?: string;
18019
18045
  static names(): { [key: string]: string } {
18020
18046
  return {
18021
18047
  reqMsgId: 'req_msg_id',
@@ -18027,6 +18053,7 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18027
18053
  repayRef: 'repay_ref',
18028
18054
  disburseContractNo: 'disburse_contract_no',
18029
18055
  creditContractNo: 'credit_contract_no',
18056
+ extInfo: 'ext_info',
18030
18057
  };
18031
18058
  }
18032
18059
 
@@ -18041,6 +18068,7 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18041
18068
  repayRef: { 'type': 'array', 'itemType': RepayRef },
18042
18069
  disburseContractNo: 'string',
18043
18070
  creditContractNo: 'string',
18071
+ extInfo: 'string',
18044
18072
  };
18045
18073
  }
18046
18074
 
@@ -29932,6 +29960,69 @@ export class ReceiveRbbOverseacompanyProfileResponse extends $tea.Model {
29932
29960
  }
29933
29961
  }
29934
29962
 
29963
+ export class InitGateWayServiceRequest extends $tea.Model {
29964
+ // OAuth模式下的授权token
29965
+ authToken?: string;
29966
+ productInstanceId?: string;
29967
+ // 测试
29968
+ user: string;
29969
+ // 测试
29970
+ pass: string;
29971
+ static names(): { [key: string]: string } {
29972
+ return {
29973
+ authToken: 'auth_token',
29974
+ productInstanceId: 'product_instance_id',
29975
+ user: 'user',
29976
+ pass: 'pass',
29977
+ };
29978
+ }
29979
+
29980
+ static types(): { [key: string]: any } {
29981
+ return {
29982
+ authToken: 'string',
29983
+ productInstanceId: 'string',
29984
+ user: 'string',
29985
+ pass: 'string',
29986
+ };
29987
+ }
29988
+
29989
+ constructor(map?: { [key: string]: any }) {
29990
+ super(map);
29991
+ }
29992
+ }
29993
+
29994
+ export class InitGateWayServiceResponse extends $tea.Model {
29995
+ // 请求唯一ID,用于链路跟踪和问题排查
29996
+ reqMsgId?: string;
29997
+ // 结果码,一般OK表示调用成功
29998
+ resultCode?: string;
29999
+ // 异常信息的文本描述
30000
+ resultMsg?: string;
30001
+ // 测试
30002
+ result?: string;
30003
+ static names(): { [key: string]: string } {
30004
+ return {
30005
+ reqMsgId: 'req_msg_id',
30006
+ resultCode: 'result_code',
30007
+ resultMsg: 'result_msg',
30008
+ result: 'result',
30009
+ };
30010
+ }
30011
+
30012
+ static types(): { [key: string]: any } {
30013
+ return {
30014
+ reqMsgId: 'string',
30015
+ resultCode: 'string',
30016
+ resultMsg: 'string',
30017
+ result: 'string',
30018
+ };
30019
+ }
30020
+
30021
+ constructor(map?: { [key: string]: any }) {
30022
+ super(map);
30023
+ }
30024
+ }
30025
+
29935
30026
  export class QueryCreditshieldRestrictedRequest extends $tea.Model {
29936
30027
  // OAuth模式下的授权token
29937
30028
  authToken?: string;
@@ -38288,7 +38379,7 @@ export default class Client {
38288
38379
  req_msg_id: AntchainUtil.getNonce(),
38289
38380
  access_key: this._accessKeyId,
38290
38381
  base_sdk_version: "TeaSDK-2.0",
38291
- sdk_version: "1.33.8",
38382
+ sdk_version: "1.33.10",
38292
38383
  _prod_code: "RISKPLUS",
38293
38384
  _prod_channel: "undefined",
38294
38385
  };
@@ -39726,7 +39817,7 @@ export default class Client {
39726
39817
  /**
39727
39818
  * @remarks
39728
39819
  * Description: 天枢系统还款试算,根据借据号计算还款金额
39729
- * Summary: 天枢系统还款试算
39820
+ * Summary: 天枢系统还款试算,根据借据号计算还款金额
39730
39821
  */
39731
39822
  async countDubbridgeRepayTrial(request: CountDubbridgeRepayTrialRequest): Promise<CountDubbridgeRepayTrialResponse> {
39732
39823
  let runtime = new $Util.RuntimeOptions({ });
@@ -39737,7 +39828,7 @@ export default class Client {
39737
39828
  /**
39738
39829
  * @remarks
39739
39830
  * Description: 天枢系统还款试算,根据借据号计算还款金额
39740
- * Summary: 天枢系统还款试算
39831
+ * Summary: 天枢系统还款试算,根据借据号计算还款金额
39741
39832
  */
39742
39833
  async countDubbridgeRepayTrialEx(request: CountDubbridgeRepayTrialRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CountDubbridgeRepayTrialResponse> {
39743
39834
  Util.validateModel(request);
@@ -43114,6 +43205,27 @@ export default class Client {
43114
43205
  return $tea.cast<ReceiveRbbOverseacompanyProfileResponse>(await this.doRequest("1.0", "riskplus.rbb.overseacompany.profile.receive", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReceiveRbbOverseacompanyProfileResponse({}));
43115
43206
  }
43116
43207
 
43208
+ /**
43209
+ * @remarks
43210
+ * Description: 测试网关连通性
43211
+ * Summary: 测试网关连通性
43212
+ */
43213
+ async initGateWayService(request: InitGateWayServiceRequest): Promise<InitGateWayServiceResponse> {
43214
+ let runtime = new $Util.RuntimeOptions({ });
43215
+ let headers : {[key: string ]: string} = { };
43216
+ return await this.initGateWayServiceEx(request, headers, runtime);
43217
+ }
43218
+
43219
+ /**
43220
+ * @remarks
43221
+ * Description: 测试网关连通性
43222
+ * Summary: 测试网关连通性
43223
+ */
43224
+ async initGateWayServiceEx(request: InitGateWayServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InitGateWayServiceResponse> {
43225
+ Util.validateModel(request);
43226
+ return $tea.cast<InitGateWayServiceResponse>(await this.doRequest("1.0", "riskplus.gate.way.service.init", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new InitGateWayServiceResponse({}));
43227
+ }
43228
+
43117
43229
  /**
43118
43230
  * @remarks
43119
43231
  * Description: 受限版-还款概率评估接口