tencentcloud-sdk-nodejs 4.1.84 → 4.1.85
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/index.js +1 -0
- package/es/services/ocr/v20181119/ocr_client.js +3 -0
- package/es/services/wsa/index.js +4 -0
- package/es/services/wsa/v20250508/index.js +6 -0
- package/es/services/wsa/v20250508/wsa_client.js +9 -0
- package/es/services/wsa/v20250508/wsa_models.js +0 -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/cdb/v20170320/cdb_client.d.ts +6 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -6
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +90 -78
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +12 -4
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +12 -4
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +15 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +3 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +3 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -5
- package/tencentcloud/services/live/v20180801/live_models.d.ts +21 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +11 -1
- 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 +106 -64
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +9 -9
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +9 -9
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +156 -143
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +9 -1
- package/tencentcloud/services/wsa/index.d.ts +6 -0
- package/tencentcloud/services/wsa/index.js +7 -0
- package/tencentcloud/services/wsa/v20250508/index.d.ts +6 -0
- package/tencentcloud/services/wsa/v20250508/index.js +10 -0
- package/tencentcloud/services/wsa/v20250508/wsa_client.d.ts +14 -0
- package/tencentcloud/services/wsa/v20250508/wsa_client.js +37 -0
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +46 -0
- package/tencentcloud/services/wsa/v20250508/wsa_models.js +18 -0
@@ -198,6 +198,15 @@ export interface StopAndroidInstancesAppResponse {
|
|
198
198
|
*/
|
199
199
|
RequestId?: string;
|
200
200
|
}
|
201
|
+
/**
|
202
|
+
* 应用文件 Cos 信息
|
203
|
+
*/
|
204
|
+
export interface FileCosInfo {
|
205
|
+
/**
|
206
|
+
* 文件 Id
|
207
|
+
*/
|
208
|
+
FileId: string;
|
209
|
+
}
|
201
210
|
/**
|
202
211
|
* ModifyAndroidAppVersion返回参数结构体
|
203
212
|
*/
|
@@ -1386,13 +1395,17 @@ export interface CreateAndroidInstancesScreenshotRequest {
|
|
1386
1395
|
*/
|
1387
1396
|
export interface CreateCosCredentialRequest {
|
1388
1397
|
/**
|
1389
|
-
* Cos
|
1398
|
+
* Cos 密钥类型,取值: Mobile 云手游、PC 云端游、AndroidApp 云手机应用管理、AndroidAppFile 云手机文件管理、AndroidAppBackup 云手机备份还原
|
1390
1399
|
*/
|
1391
1400
|
CosType: string;
|
1392
1401
|
/**
|
1393
|
-
*
|
1402
|
+
* 云手机应用管理 Cos 数据
|
1394
1403
|
*/
|
1395
1404
|
AndroidAppCosInfo?: AndroidAppCosInfo;
|
1405
|
+
/**
|
1406
|
+
* 云手机文件管理 Cos 数据
|
1407
|
+
*/
|
1408
|
+
AndroidAppFileCosInfo?: FileCosInfo;
|
1396
1409
|
}
|
1397
1410
|
/**
|
1398
1411
|
* InstallAndroidInstancesApp返回参数结构体
|
@@ -233,6 +233,7 @@ export { waf } from "./waf";
|
|
233
233
|
export { wav } from "./wav";
|
234
234
|
export { wedata } from "./wedata";
|
235
235
|
export { weilingwith } from "./weilingwith";
|
236
|
+
export { wsa } from "./wsa";
|
236
237
|
export { wss } from "./wss";
|
237
238
|
export { yinsuda } from "./yinsuda";
|
238
239
|
export { yunjing } from "./yunjing";
|
@@ -470,6 +470,8 @@ var wedata_1 = require("./wedata");
|
|
470
470
|
Object.defineProperty(exports, "wedata", { enumerable: true, get: function () { return wedata_1.wedata; } });
|
471
471
|
var weilingwith_1 = require("./weilingwith");
|
472
472
|
Object.defineProperty(exports, "weilingwith", { enumerable: true, get: function () { return weilingwith_1.weilingwith; } });
|
473
|
+
var wsa_1 = require("./wsa");
|
474
|
+
Object.defineProperty(exports, "wsa", { enumerable: true, get: function () { return wsa_1.wsa; } });
|
473
475
|
var wss_1 = require("./wss");
|
474
476
|
Object.defineProperty(exports, "wss", { enumerable: true, get: function () { return wss_1.wss; } });
|
475
477
|
var yinsuda_1 = require("./yinsuda");
|
@@ -63,6 +63,8 @@ export declare class Client extends AbstractClient {
|
|
63
63
|
GetWatermark(req: GetWatermarkRequest, cb?: (error: string, rep: GetWatermarkResponse) => void): Promise<GetWatermarkResponse>;
|
64
64
|
/**
|
65
65
|
* 查询白板板书截图
|
66
|
+
课程结束后,可以查询和以图片的形式导出这些内容,方便后续查看、整理与分享。
|
67
|
+
注意:不支持屏幕共享中的板书导出。
|
66
68
|
*/
|
67
69
|
DescribeWhiteBoardSnapshot(req: DescribeWhiteBoardSnapshotRequest, cb?: (error: string, rep: DescribeWhiteBoardSnapshotResponse) => void): Promise<DescribeWhiteBoardSnapshotResponse>;
|
68
70
|
/**
|
@@ -285,6 +287,7 @@ export declare class Client extends AbstractClient {
|
|
285
287
|
KickUserFromRoom(req: KickUserFromRoomRequest, cb?: (error: string, rep: KickUserFromRoomResponse) => void): Promise<KickUserFromRoomResponse>;
|
286
288
|
/**
|
287
289
|
* 删除房间
|
290
|
+
删除课堂前,请先删除该课堂下的各类资源(包括录制文件、板书等),并解绑相关课件。
|
288
291
|
*/
|
289
292
|
DeleteRoom(req: DeleteRoomRequest, cb?: (error: string, rep: DeleteRoomResponse) => void): Promise<DeleteRoomResponse>;
|
290
293
|
/**
|
@@ -109,6 +109,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
109
109
|
}
|
110
110
|
/**
|
111
111
|
* 查询白板板书截图
|
112
|
+
课程结束后,可以查询和以图片的形式导出这些内容,方便后续查看、整理与分享。
|
113
|
+
注意:不支持屏幕共享中的板书导出。
|
112
114
|
*/
|
113
115
|
async DescribeWhiteBoardSnapshot(req, cb) {
|
114
116
|
return this.request("DescribeWhiteBoardSnapshot", req, cb);
|
@@ -431,6 +433,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
431
433
|
}
|
432
434
|
/**
|
433
435
|
* 删除房间
|
436
|
+
删除课堂前,请先删除该课堂下的各类资源(包括录制文件、板书等),并解绑相关课件。
|
434
437
|
*/
|
435
438
|
async DeleteRoom(req, cb) {
|
436
439
|
return this.request("DeleteRoom", req, cb);
|
@@ -294,7 +294,7 @@ export interface DeleteUserResponse {
|
|
294
294
|
*/
|
295
295
|
export interface DeleteWhiteBoardSnapshotRequest {
|
296
296
|
/**
|
297
|
-
*
|
297
|
+
* 课堂ID
|
298
298
|
*/
|
299
299
|
RoomId?: number;
|
300
300
|
}
|
@@ -1121,7 +1121,7 @@ export interface DeleteGroupRequest {
|
|
1121
1121
|
*/
|
1122
1122
|
export interface StartRoomRequest {
|
1123
1123
|
/**
|
1124
|
-
*
|
1124
|
+
* 课堂ID
|
1125
1125
|
*/
|
1126
1126
|
RoomId: number;
|
1127
1127
|
}
|
@@ -1672,7 +1672,7 @@ export interface ForbidSendMsgRequest {
|
|
1672
1672
|
*/
|
1673
1673
|
SdkAppId: number;
|
1674
1674
|
/**
|
1675
|
-
*
|
1675
|
+
* 课堂ID
|
1676
1676
|
*/
|
1677
1677
|
RoomId: number;
|
1678
1678
|
/**
|
@@ -2588,7 +2588,7 @@ export interface GetWatermarkRequest {
|
|
2588
2588
|
*/
|
2589
2589
|
export interface EndRoomRequest {
|
2590
2590
|
/**
|
2591
|
-
*
|
2591
|
+
* 课堂ID
|
2592
2592
|
*/
|
2593
2593
|
RoomId: number;
|
2594
2594
|
}
|
@@ -2733,7 +2733,7 @@ export interface StopRecordRequest {
|
|
2733
2733
|
*/
|
2734
2734
|
SdkAppId: number;
|
2735
2735
|
/**
|
2736
|
-
*
|
2736
|
+
* 课堂ID
|
2737
2737
|
*/
|
2738
2738
|
RoomId: number;
|
2739
2739
|
/**
|
@@ -3287,6 +3287,14 @@ export interface DescribeLiveCloudEffectListResponse {
|
|
3287
3287
|
* 云端特效信息列表。
|
3288
3288
|
*/
|
3289
3289
|
InfoList?: Array<CloudEffectInfo>;
|
3290
|
+
/**
|
3291
|
+
* 允许创建的云端特效个数。
|
3292
|
+
*/
|
3293
|
+
EnableCreateNum?: number;
|
3294
|
+
/**
|
3295
|
+
* 当前已有的特效总个数。
|
3296
|
+
*/
|
3297
|
+
TotalNum?: number;
|
3290
3298
|
/**
|
3291
3299
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3292
3300
|
*/
|
@@ -9533,6 +9541,19 @@ export interface CloudEffectInfo {
|
|
9533
9541
|
* 云端特效标签。
|
9534
9542
|
*/
|
9535
9543
|
Flag?: string;
|
9544
|
+
/**
|
9545
|
+
* 云端特效生成状态。
|
9546
|
+
生成中 - GENERATING。
|
9547
|
+
处理中 - PROCESSING。
|
9548
|
+
生成失败 - FAILED。
|
9549
|
+
已完成 - FINISH。
|
9550
|
+
|
9551
|
+
*/
|
9552
|
+
Status?: string;
|
9553
|
+
/**
|
9554
|
+
* 特效信息,生成失败时,此处返回失败原因。
|
9555
|
+
*/
|
9556
|
+
Message?: string;
|
9536
9557
|
/**
|
9537
9558
|
* 云端特效预览图片。
|
9538
9559
|
*/
|
@@ -1384,6 +1384,16 @@ export interface DescribeTreeJobsRsp {
|
|
1384
1384
|
注意:此字段可能返回 null,表示取不到有效值。
|
1385
1385
|
*/
|
1386
1386
|
RequestId?: string;
|
1387
|
+
/**
|
1388
|
+
* attach-000
|
1389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1390
|
+
*/
|
1391
|
+
PageAttach?: string;
|
1392
|
+
/**
|
1393
|
+
* bool
|
1394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1395
|
+
*/
|
1396
|
+
HasMore?: boolean;
|
1387
1397
|
}
|
1388
1398
|
/**
|
1389
1399
|
* DeleteResources返回参数结构体
|
@@ -4218,7 +4228,7 @@ export interface CopyJobItem {
|
|
4218
4228
|
*/
|
4219
4229
|
export interface DescribeTreeJobsRequest {
|
4220
4230
|
/**
|
4221
|
-
*
|
4231
|
+
* 筛选条件字段,使用了筛选字段后不支持分页,最多返回2000条记录
|
4222
4232
|
*/
|
4223
4233
|
Filters?: Array<Filter>;
|
4224
4234
|
/**
|
@@ -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, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, 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, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, 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, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, 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, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, 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
|
@@ -854,6 +854,12 @@ export declare class Client extends AbstractClient {
|
|
854
854
|
默认接口请求频率限制:5次/秒。
|
855
855
|
*/
|
856
856
|
RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
|
857
|
+
/**
|
858
|
+
* 基于MLLM(多模态大语言模型)的表格识别能力,针对复杂表格的算法识别效果更佳,适配财务报表识别场景,并可输出直接对接业务系统的Excel数据。
|
859
|
+
|
860
|
+
默认接口请求频率限制:1次/秒。
|
861
|
+
*/
|
862
|
+
RecognizeTableMultiOCR(req: RecognizeTableMultiOCRRequest, cb?: (error: string, rep: RecognizeTableMultiOCRResponse) => void): Promise<RecognizeTableMultiOCRResponse>;
|
857
863
|
/**
|
858
864
|
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
859
865
|
|
@@ -1016,6 +1016,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
1016
1016
|
async RecognizeMedicalInvoiceOCR(req, cb) {
|
1017
1017
|
return this.request("RecognizeMedicalInvoiceOCR", req, cb);
|
1018
1018
|
}
|
1019
|
+
/**
|
1020
|
+
* 基于MLLM(多模态大语言模型)的表格识别能力,针对复杂表格的算法识别效果更佳,适配财务报表识别场景,并可输出直接对接业务系统的Excel数据。
|
1021
|
+
|
1022
|
+
默认接口请求频率限制:1次/秒。
|
1023
|
+
*/
|
1024
|
+
async RecognizeTableMultiOCR(req, cb) {
|
1025
|
+
return this.request("RecognizeTableMultiOCR", req, cb);
|
1026
|
+
}
|
1019
1027
|
/**
|
1020
1028
|
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
1021
1029
|
|
@@ -5731,82 +5731,32 @@ export interface GeneralBasicOCRRequest {
|
|
5731
5731
|
IsWords?: boolean;
|
5732
5732
|
}
|
5733
5733
|
/**
|
5734
|
-
*
|
5734
|
+
* RecognizeTableMultiOCR请求参数结构体
|
5735
5735
|
*/
|
5736
|
-
export interface
|
5737
|
-
/**
|
5738
|
-
* 号牌号码
|
5739
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5740
|
-
*/
|
5741
|
-
PlateNo?: string;
|
5742
|
-
/**
|
5743
|
-
* 档案编号
|
5744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5745
|
-
*/
|
5746
|
-
FileNo?: string;
|
5747
|
-
/**
|
5748
|
-
* 核定人数
|
5749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5750
|
-
*/
|
5751
|
-
AllowNum?: string;
|
5736
|
+
export interface RecognizeTableMultiOCRRequest {
|
5752
5737
|
/**
|
5753
|
-
*
|
5754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5755
|
-
*/
|
5756
|
-
TotalMass?: string;
|
5757
|
-
/**
|
5758
|
-
* 整备质量
|
5759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5760
|
-
*/
|
5761
|
-
CurbWeight?: string;
|
5762
|
-
/**
|
5763
|
-
* 核定载质量
|
5764
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5765
|
-
*/
|
5766
|
-
LoadQuality?: string;
|
5767
|
-
/**
|
5768
|
-
* 外廓尺寸
|
5769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5770
|
-
*/
|
5771
|
-
ExternalSize?: string;
|
5772
|
-
/**
|
5773
|
-
* 备注
|
5774
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5738
|
+
* 图片/PDF的 Base64 值。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 图片支持的像素范围:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5775
5739
|
*/
|
5776
|
-
|
5740
|
+
ImageBase64?: string;
|
5777
5741
|
/**
|
5778
|
-
*
|
5779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5742
|
+
* 图片/PDF的 Url 地址。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 图片支持的像素范围:需介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5780
5743
|
*/
|
5781
|
-
|
5744
|
+
ImageUrl?: string;
|
5782
5745
|
/**
|
5783
|
-
*
|
5784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5746
|
+
* 文档的起始页码。 当传入文件是PDF型时,用来指定识别的起始页码,识别的页码包含当前值。
|
5785
5747
|
*/
|
5786
|
-
|
5748
|
+
PdfStartPageNumber?: number;
|
5787
5749
|
/**
|
5788
|
-
*
|
5789
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5750
|
+
* 文档的结束页码。 当传入文件是PDF类型时,用来指定识别的结束页码,识别的页码包含当前值。单次调用最多支持识别3页内容,即PdfEndPageNumber-PdfStartPageNumber需要不大于3。
|
5790
5751
|
*/
|
5791
|
-
|
5752
|
+
PdfEndPageNumber?: number;
|
5792
5753
|
/**
|
5793
|
-
*
|
5754
|
+
* 配置选项,支持配置输出数据格式。
|
5794
5755
|
|
5795
|
-
|
5796
|
-
|
5797
|
-
FuelType?: string;
|
5798
|
-
/**
|
5799
|
-
* 住址
|
5800
|
-
*/
|
5801
|
-
AddressElectronic?: string;
|
5802
|
-
/**
|
5803
|
-
* 发证机关
|
5804
|
-
*/
|
5805
|
-
IssueAuthorityElectronic?: string;
|
5806
|
-
/**
|
5807
|
-
* 车身颜色
|
5756
|
+
* **Mdbase64** 返回 base64 编码的 markdown 格式文本。
|
5757
|
+
* **Excelbase64** 返回 base64 编码的 excel 文件。
|
5808
5758
|
*/
|
5809
|
-
|
5759
|
+
DataFormat?: string;
|
5810
5760
|
}
|
5811
5761
|
/**
|
5812
5762
|
* GeneralEfficientOCR请求参数结构体
|
@@ -5972,6 +5922,84 @@ export interface RideHailingDriverLicenseOCRResponse {
|
|
5972
5922
|
*/
|
5973
5923
|
RequestId?: string;
|
5974
5924
|
}
|
5925
|
+
/**
|
5926
|
+
* 行驶证副页正面的识别结果
|
5927
|
+
*/
|
5928
|
+
export interface TextVehicleBack {
|
5929
|
+
/**
|
5930
|
+
* 号牌号码
|
5931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5932
|
+
*/
|
5933
|
+
PlateNo?: string;
|
5934
|
+
/**
|
5935
|
+
* 档案编号
|
5936
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5937
|
+
*/
|
5938
|
+
FileNo?: string;
|
5939
|
+
/**
|
5940
|
+
* 核定人数
|
5941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5942
|
+
*/
|
5943
|
+
AllowNum?: string;
|
5944
|
+
/**
|
5945
|
+
* 总质量
|
5946
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5947
|
+
*/
|
5948
|
+
TotalMass?: string;
|
5949
|
+
/**
|
5950
|
+
* 整备质量
|
5951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5952
|
+
*/
|
5953
|
+
CurbWeight?: string;
|
5954
|
+
/**
|
5955
|
+
* 核定载质量
|
5956
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5957
|
+
*/
|
5958
|
+
LoadQuality?: string;
|
5959
|
+
/**
|
5960
|
+
* 外廓尺寸
|
5961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5962
|
+
*/
|
5963
|
+
ExternalSize?: string;
|
5964
|
+
/**
|
5965
|
+
* 备注
|
5966
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5967
|
+
*/
|
5968
|
+
Marks?: string;
|
5969
|
+
/**
|
5970
|
+
* 检验记录
|
5971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5972
|
+
*/
|
5973
|
+
Record?: string;
|
5974
|
+
/**
|
5975
|
+
* 准牵引总质量
|
5976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5977
|
+
*/
|
5978
|
+
TotalQuasiMass?: string;
|
5979
|
+
/**
|
5980
|
+
* 副页编码
|
5981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5982
|
+
*/
|
5983
|
+
SubPageCode?: string;
|
5984
|
+
/**
|
5985
|
+
* 燃料种类
|
5986
|
+
|
5987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5988
|
+
*/
|
5989
|
+
FuelType?: string;
|
5990
|
+
/**
|
5991
|
+
* 住址
|
5992
|
+
*/
|
5993
|
+
AddressElectronic?: string;
|
5994
|
+
/**
|
5995
|
+
* 发证机关
|
5996
|
+
*/
|
5997
|
+
IssueAuthorityElectronic?: string;
|
5998
|
+
/**
|
5999
|
+
* 车身颜色
|
6000
|
+
*/
|
6001
|
+
CarBodyColor?: string;
|
6002
|
+
}
|
5975
6003
|
/**
|
5976
6004
|
* ImageEnhancement请求参数结构体
|
5977
6005
|
*/
|
@@ -6642,6 +6670,20 @@ export interface CarInvoiceInfo {
|
|
6642
6670
|
*/
|
6643
6671
|
Polygon?: Polygon;
|
6644
6672
|
}
|
6673
|
+
/**
|
6674
|
+
* RecognizeTableMultiOCR返回参数结构体
|
6675
|
+
*/
|
6676
|
+
export interface RecognizeTableMultiOCRResponse {
|
6677
|
+
/**
|
6678
|
+
* Base64 编码后的 Excel 数据或 Markdown 数据。 注意:此字段可能返回空,表示取不到有效值。
|
6679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6680
|
+
*/
|
6681
|
+
DataBase64?: string;
|
6682
|
+
/**
|
6683
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6684
|
+
*/
|
6685
|
+
RequestId?: string;
|
6686
|
+
}
|
6645
6687
|
/**
|
6646
6688
|
* 机票行程单识别结果
|
6647
6689
|
*/
|
@@ -66,11 +66,11 @@ export declare class Client extends AbstractClient {
|
|
66
66
|
*/
|
67
67
|
DescribeDBInstanceParameters(req: DescribeDBInstanceParametersRequest, cb?: (error: string, rep: DescribeDBInstanceParametersResponse) => void): Promise<DescribeDBInstanceParametersResponse>;
|
68
68
|
/**
|
69
|
-
* 本接口(CreateDBInstanceNetworkAccess
|
69
|
+
* 本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。单个实例允许创建的网络配置最多为2套,最少为1套。
|
70
70
|
*/
|
71
71
|
CreateDBInstanceNetworkAccess(req: CreateDBInstanceNetworkAccessRequest, cb?: (error: string, rep: CreateDBInstanceNetworkAccessResponse) => void): Promise<CreateDBInstanceNetworkAccessResponse>;
|
72
72
|
/**
|
73
|
-
* 本接口(ModifyDBInstanceSpec
|
73
|
+
* 本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘、Cpu。
|
74
74
|
*/
|
75
75
|
ModifyDBInstanceSpec(req: ModifyDBInstanceSpecRequest, cb?: (error: string, rep: ModifyDBInstanceSpecResponse) => void): Promise<ModifyDBInstanceSpecResponse>;
|
76
76
|
/**
|
@@ -233,7 +233,7 @@ export declare class Client extends AbstractClient {
|
|
233
233
|
*/
|
234
234
|
RebalanceReadOnlyGroup(req: RebalanceReadOnlyGroupRequest, cb?: (error: string, rep: RebalanceReadOnlyGroupResponse) => void): Promise<RebalanceReadOnlyGroupResponse>;
|
235
235
|
/**
|
236
|
-
* 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO
|
236
|
+
* 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。创建网络的数量最多为2个。
|
237
237
|
*/
|
238
238
|
CreateReadOnlyGroupNetworkAccess(req: CreateReadOnlyGroupNetworkAccessRequest, cb?: (error: string, rep: CreateReadOnlyGroupNetworkAccessResponse) => void): Promise<CreateReadOnlyGroupNetworkAccessResponse>;
|
239
239
|
/**
|
@@ -274,8 +274,8 @@ export declare class Client extends AbstractClient {
|
|
274
274
|
DescribeDBInstanceAttribute(req: DescribeDBInstanceAttributeRequest, cb?: (error: string, rep: DescribeDBInstanceAttributeResponse) => void): Promise<DescribeDBInstanceAttributeResponse>;
|
275
275
|
/**
|
276
276
|
* 本接口(ModifyDBInstanceHAConfig)用于修改实例HA配置信息。其中HA配置信息包括:
|
277
|
-
<li
|
278
|
-
<li
|
277
|
+
<li>允许备节点切换为主节点的条件配置</li>
|
278
|
+
<li>半同步实例使用同步复制或异步复制的条件配置</li>
|
279
279
|
*/
|
280
280
|
ModifyDBInstanceHAConfig(req: ModifyDBInstanceHAConfigRequest, cb?: (error: string, rep: ModifyDBInstanceHAConfigResponse) => void): Promise<ModifyDBInstanceHAConfigResponse>;
|
281
281
|
/**
|
@@ -352,9 +352,9 @@ export declare class Client extends AbstractClient {
|
|
352
352
|
DescribeOrders(req: DescribeOrdersRequest, cb?: (error: string, rep: DescribeOrdersResponse) => void): Promise<DescribeOrdersResponse>;
|
353
353
|
/**
|
354
354
|
* 本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
|
355
|
-
<li
|
356
|
-
<li
|
357
|
-
<li
|
355
|
+
<li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景</li>
|
356
|
+
<li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换</li>
|
357
|
+
<li>只有主实例可以执行该操作</li>
|
358
358
|
*/
|
359
359
|
SwitchDBInstancePrimary(req: SwitchDBInstancePrimaryRequest, cb?: (error: string, rep: SwitchDBInstancePrimaryResponse) => void): Promise<SwitchDBInstancePrimaryResponse>;
|
360
360
|
/**
|
@@ -378,7 +378,7 @@ export declare class Client extends AbstractClient {
|
|
378
378
|
*/
|
379
379
|
ModifyDatabaseOwner(req: ModifyDatabaseOwnerRequest, cb?: (error: string, rep: ModifyDatabaseOwnerResponse) => void): Promise<ModifyDatabaseOwnerResponse>;
|
380
380
|
/**
|
381
|
-
* 此接口用于删除数据库账号,需要同时输入Oid与UserName
|
381
|
+
* 此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。注:该接口可重入,如果账号已经不存在,调用此接口进行删除时不会报错。
|
382
382
|
*/
|
383
383
|
DeleteAccount(req: DeleteAccountRequest, cb?: (error: string, rep: DeleteAccountResponse) => void): Promise<DeleteAccountResponse>;
|
384
384
|
/**
|
@@ -114,13 +114,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
114
114
|
return this.request("DescribeDBInstanceParameters", req, cb);
|
115
115
|
}
|
116
116
|
/**
|
117
|
-
* 本接口(CreateDBInstanceNetworkAccess
|
117
|
+
* 本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。单个实例允许创建的网络配置最多为2套,最少为1套。
|
118
118
|
*/
|
119
119
|
async CreateDBInstanceNetworkAccess(req, cb) {
|
120
120
|
return this.request("CreateDBInstanceNetworkAccess", req, cb);
|
121
121
|
}
|
122
122
|
/**
|
123
|
-
* 本接口(ModifyDBInstanceSpec
|
123
|
+
* 本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘、Cpu。
|
124
124
|
*/
|
125
125
|
async ModifyDBInstanceSpec(req, cb) {
|
126
126
|
return this.request("ModifyDBInstanceSpec", req, cb);
|
@@ -361,7 +361,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
361
361
|
return this.request("RebalanceReadOnlyGroup", req, cb);
|
362
362
|
}
|
363
363
|
/**
|
364
|
-
* 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO
|
364
|
+
* 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。创建网络的数量最多为2个。
|
365
365
|
*/
|
366
366
|
async CreateReadOnlyGroupNetworkAccess(req, cb) {
|
367
367
|
return this.request("CreateReadOnlyGroupNetworkAccess", req, cb);
|
@@ -422,8 +422,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
422
422
|
}
|
423
423
|
/**
|
424
424
|
* 本接口(ModifyDBInstanceHAConfig)用于修改实例HA配置信息。其中HA配置信息包括:
|
425
|
-
<li
|
426
|
-
<li
|
425
|
+
<li>允许备节点切换为主节点的条件配置</li>
|
426
|
+
<li>半同步实例使用同步复制或异步复制的条件配置</li>
|
427
427
|
*/
|
428
428
|
async ModifyDBInstanceHAConfig(req, cb) {
|
429
429
|
return this.request("ModifyDBInstanceHAConfig", req, cb);
|
@@ -538,9 +538,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
538
538
|
}
|
539
539
|
/**
|
540
540
|
* 本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
|
541
|
-
<li
|
542
|
-
<li
|
543
|
-
<li
|
541
|
+
<li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景</li>
|
542
|
+
<li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换</li>
|
543
|
+
<li>只有主实例可以执行该操作</li>
|
544
544
|
*/
|
545
545
|
async SwitchDBInstancePrimary(req, cb) {
|
546
546
|
return this.request("SwitchDBInstancePrimary", req, cb);
|
@@ -576,7 +576,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
576
576
|
return this.request("ModifyDatabaseOwner", req, cb);
|
577
577
|
}
|
578
578
|
/**
|
579
|
-
* 此接口用于删除数据库账号,需要同时输入Oid与UserName
|
579
|
+
* 此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。注:该接口可重入,如果账号已经不存在,调用此接口进行删除时不会报错。
|
580
580
|
*/
|
581
581
|
async DeleteAccount(req, cb) {
|
582
582
|
return this.request("DeleteAccount", req, cb);
|