tencentcloud-sdk-python 3.0.1406__py2.py3-none-any.whl → 3.0.1407__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/asr/v20190614/models.py +2 -2
- tencentcloud/cfs/v20190719/models.py +6 -6
- tencentcloud/es/v20250101/models.py +32 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +49 -0
- tencentcloud/ess/v20201111/models.py +378 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +52 -1
- tencentcloud/essbasic/v20210526/models.py +352 -0
- tencentcloud/hunyuan/v20230901/models.py +9 -5
- tencentcloud/live/v20180801/live_client.py +115 -0
- tencentcloud/live/v20180801/models.py +1006 -48
- tencentcloud/trocket/v20230308/models.py +305 -0
- tencentcloud/trocket/v20230308/trocket_client.py +29 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/top_level.txt +0 -0
@@ -2258,6 +2258,32 @@ class EssbasicClient(AbstractClient):
|
|
2258
2258
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2259
2259
|
|
2260
2260
|
|
2261
|
+
def CreateModifyAdminAuthorizationUrl(self, request):
|
2262
|
+
"""本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
|
2263
|
+
|
2264
|
+
注意:
|
2265
|
+
1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!授权书审核结果回调](https://qian.tencent.com/developers/partner/callback_types_staffs#%E5%9B%9B-%E6%8E%88%E6%9D%83%E4%B9%A6%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
2266
|
+
|
2267
|
+
:param request: Request instance for CreateModifyAdminAuthorizationUrl.
|
2268
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateModifyAdminAuthorizationUrlRequest`
|
2269
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateModifyAdminAuthorizationUrlResponse`
|
2270
|
+
|
2271
|
+
"""
|
2272
|
+
try:
|
2273
|
+
params = request._serialize()
|
2274
|
+
headers = request.headers
|
2275
|
+
body = self.call("CreateModifyAdminAuthorizationUrl", params, headers=headers)
|
2276
|
+
response = json.loads(body)
|
2277
|
+
model = models.CreateModifyAdminAuthorizationUrlResponse()
|
2278
|
+
model._deserialize(response["Response"])
|
2279
|
+
return model
|
2280
|
+
except Exception as e:
|
2281
|
+
if isinstance(e, TencentCloudSDKException):
|
2282
|
+
raise
|
2283
|
+
else:
|
2284
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2285
|
+
|
2286
|
+
|
2261
2287
|
def CreateOrganizationAuthFile(self, request):
|
2262
2288
|
"""生成合成后的各类企业授权书,包括:
|
2263
2289
|
- 企业认证超管授权书
|
@@ -2450,6 +2476,29 @@ class EssbasicClient(AbstractClient):
|
|
2450
2476
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2451
2477
|
|
2452
2478
|
|
2479
|
+
def DescribeBatchOrganizationRegistrationTasks(self, request):
|
2480
|
+
"""本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。
|
2481
|
+
|
2482
|
+
:param request: Request instance for DescribeBatchOrganizationRegistrationTasks.
|
2483
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationTasksRequest`
|
2484
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationTasksResponse`
|
2485
|
+
|
2486
|
+
"""
|
2487
|
+
try:
|
2488
|
+
params = request._serialize()
|
2489
|
+
headers = request.headers
|
2490
|
+
body = self.call("DescribeBatchOrganizationRegistrationTasks", params, headers=headers)
|
2491
|
+
response = json.loads(body)
|
2492
|
+
model = models.DescribeBatchOrganizationRegistrationTasksResponse()
|
2493
|
+
model._deserialize(response["Response"])
|
2494
|
+
return model
|
2495
|
+
except Exception as e:
|
2496
|
+
if isinstance(e, TencentCloudSDKException):
|
2497
|
+
raise
|
2498
|
+
else:
|
2499
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2500
|
+
|
2501
|
+
|
2453
2502
|
def DescribeBatchOrganizationRegistrationUrls(self, request):
|
2454
2503
|
"""此接口用于获取企业批量认证异步任务的状态及结果。需要先调用接口<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks" target="_blank">提交子企业批量认证链接创建任务</a>获取到任务ID,然后再调用此接口获取到各个子企业的注册认证链接。整体流程如下图。
|
2455
2504
|

|
@@ -3009,7 +3058,9 @@ class EssbasicClient(AbstractClient):
|
|
3009
3058
|
|
3010
3059
|
|
3011
3060
|
def PrepareFlows(self, request):
|
3012
|
-
"""
|
3061
|
+
"""已经不再使用
|
3062
|
+
|
3063
|
+
该接口 (PrepareFlows) 用于创建待发起文件
|
3013
3064
|
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
3014
3065
|
目前该接口只支持B2C,<font color='red'> **不建议使用**</font>。
|
3015
3066
|
|
@@ -1351,6 +1351,122 @@ class BaseFlowInfo(AbstractModel):
|
|
1351
1351
|
|
1352
1352
|
|
1353
1353
|
|
1354
|
+
class BatchOrganizationRegistrationTasksDetails(AbstractModel):
|
1355
|
+
"""批量认证企业任务详情信息,其中包括 TaskId,状态信息等等
|
1356
|
+
|
1357
|
+
"""
|
1358
|
+
|
1359
|
+
def __init__(self):
|
1360
|
+
r"""
|
1361
|
+
:param _TaskId: 生成注册链接的任务Id
|
1362
|
+
:type TaskId: str
|
1363
|
+
:param _Status: 批量创建企业任务的状态
|
1364
|
+
<ul>
|
1365
|
+
<li>Processing</li>
|
1366
|
+
<li>Create</li>
|
1367
|
+
<li>Submit</li>
|
1368
|
+
<li>Authorization</li>
|
1369
|
+
<li>Failed</li>
|
1370
|
+
</ul>
|
1371
|
+
|
1372
|
+
各个状态所代表的含义如下表格所示:
|
1373
|
+
<table>
|
1374
|
+
<thead align="center" valign="center">
|
1375
|
+
<tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
1376
|
+
</thead>
|
1377
|
+
<tbody>
|
1378
|
+
<tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
1379
|
+
<tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
1380
|
+
<tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
1381
|
+
|
1382
|
+
</th></tr>
|
1383
|
+
<tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
1384
|
+
|
1385
|
+
</th></tr>
|
1386
|
+
<tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
1387
|
+
</tbody>
|
1388
|
+
</table>
|
1389
|
+
:type Status: str
|
1390
|
+
:param _ErrorMessage: 如果任务失败,会返回错误信息
|
1391
|
+
:type ErrorMessage: str
|
1392
|
+
"""
|
1393
|
+
self._TaskId = None
|
1394
|
+
self._Status = None
|
1395
|
+
self._ErrorMessage = None
|
1396
|
+
|
1397
|
+
@property
|
1398
|
+
def TaskId(self):
|
1399
|
+
"""生成注册链接的任务Id
|
1400
|
+
:rtype: str
|
1401
|
+
"""
|
1402
|
+
return self._TaskId
|
1403
|
+
|
1404
|
+
@TaskId.setter
|
1405
|
+
def TaskId(self, TaskId):
|
1406
|
+
self._TaskId = TaskId
|
1407
|
+
|
1408
|
+
@property
|
1409
|
+
def Status(self):
|
1410
|
+
"""批量创建企业任务的状态
|
1411
|
+
<ul>
|
1412
|
+
<li>Processing</li>
|
1413
|
+
<li>Create</li>
|
1414
|
+
<li>Submit</li>
|
1415
|
+
<li>Authorization</li>
|
1416
|
+
<li>Failed</li>
|
1417
|
+
</ul>
|
1418
|
+
|
1419
|
+
各个状态所代表的含义如下表格所示:
|
1420
|
+
<table>
|
1421
|
+
<thead align="center" valign="center">
|
1422
|
+
<tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
1423
|
+
</thead>
|
1424
|
+
<tbody>
|
1425
|
+
<tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
1426
|
+
<tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
1427
|
+
<tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
1428
|
+
|
1429
|
+
</th></tr>
|
1430
|
+
<tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
1431
|
+
|
1432
|
+
</th></tr>
|
1433
|
+
<tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
1434
|
+
</tbody>
|
1435
|
+
</table>
|
1436
|
+
:rtype: str
|
1437
|
+
"""
|
1438
|
+
return self._Status
|
1439
|
+
|
1440
|
+
@Status.setter
|
1441
|
+
def Status(self, Status):
|
1442
|
+
self._Status = Status
|
1443
|
+
|
1444
|
+
@property
|
1445
|
+
def ErrorMessage(self):
|
1446
|
+
"""如果任务失败,会返回错误信息
|
1447
|
+
:rtype: str
|
1448
|
+
"""
|
1449
|
+
return self._ErrorMessage
|
1450
|
+
|
1451
|
+
@ErrorMessage.setter
|
1452
|
+
def ErrorMessage(self, ErrorMessage):
|
1453
|
+
self._ErrorMessage = ErrorMessage
|
1454
|
+
|
1455
|
+
|
1456
|
+
def _deserialize(self, params):
|
1457
|
+
self._TaskId = params.get("TaskId")
|
1458
|
+
self._Status = params.get("Status")
|
1459
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
1460
|
+
memeber_set = set(params.keys())
|
1461
|
+
for name, value in vars(self).items():
|
1462
|
+
property_name = name[1:]
|
1463
|
+
if property_name in memeber_set:
|
1464
|
+
memeber_set.remove(property_name)
|
1465
|
+
if len(memeber_set) > 0:
|
1466
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1467
|
+
|
1468
|
+
|
1469
|
+
|
1354
1470
|
class CancelFailureFlow(AbstractModel):
|
1355
1471
|
"""撤销失败的流程信息
|
1356
1472
|
|
@@ -16643,6 +16759,129 @@ class CreateLegalSealQrCodeResponse(AbstractModel):
|
|
16643
16759
|
self._RequestId = params.get("RequestId")
|
16644
16760
|
|
16645
16761
|
|
16762
|
+
class CreateModifyAdminAuthorizationUrlRequest(AbstractModel):
|
16763
|
+
"""CreateModifyAdminAuthorizationUrl请求参数结构体
|
16764
|
+
|
16765
|
+
"""
|
16766
|
+
|
16767
|
+
def __init__(self):
|
16768
|
+
r"""
|
16769
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
16770
|
+
|
16771
|
+
此接口下面信息必填。
|
16772
|
+
<ul>
|
16773
|
+
<li>渠道应用标识: Agent.AppId</li>
|
16774
|
+
</ul>
|
16775
|
+
|
16776
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
16777
|
+
:param _AuthorizationId: 企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
16778
|
+
:type AuthorizationId: str
|
16779
|
+
:param _Endpoint: 要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>
|
16780
|
+
:type Endpoint: str
|
16781
|
+
"""
|
16782
|
+
self._Agent = None
|
16783
|
+
self._AuthorizationId = None
|
16784
|
+
self._Endpoint = None
|
16785
|
+
|
16786
|
+
@property
|
16787
|
+
def Agent(self):
|
16788
|
+
"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
16789
|
+
|
16790
|
+
此接口下面信息必填。
|
16791
|
+
<ul>
|
16792
|
+
<li>渠道应用标识: Agent.AppId</li>
|
16793
|
+
</ul>
|
16794
|
+
|
16795
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
16796
|
+
"""
|
16797
|
+
return self._Agent
|
16798
|
+
|
16799
|
+
@Agent.setter
|
16800
|
+
def Agent(self, Agent):
|
16801
|
+
self._Agent = Agent
|
16802
|
+
|
16803
|
+
@property
|
16804
|
+
def AuthorizationId(self):
|
16805
|
+
"""企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
16806
|
+
:rtype: str
|
16807
|
+
"""
|
16808
|
+
return self._AuthorizationId
|
16809
|
+
|
16810
|
+
@AuthorizationId.setter
|
16811
|
+
def AuthorizationId(self, AuthorizationId):
|
16812
|
+
self._AuthorizationId = AuthorizationId
|
16813
|
+
|
16814
|
+
@property
|
16815
|
+
def Endpoint(self):
|
16816
|
+
"""要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>
|
16817
|
+
:rtype: str
|
16818
|
+
"""
|
16819
|
+
return self._Endpoint
|
16820
|
+
|
16821
|
+
@Endpoint.setter
|
16822
|
+
def Endpoint(self, Endpoint):
|
16823
|
+
self._Endpoint = Endpoint
|
16824
|
+
|
16825
|
+
|
16826
|
+
def _deserialize(self, params):
|
16827
|
+
if params.get("Agent") is not None:
|
16828
|
+
self._Agent = Agent()
|
16829
|
+
self._Agent._deserialize(params.get("Agent"))
|
16830
|
+
self._AuthorizationId = params.get("AuthorizationId")
|
16831
|
+
self._Endpoint = params.get("Endpoint")
|
16832
|
+
memeber_set = set(params.keys())
|
16833
|
+
for name, value in vars(self).items():
|
16834
|
+
property_name = name[1:]
|
16835
|
+
if property_name in memeber_set:
|
16836
|
+
memeber_set.remove(property_name)
|
16837
|
+
if len(memeber_set) > 0:
|
16838
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16839
|
+
|
16840
|
+
|
16841
|
+
|
16842
|
+
class CreateModifyAdminAuthorizationUrlResponse(AbstractModel):
|
16843
|
+
"""CreateModifyAdminAuthorizationUrl返回参数结构体
|
16844
|
+
|
16845
|
+
"""
|
16846
|
+
|
16847
|
+
def __init__(self):
|
16848
|
+
r"""
|
16849
|
+
:param _Url: 变更企业超管授权书链接。没有有效期限制。注意:此链接仅能由当时认证企业的认证人使用。
|
16850
|
+
:type Url: str
|
16851
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16852
|
+
:type RequestId: str
|
16853
|
+
"""
|
16854
|
+
self._Url = None
|
16855
|
+
self._RequestId = None
|
16856
|
+
|
16857
|
+
@property
|
16858
|
+
def Url(self):
|
16859
|
+
"""变更企业超管授权书链接。没有有效期限制。注意:此链接仅能由当时认证企业的认证人使用。
|
16860
|
+
:rtype: str
|
16861
|
+
"""
|
16862
|
+
return self._Url
|
16863
|
+
|
16864
|
+
@Url.setter
|
16865
|
+
def Url(self, Url):
|
16866
|
+
self._Url = Url
|
16867
|
+
|
16868
|
+
@property
|
16869
|
+
def RequestId(self):
|
16870
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16871
|
+
:rtype: str
|
16872
|
+
"""
|
16873
|
+
return self._RequestId
|
16874
|
+
|
16875
|
+
@RequestId.setter
|
16876
|
+
def RequestId(self, RequestId):
|
16877
|
+
self._RequestId = RequestId
|
16878
|
+
|
16879
|
+
|
16880
|
+
def _deserialize(self, params):
|
16881
|
+
self._Url = params.get("Url")
|
16882
|
+
self._RequestId = params.get("RequestId")
|
16883
|
+
|
16884
|
+
|
16646
16885
|
class CreateOrganizationAuthFileRequest(AbstractModel):
|
16647
16886
|
"""CreateOrganizationAuthFile请求参数结构体
|
16648
16887
|
|
@@ -18314,6 +18553,119 @@ class Department(AbstractModel):
|
|
18314
18553
|
|
18315
18554
|
|
18316
18555
|
|
18556
|
+
class DescribeBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
18557
|
+
"""DescribeBatchOrganizationRegistrationTasks请求参数结构体
|
18558
|
+
|
18559
|
+
"""
|
18560
|
+
|
18561
|
+
def __init__(self):
|
18562
|
+
r"""
|
18563
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
18564
|
+
|
18565
|
+
此接口下面信息必填。
|
18566
|
+
<ul>
|
18567
|
+
<li>渠道应用标识: Agent.AppId</li>
|
18568
|
+
</ul>
|
18569
|
+
|
18570
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
18571
|
+
:param _TaskIds: 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
18572
|
+
:type TaskIds: list of str
|
18573
|
+
"""
|
18574
|
+
self._Agent = None
|
18575
|
+
self._TaskIds = None
|
18576
|
+
|
18577
|
+
@property
|
18578
|
+
def Agent(self):
|
18579
|
+
"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
18580
|
+
|
18581
|
+
此接口下面信息必填。
|
18582
|
+
<ul>
|
18583
|
+
<li>渠道应用标识: Agent.AppId</li>
|
18584
|
+
</ul>
|
18585
|
+
|
18586
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
18587
|
+
"""
|
18588
|
+
return self._Agent
|
18589
|
+
|
18590
|
+
@Agent.setter
|
18591
|
+
def Agent(self, Agent):
|
18592
|
+
self._Agent = Agent
|
18593
|
+
|
18594
|
+
@property
|
18595
|
+
def TaskIds(self):
|
18596
|
+
"""企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
18597
|
+
:rtype: list of str
|
18598
|
+
"""
|
18599
|
+
return self._TaskIds
|
18600
|
+
|
18601
|
+
@TaskIds.setter
|
18602
|
+
def TaskIds(self, TaskIds):
|
18603
|
+
self._TaskIds = TaskIds
|
18604
|
+
|
18605
|
+
|
18606
|
+
def _deserialize(self, params):
|
18607
|
+
if params.get("Agent") is not None:
|
18608
|
+
self._Agent = Agent()
|
18609
|
+
self._Agent._deserialize(params.get("Agent"))
|
18610
|
+
self._TaskIds = params.get("TaskIds")
|
18611
|
+
memeber_set = set(params.keys())
|
18612
|
+
for name, value in vars(self).items():
|
18613
|
+
property_name = name[1:]
|
18614
|
+
if property_name in memeber_set:
|
18615
|
+
memeber_set.remove(property_name)
|
18616
|
+
if len(memeber_set) > 0:
|
18617
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18618
|
+
|
18619
|
+
|
18620
|
+
|
18621
|
+
class DescribeBatchOrganizationRegistrationTasksResponse(AbstractModel):
|
18622
|
+
"""DescribeBatchOrganizationRegistrationTasks返回参数结构体
|
18623
|
+
|
18624
|
+
"""
|
18625
|
+
|
18626
|
+
def __init__(self):
|
18627
|
+
r"""
|
18628
|
+
:param _Details: 企业批量任务状态明细
|
18629
|
+
:type Details: list of BatchOrganizationRegistrationTasksDetails
|
18630
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18631
|
+
:type RequestId: str
|
18632
|
+
"""
|
18633
|
+
self._Details = None
|
18634
|
+
self._RequestId = None
|
18635
|
+
|
18636
|
+
@property
|
18637
|
+
def Details(self):
|
18638
|
+
"""企业批量任务状态明细
|
18639
|
+
:rtype: list of BatchOrganizationRegistrationTasksDetails
|
18640
|
+
"""
|
18641
|
+
return self._Details
|
18642
|
+
|
18643
|
+
@Details.setter
|
18644
|
+
def Details(self, Details):
|
18645
|
+
self._Details = Details
|
18646
|
+
|
18647
|
+
@property
|
18648
|
+
def RequestId(self):
|
18649
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18650
|
+
:rtype: str
|
18651
|
+
"""
|
18652
|
+
return self._RequestId
|
18653
|
+
|
18654
|
+
@RequestId.setter
|
18655
|
+
def RequestId(self, RequestId):
|
18656
|
+
self._RequestId = RequestId
|
18657
|
+
|
18658
|
+
|
18659
|
+
def _deserialize(self, params):
|
18660
|
+
if params.get("Details") is not None:
|
18661
|
+
self._Details = []
|
18662
|
+
for item in params.get("Details"):
|
18663
|
+
obj = BatchOrganizationRegistrationTasksDetails()
|
18664
|
+
obj._deserialize(item)
|
18665
|
+
self._Details.append(obj)
|
18666
|
+
self._RequestId = params.get("RequestId")
|
18667
|
+
|
18668
|
+
|
18317
18669
|
class DescribeBatchOrganizationRegistrationUrlsRequest(AbstractModel):
|
18318
18670
|
"""DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
18319
18671
|
|
@@ -236,7 +236,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
236
236
|
|
237
237
|
def __init__(self):
|
238
238
|
r"""
|
239
|
-
:param _Model:
|
239
|
+
:param _Model: 模型名称,可选值参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中混元生文模型列表。
|
240
|
+
示例值:hunyuan-turbos-latest
|
241
|
+
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
240
242
|
:type Model: str
|
241
243
|
:param _Messages: 聊天上下文信息。
|
242
244
|
说明:
|
@@ -363,7 +365,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
363
365
|
|
364
366
|
@property
|
365
367
|
def Model(self):
|
366
|
-
"""
|
368
|
+
"""模型名称,可选值参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中混元生文模型列表。
|
369
|
+
示例值:hunyuan-turbos-latest
|
370
|
+
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
367
371
|
:rtype: str
|
368
372
|
"""
|
369
373
|
return self._Model
|
@@ -1340,7 +1344,7 @@ tool_calls 标识函数调用。
|
|
1340
1344
|
|
1341
1345
|
|
1342
1346
|
class Content(AbstractModel):
|
1343
|
-
"""
|
1347
|
+
"""可以传入多种类型的内容,如图片、文本。
|
1344
1348
|
|
1345
1349
|
"""
|
1346
1350
|
|
@@ -1348,7 +1352,7 @@ class Content(AbstractModel):
|
|
1348
1352
|
r"""
|
1349
1353
|
:param _Type: 内容类型
|
1350
1354
|
注意:
|
1351
|
-
需包含至少一个 Type 为"text"
|
1355
|
+
需包含至少一个 Type 为"text"的参数。
|
1352
1356
|
参数值可选范围:[text", "image_url"]
|
1353
1357
|
注意:此字段可能返回 null,表示取不到有效值。
|
1354
1358
|
:type Type: str
|
@@ -1368,7 +1372,7 @@ class Content(AbstractModel):
|
|
1368
1372
|
def Type(self):
|
1369
1373
|
"""内容类型
|
1370
1374
|
注意:
|
1371
|
-
需包含至少一个 Type 为"text"
|
1375
|
+
需包含至少一个 Type 为"text"的参数。
|
1372
1376
|
参数值可选范围:[text", "image_url"]
|
1373
1377
|
注意:此字段可能返回 null,表示取不到有效值。
|
1374
1378
|
:rtype: str
|
@@ -2146,6 +2146,29 @@ class LiveClient(AbstractClient):
|
|
2146
2146
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2147
2147
|
|
2148
2148
|
|
2149
|
+
def DescribeLiveCloudEffectList(self, request):
|
2150
|
+
"""使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
|
2151
|
+
|
2152
|
+
:param request: Request instance for DescribeLiveCloudEffectList.
|
2153
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveCloudEffectListRequest`
|
2154
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeLiveCloudEffectListResponse`
|
2155
|
+
|
2156
|
+
"""
|
2157
|
+
try:
|
2158
|
+
params = request._serialize()
|
2159
|
+
headers = request.headers
|
2160
|
+
body = self.call("DescribeLiveCloudEffectList", params, headers=headers)
|
2161
|
+
response = json.loads(body)
|
2162
|
+
model = models.DescribeLiveCloudEffectListResponse()
|
2163
|
+
model._deserialize(response["Response"])
|
2164
|
+
return model
|
2165
|
+
except Exception as e:
|
2166
|
+
if isinstance(e, TencentCloudSDKException):
|
2167
|
+
raise
|
2168
|
+
else:
|
2169
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2170
|
+
|
2171
|
+
|
2149
2172
|
def DescribeLiveDelayInfoList(self, request):
|
2150
2173
|
"""获取直播延播列表。
|
2151
2174
|
|
@@ -2426,6 +2449,29 @@ class LiveClient(AbstractClient):
|
|
2426
2449
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2427
2450
|
|
2428
2451
|
|
2452
|
+
def DescribeLivePadStreamList(self, request):
|
2453
|
+
"""使用该接口查询垫片流列表。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
2454
|
+
|
2455
|
+
:param request: Request instance for DescribeLivePadStreamList.
|
2456
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLivePadStreamListRequest`
|
2457
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeLivePadStreamListResponse`
|
2458
|
+
|
2459
|
+
"""
|
2460
|
+
try:
|
2461
|
+
params = request._serialize()
|
2462
|
+
headers = request.headers
|
2463
|
+
body = self.call("DescribeLivePadStreamList", params, headers=headers)
|
2464
|
+
response = json.loads(body)
|
2465
|
+
model = models.DescribeLivePadStreamListResponse()
|
2466
|
+
model._deserialize(response["Response"])
|
2467
|
+
return model
|
2468
|
+
except Exception as e:
|
2469
|
+
if isinstance(e, TencentCloudSDKException):
|
2470
|
+
raise
|
2471
|
+
else:
|
2472
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2473
|
+
|
2474
|
+
|
2429
2475
|
def DescribeLivePadTemplate(self, request):
|
2430
2476
|
"""获取单个直播垫片模板
|
2431
2477
|
|
@@ -4391,6 +4437,52 @@ class LiveClient(AbstractClient):
|
|
4391
4437
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4392
4438
|
|
4393
4439
|
|
4440
|
+
def SendLiveCloudEffect(self, request):
|
4441
|
+
"""使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
|
4442
|
+
|
4443
|
+
:param request: Request instance for SendLiveCloudEffect.
|
4444
|
+
:type request: :class:`tencentcloud.live.v20180801.models.SendLiveCloudEffectRequest`
|
4445
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.SendLiveCloudEffectResponse`
|
4446
|
+
|
4447
|
+
"""
|
4448
|
+
try:
|
4449
|
+
params = request._serialize()
|
4450
|
+
headers = request.headers
|
4451
|
+
body = self.call("SendLiveCloudEffect", params, headers=headers)
|
4452
|
+
response = json.loads(body)
|
4453
|
+
model = models.SendLiveCloudEffectResponse()
|
4454
|
+
model._deserialize(response["Response"])
|
4455
|
+
return model
|
4456
|
+
except Exception as e:
|
4457
|
+
if isinstance(e, TencentCloudSDKException):
|
4458
|
+
raise
|
4459
|
+
else:
|
4460
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4461
|
+
|
4462
|
+
|
4463
|
+
def StartLivePadStream(self, request):
|
4464
|
+
"""使用该接口将直播流开始切入垫片。
|
4465
|
+
|
4466
|
+
:param request: Request instance for StartLivePadStream.
|
4467
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StartLivePadStreamRequest`
|
4468
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StartLivePadStreamResponse`
|
4469
|
+
|
4470
|
+
"""
|
4471
|
+
try:
|
4472
|
+
params = request._serialize()
|
4473
|
+
headers = request.headers
|
4474
|
+
body = self.call("StartLivePadStream", params, headers=headers)
|
4475
|
+
response = json.loads(body)
|
4476
|
+
model = models.StartLivePadStreamResponse()
|
4477
|
+
model._deserialize(response["Response"])
|
4478
|
+
return model
|
4479
|
+
except Exception as e:
|
4480
|
+
if isinstance(e, TencentCloudSDKException):
|
4481
|
+
raise
|
4482
|
+
else:
|
4483
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4484
|
+
|
4485
|
+
|
4394
4486
|
def StartLiveStreamMonitor(self, request):
|
4395
4487
|
"""该接口用来启动直播流监播任务。
|
4396
4488
|
|
@@ -4484,6 +4576,29 @@ class LiveClient(AbstractClient):
|
|
4484
4576
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4485
4577
|
|
4486
4578
|
|
4579
|
+
def StopLivePadStream(self, request):
|
4580
|
+
"""使用该接口将直播流停止切入垫片。
|
4581
|
+
|
4582
|
+
:param request: Request instance for StopLivePadStream.
|
4583
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StopLivePadStreamRequest`
|
4584
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StopLivePadStreamResponse`
|
4585
|
+
|
4586
|
+
"""
|
4587
|
+
try:
|
4588
|
+
params = request._serialize()
|
4589
|
+
headers = request.headers
|
4590
|
+
body = self.call("StopLivePadStream", params, headers=headers)
|
4591
|
+
response = json.loads(body)
|
4592
|
+
model = models.StopLivePadStreamResponse()
|
4593
|
+
model._deserialize(response["Response"])
|
4594
|
+
return model
|
4595
|
+
except Exception as e:
|
4596
|
+
if isinstance(e, TencentCloudSDKException):
|
4597
|
+
raise
|
4598
|
+
else:
|
4599
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4600
|
+
|
4601
|
+
|
4487
4602
|
def StopLiveRecord(self, request):
|
4488
4603
|
"""说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
|
4489
4604
|
|