@antchain/riskplus 1.16.23 → 1.16.24

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.16.23",
3
+ "version": "1.16.24",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1186,6 +1186,43 @@ export class RtopCompanyRiskFactor extends $tea.Model {
1186
1186
  }
1187
1187
  }
1188
1188
 
1189
+ // 用户绑定银行卡列表
1190
+ export class CustomerBankCardInfo extends $tea.Model {
1191
+ // 银行名称
1192
+ bankName: string;
1193
+ // 银行编码
1194
+ bankCode: string;
1195
+ // 银行卡号
1196
+ bankCardNo: string;
1197
+ // 是否已签约
1198
+ signed?: string;
1199
+ // 是否为账户代扣银行卡
1200
+ acctBankCard?: string;
1201
+ static names(): { [key: string]: string } {
1202
+ return {
1203
+ bankName: 'bank_name',
1204
+ bankCode: 'bank_code',
1205
+ bankCardNo: 'bank_card_no',
1206
+ signed: 'signed',
1207
+ acctBankCard: 'acct_bank_card',
1208
+ };
1209
+ }
1210
+
1211
+ static types(): { [key: string]: any } {
1212
+ return {
1213
+ bankName: 'string',
1214
+ bankCode: 'string',
1215
+ bankCardNo: 'string',
1216
+ signed: 'string',
1217
+ acctBankCard: 'string',
1218
+ };
1219
+ }
1220
+
1221
+ constructor(map?: { [key: string]: any }) {
1222
+ super(map);
1223
+ }
1224
+ }
1225
+
1189
1226
  // 天枢系统专用Material结构体
1190
1227
  export class Material extends $tea.Model {
1191
1228
  // 资料类型0-风控报告1-合同2-图片3-附件
@@ -8819,6 +8856,69 @@ export class QueryDubbridgeLoanUpgradestatusResponse extends $tea.Model {
8819
8856
  }
8820
8857
  }
8821
8858
 
8859
+ export class QueryDubbridgeCustomerBankcardlistRequest extends $tea.Model {
8860
+ // OAuth模式下的授权token
8861
+ authToken?: string;
8862
+ productInstanceId?: string;
8863
+ // 客户号
8864
+ customerNo: string;
8865
+ // 资金方编号
8866
+ fundCode: string;
8867
+ static names(): { [key: string]: string } {
8868
+ return {
8869
+ authToken: 'auth_token',
8870
+ productInstanceId: 'product_instance_id',
8871
+ customerNo: 'customer_no',
8872
+ fundCode: 'fund_code',
8873
+ };
8874
+ }
8875
+
8876
+ static types(): { [key: string]: any } {
8877
+ return {
8878
+ authToken: 'string',
8879
+ productInstanceId: 'string',
8880
+ customerNo: 'string',
8881
+ fundCode: 'string',
8882
+ };
8883
+ }
8884
+
8885
+ constructor(map?: { [key: string]: any }) {
8886
+ super(map);
8887
+ }
8888
+ }
8889
+
8890
+ export class QueryDubbridgeCustomerBankcardlistResponse extends $tea.Model {
8891
+ // 请求唯一ID,用于链路跟踪和问题排查
8892
+ reqMsgId?: string;
8893
+ // 结果码,一般OK表示调用成功
8894
+ resultCode?: string;
8895
+ // 异常信息的文本描述
8896
+ resultMsg?: string;
8897
+ // 用户绑定银行卡信息列表
8898
+ customerBankCardInfoList?: CustomerBankCardInfo[];
8899
+ static names(): { [key: string]: string } {
8900
+ return {
8901
+ reqMsgId: 'req_msg_id',
8902
+ resultCode: 'result_code',
8903
+ resultMsg: 'result_msg',
8904
+ customerBankCardInfoList: 'customer_bank_card_info_list',
8905
+ };
8906
+ }
8907
+
8908
+ static types(): { [key: string]: any } {
8909
+ return {
8910
+ reqMsgId: 'string',
8911
+ resultCode: 'string',
8912
+ resultMsg: 'string',
8913
+ customerBankCardInfoList: { 'type': 'array', 'itemType': CustomerBankCardInfo },
8914
+ };
8915
+ }
8916
+
8917
+ constructor(map?: { [key: string]: any }) {
8918
+ super(map);
8919
+ }
8920
+ }
8921
+
8822
8922
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
8823
8923
  // OAuth模式下的授权token
8824
8924
  authToken?: string;
@@ -14908,7 +15008,7 @@ export default class Client {
14908
15008
  req_msg_id: AntchainUtil.getNonce(),
14909
15009
  access_key: this._accessKeyId,
14910
15010
  base_sdk_version: "TeaSDK-2.0",
14911
- sdk_version: "1.16.23",
15011
+ sdk_version: "1.16.24",
14912
15012
  _prod_code: "RISKPLUS",
14913
15013
  _prod_channel: "undefined",
14914
15014
  };
@@ -16136,6 +16236,25 @@ export default class Client {
16136
16236
  return $tea.cast<QueryDubbridgeLoanUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.loan.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeLoanUpgradestatusResponse({}));
16137
16237
  }
16138
16238
 
16239
+ /**
16240
+ * Description: 支付签约查询(用户绑定银行卡列表)
16241
+ * Summary: 支付签约查询(用户绑定银行卡列表)
16242
+ */
16243
+ async queryDubbridgeCustomerBankcardlist(request: QueryDubbridgeCustomerBankcardlistRequest): Promise<QueryDubbridgeCustomerBankcardlistResponse> {
16244
+ let runtime = new $Util.RuntimeOptions({ });
16245
+ let headers : {[key: string ]: string} = { };
16246
+ return await this.queryDubbridgeCustomerBankcardlistEx(request, headers, runtime);
16247
+ }
16248
+
16249
+ /**
16250
+ * Description: 支付签约查询(用户绑定银行卡列表)
16251
+ * Summary: 支付签约查询(用户绑定银行卡列表)
16252
+ */
16253
+ async queryDubbridgeCustomerBankcardlistEx(request: QueryDubbridgeCustomerBankcardlistRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCustomerBankcardlistResponse> {
16254
+ Util.validateModel(request);
16255
+ return $tea.cast<QueryDubbridgeCustomerBankcardlistResponse>(await this.doRequest("1.0", "riskplus.dubbridge.customer.bankcardlist.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCustomerBankcardlistResponse({}));
16256
+ }
16257
+
16139
16258
  /**
16140
16259
  * Description: 四要素认证首先调用此接口
16141
16260
  * Summary: 芝麻四要素接口