@antchain/riskplus 1.23.6 → 1.23.9

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.6",
3
+ "version": "1.23.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -326,6 +326,39 @@ export class RtopTypeDistribution extends $tea.Model {
326
326
  }
327
327
  }
328
328
 
329
+ // 营销盾离线圈客任务详细信息
330
+ export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
331
+ // 任务id
332
+ taskId: number;
333
+ // 圈客计划id
334
+ decisionPlanId: number;
335
+ // 圈客结果状态
336
+ decisionResultStatus: string;
337
+ // 圈客结果状态描述
338
+ statusRemark: string;
339
+ static names(): { [key: string]: string } {
340
+ return {
341
+ taskId: 'task_id',
342
+ decisionPlanId: 'decision_plan_id',
343
+ decisionResultStatus: 'decision_result_status',
344
+ statusRemark: 'status_remark',
345
+ };
346
+ }
347
+
348
+ static types(): { [key: string]: any } {
349
+ return {
350
+ taskId: 'number',
351
+ decisionPlanId: 'number',
352
+ decisionResultStatus: 'string',
353
+ statusRemark: 'string',
354
+ };
355
+ }
356
+
357
+ constructor(map?: { [key: string]: any }) {
358
+ super(map);
359
+ }
360
+ }
361
+
329
362
  // 营销盾触达媒介参数信息
330
363
  export class ActionParamInfo extends $tea.Model {
331
364
  // 触达媒介类型
@@ -405,6 +438,40 @@ export class DecisionFlow extends $tea.Model {
405
438
  }
406
439
  }
407
440
 
441
+ // 用户混合营销决策结果
442
+ export class RpspInfoModel extends $tea.Model {
443
+ // 流量分层计划code
444
+ planCode: string;
445
+ // 场景策略Id
446
+ sceneStrategyId: number;
447
+ // 客群分层结果
448
+ rpspResult: string;
449
+ //
450
+ // json 结构的营销额外输出信息
451
+ rpspOutPutInfo: string;
452
+ static names(): { [key: string]: string } {
453
+ return {
454
+ planCode: 'plan_code',
455
+ sceneStrategyId: 'scene_strategy_id',
456
+ rpspResult: 'rpsp_result',
457
+ rpspOutPutInfo: 'rpsp_out_put_info',
458
+ };
459
+ }
460
+
461
+ static types(): { [key: string]: any } {
462
+ return {
463
+ planCode: 'string',
464
+ sceneStrategyId: 'number',
465
+ rpspResult: 'string',
466
+ rpspOutPutInfo: 'string',
467
+ };
468
+ }
469
+
470
+ constructor(map?: { [key: string]: any }) {
471
+ super(map);
472
+ }
473
+ }
474
+
408
475
  // 优惠券信息
409
476
  export class CouponInfo extends $tea.Model {
410
477
  // 优惠券Id
@@ -1661,6 +1728,31 @@ export class RtopRiskStormCompanyAnnualReport extends $tea.Model {
1661
1728
  }
1662
1729
  }
1663
1730
 
1731
+ // 查询结果
1732
+ export class CustomerRpspInfosModel extends $tea.Model {
1733
+ // 归属用户的混合分层决策结果
1734
+ rpspResults: RpspInfoModel[];
1735
+ // 用户凭证
1736
+ customerKey: string;
1737
+ static names(): { [key: string]: string } {
1738
+ return {
1739
+ rpspResults: 'rpsp_results',
1740
+ customerKey: 'customer_key',
1741
+ };
1742
+ }
1743
+
1744
+ static types(): { [key: string]: any } {
1745
+ return {
1746
+ rpspResults: { 'type': 'array', 'itemType': RpspInfoModel },
1747
+ customerKey: 'string',
1748
+ };
1749
+ }
1750
+
1751
+ constructor(map?: { [key: string]: any }) {
1752
+ super(map);
1753
+ }
1754
+ }
1755
+
1664
1756
  // 信护盾产品查询信息
1665
1757
  export class QueryInfo extends $tea.Model {
1666
1758
  // key
@@ -2073,6 +2165,31 @@ export class RtopAgeDistribution extends $tea.Model {
2073
2165
  }
2074
2166
  }
2075
2167
 
2168
+ // 客群详细信息
2169
+ export class CustomerInfo extends $tea.Model {
2170
+ // 查询的用户凭证列表
2171
+ customerKey: string;
2172
+ // 客户属性的额外信息
2173
+ properties?: string;
2174
+ static names(): { [key: string]: string } {
2175
+ return {
2176
+ customerKey: 'customer_key',
2177
+ properties: 'properties',
2178
+ };
2179
+ }
2180
+
2181
+ static types(): { [key: string]: any } {
2182
+ return {
2183
+ customerKey: 'string',
2184
+ properties: 'string',
2185
+ };
2186
+ }
2187
+
2188
+ constructor(map?: { [key: string]: any }) {
2189
+ super(map);
2190
+ }
2191
+ }
2192
+
2076
2193
  // 企业信息
2077
2194
  export class CompanyInfo extends $tea.Model {
2078
2195
  // 活跃地json
@@ -2331,39 +2448,6 @@ export class CompanyInfo extends $tea.Model {
2331
2448
  }
2332
2449
  }
2333
2450
 
2334
- // 营销盾离线圈客任务详细信息
2335
- export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
2336
- // 任务id
2337
- taskId: number;
2338
- // 圈客计划id
2339
- decisionPlanId: number;
2340
- // 圈客结果状态
2341
- decisionResultStatus: string;
2342
- // 圈客结果状态描述
2343
- statusRemark: string;
2344
- static names(): { [key: string]: string } {
2345
- return {
2346
- taskId: 'task_id',
2347
- decisionPlanId: 'decision_plan_id',
2348
- decisionResultStatus: 'decision_result_status',
2349
- statusRemark: 'status_remark',
2350
- };
2351
- }
2352
-
2353
- static types(): { [key: string]: any } {
2354
- return {
2355
- taskId: 'number',
2356
- decisionPlanId: 'number',
2357
- decisionResultStatus: 'string',
2358
- statusRemark: 'string',
2359
- };
2360
- }
2361
-
2362
- constructor(map?: { [key: string]: any }) {
2363
- super(map);
2364
- }
2365
- }
2366
-
2367
2451
  // 营销盾事件信息同步详情
2368
2452
  export class EventResultSyncDetail extends $tea.Model {
2369
2453
  // 事件唯一id(单个租户全局唯一)
@@ -3673,6 +3757,31 @@ export class CustomerBankCardInfo extends $tea.Model {
3673
3757
  }
3674
3758
  }
3675
3759
 
3760
+ // 营销盾离线圈客执行批次信息
3761
+ export class UmktOfflineDecisionTaskExecBatchInfo extends $tea.Model {
3762
+ // 执行批次
3763
+ execBatch: string;
3764
+ // 批次下任务列表
3765
+ offlineDecisionTaskDetailInfoList: UmktOfflineDecisionTaskDetailInfo[];
3766
+ static names(): { [key: string]: string } {
3767
+ return {
3768
+ execBatch: 'exec_batch',
3769
+ offlineDecisionTaskDetailInfoList: 'offline_decision_task_detail_info_list',
3770
+ };
3771
+ }
3772
+
3773
+ static types(): { [key: string]: any } {
3774
+ return {
3775
+ execBatch: 'string',
3776
+ offlineDecisionTaskDetailInfoList: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
3777
+ };
3778
+ }
3779
+
3780
+ constructor(map?: { [key: string]: any }) {
3781
+ super(map);
3782
+ }
3783
+ }
3784
+
3676
3785
  // 供应商
3677
3786
  export class Supplier extends $tea.Model {
3678
3787
  // 供应商id
@@ -13689,6 +13798,85 @@ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13689
13798
  }
13690
13799
  }
13691
13800
 
13801
+ export class BatchqueryQmpRtMixedmarketingRequest extends $tea.Model {
13802
+ // OAuth模式下的授权token
13803
+ authToken?: string;
13804
+ productInstanceId?: string;
13805
+ // 圈客计划code列表
13806
+ planCodes: string[];
13807
+ // 计划集合code,对标圈客计划code列表,一般不可变
13808
+ planSetCode?: string;
13809
+ // 查询协议模版
13810
+ queryTemplate: string;
13811
+ // 客群凭证和其他信息
13812
+ customerDetails: CustomerInfo[];
13813
+ // 客群共用参数
13814
+ publicProperties?: string;
13815
+ // 外部业务流水号
13816
+ bizSerialNo: string;
13817
+ static names(): { [key: string]: string } {
13818
+ return {
13819
+ authToken: 'auth_token',
13820
+ productInstanceId: 'product_instance_id',
13821
+ planCodes: 'plan_codes',
13822
+ planSetCode: 'plan_set_code',
13823
+ queryTemplate: 'query_template',
13824
+ customerDetails: 'customer_details',
13825
+ publicProperties: 'public_properties',
13826
+ bizSerialNo: 'biz_serial_no',
13827
+ };
13828
+ }
13829
+
13830
+ static types(): { [key: string]: any } {
13831
+ return {
13832
+ authToken: 'string',
13833
+ productInstanceId: 'string',
13834
+ planCodes: { 'type': 'array', 'itemType': 'string' },
13835
+ planSetCode: 'string',
13836
+ queryTemplate: 'string',
13837
+ customerDetails: { 'type': 'array', 'itemType': CustomerInfo },
13838
+ publicProperties: 'string',
13839
+ bizSerialNo: 'string',
13840
+ };
13841
+ }
13842
+
13843
+ constructor(map?: { [key: string]: any }) {
13844
+ super(map);
13845
+ }
13846
+ }
13847
+
13848
+ export class BatchqueryQmpRtMixedmarketingResponse extends $tea.Model {
13849
+ // 请求唯一ID,用于链路跟踪和问题排查
13850
+ reqMsgId?: string;
13851
+ // 结果码,一般OK表示调用成功
13852
+ resultCode?: string;
13853
+ // 异常信息的文本描述
13854
+ resultMsg?: string;
13855
+ // 查询结果
13856
+ queryResults?: CustomerRpspInfosModel[];
13857
+ static names(): { [key: string]: string } {
13858
+ return {
13859
+ reqMsgId: 'req_msg_id',
13860
+ resultCode: 'result_code',
13861
+ resultMsg: 'result_msg',
13862
+ queryResults: 'query_results',
13863
+ };
13864
+ }
13865
+
13866
+ static types(): { [key: string]: any } {
13867
+ return {
13868
+ reqMsgId: 'string',
13869
+ resultCode: 'string',
13870
+ resultMsg: 'string',
13871
+ queryResults: { 'type': 'array', 'itemType': CustomerRpspInfosModel },
13872
+ };
13873
+ }
13874
+
13875
+ constructor(map?: { [key: string]: any }) {
13876
+ super(map);
13877
+ }
13878
+ }
13879
+
13692
13880
  export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
13693
13881
  // OAuth模式下的授权token
13694
13882
  authToken?: string;
@@ -15950,6 +16138,69 @@ export class PushRpaasReportAnswerResponse extends $tea.Model {
15950
16138
  }
15951
16139
  }
15952
16140
 
16141
+ export class QueryRpaasOpenServiceRequest extends $tea.Model {
16142
+ // OAuth模式下的授权token
16143
+ authToken?: string;
16144
+ productInstanceId?: string;
16145
+ // 开放服务ID
16146
+ serviceId: string;
16147
+ // { "companyId": "2088" }
16148
+ params?: string;
16149
+ static names(): { [key: string]: string } {
16150
+ return {
16151
+ authToken: 'auth_token',
16152
+ productInstanceId: 'product_instance_id',
16153
+ serviceId: 'service_id',
16154
+ params: 'params',
16155
+ };
16156
+ }
16157
+
16158
+ static types(): { [key: string]: any } {
16159
+ return {
16160
+ authToken: 'string',
16161
+ productInstanceId: 'string',
16162
+ serviceId: 'string',
16163
+ params: 'string',
16164
+ };
16165
+ }
16166
+
16167
+ constructor(map?: { [key: string]: any }) {
16168
+ super(map);
16169
+ }
16170
+ }
16171
+
16172
+ export class QueryRpaasOpenServiceResponse extends $tea.Model {
16173
+ // 请求唯一ID,用于链路跟踪和问题排查
16174
+ reqMsgId?: string;
16175
+ // 结果码,一般OK表示调用成功
16176
+ resultCode?: string;
16177
+ // 异常信息的文本描述
16178
+ resultMsg?: string;
16179
+ // 调用结果
16180
+ body?: string;
16181
+ static names(): { [key: string]: string } {
16182
+ return {
16183
+ reqMsgId: 'req_msg_id',
16184
+ resultCode: 'result_code',
16185
+ resultMsg: 'result_msg',
16186
+ body: 'body',
16187
+ };
16188
+ }
16189
+
16190
+ static types(): { [key: string]: any } {
16191
+ return {
16192
+ reqMsgId: 'string',
16193
+ resultCode: 'string',
16194
+ resultMsg: 'string',
16195
+ body: 'string',
16196
+ };
16197
+ }
16198
+
16199
+ constructor(map?: { [key: string]: any }) {
16200
+ super(map);
16201
+ }
16202
+ }
16203
+
15953
16204
  export class QueryRpgwSignUrlRequest extends $tea.Model {
15954
16205
  // OAuth模式下的授权token
15955
16206
  authToken?: string;
@@ -21827,7 +22078,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
21827
22078
  // 已完成的计划策略集合
21828
22079
  decisionPlanIdList?: number[];
21829
22080
  // 批次维度圈客任务结果
21830
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22081
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
21831
22082
  static names(): { [key: string]: string } {
21832
22083
  return {
21833
22084
  reqMsgId: 'req_msg_id',
@@ -21844,7 +22095,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
21844
22095
  resultCode: 'string',
21845
22096
  resultMsg: 'string',
21846
22097
  decisionPlanIdList: { 'type': 'array', 'itemType': 'number' },
21847
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22098
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
21848
22099
  };
21849
22100
  }
21850
22101
 
@@ -21969,7 +22220,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
21969
22220
  // 离线圈客计划详细
21970
22221
  planDetailList?: OfflineDecisionPlanDetail[];
21971
22222
  // 执行批次维度任务详情信息
21972
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22223
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
21973
22224
  static names(): { [key: string]: string } {
21974
22225
  return {
21975
22226
  reqMsgId: 'req_msg_id',
@@ -21988,7 +22239,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
21988
22239
  resultMsg: 'string',
21989
22240
  offlineDecisionPlanCount: 'number',
21990
22241
  planDetailList: { 'type': 'array', 'itemType': OfflineDecisionPlanDetail },
21991
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22242
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
21992
22243
  };
21993
22244
  }
21994
22245
 
@@ -22263,7 +22514,7 @@ export default class Client {
22263
22514
  req_msg_id: AntchainUtil.getNonce(),
22264
22515
  access_key: this._accessKeyId,
22265
22516
  base_sdk_version: "TeaSDK-2.0",
22266
- sdk_version: "1.23.6",
22517
+ sdk_version: "1.23.9",
22267
22518
  _prod_code: "RISKPLUS",
22268
22519
  _prod_channel: "undefined",
22269
22520
  };
@@ -24372,6 +24623,25 @@ export default class Client {
24372
24623
  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({}));
24373
24624
  }
24374
24625
 
24626
+ /**
24627
+ * Description: 智选平台混合策略批量分层服务
24628
+ * Summary: 智选平台-混合策略批量分层服务
24629
+ */
24630
+ async batchqueryQmpRtMixedmarketing(request: BatchqueryQmpRtMixedmarketingRequest): Promise<BatchqueryQmpRtMixedmarketingResponse> {
24631
+ let runtime = new $Util.RuntimeOptions({ });
24632
+ let headers : {[key: string ]: string} = { };
24633
+ return await this.batchqueryQmpRtMixedmarketingEx(request, headers, runtime);
24634
+ }
24635
+
24636
+ /**
24637
+ * Description: 智选平台混合策略批量分层服务
24638
+ * Summary: 智选平台-混合策略批量分层服务
24639
+ */
24640
+ async batchqueryQmpRtMixedmarketingEx(request: BatchqueryQmpRtMixedmarketingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryQmpRtMixedmarketingResponse> {
24641
+ Util.validateModel(request);
24642
+ 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({}));
24643
+ }
24644
+
24375
24645
  /**
24376
24646
  * Description: 企管盾票税交接授权信息表的同步
24377
24647
  * Summary: 企管盾票税交接授权信息表的同步
@@ -25046,6 +25316,25 @@ export default class Client {
25046
25316
  return $tea.cast<PushRpaasReportAnswerResponse>(await this.doRequest("1.0", "riskplus.rpaas.report.answer.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRpaasReportAnswerResponse({}));
25047
25317
  }
25048
25318
 
25319
+ /**
25320
+ * Description: 企管盾云开放平台服务调用
25321
+ * Summary: 企管盾云开放平台服务调用
25322
+ */
25323
+ async queryRpaasOpenService(request: QueryRpaasOpenServiceRequest): Promise<QueryRpaasOpenServiceResponse> {
25324
+ let runtime = new $Util.RuntimeOptions({ });
25325
+ let headers : {[key: string ]: string} = { };
25326
+ return await this.queryRpaasOpenServiceEx(request, headers, runtime);
25327
+ }
25328
+
25329
+ /**
25330
+ * Description: 企管盾云开放平台服务调用
25331
+ * Summary: 企管盾云开放平台服务调用
25332
+ */
25333
+ async queryRpaasOpenServiceEx(request: QueryRpaasOpenServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRpaasOpenServiceResponse> {
25334
+ Util.validateModel(request);
25335
+ return $tea.cast<QueryRpaasOpenServiceResponse>(await this.doRequest("1.0", "riskplus.rpaas.open.service.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRpaasOpenServiceResponse({}));
25336
+ }
25337
+
25049
25338
  /**
25050
25339
  * Description: 获取签约接口
25051
25340
  * Summary: 获取签约接口