tencentcloud-sdk-ocr 3.0.1007 → 3.0.1009

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: 29c88191ebf6e98103f871339adf19174aa23abb
4
- data.tar.gz: 9029b95dce6105522a00f332df47cc918e99d77f
3
+ metadata.gz: 16c934e5d950a8841ad0632f2cc0956155b35faa
4
+ data.tar.gz: d818286cb13837ac009bc8a981e0f5bd7977f76d
5
5
  SHA512:
6
- metadata.gz: 2967fcd62f5c2796d7c6cc34ceb265d33a7f3b5ef12a2fa4e0f98acec42d16195289e810c09b4ae099b95ad1ad54002b78291fd06facf694dfae57388da23d17
7
- data.tar.gz: 859542f2e4ac95ff1700601bef331fcbb109da49ca7b6bf9b88e160966eb6722a89a96990a8c0378c75296d7acc45b0b90ec73ce53c6e29cb9f0409e7c2cef1c
6
+ metadata.gz: 28c3a8a156b8bd2e8f5d785d9335b746c081a4176c851fe5d7bac47d4f8d4369a7b8324fefadde578d50429a070aa4138b8a51fd050b9fd982849212b0322b55
7
+ data.tar.gz: 327799dd270fe3a14d44c4c9cb7b71369130c7263a2f64405ec58e5482b025aba69927af4fd16ebedc978da0c5edc33672ef2a2405d983631daa996a17827a2e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1007
1
+ 3.0.1009
@@ -1885,6 +1885,16 @@ module TencentCloud
1885
1885
  # <td> 17 </td>
1886
1886
  # </tr>
1887
1887
  # <tr>
1888
+ # <td> TaxPayment </td>
1889
+ # <td> 完税凭证 </td>
1890
+ # <td> 18 </td>
1891
+ # </tr>
1892
+ # <tr>
1893
+ # <td> CustomsPaymentReceipt </td>
1894
+ # <td> 海关缴款 </td>
1895
+ # <td> 19 </td>
1896
+ # </tr>
1897
+ # <tr>
1888
1898
  # <td> OtherInvoice </td>
1889
1899
  # <td> 其他发票 </td>
1890
1900
  # <td> -1 </td>
@@ -3833,14 +3833,20 @@ module TencentCloud
3833
3833
  # @type TextDetections: Array
3834
3834
  # @param Angel: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
3835
3835
  # @type Angel: Float
3836
+ # @param Angle: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
3837
+ # @type Angle: Float
3836
3838
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3837
3839
  # @type RequestId: String
3838
3840
 
3839
- attr_accessor :TextDetections, :Angel, :RequestId
3841
+ attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3842
+ extend Gem::Deprecate
3843
+ deprecate :Angel, :none, 2025, 2
3844
+ deprecate :Angel=, :none, 2025, 2
3840
3845
 
3841
- def initialize(textdetections=nil, angel=nil, requestid=nil)
3846
+ def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3842
3847
  @TextDetections = textdetections
3843
3848
  @Angel = angel
3849
+ @Angle = angle
3844
3850
  @RequestId = requestid
3845
3851
  end
3846
3852
 
@@ -3854,6 +3860,7 @@ module TencentCloud
3854
3860
  end
3855
3861
  end
3856
3862
  @Angel = params['Angel']
3863
+ @Angle = params['Angle']
3857
3864
  @RequestId = params['RequestId']
3858
3865
  end
3859
3866
  end
@@ -8758,6 +8765,8 @@ module TencentCloud
8758
8765
  # 15:非税发票
8759
8766
  # 16:全电发票
8760
8767
  # 17:医疗发票
8768
+ # 18:完税凭证
8769
+ # 19:海关缴款书
8761
8770
  # -1:其他发票
8762
8771
  # @type Types: Array
8763
8772
  # @param EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
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.1007
4
+ version: 3.0.1009
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-02-26 00:00:00.000000000 Z
11
+ date: 2025-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common