tencentcloud-sdk-python-ocr 3.1.112__tar.gz → 3.1.115__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 (17) hide show
  1. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/v20181119/models.py +154 -400
  5. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/v20181119/ocr_client.py +24 -54
  6. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/v20181119/ocr_client_async.py +19 -44
  7. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ocr-3.1.115/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ocr-3.1.112/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.115}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.112
3
+ Version: 3.1.115
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.115
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.112,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.115,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ocr SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.112'
17
+ __version__ = '3.1.115'
@@ -25044,252 +25044,6 @@ class RecognizeGeneralInvoiceResponse(AbstractModel):
25044
25044
  self._RequestId = params.get("RequestId")
25045
25045
 
25046
25046
 
25047
- class RecognizeHealthCodeOCRRequest(AbstractModel):
25048
- r"""RecognizeHealthCodeOCR请求参数结构体
25049
-
25050
- """
25051
-
25052
- def __init__(self):
25053
- r"""
25054
- :param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
25055
- :type ImageBase64: str
25056
- :param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
25057
- :type ImageUrl: str
25058
- :param _Type: 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
25059
- 0:自动识别
25060
- :type Type: int
25061
- """
25062
- self._ImageBase64 = None
25063
- self._ImageUrl = None
25064
- self._Type = None
25065
-
25066
- @property
25067
- def ImageBase64(self):
25068
- r"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
25069
- :rtype: str
25070
- """
25071
- return self._ImageBase64
25072
-
25073
- @ImageBase64.setter
25074
- def ImageBase64(self, ImageBase64):
25075
- self._ImageBase64 = ImageBase64
25076
-
25077
- @property
25078
- def ImageUrl(self):
25079
- r"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
25080
- :rtype: str
25081
- """
25082
- return self._ImageUrl
25083
-
25084
- @ImageUrl.setter
25085
- def ImageUrl(self, ImageUrl):
25086
- self._ImageUrl = ImageUrl
25087
-
25088
- @property
25089
- def Type(self):
25090
- r"""需要识别的健康码类型列表,为空或不填表示默认为自动识别。
25091
- 0:自动识别
25092
- :rtype: int
25093
- """
25094
- return self._Type
25095
-
25096
- @Type.setter
25097
- def Type(self, Type):
25098
- self._Type = Type
25099
-
25100
-
25101
- def _deserialize(self, params):
25102
- self._ImageBase64 = params.get("ImageBase64")
25103
- self._ImageUrl = params.get("ImageUrl")
25104
- self._Type = params.get("Type")
25105
- memeber_set = set(params.keys())
25106
- for name, value in vars(self).items():
25107
- property_name = name[1:]
25108
- if property_name in memeber_set:
25109
- memeber_set.remove(property_name)
25110
- if len(memeber_set) > 0:
25111
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25112
-
25113
-
25114
-
25115
- class RecognizeHealthCodeOCRResponse(AbstractModel):
25116
- r"""RecognizeHealthCodeOCR返回参数结构体
25117
-
25118
- """
25119
-
25120
- def __init__(self):
25121
- r"""
25122
- :param _Name: 持码人姓名,如:王*(允许返回空值)
25123
- :type Name: str
25124
- :param _IDNumber: 持码人身份证号,如:11**************01(允许返回空值)
25125
- :type IDNumber: str
25126
- :param _Time: 健康码更新时间(允许返回空值)
25127
- :type Time: str
25128
- :param _Color: 健康码颜色:绿色、黄色、红色(允许返回空值)
25129
- :type Color: str
25130
- :param _TestingInterval: 核酸检测间隔时长(允许返回空值)
25131
- :type TestingInterval: str
25132
- :param _TestingResult: 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
25133
- :type TestingResult: str
25134
- :param _TestingTime: 核酸检测时间(允许返回空值)
25135
- :type TestingTime: str
25136
- :param _Vaccination: 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
25137
- :type Vaccination: str
25138
- :param _SpotName: 场所名称(允许返回空值)
25139
- :type SpotName: str
25140
- :param _VaccinationTime: 疫苗接种时间
25141
- :type VaccinationTime: str
25142
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25143
- :type RequestId: str
25144
- """
25145
- self._Name = None
25146
- self._IDNumber = None
25147
- self._Time = None
25148
- self._Color = None
25149
- self._TestingInterval = None
25150
- self._TestingResult = None
25151
- self._TestingTime = None
25152
- self._Vaccination = None
25153
- self._SpotName = None
25154
- self._VaccinationTime = None
25155
- self._RequestId = None
25156
-
25157
- @property
25158
- def Name(self):
25159
- r"""持码人姓名,如:王*(允许返回空值)
25160
- :rtype: str
25161
- """
25162
- return self._Name
25163
-
25164
- @Name.setter
25165
- def Name(self, Name):
25166
- self._Name = Name
25167
-
25168
- @property
25169
- def IDNumber(self):
25170
- r"""持码人身份证号,如:11**************01(允许返回空值)
25171
- :rtype: str
25172
- """
25173
- return self._IDNumber
25174
-
25175
- @IDNumber.setter
25176
- def IDNumber(self, IDNumber):
25177
- self._IDNumber = IDNumber
25178
-
25179
- @property
25180
- def Time(self):
25181
- r"""健康码更新时间(允许返回空值)
25182
- :rtype: str
25183
- """
25184
- return self._Time
25185
-
25186
- @Time.setter
25187
- def Time(self, Time):
25188
- self._Time = Time
25189
-
25190
- @property
25191
- def Color(self):
25192
- r"""健康码颜色:绿色、黄色、红色(允许返回空值)
25193
- :rtype: str
25194
- """
25195
- return self._Color
25196
-
25197
- @Color.setter
25198
- def Color(self, Color):
25199
- self._Color = Color
25200
-
25201
- @property
25202
- def TestingInterval(self):
25203
- r"""核酸检测间隔时长(允许返回空值)
25204
- :rtype: str
25205
- """
25206
- return self._TestingInterval
25207
-
25208
- @TestingInterval.setter
25209
- def TestingInterval(self, TestingInterval):
25210
- self._TestingInterval = TestingInterval
25211
-
25212
- @property
25213
- def TestingResult(self):
25214
- r"""核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
25215
- :rtype: str
25216
- """
25217
- return self._TestingResult
25218
-
25219
- @TestingResult.setter
25220
- def TestingResult(self, TestingResult):
25221
- self._TestingResult = TestingResult
25222
-
25223
- @property
25224
- def TestingTime(self):
25225
- r"""核酸检测时间(允许返回空值)
25226
- :rtype: str
25227
- """
25228
- return self._TestingTime
25229
-
25230
- @TestingTime.setter
25231
- def TestingTime(self, TestingTime):
25232
- self._TestingTime = TestingTime
25233
-
25234
- @property
25235
- def Vaccination(self):
25236
- r"""疫苗接种信息,返回接种针数或接种情况(允许返回空值)
25237
- :rtype: str
25238
- """
25239
- return self._Vaccination
25240
-
25241
- @Vaccination.setter
25242
- def Vaccination(self, Vaccination):
25243
- self._Vaccination = Vaccination
25244
-
25245
- @property
25246
- def SpotName(self):
25247
- r"""场所名称(允许返回空值)
25248
- :rtype: str
25249
- """
25250
- return self._SpotName
25251
-
25252
- @SpotName.setter
25253
- def SpotName(self, SpotName):
25254
- self._SpotName = SpotName
25255
-
25256
- @property
25257
- def VaccinationTime(self):
25258
- r"""疫苗接种时间
25259
- :rtype: str
25260
- """
25261
- return self._VaccinationTime
25262
-
25263
- @VaccinationTime.setter
25264
- def VaccinationTime(self, VaccinationTime):
25265
- self._VaccinationTime = VaccinationTime
25266
-
25267
- @property
25268
- def RequestId(self):
25269
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25270
- :rtype: str
25271
- """
25272
- return self._RequestId
25273
-
25274
- @RequestId.setter
25275
- def RequestId(self, RequestId):
25276
- self._RequestId = RequestId
25277
-
25278
-
25279
- def _deserialize(self, params):
25280
- self._Name = params.get("Name")
25281
- self._IDNumber = params.get("IDNumber")
25282
- self._Time = params.get("Time")
25283
- self._Color = params.get("Color")
25284
- self._TestingInterval = params.get("TestingInterval")
25285
- self._TestingResult = params.get("TestingResult")
25286
- self._TestingTime = params.get("TestingTime")
25287
- self._Vaccination = params.get("Vaccination")
25288
- self._SpotName = params.get("SpotName")
25289
- self._VaccinationTime = params.get("VaccinationTime")
25290
- self._RequestId = params.get("RequestId")
25291
-
25292
-
25293
25047
  class RecognizeMedicalInvoiceOCRRequest(AbstractModel):
25294
25048
  r"""RecognizeMedicalInvoiceOCR请求参数结构体
25295
25049
 
@@ -26382,160 +26136,6 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
26382
26136
  self._RequestId = params.get("RequestId")
26383
26137
 
26384
26138
 
26385
- class RecognizeTravelCardOCRRequest(AbstractModel):
26386
- r"""RecognizeTravelCardOCR请求参数结构体
26387
-
26388
- """
26389
-
26390
- def __init__(self):
26391
- r"""
26392
- :param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
26393
- :type ImageBase64: str
26394
- :param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
26395
- :type ImageUrl: str
26396
- """
26397
- self._ImageBase64 = None
26398
- self._ImageUrl = None
26399
-
26400
- @property
26401
- def ImageBase64(self):
26402
- r"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
26403
- :rtype: str
26404
- """
26405
- return self._ImageBase64
26406
-
26407
- @ImageBase64.setter
26408
- def ImageBase64(self, ImageBase64):
26409
- self._ImageBase64 = ImageBase64
26410
-
26411
- @property
26412
- def ImageUrl(self):
26413
- r"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
26414
- :rtype: str
26415
- """
26416
- return self._ImageUrl
26417
-
26418
- @ImageUrl.setter
26419
- def ImageUrl(self, ImageUrl):
26420
- self._ImageUrl = ImageUrl
26421
-
26422
-
26423
- def _deserialize(self, params):
26424
- self._ImageBase64 = params.get("ImageBase64")
26425
- self._ImageUrl = params.get("ImageUrl")
26426
- memeber_set = set(params.keys())
26427
- for name, value in vars(self).items():
26428
- property_name = name[1:]
26429
- if property_name in memeber_set:
26430
- memeber_set.remove(property_name)
26431
- if len(memeber_set) > 0:
26432
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26433
-
26434
-
26435
-
26436
- class RecognizeTravelCardOCRResponse(AbstractModel):
26437
- r"""RecognizeTravelCardOCR返回参数结构体
26438
-
26439
- """
26440
-
26441
- def __init__(self):
26442
- r"""
26443
- :param _Time: 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
26444
- :type Time: str
26445
- :param _Color: 行程卡颜色:绿色、黄色、红色
26446
- :type Color: str
26447
- :param _ReachedCity: 7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
26448
- :type ReachedCity: list of str
26449
- :param _RiskArea: 7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
26450
- :type RiskArea: list of str
26451
- :param _Telephone: 电话号码
26452
- :type Telephone: str
26453
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26454
- :type RequestId: str
26455
- """
26456
- self._Time = None
26457
- self._Color = None
26458
- self._ReachedCity = None
26459
- self._RiskArea = None
26460
- self._Telephone = None
26461
- self._RequestId = None
26462
-
26463
- @property
26464
- def Time(self):
26465
- r"""行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
26466
- :rtype: str
26467
- """
26468
- return self._Time
26469
-
26470
- @Time.setter
26471
- def Time(self, Time):
26472
- self._Time = Time
26473
-
26474
- @property
26475
- def Color(self):
26476
- r"""行程卡颜色:绿色、黄色、红色
26477
- :rtype: str
26478
- """
26479
- return self._Color
26480
-
26481
- @Color.setter
26482
- def Color(self, Color):
26483
- self._Color = Color
26484
-
26485
- @property
26486
- def ReachedCity(self):
26487
- r"""7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
26488
- :rtype: list of str
26489
- """
26490
- return self._ReachedCity
26491
-
26492
- @ReachedCity.setter
26493
- def ReachedCity(self, ReachedCity):
26494
- self._ReachedCity = ReachedCity
26495
-
26496
- @property
26497
- def RiskArea(self):
26498
- r"""7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
26499
- :rtype: list of str
26500
- """
26501
- return self._RiskArea
26502
-
26503
- @RiskArea.setter
26504
- def RiskArea(self, RiskArea):
26505
- self._RiskArea = RiskArea
26506
-
26507
- @property
26508
- def Telephone(self):
26509
- r"""电话号码
26510
- :rtype: str
26511
- """
26512
- return self._Telephone
26513
-
26514
- @Telephone.setter
26515
- def Telephone(self, Telephone):
26516
- self._Telephone = Telephone
26517
-
26518
- @property
26519
- def RequestId(self):
26520
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26521
- :rtype: str
26522
- """
26523
- return self._RequestId
26524
-
26525
- @RequestId.setter
26526
- def RequestId(self, RequestId):
26527
- self._RequestId = RequestId
26528
-
26529
-
26530
- def _deserialize(self, params):
26531
- self._Time = params.get("Time")
26532
- self._Color = params.get("Color")
26533
- self._ReachedCity = params.get("ReachedCity")
26534
- self._RiskArea = params.get("RiskArea")
26535
- self._Telephone = params.get("Telephone")
26536
- self._RequestId = params.get("RequestId")
26537
-
26538
-
26539
26139
  class RecognizeValidIDCardOCRRequest(AbstractModel):
26540
26140
  r"""RecognizeValidIDCardOCR请求参数结构体
26541
26141
 
@@ -40590,6 +40190,160 @@ class VehicleRegCertOCRResponse(AbstractModel):
40590
40190
  self._RequestId = params.get("RequestId")
40591
40191
 
40592
40192
 
40193
+ class VerifyBizLicenseEnterprise3Request(AbstractModel):
40194
+ r"""VerifyBizLicenseEnterprise3请求参数结构体
40195
+
40196
+ """
40197
+
40198
+ def __init__(self):
40199
+ r"""
40200
+ :param _CreditCode: <p>统一社会信用代码</p>
40201
+ :type CreditCode: str
40202
+ :param _EntName: <p>企业名称</p>
40203
+ :type EntName: str
40204
+ :param _LrName: <p>法人代表</p>
40205
+ :type LrName: str
40206
+ :param _VerifyType: <p>核验类型 </p><p>枚举值:</p><ul><li>ENT_2META: 企业名称 、统一社会信用代码</li><li>ENT_3META: 企业名称 、统一社会信用代码 、法人代表名称</li></ul>
40207
+ :type VerifyType: str
40208
+ """
40209
+ self._CreditCode = None
40210
+ self._EntName = None
40211
+ self._LrName = None
40212
+ self._VerifyType = None
40213
+
40214
+ @property
40215
+ def CreditCode(self):
40216
+ r"""<p>统一社会信用代码</p>
40217
+ :rtype: str
40218
+ """
40219
+ return self._CreditCode
40220
+
40221
+ @CreditCode.setter
40222
+ def CreditCode(self, CreditCode):
40223
+ self._CreditCode = CreditCode
40224
+
40225
+ @property
40226
+ def EntName(self):
40227
+ r"""<p>企业名称</p>
40228
+ :rtype: str
40229
+ """
40230
+ return self._EntName
40231
+
40232
+ @EntName.setter
40233
+ def EntName(self, EntName):
40234
+ self._EntName = EntName
40235
+
40236
+ @property
40237
+ def LrName(self):
40238
+ r"""<p>法人代表</p>
40239
+ :rtype: str
40240
+ """
40241
+ return self._LrName
40242
+
40243
+ @LrName.setter
40244
+ def LrName(self, LrName):
40245
+ self._LrName = LrName
40246
+
40247
+ @property
40248
+ def VerifyType(self):
40249
+ r"""<p>核验类型 </p><p>枚举值:</p><ul><li>ENT_2META: 企业名称 、统一社会信用代码</li><li>ENT_3META: 企业名称 、统一社会信用代码 、法人代表名称</li></ul>
40250
+ :rtype: str
40251
+ """
40252
+ return self._VerifyType
40253
+
40254
+ @VerifyType.setter
40255
+ def VerifyType(self, VerifyType):
40256
+ self._VerifyType = VerifyType
40257
+
40258
+
40259
+ def _deserialize(self, params):
40260
+ self._CreditCode = params.get("CreditCode")
40261
+ self._EntName = params.get("EntName")
40262
+ self._LrName = params.get("LrName")
40263
+ self._VerifyType = params.get("VerifyType")
40264
+ memeber_set = set(params.keys())
40265
+ for name, value in vars(self).items():
40266
+ property_name = name[1:]
40267
+ if property_name in memeber_set:
40268
+ memeber_set.remove(property_name)
40269
+ if len(memeber_set) > 0:
40270
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40271
+
40272
+
40273
+
40274
+ class VerifyBizLicenseEnterprise3Response(AbstractModel):
40275
+ r"""VerifyBizLicenseEnterprise3返回参数结构体
40276
+
40277
+ """
40278
+
40279
+ def __init__(self):
40280
+ r"""
40281
+ :param _StatusCode: <p>0 成功,计费<br>1 系统异常,不计费<br>2 查询无结果,不计费</p>
40282
+ :type StatusCode: int
40283
+ :param _VerifyResult: <p>验证结果<br>1:三要素完全匹配<br>0:三要素不完全匹配<br>仅StatusCode为0时返回</p>
40284
+ :type VerifyResult: int
40285
+ :param _OperatingStatus: <p>企业状态</p><p>枚举值:</p><ul><li>1: 开业(在营)/ 在营</li><li>2: 迁出 / 非在营</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul><p>企业状态 当VerifyType参数为ENT_2META时,可返回: 0-7, / 当VerifyType参数为ENT_3META时,可返回 1,2</p>
40286
+ :type OperatingStatus: str
40287
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40288
+ :type RequestId: str
40289
+ """
40290
+ self._StatusCode = None
40291
+ self._VerifyResult = None
40292
+ self._OperatingStatus = None
40293
+ self._RequestId = None
40294
+
40295
+ @property
40296
+ def StatusCode(self):
40297
+ r"""<p>0 成功,计费<br>1 系统异常,不计费<br>2 查询无结果,不计费</p>
40298
+ :rtype: int
40299
+ """
40300
+ return self._StatusCode
40301
+
40302
+ @StatusCode.setter
40303
+ def StatusCode(self, StatusCode):
40304
+ self._StatusCode = StatusCode
40305
+
40306
+ @property
40307
+ def VerifyResult(self):
40308
+ r"""<p>验证结果<br>1:三要素完全匹配<br>0:三要素不完全匹配<br>仅StatusCode为0时返回</p>
40309
+ :rtype: int
40310
+ """
40311
+ return self._VerifyResult
40312
+
40313
+ @VerifyResult.setter
40314
+ def VerifyResult(self, VerifyResult):
40315
+ self._VerifyResult = VerifyResult
40316
+
40317
+ @property
40318
+ def OperatingStatus(self):
40319
+ r"""<p>企业状态</p><p>枚举值:</p><ul><li>1: 开业(在营)/ 在营</li><li>2: 迁出 / 非在营</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul><p>企业状态 当VerifyType参数为ENT_2META时,可返回: 0-7, / 当VerifyType参数为ENT_3META时,可返回 1,2</p>
40320
+ :rtype: str
40321
+ """
40322
+ return self._OperatingStatus
40323
+
40324
+ @OperatingStatus.setter
40325
+ def OperatingStatus(self, OperatingStatus):
40326
+ self._OperatingStatus = OperatingStatus
40327
+
40328
+ @property
40329
+ def RequestId(self):
40330
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40331
+ :rtype: str
40332
+ """
40333
+ return self._RequestId
40334
+
40335
+ @RequestId.setter
40336
+ def RequestId(self, RequestId):
40337
+ self._RequestId = RequestId
40338
+
40339
+
40340
+ def _deserialize(self, params):
40341
+ self._StatusCode = params.get("StatusCode")
40342
+ self._VerifyResult = params.get("VerifyResult")
40343
+ self._OperatingStatus = params.get("OperatingStatus")
40344
+ self._RequestId = params.get("RequestId")
40345
+
40346
+
40593
40347
  class VerifyBizLicenseEnterprise4Request(AbstractModel):
40594
40348
  r"""VerifyBizLicenseEnterprise4请求参数结构体
40595
40349
 
@@ -1830,33 +1830,6 @@ class OcrClient(AbstractClient):
1830
1830
  raise TencentCloudSDKException(type(e).__name__, str(e))
1831
1831
 
1832
1832
 
1833
- def RecognizeHealthCodeOCR(self, request):
1834
- r"""产品规划
1835
-
1836
- 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1837
-
1838
- 默认接口请求频率限制:10次/秒。
1839
-
1840
- :param request: Request instance for RecognizeHealthCodeOCR.
1841
- :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeHealthCodeOCRRequest`
1842
- :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeHealthCodeOCRResponse`
1843
-
1844
- """
1845
- try:
1846
- params = request._serialize()
1847
- headers = request.headers
1848
- body = self.call("RecognizeHealthCodeOCR", params, headers=headers)
1849
- response = json.loads(body)
1850
- model = models.RecognizeHealthCodeOCRResponse()
1851
- model._deserialize(response["Response"])
1852
- return model
1853
- except Exception as e:
1854
- if isinstance(e, TencentCloudSDKException):
1855
- raise
1856
- else:
1857
- raise TencentCloudSDKException(type(e).__name__, str(e))
1858
-
1859
-
1860
1833
  def RecognizeMedicalInvoiceOCR(self, request):
1861
1834
  r"""医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
1862
1835
 
@@ -1982,33 +1955,6 @@ class OcrClient(AbstractClient):
1982
1955
  raise TencentCloudSDKException(type(e).__name__, str(e))
1983
1956
 
1984
1957
 
1985
- def RecognizeTravelCardOCR(self, request):
1986
- r"""产品规划
1987
-
1988
- 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
1989
-
1990
- 默认接口请求频率限制:20次/秒。
1991
-
1992
- :param request: Request instance for RecognizeTravelCardOCR.
1993
- :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeTravelCardOCRRequest`
1994
- :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeTravelCardOCRResponse`
1995
-
1996
- """
1997
- try:
1998
- params = request._serialize()
1999
- headers = request.headers
2000
- body = self.call("RecognizeTravelCardOCR", params, headers=headers)
2001
- response = json.loads(body)
2002
- model = models.RecognizeTravelCardOCRResponse()
2003
- model._deserialize(response["Response"])
2004
- return model
2005
- except Exception as e:
2006
- if isinstance(e, TencentCloudSDKException):
2007
- raise
2008
- else:
2009
- raise TencentCloudSDKException(type(e).__name__, str(e))
2010
-
2011
-
2012
1958
  def RecognizeValidIDCardOCR(self, request):
2013
1959
  r"""本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
2014
1960
 
@@ -2417,6 +2363,30 @@ class OcrClient(AbstractClient):
2417
2363
  raise TencentCloudSDKException(type(e).__name__, str(e))
2418
2364
 
2419
2365
 
2366
+ def VerifyBizLicenseEnterprise3(self, request):
2367
+ r"""提供比对核验企业名称、统一社会信用代码、法人姓名一致性的服务,助力快速核验企业资质。
2368
+ 注意:核验准确率在99%以上,存在个别特殊情况下核验结果不准确,请选用前知悉。
2369
+
2370
+ :param request: Request instance for VerifyBizLicenseEnterprise3.
2371
+ :type request: :class:`tencentcloud.ocr.v20181119.models.VerifyBizLicenseEnterprise3Request`
2372
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.VerifyBizLicenseEnterprise3Response`
2373
+
2374
+ """
2375
+ try:
2376
+ params = request._serialize()
2377
+ headers = request.headers
2378
+ body = self.call("VerifyBizLicenseEnterprise3", params, headers=headers)
2379
+ response = json.loads(body)
2380
+ model = models.VerifyBizLicenseEnterprise3Response()
2381
+ model._deserialize(response["Response"])
2382
+ return model
2383
+ except Exception as e:
2384
+ if isinstance(e, TencentCloudSDKException):
2385
+ raise
2386
+ else:
2387
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2388
+
2389
+
2420
2390
  def VerifyBizLicenseEnterprise4(self, request):
2421
2391
  r"""提供比对校验企业名称、统一社会信用代码、法人姓名、注册登记证件号码一致性的服务,助力快速核验企业资质。
2422
2392
  注意:
@@ -1564,28 +1564,6 @@ class OcrClient(AbstractClient):
1564
1564
 
1565
1565
  return await self.call_and_deserialize(**kwargs)
1566
1566
 
1567
- async def RecognizeHealthCodeOCR(
1568
- self,
1569
- request: models.RecognizeHealthCodeOCRRequest,
1570
- opts: Dict = None,
1571
- ) -> models.RecognizeHealthCodeOCRResponse:
1572
- """
1573
- 产品规划
1574
-
1575
- 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1576
-
1577
- 默认接口请求频率限制:10次/秒。
1578
- """
1579
-
1580
- kwargs = {}
1581
- kwargs["action"] = "RecognizeHealthCodeOCR"
1582
- kwargs["params"] = request._serialize()
1583
- kwargs["resp_cls"] = models.RecognizeHealthCodeOCRResponse
1584
- kwargs["headers"] = request.headers
1585
- kwargs["opts"] = opts or {}
1586
-
1587
- return await self.call_and_deserialize(**kwargs)
1588
-
1589
1567
  async def RecognizeMedicalInvoiceOCR(
1590
1568
  self,
1591
1569
  request: models.RecognizeMedicalInvoiceOCRRequest,
@@ -1686,28 +1664,6 @@ class OcrClient(AbstractClient):
1686
1664
 
1687
1665
  return await self.call_and_deserialize(**kwargs)
1688
1666
 
1689
- async def RecognizeTravelCardOCR(
1690
- self,
1691
- request: models.RecognizeTravelCardOCRRequest,
1692
- opts: Dict = None,
1693
- ) -> models.RecognizeTravelCardOCRResponse:
1694
- """
1695
- 产品规划
1696
-
1697
- 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
1698
-
1699
- 默认接口请求频率限制:20次/秒。
1700
- """
1701
-
1702
- kwargs = {}
1703
- kwargs["action"] = "RecognizeTravelCardOCR"
1704
- kwargs["params"] = request._serialize()
1705
- kwargs["resp_cls"] = models.RecognizeTravelCardOCRResponse
1706
- kwargs["headers"] = request.headers
1707
- kwargs["opts"] = opts or {}
1708
-
1709
- return await self.call_and_deserialize(**kwargs)
1710
-
1711
1667
  async def RecognizeValidIDCardOCR(
1712
1668
  self,
1713
1669
  request: models.RecognizeValidIDCardOCRRequest,
@@ -2036,6 +1992,25 @@ class OcrClient(AbstractClient):
2036
1992
 
2037
1993
  return await self.call_and_deserialize(**kwargs)
2038
1994
 
1995
+ async def VerifyBizLicenseEnterprise3(
1996
+ self,
1997
+ request: models.VerifyBizLicenseEnterprise3Request,
1998
+ opts: Dict = None,
1999
+ ) -> models.VerifyBizLicenseEnterprise3Response:
2000
+ """
2001
+ 提供比对核验企业名称、统一社会信用代码、法人姓名一致性的服务,助力快速核验企业资质。
2002
+ 注意:核验准确率在99%以上,存在个别特殊情况下核验结果不准确,请选用前知悉。
2003
+ """
2004
+
2005
+ kwargs = {}
2006
+ kwargs["action"] = "VerifyBizLicenseEnterprise3"
2007
+ kwargs["params"] = request._serialize()
2008
+ kwargs["resp_cls"] = models.VerifyBizLicenseEnterprise3Response
2009
+ kwargs["headers"] = request.headers
2010
+ kwargs["opts"] = opts or {}
2011
+
2012
+ return await self.call_and_deserialize(**kwargs)
2013
+
2039
2014
  async def VerifyBizLicenseEnterprise4(
2040
2015
  self,
2041
2016
  request: models.VerifyBizLicenseEnterprise4Request,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.112
3
+ Version: 3.1.115
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.115
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.115
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.112