@antchain/riskplus 1.15.2 → 1.15.4
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 +71 -2
- package/dist/client.js +113 -5
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +181 -9
package/dist/client.d.ts
CHANGED
|
@@ -533,6 +533,26 @@ export declare class RiskData extends $tea.Model {
|
|
|
533
533
|
[key: string]: any;
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
|
+
export declare class RepayInfos extends $tea.Model {
|
|
537
|
+
period: number;
|
|
538
|
+
amount: number;
|
|
539
|
+
principal: number;
|
|
540
|
+
interest: number;
|
|
541
|
+
channelAmt: number;
|
|
542
|
+
fee: number;
|
|
543
|
+
punish: number;
|
|
544
|
+
guaranteeFee: number;
|
|
545
|
+
liquidatedDamages: number;
|
|
546
|
+
static names(): {
|
|
547
|
+
[key: string]: string;
|
|
548
|
+
};
|
|
549
|
+
static types(): {
|
|
550
|
+
[key: string]: any;
|
|
551
|
+
};
|
|
552
|
+
constructor(map?: {
|
|
553
|
+
[key: string]: any;
|
|
554
|
+
});
|
|
555
|
+
}
|
|
536
556
|
export declare class SecurityDataQueryStruct extends $tea.Model {
|
|
537
557
|
params: string;
|
|
538
558
|
type: string;
|
|
@@ -2691,6 +2711,7 @@ export declare class UpdateDubbridgeInstitutionCreditRequest extends $tea.Model
|
|
|
2691
2711
|
reasonMsg: string;
|
|
2692
2712
|
extInfoTs: string;
|
|
2693
2713
|
extInfo: string;
|
|
2714
|
+
creditExpireDate?: string;
|
|
2694
2715
|
static names(): {
|
|
2695
2716
|
[key: string]: string;
|
|
2696
2717
|
};
|
|
@@ -3429,6 +3450,44 @@ export declare class NotifyDubbridgeCallbackResponse extends $tea.Model {
|
|
|
3429
3450
|
[key: string]: any;
|
|
3430
3451
|
});
|
|
3431
3452
|
}
|
|
3453
|
+
export declare class QueryDubbridgeRepayResultRequest extends $tea.Model {
|
|
3454
|
+
authToken?: string;
|
|
3455
|
+
productInstanceId?: string;
|
|
3456
|
+
orderNo: string;
|
|
3457
|
+
originalOrderNo: string;
|
|
3458
|
+
static names(): {
|
|
3459
|
+
[key: string]: string;
|
|
3460
|
+
};
|
|
3461
|
+
static types(): {
|
|
3462
|
+
[key: string]: any;
|
|
3463
|
+
};
|
|
3464
|
+
constructor(map?: {
|
|
3465
|
+
[key: string]: any;
|
|
3466
|
+
});
|
|
3467
|
+
}
|
|
3468
|
+
export declare class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
3469
|
+
reqMsgId?: string;
|
|
3470
|
+
resultCode?: string;
|
|
3471
|
+
resultMsg?: string;
|
|
3472
|
+
repayNo?: string;
|
|
3473
|
+
receiptNo?: string;
|
|
3474
|
+
customNo?: string;
|
|
3475
|
+
repayType?: string;
|
|
3476
|
+
repaySign?: string;
|
|
3477
|
+
repayAccount?: string;
|
|
3478
|
+
repayStatus?: string;
|
|
3479
|
+
failReason?: string;
|
|
3480
|
+
repayInfos?: RepayInfos;
|
|
3481
|
+
static names(): {
|
|
3482
|
+
[key: string]: string;
|
|
3483
|
+
};
|
|
3484
|
+
static types(): {
|
|
3485
|
+
[key: string]: any;
|
|
3486
|
+
};
|
|
3487
|
+
constructor(map?: {
|
|
3488
|
+
[key: string]: any;
|
|
3489
|
+
});
|
|
3490
|
+
}
|
|
3432
3491
|
export declare class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
3433
3492
|
authToken?: string;
|
|
3434
3493
|
productInstanceId?: string;
|
|
@@ -5250,8 +5309,6 @@ export declare class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
5250
5309
|
sceneStrategyId: number;
|
|
5251
5310
|
execTime?: string;
|
|
5252
5311
|
fileTemplate: string;
|
|
5253
|
-
outSerialNo: string;
|
|
5254
|
-
outInfo?: string;
|
|
5255
5312
|
static names(): {
|
|
5256
5313
|
[key: string]: string;
|
|
5257
5314
|
};
|
|
@@ -6566,6 +6623,18 @@ export default class Client {
|
|
|
6566
6623
|
notifyDubbridgeCallbackEx(request: NotifyDubbridgeCallbackRequest, headers: {
|
|
6567
6624
|
[key: string]: string;
|
|
6568
6625
|
}, runtime: $Util.RuntimeOptions): Promise<NotifyDubbridgeCallbackResponse>;
|
|
6626
|
+
/**
|
|
6627
|
+
* Description: 2.12 天枢系统还款信息查询V2.0
|
|
6628
|
+
* Summary: 2.12 天枢系统还款信息查询V2.0
|
|
6629
|
+
*/
|
|
6630
|
+
queryDubbridgeRepayResult(request: QueryDubbridgeRepayResultRequest): Promise<QueryDubbridgeRepayResultResponse>;
|
|
6631
|
+
/**
|
|
6632
|
+
* Description: 2.12 天枢系统还款信息查询V2.0
|
|
6633
|
+
* Summary: 2.12 天枢系统还款信息查询V2.0
|
|
6634
|
+
*/
|
|
6635
|
+
queryDubbridgeRepayResultEx(request: QueryDubbridgeRepayResultRequest, headers: {
|
|
6636
|
+
[key: string]: string;
|
|
6637
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeRepayResultResponse>;
|
|
6569
6638
|
/**
|
|
6570
6639
|
* Description: 四要素认证首先调用此接口
|
|
6571
6640
|
* Summary: 芝麻四要素接口
|
package/dist/client.js
CHANGED
|
@@ -856,6 +856,39 @@ class RiskData extends $tea.Model {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
exports.RiskData = RiskData;
|
|
859
|
+
// 还款信息列表
|
|
860
|
+
class RepayInfos extends $tea.Model {
|
|
861
|
+
constructor(map) {
|
|
862
|
+
super(map);
|
|
863
|
+
}
|
|
864
|
+
static names() {
|
|
865
|
+
return {
|
|
866
|
+
period: 'period',
|
|
867
|
+
amount: 'amount',
|
|
868
|
+
principal: 'principal',
|
|
869
|
+
interest: 'interest',
|
|
870
|
+
channelAmt: 'channel_amt',
|
|
871
|
+
fee: 'fee',
|
|
872
|
+
punish: 'punish',
|
|
873
|
+
guaranteeFee: 'guarantee_fee',
|
|
874
|
+
liquidatedDamages: 'liquidated_damages',
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
static types() {
|
|
878
|
+
return {
|
|
879
|
+
period: 'number',
|
|
880
|
+
amount: 'number',
|
|
881
|
+
principal: 'number',
|
|
882
|
+
interest: 'number',
|
|
883
|
+
channelAmt: 'number',
|
|
884
|
+
fee: 'number',
|
|
885
|
+
punish: 'number',
|
|
886
|
+
guaranteeFee: 'number',
|
|
887
|
+
liquidatedDamages: 'number',
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
exports.RepayInfos = RepayInfos;
|
|
859
892
|
// 安全数据服务请求参数
|
|
860
893
|
class SecurityDataQueryStruct extends $tea.Model {
|
|
861
894
|
constructor(map) {
|
|
@@ -4241,6 +4274,7 @@ class UpdateDubbridgeInstitutionCreditRequest extends $tea.Model {
|
|
|
4241
4274
|
reasonMsg: 'reason_msg',
|
|
4242
4275
|
extInfoTs: 'ext_info_ts',
|
|
4243
4276
|
extInfo: 'ext_info',
|
|
4277
|
+
creditExpireDate: 'credit_expire_date',
|
|
4244
4278
|
};
|
|
4245
4279
|
}
|
|
4246
4280
|
static types() {
|
|
@@ -4259,6 +4293,7 @@ class UpdateDubbridgeInstitutionCreditRequest extends $tea.Model {
|
|
|
4259
4293
|
reasonMsg: 'string',
|
|
4260
4294
|
extInfoTs: 'string',
|
|
4261
4295
|
extInfo: 'string',
|
|
4296
|
+
creditExpireDate: 'string',
|
|
4262
4297
|
};
|
|
4263
4298
|
}
|
|
4264
4299
|
}
|
|
@@ -5375,6 +5410,66 @@ class NotifyDubbridgeCallbackResponse extends $tea.Model {
|
|
|
5375
5410
|
}
|
|
5376
5411
|
}
|
|
5377
5412
|
exports.NotifyDubbridgeCallbackResponse = NotifyDubbridgeCallbackResponse;
|
|
5413
|
+
class QueryDubbridgeRepayResultRequest extends $tea.Model {
|
|
5414
|
+
constructor(map) {
|
|
5415
|
+
super(map);
|
|
5416
|
+
}
|
|
5417
|
+
static names() {
|
|
5418
|
+
return {
|
|
5419
|
+
authToken: 'auth_token',
|
|
5420
|
+
productInstanceId: 'product_instance_id',
|
|
5421
|
+
orderNo: 'order_no',
|
|
5422
|
+
originalOrderNo: 'original_order_no',
|
|
5423
|
+
};
|
|
5424
|
+
}
|
|
5425
|
+
static types() {
|
|
5426
|
+
return {
|
|
5427
|
+
authToken: 'string',
|
|
5428
|
+
productInstanceId: 'string',
|
|
5429
|
+
orderNo: 'string',
|
|
5430
|
+
originalOrderNo: 'string',
|
|
5431
|
+
};
|
|
5432
|
+
}
|
|
5433
|
+
}
|
|
5434
|
+
exports.QueryDubbridgeRepayResultRequest = QueryDubbridgeRepayResultRequest;
|
|
5435
|
+
class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
5436
|
+
constructor(map) {
|
|
5437
|
+
super(map);
|
|
5438
|
+
}
|
|
5439
|
+
static names() {
|
|
5440
|
+
return {
|
|
5441
|
+
reqMsgId: 'req_msg_id',
|
|
5442
|
+
resultCode: 'result_code',
|
|
5443
|
+
resultMsg: 'result_msg',
|
|
5444
|
+
repayNo: 'repay_no',
|
|
5445
|
+
receiptNo: 'receipt_no',
|
|
5446
|
+
customNo: 'custom_no',
|
|
5447
|
+
repayType: 'repay_type',
|
|
5448
|
+
repaySign: 'repay_sign',
|
|
5449
|
+
repayAccount: 'repay_account',
|
|
5450
|
+
repayStatus: 'repay_status',
|
|
5451
|
+
failReason: 'fail_reason',
|
|
5452
|
+
repayInfos: 'repay_infos',
|
|
5453
|
+
};
|
|
5454
|
+
}
|
|
5455
|
+
static types() {
|
|
5456
|
+
return {
|
|
5457
|
+
reqMsgId: 'string',
|
|
5458
|
+
resultCode: 'string',
|
|
5459
|
+
resultMsg: 'string',
|
|
5460
|
+
repayNo: 'string',
|
|
5461
|
+
receiptNo: 'string',
|
|
5462
|
+
customNo: 'string',
|
|
5463
|
+
repayType: 'string',
|
|
5464
|
+
repaySign: 'string',
|
|
5465
|
+
repayAccount: 'string',
|
|
5466
|
+
repayStatus: 'string',
|
|
5467
|
+
failReason: 'string',
|
|
5468
|
+
repayInfos: RepayInfos,
|
|
5469
|
+
};
|
|
5470
|
+
}
|
|
5471
|
+
}
|
|
5472
|
+
exports.QueryDubbridgeRepayResultResponse = QueryDubbridgeRepayResultResponse;
|
|
5378
5473
|
class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
5379
5474
|
constructor(map) {
|
|
5380
5475
|
super(map);
|
|
@@ -8149,8 +8244,6 @@ class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
8149
8244
|
sceneStrategyId: 'scene_strategy_id',
|
|
8150
8245
|
execTime: 'exec_time',
|
|
8151
8246
|
fileTemplate: 'file_template',
|
|
8152
|
-
outSerialNo: 'out_serial_no',
|
|
8153
|
-
outInfo: 'out_info',
|
|
8154
8247
|
};
|
|
8155
8248
|
}
|
|
8156
8249
|
static types() {
|
|
@@ -8163,8 +8256,6 @@ class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
8163
8256
|
sceneStrategyId: 'number',
|
|
8164
8257
|
execTime: 'string',
|
|
8165
8258
|
fileTemplate: 'string',
|
|
8166
|
-
outSerialNo: 'string',
|
|
8167
|
-
outInfo: 'string',
|
|
8168
8259
|
};
|
|
8169
8260
|
}
|
|
8170
8261
|
}
|
|
@@ -9133,7 +9224,7 @@ class Client {
|
|
|
9133
9224
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9134
9225
|
access_key: this._accessKeyId,
|
|
9135
9226
|
base_sdk_version: "TeaSDK-2.0",
|
|
9136
|
-
sdk_version: "1.15.
|
|
9227
|
+
sdk_version: "1.15.4",
|
|
9137
9228
|
_prod_code: "RISKPLUS",
|
|
9138
9229
|
_prod_channel: "undefined",
|
|
9139
9230
|
};
|
|
@@ -10158,6 +10249,23 @@ class Client {
|
|
|
10158
10249
|
tea_util_1.default.validateModel(request);
|
|
10159
10250
|
return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.callback.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyDubbridgeCallbackResponse({}));
|
|
10160
10251
|
}
|
|
10252
|
+
/**
|
|
10253
|
+
* Description: 2.12 天枢系统还款信息查询V2.0
|
|
10254
|
+
* Summary: 2.12 天枢系统还款信息查询V2.0
|
|
10255
|
+
*/
|
|
10256
|
+
async queryDubbridgeRepayResult(request) {
|
|
10257
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10258
|
+
let headers = {};
|
|
10259
|
+
return await this.queryDubbridgeRepayResultEx(request, headers, runtime);
|
|
10260
|
+
}
|
|
10261
|
+
/**
|
|
10262
|
+
* Description: 2.12 天枢系统还款信息查询V2.0
|
|
10263
|
+
* Summary: 2.12 天枢系统还款信息查询V2.0
|
|
10264
|
+
*/
|
|
10265
|
+
async queryDubbridgeRepayResultEx(request, headers, runtime) {
|
|
10266
|
+
tea_util_1.default.validateModel(request);
|
|
10267
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.repay.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeRepayResultResponse({}));
|
|
10268
|
+
}
|
|
10161
10269
|
/**
|
|
10162
10270
|
* Description: 四要素认证首先调用此接口
|
|
10163
10271
|
* Summary: 芝麻四要素接口
|