tencentcloud-sdk-python-ocr 3.0.1174__tar.gz → 3.0.1178__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/ocr/v20181119/models.py +24 -0
  5. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/ocr/v20181119/ocr_client.py +4 -2
  6. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-ocr-3.0.1178/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-ocr-3.0.1174/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/README.rst +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/ocr/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1174 → tencentcloud-sdk-python-ocr-3.0.1178}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1174
3
+ Version: 3.0.1178
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-ocr',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1174"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1178"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ocr SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1174'
17
+ __version__ = '3.0.1178'
@@ -1469,10 +1469,13 @@ class BizLicenseOCRRequest(AbstractModel):
1469
1469
  :type ImageUrl: str
1470
1470
  :param _EnableCopyWarn: 是否返回告警码,默认为false
1471
1471
  :type EnableCopyWarn: bool
1472
+ :param _EnablePeriodComplete: 是否返回自动拼接的有效期,默认为true
1473
+ :type EnablePeriodComplete: bool
1472
1474
  """
1473
1475
  self._ImageBase64 = None
1474
1476
  self._ImageUrl = None
1475
1477
  self._EnableCopyWarn = None
1478
+ self._EnablePeriodComplete = None
1476
1479
 
1477
1480
  @property
1478
1481
  def ImageBase64(self):
@@ -1498,11 +1501,20 @@ class BizLicenseOCRRequest(AbstractModel):
1498
1501
  def EnableCopyWarn(self, EnableCopyWarn):
1499
1502
  self._EnableCopyWarn = EnableCopyWarn
1500
1503
 
1504
+ @property
1505
+ def EnablePeriodComplete(self):
1506
+ return self._EnablePeriodComplete
1507
+
1508
+ @EnablePeriodComplete.setter
1509
+ def EnablePeriodComplete(self, EnablePeriodComplete):
1510
+ self._EnablePeriodComplete = EnablePeriodComplete
1511
+
1501
1512
 
1502
1513
  def _deserialize(self, params):
1503
1514
  self._ImageBase64 = params.get("ImageBase64")
1504
1515
  self._ImageUrl = params.get("ImageUrl")
1505
1516
  self._EnableCopyWarn = params.get("EnableCopyWarn")
1517
+ self._EnablePeriodComplete = params.get("EnablePeriodComplete")
1506
1518
  memeber_set = set(params.keys())
1507
1519
  for name, value in vars(self).items():
1508
1520
  property_name = name[1:]
@@ -25199,6 +25211,8 @@ class TrainTicket(AbstractModel):
25199
25211
  :type ReimburseOnlyMark: int
25200
25212
  :param _RefundMark: 是否有退票费标识(0:没有,1:有)
25201
25213
  :type RefundMark: int
25214
+ :param _TicketChangeMark: 是否有改签费标识(0:没有,1:有)
25215
+ :type TicketChangeMark: int
25202
25216
  """
25203
25217
  self._Title = None
25204
25218
  self._Number = None
@@ -25225,6 +25239,7 @@ class TrainTicket(AbstractModel):
25225
25239
  self._QRCodeMark = None
25226
25240
  self._ReimburseOnlyMark = None
25227
25241
  self._RefundMark = None
25242
+ self._TicketChangeMark = None
25228
25243
 
25229
25244
  @property
25230
25245
  def Title(self):
@@ -25426,6 +25441,14 @@ class TrainTicket(AbstractModel):
25426
25441
  def RefundMark(self, RefundMark):
25427
25442
  self._RefundMark = RefundMark
25428
25443
 
25444
+ @property
25445
+ def TicketChangeMark(self):
25446
+ return self._TicketChangeMark
25447
+
25448
+ @TicketChangeMark.setter
25449
+ def TicketChangeMark(self, TicketChangeMark):
25450
+ self._TicketChangeMark = TicketChangeMark
25451
+
25429
25452
 
25430
25453
  def _deserialize(self, params):
25431
25454
  self._Title = params.get("Title")
@@ -25453,6 +25476,7 @@ class TrainTicket(AbstractModel):
25453
25476
  self._QRCodeMark = params.get("QRCodeMark")
25454
25477
  self._ReimburseOnlyMark = params.get("ReimburseOnlyMark")
25455
25478
  self._RefundMark = params.get("RefundMark")
25479
+ self._TicketChangeMark = params.get("TicketChangeMark")
25456
25480
  memeber_set = set(params.keys())
25457
25481
  for name, value in vars(self).items():
25458
25482
  property_name = name[1:]
@@ -2021,7 +2021,7 @@ class OcrClient(AbstractClient):
2021
2021
 
2022
2022
 
2023
2023
  def ReconstructDocument(self, request):
2024
- """支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
2024
+ """服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
2025
2025
 
2026
2026
  :param request: Request instance for ReconstructDocument.
2027
2027
  :type request: :class:`tencentcloud.ocr.v20181119.models.ReconstructDocumentRequest`
@@ -2369,7 +2369,9 @@ class OcrClient(AbstractClient):
2369
2369
 
2370
2370
 
2371
2371
  def VatInvoiceVerify(self, request):
2372
- """本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
2372
+ """已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
2373
+
2374
+ 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
2373
2375
 
2374
2376
  默认接口请求频率限制:20次/秒。
2375
2377
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1174
3
+ Version: 3.0.1178
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1178
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1174