@antchain/riskplus 1.13.3 → 1.13.5
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 +21 -0
- package/dist/client.js +43 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +85 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -919,6 +919,18 @@ export class RepayResult extends $tea.Model {
|
|
|
919
919
|
settleDate: string;
|
|
920
920
|
// 还款日期
|
|
921
921
|
tradeDate: string;
|
|
922
|
+
// 已还担保费
|
|
923
|
+
alreadyGuaranteeFee: number;
|
|
924
|
+
// 已还违约金
|
|
925
|
+
alreadyLiquidatedDamages: number;
|
|
926
|
+
// 当期剩余担保费
|
|
927
|
+
restGuaranteeFee: number;
|
|
928
|
+
// 当期剩余违约金
|
|
929
|
+
restLiquidatedDamages: number;
|
|
930
|
+
// 应还担保费
|
|
931
|
+
needGuaranteeFee: number;
|
|
932
|
+
// 应还违约金
|
|
933
|
+
needLiquidatedDamages: number;
|
|
922
934
|
static names(): { [key: string]: string } {
|
|
923
935
|
return {
|
|
924
936
|
customNo: 'custom_no',
|
|
@@ -944,6 +956,12 @@ export class RepayResult extends $tea.Model {
|
|
|
944
956
|
status: 'status',
|
|
945
957
|
settleDate: 'settle_date',
|
|
946
958
|
tradeDate: 'trade_date',
|
|
959
|
+
alreadyGuaranteeFee: 'already_guarantee_fee',
|
|
960
|
+
alreadyLiquidatedDamages: 'already_liquidated_damages',
|
|
961
|
+
restGuaranteeFee: 'rest_guarantee_fee',
|
|
962
|
+
restLiquidatedDamages: 'rest_liquidated_damages',
|
|
963
|
+
needGuaranteeFee: 'need_guarantee_fee',
|
|
964
|
+
needLiquidatedDamages: 'need_liquidated_damages',
|
|
947
965
|
};
|
|
948
966
|
}
|
|
949
967
|
|
|
@@ -972,6 +990,12 @@ export class RepayResult extends $tea.Model {
|
|
|
972
990
|
status: 'string',
|
|
973
991
|
settleDate: 'string',
|
|
974
992
|
tradeDate: 'string',
|
|
993
|
+
alreadyGuaranteeFee: 'number',
|
|
994
|
+
alreadyLiquidatedDamages: 'number',
|
|
995
|
+
restGuaranteeFee: 'number',
|
|
996
|
+
restLiquidatedDamages: 'number',
|
|
997
|
+
needGuaranteeFee: 'number',
|
|
998
|
+
needLiquidatedDamages: 'number',
|
|
975
999
|
};
|
|
976
1000
|
}
|
|
977
1001
|
|
|
@@ -7127,6 +7151,10 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
7127
7151
|
failReason?: string;
|
|
7128
7152
|
// 授信申请编号
|
|
7129
7153
|
applyNo?: string;
|
|
7154
|
+
// 担保费
|
|
7155
|
+
guaranteeFee?: number;
|
|
7156
|
+
// 违约金
|
|
7157
|
+
liquidatedDamages?: number;
|
|
7130
7158
|
static names(): { [key: string]: string } {
|
|
7131
7159
|
return {
|
|
7132
7160
|
reqMsgId: 'req_msg_id',
|
|
@@ -7153,6 +7181,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
7153
7181
|
repayStatus: 'repay_status',
|
|
7154
7182
|
failReason: 'fail_reason',
|
|
7155
7183
|
applyNo: 'apply_no',
|
|
7184
|
+
guaranteeFee: 'guarantee_fee',
|
|
7185
|
+
liquidatedDamages: 'liquidated_damages',
|
|
7156
7186
|
};
|
|
7157
7187
|
}
|
|
7158
7188
|
|
|
@@ -7182,6 +7212,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
7182
7212
|
repayStatus: 'string',
|
|
7183
7213
|
failReason: 'string',
|
|
7184
7214
|
applyNo: 'string',
|
|
7215
|
+
guaranteeFee: 'number',
|
|
7216
|
+
liquidatedDamages: 'number',
|
|
7185
7217
|
};
|
|
7186
7218
|
}
|
|
7187
7219
|
|
|
@@ -7382,6 +7414,10 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7382
7414
|
realOverAmt?: number;
|
|
7383
7415
|
// 服务费
|
|
7384
7416
|
serviceCharge?: number;
|
|
7417
|
+
// 担保费
|
|
7418
|
+
realGuaranteeFee?: number;
|
|
7419
|
+
// 违约金
|
|
7420
|
+
realLiquidatedDamages?: number;
|
|
7385
7421
|
static names(): { [key: string]: string } {
|
|
7386
7422
|
return {
|
|
7387
7423
|
reqMsgId: 'req_msg_id',
|
|
@@ -7391,6 +7427,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7391
7427
|
realInterest: 'real_interest',
|
|
7392
7428
|
realOverAmt: 'real_over_amt',
|
|
7393
7429
|
serviceCharge: 'service_charge',
|
|
7430
|
+
realGuaranteeFee: 'real_guarantee_fee',
|
|
7431
|
+
realLiquidatedDamages: 'real_liquidated_damages',
|
|
7394
7432
|
};
|
|
7395
7433
|
}
|
|
7396
7434
|
|
|
@@ -7403,6 +7441,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7403
7441
|
realInterest: 'number',
|
|
7404
7442
|
realOverAmt: 'number',
|
|
7405
7443
|
serviceCharge: 'number',
|
|
7444
|
+
realGuaranteeFee: 'number',
|
|
7445
|
+
realLiquidatedDamages: 'number',
|
|
7406
7446
|
};
|
|
7407
7447
|
}
|
|
7408
7448
|
|
|
@@ -7579,6 +7619,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7579
7619
|
repayType: string;
|
|
7580
7620
|
// 1:手机数码 2:旅游 3:装修 4:教育 5:婚庆 6:租房 7:家具家居 8:健康医疗 9:其他消费 10:家用电器
|
|
7581
7621
|
loanWay: string;
|
|
7622
|
+
// 还款日
|
|
7623
|
+
repayDate: string;
|
|
7582
7624
|
static names(): { [key: string]: string } {
|
|
7583
7625
|
return {
|
|
7584
7626
|
authToken: 'auth_token',
|
|
@@ -7590,6 +7632,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7590
7632
|
orderNo: 'order_no',
|
|
7591
7633
|
repayType: 'repay_type',
|
|
7592
7634
|
loanWay: 'loan_way',
|
|
7635
|
+
repayDate: 'repay_date',
|
|
7593
7636
|
};
|
|
7594
7637
|
}
|
|
7595
7638
|
|
|
@@ -7604,6 +7647,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7604
7647
|
orderNo: 'string',
|
|
7605
7648
|
repayType: 'string',
|
|
7606
7649
|
loanWay: 'string',
|
|
7650
|
+
repayDate: 'string',
|
|
7607
7651
|
};
|
|
7608
7652
|
}
|
|
7609
7653
|
|
|
@@ -7686,6 +7730,10 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7686
7730
|
receiptInfo?: ReceiptInfo;
|
|
7687
7731
|
// 还款计划列表
|
|
7688
7732
|
repayRef?: RepayRef[];
|
|
7733
|
+
// 用信合同编号
|
|
7734
|
+
disburseContractNo?: string;
|
|
7735
|
+
// 授信合同编号
|
|
7736
|
+
creditContractNo?: string;
|
|
7689
7737
|
static names(): { [key: string]: string } {
|
|
7690
7738
|
return {
|
|
7691
7739
|
reqMsgId: 'req_msg_id',
|
|
@@ -7695,6 +7743,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7695
7743
|
msg: 'msg',
|
|
7696
7744
|
receiptInfo: 'receipt_info',
|
|
7697
7745
|
repayRef: 'repay_ref',
|
|
7746
|
+
disburseContractNo: 'disburse_contract_no',
|
|
7747
|
+
creditContractNo: 'credit_contract_no',
|
|
7698
7748
|
};
|
|
7699
7749
|
}
|
|
7700
7750
|
|
|
@@ -7707,6 +7757,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7707
7757
|
msg: 'string',
|
|
7708
7758
|
receiptInfo: ReceiptInfo,
|
|
7709
7759
|
repayRef: { 'type': 'array', 'itemType': RepayRef },
|
|
7760
|
+
disburseContractNo: 'string',
|
|
7761
|
+
creditContractNo: 'string',
|
|
7710
7762
|
};
|
|
7711
7763
|
}
|
|
7712
7764
|
|
|
@@ -8143,6 +8195,8 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
|
8143
8195
|
bizParam: string;
|
|
8144
8196
|
// 回调类型(1授信回调2用信回调)
|
|
8145
8197
|
bizType: string;
|
|
8198
|
+
// 对应授信/用信传给三方留存单号
|
|
8199
|
+
seqNo: string;
|
|
8146
8200
|
static names(): { [key: string]: string } {
|
|
8147
8201
|
return {
|
|
8148
8202
|
authToken: 'auth_token',
|
|
@@ -8150,6 +8204,7 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
|
8150
8204
|
channelCode: 'channel_code',
|
|
8151
8205
|
bizParam: 'biz_param',
|
|
8152
8206
|
bizType: 'biz_type',
|
|
8207
|
+
seqNo: 'seq_no',
|
|
8153
8208
|
};
|
|
8154
8209
|
}
|
|
8155
8210
|
|
|
@@ -8160,6 +8215,7 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
|
8160
8215
|
channelCode: 'string',
|
|
8161
8216
|
bizParam: 'string',
|
|
8162
8217
|
bizType: 'string',
|
|
8218
|
+
seqNo: 'string',
|
|
8163
8219
|
};
|
|
8164
8220
|
}
|
|
8165
8221
|
|
|
@@ -13147,6 +13203,16 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
|
|
|
13147
13203
|
signNameJson: string;
|
|
13148
13204
|
// 上行短信扩展码
|
|
13149
13205
|
smsUpExtendCodeJson?: string;
|
|
13206
|
+
// 回落类型
|
|
13207
|
+
fallbackType?: string;
|
|
13208
|
+
// 回落短信模版
|
|
13209
|
+
fallbackTemplateCode?: string;
|
|
13210
|
+
// 回落短信模版参数
|
|
13211
|
+
fallbackTemplateParamJson?: string;
|
|
13212
|
+
// 卡片短信对应的原始文本短信模板,不传则用默认文本
|
|
13213
|
+
templateCode?: string;
|
|
13214
|
+
// 默认文本对应参数
|
|
13215
|
+
templateParamJson?: string;
|
|
13150
13216
|
static names(): { [key: string]: string } {
|
|
13151
13217
|
return {
|
|
13152
13218
|
authToken: 'auth_token',
|
|
@@ -13158,6 +13224,11 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
|
|
|
13158
13224
|
phoneNumberJson: 'phone_number_json',
|
|
13159
13225
|
signNameJson: 'sign_name_json',
|
|
13160
13226
|
smsUpExtendCodeJson: 'sms_up_extend_code_json',
|
|
13227
|
+
fallbackType: 'fallback_type',
|
|
13228
|
+
fallbackTemplateCode: 'fallback_template_code',
|
|
13229
|
+
fallbackTemplateParamJson: 'fallback_template_param_json',
|
|
13230
|
+
templateCode: 'template_code',
|
|
13231
|
+
templateParamJson: 'template_param_json',
|
|
13161
13232
|
};
|
|
13162
13233
|
}
|
|
13163
13234
|
|
|
@@ -13172,6 +13243,11 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
|
|
|
13172
13243
|
phoneNumberJson: 'string',
|
|
13173
13244
|
signNameJson: 'string',
|
|
13174
13245
|
smsUpExtendCodeJson: 'string',
|
|
13246
|
+
fallbackType: 'string',
|
|
13247
|
+
fallbackTemplateCode: 'string',
|
|
13248
|
+
fallbackTemplateParamJson: 'string',
|
|
13249
|
+
templateCode: 'string',
|
|
13250
|
+
templateParamJson: 'string',
|
|
13175
13251
|
};
|
|
13176
13252
|
}
|
|
13177
13253
|
|
|
@@ -13193,6 +13269,10 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
|
|
|
13193
13269
|
mediaMobiles?: string;
|
|
13194
13270
|
// 不支持的手机号
|
|
13195
13271
|
notMediaMobiles?: string;
|
|
13272
|
+
// 回落文本短信回执id
|
|
13273
|
+
bizId?: string;
|
|
13274
|
+
// 回落数字短信回执id
|
|
13275
|
+
bizDigitalId?: string;
|
|
13196
13276
|
static names(): { [key: string]: string } {
|
|
13197
13277
|
return {
|
|
13198
13278
|
reqMsgId: 'req_msg_id',
|
|
@@ -13201,6 +13281,8 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
|
|
|
13201
13281
|
bizCardId: 'biz_card_id',
|
|
13202
13282
|
mediaMobiles: 'media_mobiles',
|
|
13203
13283
|
notMediaMobiles: 'not_media_mobiles',
|
|
13284
|
+
bizId: 'biz_id',
|
|
13285
|
+
bizDigitalId: 'biz_digital_id',
|
|
13204
13286
|
};
|
|
13205
13287
|
}
|
|
13206
13288
|
|
|
@@ -13212,6 +13294,8 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
|
|
|
13212
13294
|
bizCardId: 'string',
|
|
13213
13295
|
mediaMobiles: 'string',
|
|
13214
13296
|
notMediaMobiles: 'string',
|
|
13297
|
+
bizId: 'string',
|
|
13298
|
+
bizDigitalId: 'string',
|
|
13215
13299
|
};
|
|
13216
13300
|
}
|
|
13217
13301
|
|
|
@@ -13492,9 +13576,7 @@ export default class Client {
|
|
|
13492
13576
|
req_msg_id: AntchainUtil.getNonce(),
|
|
13493
13577
|
access_key: this._accessKeyId,
|
|
13494
13578
|
base_sdk_version: "TeaSDK-2.0",
|
|
13495
|
-
sdk_version: "1.13.
|
|
13496
|
-
_prod_code: "RISKPLUS",
|
|
13497
|
-
_prod_channel: "undefined",
|
|
13579
|
+
sdk_version: "1.13.5",
|
|
13498
13580
|
};
|
|
13499
13581
|
if (!Util.empty(this._securityToken)) {
|
|
13500
13582
|
request_.query["security_token"] = this._securityToken;
|