tencentcloud-sdk-nodejs-ocr 4.0.1036 → 4.0.1040

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.1036",
3
+ "version": "4.0.1040",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -886,6 +886,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
886
886
  <td> 医疗住院收费票据(电子) </td>
887
887
  <td> 17 </td>
888
888
  </tr>
889
+ <tr>
890
+ <td> TaxPayment </td>
891
+ <td> 完税凭证 </td>
892
+ <td> 18 </td>
893
+ </tr>
894
+ <tr>
895
+ <td> CustomsPaymentReceipt </td>
896
+ <td> 海关缴款 </td>
897
+ <td> 19 </td>
898
+ </tr>
889
899
  <tr>
890
900
  <td> OtherInvoice </td>
891
901
  <td> 其他发票 </td>
@@ -3349,6 +3349,8 @@ export interface RecognizeGeneralInvoiceRequest {
3349
3349
  15:非税发票
3350
3350
  16:全电发票
3351
3351
  17:医疗发票
3352
+ 18:完税凭证
3353
+ 19:海关缴款书
3352
3354
  -1:其他发票
3353
3355
  */
3354
3356
  Types?: Array<number | bigint>
@@ -9233,11 +9235,16 @@ export interface GeneralEfficientOCRResponse {
9233
9235
  /**
9234
9236
  * 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。
9235
9237
  */
9236
- TextDetections: Array<TextDetection>
9238
+ TextDetections?: Array<TextDetection>
9237
9239
  /**
9238
9240
  * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
9241
+ * @deprecated
9239
9242
  */
9240
- Angel: number
9243
+ Angel?: number
9244
+ /**
9245
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
9246
+ */
9247
+ Angle?: number
9241
9248
  /**
9242
9249
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9243
9250
  */
@@ -401,6 +401,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
401
401
  <td> 医疗住院收费票据(电子) </td>
402
402
  <td> 17 </td>
403
403
  </tr>
404
+ <tr>
405
+ <td> TaxPayment </td>
406
+ <td> 完税凭证 </td>
407
+ <td> 18 </td>
408
+ </tr>
409
+ <tr>
410
+ <td> CustomsPaymentReceipt </td>
411
+ <td> 海关缴款 </td>
412
+ <td> 19 </td>
413
+ </tr>
404
414
  <tr>
405
415
  <td> OtherInvoice </td>
406
416
  <td> 其他发票 </td>
@@ -470,6 +470,16 @@ class Client extends TencentCloudCommon.AbstractClient {
470
470
  <td> 医疗住院收费票据(电子) </td>
471
471
  <td> 17 </td>
472
472
  </tr>
473
+ <tr>
474
+ <td> TaxPayment </td>
475
+ <td> 完税凭证 </td>
476
+ <td> 18 </td>
477
+ </tr>
478
+ <tr>
479
+ <td> CustomsPaymentReceipt </td>
480
+ <td> 海关缴款 </td>
481
+ <td> 19 </td>
482
+ </tr>
473
483
  <tr>
474
484
  <td> OtherInvoice </td>
475
485
  <td> 其他发票 </td>
@@ -3231,6 +3231,8 @@ export interface RecognizeGeneralInvoiceRequest {
3231
3231
  15:非税发票
3232
3232
  16:全电发票
3233
3233
  17:医疗发票
3234
+ 18:完税凭证
3235
+ 19:海关缴款书
3234
3236
  -1:其他发票
3235
3237
  */
3236
3238
  Types?: Array<number | bigint>;
@@ -8966,11 +8968,16 @@ export interface GeneralEfficientOCRResponse {
8966
8968
  /**
8967
8969
  * 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。
8968
8970
  */
8969
- TextDetections: Array<TextDetection>;
8971
+ TextDetections?: Array<TextDetection>;
8970
8972
  /**
8971
8973
  * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
8974
+ * @deprecated
8972
8975
  */
8973
- Angel: number;
8976
+ Angel?: number;
8977
+ /**
8978
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
8979
+ */
8980
+ Angle?: number;
8974
8981
  /**
8975
8982
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8976
8983
  */