tencentcloud-sdk-nodejs 4.0.821 → 4.0.822

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +330 -0
  2. package/SERVICE_CHANGELOG.md +502 -60
  3. package/package.json +4 -2
  4. package/products.md +17 -17
  5. package/src/common/abstract_client.ts +36 -6
  6. package/src/common/exception/tencent_cloud_sdk_exception.ts +17 -3
  7. package/src/common/sdk_version.ts +1 -1
  8. package/src/services/asr/v20190614/asr_client.ts +1 -1
  9. package/src/services/asr/v20190614/asr_models.ts +1 -2
  10. package/src/services/ccc/v20200210/ccc_client.ts +52 -14
  11. package/src/services/ccc/v20200210/ccc_models.ts +234 -15
  12. package/src/services/cdwpg/v20201230/cdwpg_models.ts +4 -0
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +38 -12
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +396 -304
  15. package/src/services/clb/v20180317/clb_models.ts +0 -1
  16. package/src/services/csip/v20221121/csip_models.ts +9 -8
  17. package/src/services/dlc/v20210125/dlc_models.ts +2 -0
  18. package/src/services/dsgc/v20190723/dsgc_models.ts +8 -0
  19. package/src/services/es/v20180416/es_client.ts +2 -1
  20. package/src/services/es/v20180416/es_models.ts +94 -41
  21. package/src/services/ess/v20201111/ess_models.ts +16 -9
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +14 -7
  23. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +356 -72
  24. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +1375 -314
  25. package/src/services/ocr/v20181119/ocr_client.ts +26 -11
  26. package/src/services/ocr/v20181119/ocr_models.ts +168 -14
  27. package/src/services/tione/v20211111/tione_models.ts +7 -2
  28. package/src/services/tts/v20190823/tts_models.ts +5 -0
  29. package/src/services/vod/v20180717/vod_models.ts +5 -15
  30. package/src/services/wedata/v20210820/wedata_models.ts +92 -22
  31. package/tencentcloud/common/abstract_client.js +32 -6
  32. package/tencentcloud/common/exception/tencent_cloud_sdk_exception.d.ts +6 -1
  33. package/tencentcloud/common/exception/tencent_cloud_sdk_exception.js +11 -3
  34. package/tencentcloud/common/sdk_version.d.ts +1 -1
  35. package/tencentcloud/common/sdk_version.js +1 -1
  36. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  37. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  38. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -2
  39. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +17 -5
  40. package/tencentcloud/services/ccc/v20200210/ccc_client.js +24 -6
  41. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +226 -15
  42. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +4 -0
  43. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
  44. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
  45. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +393 -307
  46. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +0 -1
  47. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +9 -8
  48. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -0
  49. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +8 -0
  50. package/tencentcloud/services/es/v20180416/es_client.d.ts +1 -1
  51. package/tencentcloud/services/es/v20180416/es_models.d.ts +93 -41
  52. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -9
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +14 -7
  54. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +109 -17
  55. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +162 -24
  56. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1320 -313
  57. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -5
  58. package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -5
  59. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +163 -14
  60. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +7 -2
  61. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +5 -0
  62. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -15
  63. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +92 -22
  64. package/test/ccc.v20200210.test.js +34 -4
  65. package/test/ckafka.v20190819.test.js +22 -2
  66. package/test/iotexplorer.v20190423.test.js +246 -16
  67. package/test/ocr.v20181119.test.js +12 -2
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, ReconstructDocumentResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
4
4
  /**
5
5
  * ocr client
6
6
  * @class
@@ -345,6 +345,12 @@ export declare class Client extends AbstractClient {
345
345
  默认接口请求频率限制:5次/秒。
346
346
  */
347
347
  InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
348
+ /**
349
+ * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
350
+
351
+ 默认接口请求频率限制:5次/秒。
352
+ */
353
+ RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
348
354
  /**
349
355
  * 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
350
356
  */
@@ -754,11 +760,9 @@ export declare class Client extends AbstractClient {
754
760
  */
755
761
  EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
756
762
  /**
757
- * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
758
-
759
- 默认接口请求频率限制:5次/秒。
763
+ * 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
760
764
  */
761
- RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
765
+ ReconstructDocument(req: ReconstructDocumentRequest, cb?: (error: string, rep: ReconstructDocumentResponse) => void): Promise<ReconstructDocumentResponse>;
762
766
  /**
763
767
  * 菲律宾TinID识别
764
768
  */
@@ -427,6 +427,14 @@ class Client extends abstract_client_1.AbstractClient {
427
427
  async InvoiceGeneralOCR(req, cb) {
428
428
  return this.request("InvoiceGeneralOCR", req, cb);
429
429
  }
430
+ /**
431
+ * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
432
+
433
+ 默认接口请求频率限制:5次/秒。
434
+ */
435
+ async RideHailingTransportLicenseOCR(req, cb) {
436
+ return this.request("RideHailingTransportLicenseOCR", req, cb);
437
+ }
430
438
  /**
431
439
  * 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
432
440
  */
@@ -932,12 +940,10 @@ class Client extends abstract_client_1.AbstractClient {
932
940
  return this.request("EduPaperOCR", req, cb);
933
941
  }
934
942
  /**
935
- * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
936
-
937
- 默认接口请求频率限制:5次/秒。
943
+ * 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
938
944
  */
939
- async RideHailingTransportLicenseOCR(req, cb) {
940
- return this.request("RideHailingTransportLicenseOCR", req, cb);
945
+ async ReconstructDocument(req, cb) {
946
+ return this.request("ReconstructDocument", req, cb);
941
947
  }
942
948
  /**
943
949
  * 菲律宾TinID识别
@@ -288,6 +288,19 @@ export interface CarInvoiceOCRRequest {
288
288
  */
289
289
  PdfPageNumber?: number;
290
290
  }
291
+ /**
292
+ * 识别结果
293
+ */
294
+ export interface TextDetectionResult {
295
+ /**
296
+ * 识别出的文本行内容
297
+ */
298
+ Value: string;
299
+ /**
300
+ * 坐标,以四个顶点坐标表示
301
+ */
302
+ Polygon: Array<Coord>;
303
+ }
291
304
  /**
292
305
  * 混贴票据单张发票识别信息
293
306
  */
@@ -5285,6 +5298,54 @@ export interface WordCoordPoint {
5285
5298
  */
5286
5299
  WordCoordinate: Array<Coord>;
5287
5300
  }
5301
+ /**
5302
+ * 单页文档识别的内容
5303
+ */
5304
+ export interface DocumentRecognizeInfo {
5305
+ /**
5306
+ * 输入PDF文件的页码,从1开始。输入图片的话值始终为1
5307
+ 注意:此字段可能返回 null,表示取不到有效值。
5308
+ */
5309
+ PageNumber?: number;
5310
+ /**
5311
+ * 旋转角度
5312
+
5313
+ 注意:此字段可能返回 null,表示取不到有效值。
5314
+ * @deprecated
5315
+ */
5316
+ Angle?: number;
5317
+ /**
5318
+ * AI算法识别处理后的图片高度
5319
+ 注意:此字段可能返回 null,表示取不到有效值。
5320
+ */
5321
+ Height?: number;
5322
+ /**
5323
+ * AI算法识别处理后的图片宽度
5324
+ 注意:此字段可能返回 null,表示取不到有效值。
5325
+ */
5326
+ Width?: number;
5327
+ /**
5328
+ * 图片的原始高度,输入PDF文件则表示单页PDF转图片之后的图片高度
5329
+ 注意:此字段可能返回 null,表示取不到有效值。
5330
+ */
5331
+ OriginHeight?: number;
5332
+ /**
5333
+ * 图片的原始宽度,输入PDF文件则表示单页PDF转图片之后的图片宽度
5334
+ 注意:此字段可能返回 null,表示取不到有效值。
5335
+ */
5336
+ OriginWidth?: number;
5337
+ /**
5338
+ * 文档元素信息
5339
+ 注意:此字段可能返回 null,表示取不到有效值。
5340
+ */
5341
+ Elements?: Array<DocumentElement>;
5342
+ /**
5343
+ * 旋转角度
5344
+
5345
+ 注意:此字段可能返回 null,表示取不到有效值。
5346
+ */
5347
+ RotatedAngle?: number;
5348
+ }
5288
5349
  /**
5289
5350
  * LicensePlateOCR请求参数结构体
5290
5351
  */
@@ -5514,6 +5575,30 @@ export interface RecognizeIndonesiaIDCardOCRResponse {
5514
5575
  */
5515
5576
  RequestId?: string;
5516
5577
  }
5578
+ /**
5579
+ * ReconstructDocument返回参数结构体
5580
+ */
5581
+ export interface ReconstructDocumentResponse {
5582
+ /**
5583
+ * 识别生成的Markdown文件base64编码的字符串
5584
+ 注意:此字段可能返回 null,表示取不到有效值。
5585
+ */
5586
+ MarkdownBase64?: string;
5587
+ /**
5588
+ * 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
5589
+ 注意:此字段可能返回 null,表示取不到有效值。
5590
+ */
5591
+ InsetImagePackage?: string;
5592
+ /**
5593
+ * 输入文件中嵌入的图片中文字内容的识别结果
5594
+ 注意:此字段可能返回 null,表示取不到有效值。
5595
+ */
5596
+ DocumentRecognizeInfo?: Array<DocumentRecognizeInfo>;
5597
+ /**
5598
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5599
+ */
5600
+ RequestId?: string;
5601
+ }
5517
5602
  /**
5518
5603
  * GeneralEfficientOCR请求参数结构体
5519
5604
  */
@@ -6073,17 +6158,51 @@ export interface FlightInvoiceOCRResponse {
6073
6158
  RequestId?: string;
6074
6159
  }
6075
6160
  /**
6076
- * 识别结果
6161
+ * ShipInvoiceOCR返回参数结构体
6077
6162
  */
6078
- export interface TextDetectionResult {
6163
+ export interface ShipInvoiceOCRResponse {
6079
6164
  /**
6080
- * 识别出的文本行内容
6165
+ * 轮船票识别结果,具体内容请点击左侧链接。
6081
6166
  */
6082
- Value: string;
6167
+ ShipInvoiceInfos?: Array<ShipInvoiceInfo>;
6083
6168
  /**
6084
- * 坐标,以四个顶点坐标表示
6169
+ * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
6085
6170
  */
6086
- Polygon: Array<Coord>;
6171
+ Angle?: number;
6172
+ /**
6173
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6174
+ */
6175
+ RequestId?: string;
6176
+ }
6177
+ /**
6178
+ * ReconstructDocument请求参数结构体
6179
+ */
6180
+ export interface ReconstructDocumentRequest {
6181
+ /**
6182
+ * PDF,Image
6183
+ */
6184
+ FileType: string;
6185
+ /**
6186
+ * 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6187
+ */
6188
+ FileBase64?: string;
6189
+ /**
6190
+ * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6191
+ */
6192
+ FileUrl?: string;
6193
+ /**
6194
+ * 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
6195
+ */
6196
+ FileStartPageNumber?: number;
6197
+ /**
6198
+ * 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
6199
+ 单次调用,最多支持10页pdf的智能识别。
6200
+ */
6201
+ FileEndPageNumber?: number;
6202
+ /**
6203
+ * 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
6204
+ */
6205
+ Config?: ReconstructDocumentConfig;
6087
6206
  }
6088
6207
  /**
6089
6208
  * InstitutionOCR请求参数结构体
@@ -7857,21 +7976,42 @@ export interface MedicalInvoiceItem {
7857
7976
  Coord: Rect;
7858
7977
  }
7859
7978
  /**
7860
- * ShipInvoiceOCR返回参数结构体
7979
+ * 文档元素字段
7861
7980
  */
7862
- export interface ShipInvoiceOCRResponse {
7981
+ export interface DocumentElement {
7863
7982
  /**
7864
- * 轮船票识别结果,具体内容请点击左侧链接。
7983
+ * 文档元素索引
7984
+ 注意:此字段可能返回 null,表示取不到有效值。
7865
7985
  */
7866
- ShipInvoiceInfos?: Array<ShipInvoiceInfo>;
7986
+ Index?: number;
7867
7987
  /**
7868
- * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
7988
+ * 元素类型,包括paragraph、table、formula、figure、title、header、footer、figure_text
7989
+
7990
+ 注意:此字段可能返回 null,表示取不到有效值。
7869
7991
  */
7870
- Angle?: number;
7992
+ Type?: string;
7871
7993
  /**
7872
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7994
+ * 元素内容,当type为figure或formula(公式识别关闭)时该字段内容为图片的位置
7995
+
7996
+ 注意:此字段可能返回 null,表示取不到有效值。
7873
7997
  */
7874
- RequestId?: string;
7998
+ Text?: string;
7999
+ /**
8000
+ * 元素坐标,左上角(x1, y1),右上角(x2, y2),右下角(x3, y3),左下角(x4, y4)
8001
+
8002
+ 注意:此字段可能返回 null,表示取不到有效值。
8003
+ */
8004
+ Polygon?: Polygon;
8005
+ /**
8006
+ * 元素层级
8007
+ 注意:此字段可能返回 null,表示取不到有效值。
8008
+ */
8009
+ Level?: number;
8010
+ /**
8011
+ * 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
8012
+ 注意:此字段可能返回 null,表示取不到有效值。
8013
+ */
8014
+ Elements?: Array<DocumentElement>;
7875
8015
  }
7876
8016
  /**
7877
8017
  * RecognizeGeneralInvoice返回参数结构体
@@ -9201,6 +9341,15 @@ export interface WaybillOCRRequest {
9201
9341
  */
9202
9342
  PdfPageNumber?: number;
9203
9343
  }
9344
+ /**
9345
+ * ReconstructDocument配置选项
9346
+ */
9347
+ export interface ReconstructDocumentConfig {
9348
+ /**
9349
+ * 生成的Markdown中是否嵌入图片
9350
+ */
9351
+ EnableInsetImage?: boolean;
9352
+ }
9204
9353
  /**
9205
9354
  * VinOCR请求参数结构体
9206
9355
  */
@@ -146,7 +146,7 @@ export interface CreateModelServiceRequest {
146
146
  */
147
147
  Command?: string;
148
148
  /**
149
- * 是否开启TIONE内网访问外部
149
+ * 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
150
150
  */
151
151
  ServiceEIP?: ServiceEIP;
152
152
  }
@@ -2330,7 +2330,7 @@ export interface ModifyModelServiceRequest {
2330
2330
  */
2331
2331
  Command?: string;
2332
2332
  /**
2333
- * 是否开启TIONE内网访问外部
2333
+ * 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
2334
2334
  */
2335
2335
  ServiceEIP?: ServiceEIP;
2336
2336
  }
@@ -4111,6 +4111,11 @@ export interface ImageInfo {
4111
4111
  注意:此字段可能返回 null,表示取不到有效值。
4112
4112
  */
4113
4113
  ImageName?: string;
4114
+ /**
4115
+ * 是否支持数据构建
4116
+ 注意:此字段可能返回 null,表示取不到有效值。
4117
+ */
4118
+ SupportDataPipeline?: boolean;
4114
4119
  }
4115
4120
  /**
4116
4121
  * 推理服务在集群中的信息
@@ -241,10 +241,15 @@ export interface TextToVoiceRequest {
241
241
  SegmentRate?: number;
242
242
  /**
243
243
  * 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
244
+ 示例值:neutral
244
245
  */
245
246
  EmotionCategory?: string;
246
247
  /**
247
248
  * 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
248
249
  */
249
250
  EmotionIntensity?: number;
251
+ /**
252
+ * 一句话复刻音色id,使用一句话复刻音色时需填写。若使用一句话复刻,VoiceType请填入固定值“200000000”
253
+ */
254
+ FastVoiceType?: string;
250
255
  }
@@ -2186,9 +2186,7 @@ export interface ComposeMediaRequest {
2186
2186
  */
2187
2187
  export interface DescribeCLSTopicsRequest {
2188
2188
  /**
2189
- * 日志集所属地区:
2190
- ap-guangzhou:广州;
2191
- ap-singapore:新加坡。
2189
+ * 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
2192
2190
  */
2193
2191
  CLSRegion: string;
2194
2192
  /**
@@ -11451,9 +11449,7 @@ export interface AiRecognitionTaskObjectSegmentItem {
11451
11449
  */
11452
11450
  export interface CreateCLSTopicRequest {
11453
11451
  /**
11454
- * 日志集所属地区:
11455
- ap-guangzhou:广州;
11456
- ap-singapore:新加坡。
11452
+ * 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
11457
11453
  */
11458
11454
  CLSRegion: string;
11459
11455
  /**
@@ -12196,9 +12192,7 @@ export interface AiReviewProhibitedAsrTaskInput {
12196
12192
  */
12197
12193
  export interface DeleteCLSTopicRequest {
12198
12194
  /**
12199
- * 日志集所属地区:
12200
- ap-guangzhou:广州;
12201
- ap-singapore:新加坡。
12195
+ * 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
12202
12196
  */
12203
12197
  CLSRegion?: string;
12204
12198
  /**
@@ -14609,9 +14603,7 @@ export interface DescribeImageSpriteTemplatesResponse {
14609
14603
  */
14610
14604
  export interface DescribeCLSLogsetsRequest {
14611
14605
  /**
14612
- * CLS 日志集所属的地域,取值有:
14613
- ap-guangzhou:广州;
14614
- ap-singapore:新加坡。
14606
+ * 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
14615
14607
  */
14616
14608
  CLSRegion: string;
14617
14609
  }
@@ -15771,9 +15763,7 @@ export interface ProcedureTask {
15771
15763
  */
15772
15764
  export interface CreateCLSLogsetRequest {
15773
15765
  /**
15774
- * 日志集所属地区:
15775
- ap-guangzhou:广州;
15776
- ap-singapore:新加坡。
15766
+ * 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
15777
15767
  */
15778
15768
  CLSRegion: string;
15779
15769
  }
@@ -5413,42 +5413,42 @@ export interface TaskCanvasInfo {
5413
5413
  * 任务Id
5414
5414
  注意:此字段可能返回 null,表示取不到有效值。
5415
5415
  */
5416
- TaskId: string;
5416
+ TaskId?: string;
5417
5417
  /**
5418
5418
  * 任务名称
5419
5419
  注意:此字段可能返回 null,表示取不到有效值。
5420
5420
  */
5421
- TaskName: string;
5421
+ TaskName?: string;
5422
5422
  /**
5423
5423
  * 工作流id
5424
5424
  注意:此字段可能返回 null,表示取不到有效值。
5425
5425
  */
5426
- WorkflowId: string;
5426
+ WorkflowId?: string;
5427
5427
  /**
5428
5428
  * 工作流名称
5429
5429
  注意:此字段可能返回 null,表示取不到有效值。
5430
5430
  */
5431
- WorkflowName: string;
5431
+ WorkflowName?: string;
5432
5432
  /**
5433
5433
  * 项目名称
5434
5434
  注意:此字段可能返回 null,表示取不到有效值。
5435
5435
  */
5436
- ProjectName: string;
5436
+ ProjectName?: string;
5437
5437
  /**
5438
5438
  * 项目标识
5439
5439
  注意:此字段可能返回 null,表示取不到有效值。
5440
5440
  */
5441
- ProjectIdent: string;
5441
+ ProjectIdent?: string;
5442
5442
  /**
5443
5443
  * 任务状态,'Y','F','O','T','INVALID' 分别表示调度中、已停止、已暂停、停止中、已失效
5444
5444
  注意:此字段可能返回 null,表示取不到有效值。
5445
5445
  */
5446
- Status: string;
5446
+ Status?: string;
5447
5447
  /**
5448
5448
  * 任务类型id
5449
5449
  注意:此字段可能返回 null,表示取不到有效值。
5450
5450
  */
5451
- TaskTypeId: number;
5451
+ TaskTypeId?: number;
5452
5452
  /**
5453
5453
  * 任务类型描述,其中任务类型id和任务类型描述的对应的关系为
5454
5454
  20 通用数据同步任务
@@ -5503,72 +5503,72 @@ export interface TaskCanvasInfo {
5503
5503
  10000 自定义业务
5504
5504
  注意:此字段可能返回 null,表示取不到有效值。
5505
5505
  */
5506
- TaskTypeDesc: string;
5506
+ TaskTypeDesc?: string;
5507
5507
  /**
5508
5508
  * 项目id
5509
5509
  注意:此字段可能返回 null,表示取不到有效值。
5510
5510
  */
5511
- ProjectId: string;
5511
+ ProjectId?: string;
5512
5512
  /**
5513
5513
  * 文件夹名称
5514
5514
  注意:此字段可能返回 null,表示取不到有效值。
5515
5515
  */
5516
- FolderName: string;
5516
+ FolderName?: string;
5517
5517
  /**
5518
5518
  * 文件夹id
5519
5519
  注意:此字段可能返回 null,表示取不到有效值。
5520
5520
  */
5521
- FolderId: string;
5521
+ FolderId?: string;
5522
5522
  /**
5523
5523
  * 最近提交时间
5524
5524
  注意:此字段可能返回 null,表示取不到有效值。
5525
5525
  */
5526
- FirstSubmitTime: string;
5526
+ FirstSubmitTime?: string;
5527
5527
  /**
5528
5528
  * 首次运行时间
5529
5529
  注意:此字段可能返回 null,表示取不到有效值。
5530
5530
  */
5531
- FirstRunTime: string;
5531
+ FirstRunTime?: string;
5532
5532
  /**
5533
5533
  * 调度计划展示描述信息
5534
5534
  注意:此字段可能返回 null,表示取不到有效值。
5535
5535
  */
5536
- ScheduleDesc: string;
5536
+ ScheduleDesc?: string;
5537
5537
  /**
5538
5538
  * 负责人
5539
5539
  注意:此字段可能返回 null,表示取不到有效值。
5540
5540
  */
5541
- InCharge: string;
5541
+ InCharge?: string;
5542
5542
  /**
5543
5543
  * 调度周期类型
5544
5544
  注意:此字段可能返回 null,表示取不到有效值。
5545
5545
  */
5546
- CycleUnit: string;
5546
+ CycleUnit?: string;
5547
5547
  /**
5548
5548
  * 画布x轴坐标点
5549
5549
  注意:此字段可能返回 null,表示取不到有效值。
5550
5550
  */
5551
- LeftCoordinate: number;
5551
+ LeftCoordinate?: number;
5552
5552
  /**
5553
5553
  * 画布y轴坐标点
5554
5554
  注意:此字段可能返回 null,表示取不到有效值。
5555
5555
  */
5556
- TopCoordinate: number;
5556
+ TopCoordinate?: number;
5557
5557
  /**
5558
5558
  * 跨工作流虚拟任务标识;true标识跨工作流任务;false标识本工作流任务
5559
5559
  注意:此字段可能返回 null,表示取不到有效值。
5560
5560
  */
5561
- VirtualFlag: boolean;
5561
+ VirtualFlag?: boolean;
5562
5562
  /**
5563
5563
  * 弹性周期配置
5564
5564
  注意:此字段可能返回 null,表示取不到有效值。
5565
5565
  */
5566
- TaskAction: string;
5566
+ TaskAction?: string;
5567
5567
  /**
5568
5568
  * 延迟时间
5569
5569
  注意:此字段可能返回 null,表示取不到有效值。
5570
5570
  */
5571
- DelayTime: number;
5571
+ DelayTime?: number;
5572
5572
  /**
5573
5573
  * 执行开始时间
5574
5574
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5630,6 +5630,76 @@ export interface TaskCanvasInfo {
5630
5630
  注意:此字段可能返回 null,表示取不到有效值。
5631
5631
  */
5632
5632
  TenantId?: string;
5633
+ /**
5634
+ * 自依赖类型
5635
+ 注意:此字段可能返回 null,表示取不到有效值。
5636
+ */
5637
+ SelfDepend?: number;
5638
+ /**
5639
+ * 资源组id
5640
+ 注意:此字段可能返回 null,表示取不到有效值。
5641
+ */
5642
+ ExecutorGroupId?: string;
5643
+ /**
5644
+ * 资源组名称
5645
+ 注意:此字段可能返回 null,表示取不到有效值。
5646
+ */
5647
+ ExecutorGroupName?: string;
5648
+ /**
5649
+ * 优先级
5650
+ 注意:此字段可能返回 null,表示取不到有效值。
5651
+ */
5652
+ RunPriority?: string;
5653
+ /**
5654
+ * 可充实次数
5655
+ 注意:此字段可能返回 null,表示取不到有效值。
5656
+ */
5657
+ TryLimit?: string;
5658
+ /**
5659
+ * 可充实
5660
+ 注意:此字段可能返回 null,表示取不到有效值。
5661
+ */
5662
+ RetryAble?: string;
5663
+ /**
5664
+ * 重试等待事件
5665
+ 注意:此字段可能返回 null,表示取不到有效值。
5666
+ */
5667
+ RetryWait?: string;
5668
+ /**
5669
+ * 最近提交时间
5670
+ 注意:此字段可能返回 null,表示取不到有效值。
5671
+ */
5672
+ LastSchedulerCommitTime?: string;
5673
+ /**
5674
+ * 备注
5675
+ 注意:此字段可能返回 null,表示取不到有效值。
5676
+ */
5677
+ Notes?: string;
5678
+ /**
5679
+ * 创建人
5680
+ 注意:此字段可能返回 null,表示取不到有效值。
5681
+ */
5682
+ Creator?: string;
5683
+ /**
5684
+ * 创建人id
5685
+ 注意:此字段可能返回 null,表示取不到有效值。
5686
+ */
5687
+ UpdateUser?: string;
5688
+ /**
5689
+ * 更新人id
5690
+ 注意:此字段可能返回 null,表示取不到有效值。
5691
+ */
5692
+ UpdateUserId?: string;
5693
+ /**
5694
+ * yarn队列
5695
+ 注意:此字段可能返回 null,表示取不到有效值。
5696
+ */
5697
+ YarnQueue?: string;
5698
+ /**
5699
+ * 可执行的timeToLive
5700
+ 注意:此字段可能返回 null,表示取不到有效值。
5701
+ */
5702
+ ExecutionTTL?: number;
5633
5703
  }
5634
5704
  /**
5635
5705
  * 任务依赖的边信息