tencentcloud-sdk-python 3.0.1330__py2.py3-none-any.whl → 3.0.1331__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/ams/v20201229/models.py +50 -14
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +30 -0
- tencentcloud/ess/v20201111/models.py +259 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +30 -0
- tencentcloud/essbasic/v20210526/models.py +242 -0
- tencentcloud/ims/v20201229/models.py +157 -0
- tencentcloud/live/v20180801/models.py +0 -76
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -1
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/tione/v20211111/tione_client.py +3 -1
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/wedata/v20210820/models.py +19 -4
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/top_level.txt +0 -0
@@ -15278,6 +15278,146 @@ class CreateFlowBlockchainEvidenceUrlResponse(AbstractModel):
|
|
15278
15278
|
self._RequestId = params.get("RequestId")
|
15279
15279
|
|
15280
15280
|
|
15281
|
+
class CreateFlowForwardsRequest(AbstractModel):
|
15282
|
+
"""CreateFlowForwards请求参数结构体
|
15283
|
+
|
15284
|
+
"""
|
15285
|
+
|
15286
|
+
def __init__(self):
|
15287
|
+
r"""
|
15288
|
+
:param _TargetOpenId: 合同对应参与方需要修改的目标经办人对应的OpenId。
|
15289
|
+
|
15290
|
+
注意:`需要保证目标经办人已经加入企业且已实名`
|
15291
|
+
:type TargetOpenId: str
|
15292
|
+
:param _FlowForwardInfos: 企业签署方的合同及对应签署方
|
15293
|
+
:type FlowForwardInfos: list of FlowForwardInfo
|
15294
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。<ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证
|
15295
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
15296
|
+
"""
|
15297
|
+
self._TargetOpenId = None
|
15298
|
+
self._FlowForwardInfos = None
|
15299
|
+
self._Agent = None
|
15300
|
+
|
15301
|
+
@property
|
15302
|
+
def TargetOpenId(self):
|
15303
|
+
"""合同对应参与方需要修改的目标经办人对应的OpenId。
|
15304
|
+
|
15305
|
+
注意:`需要保证目标经办人已经加入企业且已实名`
|
15306
|
+
:rtype: str
|
15307
|
+
"""
|
15308
|
+
return self._TargetOpenId
|
15309
|
+
|
15310
|
+
@TargetOpenId.setter
|
15311
|
+
def TargetOpenId(self, TargetOpenId):
|
15312
|
+
self._TargetOpenId = TargetOpenId
|
15313
|
+
|
15314
|
+
@property
|
15315
|
+
def FlowForwardInfos(self):
|
15316
|
+
"""企业签署方的合同及对应签署方
|
15317
|
+
:rtype: list of FlowForwardInfo
|
15318
|
+
"""
|
15319
|
+
return self._FlowForwardInfos
|
15320
|
+
|
15321
|
+
@FlowForwardInfos.setter
|
15322
|
+
def FlowForwardInfos(self, FlowForwardInfos):
|
15323
|
+
self._FlowForwardInfos = FlowForwardInfos
|
15324
|
+
|
15325
|
+
@property
|
15326
|
+
def Agent(self):
|
15327
|
+
"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。<ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证
|
15328
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
15329
|
+
"""
|
15330
|
+
return self._Agent
|
15331
|
+
|
15332
|
+
@Agent.setter
|
15333
|
+
def Agent(self, Agent):
|
15334
|
+
self._Agent = Agent
|
15335
|
+
|
15336
|
+
|
15337
|
+
def _deserialize(self, params):
|
15338
|
+
self._TargetOpenId = params.get("TargetOpenId")
|
15339
|
+
if params.get("FlowForwardInfos") is not None:
|
15340
|
+
self._FlowForwardInfos = []
|
15341
|
+
for item in params.get("FlowForwardInfos"):
|
15342
|
+
obj = FlowForwardInfo()
|
15343
|
+
obj._deserialize(item)
|
15344
|
+
self._FlowForwardInfos.append(obj)
|
15345
|
+
if params.get("Agent") is not None:
|
15346
|
+
self._Agent = Agent()
|
15347
|
+
self._Agent._deserialize(params.get("Agent"))
|
15348
|
+
memeber_set = set(params.keys())
|
15349
|
+
for name, value in vars(self).items():
|
15350
|
+
property_name = name[1:]
|
15351
|
+
if property_name in memeber_set:
|
15352
|
+
memeber_set.remove(property_name)
|
15353
|
+
if len(memeber_set) > 0:
|
15354
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15355
|
+
|
15356
|
+
|
15357
|
+
|
15358
|
+
class CreateFlowForwardsResponse(AbstractModel):
|
15359
|
+
"""CreateFlowForwards返回参数结构体
|
15360
|
+
|
15361
|
+
"""
|
15362
|
+
|
15363
|
+
def __init__(self):
|
15364
|
+
r"""
|
15365
|
+
:param _FailedFlows: 失败的合同id以及错误详情
|
15366
|
+
:type FailedFlows: list of FlowForwardResult
|
15367
|
+
:param _SuccessFlows: 成功的合同id
|
15368
|
+
:type SuccessFlows: list of str
|
15369
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15370
|
+
:type RequestId: str
|
15371
|
+
"""
|
15372
|
+
self._FailedFlows = None
|
15373
|
+
self._SuccessFlows = None
|
15374
|
+
self._RequestId = None
|
15375
|
+
|
15376
|
+
@property
|
15377
|
+
def FailedFlows(self):
|
15378
|
+
"""失败的合同id以及错误详情
|
15379
|
+
:rtype: list of FlowForwardResult
|
15380
|
+
"""
|
15381
|
+
return self._FailedFlows
|
15382
|
+
|
15383
|
+
@FailedFlows.setter
|
15384
|
+
def FailedFlows(self, FailedFlows):
|
15385
|
+
self._FailedFlows = FailedFlows
|
15386
|
+
|
15387
|
+
@property
|
15388
|
+
def SuccessFlows(self):
|
15389
|
+
"""成功的合同id
|
15390
|
+
:rtype: list of str
|
15391
|
+
"""
|
15392
|
+
return self._SuccessFlows
|
15393
|
+
|
15394
|
+
@SuccessFlows.setter
|
15395
|
+
def SuccessFlows(self, SuccessFlows):
|
15396
|
+
self._SuccessFlows = SuccessFlows
|
15397
|
+
|
15398
|
+
@property
|
15399
|
+
def RequestId(self):
|
15400
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15401
|
+
:rtype: str
|
15402
|
+
"""
|
15403
|
+
return self._RequestId
|
15404
|
+
|
15405
|
+
@RequestId.setter
|
15406
|
+
def RequestId(self, RequestId):
|
15407
|
+
self._RequestId = RequestId
|
15408
|
+
|
15409
|
+
|
15410
|
+
def _deserialize(self, params):
|
15411
|
+
if params.get("FailedFlows") is not None:
|
15412
|
+
self._FailedFlows = []
|
15413
|
+
for item in params.get("FailedFlows"):
|
15414
|
+
obj = FlowForwardResult()
|
15415
|
+
obj._deserialize(item)
|
15416
|
+
self._FailedFlows.append(obj)
|
15417
|
+
self._SuccessFlows = params.get("SuccessFlows")
|
15418
|
+
self._RequestId = params.get("RequestId")
|
15419
|
+
|
15420
|
+
|
15281
15421
|
class CreateFlowGroupSignReviewRequest(AbstractModel):
|
15282
15422
|
"""CreateFlowGroupSignReview请求参数结构体
|
15283
15423
|
|
@@ -22438,6 +22578,108 @@ class FlowFileInfo(AbstractModel):
|
|
22438
22578
|
|
22439
22579
|
|
22440
22580
|
|
22581
|
+
class FlowForwardInfo(AbstractModel):
|
22582
|
+
"""合同转交相关信息
|
22583
|
+
|
22584
|
+
"""
|
22585
|
+
|
22586
|
+
def __init__(self):
|
22587
|
+
r"""
|
22588
|
+
:param _FlowId: 合同流程ID,为32位字符串。此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
|
22589
|
+
:type FlowId: str
|
22590
|
+
:param _RecipientId: 签署方经办人在合同中的参与方ID,为32位字符串。
|
22591
|
+
:type RecipientId: str
|
22592
|
+
"""
|
22593
|
+
self._FlowId = None
|
22594
|
+
self._RecipientId = None
|
22595
|
+
|
22596
|
+
@property
|
22597
|
+
def FlowId(self):
|
22598
|
+
"""合同流程ID,为32位字符串。此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
|
22599
|
+
:rtype: str
|
22600
|
+
"""
|
22601
|
+
return self._FlowId
|
22602
|
+
|
22603
|
+
@FlowId.setter
|
22604
|
+
def FlowId(self, FlowId):
|
22605
|
+
self._FlowId = FlowId
|
22606
|
+
|
22607
|
+
@property
|
22608
|
+
def RecipientId(self):
|
22609
|
+
"""签署方经办人在合同中的参与方ID,为32位字符串。
|
22610
|
+
:rtype: str
|
22611
|
+
"""
|
22612
|
+
return self._RecipientId
|
22613
|
+
|
22614
|
+
@RecipientId.setter
|
22615
|
+
def RecipientId(self, RecipientId):
|
22616
|
+
self._RecipientId = RecipientId
|
22617
|
+
|
22618
|
+
|
22619
|
+
def _deserialize(self, params):
|
22620
|
+
self._FlowId = params.get("FlowId")
|
22621
|
+
self._RecipientId = params.get("RecipientId")
|
22622
|
+
memeber_set = set(params.keys())
|
22623
|
+
for name, value in vars(self).items():
|
22624
|
+
property_name = name[1:]
|
22625
|
+
if property_name in memeber_set:
|
22626
|
+
memeber_set.remove(property_name)
|
22627
|
+
if len(memeber_set) > 0:
|
22628
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22629
|
+
|
22630
|
+
|
22631
|
+
|
22632
|
+
class FlowForwardResult(AbstractModel):
|
22633
|
+
"""转交合同结果
|
22634
|
+
|
22635
|
+
"""
|
22636
|
+
|
22637
|
+
def __init__(self):
|
22638
|
+
r"""
|
22639
|
+
:param _FlowId: 合同流程ID为32位字符串。您可以登录腾讯电子签控制台,在 "合同" -> "合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)。
|
22640
|
+
:type FlowId: str
|
22641
|
+
:param _ErrorDetail: 如果失败,返回的错误细节。
|
22642
|
+
:type ErrorDetail: str
|
22643
|
+
"""
|
22644
|
+
self._FlowId = None
|
22645
|
+
self._ErrorDetail = None
|
22646
|
+
|
22647
|
+
@property
|
22648
|
+
def FlowId(self):
|
22649
|
+
"""合同流程ID为32位字符串。您可以登录腾讯电子签控制台,在 "合同" -> "合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)。
|
22650
|
+
:rtype: str
|
22651
|
+
"""
|
22652
|
+
return self._FlowId
|
22653
|
+
|
22654
|
+
@FlowId.setter
|
22655
|
+
def FlowId(self, FlowId):
|
22656
|
+
self._FlowId = FlowId
|
22657
|
+
|
22658
|
+
@property
|
22659
|
+
def ErrorDetail(self):
|
22660
|
+
"""如果失败,返回的错误细节。
|
22661
|
+
:rtype: str
|
22662
|
+
"""
|
22663
|
+
return self._ErrorDetail
|
22664
|
+
|
22665
|
+
@ErrorDetail.setter
|
22666
|
+
def ErrorDetail(self, ErrorDetail):
|
22667
|
+
self._ErrorDetail = ErrorDetail
|
22668
|
+
|
22669
|
+
|
22670
|
+
def _deserialize(self, params):
|
22671
|
+
self._FlowId = params.get("FlowId")
|
22672
|
+
self._ErrorDetail = params.get("ErrorDetail")
|
22673
|
+
memeber_set = set(params.keys())
|
22674
|
+
for name, value in vars(self).items():
|
22675
|
+
property_name = name[1:]
|
22676
|
+
if property_name in memeber_set:
|
22677
|
+
memeber_set.remove(property_name)
|
22678
|
+
if len(memeber_set) > 0:
|
22679
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22680
|
+
|
22681
|
+
|
22682
|
+
|
22441
22683
|
class FlowGroupApproverInfo(AbstractModel):
|
22442
22684
|
"""合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
22443
22685
|
|
@@ -1572,6 +1572,92 @@ class ObjectResult(AbstractModel):
|
|
1572
1572
|
|
1573
1573
|
|
1574
1574
|
|
1575
|
+
class OcrHitInfo(AbstractModel):
|
1576
|
+
"""ocr关键词命中位置信息
|
1577
|
+
|
1578
|
+
"""
|
1579
|
+
|
1580
|
+
def __init__(self):
|
1581
|
+
r"""
|
1582
|
+
:param _Type: 标识模型命中还是关键词命中
|
1583
|
+
:type Type: str
|
1584
|
+
:param _Keyword: 命中关键词
|
1585
|
+
:type Keyword: str
|
1586
|
+
:param _LibName: 自定义词库名称
|
1587
|
+
:type LibName: str
|
1588
|
+
:param _Positions: 位置信息
|
1589
|
+
:type Positions: list of Positions
|
1590
|
+
"""
|
1591
|
+
self._Type = None
|
1592
|
+
self._Keyword = None
|
1593
|
+
self._LibName = None
|
1594
|
+
self._Positions = None
|
1595
|
+
|
1596
|
+
@property
|
1597
|
+
def Type(self):
|
1598
|
+
"""标识模型命中还是关键词命中
|
1599
|
+
:rtype: str
|
1600
|
+
"""
|
1601
|
+
return self._Type
|
1602
|
+
|
1603
|
+
@Type.setter
|
1604
|
+
def Type(self, Type):
|
1605
|
+
self._Type = Type
|
1606
|
+
|
1607
|
+
@property
|
1608
|
+
def Keyword(self):
|
1609
|
+
"""命中关键词
|
1610
|
+
:rtype: str
|
1611
|
+
"""
|
1612
|
+
return self._Keyword
|
1613
|
+
|
1614
|
+
@Keyword.setter
|
1615
|
+
def Keyword(self, Keyword):
|
1616
|
+
self._Keyword = Keyword
|
1617
|
+
|
1618
|
+
@property
|
1619
|
+
def LibName(self):
|
1620
|
+
"""自定义词库名称
|
1621
|
+
:rtype: str
|
1622
|
+
"""
|
1623
|
+
return self._LibName
|
1624
|
+
|
1625
|
+
@LibName.setter
|
1626
|
+
def LibName(self, LibName):
|
1627
|
+
self._LibName = LibName
|
1628
|
+
|
1629
|
+
@property
|
1630
|
+
def Positions(self):
|
1631
|
+
"""位置信息
|
1632
|
+
:rtype: list of Positions
|
1633
|
+
"""
|
1634
|
+
return self._Positions
|
1635
|
+
|
1636
|
+
@Positions.setter
|
1637
|
+
def Positions(self, Positions):
|
1638
|
+
self._Positions = Positions
|
1639
|
+
|
1640
|
+
|
1641
|
+
def _deserialize(self, params):
|
1642
|
+
self._Type = params.get("Type")
|
1643
|
+
self._Keyword = params.get("Keyword")
|
1644
|
+
self._LibName = params.get("LibName")
|
1645
|
+
if params.get("Positions") is not None:
|
1646
|
+
self._Positions = []
|
1647
|
+
for item in params.get("Positions"):
|
1648
|
+
obj = Positions()
|
1649
|
+
obj._deserialize(item)
|
1650
|
+
self._Positions.append(obj)
|
1651
|
+
memeber_set = set(params.keys())
|
1652
|
+
for name, value in vars(self).items():
|
1653
|
+
property_name = name[1:]
|
1654
|
+
if property_name in memeber_set:
|
1655
|
+
memeber_set.remove(property_name)
|
1656
|
+
if len(memeber_set) > 0:
|
1657
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1658
|
+
|
1659
|
+
|
1660
|
+
|
1575
1661
|
class OcrResult(AbstractModel):
|
1576
1662
|
"""用于返回OCR结果检测详情
|
1577
1663
|
|
@@ -1730,6 +1816,8 @@ class OcrTextDetail(AbstractModel):
|
|
1730
1816
|
:type Rate: int
|
1731
1817
|
:param _SubLabel: 该字段用于返回检测结果所对应的恶意二级标签。
|
1732
1818
|
:type SubLabel: str
|
1819
|
+
:param _HitInfos: 关键词命中位置信息
|
1820
|
+
:type HitInfos: list of OcrHitInfo
|
1733
1821
|
"""
|
1734
1822
|
self._Text = None
|
1735
1823
|
self._Label = None
|
@@ -1740,6 +1828,7 @@ class OcrTextDetail(AbstractModel):
|
|
1740
1828
|
self._Location = None
|
1741
1829
|
self._Rate = None
|
1742
1830
|
self._SubLabel = None
|
1831
|
+
self._HitInfos = None
|
1743
1832
|
|
1744
1833
|
@property
|
1745
1834
|
def Text(self):
|
@@ -1840,6 +1929,17 @@ class OcrTextDetail(AbstractModel):
|
|
1840
1929
|
def SubLabel(self, SubLabel):
|
1841
1930
|
self._SubLabel = SubLabel
|
1842
1931
|
|
1932
|
+
@property
|
1933
|
+
def HitInfos(self):
|
1934
|
+
"""关键词命中位置信息
|
1935
|
+
:rtype: list of OcrHitInfo
|
1936
|
+
"""
|
1937
|
+
return self._HitInfos
|
1938
|
+
|
1939
|
+
@HitInfos.setter
|
1940
|
+
def HitInfos(self, HitInfos):
|
1941
|
+
self._HitInfos = HitInfos
|
1942
|
+
|
1843
1943
|
|
1844
1944
|
def _deserialize(self, params):
|
1845
1945
|
self._Text = params.get("Text")
|
@@ -1853,6 +1953,63 @@ class OcrTextDetail(AbstractModel):
|
|
1853
1953
|
self._Location._deserialize(params.get("Location"))
|
1854
1954
|
self._Rate = params.get("Rate")
|
1855
1955
|
self._SubLabel = params.get("SubLabel")
|
1956
|
+
if params.get("HitInfos") is not None:
|
1957
|
+
self._HitInfos = []
|
1958
|
+
for item in params.get("HitInfos"):
|
1959
|
+
obj = OcrHitInfo()
|
1960
|
+
obj._deserialize(item)
|
1961
|
+
self._HitInfos.append(obj)
|
1962
|
+
memeber_set = set(params.keys())
|
1963
|
+
for name, value in vars(self).items():
|
1964
|
+
property_name = name[1:]
|
1965
|
+
if property_name in memeber_set:
|
1966
|
+
memeber_set.remove(property_name)
|
1967
|
+
if len(memeber_set) > 0:
|
1968
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1969
|
+
|
1970
|
+
|
1971
|
+
|
1972
|
+
class Positions(AbstractModel):
|
1973
|
+
"""标识命中的违规关键词位置信息
|
1974
|
+
|
1975
|
+
"""
|
1976
|
+
|
1977
|
+
def __init__(self):
|
1978
|
+
r"""
|
1979
|
+
:param _Start: 关键词起始位置
|
1980
|
+
:type Start: int
|
1981
|
+
:param _End: 关键词结束位置
|
1982
|
+
:type End: int
|
1983
|
+
"""
|
1984
|
+
self._Start = None
|
1985
|
+
self._End = None
|
1986
|
+
|
1987
|
+
@property
|
1988
|
+
def Start(self):
|
1989
|
+
"""关键词起始位置
|
1990
|
+
:rtype: int
|
1991
|
+
"""
|
1992
|
+
return self._Start
|
1993
|
+
|
1994
|
+
@Start.setter
|
1995
|
+
def Start(self, Start):
|
1996
|
+
self._Start = Start
|
1997
|
+
|
1998
|
+
@property
|
1999
|
+
def End(self):
|
2000
|
+
"""关键词结束位置
|
2001
|
+
:rtype: int
|
2002
|
+
"""
|
2003
|
+
return self._End
|
2004
|
+
|
2005
|
+
@End.setter
|
2006
|
+
def End(self, End):
|
2007
|
+
self._End = End
|
2008
|
+
|
2009
|
+
|
2010
|
+
def _deserialize(self, params):
|
2011
|
+
self._Start = params.get("Start")
|
2012
|
+
self._End = params.get("End")
|
1856
2013
|
memeber_set = set(params.keys())
|
1857
2014
|
for name, value in vars(self).items():
|
1858
2015
|
property_name = name[1:]
|