tencentcloud-sdk-python 3.0.1480__py2.py3-none-any.whl → 3.0.1481__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +42 -0
- tencentcloud/billing/v20180709/models.py +8 -8
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/ckafka/v20190819/models.py +2 -0
- tencentcloud/cloudaudit/v20190319/models.py +17 -0
- tencentcloud/cls/v20201016/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +2 -32
- tencentcloud/dbbrain/v20210527/models.py +18 -3
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/ess/v20201111/models.py +101 -2
- tencentcloud/essbasic/v20210526/models.py +139 -10
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +162 -0
- tencentcloud/lcic/v20220817/models.py +22 -2
- tencentcloud/lke/v20231130/models.py +4 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/monitor/v20180724/models.py +30 -0
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +231 -4
- tencentcloud/postgres/v20170312/errorcodes.py +9 -0
- tencentcloud/postgres/v20170312/models.py +488 -79
- tencentcloud/redis/v20180412/models.py +213 -24
- tencentcloud/region/v20220627/models.py +0 -2
- tencentcloud/sqlserver/v20180328/models.py +49 -4
- tencentcloud/svp/v20240125/models.py +21 -4
- tencentcloud/tag/v20180813/models.py +5 -5
- tencentcloud/tcss/v20201101/models.py +157 -0
- tencentcloud/teo/v20220901/models.py +32 -30
- tencentcloud/tione/v20211111/models.py +162 -0
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tke/v20180525/models.py +20 -18
- tencentcloud/tke/v20220501/models.py +21 -6
- tencentcloud/tms/v20201229/models.py +30 -0
- tencentcloud/tms/v20201229/tms_client.py +2 -1
- tencentcloud/trro/v20220325/errorcodes.py +3 -0
- tencentcloud/trro/v20220325/models.py +739 -0
- tencentcloud/trro/v20220325/trro_client.py +46 -0
- tencentcloud/trtc/v20190722/models.py +32 -36
- tencentcloud/vpc/v20170312/models.py +175 -10
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/top_level.txt +0 -0
|
@@ -13803,7 +13803,9 @@ class CreateOrganizationAuthUrlRequest(AbstractModel):
|
|
|
13803
13803
|
:type UniformSocialCreditCode: str
|
|
13804
13804
|
:param _LegalName: 企业法人的姓名
|
|
13805
13805
|
:type LegalName: str
|
|
13806
|
-
:param _AutoJumpUrl:
|
|
13806
|
+
:param _AutoJumpUrl: <font color="red">即将废弃</font>,入参请使用JumpEvents。
|
|
13807
|
+
认证完成跳回的链接,最长500个字符。
|
|
13808
|
+
|
|
13807
13809
|
:type AutoJumpUrl: str
|
|
13808
13810
|
:param _OrganizationAddress: 营业执照企业地址
|
|
13809
13811
|
:type OrganizationAddress: str
|
|
@@ -13884,6 +13886,13 @@ p.s.
|
|
|
13884
13886
|
|
|
13885
13887
|
p.s. 仅在对公打款不为空时有效
|
|
13886
13888
|
:type BankAccountNumberSame: bool
|
|
13889
|
+
:param _JumpEvents: 跳转事件,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
13890
|
+
p.s.
|
|
13891
|
+
Endpoint如果是APP 类型,请传递JumpUrl为<font color="red">"true" </font>
|
|
13892
|
+
如果 Endpoint 是 H5 类型,请参考文档跳转电子签H5
|
|
13893
|
+
|
|
13894
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
13895
|
+
:type JumpEvents: list of JumpEvent
|
|
13887
13896
|
"""
|
|
13888
13897
|
self._Operator = None
|
|
13889
13898
|
self._AuthorizationTypes = None
|
|
@@ -13909,6 +13918,7 @@ p.s. 仅在对公打款不为空时有效
|
|
|
13909
13918
|
self._UserData = None
|
|
13910
13919
|
self._BankAccountNumber = None
|
|
13911
13920
|
self._BankAccountNumberSame = None
|
|
13921
|
+
self._JumpEvents = None
|
|
13912
13922
|
|
|
13913
13923
|
@property
|
|
13914
13924
|
def Operator(self):
|
|
@@ -13979,7 +13989,9 @@ p.s. 仅在对公打款不为空时有效
|
|
|
13979
13989
|
|
|
13980
13990
|
@property
|
|
13981
13991
|
def AutoJumpUrl(self):
|
|
13982
|
-
r"""
|
|
13992
|
+
r"""<font color="red">即将废弃</font>,入参请使用JumpEvents。
|
|
13993
|
+
认证完成跳回的链接,最长500个字符。
|
|
13994
|
+
|
|
13983
13995
|
:rtype: str
|
|
13984
13996
|
"""
|
|
13985
13997
|
return self._AutoJumpUrl
|
|
@@ -14229,6 +14241,22 @@ p.s. 仅在对公打款不为空时有效
|
|
|
14229
14241
|
def BankAccountNumberSame(self, BankAccountNumberSame):
|
|
14230
14242
|
self._BankAccountNumberSame = BankAccountNumberSame
|
|
14231
14243
|
|
|
14244
|
+
@property
|
|
14245
|
+
def JumpEvents(self):
|
|
14246
|
+
r"""跳转事件,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
14247
|
+
p.s.
|
|
14248
|
+
Endpoint如果是APP 类型,请传递JumpUrl为<font color="red">"true" </font>
|
|
14249
|
+
如果 Endpoint 是 H5 类型,请参考文档跳转电子签H5
|
|
14250
|
+
|
|
14251
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
14252
|
+
:rtype: list of JumpEvent
|
|
14253
|
+
"""
|
|
14254
|
+
return self._JumpEvents
|
|
14255
|
+
|
|
14256
|
+
@JumpEvents.setter
|
|
14257
|
+
def JumpEvents(self, JumpEvents):
|
|
14258
|
+
self._JumpEvents = JumpEvents
|
|
14259
|
+
|
|
14232
14260
|
|
|
14233
14261
|
def _deserialize(self, params):
|
|
14234
14262
|
if params.get("Operator") is not None:
|
|
@@ -14257,6 +14285,12 @@ p.s. 仅在对公打款不为空时有效
|
|
|
14257
14285
|
self._UserData = params.get("UserData")
|
|
14258
14286
|
self._BankAccountNumber = params.get("BankAccountNumber")
|
|
14259
14287
|
self._BankAccountNumberSame = params.get("BankAccountNumberSame")
|
|
14288
|
+
if params.get("JumpEvents") is not None:
|
|
14289
|
+
self._JumpEvents = []
|
|
14290
|
+
for item in params.get("JumpEvents"):
|
|
14291
|
+
obj = JumpEvent()
|
|
14292
|
+
obj._deserialize(item)
|
|
14293
|
+
self._JumpEvents.append(obj)
|
|
14260
14294
|
memeber_set = set(params.keys())
|
|
14261
14295
|
for name, value in vars(self).items():
|
|
14262
14296
|
property_name = name[1:]
|
|
@@ -32771,6 +32805,71 @@ class IntentionQuestionResult(AbstractModel):
|
|
|
32771
32805
|
|
|
32772
32806
|
|
|
32773
32807
|
|
|
32808
|
+
class JumpEvent(AbstractModel):
|
|
32809
|
+
r"""跳转事件的结构体,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
32810
|
+
|
|
32811
|
+
"""
|
|
32812
|
+
|
|
32813
|
+
def __init__(self):
|
|
32814
|
+
r"""
|
|
32815
|
+
:param _JumpEventType: 跳转事件枚举,
|
|
32816
|
+
* 1 - 企业收录。
|
|
32817
|
+
* 2 - 超管授权书审核。
|
|
32818
|
+
* 3 - 认证完成。
|
|
32819
|
+
:type JumpEventType: int
|
|
32820
|
+
:param _JumpUrl: 为认证成功后页面进行回跳的URL,请确保回跳地址的可用性。
|
|
32821
|
+
Endpoint如果是APP 类型,请传递<font color="red">"true"</font>
|
|
32822
|
+
如果 Endpoint 是 H5 类型,请参考文档[跳转电子签H5](https://qian.tencent.com/developers/company/openqianh5/)
|
|
32823
|
+
|
|
32824
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
32825
|
+
:type JumpUrl: str
|
|
32826
|
+
"""
|
|
32827
|
+
self._JumpEventType = None
|
|
32828
|
+
self._JumpUrl = None
|
|
32829
|
+
|
|
32830
|
+
@property
|
|
32831
|
+
def JumpEventType(self):
|
|
32832
|
+
r"""跳转事件枚举,
|
|
32833
|
+
* 1 - 企业收录。
|
|
32834
|
+
* 2 - 超管授权书审核。
|
|
32835
|
+
* 3 - 认证完成。
|
|
32836
|
+
:rtype: int
|
|
32837
|
+
"""
|
|
32838
|
+
return self._JumpEventType
|
|
32839
|
+
|
|
32840
|
+
@JumpEventType.setter
|
|
32841
|
+
def JumpEventType(self, JumpEventType):
|
|
32842
|
+
self._JumpEventType = JumpEventType
|
|
32843
|
+
|
|
32844
|
+
@property
|
|
32845
|
+
def JumpUrl(self):
|
|
32846
|
+
r"""为认证成功后页面进行回跳的URL,请确保回跳地址的可用性。
|
|
32847
|
+
Endpoint如果是APP 类型,请传递<font color="red">"true"</font>
|
|
32848
|
+
如果 Endpoint 是 H5 类型,请参考文档[跳转电子签H5](https://qian.tencent.com/developers/company/openqianh5/)
|
|
32849
|
+
|
|
32850
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
32851
|
+
:rtype: str
|
|
32852
|
+
"""
|
|
32853
|
+
return self._JumpUrl
|
|
32854
|
+
|
|
32855
|
+
@JumpUrl.setter
|
|
32856
|
+
def JumpUrl(self, JumpUrl):
|
|
32857
|
+
self._JumpUrl = JumpUrl
|
|
32858
|
+
|
|
32859
|
+
|
|
32860
|
+
def _deserialize(self, params):
|
|
32861
|
+
self._JumpEventType = params.get("JumpEventType")
|
|
32862
|
+
self._JumpUrl = params.get("JumpUrl")
|
|
32863
|
+
memeber_set = set(params.keys())
|
|
32864
|
+
for name, value in vars(self).items():
|
|
32865
|
+
property_name = name[1:]
|
|
32866
|
+
if property_name in memeber_set:
|
|
32867
|
+
memeber_set.remove(property_name)
|
|
32868
|
+
if len(memeber_set) > 0:
|
|
32869
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32870
|
+
|
|
32871
|
+
|
|
32872
|
+
|
|
32774
32873
|
class MiniAppCreateApproverInfo(AbstractModel):
|
|
32775
32874
|
r"""创建流程的签署方信息
|
|
32776
32875
|
|
|
@@ -15165,7 +15165,8 @@ class CreateConsoleLoginUrlRequest(AbstractModel):
|
|
|
15165
15165
|
<li>**H5**:<font color="red">H5长链接</font>跳转H5链接, 一般用于贵方H5跳转过来, 打开后进入腾讯电子签H5页面</li>
|
|
15166
15166
|
<li>**SHORT_H5**:<font color="red">H5短链</font>跳转H5的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签H5页面</li></ul>
|
|
15167
15167
|
:type Endpoint: str
|
|
15168
|
-
:param _AutoJumpBackEvent:
|
|
15168
|
+
:param _AutoJumpBackEvent: <font color="red">已废弃</font> 请使用 JumpEvents 参数,进行替换。
|
|
15169
|
+
触发自动跳转事件,仅对EndPoint为App类型有效,可选值包括:
|
|
15169
15170
|
<ul><li> **VERIFIED** :企业认证完成/员工认证完成后跳回原App/小程序</li></ul>
|
|
15170
15171
|
:type AutoJumpBackEvent: str
|
|
15171
15172
|
:param _AuthorizationTypes: 可选的此企业允许的授权方式, 可以设置的方式有:
|
|
@@ -15177,7 +15178,8 @@ class CreateConsoleLoginUrlRequest(AbstractModel):
|
|
|
15177
15178
|
:param _ProxyOperatorIdCardNumber: 子客经办人身份证
|
|
15178
15179
|
注意:`如果已同步,这里非空会更新同步的经办人身份证号,暂时只支持中国大陆居民身份证类型`。
|
|
15179
15180
|
:type ProxyOperatorIdCardNumber: str
|
|
15180
|
-
:param _AutoJumpUrl:
|
|
15181
|
+
:param _AutoJumpUrl: <font color="red">已废弃</font> 请使用 JumpEvents 参数,进行替换。
|
|
15182
|
+
认证完成跳转链接。
|
|
15181
15183
|
注意:`此功能仅在Endpoint参数设置成 H5 或 PC时才有效`。
|
|
15182
15184
|
:type AutoJumpUrl: str
|
|
15183
15185
|
:param _TopNavigationStatus: 是否展示头顶导航栏 <ul><li> **ENABLE** : (默认)进入web控制台展示头顶导航栏</li> <li> **DISABLE** : 进入web控制台不展示头顶导航栏</li></ul> 注:该参数**仅在企业和员工激活完成,登录控制台场景才生效**。
|
|
@@ -15213,6 +15215,10 @@ p.s.
|
|
|
15213
15215
|
:type BankAccountNumber: str
|
|
15214
15216
|
:param _Operator: 无
|
|
15215
15217
|
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
15218
|
+
:param _JumpEvents: 跳转事件,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
15219
|
+
p.s.Endpoint如果是APP 类型,请传递JumpUrl为<font color="red">"true" </font>
|
|
15220
|
+
如果 Endpoint 是 H5 类型,请参考文档跳转电子签H5 p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
15221
|
+
:type JumpEvents: list of JumpEvent
|
|
15216
15222
|
"""
|
|
15217
15223
|
self._Agent = None
|
|
15218
15224
|
self._ProxyOrganizationName = None
|
|
@@ -15236,6 +15242,7 @@ p.s.
|
|
|
15236
15242
|
self._OrganizationAuthorizationOptions = None
|
|
15237
15243
|
self._BankAccountNumber = None
|
|
15238
15244
|
self._Operator = None
|
|
15245
|
+
self._JumpEvents = None
|
|
15239
15246
|
|
|
15240
15247
|
@property
|
|
15241
15248
|
def Agent(self):
|
|
@@ -15382,7 +15389,8 @@ p.s.
|
|
|
15382
15389
|
|
|
15383
15390
|
@property
|
|
15384
15391
|
def AutoJumpBackEvent(self):
|
|
15385
|
-
r"""
|
|
15392
|
+
r"""<font color="red">已废弃</font> 请使用 JumpEvents 参数,进行替换。
|
|
15393
|
+
触发自动跳转事件,仅对EndPoint为App类型有效,可选值包括:
|
|
15386
15394
|
<ul><li> **VERIFIED** :企业认证完成/员工认证完成后跳回原App/小程序</li></ul>
|
|
15387
15395
|
:rtype: str
|
|
15388
15396
|
"""
|
|
@@ -15421,7 +15429,8 @@ p.s.
|
|
|
15421
15429
|
|
|
15422
15430
|
@property
|
|
15423
15431
|
def AutoJumpUrl(self):
|
|
15424
|
-
r"""
|
|
15432
|
+
r"""<font color="red">已废弃</font> 请使用 JumpEvents 参数,进行替换。
|
|
15433
|
+
认证完成跳转链接。
|
|
15425
15434
|
注意:`此功能仅在Endpoint参数设置成 H5 或 PC时才有效`。
|
|
15426
15435
|
:rtype: str
|
|
15427
15436
|
"""
|
|
@@ -15549,6 +15558,19 @@ p.s.
|
|
|
15549
15558
|
|
|
15550
15559
|
self._Operator = Operator
|
|
15551
15560
|
|
|
15561
|
+
@property
|
|
15562
|
+
def JumpEvents(self):
|
|
15563
|
+
r"""跳转事件,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
15564
|
+
p.s.Endpoint如果是APP 类型,请传递JumpUrl为<font color="red">"true" </font>
|
|
15565
|
+
如果 Endpoint 是 H5 类型,请参考文档跳转电子签H5 p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
15566
|
+
:rtype: list of JumpEvent
|
|
15567
|
+
"""
|
|
15568
|
+
return self._JumpEvents
|
|
15569
|
+
|
|
15570
|
+
@JumpEvents.setter
|
|
15571
|
+
def JumpEvents(self, JumpEvents):
|
|
15572
|
+
self._JumpEvents = JumpEvents
|
|
15573
|
+
|
|
15552
15574
|
|
|
15553
15575
|
def _deserialize(self, params):
|
|
15554
15576
|
if params.get("Agent") is not None:
|
|
@@ -15579,6 +15601,12 @@ p.s.
|
|
|
15579
15601
|
if params.get("Operator") is not None:
|
|
15580
15602
|
self._Operator = UserInfo()
|
|
15581
15603
|
self._Operator._deserialize(params.get("Operator"))
|
|
15604
|
+
if params.get("JumpEvents") is not None:
|
|
15605
|
+
self._JumpEvents = []
|
|
15606
|
+
for item in params.get("JumpEvents"):
|
|
15607
|
+
obj = JumpEvent()
|
|
15608
|
+
obj._deserialize(item)
|
|
15609
|
+
self._JumpEvents.append(obj)
|
|
15582
15610
|
memeber_set = set(params.keys())
|
|
15583
15611
|
for name, value in vars(self).items():
|
|
15584
15612
|
property_name = name[1:]
|
|
@@ -17353,7 +17381,7 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17353
17381
|
:param _PlatformAppAuthorization: 是否给平台应用授权
|
|
17354
17382
|
|
|
17355
17383
|
<ul>
|
|
17356
|
-
<li><strong>true</strong>: 表示是,授权平台应用。在此情况下,无需设置<code>
|
|
17384
|
+
<li><strong>true</strong>: 表示是,授权平台应用。在此情况下,无需设置<code>AuthorizedOrganizationIds</code>和<code>AuthorizedOrganizationNames</code>。</li>
|
|
17357
17385
|
<li><strong>false</strong>: (默认)表示否,不是授权平台应用。</li>
|
|
17358
17386
|
</ul>
|
|
17359
17387
|
|
|
@@ -17370,10 +17398,14 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17370
17398
|
:type SealTypes: list of str
|
|
17371
17399
|
:param _AuthToMe: 在处理授权关系时,授权的方向
|
|
17372
17400
|
<ul>
|
|
17373
|
-
<li><strong>false</strong>(默认值):表示我方授权他方。在这种情况下,<code>
|
|
17374
|
-
<li><strong>true</strong>:表示他方授权我方。在这种情况下,<code>
|
|
17401
|
+
<li><strong>false</strong>(默认值):表示我方授权他方。在这种情况下,<code>AuthorizedOrganizationNames</code> 代表的是【被授权方】的企业名称,即接收授权的企业。</li>
|
|
17402
|
+
<li><strong>true</strong>:表示他方授权我方。在这种情况下,<code>AuthorizedOrganizationNames</code> 代表的是【授权方】的企业名称,即提供授权的企业。此场景下不支持批量</li>
|
|
17375
17403
|
</ul>
|
|
17376
17404
|
:type AuthToMe: bool
|
|
17405
|
+
:param _AuthorizedOrganizationIds: 被授企业id/授权方企业id(即OrganizationId),如果是企业之间授权和AuthorizedOrganizationNames二选一传入,最大支持50个,注:`被授权企业必须和当前企业在同一应用号下`
|
|
17406
|
+
:type AuthorizedOrganizationIds: list of str
|
|
17407
|
+
:param _AuthorizedOrganizationNames: 被授企业名称/授权方企业的名字,如果是企业之间授权和AuthorizedOrganizationIds二选一传入即可。请确认该名称与企业营业执照中注册的名称一致。注: 1. 如果名称中包含英文括号(),请使用中文括号()代替。2. 被授权企业必须和当前企业在同一应用号下 3. 数组最大长度50
|
|
17408
|
+
:type AuthorizedOrganizationNames: list of str
|
|
17377
17409
|
"""
|
|
17378
17410
|
self._Agent = None
|
|
17379
17411
|
self._AuthorizedOrganizationId = None
|
|
@@ -17381,6 +17413,8 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17381
17413
|
self._PlatformAppAuthorization = None
|
|
17382
17414
|
self._SealTypes = None
|
|
17383
17415
|
self._AuthToMe = None
|
|
17416
|
+
self._AuthorizedOrganizationIds = None
|
|
17417
|
+
self._AuthorizedOrganizationNames = None
|
|
17384
17418
|
|
|
17385
17419
|
@property
|
|
17386
17420
|
def Agent(self):
|
|
@@ -17403,6 +17437,8 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17403
17437
|
|
|
17404
17438
|
@property
|
|
17405
17439
|
def AuthorizedOrganizationId(self):
|
|
17440
|
+
warnings.warn("parameter `AuthorizedOrganizationId` is deprecated", DeprecationWarning)
|
|
17441
|
+
|
|
17406
17442
|
r"""被授企业id/授权方企业id(即OrganizationId),如果是企业之间授权和AuthorizedOrganizationName二选一传入。
|
|
17407
17443
|
|
|
17408
17444
|
注:`被授权企业必须和当前企业在同一应用号下`
|
|
@@ -17412,10 +17448,14 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17412
17448
|
|
|
17413
17449
|
@AuthorizedOrganizationId.setter
|
|
17414
17450
|
def AuthorizedOrganizationId(self, AuthorizedOrganizationId):
|
|
17451
|
+
warnings.warn("parameter `AuthorizedOrganizationId` is deprecated", DeprecationWarning)
|
|
17452
|
+
|
|
17415
17453
|
self._AuthorizedOrganizationId = AuthorizedOrganizationId
|
|
17416
17454
|
|
|
17417
17455
|
@property
|
|
17418
17456
|
def AuthorizedOrganizationName(self):
|
|
17457
|
+
warnings.warn("parameter `AuthorizedOrganizationName` is deprecated", DeprecationWarning)
|
|
17458
|
+
|
|
17419
17459
|
r"""被授企业名称/授权方企业的名字,如果是企业之间授权和AuthorizedOrganizationId二选一传入即可。请确认该名称与企业营业执照中注册的名称一致。
|
|
17420
17460
|
|
|
17421
17461
|
注:
|
|
@@ -17427,6 +17467,8 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17427
17467
|
|
|
17428
17468
|
@AuthorizedOrganizationName.setter
|
|
17429
17469
|
def AuthorizedOrganizationName(self, AuthorizedOrganizationName):
|
|
17470
|
+
warnings.warn("parameter `AuthorizedOrganizationName` is deprecated", DeprecationWarning)
|
|
17471
|
+
|
|
17430
17472
|
self._AuthorizedOrganizationName = AuthorizedOrganizationName
|
|
17431
17473
|
|
|
17432
17474
|
@property
|
|
@@ -17434,7 +17476,7 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17434
17476
|
r"""是否给平台应用授权
|
|
17435
17477
|
|
|
17436
17478
|
<ul>
|
|
17437
|
-
<li><strong>true</strong>: 表示是,授权平台应用。在此情况下,无需设置<code>
|
|
17479
|
+
<li><strong>true</strong>: 表示是,授权平台应用。在此情况下,无需设置<code>AuthorizedOrganizationIds</code>和<code>AuthorizedOrganizationNames</code>。</li>
|
|
17438
17480
|
<li><strong>false</strong>: (默认)表示否,不是授权平台应用。</li>
|
|
17439
17481
|
</ul>
|
|
17440
17482
|
|
|
@@ -17469,8 +17511,8 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17469
17511
|
def AuthToMe(self):
|
|
17470
17512
|
r"""在处理授权关系时,授权的方向
|
|
17471
17513
|
<ul>
|
|
17472
|
-
<li><strong>false</strong>(默认值):表示我方授权他方。在这种情况下,<code>
|
|
17473
|
-
<li><strong>true</strong>:表示他方授权我方。在这种情况下,<code>
|
|
17514
|
+
<li><strong>false</strong>(默认值):表示我方授权他方。在这种情况下,<code>AuthorizedOrganizationNames</code> 代表的是【被授权方】的企业名称,即接收授权的企业。</li>
|
|
17515
|
+
<li><strong>true</strong>:表示他方授权我方。在这种情况下,<code>AuthorizedOrganizationNames</code> 代表的是【授权方】的企业名称,即提供授权的企业。此场景下不支持批量</li>
|
|
17474
17516
|
</ul>
|
|
17475
17517
|
:rtype: bool
|
|
17476
17518
|
"""
|
|
@@ -17480,6 +17522,28 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17480
17522
|
def AuthToMe(self, AuthToMe):
|
|
17481
17523
|
self._AuthToMe = AuthToMe
|
|
17482
17524
|
|
|
17525
|
+
@property
|
|
17526
|
+
def AuthorizedOrganizationIds(self):
|
|
17527
|
+
r"""被授企业id/授权方企业id(即OrganizationId),如果是企业之间授权和AuthorizedOrganizationNames二选一传入,最大支持50个,注:`被授权企业必须和当前企业在同一应用号下`
|
|
17528
|
+
:rtype: list of str
|
|
17529
|
+
"""
|
|
17530
|
+
return self._AuthorizedOrganizationIds
|
|
17531
|
+
|
|
17532
|
+
@AuthorizedOrganizationIds.setter
|
|
17533
|
+
def AuthorizedOrganizationIds(self, AuthorizedOrganizationIds):
|
|
17534
|
+
self._AuthorizedOrganizationIds = AuthorizedOrganizationIds
|
|
17535
|
+
|
|
17536
|
+
@property
|
|
17537
|
+
def AuthorizedOrganizationNames(self):
|
|
17538
|
+
r"""被授企业名称/授权方企业的名字,如果是企业之间授权和AuthorizedOrganizationIds二选一传入即可。请确认该名称与企业营业执照中注册的名称一致。注: 1. 如果名称中包含英文括号(),请使用中文括号()代替。2. 被授权企业必须和当前企业在同一应用号下 3. 数组最大长度50
|
|
17539
|
+
:rtype: list of str
|
|
17540
|
+
"""
|
|
17541
|
+
return self._AuthorizedOrganizationNames
|
|
17542
|
+
|
|
17543
|
+
@AuthorizedOrganizationNames.setter
|
|
17544
|
+
def AuthorizedOrganizationNames(self, AuthorizedOrganizationNames):
|
|
17545
|
+
self._AuthorizedOrganizationNames = AuthorizedOrganizationNames
|
|
17546
|
+
|
|
17483
17547
|
|
|
17484
17548
|
def _deserialize(self, params):
|
|
17485
17549
|
if params.get("Agent") is not None:
|
|
@@ -17490,6 +17554,8 @@ class CreatePartnerAutoSignAuthUrlRequest(AbstractModel):
|
|
|
17490
17554
|
self._PlatformAppAuthorization = params.get("PlatformAppAuthorization")
|
|
17491
17555
|
self._SealTypes = params.get("SealTypes")
|
|
17492
17556
|
self._AuthToMe = params.get("AuthToMe")
|
|
17557
|
+
self._AuthorizedOrganizationIds = params.get("AuthorizedOrganizationIds")
|
|
17558
|
+
self._AuthorizedOrganizationNames = params.get("AuthorizedOrganizationNames")
|
|
17493
17559
|
memeber_set = set(params.keys())
|
|
17494
17560
|
for name, value in vars(self).items():
|
|
17495
17561
|
property_name = name[1:]
|
|
@@ -25987,6 +26053,69 @@ class IntentionQuestionResult(AbstractModel):
|
|
|
25987
26053
|
|
|
25988
26054
|
|
|
25989
26055
|
|
|
26056
|
+
class JumpEvent(AbstractModel):
|
|
26057
|
+
r"""跳转事件的结构体,其中包括认证期间收录,授权书审核,企业认证的回跳事件。
|
|
26058
|
+
|
|
26059
|
+
"""
|
|
26060
|
+
|
|
26061
|
+
def __init__(self):
|
|
26062
|
+
r"""
|
|
26063
|
+
:param _JumpEventType: 跳转事件枚举,
|
|
26064
|
+
* 1 - 企业收录。
|
|
26065
|
+
* 2 - 超管授权书审核。
|
|
26066
|
+
* 3 - 认证完成。
|
|
26067
|
+
:type JumpEventType: int
|
|
26068
|
+
:param _JumpUrl: 为认证成功后页面进行回跳的URL,请确保回跳地址的可用性。
|
|
26069
|
+
Endpoint如果是APP 类型,请传递<font color="red">"true"</font>
|
|
26070
|
+
如果 Endpoint 是 H5 类型,请参考文档[跳转电子签H5](https://qian.tencent.com/developers/partner/openqianh5)
|
|
26071
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
26072
|
+
:type JumpUrl: str
|
|
26073
|
+
"""
|
|
26074
|
+
self._JumpEventType = None
|
|
26075
|
+
self._JumpUrl = None
|
|
26076
|
+
|
|
26077
|
+
@property
|
|
26078
|
+
def JumpEventType(self):
|
|
26079
|
+
r"""跳转事件枚举,
|
|
26080
|
+
* 1 - 企业收录。
|
|
26081
|
+
* 2 - 超管授权书审核。
|
|
26082
|
+
* 3 - 认证完成。
|
|
26083
|
+
:rtype: int
|
|
26084
|
+
"""
|
|
26085
|
+
return self._JumpEventType
|
|
26086
|
+
|
|
26087
|
+
@JumpEventType.setter
|
|
26088
|
+
def JumpEventType(self, JumpEventType):
|
|
26089
|
+
self._JumpEventType = JumpEventType
|
|
26090
|
+
|
|
26091
|
+
@property
|
|
26092
|
+
def JumpUrl(self):
|
|
26093
|
+
r"""为认证成功后页面进行回跳的URL,请确保回跳地址的可用性。
|
|
26094
|
+
Endpoint如果是APP 类型,请传递<font color="red">"true"</font>
|
|
26095
|
+
如果 Endpoint 是 H5 类型,请参考文档[跳转电子签H5](https://qian.tencent.com/developers/partner/openqianh5)
|
|
26096
|
+
p.s. 如果Endpoint是 APP,传递的跳转地址无效,不会进行跳转,仅会进行回跳。
|
|
26097
|
+
:rtype: str
|
|
26098
|
+
"""
|
|
26099
|
+
return self._JumpUrl
|
|
26100
|
+
|
|
26101
|
+
@JumpUrl.setter
|
|
26102
|
+
def JumpUrl(self, JumpUrl):
|
|
26103
|
+
self._JumpUrl = JumpUrl
|
|
26104
|
+
|
|
26105
|
+
|
|
26106
|
+
def _deserialize(self, params):
|
|
26107
|
+
self._JumpEventType = params.get("JumpEventType")
|
|
26108
|
+
self._JumpUrl = params.get("JumpUrl")
|
|
26109
|
+
memeber_set = set(params.keys())
|
|
26110
|
+
for name, value in vars(self).items():
|
|
26111
|
+
property_name = name[1:]
|
|
26112
|
+
if property_name in memeber_set:
|
|
26113
|
+
memeber_set.remove(property_name)
|
|
26114
|
+
if len(memeber_set) > 0:
|
|
26115
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26116
|
+
|
|
26117
|
+
|
|
26118
|
+
|
|
25990
26119
|
class ModifyExtendedServiceRequest(AbstractModel):
|
|
25991
26120
|
r"""ModifyExtendedService请求参数结构体
|
|
25992
26121
|
|
|
@@ -718,6 +718,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
718
718
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
719
719
|
|
|
720
720
|
|
|
721
|
+
def CreateTWeSeeService(self, request):
|
|
722
|
+
r"""开通 TWeSee 后付费服务
|
|
723
|
+
|
|
724
|
+
:param request: Request instance for CreateTWeSeeService.
|
|
725
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceRequest`
|
|
726
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceResponse`
|
|
727
|
+
|
|
728
|
+
"""
|
|
729
|
+
try:
|
|
730
|
+
params = request._serialize()
|
|
731
|
+
headers = request.headers
|
|
732
|
+
body = self.call("CreateTWeSeeService", params, headers=headers)
|
|
733
|
+
response = json.loads(body)
|
|
734
|
+
model = models.CreateTWeSeeServiceResponse()
|
|
735
|
+
model._deserialize(response["Response"])
|
|
736
|
+
return model
|
|
737
|
+
except Exception as e:
|
|
738
|
+
if isinstance(e, TencentCloudSDKException):
|
|
739
|
+
raise
|
|
740
|
+
else:
|
|
741
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
742
|
+
|
|
743
|
+
|
|
721
744
|
def CreateTWeTalkProductConfig(self, request):
|
|
722
745
|
r"""用于配置TWeTalk服务连接产品配置信息。
|
|
723
746
|
|
|
@@ -4312,6 +4335,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
4312
4335
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4313
4336
|
|
|
4314
4337
|
|
|
4338
|
+
def UpdateOtaTaskStatus(self, request):
|
|
4339
|
+
r"""本接口(UpdateOtaTask)当固件升级大任务处于没有在全部成功的状态时,可修改为取消状态,取消部分或全部设备的升级;或其它允许的可修改的状态。
|
|
4340
|
+
|
|
4341
|
+
:param request: Request instance for UpdateOtaTaskStatus.
|
|
4342
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusRequest`
|
|
4343
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusResponse`
|
|
4344
|
+
|
|
4345
|
+
"""
|
|
4346
|
+
try:
|
|
4347
|
+
params = request._serialize()
|
|
4348
|
+
headers = request.headers
|
|
4349
|
+
body = self.call("UpdateOtaTaskStatus", params, headers=headers)
|
|
4350
|
+
response = json.loads(body)
|
|
4351
|
+
model = models.UpdateOtaTaskStatusResponse()
|
|
4352
|
+
model._deserialize(response["Response"])
|
|
4353
|
+
return model
|
|
4354
|
+
except Exception as e:
|
|
4355
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4356
|
+
raise
|
|
4357
|
+
else:
|
|
4358
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4359
|
+
|
|
4360
|
+
|
|
4315
4361
|
def UploadFirmware(self, request):
|
|
4316
4362
|
r"""本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
4317
4363
|
|
|
@@ -6541,6 +6541,74 @@ class CreateTWeSeeRecognitionTaskResponse(AbstractModel):
|
|
|
6541
6541
|
self._RequestId = params.get("RequestId")
|
|
6542
6542
|
|
|
6543
6543
|
|
|
6544
|
+
class CreateTWeSeeServiceRequest(AbstractModel):
|
|
6545
|
+
r"""CreateTWeSeeService请求参数结构体
|
|
6546
|
+
|
|
6547
|
+
"""
|
|
6548
|
+
|
|
6549
|
+
def __init__(self):
|
|
6550
|
+
r"""
|
|
6551
|
+
:param _Service: 服务类型
|
|
6552
|
+
1.VideoSummary
|
|
6553
|
+
2.ImageSummary
|
|
6554
|
+
:type Service: str
|
|
6555
|
+
"""
|
|
6556
|
+
self._Service = None
|
|
6557
|
+
|
|
6558
|
+
@property
|
|
6559
|
+
def Service(self):
|
|
6560
|
+
r"""服务类型
|
|
6561
|
+
1.VideoSummary
|
|
6562
|
+
2.ImageSummary
|
|
6563
|
+
:rtype: str
|
|
6564
|
+
"""
|
|
6565
|
+
return self._Service
|
|
6566
|
+
|
|
6567
|
+
@Service.setter
|
|
6568
|
+
def Service(self, Service):
|
|
6569
|
+
self._Service = Service
|
|
6570
|
+
|
|
6571
|
+
|
|
6572
|
+
def _deserialize(self, params):
|
|
6573
|
+
self._Service = params.get("Service")
|
|
6574
|
+
memeber_set = set(params.keys())
|
|
6575
|
+
for name, value in vars(self).items():
|
|
6576
|
+
property_name = name[1:]
|
|
6577
|
+
if property_name in memeber_set:
|
|
6578
|
+
memeber_set.remove(property_name)
|
|
6579
|
+
if len(memeber_set) > 0:
|
|
6580
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6581
|
+
|
|
6582
|
+
|
|
6583
|
+
|
|
6584
|
+
class CreateTWeSeeServiceResponse(AbstractModel):
|
|
6585
|
+
r"""CreateTWeSeeService返回参数结构体
|
|
6586
|
+
|
|
6587
|
+
"""
|
|
6588
|
+
|
|
6589
|
+
def __init__(self):
|
|
6590
|
+
r"""
|
|
6591
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6592
|
+
:type RequestId: str
|
|
6593
|
+
"""
|
|
6594
|
+
self._RequestId = None
|
|
6595
|
+
|
|
6596
|
+
@property
|
|
6597
|
+
def RequestId(self):
|
|
6598
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6599
|
+
:rtype: str
|
|
6600
|
+
"""
|
|
6601
|
+
return self._RequestId
|
|
6602
|
+
|
|
6603
|
+
@RequestId.setter
|
|
6604
|
+
def RequestId(self, RequestId):
|
|
6605
|
+
self._RequestId = RequestId
|
|
6606
|
+
|
|
6607
|
+
|
|
6608
|
+
def _deserialize(self, params):
|
|
6609
|
+
self._RequestId = params.get("RequestId")
|
|
6610
|
+
|
|
6611
|
+
|
|
6544
6612
|
class CreateTWeTalkProductConfigRequest(AbstractModel):
|
|
6545
6613
|
r"""CreateTWeTalkProductConfig请求参数结构体
|
|
6546
6614
|
|
|
@@ -34998,6 +35066,100 @@ class UpdateOtaModuleResponse(AbstractModel):
|
|
|
34998
35066
|
self._RequestId = params.get("RequestId")
|
|
34999
35067
|
|
|
35000
35068
|
|
|
35069
|
+
class UpdateOtaTaskStatusRequest(AbstractModel):
|
|
35070
|
+
r"""UpdateOtaTaskStatus请求参数结构体
|
|
35071
|
+
|
|
35072
|
+
"""
|
|
35073
|
+
|
|
35074
|
+
def __init__(self):
|
|
35075
|
+
r"""
|
|
35076
|
+
:param _ProductId: 产品ID
|
|
35077
|
+
:type ProductId: str
|
|
35078
|
+
:param _TaskId: 固件升级任务ID
|
|
35079
|
+
:type TaskId: int
|
|
35080
|
+
:param _Status: 固件任务取消状态
|
|
35081
|
+
:type Status: int
|
|
35082
|
+
"""
|
|
35083
|
+
self._ProductId = None
|
|
35084
|
+
self._TaskId = None
|
|
35085
|
+
self._Status = None
|
|
35086
|
+
|
|
35087
|
+
@property
|
|
35088
|
+
def ProductId(self):
|
|
35089
|
+
r"""产品ID
|
|
35090
|
+
:rtype: str
|
|
35091
|
+
"""
|
|
35092
|
+
return self._ProductId
|
|
35093
|
+
|
|
35094
|
+
@ProductId.setter
|
|
35095
|
+
def ProductId(self, ProductId):
|
|
35096
|
+
self._ProductId = ProductId
|
|
35097
|
+
|
|
35098
|
+
@property
|
|
35099
|
+
def TaskId(self):
|
|
35100
|
+
r"""固件升级任务ID
|
|
35101
|
+
:rtype: int
|
|
35102
|
+
"""
|
|
35103
|
+
return self._TaskId
|
|
35104
|
+
|
|
35105
|
+
@TaskId.setter
|
|
35106
|
+
def TaskId(self, TaskId):
|
|
35107
|
+
self._TaskId = TaskId
|
|
35108
|
+
|
|
35109
|
+
@property
|
|
35110
|
+
def Status(self):
|
|
35111
|
+
r"""固件任务取消状态
|
|
35112
|
+
:rtype: int
|
|
35113
|
+
"""
|
|
35114
|
+
return self._Status
|
|
35115
|
+
|
|
35116
|
+
@Status.setter
|
|
35117
|
+
def Status(self, Status):
|
|
35118
|
+
self._Status = Status
|
|
35119
|
+
|
|
35120
|
+
|
|
35121
|
+
def _deserialize(self, params):
|
|
35122
|
+
self._ProductId = params.get("ProductId")
|
|
35123
|
+
self._TaskId = params.get("TaskId")
|
|
35124
|
+
self._Status = params.get("Status")
|
|
35125
|
+
memeber_set = set(params.keys())
|
|
35126
|
+
for name, value in vars(self).items():
|
|
35127
|
+
property_name = name[1:]
|
|
35128
|
+
if property_name in memeber_set:
|
|
35129
|
+
memeber_set.remove(property_name)
|
|
35130
|
+
if len(memeber_set) > 0:
|
|
35131
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35132
|
+
|
|
35133
|
+
|
|
35134
|
+
|
|
35135
|
+
class UpdateOtaTaskStatusResponse(AbstractModel):
|
|
35136
|
+
r"""UpdateOtaTaskStatus返回参数结构体
|
|
35137
|
+
|
|
35138
|
+
"""
|
|
35139
|
+
|
|
35140
|
+
def __init__(self):
|
|
35141
|
+
r"""
|
|
35142
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35143
|
+
:type RequestId: str
|
|
35144
|
+
"""
|
|
35145
|
+
self._RequestId = None
|
|
35146
|
+
|
|
35147
|
+
@property
|
|
35148
|
+
def RequestId(self):
|
|
35149
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35150
|
+
:rtype: str
|
|
35151
|
+
"""
|
|
35152
|
+
return self._RequestId
|
|
35153
|
+
|
|
35154
|
+
@RequestId.setter
|
|
35155
|
+
def RequestId(self, RequestId):
|
|
35156
|
+
self._RequestId = RequestId
|
|
35157
|
+
|
|
35158
|
+
|
|
35159
|
+
def _deserialize(self, params):
|
|
35160
|
+
self._RequestId = params.get("RequestId")
|
|
35161
|
+
|
|
35162
|
+
|
|
35001
35163
|
class UploadFirmwareRequest(AbstractModel):
|
|
35002
35164
|
r"""UploadFirmware请求参数结构体
|
|
35003
35165
|
|