tencentcloud-sdk-python 3.0.1082__py2.py3-none-any.whl → 3.0.1084__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 (30) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +1 -1
  3. tencentcloud/common/abstract_client.py +7 -1
  4. tencentcloud/common/http/request.py +28 -3
  5. tencentcloud/ess/v20201111/ess_client.py +2 -2
  6. tencentcloud/ess/v20201111/models.py +24 -15
  7. tencentcloud/essbasic/v20210526/essbasic_client.py +11 -3
  8. tencentcloud/essbasic/v20210526/models.py +68 -5
  9. tencentcloud/iss/v20230517/models.py +4 -2
  10. tencentcloud/monitor/v20180724/models.py +2 -1
  11. tencentcloud/mps/v20190612/errorcodes.py +3 -0
  12. tencentcloud/mps/v20190612/models.py +55 -17
  13. tencentcloud/mps/v20190612/mps_client.py +2 -1
  14. tencentcloud/ocr/v20181119/models.py +473 -0
  15. tencentcloud/ocr/v20181119/ocr_client.py +74 -0
  16. tencentcloud/tag/v20180813/models.py +24 -0
  17. tencentcloud/teo/v20220901/errorcodes.py +15 -0
  18. tencentcloud/teo/v20220901/models.py +2165 -665
  19. tencentcloud/teo/v20220901/teo_client.py +230 -0
  20. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  21. tencentcloud/waf/v20180125/models.py +82 -0
  22. tencentcloud/waf/v20180125/waf_client.py +23 -0
  23. tencentcloud/wedata/v20210820/errorcodes.py +18 -0
  24. tencentcloud/wedata/v20210820/models.py +11260 -1136
  25. tencentcloud/wedata/v20210820/wedata_client.py +1648 -37
  26. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1084.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1084.dist-info}/RECORD +30 -30
  28. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1084.dist-info}/LICENSE +0 -0
  29. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1084.dist-info}/WHEEL +0 -0
  30. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1084.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1082'
17
+ __version__ = '3.0.1084'
@@ -119,7 +119,7 @@ class CccClient(AbstractClient):
119
119
 
120
120
 
121
121
  def CreateCCCSkillGroup(self, request):
122
- """创建技能组
122
+ """新建技能组
123
123
 
124
124
  :param request: Request instance for CreateCCCSkillGroup.
125
125
  :type request: :class:`tencentcloud.ccc.v20200210.models.CreateCCCSkillGroupRequest`
@@ -34,7 +34,7 @@ except ImportError:
34
34
  import tencentcloud
35
35
  from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
36
36
  from tencentcloud.common.exception import TencentCloudSDKException as SDKError
37
- from tencentcloud.common.http.request import ApiRequest
37
+ from tencentcloud.common.http.request import ApiRequest, ResponsePrettyFormatter
38
38
  from tencentcloud.common.http.request import RequestInternal
39
39
  from tencentcloud.common.profile.client_profile import ClientProfile, RegionBreakerProfile
40
40
  from tencentcloud.common.sign import Sign
@@ -324,6 +324,7 @@ class AbstractClient(object):
324
324
 
325
325
  def _check_status(self, resp_inter):
326
326
  if resp_inter.status_code != 200:
327
+ logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp_inter))
327
328
  raise TencentCloudSDKException("ServerNetworkError", resp_inter.content)
328
329
 
329
330
  def _format_sign_string(self, params):
@@ -354,6 +355,7 @@ class AbstractClient(object):
354
355
  code = data["Response"]["Error"]["Code"]
355
356
  message = data["Response"]["Error"]["Message"]
356
357
  reqid = data["Response"]["RequestId"]
358
+ logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp))
357
359
  raise TencentCloudSDKException(code, message, reqid)
358
360
  if "DeprecatedWarning" in data["Response"]:
359
361
  import warnings
@@ -363,6 +365,7 @@ class AbstractClient(object):
363
365
 
364
366
  @staticmethod
365
367
  def _process_response_sse(resp):
368
+ logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp, format_body=False))
366
369
  e = {}
367
370
 
368
371
  for line in resp.iter_lines():
@@ -371,6 +374,7 @@ class AbstractClient(object):
371
374
  e = {}
372
375
  continue
373
376
 
377
+ logger.debug("GetResponse: %s", line)
374
378
  line = line.decode('utf-8')
375
379
 
376
380
  # comment
@@ -409,6 +413,7 @@ class AbstractClient(object):
409
413
  resp = self._call(action, params, options, headers)
410
414
  self._check_status(resp)
411
415
  self._check_error(resp)
416
+ logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp))
412
417
  return resp.content
413
418
 
414
419
  def _call_with_region_breaker(self, action, params, options=None, headers=None):
@@ -488,6 +493,7 @@ class AbstractClient(object):
488
493
  resp = self._call(action, params, options, headers)
489
494
  self._check_status(resp)
490
495
  self._check_error(resp)
496
+ logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp))
491
497
  return json.loads(resp.content)
492
498
 
493
499
  def call_sse(self, action, params, headers=None, options=None):
@@ -89,8 +89,7 @@ class ApiRequest(object):
89
89
  url = self._handle_host(req_inter.host)
90
90
  if self.keep_alive:
91
91
  req_inter.header["Connection"] = "Keep-Alive"
92
- if self.debug:
93
- logger.debug("SendRequest %s" % req_inter)
92
+ logger.debug("SendRequest: %s" % req_inter)
94
93
  if req_inter.method == 'GET':
95
94
  req_inter_url = '%s?%s' % (url, req_inter.data)
96
95
  return self.conn.request(req_inter.method, req_inter_url,
@@ -106,7 +105,6 @@ class ApiRequest(object):
106
105
  try:
107
106
  http_resp = self._request(req_inter)
108
107
  self.request_size = self.conn.request_length
109
- logger.debug("GetResponse %s" % http_resp)
110
108
  return http_resp
111
109
  except Exception as e:
112
110
  raise TencentCloudSDKException("ClientNetworkError", str(e))
@@ -126,3 +124,30 @@ class RequestInternal(object):
126
124
  headers = "\n".join("%s: %s" % (k, v) for k, v in self.header.items())
127
125
  return ("Host: %s\nMethod: %s\nUri: %s\nHeader: %s\nData: %s\n"
128
126
  % (self.host, self.method, self.uri, headers, self.data))
127
+
128
+
129
+ class ResponsePrettyFormatter(object):
130
+ def __init__(self, resp, format_body=True, delimiter="\n"):
131
+ self._resp = resp
132
+ self._format_body = format_body
133
+ self._delimiter = delimiter
134
+
135
+ def __str__(self):
136
+ lines = ['%s %d %s' % (self.str_ver(self._resp.raw.version), self._resp.status_code, self._resp.reason)]
137
+ for k, v in self._resp.headers.items():
138
+ lines.append('%s: %s' % (k, v))
139
+ if self._format_body:
140
+ lines.append('')
141
+ lines.append(self._resp.text)
142
+ return self._delimiter.join(lines)
143
+
144
+ @staticmethod
145
+ def str_ver(ver):
146
+ if ver == 10:
147
+ return "HTTP/1.0"
148
+ elif ver == 11:
149
+ return "HTTP/1.1"
150
+ elif ver == 20:
151
+ return "HTTP/2.0"
152
+ else:
153
+ return str(ver)
@@ -1952,8 +1952,8 @@ class EssClient(AbstractClient):
1952
1952
 
1953
1953
 
1954
1954
  def ModifyFlowDeadline(self, request):
1955
- """在已发起的签署流程中,我们支持对签署截止日期进行延期操作,主要涉及以下两个维度:
1956
- 1. 合同(流程)维度:只需要传递流程ID,无需传递签署人ID。这将对尚未设定签署截止时间的合同(流程)和发起合同(流程)时的签署人进行延期操作。
1955
+ """在已发起的签署流程中,支持对签署截止日期进行延期操作,主要涉及以下两个维度:
1956
+ 1. 合同(流程)维度:只需要传递签署流程ID。这将对签署流程和发起时未单独设定签署截止时间的签署人进行延期操作。
1957
1957
  2. 签署人维度:需要传递流程ID和签署人ID。此操作将对签署人进行延期操作,尤其对于有序的合同(流程),签署截止时间不能超过后一位合同(流程)签署人的流程截止时间。
1958
1958
 
1959
1959
  此接口有如下限制条件:
@@ -3181,12 +3181,13 @@ class CreateDocumentRequest(AbstractModel):
3181
3181
  r"""
3182
3182
  :param _Operator: 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
3183
3183
  :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
3184
+ :param _TemplateId: 用户配置的合同模板ID,会基于此模板创建合同文档,为32位字符串。
3185
+
3186
+ [点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/253071cc2f7becb063c7cf71b37b7861.png)
3187
+ :type TemplateId: str
3184
3188
  :param _FlowId: 合同流程ID,为32位字符串。
3185
3189
  此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
3186
3190
  :type FlowId: str
3187
- :param _TemplateId: 用户配置的合同模板ID,会基于此模板创建合同文档,为32位字符串。
3188
- 可登录腾讯电子签控制台,在 "模板"->"模板中心"->"列表展示设置"选中模板 ID 中查看某个模板的TemplateId(在页面中展示为模板ID)。
3189
- :type TemplateId: str
3190
3191
  :param _FileNames: 文件名列表,单个文件名最大长度200个字符,暂时仅支持单文件发起。设置后流程对应的文件名称当前设置的值。
3191
3192
  :type FileNames: list of str
3192
3193
  :param _FormFields: 电子文档的填写控件的填充内容。具体方式可以参考[FormField](https://qian.tencent.com/developers/companyApis/dataTypes/#formfield)结构体的定义。
@@ -3215,8 +3216,8 @@ class CreateDocumentRequest(AbstractModel):
3215
3216
  :type ClientToken: str
3216
3217
  """
3217
3218
  self._Operator = None
3218
- self._FlowId = None
3219
3219
  self._TemplateId = None
3220
+ self._FlowId = None
3220
3221
  self._FileNames = None
3221
3222
  self._FormFields = None
3222
3223
  self._NeedPreview = None
@@ -3232,14 +3233,6 @@ class CreateDocumentRequest(AbstractModel):
3232
3233
  def Operator(self, Operator):
3233
3234
  self._Operator = Operator
3234
3235
 
3235
- @property
3236
- def FlowId(self):
3237
- return self._FlowId
3238
-
3239
- @FlowId.setter
3240
- def FlowId(self, FlowId):
3241
- self._FlowId = FlowId
3242
-
3243
3236
  @property
3244
3237
  def TemplateId(self):
3245
3238
  return self._TemplateId
@@ -3248,6 +3241,14 @@ class CreateDocumentRequest(AbstractModel):
3248
3241
  def TemplateId(self, TemplateId):
3249
3242
  self._TemplateId = TemplateId
3250
3243
 
3244
+ @property
3245
+ def FlowId(self):
3246
+ return self._FlowId
3247
+
3248
+ @FlowId.setter
3249
+ def FlowId(self, FlowId):
3250
+ self._FlowId = FlowId
3251
+
3251
3252
  @property
3252
3253
  def FileNames(self):
3253
3254
  return self._FileNames
@@ -3301,8 +3302,8 @@ class CreateDocumentRequest(AbstractModel):
3301
3302
  if params.get("Operator") is not None:
3302
3303
  self._Operator = UserInfo()
3303
3304
  self._Operator._deserialize(params.get("Operator"))
3304
- self._FlowId = params.get("FlowId")
3305
3305
  self._TemplateId = params.get("TemplateId")
3306
+ self._FlowId = params.get("FlowId")
3306
3307
  self._FileNames = params.get("FileNames")
3307
3308
  if params.get("FormFields") is not None:
3308
3309
  self._FormFields = []
@@ -4200,9 +4201,10 @@ class CreateFlowByFilesResponse(AbstractModel):
4200
4201
  r"""
4201
4202
  :param _FlowId: 合同流程ID,为32位字符串。
4202
4203
  建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
4203
- 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
4204
4204
 
4205
4205
  注: 如果是预览模式(即NeedPreview设置为true)时, 此处不会有值返回。
4206
+
4207
+ [点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
4206
4208
  :type FlowId: str
4207
4209
  :param _PreviewUrl: 合同预览链接URL。
4208
4210
 
@@ -5397,7 +5399,7 @@ class CreateFlowResponse(AbstractModel):
5397
5399
  建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
5398
5400
 
5399
5401
  注:
5400
- 此返回的合同流程ID,需再次调用<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口将合同开始后,合同才能进入签署环节
5402
+ 此返回的合同流程ID,需再次调用<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口将合同开始后,合同才能进入签署环节,[点击产看FlowId在控制台中的位置(只在进如签署环节后有效)](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
5401
5403
 
5402
5404
 
5403
5405
  :type FlowId: str
@@ -10469,6 +10471,8 @@ class DescribeFlowBriefsRequest(AbstractModel):
10469
10471
  如果某个合同流程ID不存在,系统会跳过此ID的查询,继续查询剩余存在的合同流程。
10470
10472
 
10471
10473
  可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
10474
+
10475
+ [点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
10472
10476
  :type FlowIds: list of str
10473
10477
  :param _Agent: 代理企业和员工的信息。
10474
10478
  在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
@@ -10800,6 +10804,11 @@ class DescribeFlowInfoRequest(AbstractModel):
10800
10804
  :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
10801
10805
  :param _FlowIds: 需要查询的流程ID列表,最多可传入100个ID。
10802
10806
  如果要查询合同组的信息,则不需要传入此参数,只需传入 FlowGroupId 参数即可。
10807
+
10808
+
10809
+ 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
10810
+
10811
+ [点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
10803
10812
  :type FlowIds: list of str
10804
10813
  :param _Agent: 代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
10805
10814
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
@@ -1032,6 +1032,9 @@ class EssbasicClient(AbstractClient):
1032
1032
  """使用此接口,用来绑定企业实名员工的角色,
1033
1033
  支持以电子签userId、客户系统openId两种方式进行绑定。
1034
1034
 
1035
+ 对应控制台的操作如下图
1036
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/5b41194d3cb3f2058ec0ba0fb5ebc6a6.png)
1037
+
1035
1038
  :param request: Request instance for ChannelCreateUserRoles.
1036
1039
  :type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateUserRolesRequest`
1037
1040
  :rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateUserRolesResponse`
@@ -1104,6 +1107,9 @@ class EssbasicClient(AbstractClient):
1104
1107
  def ChannelDeleteRoleUsers(self, request):
1105
1108
  """通过此接口,删除员工绑定的角色,支持以电子签userId、客户系统userId两种方式调用。
1106
1109
 
1110
+ 对应控制台的操作如下图
1111
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/5b41194d3cb3f2058ec0ba0fb5ebc6a6.png)
1112
+
1107
1113
  :param request: Request instance for ChannelDeleteRoleUsers.
1108
1114
  :type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelDeleteRoleUsersRequest`
1109
1115
  :rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelDeleteRoleUsersResponse`
@@ -1263,7 +1269,7 @@ class EssbasicClient(AbstractClient):
1263
1269
  """分页查询企业角色列表,法人的角色是系统保留角色,不会返回,按照角色创建时间升序排列。
1264
1270
 
1265
1271
 
1266
- <font color="red">**系统默认角色**</font>说明可参考下表
1272
+ <font color="red">系统默认角色</font>说明可参考下表
1267
1273
 
1268
1274
  | 角色名称| 建议授予对象 | 角色描述 |
1269
1275
  | --- | --- | --- |
@@ -1272,6 +1278,8 @@ class EssbasicClient(AbstractClient):
1272
1278
  | **经办人**|企业法务负责人等 | 发起合同、签署合同(含填写、拒签)、撤销合同、持有印章等权限能力,可查看企业所有合同数据。 |
1273
1279
  | **业务员**|销售员、采购员 等| 发起合同、签署合同(含填写、拒签)、撤销合同、持有印章等权限能力,可查看自己相关所有合同数据。 |
1274
1280
 
1281
+ 附件:<a href="https://dyn.ess.tencent.cn/guide/apivideo/roles.xlsx" target="_blank">点击下载角色对应的权限点的excel文档</a>
1282
+
1275
1283
  :param request: Request instance for ChannelDescribeRoles.
1276
1284
  :type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelDescribeRolesRequest`
1277
1285
  :rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelDescribeRolesResponse`
@@ -2265,8 +2273,8 @@ class EssbasicClient(AbstractClient):
2265
2273
 
2266
2274
 
2267
2275
  def ModifyFlowDeadline(self, request):
2268
- """在已发起的签署流程中,我们支持对签署截止日期进行延期操作,主要涉及以下两个维度:
2269
- 1. 合同(流程)维度:只需要传递流程ID。这将对尚未设定签署截止时间的合同(流程)和发起合同(流程)时的签署人进行延期操作。
2276
+ """在已发起的签署流程中,支持对签署截止日期进行延期操作,主要涉及以下两个维度:
2277
+ 1. 合同(流程)维度:只需要传递签署流程ID。这将对签署流程和发起时未单独设定签署截止时间的签署人进行延期操作。
2270
2278
  2. 签署人维度:需要传递流程ID和签署人ID。此操作将对签署人进行延期操作,尤其对于有序的合同(流程),签署截止时间不能超过后一位合同(流程)签署人的流程截止时间。
2271
2279
 
2272
2280
  此接口有如下限制条件:
@@ -3331,6 +3331,8 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
3331
3331
  r"""
3332
3332
  :param _FlowId: 合同流程ID,为32位字符串。
3333
3333
  建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
3334
+
3335
+ [点击产看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
3334
3336
  注意:此字段可能返回 null,表示取不到有效值。
3335
3337
  :type FlowId: str
3336
3338
  :param _Approvers: 签署方信息,如角色ID、角色名称等
@@ -5062,6 +5064,9 @@ class ChannelCreateReleaseFlowRequest(AbstractModel):
5062
5064
  第三方平台子客企业和员工必须已经经过实名认证
5063
5065
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
5064
5066
  :param _NeedRelievedFlowId: 待解除的签署流程编号(即原签署流程的编号)。
5067
+
5068
+
5069
+ [点击产看流程编号在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
5065
5070
  :type NeedRelievedFlowId: str
5066
5071
  :param _ReliveInfo: 解除协议内容, 包括解除理由等信息。
5067
5072
  :type ReliveInfo: :class:`tencentcloud.essbasic.v20210526.models.RelieveInfo`
@@ -5941,7 +5946,15 @@ class ChannelCreateUserRolesRequest(AbstractModel):
5941
5946
 
5942
5947
  def __init__(self):
5943
5948
  r"""
5944
- :param _Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
5949
+ :param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
5950
+
5951
+ 此接口下面信息必填。
5952
+ <ul>
5953
+ <li>渠道应用标识: Agent.AppId</li>
5954
+ <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
5955
+ <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
5956
+ </ul>
5957
+ 第三方平台子客企业和员工必须已经经过实名认证
5945
5958
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
5946
5959
  :param _RoleIds: 绑定角色的角色id列表,最多 100 个
5947
5960
  :type RoleIds: list of str
@@ -9929,8 +9942,7 @@ class CreateConsoleLoginUrlResponse(AbstractModel):
9929
9942
  def __init__(self):
9930
9943
  r"""
9931
9944
  :param _ConsoleUrl: 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
9932
- <table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th>
9933
- <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>PC/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>
9945
+ <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>PC/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>
9934
9946
 
9935
9947
  注:
9936
9948
  1. <font color="red">链接仅单次有效</font>,每次登录需要需要重新创建新的链接
@@ -10383,6 +10395,8 @@ class CreateFlowsByTemplatesResponse(AbstractModel):
10383
10395
  r"""
10384
10396
  :param _FlowIds: 生成的合同流程ID数组,合同流程ID为32位字符串。
10385
10397
  建议开发者妥善保存此流程ID数组,以便于顺利进行后续操作。
10398
+
10399
+ [点击产看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
10386
10400
  :type FlowIds: list of str
10387
10401
  :param _CustomerData: 第三方应用平台的业务信息, 与创建合同的FlowInfos数组中的CustomerData一一对应
10388
10402
  :type CustomerData: list of str
@@ -12449,6 +12463,8 @@ class DescribeTemplatesRequest(AbstractModel):
12449
12463
  :param _TemplateId: 合同模板ID,为32位字符串。
12450
12464
 
12451
12465
  可以通过<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateConsoleLoginUrl" target="_blank">生成子客登录链接</a>登录企业控制台, 在企业模板中得到合同模板ID。
12466
+
12467
+ [点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
12452
12468
  :type TemplateId: str
12453
12469
  :param _ContentType: 查询模板的内容
12454
12470
 
@@ -12462,6 +12478,9 @@ class DescribeTemplatesRequest(AbstractModel):
12462
12478
  2. `请确保每个模板均正确且属于当前企业,若有任一模板不存在,则返回错误。`
12463
12479
  4. `若传递此参数,分页参数(Limit,Offset)无效`
12464
12480
 
12481
+
12482
+ [点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
12483
+
12465
12484
  :type TemplateIds: list of str
12466
12485
  :param _Limit: 指定每页返回的数据条数,和Offset参数配合使用。
12467
12486
 
@@ -14598,6 +14617,9 @@ class FlowInfo(AbstractModel):
14598
14617
  如果使用模板发起接口,此参数为必填。
14599
14618
 
14600
14619
  可以通过<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateConsoleLoginUrl" target="_blank">生成子客登录链接</a>登录企业控制台, 在**企业模板**中得到合同模板ID。
14620
+
14621
+ [点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
14622
+
14601
14623
  :type TemplateId: str
14602
14624
  :param _FlowApprovers: 多个签署人信息,最大支持50个签署方
14603
14625
  :type FlowApprovers: list of FlowApproverInfo
@@ -15587,8 +15609,8 @@ class ModifyFlowDeadlineRequest(AbstractModel):
15587
15609
  :type Deadline: int
15588
15610
  :param _RecipientId: 签署方角色编号,为32位字符串
15589
15611
  <ul><li>若指定了此参数,则只调整签署流程中此签署人的签署截止时间,否则调整合同整体的签署截止时间(合同截止时间+发起时未设置签署人截止时间的参与人的签署截止时间)</li>
15590
- <li>通过[用PDF文件创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles)发起合同,或通过[模板发起合同-创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)时,返回参数[Approvers](https://qian.tencent.com/developers/companyApis/dataTypes/#approveritem)会返回此信息,建议开发者妥善保存</li>
15591
- <li>也可通过[查询合同流程的详情信息](https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo)接口查询签署人的RecipientId编号</li></ul>
15612
+ <li>通过[用PDF文件创建签署流程](https://test.qian.tencent.cn/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)发起合同,或通过[用模板创建签署流程](https://test.qian.tencent.cn/developers/partnerApis/startFlows/CreateFlowsByTemplates)时,返回参数[FlowApprovers](https://test.qian.tencent.cn/developers/partnerApis/dataTypes/#approveritem)会返回此信息,建议开发者妥善保存</li>
15613
+ <li>也可通过[获取合同信息](https://test.qian.tencent.cn/developers/partnerApis/flows/DescribeFlowDetailInfo)接口查询签署人的RecipientId编号</li></ul>
15592
15614
  :type RecipientId: str
15593
15615
  """
15594
15616
  self._Agent = None
@@ -19510,9 +19532,23 @@ class WebThemeConfig(AbstractModel):
19510
19532
  支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
19511
19533
  <br/>
19512
19534
  :type WebEmbedThemeColor: str
19535
+ :param _AuthenticateBackground: 企业认证页背景图(base64图片)
19536
+
19537
+ :type AuthenticateBackground: str
19538
+ :param _HideAuthenticateNavigationBar: 隐藏企业认证页面导航栏,取值如下:
19539
+ <ul><li> **true**:隐藏企业认证页面导航栏</li>
19540
+ <li> **false**:显示企业认证页面导航栏(默认)</li></ul>
19541
+ :type HideAuthenticateNavigationBar: bool
19542
+ :param _HideAuthenticateTopLogo: 隐藏企业认证顶部logo,取值如下:
19543
+ <ul><li> **true**:隐藏企业认证顶部logo</li>
19544
+ <li> **false**:显示企业认证顶部logo(默认)</li></ul>
19545
+ :type HideAuthenticateTopLogo: bool
19513
19546
  """
19514
19547
  self._DisplaySignBrandLogo = None
19515
19548
  self._WebEmbedThemeColor = None
19549
+ self._AuthenticateBackground = None
19550
+ self._HideAuthenticateNavigationBar = None
19551
+ self._HideAuthenticateTopLogo = None
19516
19552
 
19517
19553
  @property
19518
19554
  def DisplaySignBrandLogo(self):
@@ -19530,10 +19566,37 @@ class WebThemeConfig(AbstractModel):
19530
19566
  def WebEmbedThemeColor(self, WebEmbedThemeColor):
19531
19567
  self._WebEmbedThemeColor = WebEmbedThemeColor
19532
19568
 
19569
+ @property
19570
+ def AuthenticateBackground(self):
19571
+ return self._AuthenticateBackground
19572
+
19573
+ @AuthenticateBackground.setter
19574
+ def AuthenticateBackground(self, AuthenticateBackground):
19575
+ self._AuthenticateBackground = AuthenticateBackground
19576
+
19577
+ @property
19578
+ def HideAuthenticateNavigationBar(self):
19579
+ return self._HideAuthenticateNavigationBar
19580
+
19581
+ @HideAuthenticateNavigationBar.setter
19582
+ def HideAuthenticateNavigationBar(self, HideAuthenticateNavigationBar):
19583
+ self._HideAuthenticateNavigationBar = HideAuthenticateNavigationBar
19584
+
19585
+ @property
19586
+ def HideAuthenticateTopLogo(self):
19587
+ return self._HideAuthenticateTopLogo
19588
+
19589
+ @HideAuthenticateTopLogo.setter
19590
+ def HideAuthenticateTopLogo(self, HideAuthenticateTopLogo):
19591
+ self._HideAuthenticateTopLogo = HideAuthenticateTopLogo
19592
+
19533
19593
 
19534
19594
  def _deserialize(self, params):
19535
19595
  self._DisplaySignBrandLogo = params.get("DisplaySignBrandLogo")
19536
19596
  self._WebEmbedThemeColor = params.get("WebEmbedThemeColor")
19597
+ self._AuthenticateBackground = params.get("AuthenticateBackground")
19598
+ self._HideAuthenticateNavigationBar = params.get("HideAuthenticateNavigationBar")
19599
+ self._HideAuthenticateTopLogo = params.get("HideAuthenticateTopLogo")
19537
19600
  memeber_set = set(params.keys())
19538
19601
  for name, value in vars(self).items():
19539
19602
  property_name = name[1:]
@@ -8343,9 +8343,11 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
8343
8343
  r"""
8344
8344
  :param _ChannelId: 通道 ID
8345
8345
  :type ChannelId: str
8346
- :param _BeginTime: 下载的开始时间,UTC 秒数,开始和结束时间段最长为30分钟,且不能跨天
8346
+ :param _BeginTime: 下载的开始时间,UTC 秒数,开始和结束时间段最长为60分钟,且不能跨天。
8347
+ 注意:实际下载的文件时长可能会大于该时段时长,通过指定IsRespActualTime参数可以获取实际下载的开始时间和结束时间。 原因是下载是TS切片对齐的,其目的也是为了保证用户下载数据的完整性,完全包含其指定的时间段。
8347
8348
  :type BeginTime: str
8348
- :param _EndTime: 下载的结束时间,UTC 秒数,开始和结束时间段最长为30分钟,且不能跨天
8349
+ :param _EndTime: 下载的结束时间,UTC 秒数,开始和结束时间段最长为60分钟,且不能跨天。
8350
+ 注意:实际下载的文件时长可能会大于该时段时长,通过指定IsRespActualTime参数可以获取实际下载的开始时间和结束时间。 原因是下载是TS切片对齐的,其目的也是为了保证用户下载数据的完整性,完全包含其指定的时间段。
8349
8351
  :type EndTime: str
8350
8352
  :param _FileType: 文件格式,"mp4":mp4格式,"ts":ts文件格式
8351
8353
  :type FileType: str
@@ -18561,7 +18561,8 @@ class DescribeStatisticDataRequest(AbstractModel):
18561
18561
  :type Module: str
18562
18562
  :param _Namespace: 命名空间,目前支持QCE/TKE2(Conditions必填),QCE/KEEWIDB,QCE/CAMP
18563
18563
  :type Namespace: str
18564
- :param _MetricNames: 指标名列表
18564
+ :param _MetricNames: 指标名列表,相关指标信息可参考对应 云产品指标文档
18565
+ https://cloud.tencent.com/document/product/248/62458
18565
18566
  :type MetricNames: list of str
18566
18567
  :param _Conditions: 维度条件,操作符支持=、in
18567
18568
  配置文档参考:https://cloud.tencent.com/document/product/248/53821
@@ -23,6 +23,9 @@ FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = 'FailedOperation.BucketNotifyAlreadyE
23
23
  # 操作失败:COS 已经停服。
24
24
  FAILEDOPERATION_COSSTATUSINAVLID = 'FailedOperation.CosStatusInavlid'
25
25
 
26
+ # 生成资源失败。
27
+ FAILEDOPERATION_GENERATERESOURCE = 'FailedOperation.GenerateResource'
28
+
26
29
  # 操作失败:获取源通知错误。
27
30
  FAILEDOPERATION_GETSOURCENOTIFY = 'FailedOperation.GetSourceNotify'
28
31