tencentcloud-sdk-ocr 3.0.1109 → 3.0.1112

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +25 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d8ad8c5d339c104ad37d30667be6c78a76689c6
4
- data.tar.gz: 669d1714248857559818611bffb71d784f00e062
3
+ metadata.gz: 5177a4d233a040b6c686c270a15e5dc2a62f5058
4
+ data.tar.gz: fd7ed46f7f31e7c2fb8e26d57921c6ab60286169
5
5
  SHA512:
6
- metadata.gz: e936c14e0c3fd6b15672e7a9c2fc58c22e8c56b5d7e96a91966c48fdae1ddc0c99df5a527fa955e507f8a5de8f509109e7bf6d6bf9c018d6e290a22809ac0237
7
- data.tar.gz: 699b28468d4d68efa063fd1a4157a242d0e903d59b3841475bcad20154f655ac191a297939ac62e58f1e94097bfc44dc029649df56a719ebfdc7954320a95ad9
6
+ metadata.gz: 67b5c51d3d95725856baebd7a907dbe9cb35dd8a9cc1ac7093d76eeefbf55f98cb0746a2196d8265115883a1629be6df52bae93e627b974ffd0e2493bbaedb07
7
+ data.tar.gz: 3172788e7e96603e37d3b4ba0a2d7ce7f9c43267f205fe8651d8e38142b3f5d375a152ddcfc8ee128fc272586930d3b36fc0667ca9c181b96d6399fdbd830361
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1109
1
+ 3.0.1112
@@ -6026,17 +6026,19 @@ module TencentCloud
6026
6026
  # -9108 证件模糊告警
6027
6027
  # -9109 告警能力未开通
6028
6028
  # @type WarnCardInfos: Array
6029
+ # @param CardCount: 输入图片中的卡证数量(仅请求曼谷地域[ap-bangkok]返回)
6030
+ # @type CardCount: Integer
6029
6031
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6030
6032
  # @type RequestId: String
6031
6033
 
6032
- attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :RequestId
6034
+ attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
6033
6035
  extend Gem::Deprecate
6034
6036
  deprecate :Warn, :none, 2025, 7
6035
6037
  deprecate :Warn=, :none, 2025, 7
6036
6038
  deprecate :AdvancedInfo, :none, 2025, 7
6037
6039
  deprecate :AdvancedInfo=, :none, 2025, 7
6038
6040
 
6039
- def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, requestid=nil)
6041
+ def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil)
6040
6042
  @ID = id
6041
6043
  @Name = name
6042
6044
  @DateOfBirth = dateofbirth
@@ -6054,6 +6056,7 @@ module TencentCloud
6054
6056
  @Type = type
6055
6057
  @PassportRecognizeInfos = passportrecognizeinfos
6056
6058
  @WarnCardInfos = warncardinfos
6059
+ @CardCount = cardcount
6057
6060
  @RequestId = requestid
6058
6061
  end
6059
6062
 
@@ -6078,6 +6081,7 @@ module TencentCloud
6078
6081
  @PassportRecognizeInfos.deserialize(params['PassportRecognizeInfos'])
6079
6082
  end
6080
6083
  @WarnCardInfos = params['WarnCardInfos']
6084
+ @CardCount = params['CardCount']
6081
6085
  @RequestId = params['RequestId']
6082
6086
  end
6083
6087
  end
@@ -9707,15 +9711,17 @@ module TencentCloud
9707
9711
  # @type WarnCardInfos: Array
9708
9712
  # @param AdvancedInfo: 该字段已废弃, 将固定返回"1",不建议使用。
9709
9713
  # @type AdvancedInfo: String
9714
+ # @param CardCount: 卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)
9715
+ # @type CardCount: Integer
9710
9716
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9711
9717
  # @type RequestId: String
9712
9718
 
9713
- attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :RequestId
9719
+ attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
9714
9720
  extend Gem::Deprecate
9715
9721
  deprecate :AdvancedInfo, :none, 2025, 7
9716
9722
  deprecate :AdvancedInfo=, :none, 2025, 7
9717
9723
 
9718
- def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, requestid=nil)
9724
+ def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
9719
9725
  @ID = id
9720
9726
  @ThaiName = thainame
9721
9727
  @EnFirstName = enfirstname
@@ -9733,6 +9739,7 @@ module TencentCloud
9733
9739
  @PortraitImage = portraitimage
9734
9740
  @WarnCardInfos = warncardinfos
9735
9741
  @AdvancedInfo = advancedinfo
9742
+ @CardCount = cardcount
9736
9743
  @RequestId = requestid
9737
9744
  end
9738
9745
 
@@ -9754,6 +9761,7 @@ module TencentCloud
9754
9761
  @PortraitImage = params['PortraitImage']
9755
9762
  @WarnCardInfos = params['WarnCardInfos']
9756
9763
  @AdvancedInfo = params['AdvancedInfo']
9764
+ @CardCount = params['CardCount']
9757
9765
  @RequestId = params['RequestId']
9758
9766
  end
9759
9767
  end
@@ -11556,12 +11564,15 @@ module TencentCloud
11556
11564
  # 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
11557
11565
  # 示例值:纳税人识别号
11558
11566
  # @type Content: Array
11567
+ # @param TableItems: 表格。
11568
+ # @type TableItems: Array
11559
11569
 
11560
- attr_accessor :Title, :Content
11570
+ attr_accessor :Title, :Content, :TableItems
11561
11571
 
11562
- def initialize(title=nil, content=nil)
11572
+ def initialize(title=nil, content=nil, tableitems=nil)
11563
11573
  @Title = title
11564
11574
  @Content = content
11575
+ @TableItems = tableitems
11565
11576
  end
11566
11577
 
11567
11578
  def deserialize(params)
@@ -11574,6 +11585,14 @@ module TencentCloud
11574
11585
  @Content << otherinvoiceitem_tmp
11575
11586
  end
11576
11587
  end
11588
+ unless params['TableItems'].nil?
11589
+ @TableItems = []
11590
+ params['TableItems'].each do |i|
11591
+ otherinvoicelist_tmp = OtherInvoiceList.new
11592
+ otherinvoicelist_tmp.deserialize(i)
11593
+ @TableItems << otherinvoicelist_tmp
11594
+ end
11595
+ end
11577
11596
  end
11578
11597
  end
11579
11598
 
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.1109
4
+ version: 3.0.1112
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-27 00:00:00.000000000 Z
11
+ date: 2025-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common