@antchain/riskplus 1.16.22 → 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/dist/client.d.ts +143 -1
- package/dist/client.js +211 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +287 -4
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-附件
|
|
@@ -6256,7 +6293,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6256
6293
|
// 订单号
|
|
6257
6294
|
orderNo?: string;
|
|
6258
6295
|
// 客户号
|
|
6259
|
-
|
|
6296
|
+
customerNo?: string;
|
|
6260
6297
|
// 绑卡流水
|
|
6261
6298
|
bindSerialNo: string;
|
|
6262
6299
|
// 绑卡验证码
|
|
@@ -6270,7 +6307,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6270
6307
|
authToken: 'auth_token',
|
|
6271
6308
|
productInstanceId: 'product_instance_id',
|
|
6272
6309
|
orderNo: 'order_no',
|
|
6273
|
-
|
|
6310
|
+
customerNo: 'customer_no',
|
|
6274
6311
|
bindSerialNo: 'bind_serial_no',
|
|
6275
6312
|
bindValidCode: 'bind_valid_code',
|
|
6276
6313
|
bankCardNo: 'bank_card_no',
|
|
@@ -6283,7 +6320,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6283
6320
|
authToken: 'string',
|
|
6284
6321
|
productInstanceId: 'string',
|
|
6285
6322
|
orderNo: 'string',
|
|
6286
|
-
|
|
6323
|
+
customerNo: 'string',
|
|
6287
6324
|
bindSerialNo: 'string',
|
|
6288
6325
|
bindValidCode: 'string',
|
|
6289
6326
|
bankCardNo: 'string',
|
|
@@ -8693,6 +8730,195 @@ export class QueryDubbridgeCreditPermitResponse extends $tea.Model {
|
|
|
8693
8730
|
}
|
|
8694
8731
|
}
|
|
8695
8732
|
|
|
8733
|
+
export class QueryDubbridgeUserUpgradestatusRequest extends $tea.Model {
|
|
8734
|
+
// OAuth模式下的授权token
|
|
8735
|
+
authToken?: string;
|
|
8736
|
+
productInstanceId?: string;
|
|
8737
|
+
// 资产方用户唯一标识
|
|
8738
|
+
openId?: string;
|
|
8739
|
+
// 天枢客户编号
|
|
8740
|
+
customerNo?: string;
|
|
8741
|
+
static names(): { [key: string]: string } {
|
|
8742
|
+
return {
|
|
8743
|
+
authToken: 'auth_token',
|
|
8744
|
+
productInstanceId: 'product_instance_id',
|
|
8745
|
+
openId: 'open_id',
|
|
8746
|
+
customerNo: 'customer_no',
|
|
8747
|
+
};
|
|
8748
|
+
}
|
|
8749
|
+
|
|
8750
|
+
static types(): { [key: string]: any } {
|
|
8751
|
+
return {
|
|
8752
|
+
authToken: 'string',
|
|
8753
|
+
productInstanceId: 'string',
|
|
8754
|
+
openId: 'string',
|
|
8755
|
+
customerNo: 'string',
|
|
8756
|
+
};
|
|
8757
|
+
}
|
|
8758
|
+
|
|
8759
|
+
constructor(map?: { [key: string]: any }) {
|
|
8760
|
+
super(map);
|
|
8761
|
+
}
|
|
8762
|
+
}
|
|
8763
|
+
|
|
8764
|
+
export class QueryDubbridgeUserUpgradestatusResponse extends $tea.Model {
|
|
8765
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8766
|
+
reqMsgId?: string;
|
|
8767
|
+
// 结果码,一般OK表示调用成功
|
|
8768
|
+
resultCode?: string;
|
|
8769
|
+
// 异常信息的文本描述
|
|
8770
|
+
resultMsg?: string;
|
|
8771
|
+
// 用户状态:0已升级,1未升级
|
|
8772
|
+
status?: string;
|
|
8773
|
+
static names(): { [key: string]: string } {
|
|
8774
|
+
return {
|
|
8775
|
+
reqMsgId: 'req_msg_id',
|
|
8776
|
+
resultCode: 'result_code',
|
|
8777
|
+
resultMsg: 'result_msg',
|
|
8778
|
+
status: 'status',
|
|
8779
|
+
};
|
|
8780
|
+
}
|
|
8781
|
+
|
|
8782
|
+
static types(): { [key: string]: any } {
|
|
8783
|
+
return {
|
|
8784
|
+
reqMsgId: 'string',
|
|
8785
|
+
resultCode: 'string',
|
|
8786
|
+
resultMsg: 'string',
|
|
8787
|
+
status: 'string',
|
|
8788
|
+
};
|
|
8789
|
+
}
|
|
8790
|
+
|
|
8791
|
+
constructor(map?: { [key: string]: any }) {
|
|
8792
|
+
super(map);
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8795
|
+
|
|
8796
|
+
export class QueryDubbridgeLoanUpgradestatusRequest extends $tea.Model {
|
|
8797
|
+
// OAuth模式下的授权token
|
|
8798
|
+
authToken?: string;
|
|
8799
|
+
productInstanceId?: string;
|
|
8800
|
+
// 用信申请订单号(资产方)
|
|
8801
|
+
originalOrderNo?: string;
|
|
8802
|
+
// 借据编号
|
|
8803
|
+
receiptNo?: string;
|
|
8804
|
+
static names(): { [key: string]: string } {
|
|
8805
|
+
return {
|
|
8806
|
+
authToken: 'auth_token',
|
|
8807
|
+
productInstanceId: 'product_instance_id',
|
|
8808
|
+
originalOrderNo: 'original_order_no',
|
|
8809
|
+
receiptNo: 'receipt_no',
|
|
8810
|
+
};
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8813
|
+
static types(): { [key: string]: any } {
|
|
8814
|
+
return {
|
|
8815
|
+
authToken: 'string',
|
|
8816
|
+
productInstanceId: 'string',
|
|
8817
|
+
originalOrderNo: 'string',
|
|
8818
|
+
receiptNo: 'string',
|
|
8819
|
+
};
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
constructor(map?: { [key: string]: any }) {
|
|
8823
|
+
super(map);
|
|
8824
|
+
}
|
|
8825
|
+
}
|
|
8826
|
+
|
|
8827
|
+
export class QueryDubbridgeLoanUpgradestatusResponse extends $tea.Model {
|
|
8828
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8829
|
+
reqMsgId?: string;
|
|
8830
|
+
// 结果码,一般OK表示调用成功
|
|
8831
|
+
resultCode?: string;
|
|
8832
|
+
// 异常信息的文本描述
|
|
8833
|
+
resultMsg?: string;
|
|
8834
|
+
// 借据状态:0存量,1增量
|
|
8835
|
+
status?: string;
|
|
8836
|
+
static names(): { [key: string]: string } {
|
|
8837
|
+
return {
|
|
8838
|
+
reqMsgId: 'req_msg_id',
|
|
8839
|
+
resultCode: 'result_code',
|
|
8840
|
+
resultMsg: 'result_msg',
|
|
8841
|
+
status: 'status',
|
|
8842
|
+
};
|
|
8843
|
+
}
|
|
8844
|
+
|
|
8845
|
+
static types(): { [key: string]: any } {
|
|
8846
|
+
return {
|
|
8847
|
+
reqMsgId: 'string',
|
|
8848
|
+
resultCode: 'string',
|
|
8849
|
+
resultMsg: 'string',
|
|
8850
|
+
status: 'string',
|
|
8851
|
+
};
|
|
8852
|
+
}
|
|
8853
|
+
|
|
8854
|
+
constructor(map?: { [key: string]: any }) {
|
|
8855
|
+
super(map);
|
|
8856
|
+
}
|
|
8857
|
+
}
|
|
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
|
+
|
|
8696
8922
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
8697
8923
|
// OAuth模式下的授权token
|
|
8698
8924
|
authToken?: string;
|
|
@@ -14782,7 +15008,7 @@ export default class Client {
|
|
|
14782
15008
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14783
15009
|
access_key: this._accessKeyId,
|
|
14784
15010
|
base_sdk_version: "TeaSDK-2.0",
|
|
14785
|
-
sdk_version: "1.16.
|
|
15011
|
+
sdk_version: "1.16.24",
|
|
14786
15012
|
_prod_code: "RISKPLUS",
|
|
14787
15013
|
_prod_channel: "undefined",
|
|
14788
15014
|
};
|
|
@@ -15972,6 +16198,63 @@ export default class Client {
|
|
|
15972
16198
|
return $tea.cast<QueryDubbridgeCreditPermitResponse>(await this.doRequest("1.0", "riskplus.dubbridge.credit.permit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditPermitResponse({}));
|
|
15973
16199
|
}
|
|
15974
16200
|
|
|
16201
|
+
/**
|
|
16202
|
+
* Description: 用户状态判断
|
|
16203
|
+
* Summary: 用户状态判断
|
|
16204
|
+
*/
|
|
16205
|
+
async queryDubbridgeUserUpgradestatus(request: QueryDubbridgeUserUpgradestatusRequest): Promise<QueryDubbridgeUserUpgradestatusResponse> {
|
|
16206
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16207
|
+
let headers : {[key: string ]: string} = { };
|
|
16208
|
+
return await this.queryDubbridgeUserUpgradestatusEx(request, headers, runtime);
|
|
16209
|
+
}
|
|
16210
|
+
|
|
16211
|
+
/**
|
|
16212
|
+
* Description: 用户状态判断
|
|
16213
|
+
* Summary: 用户状态判断
|
|
16214
|
+
*/
|
|
16215
|
+
async queryDubbridgeUserUpgradestatusEx(request: QueryDubbridgeUserUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeUserUpgradestatusResponse> {
|
|
16216
|
+
Util.validateModel(request);
|
|
16217
|
+
return $tea.cast<QueryDubbridgeUserUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.user.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeUserUpgradestatusResponse({}));
|
|
16218
|
+
}
|
|
16219
|
+
|
|
16220
|
+
/**
|
|
16221
|
+
* Description: 借据状态判断
|
|
16222
|
+
* Summary: 借据状态判断
|
|
16223
|
+
*/
|
|
16224
|
+
async queryDubbridgeLoanUpgradestatus(request: QueryDubbridgeLoanUpgradestatusRequest): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
|
|
16225
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16226
|
+
let headers : {[key: string ]: string} = { };
|
|
16227
|
+
return await this.queryDubbridgeLoanUpgradestatusEx(request, headers, runtime);
|
|
16228
|
+
}
|
|
16229
|
+
|
|
16230
|
+
/**
|
|
16231
|
+
* Description: 借据状态判断
|
|
16232
|
+
* Summary: 借据状态判断
|
|
16233
|
+
*/
|
|
16234
|
+
async queryDubbridgeLoanUpgradestatusEx(request: QueryDubbridgeLoanUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
|
|
16235
|
+
Util.validateModel(request);
|
|
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({}));
|
|
16237
|
+
}
|
|
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
|
+
|
|
15975
16258
|
/**
|
|
15976
16259
|
* Description: 四要素认证首先调用此接口
|
|
15977
16260
|
* Summary: 芝麻四要素接口
|