tencentcloud-sdk-python 3.0.1281__py2.py3-none-any.whl → 3.0.1283__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdb/v20170320/models.py +8 -4
  3. tencentcloud/cwp/v20180228/cwp_client.py +138 -0
  4. tencentcloud/cwp/v20180228/models.py +1015 -162
  5. tencentcloud/ess/v20201111/models.py +8 -4
  6. tencentcloud/essbasic/v20210526/models.py +40 -14
  7. tencentcloud/faceid/v20180301/models.py +34 -0
  8. tencentcloud/hunyuan/v20230901/models.py +15 -0
  9. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +52 -2
  10. tencentcloud/iotexplorer/v20190423/models.py +301 -0
  11. tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
  12. tencentcloud/iotvideo/v20211125/models.py +301 -0
  13. tencentcloud/lighthouse/v20200324/models.py +12 -1
  14. tencentcloud/lke/v20231130/models.py +4 -4
  15. tencentcloud/memcached/v20190318/models.py +0 -6
  16. tencentcloud/ocr/v20181119/ocr_client.py +2 -0
  17. tencentcloud/ssl/v20191205/models.py +15 -0
  18. tencentcloud/tcbr/v20220217/models.py +0 -42
  19. tencentcloud/trocket/v20230308/models.py +30 -0
  20. tencentcloud/tsf/v20180326/errorcodes.py +18 -0
  21. tencentcloud/tsf/v20180326/models.py +106 -30
  22. tencentcloud/vpc/v20170312/models.py +23 -0
  23. tencentcloud/wedata/v20210820/models.py +147 -0
  24. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/top_level.txt +0 -0
@@ -30823,8 +30823,10 @@ class TemplateInfo(AbstractModel):
30823
30823
  :type OrganizationId: str
30824
30824
  :param _CreatorId: 模板创建人用户ID
30825
30825
  :type CreatorId: str
30826
- :param _PreviewUrl: 模板的H5预览链接,有效期5分钟。
30827
- 可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
30826
+ :param _PreviewUrl: 模板的 H5 预览链接,有效期为 5 分钟。
30827
+ 您可以通过浏览器直接打开此链接预览模板,或将其嵌入到 iframe 中进行预览。
30828
+
30829
+ 注意:只有在请求接口时将 <b>WithPreviewUrl </b>参数设置为 true,才会生成预览链接。
30828
30830
  注意:此字段可能返回 null,表示取不到有效值。
30829
30831
  :type PreviewUrl: str
30830
30832
  :param _UserFlowType: 用户自定义合同类型。
@@ -31108,8 +31110,10 @@ class TemplateInfo(AbstractModel):
31108
31110
 
31109
31111
  @property
31110
31112
  def PreviewUrl(self):
31111
- """模板的H5预览链接,有效期5分钟。
31112
- 可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
31113
+ """模板的 H5 预览链接,有效期为 5 分钟。
31114
+ 您可以通过浏览器直接打开此链接预览模板,或将其嵌入到 iframe 中进行预览。
31115
+
31116
+ 注意:只有在请求接口时将 <b>WithPreviewUrl </b>参数设置为 true,才会生成预览链接。
31113
31117
  注意:此字段可能返回 null,表示取不到有效值。
31114
31118
  :rtype: str
31115
31119
  """
@@ -12951,13 +12951,13 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
12951
12951
 
12952
12952
  def __init__(self):
12953
12953
  r"""
12954
- :param _MiniAppPath: 小程序路径
12954
+ :param _MiniAppPath: 小程序路径,有效时间为7天
12955
12955
  :type MiniAppPath: str
12956
- :param _OperateLongUrl: 操作长链
12956
+ :param _OperateLongUrl: 操作长链,有效时间为7天
12957
12957
  :type OperateLongUrl: str
12958
- :param _OperateShortUrl: 操作短链
12958
+ :param _OperateShortUrl: 操作短链,有效时间为7天
12959
12959
  :type OperateShortUrl: str
12960
- :param _QRCodeUrl: 操作二维码
12960
+ :param _QRCodeUrl: 操作二维码,有效时间为7天
12961
12961
  :type QRCodeUrl: str
12962
12962
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12963
12963
  :type RequestId: str
@@ -12970,7 +12970,7 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
12970
12970
 
12971
12971
  @property
12972
12972
  def MiniAppPath(self):
12973
- """小程序路径
12973
+ """小程序路径,有效时间为7天
12974
12974
  :rtype: str
12975
12975
  """
12976
12976
  return self._MiniAppPath
@@ -12981,7 +12981,7 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
12981
12981
 
12982
12982
  @property
12983
12983
  def OperateLongUrl(self):
12984
- """操作长链
12984
+ """操作长链,有效时间为7天
12985
12985
  :rtype: str
12986
12986
  """
12987
12987
  return self._OperateLongUrl
@@ -12992,7 +12992,7 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
12992
12992
 
12993
12993
  @property
12994
12994
  def OperateShortUrl(self):
12995
- """操作短链
12995
+ """操作短链,有效时间为7天
12996
12996
  :rtype: str
12997
12997
  """
12998
12998
  return self._OperateShortUrl
@@ -13003,7 +13003,7 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
13003
13003
 
13004
13004
  @property
13005
13005
  def QRCodeUrl(self):
13006
- """操作二维码
13006
+ """操作二维码,有效时间为7天
13007
13007
  :rtype: str
13008
13008
  """
13009
13009
  return self._QRCodeUrl
@@ -27367,12 +27367,23 @@ class TemplateInfo(AbstractModel):
27367
27367
  :param _Description: 模板描述信息
27368
27368
  :type Description: str
27369
27369
  :param _Components: 模板的填充控件列表
27370
+
27371
+ [点击查看在模板中配置的填充控件的样子](https://qcloudimg.tencent-cloud.cn/raw/cb2f58529fca8d909258f9d45a56f7f4.png)
27370
27372
  :type Components: list of Component
27371
27373
  :param _Recipients: 此模块需要签署的各个参与方的角色列表。RecipientId标识每个参与方角色对应的唯一标识符,用于确定此角色的信息。
27374
+
27375
+ [点击查看在模板中配置的签署参与方角色列表的样子](https://qcloudimg.tencent-cloud.cn/raw/e082bbcc0d923f8cb723d98382410aa2.png)
27376
+
27377
+
27372
27378
  :type Recipients: list of Recipient
27373
27379
  :param _SignComponents: 此模板中的签署控件列表
27380
+
27381
+ [点击查看在模板中配置的签署控件的样子](https://qcloudimg.tencent-cloud.cn/raw/29bc6ed753a5a0fce4a3ab02e2c0d955.png)
27374
27382
  :type SignComponents: list of Component
27375
- :param _TemplateType: 模板类型:1-静默签;3-普通模板
27383
+ :param _TemplateType: 模板类型可以分为以下两种:
27384
+
27385
+ <b>1</b>:带有<b>本企业自动签署</b>的模板,即签署过程无需签署人手动操作,系统自动完成签署。
27386
+ <b>3</b>:普通模板,即签署人需要手动进行签署操作。
27376
27387
  :type TemplateType: int
27377
27388
  :param _IsPromoter: 是否是发起人 ,已弃用
27378
27389
  :type IsPromoter: bool
@@ -27380,8 +27391,10 @@ class TemplateInfo(AbstractModel):
27380
27391
  :type Creator: str
27381
27392
  :param _CreatedOn: 模板创建的时间戳,格式为Unix标准时间戳(秒)
27382
27393
  :type CreatedOn: int
27383
- :param _PreviewUrl: 模板的H5预览链接,有效期5分钟。
27384
- 可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
27394
+ :param _PreviewUrl: 模板的 H5 预览链接,有效期为 5 分钟。
27395
+ 您可以通过浏览器直接打开此链接预览模板,或将其嵌入到 iframe 中进行预览。
27396
+
27397
+ 注意:只有在请求接口时将 <b>WithPreviewUrl </b>参数设置为 true,才会生成预览链接。
27385
27398
  注意:此字段可能返回 null,表示取不到有效值。
27386
27399
  :type PreviewUrl: str
27387
27400
  :param _PdfUrl: 第三方应用集成-模板PDF文件链接,有效期5分钟。
@@ -27463,6 +27476,8 @@ class TemplateInfo(AbstractModel):
27463
27476
  @property
27464
27477
  def Components(self):
27465
27478
  """模板的填充控件列表
27479
+
27480
+ [点击查看在模板中配置的填充控件的样子](https://qcloudimg.tencent-cloud.cn/raw/cb2f58529fca8d909258f9d45a56f7f4.png)
27466
27481
  :rtype: list of Component
27467
27482
  """
27468
27483
  return self._Components
@@ -27474,6 +27489,10 @@ class TemplateInfo(AbstractModel):
27474
27489
  @property
27475
27490
  def Recipients(self):
27476
27491
  """此模块需要签署的各个参与方的角色列表。RecipientId标识每个参与方角色对应的唯一标识符,用于确定此角色的信息。
27492
+
27493
+ [点击查看在模板中配置的签署参与方角色列表的样子](https://qcloudimg.tencent-cloud.cn/raw/e082bbcc0d923f8cb723d98382410aa2.png)
27494
+
27495
+
27477
27496
  :rtype: list of Recipient
27478
27497
  """
27479
27498
  return self._Recipients
@@ -27485,6 +27504,8 @@ class TemplateInfo(AbstractModel):
27485
27504
  @property
27486
27505
  def SignComponents(self):
27487
27506
  """此模板中的签署控件列表
27507
+
27508
+ [点击查看在模板中配置的签署控件的样子](https://qcloudimg.tencent-cloud.cn/raw/29bc6ed753a5a0fce4a3ab02e2c0d955.png)
27488
27509
  :rtype: list of Component
27489
27510
  """
27490
27511
  return self._SignComponents
@@ -27495,7 +27516,10 @@ class TemplateInfo(AbstractModel):
27495
27516
 
27496
27517
  @property
27497
27518
  def TemplateType(self):
27498
- """模板类型:1-静默签;3-普通模板
27519
+ """模板类型可以分为以下两种:
27520
+
27521
+ <b>1</b>:带有<b>本企业自动签署</b>的模板,即签署过程无需签署人手动操作,系统自动完成签署。
27522
+ <b>3</b>:普通模板,即签署人需要手动进行签署操作。
27499
27523
  :rtype: int
27500
27524
  """
27501
27525
  return self._TemplateType
@@ -27543,8 +27567,10 @@ class TemplateInfo(AbstractModel):
27543
27567
 
27544
27568
  @property
27545
27569
  def PreviewUrl(self):
27546
- """模板的H5预览链接,有效期5分钟。
27547
- 可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
27570
+ """模板的 H5 预览链接,有效期为 5 分钟。
27571
+ 您可以通过浏览器直接打开此链接预览模板,或将其嵌入到 iframe 中进行预览。
27572
+
27573
+ 注意:只有在请求接口时将 <b>WithPreviewUrl </b>参数设置为 true,才会生成预览链接。
27548
27574
  注意:此字段可能返回 null,表示取不到有效值。
27549
27575
  :rtype: str
27550
27576
  """
@@ -7176,12 +7176,17 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
7176
7176
  :param _Encryption: 敏感数据加密信息。
7177
7177
  - 对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
7178
7178
  :type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
7179
+ :param _Extra: 自定义描述字段。
7180
+ - 用于描述调用业务信息,出参中将返回此描述字段。
7181
+ - 每个自定义描述字段支持[1,10]个字符。
7182
+ :type Extra: str
7179
7183
  """
7180
7184
  self._IdCard = None
7181
7185
  self._Name = None
7182
7186
  self._ImageBase64 = None
7183
7187
  self._Optional = None
7184
7188
  self._Encryption = None
7189
+ self._Extra = None
7185
7190
 
7186
7191
  @property
7187
7192
  def IdCard(self):
@@ -7242,6 +7247,19 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
7242
7247
  def Encryption(self, Encryption):
7243
7248
  self._Encryption = Encryption
7244
7249
 
7250
+ @property
7251
+ def Extra(self):
7252
+ """自定义描述字段。
7253
+ - 用于描述调用业务信息,出参中将返回此描述字段。
7254
+ - 每个自定义描述字段支持[1,10]个字符。
7255
+ :rtype: str
7256
+ """
7257
+ return self._Extra
7258
+
7259
+ @Extra.setter
7260
+ def Extra(self, Extra):
7261
+ self._Extra = Extra
7262
+
7245
7263
 
7246
7264
  def _deserialize(self, params):
7247
7265
  self._IdCard = params.get("IdCard")
@@ -7251,6 +7269,7 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
7251
7269
  if params.get("Encryption") is not None:
7252
7270
  self._Encryption = Encryption()
7253
7271
  self._Encryption._deserialize(params.get("Encryption"))
7272
+ self._Extra = params.get("Extra")
7254
7273
  memeber_set = set(params.keys())
7255
7274
  for name, value in vars(self).items():
7256
7275
  property_name = name[1:]
@@ -7278,12 +7297,15 @@ class ImageRecognitionV2Response(AbstractModel):
7278
7297
  :type Result: str
7279
7298
  :param _Description: 业务结果描述。
7280
7299
  :type Description: str
7300
+ :param _Extra: 调用接口中自定义的描述字段。
7301
+ :type Extra: str
7281
7302
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7282
7303
  :type RequestId: str
7283
7304
  """
7284
7305
  self._Sim = None
7285
7306
  self._Result = None
7286
7307
  self._Description = None
7308
+ self._Extra = None
7287
7309
  self._RequestId = None
7288
7310
 
7289
7311
  @property
@@ -7323,6 +7345,17 @@ class ImageRecognitionV2Response(AbstractModel):
7323
7345
  def Description(self, Description):
7324
7346
  self._Description = Description
7325
7347
 
7348
+ @property
7349
+ def Extra(self):
7350
+ """调用接口中自定义的描述字段。
7351
+ :rtype: str
7352
+ """
7353
+ return self._Extra
7354
+
7355
+ @Extra.setter
7356
+ def Extra(self, Extra):
7357
+ self._Extra = Extra
7358
+
7326
7359
  @property
7327
7360
  def RequestId(self):
7328
7361
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -7339,6 +7372,7 @@ class ImageRecognitionV2Response(AbstractModel):
7339
7372
  self._Sim = params.get("Sim")
7340
7373
  self._Result = params.get("Result")
7341
7374
  self._Description = params.get("Description")
7375
+ self._Extra = params.get("Extra")
7342
7376
  self._RequestId = params.get("RequestId")
7343
7377
 
7344
7378
 
@@ -177,6 +177,8 @@ class ChatCompletionsRequest(AbstractModel):
177
177
  1. 未传值时默认关闭。
178
178
  2. 开启后,将强制走AI搜索,当AI搜索结果为空时,由大模型回复兜底话术。
179
179
  :type ForceSearchEnhancement: bool
180
+ :param _Stop: 自定义结束生成字符串
181
+ :type Stop: list of str
180
182
  """
181
183
  self._Model = None
182
184
  self._Messages = None
@@ -195,6 +197,7 @@ class ChatCompletionsRequest(AbstractModel):
195
197
  self._EnableDeepSearch = None
196
198
  self._Seed = None
197
199
  self._ForceSearchEnhancement = None
200
+ self._Stop = None
198
201
 
199
202
  @property
200
203
  def Model(self):
@@ -437,6 +440,17 @@ class ChatCompletionsRequest(AbstractModel):
437
440
  def ForceSearchEnhancement(self, ForceSearchEnhancement):
438
441
  self._ForceSearchEnhancement = ForceSearchEnhancement
439
442
 
443
+ @property
444
+ def Stop(self):
445
+ """自定义结束生成字符串
446
+ :rtype: list of str
447
+ """
448
+ return self._Stop
449
+
450
+ @Stop.setter
451
+ def Stop(self, Stop):
452
+ self._Stop = Stop
453
+
440
454
 
441
455
  def _deserialize(self, params):
442
456
  self._Model = params.get("Model")
@@ -468,6 +482,7 @@ class ChatCompletionsRequest(AbstractModel):
468
482
  self._EnableDeepSearch = params.get("EnableDeepSearch")
469
483
  self._Seed = params.get("Seed")
470
484
  self._ForceSearchEnhancement = params.get("ForceSearchEnhancement")
485
+ self._Stop = params.get("Stop")
471
486
  memeber_set = set(params.keys())
472
487
  for name, value in vars(self).items():
473
488
  property_name = name[1:]
@@ -50,7 +50,9 @@ class IotexplorerClient(AbstractClient):
50
50
 
51
51
 
52
52
  def AssignTWeCallLicense(self, request):
53
- """分配License
53
+ """微信VOIP功能调整下线
54
+
55
+ 分配License
54
56
 
55
57
  :param request: Request instance for AssignTWeCallLicense.
56
58
  :type request: :class:`tencentcloud.iotexplorer.v20190423.models.AssignTWeCallLicenseRequest`
@@ -325,6 +327,29 @@ class IotexplorerClient(AbstractClient):
325
327
  raise TencentCloudSDKException(type(e).__name__, str(e))
326
328
 
327
329
 
330
+ def CreateDeviceChannel(self, request):
331
+ """创建设备通道
332
+
333
+ :param request: Request instance for CreateDeviceChannel.
334
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceChannelRequest`
335
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceChannelResponse`
336
+
337
+ """
338
+ try:
339
+ params = request._serialize()
340
+ headers = request.headers
341
+ body = self.call("CreateDeviceChannel", params, headers=headers)
342
+ response = json.loads(body)
343
+ model = models.CreateDeviceChannelResponse()
344
+ model._deserialize(response["Response"])
345
+ return model
346
+ except Exception as e:
347
+ if isinstance(e, TencentCloudSDKException):
348
+ raise
349
+ else:
350
+ raise TencentCloudSDKException(type(e).__name__, str(e))
351
+
352
+
328
353
  def CreateExternalSourceAIServiceTask(self, request):
329
354
  """创建外部视频 AI 分析任务
330
355
 
@@ -371,6 +396,29 @@ class IotexplorerClient(AbstractClient):
371
396
  raise TencentCloudSDKException(type(e).__name__, str(e))
372
397
 
373
398
 
399
+ def CreateFreeCloudStorage(self, request):
400
+ """开通免费云存服务
401
+
402
+ :param request: Request instance for CreateFreeCloudStorage.
403
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateFreeCloudStorageRequest`
404
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateFreeCloudStorageResponse`
405
+
406
+ """
407
+ try:
408
+ params = request._serialize()
409
+ headers = request.headers
410
+ body = self.call("CreateFreeCloudStorage", params, headers=headers)
411
+ response = json.loads(body)
412
+ model = models.CreateFreeCloudStorageResponse()
413
+ model._deserialize(response["Response"])
414
+ return model
415
+ except Exception as e:
416
+ if isinstance(e, TencentCloudSDKException):
417
+ raise
418
+ else:
419
+ raise TencentCloudSDKException(type(e).__name__, str(e))
420
+
421
+
374
422
  def CreateIotVideoCloudStorage(self, request):
375
423
  """开通云存服务
376
424
 
@@ -2419,7 +2467,9 @@ class IotexplorerClient(AbstractClient):
2419
2467
 
2420
2468
 
2421
2469
  def GetTWeCallPkgList(self, request):
2422
- """查询TWeCall包列表
2470
+ """微信VOIP功能调整下线
2471
+
2472
+ 查询TWeCall包列表
2423
2473
 
2424
2474
  :param request: Request instance for GetTWeCallPkgList.
2425
2475
  :type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallPkgListRequest`