@antchain/riskplus 1.13.14 → 1.15.1

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
@@ -266,6 +266,27 @@ class RtopTypeDistribution extends $tea.Model {
266
266
  }
267
267
  }
268
268
  exports.RtopTypeDistribution = RtopTypeDistribution;
269
+ // 用户的混合策略圈客结果
270
+ class UmktInfoModel extends $tea.Model {
271
+ constructor(map) {
272
+ super(map);
273
+ }
274
+ static names() {
275
+ return {
276
+ sceneStrategyId: 'scene_strategy_id',
277
+ umktResult: 'umkt_result',
278
+ umktOutPutInfo: 'umkt_out_put_info',
279
+ };
280
+ }
281
+ static types() {
282
+ return {
283
+ sceneStrategyId: 'number',
284
+ umktResult: 'number',
285
+ umktOutPutInfo: 'string',
286
+ };
287
+ }
288
+ }
289
+ exports.UmktInfoModel = UmktInfoModel;
269
290
  // 监管风险标签
270
291
  class RtopRiskTag extends $tea.Model {
271
292
  constructor(map) {
@@ -303,19 +324,19 @@ class StatisticInfoDetail extends $tea.Model {
303
324
  static names() {
304
325
  return {
305
326
  actionDriverCode: 'action_driver_code',
306
- invokeCount: 'invoke_count',
307
327
  successCount: 'success_count',
308
328
  failCount: 'fail_count',
309
- finishCount: 'finish_count',
329
+ waitingSubTaskCount: 'waiting_sub_task_count',
330
+ totalCount: 'total_count',
310
331
  };
311
332
  }
312
333
  static types() {
313
334
  return {
314
335
  actionDriverCode: 'number',
315
- invokeCount: 'number',
316
336
  successCount: 'number',
317
337
  failCount: 'number',
318
- finishCount: 'number',
338
+ waitingSubTaskCount: 'number',
339
+ totalCount: 'number',
319
340
  };
320
341
  }
321
342
  }
@@ -377,7 +398,7 @@ class RepayRef extends $tea.Model {
377
398
  customNo: 'custom_no',
378
399
  period: 'period',
379
400
  needAmount: 'need_amount',
380
- transPrincipal: 'trans_principal',
401
+ needCorpus: 'need_corpus',
381
402
  needAccrual: 'need_accrual',
382
403
  needFee: 'need_fee',
383
404
  alreadyAmount: 'already_amount',
@@ -404,7 +425,7 @@ class RepayRef extends $tea.Model {
404
425
  customNo: 'string',
405
426
  period: 'string',
406
427
  needAmount: 'number',
407
- transPrincipal: 'number',
428
+ needCorpus: 'number',
408
429
  needAccrual: 'number',
409
430
  needFee: 'number',
410
431
  alreadyAmount: 'number',
@@ -1835,6 +1856,25 @@ class CustomerUmktInfoModel extends $tea.Model {
1835
1856
  }
1836
1857
  }
1837
1858
  exports.CustomerUmktInfoModel = CustomerUmktInfoModel;
1859
+ // 混合批量营销圈客结果
1860
+ class CustomerUmktInfosModel extends $tea.Model {
1861
+ constructor(map) {
1862
+ super(map);
1863
+ }
1864
+ static names() {
1865
+ return {
1866
+ umktResults: 'umkt_results',
1867
+ customerKey: 'customer_key',
1868
+ };
1869
+ }
1870
+ static types() {
1871
+ return {
1872
+ umktResults: { 'type': 'array', 'itemType': UmktInfoModel },
1873
+ customerKey: 'string',
1874
+ };
1875
+ }
1876
+ }
1877
+ exports.CustomerUmktInfosModel = CustomerUmktInfosModel;
1838
1878
  // 模型结果详情
1839
1879
  //
1840
1880
  class ModelDetails extends $tea.Model {
@@ -1949,6 +1989,27 @@ class RiskLabelFilterConfigInfo extends $tea.Model {
1949
1989
  }
1950
1990
  }
1951
1991
  exports.RiskLabelFilterConfigInfo = RiskLabelFilterConfigInfo;
1992
+ // AI外呼每个用户维度的参数信息
1993
+ class RobotCallCustomerParam extends $tea.Model {
1994
+ constructor(map) {
1995
+ super(map);
1996
+ }
1997
+ static names() {
1998
+ return {
1999
+ customerKey: 'customer_key',
2000
+ customerOutInfo: 'customer_out_info',
2001
+ properties: 'properties',
2002
+ };
2003
+ }
2004
+ static types() {
2005
+ return {
2006
+ customerKey: 'string',
2007
+ customerOutInfo: 'string',
2008
+ properties: 'string',
2009
+ };
2010
+ }
2011
+ }
2012
+ exports.RobotCallCustomerParam = RobotCallCustomerParam;
1952
2013
  // 天枢系统职业信息
1953
2014
  class JobInfo extends $tea.Model {
1954
2015
  constructor(map) {
@@ -2152,6 +2213,35 @@ class CreditAmount extends $tea.Model {
2152
2213
  }
2153
2214
  }
2154
2215
  exports.CreditAmount = CreditAmount;
2216
+ // 短信模板内容
2217
+ class CpaasSmsTemplate extends $tea.Model {
2218
+ constructor(map) {
2219
+ super(map);
2220
+ }
2221
+ static names() {
2222
+ return {
2223
+ templateType: 'template_type',
2224
+ templateName: 'template_name',
2225
+ templateContent: 'template_content',
2226
+ status: 'status',
2227
+ templateCode: 'template_code',
2228
+ failReason: 'fail_reason',
2229
+ createTime: 'create_time',
2230
+ };
2231
+ }
2232
+ static types() {
2233
+ return {
2234
+ templateType: 'string',
2235
+ templateName: 'string',
2236
+ templateContent: 'string',
2237
+ status: 'string',
2238
+ templateCode: 'string',
2239
+ failReason: 'string',
2240
+ createTime: 'string',
2241
+ };
2242
+ }
2243
+ }
2244
+ exports.CpaasSmsTemplate = CpaasSmsTemplate;
2155
2245
  // 舆情的详情
2156
2246
  class RtopCompanyOpinionDetail extends $tea.Model {
2157
2247
  constructor(map) {
@@ -3829,6 +3919,10 @@ class BindDubbridgeCustomerBankcardRequest extends $tea.Model {
3829
3919
  customerNo: 'customer_no',
3830
3920
  bankCardNo: 'bank_card_no',
3831
3921
  channelCode: 'channel_code',
3922
+ customName: 'custom_name',
3923
+ openId: 'open_id',
3924
+ cardNo: 'card_no',
3925
+ mobile: 'mobile',
3832
3926
  };
3833
3927
  }
3834
3928
  static types() {
@@ -3839,6 +3933,10 @@ class BindDubbridgeCustomerBankcardRequest extends $tea.Model {
3839
3933
  customerNo: 'string',
3840
3934
  bankCardNo: 'string',
3841
3935
  channelCode: 'string',
3936
+ customName: 'string',
3937
+ openId: 'string',
3938
+ cardNo: 'string',
3939
+ mobile: 'string',
3842
3940
  };
3843
3941
  }
3844
3942
  }
@@ -3879,6 +3977,8 @@ class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
3879
3977
  customNo: 'custom_no',
3880
3978
  bindSerialNo: 'bind_serial_no',
3881
3979
  bindValidCode: 'bind_valid_code',
3980
+ bankCardNo: 'bank_card_no',
3981
+ channelCode: 'channel_code',
3882
3982
  };
3883
3983
  }
3884
3984
  static types() {
@@ -3889,6 +3989,8 @@ class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
3889
3989
  customNo: 'string',
3890
3990
  bindSerialNo: 'string',
3891
3991
  bindValidCode: 'string',
3992
+ bankCardNo: 'string',
3993
+ channelCode: 'string',
3892
3994
  };
3893
3995
  }
3894
3996
  }
@@ -4882,6 +4984,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
4882
4984
  originalOrderNo: 'original_order_no',
4883
4985
  repayType: 'repay_type',
4884
4986
  orderNo: 'order_no',
4987
+ validRepayAmount: 'valid_repay_amount',
4885
4988
  };
4886
4989
  }
4887
4990
  static types() {
@@ -4891,6 +4994,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
4891
4994
  originalOrderNo: 'string',
4892
4995
  repayType: 'string',
4893
4996
  orderNo: 'string',
4997
+ validRepayAmount: 'string',
4894
4998
  };
4895
4999
  }
4896
5000
  }
@@ -8045,6 +8149,8 @@ class UploadUmktParamsFileRequest extends $tea.Model {
8045
8149
  sceneStrategyId: 'scene_strategy_id',
8046
8150
  execTime: 'exec_time',
8047
8151
  fileTemplate: 'file_template',
8152
+ outSerialNo: 'out_serial_no',
8153
+ outInfo: 'out_info',
8048
8154
  };
8049
8155
  }
8050
8156
  static types() {
@@ -8057,6 +8163,8 @@ class UploadUmktParamsFileRequest extends $tea.Model {
8057
8163
  sceneStrategyId: 'number',
8058
8164
  execTime: 'string',
8059
8165
  fileTemplate: 'string',
8166
+ outSerialNo: 'string',
8167
+ outInfo: 'string',
8060
8168
  };
8061
8169
  }
8062
8170
  }
@@ -8329,24 +8437,22 @@ class ApplyUmktRobotcallRequest extends $tea.Model {
8329
8437
  return {
8330
8438
  authToken: 'auth_token',
8331
8439
  productInstanceId: 'product_instance_id',
8332
- calledShowNumber: 'called_show_number',
8333
- calledNumber: 'called_number',
8334
- robotId: 'robot_id',
8335
- recordFlag: 'record_flag',
8336
- earlyMediaAsr: 'early_media_asr',
8337
- params: 'params',
8440
+ outSerialNo: 'out_serial_no',
8441
+ sceneStrategyId: 'scene_strategy_id',
8442
+ outInfo: 'out_info',
8443
+ fileTemplate: 'file_template',
8444
+ customerDetails: 'customer_details',
8338
8445
  };
8339
8446
  }
8340
8447
  static types() {
8341
8448
  return {
8342
8449
  authToken: 'string',
8343
8450
  productInstanceId: 'string',
8344
- calledShowNumber: 'string',
8345
- calledNumber: 'string',
8346
- robotId: 'number',
8347
- recordFlag: 'boolean',
8348
- earlyMediaAsr: 'boolean',
8349
- params: 'string',
8451
+ outSerialNo: 'string',
8452
+ sceneStrategyId: 'number',
8453
+ outInfo: 'string',
8454
+ fileTemplate: 'string',
8455
+ customerDetails: { 'type': 'array', 'itemType': RobotCallCustomerParam },
8350
8456
  };
8351
8457
  }
8352
8458
  }
@@ -8403,6 +8509,7 @@ class QueryUmktDataaccessStatisticResponse extends $tea.Model {
8403
8509
  resultCode: 'result_code',
8404
8510
  resultMsg: 'result_msg',
8405
8511
  statisticResult: 'statistic_result',
8512
+ taskStatus: 'task_status',
8406
8513
  };
8407
8514
  }
8408
8515
  static types() {
@@ -8411,6 +8518,7 @@ class QueryUmktDataaccessStatisticResponse extends $tea.Model {
8411
8518
  resultCode: 'string',
8412
8519
  resultMsg: 'string',
8413
8520
  statisticResult: StatisticResult,
8521
+ taskStatus: 'string',
8414
8522
  };
8415
8523
  }
8416
8524
  }
@@ -8773,6 +8881,114 @@ class SendUmktDigitalsmsBatchResponse extends $tea.Model {
8773
8881
  }
8774
8882
  }
8775
8883
  exports.SendUmktDigitalsmsBatchResponse = SendUmktDigitalsmsBatchResponse;
8884
+ class QueryUmktCpaassmsTemplateRequest extends $tea.Model {
8885
+ constructor(map) {
8886
+ super(map);
8887
+ }
8888
+ static names() {
8889
+ return {
8890
+ authToken: 'auth_token',
8891
+ productInstanceId: 'product_instance_id',
8892
+ tenantId: 'tenant_id',
8893
+ smsType: 'sms_type',
8894
+ tenantIndustry: 'tenant_industry',
8895
+ status: 'status',
8896
+ pageNum: 'page_num',
8897
+ pageSize: 'page_size',
8898
+ };
8899
+ }
8900
+ static types() {
8901
+ return {
8902
+ authToken: 'string',
8903
+ productInstanceId: 'string',
8904
+ tenantId: 'string',
8905
+ smsType: 'string',
8906
+ tenantIndustry: 'string',
8907
+ status: 'string',
8908
+ pageNum: 'number',
8909
+ pageSize: 'number',
8910
+ };
8911
+ }
8912
+ }
8913
+ exports.QueryUmktCpaassmsTemplateRequest = QueryUmktCpaassmsTemplateRequest;
8914
+ class QueryUmktCpaassmsTemplateResponse extends $tea.Model {
8915
+ constructor(map) {
8916
+ super(map);
8917
+ }
8918
+ static names() {
8919
+ return {
8920
+ reqMsgId: 'req_msg_id',
8921
+ resultCode: 'result_code',
8922
+ resultMsg: 'result_msg',
8923
+ total: 'total',
8924
+ pageSize: 'page_size',
8925
+ pageNum: 'page_num',
8926
+ cpassSmsTemplates: 'cpass_sms_templates',
8927
+ };
8928
+ }
8929
+ static types() {
8930
+ return {
8931
+ reqMsgId: 'string',
8932
+ resultCode: 'string',
8933
+ resultMsg: 'string',
8934
+ total: 'number',
8935
+ pageSize: 'number',
8936
+ pageNum: 'number',
8937
+ cpassSmsTemplates: { 'type': 'array', 'itemType': CpaasSmsTemplate },
8938
+ };
8939
+ }
8940
+ }
8941
+ exports.QueryUmktCpaassmsTemplateResponse = QueryUmktCpaassmsTemplateResponse;
8942
+ class BatchqueryUmktRtMixedmarketingRequest extends $tea.Model {
8943
+ constructor(map) {
8944
+ super(map);
8945
+ }
8946
+ static names() {
8947
+ return {
8948
+ authToken: 'auth_token',
8949
+ productInstanceId: 'product_instance_id',
8950
+ sceneStrategyIds: 'scene_strategy_ids',
8951
+ sceneStrategySetCode: 'scene_strategy_set_code',
8952
+ queryTemplate: 'query_template',
8953
+ customerKeys: 'customer_keys',
8954
+ bizSerialNo: 'biz_serial_no',
8955
+ };
8956
+ }
8957
+ static types() {
8958
+ return {
8959
+ authToken: 'string',
8960
+ productInstanceId: 'string',
8961
+ sceneStrategyIds: { 'type': 'array', 'itemType': 'number' },
8962
+ sceneStrategySetCode: 'string',
8963
+ queryTemplate: 'string',
8964
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
8965
+ bizSerialNo: 'string',
8966
+ };
8967
+ }
8968
+ }
8969
+ exports.BatchqueryUmktRtMixedmarketingRequest = BatchqueryUmktRtMixedmarketingRequest;
8970
+ class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
8971
+ constructor(map) {
8972
+ super(map);
8973
+ }
8974
+ static names() {
8975
+ return {
8976
+ reqMsgId: 'req_msg_id',
8977
+ resultCode: 'result_code',
8978
+ resultMsg: 'result_msg',
8979
+ queryResults: 'query_results',
8980
+ };
8981
+ }
8982
+ static types() {
8983
+ return {
8984
+ reqMsgId: 'string',
8985
+ resultCode: 'string',
8986
+ resultMsg: 'string',
8987
+ queryResults: { 'type': 'array', 'itemType': CustomerUmktInfosModel },
8988
+ };
8989
+ }
8990
+ }
8991
+ exports.BatchqueryUmktRtMixedmarketingResponse = BatchqueryUmktRtMixedmarketingResponse;
8776
8992
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
8777
8993
  constructor(map) {
8778
8994
  super(map);
@@ -8917,7 +9133,7 @@ class Client {
8917
9133
  req_msg_id: alipay_util_1.default.getNonce(),
8918
9134
  access_key: this._accessKeyId,
8919
9135
  base_sdk_version: "TeaSDK-2.0",
8920
- sdk_version: "1.13.14",
9136
+ sdk_version: "1.15.1",
8921
9137
  _prod_code: "RISKPLUS",
8922
9138
  _prod_channel: "undefined",
8923
9139
  };
@@ -11155,6 +11371,40 @@ class Client {
11155
11371
  tea_util_1.default.validateModel(request);
11156
11372
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
11157
11373
  }
11374
+ /**
11375
+ * Description: 分页查询cpaas短信模板
11376
+ * Summary: cpaas短信模板分页查询
11377
+ */
11378
+ async queryUmktCpaassmsTemplate(request) {
11379
+ let runtime = new $Util.RuntimeOptions({});
11380
+ let headers = {};
11381
+ return await this.queryUmktCpaassmsTemplateEx(request, headers, runtime);
11382
+ }
11383
+ /**
11384
+ * Description: 分页查询cpaas短信模板
11385
+ * Summary: cpaas短信模板分页查询
11386
+ */
11387
+ async queryUmktCpaassmsTemplateEx(request, headers, runtime) {
11388
+ tea_util_1.default.validateModel(request);
11389
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.cpaassms.template.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCpaassmsTemplateResponse({}));
11390
+ }
11391
+ /**
11392
+ * Description: 实时混合批量营销圈客
11393
+ * Summary: 实时混合批量营销圈客
11394
+ */
11395
+ async batchqueryUmktRtMixedmarketing(request) {
11396
+ let runtime = new $Util.RuntimeOptions({});
11397
+ let headers = {};
11398
+ return await this.batchqueryUmktRtMixedmarketingEx(request, headers, runtime);
11399
+ }
11400
+ /**
11401
+ * Description: 实时混合批量营销圈客
11402
+ * Summary: 实时混合批量营销圈客
11403
+ */
11404
+ async batchqueryUmktRtMixedmarketingEx(request, headers, runtime) {
11405
+ tea_util_1.default.validateModel(request);
11406
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtMixedmarketingResponse({}));
11407
+ }
11158
11408
  /**
11159
11409
  * Description: 创建HTTP PUT提交的文件上传
11160
11410
  * Summary: 文件上传创建