@antchain/riskplus 1.16.3 → 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 +54 -3
- package/dist/client.js +80 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +125 -4
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6806,11 +6806,11 @@ export class ApplyDubbridgeCustomerAgreementsignRequest extends $tea.Model {
|
|
|
6806
6806
|
// 资金方编号
|
|
6807
6807
|
fundCode?: string;
|
|
6808
6808
|
// 渠道号
|
|
6809
|
-
channelCode
|
|
6809
|
+
channelCode?: string;
|
|
6810
6810
|
// 项目编号
|
|
6811
|
-
projectCode
|
|
6811
|
+
projectCode?: string;
|
|
6812
6812
|
// 渠道号
|
|
6813
|
-
orgCode
|
|
6813
|
+
orgCode?: string;
|
|
6814
6814
|
static names(): { [key: string]: string } {
|
|
6815
6815
|
return {
|
|
6816
6816
|
authToken: 'auth_token',
|
|
@@ -8534,6 +8534,108 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8534
8534
|
}
|
|
8535
8535
|
}
|
|
8536
8536
|
|
|
8537
|
+
export class QueryDubbridgeCreditPermitRequest extends $tea.Model {
|
|
8538
|
+
// OAuth模式下的授权token
|
|
8539
|
+
authToken?: string;
|
|
8540
|
+
productInstanceId?: string;
|
|
8541
|
+
// 身份证号
|
|
8542
|
+
cardNo?: string;
|
|
8543
|
+
// 手机号
|
|
8544
|
+
mobile: string;
|
|
8545
|
+
// 姓名
|
|
8546
|
+
customName?: string;
|
|
8547
|
+
// 合作方产品编号
|
|
8548
|
+
prodNo?: string;
|
|
8549
|
+
// 1:app
|
|
8550
|
+
// 2:H5
|
|
8551
|
+
channelType?: string;
|
|
8552
|
+
// 客户类型
|
|
8553
|
+
// ("1", "新增客户"),("2", "存量激活客户"),("3", "目标营销账户")
|
|
8554
|
+
customType?: string;
|
|
8555
|
+
// 导流平台
|
|
8556
|
+
trafficPlatform?: string;
|
|
8557
|
+
// 流量来源名称
|
|
8558
|
+
trafficSourceName?: string;
|
|
8559
|
+
// 广告位标志
|
|
8560
|
+
trafficAdId?: string;
|
|
8561
|
+
// 营销id
|
|
8562
|
+
trafficMktId?: string;
|
|
8563
|
+
// 点击id
|
|
8564
|
+
clickId?: string;
|
|
8565
|
+
static names(): { [key: string]: string } {
|
|
8566
|
+
return {
|
|
8567
|
+
authToken: 'auth_token',
|
|
8568
|
+
productInstanceId: 'product_instance_id',
|
|
8569
|
+
cardNo: 'card_no',
|
|
8570
|
+
mobile: 'mobile',
|
|
8571
|
+
customName: 'custom_name',
|
|
8572
|
+
prodNo: 'prod_no',
|
|
8573
|
+
channelType: 'channel_type',
|
|
8574
|
+
customType: 'custom_type',
|
|
8575
|
+
trafficPlatform: 'traffic_platform',
|
|
8576
|
+
trafficSourceName: 'traffic_source_name',
|
|
8577
|
+
trafficAdId: 'traffic_ad_id',
|
|
8578
|
+
trafficMktId: 'traffic_mkt_id',
|
|
8579
|
+
clickId: 'click_id',
|
|
8580
|
+
};
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
static types(): { [key: string]: any } {
|
|
8584
|
+
return {
|
|
8585
|
+
authToken: 'string',
|
|
8586
|
+
productInstanceId: 'string',
|
|
8587
|
+
cardNo: 'string',
|
|
8588
|
+
mobile: 'string',
|
|
8589
|
+
customName: 'string',
|
|
8590
|
+
prodNo: 'string',
|
|
8591
|
+
channelType: 'string',
|
|
8592
|
+
customType: 'string',
|
|
8593
|
+
trafficPlatform: 'string',
|
|
8594
|
+
trafficSourceName: 'string',
|
|
8595
|
+
trafficAdId: 'string',
|
|
8596
|
+
trafficMktId: 'string',
|
|
8597
|
+
clickId: 'string',
|
|
8598
|
+
};
|
|
8599
|
+
}
|
|
8600
|
+
|
|
8601
|
+
constructor(map?: { [key: string]: any }) {
|
|
8602
|
+
super(map);
|
|
8603
|
+
}
|
|
8604
|
+
}
|
|
8605
|
+
|
|
8606
|
+
export class QueryDubbridgeCreditPermitResponse extends $tea.Model {
|
|
8607
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8608
|
+
reqMsgId?: string;
|
|
8609
|
+
// 结果码,一般OK表示调用成功
|
|
8610
|
+
resultCode?: string;
|
|
8611
|
+
// 异常信息的文本描述
|
|
8612
|
+
resultMsg?: string;
|
|
8613
|
+
// Y:准入
|
|
8614
|
+
// N:未准入
|
|
8615
|
+
enableApply?: string;
|
|
8616
|
+
static names(): { [key: string]: string } {
|
|
8617
|
+
return {
|
|
8618
|
+
reqMsgId: 'req_msg_id',
|
|
8619
|
+
resultCode: 'result_code',
|
|
8620
|
+
resultMsg: 'result_msg',
|
|
8621
|
+
enableApply: 'enable_apply',
|
|
8622
|
+
};
|
|
8623
|
+
}
|
|
8624
|
+
|
|
8625
|
+
static types(): { [key: string]: any } {
|
|
8626
|
+
return {
|
|
8627
|
+
reqMsgId: 'string',
|
|
8628
|
+
resultCode: 'string',
|
|
8629
|
+
resultMsg: 'string',
|
|
8630
|
+
enableApply: 'string',
|
|
8631
|
+
};
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8634
|
+
constructor(map?: { [key: string]: any }) {
|
|
8635
|
+
super(map);
|
|
8636
|
+
}
|
|
8637
|
+
}
|
|
8638
|
+
|
|
8537
8639
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
8538
8640
|
// OAuth模式下的授权token
|
|
8539
8641
|
authToken?: string;
|
|
@@ -14331,7 +14433,7 @@ export default class Client {
|
|
|
14331
14433
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14332
14434
|
access_key: this._accessKeyId,
|
|
14333
14435
|
base_sdk_version: "TeaSDK-2.0",
|
|
14334
|
-
sdk_version: "1.16.
|
|
14436
|
+
sdk_version: "1.16.5",
|
|
14335
14437
|
};
|
|
14336
14438
|
if (!Util.empty(this._securityToken)) {
|
|
14337
14439
|
request_.query["security_token"] = this._securityToken;
|
|
@@ -15500,6 +15602,25 @@ export default class Client {
|
|
|
15500
15602
|
return $tea.cast<QueryDubbridgeRepayResultResponse>(await this.doRequest("1.0", "riskplus.dubbridge.repay.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeRepayResultResponse({}));
|
|
15501
15603
|
}
|
|
15502
15604
|
|
|
15605
|
+
/**
|
|
15606
|
+
* Description: 天枢准入接口
|
|
15607
|
+
* Summary: 天枢准入接口
|
|
15608
|
+
*/
|
|
15609
|
+
async queryDubbridgeCreditPermit(request: QueryDubbridgeCreditPermitRequest): Promise<QueryDubbridgeCreditPermitResponse> {
|
|
15610
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15611
|
+
let headers : {[key: string ]: string} = { };
|
|
15612
|
+
return await this.queryDubbridgeCreditPermitEx(request, headers, runtime);
|
|
15613
|
+
}
|
|
15614
|
+
|
|
15615
|
+
/**
|
|
15616
|
+
* Description: 天枢准入接口
|
|
15617
|
+
* Summary: 天枢准入接口
|
|
15618
|
+
*/
|
|
15619
|
+
async queryDubbridgeCreditPermitEx(request: QueryDubbridgeCreditPermitRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCreditPermitResponse> {
|
|
15620
|
+
Util.validateModel(request);
|
|
15621
|
+
return $tea.cast<QueryDubbridgeCreditPermitResponse>(await this.doRequest("1.0", "riskplus.dubbridge.credit.permit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditPermitResponse({}));
|
|
15622
|
+
}
|
|
15623
|
+
|
|
15503
15624
|
/**
|
|
15504
15625
|
* Description: 四要素认证首先调用此接口
|
|
15505
15626
|
* Summary: 芝麻四要素接口
|