tccli 3.0.1281.1__py2.py3-none-any.whl → 3.0.1282.1__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.
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1281.1'
1
+ __version__ = '3.0.1282.1'
@@ -624,13 +624,13 @@
624
624
  },
625
625
  {
626
626
  "disabled": false,
627
- "document": "任务ID\n注意:此字段可能返回 null,表示取不到有效值。",
627
+ "document": "任务ID",
628
628
  "example": "170143813*******360",
629
629
  "member": "string",
630
630
  "name": "TaskID",
631
631
  "output_required": true,
632
632
  "type": "string",
633
- "value_allowed_null": true
633
+ "value_allowed_null": false
634
634
  },
635
635
  {
636
636
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -1082,39 +1082,39 @@
1082
1082
  "example": "0",
1083
1083
  "member": "int64",
1084
1084
  "name": "Result",
1085
- "required": true,
1085
+ "output_required": true,
1086
1086
  "type": "int",
1087
1087
  "value_allowed_null": false
1088
1088
  },
1089
1089
  {
1090
1090
  "disabled": false,
1091
- "document": "诊断报告/堆栈信息/报告json结果下载链接\n注意:此字段可能返回 null,表示取不到有效值。",
1091
+ "document": "诊断报告/堆栈信息/报告json结果下载链接",
1092
1092
  "example": "诊断报告下载链接",
1093
1093
  "member": "string",
1094
1094
  "name": "ReportUrl",
1095
- "required": true,
1095
+ "output_required": true,
1096
1096
  "type": "string",
1097
- "value_allowed_null": true
1097
+ "value_allowed_null": false
1098
1098
  },
1099
1099
  {
1100
1100
  "disabled": false,
1101
- "document": "诊断报告/堆栈/报告json结果的名称\n注意:此字段可能返回 null,表示取不到有效值。",
1101
+ "document": "诊断报告/堆栈/报告json结果的名称",
1102
1102
  "example": "诊断报告名称",
1103
1103
  "member": "string",
1104
1104
  "name": "ReportTitle",
1105
- "required": true,
1105
+ "output_required": true,
1106
1106
  "type": "string",
1107
- "value_allowed_null": true
1107
+ "value_allowed_null": false
1108
1108
  },
1109
1109
  {
1110
1110
  "disabled": false,
1111
- "document": "诊断json结果内容\n注意:此字段可能返回 null,表示取不到有效值。",
1111
+ "document": "诊断json结果内容",
1112
1112
  "example": "诊断json结果内容",
1113
1113
  "member": "string",
1114
1114
  "name": "ReportResult",
1115
- "required": true,
1115
+ "output_required": true,
1116
1116
  "type": "string",
1117
- "value_allowed_null": true
1117
+ "value_allowed_null": false
1118
1118
  },
1119
1119
  {
1120
1120
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -34,7 +34,7 @@
34
34
  {
35
35
  "document": "",
36
36
  "input": "POST / HTTP/1.1\nHost: acp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAppScanTask\n<公共请求参数>\n\n{\n \"AppPackage\": \"com.test.app\",\n \"Source\": \"2\",\n \"Platform\": \"0\",\n \"TaskType\": \"0\"\n}",
37
- "output": "{\n \"Response\": {\n \"RequestId\": \"xxxxxx\",\n \"Result\": 0,\n \"TaskID\": \"170143813*******360\"\n }\n}",
37
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ed2aa90dc-2354a9d8ee8304-a7a9-4a29-0\",\n \"Result\": 0,\n \"TaskID\": \"170143813*******360\"\n }\n}",
38
38
  "title": "创建App隐私合规基础诊断任务"
39
39
  },
40
40
  {
@@ -69,6 +69,58 @@ def doSubmitMemeJob(args, parsed_globals):
69
69
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
70
 
71
71
 
72
+ def doRefineImage(args, parsed_globals):
73
+ g_param = parse_global_arg(parsed_globals)
74
+
75
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
76
+ cred = credential.CVMRoleCredential()
77
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
78
+ cred = credential.STSAssumeRoleCredential(
79
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
+ )
82
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
83
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
84
+ else:
85
+ cred = credential.Credential(
86
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
87
+ )
88
+ http_profile = HttpProfile(
89
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
90
+ reqMethod="POST",
91
+ endpoint=g_param[OptionsDefine.Endpoint],
92
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
93
+ )
94
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
95
+ if g_param[OptionsDefine.Language]:
96
+ profile.language = g_param[OptionsDefine.Language]
97
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
98
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
99
+ client._sdkVersion += ("_CLI_" + __version__)
100
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
+ model = models.RefineImageRequest()
102
+ model.from_json_string(json.dumps(args))
103
+ start_time = time.time()
104
+ while True:
105
+ rsp = client.RefineImage(model)
106
+ result = rsp.to_json_string()
107
+ try:
108
+ json_obj = json.loads(result)
109
+ except TypeError as e:
110
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
111
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
112
+ break
113
+ cur_time = time.time()
114
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
115
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
116
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
117
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
118
+ else:
119
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
120
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
121
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
+
123
+
72
124
  def doSketchToImage(args, parsed_globals):
73
125
  g_param = parse_global_arg(parsed_globals)
74
126
 
@@ -1017,6 +1069,7 @@ MODELS_MAP = {
1017
1069
 
1018
1070
  ACTION_MAP = {
1019
1071
  "SubmitMemeJob": doSubmitMemeJob,
1072
+ "RefineImage": doRefineImage,
1020
1073
  "SketchToImage": doSketchToImage,
1021
1074
  "SubmitTextToImageProJob": doSubmitTextToImageProJob,
1022
1075
  "ReplaceBackground": doReplaceBackground,
@@ -70,6 +70,13 @@
70
70
  "output": "QueryTrainPortraitModelJobResponse",
71
71
  "status": "online"
72
72
  },
73
+ "RefineImage": {
74
+ "document": "将图像变清晰,增强图像细节。变清晰后的图片将保持原图比例,长边为2048。\n默认提供1个并发,代表最多能同时处理1个已提交的任务。",
75
+ "input": "RefineImageRequest",
76
+ "name": "图片变清晰",
77
+ "output": "RefineImageResponse",
78
+ "status": "online"
79
+ },
73
80
  "ReplaceBackground": {
74
81
  "document": "商品背景生成接口根据指定的背景描述 Prompt,将商品图中的原背景替换为自定义的新背景并保留商品主体形象,实现商品背景的自由生成与更换。\n\n商品背景生成默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
75
82
  "input": "ReplaceBackgroundRequest",
@@ -1233,6 +1240,61 @@
1233
1240
  ],
1234
1241
  "usage": "both"
1235
1242
  },
1243
+ "RefineImageRequest": {
1244
+ "document": "RefineImage请求参数结构体",
1245
+ "members": [
1246
+ {
1247
+ "disabled": false,
1248
+ "document": "输入图 Url。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
1249
+ "example": "https://xxx.com/image.jpg",
1250
+ "member": "string",
1251
+ "name": "InputUrl",
1252
+ "required": false,
1253
+ "type": "string"
1254
+ },
1255
+ {
1256
+ "disabled": false,
1257
+ "document": "输入图 Base64 数据。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
1258
+ "example": "9j/4QlQaHR0c...N6a2M5ZCI",
1259
+ "member": "string",
1260
+ "name": "InputImage",
1261
+ "required": false,
1262
+ "type": "string"
1263
+ },
1264
+ {
1265
+ "disabled": false,
1266
+ "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。 示例值:url",
1267
+ "example": "url",
1268
+ "member": "string",
1269
+ "name": "RspImgType",
1270
+ "required": false,
1271
+ "type": "string"
1272
+ }
1273
+ ],
1274
+ "type": "object"
1275
+ },
1276
+ "RefineImageResponse": {
1277
+ "document": "RefineImage返回参数结构体",
1278
+ "members": [
1279
+ {
1280
+ "disabled": false,
1281
+ "document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
1282
+ "example": "url",
1283
+ "member": "string",
1284
+ "name": "ResultImage",
1285
+ "output_required": false,
1286
+ "type": "string",
1287
+ "value_allowed_null": false
1288
+ },
1289
+ {
1290
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1291
+ "member": "string",
1292
+ "name": "RequestId",
1293
+ "type": "string"
1294
+ }
1295
+ ],
1296
+ "type": "object"
1297
+ },
1236
1298
  "ReplaceBackgroundRequest": {
1237
1299
  "document": "ReplaceBackground请求参数结构体",
1238
1300
  "members": [
@@ -80,6 +80,14 @@
80
80
  "title": "查询成功"
81
81
  }
82
82
  ],
83
+ "RefineImage": [
84
+ {
85
+ "document": "",
86
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RefineImage\n<公共请求参数>\n\n{\n \"InputUrl\": \"https://xxx.com/image.jpg\",\n \"RspImgType\": \"url\"\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"75c9d572-a163-4ffd-852f-eb6e11bd6ff9\",\n \"ResultImage\": \"https://xxx.cos.ap-guangzhou.myqcloud.com/refine_image/xxx.jpg\"\n }\n}",
88
+ "title": "请求调用示例"
89
+ }
90
+ ],
83
91
  "ReplaceBackground": [
84
92
  {
85
93
  "document": "成功调用并生成图片",
@@ -2026,6 +2026,15 @@
2026
2026
  "name": "ExtractConfig",
2027
2027
  "required": false,
2028
2028
  "type": "list"
2029
+ },
2030
+ {
2031
+ "disabled": false,
2032
+ "document": "模型温度控制",
2033
+ "example": "0",
2034
+ "member": "float",
2035
+ "name": "Temperature",
2036
+ "required": false,
2037
+ "type": "float"
2029
2038
  }
2030
2039
  ],
2031
2040
  "type": "object"
@@ -8756,13 +8756,13 @@
8756
8756
  "members": [
8757
8757
  {
8758
8758
  "disabled": false,
8759
- "document": "实例启动模板版本号。\n注意:此字段可能返回 null,表示取不到有效值。",
8759
+ "document": "实例启动模板版本号。",
8760
8760
  "example": "1",
8761
8761
  "member": "uint64",
8762
8762
  "name": "LaunchTemplateVersion",
8763
8763
  "output_required": true,
8764
8764
  "type": "int",
8765
- "value_allowed_null": true
8765
+ "value_allowed_null": false
8766
8766
  },
8767
8767
  {
8768
8768
  "disabled": false,
@@ -8806,13 +8806,13 @@
8806
8806
  },
8807
8807
  {
8808
8808
  "disabled": false,
8809
- "document": "实例启动模板版本描述信息。\n注意:此字段可能返回 null,表示取不到有效值。",
8809
+ "document": "实例启动模板版本描述信息。",
8810
8810
  "example": "MyVersion",
8811
8811
  "member": "string",
8812
8812
  "name": "LaunchTemplateVersionDescription",
8813
8813
  "output_required": true,
8814
8814
  "type": "string",
8815
- "value_allowed_null": true
8815
+ "value_allowed_null": false
8816
8816
  },
8817
8817
  {
8818
8818
  "disabled": false,
@@ -10745,23 +10745,23 @@
10745
10745
  },
10746
10746
  {
10747
10747
  "disabled": false,
10748
- "document": "预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。\n注意:此字段可能返回 null,表示取不到有效值。",
10748
+ "document": "预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。",
10749
10749
  "example": "20.0",
10750
10750
  "member": "float",
10751
10751
  "name": "FixedPriceDiscount",
10752
10752
  "output_required": false,
10753
10753
  "type": "float",
10754
- "value_allowed_null": true
10754
+ "value_allowed_null": false
10755
10755
  },
10756
10756
  {
10757
10757
  "disabled": false,
10758
- "document": "后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。\n注意:此字段可能返回 null,表示取不到有效值。",
10758
+ "document": "后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。",
10759
10759
  "example": "20.0",
10760
10760
  "member": "float",
10761
10761
  "name": "UsagePriceDiscount",
10762
10762
  "output_required": false,
10763
10763
  "type": "float",
10764
- "value_allowed_null": true
10764
+ "value_allowed_null": false
10765
10765
  }
10766
10766
  ],
10767
10767
  "usage": "out"
@@ -15643,6 +15643,17 @@
15643
15643
  "required": false,
15644
15644
  "type": "int",
15645
15645
  "value_allowed_null": true
15646
+ },
15647
+ {
15648
+ "disabled": false,
15649
+ "document": "引擎类型\n",
15650
+ "example": "SuperSQL/Native",
15651
+ "member": "string",
15652
+ "name": "EngineGeneration",
15653
+ "output_required": false,
15654
+ "required": false,
15655
+ "type": "string",
15656
+ "value_allowed_null": false
15646
15657
  }
15647
15658
  ],
15648
15659
  "usage": "both"
@@ -260,7 +260,7 @@
260
260
  "status": "online"
261
261
  },
262
262
  "CreateMultiFlowSignQRCode": {
263
- "document": "此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。\n\n**适用场景**:\n签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。\n\n**注意**:\n1. 本接口适用于**发起方没有填写控件的 B2C或者单C模板**, 若是B2C模板,还要满足以下任意一个条件\n - 模板中配置的签署顺序是无序\n - B端企业的签署方式是静默签署\n - B端企业是非首位签署\n2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调\n]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)\n3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)\n\n签署码的样式如下图:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )",
263
+ "document": "此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。\n\n**适用场景**:\n签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。\n\n**注意**:\n1.满足以下条件的模板支持创建签署码: \n - 签署对象:企业与个人(无序签署)、企业与个人(顺序签署&企业非首位)、 仅个人签署。\n - 其发起方没有填写控件,签署方(B端或C端)可以有填写控件。 \n - 如签署对象中含企业方,企业方签署区只能由发起方企业签署。\n\n2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调\n]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)\n3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)\n\n签署码的样式如下图:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )",
264
264
  "input": "CreateMultiFlowSignQRCodeRequest",
265
265
  "name": "创建一码多签签署码",
266
266
  "output": "CreateMultiFlowSignQRCodeResponse",
@@ -3951,7 +3951,7 @@
3951
3951
  },
3952
3952
  {
3953
3953
  "disabled": false,
3954
- "document": "签署方签署控件(印章/签名等)的生成方式:\n<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>\n<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>",
3954
+ "document": "签署方签署控件(印章/签名等)的生成方式:\n<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>\n<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>\n\n注:签署方在签署时自行添加签署控件仅支持电子签小程序或web控制台签署,不支持H5",
3955
3955
  "example": "0",
3956
3956
  "member": "int64",
3957
3957
  "name": "SignBeanTag",
@@ -134,7 +134,7 @@
134
134
  "status": "online"
135
135
  },
136
136
  "ChannelCreateMultiFlowSignQRCode": {
137
- "document": "此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多签签署码。 \n\n**适用场景**:\n签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。\n\n**注意**:\n1. 本接口适用于**发起方没有填写控件的 B2C或者单C模板**, 若是B2C模板,还要满足以下任意一个条件\n - 模板中配置的签署顺序是无序\n - B端企业的签署方式是静默签署\n - B端企业是非首位签署\n2. 通过扫描一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调\n]( https://qian.tencent.com/developers/partner/callback_types_contracts_sign)\n3. 用户通过扫描一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)\n\n签署码的样式如下图:\n![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )",
137
+ "document": "此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多签签署码。 \n\n**适用场景**:\n签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。\n\n**注意**:\n1.满足以下条件的模板支持创建签署码: \n - 签署对象:企业与个人(无序签署)、企业与个人(顺序签署&企业非首位)、 仅个人签署。\n - 其发起方没有填写控件,签署方(B端或C端)可以有填写控件。 \n - 如签署对象中含企业方,企业方签署区只能由发起方企业签署。\n\n2. 通过扫描一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调\n]( https://qian.tencent.com/developers/partner/callback_types_contracts_sign)\n3. 用户通过扫描一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)\n\n签署码的样式如下图:\n![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )",
138
138
  "input": "ChannelCreateMultiFlowSignQRCodeRequest",
139
139
  "name": "创建一码多签签署码",
140
140
  "output": "ChannelCreateMultiFlowSignQRCodeResponse",
@@ -2541,7 +2541,7 @@
2541
2541
  },
2542
2542
  {
2543
2543
  "disabled": false,
2544
- "document": "签署方签署控件(印章/签名等)的生成方式:\n<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>\n<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>\n**注**: `发起后添加控件功能不支持添加签批控件`",
2544
+ "document": "签署方签署控件(印章/签名等)的生成方式:\n<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>\n<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>\n\n**注**: \n1.发起后添加控件功能不支持添加签批控件 \n2.签署方在签署时自行添加签署控件仅支持电子签小程序或web控制台签署,不支持H5",
2545
2545
  "example": "0",
2546
2546
  "member": "int64",
2547
2547
  "name": "SignBeanTag",
@@ -2153,6 +2153,16 @@
2153
2153
  "type": "list",
2154
2154
  "value_allowed_null": false
2155
2155
  },
2156
+ {
2157
+ "disabled": false,
2158
+ "document": "任务输出文件信息列表",
2159
+ "example": "无",
2160
+ "member": "CloudStorageAIServiceTaskFileInfo",
2161
+ "name": "FilesInfo",
2162
+ "output_required": false,
2163
+ "type": "list",
2164
+ "value_allowed_null": false
2165
+ },
2156
2166
  {
2157
2167
  "disabled": false,
2158
2168
  "document": "创建时间",
@@ -2186,6 +2196,88 @@
2186
2196
  ],
2187
2197
  "usage": "out"
2188
2198
  },
2199
+ "CloudStorageAIServiceTaskFileInfo": {
2200
+ "document": "云存 AI 任务输出文件信息",
2201
+ "members": [
2202
+ {
2203
+ "disabled": false,
2204
+ "document": "文件名称(含扩展名)",
2205
+ "example": "video.mp4",
2206
+ "member": "string",
2207
+ "name": "FileName",
2208
+ "output_required": true,
2209
+ "type": "string",
2210
+ "value_allowed_null": false
2211
+ },
2212
+ {
2213
+ "disabled": false,
2214
+ "document": "文件大小(单位:bytes)",
2215
+ "example": "1228800",
2216
+ "member": "int64",
2217
+ "name": "FileSize",
2218
+ "output_required": false,
2219
+ "type": "int",
2220
+ "value_allowed_null": false
2221
+ },
2222
+ {
2223
+ "disabled": false,
2224
+ "document": "文件下载 URL",
2225
+ "example": "https://example.com/video.mp4",
2226
+ "member": "string",
2227
+ "name": "DownloadURL",
2228
+ "output_required": false,
2229
+ "type": "string",
2230
+ "value_allowed_null": false
2231
+ },
2232
+ {
2233
+ "disabled": false,
2234
+ "document": "文件的 MIME Type",
2235
+ "example": "video/mp4",
2236
+ "member": "string",
2237
+ "name": "MimeType",
2238
+ "output_required": false,
2239
+ "type": "string",
2240
+ "value_allowed_null": false
2241
+ },
2242
+ {
2243
+ "disabled": false,
2244
+ "document": "视频文件元数据(仅当文件为视频类型时包含该字段)",
2245
+ "example": "无",
2246
+ "member": "CloudStorageAIServiceTaskVideoMetaInfo",
2247
+ "name": "VideoMetaInfo",
2248
+ "output_required": false,
2249
+ "type": "object",
2250
+ "value_allowed_null": false
2251
+ }
2252
+ ],
2253
+ "usage": "out"
2254
+ },
2255
+ "CloudStorageAIServiceTaskVideoMetaInfo": {
2256
+ "document": "云存 AI 任务输出视频文件元数据",
2257
+ "members": [
2258
+ {
2259
+ "disabled": false,
2260
+ "document": "视频对应的缩略图的文件名称(含扩展名)",
2261
+ "example": "thumbnail.jpg",
2262
+ "member": "string",
2263
+ "name": "ThumbnailFileName",
2264
+ "output_required": false,
2265
+ "type": "string",
2266
+ "value_allowed_null": false
2267
+ },
2268
+ {
2269
+ "disabled": false,
2270
+ "document": "视频时长(单位:毫秒)",
2271
+ "example": "30000",
2272
+ "member": "int64",
2273
+ "name": "DurationMilliSeconds",
2274
+ "output_required": false,
2275
+ "type": "int",
2276
+ "value_allowed_null": false
2277
+ }
2278
+ ],
2279
+ "usage": "out"
2280
+ },
2189
2281
  "CloudStorageEvent": {
2190
2282
  "document": "云存事件",
2191
2283
  "members": [
@@ -4994,6 +5086,42 @@
4994
5086
  "name": "ChannelId",
4995
5087
  "required": false,
4996
5088
  "type": "int"
5089
+ },
5090
+ {
5091
+ "disabled": false,
5092
+ "document": "设备名称列表。\n\n当需要同时查询多台设备的任务列表时传入,优先级高于参数 `DeviceName`",
5093
+ "example": "[\"dev001\", \"dev002\"]",
5094
+ "member": "string",
5095
+ "name": "DeviceNames",
5096
+ "required": false,
5097
+ "type": "list"
5098
+ },
5099
+ {
5100
+ "disabled": false,
5101
+ "document": "查询任务时间范围的起始时间(秒级 UNIX 时间戳)",
5102
+ "example": "1740585600",
5103
+ "member": "int64",
5104
+ "name": "StartTime",
5105
+ "required": false,
5106
+ "type": "int"
5107
+ },
5108
+ {
5109
+ "disabled": false,
5110
+ "document": "查询任务时间范围的结束时间(秒级 UNIX 时间戳)",
5111
+ "example": "1740671999",
5112
+ "member": "int64",
5113
+ "name": "EndTime",
5114
+ "required": false,
5115
+ "type": "int"
5116
+ },
5117
+ {
5118
+ "disabled": false,
5119
+ "document": "下载 URL 的过期时间。\n\n若传入该参数,则响应中将包含所有文件的下载 URL",
5120
+ "example": "1743436800",
5121
+ "member": "int64",
5122
+ "name": "FileURLExpireTime",
5123
+ "required": false,
5124
+ "type": "int"
4997
5125
  }
4998
5126
  ],
4999
5127
  "type": "object"
@@ -457,8 +457,8 @@
457
457
  "DescribeCloudStorageAIServiceTask": [
458
458
  {
459
459
  "document": "",
460
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\"\n}",
461
- "output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1714240802,\n \"DeviceName\": \"dev001\",\n \"EndTime\": 1714233600,\n \"Files\": [\n \"output.mp4\"\n ],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1714147200,\n \"Status\": 3,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"UpdateTime\": 1714240802\n }\n }\n}",
460
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n}",
461
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"TaskInfo\": {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"\",\n \"Files\": [\n \"highlight.mp4\",\n \"thumbnail.jpg\"\n ],\n \"FilesInfo\": [\n {\n \"FileName\": \"highlight.mp4\"\n },\n {\n \"FileName\": \"thumbnail.mp4\"\n }\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n }\n}",
462
462
  "title": "查询指定的云存 AI 分析任务"
463
463
  }
464
464
  ],
@@ -466,7 +466,7 @@
466
466
  {
467
467
  "document": "",
468
468
  "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTasks\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
469
- "output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"PackageDetect\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"\",\n \"Files\": [\n \"highlight.mp4\",\n \"thumbnail.jpg\"\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
469
+ "output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"\",\n \"Files\": [\n \"highlight.mp4\",\n \"thumbnail.jpg\"\n ],\n \"FilesInfo\": [\n {\n \"FileName\": \"highlight.mp4\"\n },\n {\n \"FileName\": \"thumbnail.mp4\"\n }\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
470
470
  "title": "查询视频浓缩结果列表"
471
471
  },
472
472
  {