tencentcloud-sdk-ocr 3.0.699 → 3.0.701

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +48 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 428f5413c0491be077213db5dc8e9e9d18bb93a4
4
- data.tar.gz: 446c6b0c21a5c02f4bb705294d8d214b9ad02a2b
3
+ metadata.gz: fdc037a5539c532f996d6e5d9a7143212f4ec4cf
4
+ data.tar.gz: e91eeb761639812a3ab99ad6ab6e93f69f4fe6e7
5
5
  SHA512:
6
- metadata.gz: e2a1ff9a737f78cedb6cd92687ec04f241a6a8bee97f4802185eec13c1a2cb3e33d02babc5505b7f298328ec97fd2b9771e20ed3d8ea3c958049a5449fb177d8
7
- data.tar.gz: 054af3020c2d9307479b56c6929e0e54c9f401135abf55232c4a0eb5ec4eb5a0043f5ac80fee7e6fcc828402a375154ece93477556a5904a2fad40b2a822f485
6
+ metadata.gz: 29703a3ac4d5e0e303899be62650957d32c47887c5709d989651576eb56d50606859139f824af58084c2945e392be3f008e98f9ce51d66b030a6cc1539d154fe
7
+ data.tar.gz: 55846b9fc97e2a6734374fe32eb37bc63091b33d9bf67becc45ba7acb9b3f16de8ecec0adc82ecf8567d56b6bfe0f1ea50c8daf91b7e1f3a90a71abd61477fc0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.699
1
+ 3.0.701
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.699
4
+ version: 3.0.701
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud