tencentcloud-sdk-nodejs-intl-en 3.0.1308 → 3.0.1310

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.
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1308";
1
+ const sdkVersion = "3.0.1310";
2
2
  module.exports = sdkVersion
@@ -8446,7 +8446,11 @@ Only applicable to accounts, regions, and billing modes (annual/monthly subscrip
8446
8446
  this.MinCount = null;
8447
8447
 
8448
8448
  /**
8449
- * Instance display name. <li>if no instance display name is specified, it will display 'unnamed' by default.</li> <li>when purchasing multiple instances, if the pattern string `{R:x}` is specified, it means generating numbers `[x, x+n-1]`, where `n` represents the number of purchased instances. for example, `server_{R:3}`: when purchasing 1 instance, the instance display name is `server_3`; when purchasing 2 instances, the instance display names are `server_3` and `server_4` respectively. supports specifying multiple pattern strings `{R:x}`.</li> <li>when purchasing multiple instances without specifying a pattern string, suffixes `1, 2...n` will be added to the instance display name, where `n` represents the number of purchased instances. for example, `server_`: when purchasing 2 instances, the instance display names are `server_1` and `server_2` respectively.</li> <li>supports up to 128 characters (including pattern strings).</li>.
8449
+ * Instance display name.<br><li>If no instance display name is specified, it will display 'unnamed' by default.</li><li>Supports up to 128 characters (including pattern strings).</li><li>When purchasing multiple instances:.
8450
+ - Specify a pattern string {R:x}: Generates a numeric sequence [x, x+n-1], where n represents the number of purchased instances. For example: Input server_{R:3}. When purchasing 1 instance, the display name is server_3; when purchasing 2 instances, the display names are server_3 and server_4.
8451
+ - Specify a pattern string {R:x,F:y}: y indicates fixed digit (optional), value range [0,8], default value 0 means no fixed digit (equivalent to {R:x}). Automatically pads with zeros when digits are insufficient, for example: input server_{R:3,F:3}, when purchasing 2 instances, the instance display name is server_003, server_004. If digit count exceeds y (such as {R:99,F:2}), the actual number is used, for example: app_{R:99,F:2}, when purchasing 2 instances, the instance display name is app_99, app_100.
8452
+ - Pattern strings must strictly follow the format {R:x,F:y} or {R:x}. Invalid formats (such as {}) are treated as plain text. Multiple pattern strings are supported.
8453
+ - No pattern string specified: The display name is appended with suffix 1, 2...n, where n indicates the number of instances purchased. For example server_. When purchasing 2 instances, generates server_1 and server_2.
8450
8454
  * @type {string || null}
8451
8455
  */
8452
8456
  this.InstanceName = null;
@@ -8476,7 +8480,13 @@ Only applicable to accounts, regions, and billing modes (annual/monthly subscrip
8476
8480
  this.ClientToken = null;
8477
8481
 
8478
8482
  /**
8479
- * Hostname of an instance.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li><br><li>If you purchase multiple instances and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string `server{R:3}`. If you purchase only one instance, the hostname will be `server3`; if you purchase two, they will be `server3` and `server4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><br><li>If you purchase multiple instances without specifying a pattern string, the hostnames will be suffixed with `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase two instances with the name `server`, the hostnames will be `server1` and `server2`.</li>
8483
+ * Instance HostName.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li><br><li>When purchasing multiple instances:
8484
+ - Specify a pattern string {R:x}: Generates a numeric sequence [x, x+n-1], where n represents the number of purchased instances. For example: Input server_{R:3}. When purchasing 1 instance, the hostname is server_3; when purchasing 2 instances, the hostnames are server_3 and server_4.
8485
+ - Specify a pattern string {R:x,F:y}: y indicates fixed digit width (optional), valid range [0,8]. Default value 0 means no fixed width (equivalent to {R:x}). Insufficient digits are automatically padded with zeros. For example: Input server{R:3,F:3}. When purchasing 2 instances, the hostnames are server_003 and server_004. If the number of digits exceeds y (e.g., {R:99,F:2}), the actual digit count is used. For example: app{R:99,F:2}. When purchasing 2 instances, the hostnames are app_99 and app_100.
8486
+ - Specify a pattern string {IP}: Automatically replace with the private IP address of the instance. For example: input node-{IP}, the instance hostname is node-10.0.12.8. Supports mixed use with serial number pattern strings, such as: input web-{IP}-{R:1}, when purchasing 2 instances, the instance hostnames are web-10.0.12.8-1 and web-10.0.12.9-2 respectively.
8487
+ - Pattern strings must strictly follow the format {R:x,F:y}, {R:x}, or {IP}. Invalid formats (such as {}) are treated as plain text. Multiple pattern strings are supported.
8488
+ - No specified pattern string: add suffix 1, 2...n to instance hostname, where n means the number of purchased instances, such as server_1, server_2 when purchasing 2 instances.
8489
+ </li>
8480
8490
  * @type {string || null}
8481
8491
  */
8482
8492
  this.HostName = null;
@@ -12500,7 +12510,7 @@ Note: The static single-line IP is only supported in some regions.
12500
12510
 
12501
12511
  <Li>WanIP: specifies the public ip address.</li>.
12502
12512
  <Li>HighQualityEIP: specifies a high quality ip. high quality ip is only supported in Singapore and hong kong (china).</li>.
12503
- <li> AntiDDoSEIP: specifies the anti-ddos eip. only partial regions support anti-ddos eip. details visible in the [elastic IP product overview](https://www.tencentcloud.com/document/product/1199/41646?from_cn_redirect=1).</li>.
12513
+ <li> AntiDDoSEIP: specifies the anti-ddos eip. only partial regions support anti-ddos eip. details visible in the [elastic IP product overview](https://www.tencentcloud.comom/document/product/1199/41646?from_cn_redirect=1).</li>.
12504
12514
  If needed, assign a public IPv4 address to the resource by specifying the IPv4 address type.
12505
12515
 
12506
12516
  This feature is in beta test in selected regions. submit a ticket for consultation (https://console.cloud.tencent.com/workorder/category) if needed.
@@ -371,7 +371,7 @@ class GetSdkVerificationResultResponse extends AbstractModel {
371
371
  3 - Medium Risk
372
372
  4 - High Risk
373
373
  Empty - Risk level not obtained.
374
- Only returned for the ENHANCED version, with the default value being empty.
374
+ Only returned for the Enhance and Plus version, with the default value being empty.
375
375
  * @type {string || null}
376
376
  */
377
377
  this.DeviceInfoLevel = null;
@@ -849,6 +849,7 @@ The default value is blink. The different action types passed in this parameter
849
849
  /**
850
850
  * BASIC: Basic version (Default).
851
851
  ENHANCE: Enhance version, enable additional output of device risk level field.
852
+ PRO: Pro version, enable additional output of attack type fields.
852
853
  PLUS: Plus version, enable additional output of device risk level and attack type fields.
853
854
  Please contact us to access enhance version & plus version.
854
855
  * @type {string || null}
@@ -2171,7 +2172,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
2171
2172
  3 - Medium Risk
2172
2173
  4 - High Risk
2173
2174
  Empty - Risk level not obtained.
2174
- Only returned for the ENHANCED version, with the default value being empty.
2175
+ Only returned for the Enhance and Plus version, with the default value being empty.
2175
2176
  * @type {string || null}
2176
2177
  */
2177
2178
  this.DeviceInfoLevel = null;
@@ -2314,6 +2315,7 @@ Optional alarm codes are: -9101 (occlusion or incomplete border), -9102 (photoco
2314
2315
  /**
2315
2316
  * BASIC: Basic version (Default).
2316
2317
  ENHANCE: Enhance version, enable additional output of device risk level field.
2318
+ PRO: Pro version, enable additional output of attack type fields.
2317
2319
  PLUS: Plus version, enable additional output of device risk level and attack type fields.
2318
2320
  Please contact us to access enhance version & plus version.
2319
2321
  * @type {string || null}
@@ -16,6 +16,7 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const Convert3DFormatRequest = models.Convert3DFormatRequest;
19
20
  const ViewImage = models.ViewImage;
20
21
  const SubmitHunyuanTo3DRapidJobRequest = models.SubmitHunyuanTo3DRapidJobRequest;
21
22
  const SubmitHunyuanTo3DProJobResponse = models.SubmitHunyuanTo3DProJobResponse;
@@ -27,6 +28,7 @@ const QueryHunyuanTo3DRapidJobResponse = models.QueryHunyuanTo3DRapidJobResponse
27
28
  const QueryHunyuan3DPartJobResponse = models.QueryHunyuan3DPartJobResponse;
28
29
  const QueryHunyuanTo3DProJobResponse = models.QueryHunyuanTo3DProJobResponse;
29
30
  const SubmitHunyuan3DPartJobRequest = models.SubmitHunyuan3DPartJobRequest;
31
+ const Convert3DFormatResponse = models.Convert3DFormatResponse;
30
32
  const QueryHunyuan3DPartJobRequest = models.QueryHunyuan3DPartJobRequest;
31
33
  const SubmitHunyuanTo3DRapidJobResponse = models.SubmitHunyuanTo3DRapidJobResponse;
32
34
  const InputFile3D = models.InputFile3D;
@@ -78,6 +80,18 @@ This API is used to provide 1 concurrent task by default, which means only 1 sub
78
80
  this.request("QueryHunyuan3DPartJob", req, resp, cb);
79
81
  }
80
82
 
83
+ /**
84
+ * This API is used to intelligently generate 3D content based on the HunYuan Large Model with input text descriptions or images.
85
+ This API is used to provide 1 concurrent task by default, which means only 1 submitted task can be processed simultaneously. The next task can be processed only after the previous task is completed.
86
+ * @param {SubmitHunyuanTo3DRapidJobRequest} req
87
+ * @param {function(string, SubmitHunyuanTo3DRapidJobResponse):void} cb
88
+ * @public
89
+ */
90
+ SubmitHunyuanTo3DRapidJob(req, cb) {
91
+ let resp = new SubmitHunyuanTo3DRapidJobResponse();
92
+ this.request("SubmitHunyuanTo3DRapidJob", req, resp, cb);
93
+ }
94
+
81
95
  /**
82
96
  * This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.
83
97
  This API is used to provide 3 concurrent tasks by default, which can process 3 submitted tasks simultaneously. The next task can be processed only after the previous task is completed.
@@ -91,15 +105,14 @@ This API is used to provide 3 concurrent tasks by default, which can process 3 s
91
105
  }
92
106
 
93
107
  /**
94
- * This API is used to intelligently generate 3D content based on the HunYuan Large Model with input text descriptions or images.
95
- This API is used to provide 1 concurrent task by default, which means only 1 submitted task can be processed simultaneously. The next task can be processed only after the previous task is completed.
96
- * @param {SubmitHunyuanTo3DRapidJobRequest} req
97
- * @param {function(string, SubmitHunyuanTo3DRapidJobResponse):void} cb
108
+ * After inputting a 3D model file, the 3D model file format can be switched.
109
+ * @param {Convert3DFormatRequest} req
110
+ * @param {function(string, Convert3DFormatResponse):void} cb
98
111
  * @public
99
112
  */
100
- SubmitHunyuanTo3DRapidJob(req, cb) {
101
- let resp = new SubmitHunyuanTo3DRapidJobResponse();
102
- this.request("SubmitHunyuanTo3DRapidJob", req, resp, cb);
113
+ Convert3DFormat(req, cb) {
114
+ let resp = new Convert3DFormatResponse();
115
+ this.request("Convert3DFormat", req, resp, cb);
103
116
  }
104
117
 
105
118
  /**
@@ -16,6 +16,43 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * Convert3DFormat request structure.
21
+ * @class
22
+ */
23
+ class Convert3DFormatRequest extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * 3D file url address. model file size ≤60 mb. supports fbx, obj, and glb format 3d file input.
29
+ * @type {string || null}
30
+ */
31
+ this.File3D = null;
32
+
33
+ /**
34
+ * Returns the 3D file format. valid values: STL, USDZ, FBX, MP4, GIF.
35
+ Recommended input models below 50W, may timeout when selecting USDZ, MP4, or GIF format.
36
+ Example value: STL.
37
+ * @type {string || null}
38
+ */
39
+ this.Format = null;
40
+
41
+ }
42
+
43
+ /**
44
+ * @private
45
+ */
46
+ deserialize(params) {
47
+ if (!params) {
48
+ return;
49
+ }
50
+ this.File3D = 'File3D' in params ? params.File3D : null;
51
+ this.Format = 'Format' in params ? params.Format : null;
52
+
53
+ }
54
+ }
55
+
19
56
  /**
20
57
  * Multi-Perspective images.
21
58
  * @class
@@ -193,6 +230,15 @@ class SubmitHunyuanTo3DProJobRequest extends AbstractModel {
193
230
  constructor(){
194
231
  super();
195
232
 
233
+ /**
234
+ * Tencent HY 3D Global model version
235
+ Defaults to 3.0, with optional choices: 3.0, 3.1
236
+ When selecting version 3.1, the LowPoly parameter is unavailable
237
+ Example value:3.0
238
+ * @type {string || null}
239
+ */
240
+ this.Model = null;
241
+
196
242
  /**
197
243
  * Generates 3D content, describes 3D content.
198
244
  Supports up to 1024 utf-8 characters.
@@ -231,9 +277,13 @@ Specifies either ImageBase64/ImageUrl or Prompt is required. Prompt and ImageBas
231
277
 
232
278
  /**
233
279
  * Multi-Perspective model image. reference value for viewing angle:.
234
- left view.
235
- right view.
236
- back view.
280
+ left: Left view;
281
+ right: Right view;
282
+ back: Rear view;
283
+ top: Top view (only supported in Model 3.1);
284
+ bottom: Bottom view (only supported in Model 3.1);
285
+ left_front: Left front 45 degree view (only supported in Model 3.1);
286
+ right_front: Right front 45 degree view (only supported in Model 3.1);
237
287
 
238
288
  Each perspective is limited to one image.
239
289
  Image size limit. the value must not exceed 8 mb after encoding.
@@ -285,6 +335,7 @@ quadrilateral: mix quadrangle and triangle faces to generate.
285
335
  if (!params) {
286
336
  return;
287
337
  }
338
+ this.Model = 'Model' in params ? params.Model : null;
288
339
  this.Prompt = 'Prompt' in params ? params.Prompt : null;
289
340
  this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
290
341
  this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
@@ -600,6 +651,41 @@ class SubmitHunyuan3DPartJobRequest extends AbstractModel {
600
651
  }
601
652
  }
602
653
 
654
+ /**
655
+ * Convert3DFormat response structure.
656
+ * @class
657
+ */
658
+ class Convert3DFormatResponse extends AbstractModel {
659
+ constructor(){
660
+ super();
661
+
662
+ /**
663
+ * 3D file address.
664
+ * @type {string || null}
665
+ */
666
+ this.ResultFile3D = null;
667
+
668
+ /**
669
+ * 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.
670
+ * @type {string || null}
671
+ */
672
+ this.RequestId = null;
673
+
674
+ }
675
+
676
+ /**
677
+ * @private
678
+ */
679
+ deserialize(params) {
680
+ if (!params) {
681
+ return;
682
+ }
683
+ this.ResultFile3D = 'ResultFile3D' in params ? params.ResultFile3D : null;
684
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
685
+
686
+ }
687
+ }
688
+
603
689
  /**
604
690
  * QueryHunyuan3DPartJob request structure.
605
691
  * @class
@@ -727,6 +813,7 @@ class QueryHunyuanTo3DRapidJobRequest extends AbstractModel {
727
813
  }
728
814
 
729
815
  module.exports = {
816
+ Convert3DFormatRequest: Convert3DFormatRequest,
730
817
  ViewImage: ViewImage,
731
818
  SubmitHunyuanTo3DRapidJobRequest: SubmitHunyuanTo3DRapidJobRequest,
732
819
  SubmitHunyuanTo3DProJobResponse: SubmitHunyuanTo3DProJobResponse,
@@ -738,6 +825,7 @@ module.exports = {
738
825
  QueryHunyuan3DPartJobResponse: QueryHunyuan3DPartJobResponse,
739
826
  QueryHunyuanTo3DProJobResponse: QueryHunyuanTo3DProJobResponse,
740
827
  SubmitHunyuan3DPartJobRequest: SubmitHunyuan3DPartJobRequest,
828
+ Convert3DFormatResponse: Convert3DFormatResponse,
741
829
  QueryHunyuan3DPartJobRequest: QueryHunyuan3DPartJobRequest,
742
830
  SubmitHunyuanTo3DRapidJobResponse: SubmitHunyuanTo3DRapidJobResponse,
743
831
  InputFile3D: InputFile3D,
@@ -4005,6 +4005,13 @@ class RecognizeThaiIDCardOCRResponse extends AbstractModel {
4005
4005
  */
4006
4006
  this.CardCount = null;
4007
4007
 
4008
+ /**
4009
+ * The card information field complete or not
4010
+ true: complete; false: incomplete
4011
+ * @type {boolean || null}
4012
+ */
4013
+ this.IsComplete = null;
4014
+
4008
4015
  /**
4009
4016
  * 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.
4010
4017
  * @type {string || null}
@@ -4038,6 +4045,7 @@ class RecognizeThaiIDCardOCRResponse extends AbstractModel {
4038
4045
  this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
4039
4046
  this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
4040
4047
  this.CardCount = 'CardCount' in params ? params.CardCount : null;
4048
+ this.IsComplete = 'IsComplete' in params ? params.IsComplete : null;
4041
4049
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4042
4050
 
4043
4051
  }
@@ -8869,6 +8877,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
8869
8877
  */
8870
8878
  this.CardCount = null;
8871
8879
 
8880
+ /**
8881
+ * complete or not
8882
+ * @type {boolean || null}
8883
+ */
8884
+ this.IsComplete = null;
8885
+
8872
8886
  /**
8873
8887
  * 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.
8874
8888
  * @type {string || null}
@@ -8907,6 +8921,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
8907
8921
  }
8908
8922
  this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
8909
8923
  this.CardCount = 'CardCount' in params ? params.CardCount : null;
8924
+ this.IsComplete = 'IsComplete' in params ? params.IsComplete : null;
8910
8925
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
8911
8926
 
8912
8927
  }