@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.16.4",
3
+ "version": "1.16.6",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7971,6 +7971,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7971
7971
  channelType?: string;
7972
7972
  // 客户类型
7973
7973
  customType?: string;
7974
+ // 风险数据对象(json字符串)
7975
+ riskData?: string;
7974
7976
  static names(): { [key: string]: string } {
7975
7977
  return {
7976
7978
  authToken: 'auth_token',
@@ -7985,6 +7987,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7985
7987
  repayDate: 'repay_date',
7986
7988
  channelType: 'channel_type',
7987
7989
  customType: 'custom_type',
7990
+ riskData: 'risk_data',
7988
7991
  };
7989
7992
  }
7990
7993
 
@@ -8002,6 +8005,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
8002
8005
  repayDate: 'string',
8003
8006
  channelType: 'string',
8004
8007
  customType: 'string',
8008
+ riskData: 'string',
8005
8009
  };
8006
8010
  }
8007
8011
 
@@ -8534,6 +8538,108 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
8534
8538
  }
8535
8539
  }
8536
8540
 
8541
+ export class QueryDubbridgeCreditPermitRequest extends $tea.Model {
8542
+ // OAuth模式下的授权token
8543
+ authToken?: string;
8544
+ productInstanceId?: string;
8545
+ // 身份证号
8546
+ cardNo?: string;
8547
+ // 手机号
8548
+ mobile: string;
8549
+ // 姓名
8550
+ customName?: string;
8551
+ // 合作方产品编号
8552
+ prodNo?: string;
8553
+ // 1:app
8554
+ // 2:H5
8555
+ channelType?: string;
8556
+ // 客户类型
8557
+ // ("1", "新增客户"),("2", "存量激活客户"),("3", "目标营销账户")
8558
+ customType?: string;
8559
+ // 导流平台
8560
+ trafficPlatform?: string;
8561
+ // 流量来源名称
8562
+ trafficSourceName?: string;
8563
+ // 广告位标志
8564
+ trafficAdId?: string;
8565
+ // 营销id
8566
+ trafficMktId?: string;
8567
+ // 点击id
8568
+ clickId?: string;
8569
+ static names(): { [key: string]: string } {
8570
+ return {
8571
+ authToken: 'auth_token',
8572
+ productInstanceId: 'product_instance_id',
8573
+ cardNo: 'card_no',
8574
+ mobile: 'mobile',
8575
+ customName: 'custom_name',
8576
+ prodNo: 'prod_no',
8577
+ channelType: 'channel_type',
8578
+ customType: 'custom_type',
8579
+ trafficPlatform: 'traffic_platform',
8580
+ trafficSourceName: 'traffic_source_name',
8581
+ trafficAdId: 'traffic_ad_id',
8582
+ trafficMktId: 'traffic_mkt_id',
8583
+ clickId: 'click_id',
8584
+ };
8585
+ }
8586
+
8587
+ static types(): { [key: string]: any } {
8588
+ return {
8589
+ authToken: 'string',
8590
+ productInstanceId: 'string',
8591
+ cardNo: 'string',
8592
+ mobile: 'string',
8593
+ customName: 'string',
8594
+ prodNo: 'string',
8595
+ channelType: 'string',
8596
+ customType: 'string',
8597
+ trafficPlatform: 'string',
8598
+ trafficSourceName: 'string',
8599
+ trafficAdId: 'string',
8600
+ trafficMktId: 'string',
8601
+ clickId: 'string',
8602
+ };
8603
+ }
8604
+
8605
+ constructor(map?: { [key: string]: any }) {
8606
+ super(map);
8607
+ }
8608
+ }
8609
+
8610
+ export class QueryDubbridgeCreditPermitResponse extends $tea.Model {
8611
+ // 请求唯一ID,用于链路跟踪和问题排查
8612
+ reqMsgId?: string;
8613
+ // 结果码,一般OK表示调用成功
8614
+ resultCode?: string;
8615
+ // 异常信息的文本描述
8616
+ resultMsg?: string;
8617
+ // Y:准入
8618
+ // N:未准入
8619
+ enableApply?: string;
8620
+ static names(): { [key: string]: string } {
8621
+ return {
8622
+ reqMsgId: 'req_msg_id',
8623
+ resultCode: 'result_code',
8624
+ resultMsg: 'result_msg',
8625
+ enableApply: 'enable_apply',
8626
+ };
8627
+ }
8628
+
8629
+ static types(): { [key: string]: any } {
8630
+ return {
8631
+ reqMsgId: 'string',
8632
+ resultCode: 'string',
8633
+ resultMsg: 'string',
8634
+ enableApply: 'string',
8635
+ };
8636
+ }
8637
+
8638
+ constructor(map?: { [key: string]: any }) {
8639
+ super(map);
8640
+ }
8641
+ }
8642
+
8537
8643
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
8538
8644
  // OAuth模式下的授权token
8539
8645
  authToken?: string;
@@ -14331,7 +14437,7 @@ export default class Client {
14331
14437
  req_msg_id: AntchainUtil.getNonce(),
14332
14438
  access_key: this._accessKeyId,
14333
14439
  base_sdk_version: "TeaSDK-2.0",
14334
- sdk_version: "1.16.4",
14440
+ sdk_version: "1.16.6",
14335
14441
  _prod_code: "RISKPLUS",
14336
14442
  _prod_channel: "undefined",
14337
14443
  };
@@ -15502,6 +15608,25 @@ export default class Client {
15502
15608
  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({}));
15503
15609
  }
15504
15610
 
15611
+ /**
15612
+ * Description: 天枢准入接口
15613
+ * Summary: 天枢准入接口
15614
+ */
15615
+ async queryDubbridgeCreditPermit(request: QueryDubbridgeCreditPermitRequest): Promise<QueryDubbridgeCreditPermitResponse> {
15616
+ let runtime = new $Util.RuntimeOptions({ });
15617
+ let headers : {[key: string ]: string} = { };
15618
+ return await this.queryDubbridgeCreditPermitEx(request, headers, runtime);
15619
+ }
15620
+
15621
+ /**
15622
+ * Description: 天枢准入接口
15623
+ * Summary: 天枢准入接口
15624
+ */
15625
+ async queryDubbridgeCreditPermitEx(request: QueryDubbridgeCreditPermitRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCreditPermitResponse> {
15626
+ Util.validateModel(request);
15627
+ 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({}));
15628
+ }
15629
+
15505
15630
  /**
15506
15631
  * Description: 四要素认证首先调用此接口
15507
15632
  * Summary: 芝麻四要素接口