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