tencentcloud-sdk-python 3.0.1349__py2.py3-none-any.whl → 3.0.1351__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +0 -118
- tencentcloud/batch/v20170312/models.py +0 -8
- tencentcloud/bi/v20220105/models.py +8 -0
- tencentcloud/ccc/v20200210/ccc_client.py +92 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +816 -142
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/ckafka/v20190819/models.py +6 -6
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +60 -0
- tencentcloud/cynosdb/v20190107/models.py +30 -90
- tencentcloud/dnspod/v20210323/models.py +2 -48
- tencentcloud/domain/v20180808/models.py +14 -6
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +2 -14
- tencentcloud/ecdn/v20191012/ecdn_client.py +6 -2
- tencentcloud/emr/v20190103/models.py +4 -4
- tencentcloud/ess/v20201111/ess_client.py +5 -3
- tencentcloud/ess/v20201111/models.py +47 -14
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +99 -0
- tencentcloud/iotexplorer/v20190423/models.py +34 -0
- tencentcloud/iotvideo/v20211125/models.py +34 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +46 -0
- tencentcloud/iss/v20230517/models.py +409 -0
- tencentcloud/lighthouse/v20200324/models.py +10 -4
- tencentcloud/live/v20180801/models.py +45 -0
- tencentcloud/lke/v20231130/models.py +51 -2
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mmps/v20200710/models.py +0 -4
- tencentcloud/mps/v20190612/errorcodes.py +1 -5
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +198 -68
- tencentcloud/mqtt/v20240516/mqtt_client.py +2 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -9
- tencentcloud/ocr/v20181119/models.py +29 -478
- tencentcloud/ocr/v20181119/ocr_client.py +5 -79
- tencentcloud/partners/v20180321/models.py +154 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/sqlserver/v20180328/models.py +60 -0
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +0 -94
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -28
- tencentcloud/thpc/v20230321/models.py +15 -0
- tencentcloud/tione/v20211111/errorcodes.py +105 -0
- tencentcloud/tione/v20211111/models.py +666 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/models.py +0 -4
- tencentcloud/trtc/v20190722/models.py +49 -64
- tencentcloud/vod/v20180717/models.py +39 -145
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vpc/v20170312/models.py +152 -98
- tencentcloud/vpc/v20170312/vpc_client.py +8 -5
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/RECORD +64 -64
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/top_level.txt +0 -0
@@ -26,9 +26,6 @@ FAILEDOPERATION_CLASSIFYSTOREFAILED = 'FailedOperation.ClassifyStoreFailed'
|
|
26
26
|
# 今日次数达到限制。
|
27
27
|
FAILEDOPERATION_COUNTLIMITERROR = 'FailedOperation.CountLimitError'
|
28
28
|
|
29
|
-
# 数据库异常。
|
30
|
-
FAILEDOPERATION_DBERROR = 'FailedOperation.DbError'
|
31
|
-
|
32
29
|
# 检测失败。
|
33
30
|
FAILEDOPERATION_DETECTFAILED = 'FailedOperation.DetectFailed'
|
34
31
|
|
@@ -137,9 +134,6 @@ FAILEDOPERATION_UNKNOWFILETYPEERROR = 'FailedOperation.UnKnowFileTypeError'
|
|
137
134
|
# 服务未开通。
|
138
135
|
FAILEDOPERATION_UNOPENERROR = 'FailedOperation.UnOpenError'
|
139
136
|
|
140
|
-
# 剩余识别次数不足,请检查资源包状态。
|
141
|
-
FAILEDOPERATION_USERQUOTAERROR = 'FailedOperation.UserQuotaError'
|
142
|
-
|
143
137
|
# 通用告警服务异常
|
144
138
|
FAILEDOPERATION_WARNINGSERVICEFAILED = 'FailedOperation.WarningServiceFailed'
|
145
139
|
|
@@ -152,9 +146,6 @@ INVALIDPARAMETER_CONFIGFORMATERROR = 'InvalidParameter.ConfigFormatError'
|
|
152
146
|
# 图片解码失败。
|
153
147
|
INVALIDPARAMETER_ENGINEIMAGEDECODEFAILED = 'InvalidParameter.EngineImageDecodeFailed'
|
154
148
|
|
155
|
-
# 任务创建失败,文件URL非法。
|
156
|
-
INVALIDPARAMETERVALUE_FILEURLILLEGALERROR = 'InvalidParameterValue.FileUrlIllegalError'
|
157
|
-
|
158
149
|
# 参数值错误。
|
159
150
|
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = 'InvalidParameterValue.InvalidParameterValueLimit'
|
160
151
|
|
@@ -4186,154 +4186,6 @@ class Coord(AbstractModel):
|
|
4186
4186
|
|
4187
4187
|
|
4188
4188
|
|
4189
|
-
class CreateAIFormTaskRequest(AbstractModel):
|
4190
|
-
"""CreateAIFormTask请求参数结构体
|
4191
|
-
|
4192
|
-
"""
|
4193
|
-
|
4194
|
-
def __init__(self):
|
4195
|
-
r"""
|
4196
|
-
:param _FileList: 多个文件的URL列表
|
4197
|
-
:type FileList: list of SmartFormFileUrl
|
4198
|
-
:param _FirstNotes: 备注信息1
|
4199
|
-
:type FirstNotes: str
|
4200
|
-
:param _SecondNotes: 备注信息2
|
4201
|
-
:type SecondNotes: str
|
4202
|
-
:param _FileType: 文件类型
|
4203
|
-
:type FileType: int
|
4204
|
-
"""
|
4205
|
-
self._FileList = None
|
4206
|
-
self._FirstNotes = None
|
4207
|
-
self._SecondNotes = None
|
4208
|
-
self._FileType = None
|
4209
|
-
|
4210
|
-
@property
|
4211
|
-
def FileList(self):
|
4212
|
-
"""多个文件的URL列表
|
4213
|
-
:rtype: list of SmartFormFileUrl
|
4214
|
-
"""
|
4215
|
-
return self._FileList
|
4216
|
-
|
4217
|
-
@FileList.setter
|
4218
|
-
def FileList(self, FileList):
|
4219
|
-
self._FileList = FileList
|
4220
|
-
|
4221
|
-
@property
|
4222
|
-
def FirstNotes(self):
|
4223
|
-
"""备注信息1
|
4224
|
-
:rtype: str
|
4225
|
-
"""
|
4226
|
-
return self._FirstNotes
|
4227
|
-
|
4228
|
-
@FirstNotes.setter
|
4229
|
-
def FirstNotes(self, FirstNotes):
|
4230
|
-
self._FirstNotes = FirstNotes
|
4231
|
-
|
4232
|
-
@property
|
4233
|
-
def SecondNotes(self):
|
4234
|
-
"""备注信息2
|
4235
|
-
:rtype: str
|
4236
|
-
"""
|
4237
|
-
return self._SecondNotes
|
4238
|
-
|
4239
|
-
@SecondNotes.setter
|
4240
|
-
def SecondNotes(self, SecondNotes):
|
4241
|
-
self._SecondNotes = SecondNotes
|
4242
|
-
|
4243
|
-
@property
|
4244
|
-
def FileType(self):
|
4245
|
-
"""文件类型
|
4246
|
-
:rtype: int
|
4247
|
-
"""
|
4248
|
-
return self._FileType
|
4249
|
-
|
4250
|
-
@FileType.setter
|
4251
|
-
def FileType(self, FileType):
|
4252
|
-
self._FileType = FileType
|
4253
|
-
|
4254
|
-
|
4255
|
-
def _deserialize(self, params):
|
4256
|
-
if params.get("FileList") is not None:
|
4257
|
-
self._FileList = []
|
4258
|
-
for item in params.get("FileList"):
|
4259
|
-
obj = SmartFormFileUrl()
|
4260
|
-
obj._deserialize(item)
|
4261
|
-
self._FileList.append(obj)
|
4262
|
-
self._FirstNotes = params.get("FirstNotes")
|
4263
|
-
self._SecondNotes = params.get("SecondNotes")
|
4264
|
-
self._FileType = params.get("FileType")
|
4265
|
-
memeber_set = set(params.keys())
|
4266
|
-
for name, value in vars(self).items():
|
4267
|
-
property_name = name[1:]
|
4268
|
-
if property_name in memeber_set:
|
4269
|
-
memeber_set.remove(property_name)
|
4270
|
-
if len(memeber_set) > 0:
|
4271
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
class CreateAIFormTaskResponse(AbstractModel):
|
4276
|
-
"""CreateAIFormTask返回参数结构体
|
4277
|
-
|
4278
|
-
"""
|
4279
|
-
|
4280
|
-
def __init__(self):
|
4281
|
-
r"""
|
4282
|
-
:param _TaskId: 本次识别任务的唯一身份ID
|
4283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4284
|
-
:type TaskId: str
|
4285
|
-
:param _OperateUrl: 本次识别任务的操作URL,有效期自生成之时起共24小时
|
4286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4287
|
-
:type OperateUrl: str
|
4288
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4289
|
-
:type RequestId: str
|
4290
|
-
"""
|
4291
|
-
self._TaskId = None
|
4292
|
-
self._OperateUrl = None
|
4293
|
-
self._RequestId = None
|
4294
|
-
|
4295
|
-
@property
|
4296
|
-
def TaskId(self):
|
4297
|
-
"""本次识别任务的唯一身份ID
|
4298
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4299
|
-
:rtype: str
|
4300
|
-
"""
|
4301
|
-
return self._TaskId
|
4302
|
-
|
4303
|
-
@TaskId.setter
|
4304
|
-
def TaskId(self, TaskId):
|
4305
|
-
self._TaskId = TaskId
|
4306
|
-
|
4307
|
-
@property
|
4308
|
-
def OperateUrl(self):
|
4309
|
-
"""本次识别任务的操作URL,有效期自生成之时起共24小时
|
4310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4311
|
-
:rtype: str
|
4312
|
-
"""
|
4313
|
-
return self._OperateUrl
|
4314
|
-
|
4315
|
-
@OperateUrl.setter
|
4316
|
-
def OperateUrl(self, OperateUrl):
|
4317
|
-
self._OperateUrl = OperateUrl
|
4318
|
-
|
4319
|
-
@property
|
4320
|
-
def RequestId(self):
|
4321
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4322
|
-
:rtype: str
|
4323
|
-
"""
|
4324
|
-
return self._RequestId
|
4325
|
-
|
4326
|
-
@RequestId.setter
|
4327
|
-
def RequestId(self, RequestId):
|
4328
|
-
self._RequestId = RequestId
|
4329
|
-
|
4330
|
-
|
4331
|
-
def _deserialize(self, params):
|
4332
|
-
self._TaskId = params.get("TaskId")
|
4333
|
-
self._OperateUrl = params.get("OperateUrl")
|
4334
|
-
self._RequestId = params.get("RequestId")
|
4335
|
-
|
4336
|
-
|
4337
4189
|
class CustomsPaymentReceipt(AbstractModel):
|
4338
4190
|
"""海关缴款书
|
4339
4191
|
|
@@ -11558,95 +11410,6 @@ class GetOCRTokenResponse(AbstractModel):
|
|
11558
11410
|
self._RequestId = params.get("RequestId")
|
11559
11411
|
|
11560
11412
|
|
11561
|
-
class GetTaskStateRequest(AbstractModel):
|
11562
|
-
"""GetTaskState请求参数结构体
|
11563
|
-
|
11564
|
-
"""
|
11565
|
-
|
11566
|
-
def __init__(self):
|
11567
|
-
r"""
|
11568
|
-
:param _TaskId: 智慧表单任务唯一身份ID
|
11569
|
-
:type TaskId: str
|
11570
|
-
"""
|
11571
|
-
self._TaskId = None
|
11572
|
-
|
11573
|
-
@property
|
11574
|
-
def TaskId(self):
|
11575
|
-
"""智慧表单任务唯一身份ID
|
11576
|
-
:rtype: str
|
11577
|
-
"""
|
11578
|
-
return self._TaskId
|
11579
|
-
|
11580
|
-
@TaskId.setter
|
11581
|
-
def TaskId(self, TaskId):
|
11582
|
-
self._TaskId = TaskId
|
11583
|
-
|
11584
|
-
|
11585
|
-
def _deserialize(self, params):
|
11586
|
-
self._TaskId = params.get("TaskId")
|
11587
|
-
memeber_set = set(params.keys())
|
11588
|
-
for name, value in vars(self).items():
|
11589
|
-
property_name = name[1:]
|
11590
|
-
if property_name in memeber_set:
|
11591
|
-
memeber_set.remove(property_name)
|
11592
|
-
if len(memeber_set) > 0:
|
11593
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11594
|
-
|
11595
|
-
|
11596
|
-
|
11597
|
-
class GetTaskStateResponse(AbstractModel):
|
11598
|
-
"""GetTaskState返回参数结构体
|
11599
|
-
|
11600
|
-
"""
|
11601
|
-
|
11602
|
-
def __init__(self):
|
11603
|
-
r"""
|
11604
|
-
:param _TaskState: 1:任务识别完成,还未提交
|
11605
|
-
2:任务已手动关闭
|
11606
|
-
3:任务已提交
|
11607
|
-
4:任务识别中
|
11608
|
-
5:超时:任务超过了可操作的24H时限
|
11609
|
-
6:任务识别失败
|
11610
|
-
:type TaskState: int
|
11611
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11612
|
-
:type RequestId: str
|
11613
|
-
"""
|
11614
|
-
self._TaskState = None
|
11615
|
-
self._RequestId = None
|
11616
|
-
|
11617
|
-
@property
|
11618
|
-
def TaskState(self):
|
11619
|
-
"""1:任务识别完成,还未提交
|
11620
|
-
2:任务已手动关闭
|
11621
|
-
3:任务已提交
|
11622
|
-
4:任务识别中
|
11623
|
-
5:超时:任务超过了可操作的24H时限
|
11624
|
-
6:任务识别失败
|
11625
|
-
:rtype: int
|
11626
|
-
"""
|
11627
|
-
return self._TaskState
|
11628
|
-
|
11629
|
-
@TaskState.setter
|
11630
|
-
def TaskState(self, TaskState):
|
11631
|
-
self._TaskState = TaskState
|
11632
|
-
|
11633
|
-
@property
|
11634
|
-
def RequestId(self):
|
11635
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11636
|
-
:rtype: str
|
11637
|
-
"""
|
11638
|
-
return self._RequestId
|
11639
|
-
|
11640
|
-
@RequestId.setter
|
11641
|
-
def RequestId(self, RequestId):
|
11642
|
-
self._RequestId = RequestId
|
11643
|
-
|
11644
|
-
|
11645
|
-
def _deserialize(self, params):
|
11646
|
-
self._TaskState = params.get("TaskState")
|
11647
|
-
self._RequestId = params.get("RequestId")
|
11648
|
-
|
11649
|
-
|
11650
11413
|
class GroupInfo(AbstractModel):
|
11651
11414
|
"""组在图中的序号
|
11652
11415
|
|
@@ -14467,6 +14230,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14467
14230
|
17:医疗发票
|
14468
14231
|
18:完税凭证
|
14469
14232
|
19:海关缴款书
|
14233
|
+
20:银行回单
|
14470
14234
|
:type Type: int
|
14471
14235
|
:param _Polygon: 该发票在原图片中的四点坐标。
|
14472
14236
|
:type Polygon: :class:`tencentcloud.ocr.v20181119.models.Polygon`
|
@@ -14533,6 +14297,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14533
14297
|
17:医疗发票
|
14534
14298
|
18:完税凭证
|
14535
14299
|
19:海关缴款书
|
14300
|
+
20:银行回单
|
14536
14301
|
:rtype: int
|
14537
14302
|
"""
|
14538
14303
|
return self._Type
|
@@ -15592,12 +15357,11 @@ class MLIDPassportOCRRequest(AbstractModel):
|
|
15592
15357
|
|
15593
15358
|
def __init__(self):
|
15594
15359
|
r"""
|
15595
|
-
:param _ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
15360
|
+
:param _ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。
|
15596
15361
|
:type ImageBase64: str
|
15597
15362
|
:param _RetImage: 是否返回图片,默认false
|
15598
15363
|
:type RetImage: bool
|
15599
|
-
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3
|
15600
|
-
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
15364
|
+
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
15601
15365
|
:type ImageUrl: str
|
15602
15366
|
"""
|
15603
15367
|
self._ImageBase64 = None
|
@@ -15606,7 +15370,7 @@ class MLIDPassportOCRRequest(AbstractModel):
|
|
15606
15370
|
|
15607
15371
|
@property
|
15608
15372
|
def ImageBase64(self):
|
15609
|
-
"""图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
15373
|
+
"""图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。
|
15610
15374
|
:rtype: str
|
15611
15375
|
"""
|
15612
15376
|
return self._ImageBase64
|
@@ -15628,8 +15392,7 @@ class MLIDPassportOCRRequest(AbstractModel):
|
|
15628
15392
|
|
15629
15393
|
@property
|
15630
15394
|
def ImageUrl(self):
|
15631
|
-
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3
|
15632
|
-
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
15395
|
+
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
15633
15396
|
:rtype: str
|
15634
15397
|
"""
|
15635
15398
|
return self._ImageUrl
|
@@ -24175,6 +23938,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24175
23938
|
17:医疗发票
|
24176
23939
|
18:完税凭证
|
24177
23940
|
19:海关缴款书
|
23941
|
+
20:银行回单
|
24178
23942
|
-1:其他发票
|
24179
23943
|
:type Types: list of int
|
24180
23944
|
:param _EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
|
@@ -24242,6 +24006,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24242
24006
|
17:医疗发票
|
24243
24007
|
18:完税凭证
|
24244
24008
|
19:海关缴款书
|
24009
|
+
20:银行回单
|
24245
24010
|
-1:其他发票
|
24246
24011
|
:rtype: list of int
|
24247
24012
|
"""
|
@@ -29685,57 +29450,6 @@ class SingleInvoiceItem(AbstractModel):
|
|
29685
29450
|
|
29686
29451
|
|
29687
29452
|
|
29688
|
-
class SmartFormFileUrl(AbstractModel):
|
29689
|
-
"""智慧表单上传文件信息
|
29690
|
-
|
29691
|
-
"""
|
29692
|
-
|
29693
|
-
def __init__(self):
|
29694
|
-
r"""
|
29695
|
-
:param _FileUrl: 文件url地址
|
29696
|
-
:type FileUrl: str
|
29697
|
-
:param _FileOrderNumber: 文件的顺序,顺序从1开始
|
29698
|
-
:type FileOrderNumber: int
|
29699
|
-
"""
|
29700
|
-
self._FileUrl = None
|
29701
|
-
self._FileOrderNumber = None
|
29702
|
-
|
29703
|
-
@property
|
29704
|
-
def FileUrl(self):
|
29705
|
-
"""文件url地址
|
29706
|
-
:rtype: str
|
29707
|
-
"""
|
29708
|
-
return self._FileUrl
|
29709
|
-
|
29710
|
-
@FileUrl.setter
|
29711
|
-
def FileUrl(self, FileUrl):
|
29712
|
-
self._FileUrl = FileUrl
|
29713
|
-
|
29714
|
-
@property
|
29715
|
-
def FileOrderNumber(self):
|
29716
|
-
"""文件的顺序,顺序从1开始
|
29717
|
-
:rtype: int
|
29718
|
-
"""
|
29719
|
-
return self._FileOrderNumber
|
29720
|
-
|
29721
|
-
@FileOrderNumber.setter
|
29722
|
-
def FileOrderNumber(self, FileOrderNumber):
|
29723
|
-
self._FileOrderNumber = FileOrderNumber
|
29724
|
-
|
29725
|
-
|
29726
|
-
def _deserialize(self, params):
|
29727
|
-
self._FileUrl = params.get("FileUrl")
|
29728
|
-
self._FileOrderNumber = params.get("FileOrderNumber")
|
29729
|
-
memeber_set = set(params.keys())
|
29730
|
-
for name, value in vars(self).items():
|
29731
|
-
property_name = name[1:]
|
29732
|
-
if property_name in memeber_set:
|
29733
|
-
memeber_set.remove(property_name)
|
29734
|
-
if len(memeber_set) > 0:
|
29735
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29736
|
-
|
29737
|
-
|
29738
|
-
|
29739
29453
|
class SmartStructuralOCRRequest(AbstractModel):
|
29740
29454
|
"""SmartStructuralOCR请求参数结构体
|
29741
29455
|
|
@@ -30217,9 +29931,14 @@ EntrustmentBook -- 海运托书
|
|
30217
29931
|
WordRecognize -- 手写英文作文模版
|
30218
29932
|
Statement -- 对账单识别模板
|
30219
29933
|
BookingConfirmation -- 配舱通知书识别模板
|
29934
|
+
AirWayBill -- 航空运单识别模板
|
29935
|
+
DispatchWeightNote -- 磅单发货单识别模板
|
29936
|
+
ReceiptWeightNote -- 磅单收货单识别模板
|
30220
29937
|
:type ConfigId: str
|
30221
29938
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
30222
29939
|
:type EnableCoord: bool
|
29940
|
+
:param _OutputParentKey: 是否开启父子key识别,默认是
|
29941
|
+
:type OutputParentKey: bool
|
30223
29942
|
"""
|
30224
29943
|
self._ImageUrl = None
|
30225
29944
|
self._ImageBase64 = None
|
@@ -30228,6 +29947,7 @@ BookingConfirmation -- 配舱通知书识别模板
|
|
30228
29947
|
self._ReturnFullText = None
|
30229
29948
|
self._ConfigId = None
|
30230
29949
|
self._EnableCoord = None
|
29950
|
+
self._OutputParentKey = None
|
30231
29951
|
|
30232
29952
|
@property
|
30233
29953
|
def ImageUrl(self):
|
@@ -30298,6 +30018,9 @@ EntrustmentBook -- 海运托书
|
|
30298
30018
|
WordRecognize -- 手写英文作文模版
|
30299
30019
|
Statement -- 对账单识别模板
|
30300
30020
|
BookingConfirmation -- 配舱通知书识别模板
|
30021
|
+
AirWayBill -- 航空运单识别模板
|
30022
|
+
DispatchWeightNote -- 磅单发货单识别模板
|
30023
|
+
ReceiptWeightNote -- 磅单收货单识别模板
|
30301
30024
|
:rtype: str
|
30302
30025
|
"""
|
30303
30026
|
return self._ConfigId
|
@@ -30317,6 +30040,17 @@ BookingConfirmation -- 配舱通知书识别模板
|
|
30317
30040
|
def EnableCoord(self, EnableCoord):
|
30318
30041
|
self._EnableCoord = EnableCoord
|
30319
30042
|
|
30043
|
+
@property
|
30044
|
+
def OutputParentKey(self):
|
30045
|
+
"""是否开启父子key识别,默认是
|
30046
|
+
:rtype: bool
|
30047
|
+
"""
|
30048
|
+
return self._OutputParentKey
|
30049
|
+
|
30050
|
+
@OutputParentKey.setter
|
30051
|
+
def OutputParentKey(self, OutputParentKey):
|
30052
|
+
self._OutputParentKey = OutputParentKey
|
30053
|
+
|
30320
30054
|
|
30321
30055
|
def _deserialize(self, params):
|
30322
30056
|
self._ImageUrl = params.get("ImageUrl")
|
@@ -30326,6 +30060,7 @@ BookingConfirmation -- 配舱通知书识别模板
|
|
30326
30060
|
self._ReturnFullText = params.get("ReturnFullText")
|
30327
30061
|
self._ConfigId = params.get("ConfigId")
|
30328
30062
|
self._EnableCoord = params.get("EnableCoord")
|
30063
|
+
self._OutputParentKey = params.get("OutputParentKey")
|
30329
30064
|
memeber_set = set(params.keys())
|
30330
30065
|
for name, value in vars(self).items():
|
30331
30066
|
property_name = name[1:]
|
@@ -39925,190 +39660,6 @@ class VatInvoiceVerifyNewResponse(AbstractModel):
|
|
39925
39660
|
self._RequestId = params.get("RequestId")
|
39926
39661
|
|
39927
39662
|
|
39928
|
-
class VatInvoiceVerifyRequest(AbstractModel):
|
39929
|
-
"""VatInvoiceVerify请求参数结构体
|
39930
|
-
|
39931
|
-
"""
|
39932
|
-
|
39933
|
-
def __init__(self):
|
39934
|
-
r"""
|
39935
|
-
:param _InvoiceCode: 发票代码, 一张发票一天只能查询5次。
|
39936
|
-
:type InvoiceCode: str
|
39937
|
-
:param _InvoiceNo: 发票号码(8位)
|
39938
|
-
:type InvoiceNo: str
|
39939
|
-
:param _InvoiceDate: 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
39940
|
-
:type InvoiceDate: str
|
39941
|
-
:param _Additional: 根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
|
39942
|
-
|
39943
|
-
增值税专用发票:开具金额(不含税)
|
39944
|
-
|
39945
|
-
增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
|
39946
|
-
|
39947
|
-
区块链发票:不含税金额/校验码,例如:“285.01/856ab”
|
39948
|
-
|
39949
|
-
机动车销售统一发票:不含税价
|
39950
|
-
|
39951
|
-
货物运输业增值税专用发票:合计金额
|
39952
|
-
|
39953
|
-
二手车销售统一发票:车价合计
|
39954
|
-
:type Additional: str
|
39955
|
-
"""
|
39956
|
-
self._InvoiceCode = None
|
39957
|
-
self._InvoiceNo = None
|
39958
|
-
self._InvoiceDate = None
|
39959
|
-
self._Additional = None
|
39960
|
-
|
39961
|
-
@property
|
39962
|
-
def InvoiceCode(self):
|
39963
|
-
"""发票代码, 一张发票一天只能查询5次。
|
39964
|
-
:rtype: str
|
39965
|
-
"""
|
39966
|
-
return self._InvoiceCode
|
39967
|
-
|
39968
|
-
@InvoiceCode.setter
|
39969
|
-
def InvoiceCode(self, InvoiceCode):
|
39970
|
-
self._InvoiceCode = InvoiceCode
|
39971
|
-
|
39972
|
-
@property
|
39973
|
-
def InvoiceNo(self):
|
39974
|
-
"""发票号码(8位)
|
39975
|
-
:rtype: str
|
39976
|
-
"""
|
39977
|
-
return self._InvoiceNo
|
39978
|
-
|
39979
|
-
@InvoiceNo.setter
|
39980
|
-
def InvoiceNo(self, InvoiceNo):
|
39981
|
-
self._InvoiceNo = InvoiceNo
|
39982
|
-
|
39983
|
-
@property
|
39984
|
-
def InvoiceDate(self):
|
39985
|
-
"""开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
39986
|
-
:rtype: str
|
39987
|
-
"""
|
39988
|
-
return self._InvoiceDate
|
39989
|
-
|
39990
|
-
@InvoiceDate.setter
|
39991
|
-
def InvoiceDate(self, InvoiceDate):
|
39992
|
-
self._InvoiceDate = InvoiceDate
|
39993
|
-
|
39994
|
-
@property
|
39995
|
-
def Additional(self):
|
39996
|
-
"""根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
|
39997
|
-
|
39998
|
-
增值税专用发票:开具金额(不含税)
|
39999
|
-
|
40000
|
-
增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
|
40001
|
-
|
40002
|
-
区块链发票:不含税金额/校验码,例如:“285.01/856ab”
|
40003
|
-
|
40004
|
-
机动车销售统一发票:不含税价
|
40005
|
-
|
40006
|
-
货物运输业增值税专用发票:合计金额
|
40007
|
-
|
40008
|
-
二手车销售统一发票:车价合计
|
40009
|
-
:rtype: str
|
40010
|
-
"""
|
40011
|
-
return self._Additional
|
40012
|
-
|
40013
|
-
@Additional.setter
|
40014
|
-
def Additional(self, Additional):
|
40015
|
-
self._Additional = Additional
|
40016
|
-
|
40017
|
-
|
40018
|
-
def _deserialize(self, params):
|
40019
|
-
self._InvoiceCode = params.get("InvoiceCode")
|
40020
|
-
self._InvoiceNo = params.get("InvoiceNo")
|
40021
|
-
self._InvoiceDate = params.get("InvoiceDate")
|
40022
|
-
self._Additional = params.get("Additional")
|
40023
|
-
memeber_set = set(params.keys())
|
40024
|
-
for name, value in vars(self).items():
|
40025
|
-
property_name = name[1:]
|
40026
|
-
if property_name in memeber_set:
|
40027
|
-
memeber_set.remove(property_name)
|
40028
|
-
if len(memeber_set) > 0:
|
40029
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40030
|
-
|
40031
|
-
|
40032
|
-
|
40033
|
-
class VatInvoiceVerifyResponse(AbstractModel):
|
40034
|
-
"""VatInvoiceVerify返回参数结构体
|
40035
|
-
|
40036
|
-
"""
|
40037
|
-
|
40038
|
-
def __init__(self):
|
40039
|
-
r"""
|
40040
|
-
:param _Invoice: 增值税发票信息,详情请点击左侧链接。
|
40041
|
-
:type Invoice: :class:`tencentcloud.ocr.v20181119.models.VatInvoice`
|
40042
|
-
:param _VehicleInvoiceInfo: 机动车销售统一发票信息
|
40043
|
-
:type VehicleInvoiceInfo: :class:`tencentcloud.ocr.v20181119.models.VehicleInvoiceInfo`
|
40044
|
-
:param _UsedVehicleInvoiceInfo: 二手车销售统一发票信息
|
40045
|
-
:type UsedVehicleInvoiceInfo: :class:`tencentcloud.ocr.v20181119.models.UsedVehicleInvoiceInfo`
|
40046
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
40047
|
-
:type RequestId: str
|
40048
|
-
"""
|
40049
|
-
self._Invoice = None
|
40050
|
-
self._VehicleInvoiceInfo = None
|
40051
|
-
self._UsedVehicleInvoiceInfo = None
|
40052
|
-
self._RequestId = None
|
40053
|
-
|
40054
|
-
@property
|
40055
|
-
def Invoice(self):
|
40056
|
-
"""增值税发票信息,详情请点击左侧链接。
|
40057
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.VatInvoice`
|
40058
|
-
"""
|
40059
|
-
return self._Invoice
|
40060
|
-
|
40061
|
-
@Invoice.setter
|
40062
|
-
def Invoice(self, Invoice):
|
40063
|
-
self._Invoice = Invoice
|
40064
|
-
|
40065
|
-
@property
|
40066
|
-
def VehicleInvoiceInfo(self):
|
40067
|
-
"""机动车销售统一发票信息
|
40068
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.VehicleInvoiceInfo`
|
40069
|
-
"""
|
40070
|
-
return self._VehicleInvoiceInfo
|
40071
|
-
|
40072
|
-
@VehicleInvoiceInfo.setter
|
40073
|
-
def VehicleInvoiceInfo(self, VehicleInvoiceInfo):
|
40074
|
-
self._VehicleInvoiceInfo = VehicleInvoiceInfo
|
40075
|
-
|
40076
|
-
@property
|
40077
|
-
def UsedVehicleInvoiceInfo(self):
|
40078
|
-
"""二手车销售统一发票信息
|
40079
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.UsedVehicleInvoiceInfo`
|
40080
|
-
"""
|
40081
|
-
return self._UsedVehicleInvoiceInfo
|
40082
|
-
|
40083
|
-
@UsedVehicleInvoiceInfo.setter
|
40084
|
-
def UsedVehicleInvoiceInfo(self, UsedVehicleInvoiceInfo):
|
40085
|
-
self._UsedVehicleInvoiceInfo = UsedVehicleInvoiceInfo
|
40086
|
-
|
40087
|
-
@property
|
40088
|
-
def RequestId(self):
|
40089
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
40090
|
-
:rtype: str
|
40091
|
-
"""
|
40092
|
-
return self._RequestId
|
40093
|
-
|
40094
|
-
@RequestId.setter
|
40095
|
-
def RequestId(self, RequestId):
|
40096
|
-
self._RequestId = RequestId
|
40097
|
-
|
40098
|
-
|
40099
|
-
def _deserialize(self, params):
|
40100
|
-
if params.get("Invoice") is not None:
|
40101
|
-
self._Invoice = VatInvoice()
|
40102
|
-
self._Invoice._deserialize(params.get("Invoice"))
|
40103
|
-
if params.get("VehicleInvoiceInfo") is not None:
|
40104
|
-
self._VehicleInvoiceInfo = VehicleInvoiceInfo()
|
40105
|
-
self._VehicleInvoiceInfo._deserialize(params.get("VehicleInvoiceInfo"))
|
40106
|
-
if params.get("UsedVehicleInvoiceInfo") is not None:
|
40107
|
-
self._UsedVehicleInvoiceInfo = UsedVehicleInvoiceInfo()
|
40108
|
-
self._UsedVehicleInvoiceInfo._deserialize(params.get("UsedVehicleInvoiceInfo"))
|
40109
|
-
self._RequestId = params.get("RequestId")
|
40110
|
-
|
40111
|
-
|
40112
39663
|
class VatRollInvoiceInfo(AbstractModel):
|
40113
39664
|
"""增值税发票卷票信息
|
40114
39665
|
|