@antchain/riskplus 1.23.5 → 1.23.7

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.23.5",
3
+ "version": "1.23.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -405,6 +405,40 @@ export class DecisionFlow extends $tea.Model {
405
405
  }
406
406
  }
407
407
 
408
+ // 用户混合营销决策结果
409
+ export class RpspInfoModel extends $tea.Model {
410
+ // 流量分层计划code
411
+ planCode: string;
412
+ // 场景策略Id
413
+ sceneStrategyId: number;
414
+ // 客群分层结果
415
+ rpspResult: string;
416
+ //
417
+ // json 结构的营销额外输出信息
418
+ rpspOutPutInfo: string;
419
+ static names(): { [key: string]: string } {
420
+ return {
421
+ planCode: 'plan_code',
422
+ sceneStrategyId: 'scene_strategy_id',
423
+ rpspResult: 'rpsp_result',
424
+ rpspOutPutInfo: 'rpsp_out_put_info',
425
+ };
426
+ }
427
+
428
+ static types(): { [key: string]: any } {
429
+ return {
430
+ planCode: 'string',
431
+ sceneStrategyId: 'number',
432
+ rpspResult: 'string',
433
+ rpspOutPutInfo: 'string',
434
+ };
435
+ }
436
+
437
+ constructor(map?: { [key: string]: any }) {
438
+ super(map);
439
+ }
440
+ }
441
+
408
442
  // 优惠券信息
409
443
  export class CouponInfo extends $tea.Model {
410
444
  // 优惠券Id
@@ -1661,6 +1695,31 @@ export class RtopRiskStormCompanyAnnualReport extends $tea.Model {
1661
1695
  }
1662
1696
  }
1663
1697
 
1698
+ // 查询结果
1699
+ export class CustomerRpspInfosModel extends $tea.Model {
1700
+ // 归属用户的混合分层决策结果
1701
+ rpspResults: RpspInfoModel[];
1702
+ // 用户凭证
1703
+ customerKey: string;
1704
+ static names(): { [key: string]: string } {
1705
+ return {
1706
+ rpspResults: 'rpsp_results',
1707
+ customerKey: 'customer_key',
1708
+ };
1709
+ }
1710
+
1711
+ static types(): { [key: string]: any } {
1712
+ return {
1713
+ rpspResults: { 'type': 'array', 'itemType': RpspInfoModel },
1714
+ customerKey: 'string',
1715
+ };
1716
+ }
1717
+
1718
+ constructor(map?: { [key: string]: any }) {
1719
+ super(map);
1720
+ }
1721
+ }
1722
+
1664
1723
  // 信护盾产品查询信息
1665
1724
  export class QueryInfo extends $tea.Model {
1666
1725
  // key
@@ -2073,6 +2132,31 @@ export class RtopAgeDistribution extends $tea.Model {
2073
2132
  }
2074
2133
  }
2075
2134
 
2135
+ // 客群详细信息
2136
+ export class CustomerInfo extends $tea.Model {
2137
+ // 查询的用户凭证列表
2138
+ customerKey: string;
2139
+ // 客户属性的额外信息
2140
+ properties?: string;
2141
+ static names(): { [key: string]: string } {
2142
+ return {
2143
+ customerKey: 'customer_key',
2144
+ properties: 'properties',
2145
+ };
2146
+ }
2147
+
2148
+ static types(): { [key: string]: any } {
2149
+ return {
2150
+ customerKey: 'string',
2151
+ properties: 'string',
2152
+ };
2153
+ }
2154
+
2155
+ constructor(map?: { [key: string]: any }) {
2156
+ super(map);
2157
+ }
2158
+ }
2159
+
2076
2160
  // 企业信息
2077
2161
  export class CompanyInfo extends $tea.Model {
2078
2162
  // 活跃地json
@@ -8137,6 +8221,8 @@ export class QueryDubbridgeRiskinfoEnterprisescoreRequest extends $tea.Model {
8137
8221
  customerNo: string;
8138
8222
  // 渠道号
8139
8223
  channelCode: string;
8224
+ // 手机号md5
8225
+ mobileMd5?: string;
8140
8226
  static names(): { [key: string]: string } {
8141
8227
  return {
8142
8228
  authToken: 'auth_token',
@@ -8145,6 +8231,7 @@ export class QueryDubbridgeRiskinfoEnterprisescoreRequest extends $tea.Model {
8145
8231
  mobile: 'mobile',
8146
8232
  customerNo: 'customer_no',
8147
8233
  channelCode: 'channel_code',
8234
+ mobileMd5: 'mobile_md5',
8148
8235
  };
8149
8236
  }
8150
8237
 
@@ -8156,6 +8243,7 @@ export class QueryDubbridgeRiskinfoEnterprisescoreRequest extends $tea.Model {
8156
8243
  mobile: 'string',
8157
8244
  customerNo: 'string',
8158
8245
  channelCode: 'string',
8246
+ mobileMd5: 'string',
8159
8247
  };
8160
8248
  }
8161
8249
 
@@ -13685,6 +13773,85 @@ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13685
13773
  }
13686
13774
  }
13687
13775
 
13776
+ export class BatchqueryQmpRtMixedmarketingRequest extends $tea.Model {
13777
+ // OAuth模式下的授权token
13778
+ authToken?: string;
13779
+ productInstanceId?: string;
13780
+ // 圈客计划code列表
13781
+ planCodes: string[];
13782
+ // 计划集合code,对标圈客计划code列表,一般不可变
13783
+ planSetCode?: string;
13784
+ // 查询协议模版
13785
+ queryTemplate: string;
13786
+ // 客群凭证和其他信息
13787
+ customerDetails: CustomerInfo[];
13788
+ // 客群共用参数
13789
+ publicProperties?: string;
13790
+ // 外部业务流水号
13791
+ bizSerialNo: string;
13792
+ static names(): { [key: string]: string } {
13793
+ return {
13794
+ authToken: 'auth_token',
13795
+ productInstanceId: 'product_instance_id',
13796
+ planCodes: 'plan_codes',
13797
+ planSetCode: 'plan_set_code',
13798
+ queryTemplate: 'query_template',
13799
+ customerDetails: 'customer_details',
13800
+ publicProperties: 'public_properties',
13801
+ bizSerialNo: 'biz_serial_no',
13802
+ };
13803
+ }
13804
+
13805
+ static types(): { [key: string]: any } {
13806
+ return {
13807
+ authToken: 'string',
13808
+ productInstanceId: 'string',
13809
+ planCodes: { 'type': 'array', 'itemType': 'string' },
13810
+ planSetCode: 'string',
13811
+ queryTemplate: 'string',
13812
+ customerDetails: { 'type': 'array', 'itemType': CustomerInfo },
13813
+ publicProperties: 'string',
13814
+ bizSerialNo: 'string',
13815
+ };
13816
+ }
13817
+
13818
+ constructor(map?: { [key: string]: any }) {
13819
+ super(map);
13820
+ }
13821
+ }
13822
+
13823
+ export class BatchqueryQmpRtMixedmarketingResponse extends $tea.Model {
13824
+ // 请求唯一ID,用于链路跟踪和问题排查
13825
+ reqMsgId?: string;
13826
+ // 结果码,一般OK表示调用成功
13827
+ resultCode?: string;
13828
+ // 异常信息的文本描述
13829
+ resultMsg?: string;
13830
+ // 查询结果
13831
+ queryResults?: CustomerRpspInfosModel[];
13832
+ static names(): { [key: string]: string } {
13833
+ return {
13834
+ reqMsgId: 'req_msg_id',
13835
+ resultCode: 'result_code',
13836
+ resultMsg: 'result_msg',
13837
+ queryResults: 'query_results',
13838
+ };
13839
+ }
13840
+
13841
+ static types(): { [key: string]: any } {
13842
+ return {
13843
+ reqMsgId: 'string',
13844
+ resultCode: 'string',
13845
+ resultMsg: 'string',
13846
+ queryResults: { 'type': 'array', 'itemType': CustomerRpspInfosModel },
13847
+ };
13848
+ }
13849
+
13850
+ constructor(map?: { [key: string]: any }) {
13851
+ super(map);
13852
+ }
13853
+ }
13854
+
13688
13855
  export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
13689
13856
  // OAuth模式下的授权token
13690
13857
  authToken?: string;
@@ -22259,7 +22426,7 @@ export default class Client {
22259
22426
  req_msg_id: AntchainUtil.getNonce(),
22260
22427
  access_key: this._accessKeyId,
22261
22428
  base_sdk_version: "TeaSDK-2.0",
22262
- sdk_version: "1.23.5",
22429
+ sdk_version: "1.23.7",
22263
22430
  _prod_code: "RISKPLUS",
22264
22431
  _prod_channel: "undefined",
22265
22432
  };
@@ -24368,6 +24535,25 @@ export default class Client {
24368
24535
  return $tea.cast<PushQmpBackflowJsondataResponse>(await this.doRequest("1.0", "riskplus.qmp.backflow.jsondata.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushQmpBackflowJsondataResponse({}));
24369
24536
  }
24370
24537
 
24538
+ /**
24539
+ * Description: 智选平台混合策略批量分层服务
24540
+ * Summary: 智选平台-混合策略批量分层服务
24541
+ */
24542
+ async batchqueryQmpRtMixedmarketing(request: BatchqueryQmpRtMixedmarketingRequest): Promise<BatchqueryQmpRtMixedmarketingResponse> {
24543
+ let runtime = new $Util.RuntimeOptions({ });
24544
+ let headers : {[key: string ]: string} = { };
24545
+ return await this.batchqueryQmpRtMixedmarketingEx(request, headers, runtime);
24546
+ }
24547
+
24548
+ /**
24549
+ * Description: 智选平台混合策略批量分层服务
24550
+ * Summary: 智选平台-混合策略批量分层服务
24551
+ */
24552
+ async batchqueryQmpRtMixedmarketingEx(request: BatchqueryQmpRtMixedmarketingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryQmpRtMixedmarketingResponse> {
24553
+ Util.validateModel(request);
24554
+ return $tea.cast<BatchqueryQmpRtMixedmarketingResponse>(await this.doRequest("1.0", "riskplus.qmp.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryQmpRtMixedmarketingResponse({}));
24555
+ }
24556
+
24371
24557
  /**
24372
24558
  * Description: 企管盾票税交接授权信息表的同步
24373
24559
  * Summary: 企管盾票税交接授权信息表的同步