tencentcloud-sdk-nodejs 4.1.134 → 4.1.135
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/es/common/sdk_version.js +1 -1
- package/es/services/ocr/v20181119/ocr_client.js +3 -0
- package/es/services/tms/v20201229/tms_client.js +6 -0
- package/es/services/vclm/v20240523/vclm_client.js +6 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +4 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +272 -230
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +4 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +594 -166
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +58 -2
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +9 -1
- package/tencentcloud/services/tms/v20201229/tms_client.js +12 -0
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +187 -68
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +27 -0
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +9 -1
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +12 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +267 -195
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.135";
|
|
@@ -42,6 +42,9 @@ export class Client extends AbstractClient {
|
|
|
42
42
|
async PermitOCR(req, cb) {
|
|
43
43
|
return this.request("PermitOCR", req, cb);
|
|
44
44
|
}
|
|
45
|
+
async QuestionSplitLayoutOCR(req, cb) {
|
|
46
|
+
return this.request("QuestionSplitLayoutOCR", req, cb);
|
|
47
|
+
}
|
|
45
48
|
async BusInvoiceOCR(req, cb) {
|
|
46
49
|
return this.request("BusInvoiceOCR", req, cb);
|
|
47
50
|
}
|
|
@@ -3,7 +3,13 @@ export class Client extends AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("tms.tencentcloudapi.com", "2020-12-29", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async CreateFinancialLLMTask(req, cb) {
|
|
7
|
+
return this.request("CreateFinancialLLMTask", req, cb);
|
|
8
|
+
}
|
|
6
9
|
async TextModeration(req, cb) {
|
|
7
10
|
return this.request("TextModeration", req, cb);
|
|
8
11
|
}
|
|
12
|
+
async GetFinancialLLMTaskResult(req, cb) {
|
|
13
|
+
return this.request("GetFinancialLLMTaskResult", req, cb);
|
|
14
|
+
}
|
|
9
15
|
}
|
|
@@ -24,10 +24,16 @@ export class Client extends AbstractClient {
|
|
|
24
24
|
async SubmitTemplateToVideoJob(req, cb) {
|
|
25
25
|
return this.request("SubmitTemplateToVideoJob", req, cb);
|
|
26
26
|
}
|
|
27
|
+
async SubmitImageToVideoGeneralJob(req, cb) {
|
|
28
|
+
return this.request("SubmitImageToVideoGeneralJob", req, cb);
|
|
29
|
+
}
|
|
27
30
|
async CheckAnimateImageJob(req, cb) {
|
|
28
31
|
return this.request("CheckAnimateImageJob", req, cb);
|
|
29
32
|
}
|
|
30
33
|
async DescribeVideoStylizationJob(req, cb) {
|
|
31
34
|
return this.request("DescribeVideoStylizationJob", req, cb);
|
|
32
35
|
}
|
|
36
|
+
async DescribeImageToVideoGeneralJob(req, cb) {
|
|
37
|
+
return this.request("DescribeImageToVideoGeneralJob", req, cb);
|
|
38
|
+
}
|
|
33
39
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.135";
|
|
@@ -102,6 +102,10 @@ export interface DescribeClusterConfigsResponse {
|
|
|
102
102
|
* 是否包含CN节点
|
|
103
103
|
*/
|
|
104
104
|
HasCN?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* 实例已经存在的jar包列表
|
|
107
|
+
*/
|
|
108
|
+
ExistingJarConfList?: Array<ClusterConfigsInfoFromEMR>;
|
|
105
109
|
/**
|
|
106
110
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
107
111
|
*/
|
|
@@ -11002,6 +11002,7 @@ export interface RecordParam {
|
|
|
11002
11002
|
* 录制存储时长。
|
|
11003
11003
|
单位秒,取值范围: 0 - 1500天。
|
|
11004
11004
|
0:表示永久存储。
|
|
11005
|
+
注:此参数只对录制到VOD有效。
|
|
11005
11006
|
*/
|
|
11006
11007
|
StorageTime?: number;
|
|
11007
11008
|
/**
|
|
@@ -2033,11 +2033,11 @@ export interface ResourceRef {
|
|
|
2033
2033
|
*/
|
|
2034
2034
|
ResourceId: string;
|
|
2035
2035
|
/**
|
|
2036
|
-
*
|
|
2036
|
+
* 资源版本
|
|
2037
2037
|
*/
|
|
2038
2038
|
Version: number;
|
|
2039
2039
|
/**
|
|
2040
|
-
*
|
|
2040
|
+
* 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
|
|
2041
2041
|
*/
|
|
2042
2042
|
Type: number;
|
|
2043
2043
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest,
|
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, SubmitExtractDocAgentJobResponse, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeTableMultiOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeTableMultiOCRResponse, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -190,6 +190,12 @@ export declare class Client extends AbstractClient {
|
|
|
190
190
|
默认接口请求频率限制:10次/秒。
|
|
191
191
|
*/
|
|
192
192
|
PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框和题目元素的坐标位置。
|
|
195
|
+
|
|
196
|
+
默认接口请求频率限制:2次/秒。
|
|
197
|
+
*/
|
|
198
|
+
QuestionSplitLayoutOCR(req: QuestionSplitLayoutOCRRequest, cb?: (error: string, rep: QuestionSplitLayoutOCRResponse) => void): Promise<QuestionSplitLayoutOCRResponse>;
|
|
193
199
|
/**
|
|
194
200
|
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
195
201
|
本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
|
@@ -236,6 +236,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
236
236
|
async PermitOCR(req, cb) {
|
|
237
237
|
return this.request("PermitOCR", req, cb);
|
|
238
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框和题目元素的坐标位置。
|
|
241
|
+
|
|
242
|
+
默认接口请求频率限制:2次/秒。
|
|
243
|
+
*/
|
|
244
|
+
async QuestionSplitLayoutOCR(req, cb) {
|
|
245
|
+
return this.request("QuestionSplitLayoutOCR", req, cb);
|
|
246
|
+
}
|
|
239
247
|
/**
|
|
240
248
|
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
241
249
|
本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|