tencentcloud-sdk-nodejs-intl-en 3.0.1218 → 3.0.1220

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": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1218",
3
+ "version": "3.0.1220",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -696,8 +696,6 @@ When the notification is sent to a CMQ topic or queue, the following contents ar
696
696
 
697
697
  /**
698
698
  * This API is used to create launch configurations and scaling groups based on an instance.
699
-
700
- Note: for a scaling group that is created based on a monthly-subscribed instance, the instances added for scale-out are pay-as-you-go instance.
701
699
  * @param {CreateAutoScalingGroupFromInstanceRequest} req
702
700
  * @param {function(string, CreateAutoScalingGroupFromInstanceResponse):void} cb
703
701
  * @public
@@ -9452,7 +9452,7 @@ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
9452
9452
  super();
9453
9453
 
9454
9454
  /**
9455
- * The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.
9455
+ * The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen "-" and periods. It cannot exceed 55 bytes.
9456
9456
  * @type {string || null}
9457
9457
  */
9458
9458
  this.AutoScalingGroupName = null;
@@ -9543,14 +9543,13 @@ Note: this field may return null, indicating that no valid value was found.
9543
9543
  this.BandwidthPackageId = null;
9544
9544
 
9545
9545
  /**
9546
- * Describes the line type. For details, refer to [EIP Product Overview](https://intl.cloud.tencent.com/document/product/1199/41646?from_cn_redirect=1). default value: `BGP`.
9546
+ * Describes the line type. For details, refer to [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). default value: `BGP`.
9547
9547
 
9548
9548
  <Li>BGP: general bgp line.</li>
9549
9549
  For a user who has enabled the static single-line IP allowlist, valid values include:
9550
9550
  <li>CMCC: China Mobile</li> <li>CTCC: China Telecom</li> <li>CUCC: China Unicom</li>
9551
9551
  Note: Only certain regions support static single-line IP addresses.
9552
9552
 
9553
-
9554
9553
  * @type {string || null}
9555
9554
  */
9556
9555
  this.InternetServiceProvider = null;
@@ -9558,7 +9557,8 @@ Note: Only certain regions support static single-line IP addresses.
9558
9557
  /**
9559
9558
  * Type of public IP address.
9560
9559
 
9561
- <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://cloud.tencent.com/document/product/1199/41646). </li> Specify the type of public IPv4 address to assign a public IPv4 address to the resource. Premium IP and Anti-DDoS IP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.cloud.tencent.com/workorder/category).
9560
+ <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). </li>
9561
+ Specify the type of public IPv4 address to assign a public IPv4 address to the resource. HighQualityEIP and AntiDDoSEIP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.tencentcloud.com/workorder).
9562
9562
  * @type {string || null}
9563
9563
  */
9564
9564
  this.IPv4AddressType = null;
@@ -9570,13 +9570,11 @@ Note: Only certain regions support static single-line IP addresses.
9570
9570
  this.AntiDDoSPackageId = null;
9571
9571
 
9572
9572
  /**
9573
- * Whether to delete the bound EIP when the instance is destroyed.
9573
+ * Whether to delete the bound EIP(HighQualityEIP and AntiDDoSEIP) when the instance is destroyed.
9574
9574
 
9575
9575
  Range of values:
9576
9576
 
9577
- <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>
9578
-
9579
- Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
9577
+ <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
9580
9578
  WanIP is unaffected by this field and will always be deleted with the instance.
9581
9579
  Changing this field configuration will take effect immediately for resources already bound to a scaling group.
9582
9580
  * @type {boolean || null}
@@ -77,6 +77,7 @@ const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeR
77
77
  const DeleteGatherRuleResponse = models.DeleteGatherRuleResponse;
78
78
  const ApplicableProducts = models.ApplicableProducts;
79
79
  const ConditionPayMode = models.ConditionPayMode;
80
+ const PayDealsResponse = models.PayDealsResponse;
80
81
  const DescribeCostSummaryByProjectRequest = models.DescribeCostSummaryByProjectRequest;
81
82
  const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
82
83
  const BillDetail = models.BillDetail;
@@ -88,6 +89,7 @@ const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProject
88
89
  const DescribeBillAdjustInfoRequest = models.DescribeBillAdjustInfoRequest;
89
90
  const DeleteAllocationRuleResponse = models.DeleteAllocationRuleResponse;
90
91
  const TagDataInfo = models.TagDataInfo;
92
+ const PayDealsRequest = models.PayDealsRequest;
91
93
  const SummaryTotal = models.SummaryTotal;
92
94
  const BusinessSummaryTotal = models.BusinessSummaryTotal;
93
95
  const CostComponentSet = models.CostComponentSet;
@@ -374,6 +376,17 @@ Note:
374
376
  this.request("DescribeDosageCosDetailByDate", req, resp, cb);
375
377
  }
376
378
 
379
+ /**
380
+ * This API is used to pay for an order.
381
+ * @param {PayDealsRequest} req
382
+ * @param {function(string, PayDealsResponse):void} cb
383
+ * @public
384
+ */
385
+ PayDeals(req, cb) {
386
+ let resp = new PayDealsResponse();
387
+ this.request("PayDeals", req, resp, cb);
388
+ }
389
+
377
390
  /**
378
391
  * This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
379
392
  * @param {DescribeBillDownloadUrlRequest} req
@@ -3765,6 +3765,55 @@ class ConditionPayMode extends AbstractModel {
3765
3765
  }
3766
3766
  }
3767
3767
 
3768
+ /**
3769
+ * PayDeals response structure.
3770
+ * @class
3771
+ */
3772
+ class PayDealsResponse extends AbstractModel {
3773
+ constructor(){
3774
+ super();
3775
+
3776
+ /**
3777
+ * Specifies the array of Sub-order No. with payment successful.
3778
+ * @type {Array.<string> || null}
3779
+ */
3780
+ this.OrderIds = null;
3781
+
3782
+ /**
3783
+ * Specifies the Id array of resources with payment successful.
3784
+ * @type {Array.<string> || null}
3785
+ */
3786
+ this.ResourceIds = null;
3787
+
3788
+ /**
3789
+ * Specifies the array of Order No. with payment successful.
3790
+ * @type {Array.<string> || null}
3791
+ */
3792
+ this.BigDealIds = null;
3793
+
3794
+ /**
3795
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3796
+ * @type {string || null}
3797
+ */
3798
+ this.RequestId = null;
3799
+
3800
+ }
3801
+
3802
+ /**
3803
+ * @private
3804
+ */
3805
+ deserialize(params) {
3806
+ if (!params) {
3807
+ return;
3808
+ }
3809
+ this.OrderIds = 'OrderIds' in params ? params.OrderIds : null;
3810
+ this.ResourceIds = 'ResourceIds' in params ? params.ResourceIds : null;
3811
+ this.BigDealIds = 'BigDealIds' in params ? params.BigDealIds : null;
3812
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3813
+
3814
+ }
3815
+ }
3816
+
3768
3817
  /**
3769
3818
  * DescribeCostSummaryByProject request structure.
3770
3819
  * @class
@@ -4748,6 +4797,69 @@ Note: This field may return null, indicating that no valid values can be obtaine
4748
4797
  }
4749
4798
  }
4750
4799
 
4800
+ /**
4801
+ * PayDeals request structure.
4802
+ * @class
4803
+ */
4804
+ class PayDealsRequest extends AbstractModel {
4805
+ constructor(){
4806
+ super();
4807
+
4808
+ /**
4809
+ * Specifies one or more Sub-order No. that need to pay. must pass either this parameter or the BigDealIds field, but not both.
4810
+ * @type {Array.<string> || null}
4811
+ */
4812
+ this.OrderIds = null;
4813
+
4814
+ /**
4815
+ * Whether to automatically use a voucher. valid values: 1 (yes), 0 (no). default: 0.
4816
+ * @type {number || null}
4817
+ */
4818
+ this.AutoVoucher = null;
4819
+
4820
+ /**
4821
+ * Voucher ID list. currently only supports specifying one voucher.
4822
+ * @type {Array.<string> || null}
4823
+ */
4824
+ this.VoucherIds = null;
4825
+
4826
+ /**
4827
+ * Specifies one or more Order No. that need to pay. must pass either this parameter or the OrderIds field.
4828
+ * @type {Array.<string> || null}
4829
+ */
4830
+ this.BigDealIds = null;
4831
+
4832
+ /**
4833
+ * 0 self pay, 3 group agent, 4 reseller places a product-level payment order for customers. default 0.
4834
+ * @type {number || null}
4835
+ */
4836
+ this.AgentPay = null;
4837
+
4838
+ /**
4839
+ * Disregard it.
4840
+ * @type {string || null}
4841
+ */
4842
+ this.CpsUin = null;
4843
+
4844
+ }
4845
+
4846
+ /**
4847
+ * @private
4848
+ */
4849
+ deserialize(params) {
4850
+ if (!params) {
4851
+ return;
4852
+ }
4853
+ this.OrderIds = 'OrderIds' in params ? params.OrderIds : null;
4854
+ this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
4855
+ this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
4856
+ this.BigDealIds = 'BigDealIds' in params ? params.BigDealIds : null;
4857
+ this.AgentPay = 'AgentPay' in params ? params.AgentPay : null;
4858
+ this.CpsUin = 'CpsUin' in params ? params.CpsUin : null;
4859
+
4860
+ }
4861
+ }
4862
+
4751
4863
  /**
4752
4864
  * Total cost
4753
4865
  * @class
@@ -10206,6 +10318,7 @@ module.exports = {
10206
10318
  DeleteGatherRuleResponse: DeleteGatherRuleResponse,
10207
10319
  ApplicableProducts: ApplicableProducts,
10208
10320
  ConditionPayMode: ConditionPayMode,
10321
+ PayDealsResponse: PayDealsResponse,
10209
10322
  DescribeCostSummaryByProjectRequest: DescribeCostSummaryByProjectRequest,
10210
10323
  BillDetailAssociatedOrder: BillDetailAssociatedOrder,
10211
10324
  BillDetail: BillDetail,
@@ -10217,6 +10330,7 @@ module.exports = {
10217
10330
  DescribeBillAdjustInfoRequest: DescribeBillAdjustInfoRequest,
10218
10331
  DeleteAllocationRuleResponse: DeleteAllocationRuleResponse,
10219
10332
  TagDataInfo: TagDataInfo,
10333
+ PayDealsRequest: PayDealsRequest,
10220
10334
  SummaryTotal: SummaryTotal,
10221
10335
  BusinessSummaryTotal: BusinessSummaryTotal,
10222
10336
  CostComponentSet: CostComponentSet,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1218";
1
+ const sdkVersion = "3.0.1220";
2
2
  module.exports = sdkVersion
@@ -151,6 +151,7 @@ const CopyClusterPasswordComplexityRequest = models.CopyClusterPasswordComplexit
151
151
  const CreateProxyEndPointResponse = models.CreateProxyEndPointResponse;
152
152
  const NetAddr = models.NetAddr;
153
153
  const OpenWanRequest = models.OpenWanRequest;
154
+ const ReplayInstanceAuditLogRequest = models.ReplayInstanceAuditLogRequest;
154
155
  const ModifyAccountPrivilegesResponse = models.ModifyAccountPrivilegesResponse;
155
156
  const InquirePriceCreateRequest = models.InquirePriceCreateRequest;
156
157
  const ModifyAuditServiceRequest = models.ModifyAuditServiceRequest;
@@ -307,6 +308,7 @@ const ProxyGroup = models.ProxyGroup;
307
308
  const AddClusterSlaveZoneRequest = models.AddClusterSlaveZoneRequest;
308
309
  const CloseClusterPasswordComplexityRequest = models.CloseClusterPasswordComplexityRequest;
309
310
  const DescribeIsolatedInstancesRequest = models.DescribeIsolatedInstancesRequest;
311
+ const ReplayInstanceAuditLogResponse = models.ReplayInstanceAuditLogResponse;
310
312
  const IsolateInstanceRequest = models.IsolateInstanceRequest;
311
313
  const DescribeAuditRuleTemplatesResponse = models.DescribeAuditRuleTemplatesResponse;
312
314
  const LogicBackupConfigInfo = models.LogicBackupConfigInfo;
@@ -415,6 +417,17 @@ class CynosdbClient extends AbstractClient {
415
417
  this.request("DescribeBackupConfig", req, resp, cb);
416
418
  }
417
419
 
420
+ /**
421
+ * This API is used to replay instance audit logs.
422
+ * @param {ReplayInstanceAuditLogRequest} req
423
+ * @param {function(string, ReplayInstanceAuditLogResponse):void} cb
424
+ * @public
425
+ */
426
+ ReplayInstanceAuditLog(req, cb) {
427
+ let resp = new ReplayInstanceAuditLogResponse();
428
+ this.request("ReplayInstanceAuditLog", req, resp, cb);
429
+ }
430
+
418
431
  /**
419
432
  * This API is used to modify Binlog configuration.
420
433
  * @param {ModifyBinlogConfigRequest} req
@@ -7843,6 +7843,84 @@ class OpenWanRequest extends AbstractModel {
7843
7843
  }
7844
7844
  }
7845
7845
 
7846
+ /**
7847
+ * ReplayInstanceAuditLog request structure.
7848
+ * @class
7849
+ */
7850
+ class ReplayInstanceAuditLogRequest extends AbstractModel {
7851
+ constructor(){
7852
+ super();
7853
+
7854
+ /**
7855
+ * Source cluster id.
7856
+ * @type {string || null}
7857
+ */
7858
+ this.SourceClusterId = null;
7859
+
7860
+ /**
7861
+ * Source instance id.
7862
+ * @type {string || null}
7863
+ */
7864
+ this.SourceInstanceId = null;
7865
+
7866
+ /**
7867
+ * Target cluster id.
7868
+ Specifies the target cluster must be a cluster cloned from the original cluster within three days.
7869
+ * @type {string || null}
7870
+ */
7871
+ this.TargetClusterId = null;
7872
+
7873
+ /**
7874
+ * Target instance id.
7875
+ * @type {string || null}
7876
+ */
7877
+ this.TargetInstanceId = null;
7878
+
7879
+ /**
7880
+ * Username. host must be % username.
7881
+ * @type {string || null}
7882
+ */
7883
+ this.TargetUserName = null;
7884
+
7885
+ /**
7886
+ * Password.
7887
+ * @type {string || null}
7888
+ */
7889
+ this.TargetPassword = null;
7890
+
7891
+ /**
7892
+ * Start time. time format: yyyy-DD-mm hh:mm:ss.
7893
+ * @type {string || null}
7894
+ */
7895
+ this.StartTime = null;
7896
+
7897
+ /**
7898
+ * Specifies the end time in the time format yyyy-DD-mm hh:mm:ss.
7899
+ * @type {string || null}
7900
+ */
7901
+ this.EndTime = null;
7902
+
7903
+ }
7904
+
7905
+ /**
7906
+ * @private
7907
+ */
7908
+ deserialize(params) {
7909
+ if (!params) {
7910
+ return;
7911
+ }
7912
+ this.SourceClusterId = 'SourceClusterId' in params ? params.SourceClusterId : null;
7913
+ this.SourceInstanceId = 'SourceInstanceId' in params ? params.SourceInstanceId : null;
7914
+ this.TargetClusterId = 'TargetClusterId' in params ? params.TargetClusterId : null;
7915
+ this.TargetInstanceId = 'TargetInstanceId' in params ? params.TargetInstanceId : null;
7916
+ this.TargetUserName = 'TargetUserName' in params ? params.TargetUserName : null;
7917
+ this.TargetPassword = 'TargetPassword' in params ? params.TargetPassword : null;
7918
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
7919
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
7920
+
7921
+ }
7922
+ }
7923
+
7846
7924
  /**
7847
7925
  * ModifyAccountPrivileges response structure.
7848
7926
  * @class
@@ -16125,6 +16203,41 @@ class DescribeIsolatedInstancesRequest extends AbstractModel {
16125
16203
  }
16126
16204
  }
16127
16205
 
16206
+ /**
16207
+ * ReplayInstanceAuditLog response structure.
16208
+ * @class
16209
+ */
16210
+ class ReplayInstanceAuditLogResponse extends AbstractModel {
16211
+ constructor(){
16212
+ super();
16213
+
16214
+ /**
16215
+ * Task ID.
16216
+ * @type {number || null}
16217
+ */
16218
+ this.TaskId = null;
16219
+
16220
+ /**
16221
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
16222
+ * @type {string || null}
16223
+ */
16224
+ this.RequestId = null;
16225
+
16226
+ }
16227
+
16228
+ /**
16229
+ * @private
16230
+ */
16231
+ deserialize(params) {
16232
+ if (!params) {
16233
+ return;
16234
+ }
16235
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
16236
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
16237
+
16238
+ }
16239
+ }
16240
+
16128
16241
  /**
16129
16242
  * IsolateInstance request structure.
16130
16243
  * @class
@@ -19715,6 +19828,7 @@ module.exports = {
19715
19828
  CreateProxyEndPointResponse: CreateProxyEndPointResponse,
19716
19829
  NetAddr: NetAddr,
19717
19830
  OpenWanRequest: OpenWanRequest,
19831
+ ReplayInstanceAuditLogRequest: ReplayInstanceAuditLogRequest,
19718
19832
  ModifyAccountPrivilegesResponse: ModifyAccountPrivilegesResponse,
19719
19833
  InquirePriceCreateRequest: InquirePriceCreateRequest,
19720
19834
  ModifyAuditServiceRequest: ModifyAuditServiceRequest,
@@ -19871,6 +19985,7 @@ module.exports = {
19871
19985
  AddClusterSlaveZoneRequest: AddClusterSlaveZoneRequest,
19872
19986
  CloseClusterPasswordComplexityRequest: CloseClusterPasswordComplexityRequest,
19873
19987
  DescribeIsolatedInstancesRequest: DescribeIsolatedInstancesRequest,
19988
+ ReplayInstanceAuditLogResponse: ReplayInstanceAuditLogResponse,
19874
19989
  IsolateInstanceRequest: IsolateInstanceRequest,
19875
19990
  DescribeAuditRuleTemplatesResponse: DescribeAuditRuleTemplatesResponse,
19876
19991
  LogicBackupConfigInfo: LogicBackupConfigInfo,
@@ -3487,9 +3487,9 @@ Example value: false
3487
3487
 
3488
3488
  /**
3489
3489
  * Detection mode, parameter values are as follows:
3490
- 1: OCR+living detection & face comparison;
3491
- 2: Living detection & face comparison;
3492
- 3: Living detection;
3490
+ 1: OCR+liveness detection & face comparison;
3491
+ 2: Liveness detection & face comparison;
3492
+ 3: Liveness detection;
3493
3493
  4: OCR;
3494
3494
  The default value is 2.
3495
3495
  Example value: 3
@@ -3501,24 +3501,16 @@ Example value: 3
3501
3501
  * The type of lisence used for verification. The following types are supported.
3502
3502
  1.HKIDCard: Hong Kong (China) ID card
3503
3503
  2.MLIDCard: Malaysia ID card
3504
- 3.IndonesiaIDCard: Indonesia ID card
3505
- 4.PhilippinesVoteID: Philippines VoteID card
3504
+ 3.IndonesialDCard: Indonesia ID card
3505
+ 4.PhilippinesVoteID: Philippines Vote lD card
3506
3506
  5.PhilippinesDrivingLicense: Philippines driving license
3507
3507
  6.PhilippinesTinID: Philippines TinID card
3508
3508
  7.PhilippinesSSSID: Philippines SSSID card
3509
3509
  8.PhilippinesUMID: Philippines UMID card
3510
- 9.InternationalIDPassport: ID cards of Hong Kong (China), Macao (China) and Taiwan (China), and international passport.
3511
- 10.IndonesiaDrivingLicense:Indonesia driving license
3512
- 11.ThailandIDCard: Thailand ID card
3513
- 12.ThailandDrivingLicense: Thailand driving license
3514
- 13.MLDrivingLicense: Malaysia driving license
3515
- 14.SingaporeIDCard: Singapore ID card
3516
- 15.SingaporeDrivingLicense: Singapore driving license
3517
- 16.JapanIDCard: Japan ID card
3518
- 17.JapanDrivingLicense: Japan driving license
3519
- 18.PhilippinesIDCard: Philippines ID card
3520
- 19.MainlandIDCard: Mainland (China) ID card
3521
- 20.MacaoIDCard: Macao (China) ID card
3510
+ 9.InternationallDPassport: ID cards of Hong Kong (China), Macao (China) and Taiwan (China), and international passport.
3511
+ 10.ThailandIDCard: Thailand ID card
3512
+ 11.SingaporelDCard: Singapore ID card
3513
+ 12.MainlandIDCard: Mainland (China) ID card
3522
3514
  Example: HKIDCard
3523
3515
  * @type {string || null}
3524
3516
  */
@@ -3549,7 +3541,7 @@ Example: HKIDCard
3549
3541
  this.IdCardCutReturn = null;
3550
3542
 
3551
3543
  /**
3552
- * Front-end theme color, in the format of RGB hexadecimal color code. The default value is "#2d72+1". If the format is incorrect, the default value color will be used.
3544
+ * Front-end theme color, in the format of RGB hexadecimal color code. The default value is "#2d72f1". If the format is incorrect, the default value color will be used.
3553
3545
  * @type {string || null}
3554
3546
  */
3555
3547
  this.ThemeColor = null;
@@ -4505,6 +4497,12 @@ Example: xhBQAAACBjSFJNAAB6****AAAASUVORK5CYII=
4505
4497
  */
4506
4498
  this.Extra = null;
4507
4499
 
4500
+ /**
4501
+ * The business process ID generated by the console.
4502
+ * @type {string || null}
4503
+ */
4504
+ this.RuleId = null;
4505
+
4508
4506
  /**
4509
4507
  * The parameter control the page configuration.
4510
4508
  Example: {"AutoSkip": true,"CheckMode": 1,"IdCardType": "HKIDCard"}
@@ -4524,6 +4522,7 @@ Example: {"AutoSkip": true,"CheckMode": 1,"IdCardType": "HKIDCard"}
4524
4522
  this.RedirectURL = 'RedirectURL' in params ? params.RedirectURL : null;
4525
4523
  this.CompareImageBase64 = 'CompareImageBase64' in params ? params.CompareImageBase64 : null;
4526
4524
  this.Extra = 'Extra' in params ? params.Extra : null;
4525
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
4527
4526
 
4528
4527
  if (params.Config) {
4529
4528
  let obj = new WebVerificationConfigIntl();
@@ -47,7 +47,7 @@ class ImsClient extends AbstractClient {
47
47
  * This API is used to submit an image for smart moderation. Before using it, you need to log in to the console with the Tencent Cloud root account [to activate IMS](https://console.cloud.tencent.com/cms/image/package) and adjust the business configuration.
48
48
  ### API use instructions
49
49
  - Go to the "[CMS console - IMS](https://console.cloud.tencent.com/cms/image/package)" to activate IMS.
50
- - This API is a paid API. For its billing mode, see [IMS Pricing](https://intl.cloud.tencent.com/product/ims/pricing?from_cn_redirect=1).
50
+ - This API is a paid API. For its billing mode, see [IMS Pricing](https://www.tencentcloud.com/document/product/1122/43810).
51
51
 
52
52
  ### API feature description
53
53
  - It can detect images or links and recognize content that may be offensive, unsafe, or inappropriate based on the deep learning technology;
@@ -72,6 +72,12 @@ class ImageModerationRequest extends AbstractModel {
72
72
  */
73
73
  this.Device = null;
74
74
 
75
+ /**
76
+ *
77
+ * @type {string || null}
78
+ */
79
+ this.Type = null;
80
+
75
81
  }
76
82
 
77
83
  /**
@@ -99,6 +105,7 @@ class ImageModerationRequest extends AbstractModel {
99
105
  obj.deserialize(params.Device)
100
106
  this.Device = obj;
101
107
  }
108
+ this.Type = 'Type' in params ? params.Type : null;
102
109
 
103
110
  }
104
111
  }