tencentcloud-sdk-nodejs-ocr 4.0.328 → 4.0.329

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/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ # Release 4.0.329
2
+
3
+ ## 文字识别(ocr) 版本:2018-11-19
4
+
5
+ ### 第 65 次发布
6
+
7
+ 发布时间:2022-04-19 19:47:18
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 修改接口:
14
+
15
+ * [RecognizeHealthCodeOCR](https://cloud.tencent.com/document/api/866/68580)
16
+
17
+ * 新增入参:Type
18
+
19
+ * 新增出参:IDNumber, TestingInterval, TestingResult, TestingTime
20
+
21
+
22
+
23
+
1
24
  # Release 4.0.328
2
25
 
3
26
  ## 云监控(monitor) 版本:2018-07-24
@@ -1,45 +1,23 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 云监控(monitor) 版本:2018-07-24
3
+ ## 文字识别(ocr) 版本:2018-11-19
4
4
 
5
- ### 第 43 次发布
5
+ ### 第 65 次发布
6
6
 
7
- 发布时间:2022-04-19 06:13:47
7
+ 发布时间:2022-04-19 19:47:18
8
8
 
9
9
  本次发布包含了以下内容:
10
10
 
11
11
  改善已有的文档。
12
12
 
13
- 修改数据结构:
14
-
15
- * [URLNotice](https://cloud.tencent.com/document/api/248/30354#URLNotice)
16
-
17
- * 新增成员:Weekday
18
-
19
- * [UserNotice](https://cloud.tencent.com/document/api/248/30354#UserNotice)
20
-
21
- * 新增成员:Weekday
22
-
23
-
24
-
25
-
26
- ## Web 应用防火墙(waf) 版本:2018-01-25
27
-
28
- ### 第 7 次发布
29
-
30
- 发布时间:2022-04-19 06:20:51
31
-
32
- 本次发布包含了以下内容:
33
-
34
- 改善已有的文档。
13
+ 修改接口:
35
14
 
36
- 新增接口:
15
+ * [RecognizeHealthCodeOCR](https://cloud.tencent.com/document/api/866/68580)
37
16
 
38
- * [AddSpartaProtection](https://cloud.tencent.com/document/api/627/72689)
17
+ * 新增入参:Type
39
18
 
40
- 新增数据结构:
19
+ * 新增出参:IDNumber, TestingInterval, TestingResult, TestingTime
41
20
 
42
- * [PortItem](https://cloud.tencent.com/document/api/627/53609#PortItem)
43
21
 
44
22
 
45
23
 
@@ -48331,6 +48309,23 @@
48331
48309
 
48332
48310
  ## 文字识别(ocr) 版本:2018-11-19
48333
48311
 
48312
+ ### 第 65 次发布
48313
+
48314
+ 发布时间:2022-04-19 19:47:18
48315
+
48316
+ 本次发布包含了以下内容:
48317
+
48318
+ 改善已有的文档。
48319
+
48320
+ 修改接口:
48321
+
48322
+ * [RecognizeHealthCodeOCR](https://cloud.tencent.com/document/api/866/68580)
48323
+
48324
+ * 新增入参:Type
48325
+
48326
+ * 新增出参:IDNumber, TestingInterval, TestingResult, TestingTime
48327
+
48328
+
48334
48329
  ### 第 64 次发布
48335
48330
 
48336
48331
  发布时间:2022-03-24 17:13:23
@@ -75044,11 +75039,11 @@
75044
75039
 
75045
75040
  新增接口:
75046
75041
 
75047
- * [[AddSpartaProtection](https://cloud.tencent.com/document/api/627/72689)](https://cloud.tencent.com/document/api/#/#)
75042
+ * [AddSpartaProtection](https://cloud.tencent.com/document/api/627/72689)
75048
75043
 
75049
75044
  新增数据结构:
75050
75045
 
75051
- * [[PortItem](https://cloud.tencent.com/document/api/627/53609#PortItem)](https://cloud.tencent.com/document/api/627/53609#[PortItem](https://cloud.tencent.com/document/api/627/53609#PortItem))
75046
+ * [PortItem](https://cloud.tencent.com/document/api/627/53609#PortItem)
75052
75047
 
75053
75048
  ### 第 6 次发布
75054
75049
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.0.328",
3
+ "version": "4.0.329",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -124,7 +124,7 @@
124
124
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
125
125
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
126
126
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-04-08 06:10:55 |
127
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-04-08 06:10:59 |
127
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-04-19 20:30:49 |
128
128
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-04-04 07:01:46 |
129
129
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
130
130
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -1166,7 +1166,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
1166
1166
  }
1167
1167
 
1168
1168
  /**
1169
- * 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
1169
+ * 本接口支持深圳粤康码、上海随申码、北京健康宝的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上的具体信息为准。
1170
1170
  */
1171
1171
  async RecognizeHealthCodeOCR(
1172
1172
  req: RecognizeHealthCodeOCRRequest,
@@ -4491,6 +4491,17 @@ export interface RecognizeHealthCodeOCRRequest {
4491
4491
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4492
4492
  */
4493
4493
  ImageUrl?: string
4494
+
4495
+ /**
4496
+ * 需要识别的健康码类型列表,为空或不填表示默认为粤康码。
4497
+
4498
+ 1:粤康码
4499
+
4500
+ 2:随申码
4501
+
4502
+ 3:健康宝
4503
+ */
4504
+ Type?: number
4494
4505
  }
4495
4506
 
4496
4507
  /**
@@ -4671,10 +4682,15 @@ export interface DutyPaidProofOCRRequest {
4671
4682
  */
4672
4683
  export interface RecognizeHealthCodeOCRResponse {
4673
4684
  /**
4674
- * 持码人姓名
4685
+ * 持码人姓名,如:王*
4675
4686
  */
4676
4687
  Name: string
4677
4688
 
4689
+ /**
4690
+ * 持码人身份证号,如:11**************01
4691
+ */
4692
+ IDNumber: string
4693
+
4678
4694
  /**
4679
4695
  * 健康码更新时间,格式为:XXXX-XX-XX XX:XX:XX
4680
4696
  */
@@ -4685,6 +4701,21 @@ export interface RecognizeHealthCodeOCRResponse {
4685
4701
  */
4686
4702
  Color: string
4687
4703
 
4704
+ /**
4705
+ * 核酸检测间隔时长:24小时、48小时、72小时、暂无核酸检测记录
4706
+ */
4707
+ TestingInterval: string
4708
+
4709
+ /**
4710
+ * 核酸检测结果:阴性、阳性、暂无核酸检测记录
4711
+ */
4712
+ TestingResult: string
4713
+
4714
+ /**
4715
+ * 核酸检测时间,格式为:XXXX-XX-XX XX:XX
4716
+ */
4717
+ TestingTime: string
4718
+
4688
4719
  /**
4689
4720
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4690
4721
  */
@@ -545,7 +545,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
545
545
  */
546
546
  MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
547
547
  /**
548
- * 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
548
+ * 本接口支持深圳粤康码、上海随申码、北京健康宝的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上的具体信息为准。
549
549
  */
550
550
  RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
551
551
  /**
@@ -698,7 +698,7 @@ class Client extends TencentCloudCommon.AbstractClient {
698
698
  return this.request("MixedInvoiceOCR", req, cb);
699
699
  }
700
700
  /**
701
- * 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
701
+ * 本接口支持深圳粤康码、上海随申码、北京健康宝的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上的具体信息为准。
702
702
  */
703
703
  async RecognizeHealthCodeOCR(req, cb) {
704
704
  return this.request("RecognizeHealthCodeOCR", req, cb);
@@ -3818,6 +3818,16 @@ export interface RecognizeHealthCodeOCRRequest {
3818
3818
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3819
3819
  */
3820
3820
  ImageUrl?: string;
3821
+ /**
3822
+ * 需要识别的健康码类型列表,为空或不填表示默认为粤康码。
3823
+
3824
+ 1:粤康码
3825
+
3826
+ 2:随申码
3827
+
3828
+ 3:健康宝
3829
+ */
3830
+ Type?: number;
3821
3831
  }
3822
3832
  /**
3823
3833
  * BankSlipOCR返回参数结构体
@@ -3976,9 +3986,13 @@ export interface DutyPaidProofOCRRequest {
3976
3986
  */
3977
3987
  export interface RecognizeHealthCodeOCRResponse {
3978
3988
  /**
3979
- * 持码人姓名
3989
+ * 持码人姓名,如:王*
3980
3990
  */
3981
3991
  Name: string;
3992
+ /**
3993
+ * 持码人身份证号,如:11**************01
3994
+ */
3995
+ IDNumber: string;
3982
3996
  /**
3983
3997
  * 健康码更新时间,格式为:XXXX-XX-XX XX:XX:XX
3984
3998
  */
@@ -3987,6 +4001,18 @@ export interface RecognizeHealthCodeOCRResponse {
3987
4001
  * 健康码颜色:绿色、黄色、红色
3988
4002
  */
3989
4003
  Color: string;
4004
+ /**
4005
+ * 核酸检测间隔时长:24小时、48小时、72小时、暂无核酸检测记录
4006
+ */
4007
+ TestingInterval: string;
4008
+ /**
4009
+ * 核酸检测结果:阴性、阳性、暂无核酸检测记录
4010
+ */
4011
+ TestingResult: string;
4012
+ /**
4013
+ * 核酸检测时间,格式为:XXXX-XX-XX XX:XX
4014
+ */
4015
+ TestingTime: string;
3990
4016
  /**
3991
4017
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3992
4018
  */