@antchain/riskplus 1.16.23 → 1.16.25
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/dist/client.d.ts +64 -0
- package/dist/client.js +99 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +144 -1
package/package.json
CHANGED
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-附件
|
|
@@ -7874,6 +7911,8 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7874
7911
|
orderNo: string;
|
|
7875
7912
|
// 校验还款金额
|
|
7876
7913
|
validRepayAmount?: string;
|
|
7914
|
+
// 银行卡号
|
|
7915
|
+
bankCardNo?: string;
|
|
7877
7916
|
static names(): { [key: string]: string } {
|
|
7878
7917
|
return {
|
|
7879
7918
|
authToken: 'auth_token',
|
|
@@ -7882,6 +7921,7 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7882
7921
|
repayType: 'repay_type',
|
|
7883
7922
|
orderNo: 'order_no',
|
|
7884
7923
|
validRepayAmount: 'valid_repay_amount',
|
|
7924
|
+
bankCardNo: 'bank_card_no',
|
|
7885
7925
|
};
|
|
7886
7926
|
}
|
|
7887
7927
|
|
|
@@ -7893,6 +7933,7 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7893
7933
|
repayType: 'string',
|
|
7894
7934
|
orderNo: 'string',
|
|
7895
7935
|
validRepayAmount: 'string',
|
|
7936
|
+
bankCardNo: 'string',
|
|
7896
7937
|
};
|
|
7897
7938
|
}
|
|
7898
7939
|
|
|
@@ -8024,6 +8065,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8024
8065
|
riskData?: string;
|
|
8025
8066
|
// 资金源编码
|
|
8026
8067
|
loanInstCode?: string;
|
|
8068
|
+
// 银行卡号
|
|
8069
|
+
bankCardNo?: string;
|
|
8027
8070
|
static names(): { [key: string]: string } {
|
|
8028
8071
|
return {
|
|
8029
8072
|
authToken: 'auth_token',
|
|
@@ -8040,6 +8083,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8040
8083
|
customType: 'custom_type',
|
|
8041
8084
|
riskData: 'risk_data',
|
|
8042
8085
|
loanInstCode: 'loan_inst_code',
|
|
8086
|
+
bankCardNo: 'bank_card_no',
|
|
8043
8087
|
};
|
|
8044
8088
|
}
|
|
8045
8089
|
|
|
@@ -8059,6 +8103,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8059
8103
|
customType: 'string',
|
|
8060
8104
|
riskData: 'string',
|
|
8061
8105
|
loanInstCode: 'string',
|
|
8106
|
+
bankCardNo: 'string',
|
|
8062
8107
|
};
|
|
8063
8108
|
}
|
|
8064
8109
|
|
|
@@ -8550,6 +8595,14 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8550
8595
|
repayInfos?: RepayInfos[];
|
|
8551
8596
|
// 还款日期
|
|
8552
8597
|
repayDate?: string;
|
|
8598
|
+
// 实还总额
|
|
8599
|
+
repayAmount?: number;
|
|
8600
|
+
// 实还总本金
|
|
8601
|
+
repayPrincipal?: number;
|
|
8602
|
+
// 实还总利息
|
|
8603
|
+
repayInterest?: number;
|
|
8604
|
+
// 实收总罚息
|
|
8605
|
+
repayPunish?: number;
|
|
8553
8606
|
static names(): { [key: string]: string } {
|
|
8554
8607
|
return {
|
|
8555
8608
|
reqMsgId: 'req_msg_id',
|
|
@@ -8565,6 +8618,10 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8565
8618
|
failReason: 'fail_reason',
|
|
8566
8619
|
repayInfos: 'repay_infos',
|
|
8567
8620
|
repayDate: 'repay_date',
|
|
8621
|
+
repayAmount: 'repay_amount',
|
|
8622
|
+
repayPrincipal: 'repay_principal',
|
|
8623
|
+
repayInterest: 'repay_interest',
|
|
8624
|
+
repayPunish: 'repay_punish',
|
|
8568
8625
|
};
|
|
8569
8626
|
}
|
|
8570
8627
|
|
|
@@ -8583,6 +8640,10 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8583
8640
|
failReason: 'string',
|
|
8584
8641
|
repayInfos: { 'type': 'array', 'itemType': RepayInfos },
|
|
8585
8642
|
repayDate: 'string',
|
|
8643
|
+
repayAmount: 'number',
|
|
8644
|
+
repayPrincipal: 'number',
|
|
8645
|
+
repayInterest: 'number',
|
|
8646
|
+
repayPunish: 'number',
|
|
8586
8647
|
};
|
|
8587
8648
|
}
|
|
8588
8649
|
|
|
@@ -8819,6 +8880,69 @@ export class QueryDubbridgeLoanUpgradestatusResponse extends $tea.Model {
|
|
|
8819
8880
|
}
|
|
8820
8881
|
}
|
|
8821
8882
|
|
|
8883
|
+
export class QueryDubbridgeCustomerBankcardlistRequest extends $tea.Model {
|
|
8884
|
+
// OAuth模式下的授权token
|
|
8885
|
+
authToken?: string;
|
|
8886
|
+
productInstanceId?: string;
|
|
8887
|
+
// 客户号
|
|
8888
|
+
customerNo: string;
|
|
8889
|
+
// 资金方编号
|
|
8890
|
+
fundCode: string;
|
|
8891
|
+
static names(): { [key: string]: string } {
|
|
8892
|
+
return {
|
|
8893
|
+
authToken: 'auth_token',
|
|
8894
|
+
productInstanceId: 'product_instance_id',
|
|
8895
|
+
customerNo: 'customer_no',
|
|
8896
|
+
fundCode: 'fund_code',
|
|
8897
|
+
};
|
|
8898
|
+
}
|
|
8899
|
+
|
|
8900
|
+
static types(): { [key: string]: any } {
|
|
8901
|
+
return {
|
|
8902
|
+
authToken: 'string',
|
|
8903
|
+
productInstanceId: 'string',
|
|
8904
|
+
customerNo: 'string',
|
|
8905
|
+
fundCode: 'string',
|
|
8906
|
+
};
|
|
8907
|
+
}
|
|
8908
|
+
|
|
8909
|
+
constructor(map?: { [key: string]: any }) {
|
|
8910
|
+
super(map);
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
|
|
8914
|
+
export class QueryDubbridgeCustomerBankcardlistResponse extends $tea.Model {
|
|
8915
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8916
|
+
reqMsgId?: string;
|
|
8917
|
+
// 结果码,一般OK表示调用成功
|
|
8918
|
+
resultCode?: string;
|
|
8919
|
+
// 异常信息的文本描述
|
|
8920
|
+
resultMsg?: string;
|
|
8921
|
+
// 用户绑定银行卡信息列表
|
|
8922
|
+
customerBankCardInfoList?: CustomerBankCardInfo[];
|
|
8923
|
+
static names(): { [key: string]: string } {
|
|
8924
|
+
return {
|
|
8925
|
+
reqMsgId: 'req_msg_id',
|
|
8926
|
+
resultCode: 'result_code',
|
|
8927
|
+
resultMsg: 'result_msg',
|
|
8928
|
+
customerBankCardInfoList: 'customer_bank_card_info_list',
|
|
8929
|
+
};
|
|
8930
|
+
}
|
|
8931
|
+
|
|
8932
|
+
static types(): { [key: string]: any } {
|
|
8933
|
+
return {
|
|
8934
|
+
reqMsgId: 'string',
|
|
8935
|
+
resultCode: 'string',
|
|
8936
|
+
resultMsg: 'string',
|
|
8937
|
+
customerBankCardInfoList: { 'type': 'array', 'itemType': CustomerBankCardInfo },
|
|
8938
|
+
};
|
|
8939
|
+
}
|
|
8940
|
+
|
|
8941
|
+
constructor(map?: { [key: string]: any }) {
|
|
8942
|
+
super(map);
|
|
8943
|
+
}
|
|
8944
|
+
}
|
|
8945
|
+
|
|
8822
8946
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
8823
8947
|
// OAuth模式下的授权token
|
|
8824
8948
|
authToken?: string;
|
|
@@ -14908,7 +15032,7 @@ export default class Client {
|
|
|
14908
15032
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14909
15033
|
access_key: this._accessKeyId,
|
|
14910
15034
|
base_sdk_version: "TeaSDK-2.0",
|
|
14911
|
-
sdk_version: "1.16.
|
|
15035
|
+
sdk_version: "1.16.25",
|
|
14912
15036
|
_prod_code: "RISKPLUS",
|
|
14913
15037
|
_prod_channel: "undefined",
|
|
14914
15038
|
};
|
|
@@ -16136,6 +16260,25 @@ export default class Client {
|
|
|
16136
16260
|
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
16261
|
}
|
|
16138
16262
|
|
|
16263
|
+
/**
|
|
16264
|
+
* Description: 支付签约查询(用户绑定银行卡列表)
|
|
16265
|
+
* Summary: 支付签约查询(用户绑定银行卡列表)
|
|
16266
|
+
*/
|
|
16267
|
+
async queryDubbridgeCustomerBankcardlist(request: QueryDubbridgeCustomerBankcardlistRequest): Promise<QueryDubbridgeCustomerBankcardlistResponse> {
|
|
16268
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16269
|
+
let headers : {[key: string ]: string} = { };
|
|
16270
|
+
return await this.queryDubbridgeCustomerBankcardlistEx(request, headers, runtime);
|
|
16271
|
+
}
|
|
16272
|
+
|
|
16273
|
+
/**
|
|
16274
|
+
* Description: 支付签约查询(用户绑定银行卡列表)
|
|
16275
|
+
* Summary: 支付签约查询(用户绑定银行卡列表)
|
|
16276
|
+
*/
|
|
16277
|
+
async queryDubbridgeCustomerBankcardlistEx(request: QueryDubbridgeCustomerBankcardlistRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCustomerBankcardlistResponse> {
|
|
16278
|
+
Util.validateModel(request);
|
|
16279
|
+
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({}));
|
|
16280
|
+
}
|
|
16281
|
+
|
|
16139
16282
|
/**
|
|
16140
16283
|
* Description: 四要素认证首先调用此接口
|
|
16141
16284
|
* Summary: 芝麻四要素接口
|