@antchain/riskplus 1.13.5 → 1.13.9

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.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -828,6 +828,8 @@ export class PersonalInfo extends $tea.Model {
828
828
  sex?: string;
829
829
  // 民族
830
830
  nation?: string;
831
+ // 婚姻状态:00-未婚,01-已婚,02-离婚,03-丧偶,99-未知
832
+ maritalStatus?: string;
831
833
  static names(): { [key: string]: string } {
832
834
  return {
833
835
  customName: 'custom_name',
@@ -844,6 +846,7 @@ export class PersonalInfo extends $tea.Model {
844
846
  address: 'address',
845
847
  sex: 'sex',
846
848
  nation: 'nation',
849
+ maritalStatus: 'marital_status',
847
850
  };
848
851
  }
849
852
 
@@ -863,6 +866,7 @@ export class PersonalInfo extends $tea.Model {
863
866
  address: 'string',
864
867
  sex: 'string',
865
868
  nation: 'string',
869
+ maritalStatus: 'string',
866
870
  };
867
871
  }
868
872
 
@@ -1109,20 +1113,16 @@ export class UpdateCustomerRelationResponseData extends $tea.Model {
1109
1113
 
1110
1114
  // 回流事件记录
1111
1115
  export class BackflowEventRecord extends $tea.Model {
1112
- // 回流事件记录分组,ACTION-触达属性组/SERVICE-业务属性组/CONVERSION-转化属性组
1113
- groupCode: string;
1114
1116
  // 回流事件部分分组后的记录list
1115
1117
  properties: BackflowEventRecordProperty[];
1116
1118
  static names(): { [key: string]: string } {
1117
1119
  return {
1118
- groupCode: 'group_code',
1119
1120
  properties: 'properties',
1120
1121
  };
1121
1122
  }
1122
1123
 
1123
1124
  static types(): { [key: string]: any } {
1124
1125
  return {
1125
- groupCode: 'string',
1126
1126
  properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
1127
1127
  };
1128
1128
  }
@@ -7522,12 +7522,15 @@ export class QueryDubbridgeSearchContractRequest extends $tea.Model {
7522
7522
  originalOrderNo: string;
7523
7523
  // 客户号
7524
7524
  customerNo: string;
7525
+ // 合同类型
7526
+ contractType?: string;
7525
7527
  static names(): { [key: string]: string } {
7526
7528
  return {
7527
7529
  authToken: 'auth_token',
7528
7530
  productInstanceId: 'product_instance_id',
7529
7531
  originalOrderNo: 'original_order_no',
7530
7532
  customerNo: 'customer_no',
7533
+ contractType: 'contract_type',
7531
7534
  };
7532
7535
  }
7533
7536
 
@@ -7537,6 +7540,7 @@ export class QueryDubbridgeSearchContractRequest extends $tea.Model {
7537
7540
  productInstanceId: 'string',
7538
7541
  originalOrderNo: 'string',
7539
7542
  customerNo: 'string',
7543
+ contractType: 'string',
7540
7544
  };
7541
7545
  }
7542
7546
 
@@ -13375,6 +13379,172 @@ export class QueryUmktCardsmsSupportResponse extends $tea.Model {
13375
13379
  }
13376
13380
  }
13377
13381
 
13382
+ export class SendUmktTextsmsBatchRequest extends $tea.Model {
13383
+ // OAuth模式下的授权token
13384
+ authToken?: string;
13385
+ productInstanceId?: string;
13386
+ // cpassAccessKey
13387
+ cpassAk?: string;
13388
+ // 行业标签
13389
+ industryTag: string;
13390
+ // 手机号json
13391
+ phoneNumberJson: string;
13392
+ // 签名信息
13393
+ signNameJson: string;
13394
+ // 文本短信模板code
13395
+ templateCode: string;
13396
+ // 文本短信模板参数
13397
+ templateParamJson: string;
13398
+ // 上行短信扩展码
13399
+ smsUpExtendCodeJson?: string;
13400
+ // 透传字段
13401
+ outId?: string;
13402
+ static names(): { [key: string]: string } {
13403
+ return {
13404
+ authToken: 'auth_token',
13405
+ productInstanceId: 'product_instance_id',
13406
+ cpassAk: 'cpass_ak',
13407
+ industryTag: 'industry_tag',
13408
+ phoneNumberJson: 'phone_number_json',
13409
+ signNameJson: 'sign_name_json',
13410
+ templateCode: 'template_code',
13411
+ templateParamJson: 'template_param_json',
13412
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
13413
+ outId: 'out_id',
13414
+ };
13415
+ }
13416
+
13417
+ static types(): { [key: string]: any } {
13418
+ return {
13419
+ authToken: 'string',
13420
+ productInstanceId: 'string',
13421
+ cpassAk: 'string',
13422
+ industryTag: 'string',
13423
+ phoneNumberJson: 'string',
13424
+ signNameJson: 'string',
13425
+ templateCode: 'string',
13426
+ templateParamJson: 'string',
13427
+ smsUpExtendCodeJson: 'string',
13428
+ outId: 'string',
13429
+ };
13430
+ }
13431
+
13432
+ constructor(map?: { [key: string]: any }) {
13433
+ super(map);
13434
+ }
13435
+ }
13436
+
13437
+ export class SendUmktTextsmsBatchResponse extends $tea.Model {
13438
+ // 请求唯一ID,用于链路跟踪和问题排查
13439
+ reqMsgId?: string;
13440
+ // 结果码,一般OK表示调用成功
13441
+ resultCode?: string;
13442
+ // 异常信息的文本描述
13443
+ resultMsg?: string;
13444
+ // 回执id
13445
+ bizId?: string;
13446
+ static names(): { [key: string]: string } {
13447
+ return {
13448
+ reqMsgId: 'req_msg_id',
13449
+ resultCode: 'result_code',
13450
+ resultMsg: 'result_msg',
13451
+ bizId: 'biz_id',
13452
+ };
13453
+ }
13454
+
13455
+ static types(): { [key: string]: any } {
13456
+ return {
13457
+ reqMsgId: 'string',
13458
+ resultCode: 'string',
13459
+ resultMsg: 'string',
13460
+ bizId: 'string',
13461
+ };
13462
+ }
13463
+
13464
+ constructor(map?: { [key: string]: any }) {
13465
+ super(map);
13466
+ }
13467
+ }
13468
+
13469
+ export class SendUmktDigitalsmsBatchRequest extends $tea.Model {
13470
+ // OAuth模式下的授权token
13471
+ authToken?: string;
13472
+ productInstanceId?: string;
13473
+ // cpassAccessKey
13474
+ cpassAk?: string;
13475
+ // 行业标签
13476
+ industryTag: string;
13477
+ // 手机号列表以,分隔
13478
+ phoneNumbers: string;
13479
+ // 数字短信模板code
13480
+ templateCode: string;
13481
+ // 短信模板参数
13482
+ templateParam: string;
13483
+ // 透传字段
13484
+ outId?: string;
13485
+ static names(): { [key: string]: string } {
13486
+ return {
13487
+ authToken: 'auth_token',
13488
+ productInstanceId: 'product_instance_id',
13489
+ cpassAk: 'cpass_ak',
13490
+ industryTag: 'industry_tag',
13491
+ phoneNumbers: 'phone_numbers',
13492
+ templateCode: 'template_code',
13493
+ templateParam: 'template_param',
13494
+ outId: 'out_id',
13495
+ };
13496
+ }
13497
+
13498
+ static types(): { [key: string]: any } {
13499
+ return {
13500
+ authToken: 'string',
13501
+ productInstanceId: 'string',
13502
+ cpassAk: 'string',
13503
+ industryTag: 'string',
13504
+ phoneNumbers: 'string',
13505
+ templateCode: 'string',
13506
+ templateParam: 'string',
13507
+ outId: 'string',
13508
+ };
13509
+ }
13510
+
13511
+ constructor(map?: { [key: string]: any }) {
13512
+ super(map);
13513
+ }
13514
+ }
13515
+
13516
+ export class SendUmktDigitalsmsBatchResponse extends $tea.Model {
13517
+ // 请求唯一ID,用于链路跟踪和问题排查
13518
+ reqMsgId?: string;
13519
+ // 结果码,一般OK表示调用成功
13520
+ resultCode?: string;
13521
+ // 异常信息的文本描述
13522
+ resultMsg?: string;
13523
+ // 回执id
13524
+ bizId?: string;
13525
+ static names(): { [key: string]: string } {
13526
+ return {
13527
+ reqMsgId: 'req_msg_id',
13528
+ resultCode: 'result_code',
13529
+ resultMsg: 'result_msg',
13530
+ bizId: 'biz_id',
13531
+ };
13532
+ }
13533
+
13534
+ static types(): { [key: string]: any } {
13535
+ return {
13536
+ reqMsgId: 'string',
13537
+ resultCode: 'string',
13538
+ resultMsg: 'string',
13539
+ bizId: 'string',
13540
+ };
13541
+ }
13542
+
13543
+ constructor(map?: { [key: string]: any }) {
13544
+ super(map);
13545
+ }
13546
+ }
13547
+
13378
13548
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
13379
13549
  // OAuth模式下的授权token
13380
13550
  authToken?: string;
@@ -13576,7 +13746,7 @@ export default class Client {
13576
13746
  req_msg_id: AntchainUtil.getNonce(),
13577
13747
  access_key: this._accessKeyId,
13578
13748
  base_sdk_version: "TeaSDK-2.0",
13579
- sdk_version: "1.13.5",
13749
+ sdk_version: "1.13.9",
13580
13750
  };
13581
13751
  if (!Util.empty(this._securityToken)) {
13582
13752
  request_.query["security_token"] = this._securityToken;
@@ -16100,6 +16270,44 @@ export default class Client {
16100
16270
  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
16271
  }
16102
16272
 
16273
+ /**
16274
+ * Description: 文本短信批量发送接口
16275
+ * Summary: 文本短信批量发送接口
16276
+ */
16277
+ async sendUmktTextsmsBatch(request: SendUmktTextsmsBatchRequest): Promise<SendUmktTextsmsBatchResponse> {
16278
+ let runtime = new $Util.RuntimeOptions({ });
16279
+ let headers : {[key: string ]: string} = { };
16280
+ return await this.sendUmktTextsmsBatchEx(request, headers, runtime);
16281
+ }
16282
+
16283
+ /**
16284
+ * Description: 文本短信批量发送接口
16285
+ * Summary: 文本短信批量发送接口
16286
+ */
16287
+ async sendUmktTextsmsBatchEx(request: SendUmktTextsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktTextsmsBatchResponse> {
16288
+ Util.validateModel(request);
16289
+ 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({}));
16290
+ }
16291
+
16292
+ /**
16293
+ * Description: 数字短信批量发送接口(单模板)
16294
+ * Summary: 数字短信批量发送接口(单模板)
16295
+ */
16296
+ async sendUmktDigitalsmsBatch(request: SendUmktDigitalsmsBatchRequest): Promise<SendUmktDigitalsmsBatchResponse> {
16297
+ let runtime = new $Util.RuntimeOptions({ });
16298
+ let headers : {[key: string ]: string} = { };
16299
+ return await this.sendUmktDigitalsmsBatchEx(request, headers, runtime);
16300
+ }
16301
+
16302
+ /**
16303
+ * Description: 数字短信批量发送接口(单模板)
16304
+ * Summary: 数字短信批量发送接口(单模板)
16305
+ */
16306
+ async sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse> {
16307
+ Util.validateModel(request);
16308
+ 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({}));
16309
+ }
16310
+
16103
16311
  /**
16104
16312
  * Description: 创建HTTP PUT提交的文件上传
16105
16313
  * Summary: 文件上传创建