tencentcloud-sdk-nodejs-ocr 4.0.1033 → 4.0.1035

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.0.1033",
3
+ "version": "4.0.1035",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -55,7 +55,7 @@ import {
55
55
  ClassifyStoreNameRequest,
56
56
  InvoiceGeneralOCRRequest,
57
57
  Rect,
58
- LicensePlateInfo,
58
+ CustomsPaymentReceipt,
59
59
  QuestionSplitOCRRequest,
60
60
  VatRollItem,
61
61
  TextFormula,
@@ -87,6 +87,7 @@ import {
87
87
  SmartStructuralOCRV2Response,
88
88
  EnterpriseLicenseOCRRequest,
89
89
  QuestionSplitOCRResponse,
90
+ TableOCRResponse,
90
91
  RecognizeStoreNameRequest,
91
92
  StructuralItem,
92
93
  OnlineTaxiItineraryInfo,
@@ -172,6 +173,7 @@ import {
172
173
  PassportOCRResponse,
173
174
  FinancialBillItemDetails,
174
175
  CardWarnInfo,
176
+ TaxPayment,
175
177
  VehicleRegCertOCRRequest,
176
178
  RecognizeTravelCardOCRResponse,
177
179
  ElectronicAirTransportDetail,
@@ -301,7 +303,7 @@ import {
301
303
  GeneralHandwritingOCRResponse,
302
304
  IDCardResult,
303
305
  TableCell,
304
- TableOCRResponse,
306
+ LicensePlateInfo,
305
307
  DetectedWordCoordPoint,
306
308
  QuestionBlockObj,
307
309
  Element,
@@ -139,6 +139,8 @@ FailedOperation.UnKnowError:表示识别失败;
139
139
  15:非税发票
140
140
  16:全电发票
141
141
  17:医疗发票
142
+ 18:完税凭证
143
+ 19:海关缴款书
142
144
  */
143
145
  Type?: number
144
146
  /**
@@ -1377,25 +1379,17 @@ export interface Rect {
1377
1379
  }
1378
1380
 
1379
1381
  /**
1380
- * 全部车牌信息
1382
+ * 海关缴款书
1381
1383
  */
1382
- export interface LicensePlateInfo {
1383
- /**
1384
- * 识别出的车牌号码。
1385
- */
1386
- Number?: string
1384
+ export interface CustomsPaymentReceipt {
1387
1385
  /**
1388
- * 置信度,0 - 100 之间。
1389
- */
1390
- Confidence?: number
1391
- /**
1392
- * 文本行在原图片中的像素坐标框。
1386
+ * 发票名称
1393
1387
  */
1394
- Rect?: Rect
1388
+ Title?: string
1395
1389
  /**
1396
- * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
1390
+ * 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
1397
1391
  */
1398
- Color?: string
1392
+ Content?: Array<OtherInvoiceItem>
1399
1393
  }
1400
1394
 
1401
1395
  /**
@@ -2198,6 +2192,22 @@ export interface VatElectronicItemInfo {
2198
2192
  * 面积单位,仅不动产经营租赁服务发票返回
2199
2193
  */
2200
2194
  AreaUnit?: string
2195
+ /**
2196
+ * 出行人,仅旅客运输服务发票返回
2197
+ */
2198
+ Traveler?: string
2199
+ /**
2200
+ * 有效身份证件号,仅旅客运输服务发票返回
2201
+ */
2202
+ TravelerID?: string
2203
+ /**
2204
+ * 出行日期,仅旅客运输服务发票返回
2205
+ */
2206
+ TravelDate?: string
2207
+ /**
2208
+ * 等级,仅旅客运输服务发票返回
2209
+ */
2210
+ TravelLevel?: string
2201
2211
  }
2202
2212
 
2203
2213
  /**
@@ -2258,6 +2268,24 @@ export interface QuestionSplitOCRResponse {
2258
2268
  RequestId?: string
2259
2269
  }
2260
2270
 
2271
+ /**
2272
+ * TableOCR返回参数结构体
2273
+ */
2274
+ export interface TableOCRResponse {
2275
+ /**
2276
+ * 检测到的文本信息,具体内容请点击左侧链接
2277
+ */
2278
+ TextDetections?: Array<TextTable>
2279
+ /**
2280
+ * Base64 编码后的 Excel 数据。
2281
+ */
2282
+ Data?: string
2283
+ /**
2284
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2285
+ */
2286
+ RequestId?: string
2287
+ }
2288
+
2261
2289
  /**
2262
2290
  * RecognizeStoreName请求参数结构体
2263
2291
  */
@@ -2362,6 +2390,14 @@ export interface FlightItemInfo {
2362
2390
  * 免费行李额
2363
2391
  */
2364
2392
  Allow?: string
2393
+ /**
2394
+ * 客票生效日期
2395
+ */
2396
+ DateStart?: string
2397
+ /**
2398
+ * 有效截止日期
2399
+ */
2400
+ DateEnd?: string
2365
2401
  }
2366
2402
 
2367
2403
  /**
@@ -4319,6 +4355,16 @@ export interface SingleInvoiceItem {
4319
4355
  注意:此字段可能返回 null,表示取不到有效值。
4320
4356
  */
4321
4357
  ElectronicFlightTicketFull?: ElectronicFlightTicketFull
4358
+ /**
4359
+ * 完税凭证
4360
+ 注意:此字段可能返回 null,表示取不到有效值。
4361
+ */
4362
+ TaxPayment?: TaxPayment
4363
+ /**
4364
+ * 海关缴款
4365
+ 注意:此字段可能返回 null,表示取不到有效值。
4366
+ */
4367
+ CustomsPaymentReceipt?: CustomsPaymentReceipt
4322
4368
  }
4323
4369
 
4324
4370
  /**
@@ -5804,6 +5850,22 @@ export interface CardWarnInfo {
5804
5850
  PSCheck?: number
5805
5851
  }
5806
5852
 
5853
+ /**
5854
+ * 完税凭证
5855
+ */
5856
+ export interface TaxPayment {
5857
+ /**
5858
+ * 发票名称
5859
+ */
5860
+ Title?: string
5861
+ /**
5862
+ * 识别出的字段名称(关键字),支持以下字段:
5863
+ 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
5864
+ 示例值:纳税人识别号
5865
+ */
5866
+ Content?: Array<OtherInvoiceItem>
5867
+ }
5868
+
5807
5869
  /**
5808
5870
  * VehicleRegCertOCR请求参数结构体
5809
5871
  */
@@ -7682,7 +7744,7 @@ export interface AirTransport {
7682
7744
  */
7683
7745
  DateStart?: string
7684
7746
  /**
7685
- * 有效截至日期
7747
+ * 有效截止日期
7686
7748
  */
7687
7749
  DateEnd?: string
7688
7750
  /**
@@ -10592,21 +10654,25 @@ export interface TableCell {
10592
10654
  }
10593
10655
 
10594
10656
  /**
10595
- * TableOCR返回参数结构体
10657
+ * 全部车牌信息
10596
10658
  */
10597
- export interface TableOCRResponse {
10659
+ export interface LicensePlateInfo {
10598
10660
  /**
10599
- * 检测到的文本信息,具体内容请点击左侧链接
10661
+ * 识别出的车牌号码。
10600
10662
  */
10601
- TextDetections?: Array<TextTable>
10663
+ Number?: string
10602
10664
  /**
10603
- * Base64 编码后的 Excel 数据。
10665
+ * 置信度,0 - 100 之间。
10604
10666
  */
10605
- Data?: string
10667
+ Confidence?: number
10606
10668
  /**
10607
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10669
+ * 文本行在原图片中的像素坐标框。
10608
10670
  */
10609
- RequestId?: string
10671
+ Rect?: Rect
10672
+ /**
10673
+ * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
10674
+ */
10675
+ Color?: string
10610
10676
  }
10611
10677
 
10612
10678
  /**
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, QuestionOCRRequest, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, QuestionOCRRequest, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -118,6 +118,8 @@ export interface InvoiceItem {
118
118
  15:非税发票
119
119
  16:全电发票
120
120
  17:医疗发票
121
+ 18:完税凭证
122
+ 19:海关缴款书
121
123
  */
122
124
  Type?: number;
123
125
  /**
@@ -1322,25 +1324,17 @@ export interface Rect {
1322
1324
  Height?: number;
1323
1325
  }
1324
1326
  /**
1325
- * 全部车牌信息
1327
+ * 海关缴款书
1326
1328
  */
1327
- export interface LicensePlateInfo {
1328
- /**
1329
- * 识别出的车牌号码。
1330
- */
1331
- Number?: string;
1329
+ export interface CustomsPaymentReceipt {
1332
1330
  /**
1333
- * 置信度,0 - 100 之间。
1334
- */
1335
- Confidence?: number;
1336
- /**
1337
- * 文本行在原图片中的像素坐标框。
1331
+ * 发票名称
1338
1332
  */
1339
- Rect?: Rect;
1333
+ Title?: string;
1340
1334
  /**
1341
- * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
1335
+ * 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
1342
1336
  */
1343
- Color?: string;
1337
+ Content?: Array<OtherInvoiceItem>;
1344
1338
  }
1345
1339
  /**
1346
1340
  * QuestionSplitOCR请求参数结构体
@@ -2115,6 +2109,22 @@ export interface VatElectronicItemInfo {
2115
2109
  * 面积单位,仅不动产经营租赁服务发票返回
2116
2110
  */
2117
2111
  AreaUnit?: string;
2112
+ /**
2113
+ * 出行人,仅旅客运输服务发票返回
2114
+ */
2115
+ Traveler?: string;
2116
+ /**
2117
+ * 有效身份证件号,仅旅客运输服务发票返回
2118
+ */
2119
+ TravelerID?: string;
2120
+ /**
2121
+ * 出行日期,仅旅客运输服务发票返回
2122
+ */
2123
+ TravelDate?: string;
2124
+ /**
2125
+ * 等级,仅旅客运输服务发票返回
2126
+ */
2127
+ TravelLevel?: string;
2118
2128
  }
2119
2129
  /**
2120
2130
  * SmartStructuralOCRV2返回参数结构体
@@ -2171,6 +2181,23 @@ export interface QuestionSplitOCRResponse {
2171
2181
  */
2172
2182
  RequestId?: string;
2173
2183
  }
2184
+ /**
2185
+ * TableOCR返回参数结构体
2186
+ */
2187
+ export interface TableOCRResponse {
2188
+ /**
2189
+ * 检测到的文本信息,具体内容请点击左侧链接
2190
+ */
2191
+ TextDetections?: Array<TextTable>;
2192
+ /**
2193
+ * Base64 编码后的 Excel 数据。
2194
+ */
2195
+ Data?: string;
2196
+ /**
2197
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2198
+ */
2199
+ RequestId?: string;
2200
+ }
2174
2201
  /**
2175
2202
  * RecognizeStoreName请求参数结构体
2176
2203
  */
@@ -2272,6 +2299,14 @@ export interface FlightItemInfo {
2272
2299
  * 免费行李额
2273
2300
  */
2274
2301
  Allow?: string;
2302
+ /**
2303
+ * 客票生效日期
2304
+ */
2305
+ DateStart?: string;
2306
+ /**
2307
+ * 有效截止日期
2308
+ */
2309
+ DateEnd?: string;
2275
2310
  }
2276
2311
  /**
2277
2312
  * 文字识别结果
@@ -4175,6 +4210,16 @@ export interface SingleInvoiceItem {
4175
4210
  注意:此字段可能返回 null,表示取不到有效值。
4176
4211
  */
4177
4212
  ElectronicFlightTicketFull?: ElectronicFlightTicketFull;
4213
+ /**
4214
+ * 完税凭证
4215
+ 注意:此字段可能返回 null,表示取不到有效值。
4216
+ */
4217
+ TaxPayment?: TaxPayment;
4218
+ /**
4219
+ * 海关缴款
4220
+ 注意:此字段可能返回 null,表示取不到有效值。
4221
+ */
4222
+ CustomsPaymentReceipt?: CustomsPaymentReceipt;
4178
4223
  }
4179
4224
  /**
4180
4225
  * InvoiceGeneralOCR返回参数结构体
@@ -5632,6 +5677,21 @@ export interface CardWarnInfo {
5632
5677
  */
5633
5678
  PSCheck?: number;
5634
5679
  }
5680
+ /**
5681
+ * 完税凭证
5682
+ */
5683
+ export interface TaxPayment {
5684
+ /**
5685
+ * 发票名称
5686
+ */
5687
+ Title?: string;
5688
+ /**
5689
+ * 识别出的字段名称(关键字),支持以下字段:
5690
+ 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
5691
+ 示例值:纳税人识别号
5692
+ */
5693
+ Content?: Array<OtherInvoiceItem>;
5694
+ }
5635
5695
  /**
5636
5696
  * VehicleRegCertOCR请求参数结构体
5637
5697
  */
@@ -7464,7 +7524,7 @@ export interface AirTransport {
7464
7524
  */
7465
7525
  DateStart?: string;
7466
7526
  /**
7467
- * 有效截至日期
7527
+ * 有效截止日期
7468
7528
  */
7469
7529
  DateEnd?: string;
7470
7530
  /**
@@ -10291,21 +10351,25 @@ export interface TableCell {
10291
10351
  Contents: Array<CellContent>;
10292
10352
  }
10293
10353
  /**
10294
- * TableOCR返回参数结构体
10354
+ * 全部车牌信息
10295
10355
  */
10296
- export interface TableOCRResponse {
10356
+ export interface LicensePlateInfo {
10297
10357
  /**
10298
- * 检测到的文本信息,具体内容请点击左侧链接
10358
+ * 识别出的车牌号码。
10299
10359
  */
10300
- TextDetections?: Array<TextTable>;
10360
+ Number?: string;
10301
10361
  /**
10302
- * Base64 编码后的 Excel 数据。
10362
+ * 置信度,0 - 100 之间。
10303
10363
  */
10304
- Data?: string;
10364
+ Confidence?: number;
10305
10365
  /**
10306
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10366
+ * 文本行在原图片中的像素坐标框。
10307
10367
  */
10308
- RequestId?: string;
10368
+ Rect?: Rect;
10369
+ /**
10370
+ * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
10371
+ */
10372
+ Color?: string;
10309
10373
  }
10310
10374
  /**
10311
10375
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。