@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/dist/client.js CHANGED
@@ -125,6 +125,25 @@ class InfoCodes extends $tea.Model {
125
125
  }
126
126
  }
127
127
  exports.InfoCodes = InfoCodes;
128
+ // 营销盾触达媒介参数信息
129
+ class ActionParamInfo extends $tea.Model {
130
+ constructor(map) {
131
+ super(map);
132
+ }
133
+ static names() {
134
+ return {
135
+ contentType: 'content_type',
136
+ actionParam: 'action_param',
137
+ };
138
+ }
139
+ static types() {
140
+ return {
141
+ contentType: 'string',
142
+ actionParam: { 'type': 'array', 'itemType': 'string' },
143
+ };
144
+ }
145
+ }
146
+ exports.ActionParamInfo = ActionParamInfo;
128
147
  // 天枢系统Contact结构体
129
148
  class Contact extends $tea.Model {
130
149
  constructor(map) {
@@ -956,6 +975,33 @@ class SecurityDataQueryStruct extends $tea.Model {
956
975
  }
957
976
  }
958
977
  exports.SecurityDataQueryStruct = SecurityDataQueryStruct;
978
+ // 触达策略信息
979
+ class ActionPlanDetailInfo extends $tea.Model {
980
+ constructor(map) {
981
+ super(map);
982
+ }
983
+ static names() {
984
+ return {
985
+ sceneStrategyId: 'scene_strategy_id',
986
+ sceneStrategyName: 'scene_strategy_name',
987
+ sceneStrategyStatus: 'scene_strategy_status',
988
+ gmtCreate: 'gmt_create',
989
+ gmtModified: 'gmt_modified',
990
+ actionParamInfo: 'action_param_info',
991
+ };
992
+ }
993
+ static types() {
994
+ return {
995
+ sceneStrategyId: 'number',
996
+ sceneStrategyName: 'string',
997
+ sceneStrategyStatus: 'string',
998
+ gmtCreate: 'string',
999
+ gmtModified: 'string',
1000
+ actionParamInfo: { 'type': 'array', 'itemType': ActionParamInfo },
1001
+ };
1002
+ }
1003
+ }
1004
+ exports.ActionPlanDetailInfo = ActionPlanDetailInfo;
959
1005
  // 标签信息
960
1006
  class RiskLabelInfo extends $tea.Model {
961
1007
  constructor(map) {
@@ -1370,6 +1416,105 @@ class RtopCrowdRiskSummaryResp extends $tea.Model {
1370
1416
  }
1371
1417
  }
1372
1418
  exports.RtopCrowdRiskSummaryResp = RtopCrowdRiskSummaryResp;
1419
+ // 营销盾外呼记录
1420
+ class CommonRobotCallDetail extends $tea.Model {
1421
+ constructor(map) {
1422
+ super(map);
1423
+ }
1424
+ static names() {
1425
+ return {
1426
+ extInfo: 'ext_info',
1427
+ resultCode: 'result_code',
1428
+ customerKey: 'customer_key',
1429
+ currentCallTimes: 'current_call_times',
1430
+ keyTemplate: 'key_template',
1431
+ batchId: 'batch_id',
1432
+ callType: 'call_type',
1433
+ tag: 'tag',
1434
+ callId: 'call_id',
1435
+ taskId: 'task_id',
1436
+ templateId: 'template_id',
1437
+ statusCode: 'status_code',
1438
+ statusDescription: 'status_description',
1439
+ transferStatusCode: 'transfer_status_code',
1440
+ transferStatus: 'transfer_status',
1441
+ agentId: 'agent_id',
1442
+ agentTag: 'agent_tag',
1443
+ agentExtension: 'agent_extension',
1444
+ importTime: 'import_time',
1445
+ callBeginTime: 'call_begin_time',
1446
+ ringTime: 'ring_time',
1447
+ answerTime: 'answer_time',
1448
+ speakingTime: 'speaking_time',
1449
+ speakingDuration: 'speaking_duration',
1450
+ hangupTime: 'hangup_time',
1451
+ speakingTurns: 'speaking_turns',
1452
+ agentSpeakingTime: 'agent_speaking_time',
1453
+ agentSpeakingDuration: 'agent_speaking_duration',
1454
+ intentTag: 'intent_tag',
1455
+ intentDescription: 'intent_description',
1456
+ individualTag: 'individual_tag',
1457
+ keywords: 'keywords',
1458
+ hungupType: 'hungup_type',
1459
+ sms: 'sms',
1460
+ chatRecord: 'chat_record',
1461
+ chats: 'chats',
1462
+ addWx: 'add_wx',
1463
+ addWxStatus: 'add_wx_status',
1464
+ answerRecall: 'answer_recall',
1465
+ properties: 'properties',
1466
+ bizProperties: 'biz_properties',
1467
+ interceptReason: 'intercept_reason',
1468
+ };
1469
+ }
1470
+ static types() {
1471
+ return {
1472
+ extInfo: 'string',
1473
+ resultCode: 'string',
1474
+ customerKey: 'string',
1475
+ currentCallTimes: 'number',
1476
+ keyTemplate: 'string',
1477
+ batchId: 'string',
1478
+ callType: 'number',
1479
+ tag: 'string',
1480
+ callId: 'string',
1481
+ taskId: 'number',
1482
+ templateId: 'number',
1483
+ statusCode: 'number',
1484
+ statusDescription: 'string',
1485
+ transferStatusCode: 'number',
1486
+ transferStatus: 'string',
1487
+ agentId: 'number',
1488
+ agentTag: 'string',
1489
+ agentExtension: 'string',
1490
+ importTime: 'string',
1491
+ callBeginTime: 'string',
1492
+ ringTime: 'number',
1493
+ answerTime: 'string',
1494
+ speakingTime: 'string',
1495
+ speakingDuration: 'number',
1496
+ hangupTime: 'string',
1497
+ speakingTurns: 'number',
1498
+ agentSpeakingTime: 'string',
1499
+ agentSpeakingDuration: 'number',
1500
+ intentTag: 'string',
1501
+ intentDescription: 'string',
1502
+ individualTag: 'string',
1503
+ keywords: 'string',
1504
+ hungupType: 'number',
1505
+ sms: 'string',
1506
+ chatRecord: 'string',
1507
+ chats: 'string',
1508
+ addWx: 'number',
1509
+ addWxStatus: 'string',
1510
+ answerRecall: 'number',
1511
+ properties: 'string',
1512
+ bizProperties: 'string',
1513
+ interceptReason: 'string',
1514
+ };
1515
+ }
1516
+ }
1517
+ exports.CommonRobotCallDetail = CommonRobotCallDetail;
1373
1518
  // 回执统计结果
1374
1519
  class StatisticResult extends $tea.Model {
1375
1520
  constructor(map) {
@@ -2471,6 +2616,25 @@ class SmsReponse extends $tea.Model {
2471
2616
  }
2472
2617
  }
2473
2618
  exports.SmsReponse = SmsReponse;
2619
+ // 风控事件咨询查询入参
2620
+ class EventInfo extends $tea.Model {
2621
+ constructor(map) {
2622
+ super(map);
2623
+ }
2624
+ static names() {
2625
+ return {
2626
+ eventCode: 'event_code',
2627
+ gmtOccur: 'gmt_occur',
2628
+ };
2629
+ }
2630
+ static types() {
2631
+ return {
2632
+ eventCode: 'string',
2633
+ gmtOccur: 'string',
2634
+ };
2635
+ }
2636
+ }
2637
+ exports.EventInfo = EventInfo;
2474
2638
  // 天枢专用RepayTrail结构体
2475
2639
  class RepayTrail extends $tea.Model {
2476
2640
  constructor(map) {
@@ -2905,6 +3069,58 @@ class ExecSecurityRiskdataserviceResponse extends $tea.Model {
2905
3069
  }
2906
3070
  }
2907
3071
  exports.ExecSecurityRiskdataserviceResponse = ExecSecurityRiskdataserviceResponse;
3072
+ class QuerySaasSecurityPolicyRequest extends $tea.Model {
3073
+ constructor(map) {
3074
+ super(map);
3075
+ }
3076
+ static names() {
3077
+ return {
3078
+ authToken: 'auth_token',
3079
+ productInstanceId: 'product_instance_id',
3080
+ eventInfo: 'event_info',
3081
+ riskType: 'risk_type',
3082
+ };
3083
+ }
3084
+ static types() {
3085
+ return {
3086
+ authToken: 'string',
3087
+ productInstanceId: 'string',
3088
+ eventInfo: EventInfo,
3089
+ riskType: 'string',
3090
+ };
3091
+ }
3092
+ }
3093
+ exports.QuerySaasSecurityPolicyRequest = QuerySaasSecurityPolicyRequest;
3094
+ class QuerySaasSecurityPolicyResponse extends $tea.Model {
3095
+ constructor(map) {
3096
+ super(map);
3097
+ }
3098
+ static names() {
3099
+ return {
3100
+ reqMsgId: 'req_msg_id',
3101
+ resultCode: 'result_code',
3102
+ resultMsg: 'result_msg',
3103
+ modelDetails: 'model_details',
3104
+ securityId: 'security_id',
3105
+ securityResult: 'security_result',
3106
+ strategyDetails: 'strategy_details',
3107
+ dfSceneInfos: 'df_scene_infos',
3108
+ };
3109
+ }
3110
+ static types() {
3111
+ return {
3112
+ reqMsgId: 'string',
3113
+ resultCode: 'string',
3114
+ resultMsg: 'string',
3115
+ modelDetails: { 'type': 'array', 'itemType': ModelDetails },
3116
+ securityId: 'string',
3117
+ securityResult: 'string',
3118
+ strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
3119
+ dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
3120
+ };
3121
+ }
3122
+ }
3123
+ exports.QuerySaasSecurityPolicyResponse = QuerySaasSecurityPolicyResponse;
2908
3124
  class QueryDubheTestRequest extends $tea.Model {
2909
3125
  constructor(map) {
2910
3126
  super(map);
@@ -9761,7 +9977,7 @@ class QueryUmktTenantActionplaninfoRequest extends $tea.Model {
9761
9977
  productInstanceId: 'product_instance_id',
9762
9978
  pageNum: 'page_num',
9763
9979
  pageSize: 'page_size',
9764
- channelType: 'channel_type',
9980
+ contentType: 'content_type',
9765
9981
  };
9766
9982
  }
9767
9983
  static types() {
@@ -9770,7 +9986,7 @@ class QueryUmktTenantActionplaninfoRequest extends $tea.Model {
9770
9986
  productInstanceId: 'string',
9771
9987
  pageNum: 'number',
9772
9988
  pageSize: 'number',
9773
- channelType: 'string',
9989
+ contentType: 'string',
9774
9990
  };
9775
9991
  }
9776
9992
  }
@@ -10193,35 +10409,31 @@ class CallbackUmktSmsReportResponse extends $tea.Model {
10193
10409
  }
10194
10410
  }
10195
10411
  exports.CallbackUmktSmsReportResponse = CallbackUmktSmsReportResponse;
10196
- class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
10412
+ class BatchqueryUmktTenantActionplaninfoRequest extends $tea.Model {
10197
10413
  constructor(map) {
10198
10414
  super(map);
10199
10415
  }
10200
10416
  static names() {
10201
10417
  return {
10202
10418
  authToken: 'auth_token',
10203
- apiCode: 'api_code',
10204
- fileLabel: 'file_label',
10205
- fileMetadata: 'file_metadata',
10206
- fileName: 'file_name',
10207
- mimeType: 'mime_type',
10208
- apiCluster: 'api_cluster',
10419
+ productInstanceId: 'product_instance_id',
10420
+ contentType: 'content_type',
10421
+ pageNum: 'page_num',
10422
+ pageSize: 'page_size',
10209
10423
  };
10210
10424
  }
10211
10425
  static types() {
10212
10426
  return {
10213
10427
  authToken: 'string',
10214
- apiCode: 'string',
10215
- fileLabel: 'string',
10216
- fileMetadata: 'string',
10217
- fileName: 'string',
10218
- mimeType: 'string',
10219
- apiCluster: 'string',
10428
+ productInstanceId: 'string',
10429
+ contentType: 'string',
10430
+ pageNum: 'number',
10431
+ pageSize: 'number',
10220
10432
  };
10221
10433
  }
10222
10434
  }
10223
- exports.CreateAntcloudGatewayxFileUploadRequest = CreateAntcloudGatewayxFileUploadRequest;
10224
- class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
10435
+ exports.BatchqueryUmktTenantActionplaninfoRequest = BatchqueryUmktTenantActionplaninfoRequest;
10436
+ class BatchqueryUmktTenantActionplaninfoResponse extends $tea.Model {
10225
10437
  constructor(map) {
10226
10438
  super(map);
10227
10439
  }
@@ -10230,10 +10442,8 @@ class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
10230
10442
  reqMsgId: 'req_msg_id',
10231
10443
  resultCode: 'result_code',
10232
10444
  resultMsg: 'result_msg',
10233
- expiredTime: 'expired_time',
10234
- fileId: 'file_id',
10235
- uploadHeaders: 'upload_headers',
10236
- uploadUrl: 'upload_url',
10445
+ queryResult: 'query_result',
10446
+ totalCount: 'total_count',
10237
10447
  };
10238
10448
  }
10239
10449
  static types() {
@@ -10241,48 +10451,388 @@ class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
10241
10451
  reqMsgId: 'string',
10242
10452
  resultCode: 'string',
10243
10453
  resultMsg: 'string',
10244
- expiredTime: 'string',
10245
- fileId: 'string',
10246
- uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
10247
- uploadUrl: 'string',
10454
+ queryResult: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
10455
+ totalCount: 'number',
10248
10456
  };
10249
10457
  }
10250
10458
  }
10251
- exports.CreateAntcloudGatewayxFileUploadResponse = CreateAntcloudGatewayxFileUploadResponse;
10252
- class Client {
10253
- /**
10254
- * Init client with Config
10255
- * @param config config contains the necessary information to create a client
10256
- */
10257
- constructor(config) {
10258
- if (tea_util_1.default.isUnset($tea.toMap(config))) {
10259
- throw $tea.newError({
10260
- code: "ParameterMissing",
10261
- message: "'config' can not be unset",
10262
- });
10263
- }
10264
- this._accessKeyId = config.accessKeyId;
10265
- this._accessKeySecret = config.accessKeySecret;
10266
- this._securityToken = config.securityToken;
10267
- this._endpoint = config.endpoint;
10268
- this._protocol = config.protocol;
10269
- this._userAgent = config.userAgent;
10270
- this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
10271
- this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
10272
- this._httpProxy = config.httpProxy;
10273
- this._httpsProxy = config.httpsProxy;
10274
- this._noProxy = config.noProxy;
10275
- this._socks5Proxy = config.socks5Proxy;
10276
- this._socks5NetWork = config.socks5NetWork;
10277
- this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
10278
- this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
10279
- this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
10280
- this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
10281
- this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
10459
+ exports.BatchqueryUmktTenantActionplaninfoResponse = BatchqueryUmktTenantActionplaninfoResponse;
10460
+ class BatchqueryUmktRobotcallDetailRequest extends $tea.Model {
10461
+ constructor(map) {
10462
+ super(map);
10282
10463
  }
10283
- /**
10284
- * Encapsulate the request and invoke the network
10285
- * @param action api name
10464
+ static names() {
10465
+ return {
10466
+ authToken: 'auth_token',
10467
+ productInstanceId: 'product_instance_id',
10468
+ bizId: 'biz_id',
10469
+ phoneNumbers: 'phone_numbers',
10470
+ templateType: 'template_type',
10471
+ sceneStrategyId: 'scene_strategy_id',
10472
+ intentTags: 'intent_tags',
10473
+ callDate: 'call_date',
10474
+ endCallDate: 'end_call_date',
10475
+ pageNum: 'page_num',
10476
+ pageSize: 'page_size',
10477
+ };
10478
+ }
10479
+ static types() {
10480
+ return {
10481
+ authToken: 'string',
10482
+ productInstanceId: 'string',
10483
+ bizId: 'string',
10484
+ phoneNumbers: { 'type': 'array', 'itemType': 'string' },
10485
+ templateType: 'string',
10486
+ sceneStrategyId: 'number',
10487
+ intentTags: { 'type': 'array', 'itemType': 'string' },
10488
+ callDate: 'string',
10489
+ endCallDate: 'string',
10490
+ pageNum: 'number',
10491
+ pageSize: 'number',
10492
+ };
10493
+ }
10494
+ }
10495
+ exports.BatchqueryUmktRobotcallDetailRequest = BatchqueryUmktRobotcallDetailRequest;
10496
+ class BatchqueryUmktRobotcallDetailResponse extends $tea.Model {
10497
+ constructor(map) {
10498
+ super(map);
10499
+ }
10500
+ static names() {
10501
+ return {
10502
+ reqMsgId: 'req_msg_id',
10503
+ resultCode: 'result_code',
10504
+ resultMsg: 'result_msg',
10505
+ outInfo: 'out_info',
10506
+ callInfo: 'call_info',
10507
+ };
10508
+ }
10509
+ static types() {
10510
+ return {
10511
+ reqMsgId: 'string',
10512
+ resultCode: 'string',
10513
+ resultMsg: 'string',
10514
+ outInfo: 'string',
10515
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
10516
+ };
10517
+ }
10518
+ }
10519
+ exports.BatchqueryUmktRobotcallDetailResponse = BatchqueryUmktRobotcallDetailResponse;
10520
+ class BatchqueryUmktActionplanDetailRequest extends $tea.Model {
10521
+ constructor(map) {
10522
+ super(map);
10523
+ }
10524
+ static names() {
10525
+ return {
10526
+ authToken: 'auth_token',
10527
+ productInstanceId: 'product_instance_id',
10528
+ sceneStrategyId: 'scene_strategy_id',
10529
+ };
10530
+ }
10531
+ static types() {
10532
+ return {
10533
+ authToken: 'string',
10534
+ productInstanceId: 'string',
10535
+ sceneStrategyId: { 'type': 'array', 'itemType': 'number' },
10536
+ };
10537
+ }
10538
+ }
10539
+ exports.BatchqueryUmktActionplanDetailRequest = BatchqueryUmktActionplanDetailRequest;
10540
+ class BatchqueryUmktActionplanDetailResponse extends $tea.Model {
10541
+ constructor(map) {
10542
+ super(map);
10543
+ }
10544
+ static names() {
10545
+ return {
10546
+ reqMsgId: 'req_msg_id',
10547
+ resultCode: 'result_code',
10548
+ resultMsg: 'result_msg',
10549
+ actionPlanDetailInfo: 'action_plan_detail_info',
10550
+ };
10551
+ }
10552
+ static types() {
10553
+ return {
10554
+ reqMsgId: 'string',
10555
+ resultCode: 'string',
10556
+ resultMsg: 'string',
10557
+ actionPlanDetailInfo: { 'type': 'array', 'itemType': ActionPlanDetailInfo },
10558
+ };
10559
+ }
10560
+ }
10561
+ exports.BatchqueryUmktActionplanDetailResponse = BatchqueryUmktActionplanDetailResponse;
10562
+ class PushRiskplusUmktCommonbackflowRequest extends $tea.Model {
10563
+ constructor(map) {
10564
+ super(map);
10565
+ }
10566
+ static names() {
10567
+ return {
10568
+ authToken: 'auth_token',
10569
+ productInstanceId: 'product_instance_id',
10570
+ tenantId: 'tenant_id',
10571
+ backFlowTemplateId: 'back_flow_template_id',
10572
+ backFlowDesc: 'back_flow_desc',
10573
+ properties: 'properties',
10574
+ };
10575
+ }
10576
+ static types() {
10577
+ return {
10578
+ authToken: 'string',
10579
+ productInstanceId: 'string',
10580
+ tenantId: 'number',
10581
+ backFlowTemplateId: 'number',
10582
+ backFlowDesc: 'string',
10583
+ properties: 'string',
10584
+ };
10585
+ }
10586
+ }
10587
+ exports.PushRiskplusUmktCommonbackflowRequest = PushRiskplusUmktCommonbackflowRequest;
10588
+ class PushRiskplusUmktCommonbackflowResponse extends $tea.Model {
10589
+ constructor(map) {
10590
+ super(map);
10591
+ }
10592
+ static names() {
10593
+ return {
10594
+ reqMsgId: 'req_msg_id',
10595
+ resultCode: 'result_code',
10596
+ resultMsg: 'result_msg',
10597
+ };
10598
+ }
10599
+ static types() {
10600
+ return {
10601
+ reqMsgId: 'string',
10602
+ resultCode: 'string',
10603
+ resultMsg: 'string',
10604
+ };
10605
+ }
10606
+ }
10607
+ exports.PushRiskplusUmktCommonbackflowResponse = PushRiskplusUmktCommonbackflowResponse;
10608
+ class PushUmktCommonDataRequest extends $tea.Model {
10609
+ constructor(map) {
10610
+ super(map);
10611
+ }
10612
+ static names() {
10613
+ return {
10614
+ authToken: 'auth_token',
10615
+ productInstanceId: 'product_instance_id',
10616
+ eventId: 'event_id',
10617
+ properties: 'properties',
10618
+ };
10619
+ }
10620
+ static types() {
10621
+ return {
10622
+ authToken: 'string',
10623
+ productInstanceId: 'string',
10624
+ eventId: 'number',
10625
+ properties: 'string',
10626
+ };
10627
+ }
10628
+ }
10629
+ exports.PushUmktCommonDataRequest = PushUmktCommonDataRequest;
10630
+ class PushUmktCommonDataResponse extends $tea.Model {
10631
+ constructor(map) {
10632
+ super(map);
10633
+ }
10634
+ static names() {
10635
+ return {
10636
+ reqMsgId: 'req_msg_id',
10637
+ resultCode: 'result_code',
10638
+ resultMsg: 'result_msg',
10639
+ };
10640
+ }
10641
+ static types() {
10642
+ return {
10643
+ reqMsgId: 'string',
10644
+ resultCode: 'string',
10645
+ resultMsg: 'string',
10646
+ };
10647
+ }
10648
+ }
10649
+ exports.PushUmktCommonDataResponse = PushUmktCommonDataResponse;
10650
+ class PushUmktCustomerGroupRequest extends $tea.Model {
10651
+ constructor(map) {
10652
+ super(map);
10653
+ }
10654
+ static names() {
10655
+ return {
10656
+ authToken: 'auth_token',
10657
+ productInstanceId: 'product_instance_id',
10658
+ eventId: 'event_id',
10659
+ properties: 'properties',
10660
+ };
10661
+ }
10662
+ static types() {
10663
+ return {
10664
+ authToken: 'string',
10665
+ productInstanceId: 'string',
10666
+ eventId: 'string',
10667
+ properties: 'string',
10668
+ };
10669
+ }
10670
+ }
10671
+ exports.PushUmktCustomerGroupRequest = PushUmktCustomerGroupRequest;
10672
+ class PushUmktCustomerGroupResponse extends $tea.Model {
10673
+ constructor(map) {
10674
+ super(map);
10675
+ }
10676
+ static names() {
10677
+ return {
10678
+ reqMsgId: 'req_msg_id',
10679
+ resultCode: 'result_code',
10680
+ resultMsg: 'result_msg',
10681
+ };
10682
+ }
10683
+ static types() {
10684
+ return {
10685
+ reqMsgId: 'string',
10686
+ resultCode: 'string',
10687
+ resultMsg: 'string',
10688
+ };
10689
+ }
10690
+ }
10691
+ exports.PushUmktCustomerGroupResponse = PushUmktCustomerGroupResponse;
10692
+ class BatchqueryUmktTaskDetailRequest extends $tea.Model {
10693
+ constructor(map) {
10694
+ super(map);
10695
+ }
10696
+ static names() {
10697
+ return {
10698
+ authToken: 'auth_token',
10699
+ productInstanceId: 'product_instance_id',
10700
+ bizId: 'biz_id',
10701
+ customerKeys: 'customer_keys',
10702
+ keyTemplate: 'key_template',
10703
+ sceneStrategyId: 'scene_strategy_id',
10704
+ callDate: 'call_date',
10705
+ endCallDate: 'end_call_date',
10706
+ };
10707
+ }
10708
+ static types() {
10709
+ return {
10710
+ authToken: 'string',
10711
+ productInstanceId: 'string',
10712
+ bizId: 'string',
10713
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
10714
+ keyTemplate: 'string',
10715
+ sceneStrategyId: 'number',
10716
+ callDate: 'string',
10717
+ endCallDate: 'string',
10718
+ };
10719
+ }
10720
+ }
10721
+ exports.BatchqueryUmktTaskDetailRequest = BatchqueryUmktTaskDetailRequest;
10722
+ class BatchqueryUmktTaskDetailResponse extends $tea.Model {
10723
+ constructor(map) {
10724
+ super(map);
10725
+ }
10726
+ static names() {
10727
+ return {
10728
+ reqMsgId: 'req_msg_id',
10729
+ resultCode: 'result_code',
10730
+ resultMsg: 'result_msg',
10731
+ outInfo: 'out_info',
10732
+ callInfo: 'call_info',
10733
+ };
10734
+ }
10735
+ static types() {
10736
+ return {
10737
+ reqMsgId: 'string',
10738
+ resultCode: 'string',
10739
+ resultMsg: 'string',
10740
+ outInfo: 'string',
10741
+ callInfo: { 'type': 'array', 'itemType': CommonRobotCallDetail },
10742
+ };
10743
+ }
10744
+ }
10745
+ exports.BatchqueryUmktTaskDetailResponse = BatchqueryUmktTaskDetailResponse;
10746
+ class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
10747
+ constructor(map) {
10748
+ super(map);
10749
+ }
10750
+ static names() {
10751
+ return {
10752
+ authToken: 'auth_token',
10753
+ apiCode: 'api_code',
10754
+ fileLabel: 'file_label',
10755
+ fileMetadata: 'file_metadata',
10756
+ fileName: 'file_name',
10757
+ mimeType: 'mime_type',
10758
+ apiCluster: 'api_cluster',
10759
+ };
10760
+ }
10761
+ static types() {
10762
+ return {
10763
+ authToken: 'string',
10764
+ apiCode: 'string',
10765
+ fileLabel: 'string',
10766
+ fileMetadata: 'string',
10767
+ fileName: 'string',
10768
+ mimeType: 'string',
10769
+ apiCluster: 'string',
10770
+ };
10771
+ }
10772
+ }
10773
+ exports.CreateAntcloudGatewayxFileUploadRequest = CreateAntcloudGatewayxFileUploadRequest;
10774
+ class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
10775
+ constructor(map) {
10776
+ super(map);
10777
+ }
10778
+ static names() {
10779
+ return {
10780
+ reqMsgId: 'req_msg_id',
10781
+ resultCode: 'result_code',
10782
+ resultMsg: 'result_msg',
10783
+ expiredTime: 'expired_time',
10784
+ fileId: 'file_id',
10785
+ uploadHeaders: 'upload_headers',
10786
+ uploadUrl: 'upload_url',
10787
+ };
10788
+ }
10789
+ static types() {
10790
+ return {
10791
+ reqMsgId: 'string',
10792
+ resultCode: 'string',
10793
+ resultMsg: 'string',
10794
+ expiredTime: 'string',
10795
+ fileId: 'string',
10796
+ uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
10797
+ uploadUrl: 'string',
10798
+ };
10799
+ }
10800
+ }
10801
+ exports.CreateAntcloudGatewayxFileUploadResponse = CreateAntcloudGatewayxFileUploadResponse;
10802
+ class Client {
10803
+ /**
10804
+ * Init client with Config
10805
+ * @param config config contains the necessary information to create a client
10806
+ */
10807
+ constructor(config) {
10808
+ if (tea_util_1.default.isUnset($tea.toMap(config))) {
10809
+ throw $tea.newError({
10810
+ code: "ParameterMissing",
10811
+ message: "'config' can not be unset",
10812
+ });
10813
+ }
10814
+ this._accessKeyId = config.accessKeyId;
10815
+ this._accessKeySecret = config.accessKeySecret;
10816
+ this._securityToken = config.securityToken;
10817
+ this._endpoint = config.endpoint;
10818
+ this._protocol = config.protocol;
10819
+ this._userAgent = config.userAgent;
10820
+ this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
10821
+ this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
10822
+ this._httpProxy = config.httpProxy;
10823
+ this._httpsProxy = config.httpsProxy;
10824
+ this._noProxy = config.noProxy;
10825
+ this._socks5Proxy = config.socks5Proxy;
10826
+ this._socks5NetWork = config.socks5NetWork;
10827
+ this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
10828
+ this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
10829
+ this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
10830
+ this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
10831
+ this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
10832
+ }
10833
+ /**
10834
+ * Encapsulate the request and invoke the network
10835
+ * @param action api name
10286
10836
  * @param protocol http or https
10287
10837
  * @param method e.g. GET
10288
10838
  * @param pathname pathname of every api
@@ -10337,7 +10887,7 @@ class Client {
10337
10887
  req_msg_id: alipay_util_1.default.getNonce(),
10338
10888
  access_key: this._accessKeyId,
10339
10889
  base_sdk_version: "TeaSDK-2.0",
10340
- sdk_version: "1.16.43",
10890
+ sdk_version: "1.16.57",
10341
10891
  _prod_code: "RISKPLUS",
10342
10892
  _prod_channel: "undefined",
10343
10893
  };
@@ -10493,6 +11043,23 @@ class Client {
10493
11043
  tea_util_1.default.validateModel(request);
10494
11044
  return $tea.cast(await this.doRequest("1.0", "riskplus.security.riskdataservice.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecSecurityRiskdataserviceResponse({}));
10495
11045
  }
11046
+ /**
11047
+ * Description: 风控云SaaS租户调用接口
11048
+ * Summary: 风控云SaaS租户调用接口
11049
+ */
11050
+ async querySaasSecurityPolicy(request) {
11051
+ let runtime = new $Util.RuntimeOptions({});
11052
+ let headers = {};
11053
+ return await this.querySaasSecurityPolicyEx(request, headers, runtime);
11054
+ }
11055
+ /**
11056
+ * Description: 风控云SaaS租户调用接口
11057
+ * Summary: 风控云SaaS租户调用接口
11058
+ */
11059
+ async querySaasSecurityPolicyEx(request, headers, runtime) {
11060
+ tea_util_1.default.validateModel(request);
11061
+ return $tea.cast(await this.doRequest("1.0", "riskplus.saas.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySaasSecurityPolicyResponse({}));
11062
+ }
10496
11063
  /**
10497
11064
  * Description: 天枢信贷业务系统线下测试环境测试接口
10498
11065
  * Summary: 天枢信贷业务系统线下测试接口
@@ -12936,6 +13503,127 @@ class Client {
12936
13503
  tea_util_1.default.validateModel(request);
12937
13504
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.sms.report.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsReportResponse({}));
12938
13505
  }
13506
+ /**
13507
+ * Description: 分页查询租户外呼策略
13508
+ * Summary: 营销盾租户场景批量信息查询
13509
+ */
13510
+ async batchqueryUmktTenantActionplaninfo(request) {
13511
+ let runtime = new $Util.RuntimeOptions({});
13512
+ let headers = {};
13513
+ return await this.batchqueryUmktTenantActionplaninfoEx(request, headers, runtime);
13514
+ }
13515
+ /**
13516
+ * Description: 分页查询租户外呼策略
13517
+ * Summary: 营销盾租户场景批量信息查询
13518
+ */
13519
+ async batchqueryUmktTenantActionplaninfoEx(request, headers, runtime) {
13520
+ tea_util_1.default.validateModel(request);
13521
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.tenant.actionplaninfo.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktTenantActionplaninfoResponse({}));
13522
+ }
13523
+ /**
13524
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
13525
+ (已下线)
13526
+ * Summary: 营销盾外呼详情查询接口
13527
+ */
13528
+ async batchqueryUmktRobotcallDetail(request) {
13529
+ let runtime = new $Util.RuntimeOptions({});
13530
+ let headers = {};
13531
+ return await this.batchqueryUmktRobotcallDetailEx(request, headers, runtime);
13532
+ }
13533
+ /**
13534
+ * Description: 营销盾批次外呼内单个/多个手机号查询拨打情况
13535
+ (已下线)
13536
+ * Summary: 营销盾外呼详情查询接口
13537
+ */
13538
+ async batchqueryUmktRobotcallDetailEx(request, headers, runtime) {
13539
+ tea_util_1.default.validateModel(request);
13540
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRobotcallDetailResponse({}));
13541
+ }
13542
+ /**
13543
+ * Description: 营销盾查询外呼策略详情
13544
+ * Summary: 营销盾查询外呼策略详情
13545
+ */
13546
+ async batchqueryUmktActionplanDetail(request) {
13547
+ let runtime = new $Util.RuntimeOptions({});
13548
+ let headers = {};
13549
+ return await this.batchqueryUmktActionplanDetailEx(request, headers, runtime);
13550
+ }
13551
+ /**
13552
+ * Description: 营销盾查询外呼策略详情
13553
+ * Summary: 营销盾查询外呼策略详情
13554
+ */
13555
+ async batchqueryUmktActionplanDetailEx(request, headers, runtime) {
13556
+ tea_util_1.default.validateModel(request);
13557
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.actionplan.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktActionplanDetailResponse({}));
13558
+ }
13559
+ /**
13560
+ * Description: 营销盾通用回流推送服务
13561
+ * Summary: 营销盾通用回流推送服务
13562
+ */
13563
+ async pushRiskplusUmktCommonbackflow(request) {
13564
+ let runtime = new $Util.RuntimeOptions({});
13565
+ let headers = {};
13566
+ return await this.pushRiskplusUmktCommonbackflowEx(request, headers, runtime);
13567
+ }
13568
+ /**
13569
+ * Description: 营销盾通用回流推送服务
13570
+ * Summary: 营销盾通用回流推送服务
13571
+ */
13572
+ async pushRiskplusUmktCommonbackflowEx(request, headers, runtime) {
13573
+ tea_util_1.default.validateModel(request);
13574
+ return $tea.cast(await this.doRequest("1.0", "riskplus.riskplus.umkt.commonbackflow.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRiskplusUmktCommonbackflowResponse({}));
13575
+ }
13576
+ /**
13577
+ * Description: 营销盾通用数据推送服务
13578
+ * Summary: 营销盾通用数据推送服务
13579
+ */
13580
+ async pushUmktCommonData(request) {
13581
+ let runtime = new $Util.RuntimeOptions({});
13582
+ let headers = {};
13583
+ return await this.pushUmktCommonDataEx(request, headers, runtime);
13584
+ }
13585
+ /**
13586
+ * Description: 营销盾通用数据推送服务
13587
+ * Summary: 营销盾通用数据推送服务
13588
+ */
13589
+ async pushUmktCommonDataEx(request, headers, runtime) {
13590
+ tea_util_1.default.validateModel(request);
13591
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.common.data.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktCommonDataResponse({}));
13592
+ }
13593
+ /**
13594
+ * Description: 营销盾客群推送服务
13595
+ * Summary: 营销盾客群推送服务
13596
+ */
13597
+ async pushUmktCustomerGroup(request) {
13598
+ let runtime = new $Util.RuntimeOptions({});
13599
+ let headers = {};
13600
+ return await this.pushUmktCustomerGroupEx(request, headers, runtime);
13601
+ }
13602
+ /**
13603
+ * Description: 营销盾客群推送服务
13604
+ * Summary: 营销盾客群推送服务
13605
+ */
13606
+ async pushUmktCustomerGroupEx(request, headers, runtime) {
13607
+ tea_util_1.default.validateModel(request);
13608
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.customer.group.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktCustomerGroupResponse({}));
13609
+ }
13610
+ /**
13611
+ * Description: 触达执行任务详情查询
13612
+ * Summary: 触达执行任务详情查询
13613
+ */
13614
+ async batchqueryUmktTaskDetail(request) {
13615
+ let runtime = new $Util.RuntimeOptions({});
13616
+ let headers = {};
13617
+ return await this.batchqueryUmktTaskDetailEx(request, headers, runtime);
13618
+ }
13619
+ /**
13620
+ * Description: 触达执行任务详情查询
13621
+ * Summary: 触达执行任务详情查询
13622
+ */
13623
+ async batchqueryUmktTaskDetailEx(request, headers, runtime) {
13624
+ tea_util_1.default.validateModel(request);
13625
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.task.detail.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktTaskDetailResponse({}));
13626
+ }
12939
13627
  /**
12940
13628
  * Description: 创建HTTP PUT提交的文件上传
12941
13629
  * Summary: 文件上传创建