tencentcloud-sdk-nodejs-ocr 4.1.91 → 4.1.93

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.91",
3
+ "version": "4.1.93",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- 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";
2
+ import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, 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, 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
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -275,6 +275,19 @@ export interface QuotaInvoiceOCRRequest {
275
275
  */
276
276
  PdfPageNumber?: number;
277
277
  }
278
+ /**
279
+ * VinOCR返回参数结构体
280
+ */
281
+ export interface VinOCRResponse {
282
+ /**
283
+ * 检测到的车辆 VIN 码。
284
+ */
285
+ Vin?: string;
286
+ /**
287
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
288
+ */
289
+ RequestId?: string;
290
+ }
278
291
  /**
279
292
  * 港澳台居住证信息返回
280
293
  */
@@ -1054,11 +1067,11 @@ export interface Words {
1054
1067
  /**
1055
1068
  * 置信度 0 ~100
1056
1069
  */
1057
- Confidence: number;
1070
+ Confidence?: number;
1058
1071
  /**
1059
1072
  * 候选字Character
1060
1073
  */
1061
- Character: string;
1074
+ Character?: string;
1062
1075
  }
1063
1076
  /**
1064
1077
  * 英文识别结果
@@ -1067,32 +1080,32 @@ export interface TextDetectionEn {
1067
1080
  /**
1068
1081
  * 识别出的文本行内容。
1069
1082
  */
1070
- DetectedText: string;
1083
+ DetectedText?: string;
1071
1084
  /**
1072
1085
  * 置信度 0 ~100。
1073
1086
  */
1074
- Confidence: number;
1087
+ Confidence?: number;
1075
1088
  /**
1076
1089
  * 文本行在原图中的四点坐标。
1077
1090
  注意:此字段可能返回 null,表示取不到有效值。
1078
1091
  */
1079
- Polygon: Array<Coord>;
1092
+ Polygon?: Array<Coord>;
1080
1093
  /**
1081
1094
  * 此字段为扩展字段。目前EnglishOCR接口返回内容为空。
1082
1095
  */
1083
- AdvancedInfo: string;
1096
+ AdvancedInfo?: string;
1084
1097
  /**
1085
1098
  * 英文单词在原图中的四点坐标。
1086
1099
  */
1087
- WordCoordPoint: Array<WordCoordPoint>;
1100
+ WordCoordPoint?: Array<WordCoordPoint>;
1088
1101
  /**
1089
1102
  * 候选字符集(包含候选字Character以及置信度Confidence)。
1090
1103
  */
1091
- CandWord: Array<CandWord>;
1104
+ CandWord?: Array<CandWord>;
1092
1105
  /**
1093
1106
  * 识别出来的单词信息(包括单词Character和单词置信度confidence)
1094
1107
  */
1095
- Words: Array<Words>;
1108
+ Words?: Array<Words>;
1096
1109
  }
1097
1110
  /**
1098
1111
  * 电子发票(机票行程单)
@@ -1324,7 +1337,7 @@ export interface TextFormula {
1324
1337
  /**
1325
1338
  * 识别出的文本行内容
1326
1339
  */
1327
- DetectedText: string;
1340
+ DetectedText?: string;
1328
1341
  }
1329
1342
  /**
1330
1343
  * HmtResidentPermitOCR返回参数结构体
@@ -1407,11 +1420,11 @@ export interface VehicleRegCertInfo {
1407
1420
  【抵押登记页】
1408
1421
  机动车登记证书编号、身份证明名称/号码、抵押权人姓名/名称、抵押登记日期。
1409
1422
  */
1410
- Name: string;
1423
+ Name?: string;
1411
1424
  /**
1412
1425
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
1413
1426
  */
1414
- Value: string;
1427
+ Value?: string;
1415
1428
  }
1416
1429
  /**
1417
1430
  * 通用告警详情
@@ -1834,15 +1847,15 @@ export interface TextEduPaper {
1834
1847
  /**
1835
1848
  * 识别出的字段名称(关键字)
1836
1849
  */
1837
- Item: string;
1850
+ Item?: string;
1838
1851
  /**
1839
1852
  * 识别出的字段名称对应的值,也就是字段Item对应的字符串结果
1840
1853
  */
1841
- DetectedText: string;
1854
+ DetectedText?: string;
1842
1855
  /**
1843
1856
  * 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
1844
1857
  */
1845
- Itemcoord: ItemCoord;
1858
+ Itemcoord?: ItemCoord;
1846
1859
  }
1847
1860
  /**
1848
1861
  * QrcodeOCR返回参数结构体
@@ -1881,7 +1894,7 @@ export interface WaybillObj {
1881
1894
  /**
1882
1895
  * 识别出的文本行内容
1883
1896
  */
1884
- Text: string;
1897
+ Text?: string;
1885
1898
  }
1886
1899
  /**
1887
1900
  * 英文OCR识别出的单词在原图中的四点坐标数组
@@ -1960,7 +1973,7 @@ export interface HKIDCardOCRResponse {
1960
1973
  SmallHeadImage?: string;
1961
1974
  /**
1962
1975
  * 该字段已废弃, 将固定返回空数组,不建议使用。
1963
- This field is deprecated and will always return an empty array. Usage is not recommended.
1976
+
1964
1977
  * @deprecated
1965
1978
  */
1966
1979
  WarningCode?: Array<number | bigint>;
@@ -3360,12 +3373,12 @@ export interface CellContent {
3360
3373
  * 段落编号
3361
3374
  注意:此字段可能返回 null,表示取不到有效值。
3362
3375
  */
3363
- ParagNo: number;
3376
+ ParagNo?: number;
3364
3377
  /**
3365
3378
  * 字体大小
3366
3379
  注意:此字段可能返回 null,表示取不到有效值。
3367
3380
  */
3368
- WordSize: number;
3381
+ WordSize?: number;
3369
3382
  }
3370
3383
  /**
3371
3384
  * RecognizeMedicalInvoiceOCR返回参数结构体
@@ -4747,15 +4760,15 @@ export interface BusinessCardInfo {
4747
4760
  * 识别出的字段名称(关键字,可能重复,比如多个手机),能识别的字段名为:
4748
4761
  姓名、英文姓名、英文地址、公司、英文公司、职位、英文职位、部门、英文部门、手机、电话、传真、社交帐号、QQ、MSN、微信、微博、邮箱、邮编、网址、公司账号、其他。
4749
4762
  */
4750
- Name: string;
4763
+ Name?: string;
4751
4764
  /**
4752
4765
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4753
4766
  */
4754
- Value: string;
4767
+ Value?: string;
4755
4768
  /**
4756
4769
  * 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
4757
4770
  */
4758
- ItemCoord: ItemCoord;
4771
+ ItemCoord?: ItemCoord;
4759
4772
  }
4760
4773
  /**
4761
4774
  * 机动车销售统一发票
@@ -5285,11 +5298,11 @@ export interface QrcodeImgSize {
5285
5298
  /**
5286
5299
  * 宽
5287
5300
  */
5288
- Wide: number;
5301
+ Wide?: number;
5289
5302
  /**
5290
5303
  * 高
5291
5304
  */
5292
- High: number;
5305
+ High?: number;
5293
5306
  }
5294
5307
  /**
5295
5308
  * PassportOCR返回参数结构体
@@ -6842,20 +6855,20 @@ export interface AdvertiseTextDetection {
6842
6855
  /**
6843
6856
  * 识别出的文本行内容
6844
6857
  */
6845
- DetectedText: string;
6858
+ DetectedText?: string;
6846
6859
  /**
6847
6860
  * 置信度 0 ~100
6848
6861
  */
6849
- Confidence: number;
6862
+ Confidence?: number;
6850
6863
  /**
6851
6864
  * 文本行坐标,以四个顶点坐标表示
6852
6865
  */
6853
- Polygon: Array<Coord>;
6866
+ Polygon?: Array<Coord>;
6854
6867
  /**
6855
6868
  * 此字段为扩展字段。
6856
6869
  GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
6857
6870
  */
6858
- AdvancedInfo: string;
6871
+ AdvancedInfo?: string;
6859
6872
  }
6860
6873
  /**
6861
6874
  * 表格识别结果
@@ -6864,39 +6877,39 @@ export interface TextTable {
6864
6877
  /**
6865
6878
  * 单元格左上角的列索引
6866
6879
  */
6867
- ColTl: number;
6880
+ ColTl?: number;
6868
6881
  /**
6869
6882
  * 单元格左上角的行索引
6870
6883
  */
6871
- RowTl: number;
6884
+ RowTl?: number;
6872
6885
  /**
6873
6886
  * 单元格右下角的列索引
6874
6887
  */
6875
- ColBr: number;
6888
+ ColBr?: number;
6876
6889
  /**
6877
6890
  * 单元格右下角的行索引
6878
6891
  */
6879
- RowBr: number;
6892
+ RowBr?: number;
6880
6893
  /**
6881
6894
  * 单元格文字
6882
6895
  */
6883
- Text: string;
6896
+ Text?: string;
6884
6897
  /**
6885
6898
  * 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
6886
6899
  */
6887
- Type: string;
6900
+ Type?: string;
6888
6901
  /**
6889
6902
  * 置信度 0 ~100
6890
6903
  */
6891
- Confidence: number;
6904
+ Confidence?: number;
6892
6905
  /**
6893
6906
  * 文本行坐标,以四个顶点坐标表示
6894
6907
  */
6895
- Polygon: Array<Coord>;
6908
+ Polygon?: Array<Coord>;
6896
6909
  /**
6897
6910
  * 此字段为扩展字段
6898
6911
  */
6899
- AdvancedInfo: string;
6912
+ AdvancedInfo?: string;
6900
6913
  }
6901
6914
  /**
6902
6915
  * 金融票据切片识别单个字段的内容
@@ -7416,7 +7429,7 @@ export interface TableTitle {
7416
7429
  * 表格名称
7417
7430
  注意:此字段可能返回 null,表示取不到有效值。
7418
7431
  */
7419
- Text: string;
7432
+ Text?: string;
7420
7433
  }
7421
7434
  /**
7422
7435
  * RecognizeTableAccurateOCR请求参数结构体
@@ -7673,17 +7686,21 @@ export interface TableInfo {
7673
7686
  TableCoordPoint?: Array<Coord>;
7674
7687
  }
7675
7688
  /**
7676
- * VinOCR返回参数结构体
7689
+ * 请求 id 信息
7677
7690
  */
7678
- export interface VinOCRResponse {
7691
+ export interface RequestIdInfo {
7679
7692
  /**
7680
- * 检测到的车辆 VIN 码。
7693
+ * 请求 api 的 requestid
7681
7694
  */
7682
- Vin?: string;
7695
+ ApiRequestId?: string;
7683
7696
  /**
7684
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7697
+ * 请求 api 的错误码
7685
7698
  */
7686
- RequestId?: string;
7699
+ ApiErrorCode?: string;
7700
+ /**
7701
+ * 告警码
7702
+ */
7703
+ WarnCodes?: Array<number | bigint>;
7687
7704
  }
7688
7705
  /**
7689
7706
  * EduPaperOCR请求参数结构体
@@ -7735,26 +7752,26 @@ export interface TextGeneralHandwriting {
7735
7752
  /**
7736
7753
  * 识别出的文本行内容
7737
7754
  */
7738
- DetectedText: string;
7755
+ DetectedText?: string;
7739
7756
  /**
7740
7757
  * 置信度 0 - 100
7741
7758
  */
7742
- Confidence: number;
7759
+ Confidence?: number;
7743
7760
  /**
7744
7761
  * 文本行坐标,以四个顶点坐标表示
7745
7762
  */
7746
- Polygon: Array<Coord>;
7763
+ Polygon?: Array<Coord>;
7747
7764
  /**
7748
7765
  * 此字段为扩展字段。
7749
7766
  能返回文本行的段落信息,例如:{\"Parag\":{\"ParagNo\":2}},
7750
7767
  其中ParagNo为段落行,从1开始。
7751
7768
  */
7752
- AdvancedInfo: string;
7769
+ AdvancedInfo?: string;
7753
7770
  /**
7754
7771
  * 字的坐标数组,以四个顶点坐标表示
7755
7772
  注意:此字段可能返回 null,表示取不到有效值。
7756
7773
  */
7757
- WordPolygon: Array<Polygon>;
7774
+ WordPolygon?: Array<Polygon>;
7758
7775
  }
7759
7776
  /**
7760
7777
  * PassportOCR请求参数结构体
@@ -8089,25 +8106,25 @@ export interface TableDetectInfo {
8089
8106
  * 单元格内容
8090
8107
  注意:此字段可能返回 null,表示取不到有效值。
8091
8108
  */
8092
- Cells: Array<TableCell>;
8109
+ Cells?: Array<TableCell>;
8093
8110
  /**
8094
8111
  * 表格标题
8095
8112
  注意:此字段可能返回 null,表示取不到有效值。
8096
8113
  */
8097
- Titles: Array<TableTitle>;
8114
+ Titles?: Array<TableTitle>;
8098
8115
  /**
8099
8116
  * 图像中的文本块类型,0 为非表格文本,
8100
8117
  1 为有线表格,2 为无线表格
8101
8118
  (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0)
8102
8119
  注意:此字段可能返回 null,表示取不到有效值。
8103
8120
  */
8104
- Type: number;
8121
+ Type?: number;
8105
8122
  /**
8106
8123
  * 表格主体四个顶点坐标(依次为左上角,
8107
8124
  右上角,右下角,左下角)
8108
8125
  注意:此字段可能返回 null,表示取不到有效值。
8109
8126
  */
8110
- TableCoordPoint: Array<Coord>;
8127
+ TableCoordPoint?: Array<Coord>;
8111
8128
  }
8112
8129
  /**
8113
8130
  * 身份证配置信息
@@ -8495,11 +8512,11 @@ export interface InsuranceBillInfo {
8495
8512
  【医疗发票】
8496
8513
  姓名、性别、住院时间、收费项目、金额、合计等。
8497
8514
  */
8498
- Name: string;
8515
+ Name?: string;
8499
8516
  /**
8500
8517
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
8501
8518
  */
8502
- Value: string;
8519
+ Value?: string;
8503
8520
  }
8504
8521
  /**
8505
8522
  * 卡证字段信息返回值
@@ -8662,16 +8679,16 @@ export interface ClassifyDetectInfo {
8662
8679
  /**
8663
8680
  * 分类名称,包括:身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照
8664
8681
  */
8665
- Name: string;
8682
+ Name?: string;
8666
8683
  /**
8667
8684
  * 分类类型
8668
8685
  注意:此字段可能返回 null,表示取不到有效值。
8669
8686
  */
8670
- Type: string;
8687
+ Type?: string;
8671
8688
  /**
8672
8689
  * 位置坐标
8673
8690
  */
8674
- Rect: Rect;
8691
+ Rect?: Rect;
8675
8692
  }
8676
8693
  /**
8677
8694
  * GeneralEfficientOCR返回参数结构体
@@ -9287,6 +9304,10 @@ export interface GetOCRResultResponse {
9287
9304
  * ocr结果
9288
9305
  */
9289
9306
  OCRResult?: OCRResult;
9307
+ /**
9308
+ * requestid 信息
9309
+ */
9310
+ RequestIdInfos?: Array<RequestIdInfo>;
9290
9311
  /**
9291
9312
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9292
9313
  */
@@ -10225,44 +10246,44 @@ export interface TableCell {
10225
10246
  /**
10226
10247
  * 单元格左上角的列索引
10227
10248
  */
10228
- ColTl: number;
10249
+ ColTl?: number;
10229
10250
  /**
10230
10251
  * 单元格左上角的行索引
10231
10252
  */
10232
- RowTl: number;
10253
+ RowTl?: number;
10233
10254
  /**
10234
10255
  * 单元格右下角的列索引
10235
10256
  */
10236
- ColBr: number;
10257
+ ColBr?: number;
10237
10258
  /**
10238
10259
  * 单元格右下角的行索引
10239
10260
  */
10240
- RowBr: number;
10261
+ RowBr?: number;
10241
10262
  /**
10242
10263
  * 单元格内识别出的字符串文本,若文本存在多行,以换行符"\n"隔开
10243
10264
  */
10244
- Text: string;
10265
+ Text?: string;
10245
10266
  /**
10246
10267
  * 单元格类型
10247
10268
  */
10248
- Type: string;
10269
+ Type?: string;
10249
10270
  /**
10250
10271
  * 单元格置信度
10251
10272
  */
10252
- Confidence: number;
10273
+ Confidence?: number;
10253
10274
  /**
10254
10275
  * 单元格在图像中的四点坐标
10255
10276
  */
10256
- Polygon: Array<Coord>;
10277
+ Polygon?: Array<Coord>;
10257
10278
  /**
10258
10279
  * 此字段为扩展字段
10259
10280
  注意:此字段可能返回 null,表示取不到有效值。
10260
10281
  */
10261
- AdvancedInfo: string;
10282
+ AdvancedInfo?: string;
10262
10283
  /**
10263
10284
  * 单元格文本属性
10264
10285
  */
10265
- Contents: Array<CellContent>;
10286
+ Contents?: Array<CellContent>;
10266
10287
  }
10267
10288
  /**
10268
10289
  * 全部车牌信息