tencentcloud-sdk-python 3.0.1152__py2.py3-none-any.whl → 3.0.1154__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/cat/v20180409/cat_client.py +1 -0
- tencentcloud/cat/v20180409/models.py +1 -2
- tencentcloud/ckafka/v20190819/models.py +13 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +24 -1
- tencentcloud/dbbrain/v20210527/models.py +244 -2
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +184 -0
- tencentcloud/ess/v20201111/ess_client.py +59 -7
- tencentcloud/ess/v20201111/models.py +237 -2
- tencentcloud/essbasic/v20210526/models.py +19 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +94 -0
- tencentcloud/monitor/v20180724/models.py +36 -0
- tencentcloud/mps/v20190612/models.py +99 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +1023 -1
- tencentcloud/svp/v20240125/svp_client.py +69 -0
- tencentcloud/tdmq/v20200217/models.py +1 -5
- tencentcloud/tione/v20211111/errorcodes.py +0 -135
- tencentcloud/tione/v20211111/models.py +9645 -18244
- tencentcloud/tione/v20211111/tione_client.py +93 -967
- {tencentcloud_sdk_python-3.0.1152.dist-info → tencentcloud_sdk_python-3.0.1154.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1152.dist-info → tencentcloud_sdk_python-3.0.1154.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1152.dist-info → tencentcloud_sdk_python-3.0.1154.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1152.dist-info → tencentcloud_sdk_python-3.0.1154.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1152.dist-info → tencentcloud_sdk_python-3.0.1154.dist-info}/top_level.txt +0 -0
@@ -255,14 +255,13 @@ class EssClient(AbstractClient):
|
|
255
255
|
|
256
256
|
|
257
257
|
def CreateBatchSignUrl(self, request):
|
258
|
-
"""
|
259
|
-
请确保生成链接时候的身份信息和签署合同参与方的信息保持一致。
|
258
|
+
"""通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。
|
260
259
|
|
261
|
-
|
262
|
-
-
|
263
|
-
-
|
264
|
-
-
|
265
|
-
-
|
260
|
+
注意事项:
|
261
|
+
- 使用此接口生成链接,需要贵企业先开通 <font color="red">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。
|
262
|
+
- 生成批量签署链接时,<font color="red">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人人点击链接后需要输入短信验证码才能查看合同内容。
|
263
|
+
- 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color="red">该签署方企业必须已完成腾讯电子签企业认证</font>
|
264
|
+
- 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color="red">签名区仅支持手写签名</font>
|
266
265
|
|
267
266
|
:param request: Request instance for CreateBatchSignUrl.
|
268
267
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchSignUrlRequest`
|
@@ -936,6 +935,35 @@ class EssClient(AbstractClient):
|
|
936
935
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
937
936
|
|
938
937
|
|
938
|
+
def CreateIntegrationSubOrganizationActiveRecord(self, request):
|
939
|
+
"""通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行激活。
|
940
|
+
激活子企业时请保证子企业 lisence 充足。
|
941
|
+
这个操作与页面端激活成员企业操作类似
|
942
|
+

|
943
|
+
|
944
|
+
p.s.
|
945
|
+
此接口只能用于激活,不能用于续期。
|
946
|
+
|
947
|
+
:param request: Request instance for CreateIntegrationSubOrganizationActiveRecord.
|
948
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateIntegrationSubOrganizationActiveRecordRequest`
|
949
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateIntegrationSubOrganizationActiveRecordResponse`
|
950
|
+
|
951
|
+
"""
|
952
|
+
try:
|
953
|
+
params = request._serialize()
|
954
|
+
headers = request.headers
|
955
|
+
body = self.call("CreateIntegrationSubOrganizationActiveRecord", params, headers=headers)
|
956
|
+
response = json.loads(body)
|
957
|
+
model = models.CreateIntegrationSubOrganizationActiveRecordResponse()
|
958
|
+
model._deserialize(response["Response"])
|
959
|
+
return model
|
960
|
+
except Exception as e:
|
961
|
+
if isinstance(e, TencentCloudSDKException):
|
962
|
+
raise
|
963
|
+
else:
|
964
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
965
|
+
|
966
|
+
|
939
967
|
def CreateIntegrationUserRoles(self, request):
|
940
968
|
"""此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。
|
941
969
|
|
@@ -1051,6 +1079,30 @@ class EssClient(AbstractClient):
|
|
1051
1079
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1052
1080
|
|
1053
1081
|
|
1082
|
+
def CreateOrganizationGroupInvitationLink(self, request):
|
1083
|
+
"""生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。
|
1084
|
+
注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)
|
1085
|
+
|
1086
|
+
:param request: Request instance for CreateOrganizationGroupInvitationLink.
|
1087
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateOrganizationGroupInvitationLinkRequest`
|
1088
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateOrganizationGroupInvitationLinkResponse`
|
1089
|
+
|
1090
|
+
"""
|
1091
|
+
try:
|
1092
|
+
params = request._serialize()
|
1093
|
+
headers = request.headers
|
1094
|
+
body = self.call("CreateOrganizationGroupInvitationLink", params, headers=headers)
|
1095
|
+
response = json.loads(body)
|
1096
|
+
model = models.CreateOrganizationGroupInvitationLinkResponse()
|
1097
|
+
model._deserialize(response["Response"])
|
1098
|
+
return model
|
1099
|
+
except Exception as e:
|
1100
|
+
if isinstance(e, TencentCloudSDKException):
|
1101
|
+
raise
|
1102
|
+
else:
|
1103
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1104
|
+
|
1105
|
+
|
1054
1106
|
def CreateOrganizationInfoChangeUrl(self, request):
|
1055
1107
|
"""此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
1056
1108
|
|
@@ -6689,6 +6689,90 @@ class CreateIntegrationRoleResponse(AbstractModel):
|
|
6689
6689
|
self._RequestId = params.get("RequestId")
|
6690
6690
|
|
6691
6691
|
|
6692
|
+
class CreateIntegrationSubOrganizationActiveRecordRequest(AbstractModel):
|
6693
|
+
"""CreateIntegrationSubOrganizationActiveRecord请求参数结构体
|
6694
|
+
|
6695
|
+
"""
|
6696
|
+
|
6697
|
+
def __init__(self):
|
6698
|
+
r"""
|
6699
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
6700
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
6701
|
+
:param _SubOrganizationIds: 待激活成员企业ID集合
|
6702
|
+
:type SubOrganizationIds: list of str
|
6703
|
+
"""
|
6704
|
+
self._Operator = None
|
6705
|
+
self._SubOrganizationIds = None
|
6706
|
+
|
6707
|
+
@property
|
6708
|
+
def Operator(self):
|
6709
|
+
return self._Operator
|
6710
|
+
|
6711
|
+
@Operator.setter
|
6712
|
+
def Operator(self, Operator):
|
6713
|
+
self._Operator = Operator
|
6714
|
+
|
6715
|
+
@property
|
6716
|
+
def SubOrganizationIds(self):
|
6717
|
+
return self._SubOrganizationIds
|
6718
|
+
|
6719
|
+
@SubOrganizationIds.setter
|
6720
|
+
def SubOrganizationIds(self, SubOrganizationIds):
|
6721
|
+
self._SubOrganizationIds = SubOrganizationIds
|
6722
|
+
|
6723
|
+
|
6724
|
+
def _deserialize(self, params):
|
6725
|
+
if params.get("Operator") is not None:
|
6726
|
+
self._Operator = UserInfo()
|
6727
|
+
self._Operator._deserialize(params.get("Operator"))
|
6728
|
+
self._SubOrganizationIds = params.get("SubOrganizationIds")
|
6729
|
+
memeber_set = set(params.keys())
|
6730
|
+
for name, value in vars(self).items():
|
6731
|
+
property_name = name[1:]
|
6732
|
+
if property_name in memeber_set:
|
6733
|
+
memeber_set.remove(property_name)
|
6734
|
+
if len(memeber_set) > 0:
|
6735
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6736
|
+
|
6737
|
+
|
6738
|
+
|
6739
|
+
class CreateIntegrationSubOrganizationActiveRecordResponse(AbstractModel):
|
6740
|
+
"""CreateIntegrationSubOrganizationActiveRecord返回参数结构体
|
6741
|
+
|
6742
|
+
"""
|
6743
|
+
|
6744
|
+
def __init__(self):
|
6745
|
+
r"""
|
6746
|
+
:param _FailedSubOrganizationIds: 激活失败的成员企业ID集合
|
6747
|
+
:type FailedSubOrganizationIds: list of str
|
6748
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6749
|
+
:type RequestId: str
|
6750
|
+
"""
|
6751
|
+
self._FailedSubOrganizationIds = None
|
6752
|
+
self._RequestId = None
|
6753
|
+
|
6754
|
+
@property
|
6755
|
+
def FailedSubOrganizationIds(self):
|
6756
|
+
return self._FailedSubOrganizationIds
|
6757
|
+
|
6758
|
+
@FailedSubOrganizationIds.setter
|
6759
|
+
def FailedSubOrganizationIds(self, FailedSubOrganizationIds):
|
6760
|
+
self._FailedSubOrganizationIds = FailedSubOrganizationIds
|
6761
|
+
|
6762
|
+
@property
|
6763
|
+
def RequestId(self):
|
6764
|
+
return self._RequestId
|
6765
|
+
|
6766
|
+
@RequestId.setter
|
6767
|
+
def RequestId(self, RequestId):
|
6768
|
+
self._RequestId = RequestId
|
6769
|
+
|
6770
|
+
|
6771
|
+
def _deserialize(self, params):
|
6772
|
+
self._FailedSubOrganizationIds = params.get("FailedSubOrganizationIds")
|
6773
|
+
self._RequestId = params.get("RequestId")
|
6774
|
+
|
6775
|
+
|
6692
6776
|
class CreateIntegrationUserRolesRequest(AbstractModel):
|
6693
6777
|
"""CreateIntegrationUserRoles请求参数结构体
|
6694
6778
|
|
@@ -7569,6 +7653,137 @@ class CreateOrganizationBatchSignUrlResponse(AbstractModel):
|
|
7569
7653
|
self._RequestId = params.get("RequestId")
|
7570
7654
|
|
7571
7655
|
|
7656
|
+
class CreateOrganizationGroupInvitationLinkRequest(AbstractModel):
|
7657
|
+
"""CreateOrganizationGroupInvitationLink请求参数结构体
|
7658
|
+
|
7659
|
+
"""
|
7660
|
+
|
7661
|
+
def __init__(self):
|
7662
|
+
r"""
|
7663
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
7664
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
7665
|
+
:param _ExpireTime: 到期时间(以秒为单位的时间戳),其上限为30天的有效期限。
|
7666
|
+
:type ExpireTime: int
|
7667
|
+
"""
|
7668
|
+
self._Operator = None
|
7669
|
+
self._ExpireTime = None
|
7670
|
+
|
7671
|
+
@property
|
7672
|
+
def Operator(self):
|
7673
|
+
return self._Operator
|
7674
|
+
|
7675
|
+
@Operator.setter
|
7676
|
+
def Operator(self, Operator):
|
7677
|
+
self._Operator = Operator
|
7678
|
+
|
7679
|
+
@property
|
7680
|
+
def ExpireTime(self):
|
7681
|
+
return self._ExpireTime
|
7682
|
+
|
7683
|
+
@ExpireTime.setter
|
7684
|
+
def ExpireTime(self, ExpireTime):
|
7685
|
+
self._ExpireTime = ExpireTime
|
7686
|
+
|
7687
|
+
|
7688
|
+
def _deserialize(self, params):
|
7689
|
+
if params.get("Operator") is not None:
|
7690
|
+
self._Operator = UserInfo()
|
7691
|
+
self._Operator._deserialize(params.get("Operator"))
|
7692
|
+
self._ExpireTime = params.get("ExpireTime")
|
7693
|
+
memeber_set = set(params.keys())
|
7694
|
+
for name, value in vars(self).items():
|
7695
|
+
property_name = name[1:]
|
7696
|
+
if property_name in memeber_set:
|
7697
|
+
memeber_set.remove(property_name)
|
7698
|
+
if len(memeber_set) > 0:
|
7699
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7700
|
+
|
7701
|
+
|
7702
|
+
|
7703
|
+
class CreateOrganizationGroupInvitationLinkResponse(AbstractModel):
|
7704
|
+
"""CreateOrganizationGroupInvitationLink返回参数结构体
|
7705
|
+
|
7706
|
+
"""
|
7707
|
+
|
7708
|
+
def __init__(self):
|
7709
|
+
r"""
|
7710
|
+
:param _Link: 加入集团二维码链接,子企业的管理员可以直接扫码进入。
|
7711
|
+
注意:1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
|
7712
|
+
:type Link: str
|
7713
|
+
:param _ExpireTime: 到期时间(以秒为单位的时间戳)
|
7714
|
+
:type ExpireTime: int
|
7715
|
+
:param _JumpUrl: 加入集团短链接。
|
7716
|
+
注意:
|
7717
|
+
1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。
|
7718
|
+
2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。
|
7719
|
+
3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
|
7720
|
+
:type JumpUrl: str
|
7721
|
+
:param _MiniAppPath: 腾讯电子签小程序加入集团链接。
|
7722
|
+
|
7723
|
+
<li>小程序和APP集成使用</li>
|
7724
|
+
<li>得到的链接类似于`pages/guide?shortKey=yDw***k1xFc5`, 用法可以参考:<a href="https://qian.tencent.com/developers/company/openwxminiprogram" target="_blank">跳转电子签小程序</a></li>
|
7725
|
+
|
7726
|
+
|
7727
|
+
注: <font color="red">生成的链路后面不能再增加参数</font>
|
7728
|
+
:type MiniAppPath: str
|
7729
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7730
|
+
:type RequestId: str
|
7731
|
+
"""
|
7732
|
+
self._Link = None
|
7733
|
+
self._ExpireTime = None
|
7734
|
+
self._JumpUrl = None
|
7735
|
+
self._MiniAppPath = None
|
7736
|
+
self._RequestId = None
|
7737
|
+
|
7738
|
+
@property
|
7739
|
+
def Link(self):
|
7740
|
+
return self._Link
|
7741
|
+
|
7742
|
+
@Link.setter
|
7743
|
+
def Link(self, Link):
|
7744
|
+
self._Link = Link
|
7745
|
+
|
7746
|
+
@property
|
7747
|
+
def ExpireTime(self):
|
7748
|
+
return self._ExpireTime
|
7749
|
+
|
7750
|
+
@ExpireTime.setter
|
7751
|
+
def ExpireTime(self, ExpireTime):
|
7752
|
+
self._ExpireTime = ExpireTime
|
7753
|
+
|
7754
|
+
@property
|
7755
|
+
def JumpUrl(self):
|
7756
|
+
return self._JumpUrl
|
7757
|
+
|
7758
|
+
@JumpUrl.setter
|
7759
|
+
def JumpUrl(self, JumpUrl):
|
7760
|
+
self._JumpUrl = JumpUrl
|
7761
|
+
|
7762
|
+
@property
|
7763
|
+
def MiniAppPath(self):
|
7764
|
+
return self._MiniAppPath
|
7765
|
+
|
7766
|
+
@MiniAppPath.setter
|
7767
|
+
def MiniAppPath(self, MiniAppPath):
|
7768
|
+
self._MiniAppPath = MiniAppPath
|
7769
|
+
|
7770
|
+
@property
|
7771
|
+
def RequestId(self):
|
7772
|
+
return self._RequestId
|
7773
|
+
|
7774
|
+
@RequestId.setter
|
7775
|
+
def RequestId(self, RequestId):
|
7776
|
+
self._RequestId = RequestId
|
7777
|
+
|
7778
|
+
|
7779
|
+
def _deserialize(self, params):
|
7780
|
+
self._Link = params.get("Link")
|
7781
|
+
self._ExpireTime = params.get("ExpireTime")
|
7782
|
+
self._JumpUrl = params.get("JumpUrl")
|
7783
|
+
self._MiniAppPath = params.get("MiniAppPath")
|
7784
|
+
self._RequestId = params.get("RequestId")
|
7785
|
+
|
7786
|
+
|
7572
7787
|
class CreateOrganizationInfoChangeUrlRequest(AbstractModel):
|
7573
7788
|
"""CreateOrganizationInfoChangeUrl请求参数结构体
|
7574
7789
|
|
@@ -20208,9 +20423,11 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20208
20423
|
:param _AdminName: 组织机构超管姓名。
|
20209
20424
|
在注册流程中,必须是超管本人进行操作。
|
20210
20425
|
如果法人做为超管管理组织机构,超管姓名就是法人姓名
|
20426
|
+
如果入参中传递超管授权书PowerOfAttorneys,则此参数为必填参数。
|
20211
20427
|
:type AdminName: str
|
20212
|
-
:param _AdminMobile:
|
20428
|
+
:param _AdminMobile: 组织机构超管手机号。
|
20213
20429
|
在注册流程中,这个手机号必须跟操作人在电子签注册的个人手机号一致。
|
20430
|
+
如果入参中传递超管授权书PowerOfAttorneys,则此参数为必填参数
|
20214
20431
|
:type AdminMobile: str
|
20215
20432
|
:param _AuthorizationTypes: 可选的此企业允许的授权方式, 可以设置的方式有:
|
20216
20433
|
1:上传授权书
|
@@ -20223,7 +20440,8 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20223
20440
|
`2. 如果当前的企业类型是政府/事业单位, 则只支持上传授权书+对公打款`
|
20224
20441
|
`3. 如果当前操作人是法人,则是法人认证`
|
20225
20442
|
:type AuthorizationTypes: list of int non-negative
|
20226
|
-
:param _AdminIdCardNumber:
|
20443
|
+
:param _AdminIdCardNumber: 认证人身份证号,如果入参中传递超管授权书PowerOfAttorneys,则此参数为必填参数
|
20444
|
+
|
20227
20445
|
:type AdminIdCardNumber: str
|
20228
20446
|
:param _AdminIdCardType: 认证人证件类型
|
20229
20447
|
支持以下类型
|
@@ -20234,6 +20452,13 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20234
20452
|
:type AdminIdCardType: str
|
20235
20453
|
:param _BusinessLicense: 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
|
20236
20454
|
:type BusinessLicense: str
|
20455
|
+
:param _PowerOfAttorneys: 授权书(PNG或JPG或PDF) base64格式, 大小不超过8M 。
|
20456
|
+
p.s. 如果上传授权书 ,需遵循以下条件
|
20457
|
+
1. 超管的信息(超管姓名,超管身份证,超管手机号)必须为必填参数。
|
20458
|
+
2. 超管的个人身份必须在电子签已经实名。
|
20459
|
+
2. 认证方式AuthorizationTypes必须只能是上传授权书方式
|
20460
|
+
|
20461
|
+
:type PowerOfAttorneys: list of str
|
20237
20462
|
"""
|
20238
20463
|
self._OrganizationName = None
|
20239
20464
|
self._UniformSocialCreditCode = None
|
@@ -20245,6 +20470,7 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20245
20470
|
self._AdminIdCardNumber = None
|
20246
20471
|
self._AdminIdCardType = None
|
20247
20472
|
self._BusinessLicense = None
|
20473
|
+
self._PowerOfAttorneys = None
|
20248
20474
|
|
20249
20475
|
@property
|
20250
20476
|
def OrganizationName(self):
|
@@ -20326,6 +20552,14 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20326
20552
|
def BusinessLicense(self, BusinessLicense):
|
20327
20553
|
self._BusinessLicense = BusinessLicense
|
20328
20554
|
|
20555
|
+
@property
|
20556
|
+
def PowerOfAttorneys(self):
|
20557
|
+
return self._PowerOfAttorneys
|
20558
|
+
|
20559
|
+
@PowerOfAttorneys.setter
|
20560
|
+
def PowerOfAttorneys(self, PowerOfAttorneys):
|
20561
|
+
self._PowerOfAttorneys = PowerOfAttorneys
|
20562
|
+
|
20329
20563
|
|
20330
20564
|
def _deserialize(self, params):
|
20331
20565
|
self._OrganizationName = params.get("OrganizationName")
|
@@ -20338,6 +20572,7 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
20338
20572
|
self._AdminIdCardNumber = params.get("AdminIdCardNumber")
|
20339
20573
|
self._AdminIdCardType = params.get("AdminIdCardType")
|
20340
20574
|
self._BusinessLicense = params.get("BusinessLicense")
|
20575
|
+
self._PowerOfAttorneys = params.get("PowerOfAttorneys")
|
20341
20576
|
memeber_set = set(params.keys())
|
20342
20577
|
for name, value in vars(self).items():
|
20343
20578
|
property_name = name[1:]
|
@@ -4743,11 +4743,14 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
|
|
4743
4743
|
:type PrepareFlowUrl: str
|
4744
4744
|
:param _PreviewFlowUrl: 合同发起后预览链接, 注意此时合同并未发起,仅只是展示效果, 有效期为5分钟
|
4745
4745
|
:type PreviewFlowUrl: str
|
4746
|
+
:param _FlowId: 发起的合同临时Id, 只有当点击进入链接,成功发起合同后, 此Id才有效
|
4747
|
+
:type FlowId: str
|
4746
4748
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4747
4749
|
:type RequestId: str
|
4748
4750
|
"""
|
4749
4751
|
self._PrepareFlowUrl = None
|
4750
4752
|
self._PreviewFlowUrl = None
|
4753
|
+
self._FlowId = None
|
4751
4754
|
self._RequestId = None
|
4752
4755
|
|
4753
4756
|
@property
|
@@ -4766,6 +4769,14 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
|
|
4766
4769
|
def PreviewFlowUrl(self, PreviewFlowUrl):
|
4767
4770
|
self._PreviewFlowUrl = PreviewFlowUrl
|
4768
4771
|
|
4772
|
+
@property
|
4773
|
+
def FlowId(self):
|
4774
|
+
return self._FlowId
|
4775
|
+
|
4776
|
+
@FlowId.setter
|
4777
|
+
def FlowId(self, FlowId):
|
4778
|
+
self._FlowId = FlowId
|
4779
|
+
|
4769
4780
|
@property
|
4770
4781
|
def RequestId(self):
|
4771
4782
|
return self._RequestId
|
@@ -4778,6 +4789,7 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
|
|
4778
4789
|
def _deserialize(self, params):
|
4779
4790
|
self._PrepareFlowUrl = params.get("PrepareFlowUrl")
|
4780
4791
|
self._PreviewFlowUrl = params.get("PreviewFlowUrl")
|
4792
|
+
self._FlowId = params.get("FlowId")
|
4781
4793
|
self._RequestId = params.get("RequestId")
|
4782
4794
|
|
4783
4795
|
|
@@ -10212,7 +10224,7 @@ class CreateConsoleLoginUrlResponse(AbstractModel):
|
|
10212
10224
|
def __init__(self):
|
10213
10225
|
r"""
|
10214
10226
|
:param _ConsoleUrl: 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
|
10215
|
-
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/APP/H5/SHORT_H5</td> <td>30天</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>
|
10227
|
+
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/APP/H5/SHORT_H5</td> <td>30天</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>CHANNEL/APP/H5/SHORT_H5</td> <td>30天</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/APP/H5/SHORT_H5</td> <td>30天</td> </tr> </tbody> </table>
|
10216
10228
|
|
10217
10229
|
注:
|
10218
10230
|
1. <font color="red">链接仅单次有效</font>,每次登录需要需要重新创建新的链接
|
@@ -18237,7 +18249,12 @@ class RegistrationOrganizationInfo(AbstractModel):
|
|
18237
18249
|
:type AdminIdCardNumber: str
|
18238
18250
|
:param _BusinessLicense: 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
|
18239
18251
|
:type BusinessLicense: str
|
18240
|
-
:param _PowerOfAttorneys: 授权书(PNG或JPG或PDF) base64格式, 大小不超过8M
|
18252
|
+
:param _PowerOfAttorneys: 授权书(PNG或JPG或PDF) base64格式, 大小不超过8M 。
|
18253
|
+
p.s. 如果上传授权书 ,需遵循以下条件
|
18254
|
+
1. 超管的信息(超管姓名,超管身份证,超管手机号)必须为必填参数。
|
18255
|
+
2. 超管的个人身份必须在电子签已经实名。
|
18256
|
+
2. 认证方式AuthorizationTypes必须只能是上传授权书方式
|
18257
|
+
|
18241
18258
|
:type PowerOfAttorneys: list of str
|
18242
18259
|
"""
|
18243
18260
|
self._OrganizationName = None
|
@@ -32,6 +32,7 @@ class HunyuanClient(AbstractClient):
|
|
32
32
|
1. 本接口暂不支持返回图片内容。
|
33
33
|
2. 默认每种模型单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
34
34
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
35
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
35
36
|
|
36
37
|
:param request: Request instance for ChatCompletions.
|
37
38
|
:type request: :class:`tencentcloud.hunyuan.v20230901.models.ChatCompletionsRequest`
|
@@ -72,7 +72,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
72
72
|
:type Temperature: float
|
73
73
|
:param _EnableEnhancement: 功能增强(如搜索)开关。
|
74
74
|
说明:
|
75
|
-
1.
|
75
|
+
1. hunyuan-lite 无功能增强(如搜索)能力,该参数对 hunyuan-lite 版本不生效。
|
76
76
|
2. 未传值时默认打开开关。
|
77
77
|
3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
78
78
|
4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
@@ -1171,7 +1171,7 @@ class Message(AbstractModel):
|
|
1171
1171
|
|
1172
1172
|
def __init__(self):
|
1173
1173
|
r"""
|
1174
|
-
:param _Role:
|
1174
|
+
:param _Role: 角色,可选值包括 system、user、assistant。
|
1175
1175
|
:type Role: str
|
1176
1176
|
:param _Content: 文本内容
|
1177
1177
|
:type Content: str
|
@@ -2924,6 +2924,29 @@ class IotexplorerClient(AbstractClient):
|
|
2924
2924
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2925
2925
|
|
2926
2926
|
|
2927
|
+
def UpdateDeviceTWeCallAuthorizeStatus(self, request):
|
2928
|
+
"""更新用户对设备的TweCall授权状态
|
2929
|
+
|
2930
|
+
:param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
|
2931
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusRequest`
|
2932
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusResponse`
|
2933
|
+
|
2934
|
+
"""
|
2935
|
+
try:
|
2936
|
+
params = request._serialize()
|
2937
|
+
headers = request.headers
|
2938
|
+
body = self.call("UpdateDeviceTWeCallAuthorizeStatus", params, headers=headers)
|
2939
|
+
response = json.loads(body)
|
2940
|
+
model = models.UpdateDeviceTWeCallAuthorizeStatusResponse()
|
2941
|
+
model._deserialize(response["Response"])
|
2942
|
+
return model
|
2943
|
+
except Exception as e:
|
2944
|
+
if isinstance(e, TencentCloudSDKException):
|
2945
|
+
raise
|
2946
|
+
else:
|
2947
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2948
|
+
|
2949
|
+
|
2927
2950
|
def UpdateDevicesEnableState(self, request):
|
2928
2951
|
"""批量禁用启用设备
|
2929
2952
|
|
@@ -18261,6 +18261,100 @@ class UnbindProductsResponse(AbstractModel):
|
|
18261
18261
|
self._RequestId = params.get("RequestId")
|
18262
18262
|
|
18263
18263
|
|
18264
|
+
class UpdateDeviceTWeCallAuthorizeStatusRequest(AbstractModel):
|
18265
|
+
"""UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
|
18266
|
+
|
18267
|
+
"""
|
18268
|
+
|
18269
|
+
def __init__(self):
|
18270
|
+
r"""
|
18271
|
+
:param _Status: TweCall授权状态:0未授权,1已授权
|
18272
|
+
:type Status: int
|
18273
|
+
:param _ProductId: 产品ID
|
18274
|
+
:type ProductId: str
|
18275
|
+
:param _DeviceName: 设备名
|
18276
|
+
:type DeviceName: str
|
18277
|
+
:param _WechatOpenId: 微信用户的openId
|
18278
|
+
:type WechatOpenId: str
|
18279
|
+
"""
|
18280
|
+
self._Status = None
|
18281
|
+
self._ProductId = None
|
18282
|
+
self._DeviceName = None
|
18283
|
+
self._WechatOpenId = None
|
18284
|
+
|
18285
|
+
@property
|
18286
|
+
def Status(self):
|
18287
|
+
return self._Status
|
18288
|
+
|
18289
|
+
@Status.setter
|
18290
|
+
def Status(self, Status):
|
18291
|
+
self._Status = Status
|
18292
|
+
|
18293
|
+
@property
|
18294
|
+
def ProductId(self):
|
18295
|
+
return self._ProductId
|
18296
|
+
|
18297
|
+
@ProductId.setter
|
18298
|
+
def ProductId(self, ProductId):
|
18299
|
+
self._ProductId = ProductId
|
18300
|
+
|
18301
|
+
@property
|
18302
|
+
def DeviceName(self):
|
18303
|
+
return self._DeviceName
|
18304
|
+
|
18305
|
+
@DeviceName.setter
|
18306
|
+
def DeviceName(self, DeviceName):
|
18307
|
+
self._DeviceName = DeviceName
|
18308
|
+
|
18309
|
+
@property
|
18310
|
+
def WechatOpenId(self):
|
18311
|
+
return self._WechatOpenId
|
18312
|
+
|
18313
|
+
@WechatOpenId.setter
|
18314
|
+
def WechatOpenId(self, WechatOpenId):
|
18315
|
+
self._WechatOpenId = WechatOpenId
|
18316
|
+
|
18317
|
+
|
18318
|
+
def _deserialize(self, params):
|
18319
|
+
self._Status = params.get("Status")
|
18320
|
+
self._ProductId = params.get("ProductId")
|
18321
|
+
self._DeviceName = params.get("DeviceName")
|
18322
|
+
self._WechatOpenId = params.get("WechatOpenId")
|
18323
|
+
memeber_set = set(params.keys())
|
18324
|
+
for name, value in vars(self).items():
|
18325
|
+
property_name = name[1:]
|
18326
|
+
if property_name in memeber_set:
|
18327
|
+
memeber_set.remove(property_name)
|
18328
|
+
if len(memeber_set) > 0:
|
18329
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18330
|
+
|
18331
|
+
|
18332
|
+
|
18333
|
+
class UpdateDeviceTWeCallAuthorizeStatusResponse(AbstractModel):
|
18334
|
+
"""UpdateDeviceTWeCallAuthorizeStatus返回参数结构体
|
18335
|
+
|
18336
|
+
"""
|
18337
|
+
|
18338
|
+
def __init__(self):
|
18339
|
+
r"""
|
18340
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18341
|
+
:type RequestId: str
|
18342
|
+
"""
|
18343
|
+
self._RequestId = None
|
18344
|
+
|
18345
|
+
@property
|
18346
|
+
def RequestId(self):
|
18347
|
+
return self._RequestId
|
18348
|
+
|
18349
|
+
@RequestId.setter
|
18350
|
+
def RequestId(self, RequestId):
|
18351
|
+
self._RequestId = RequestId
|
18352
|
+
|
18353
|
+
|
18354
|
+
def _deserialize(self, params):
|
18355
|
+
self._RequestId = params.get("RequestId")
|
18356
|
+
|
18357
|
+
|
18264
18358
|
class UpdateDevicesEnableStateRequest(AbstractModel):
|
18265
18359
|
"""UpdateDevicesEnableState请求参数结构体
|
18266
18360
|
|
@@ -16431,10 +16431,19 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
|
|
16431
16431
|
:type Offset: int
|
16432
16432
|
:param _Limit: 用于分页
|
16433
16433
|
:type Limit: int
|
16434
|
+
:param _ClusterIds: 用于通过集群id过滤被绑定集群
|
16435
|
+
:type ClusterIds: list of str
|
16436
|
+
:param _ClusterTypes: 用于通过集群类型过滤被绑定集群
|
16437
|
+
:type ClusterTypes: list of str
|
16438
|
+
:param _ClusterName: 用于通过名称搜索被绑定集群
|
16439
|
+
:type ClusterName: str
|
16434
16440
|
"""
|
16435
16441
|
self._InstanceId = None
|
16436
16442
|
self._Offset = None
|
16437
16443
|
self._Limit = None
|
16444
|
+
self._ClusterIds = None
|
16445
|
+
self._ClusterTypes = None
|
16446
|
+
self._ClusterName = None
|
16438
16447
|
|
16439
16448
|
@property
|
16440
16449
|
def InstanceId(self):
|
@@ -16460,11 +16469,38 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
|
|
16460
16469
|
def Limit(self, Limit):
|
16461
16470
|
self._Limit = Limit
|
16462
16471
|
|
16472
|
+
@property
|
16473
|
+
def ClusterIds(self):
|
16474
|
+
return self._ClusterIds
|
16475
|
+
|
16476
|
+
@ClusterIds.setter
|
16477
|
+
def ClusterIds(self, ClusterIds):
|
16478
|
+
self._ClusterIds = ClusterIds
|
16479
|
+
|
16480
|
+
@property
|
16481
|
+
def ClusterTypes(self):
|
16482
|
+
return self._ClusterTypes
|
16483
|
+
|
16484
|
+
@ClusterTypes.setter
|
16485
|
+
def ClusterTypes(self, ClusterTypes):
|
16486
|
+
self._ClusterTypes = ClusterTypes
|
16487
|
+
|
16488
|
+
@property
|
16489
|
+
def ClusterName(self):
|
16490
|
+
return self._ClusterName
|
16491
|
+
|
16492
|
+
@ClusterName.setter
|
16493
|
+
def ClusterName(self, ClusterName):
|
16494
|
+
self._ClusterName = ClusterName
|
16495
|
+
|
16463
16496
|
|
16464
16497
|
def _deserialize(self, params):
|
16465
16498
|
self._InstanceId = params.get("InstanceId")
|
16466
16499
|
self._Offset = params.get("Offset")
|
16467
16500
|
self._Limit = params.get("Limit")
|
16501
|
+
self._ClusterIds = params.get("ClusterIds")
|
16502
|
+
self._ClusterTypes = params.get("ClusterTypes")
|
16503
|
+
self._ClusterName = params.get("ClusterName")
|
16468
16504
|
memeber_set = set(params.keys())
|
16469
16505
|
for name, value in vars(self).items():
|
16470
16506
|
property_name = name[1:]
|