@antchain/riskplus 1.33.8 → 1.33.9

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.9",
26
26
  "dependencies":{
27
27
  "@alicloud/rpc-util":"^0.1.0",
28
28
  "@antchain/alipay-util":"^1.0.4",
package/src/client.ts CHANGED
@@ -17569,6 +17569,8 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17569
17569
  interestSubsidyRatio?: string;
17570
17570
  // 参考定价
17571
17571
  referenceRatio?: string;
17572
+ // 扩展信息
17573
+ extInfo?: string;
17572
17574
  static names(): { [key: string]: string } {
17573
17575
  return {
17574
17576
  authToken: 'auth_token',
@@ -17579,6 +17581,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17579
17581
  periodList: 'period_list',
17580
17582
  interestSubsidyRatio: 'interest_subsidy_ratio',
17581
17583
  referenceRatio: 'reference_ratio',
17584
+ extInfo: 'ext_info',
17582
17585
  };
17583
17586
  }
17584
17587
 
@@ -17592,6 +17595,7 @@ export class CountDubbridgeRepayTrialRequest extends $tea.Model {
17592
17595
  periodList: { 'type': 'array', 'itemType': 'number' },
17593
17596
  interestSubsidyRatio: 'string',
17594
17597
  referenceRatio: 'string',
17598
+ extInfo: 'string',
17595
17599
  };
17596
17600
  }
17597
17601
 
@@ -18016,6 +18020,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18016
18020
  disburseContractNo?: string;
18017
18021
  // 授信合同编号
18018
18022
  creditContractNo?: string;
18023
+ // 扩展信息
18024
+ extInfo?: string;
18019
18025
  static names(): { [key: string]: string } {
18020
18026
  return {
18021
18027
  reqMsgId: 'req_msg_id',
@@ -18027,6 +18033,7 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18027
18033
  repayRef: 'repay_ref',
18028
18034
  disburseContractNo: 'disburse_contract_no',
18029
18035
  creditContractNo: 'credit_contract_no',
18036
+ extInfo: 'ext_info',
18030
18037
  };
18031
18038
  }
18032
18039
 
@@ -18041,6 +18048,7 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
18041
18048
  repayRef: { 'type': 'array', 'itemType': RepayRef },
18042
18049
  disburseContractNo: 'string',
18043
18050
  creditContractNo: 'string',
18051
+ extInfo: 'string',
18044
18052
  };
18045
18053
  }
18046
18054
 
@@ -29932,6 +29940,69 @@ export class ReceiveRbbOverseacompanyProfileResponse extends $tea.Model {
29932
29940
  }
29933
29941
  }
29934
29942
 
29943
+ export class InitGateWayServiceRequest extends $tea.Model {
29944
+ // OAuth模式下的授权token
29945
+ authToken?: string;
29946
+ productInstanceId?: string;
29947
+ // 测试
29948
+ user: string;
29949
+ // 测试
29950
+ pass: string;
29951
+ static names(): { [key: string]: string } {
29952
+ return {
29953
+ authToken: 'auth_token',
29954
+ productInstanceId: 'product_instance_id',
29955
+ user: 'user',
29956
+ pass: 'pass',
29957
+ };
29958
+ }
29959
+
29960
+ static types(): { [key: string]: any } {
29961
+ return {
29962
+ authToken: 'string',
29963
+ productInstanceId: 'string',
29964
+ user: 'string',
29965
+ pass: 'string',
29966
+ };
29967
+ }
29968
+
29969
+ constructor(map?: { [key: string]: any }) {
29970
+ super(map);
29971
+ }
29972
+ }
29973
+
29974
+ export class InitGateWayServiceResponse extends $tea.Model {
29975
+ // 请求唯一ID,用于链路跟踪和问题排查
29976
+ reqMsgId?: string;
29977
+ // 结果码,一般OK表示调用成功
29978
+ resultCode?: string;
29979
+ // 异常信息的文本描述
29980
+ resultMsg?: string;
29981
+ // 测试
29982
+ result?: string;
29983
+ static names(): { [key: string]: string } {
29984
+ return {
29985
+ reqMsgId: 'req_msg_id',
29986
+ resultCode: 'result_code',
29987
+ resultMsg: 'result_msg',
29988
+ result: 'result',
29989
+ };
29990
+ }
29991
+
29992
+ static types(): { [key: string]: any } {
29993
+ return {
29994
+ reqMsgId: 'string',
29995
+ resultCode: 'string',
29996
+ resultMsg: 'string',
29997
+ result: 'string',
29998
+ };
29999
+ }
30000
+
30001
+ constructor(map?: { [key: string]: any }) {
30002
+ super(map);
30003
+ }
30004
+ }
30005
+
29935
30006
  export class QueryCreditshieldRestrictedRequest extends $tea.Model {
29936
30007
  // OAuth模式下的授权token
29937
30008
  authToken?: string;
@@ -38288,7 +38359,7 @@ export default class Client {
38288
38359
  req_msg_id: AntchainUtil.getNonce(),
38289
38360
  access_key: this._accessKeyId,
38290
38361
  base_sdk_version: "TeaSDK-2.0",
38291
- sdk_version: "1.33.8",
38362
+ sdk_version: "1.33.9",
38292
38363
  _prod_code: "RISKPLUS",
38293
38364
  _prod_channel: "undefined",
38294
38365
  };
@@ -39726,7 +39797,7 @@ export default class Client {
39726
39797
  /**
39727
39798
  * @remarks
39728
39799
  * Description: 天枢系统还款试算,根据借据号计算还款金额
39729
- * Summary: 天枢系统还款试算
39800
+ * Summary: 天枢系统还款试算,根据借据号计算还款金额
39730
39801
  */
39731
39802
  async countDubbridgeRepayTrial(request: CountDubbridgeRepayTrialRequest): Promise<CountDubbridgeRepayTrialResponse> {
39732
39803
  let runtime = new $Util.RuntimeOptions({ });
@@ -39737,7 +39808,7 @@ export default class Client {
39737
39808
  /**
39738
39809
  * @remarks
39739
39810
  * Description: 天枢系统还款试算,根据借据号计算还款金额
39740
- * Summary: 天枢系统还款试算
39811
+ * Summary: 天枢系统还款试算,根据借据号计算还款金额
39741
39812
  */
39742
39813
  async countDubbridgeRepayTrialEx(request: CountDubbridgeRepayTrialRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CountDubbridgeRepayTrialResponse> {
39743
39814
  Util.validateModel(request);
@@ -43114,6 +43185,27 @@ export default class Client {
43114
43185
  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
43186
  }
43116
43187
 
43188
+ /**
43189
+ * @remarks
43190
+ * Description: 测试网关连通性
43191
+ * Summary: 测试网关连通性
43192
+ */
43193
+ async initGateWayService(request: InitGateWayServiceRequest): Promise<InitGateWayServiceResponse> {
43194
+ let runtime = new $Util.RuntimeOptions({ });
43195
+ let headers : {[key: string ]: string} = { };
43196
+ return await this.initGateWayServiceEx(request, headers, runtime);
43197
+ }
43198
+
43199
+ /**
43200
+ * @remarks
43201
+ * Description: 测试网关连通性
43202
+ * Summary: 测试网关连通性
43203
+ */
43204
+ async initGateWayServiceEx(request: InitGateWayServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InitGateWayServiceResponse> {
43205
+ Util.validateModel(request);
43206
+ 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({}));
43207
+ }
43208
+
43117
43209
  /**
43118
43210
  * @remarks
43119
43211
  * Description: 受限版-还款概率评估接口