tencentcloud-sdk-nodejs-intl-en 3.0.1125 → 3.0.1127

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.1125",
3
+ "version": "3.0.1127",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -349,9 +349,7 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
349
349
  }
350
350
 
351
351
  /**
352
- * 已有替代接口ModifyLaunchConfiguration。该接口存在覆盖参数风险,目前官网已隐藏
353
-
354
- There is a replacement API: ModifyLaunchConfiguration. This API carries the risk of parameter overwriting, and it has currently been hidden on the official website.
352
+ * There is a replacement API: ModifyLaunchConfiguration. This API carries the risk of parameter overwriting, and it has currently been hidden on the official website.
355
353
  This API (UpgradeLaunchConfiguration) is used to upgrade the launch configuration.
356
354
  * This API is used to upgrade the launch configuration, adopting an "entirely overwrite" approach. Regardless of previous parameter settings, they will be uniformly replaced with new configurations as specified in the interface parameters. For non-mandatory fields, if not filled in, default values will be assigned.
357
355
  * After upgrading and modifying the launch configuration, existing instances that have been scaled out using this configuration will not undergo any changes. Subsequently, newly added instances using this upgraded launch configuration will be scaled out according to the new configuration.
@@ -657,7 +657,7 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
657
657
  /**
658
658
  * Model API key, for authentication information, please refer to the respective model's official website
659
659
 
660
- - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [Hunyuan](https://intl.cloud.tencent.com/document/product/1729/111008?from_cn_redirect=1), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
660
+ - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
661
661
 
662
662
  - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
663
663
 
@@ -729,7 +729,7 @@ HoaiMy
729
729
  this.Callers = null;
730
730
 
731
731
  /**
732
- * Used to set the AI Agent Greeting.
732
+ * Used to set the AI Agent Welcome Message.
733
733
  * @type {string || null}
734
734
  */
735
735
  this.WelcomeMessage = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1125";
1
+ const sdkVersion = "3.0.1127";
2
2
  module.exports = sdkVersion
@@ -75,6 +75,7 @@ const InquiryPriceResizeInstanceDisksRequest = models.InquiryPriceResizeInstance
75
75
  const RunInstancesResponse = models.RunInstancesResponse;
76
76
  const ReservedInstancePrice = models.ReservedInstancePrice;
77
77
  const ModifyInstancesAttributeResponse = models.ModifyInstancesAttributeResponse;
78
+ const ModifyInstancesRenewFlagRequest = models.ModifyInstancesRenewFlagRequest;
78
79
  const DescribeInstancesOperationLimitResponse = models.DescribeInstancesOperationLimitResponse;
79
80
  const SyncImagesResponse = models.SyncImagesResponse;
80
81
  const DescribeZoneInstanceConfigInfosResponse = models.DescribeZoneInstanceConfigInfosResponse;
@@ -172,6 +173,7 @@ const RemoveChcDeployVpcRequest = models.RemoveChcDeployVpcRequest;
172
173
  const InquiryPriceRunInstancesResponse = models.InquiryPriceRunInstancesResponse;
173
174
  const DescribeHostsRequest = models.DescribeHostsRequest;
174
175
  const ModifyChcAttributeRequest = models.ModifyChcAttributeRequest;
176
+ const ModifyInstancesRenewFlagResponse = models.ModifyInstancesRenewFlagResponse;
175
177
  const DescribeInstancesStatusRequest = models.DescribeInstancesStatusRequest;
176
178
  const InquiryPriceResizeInstanceDisksResponse = models.InquiryPriceResizeInstanceDisksResponse;
177
179
  const TerminateInstancesRequest = models.TerminateInstancesRequest;
@@ -680,6 +682,20 @@ If you currently use a password to log in, you will no longer be able to do so a
680
682
  this.request("ResetInstancesPassword", req, resp, cb);
681
683
  }
682
684
 
685
+ /**
686
+ * This API is used to modify the renewal flag of monthly subscription instances.
687
+
688
+ * After an instance is marked as auto-renewal, it will be automatically renewed for one month each time it expires.
689
+ * Batch operations are supported. The maximum number of instances for each request is 100.* You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
690
+ * @param {ModifyInstancesRenewFlagRequest} req
691
+ * @param {function(string, ModifyInstancesRenewFlagResponse):void} cb
692
+ * @public
693
+ */
694
+ ModifyInstancesRenewFlag(req, cb) {
695
+ let resp = new ModifyInstancesRenewFlagResponse();
696
+ this.request("ModifyInstancesRenewFlag", req, resp, cb);
697
+ }
698
+
683
699
  /**
684
700
  * This API is used to query the price for adjusting the instance model.
685
701
 
@@ -2755,6 +2755,41 @@ class ModifyInstancesAttributeResponse extends AbstractModel {
2755
2755
  }
2756
2756
  }
2757
2757
 
2758
+ /**
2759
+ * ModifyInstancesRenewFlag request structure.
2760
+ * @class
2761
+ */
2762
+ class ModifyInstancesRenewFlagRequest extends AbstractModel {
2763
+ constructor(){
2764
+ super();
2765
+
2766
+ /**
2767
+ * For one or more instance IDs to be operated. You can obtain the instance ID through the `instanceid` in the returned value from the API [DescribeInstances](https://cloud.tencent.com/document/api/213/15728). The maximum number of instances that can be operated for each request is 100.
2768
+ * @type {Array.<string> || null}
2769
+ */
2770
+ this.InstanceIds = null;
2771
+
2772
+ /**
2773
+ * Auto-renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: Notifies of expiration and performs auto-renewal.</li><li>NOTIFY_AND_MANUAL_RENEW: Notifies of expiration but does not perform auto-renewal.</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Not notifies of expiration nor perform auto-renewal.</li><br>If this parameter is specified to NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis after it expires when there is sufficient account balance.
2774
+ * @type {string || null}
2775
+ */
2776
+ this.RenewFlag = null;
2777
+
2778
+ }
2779
+
2780
+ /**
2781
+ * @private
2782
+ */
2783
+ deserialize(params) {
2784
+ if (!params) {
2785
+ return;
2786
+ }
2787
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2788
+ this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
2789
+
2790
+ }
2791
+ }
2792
+
2758
2793
  /**
2759
2794
  * DescribeInstancesOperationLimit response structure.
2760
2795
  * @class
@@ -6774,7 +6809,7 @@ false (default value): send a normal request and create instance(s) if all the r
6774
6809
  this.InstanceChargePrepaid = null;
6775
6810
 
6776
6811
  /**
6777
- *
6812
+ * Instance termination protection flag, indicating whether an instance is allowed to be deleted through an API. Valid values:<br><li>true: Instance protection is enabled, and the instance is not allowed to be deleted through the API.</li><br><li>false: Instance protection is disabled, and the instance is allowed to be deleted through the API.</li><br><br>Default value: false.
6778
6813
  * @type {boolean || null}
6779
6814
  */
6780
6815
  this.DisableApiTermination = null;
@@ -9466,6 +9501,34 @@ class ModifyChcAttributeRequest extends AbstractModel {
9466
9501
  }
9467
9502
  }
9468
9503
 
9504
+ /**
9505
+ * ModifyInstancesRenewFlag response structure.
9506
+ * @class
9507
+ */
9508
+ class ModifyInstancesRenewFlagResponse extends AbstractModel {
9509
+ constructor(){
9510
+ super();
9511
+
9512
+ /**
9513
+ * 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.
9514
+ * @type {string || null}
9515
+ */
9516
+ this.RequestId = null;
9517
+
9518
+ }
9519
+
9520
+ /**
9521
+ * @private
9522
+ */
9523
+ deserialize(params) {
9524
+ if (!params) {
9525
+ return;
9526
+ }
9527
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9528
+
9529
+ }
9530
+ }
9531
+
9469
9532
  /**
9470
9533
  * DescribeInstancesStatus request structure.
9471
9534
  * @class
@@ -11787,6 +11850,7 @@ module.exports = {
11787
11850
  RunInstancesResponse: RunInstancesResponse,
11788
11851
  ReservedInstancePrice: ReservedInstancePrice,
11789
11852
  ModifyInstancesAttributeResponse: ModifyInstancesAttributeResponse,
11853
+ ModifyInstancesRenewFlagRequest: ModifyInstancesRenewFlagRequest,
11790
11854
  DescribeInstancesOperationLimitResponse: DescribeInstancesOperationLimitResponse,
11791
11855
  SyncImagesResponse: SyncImagesResponse,
11792
11856
  DescribeZoneInstanceConfigInfosResponse: DescribeZoneInstanceConfigInfosResponse,
@@ -11884,6 +11948,7 @@ module.exports = {
11884
11948
  InquiryPriceRunInstancesResponse: InquiryPriceRunInstancesResponse,
11885
11949
  DescribeHostsRequest: DescribeHostsRequest,
11886
11950
  ModifyChcAttributeRequest: ModifyChcAttributeRequest,
11951
+ ModifyInstancesRenewFlagResponse: ModifyInstancesRenewFlagResponse,
11887
11952
  DescribeInstancesStatusRequest: DescribeInstancesStatusRequest,
11888
11953
  InquiryPriceResizeInstanceDisksResponse: InquiryPriceResizeInstanceDisksResponse,
11889
11954
  TerminateInstancesRequest: TerminateInstancesRequest,
@@ -118,7 +118,7 @@ class GetFaceIdTokenIntlResponse extends AbstractModel {
118
118
  }
119
119
 
120
120
  /**
121
- * ID cards of Hong Kong, Macao and Taiwan (China), and international passport.
121
+ * ID cards of Hong Kong (China), Macao (China) and Taiwan (China), and international passport.
122
122
  * @class
123
123
  */
124
124
  class InternationalIDPassport extends AbstractModel {
@@ -1005,7 +1005,7 @@ class ApplyWebVerificationTokenResponse extends AbstractModel {
1005
1005
  }
1006
1006
 
1007
1007
  /**
1008
- * Hong Kong ID card.
1008
+ * Hong Kong (China) ID card.
1009
1009
  * @class
1010
1010
  */
1011
1011
  class NormalHKIDCard extends AbstractModel {
@@ -1450,7 +1450,7 @@ class FileInfo extends AbstractModel {
1450
1450
  }
1451
1451
 
1452
1452
  /**
1453
- * Hong Kong ID card.
1453
+ * Hong Kong (China) ID card.
1454
1454
  * @class
1455
1455
  */
1456
1456
  class HKIDCard extends AbstractModel {
@@ -1458,7 +1458,9 @@ class HKIDCard extends AbstractModel {
1458
1458
  super();
1459
1459
 
1460
1460
  /**
1461
- *
1461
+ * Chinese name
1462
+ Note: This field may return null, indicating that no valid values can be obtained.
1463
+ Example: SAN, Nan
1462
1464
  * @type {string || null}
1463
1465
  */
1464
1466
  this.CnName = null;
@@ -1823,7 +1825,7 @@ class NormalCardInfo extends AbstractModel {
1823
1825
  super();
1824
1826
 
1825
1827
  /**
1826
- * Hong Kong ID Card
1828
+ * Hong Kong (China) ID Card
1827
1829
  Note: This field may return null, indicating that no valid values can be obtained.
1828
1830
  * @type {NormalHKIDCard || null}
1829
1831
  */
@@ -1879,7 +1881,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
1879
1881
  this.PhilippinesUMID = null;
1880
1882
 
1881
1883
  /**
1882
- * ID Cards of Hong Kong, Macao and Taiwan (China), and International Passport
1884
+ * ID Cards of Hong Kong (China), Macao (China) and Taiwan (China), and International Passport
1883
1885
  Note: This field may return null, indicating that no valid values can be obtained.
1884
1886
  * @type {InternationalIDPassport || null}
1885
1887
  */
@@ -1914,14 +1916,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
1914
1916
  this.SingaporeIDCard = null;
1915
1917
 
1916
1918
  /**
1917
- * Macao ID Card
1919
+ * Macao (China) ID Card
1918
1920
  Note: This field may return null, indicating that no valid values can be obtained.
1919
1921
  * @type {MacaoIDCard || null}
1920
1922
  */
1921
1923
  this.MacaoIDCard = null;
1922
1924
 
1923
1925
  /**
1924
- * Mainland ID Card
1926
+ * Mainland (China) ID Card
1925
1927
  Note: This field may return null, indicating that no valid values can be obtained.
1926
1928
  * @type {MainlandIDCard || null}
1927
1929
  */
@@ -1935,14 +1937,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
1935
1937
  this.JapanIDCard = null;
1936
1938
 
1937
1939
  /**
1938
- * Taiwan ID Card
1940
+ * Taiwan (China) ID Card
1939
1941
  Note: This field may return null, indicating that no valid values can be obtained.
1940
1942
  * @type {TaiWanIDCard || null}
1941
1943
  */
1942
1944
  this.TaiWanIDCard = null;
1943
1945
 
1944
1946
  /**
1945
- * exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan.
1947
+ * exit/entry permit (card) for traveling to and from Hong Kong (China), Macao (China), or Taiwan (China).
1946
1948
  Note: This field may return null, indicating that no valid values can be obtained.
1947
1949
  * @type {HMTPermit || null}
1948
1950
  */
@@ -2617,7 +2619,7 @@ When the value of `IdCardType` is `IndonesiaIDCard`:
2617
2619
  - BerlakuHingga (string): Expiry date.
2618
2620
  - IssuedDate (string): Issue date.
2619
2621
 
2620
- (5) A passport issued in Hong Kong/Macao/Taiwan (China) or other countries/regions
2622
+ (5) A passport issued in Hong Kong (China) /Macao (China) /Taiwan (China) or other countries/regions
2621
2623
  When the value of `IdCardType` is `MLIDPassport`:
2622
2624
  - FullName (string): Full name.
2623
2625
  - Surname (string): Surname.
@@ -2725,7 +2727,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
2725
2727
  }
2726
2728
 
2727
2729
  /**
2728
- * Taiwan ID card.
2730
+ * Taiwan (China) ID card.
2729
2731
  * @class
2730
2732
  */
2731
2733
  class TaiWanIDCard extends AbstractModel {
@@ -3092,7 +3094,7 @@ class CardInfo extends AbstractModel {
3092
3094
  super();
3093
3095
 
3094
3096
  /**
3095
- * Hong Kong ID Card
3097
+ * Hong Kong ID (China) Card
3096
3098
  Note: This field may return null, indicating that no valid values can be obtained.
3097
3099
  * @type {HKIDCard || null}
3098
3100
  */
@@ -3148,7 +3150,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3148
3150
  this.PhilippinesUMID = null;
3149
3151
 
3150
3152
  /**
3151
- * ID Cards of Hong Kong, Macao and Taiwan (China), and International Passport
3153
+ * ID Cards of Hong Kong (China), Macao (China) and Taiwan (China), and International Passport
3152
3154
  Note: This field may return null, indicating that no valid values can be obtained.
3153
3155
  * @type {InternationalIDPassport || null}
3154
3156
  */
@@ -3183,14 +3185,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
3183
3185
  this.SingaporeIDCard = null;
3184
3186
 
3185
3187
  /**
3186
- * Macao ID Card
3188
+ * Macao (China) ID Card
3187
3189
  Note: This field may return null, indicating that no valid values can be obtained.
3188
3190
  * @type {MacaoIDCard || null}
3189
3191
  */
3190
3192
  this.MacaoIDCard = null;
3191
3193
 
3192
3194
  /**
3193
- * TaiWan ID Card
3195
+ * TaiWan (China) ID Card
3194
3196
  Note: This field may return null, indicating that no valid values can be obtained.
3195
3197
  * @type {TaiWanIDCard || null}
3196
3198
  */
@@ -3505,7 +3507,7 @@ Example value: 3
3505
3507
  6.PhilippinesTinID: Philippines TinID card
3506
3508
  7.PhilippinesSSSID: Philippines SSSID card
3507
3509
  8.PhilippinesUMID: Philippines UMID card
3508
- 9.InternationalIDPassport: ID cards of Hong Kong, Macao and Taiwan (China), and international passport.
3510
+ 9.InternationalIDPassport: ID cards of Hong Kong (China), Macao (China) and Taiwan (China), and international passport.
3509
3511
  10.IndonesiaDrivingLicense:Indonesia driving license
3510
3512
  11.ThailandIDCard: Thailand ID card
3511
3513
  12.ThailandDrivingLicense: Thailand driving license
@@ -3515,8 +3517,8 @@ Example value: 3
3515
3517
  16.JapanIDCard: Japan ID card
3516
3518
  17.JapanDrivingLicense: Japan driving license
3517
3519
  18.PhilippinesIDCard: Philippines ID card
3518
- 19.MainlandIDCard: Mainland ID card
3519
- 20.MacaoIDCard: Macao ID card
3520
+ 19.MainlandIDCard: Mainland (China) ID card
3521
+ 20.MacaoIDCard: Macao (China) ID card
3520
3522
  Example: HKIDCard
3521
3523
  * @type {string || null}
3522
3524
  */
@@ -3612,7 +3614,7 @@ The default value is blink. The different action types passed in this parameter
3612
3614
  }
3613
3615
 
3614
3616
  /**
3615
- * Mainland ID Card OCR
3617
+ * Mainland (China) ID Card OCR
3616
3618
  * @class
3617
3619
  */
3618
3620
  class MainlandIDCard extends AbstractModel {
@@ -4370,7 +4372,7 @@ class ApplySdkVerificationTokenResponse extends AbstractModel {
4370
4372
  }
4371
4373
 
4372
4374
  /**
4373
- * Exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan
4375
+ * Exit/entry permit (card) for traveling to and from Hong Kong (China), Macao (China), or Taiwan (China)
4374
4376
  * @class
4375
4377
  */
4376
4378
  class HMTPermit extends AbstractModel {
@@ -4686,7 +4688,7 @@ SILENT is silent mode.
4686
4688
  }
4687
4689
 
4688
4690
  /**
4689
- * Macao ID Card
4691
+ * Macao (China) IDCard
4690
4692
  * @class
4691
4693
  */
4692
4694
  class MacaoIDCard extends AbstractModel {
@@ -70,13 +70,7 @@ class ImsClient extends AbstractClient {
70
70
  <div class="rno-api-explorer-inner">
71
71
  <div class="rno-api-explorer-hd">
72
72
  <div class="rno-api-explorer-title">
73
- Version iteration description
74
- </div>
75
- </div>
76
- <div class="rno-api-explorer-body">
77
- <div class="rno-api-explorer-cont">
78
- <p>The version described on this page is 2020. The IMS APIs connected to before November 3, 2020 are on v2019, and you can directly access the following URL to perform maintenance operations: <a href="https://intl.cloud.tencent.com/document/product/1125/38206?from_cn_redirect=1" target="_blank">IMS APIs v2019</a></p>
79
- <p>v2020 is an upgrade to v2019 to support more flexible multi-scenario business policy configuration and richer recognition callback information, meeting the recognition requirements of different businesses. We recommend you upgrade the APIs according to the v2020 connection guide. Meanwhile, we will continue to maintain v2019 until users no longer use it.</p>
73
+ </p>
80
74
  </div>
81
75
  </div>
82
76
  </div>
@@ -167,9 +167,7 @@ class LcicClient extends AbstractClient {
167
167
  }
168
168
 
169
169
  /**
170
- * 有新接口替换
171
-
172
- A new API is offered for this action now.
170
+ * A new API is offered for this action now.
173
171
 
174
172
  This API is used to query courseware. It has been deprecated. Please use `BatchDescribeDocument` instead.
175
173
  * @param {DescribeDocumentsRequest} req
@@ -2476,6 +2476,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
2476
2476
  */
2477
2477
  this.Preview = null;
2478
2478
 
2479
+ /**
2480
+ * Document resolution.Note: This field may return null, indicating that no valid values can be obtained.
2481
+ * @type {string || null}
2482
+ */
2483
+ this.Resolution = null;
2484
+
2485
+ /**
2486
+ * Minimum resolution of a transcoded document, consistent with the parameters provided when the document is created.Note: This field may return null, indicating that no valid values can be obtained.
2487
+ * @type {string || null}
2488
+ */
2489
+ this.MinScaleResolution = null;
2490
+
2479
2491
  }
2480
2492
 
2481
2493
  /**
@@ -2504,6 +2516,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
2504
2516
  this.Height = 'Height' in params ? params.Height : null;
2505
2517
  this.Cover = 'Cover' in params ? params.Cover : null;
2506
2518
  this.Preview = 'Preview' in params ? params.Preview : null;
2519
+ this.Resolution = 'Resolution' in params ? params.Resolution : null;
2520
+ this.MinScaleResolution = 'MinScaleResolution' in params ? params.MinScaleResolution : null;
2507
2521
 
2508
2522
  }
2509
2523
  }