tencentcloud-sdk-ocr 1.0.299 → 1.0.300

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 410bef5740ed8f39b0540f001dc2a4b6c5c3af57
4
- data.tar.gz: 32129e8a1eecce33085314e017ac6bae42e6a39a
3
+ metadata.gz: 504dfccd03274ae4a071c3d223790e2823b9a4da
4
+ data.tar.gz: c087fa621e9c1af75b359a524b872cddf6d85cee
5
5
  SHA512:
6
- metadata.gz: 7574649283e2742d46ab93b7bb51096bf41ef8871d42bf47a3428acce53d7854450798ebd105672eee6cdc2d4686a47ae5816a44af21828ab3366cb601f9d753
7
- data.tar.gz: b4fa6b5c782f4ca4d6a2ef50f252c201a28fbaf8a7d119aa5744222014c4886f5f0b7dbbc2eabd07d3e6a87ae51d145e2a60d36bca85d67615c9d1fb27fd1973
6
+ metadata.gz: ffa14a577fd0a41542c0accb1da8aab02ddadb27fff7c0f48022390f8fbc4c2ca861616f81d785735f391d0e8875dad8b295e468c472711da82b902177f53bed
7
+ data.tar.gz: 165f418e152b68919e3a8450627f7a62770ba688cdeb812724edcd7eae9777f3e1fd439b73475b160d3504b1696aa98e7546ed8bfa0bfe77fb4e9d1d4ff17cf4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.299
1
+ 1.0.300
@@ -1342,7 +1342,7 @@ module TencentCloud
1342
1342
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1343
1343
  end
1344
1344
 
1345
- # 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
1345
+ # 本接口支持深圳粤康码、上海随申码、北京健康宝的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上的具体信息为准。
1346
1346
 
1347
1347
  # @param request: Request instance for RecognizeHealthCodeOCR.
1348
1348
  # @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeHealthCodeOCRRequest`
@@ -4270,44 +4270,70 @@ module TencentCloud
4270
4270
  # 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4271
4271
  # 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4272
4272
  # @type ImageUrl: String
4273
+ # @param Type: 需要识别的健康码类型列表,为空或不填表示默认为粤康码。
4273
4274
 
4274
- attr_accessor :ImageBase64, :ImageUrl
4275
+ # 1:粤康码
4276
+
4277
+ # 2:随申码
4278
+
4279
+ # 3:健康宝
4280
+ # @type Type: Integer
4281
+
4282
+ attr_accessor :ImageBase64, :ImageUrl, :Type
4275
4283
 
4276
- def initialize(imagebase64=nil, imageurl=nil)
4284
+ def initialize(imagebase64=nil, imageurl=nil, type=nil)
4277
4285
  @ImageBase64 = imagebase64
4278
4286
  @ImageUrl = imageurl
4287
+ @Type = type
4279
4288
  end
4280
4289
 
4281
4290
  def deserialize(params)
4282
4291
  @ImageBase64 = params['ImageBase64']
4283
4292
  @ImageUrl = params['ImageUrl']
4293
+ @Type = params['Type']
4284
4294
  end
4285
4295
  end
4286
4296
 
4287
4297
  # RecognizeHealthCodeOCR返回参数结构体
4288
4298
  class RecognizeHealthCodeOCRResponse < TencentCloud::Common::AbstractModel
4289
- # @param Name: 持码人姓名
4299
+ # @param Name: 持码人姓名,如:王*
4290
4300
  # @type Name: String
4301
+ # @param IDNumber: 持码人身份证号,如:11**************01
4302
+ # @type IDNumber: String
4291
4303
  # @param Time: 健康码更新时间,格式为:XXXX-XX-XX XX:XX:XX
4292
4304
  # @type Time: String
4293
4305
  # @param Color: 健康码颜色:绿色、黄色、红色
4294
4306
  # @type Color: String
4307
+ # @param TestingInterval: 核酸检测间隔时长:24小时、48小时、72小时、暂无核酸检测记录
4308
+ # @type TestingInterval: String
4309
+ # @param TestingResult: 核酸检测结果:阴性、阳性、暂无核酸检测记录
4310
+ # @type TestingResult: String
4311
+ # @param TestingTime: 核酸检测时间,格式为:XXXX-XX-XX XX:XX
4312
+ # @type TestingTime: String
4295
4313
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4296
4314
  # @type RequestId: String
4297
4315
 
4298
- attr_accessor :Name, :Time, :Color, :RequestId
4316
+ attr_accessor :Name, :IDNumber, :Time, :Color, :TestingInterval, :TestingResult, :TestingTime, :RequestId
4299
4317
 
4300
- def initialize(name=nil, time=nil, color=nil, requestid=nil)
4318
+ def initialize(name=nil, idnumber=nil, time=nil, color=nil, testinginterval=nil, testingresult=nil, testingtime=nil, requestid=nil)
4301
4319
  @Name = name
4320
+ @IDNumber = idnumber
4302
4321
  @Time = time
4303
4322
  @Color = color
4323
+ @TestingInterval = testinginterval
4324
+ @TestingResult = testingresult
4325
+ @TestingTime = testingtime
4304
4326
  @RequestId = requestid
4305
4327
  end
4306
4328
 
4307
4329
  def deserialize(params)
4308
4330
  @Name = params['Name']
4331
+ @IDNumber = params['IDNumber']
4309
4332
  @Time = params['Time']
4310
4333
  @Color = params['Color']
4334
+ @TestingInterval = params['TestingInterval']
4335
+ @TestingResult = params['TestingResult']
4336
+ @TestingTime = params['TestingTime']
4311
4337
  @RequestId = params['RequestId']
4312
4338
  end
4313
4339
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.299
4
+ version: 1.0.300
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common