@antchain/riskplus 1.16.43 → 1.16.57

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
 
@@ -15603,42 +15961,33 @@ export class CallbackUmktSmsReportResponse extends $tea.Model {
15603
15961
  }
15604
15962
  }
15605
15963
 
15606
- export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15964
+ export class BatchqueryUmktTenantActionplaninfoRequest extends $tea.Model {
15607
15965
  // OAuth模式下的授权token
15608
15966
  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;
15967
+ productInstanceId?: string;
15968
+ // 渠道类型
15969
+ contentType: string;
15970
+ // 页码
15971
+ pageNum: number;
15972
+ // 页数
15973
+ pageSize: number;
15621
15974
  static names(): { [key: string]: string } {
15622
15975
  return {
15623
15976
  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',
15977
+ productInstanceId: 'product_instance_id',
15978
+ contentType: 'content_type',
15979
+ pageNum: 'page_num',
15980
+ pageSize: 'page_size',
15630
15981
  };
15631
15982
  }
15632
15983
 
15633
15984
  static types(): { [key: string]: any } {
15634
15985
  return {
15635
15986
  authToken: 'string',
15636
- apiCode: 'string',
15637
- fileLabel: 'string',
15638
- fileMetadata: 'string',
15639
- fileName: 'string',
15640
- mimeType: 'string',
15641
- apiCluster: 'string',
15987
+ productInstanceId: 'string',
15988
+ contentType: 'string',
15989
+ pageNum: 'number',
15990
+ pageSize: 'number',
15642
15991
  };
15643
15992
  }
15644
15993
 
@@ -15647,30 +15996,24 @@ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15647
15996
  }
15648
15997
  }
15649
15998
 
15650
- export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
15999
+ export class BatchqueryUmktTenantActionplaninfoResponse extends $tea.Model {
15651
16000
  // 请求唯一ID,用于链路跟踪和问题排查
15652
16001
  reqMsgId?: string;
15653
16002
  // 结果码,一般OK表示调用成功
15654
16003
  resultCode?: string;
15655
16004
  // 异常信息的文本描述
15656
16005
  resultMsg?: string;
15657
- // 上传有效期
15658
- expiredTime?: string;
15659
- // 32位文件唯一id
15660
- fileId?: string;
15661
- // 放入http请求头里
15662
- uploadHeaders?: XNameValuePair[];
15663
- // 文件上传地址
15664
- uploadUrl?: string;
16006
+ // 触达策略信息
16007
+ queryResult?: ActionPlanDetailInfo[];
16008
+ // 总数
16009
+ totalCount?: number;
15665
16010
  static names(): { [key: string]: string } {
15666
16011
  return {
15667
16012
  reqMsgId: 'req_msg_id',
15668
16013
  resultCode: 'result_code',
15669
16014
  resultMsg: 'result_msg',
15670
- expiredTime: 'expired_time',
15671
- fileId: 'file_id',
15672
- uploadHeaders: 'upload_headers',
15673
- uploadUrl: 'upload_url',
16015
+ queryResult: 'query_result',
16016
+ totalCount: 'total_count',
15674
16017
  };
15675
16018
  }
15676
16019
 
@@ -15679,10 +16022,8 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
15679
16022
  reqMsgId: 'string',
15680
16023
  resultCode: 'string',
15681
16024
  resultMsg: 'string',
15682
- expiredTime: 'string',
15683
- fileId: 'string',
15684
- uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
15685
- uploadUrl: 'string',
16025
+ queryResult: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
16026
+ totalCount: 'number',
15686
16027
  };
15687
16028
  }
15688
16029
 
@@ -15691,86 +16032,596 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
15691
16032
  }
15692
16033
  }
15693
16034
 
16035
+ export class BatchqueryUmktRobotcallDetailRequest extends $tea.Model {
16036
+ // OAuth模式下的授权token
16037
+ authToken?: string;
16038
+ productInstanceId?: string;
16039
+ // 上传外呼任务返回的callId
16040
+ bizId: string;
16041
+ // 手机号
16042
+ phoneNumbers: string[];
16043
+ // 手机号类型
16044
+ templateType: string;
16045
+ // 场景策略id
16046
+ sceneStrategyId: number;
16047
+ // 意向标签
16048
+ intentTags?: string[];
16049
+ // 开始外呼时间
16050
+ callDate?: string;
16051
+ // 结束外呼时间
16052
+ endCallDate?: string;
16053
+ // 页码
16054
+ pageNum?: number;
16055
+ // 页数
16056
+ pageSize?: number;
16057
+ static names(): { [key: string]: string } {
16058
+ return {
16059
+ authToken: 'auth_token',
16060
+ productInstanceId: 'product_instance_id',
16061
+ bizId: 'biz_id',
16062
+ phoneNumbers: 'phone_numbers',
16063
+ templateType: 'template_type',
16064
+ sceneStrategyId: 'scene_strategy_id',
16065
+ intentTags: 'intent_tags',
16066
+ callDate: 'call_date',
16067
+ endCallDate: 'end_call_date',
16068
+ pageNum: 'page_num',
16069
+ pageSize: 'page_size',
16070
+ };
16071
+ }
15694
16072
 
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;
16073
+ static types(): { [key: string]: any } {
16074
+ return {
16075
+ authToken: 'string',
16076
+ productInstanceId: 'string',
16077
+ bizId: 'string',
16078
+ phoneNumbers: { 'type': 'array', 'itemType': 'string' },
16079
+ templateType: 'string',
16080
+ sceneStrategyId: 'number',
16081
+ intentTags: { 'type': 'array', 'itemType': 'string' },
16082
+ callDate: 'string',
16083
+ endCallDate: 'string',
16084
+ pageNum: 'number',
16085
+ pageSize: 'number',
16086
+ };
16087
+ }
15715
16088
 
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
- }
16089
+ constructor(map?: { [key: string]: any }) {
16090
+ super(map);
16091
+ }
16092
+ }
15727
16093
 
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);
16094
+ export class BatchqueryUmktRobotcallDetailResponse extends $tea.Model {
16095
+ // 请求唯一ID,用于链路跟踪和问题排查
16096
+ reqMsgId?: string;
16097
+ // 结果码,一般OK表示调用成功
16098
+ resultCode?: string;
16099
+ // 异常信息的文本描述
16100
+ resultMsg?: string;
16101
+ // 客户请求时的透传字段
16102
+ outInfo?: string;
16103
+ // 外呼记录列表
16104
+ callInfo?: CommonRobotCallDetail[];
16105
+ static names(): { [key: string]: string } {
16106
+ return {
16107
+ reqMsgId: 'req_msg_id',
16108
+ resultCode: 'result_code',
16109
+ resultMsg: 'result_msg',
16110
+ outInfo: 'out_info',
16111
+ callInfo: 'call_info',
16112
+ };
15746
16113
  }
15747
16114
 
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,
15771
- retry: {
15772
- retryable: runtime.autoretry,
15773
- maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
16115
+ static types(): { [key: string]: any } {
16116
+ return {
16117
+ reqMsgId: 'string',
16118
+ resultCode: 'string',
16119
+ resultMsg: 'string',
16120
+ outInfo: 'string',
16121
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
16122
+ };
16123
+ }
16124
+
16125
+ constructor(map?: { [key: string]: any }) {
16126
+ super(map);
16127
+ }
16128
+ }
16129
+
16130
+ export class BatchqueryUmktActionplanDetailRequest extends $tea.Model {
16131
+ // OAuth模式下的授权token
16132
+ authToken?: string;
16133
+ productInstanceId?: string;
16134
+ // 场景策略id
16135
+ sceneStrategyId: number[];
16136
+ static names(): { [key: string]: string } {
16137
+ return {
16138
+ authToken: 'auth_token',
16139
+ productInstanceId: 'product_instance_id',
16140
+ sceneStrategyId: 'scene_strategy_id',
16141
+ };
16142
+ }
16143
+
16144
+ static types(): { [key: string]: any } {
16145
+ return {
16146
+ authToken: 'string',
16147
+ productInstanceId: 'string',
16148
+ sceneStrategyId: { 'type': 'array', 'itemType': 'number' },
16149
+ };
16150
+ }
16151
+
16152
+ constructor(map?: { [key: string]: any }) {
16153
+ super(map);
16154
+ }
16155
+ }
16156
+
16157
+ export class BatchqueryUmktActionplanDetailResponse extends $tea.Model {
16158
+ // 请求唯一ID,用于链路跟踪和问题排查
16159
+ reqMsgId?: string;
16160
+ // 结果码,一般OK表示调用成功
16161
+ resultCode?: string;
16162
+ // 异常信息的文本描述
16163
+ resultMsg?: string;
16164
+ // 触达策略详细信息
16165
+ actionPlanDetailInfo?: ActionPlanDetailInfo[];
16166
+ static names(): { [key: string]: string } {
16167
+ return {
16168
+ reqMsgId: 'req_msg_id',
16169
+ resultCode: 'result_code',
16170
+ resultMsg: 'result_msg',
16171
+ actionPlanDetailInfo: 'action_plan_detail_info',
16172
+ };
16173
+ }
16174
+
16175
+ static types(): { [key: string]: any } {
16176
+ return {
16177
+ reqMsgId: 'string',
16178
+ resultCode: 'string',
16179
+ resultMsg: 'string',
16180
+ actionPlanDetailInfo: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
16181
+ };
16182
+ }
16183
+
16184
+ constructor(map?: { [key: string]: any }) {
16185
+ super(map);
16186
+ }
16187
+ }
16188
+
16189
+ export class PushRiskplusUmktCommonbackflowRequest extends $tea.Model {
16190
+ // OAuth模式下的授权token
16191
+ authToken?: string;
16192
+ productInstanceId?: string;
16193
+ // 租户id
16194
+ tenantId: number;
16195
+ // 回流模版ID
16196
+ backFlowTemplateId: number;
16197
+ // 回流信息描述
16198
+ backFlowDesc: string;
16199
+ // 回流属性
16200
+ properties: string;
16201
+ static names(): { [key: string]: string } {
16202
+ return {
16203
+ authToken: 'auth_token',
16204
+ productInstanceId: 'product_instance_id',
16205
+ tenantId: 'tenant_id',
16206
+ backFlowTemplateId: 'back_flow_template_id',
16207
+ backFlowDesc: 'back_flow_desc',
16208
+ properties: 'properties',
16209
+ };
16210
+ }
16211
+
16212
+ static types(): { [key: string]: any } {
16213
+ return {
16214
+ authToken: 'string',
16215
+ productInstanceId: 'string',
16216
+ tenantId: 'number',
16217
+ backFlowTemplateId: 'number',
16218
+ backFlowDesc: 'string',
16219
+ properties: 'string',
16220
+ };
16221
+ }
16222
+
16223
+ constructor(map?: { [key: string]: any }) {
16224
+ super(map);
16225
+ }
16226
+ }
16227
+
16228
+ export class PushRiskplusUmktCommonbackflowResponse extends $tea.Model {
16229
+ // 请求唯一ID,用于链路跟踪和问题排查
16230
+ reqMsgId?: string;
16231
+ // 结果码,一般OK表示调用成功
16232
+ resultCode?: string;
16233
+ // 异常信息的文本描述
16234
+ resultMsg?: string;
16235
+ static names(): { [key: string]: string } {
16236
+ return {
16237
+ reqMsgId: 'req_msg_id',
16238
+ resultCode: 'result_code',
16239
+ resultMsg: 'result_msg',
16240
+ };
16241
+ }
16242
+
16243
+ static types(): { [key: string]: any } {
16244
+ return {
16245
+ reqMsgId: 'string',
16246
+ resultCode: 'string',
16247
+ resultMsg: 'string',
16248
+ };
16249
+ }
16250
+
16251
+ constructor(map?: { [key: string]: any }) {
16252
+ super(map);
16253
+ }
16254
+ }
16255
+
16256
+ export class PushUmktCommonDataRequest extends $tea.Model {
16257
+ // OAuth模式下的授权token
16258
+ authToken?: string;
16259
+ productInstanceId?: string;
16260
+ // 数据推送事件ID
16261
+ eventId: number;
16262
+ // 数据推送属性数据
16263
+ properties: string;
16264
+ static names(): { [key: string]: string } {
16265
+ return {
16266
+ authToken: 'auth_token',
16267
+ productInstanceId: 'product_instance_id',
16268
+ eventId: 'event_id',
16269
+ properties: 'properties',
16270
+ };
16271
+ }
16272
+
16273
+ static types(): { [key: string]: any } {
16274
+ return {
16275
+ authToken: 'string',
16276
+ productInstanceId: 'string',
16277
+ eventId: 'number',
16278
+ properties: 'string',
16279
+ };
16280
+ }
16281
+
16282
+ constructor(map?: { [key: string]: any }) {
16283
+ super(map);
16284
+ }
16285
+ }
16286
+
16287
+ export class PushUmktCommonDataResponse extends $tea.Model {
16288
+ // 请求唯一ID,用于链路跟踪和问题排查
16289
+ reqMsgId?: string;
16290
+ // 结果码,一般OK表示调用成功
16291
+ resultCode?: string;
16292
+ // 异常信息的文本描述
16293
+ resultMsg?: string;
16294
+ static names(): { [key: string]: string } {
16295
+ return {
16296
+ reqMsgId: 'req_msg_id',
16297
+ resultCode: 'result_code',
16298
+ resultMsg: 'result_msg',
16299
+ };
16300
+ }
16301
+
16302
+ static types(): { [key: string]: any } {
16303
+ return {
16304
+ reqMsgId: 'string',
16305
+ resultCode: 'string',
16306
+ resultMsg: 'string',
16307
+ };
16308
+ }
16309
+
16310
+ constructor(map?: { [key: string]: any }) {
16311
+ super(map);
16312
+ }
16313
+ }
16314
+
16315
+ export class PushUmktCustomerGroupRequest extends $tea.Model {
16316
+ // OAuth模式下的授权token
16317
+ authToken?: string;
16318
+ productInstanceId?: string;
16319
+ // 事件ID
16320
+ eventId: string;
16321
+ // 数据属性
16322
+ properties: string;
16323
+ static names(): { [key: string]: string } {
16324
+ return {
16325
+ authToken: 'auth_token',
16326
+ productInstanceId: 'product_instance_id',
16327
+ eventId: 'event_id',
16328
+ properties: 'properties',
16329
+ };
16330
+ }
16331
+
16332
+ static types(): { [key: string]: any } {
16333
+ return {
16334
+ authToken: 'string',
16335
+ productInstanceId: 'string',
16336
+ eventId: 'string',
16337
+ properties: 'string',
16338
+ };
16339
+ }
16340
+
16341
+ constructor(map?: { [key: string]: any }) {
16342
+ super(map);
16343
+ }
16344
+ }
16345
+
16346
+ export class PushUmktCustomerGroupResponse extends $tea.Model {
16347
+ // 请求唯一ID,用于链路跟踪和问题排查
16348
+ reqMsgId?: string;
16349
+ // 结果码,一般OK表示调用成功
16350
+ resultCode?: string;
16351
+ // 异常信息的文本描述
16352
+ resultMsg?: string;
16353
+ static names(): { [key: string]: string } {
16354
+ return {
16355
+ reqMsgId: 'req_msg_id',
16356
+ resultCode: 'result_code',
16357
+ resultMsg: 'result_msg',
16358
+ };
16359
+ }
16360
+
16361
+ static types(): { [key: string]: any } {
16362
+ return {
16363
+ reqMsgId: 'string',
16364
+ resultCode: 'string',
16365
+ resultMsg: 'string',
16366
+ };
16367
+ }
16368
+
16369
+ constructor(map?: { [key: string]: any }) {
16370
+ super(map);
16371
+ }
16372
+ }
16373
+
16374
+ export class BatchqueryUmktTaskDetailRequest extends $tea.Model {
16375
+ // OAuth模式下的授权token
16376
+ authToken?: string;
16377
+ productInstanceId?: string;
16378
+ // 上传外呼任务返回的callId
16379
+ bizId: string;
16380
+ // 手机号列表
16381
+ customerKeys: string[];
16382
+ // 手机号类型
16383
+ keyTemplate: string;
16384
+ // 场景策略id
16385
+ sceneStrategyId: number;
16386
+ // 开始外呼时间,只可查询最近30天的日期
16387
+ callDate?: string;
16388
+ // 结束外呼时间
16389
+ endCallDate?: string;
16390
+ static names(): { [key: string]: string } {
16391
+ return {
16392
+ authToken: 'auth_token',
16393
+ productInstanceId: 'product_instance_id',
16394
+ bizId: 'biz_id',
16395
+ customerKeys: 'customer_keys',
16396
+ keyTemplate: 'key_template',
16397
+ sceneStrategyId: 'scene_strategy_id',
16398
+ callDate: 'call_date',
16399
+ endCallDate: 'end_call_date',
16400
+ };
16401
+ }
16402
+
16403
+ static types(): { [key: string]: any } {
16404
+ return {
16405
+ authToken: 'string',
16406
+ productInstanceId: 'string',
16407
+ bizId: 'string',
16408
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
16409
+ keyTemplate: 'string',
16410
+ sceneStrategyId: 'number',
16411
+ callDate: 'string',
16412
+ endCallDate: 'string',
16413
+ };
16414
+ }
16415
+
16416
+ constructor(map?: { [key: string]: any }) {
16417
+ super(map);
16418
+ }
16419
+ }
16420
+
16421
+ export class BatchqueryUmktTaskDetailResponse extends $tea.Model {
16422
+ // 请求唯一ID,用于链路跟踪和问题排查
16423
+ reqMsgId?: string;
16424
+ // 结果码,一般OK表示调用成功
16425
+ resultCode?: string;
16426
+ // 异常信息的文本描述
16427
+ resultMsg?: string;
16428
+ // 客户请求时的透传字段
16429
+ outInfo?: string;
16430
+ // 外呼记录列表
16431
+ callInfo?: CommonRobotCallDetail[];
16432
+ static names(): { [key: string]: string } {
16433
+ return {
16434
+ reqMsgId: 'req_msg_id',
16435
+ resultCode: 'result_code',
16436
+ resultMsg: 'result_msg',
16437
+ outInfo: 'out_info',
16438
+ callInfo: 'call_info',
16439
+ };
16440
+ }
16441
+
16442
+ static types(): { [key: string]: any } {
16443
+ return {
16444
+ reqMsgId: 'string',
16445
+ resultCode: 'string',
16446
+ resultMsg: 'string',
16447
+ outInfo: 'string',
16448
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
16449
+ };
16450
+ }
16451
+
16452
+ constructor(map?: { [key: string]: any }) {
16453
+ super(map);
16454
+ }
16455
+ }
16456
+
16457
+ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
16458
+ // OAuth模式下的授权token
16459
+ authToken?: string;
16460
+ // 上传文件作用的openapi method
16461
+ apiCode: string;
16462
+ // 文件标签,多个标签;分割
16463
+ fileLabel?: string;
16464
+ // 自定义的文件元数据
16465
+ fileMetadata?: string;
16466
+ // 文件名,不传则随机生成文件名
16467
+ fileName?: string;
16468
+ // 文件的多媒体类型
16469
+ mimeType?: string;
16470
+ // 产品方的api归属集群,即productInstanceId
16471
+ apiCluster?: string;
16472
+ static names(): { [key: string]: string } {
16473
+ return {
16474
+ authToken: 'auth_token',
16475
+ apiCode: 'api_code',
16476
+ fileLabel: 'file_label',
16477
+ fileMetadata: 'file_metadata',
16478
+ fileName: 'file_name',
16479
+ mimeType: 'mime_type',
16480
+ apiCluster: 'api_cluster',
16481
+ };
16482
+ }
16483
+
16484
+ static types(): { [key: string]: any } {
16485
+ return {
16486
+ authToken: 'string',
16487
+ apiCode: 'string',
16488
+ fileLabel: 'string',
16489
+ fileMetadata: 'string',
16490
+ fileName: 'string',
16491
+ mimeType: 'string',
16492
+ apiCluster: 'string',
16493
+ };
16494
+ }
16495
+
16496
+ constructor(map?: { [key: string]: any }) {
16497
+ super(map);
16498
+ }
16499
+ }
16500
+
16501
+ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
16502
+ // 请求唯一ID,用于链路跟踪和问题排查
16503
+ reqMsgId?: string;
16504
+ // 结果码,一般OK表示调用成功
16505
+ resultCode?: string;
16506
+ // 异常信息的文本描述
16507
+ resultMsg?: string;
16508
+ // 上传有效期
16509
+ expiredTime?: string;
16510
+ // 32位文件唯一id
16511
+ fileId?: string;
16512
+ // 放入http请求头里
16513
+ uploadHeaders?: XNameValuePair[];
16514
+ // 文件上传地址
16515
+ uploadUrl?: string;
16516
+ static names(): { [key: string]: string } {
16517
+ return {
16518
+ reqMsgId: 'req_msg_id',
16519
+ resultCode: 'result_code',
16520
+ resultMsg: 'result_msg',
16521
+ expiredTime: 'expired_time',
16522
+ fileId: 'file_id',
16523
+ uploadHeaders: 'upload_headers',
16524
+ uploadUrl: 'upload_url',
16525
+ };
16526
+ }
16527
+
16528
+ static types(): { [key: string]: any } {
16529
+ return {
16530
+ reqMsgId: 'string',
16531
+ resultCode: 'string',
16532
+ resultMsg: 'string',
16533
+ expiredTime: 'string',
16534
+ fileId: 'string',
16535
+ uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
16536
+ uploadUrl: 'string',
16537
+ };
16538
+ }
16539
+
16540
+ constructor(map?: { [key: string]: any }) {
16541
+ super(map);
16542
+ }
16543
+ }
16544
+
16545
+
16546
+ export default class Client {
16547
+ _endpoint: string;
16548
+ _regionId: string;
16549
+ _accessKeyId: string;
16550
+ _accessKeySecret: string;
16551
+ _protocol: string;
16552
+ _userAgent: string;
16553
+ _readTimeout: number;
16554
+ _connectTimeout: number;
16555
+ _httpProxy: string;
16556
+ _httpsProxy: string;
16557
+ _socks5Proxy: string;
16558
+ _socks5NetWork: string;
16559
+ _noProxy: string;
16560
+ _maxIdleConns: number;
16561
+ _securityToken: string;
16562
+ _maxIdleTimeMillis: number;
16563
+ _keepAliveDurationMillis: number;
16564
+ _maxRequests: number;
16565
+ _maxRequestsPerHost: number;
16566
+
16567
+ /**
16568
+ * Init client with Config
16569
+ * @param config config contains the necessary information to create a client
16570
+ */
16571
+ constructor(config: Config) {
16572
+ if (Util.isUnset($tea.toMap(config))) {
16573
+ throw $tea.newError({
16574
+ code: "ParameterMissing",
16575
+ message: "'config' can not be unset",
16576
+ });
16577
+ }
16578
+
16579
+ this._accessKeyId = config.accessKeyId;
16580
+ this._accessKeySecret = config.accessKeySecret;
16581
+ this._securityToken = config.securityToken;
16582
+ this._endpoint = config.endpoint;
16583
+ this._protocol = config.protocol;
16584
+ this._userAgent = config.userAgent;
16585
+ this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
16586
+ this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
16587
+ this._httpProxy = config.httpProxy;
16588
+ this._httpsProxy = config.httpsProxy;
16589
+ this._noProxy = config.noProxy;
16590
+ this._socks5Proxy = config.socks5Proxy;
16591
+ this._socks5NetWork = config.socks5NetWork;
16592
+ this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
16593
+ this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
16594
+ this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
16595
+ this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
16596
+ this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
16597
+ }
16598
+
16599
+ /**
16600
+ * Encapsulate the request and invoke the network
16601
+ * @param action api name
16602
+ * @param protocol http or https
16603
+ * @param method e.g. GET
16604
+ * @param pathname pathname of every api
16605
+ * @param request which contains request params
16606
+ * @param runtime which controls some details of call api, such as retry times
16607
+ * @return the response
16608
+ */
16609
+ 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}> {
16610
+ let _runtime: { [key: string]: any } = {
16611
+ timeouted: "retry",
16612
+ readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
16613
+ connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
16614
+ httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
16615
+ httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
16616
+ noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
16617
+ maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
16618
+ maxIdleTimeMillis: this._maxIdleTimeMillis,
16619
+ keepAliveDuration: this._keepAliveDurationMillis,
16620
+ maxRequests: this._maxRequests,
16621
+ maxRequestsPerHost: this._maxRequestsPerHost,
16622
+ retry: {
16623
+ retryable: runtime.autoretry,
16624
+ maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
15774
16625
  },
15775
16626
  backoff: {
15776
16627
  policy: Util.defaultString(runtime.backoffPolicy, "no"),
@@ -15804,7 +16655,7 @@ export default class Client {
15804
16655
  req_msg_id: AntchainUtil.getNonce(),
15805
16656
  access_key: this._accessKeyId,
15806
16657
  base_sdk_version: "TeaSDK-2.0",
15807
- sdk_version: "1.16.43",
16658
+ sdk_version: "1.16.57",
15808
16659
  _prod_code: "RISKPLUS",
15809
16660
  _prod_channel: "undefined",
15810
16661
  };
@@ -15985,6 +16836,25 @@ export default class Client {
15985
16836
  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
16837
  }
15987
16838
 
16839
+ /**
16840
+ * Description: 风控云SaaS租户调用接口
16841
+ * Summary: 风控云SaaS租户调用接口
16842
+ */
16843
+ async querySaasSecurityPolicy(request: QuerySaasSecurityPolicyRequest): Promise<QuerySaasSecurityPolicyResponse> {
16844
+ let runtime = new $Util.RuntimeOptions({ });
16845
+ let headers : {[key: string ]: string} = { };
16846
+ return await this.querySaasSecurityPolicyEx(request, headers, runtime);
16847
+ }
16848
+
16849
+ /**
16850
+ * Description: 风控云SaaS租户调用接口
16851
+ * Summary: 风控云SaaS租户调用接口
16852
+ */
16853
+ async querySaasSecurityPolicyEx(request: QuerySaasSecurityPolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QuerySaasSecurityPolicyResponse> {
16854
+ Util.validateModel(request);
16855
+ 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({}));
16856
+ }
16857
+
15988
16858
  /**
15989
16859
  * Description: 天枢信贷业务系统线下测试环境测试接口
15990
16860
  * Summary: 天枢信贷业务系统线下测试接口
@@ -18714,6 +19584,141 @@ export default class Client {
18714
19584
  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
19585
  }
18716
19586
 
19587
+ /**
19588
+ * Description: 分页查询租户外呼策略
19589
+ * Summary: 营销盾租户场景批量信息查询
19590
+ */
19591
+ async batchqueryUmktTenantActionplaninfo(request: BatchqueryUmktTenantActionplaninfoRequest): Promise<BatchqueryUmktTenantActionplaninfoResponse> {
19592
+ let runtime = new $Util.RuntimeOptions({ });
19593
+ let headers : {[key: string ]: string} = { };
19594
+ return await this.batchqueryUmktTenantActionplaninfoEx(request, headers, runtime);
19595
+ }
19596
+
19597
+ /**
19598
+ * Description: 分页查询租户外呼策略
19599
+ * Summary: 营销盾租户场景批量信息查询
19600
+ */
19601
+ async batchqueryUmktTenantActionplaninfoEx(request: BatchqueryUmktTenantActionplaninfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktTenantActionplaninfoResponse> {
19602
+ Util.validateModel(request);
19603
+ 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({}));
19604
+ }
19605
+
19606
+ /**
19607
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
19608
+ (已下线)
19609
+ * Summary: 营销盾外呼详情查询接口
19610
+ */
19611
+ async batchqueryUmktRobotcallDetail(request: BatchqueryUmktRobotcallDetailRequest): Promise<BatchqueryUmktRobotcallDetailResponse> {
19612
+ let runtime = new $Util.RuntimeOptions({ });
19613
+ let headers : {[key: string ]: string} = { };
19614
+ return await this.batchqueryUmktRobotcallDetailEx(request, headers, runtime);
19615
+ }
19616
+
19617
+ /**
19618
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
19619
+ (已下线)
19620
+ * Summary: 营销盾外呼详情查询接口
19621
+ */
19622
+ async batchqueryUmktRobotcallDetailEx(request: BatchqueryUmktRobotcallDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktRobotcallDetailResponse> {
19623
+ Util.validateModel(request);
19624
+ 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({}));
19625
+ }
19626
+
19627
+ /**
19628
+ * Description: 营销盾查询外呼策略详情
19629
+ * Summary: 营销盾查询外呼策略详情
19630
+ */
19631
+ async batchqueryUmktActionplanDetail(request: BatchqueryUmktActionplanDetailRequest): Promise<BatchqueryUmktActionplanDetailResponse> {
19632
+ let runtime = new $Util.RuntimeOptions({ });
19633
+ let headers : {[key: string ]: string} = { };
19634
+ return await this.batchqueryUmktActionplanDetailEx(request, headers, runtime);
19635
+ }
19636
+
19637
+ /**
19638
+ * Description: 营销盾查询外呼策略详情
19639
+ * Summary: 营销盾查询外呼策略详情
19640
+ */
19641
+ async batchqueryUmktActionplanDetailEx(request: BatchqueryUmktActionplanDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktActionplanDetailResponse> {
19642
+ Util.validateModel(request);
19643
+ 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({}));
19644
+ }
19645
+
19646
+ /**
19647
+ * Description: 营销盾通用回流推送服务
19648
+ * Summary: 营销盾通用回流推送服务
19649
+ */
19650
+ async pushRiskplusUmktCommonbackflow(request: PushRiskplusUmktCommonbackflowRequest): Promise<PushRiskplusUmktCommonbackflowResponse> {
19651
+ let runtime = new $Util.RuntimeOptions({ });
19652
+ let headers : {[key: string ]: string} = { };
19653
+ return await this.pushRiskplusUmktCommonbackflowEx(request, headers, runtime);
19654
+ }
19655
+
19656
+ /**
19657
+ * Description: 营销盾通用回流推送服务
19658
+ * Summary: 营销盾通用回流推送服务
19659
+ */
19660
+ async pushRiskplusUmktCommonbackflowEx(request: PushRiskplusUmktCommonbackflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRiskplusUmktCommonbackflowResponse> {
19661
+ Util.validateModel(request);
19662
+ 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({}));
19663
+ }
19664
+
19665
+ /**
19666
+ * Description: 营销盾通用数据推送服务
19667
+ * Summary: 营销盾通用数据推送服务
19668
+ */
19669
+ async pushUmktCommonData(request: PushUmktCommonDataRequest): Promise<PushUmktCommonDataResponse> {
19670
+ let runtime = new $Util.RuntimeOptions({ });
19671
+ let headers : {[key: string ]: string} = { };
19672
+ return await this.pushUmktCommonDataEx(request, headers, runtime);
19673
+ }
19674
+
19675
+ /**
19676
+ * Description: 营销盾通用数据推送服务
19677
+ * Summary: 营销盾通用数据推送服务
19678
+ */
19679
+ async pushUmktCommonDataEx(request: PushUmktCommonDataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushUmktCommonDataResponse> {
19680
+ Util.validateModel(request);
19681
+ 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({}));
19682
+ }
19683
+
19684
+ /**
19685
+ * Description: 营销盾客群推送服务
19686
+ * Summary: 营销盾客群推送服务
19687
+ */
19688
+ async pushUmktCustomerGroup(request: PushUmktCustomerGroupRequest): Promise<PushUmktCustomerGroupResponse> {
19689
+ let runtime = new $Util.RuntimeOptions({ });
19690
+ let headers : {[key: string ]: string} = { };
19691
+ return await this.pushUmktCustomerGroupEx(request, headers, runtime);
19692
+ }
19693
+
19694
+ /**
19695
+ * Description: 营销盾客群推送服务
19696
+ * Summary: 营销盾客群推送服务
19697
+ */
19698
+ async pushUmktCustomerGroupEx(request: PushUmktCustomerGroupRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushUmktCustomerGroupResponse> {
19699
+ Util.validateModel(request);
19700
+ 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({}));
19701
+ }
19702
+
19703
+ /**
19704
+ * Description: 触达执行任务详情查询
19705
+ * Summary: 触达执行任务详情查询
19706
+ */
19707
+ async batchqueryUmktTaskDetail(request: BatchqueryUmktTaskDetailRequest): Promise<BatchqueryUmktTaskDetailResponse> {
19708
+ let runtime = new $Util.RuntimeOptions({ });
19709
+ let headers : {[key: string ]: string} = { };
19710
+ return await this.batchqueryUmktTaskDetailEx(request, headers, runtime);
19711
+ }
19712
+
19713
+ /**
19714
+ * Description: 触达执行任务详情查询
19715
+ * Summary: 触达执行任务详情查询
19716
+ */
19717
+ async batchqueryUmktTaskDetailEx(request: BatchqueryUmktTaskDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktTaskDetailResponse> {
19718
+ Util.validateModel(request);
19719
+ 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({}));
19720
+ }
19721
+
18717
19722
  /**
18718
19723
  * Description: 创建HTTP PUT提交的文件上传
18719
19724
  * Summary: 文件上传创建