tencentcloud-sdk-ocr 3.0.700 → 3.0.702
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +48 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c33c130b3a1943968c9294a93b417ea6091e466d
|
4
|
+
data.tar.gz: 724be60a5568acd7fed2383608cf287c33d4320b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f5c4106974a02ae4a5a206e6104a415267876e6801f9b0bbc42216da96a001b1f317a578c940728ccf13a55e151e7a49b2fc5d03bff08a82d9feacbb94533d
|
7
|
+
data.tar.gz: 404385abaf79e622835e207534710d93fe76588c290619d4d1ea163bd775368c3edb82e0bbc0d05c8622ae9264951a6ec1c66031f8b9e76088217dab3ea7e97b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.702
|
data/lib/v20181119/models.rb
CHANGED
@@ -4246,19 +4246,24 @@ module TencentCloud
|
|
4246
4246
|
# @type ImageUrl: String
|
4247
4247
|
# @param RetProfile: 是否返回头像。默认不返回。
|
4248
4248
|
# @type RetProfile: Boolean
|
4249
|
+
# @param CardSide: 图片正反面
|
4250
|
+
# FRONT:正面、BACK:反面,默认为FRONT
|
4251
|
+
# @type CardSide: String
|
4249
4252
|
|
4250
|
-
attr_accessor :ImageBase64, :ImageUrl, :RetProfile
|
4253
|
+
attr_accessor :ImageBase64, :ImageUrl, :RetProfile, :CardSide
|
4251
4254
|
|
4252
|
-
def initialize(imagebase64=nil, imageurl=nil, retprofile=nil)
|
4255
|
+
def initialize(imagebase64=nil, imageurl=nil, retprofile=nil, cardside=nil)
|
4253
4256
|
@ImageBase64 = imagebase64
|
4254
4257
|
@ImageUrl = imageurl
|
4255
4258
|
@RetProfile = retprofile
|
4259
|
+
@CardSide = cardside
|
4256
4260
|
end
|
4257
4261
|
|
4258
4262
|
def deserialize(params)
|
4259
4263
|
@ImageBase64 = params['ImageBase64']
|
4260
4264
|
@ImageUrl = params['ImageUrl']
|
4261
4265
|
@RetProfile = params['RetProfile']
|
4266
|
+
@CardSide = params['CardSide']
|
4262
4267
|
end
|
4263
4268
|
end
|
4264
4269
|
|
@@ -4286,12 +4291,14 @@ module TencentCloud
|
|
4286
4291
|
# @type Type: String
|
4287
4292
|
# @param Profile: RetProfile为True时返回头像字段, Base64编码
|
4288
4293
|
# @type Profile: String
|
4294
|
+
# @param MainlandTravelPermitBackInfos: 背面字段信息
|
4295
|
+
# @type MainlandTravelPermitBackInfos: :class:`Tencentcloud::Ocr.v20181119.models.MainlandTravelPermitBackInfos`
|
4289
4296
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4290
4297
|
# @type RequestId: String
|
4291
4298
|
|
4292
|
-
attr_accessor :Name, :EnglishName, :Sex, :Birthday, :IssueAuthority, :ValidDate, :Number, :IssueAddress, :IssueNumber, :Type, :Profile, :RequestId
|
4299
|
+
attr_accessor :Name, :EnglishName, :Sex, :Birthday, :IssueAuthority, :ValidDate, :Number, :IssueAddress, :IssueNumber, :Type, :Profile, :MainlandTravelPermitBackInfos, :RequestId
|
4293
4300
|
|
4294
|
-
def initialize(name=nil, englishname=nil, sex=nil, birthday=nil, issueauthority=nil, validdate=nil, number=nil, issueaddress=nil, issuenumber=nil, type=nil, profile=nil, requestid=nil)
|
4301
|
+
def initialize(name=nil, englishname=nil, sex=nil, birthday=nil, issueauthority=nil, validdate=nil, number=nil, issueaddress=nil, issuenumber=nil, type=nil, profile=nil, mainlandtravelpermitbackinfos=nil, requestid=nil)
|
4295
4302
|
@Name = name
|
4296
4303
|
@EnglishName = englishname
|
4297
4304
|
@Sex = sex
|
@@ -4303,6 +4310,7 @@ module TencentCloud
|
|
4303
4310
|
@IssueNumber = issuenumber
|
4304
4311
|
@Type = type
|
4305
4312
|
@Profile = profile
|
4313
|
+
@MainlandTravelPermitBackInfos = mainlandtravelpermitbackinfos
|
4306
4314
|
@RequestId = requestid
|
4307
4315
|
end
|
4308
4316
|
|
@@ -4318,10 +4326,46 @@ module TencentCloud
|
|
4318
4326
|
@IssueNumber = params['IssueNumber']
|
4319
4327
|
@Type = params['Type']
|
4320
4328
|
@Profile = params['Profile']
|
4329
|
+
unless params['MainlandTravelPermitBackInfos'].nil?
|
4330
|
+
@MainlandTravelPermitBackInfos = MainlandTravelPermitBackInfos.new
|
4331
|
+
@MainlandTravelPermitBackInfos.deserialize(params['MainlandTravelPermitBackInfos'])
|
4332
|
+
end
|
4321
4333
|
@RequestId = params['RequestId']
|
4322
4334
|
end
|
4323
4335
|
end
|
4324
4336
|
|
4337
|
+
# 港澳台来往内地通行证背面字段信息
|
4338
|
+
class MainlandTravelPermitBackInfos < TencentCloud::Common::AbstractModel
|
4339
|
+
# @param Type: String 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证。
|
4340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4341
|
+
# @type Type: String
|
4342
|
+
# @param Name: 卡证背面的中文姓名
|
4343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4344
|
+
# @type Name: String
|
4345
|
+
# @param IDNumber: 卡证背面的身份证号码
|
4346
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4347
|
+
# @type IDNumber: String
|
4348
|
+
# @param HistoryNumber: 历史通行证号码
|
4349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4350
|
+
# @type HistoryNumber: String
|
4351
|
+
|
4352
|
+
attr_accessor :Type, :Name, :IDNumber, :HistoryNumber
|
4353
|
+
|
4354
|
+
def initialize(type=nil, name=nil, idnumber=nil, historynumber=nil)
|
4355
|
+
@Type = type
|
4356
|
+
@Name = name
|
4357
|
+
@IDNumber = idnumber
|
4358
|
+
@HistoryNumber = historynumber
|
4359
|
+
end
|
4360
|
+
|
4361
|
+
def deserialize(params)
|
4362
|
+
@Type = params['Type']
|
4363
|
+
@Name = params['Name']
|
4364
|
+
@IDNumber = params['IDNumber']
|
4365
|
+
@HistoryNumber = params['HistoryNumber']
|
4366
|
+
end
|
4367
|
+
end
|
4368
|
+
|
4325
4369
|
# 医疗票据信息
|
4326
4370
|
class MedicalInvoice < TencentCloud::Common::AbstractModel
|
4327
4371
|
# @param Title: 发票名称
|
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: 3.0.
|
4
|
+
version: 3.0.702
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20181119/client.rb
|
37
36
|
- lib/v20181119/models.rb
|
37
|
+
- lib/v20181119/client.rb
|
38
38
|
- lib/tencentcloud-sdk-ocr.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|