tencentcloud-sdk-ocr 3.0.955 → 3.0.957
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +45 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 643de7f5a71b3e43aa3fd60ff62cd2dd550b4c14
|
4
|
+
data.tar.gz: 0c117c92677e16383815f9834bafc2cc05d5b0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d404130340327b7a15f2bea5aa4e2185fb3aa368db311f2163ddada947323bceb1975023dd6674e3be7f3ae90c10688ce150c94a78e153d24b946918db6ace8
|
7
|
+
data.tar.gz: b84a3e1d34b400fd8a0cb3ec3c2492c2d0e05ed4364f2c4fe1c2e3514daa6c2bf940da97dbe018f8de56df934eb81cdcb008f58f12bc678c69406cd46b3d0c80
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.957
|
data/lib/v20181119/models.rb
CHANGED
@@ -280,10 +280,24 @@ module TencentCloud
|
|
280
280
|
# @type QRCodeMark: Integer
|
281
281
|
# @param FlightItems: 条目
|
282
282
|
# @type FlightItems: Array
|
283
|
+
# @param PromptInformation: 提示信息
|
284
|
+
# @type PromptInformation: String
|
285
|
+
# @param BuyerTaxID: 统一社会信用代码/纳税人识别号
|
286
|
+
# @type BuyerTaxID: String
|
287
|
+
# @param Buyer: 购买方名称
|
288
|
+
# @type Buyer: String
|
289
|
+
# @param ReceiptNumber: 发票号码
|
290
|
+
# @type ReceiptNumber: String
|
291
|
+
# @param InvoiceStatus: 开票状态
|
292
|
+
# @type InvoiceStatus: String
|
293
|
+
# @param TaxRate: 增值税税率
|
294
|
+
# @type TaxRate: String
|
295
|
+
# @param TaxAmount: 增值税税额
|
296
|
+
# @type TaxAmount: String
|
283
297
|
|
284
|
-
attr_accessor :Title, :Number, :CheckCode, :SerialNumber, :Date, :AgentCode, :AgentCodeFirst, :AgentCodeSecond, :UserName, :UserID, :Issuer, :Fare, :Tax, :FuelSurcharge, :AirDevelopmentFund, :Insurance, :Total, :Kind, :DomesticInternationalTag, :DateStart, :DateEnd, :Endorsement, :QRCodeMark, :FlightItems
|
298
|
+
attr_accessor :Title, :Number, :CheckCode, :SerialNumber, :Date, :AgentCode, :AgentCodeFirst, :AgentCodeSecond, :UserName, :UserID, :Issuer, :Fare, :Tax, :FuelSurcharge, :AirDevelopmentFund, :Insurance, :Total, :Kind, :DomesticInternationalTag, :DateStart, :DateEnd, :Endorsement, :QRCodeMark, :FlightItems, :PromptInformation, :BuyerTaxID, :Buyer, :ReceiptNumber, :InvoiceStatus, :TaxRate, :TaxAmount
|
285
299
|
|
286
|
-
def initialize(title=nil, number=nil, checkcode=nil, serialnumber=nil, date=nil, agentcode=nil, agentcodefirst=nil, agentcodesecond=nil, username=nil, userid=nil, issuer=nil, fare=nil, tax=nil, fuelsurcharge=nil, airdevelopmentfund=nil, insurance=nil, total=nil, kind=nil, domesticinternationaltag=nil, datestart=nil, dateend=nil, endorsement=nil, qrcodemark=nil, flightitems=nil)
|
300
|
+
def initialize(title=nil, number=nil, checkcode=nil, serialnumber=nil, date=nil, agentcode=nil, agentcodefirst=nil, agentcodesecond=nil, username=nil, userid=nil, issuer=nil, fare=nil, tax=nil, fuelsurcharge=nil, airdevelopmentfund=nil, insurance=nil, total=nil, kind=nil, domesticinternationaltag=nil, datestart=nil, dateend=nil, endorsement=nil, qrcodemark=nil, flightitems=nil, promptinformation=nil, buyertaxid=nil, buyer=nil, receiptnumber=nil, invoicestatus=nil, taxrate=nil, taxamount=nil)
|
287
301
|
@Title = title
|
288
302
|
@Number = number
|
289
303
|
@CheckCode = checkcode
|
@@ -308,6 +322,13 @@ module TencentCloud
|
|
308
322
|
@Endorsement = endorsement
|
309
323
|
@QRCodeMark = qrcodemark
|
310
324
|
@FlightItems = flightitems
|
325
|
+
@PromptInformation = promptinformation
|
326
|
+
@BuyerTaxID = buyertaxid
|
327
|
+
@Buyer = buyer
|
328
|
+
@ReceiptNumber = receiptnumber
|
329
|
+
@InvoiceStatus = invoicestatus
|
330
|
+
@TaxRate = taxrate
|
331
|
+
@TaxAmount = taxamount
|
311
332
|
end
|
312
333
|
|
313
334
|
def deserialize(params)
|
@@ -342,6 +363,13 @@ module TencentCloud
|
|
342
363
|
@FlightItems << flightitem_tmp
|
343
364
|
end
|
344
365
|
end
|
366
|
+
@PromptInformation = params['PromptInformation']
|
367
|
+
@BuyerTaxID = params['BuyerTaxID']
|
368
|
+
@Buyer = params['Buyer']
|
369
|
+
@ReceiptNumber = params['ReceiptNumber']
|
370
|
+
@InvoiceStatus = params['InvoiceStatus']
|
371
|
+
@TaxRate = params['TaxRate']
|
372
|
+
@TaxAmount = params['TaxAmount']
|
345
373
|
end
|
346
374
|
end
|
347
375
|
|
@@ -2500,10 +2528,12 @@ module TencentCloud
|
|
2500
2528
|
# @type BuyerTaxID: String
|
2501
2529
|
# @param OriginalNumber: 原发票号码
|
2502
2530
|
# @type OriginalNumber: String
|
2531
|
+
# @param IDInfo: 标识信息
|
2532
|
+
# @type IDInfo: String
|
2503
2533
|
|
2504
|
-
attr_accessor :TypeOfVoucher, :ElectronicTicketNum, :Date, :StationGetOn, :StationGetOff, :TrainNumber, :DateGetOn, :TimeGetOn, :Seat, :SeatNumber, :Fare, :Number, :UserID, :UserName, :Total, :TaxRate, :Tax, :Buyer, :BuyerTaxID, :OriginalNumber
|
2534
|
+
attr_accessor :TypeOfVoucher, :ElectronicTicketNum, :Date, :StationGetOn, :StationGetOff, :TrainNumber, :DateGetOn, :TimeGetOn, :Seat, :SeatNumber, :Fare, :Number, :UserID, :UserName, :Total, :TaxRate, :Tax, :Buyer, :BuyerTaxID, :OriginalNumber, :IDInfo
|
2505
2535
|
|
2506
|
-
def initialize(typeofvoucher=nil, electronicticketnum=nil, date=nil, stationgeton=nil, stationgetoff=nil, trainnumber=nil, dategeton=nil, timegeton=nil, seat=nil, seatnumber=nil, fare=nil, number=nil, userid=nil, username=nil, total=nil, taxrate=nil, tax=nil, buyer=nil, buyertaxid=nil, originalnumber=nil)
|
2536
|
+
def initialize(typeofvoucher=nil, electronicticketnum=nil, date=nil, stationgeton=nil, stationgetoff=nil, trainnumber=nil, dategeton=nil, timegeton=nil, seat=nil, seatnumber=nil, fare=nil, number=nil, userid=nil, username=nil, total=nil, taxrate=nil, tax=nil, buyer=nil, buyertaxid=nil, originalnumber=nil, idinfo=nil)
|
2507
2537
|
@TypeOfVoucher = typeofvoucher
|
2508
2538
|
@ElectronicTicketNum = electronicticketnum
|
2509
2539
|
@Date = date
|
@@ -2524,6 +2554,7 @@ module TencentCloud
|
|
2524
2554
|
@Buyer = buyer
|
2525
2555
|
@BuyerTaxID = buyertaxid
|
2526
2556
|
@OriginalNumber = originalnumber
|
2557
|
+
@IDInfo = idinfo
|
2527
2558
|
end
|
2528
2559
|
|
2529
2560
|
def deserialize(params)
|
@@ -2547,6 +2578,7 @@ module TencentCloud
|
|
2547
2578
|
@Buyer = params['Buyer']
|
2548
2579
|
@BuyerTaxID = params['BuyerTaxID']
|
2549
2580
|
@OriginalNumber = params['OriginalNumber']
|
2581
|
+
@IDInfo = params['IDInfo']
|
2550
2582
|
end
|
2551
2583
|
end
|
2552
2584
|
|
@@ -4353,16 +4385,19 @@ module TencentCloud
|
|
4353
4385
|
|
4354
4386
|
# 此开关需要在反光检测开关开启下才会生效(即此开关生效的前提是config入参里的"ReflectWarn":true),若EnableReflectDetail设置为true,则会返回反光点覆盖区域详情。反光点覆盖区域详情分为四部分:人像照片位置、国徽位置、识别字段位置、其他位置。一个反光点允许覆盖多个区域,且一张图片可能存在多个反光点。
|
4355
4387
|
# @type EnableReflectDetail: Boolean
|
4388
|
+
# @param EnableDateVerify: 用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
|
4389
|
+
# @type EnableDateVerify: Boolean
|
4356
4390
|
|
4357
|
-
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail
|
4391
|
+
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify
|
4358
4392
|
|
4359
|
-
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil)
|
4393
|
+
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil)
|
4360
4394
|
@ImageBase64 = imagebase64
|
4361
4395
|
@ImageUrl = imageurl
|
4362
4396
|
@CardSide = cardside
|
4363
4397
|
@Config = config
|
4364
4398
|
@EnableRecognitionRectify = enablerecognitionrectify
|
4365
4399
|
@EnableReflectDetail = enablereflectdetail
|
4400
|
+
@EnableDateVerify = enabledateverify
|
4366
4401
|
end
|
4367
4402
|
|
4368
4403
|
def deserialize(params)
|
@@ -4372,6 +4407,7 @@ module TencentCloud
|
|
4372
4407
|
@Config = params['Config']
|
4373
4408
|
@EnableRecognitionRectify = params['EnableRecognitionRectify']
|
4374
4409
|
@EnableReflectDetail = params['EnableReflectDetail']
|
4410
|
+
@EnableDateVerify = params['EnableDateVerify']
|
4375
4411
|
end
|
4376
4412
|
end
|
4377
4413
|
|
@@ -10468,8 +10504,9 @@ module TencentCloud
|
|
10468
10504
|
# @param Cells: 单元格内容
|
10469
10505
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10470
10506
|
# @type Cells: Array
|
10471
|
-
# @param Type:
|
10472
|
-
#
|
10507
|
+
# @param Type: 图像中的文本块类型:0为非表格文本、1为有线表格、2为无线表格,
|
10508
|
+
# 有线表格:在表格内部,有横线/竖线纵跨整个表格的宽/高;
|
10509
|
+
# 无线表格:在表格内部,无横线/竖线纵跨整个表格的宽/高。
|
10473
10510
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10474
10511
|
# @type Type: Integer
|
10475
10512
|
# @param TableCoordPoint: 表格主体四个顶点坐标(依次为左上角,
|
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.957
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|