@antchain/riskplus 1.19.7 → 1.19.11
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 +117 -0
- package/dist/client.js +183 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +272 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -646,6 +646,8 @@ export class RepayResult extends $tea.Model {
|
|
|
646
646
|
needGuaranteeFee: number;
|
|
647
647
|
// 应还违约金
|
|
648
648
|
needLiquidatedDamages: number;
|
|
649
|
+
// 逾期天数
|
|
650
|
+
overdueDays: number;
|
|
649
651
|
static names(): { [key: string]: string } {
|
|
650
652
|
return {
|
|
651
653
|
customNo: 'custom_no',
|
|
@@ -677,6 +679,7 @@ export class RepayResult extends $tea.Model {
|
|
|
677
679
|
restLiquidatedDamages: 'rest_liquidated_damages',
|
|
678
680
|
needGuaranteeFee: 'need_guarantee_fee',
|
|
679
681
|
needLiquidatedDamages: 'need_liquidated_damages',
|
|
682
|
+
overdueDays: 'overdue_days',
|
|
680
683
|
};
|
|
681
684
|
}
|
|
682
685
|
|
|
@@ -711,6 +714,7 @@ export class RepayResult extends $tea.Model {
|
|
|
711
714
|
restLiquidatedDamages: 'number',
|
|
712
715
|
needGuaranteeFee: 'number',
|
|
713
716
|
needLiquidatedDamages: 'number',
|
|
717
|
+
overdueDays: 'number',
|
|
714
718
|
};
|
|
715
719
|
}
|
|
716
720
|
|
|
@@ -3405,6 +3409,51 @@ export class OverdueInfoResponse extends $tea.Model {
|
|
|
3405
3409
|
}
|
|
3406
3410
|
}
|
|
3407
3411
|
|
|
3412
|
+
// 天枢预览协议信息
|
|
3413
|
+
export class GetAgreementUrlResponseData extends $tea.Model {
|
|
3414
|
+
// 协议标题
|
|
3415
|
+
title: string;
|
|
3416
|
+
// 协议地址
|
|
3417
|
+
agreementUrl?: string;
|
|
3418
|
+
// 协议文件Base64
|
|
3419
|
+
fileBase64?: string;
|
|
3420
|
+
// 协议图片文件base64集合
|
|
3421
|
+
picFileBase64List?: string[];
|
|
3422
|
+
// 机构名称
|
|
3423
|
+
organizationName: string;
|
|
3424
|
+
// 协议类型-code
|
|
3425
|
+
fileType: string;
|
|
3426
|
+
// 协议类型-名称
|
|
3427
|
+
fileTypeName: string;
|
|
3428
|
+
static names(): { [key: string]: string } {
|
|
3429
|
+
return {
|
|
3430
|
+
title: 'title',
|
|
3431
|
+
agreementUrl: 'agreement_url',
|
|
3432
|
+
fileBase64: 'file_base64',
|
|
3433
|
+
picFileBase64List: 'pic_file_base64_list',
|
|
3434
|
+
organizationName: 'organization_name',
|
|
3435
|
+
fileType: 'file_type',
|
|
3436
|
+
fileTypeName: 'file_type_name',
|
|
3437
|
+
};
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
static types(): { [key: string]: any } {
|
|
3441
|
+
return {
|
|
3442
|
+
title: 'string',
|
|
3443
|
+
agreementUrl: 'string',
|
|
3444
|
+
fileBase64: 'string',
|
|
3445
|
+
picFileBase64List: { 'type': 'array', 'itemType': 'string' },
|
|
3446
|
+
organizationName: 'string',
|
|
3447
|
+
fileType: 'string',
|
|
3448
|
+
fileTypeName: 'string',
|
|
3449
|
+
};
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
constructor(map?: { [key: string]: any }) {
|
|
3453
|
+
super(map);
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3408
3457
|
// 机构平台通知响应结果
|
|
3409
3458
|
export class DefinInnerChannelNotifyResult extends $tea.Model {
|
|
3410
3459
|
// 请求编号
|
|
@@ -8872,6 +8921,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8872
8921
|
loanInstCode?: string;
|
|
8873
8922
|
// 银行卡号
|
|
8874
8923
|
bankCardNo?: string;
|
|
8924
|
+
// 影像件信息
|
|
8925
|
+
materials?: Material[];
|
|
8875
8926
|
static names(): { [key: string]: string } {
|
|
8876
8927
|
return {
|
|
8877
8928
|
authToken: 'auth_token',
|
|
@@ -8889,6 +8940,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8889
8940
|
riskData: 'risk_data',
|
|
8890
8941
|
loanInstCode: 'loan_inst_code',
|
|
8891
8942
|
bankCardNo: 'bank_card_no',
|
|
8943
|
+
materials: 'materials',
|
|
8892
8944
|
};
|
|
8893
8945
|
}
|
|
8894
8946
|
|
|
@@ -8909,6 +8961,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8909
8961
|
riskData: 'string',
|
|
8910
8962
|
loanInstCode: 'string',
|
|
8911
8963
|
bankCardNo: 'string',
|
|
8964
|
+
materials: { 'type': 'array', 'itemType': Material },
|
|
8912
8965
|
};
|
|
8913
8966
|
}
|
|
8914
8967
|
|
|
@@ -9760,6 +9813,8 @@ export class QueryDubbridgeRouterUserselectRequest extends $tea.Model {
|
|
|
9760
9813
|
mobile: string;
|
|
9761
9814
|
// 姓名
|
|
9762
9815
|
customName?: string;
|
|
9816
|
+
// 机构编码
|
|
9817
|
+
platformNo?: string;
|
|
9763
9818
|
// 扩展信息JSON
|
|
9764
9819
|
extInfo?: string;
|
|
9765
9820
|
static names(): { [key: string]: string } {
|
|
@@ -9770,6 +9825,7 @@ export class QueryDubbridgeRouterUserselectRequest extends $tea.Model {
|
|
|
9770
9825
|
cardNo: 'card_no',
|
|
9771
9826
|
mobile: 'mobile',
|
|
9772
9827
|
customName: 'custom_name',
|
|
9828
|
+
platformNo: 'platform_no',
|
|
9773
9829
|
extInfo: 'ext_info',
|
|
9774
9830
|
};
|
|
9775
9831
|
}
|
|
@@ -9782,6 +9838,7 @@ export class QueryDubbridgeRouterUserselectRequest extends $tea.Model {
|
|
|
9782
9838
|
cardNo: 'string',
|
|
9783
9839
|
mobile: 'string',
|
|
9784
9840
|
customName: 'string',
|
|
9841
|
+
platformNo: 'string',
|
|
9785
9842
|
extInfo: 'string',
|
|
9786
9843
|
};
|
|
9787
9844
|
}
|
|
@@ -9894,6 +9951,119 @@ export class QueryDubbridgeSettlementCertificateResponse extends $tea.Model {
|
|
|
9894
9951
|
}
|
|
9895
9952
|
}
|
|
9896
9953
|
|
|
9954
|
+
export class QueryDubbridgeAgreementPreviewRequest extends $tea.Model {
|
|
9955
|
+
// OAuth模式下的授权token
|
|
9956
|
+
authToken?: string;
|
|
9957
|
+
productInstanceId?: string;
|
|
9958
|
+
// 授信:apply
|
|
9959
|
+
// 借款:loan
|
|
9960
|
+
// 绑卡:bind
|
|
9961
|
+
bizType: string;
|
|
9962
|
+
// 资金方编号
|
|
9963
|
+
fundCode: string;
|
|
9964
|
+
// 客户号
|
|
9965
|
+
customerNo: string;
|
|
9966
|
+
// 借款金额
|
|
9967
|
+
loanAmount?: number;
|
|
9968
|
+
// 分期期数
|
|
9969
|
+
period?: number;
|
|
9970
|
+
// 银行编码
|
|
9971
|
+
bankCode?: string;
|
|
9972
|
+
// 还款方式
|
|
9973
|
+
repayType?: string;
|
|
9974
|
+
// 银行名称
|
|
9975
|
+
bankName?: string;
|
|
9976
|
+
// 银行卡号
|
|
9977
|
+
bankCardNo?: string;
|
|
9978
|
+
// 借据截至日期yyyy-MM-dd
|
|
9979
|
+
receiptEndDate?: string;
|
|
9980
|
+
// 借款用途
|
|
9981
|
+
loanWay?: string;
|
|
9982
|
+
// lpr
|
|
9983
|
+
lpr?: number;
|
|
9984
|
+
// LPR加点值
|
|
9985
|
+
lprPoint?: number;
|
|
9986
|
+
// LPR发布日期
|
|
9987
|
+
lprEffectDate?: string;
|
|
9988
|
+
static names(): { [key: string]: string } {
|
|
9989
|
+
return {
|
|
9990
|
+
authToken: 'auth_token',
|
|
9991
|
+
productInstanceId: 'product_instance_id',
|
|
9992
|
+
bizType: 'biz_type',
|
|
9993
|
+
fundCode: 'fund_code',
|
|
9994
|
+
customerNo: 'customer_no',
|
|
9995
|
+
loanAmount: 'loan_amount',
|
|
9996
|
+
period: 'period',
|
|
9997
|
+
bankCode: 'bank_code',
|
|
9998
|
+
repayType: 'repay_type',
|
|
9999
|
+
bankName: 'bank_name',
|
|
10000
|
+
bankCardNo: 'bank_card_no',
|
|
10001
|
+
receiptEndDate: 'receipt_end_date',
|
|
10002
|
+
loanWay: 'loan_way',
|
|
10003
|
+
lpr: 'lpr',
|
|
10004
|
+
lprPoint: 'lpr_point',
|
|
10005
|
+
lprEffectDate: 'lpr_effect_date',
|
|
10006
|
+
};
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
static types(): { [key: string]: any } {
|
|
10010
|
+
return {
|
|
10011
|
+
authToken: 'string',
|
|
10012
|
+
productInstanceId: 'string',
|
|
10013
|
+
bizType: 'string',
|
|
10014
|
+
fundCode: 'string',
|
|
10015
|
+
customerNo: 'string',
|
|
10016
|
+
loanAmount: 'number',
|
|
10017
|
+
period: 'number',
|
|
10018
|
+
bankCode: 'string',
|
|
10019
|
+
repayType: 'string',
|
|
10020
|
+
bankName: 'string',
|
|
10021
|
+
bankCardNo: 'string',
|
|
10022
|
+
receiptEndDate: 'string',
|
|
10023
|
+
loanWay: 'string',
|
|
10024
|
+
lpr: 'number',
|
|
10025
|
+
lprPoint: 'number',
|
|
10026
|
+
lprEffectDate: 'string',
|
|
10027
|
+
};
|
|
10028
|
+
}
|
|
10029
|
+
|
|
10030
|
+
constructor(map?: { [key: string]: any }) {
|
|
10031
|
+
super(map);
|
|
10032
|
+
}
|
|
10033
|
+
}
|
|
10034
|
+
|
|
10035
|
+
export class QueryDubbridgeAgreementPreviewResponse extends $tea.Model {
|
|
10036
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
10037
|
+
reqMsgId?: string;
|
|
10038
|
+
// 结果码,一般OK表示调用成功
|
|
10039
|
+
resultCode?: string;
|
|
10040
|
+
// 异常信息的文本描述
|
|
10041
|
+
resultMsg?: string;
|
|
10042
|
+
// 协议列表
|
|
10043
|
+
agreementInfoList?: GetAgreementUrlResponseData[];
|
|
10044
|
+
static names(): { [key: string]: string } {
|
|
10045
|
+
return {
|
|
10046
|
+
reqMsgId: 'req_msg_id',
|
|
10047
|
+
resultCode: 'result_code',
|
|
10048
|
+
resultMsg: 'result_msg',
|
|
10049
|
+
agreementInfoList: 'agreement_info_list',
|
|
10050
|
+
};
|
|
10051
|
+
}
|
|
10052
|
+
|
|
10053
|
+
static types(): { [key: string]: any } {
|
|
10054
|
+
return {
|
|
10055
|
+
reqMsgId: 'string',
|
|
10056
|
+
resultCode: 'string',
|
|
10057
|
+
resultMsg: 'string',
|
|
10058
|
+
agreementInfoList: { 'type': 'array', 'itemType': GetAgreementUrlResponseData },
|
|
10059
|
+
};
|
|
10060
|
+
}
|
|
10061
|
+
|
|
10062
|
+
constructor(map?: { [key: string]: any }) {
|
|
10063
|
+
super(map);
|
|
10064
|
+
}
|
|
10065
|
+
}
|
|
10066
|
+
|
|
9897
10067
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
9898
10068
|
// OAuth模式下的授权token
|
|
9899
10069
|
authToken?: string;
|
|
@@ -13176,6 +13346,65 @@ export class OperateRbbCreditResponse extends $tea.Model {
|
|
|
13176
13346
|
}
|
|
13177
13347
|
}
|
|
13178
13348
|
|
|
13349
|
+
export class GetRbbCustomerInformationRequest extends $tea.Model {
|
|
13350
|
+
// OAuth模式下的授权token
|
|
13351
|
+
authToken?: string;
|
|
13352
|
+
productInstanceId?: string;
|
|
13353
|
+
// 流水号
|
|
13354
|
+
serialNumber: string;
|
|
13355
|
+
// 手机号
|
|
13356
|
+
phoneNumber: string;
|
|
13357
|
+
static names(): { [key: string]: string } {
|
|
13358
|
+
return {
|
|
13359
|
+
authToken: 'auth_token',
|
|
13360
|
+
productInstanceId: 'product_instance_id',
|
|
13361
|
+
serialNumber: 'serial_number',
|
|
13362
|
+
phoneNumber: 'phone_number',
|
|
13363
|
+
};
|
|
13364
|
+
}
|
|
13365
|
+
|
|
13366
|
+
static types(): { [key: string]: any } {
|
|
13367
|
+
return {
|
|
13368
|
+
authToken: 'string',
|
|
13369
|
+
productInstanceId: 'string',
|
|
13370
|
+
serialNumber: 'string',
|
|
13371
|
+
phoneNumber: 'string',
|
|
13372
|
+
};
|
|
13373
|
+
}
|
|
13374
|
+
|
|
13375
|
+
constructor(map?: { [key: string]: any }) {
|
|
13376
|
+
super(map);
|
|
13377
|
+
}
|
|
13378
|
+
}
|
|
13379
|
+
|
|
13380
|
+
export class GetRbbCustomerInformationResponse extends $tea.Model {
|
|
13381
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13382
|
+
reqMsgId?: string;
|
|
13383
|
+
// 结果码,一般OK表示调用成功
|
|
13384
|
+
resultCode?: string;
|
|
13385
|
+
// 异常信息的文本描述
|
|
13386
|
+
resultMsg?: string;
|
|
13387
|
+
static names(): { [key: string]: string } {
|
|
13388
|
+
return {
|
|
13389
|
+
reqMsgId: 'req_msg_id',
|
|
13390
|
+
resultCode: 'result_code',
|
|
13391
|
+
resultMsg: 'result_msg',
|
|
13392
|
+
};
|
|
13393
|
+
}
|
|
13394
|
+
|
|
13395
|
+
static types(): { [key: string]: any } {
|
|
13396
|
+
return {
|
|
13397
|
+
reqMsgId: 'string',
|
|
13398
|
+
resultCode: 'string',
|
|
13399
|
+
resultMsg: 'string',
|
|
13400
|
+
};
|
|
13401
|
+
}
|
|
13402
|
+
|
|
13403
|
+
constructor(map?: { [key: string]: any }) {
|
|
13404
|
+
super(map);
|
|
13405
|
+
}
|
|
13406
|
+
}
|
|
13407
|
+
|
|
13179
13408
|
export class PushRpaasReportAnswerRequest extends $tea.Model {
|
|
13180
13409
|
// OAuth模式下的授权token
|
|
13181
13410
|
authToken?: string;
|
|
@@ -16199,6 +16428,8 @@ export class BatchqueryUmktRtMarketingRequest extends $tea.Model {
|
|
|
16199
16428
|
bizSerialNo: string;
|
|
16200
16429
|
// 访问类型,PROD/TEST,正式流量/测试流量
|
|
16201
16430
|
visitType?: string;
|
|
16431
|
+
// 圈客阈值干预参数,json-map格式
|
|
16432
|
+
bizProperties?: string;
|
|
16202
16433
|
static names(): { [key: string]: string } {
|
|
16203
16434
|
return {
|
|
16204
16435
|
authToken: 'auth_token',
|
|
@@ -16208,6 +16439,7 @@ export class BatchqueryUmktRtMarketingRequest extends $tea.Model {
|
|
|
16208
16439
|
customerKeys: 'customer_keys',
|
|
16209
16440
|
bizSerialNo: 'biz_serial_no',
|
|
16210
16441
|
visitType: 'visit_type',
|
|
16442
|
+
bizProperties: 'biz_properties',
|
|
16211
16443
|
};
|
|
16212
16444
|
}
|
|
16213
16445
|
|
|
@@ -16220,6 +16452,7 @@ export class BatchqueryUmktRtMarketingRequest extends $tea.Model {
|
|
|
16220
16452
|
customerKeys: { 'type': 'array', 'itemType': 'string' },
|
|
16221
16453
|
bizSerialNo: 'string',
|
|
16222
16454
|
visitType: 'string',
|
|
16455
|
+
bizProperties: 'string',
|
|
16223
16456
|
};
|
|
16224
16457
|
}
|
|
16225
16458
|
|
|
@@ -19400,7 +19633,7 @@ export default class Client {
|
|
|
19400
19633
|
req_msg_id: AntchainUtil.getNonce(),
|
|
19401
19634
|
access_key: this._accessKeyId,
|
|
19402
19635
|
base_sdk_version: "TeaSDK-2.0",
|
|
19403
|
-
sdk_version: "1.19.
|
|
19636
|
+
sdk_version: "1.19.11",
|
|
19404
19637
|
_prod_code: "RISKPLUS",
|
|
19405
19638
|
_prod_channel: "undefined",
|
|
19406
19639
|
};
|
|
@@ -20723,6 +20956,25 @@ export default class Client {
|
|
|
20723
20956
|
return $tea.cast<QueryDubbridgeSettlementCertificateResponse>(await this.doRequest("1.0", "riskplus.dubbridge.settlement.certificate.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeSettlementCertificateResponse({}));
|
|
20724
20957
|
}
|
|
20725
20958
|
|
|
20959
|
+
/**
|
|
20960
|
+
* Description: 天枢系统预览协议查询接口
|
|
20961
|
+
* Summary: 天枢系统预览协议查询接口
|
|
20962
|
+
*/
|
|
20963
|
+
async queryDubbridgeAgreementPreview(request: QueryDubbridgeAgreementPreviewRequest): Promise<QueryDubbridgeAgreementPreviewResponse> {
|
|
20964
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20965
|
+
let headers : {[key: string ]: string} = { };
|
|
20966
|
+
return await this.queryDubbridgeAgreementPreviewEx(request, headers, runtime);
|
|
20967
|
+
}
|
|
20968
|
+
|
|
20969
|
+
/**
|
|
20970
|
+
* Description: 天枢系统预览协议查询接口
|
|
20971
|
+
* Summary: 天枢系统预览协议查询接口
|
|
20972
|
+
*/
|
|
20973
|
+
async queryDubbridgeAgreementPreviewEx(request: QueryDubbridgeAgreementPreviewRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAgreementPreviewResponse> {
|
|
20974
|
+
Util.validateModel(request);
|
|
20975
|
+
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({}));
|
|
20976
|
+
}
|
|
20977
|
+
|
|
20726
20978
|
/**
|
|
20727
20979
|
* Description: 四要素认证首先调用此接口
|
|
20728
20980
|
* Summary: 芝麻四要素接口
|
|
@@ -21603,6 +21855,25 @@ export default class Client {
|
|
|
21603
21855
|
return $tea.cast<OperateRbbCreditResponse>(await this.doRequest("1.0", "riskplus.rbb.credit.operate", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new OperateRbbCreditResponse({}));
|
|
21604
21856
|
}
|
|
21605
21857
|
|
|
21858
|
+
/**
|
|
21859
|
+
* Description: 获取客户信息
|
|
21860
|
+
* Summary: 获取客户信息
|
|
21861
|
+
*/
|
|
21862
|
+
async getRbbCustomerInformation(request: GetRbbCustomerInformationRequest): Promise<GetRbbCustomerInformationResponse> {
|
|
21863
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21864
|
+
let headers : {[key: string ]: string} = { };
|
|
21865
|
+
return await this.getRbbCustomerInformationEx(request, headers, runtime);
|
|
21866
|
+
}
|
|
21867
|
+
|
|
21868
|
+
/**
|
|
21869
|
+
* Description: 获取客户信息
|
|
21870
|
+
* Summary: 获取客户信息
|
|
21871
|
+
*/
|
|
21872
|
+
async getRbbCustomerInformationEx(request: GetRbbCustomerInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetRbbCustomerInformationResponse> {
|
|
21873
|
+
Util.validateModel(request);
|
|
21874
|
+
return $tea.cast<GetRbbCustomerInformationResponse>(await this.doRequest("1.0", "riskplus.rbb.customer.information.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetRbbCustomerInformationResponse({}));
|
|
21875
|
+
}
|
|
21876
|
+
|
|
21606
21877
|
/**
|
|
21607
21878
|
* Description: 报告结果推送,算法调用
|
|
21608
21879
|
* Summary: 报告结果推送
|