tencentcloud-sdk-python 3.0.1291__py2.py3-none-any.whl → 3.0.1293__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.
Files changed (79) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/apm_client.py +6 -6
  3. tencentcloud/apm/v20210622/errorcodes.py +6 -3
  4. tencentcloud/apm/v20210622/models.py +143 -295
  5. tencentcloud/autoscaling/v20180419/models.py +21 -2
  6. tencentcloud/batch/v20170312/models.py +2 -2
  7. tencentcloud/bh/v20230418/models.py +15 -0
  8. tencentcloud/billing/v20180709/models.py +30 -0
  9. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  10. tencentcloud/cdb/v20170320/models.py +8 -468
  11. tencentcloud/cdwdoris/v20211228/models.py +64 -0
  12. tencentcloud/cfg/v20210820/models.py +15 -0
  13. tencentcloud/cfs/v20190719/errorcodes.py +6 -3
  14. tencentcloud/ckafka/v20190819/models.py +45 -0
  15. tencentcloud/clb/v20180317/models.py +32 -0
  16. tencentcloud/cls/v20201016/cls_client.py +92 -0
  17. tencentcloud/cls/v20201016/models.py +742 -25
  18. tencentcloud/cmq/v20190304/cmq_client.py +30 -10
  19. tencentcloud/cmq/v20190304/models.py +106 -106
  20. tencentcloud/cvm/v20170312/cvm_client.py +0 -115
  21. tencentcloud/cvm/v20170312/errorcodes.py +3 -9
  22. tencentcloud/cvm/v20170312/models.py +7379 -8874
  23. tencentcloud/cwp/v20180228/cwp_client.py +0 -25
  24. tencentcloud/cwp/v20180228/models.py +2 -51
  25. tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -3
  26. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  27. tencentcloud/cynosdb/v20190107/models.py +8 -32
  28. tencentcloud/dnspod/v20210323/models.py +37 -37
  29. tencentcloud/dts/v20180330/models.py +2 -2
  30. tencentcloud/dts/v20211206/models.py +17 -0
  31. tencentcloud/emr/v20190103/emr_client.py +207 -0
  32. tencentcloud/emr/v20190103/errorcodes.py +15 -0
  33. tencentcloud/emr/v20190103/models.py +2175 -248
  34. tencentcloud/ess/v20201111/models.py +99 -20
  35. tencentcloud/essbasic/v20210526/models.py +185 -20
  36. tencentcloud/faceid/v20180301/models.py +4 -4
  37. tencentcloud/iai/v20200303/errorcodes.py +15 -0
  38. tencentcloud/iai/v20200303/iai_client.py +28 -0
  39. tencentcloud/iai/v20200303/models.py +203 -0
  40. tencentcloud/iotexplorer/v20190423/models.py +15 -0
  41. tencentcloud/keewidb/v20220308/models.py +2 -2
  42. tencentcloud/live/v20180801/models.py +111 -56
  43. tencentcloud/mna/v20210119/mna_client.py +9 -3
  44. tencentcloud/mna/v20210119/models.py +2 -2
  45. tencentcloud/mps/v20190612/models.py +75 -0
  46. tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
  47. tencentcloud/oceanus/v20190422/models.py +571 -2
  48. tencentcloud/ocr/v20181119/models.py +736 -8
  49. tencentcloud/ocr/v20181119/ocr_client.py +49 -3
  50. tencentcloud/sqlserver/v20180328/models.py +258 -92
  51. tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
  52. tencentcloud/ssl/v20191205/models.py +6 -6
  53. tencentcloud/tbaas/v20180416/tbaas_client.py +2 -2
  54. tencentcloud/tcr/v20190924/models.py +15 -0
  55. tencentcloud/tdmq/v20200217/models.py +573 -0
  56. tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
  57. tencentcloud/tem/v20210701/models.py +2 -2
  58. tencentcloud/tem/v20210701/tem_client.py +3 -1
  59. tencentcloud/teo/v20220901/models.py +2 -0
  60. tencentcloud/teo/v20220901/teo_client.py +1 -1
  61. tencentcloud/thpc/v20211109/models.py +10 -12
  62. tencentcloud/thpc/v20220401/models.py +30 -36
  63. tencentcloud/thpc/v20230321/models.py +12 -14
  64. tencentcloud/tke/v20180525/models.py +21 -6
  65. tencentcloud/trocket/v20230308/models.py +396 -0
  66. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  67. tencentcloud/trtc/v20190722/models.py +17 -0
  68. tencentcloud/tse/v20201207/models.py +100 -0
  69. tencentcloud/tts/v20190823/models.py +2 -2
  70. tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  71. tencentcloud/vpc/v20170312/models.py +545 -88
  72. tencentcloud/vpc/v20170312/vpc_client.py +69 -0
  73. tencentcloud/waf/v20180125/models.py +546 -4
  74. tencentcloud/waf/v20180125/waf_client.py +73 -2
  75. {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/METADATA +1 -1
  76. {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/RECORD +79 -79
  77. {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/LICENSE +0 -0
  78. {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/WHEEL +0 -0
  79. {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/top_level.txt +0 -0
@@ -10984,6 +10984,198 @@ Finger:由手指导致的不完整,仅在不完整告警中返回
10984
10984
 
10985
10985
 
10986
10986
 
10987
+ class GetOCRResultRequest(AbstractModel):
10988
+ """GetOCRResult请求参数结构体
10989
+
10990
+ """
10991
+
10992
+ def __init__(self):
10993
+ r"""
10994
+ :param _OCRToken: token值
10995
+ :type OCRToken: str
10996
+ """
10997
+ self._OCRToken = None
10998
+
10999
+ @property
11000
+ def OCRToken(self):
11001
+ """token值
11002
+ :rtype: str
11003
+ """
11004
+ return self._OCRToken
11005
+
11006
+ @OCRToken.setter
11007
+ def OCRToken(self, OCRToken):
11008
+ self._OCRToken = OCRToken
11009
+
11010
+
11011
+ def _deserialize(self, params):
11012
+ self._OCRToken = params.get("OCRToken")
11013
+ memeber_set = set(params.keys())
11014
+ for name, value in vars(self).items():
11015
+ property_name = name[1:]
11016
+ if property_name in memeber_set:
11017
+ memeber_set.remove(property_name)
11018
+ if len(memeber_set) > 0:
11019
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11020
+
11021
+
11022
+
11023
+ class GetOCRResultResponse(AbstractModel):
11024
+ """GetOCRResult返回参数结构体
11025
+
11026
+ """
11027
+
11028
+ def __init__(self):
11029
+ r"""
11030
+ :param _Type: ocr业务类型
11031
+ :type Type: str
11032
+ :param _OCRResult: ocr结果
11033
+ :type OCRResult: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
11034
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11035
+ :type RequestId: str
11036
+ """
11037
+ self._Type = None
11038
+ self._OCRResult = None
11039
+ self._RequestId = None
11040
+
11041
+ @property
11042
+ def Type(self):
11043
+ """ocr业务类型
11044
+ :rtype: str
11045
+ """
11046
+ return self._Type
11047
+
11048
+ @Type.setter
11049
+ def Type(self, Type):
11050
+ self._Type = Type
11051
+
11052
+ @property
11053
+ def OCRResult(self):
11054
+ """ocr结果
11055
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
11056
+ """
11057
+ return self._OCRResult
11058
+
11059
+ @OCRResult.setter
11060
+ def OCRResult(self, OCRResult):
11061
+ self._OCRResult = OCRResult
11062
+
11063
+ @property
11064
+ def RequestId(self):
11065
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11066
+ :rtype: str
11067
+ """
11068
+ return self._RequestId
11069
+
11070
+ @RequestId.setter
11071
+ def RequestId(self, RequestId):
11072
+ self._RequestId = RequestId
11073
+
11074
+
11075
+ def _deserialize(self, params):
11076
+ self._Type = params.get("Type")
11077
+ if params.get("OCRResult") is not None:
11078
+ self._OCRResult = OCRResult()
11079
+ self._OCRResult._deserialize(params.get("OCRResult"))
11080
+ self._RequestId = params.get("RequestId")
11081
+
11082
+
11083
+ class GetOCRTokenRequest(AbstractModel):
11084
+ """GetOCRToken请求参数结构体
11085
+
11086
+ """
11087
+
11088
+ def __init__(self):
11089
+ r"""
11090
+ :param _Type: 业务类型,如身份证识别为IDCardOCR
11091
+ :type Type: str
11092
+ :param _IDCardConfig: 身份证配置信息
11093
+ :type IDCardConfig: :class:`tencentcloud.ocr.v20181119.models.IDCardConfig`
11094
+ """
11095
+ self._Type = None
11096
+ self._IDCardConfig = None
11097
+
11098
+ @property
11099
+ def Type(self):
11100
+ """业务类型,如身份证识别为IDCardOCR
11101
+ :rtype: str
11102
+ """
11103
+ return self._Type
11104
+
11105
+ @Type.setter
11106
+ def Type(self, Type):
11107
+ self._Type = Type
11108
+
11109
+ @property
11110
+ def IDCardConfig(self):
11111
+ """身份证配置信息
11112
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardConfig`
11113
+ """
11114
+ return self._IDCardConfig
11115
+
11116
+ @IDCardConfig.setter
11117
+ def IDCardConfig(self, IDCardConfig):
11118
+ self._IDCardConfig = IDCardConfig
11119
+
11120
+
11121
+ def _deserialize(self, params):
11122
+ self._Type = params.get("Type")
11123
+ if params.get("IDCardConfig") is not None:
11124
+ self._IDCardConfig = IDCardConfig()
11125
+ self._IDCardConfig._deserialize(params.get("IDCardConfig"))
11126
+ memeber_set = set(params.keys())
11127
+ for name, value in vars(self).items():
11128
+ property_name = name[1:]
11129
+ if property_name in memeber_set:
11130
+ memeber_set.remove(property_name)
11131
+ if len(memeber_set) > 0:
11132
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11133
+
11134
+
11135
+
11136
+ class GetOCRTokenResponse(AbstractModel):
11137
+ """GetOCRToken返回参数结构体
11138
+
11139
+ """
11140
+
11141
+ def __init__(self):
11142
+ r"""
11143
+ :param _OCRToken: token值
11144
+ :type OCRToken: str
11145
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11146
+ :type RequestId: str
11147
+ """
11148
+ self._OCRToken = None
11149
+ self._RequestId = None
11150
+
11151
+ @property
11152
+ def OCRToken(self):
11153
+ """token值
11154
+ :rtype: str
11155
+ """
11156
+ return self._OCRToken
11157
+
11158
+ @OCRToken.setter
11159
+ def OCRToken(self, OCRToken):
11160
+ self._OCRToken = OCRToken
11161
+
11162
+ @property
11163
+ def RequestId(self):
11164
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11165
+ :rtype: str
11166
+ """
11167
+ return self._RequestId
11168
+
11169
+ @RequestId.setter
11170
+ def RequestId(self, RequestId):
11171
+ self._RequestId = RequestId
11172
+
11173
+
11174
+ def _deserialize(self, params):
11175
+ self._OCRToken = params.get("OCRToken")
11176
+ self._RequestId = params.get("RequestId")
11177
+
11178
+
10987
11179
  class GetTaskStateRequest(AbstractModel):
10988
11180
  """GetTaskState请求参数结构体
10989
11181
 
@@ -11787,6 +11979,132 @@ class HmtResidentPermitOCRResponse(AbstractModel):
11787
11979
  self._RequestId = params.get("RequestId")
11788
11980
 
11789
11981
 
11982
+ class IDCardConfig(AbstractModel):
11983
+ """身份证配置信息
11984
+
11985
+ """
11986
+
11987
+ def __init__(self):
11988
+ r"""
11989
+ :param _CopyWarn: 默认为false
11990
+ :type CopyWarn: bool
11991
+ :param _BorderCheckWarn: 默认为false
11992
+ :type BorderCheckWarn: bool
11993
+ :param _ReshootWarn: 默认为false
11994
+ :type ReshootWarn: bool
11995
+ :param _DetectPsWarn: 默认为false
11996
+ :type DetectPsWarn: bool
11997
+ :param _TempIdWarn: 默认为false
11998
+ :type TempIdWarn: bool
11999
+ :param _InvalidDateWarn: 默认为false
12000
+ :type InvalidDateWarn: bool
12001
+ :param _ReflectWarn: 默认为false
12002
+ :type ReflectWarn: bool
12003
+ """
12004
+ self._CopyWarn = None
12005
+ self._BorderCheckWarn = None
12006
+ self._ReshootWarn = None
12007
+ self._DetectPsWarn = None
12008
+ self._TempIdWarn = None
12009
+ self._InvalidDateWarn = None
12010
+ self._ReflectWarn = None
12011
+
12012
+ @property
12013
+ def CopyWarn(self):
12014
+ """默认为false
12015
+ :rtype: bool
12016
+ """
12017
+ return self._CopyWarn
12018
+
12019
+ @CopyWarn.setter
12020
+ def CopyWarn(self, CopyWarn):
12021
+ self._CopyWarn = CopyWarn
12022
+
12023
+ @property
12024
+ def BorderCheckWarn(self):
12025
+ """默认为false
12026
+ :rtype: bool
12027
+ """
12028
+ return self._BorderCheckWarn
12029
+
12030
+ @BorderCheckWarn.setter
12031
+ def BorderCheckWarn(self, BorderCheckWarn):
12032
+ self._BorderCheckWarn = BorderCheckWarn
12033
+
12034
+ @property
12035
+ def ReshootWarn(self):
12036
+ """默认为false
12037
+ :rtype: bool
12038
+ """
12039
+ return self._ReshootWarn
12040
+
12041
+ @ReshootWarn.setter
12042
+ def ReshootWarn(self, ReshootWarn):
12043
+ self._ReshootWarn = ReshootWarn
12044
+
12045
+ @property
12046
+ def DetectPsWarn(self):
12047
+ """默认为false
12048
+ :rtype: bool
12049
+ """
12050
+ return self._DetectPsWarn
12051
+
12052
+ @DetectPsWarn.setter
12053
+ def DetectPsWarn(self, DetectPsWarn):
12054
+ self._DetectPsWarn = DetectPsWarn
12055
+
12056
+ @property
12057
+ def TempIdWarn(self):
12058
+ """默认为false
12059
+ :rtype: bool
12060
+ """
12061
+ return self._TempIdWarn
12062
+
12063
+ @TempIdWarn.setter
12064
+ def TempIdWarn(self, TempIdWarn):
12065
+ self._TempIdWarn = TempIdWarn
12066
+
12067
+ @property
12068
+ def InvalidDateWarn(self):
12069
+ """默认为false
12070
+ :rtype: bool
12071
+ """
12072
+ return self._InvalidDateWarn
12073
+
12074
+ @InvalidDateWarn.setter
12075
+ def InvalidDateWarn(self, InvalidDateWarn):
12076
+ self._InvalidDateWarn = InvalidDateWarn
12077
+
12078
+ @property
12079
+ def ReflectWarn(self):
12080
+ """默认为false
12081
+ :rtype: bool
12082
+ """
12083
+ return self._ReflectWarn
12084
+
12085
+ @ReflectWarn.setter
12086
+ def ReflectWarn(self, ReflectWarn):
12087
+ self._ReflectWarn = ReflectWarn
12088
+
12089
+
12090
+ def _deserialize(self, params):
12091
+ self._CopyWarn = params.get("CopyWarn")
12092
+ self._BorderCheckWarn = params.get("BorderCheckWarn")
12093
+ self._ReshootWarn = params.get("ReshootWarn")
12094
+ self._DetectPsWarn = params.get("DetectPsWarn")
12095
+ self._TempIdWarn = params.get("TempIdWarn")
12096
+ self._InvalidDateWarn = params.get("InvalidDateWarn")
12097
+ self._ReflectWarn = params.get("ReflectWarn")
12098
+ memeber_set = set(params.keys())
12099
+ for name, value in vars(self).items():
12100
+ property_name = name[1:]
12101
+ if property_name in memeber_set:
12102
+ memeber_set.remove(property_name)
12103
+ if len(memeber_set) > 0:
12104
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12105
+
12106
+
12107
+
11790
12108
  class IDCardInfo(AbstractModel):
11791
12109
  """身份证信息返回
11792
12110
 
@@ -11995,6 +12313,246 @@ class IDCardInfo(AbstractModel):
11995
12313
 
11996
12314
 
11997
12315
 
12316
+ class IDCardInfoResult(AbstractModel):
12317
+ """身份证ocr信息结果
12318
+
12319
+ """
12320
+
12321
+ def __init__(self):
12322
+ r"""
12323
+ :param _WarnCodes: 警告代码
12324
+ 注意:此字段可能返回 null,表示取不到有效值。
12325
+ :type WarnCodes: list of int
12326
+ :param _Address: 地址
12327
+ 注意:此字段可能返回 null,表示取不到有效值。
12328
+ :type Address: str
12329
+ :param _Authority: 签发机关
12330
+ 注意:此字段可能返回 null,表示取不到有效值。
12331
+ :type Authority: str
12332
+ :param _Birth: 出生日期
12333
+ 注意:此字段可能返回 null,表示取不到有效值。
12334
+ :type Birth: str
12335
+ :param _IdNum: 身份证号
12336
+ 注意:此字段可能返回 null,表示取不到有效值。
12337
+ :type IdNum: str
12338
+ :param _Name: 名字
12339
+ 注意:此字段可能返回 null,表示取不到有效值。
12340
+ :type Name: str
12341
+ :param _Nation: 地区
12342
+ 注意:此字段可能返回 null,表示取不到有效值。
12343
+ :type Nation: str
12344
+ :param _Sex: 性别
12345
+ 注意:此字段可能返回 null,表示取不到有效值。
12346
+ :type Sex: str
12347
+ :param _ValidDate: 到期时间
12348
+ 注意:此字段可能返回 null,表示取不到有效值。
12349
+ :type ValidDate: str
12350
+ :param _RequestId: 请求的id
12351
+ 注意:此字段可能返回 null,表示取不到有效值。
12352
+ :type RequestId: str
12353
+ :param _ErrorCode: 错误码
12354
+ 注意:此字段可能返回 null,表示取不到有效值。
12355
+ :type ErrorCode: str
12356
+ :param _ErrorMessage: 错误信息
12357
+ 注意:此字段可能返回 null,表示取不到有效值。
12358
+ :type ErrorMessage: str
12359
+ :param _ImageUrl: 原图地址
12360
+ :type ImageUrl: str
12361
+ """
12362
+ self._WarnCodes = None
12363
+ self._Address = None
12364
+ self._Authority = None
12365
+ self._Birth = None
12366
+ self._IdNum = None
12367
+ self._Name = None
12368
+ self._Nation = None
12369
+ self._Sex = None
12370
+ self._ValidDate = None
12371
+ self._RequestId = None
12372
+ self._ErrorCode = None
12373
+ self._ErrorMessage = None
12374
+ self._ImageUrl = None
12375
+
12376
+ @property
12377
+ def WarnCodes(self):
12378
+ """警告代码
12379
+ 注意:此字段可能返回 null,表示取不到有效值。
12380
+ :rtype: list of int
12381
+ """
12382
+ return self._WarnCodes
12383
+
12384
+ @WarnCodes.setter
12385
+ def WarnCodes(self, WarnCodes):
12386
+ self._WarnCodes = WarnCodes
12387
+
12388
+ @property
12389
+ def Address(self):
12390
+ """地址
12391
+ 注意:此字段可能返回 null,表示取不到有效值。
12392
+ :rtype: str
12393
+ """
12394
+ return self._Address
12395
+
12396
+ @Address.setter
12397
+ def Address(self, Address):
12398
+ self._Address = Address
12399
+
12400
+ @property
12401
+ def Authority(self):
12402
+ """签发机关
12403
+ 注意:此字段可能返回 null,表示取不到有效值。
12404
+ :rtype: str
12405
+ """
12406
+ return self._Authority
12407
+
12408
+ @Authority.setter
12409
+ def Authority(self, Authority):
12410
+ self._Authority = Authority
12411
+
12412
+ @property
12413
+ def Birth(self):
12414
+ """出生日期
12415
+ 注意:此字段可能返回 null,表示取不到有效值。
12416
+ :rtype: str
12417
+ """
12418
+ return self._Birth
12419
+
12420
+ @Birth.setter
12421
+ def Birth(self, Birth):
12422
+ self._Birth = Birth
12423
+
12424
+ @property
12425
+ def IdNum(self):
12426
+ """身份证号
12427
+ 注意:此字段可能返回 null,表示取不到有效值。
12428
+ :rtype: str
12429
+ """
12430
+ return self._IdNum
12431
+
12432
+ @IdNum.setter
12433
+ def IdNum(self, IdNum):
12434
+ self._IdNum = IdNum
12435
+
12436
+ @property
12437
+ def Name(self):
12438
+ """名字
12439
+ 注意:此字段可能返回 null,表示取不到有效值。
12440
+ :rtype: str
12441
+ """
12442
+ return self._Name
12443
+
12444
+ @Name.setter
12445
+ def Name(self, Name):
12446
+ self._Name = Name
12447
+
12448
+ @property
12449
+ def Nation(self):
12450
+ """地区
12451
+ 注意:此字段可能返回 null,表示取不到有效值。
12452
+ :rtype: str
12453
+ """
12454
+ return self._Nation
12455
+
12456
+ @Nation.setter
12457
+ def Nation(self, Nation):
12458
+ self._Nation = Nation
12459
+
12460
+ @property
12461
+ def Sex(self):
12462
+ """性别
12463
+ 注意:此字段可能返回 null,表示取不到有效值。
12464
+ :rtype: str
12465
+ """
12466
+ return self._Sex
12467
+
12468
+ @Sex.setter
12469
+ def Sex(self, Sex):
12470
+ self._Sex = Sex
12471
+
12472
+ @property
12473
+ def ValidDate(self):
12474
+ """到期时间
12475
+ 注意:此字段可能返回 null,表示取不到有效值。
12476
+ :rtype: str
12477
+ """
12478
+ return self._ValidDate
12479
+
12480
+ @ValidDate.setter
12481
+ def ValidDate(self, ValidDate):
12482
+ self._ValidDate = ValidDate
12483
+
12484
+ @property
12485
+ def RequestId(self):
12486
+ """请求的id
12487
+ 注意:此字段可能返回 null,表示取不到有效值。
12488
+ :rtype: str
12489
+ """
12490
+ return self._RequestId
12491
+
12492
+ @RequestId.setter
12493
+ def RequestId(self, RequestId):
12494
+ self._RequestId = RequestId
12495
+
12496
+ @property
12497
+ def ErrorCode(self):
12498
+ """错误码
12499
+ 注意:此字段可能返回 null,表示取不到有效值。
12500
+ :rtype: str
12501
+ """
12502
+ return self._ErrorCode
12503
+
12504
+ @ErrorCode.setter
12505
+ def ErrorCode(self, ErrorCode):
12506
+ self._ErrorCode = ErrorCode
12507
+
12508
+ @property
12509
+ def ErrorMessage(self):
12510
+ """错误信息
12511
+ 注意:此字段可能返回 null,表示取不到有效值。
12512
+ :rtype: str
12513
+ """
12514
+ return self._ErrorMessage
12515
+
12516
+ @ErrorMessage.setter
12517
+ def ErrorMessage(self, ErrorMessage):
12518
+ self._ErrorMessage = ErrorMessage
12519
+
12520
+ @property
12521
+ def ImageUrl(self):
12522
+ """原图地址
12523
+ :rtype: str
12524
+ """
12525
+ return self._ImageUrl
12526
+
12527
+ @ImageUrl.setter
12528
+ def ImageUrl(self, ImageUrl):
12529
+ self._ImageUrl = ImageUrl
12530
+
12531
+
12532
+ def _deserialize(self, params):
12533
+ self._WarnCodes = params.get("WarnCodes")
12534
+ self._Address = params.get("Address")
12535
+ self._Authority = params.get("Authority")
12536
+ self._Birth = params.get("Birth")
12537
+ self._IdNum = params.get("IdNum")
12538
+ self._Name = params.get("Name")
12539
+ self._Nation = params.get("Nation")
12540
+ self._Sex = params.get("Sex")
12541
+ self._ValidDate = params.get("ValidDate")
12542
+ self._RequestId = params.get("RequestId")
12543
+ self._ErrorCode = params.get("ErrorCode")
12544
+ self._ErrorMessage = params.get("ErrorMessage")
12545
+ self._ImageUrl = params.get("ImageUrl")
12546
+ memeber_set = set(params.keys())
12547
+ for name, value in vars(self).items():
12548
+ property_name = name[1:]
12549
+ if property_name in memeber_set:
12550
+ memeber_set.remove(property_name)
12551
+ if len(memeber_set) > 0:
12552
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12553
+
12554
+
12555
+
11998
12556
  class IDCardOCRRequest(AbstractModel):
11999
12557
  """IDCardOCR请求参数结构体
12000
12558
 
@@ -12384,6 +12942,65 @@ WarnInfos,告警信息,Code 告警码列表和释义:
12384
12942
  self._RequestId = params.get("RequestId")
12385
12943
 
12386
12944
 
12945
+ class IDCardResult(AbstractModel):
12946
+ """IDCardResult
12947
+
12948
+ """
12949
+
12950
+ def __init__(self):
12951
+ r"""
12952
+ :param _Front: 正面结果
12953
+ 注意:此字段可能返回 null,表示取不到有效值。
12954
+ :type Front: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
12955
+ :param _Back: 反面结果
12956
+ 注意:此字段可能返回 null,表示取不到有效值。
12957
+ :type Back: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
12958
+ """
12959
+ self._Front = None
12960
+ self._Back = None
12961
+
12962
+ @property
12963
+ def Front(self):
12964
+ """正面结果
12965
+ 注意:此字段可能返回 null,表示取不到有效值。
12966
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
12967
+ """
12968
+ return self._Front
12969
+
12970
+ @Front.setter
12971
+ def Front(self, Front):
12972
+ self._Front = Front
12973
+
12974
+ @property
12975
+ def Back(self):
12976
+ """反面结果
12977
+ 注意:此字段可能返回 null,表示取不到有效值。
12978
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
12979
+ """
12980
+ return self._Back
12981
+
12982
+ @Back.setter
12983
+ def Back(self, Back):
12984
+ self._Back = Back
12985
+
12986
+
12987
+ def _deserialize(self, params):
12988
+ if params.get("Front") is not None:
12989
+ self._Front = IDCardInfoResult()
12990
+ self._Front._deserialize(params.get("Front"))
12991
+ if params.get("Back") is not None:
12992
+ self._Back = IDCardInfoResult()
12993
+ self._Back._deserialize(params.get("Back"))
12994
+ memeber_set = set(params.keys())
12995
+ for name, value in vars(self).items():
12996
+ property_name = name[1:]
12997
+ if property_name in memeber_set:
12998
+ memeber_set.remove(property_name)
12999
+ if len(memeber_set) > 0:
13000
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13001
+
13002
+
13003
+
12387
13004
  class ImageCoordinates(AbstractModel):
12388
13005
  """头像位置坐标
12389
13006
 
@@ -17935,6 +18552,46 @@ class NonTaxItem(AbstractModel):
17935
18552
 
17936
18553
 
17937
18554
 
18555
+ class OCRResult(AbstractModel):
18556
+ """ocr结果信息
18557
+
18558
+ """
18559
+
18560
+ def __init__(self):
18561
+ r"""
18562
+ :param _IDCardResult: 身份证结果
18563
+ 注意:此字段可能返回 null,表示取不到有效值。
18564
+ :type IDCardResult: :class:`tencentcloud.ocr.v20181119.models.IDCardResult`
18565
+ """
18566
+ self._IDCardResult = None
18567
+
18568
+ @property
18569
+ def IDCardResult(self):
18570
+ """身份证结果
18571
+ 注意:此字段可能返回 null,表示取不到有效值。
18572
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardResult`
18573
+ """
18574
+ return self._IDCardResult
18575
+
18576
+ @IDCardResult.setter
18577
+ def IDCardResult(self, IDCardResult):
18578
+ self._IDCardResult = IDCardResult
18579
+
18580
+
18581
+ def _deserialize(self, params):
18582
+ if params.get("IDCardResult") is not None:
18583
+ self._IDCardResult = IDCardResult()
18584
+ self._IDCardResult._deserialize(params.get("IDCardResult"))
18585
+ memeber_set = set(params.keys())
18586
+ for name, value in vars(self).items():
18587
+ property_name = name[1:]
18588
+ if property_name in memeber_set:
18589
+ memeber_set.remove(property_name)
18590
+ if len(memeber_set) > 0:
18591
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18592
+
18593
+
18594
+
17938
18595
  class OnlineTaxiItineraryInfo(AbstractModel):
17939
18596
  """网约车行程单识别结果
17940
18597
 
@@ -34070,6 +34727,16 @@ class VatElectronicInfo(AbstractModel):
34070
34727
  :type VatElectronicItems: list of VatElectronicItemInfo
34071
34728
  :param _ServiceTypeLabel: 业务类型标志
34072
34729
  :type ServiceTypeLabel: str
34730
+ :param _TotalCnMark: 价税合计(大写)前符号
34731
+ :type TotalCnMark: str
34732
+ :param _TotalMark: 价税合计(小写)前字样
34733
+ :type TotalMark: str
34734
+ :param _PretaxAmountMark: 合计金额前字样
34735
+ :type PretaxAmountMark: str
34736
+ :param _TaxMark: 合计税额前字样
34737
+ :type TaxMark: str
34738
+ :param _CompanySealMark: 是否有公司印章(0:没有,1:有)
34739
+ :type CompanySealMark: int
34073
34740
  """
34074
34741
  self._Title = None
34075
34742
  self._Number = None
@@ -34088,6 +34755,11 @@ class VatElectronicInfo(AbstractModel):
34088
34755
  self._SubTax = None
34089
34756
  self._VatElectronicItems = None
34090
34757
  self._ServiceTypeLabel = None
34758
+ self._TotalCnMark = None
34759
+ self._TotalMark = None
34760
+ self._PretaxAmountMark = None
34761
+ self._TaxMark = None
34762
+ self._CompanySealMark = None
34091
34763
 
34092
34764
  @property
34093
34765
  def Title(self):
@@ -34276,6 +34948,61 @@ class VatElectronicInfo(AbstractModel):
34276
34948
  def ServiceTypeLabel(self, ServiceTypeLabel):
34277
34949
  self._ServiceTypeLabel = ServiceTypeLabel
34278
34950
 
34951
+ @property
34952
+ def TotalCnMark(self):
34953
+ """价税合计(大写)前符号
34954
+ :rtype: str
34955
+ """
34956
+ return self._TotalCnMark
34957
+
34958
+ @TotalCnMark.setter
34959
+ def TotalCnMark(self, TotalCnMark):
34960
+ self._TotalCnMark = TotalCnMark
34961
+
34962
+ @property
34963
+ def TotalMark(self):
34964
+ """价税合计(小写)前字样
34965
+ :rtype: str
34966
+ """
34967
+ return self._TotalMark
34968
+
34969
+ @TotalMark.setter
34970
+ def TotalMark(self, TotalMark):
34971
+ self._TotalMark = TotalMark
34972
+
34973
+ @property
34974
+ def PretaxAmountMark(self):
34975
+ """合计金额前字样
34976
+ :rtype: str
34977
+ """
34978
+ return self._PretaxAmountMark
34979
+
34980
+ @PretaxAmountMark.setter
34981
+ def PretaxAmountMark(self, PretaxAmountMark):
34982
+ self._PretaxAmountMark = PretaxAmountMark
34983
+
34984
+ @property
34985
+ def TaxMark(self):
34986
+ """合计税额前字样
34987
+ :rtype: str
34988
+ """
34989
+ return self._TaxMark
34990
+
34991
+ @TaxMark.setter
34992
+ def TaxMark(self, TaxMark):
34993
+ self._TaxMark = TaxMark
34994
+
34995
+ @property
34996
+ def CompanySealMark(self):
34997
+ """是否有公司印章(0:没有,1:有)
34998
+ :rtype: int
34999
+ """
35000
+ return self._CompanySealMark
35001
+
35002
+ @CompanySealMark.setter
35003
+ def CompanySealMark(self, CompanySealMark):
35004
+ self._CompanySealMark = CompanySealMark
35005
+
34279
35006
 
34280
35007
  def _deserialize(self, params):
34281
35008
  self._Title = params.get("Title")
@@ -34300,6 +35027,11 @@ class VatElectronicInfo(AbstractModel):
34300
35027
  obj._deserialize(item)
34301
35028
  self._VatElectronicItems.append(obj)
34302
35029
  self._ServiceTypeLabel = params.get("ServiceTypeLabel")
35030
+ self._TotalCnMark = params.get("TotalCnMark")
35031
+ self._TotalMark = params.get("TotalMark")
35032
+ self._PretaxAmountMark = params.get("PretaxAmountMark")
35033
+ self._TaxMark = params.get("TaxMark")
35034
+ self._CompanySealMark = params.get("CompanySealMark")
34303
35035
  memeber_set = set(params.keys())
34304
35036
  for name, value in vars(self).items():
34305
35037
  property_name = name[1:]
@@ -37104,7 +37836,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
37104
37836
  :type InvoiceNo: str
37105
37837
  :param _InvoiceDate: 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
37106
37838
  :type InvoiceDate: str
37107
- :param _InvoiceCode: 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
37839
+ :param _InvoiceCode: 发票代码(10或12 位),全电发票为空。查验超过5次后当日无法再查。
37108
37840
  :type InvoiceCode: str
37109
37841
  :param _InvoiceKind: 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票,16:财务发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
37110
37842
  :type InvoiceKind: str
@@ -37120,9 +37852,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
37120
37852
  :type SellerTaxCode: str
37121
37853
  :param _EnableCommonElectronic: 是否开启通用机打电子发票,默认为关闭。
37122
37854
  :type EnableCommonElectronic: bool
37123
- :param _EnableTodayInvoice: 是否允许查验当日发票,默认值为false
37124
-
37125
- 请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。
37855
+ :param _EnableTodayInvoice: 是否允许查验当日发票,默认值为false。请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的当日发票。
37126
37856
  :type EnableTodayInvoice: bool
37127
37857
  """
37128
37858
  self._InvoiceNo = None
@@ -37160,7 +37890,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
37160
37890
 
37161
37891
  @property
37162
37892
  def InvoiceCode(self):
37163
- """发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
37893
+ """发票代码(10或12 位),全电发票为空。查验超过5次后当日无法再查。
37164
37894
  :rtype: str
37165
37895
  """
37166
37896
  return self._InvoiceCode
@@ -37239,9 +37969,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
37239
37969
 
37240
37970
  @property
37241
37971
  def EnableTodayInvoice(self):
37242
- """是否允许查验当日发票,默认值为false
37243
-
37244
- 请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。
37972
+ """是否允许查验当日发票,默认值为false。请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的当日发票。
37245
37973
  :rtype: bool
37246
37974
  """
37247
37975
  return self._EnableTodayInvoice