@antchain/riskplus 1.16.4 → 1.16.6
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 +52 -0
- package/dist/client.js +82 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +126 -1
package/dist/client.d.ts
CHANGED
|
@@ -3301,6 +3301,7 @@ export declare class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
3301
3301
|
repayDate?: string;
|
|
3302
3302
|
channelType?: string;
|
|
3303
3303
|
customType?: string;
|
|
3304
|
+
riskData?: string;
|
|
3304
3305
|
static names(): {
|
|
3305
3306
|
[key: string]: string;
|
|
3306
3307
|
};
|
|
@@ -3532,6 +3533,45 @@ export declare class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
3532
3533
|
[key: string]: any;
|
|
3533
3534
|
});
|
|
3534
3535
|
}
|
|
3536
|
+
export declare class QueryDubbridgeCreditPermitRequest extends $tea.Model {
|
|
3537
|
+
authToken?: string;
|
|
3538
|
+
productInstanceId?: string;
|
|
3539
|
+
cardNo?: string;
|
|
3540
|
+
mobile: string;
|
|
3541
|
+
customName?: string;
|
|
3542
|
+
prodNo?: string;
|
|
3543
|
+
channelType?: string;
|
|
3544
|
+
customType?: string;
|
|
3545
|
+
trafficPlatform?: string;
|
|
3546
|
+
trafficSourceName?: string;
|
|
3547
|
+
trafficAdId?: string;
|
|
3548
|
+
trafficMktId?: string;
|
|
3549
|
+
clickId?: string;
|
|
3550
|
+
static names(): {
|
|
3551
|
+
[key: string]: string;
|
|
3552
|
+
};
|
|
3553
|
+
static types(): {
|
|
3554
|
+
[key: string]: any;
|
|
3555
|
+
};
|
|
3556
|
+
constructor(map?: {
|
|
3557
|
+
[key: string]: any;
|
|
3558
|
+
});
|
|
3559
|
+
}
|
|
3560
|
+
export declare class QueryDubbridgeCreditPermitResponse extends $tea.Model {
|
|
3561
|
+
reqMsgId?: string;
|
|
3562
|
+
resultCode?: string;
|
|
3563
|
+
resultMsg?: string;
|
|
3564
|
+
enableApply?: string;
|
|
3565
|
+
static names(): {
|
|
3566
|
+
[key: string]: string;
|
|
3567
|
+
};
|
|
3568
|
+
static types(): {
|
|
3569
|
+
[key: string]: any;
|
|
3570
|
+
};
|
|
3571
|
+
constructor(map?: {
|
|
3572
|
+
[key: string]: any;
|
|
3573
|
+
});
|
|
3574
|
+
}
|
|
3535
3575
|
export declare class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
3536
3576
|
authToken?: string;
|
|
3537
3577
|
productInstanceId?: string;
|
|
@@ -6744,6 +6784,18 @@ export default class Client {
|
|
|
6744
6784
|
queryDubbridgeRepayResultEx(request: QueryDubbridgeRepayResultRequest, headers: {
|
|
6745
6785
|
[key: string]: string;
|
|
6746
6786
|
}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeRepayResultResponse>;
|
|
6787
|
+
/**
|
|
6788
|
+
* Description: 天枢准入接口
|
|
6789
|
+
* Summary: 天枢准入接口
|
|
6790
|
+
*/
|
|
6791
|
+
queryDubbridgeCreditPermit(request: QueryDubbridgeCreditPermitRequest): Promise<QueryDubbridgeCreditPermitResponse>;
|
|
6792
|
+
/**
|
|
6793
|
+
* Description: 天枢准入接口
|
|
6794
|
+
* Summary: 天枢准入接口
|
|
6795
|
+
*/
|
|
6796
|
+
queryDubbridgeCreditPermitEx(request: QueryDubbridgeCreditPermitRequest, headers: {
|
|
6797
|
+
[key: string]: string;
|
|
6798
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCreditPermitResponse>;
|
|
6747
6799
|
/**
|
|
6748
6800
|
* Description: 四要素认证首先调用此接口
|
|
6749
6801
|
* Summary: 芝麻四要素接口
|
package/dist/client.js
CHANGED
|
@@ -5193,6 +5193,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
5193
5193
|
repayDate: 'repay_date',
|
|
5194
5194
|
channelType: 'channel_type',
|
|
5195
5195
|
customType: 'custom_type',
|
|
5196
|
+
riskData: 'risk_data',
|
|
5196
5197
|
};
|
|
5197
5198
|
}
|
|
5198
5199
|
static types() {
|
|
@@ -5209,6 +5210,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
5209
5210
|
repayDate: 'string',
|
|
5210
5211
|
channelType: 'string',
|
|
5211
5212
|
customType: 'string',
|
|
5213
|
+
riskData: 'string',
|
|
5212
5214
|
};
|
|
5213
5215
|
}
|
|
5214
5216
|
}
|
|
@@ -5551,6 +5553,68 @@ class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
5551
5553
|
}
|
|
5552
5554
|
}
|
|
5553
5555
|
exports.QueryDubbridgeRepayResultResponse = QueryDubbridgeRepayResultResponse;
|
|
5556
|
+
class QueryDubbridgeCreditPermitRequest extends $tea.Model {
|
|
5557
|
+
constructor(map) {
|
|
5558
|
+
super(map);
|
|
5559
|
+
}
|
|
5560
|
+
static names() {
|
|
5561
|
+
return {
|
|
5562
|
+
authToken: 'auth_token',
|
|
5563
|
+
productInstanceId: 'product_instance_id',
|
|
5564
|
+
cardNo: 'card_no',
|
|
5565
|
+
mobile: 'mobile',
|
|
5566
|
+
customName: 'custom_name',
|
|
5567
|
+
prodNo: 'prod_no',
|
|
5568
|
+
channelType: 'channel_type',
|
|
5569
|
+
customType: 'custom_type',
|
|
5570
|
+
trafficPlatform: 'traffic_platform',
|
|
5571
|
+
trafficSourceName: 'traffic_source_name',
|
|
5572
|
+
trafficAdId: 'traffic_ad_id',
|
|
5573
|
+
trafficMktId: 'traffic_mkt_id',
|
|
5574
|
+
clickId: 'click_id',
|
|
5575
|
+
};
|
|
5576
|
+
}
|
|
5577
|
+
static types() {
|
|
5578
|
+
return {
|
|
5579
|
+
authToken: 'string',
|
|
5580
|
+
productInstanceId: 'string',
|
|
5581
|
+
cardNo: 'string',
|
|
5582
|
+
mobile: 'string',
|
|
5583
|
+
customName: 'string',
|
|
5584
|
+
prodNo: 'string',
|
|
5585
|
+
channelType: 'string',
|
|
5586
|
+
customType: 'string',
|
|
5587
|
+
trafficPlatform: 'string',
|
|
5588
|
+
trafficSourceName: 'string',
|
|
5589
|
+
trafficAdId: 'string',
|
|
5590
|
+
trafficMktId: 'string',
|
|
5591
|
+
clickId: 'string',
|
|
5592
|
+
};
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
exports.QueryDubbridgeCreditPermitRequest = QueryDubbridgeCreditPermitRequest;
|
|
5596
|
+
class QueryDubbridgeCreditPermitResponse extends $tea.Model {
|
|
5597
|
+
constructor(map) {
|
|
5598
|
+
super(map);
|
|
5599
|
+
}
|
|
5600
|
+
static names() {
|
|
5601
|
+
return {
|
|
5602
|
+
reqMsgId: 'req_msg_id',
|
|
5603
|
+
resultCode: 'result_code',
|
|
5604
|
+
resultMsg: 'result_msg',
|
|
5605
|
+
enableApply: 'enable_apply',
|
|
5606
|
+
};
|
|
5607
|
+
}
|
|
5608
|
+
static types() {
|
|
5609
|
+
return {
|
|
5610
|
+
reqMsgId: 'string',
|
|
5611
|
+
resultCode: 'string',
|
|
5612
|
+
resultMsg: 'string',
|
|
5613
|
+
enableApply: 'string',
|
|
5614
|
+
};
|
|
5615
|
+
}
|
|
5616
|
+
}
|
|
5617
|
+
exports.QueryDubbridgeCreditPermitResponse = QueryDubbridgeCreditPermitResponse;
|
|
5554
5618
|
class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
5555
5619
|
constructor(map) {
|
|
5556
5620
|
super(map);
|
|
@@ -9403,7 +9467,7 @@ class Client {
|
|
|
9403
9467
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9404
9468
|
access_key: this._accessKeyId,
|
|
9405
9469
|
base_sdk_version: "TeaSDK-2.0",
|
|
9406
|
-
sdk_version: "1.16.
|
|
9470
|
+
sdk_version: "1.16.6",
|
|
9407
9471
|
_prod_code: "RISKPLUS",
|
|
9408
9472
|
_prod_channel: "undefined",
|
|
9409
9473
|
};
|
|
@@ -10445,6 +10509,23 @@ class Client {
|
|
|
10445
10509
|
tea_util_1.default.validateModel(request);
|
|
10446
10510
|
return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.repay.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeRepayResultResponse({}));
|
|
10447
10511
|
}
|
|
10512
|
+
/**
|
|
10513
|
+
* Description: 天枢准入接口
|
|
10514
|
+
* Summary: 天枢准入接口
|
|
10515
|
+
*/
|
|
10516
|
+
async queryDubbridgeCreditPermit(request) {
|
|
10517
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10518
|
+
let headers = {};
|
|
10519
|
+
return await this.queryDubbridgeCreditPermitEx(request, headers, runtime);
|
|
10520
|
+
}
|
|
10521
|
+
/**
|
|
10522
|
+
* Description: 天枢准入接口
|
|
10523
|
+
* Summary: 天枢准入接口
|
|
10524
|
+
*/
|
|
10525
|
+
async queryDubbridgeCreditPermitEx(request, headers, runtime) {
|
|
10526
|
+
tea_util_1.default.validateModel(request);
|
|
10527
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.credit.permit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditPermitResponse({}));
|
|
10528
|
+
}
|
|
10448
10529
|
/**
|
|
10449
10530
|
* Description: 四要素认证首先调用此接口
|
|
10450
10531
|
* Summary: 芝麻四要素接口
|