@antchain/riskplus 1.16.43 → 1.16.59

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/src/client.ts CHANGED
@@ -153,6 +153,31 @@ export class InfoCodes extends $tea.Model {
153
153
  }
154
154
  }
155
155
 
156
+ // 营销盾触达媒介参数信息
157
+ export class ActionParamInfo extends $tea.Model {
158
+ // 触达媒介类型
159
+ contentType: string;
160
+ // 触达媒介参数列表
161
+ actionParam: string[];
162
+ static names(): { [key: string]: string } {
163
+ return {
164
+ contentType: 'content_type',
165
+ actionParam: 'action_param',
166
+ };
167
+ }
168
+
169
+ static types(): { [key: string]: any } {
170
+ return {
171
+ contentType: 'string',
172
+ actionParam: { 'type': 'array', 'itemType': 'string' },
173
+ };
174
+ }
175
+
176
+ constructor(map?: { [key: string]: any }) {
177
+ super(map);
178
+ }
179
+ }
180
+
156
181
  // 天枢系统Contact结构体
157
182
  export class Contact extends $tea.Model {
158
183
  // 联系人类型
@@ -1422,6 +1447,47 @@ export class SecurityDataQueryStruct extends $tea.Model {
1422
1447
  }
1423
1448
  }
1424
1449
 
1450
+ // 触达策略信息
1451
+ export class ActionPlanDetailInfo extends $tea.Model {
1452
+ // 场景策略id
1453
+ sceneStrategyId: number;
1454
+ // 场景策略名称
1455
+ sceneStrategyName: string;
1456
+ // 场景策略状态
1457
+ sceneStrategyStatus: string;
1458
+ // 创建时间
1459
+ gmtCreate: string;
1460
+ // 修改时间
1461
+ gmtModified: string;
1462
+ // 触达媒介参数信息
1463
+ actionParamInfo: ActionParamInfo[];
1464
+ static names(): { [key: string]: string } {
1465
+ return {
1466
+ sceneStrategyId: 'scene_strategy_id',
1467
+ sceneStrategyName: 'scene_strategy_name',
1468
+ sceneStrategyStatus: 'scene_strategy_status',
1469
+ gmtCreate: 'gmt_create',
1470
+ gmtModified: 'gmt_modified',
1471
+ actionParamInfo: 'action_param_info',
1472
+ };
1473
+ }
1474
+
1475
+ static types(): { [key: string]: any } {
1476
+ return {
1477
+ sceneStrategyId: 'number',
1478
+ sceneStrategyName: 'string',
1479
+ sceneStrategyStatus: 'string',
1480
+ gmtCreate: 'string',
1481
+ gmtModified: 'string',
1482
+ actionParamInfo: { 'type': 'array', 'itemType': ActionParamInfo },
1483
+ };
1484
+ }
1485
+
1486
+ constructor(map?: { [key: string]: any }) {
1487
+ super(map);
1488
+ }
1489
+ }
1490
+
1425
1491
  // 标签信息
1426
1492
  export class RiskLabelInfo extends $tea.Model {
1427
1493
  // 线索明细类型(字段停用)
@@ -2097,6 +2163,194 @@ export class RtopCrowdRiskSummaryResp extends $tea.Model {
2097
2163
  }
2098
2164
  }
2099
2165
 
2166
+ // 营销盾外呼记录
2167
+ export class CommonRobotCallDetail extends $tea.Model {
2168
+ // 客户请求时的透传字段
2169
+ extInfo: string;
2170
+ // 成功触达:OK;未触达:AI_ROBOT_CALL_REQUEST_NOT_EXIST
2171
+ resultCode: string;
2172
+ // 外呼号码
2173
+ customerKey: string;
2174
+ // 呼叫次数
2175
+ currentCallTimes: number;
2176
+ // 号码模版
2177
+ keyTemplate: string;
2178
+ // 导入号码时返回的批次号
2179
+ batchId: string;
2180
+ // 2001:批量-预测外呼,2002:批量-AI外呼-不转人工,2003:批量-AI外呼-接通转人工,2004: 批量-AI外呼-智能转人工,2005:批量-语音通知
2181
+ callType: number;
2182
+ // 用户自定义标签
2183
+ tag?: string;
2184
+ // 外呼id
2185
+ callId: string;
2186
+ // 外呼任务编号
2187
+ taskId: number;
2188
+ // AI话术ID
2189
+ templateId?: number;
2190
+ // 外呼状态编码
2191
+ statusCode: number;
2192
+ // 外呼状态描述
2193
+ statusDescription: string;
2194
+ // 转人工状态编码
2195
+ transferStatusCode: number;
2196
+ // 转人工状态
2197
+ transferStatus: string;
2198
+ // 分配坐席ID
2199
+ agentId?: number;
2200
+ // 坐席在贵司业务系统唯一标识,用于查询对应agentId;可以为空。
2201
+ agentTag?: string;
2202
+ // 坐席分机号
2203
+ agentExtension?: string;
2204
+ // 导入时间
2205
+ importTime: string;
2206
+ // 开始通话时间
2207
+ callBeginTime: string;
2208
+ // 振铃时长,单位ms
2209
+ ringTime: number;
2210
+ // 接通时间
2211
+ answerTime?: string;
2212
+ // 通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒
2213
+ speakingTime: string;
2214
+ // 通话时长,单位:秒
2215
+ speakingDuration: number;
2216
+ // 挂断时间
2217
+ hangupTime: string;
2218
+ // 对话轮次
2219
+ speakingTurns: number;
2220
+ // 人工通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒
2221
+ agentSpeakingTime: string;
2222
+ // 人工通话时长,单位:秒
2223
+ agentSpeakingDuration: number;
2224
+ // 意向标签
2225
+ intentTag: string;
2226
+ // 意向说明
2227
+ intentDescription: string;
2228
+ // 个性标签
2229
+ individualTag?: string;
2230
+ // 回复关键词
2231
+ keywords?: string;
2232
+ // 挂机方式,AI挂机1,坐席挂机2,客户挂机3
2233
+ hungupType: number;
2234
+ // 挂机短信,可选值:1、2
2235
+ // 1:发送,2:不发送
2236
+ sms: string;
2237
+ // 对话录音,URL,可以为空
2238
+ chatRecord?: string;
2239
+ // 聊天记录,可以为空
2240
+ chats?: string;
2241
+ // 可选值:0、1
2242
+ // 0:不添加,1:添加
2243
+ addWx?: number;
2244
+ // 加微进度,可选值:已申请、加微成功
2245
+ addWxStatus?: string;
2246
+ // 是否接通重呼,可选值:0、1
2247
+ // 0正常外呼,1接通重呼
2248
+ answerRecall: number;
2249
+ // 导入号码时的参数值
2250
+ properties?: string;
2251
+ // 导入号码时的业务参数值,原样返回
2252
+ bizProperties?: string;
2253
+ // 拦截原因:当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截
2254
+ interceptReason?: string;
2255
+ static names(): { [key: string]: string } {
2256
+ return {
2257
+ extInfo: 'ext_info',
2258
+ resultCode: 'result_code',
2259
+ customerKey: 'customer_key',
2260
+ currentCallTimes: 'current_call_times',
2261
+ keyTemplate: 'key_template',
2262
+ batchId: 'batch_id',
2263
+ callType: 'call_type',
2264
+ tag: 'tag',
2265
+ callId: 'call_id',
2266
+ taskId: 'task_id',
2267
+ templateId: 'template_id',
2268
+ statusCode: 'status_code',
2269
+ statusDescription: 'status_description',
2270
+ transferStatusCode: 'transfer_status_code',
2271
+ transferStatus: 'transfer_status',
2272
+ agentId: 'agent_id',
2273
+ agentTag: 'agent_tag',
2274
+ agentExtension: 'agent_extension',
2275
+ importTime: 'import_time',
2276
+ callBeginTime: 'call_begin_time',
2277
+ ringTime: 'ring_time',
2278
+ answerTime: 'answer_time',
2279
+ speakingTime: 'speaking_time',
2280
+ speakingDuration: 'speaking_duration',
2281
+ hangupTime: 'hangup_time',
2282
+ speakingTurns: 'speaking_turns',
2283
+ agentSpeakingTime: 'agent_speaking_time',
2284
+ agentSpeakingDuration: 'agent_speaking_duration',
2285
+ intentTag: 'intent_tag',
2286
+ intentDescription: 'intent_description',
2287
+ individualTag: 'individual_tag',
2288
+ keywords: 'keywords',
2289
+ hungupType: 'hungup_type',
2290
+ sms: 'sms',
2291
+ chatRecord: 'chat_record',
2292
+ chats: 'chats',
2293
+ addWx: 'add_wx',
2294
+ addWxStatus: 'add_wx_status',
2295
+ answerRecall: 'answer_recall',
2296
+ properties: 'properties',
2297
+ bizProperties: 'biz_properties',
2298
+ interceptReason: 'intercept_reason',
2299
+ };
2300
+ }
2301
+
2302
+ static types(): { [key: string]: any } {
2303
+ return {
2304
+ extInfo: 'string',
2305
+ resultCode: 'string',
2306
+ customerKey: 'string',
2307
+ currentCallTimes: 'number',
2308
+ keyTemplate: 'string',
2309
+ batchId: 'string',
2310
+ callType: 'number',
2311
+ tag: 'string',
2312
+ callId: 'string',
2313
+ taskId: 'number',
2314
+ templateId: 'number',
2315
+ statusCode: 'number',
2316
+ statusDescription: 'string',
2317
+ transferStatusCode: 'number',
2318
+ transferStatus: 'string',
2319
+ agentId: 'number',
2320
+ agentTag: 'string',
2321
+ agentExtension: 'string',
2322
+ importTime: 'string',
2323
+ callBeginTime: 'string',
2324
+ ringTime: 'number',
2325
+ answerTime: 'string',
2326
+ speakingTime: 'string',
2327
+ speakingDuration: 'number',
2328
+ hangupTime: 'string',
2329
+ speakingTurns: 'number',
2330
+ agentSpeakingTime: 'string',
2331
+ agentSpeakingDuration: 'number',
2332
+ intentTag: 'string',
2333
+ intentDescription: 'string',
2334
+ individualTag: 'string',
2335
+ keywords: 'string',
2336
+ hungupType: 'number',
2337
+ sms: 'string',
2338
+ chatRecord: 'string',
2339
+ chats: 'string',
2340
+ addWx: 'number',
2341
+ addWxStatus: 'string',
2342
+ answerRecall: 'number',
2343
+ properties: 'string',
2344
+ bizProperties: 'string',
2345
+ interceptReason: 'string',
2346
+ };
2347
+ }
2348
+
2349
+ constructor(map?: { [key: string]: any }) {
2350
+ super(map);
2351
+ }
2352
+ }
2353
+
2100
2354
  // 回执统计结果
2101
2355
  export class StatisticResult extends $tea.Model {
2102
2356
  // 有效任务总数量
@@ -3811,6 +4065,31 @@ export class SmsReponse extends $tea.Model {
3811
4065
  }
3812
4066
  }
3813
4067
 
4068
+ // 风控事件咨询查询入参
4069
+ export class EventInfo extends $tea.Model {
4070
+ // 事件编码
4071
+ eventCode: string;
4072
+ // 事件产生时间
4073
+ gmtOccur: string;
4074
+ static names(): { [key: string]: string } {
4075
+ return {
4076
+ eventCode: 'event_code',
4077
+ gmtOccur: 'gmt_occur',
4078
+ };
4079
+ }
4080
+
4081
+ static types(): { [key: string]: any } {
4082
+ return {
4083
+ eventCode: 'string',
4084
+ gmtOccur: 'string',
4085
+ };
4086
+ }
4087
+
4088
+ constructor(map?: { [key: string]: any }) {
4089
+ super(map);
4090
+ }
4091
+ }
4092
+
3814
4093
  // 天枢专用RepayTrail结构体
3815
4094
  export class RepayTrail extends $tea.Model {
3816
4095
  // 期数
@@ -4449,17 +4728,20 @@ export class ExecSecurityRiskdataserviceResponse extends $tea.Model {
4449
4728
  }
4450
4729
  }
4451
4730
 
4452
- export class QueryDubheTestRequest extends $tea.Model {
4731
+ export class QuerySaasSecurityPolicyRequest extends $tea.Model {
4453
4732
  // OAuth模式下的授权token
4454
4733
  authToken?: string;
4455
4734
  productInstanceId?: string;
4456
- // 测试id字段
4457
- testid: string;
4735
+ // 风控事件咨询查询入参
4736
+ eventInfo: EventInfo;
4737
+ // 请求处理方式
4738
+ riskType?: string;
4458
4739
  static names(): { [key: string]: string } {
4459
4740
  return {
4460
4741
  authToken: 'auth_token',
4461
4742
  productInstanceId: 'product_instance_id',
4462
- testid: 'testid',
4743
+ eventInfo: 'event_info',
4744
+ riskType: 'risk_type',
4463
4745
  };
4464
4746
  }
4465
4747
 
@@ -4467,7 +4749,8 @@ export class QueryDubheTestRequest extends $tea.Model {
4467
4749
  return {
4468
4750
  authToken: 'string',
4469
4751
  productInstanceId: 'string',
4470
- testid: 'string',
4752
+ eventInfo: EventInfo,
4753
+ riskType: 'string',
4471
4754
  };
4472
4755
  }
4473
4756
 
@@ -4476,21 +4759,33 @@ export class QueryDubheTestRequest extends $tea.Model {
4476
4759
  }
4477
4760
  }
4478
4761
 
4479
- export class QueryDubheTestResponse extends $tea.Model {
4762
+ export class QuerySaasSecurityPolicyResponse extends $tea.Model {
4480
4763
  // 请求唯一ID,用于链路跟踪和问题排查
4481
4764
  reqMsgId?: string;
4482
4765
  // 结果码,一般OK表示调用成功
4483
4766
  resultCode?: string;
4484
4767
  // 异常信息的文本描述
4485
4768
  resultMsg?: string;
4486
- // 测试返回体
4487
- testResponseStr?: string;
4769
+ // 场景分
4770
+ modelDetails?: ModelDetails[];
4771
+ // 安全请求id
4772
+ securityId?: string;
4773
+ // 策略结果
4774
+ securityResult?: string;
4775
+ // 策略结果详情
4776
+ strategyDetails?: StrategyDetails[];
4777
+ // 决策流信息
4778
+ dfSceneInfos?: DfSceneInfos[];
4488
4779
  static names(): { [key: string]: string } {
4489
4780
  return {
4490
4781
  reqMsgId: 'req_msg_id',
4491
4782
  resultCode: 'result_code',
4492
4783
  resultMsg: 'result_msg',
4493
- testResponseStr: 'test_response_str',
4784
+ modelDetails: 'model_details',
4785
+ securityId: 'security_id',
4786
+ securityResult: 'security_result',
4787
+ strategyDetails: 'strategy_details',
4788
+ dfSceneInfos: 'df_scene_infos',
4494
4789
  };
4495
4790
  }
4496
4791
 
@@ -4499,7 +4794,11 @@ export class QueryDubheTestResponse extends $tea.Model {
4499
4794
  reqMsgId: 'string',
4500
4795
  resultCode: 'string',
4501
4796
  resultMsg: 'string',
4502
- testResponseStr: 'string',
4797
+ modelDetails: { 'type': 'array', 'itemType': ModelDetails },
4798
+ securityId: 'string',
4799
+ securityResult: 'string',
4800
+ strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
4801
+ dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
4503
4802
  };
4504
4803
  }
4505
4804
 
@@ -4508,15 +4807,74 @@ export class QueryDubheTestResponse extends $tea.Model {
4508
4807
  }
4509
4808
  }
4510
4809
 
4511
- export class QueryDubheRouterFundrouterRequest extends $tea.Model {
4810
+ export class QueryDubheTestRequest extends $tea.Model {
4512
4811
  // OAuth模式下的授权token
4513
4812
  authToken?: string;
4514
4813
  productInstanceId?: string;
4515
- // 身份证号(md5加密32位)
4516
- cardNo: string;
4517
- // 手机号(MD5加密,32位)
4518
- mobile: string;
4519
- // 客户姓名
4814
+ // 测试id字段
4815
+ testid: string;
4816
+ static names(): { [key: string]: string } {
4817
+ return {
4818
+ authToken: 'auth_token',
4819
+ productInstanceId: 'product_instance_id',
4820
+ testid: 'testid',
4821
+ };
4822
+ }
4823
+
4824
+ static types(): { [key: string]: any } {
4825
+ return {
4826
+ authToken: 'string',
4827
+ productInstanceId: 'string',
4828
+ testid: 'string',
4829
+ };
4830
+ }
4831
+
4832
+ constructor(map?: { [key: string]: any }) {
4833
+ super(map);
4834
+ }
4835
+ }
4836
+
4837
+ export class QueryDubheTestResponse extends $tea.Model {
4838
+ // 请求唯一ID,用于链路跟踪和问题排查
4839
+ reqMsgId?: string;
4840
+ // 结果码,一般OK表示调用成功
4841
+ resultCode?: string;
4842
+ // 异常信息的文本描述
4843
+ resultMsg?: string;
4844
+ // 测试返回体
4845
+ testResponseStr?: string;
4846
+ static names(): { [key: string]: string } {
4847
+ return {
4848
+ reqMsgId: 'req_msg_id',
4849
+ resultCode: 'result_code',
4850
+ resultMsg: 'result_msg',
4851
+ testResponseStr: 'test_response_str',
4852
+ };
4853
+ }
4854
+
4855
+ static types(): { [key: string]: any } {
4856
+ return {
4857
+ reqMsgId: 'string',
4858
+ resultCode: 'string',
4859
+ resultMsg: 'string',
4860
+ testResponseStr: 'string',
4861
+ };
4862
+ }
4863
+
4864
+ constructor(map?: { [key: string]: any }) {
4865
+ super(map);
4866
+ }
4867
+ }
4868
+
4869
+ export class QueryDubheRouterFundrouterRequest extends $tea.Model {
4870
+ // OAuth模式下的授权token
4871
+ authToken?: string;
4872
+ productInstanceId?: string;
4873
+ // 身份证号(md5加密32位)
4874
+ cardNo: string;
4875
+ // 手机号(MD5加密,32位)
4876
+ mobile: string;
4877
+ // 客户姓名
4520
4878
  customName: string;
4521
4879
  // 合作方产品编号
4522
4880
  prodNo: string;
@@ -14895,14 +15253,14 @@ export class QueryUmktTenantActionplaninfoRequest extends $tea.Model {
14895
15253
  // 页容量
14896
15254
  pageSize?: number;
14897
15255
  // 渠道code
14898
- channelType: string;
15256
+ contentType: string;
14899
15257
  static names(): { [key: string]: string } {
14900
15258
  return {
14901
15259
  authToken: 'auth_token',
14902
15260
  productInstanceId: 'product_instance_id',
14903
15261
  pageNum: 'page_num',
14904
15262
  pageSize: 'page_size',
14905
- channelType: 'channel_type',
15263
+ contentType: 'content_type',
14906
15264
  };
14907
15265
  }
14908
15266
 
@@ -14912,7 +15270,7 @@ export class QueryUmktTenantActionplaninfoRequest extends $tea.Model {
14912
15270
  productInstanceId: 'string',
14913
15271
  pageNum: 'number',
14914
15272
  pageSize: 'number',
14915
- channelType: 'string',
15273
+ contentType: 'string',
14916
15274
  };
14917
15275
  }
14918
15276
 
@@ -15230,6 +15588,8 @@ export class CallbackUmktRobotcallRequest extends $tea.Model {
15230
15588
  callId: string;
15231
15589
  // 外呼任务编号
15232
15590
  taskId: number;
15591
+ // 渠道侧任务名称
15592
+ taskName: string;
15233
15593
  // 外呼的话术模板ID,可以为空
15234
15594
  templateId?: number;
15235
15595
  // 外呼状态编码
@@ -15308,6 +15668,7 @@ export class CallbackUmktRobotcallRequest extends $tea.Model {
15308
15668
  tag: 'tag',
15309
15669
  callId: 'call_id',
15310
15670
  taskId: 'task_id',
15671
+ taskName: 'task_name',
15311
15672
  templateId: 'template_id',
15312
15673
  statusCode: 'status_code',
15313
15674
  statusDescription: 'status_description',
@@ -15356,6 +15717,7 @@ export class CallbackUmktRobotcallRequest extends $tea.Model {
15356
15717
  tag: 'string',
15357
15718
  callId: 'string',
15358
15719
  taskId: 'number',
15720
+ taskName: 'string',
15359
15721
  templateId: 'number',
15360
15722
  statusCode: 'number',
15361
15723
  statusDescription: 'string',
@@ -15534,6 +15896,10 @@ export class CallbackUmktSmsReportRequest extends $tea.Model {
15534
15896
  bizProperties: string;
15535
15897
  // 发送卡片短信时,文本短信状态报告中才会有该字段,且取值为CARD_SMS,发送纯文本短信时,状态报告中没有该字段
15536
15898
  smsType?: string;
15899
+ // 运营商
15900
+ serviceProvider: string;
15901
+ // 手机号码所属城市
15902
+ city?: string;
15537
15903
  static names(): { [key: string]: string } {
15538
15904
  return {
15539
15905
  authToken: 'auth_token',
@@ -15549,6 +15915,8 @@ export class CallbackUmktSmsReportRequest extends $tea.Model {
15549
15915
  bizId: 'biz_id',
15550
15916
  bizProperties: 'biz_properties',
15551
15917
  smsType: 'sms_type',
15918
+ serviceProvider: 'service_provider',
15919
+ city: 'city',
15552
15920
  };
15553
15921
  }
15554
15922
 
@@ -15567,6 +15935,8 @@ export class CallbackUmktSmsReportRequest extends $tea.Model {
15567
15935
  bizId: 'string',
15568
15936
  bizProperties: 'string',
15569
15937
  smsType: 'string',
15938
+ serviceProvider: 'string',
15939
+ city: 'string',
15570
15940
  };
15571
15941
  }
15572
15942
 
@@ -15603,42 +15973,33 @@ export class CallbackUmktSmsReportResponse extends $tea.Model {
15603
15973
  }
15604
15974
  }
15605
15975
 
15606
- export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15976
+ export class BatchqueryUmktTenantActionplaninfoRequest extends $tea.Model {
15607
15977
  // OAuth模式下的授权token
15608
15978
  authToken?: string;
15609
- // 上传文件作用的openapi method
15610
- apiCode: string;
15611
- // 文件标签,多个标签;分割
15612
- fileLabel?: string;
15613
- // 自定义的文件元数据
15614
- fileMetadata?: string;
15615
- // 文件名,不传则随机生成文件名
15616
- fileName?: string;
15617
- // 文件的多媒体类型
15618
- mimeType?: string;
15619
- // 产品方的api归属集群,即productInstanceId
15620
- apiCluster?: string;
15979
+ productInstanceId?: string;
15980
+ // 渠道类型
15981
+ contentType: string;
15982
+ // 页码
15983
+ pageNum: number;
15984
+ // 页数
15985
+ pageSize: number;
15621
15986
  static names(): { [key: string]: string } {
15622
15987
  return {
15623
15988
  authToken: 'auth_token',
15624
- apiCode: 'api_code',
15625
- fileLabel: 'file_label',
15626
- fileMetadata: 'file_metadata',
15627
- fileName: 'file_name',
15628
- mimeType: 'mime_type',
15629
- apiCluster: 'api_cluster',
15989
+ productInstanceId: 'product_instance_id',
15990
+ contentType: 'content_type',
15991
+ pageNum: 'page_num',
15992
+ pageSize: 'page_size',
15630
15993
  };
15631
15994
  }
15632
15995
 
15633
15996
  static types(): { [key: string]: any } {
15634
15997
  return {
15635
15998
  authToken: 'string',
15636
- apiCode: 'string',
15637
- fileLabel: 'string',
15638
- fileMetadata: 'string',
15639
- fileName: 'string',
15640
- mimeType: 'string',
15641
- apiCluster: 'string',
15999
+ productInstanceId: 'string',
16000
+ contentType: 'string',
16001
+ pageNum: 'number',
16002
+ pageSize: 'number',
15642
16003
  };
15643
16004
  }
15644
16005
 
@@ -15647,30 +16008,24 @@ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15647
16008
  }
15648
16009
  }
15649
16010
 
15650
- export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
16011
+ export class BatchqueryUmktTenantActionplaninfoResponse extends $tea.Model {
15651
16012
  // 请求唯一ID,用于链路跟踪和问题排查
15652
16013
  reqMsgId?: string;
15653
16014
  // 结果码,一般OK表示调用成功
15654
16015
  resultCode?: string;
15655
16016
  // 异常信息的文本描述
15656
16017
  resultMsg?: string;
15657
- // 上传有效期
15658
- expiredTime?: string;
15659
- // 32位文件唯一id
15660
- fileId?: string;
15661
- // 放入http请求头里
15662
- uploadHeaders?: XNameValuePair[];
15663
- // 文件上传地址
15664
- uploadUrl?: string;
16018
+ // 触达策略信息
16019
+ queryResult?: ActionPlanDetailInfo[];
16020
+ // 总数
16021
+ totalCount?: number;
15665
16022
  static names(): { [key: string]: string } {
15666
16023
  return {
15667
16024
  reqMsgId: 'req_msg_id',
15668
16025
  resultCode: 'result_code',
15669
16026
  resultMsg: 'result_msg',
15670
- expiredTime: 'expired_time',
15671
- fileId: 'file_id',
15672
- uploadHeaders: 'upload_headers',
15673
- uploadUrl: 'upload_url',
16027
+ queryResult: 'query_result',
16028
+ totalCount: 'total_count',
15674
16029
  };
15675
16030
  }
15676
16031
 
@@ -15679,10 +16034,8 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
15679
16034
  reqMsgId: 'string',
15680
16035
  resultCode: 'string',
15681
16036
  resultMsg: 'string',
15682
- expiredTime: 'string',
15683
- fileId: 'string',
15684
- uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
15685
- uploadUrl: 'string',
16037
+ queryResult: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
16038
+ totalCount: 'number',
15686
16039
  };
15687
16040
  }
15688
16041
 
@@ -15691,83 +16044,593 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
15691
16044
  }
15692
16045
  }
15693
16046
 
16047
+ export class BatchqueryUmktRobotcallDetailRequest extends $tea.Model {
16048
+ // OAuth模式下的授权token
16049
+ authToken?: string;
16050
+ productInstanceId?: string;
16051
+ // 上传外呼任务返回的callId
16052
+ bizId: string;
16053
+ // 手机号
16054
+ phoneNumbers: string[];
16055
+ // 手机号类型
16056
+ templateType: string;
16057
+ // 场景策略id
16058
+ sceneStrategyId: number;
16059
+ // 意向标签
16060
+ intentTags?: string[];
16061
+ // 开始外呼时间
16062
+ callDate?: string;
16063
+ // 结束外呼时间
16064
+ endCallDate?: string;
16065
+ // 页码
16066
+ pageNum?: number;
16067
+ // 页数
16068
+ pageSize?: number;
16069
+ static names(): { [key: string]: string } {
16070
+ return {
16071
+ authToken: 'auth_token',
16072
+ productInstanceId: 'product_instance_id',
16073
+ bizId: 'biz_id',
16074
+ phoneNumbers: 'phone_numbers',
16075
+ templateType: 'template_type',
16076
+ sceneStrategyId: 'scene_strategy_id',
16077
+ intentTags: 'intent_tags',
16078
+ callDate: 'call_date',
16079
+ endCallDate: 'end_call_date',
16080
+ pageNum: 'page_num',
16081
+ pageSize: 'page_size',
16082
+ };
16083
+ }
15694
16084
 
15695
- export default class Client {
15696
- _endpoint: string;
15697
- _regionId: string;
15698
- _accessKeyId: string;
15699
- _accessKeySecret: string;
15700
- _protocol: string;
15701
- _userAgent: string;
15702
- _readTimeout: number;
15703
- _connectTimeout: number;
15704
- _httpProxy: string;
15705
- _httpsProxy: string;
15706
- _socks5Proxy: string;
15707
- _socks5NetWork: string;
15708
- _noProxy: string;
15709
- _maxIdleConns: number;
15710
- _securityToken: string;
15711
- _maxIdleTimeMillis: number;
15712
- _keepAliveDurationMillis: number;
15713
- _maxRequests: number;
15714
- _maxRequestsPerHost: number;
16085
+ static types(): { [key: string]: any } {
16086
+ return {
16087
+ authToken: 'string',
16088
+ productInstanceId: 'string',
16089
+ bizId: 'string',
16090
+ phoneNumbers: { 'type': 'array', 'itemType': 'string' },
16091
+ templateType: 'string',
16092
+ sceneStrategyId: 'number',
16093
+ intentTags: { 'type': 'array', 'itemType': 'string' },
16094
+ callDate: 'string',
16095
+ endCallDate: 'string',
16096
+ pageNum: 'number',
16097
+ pageSize: 'number',
16098
+ };
16099
+ }
15715
16100
 
15716
- /**
15717
- * Init client with Config
15718
- * @param config config contains the necessary information to create a client
15719
- */
15720
- constructor(config: Config) {
15721
- if (Util.isUnset($tea.toMap(config))) {
15722
- throw $tea.newError({
15723
- code: "ParameterMissing",
15724
- message: "'config' can not be unset",
15725
- });
15726
- }
16101
+ constructor(map?: { [key: string]: any }) {
16102
+ super(map);
16103
+ }
16104
+ }
15727
16105
 
15728
- this._accessKeyId = config.accessKeyId;
15729
- this._accessKeySecret = config.accessKeySecret;
15730
- this._securityToken = config.securityToken;
15731
- this._endpoint = config.endpoint;
15732
- this._protocol = config.protocol;
15733
- this._userAgent = config.userAgent;
15734
- this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
15735
- this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
15736
- this._httpProxy = config.httpProxy;
15737
- this._httpsProxy = config.httpsProxy;
15738
- this._noProxy = config.noProxy;
15739
- this._socks5Proxy = config.socks5Proxy;
15740
- this._socks5NetWork = config.socks5NetWork;
15741
- this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
15742
- this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
15743
- this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
15744
- this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
15745
- this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
16106
+ export class BatchqueryUmktRobotcallDetailResponse extends $tea.Model {
16107
+ // 请求唯一ID,用于链路跟踪和问题排查
16108
+ reqMsgId?: string;
16109
+ // 结果码,一般OK表示调用成功
16110
+ resultCode?: string;
16111
+ // 异常信息的文本描述
16112
+ resultMsg?: string;
16113
+ // 客户请求时的透传字段
16114
+ outInfo?: string;
16115
+ // 外呼记录列表
16116
+ callInfo?: CommonRobotCallDetail[];
16117
+ static names(): { [key: string]: string } {
16118
+ return {
16119
+ reqMsgId: 'req_msg_id',
16120
+ resultCode: 'result_code',
16121
+ resultMsg: 'result_msg',
16122
+ outInfo: 'out_info',
16123
+ callInfo: 'call_info',
16124
+ };
15746
16125
  }
15747
16126
 
15748
- /**
15749
- * Encapsulate the request and invoke the network
15750
- * @param action api name
15751
- * @param protocol http or https
15752
- * @param method e.g. GET
15753
- * @param pathname pathname of every api
15754
- * @param request which contains request params
15755
- * @param runtime which controls some details of call api, such as retry times
15756
- * @return the response
15757
- */
15758
- async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
15759
- let _runtime: { [key: string]: any } = {
15760
- timeouted: "retry",
15761
- readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
15762
- connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
15763
- httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
15764
- httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
15765
- noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
15766
- maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
15767
- maxIdleTimeMillis: this._maxIdleTimeMillis,
15768
- keepAliveDuration: this._keepAliveDurationMillis,
15769
- maxRequests: this._maxRequests,
15770
- maxRequestsPerHost: this._maxRequestsPerHost,
16127
+ static types(): { [key: string]: any } {
16128
+ return {
16129
+ reqMsgId: 'string',
16130
+ resultCode: 'string',
16131
+ resultMsg: 'string',
16132
+ outInfo: 'string',
16133
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
16134
+ };
16135
+ }
16136
+
16137
+ constructor(map?: { [key: string]: any }) {
16138
+ super(map);
16139
+ }
16140
+ }
16141
+
16142
+ export class BatchqueryUmktActionplanDetailRequest extends $tea.Model {
16143
+ // OAuth模式下的授权token
16144
+ authToken?: string;
16145
+ productInstanceId?: string;
16146
+ // 场景策略id
16147
+ sceneStrategyId: number[];
16148
+ static names(): { [key: string]: string } {
16149
+ return {
16150
+ authToken: 'auth_token',
16151
+ productInstanceId: 'product_instance_id',
16152
+ sceneStrategyId: 'scene_strategy_id',
16153
+ };
16154
+ }
16155
+
16156
+ static types(): { [key: string]: any } {
16157
+ return {
16158
+ authToken: 'string',
16159
+ productInstanceId: 'string',
16160
+ sceneStrategyId: { 'type': 'array', 'itemType': 'number' },
16161
+ };
16162
+ }
16163
+
16164
+ constructor(map?: { [key: string]: any }) {
16165
+ super(map);
16166
+ }
16167
+ }
16168
+
16169
+ export class BatchqueryUmktActionplanDetailResponse extends $tea.Model {
16170
+ // 请求唯一ID,用于链路跟踪和问题排查
16171
+ reqMsgId?: string;
16172
+ // 结果码,一般OK表示调用成功
16173
+ resultCode?: string;
16174
+ // 异常信息的文本描述
16175
+ resultMsg?: string;
16176
+ // 触达策略详细信息
16177
+ actionPlanDetailInfo?: ActionPlanDetailInfo[];
16178
+ static names(): { [key: string]: string } {
16179
+ return {
16180
+ reqMsgId: 'req_msg_id',
16181
+ resultCode: 'result_code',
16182
+ resultMsg: 'result_msg',
16183
+ actionPlanDetailInfo: 'action_plan_detail_info',
16184
+ };
16185
+ }
16186
+
16187
+ static types(): { [key: string]: any } {
16188
+ return {
16189
+ reqMsgId: 'string',
16190
+ resultCode: 'string',
16191
+ resultMsg: 'string',
16192
+ actionPlanDetailInfo: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
16193
+ };
16194
+ }
16195
+
16196
+ constructor(map?: { [key: string]: any }) {
16197
+ super(map);
16198
+ }
16199
+ }
16200
+
16201
+ export class PushRiskplusUmktCommonbackflowRequest extends $tea.Model {
16202
+ // OAuth模式下的授权token
16203
+ authToken?: string;
16204
+ productInstanceId?: string;
16205
+ // 租户id
16206
+ tenantId: number;
16207
+ // 回流模版ID
16208
+ backFlowTemplateId: number;
16209
+ // 回流信息描述
16210
+ backFlowDesc: string;
16211
+ // 回流属性
16212
+ properties: string;
16213
+ static names(): { [key: string]: string } {
16214
+ return {
16215
+ authToken: 'auth_token',
16216
+ productInstanceId: 'product_instance_id',
16217
+ tenantId: 'tenant_id',
16218
+ backFlowTemplateId: 'back_flow_template_id',
16219
+ backFlowDesc: 'back_flow_desc',
16220
+ properties: 'properties',
16221
+ };
16222
+ }
16223
+
16224
+ static types(): { [key: string]: any } {
16225
+ return {
16226
+ authToken: 'string',
16227
+ productInstanceId: 'string',
16228
+ tenantId: 'number',
16229
+ backFlowTemplateId: 'number',
16230
+ backFlowDesc: 'string',
16231
+ properties: 'string',
16232
+ };
16233
+ }
16234
+
16235
+ constructor(map?: { [key: string]: any }) {
16236
+ super(map);
16237
+ }
16238
+ }
16239
+
16240
+ export class PushRiskplusUmktCommonbackflowResponse extends $tea.Model {
16241
+ // 请求唯一ID,用于链路跟踪和问题排查
16242
+ reqMsgId?: string;
16243
+ // 结果码,一般OK表示调用成功
16244
+ resultCode?: string;
16245
+ // 异常信息的文本描述
16246
+ resultMsg?: string;
16247
+ static names(): { [key: string]: string } {
16248
+ return {
16249
+ reqMsgId: 'req_msg_id',
16250
+ resultCode: 'result_code',
16251
+ resultMsg: 'result_msg',
16252
+ };
16253
+ }
16254
+
16255
+ static types(): { [key: string]: any } {
16256
+ return {
16257
+ reqMsgId: 'string',
16258
+ resultCode: 'string',
16259
+ resultMsg: 'string',
16260
+ };
16261
+ }
16262
+
16263
+ constructor(map?: { [key: string]: any }) {
16264
+ super(map);
16265
+ }
16266
+ }
16267
+
16268
+ export class PushUmktCommonDataRequest extends $tea.Model {
16269
+ // OAuth模式下的授权token
16270
+ authToken?: string;
16271
+ productInstanceId?: string;
16272
+ // 数据推送事件ID
16273
+ eventId: number;
16274
+ // 数据推送属性数据
16275
+ properties: string;
16276
+ static names(): { [key: string]: string } {
16277
+ return {
16278
+ authToken: 'auth_token',
16279
+ productInstanceId: 'product_instance_id',
16280
+ eventId: 'event_id',
16281
+ properties: 'properties',
16282
+ };
16283
+ }
16284
+
16285
+ static types(): { [key: string]: any } {
16286
+ return {
16287
+ authToken: 'string',
16288
+ productInstanceId: 'string',
16289
+ eventId: 'number',
16290
+ properties: 'string',
16291
+ };
16292
+ }
16293
+
16294
+ constructor(map?: { [key: string]: any }) {
16295
+ super(map);
16296
+ }
16297
+ }
16298
+
16299
+ export class PushUmktCommonDataResponse extends $tea.Model {
16300
+ // 请求唯一ID,用于链路跟踪和问题排查
16301
+ reqMsgId?: string;
16302
+ // 结果码,一般OK表示调用成功
16303
+ resultCode?: string;
16304
+ // 异常信息的文本描述
16305
+ resultMsg?: string;
16306
+ static names(): { [key: string]: string } {
16307
+ return {
16308
+ reqMsgId: 'req_msg_id',
16309
+ resultCode: 'result_code',
16310
+ resultMsg: 'result_msg',
16311
+ };
16312
+ }
16313
+
16314
+ static types(): { [key: string]: any } {
16315
+ return {
16316
+ reqMsgId: 'string',
16317
+ resultCode: 'string',
16318
+ resultMsg: 'string',
16319
+ };
16320
+ }
16321
+
16322
+ constructor(map?: { [key: string]: any }) {
16323
+ super(map);
16324
+ }
16325
+ }
16326
+
16327
+ export class PushUmktCustomerGroupRequest extends $tea.Model {
16328
+ // OAuth模式下的授权token
16329
+ authToken?: string;
16330
+ productInstanceId?: string;
16331
+ // 事件ID
16332
+ eventId: string;
16333
+ // 数据属性
16334
+ properties: string;
16335
+ static names(): { [key: string]: string } {
16336
+ return {
16337
+ authToken: 'auth_token',
16338
+ productInstanceId: 'product_instance_id',
16339
+ eventId: 'event_id',
16340
+ properties: 'properties',
16341
+ };
16342
+ }
16343
+
16344
+ static types(): { [key: string]: any } {
16345
+ return {
16346
+ authToken: 'string',
16347
+ productInstanceId: 'string',
16348
+ eventId: 'string',
16349
+ properties: 'string',
16350
+ };
16351
+ }
16352
+
16353
+ constructor(map?: { [key: string]: any }) {
16354
+ super(map);
16355
+ }
16356
+ }
16357
+
16358
+ export class PushUmktCustomerGroupResponse extends $tea.Model {
16359
+ // 请求唯一ID,用于链路跟踪和问题排查
16360
+ reqMsgId?: string;
16361
+ // 结果码,一般OK表示调用成功
16362
+ resultCode?: string;
16363
+ // 异常信息的文本描述
16364
+ resultMsg?: string;
16365
+ static names(): { [key: string]: string } {
16366
+ return {
16367
+ reqMsgId: 'req_msg_id',
16368
+ resultCode: 'result_code',
16369
+ resultMsg: 'result_msg',
16370
+ };
16371
+ }
16372
+
16373
+ static types(): { [key: string]: any } {
16374
+ return {
16375
+ reqMsgId: 'string',
16376
+ resultCode: 'string',
16377
+ resultMsg: 'string',
16378
+ };
16379
+ }
16380
+
16381
+ constructor(map?: { [key: string]: any }) {
16382
+ super(map);
16383
+ }
16384
+ }
16385
+
16386
+ export class BatchqueryUmktTaskDetailRequest extends $tea.Model {
16387
+ // OAuth模式下的授权token
16388
+ authToken?: string;
16389
+ productInstanceId?: string;
16390
+ // 上传外呼任务返回的callId
16391
+ bizId: string;
16392
+ // 手机号列表
16393
+ customerKeys: string[];
16394
+ // 手机号类型
16395
+ keyTemplate: string;
16396
+ // 场景策略id
16397
+ sceneStrategyId: number;
16398
+ // 开始外呼时间,只可查询最近30天的日期
16399
+ callDate?: string;
16400
+ // 结束外呼时间
16401
+ endCallDate?: string;
16402
+ static names(): { [key: string]: string } {
16403
+ return {
16404
+ authToken: 'auth_token',
16405
+ productInstanceId: 'product_instance_id',
16406
+ bizId: 'biz_id',
16407
+ customerKeys: 'customer_keys',
16408
+ keyTemplate: 'key_template',
16409
+ sceneStrategyId: 'scene_strategy_id',
16410
+ callDate: 'call_date',
16411
+ endCallDate: 'end_call_date',
16412
+ };
16413
+ }
16414
+
16415
+ static types(): { [key: string]: any } {
16416
+ return {
16417
+ authToken: 'string',
16418
+ productInstanceId: 'string',
16419
+ bizId: 'string',
16420
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
16421
+ keyTemplate: 'string',
16422
+ sceneStrategyId: 'number',
16423
+ callDate: 'string',
16424
+ endCallDate: 'string',
16425
+ };
16426
+ }
16427
+
16428
+ constructor(map?: { [key: string]: any }) {
16429
+ super(map);
16430
+ }
16431
+ }
16432
+
16433
+ export class BatchqueryUmktTaskDetailResponse extends $tea.Model {
16434
+ // 请求唯一ID,用于链路跟踪和问题排查
16435
+ reqMsgId?: string;
16436
+ // 结果码,一般OK表示调用成功
16437
+ resultCode?: string;
16438
+ // 异常信息的文本描述
16439
+ resultMsg?: string;
16440
+ // 客户请求时的透传字段
16441
+ outInfo?: string;
16442
+ // 外呼记录列表
16443
+ callInfo?: CommonRobotCallDetail[];
16444
+ static names(): { [key: string]: string } {
16445
+ return {
16446
+ reqMsgId: 'req_msg_id',
16447
+ resultCode: 'result_code',
16448
+ resultMsg: 'result_msg',
16449
+ outInfo: 'out_info',
16450
+ callInfo: 'call_info',
16451
+ };
16452
+ }
16453
+
16454
+ static types(): { [key: string]: any } {
16455
+ return {
16456
+ reqMsgId: 'string',
16457
+ resultCode: 'string',
16458
+ resultMsg: 'string',
16459
+ outInfo: 'string',
16460
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
16461
+ };
16462
+ }
16463
+
16464
+ constructor(map?: { [key: string]: any }) {
16465
+ super(map);
16466
+ }
16467
+ }
16468
+
16469
+ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
16470
+ // OAuth模式下的授权token
16471
+ authToken?: string;
16472
+ // 上传文件作用的openapi method
16473
+ apiCode: string;
16474
+ // 文件标签,多个标签;分割
16475
+ fileLabel?: string;
16476
+ // 自定义的文件元数据
16477
+ fileMetadata?: string;
16478
+ // 文件名,不传则随机生成文件名
16479
+ fileName?: string;
16480
+ // 文件的多媒体类型
16481
+ mimeType?: string;
16482
+ // 产品方的api归属集群,即productInstanceId
16483
+ apiCluster?: string;
16484
+ static names(): { [key: string]: string } {
16485
+ return {
16486
+ authToken: 'auth_token',
16487
+ apiCode: 'api_code',
16488
+ fileLabel: 'file_label',
16489
+ fileMetadata: 'file_metadata',
16490
+ fileName: 'file_name',
16491
+ mimeType: 'mime_type',
16492
+ apiCluster: 'api_cluster',
16493
+ };
16494
+ }
16495
+
16496
+ static types(): { [key: string]: any } {
16497
+ return {
16498
+ authToken: 'string',
16499
+ apiCode: 'string',
16500
+ fileLabel: 'string',
16501
+ fileMetadata: 'string',
16502
+ fileName: 'string',
16503
+ mimeType: 'string',
16504
+ apiCluster: 'string',
16505
+ };
16506
+ }
16507
+
16508
+ constructor(map?: { [key: string]: any }) {
16509
+ super(map);
16510
+ }
16511
+ }
16512
+
16513
+ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
16514
+ // 请求唯一ID,用于链路跟踪和问题排查
16515
+ reqMsgId?: string;
16516
+ // 结果码,一般OK表示调用成功
16517
+ resultCode?: string;
16518
+ // 异常信息的文本描述
16519
+ resultMsg?: string;
16520
+ // 上传有效期
16521
+ expiredTime?: string;
16522
+ // 32位文件唯一id
16523
+ fileId?: string;
16524
+ // 放入http请求头里
16525
+ uploadHeaders?: XNameValuePair[];
16526
+ // 文件上传地址
16527
+ uploadUrl?: string;
16528
+ static names(): { [key: string]: string } {
16529
+ return {
16530
+ reqMsgId: 'req_msg_id',
16531
+ resultCode: 'result_code',
16532
+ resultMsg: 'result_msg',
16533
+ expiredTime: 'expired_time',
16534
+ fileId: 'file_id',
16535
+ uploadHeaders: 'upload_headers',
16536
+ uploadUrl: 'upload_url',
16537
+ };
16538
+ }
16539
+
16540
+ static types(): { [key: string]: any } {
16541
+ return {
16542
+ reqMsgId: 'string',
16543
+ resultCode: 'string',
16544
+ resultMsg: 'string',
16545
+ expiredTime: 'string',
16546
+ fileId: 'string',
16547
+ uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
16548
+ uploadUrl: 'string',
16549
+ };
16550
+ }
16551
+
16552
+ constructor(map?: { [key: string]: any }) {
16553
+ super(map);
16554
+ }
16555
+ }
16556
+
16557
+
16558
+ export default class Client {
16559
+ _endpoint: string;
16560
+ _regionId: string;
16561
+ _accessKeyId: string;
16562
+ _accessKeySecret: string;
16563
+ _protocol: string;
16564
+ _userAgent: string;
16565
+ _readTimeout: number;
16566
+ _connectTimeout: number;
16567
+ _httpProxy: string;
16568
+ _httpsProxy: string;
16569
+ _socks5Proxy: string;
16570
+ _socks5NetWork: string;
16571
+ _noProxy: string;
16572
+ _maxIdleConns: number;
16573
+ _securityToken: string;
16574
+ _maxIdleTimeMillis: number;
16575
+ _keepAliveDurationMillis: number;
16576
+ _maxRequests: number;
16577
+ _maxRequestsPerHost: number;
16578
+
16579
+ /**
16580
+ * Init client with Config
16581
+ * @param config config contains the necessary information to create a client
16582
+ */
16583
+ constructor(config: Config) {
16584
+ if (Util.isUnset($tea.toMap(config))) {
16585
+ throw $tea.newError({
16586
+ code: "ParameterMissing",
16587
+ message: "'config' can not be unset",
16588
+ });
16589
+ }
16590
+
16591
+ this._accessKeyId = config.accessKeyId;
16592
+ this._accessKeySecret = config.accessKeySecret;
16593
+ this._securityToken = config.securityToken;
16594
+ this._endpoint = config.endpoint;
16595
+ this._protocol = config.protocol;
16596
+ this._userAgent = config.userAgent;
16597
+ this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
16598
+ this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
16599
+ this._httpProxy = config.httpProxy;
16600
+ this._httpsProxy = config.httpsProxy;
16601
+ this._noProxy = config.noProxy;
16602
+ this._socks5Proxy = config.socks5Proxy;
16603
+ this._socks5NetWork = config.socks5NetWork;
16604
+ this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
16605
+ this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
16606
+ this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
16607
+ this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
16608
+ this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
16609
+ }
16610
+
16611
+ /**
16612
+ * Encapsulate the request and invoke the network
16613
+ * @param action api name
16614
+ * @param protocol http or https
16615
+ * @param method e.g. GET
16616
+ * @param pathname pathname of every api
16617
+ * @param request which contains request params
16618
+ * @param runtime which controls some details of call api, such as retry times
16619
+ * @return the response
16620
+ */
16621
+ async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
16622
+ let _runtime: { [key: string]: any } = {
16623
+ timeouted: "retry",
16624
+ readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
16625
+ connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
16626
+ httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
16627
+ httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
16628
+ noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
16629
+ maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
16630
+ maxIdleTimeMillis: this._maxIdleTimeMillis,
16631
+ keepAliveDuration: this._keepAliveDurationMillis,
16632
+ maxRequests: this._maxRequests,
16633
+ maxRequestsPerHost: this._maxRequestsPerHost,
15771
16634
  retry: {
15772
16635
  retryable: runtime.autoretry,
15773
16636
  maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
@@ -15804,7 +16667,7 @@ export default class Client {
15804
16667
  req_msg_id: AntchainUtil.getNonce(),
15805
16668
  access_key: this._accessKeyId,
15806
16669
  base_sdk_version: "TeaSDK-2.0",
15807
- sdk_version: "1.16.43",
16670
+ sdk_version: "1.16.59",
15808
16671
  _prod_code: "RISKPLUS",
15809
16672
  _prod_channel: "undefined",
15810
16673
  };
@@ -15985,6 +16848,25 @@ export default class Client {
15985
16848
  return $tea.cast<ExecSecurityRiskdataserviceResponse>(await this.doRequest("1.0", "riskplus.security.riskdataservice.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecSecurityRiskdataserviceResponse({}));
15986
16849
  }
15987
16850
 
16851
+ /**
16852
+ * Description: 风控云SaaS租户调用接口
16853
+ * Summary: 风控云SaaS租户调用接口
16854
+ */
16855
+ async querySaasSecurityPolicy(request: QuerySaasSecurityPolicyRequest): Promise<QuerySaasSecurityPolicyResponse> {
16856
+ let runtime = new $Util.RuntimeOptions({ });
16857
+ let headers : {[key: string ]: string} = { };
16858
+ return await this.querySaasSecurityPolicyEx(request, headers, runtime);
16859
+ }
16860
+
16861
+ /**
16862
+ * Description: 风控云SaaS租户调用接口
16863
+ * Summary: 风控云SaaS租户调用接口
16864
+ */
16865
+ async querySaasSecurityPolicyEx(request: QuerySaasSecurityPolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QuerySaasSecurityPolicyResponse> {
16866
+ Util.validateModel(request);
16867
+ return $tea.cast<QuerySaasSecurityPolicyResponse>(await this.doRequest("1.0", "riskplus.saas.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySaasSecurityPolicyResponse({}));
16868
+ }
16869
+
15988
16870
  /**
15989
16871
  * Description: 天枢信贷业务系统线下测试环境测试接口
15990
16872
  * Summary: 天枢信贷业务系统线下测试接口
@@ -18714,6 +19596,141 @@ export default class Client {
18714
19596
  return $tea.cast<CallbackUmktSmsReportResponse>(await this.doRequest("1.0", "riskplus.umkt.sms.report.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsReportResponse({}));
18715
19597
  }
18716
19598
 
19599
+ /**
19600
+ * Description: 分页查询租户外呼策略
19601
+ * Summary: 营销盾租户场景批量信息查询
19602
+ */
19603
+ async batchqueryUmktTenantActionplaninfo(request: BatchqueryUmktTenantActionplaninfoRequest): Promise<BatchqueryUmktTenantActionplaninfoResponse> {
19604
+ let runtime = new $Util.RuntimeOptions({ });
19605
+ let headers : {[key: string ]: string} = { };
19606
+ return await this.batchqueryUmktTenantActionplaninfoEx(request, headers, runtime);
19607
+ }
19608
+
19609
+ /**
19610
+ * Description: 分页查询租户外呼策略
19611
+ * Summary: 营销盾租户场景批量信息查询
19612
+ */
19613
+ async batchqueryUmktTenantActionplaninfoEx(request: BatchqueryUmktTenantActionplaninfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktTenantActionplaninfoResponse> {
19614
+ Util.validateModel(request);
19615
+ return $tea.cast<BatchqueryUmktTenantActionplaninfoResponse>(await this.doRequest("1.0", "riskplus.umkt.tenant.actionplaninfo.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktTenantActionplaninfoResponse({}));
19616
+ }
19617
+
19618
+ /**
19619
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
19620
+ (已下线)
19621
+ * Summary: 营销盾外呼详情查询接口
19622
+ */
19623
+ async batchqueryUmktRobotcallDetail(request: BatchqueryUmktRobotcallDetailRequest): Promise<BatchqueryUmktRobotcallDetailResponse> {
19624
+ let runtime = new $Util.RuntimeOptions({ });
19625
+ let headers : {[key: string ]: string} = { };
19626
+ return await this.batchqueryUmktRobotcallDetailEx(request, headers, runtime);
19627
+ }
19628
+
19629
+ /**
19630
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
19631
+ (已下线)
19632
+ * Summary: 营销盾外呼详情查询接口
19633
+ */
19634
+ async batchqueryUmktRobotcallDetailEx(request: BatchqueryUmktRobotcallDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktRobotcallDetailResponse> {
19635
+ Util.validateModel(request);
19636
+ return $tea.cast<BatchqueryUmktRobotcallDetailResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRobotcallDetailResponse({}));
19637
+ }
19638
+
19639
+ /**
19640
+ * Description: 营销盾查询外呼策略详情
19641
+ * Summary: 营销盾查询外呼策略详情
19642
+ */
19643
+ async batchqueryUmktActionplanDetail(request: BatchqueryUmktActionplanDetailRequest): Promise<BatchqueryUmktActionplanDetailResponse> {
19644
+ let runtime = new $Util.RuntimeOptions({ });
19645
+ let headers : {[key: string ]: string} = { };
19646
+ return await this.batchqueryUmktActionplanDetailEx(request, headers, runtime);
19647
+ }
19648
+
19649
+ /**
19650
+ * Description: 营销盾查询外呼策略详情
19651
+ * Summary: 营销盾查询外呼策略详情
19652
+ */
19653
+ async batchqueryUmktActionplanDetailEx(request: BatchqueryUmktActionplanDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktActionplanDetailResponse> {
19654
+ Util.validateModel(request);
19655
+ return $tea.cast<BatchqueryUmktActionplanDetailResponse>(await this.doRequest("1.0", "riskplus.umkt.actionplan.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktActionplanDetailResponse({}));
19656
+ }
19657
+
19658
+ /**
19659
+ * Description: 营销盾通用回流推送服务
19660
+ * Summary: 营销盾通用回流推送服务
19661
+ */
19662
+ async pushRiskplusUmktCommonbackflow(request: PushRiskplusUmktCommonbackflowRequest): Promise<PushRiskplusUmktCommonbackflowResponse> {
19663
+ let runtime = new $Util.RuntimeOptions({ });
19664
+ let headers : {[key: string ]: string} = { };
19665
+ return await this.pushRiskplusUmktCommonbackflowEx(request, headers, runtime);
19666
+ }
19667
+
19668
+ /**
19669
+ * Description: 营销盾通用回流推送服务
19670
+ * Summary: 营销盾通用回流推送服务
19671
+ */
19672
+ async pushRiskplusUmktCommonbackflowEx(request: PushRiskplusUmktCommonbackflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRiskplusUmktCommonbackflowResponse> {
19673
+ Util.validateModel(request);
19674
+ return $tea.cast<PushRiskplusUmktCommonbackflowResponse>(await this.doRequest("1.0", "riskplus.riskplus.umkt.commonbackflow.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRiskplusUmktCommonbackflowResponse({}));
19675
+ }
19676
+
19677
+ /**
19678
+ * Description: 营销盾通用数据推送服务
19679
+ * Summary: 营销盾通用数据推送服务
19680
+ */
19681
+ async pushUmktCommonData(request: PushUmktCommonDataRequest): Promise<PushUmktCommonDataResponse> {
19682
+ let runtime = new $Util.RuntimeOptions({ });
19683
+ let headers : {[key: string ]: string} = { };
19684
+ return await this.pushUmktCommonDataEx(request, headers, runtime);
19685
+ }
19686
+
19687
+ /**
19688
+ * Description: 营销盾通用数据推送服务
19689
+ * Summary: 营销盾通用数据推送服务
19690
+ */
19691
+ async pushUmktCommonDataEx(request: PushUmktCommonDataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushUmktCommonDataResponse> {
19692
+ Util.validateModel(request);
19693
+ return $tea.cast<PushUmktCommonDataResponse>(await this.doRequest("1.0", "riskplus.umkt.common.data.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktCommonDataResponse({}));
19694
+ }
19695
+
19696
+ /**
19697
+ * Description: 营销盾客群推送服务
19698
+ * Summary: 营销盾客群推送服务
19699
+ */
19700
+ async pushUmktCustomerGroup(request: PushUmktCustomerGroupRequest): Promise<PushUmktCustomerGroupResponse> {
19701
+ let runtime = new $Util.RuntimeOptions({ });
19702
+ let headers : {[key: string ]: string} = { };
19703
+ return await this.pushUmktCustomerGroupEx(request, headers, runtime);
19704
+ }
19705
+
19706
+ /**
19707
+ * Description: 营销盾客群推送服务
19708
+ * Summary: 营销盾客群推送服务
19709
+ */
19710
+ async pushUmktCustomerGroupEx(request: PushUmktCustomerGroupRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushUmktCustomerGroupResponse> {
19711
+ Util.validateModel(request);
19712
+ return $tea.cast<PushUmktCustomerGroupResponse>(await this.doRequest("1.0", "riskplus.umkt.customer.group.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktCustomerGroupResponse({}));
19713
+ }
19714
+
19715
+ /**
19716
+ * Description: 触达执行任务详情查询
19717
+ * Summary: 触达执行任务详情查询
19718
+ */
19719
+ async batchqueryUmktTaskDetail(request: BatchqueryUmktTaskDetailRequest): Promise<BatchqueryUmktTaskDetailResponse> {
19720
+ let runtime = new $Util.RuntimeOptions({ });
19721
+ let headers : {[key: string ]: string} = { };
19722
+ return await this.batchqueryUmktTaskDetailEx(request, headers, runtime);
19723
+ }
19724
+
19725
+ /**
19726
+ * Description: 触达执行任务详情查询
19727
+ * Summary: 触达执行任务详情查询
19728
+ */
19729
+ async batchqueryUmktTaskDetailEx(request: BatchqueryUmktTaskDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktTaskDetailResponse> {
19730
+ Util.validateModel(request);
19731
+ return $tea.cast<BatchqueryUmktTaskDetailResponse>(await this.doRequest("1.0", "riskplus.umkt.task.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktTaskDetailResponse({}));
19732
+ }
19733
+
18717
19734
  /**
18718
19735
  * Description: 创建HTTP PUT提交的文件上传
18719
19736
  * Summary: 文件上传创建