@antchain/riskplus 1.19.18 → 1.19.21

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.19.18",
3
+ "version": "1.19.21",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -6873,6 +6873,8 @@ export class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
6873
6873
  fundCode?: string;
6874
6874
  // 资金方简称
6875
6875
  abbreFundName?: string;
6876
+ // 客户编号
6877
+ customerNo?: string;
6876
6878
  static names(): { [key: string]: string } {
6877
6879
  return {
6878
6880
  reqMsgId: 'req_msg_id',
@@ -6880,6 +6882,7 @@ export class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
6880
6882
  resultMsg: 'result_msg',
6881
6883
  fundCode: 'fund_code',
6882
6884
  abbreFundName: 'abbre_fund_name',
6885
+ customerNo: 'customer_no',
6883
6886
  };
6884
6887
  }
6885
6888
 
@@ -6890,6 +6893,7 @@ export class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
6890
6893
  resultMsg: 'string',
6891
6894
  fundCode: 'string',
6892
6895
  abbreFundName: 'string',
6896
+ customerNo: 'string',
6893
6897
  };
6894
6898
  }
6895
6899
 
@@ -10113,6 +10117,73 @@ export class QueryDubbridgeAgreementPreviewResponse extends $tea.Model {
10113
10117
  }
10114
10118
  }
10115
10119
 
10120
+ export class QueryDubbridgeAccountUsecreditRequest extends $tea.Model {
10121
+ // OAuth模式下的授权token
10122
+ authToken?: string;
10123
+ productInstanceId?: string;
10124
+ // 渠道号
10125
+ channelCode: string;
10126
+ // 客户编码
10127
+ customNo: string;
10128
+ // 资产方用户唯一标识
10129
+ openId: string;
10130
+ static names(): { [key: string]: string } {
10131
+ return {
10132
+ authToken: 'auth_token',
10133
+ productInstanceId: 'product_instance_id',
10134
+ channelCode: 'channel_code',
10135
+ customNo: 'custom_no',
10136
+ openId: 'open_id',
10137
+ };
10138
+ }
10139
+
10140
+ static types(): { [key: string]: any } {
10141
+ return {
10142
+ authToken: 'string',
10143
+ productInstanceId: 'string',
10144
+ channelCode: 'string',
10145
+ customNo: 'string',
10146
+ openId: 'string',
10147
+ };
10148
+ }
10149
+
10150
+ constructor(map?: { [key: string]: any }) {
10151
+ super(map);
10152
+ }
10153
+ }
10154
+
10155
+ export class QueryDubbridgeAccountUsecreditResponse extends $tea.Model {
10156
+ // 请求唯一ID,用于链路跟踪和问题排查
10157
+ reqMsgId?: string;
10158
+ // 结果码,一般OK表示调用成功
10159
+ resultCode?: string;
10160
+ // 异常信息的文本描述
10161
+ resultMsg?: string;
10162
+ // 用户借款是否结清
10163
+ data?: CustomReceiptStatus;
10164
+ static names(): { [key: string]: string } {
10165
+ return {
10166
+ reqMsgId: 'req_msg_id',
10167
+ resultCode: 'result_code',
10168
+ resultMsg: 'result_msg',
10169
+ data: 'data',
10170
+ };
10171
+ }
10172
+
10173
+ static types(): { [key: string]: any } {
10174
+ return {
10175
+ reqMsgId: 'string',
10176
+ resultCode: 'string',
10177
+ resultMsg: 'string',
10178
+ data: CustomReceiptStatus,
10179
+ };
10180
+ }
10181
+
10182
+ constructor(map?: { [key: string]: any }) {
10183
+ super(map);
10184
+ }
10185
+ }
10186
+
10116
10187
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
10117
10188
  // OAuth模式下的授权token
10118
10189
  authToken?: string;
@@ -13461,17 +13532,14 @@ export class PushRbbCustomerInformationResponse extends $tea.Model {
13461
13532
  resultCode?: string;
13462
13533
  // 异常信息的文本描述
13463
13534
  resultMsg?: string;
13464
- // 返回代码
13465
- resCode?: string;
13466
- // 结果说明
13467
- resMsg?: string;
13535
+ // 地址
13536
+ resultUrl?: string;
13468
13537
  static names(): { [key: string]: string } {
13469
13538
  return {
13470
13539
  reqMsgId: 'req_msg_id',
13471
13540
  resultCode: 'result_code',
13472
13541
  resultMsg: 'result_msg',
13473
- resCode: 'res_code',
13474
- resMsg: 'res_msg',
13542
+ resultUrl: 'result_url',
13475
13543
  };
13476
13544
  }
13477
13545
 
@@ -13480,8 +13548,7 @@ export class PushRbbCustomerInformationResponse extends $tea.Model {
13480
13548
  reqMsgId: 'string',
13481
13549
  resultCode: 'string',
13482
13550
  resultMsg: 'string',
13483
- resCode: 'string',
13484
- resMsg: 'string',
13551
+ resultUrl: 'string',
13485
13552
  };
13486
13553
  }
13487
13554
 
@@ -13587,17 +13654,11 @@ export class PushRbbCustomerStatusResponse extends $tea.Model {
13587
13654
  resultCode?: string;
13588
13655
  // 异常信息的文本描述
13589
13656
  resultMsg?: string;
13590
- // 结果说明
13591
- resMsg?: string;
13592
- // 返回代码
13593
- resCode?: string;
13594
13657
  static names(): { [key: string]: string } {
13595
13658
  return {
13596
13659
  reqMsgId: 'req_msg_id',
13597
13660
  resultCode: 'result_code',
13598
13661
  resultMsg: 'result_msg',
13599
- resMsg: 'res_msg',
13600
- resCode: 'res_code',
13601
13662
  };
13602
13663
  }
13603
13664
 
@@ -13606,8 +13667,6 @@ export class PushRbbCustomerStatusResponse extends $tea.Model {
13606
13667
  reqMsgId: 'string',
13607
13668
  resultCode: 'string',
13608
13669
  resultMsg: 'string',
13609
- resMsg: 'string',
13610
- resCode: 'string',
13611
13670
  };
13612
13671
  }
13613
13672
 
@@ -19844,7 +19903,7 @@ export default class Client {
19844
19903
  req_msg_id: AntchainUtil.getNonce(),
19845
19904
  access_key: this._accessKeyId,
19846
19905
  base_sdk_version: "TeaSDK-2.0",
19847
- sdk_version: "1.19.18",
19906
+ sdk_version: "1.19.21",
19848
19907
  _prod_code: "RISKPLUS",
19849
19908
  _prod_channel: "undefined",
19850
19909
  };
@@ -21186,6 +21245,25 @@ export default class Client {
21186
21245
  return $tea.cast<QueryDubbridgeAgreementPreviewResponse>(await this.doRequest("1.0", "riskplus.dubbridge.agreement.preview.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAgreementPreviewResponse({}));
21187
21246
  }
21188
21247
 
21248
+ /**
21249
+ * Description: 用户借款是否结清
21250
+ * Summary: 用户借款是否结清
21251
+ */
21252
+ async queryDubbridgeAccountUsecredit(request: QueryDubbridgeAccountUsecreditRequest): Promise<QueryDubbridgeAccountUsecreditResponse> {
21253
+ let runtime = new $Util.RuntimeOptions({ });
21254
+ let headers : {[key: string ]: string} = { };
21255
+ return await this.queryDubbridgeAccountUsecreditEx(request, headers, runtime);
21256
+ }
21257
+
21258
+ /**
21259
+ * Description: 用户借款是否结清
21260
+ * Summary: 用户借款是否结清
21261
+ */
21262
+ async queryDubbridgeAccountUsecreditEx(request: QueryDubbridgeAccountUsecreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAccountUsecreditResponse> {
21263
+ Util.validateModel(request);
21264
+ return $tea.cast<QueryDubbridgeAccountUsecreditResponse>(await this.doRequest("1.0", "riskplus.dubbridge.account.usecredit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAccountUsecreditResponse({}));
21265
+ }
21266
+
21189
21267
  /**
21190
21268
  * Description: 四要素认证首先调用此接口
21191
21269
  * Summary: 芝麻四要素接口