tencentcloud-sdk-python 3.0.1174__py2.py3-none-any.whl → 3.0.1176__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 (54) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/asr_client.py +23 -0
  3. tencentcloud/asr/v20190614/errorcodes.py +3 -0
  4. tencentcloud/asr/v20190614/models.py +317 -0
  5. tencentcloud/cls/v20201016/models.py +157 -0
  6. tencentcloud/cwp/v20180228/cwp_client.py +0 -25
  7. tencentcloud/cwp/v20180228/models.py +0 -70
  8. tencentcloud/cynosdb/v20190107/models.py +13 -0
  9. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  10. tencentcloud/dlc/v20210125/models.py +226 -1
  11. tencentcloud/dts/v20211206/models.py +3 -3
  12. tencentcloud/ess/v20201111/models.py +4 -0
  13. tencentcloud/essbasic/v20210526/models.py +13 -3
  14. tencentcloud/faceid/v20180301/models.py +1 -16
  15. tencentcloud/ioa/v20220601/ioa_client.py +69 -0
  16. tencentcloud/ioa/v20220601/models.py +1239 -63
  17. tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
  18. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
  19. tencentcloud/iotexplorer/v20190423/models.py +496 -0
  20. tencentcloud/lighthouse/v20200324/errorcodes.py +15 -0
  21. tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
  22. tencentcloud/lighthouse/v20200324/models.py +11 -8
  23. tencentcloud/live/v20180801/models.py +13 -0
  24. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  25. tencentcloud/lke/v20231130/lke_client.py +69 -0
  26. tencentcloud/lke/v20231130/models.py +605 -5
  27. tencentcloud/ocr/v20181119/ocr_client.py +4 -2
  28. tencentcloud/partners/v20180321/models.py +13 -0
  29. tencentcloud/tcr/v20190924/models.py +13 -0
  30. tencentcloud/tcss/v20201101/models.py +150 -27
  31. tencentcloud/tdmq/v20200217/models.py +427 -0
  32. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  33. tencentcloud/tke/v20180525/models.py +12 -0
  34. tencentcloud/trocket/v20230308/models.py +290 -0
  35. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  36. tencentcloud/trtc/v20190722/models.py +25 -5
  37. tencentcloud/tsi/__init__.py +0 -0
  38. tencentcloud/tsi/v20210325/__init__.py +0 -0
  39. tencentcloud/tsi/v20210325/errorcodes.py +33 -0
  40. tencentcloud/tsi/v20210325/models.py +547 -0
  41. tencentcloud/tsi/v20210325/tsi_client.py +95 -0
  42. tencentcloud/tts/v20190823/models.py +2 -2
  43. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  44. tencentcloud/vpc/v20170312/models.py +26 -2
  45. tencentcloud/vpc/v20170312/vpc_client.py +4 -4
  46. tencentcloud/waf/v20180125/models.py +108 -0
  47. tencentcloud/waf/v20180125/waf_client.py +23 -0
  48. tencentcloud/wedata/v20210820/models.py +539 -0
  49. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  50. {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/METADATA +1 -1
  51. {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/RECORD +54 -49
  52. {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/LICENSE +0 -0
  53. {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/WHEEL +0 -0
  54. {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/top_level.txt +0 -0
@@ -1210,6 +1210,119 @@ class Context(AbstractModel):
1210
1210
 
1211
1211
 
1212
1212
 
1213
+ class ConvertDocumentRequest(AbstractModel):
1214
+ """ConvertDocument请求参数结构体
1215
+
1216
+ """
1217
+
1218
+ def __init__(self):
1219
+ r"""
1220
+ :param _FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1221
+ :type FileUrl: str
1222
+ :param _FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1223
+ :type FileBase64: str
1224
+ :param _FileStartPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
1225
+ :type FileStartPageNumber: int
1226
+ :param _FileEndPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
1227
+ 建议一次请求的页面不超过3页。
1228
+ :type FileEndPageNumber: int
1229
+ """
1230
+ self._FileUrl = None
1231
+ self._FileBase64 = None
1232
+ self._FileStartPageNumber = None
1233
+ self._FileEndPageNumber = None
1234
+
1235
+ @property
1236
+ def FileUrl(self):
1237
+ return self._FileUrl
1238
+
1239
+ @FileUrl.setter
1240
+ def FileUrl(self, FileUrl):
1241
+ self._FileUrl = FileUrl
1242
+
1243
+ @property
1244
+ def FileBase64(self):
1245
+ return self._FileBase64
1246
+
1247
+ @FileBase64.setter
1248
+ def FileBase64(self, FileBase64):
1249
+ self._FileBase64 = FileBase64
1250
+
1251
+ @property
1252
+ def FileStartPageNumber(self):
1253
+ return self._FileStartPageNumber
1254
+
1255
+ @FileStartPageNumber.setter
1256
+ def FileStartPageNumber(self, FileStartPageNumber):
1257
+ self._FileStartPageNumber = FileStartPageNumber
1258
+
1259
+ @property
1260
+ def FileEndPageNumber(self):
1261
+ return self._FileEndPageNumber
1262
+
1263
+ @FileEndPageNumber.setter
1264
+ def FileEndPageNumber(self, FileEndPageNumber):
1265
+ self._FileEndPageNumber = FileEndPageNumber
1266
+
1267
+
1268
+ def _deserialize(self, params):
1269
+ self._FileUrl = params.get("FileUrl")
1270
+ self._FileBase64 = params.get("FileBase64")
1271
+ self._FileStartPageNumber = params.get("FileStartPageNumber")
1272
+ self._FileEndPageNumber = params.get("FileEndPageNumber")
1273
+ memeber_set = set(params.keys())
1274
+ for name, value in vars(self).items():
1275
+ property_name = name[1:]
1276
+ if property_name in memeber_set:
1277
+ memeber_set.remove(property_name)
1278
+ if len(memeber_set) > 0:
1279
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1280
+
1281
+
1282
+
1283
+ class ConvertDocumentResponse(AbstractModel):
1284
+ """ConvertDocument返回参数结构体
1285
+
1286
+ """
1287
+
1288
+ def __init__(self):
1289
+ r"""
1290
+ :param _WordRecognizeInfo: 识别生成的word文件base64编码的字符串
1291
+ 注意:此字段可能返回 null,表示取不到有效值。
1292
+ :type WordRecognizeInfo: list of WordRecognizeInfo
1293
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1294
+ :type RequestId: str
1295
+ """
1296
+ self._WordRecognizeInfo = None
1297
+ self._RequestId = None
1298
+
1299
+ @property
1300
+ def WordRecognizeInfo(self):
1301
+ return self._WordRecognizeInfo
1302
+
1303
+ @WordRecognizeInfo.setter
1304
+ def WordRecognizeInfo(self, WordRecognizeInfo):
1305
+ self._WordRecognizeInfo = WordRecognizeInfo
1306
+
1307
+ @property
1308
+ def RequestId(self):
1309
+ return self._RequestId
1310
+
1311
+ @RequestId.setter
1312
+ def RequestId(self, RequestId):
1313
+ self._RequestId = RequestId
1314
+
1315
+
1316
+ def _deserialize(self, params):
1317
+ if params.get("WordRecognizeInfo") is not None:
1318
+ self._WordRecognizeInfo = []
1319
+ for item in params.get("WordRecognizeInfo"):
1320
+ obj = WordRecognizeInfo()
1321
+ obj._deserialize(item)
1322
+ self._WordRecognizeInfo.append(obj)
1323
+ self._RequestId = params.get("RequestId")
1324
+
1325
+
1213
1326
  class Coord(AbstractModel):
1214
1327
  """坐标
1215
1328
 
@@ -1932,9 +2045,9 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
1932
2045
  :type FileBase64: str
1933
2046
  :param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1934
2047
  :type FileUrl: str
1935
- :param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。
2048
+ :param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
1936
2049
  :type FileStartPageNumber: int
1937
- :param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。
2050
+ :param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。
1938
2051
  :type FileEndPageNumber: int
1939
2052
  :param _Config: 创建文档解析任务配置信息
1940
2053
  :type Config: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
@@ -5512,6 +5625,244 @@ class GenerateQAResponse(AbstractModel):
5512
5625
  self._RequestId = params.get("RequestId")
5513
5626
 
5514
5627
 
5628
+ class GetAnswerTypeDataCountRequest(AbstractModel):
5629
+ """GetAnswerTypeDataCount请求参数结构体
5630
+
5631
+ """
5632
+
5633
+ def __init__(self):
5634
+ r"""
5635
+ :param _StartTime: 开始日期
5636
+ :type StartTime: int
5637
+ :param _EndTime: 结束日期
5638
+ :type EndTime: int
5639
+ :param _AppBizId: 应用id
5640
+ :type AppBizId: list of str
5641
+ :param _Type: 消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测)
5642
+ :type Type: int
5643
+ :param _LoginUin: 登录用户主账号(集成商模式必填)
5644
+ :type LoginUin: str
5645
+ :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
5646
+ :type LoginSubAccountUin: str
5647
+ """
5648
+ self._StartTime = None
5649
+ self._EndTime = None
5650
+ self._AppBizId = None
5651
+ self._Type = None
5652
+ self._LoginUin = None
5653
+ self._LoginSubAccountUin = None
5654
+
5655
+ @property
5656
+ def StartTime(self):
5657
+ return self._StartTime
5658
+
5659
+ @StartTime.setter
5660
+ def StartTime(self, StartTime):
5661
+ self._StartTime = StartTime
5662
+
5663
+ @property
5664
+ def EndTime(self):
5665
+ return self._EndTime
5666
+
5667
+ @EndTime.setter
5668
+ def EndTime(self, EndTime):
5669
+ self._EndTime = EndTime
5670
+
5671
+ @property
5672
+ def AppBizId(self):
5673
+ return self._AppBizId
5674
+
5675
+ @AppBizId.setter
5676
+ def AppBizId(self, AppBizId):
5677
+ self._AppBizId = AppBizId
5678
+
5679
+ @property
5680
+ def Type(self):
5681
+ return self._Type
5682
+
5683
+ @Type.setter
5684
+ def Type(self, Type):
5685
+ self._Type = Type
5686
+
5687
+ @property
5688
+ def LoginUin(self):
5689
+ return self._LoginUin
5690
+
5691
+ @LoginUin.setter
5692
+ def LoginUin(self, LoginUin):
5693
+ self._LoginUin = LoginUin
5694
+
5695
+ @property
5696
+ def LoginSubAccountUin(self):
5697
+ return self._LoginSubAccountUin
5698
+
5699
+ @LoginSubAccountUin.setter
5700
+ def LoginSubAccountUin(self, LoginSubAccountUin):
5701
+ self._LoginSubAccountUin = LoginSubAccountUin
5702
+
5703
+
5704
+ def _deserialize(self, params):
5705
+ self._StartTime = params.get("StartTime")
5706
+ self._EndTime = params.get("EndTime")
5707
+ self._AppBizId = params.get("AppBizId")
5708
+ self._Type = params.get("Type")
5709
+ self._LoginUin = params.get("LoginUin")
5710
+ self._LoginSubAccountUin = params.get("LoginSubAccountUin")
5711
+ memeber_set = set(params.keys())
5712
+ for name, value in vars(self).items():
5713
+ property_name = name[1:]
5714
+ if property_name in memeber_set:
5715
+ memeber_set.remove(property_name)
5716
+ if len(memeber_set) > 0:
5717
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5718
+
5719
+
5720
+
5721
+ class GetAnswerTypeDataCountResponse(AbstractModel):
5722
+ """GetAnswerTypeDataCount返回参数结构体
5723
+
5724
+ """
5725
+
5726
+ def __init__(self):
5727
+ r"""
5728
+ :param _Total: 总消息数
5729
+ :type Total: int
5730
+ :param _ModelReplyCount: 大模型直接回复总数
5731
+ :type ModelReplyCount: int
5732
+ :param _KnowledgeCount: 知识型回复总数
5733
+ :type KnowledgeCount: int
5734
+ :param _TaskFlowCount: 任务流回复总数
5735
+ :type TaskFlowCount: int
5736
+ :param _SearchEngineCount: 搜索引擎回复总数
5737
+ :type SearchEngineCount: int
5738
+ :param _ImageUnderstandingCount: 图片理解回复总数
5739
+ :type ImageUnderstandingCount: int
5740
+ :param _RejectCount: 拒答回复总数
5741
+ :type RejectCount: int
5742
+ :param _SensitiveCount: 敏感回复总数
5743
+ :type SensitiveCount: int
5744
+ :param _ConcurrentLimitCount: 并发超限回复总数
5745
+ :type ConcurrentLimitCount: int
5746
+ :param _UnknownIssuesCount: 未知问题回复总数
5747
+ :type UnknownIssuesCount: int
5748
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5749
+ :type RequestId: str
5750
+ """
5751
+ self._Total = None
5752
+ self._ModelReplyCount = None
5753
+ self._KnowledgeCount = None
5754
+ self._TaskFlowCount = None
5755
+ self._SearchEngineCount = None
5756
+ self._ImageUnderstandingCount = None
5757
+ self._RejectCount = None
5758
+ self._SensitiveCount = None
5759
+ self._ConcurrentLimitCount = None
5760
+ self._UnknownIssuesCount = None
5761
+ self._RequestId = None
5762
+
5763
+ @property
5764
+ def Total(self):
5765
+ return self._Total
5766
+
5767
+ @Total.setter
5768
+ def Total(self, Total):
5769
+ self._Total = Total
5770
+
5771
+ @property
5772
+ def ModelReplyCount(self):
5773
+ return self._ModelReplyCount
5774
+
5775
+ @ModelReplyCount.setter
5776
+ def ModelReplyCount(self, ModelReplyCount):
5777
+ self._ModelReplyCount = ModelReplyCount
5778
+
5779
+ @property
5780
+ def KnowledgeCount(self):
5781
+ return self._KnowledgeCount
5782
+
5783
+ @KnowledgeCount.setter
5784
+ def KnowledgeCount(self, KnowledgeCount):
5785
+ self._KnowledgeCount = KnowledgeCount
5786
+
5787
+ @property
5788
+ def TaskFlowCount(self):
5789
+ return self._TaskFlowCount
5790
+
5791
+ @TaskFlowCount.setter
5792
+ def TaskFlowCount(self, TaskFlowCount):
5793
+ self._TaskFlowCount = TaskFlowCount
5794
+
5795
+ @property
5796
+ def SearchEngineCount(self):
5797
+ return self._SearchEngineCount
5798
+
5799
+ @SearchEngineCount.setter
5800
+ def SearchEngineCount(self, SearchEngineCount):
5801
+ self._SearchEngineCount = SearchEngineCount
5802
+
5803
+ @property
5804
+ def ImageUnderstandingCount(self):
5805
+ return self._ImageUnderstandingCount
5806
+
5807
+ @ImageUnderstandingCount.setter
5808
+ def ImageUnderstandingCount(self, ImageUnderstandingCount):
5809
+ self._ImageUnderstandingCount = ImageUnderstandingCount
5810
+
5811
+ @property
5812
+ def RejectCount(self):
5813
+ return self._RejectCount
5814
+
5815
+ @RejectCount.setter
5816
+ def RejectCount(self, RejectCount):
5817
+ self._RejectCount = RejectCount
5818
+
5819
+ @property
5820
+ def SensitiveCount(self):
5821
+ return self._SensitiveCount
5822
+
5823
+ @SensitiveCount.setter
5824
+ def SensitiveCount(self, SensitiveCount):
5825
+ self._SensitiveCount = SensitiveCount
5826
+
5827
+ @property
5828
+ def ConcurrentLimitCount(self):
5829
+ return self._ConcurrentLimitCount
5830
+
5831
+ @ConcurrentLimitCount.setter
5832
+ def ConcurrentLimitCount(self, ConcurrentLimitCount):
5833
+ self._ConcurrentLimitCount = ConcurrentLimitCount
5834
+
5835
+ @property
5836
+ def UnknownIssuesCount(self):
5837
+ return self._UnknownIssuesCount
5838
+
5839
+ @UnknownIssuesCount.setter
5840
+ def UnknownIssuesCount(self, UnknownIssuesCount):
5841
+ self._UnknownIssuesCount = UnknownIssuesCount
5842
+
5843
+ @property
5844
+ def RequestId(self):
5845
+ return self._RequestId
5846
+
5847
+ @RequestId.setter
5848
+ def RequestId(self, RequestId):
5849
+ self._RequestId = RequestId
5850
+
5851
+
5852
+ def _deserialize(self, params):
5853
+ self._Total = params.get("Total")
5854
+ self._ModelReplyCount = params.get("ModelReplyCount")
5855
+ self._KnowledgeCount = params.get("KnowledgeCount")
5856
+ self._TaskFlowCount = params.get("TaskFlowCount")
5857
+ self._SearchEngineCount = params.get("SearchEngineCount")
5858
+ self._ImageUnderstandingCount = params.get("ImageUnderstandingCount")
5859
+ self._RejectCount = params.get("RejectCount")
5860
+ self._SensitiveCount = params.get("SensitiveCount")
5861
+ self._ConcurrentLimitCount = params.get("ConcurrentLimitCount")
5862
+ self._UnknownIssuesCount = params.get("UnknownIssuesCount")
5863
+ self._RequestId = params.get("RequestId")
5864
+
5865
+
5515
5866
  class GetAppKnowledgeCountRequest(AbstractModel):
5516
5867
  """GetAppKnowledgeCount请求参数结构体
5517
5868
 
@@ -5984,6 +6335,208 @@ class GetEmbeddingResponse(AbstractModel):
5984
6335
  self._RequestId = params.get("RequestId")
5985
6336
 
5986
6337
 
6338
+ class GetLikeDataCountRequest(AbstractModel):
6339
+ """GetLikeDataCount请求参数结构体
6340
+
6341
+ """
6342
+
6343
+ def __init__(self):
6344
+ r"""
6345
+ :param _StartTime: 开始日期
6346
+ :type StartTime: int
6347
+ :param _EndTime: 结束日期
6348
+ :type EndTime: int
6349
+ :param _AppBizId: 应用id
6350
+ :type AppBizId: list of str
6351
+ :param _Type: 消息来源(1、分享用户端 2、对话API)
6352
+ :type Type: int
6353
+ :param _LoginUin: 登录用户主账号(集成商模式必填)
6354
+ :type LoginUin: str
6355
+ :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
6356
+ :type LoginSubAccountUin: str
6357
+ """
6358
+ self._StartTime = None
6359
+ self._EndTime = None
6360
+ self._AppBizId = None
6361
+ self._Type = None
6362
+ self._LoginUin = None
6363
+ self._LoginSubAccountUin = None
6364
+
6365
+ @property
6366
+ def StartTime(self):
6367
+ return self._StartTime
6368
+
6369
+ @StartTime.setter
6370
+ def StartTime(self, StartTime):
6371
+ self._StartTime = StartTime
6372
+
6373
+ @property
6374
+ def EndTime(self):
6375
+ return self._EndTime
6376
+
6377
+ @EndTime.setter
6378
+ def EndTime(self, EndTime):
6379
+ self._EndTime = EndTime
6380
+
6381
+ @property
6382
+ def AppBizId(self):
6383
+ return self._AppBizId
6384
+
6385
+ @AppBizId.setter
6386
+ def AppBizId(self, AppBizId):
6387
+ self._AppBizId = AppBizId
6388
+
6389
+ @property
6390
+ def Type(self):
6391
+ return self._Type
6392
+
6393
+ @Type.setter
6394
+ def Type(self, Type):
6395
+ self._Type = Type
6396
+
6397
+ @property
6398
+ def LoginUin(self):
6399
+ return self._LoginUin
6400
+
6401
+ @LoginUin.setter
6402
+ def LoginUin(self, LoginUin):
6403
+ self._LoginUin = LoginUin
6404
+
6405
+ @property
6406
+ def LoginSubAccountUin(self):
6407
+ return self._LoginSubAccountUin
6408
+
6409
+ @LoginSubAccountUin.setter
6410
+ def LoginSubAccountUin(self, LoginSubAccountUin):
6411
+ self._LoginSubAccountUin = LoginSubAccountUin
6412
+
6413
+
6414
+ def _deserialize(self, params):
6415
+ self._StartTime = params.get("StartTime")
6416
+ self._EndTime = params.get("EndTime")
6417
+ self._AppBizId = params.get("AppBizId")
6418
+ self._Type = params.get("Type")
6419
+ self._LoginUin = params.get("LoginUin")
6420
+ self._LoginSubAccountUin = params.get("LoginSubAccountUin")
6421
+ memeber_set = set(params.keys())
6422
+ for name, value in vars(self).items():
6423
+ property_name = name[1:]
6424
+ if property_name in memeber_set:
6425
+ memeber_set.remove(property_name)
6426
+ if len(memeber_set) > 0:
6427
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6428
+
6429
+
6430
+
6431
+ class GetLikeDataCountResponse(AbstractModel):
6432
+ """GetLikeDataCount返回参数结构体
6433
+
6434
+ """
6435
+
6436
+ def __init__(self):
6437
+ r"""
6438
+ :param _Total: 可评价消息数
6439
+ :type Total: int
6440
+ :param _AppraisalTotal: 评价数
6441
+ :type AppraisalTotal: int
6442
+ :param _ParticipationRate: 参评率
6443
+ :type ParticipationRate: float
6444
+ :param _LikeTotal: 点赞数
6445
+ :type LikeTotal: int
6446
+ :param _LikeRate: 点赞率
6447
+ :type LikeRate: float
6448
+ :param _DislikeTotal: 点踩数
6449
+ :type DislikeTotal: int
6450
+ :param _DislikeRate: 点踩率
6451
+ :type DislikeRate: float
6452
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6453
+ :type RequestId: str
6454
+ """
6455
+ self._Total = None
6456
+ self._AppraisalTotal = None
6457
+ self._ParticipationRate = None
6458
+ self._LikeTotal = None
6459
+ self._LikeRate = None
6460
+ self._DislikeTotal = None
6461
+ self._DislikeRate = None
6462
+ self._RequestId = None
6463
+
6464
+ @property
6465
+ def Total(self):
6466
+ return self._Total
6467
+
6468
+ @Total.setter
6469
+ def Total(self, Total):
6470
+ self._Total = Total
6471
+
6472
+ @property
6473
+ def AppraisalTotal(self):
6474
+ return self._AppraisalTotal
6475
+
6476
+ @AppraisalTotal.setter
6477
+ def AppraisalTotal(self, AppraisalTotal):
6478
+ self._AppraisalTotal = AppraisalTotal
6479
+
6480
+ @property
6481
+ def ParticipationRate(self):
6482
+ return self._ParticipationRate
6483
+
6484
+ @ParticipationRate.setter
6485
+ def ParticipationRate(self, ParticipationRate):
6486
+ self._ParticipationRate = ParticipationRate
6487
+
6488
+ @property
6489
+ def LikeTotal(self):
6490
+ return self._LikeTotal
6491
+
6492
+ @LikeTotal.setter
6493
+ def LikeTotal(self, LikeTotal):
6494
+ self._LikeTotal = LikeTotal
6495
+
6496
+ @property
6497
+ def LikeRate(self):
6498
+ return self._LikeRate
6499
+
6500
+ @LikeRate.setter
6501
+ def LikeRate(self, LikeRate):
6502
+ self._LikeRate = LikeRate
6503
+
6504
+ @property
6505
+ def DislikeTotal(self):
6506
+ return self._DislikeTotal
6507
+
6508
+ @DislikeTotal.setter
6509
+ def DislikeTotal(self, DislikeTotal):
6510
+ self._DislikeTotal = DislikeTotal
6511
+
6512
+ @property
6513
+ def DislikeRate(self):
6514
+ return self._DislikeRate
6515
+
6516
+ @DislikeRate.setter
6517
+ def DislikeRate(self, DislikeRate):
6518
+ self._DislikeRate = DislikeRate
6519
+
6520
+ @property
6521
+ def RequestId(self):
6522
+ return self._RequestId
6523
+
6524
+ @RequestId.setter
6525
+ def RequestId(self, RequestId):
6526
+ self._RequestId = RequestId
6527
+
6528
+
6529
+ def _deserialize(self, params):
6530
+ self._Total = params.get("Total")
6531
+ self._AppraisalTotal = params.get("AppraisalTotal")
6532
+ self._ParticipationRate = params.get("ParticipationRate")
6533
+ self._LikeTotal = params.get("LikeTotal")
6534
+ self._LikeRate = params.get("LikeRate")
6535
+ self._DislikeTotal = params.get("DislikeTotal")
6536
+ self._DislikeRate = params.get("DislikeRate")
6537
+ self._RequestId = params.get("RequestId")
6538
+
6539
+
5987
6540
  class GetMsgRecordRequest(AbstractModel):
5988
6541
  """GetMsgRecord请求参数结构体
5989
6542
 
@@ -12858,9 +13411,9 @@ class ReconstructDocumentRequest(AbstractModel):
12858
13411
  :type FileBase64: str
12859
13412
  :param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
12860
13413
  :type FileUrl: str
12861
- :param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。
13414
+ :param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
12862
13415
  :type FileStartPageNumber: int
12863
- :param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。单次调用,最多支持10pdf的文档解析。
13416
+ :param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。
12864
13417
  :type FileEndPageNumber: int
12865
13418
  :param _Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
12866
13419
  :type Config: :class:`tencentcloud.lke.v20231130.models.ReconstructDocumentConfig`
@@ -15217,4 +15770,51 @@ class VerifyQAResponse(AbstractModel):
15217
15770
 
15218
15771
 
15219
15772
  def _deserialize(self, params):
15220
- self._RequestId = params.get("RequestId")
15773
+ self._RequestId = params.get("RequestId")
15774
+
15775
+
15776
+ class WordRecognizeInfo(AbstractModel):
15777
+ """解析为 word 文档的结果
15778
+
15779
+ """
15780
+
15781
+ def __init__(self):
15782
+ r"""
15783
+ :param _PageNumber: 输入文件的页码数
15784
+ 注意:此字段可能返回 null,表示取不到有效值。
15785
+ :type PageNumber: int
15786
+ :param _WordBase64: word的base64
15787
+ 注意:此字段可能返回 null,表示取不到有效值。
15788
+ :type WordBase64: str
15789
+ """
15790
+ self._PageNumber = None
15791
+ self._WordBase64 = None
15792
+
15793
+ @property
15794
+ def PageNumber(self):
15795
+ return self._PageNumber
15796
+
15797
+ @PageNumber.setter
15798
+ def PageNumber(self, PageNumber):
15799
+ self._PageNumber = PageNumber
15800
+
15801
+ @property
15802
+ def WordBase64(self):
15803
+ return self._WordBase64
15804
+
15805
+ @WordBase64.setter
15806
+ def WordBase64(self, WordBase64):
15807
+ self._WordBase64 = WordBase64
15808
+
15809
+
15810
+ def _deserialize(self, params):
15811
+ self._PageNumber = params.get("PageNumber")
15812
+ self._WordBase64 = params.get("WordBase64")
15813
+ memeber_set = set(params.keys())
15814
+ for name, value in vars(self).items():
15815
+ property_name = name[1:]
15816
+ if property_name in memeber_set:
15817
+ memeber_set.remove(property_name)
15818
+ if len(memeber_set) > 0:
15819
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15820
+
@@ -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