@antchain/riskplus 1.28.7 → 1.29.3

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.28.7",
3
+ "version": "1.29.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1760,6 +1760,43 @@ export class RuntimeResult extends $tea.Model {
1760
1760
  }
1761
1761
  }
1762
1762
 
1763
+ // qmp分层信息
1764
+ export class DecisionInfo extends $tea.Model {
1765
+ // 状态
1766
+ status: string;
1767
+ // 计划配置ID
1768
+ offlineDecisionPlanId: number;
1769
+ // 总数量
1770
+ totalNum: number;
1771
+ // 分层结果数
1772
+ decisionNum: number;
1773
+ // 文件路径
1774
+ fileUrl: string;
1775
+ static names(): { [key: string]: string } {
1776
+ return {
1777
+ status: 'status',
1778
+ offlineDecisionPlanId: 'offline_decision_plan_id',
1779
+ totalNum: 'total_num',
1780
+ decisionNum: 'decision_num',
1781
+ fileUrl: 'file_url',
1782
+ };
1783
+ }
1784
+
1785
+ static types(): { [key: string]: any } {
1786
+ return {
1787
+ status: 'string',
1788
+ offlineDecisionPlanId: 'number',
1789
+ totalNum: 'number',
1790
+ decisionNum: 'number',
1791
+ fileUrl: 'string',
1792
+ };
1793
+ }
1794
+
1795
+ constructor(map?: { [key: string]: any }) {
1796
+ super(map);
1797
+ }
1798
+ }
1799
+
1763
1800
  // 监测企业的特征信息
1764
1801
  export class RtopMonitorCompanyFeature extends $tea.Model {
1765
1802
  // 特征的描述
@@ -5890,11 +5927,14 @@ export class ReceiveBenefithubRiskPayResponse extends $tea.Model {
5890
5927
  resultCode?: string;
5891
5928
  // 异常信息的文本描述
5892
5929
  resultMsg?: string;
5930
+ // 响应的业务数据字段
5931
+ resultData?: string;
5893
5932
  static names(): { [key: string]: string } {
5894
5933
  return {
5895
5934
  reqMsgId: 'req_msg_id',
5896
5935
  resultCode: 'result_code',
5897
5936
  resultMsg: 'result_msg',
5937
+ resultData: 'result_data',
5898
5938
  };
5899
5939
  }
5900
5940
 
@@ -5903,6 +5943,7 @@ export class ReceiveBenefithubRiskPayResponse extends $tea.Model {
5903
5943
  reqMsgId: 'string',
5904
5944
  resultCode: 'string',
5905
5945
  resultMsg: 'string',
5946
+ resultData: 'string',
5906
5947
  };
5907
5948
  }
5908
5949
 
@@ -5928,6 +5969,8 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5928
5969
  sceneConfig?: string;
5929
5970
  // 区分流量来源
5930
5971
  trafficSource?: string;
5972
+ // json字符串包含姓名md5、手机号md5、身份证md5,(非必传,针对可当-萨摩耶 必传)
5973
+ extraInfo?: string;
5931
5974
  static names(): { [key: string]: string } {
5932
5975
  return {
5933
5976
  authToken: 'auth_token',
@@ -5938,6 +5981,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5938
5981
  productCode: 'product_code',
5939
5982
  sceneConfig: 'scene_config',
5940
5983
  trafficSource: 'traffic_source',
5984
+ extraInfo: 'extra_info',
5941
5985
  };
5942
5986
  }
5943
5987
 
@@ -5951,6 +5995,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5951
5995
  productCode: 'string',
5952
5996
  sceneConfig: 'string',
5953
5997
  trafficSource: 'string',
5998
+ extraInfo: 'string',
5954
5999
  };
5955
6000
  }
5956
6001
 
@@ -12577,6 +12622,9 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12577
12622
  abbreFundName?: string;
12578
12623
  // 1:现金贷、2:分期付
12579
12624
  prodType?: string;
12625
+ // Y- 可用
12626
+ // N- 不可用
12627
+ installmentStatus?: string;
12580
12628
  static names(): { [key: string]: string } {
12581
12629
  return {
12582
12630
  reqMsgId: 'req_msg_id',
@@ -12592,6 +12640,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12592
12640
  fundCode: 'fund_code',
12593
12641
  abbreFundName: 'abbre_fund_name',
12594
12642
  prodType: 'prod_type',
12643
+ installmentStatus: 'installment_status',
12595
12644
  };
12596
12645
  }
12597
12646
 
@@ -12610,6 +12659,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12610
12659
  fundCode: 'string',
12611
12660
  abbreFundName: 'string',
12612
12661
  prodType: 'string',
12662
+ installmentStatus: 'string',
12613
12663
  };
12614
12664
  }
12615
12665
 
@@ -12899,9 +12949,9 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
12899
12949
  // 20: 门头照
12900
12950
  // 21: 内景照
12901
12951
  imageCategory: string;
12902
- // 文件base64字符串,最大10M;(建议)
12952
+ // 文件base64字符串,最大10M
12903
12953
  imageContent?: string;
12904
- // 图片文件路径
12954
+ // 图片文件路径,(建议),http、https为前缀
12905
12955
  imagePath?: string;
12906
12956
  // 图片格式,
12907
12957
  // 支持格式:bmp、jpg、jpeg、png、gif
@@ -16109,12 +16159,15 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
16109
16159
  resultMsg?: string;
16110
16160
  // 导入id,可以用该id来查询分层结果
16111
16161
  importId?: number;
16162
+ // 任务id
16163
+ taskUuid?: string;
16112
16164
  static names(): { [key: string]: string } {
16113
16165
  return {
16114
16166
  reqMsgId: 'req_msg_id',
16115
16167
  resultCode: 'result_code',
16116
16168
  resultMsg: 'result_msg',
16117
16169
  importId: 'import_id',
16170
+ taskUuid: 'task_uuid',
16118
16171
  };
16119
16172
  }
16120
16173
 
@@ -16124,6 +16177,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
16124
16177
  resultCode: 'string',
16125
16178
  resultMsg: 'string',
16126
16179
  importId: 'number',
16180
+ taskUuid: 'string',
16127
16181
  };
16128
16182
  }
16129
16183
 
@@ -16215,6 +16269,69 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
16215
16269
  }
16216
16270
  }
16217
16271
 
16272
+ export class QueryQmpOfflinehostplanDecisionresultsRequest extends $tea.Model {
16273
+ // OAuth模式下的授权token
16274
+ authToken?: string;
16275
+ productInstanceId?: string;
16276
+ // 任务串联任务id
16277
+ taskUuid: string;
16278
+ static names(): { [key: string]: string } {
16279
+ return {
16280
+ authToken: 'auth_token',
16281
+ productInstanceId: 'product_instance_id',
16282
+ taskUuid: 'task_uuid',
16283
+ };
16284
+ }
16285
+
16286
+ static types(): { [key: string]: any } {
16287
+ return {
16288
+ authToken: 'string',
16289
+ productInstanceId: 'string',
16290
+ taskUuid: 'string',
16291
+ };
16292
+ }
16293
+
16294
+ constructor(map?: { [key: string]: any }) {
16295
+ super(map);
16296
+ }
16297
+ }
16298
+
16299
+ export class QueryQmpOfflinehostplanDecisionresultsResponse extends $tea.Model {
16300
+ // 请求唯一ID,用于链路跟踪和问题排查
16301
+ reqMsgId?: string;
16302
+ // 结果码,一般OK表示调用成功
16303
+ resultCode?: string;
16304
+ // 异常信息的文本描述
16305
+ resultMsg?: string;
16306
+ // 托管计划编码
16307
+ planCode?: string;
16308
+ // 分层结果信息
16309
+ decisionInfo?: DecisionInfo[];
16310
+ static names(): { [key: string]: string } {
16311
+ return {
16312
+ reqMsgId: 'req_msg_id',
16313
+ resultCode: 'result_code',
16314
+ resultMsg: 'result_msg',
16315
+ planCode: 'plan_code',
16316
+ decisionInfo: 'decision_info',
16317
+ };
16318
+ }
16319
+
16320
+ static types(): { [key: string]: any } {
16321
+ return {
16322
+ reqMsgId: 'string',
16323
+ resultCode: 'string',
16324
+ resultMsg: 'string',
16325
+ planCode: 'string',
16326
+ decisionInfo: { 'type': 'array', 'itemType': DecisionInfo },
16327
+ };
16328
+ }
16329
+
16330
+ constructor(map?: { [key: string]: any }) {
16331
+ super(map);
16332
+ }
16333
+ }
16334
+
16218
16335
  export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
16219
16336
  // OAuth模式下的授权token
16220
16337
  authToken?: string;
@@ -26080,7 +26197,7 @@ export default class Client {
26080
26197
  req_msg_id: AntchainUtil.getNonce(),
26081
26198
  access_key: this._accessKeyId,
26082
26199
  base_sdk_version: "TeaSDK-2.0",
26083
- sdk_version: "1.28.7",
26200
+ sdk_version: "1.29.3",
26084
26201
  _prod_code: "RISKPLUS",
26085
26202
  _prod_channel: "undefined",
26086
26203
  };
@@ -28610,6 +28727,25 @@ export default class Client {
28610
28727
  return $tea.cast<QueryQmpOfflinehostplanDecisionresultResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresult.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultResponse({}));
28611
28728
  }
28612
28729
 
28730
+ /**
28731
+ * Description: qmp分层结果查询v2
28732
+ * Summary: qmp分层结果查询v2
28733
+ */
28734
+ async queryQmpOfflinehostplanDecisionresults(request: QueryQmpOfflinehostplanDecisionresultsRequest): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
28735
+ let runtime = new $Util.RuntimeOptions({ });
28736
+ let headers : {[key: string ]: string} = { };
28737
+ return await this.queryQmpOfflinehostplanDecisionresultsEx(request, headers, runtime);
28738
+ }
28739
+
28740
+ /**
28741
+ * Description: qmp分层结果查询v2
28742
+ * Summary: qmp分层结果查询v2
28743
+ */
28744
+ async queryQmpOfflinehostplanDecisionresultsEx(request: QueryQmpOfflinehostplanDecisionresultsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
28745
+ Util.validateModel(request);
28746
+ return $tea.cast<QueryQmpOfflinehostplanDecisionresultsResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresults.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultsResponse({}));
28747
+ }
28748
+
28613
28749
  /**
28614
28750
  * Description: 企管盾票税交接授权信息表的同步
28615
28751
  * Summary: 企管盾票税交接授权信息表的同步