tencentcloud-sdk-nodejs 4.1.71 → 4.1.72

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 +1 @@
1
- export const sdkVersion = "4.1.71";
1
+ export const sdkVersion = "4.1.72";
@@ -0,0 +1,4 @@
1
+ import { v20250513 } from "./v20250513";
2
+ export const ai3d = {
3
+ v20250513: v20250513,
4
+ };
@@ -0,0 +1,12 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ export class Client extends AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("ai3d.tencentcloudapi.com", "2025-05-13", clientConfig);
5
+ }
6
+ async SubmitHunyuanTo3DJob(req, cb) {
7
+ return this.request("SubmitHunyuanTo3DJob", req, cb);
8
+ }
9
+ async QueryHunyuanTo3DJob(req, cb) {
10
+ return this.request("QueryHunyuanTo3DJob", req, cb);
11
+ }
12
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ai3d_models";
2
+ import { Client } from "./ai3d_client";
3
+ export const v20250513 = {
4
+ Client: Client,
5
+ Models: Models
6
+ };
@@ -4,6 +4,7 @@ export { acp } from "./acp";
4
4
  export { advisor } from "./advisor";
5
5
  export { af } from "./af";
6
6
  export { afc } from "./afc";
7
+ export { ai3d } from "./ai3d";
7
8
  export { aiart } from "./aiart";
8
9
  export { ame } from "./ame";
9
10
  export { ams } from "./ams";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.1.71",
3
+ "version": "4.1.72",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.1.71";
1
+ export declare const sdkVersion = "4.1.72";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.1.71";
4
+ exports.sdkVersion = "4.1.72";
@@ -0,0 +1,6 @@
1
+ export declare const ai3d: {
2
+ v20250513: {
3
+ Client: typeof import("./v20250513/ai3d_client").Client;
4
+ Models: typeof import("./v20250513/ai3d_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ai3d = void 0;
4
+ const v20250513_1 = require("./v20250513");
5
+ exports.ai3d = {
6
+ v20250513: v20250513_1.v20250513,
7
+ };
@@ -0,0 +1,20 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { QueryHunyuanTo3DJobRequest, SubmitHunyuanTo3DJobResponse, QueryHunyuanTo3DJobResponse, SubmitHunyuanTo3DJobRequest } from "./ai3d_models";
4
+ /**
5
+ * ai3d client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
12
+ 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
13
+ */
14
+ SubmitHunyuanTo3DJob(req: SubmitHunyuanTo3DJobRequest, cb?: (error: string, rep: SubmitHunyuanTo3DJobResponse) => void): Promise<SubmitHunyuanTo3DJobResponse>;
15
+ /**
16
+ * 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
17
+ 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
18
+ */
19
+ QueryHunyuanTo3DJob(req: QueryHunyuanTo3DJobRequest, cb?: (error: string, rep: QueryHunyuanTo3DJobResponse) => void): Promise<QueryHunyuanTo3DJobResponse>;
20
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * ai3d client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("ai3d.tencentcloudapi.com", "2025-05-13", clientConfig);
29
+ }
30
+ /**
31
+ * 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
32
+ 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
33
+ */
34
+ async SubmitHunyuanTo3DJob(req, cb) {
35
+ return this.request("SubmitHunyuanTo3DJob", req, cb);
36
+ }
37
+ /**
38
+ * 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
39
+ 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
40
+ */
41
+ async QueryHunyuanTo3DJob(req, cb) {
42
+ return this.request("QueryHunyuanTo3DJob", req, cb);
43
+ }
44
+ }
45
+ exports.Client = Client;
@@ -0,0 +1,125 @@
1
+ /**
2
+ * QueryHunyuanTo3DJob请求参数结构体
3
+ */
4
+ export interface QueryHunyuanTo3DJobRequest {
5
+ /**
6
+ * 任务ID。
7
+ */
8
+ JobId?: string;
9
+ }
10
+ /**
11
+ * 多视角图片
12
+ */
13
+ export interface ViewImage {
14
+ /**
15
+ * 视角类型。
16
+ 取值:back、left、right
17
+ */
18
+ ViewType?: string;
19
+ /**
20
+ * 图片Url地址
21
+ */
22
+ ViewImageUrl?: string;
23
+ }
24
+ /**
25
+ * SubmitHunyuanTo3DJob返回参数结构体
26
+ */
27
+ export interface SubmitHunyuanTo3DJobResponse {
28
+ /**
29
+ * 任务ID(有效期24小时)
30
+ */
31
+ JobId?: string;
32
+ /**
33
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34
+ */
35
+ RequestId?: string;
36
+ }
37
+ /**
38
+ * 3D文件
39
+ */
40
+ export interface File3D {
41
+ /**
42
+ * 3D文件的格式。取值范围:OBJ
43
+ */
44
+ Type?: string;
45
+ /**
46
+ * 文件的Url(有效期24小时)
47
+ */
48
+ Url?: string;
49
+ /**
50
+ * 预览图片Url
51
+ */
52
+ PreviewImageUrl?: string;
53
+ }
54
+ /**
55
+ * QueryHunyuanTo3DJob返回参数结构体
56
+ */
57
+ export interface QueryHunyuanTo3DJobResponse {
58
+ /**
59
+ * 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
60
+ */
61
+ Status?: string;
62
+ /**
63
+ * 错误码
64
+ */
65
+ ErrorCode?: string;
66
+ /**
67
+ * 错误信息
68
+ */
69
+ ErrorMessage?: string;
70
+ /**
71
+ * 生成的3D文件数组。
72
+ */
73
+ ResultFile3Ds?: Array<File3D>;
74
+ /**
75
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
76
+ */
77
+ RequestId?: string;
78
+ }
79
+ /**
80
+ * SubmitHunyuanTo3DJob请求参数结构体
81
+ */
82
+ export interface SubmitHunyuanTo3DJobRequest {
83
+ /**
84
+ * 文生3D,3D内容的描述,中文正向提示词。
85
+ 最多支持200个 utf-8 字符。
86
+ 文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
87
+ */
88
+ Prompt?: string;
89
+ /**
90
+ * 输入图 Base64 数据。
91
+ 大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
92
+ 格式:jpg,png,jpeg,webp。
93
+ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
94
+ */
95
+ ImageBase64?: string;
96
+ /**
97
+ * 输入图Url。
98
+ 大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
99
+ 格式:jpg,png,jpeg,webp。
100
+ ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
101
+ */
102
+ ImageUrl?: string;
103
+ /**
104
+ * 多视角的模型图片,视角参考值:
105
+ left:左视图;
106
+ right:右视图;
107
+ back:后视图;
108
+
109
+ 每个视角仅限制一张图片。
110
+ ●图片大小限制:编码后大小不可超过8M。
111
+ ●图片分辨率限制:单边分辨率小于5000且大于128。
112
+ ●支持图片格式:支持jpg或png
113
+ */
114
+ MultiViewImages?: Array<ViewImage>;
115
+ /**
116
+ * 生成模型的格式,仅限制生成一种格式。
117
+ 生成模型文件组默认返回obj格式。
118
+ 可选值:OBJ,GLB,STL,USDZ,FBX,MP4。
119
+ */
120
+ ResultFormat?: string;
121
+ /**
122
+ * 是否开启 PBR材质生成,默认 false。
123
+ */
124
+ EnablePBR?: boolean;
125
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ai3d_models";
2
+ import { Client } from "./ai3d_client";
3
+ export declare const v20250513: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20250513 = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./ai3d_models"));
6
+ const ai3d_client_1 = require("./ai3d_client");
7
+ exports.v20250513 = {
8
+ Client: ai3d_client_1.Client,
9
+ Models: Models
10
+ };
@@ -3388,6 +3388,10 @@ export interface Instance {
3388
3388
  注意:此字段可能返回 null,表示取不到有效值。
3389
3389
  */
3390
3390
  LatestOperationErrorMsg?: string;
3391
+ /**
3392
+ * 实例绑定的公网IPv6地址。
3393
+ */
3394
+ PublicIPv6Addresses?: Array<string>;
3391
3395
  }
3392
3396
  /**
3393
3397
  * CreateLaunchTemplateVersion请求参数结构体
@@ -5115,6 +5119,13 @@ export interface TerminateInstancesRequest {
5115
5119
  * 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
5116
5120
  */
5117
5121
  InstanceIds: Array<string>;
5122
+ /**
5123
+ * 释放弹性IP。EIP2.0下,仅提供主网卡下首个EIP,EIP类型限定在HighQualityEIP、AntiDDoSEIP、EIPv6、HighQualityEIPv6这几种类型。默认行为不释放。
5124
+
5125
+ 示例值:true
5126
+ 默认值:false
5127
+ */
5128
+ ReleaseAddress?: boolean;
5118
5129
  /**
5119
5130
  * 释放实例挂载的包年包月数据盘。true表示销毁实例同时释放包年包月数据盘,false表示只销毁实例。
5120
5131
  默认值:false
@@ -6243,6 +6254,52 @@ export interface InternetAccessible {
6243
6254
  * 带宽包ID。可通过[ DescribeBandwidthPackages ](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。该参数仅在RunInstances接口中作为入参使用。
6244
6255
  */
6245
6256
  BandwidthPackageId?: string;
6257
+ /**
6258
+ * 线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
6259
+
6260
+ - BGP:常规 BGP 线路
6261
+
6262
+ 已开通静态单线IP白名单的用户,可选值:
6263
+
6264
+ - CMCC:中国移动
6265
+ - CTCC:中国电信
6266
+ - CUCC:中国联通
6267
+
6268
+ 注意:仅部分地域支持静态单线IP。
6269
+ 示例值:BGP
6270
+ */
6271
+ InternetServiceProvider?: string;
6272
+ /**
6273
+ * 公网 IP 类型。
6274
+
6275
+ - WanIP:普通公网IP。
6276
+ - HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。
6277
+ - AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646)。
6278
+
6279
+ 如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。
6280
+
6281
+ 示例值:WanIP
6282
+
6283
+ 此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
6284
+ */
6285
+ IPv4AddressType?: string;
6286
+ /**
6287
+ * 弹性公网 IPv6 类型。
6288
+ - EIPv6:弹性公网 IPv6。
6289
+ - HighQualityEIPv6:精品 IPv6。仅中国香港支持精品IPv6。
6290
+
6291
+ 如需为资源分配IPv6地址,请指定弹性公网IPv6类型。
6292
+ 示例值:EIPv6
6293
+
6294
+ 此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
6295
+ */
6296
+ IPv6AddressType?: string;
6297
+ /**
6298
+ * 高防包唯一ID,申请高防IP时,该字段必传。
6299
+ 示例值:bgp-12345678
6300
+
6301
+ */
6302
+ AntiDDoSPackageId?: string;
6246
6303
  }
6247
6304
  /**
6248
6305
  * RenewHosts返回参数结构体
@@ -4,6 +4,7 @@ export { acp } from "./acp";
4
4
  export { advisor } from "./advisor";
5
5
  export { af } from "./af";
6
6
  export { afc } from "./afc";
7
+ export { ai3d } from "./ai3d";
7
8
  export { aiart } from "./aiart";
8
9
  export { ame } from "./ame";
9
10
  export { ams } from "./ams";
@@ -12,6 +12,8 @@ var af_1 = require("./af");
12
12
  Object.defineProperty(exports, "af", { enumerable: true, get: function () { return af_1.af; } });
13
13
  var afc_1 = require("./afc");
14
14
  Object.defineProperty(exports, "afc", { enumerable: true, get: function () { return afc_1.afc; } });
15
+ var ai3d_1 = require("./ai3d");
16
+ Object.defineProperty(exports, "ai3d", { enumerable: true, get: function () { return ai3d_1.ai3d; } });
15
17
  var aiart_1 = require("./aiart");
16
18
  Object.defineProperty(exports, "aiart", { enumerable: true, get: function () { return aiart_1.aiart; } });
17
19
  var ame_1 = require("./ame");
@@ -460,6 +460,9 @@ export interface ExtractDocMultiRequest {
460
460
  Table -- 表格模版
461
461
  SteelLabel -- 实物标签识别模板
462
462
  CarInsurance -- 车辆保险单识别模板
463
+ MultiRealEstateCertificate -- 房产材料识别模板
464
+ MultiRealEstateMaterial -- 房产证明识别模板
465
+ HongKongUtilityBill -- 香港水电煤单识别模板
463
466
  */
464
467
  ConfigId?: string;
465
468
  /**
@@ -3438,6 +3441,10 @@ export interface RecognizeValidIDCardOCRRequest {
3438
3441
  * 默认值为false,打开返回字段级反光和字段级完整性告警。类型为:临时、港澳台居住证、外国人居住证失效
3439
3442
  */
3440
3443
  EnableWordCheck?: boolean;
3444
+ /**
3445
+ * 默认值为false,打开返回证件是否模糊。
3446
+ */
3447
+ EnableQualityCheck?: boolean;
3441
3448
  }
3442
3449
  /**
3443
3450
  * MixedInvoiceOCR返回参数结构体
@@ -5435,6 +5442,16 @@ export interface CardWarnInfo {
5435
5442
  1:有PS
5436
5443
  */
5437
5444
  PSCheck?: number;
5445
+ /**
5446
+ * 是否模糊:
5447
+ 0:正常
5448
+ 1:模糊
5449
+ */
5450
+ BlurCheck?: number;
5451
+ /**
5452
+ * 模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
5453
+ */
5454
+ BlurScore?: number;
5438
5455
  }
5439
5456
  /**
5440
5457
  * 完税凭证