@antchain/riskplus 1.13.5 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.13.5",
3
+ "version": "1.13.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1109,20 +1109,16 @@ export class UpdateCustomerRelationResponseData extends $tea.Model {
1109
1109
 
1110
1110
  // 回流事件记录
1111
1111
  export class BackflowEventRecord extends $tea.Model {
1112
- // 回流事件记录分组,ACTION-触达属性组/SERVICE-业务属性组/CONVERSION-转化属性组
1113
- groupCode: string;
1114
1112
  // 回流事件部分分组后的记录list
1115
1113
  properties: BackflowEventRecordProperty[];
1116
1114
  static names(): { [key: string]: string } {
1117
1115
  return {
1118
- groupCode: 'group_code',
1119
1116
  properties: 'properties',
1120
1117
  };
1121
1118
  }
1122
1119
 
1123
1120
  static types(): { [key: string]: any } {
1124
1121
  return {
1125
- groupCode: 'string',
1126
1122
  properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
1127
1123
  };
1128
1124
  }
@@ -13375,6 +13371,172 @@ export class QueryUmktCardsmsSupportResponse extends $tea.Model {
13375
13371
  }
13376
13372
  }
13377
13373
 
13374
+ export class SendUmktTextsmsBatchRequest extends $tea.Model {
13375
+ // OAuth模式下的授权token
13376
+ authToken?: string;
13377
+ productInstanceId?: string;
13378
+ // cpassAccessKey
13379
+ cpassAk?: string;
13380
+ // 行业标签
13381
+ industryTag: string;
13382
+ // 手机号json
13383
+ phoneNumberJson: string;
13384
+ // 签名信息
13385
+ signNameJson: string;
13386
+ // 文本短信模板code
13387
+ templateCode: string;
13388
+ // 文本短信模板参数
13389
+ templateParamJson: string;
13390
+ // 上行短信扩展码
13391
+ smsUpExtendCodeJson?: string;
13392
+ // 透传字段
13393
+ outId?: string;
13394
+ static names(): { [key: string]: string } {
13395
+ return {
13396
+ authToken: 'auth_token',
13397
+ productInstanceId: 'product_instance_id',
13398
+ cpassAk: 'cpass_ak',
13399
+ industryTag: 'industry_tag',
13400
+ phoneNumberJson: 'phone_number_json',
13401
+ signNameJson: 'sign_name_json',
13402
+ templateCode: 'template_code',
13403
+ templateParamJson: 'template_param_json',
13404
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
13405
+ outId: 'out_id',
13406
+ };
13407
+ }
13408
+
13409
+ static types(): { [key: string]: any } {
13410
+ return {
13411
+ authToken: 'string',
13412
+ productInstanceId: 'string',
13413
+ cpassAk: 'string',
13414
+ industryTag: 'string',
13415
+ phoneNumberJson: 'string',
13416
+ signNameJson: 'string',
13417
+ templateCode: 'string',
13418
+ templateParamJson: 'string',
13419
+ smsUpExtendCodeJson: 'string',
13420
+ outId: 'string',
13421
+ };
13422
+ }
13423
+
13424
+ constructor(map?: { [key: string]: any }) {
13425
+ super(map);
13426
+ }
13427
+ }
13428
+
13429
+ export class SendUmktTextsmsBatchResponse extends $tea.Model {
13430
+ // 请求唯一ID,用于链路跟踪和问题排查
13431
+ reqMsgId?: string;
13432
+ // 结果码,一般OK表示调用成功
13433
+ resultCode?: string;
13434
+ // 异常信息的文本描述
13435
+ resultMsg?: string;
13436
+ // 回执id
13437
+ bizId?: string;
13438
+ static names(): { [key: string]: string } {
13439
+ return {
13440
+ reqMsgId: 'req_msg_id',
13441
+ resultCode: 'result_code',
13442
+ resultMsg: 'result_msg',
13443
+ bizId: 'biz_id',
13444
+ };
13445
+ }
13446
+
13447
+ static types(): { [key: string]: any } {
13448
+ return {
13449
+ reqMsgId: 'string',
13450
+ resultCode: 'string',
13451
+ resultMsg: 'string',
13452
+ bizId: 'string',
13453
+ };
13454
+ }
13455
+
13456
+ constructor(map?: { [key: string]: any }) {
13457
+ super(map);
13458
+ }
13459
+ }
13460
+
13461
+ export class SendUmktDigitalsmsBatchRequest extends $tea.Model {
13462
+ // OAuth模式下的授权token
13463
+ authToken?: string;
13464
+ productInstanceId?: string;
13465
+ // cpassAccessKey
13466
+ cpassAk?: string;
13467
+ // 行业标签
13468
+ industryTag: string;
13469
+ // 手机号列表以,分隔
13470
+ phoneNumbers: string;
13471
+ // 数字短信模板code
13472
+ templateCode: string;
13473
+ // 短信模板参数
13474
+ templateParam: string;
13475
+ // 透传字段
13476
+ outId?: string;
13477
+ static names(): { [key: string]: string } {
13478
+ return {
13479
+ authToken: 'auth_token',
13480
+ productInstanceId: 'product_instance_id',
13481
+ cpassAk: 'cpass_ak',
13482
+ industryTag: 'industry_tag',
13483
+ phoneNumbers: 'phone_numbers',
13484
+ templateCode: 'template_code',
13485
+ templateParam: 'template_param',
13486
+ outId: 'out_id',
13487
+ };
13488
+ }
13489
+
13490
+ static types(): { [key: string]: any } {
13491
+ return {
13492
+ authToken: 'string',
13493
+ productInstanceId: 'string',
13494
+ cpassAk: 'string',
13495
+ industryTag: 'string',
13496
+ phoneNumbers: 'string',
13497
+ templateCode: 'string',
13498
+ templateParam: 'string',
13499
+ outId: 'string',
13500
+ };
13501
+ }
13502
+
13503
+ constructor(map?: { [key: string]: any }) {
13504
+ super(map);
13505
+ }
13506
+ }
13507
+
13508
+ export class SendUmktDigitalsmsBatchResponse extends $tea.Model {
13509
+ // 请求唯一ID,用于链路跟踪和问题排查
13510
+ reqMsgId?: string;
13511
+ // 结果码,一般OK表示调用成功
13512
+ resultCode?: string;
13513
+ // 异常信息的文本描述
13514
+ resultMsg?: string;
13515
+ // 回执id
13516
+ bizId?: string;
13517
+ static names(): { [key: string]: string } {
13518
+ return {
13519
+ reqMsgId: 'req_msg_id',
13520
+ resultCode: 'result_code',
13521
+ resultMsg: 'result_msg',
13522
+ bizId: 'biz_id',
13523
+ };
13524
+ }
13525
+
13526
+ static types(): { [key: string]: any } {
13527
+ return {
13528
+ reqMsgId: 'string',
13529
+ resultCode: 'string',
13530
+ resultMsg: 'string',
13531
+ bizId: 'string',
13532
+ };
13533
+ }
13534
+
13535
+ constructor(map?: { [key: string]: any }) {
13536
+ super(map);
13537
+ }
13538
+ }
13539
+
13378
13540
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
13379
13541
  // OAuth模式下的授权token
13380
13542
  authToken?: string;
@@ -13576,7 +13738,7 @@ export default class Client {
13576
13738
  req_msg_id: AntchainUtil.getNonce(),
13577
13739
  access_key: this._accessKeyId,
13578
13740
  base_sdk_version: "TeaSDK-2.0",
13579
- sdk_version: "1.13.5",
13741
+ sdk_version: "1.13.7",
13580
13742
  };
13581
13743
  if (!Util.empty(this._securityToken)) {
13582
13744
  request_.query["security_token"] = this._securityToken;
@@ -16100,6 +16262,44 @@ export default class Client {
16100
16262
  return $tea.cast<QueryUmktCardsmsSupportResponse>(await this.doRequest("1.0", "riskplus.umkt.cardsms.support.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCardsmsSupportResponse({}));
16101
16263
  }
16102
16264
 
16265
+ /**
16266
+ * Description: 文本短信批量发送接口
16267
+ * Summary: 文本短信批量发送接口
16268
+ */
16269
+ async sendUmktTextsmsBatch(request: SendUmktTextsmsBatchRequest): Promise<SendUmktTextsmsBatchResponse> {
16270
+ let runtime = new $Util.RuntimeOptions({ });
16271
+ let headers : {[key: string ]: string} = { };
16272
+ return await this.sendUmktTextsmsBatchEx(request, headers, runtime);
16273
+ }
16274
+
16275
+ /**
16276
+ * Description: 文本短信批量发送接口
16277
+ * Summary: 文本短信批量发送接口
16278
+ */
16279
+ async sendUmktTextsmsBatchEx(request: SendUmktTextsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktTextsmsBatchResponse> {
16280
+ Util.validateModel(request);
16281
+ return $tea.cast<SendUmktTextsmsBatchResponse>(await this.doRequest("1.0", "riskplus.umkt.textsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktTextsmsBatchResponse({}));
16282
+ }
16283
+
16284
+ /**
16285
+ * Description: 数字短信批量发送接口(单模板)
16286
+ * Summary: 数字短信批量发送接口(单模板)
16287
+ */
16288
+ async sendUmktDigitalsmsBatch(request: SendUmktDigitalsmsBatchRequest): Promise<SendUmktDigitalsmsBatchResponse> {
16289
+ let runtime = new $Util.RuntimeOptions({ });
16290
+ let headers : {[key: string ]: string} = { };
16291
+ return await this.sendUmktDigitalsmsBatchEx(request, headers, runtime);
16292
+ }
16293
+
16294
+ /**
16295
+ * Description: 数字短信批量发送接口(单模板)
16296
+ * Summary: 数字短信批量发送接口(单模板)
16297
+ */
16298
+ async sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse> {
16299
+ Util.validateModel(request);
16300
+ return $tea.cast<SendUmktDigitalsmsBatchResponse>(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
16301
+ }
16302
+
16103
16303
  /**
16104
16304
  * Description: 创建HTTP PUT提交的文件上传
16105
16305
  * Summary: 文件上传创建