tccli 3.0.1148.1__py2.py3-none-any.whl → 3.0.1150.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/cbs/v20170312/api.json +2 -2
- tccli/services/cwp/v20180228/api.json +63 -16
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +2 -2
- tccli/services/dc/v20180410/api.json +14 -7
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +67 -5
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +56 -3
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/gaap/gaap_client.py +53 -0
- tccli/services/gaap/v20180529/api.json +34 -0
- tccli/services/gaap/v20180529/examples.json +8 -0
- tccli/services/iotexplorer/v20190423/api.json +85 -1
- tccli/services/live/v20180801/api.json +6 -0
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +10 -1
- tccli/services/mariadb/mariadb_client.py +53 -0
- tccli/services/mariadb/v20170312/api.json +88 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/mongodb/v20190725/api.json +53 -44
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +8 -6
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +33 -0
- tccli/services/organization/v20210331/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/ses/v20201002/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +4 -2
- tccli/services/thpc/v20230321/api.json +11 -3
- tccli/services/trtc/v20190722/api.json +15 -5
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/RECORD +41 -41
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/license_files/LICENSE +0 -0
@@ -244,6 +244,14 @@
|
|
244
244
|
"title": "获取合同详情嵌入Web链接失败,是因为对应的签署流程不存在。"
|
245
245
|
}
|
246
246
|
],
|
247
|
+
"CreateEmployeeQualificationSealQrCode": [
|
248
|
+
{
|
249
|
+
"document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
|
250
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"HintText\": \"请授权执业章\"\n}",
|
251
|
+
"output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}",
|
252
|
+
"title": "生成员工执业章授权二维码"
|
253
|
+
}
|
254
|
+
],
|
247
255
|
"CreateExtendedServiceAuthInfos": [
|
248
256
|
{
|
249
257
|
"document": "集团主企业代子企业操作",
|
@@ -444,6 +452,12 @@
|
|
444
452
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"19561039c99fe825a934a132520fde6a\"\n },\n \"FlowName\": \"标书文件合同示例\",\n \"FlowType\": \"示例合同\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 60,\n \"ComponentHeight\": 100,\n \"ComponentExtra\": \"{\\\"PageRanges\\\":[{\\\"BeginPage\\\":1,\\\"EndPage\\\":-1}]}\"\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18888888888\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDR4yUUgyg1qqlj7UuO4zjES3G9Shoxk\"\n ]\n}",
|
445
453
|
"output": "{\n \"Response\": {\n \"FlowId\": \"yDwFkUUckpstin4sUuZjBEY5Ia2XB7sz\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1665674603446404796\"\n }\n}",
|
446
454
|
"title": "标书场景下,需要创建一份本方企业和个人签署的标书文件,要求本方企业的印章控件需要在每一页都进行盖章。"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"document": "1.通过PDF文件发起合同\n2.指定B端签署方为企业【典子谦示例企业】,经办人为【何规】\n3.指定C端签署方为个人【张三】\n4.水印控件通过外层 参数 Components 传递,ComponentType 设置为 WATERMARK,设置\"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",ComponentValue 为自定义水印的内容\n",
|
458
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxbTUyKQWPt5NUuO4zjEuyFAyOX3v9C\"\n },\n \"FlowName\": \"文件发起B2C-自定义水印内容\",\n \"Components\": [\n {\n \"ComponentType\": \"WATERMARK\",\n \"ComponentName\": \"合同水印\",\n \"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",\n \"ComponentValue\": \"自定义水印内容\",\n \"ComponentPage\": 0,\n \"ComponentWidth\": 0,\n \"ComponentHeight\": 0,\n \"ComponentPosX\": 0,\n \"ComponentPosY\": 0,\n \"FileIndex\": 0\n }\n ],\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"何规\",\n \"ApproverMobile\": \"18200000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 143.59375,\n \"ComponentPosY\": 169.0625,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\",\\\"FontColor\\\":\\\"0,82,217\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 205,\n \"ComponentPosY\": 114,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 234,\n \"ComponentPosY\": 142,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 302,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-LEGAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 191.09,\n \"ComponentPosY\": 172,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 335,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 21,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 205,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 366,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 107,\n \"ComponentPosY\": 236,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 121,\n \"ComponentPosY\": 265,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 327,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 35.09,\n \"ComponentPosY\": 293,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DISTRICT\",\n \"ComponentWidth\": 306,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 44,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 44,\n \"ComponentPosY\": 652,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 505,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 145,\n \"ComponentPosY\": 68,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 130.09375,\n \"ComponentPosY\": 555.09375,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 27,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 134.09,\n \"ComponentPosY\": 628.09,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 398,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{}\",\n \"ComponentHeight\": 16,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 83.09375,\n \"ComponentPosY\": 96.5625,\n \"ComponentType\": \"CHECK_BOX\",\n \"ComponentWidth\": 16,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FillMethod\\\":0,\\\"NotMakeImageCenter\\\":true}\",\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 13,\n \"ComponentPosY\": 394,\n \"ComponentType\": \"FILL_IMAGE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"LimitCount\\\":3,\\\"AttachmentType\\\":\\\"IMG\\\"}\",\n \"ComponentHeight\": 42,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 12,\n \"ComponentPosY\": 537,\n \"ComponentRequired\": true,\n \"ComponentType\": \"ATTACHMENT\",\n \"ComponentWidth\": 240,\n \"FileIndex\": 0\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18700000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 43,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 433.59375,\n \"ComponentPosY\": 196.0625,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 199,\n \"ComponentPosY\": 323,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 309,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 24,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 386,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 390,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 114.09,\n \"ComponentPosY\": 416,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 299,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 115.09,\n \"ComponentPosY\": 445,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 367,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"EDUCATION\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_30\",\n \"ComponentName\": \"学历\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 8.09375,\n \"ComponentPosY\": 473,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"EMAIL\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_28\",\n \"ComponentName\": \"邮箱\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 117.09375,\n \"ComponentPosY\": 474,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 292,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"GENDER\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_29\",\n \"ComponentName\": \"性别\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 424.09375,\n \"ComponentPosY\": 472,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDCWqUUckpve5id3U4f5EL77tlNh6zTZ\"\n ]\n}",
|
459
|
+
"output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2v6U9JHnkxcJrDXddLQ\",\n \"SignId\": \"yDCVsUUckpwri3vwU9JHnky9uvwe3h25\"\n },\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2vbU9JHnkSdZKiAyEs3\",\n \"SignId\": \"yDCVsUUckpwri2vvU9JHnkvaHtOttw1h\"\n }\n ],\n \"FlowId\": \"yDCVsUUckpwri3vyU9JHnkBDqTFanBa3\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1709793654575755487\"\n }\n}",
|
460
|
+
"title": "文件发起B2C合同,发起方设置合同水印(自定义水印内容)"
|
447
461
|
}
|
448
462
|
],
|
449
463
|
"CreateFlowEvidenceReport": [
|
@@ -2515,6 +2515,58 @@ def doPrepareFlows(args, parsed_globals):
|
|
2515
2515
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2516
2516
|
|
2517
2517
|
|
2518
|
+
def doModifySeal(args, parsed_globals):
|
2519
|
+
g_param = parse_global_arg(parsed_globals)
|
2520
|
+
|
2521
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2522
|
+
cred = credential.CVMRoleCredential()
|
2523
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2524
|
+
cred = credential.STSAssumeRoleCredential(
|
2525
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2526
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2527
|
+
)
|
2528
|
+
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):
|
2529
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2530
|
+
else:
|
2531
|
+
cred = credential.Credential(
|
2532
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2533
|
+
)
|
2534
|
+
http_profile = HttpProfile(
|
2535
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2536
|
+
reqMethod="POST",
|
2537
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2538
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2539
|
+
)
|
2540
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2541
|
+
if g_param[OptionsDefine.Language]:
|
2542
|
+
profile.language = g_param[OptionsDefine.Language]
|
2543
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2544
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2545
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2546
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2547
|
+
model = models.ModifySealRequest()
|
2548
|
+
model.from_json_string(json.dumps(args))
|
2549
|
+
start_time = time.time()
|
2550
|
+
while True:
|
2551
|
+
rsp = client.ModifySeal(model)
|
2552
|
+
result = rsp.to_json_string()
|
2553
|
+
try:
|
2554
|
+
json_obj = json.loads(result)
|
2555
|
+
except TypeError as e:
|
2556
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2557
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2558
|
+
break
|
2559
|
+
cur_time = time.time()
|
2560
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2561
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2562
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2563
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2564
|
+
else:
|
2565
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2566
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2567
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2568
|
+
|
2569
|
+
|
2518
2570
|
def doChannelDescribeRoles(args, parsed_globals):
|
2519
2571
|
g_param = parse_global_arg(parsed_globals)
|
2520
2572
|
|
@@ -3399,7 +3451,7 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
|
|
3399
3451
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3400
3452
|
|
3401
3453
|
|
3402
|
-
def
|
3454
|
+
def doCreateEmployeeQualificationSealQrCode(args, parsed_globals):
|
3403
3455
|
g_param = parse_global_arg(parsed_globals)
|
3404
3456
|
|
3405
3457
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3428,11 +3480,11 @@ def doModifySeal(args, parsed_globals):
|
|
3428
3480
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
3429
3481
|
client._sdkVersion += ("_CLI_" + __version__)
|
3430
3482
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3431
|
-
model = models.
|
3483
|
+
model = models.CreateEmployeeQualificationSealQrCodeRequest()
|
3432
3484
|
model.from_json_string(json.dumps(args))
|
3433
3485
|
start_time = time.time()
|
3434
3486
|
while True:
|
3435
|
-
rsp = client.
|
3487
|
+
rsp = client.CreateEmployeeQualificationSealQrCode(model)
|
3436
3488
|
result = rsp.to_json_string()
|
3437
3489
|
try:
|
3438
3490
|
json_obj = json.loads(result)
|
@@ -6684,6 +6736,7 @@ ACTION_MAP = {
|
|
6684
6736
|
"DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail,
|
6685
6737
|
"GenerateUserSeal": doGenerateUserSeal,
|
6686
6738
|
"PrepareFlows": doPrepareFlows,
|
6739
|
+
"ModifySeal": doModifySeal,
|
6687
6740
|
"ChannelDescribeRoles": doChannelDescribeRoles,
|
6688
6741
|
"DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows,
|
6689
6742
|
"DescribeChannelOrganizations": doDescribeChannelOrganizations,
|
@@ -6701,7 +6754,7 @@ ACTION_MAP = {
|
|
6701
6754
|
"ChannelCreateBatchQuickSignUrl": doChannelCreateBatchQuickSignUrl,
|
6702
6755
|
"ChannelDisableUserAutoSign": doChannelDisableUserAutoSign,
|
6703
6756
|
"CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
|
6704
|
-
"
|
6757
|
+
"CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode,
|
6705
6758
|
"DescribeCustomFlowIds": doDescribeCustomFlowIds,
|
6706
6759
|
"CreateSubOrganizationAndSeal": doCreateSubOrganizationAndSeal,
|
6707
6760
|
"ChannelGetTaskResultApi": doChannelGetTaskResultApi,
|
@@ -343,6 +343,13 @@
|
|
343
343
|
"output": "CreateConsoleLoginUrlResponse",
|
344
344
|
"status": "online"
|
345
345
|
},
|
346
|
+
"CreateEmployeeQualificationSealQrCode": {
|
347
|
+
"document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。",
|
348
|
+
"input": "CreateEmployeeQualificationSealQrCodeRequest",
|
349
|
+
"name": "创建个人印章授权给企业使用的授权二维码",
|
350
|
+
"output": "CreateEmployeeQualificationSealQrCodeResponse",
|
351
|
+
"status": "online"
|
352
|
+
},
|
346
353
|
"CreateFlowBlockchainEvidenceUrl": {
|
347
354
|
"document": "获取区块链存证证书查看链接/二维码接口\n\n适用场景:企业员工可以通过此接口生成合同区块链存证证书的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。\n\n[点击查看区块链存证证书样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)\n\n注:\n<ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color=\"red\">7天</font>,超过有效期则不可用。</li>\n<li>2. 合同状态需为<font color=\"red\">签署完成</font> 、<font color=\"red\">已解除</font>才能生成证书查看二维码/短链。</li>\n<li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>\n<li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证证书,请妥善保管好二维码或链接。</li></ul>",
|
348
355
|
"input": "CreateFlowBlockchainEvidenceUrlRequest",
|
@@ -4357,7 +4364,7 @@
|
|
4357
4364
|
},
|
4358
4365
|
{
|
4359
4366
|
"disabled": false,
|
4360
|
-
"document": "电子印章类型 , 可选类型如下:
|
4367
|
+
"document": "电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: 公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li><<li>**EMPLOYEE_QUALIFICATION_SEAL**: 员工执业章</li></ul>注: `为空时查询所有类型的印章。`",
|
4361
4368
|
"example": "无",
|
4362
4369
|
"member": "string",
|
4363
4370
|
"name": "SealTypes",
|
@@ -6044,7 +6051,7 @@
|
|
6044
6051
|
},
|
6045
6052
|
{
|
6046
6053
|
"disabled": false,
|
6047
|
-
"document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n<font color=\"red\"
|
6054
|
+
"document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n<font color=\"red\">\n在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。\n企业名称请使用以下名称, 以下名称可以不用走收录。\n**子客测试专用企业1 - 子客测试专用企业9**</font>\n\n注:\n `1. 如果名称中包含英文括号(),请使用中文括号()代替。`\n `2、该名称需要与Agent.ProxyOrganizationOpenId相匹配, 企业激活后Agent.ProxyOrganizationOpenId会跟此企业名称一一绑定; 如果您的企业已经在认证授权中或者激活完成,这里修改子客企业名字将不会生效。 `",
|
6048
6055
|
"example": "典子谦示例企业测试",
|
6049
6056
|
"member": "string",
|
6050
6057
|
"name": "ProxyOrganizationName",
|
@@ -6213,6 +6220,52 @@
|
|
6213
6220
|
],
|
6214
6221
|
"type": "object"
|
6215
6222
|
},
|
6223
|
+
"CreateEmployeeQualificationSealQrCodeRequest": {
|
6224
|
+
"document": "CreateEmployeeQualificationSealQrCode请求参数结构体",
|
6225
|
+
"members": [
|
6226
|
+
{
|
6227
|
+
"disabled": false,
|
6228
|
+
"document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。<ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证",
|
6229
|
+
"example": "无",
|
6230
|
+
"member": "Agent",
|
6231
|
+
"name": "Agent",
|
6232
|
+
"required": true,
|
6233
|
+
"type": "object"
|
6234
|
+
},
|
6235
|
+
{
|
6236
|
+
"disabled": false,
|
6237
|
+
"document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的",
|
6238
|
+
"example": "无",
|
6239
|
+
"member": "string",
|
6240
|
+
"name": "HintText",
|
6241
|
+
"required": false,
|
6242
|
+
"type": "string"
|
6243
|
+
}
|
6244
|
+
],
|
6245
|
+
"type": "object"
|
6246
|
+
},
|
6247
|
+
"CreateEmployeeQualificationSealQrCodeResponse": {
|
6248
|
+
"document": "CreateEmployeeQualificationSealQrCode返回参数结构体",
|
6249
|
+
"members": [
|
6250
|
+
{
|
6251
|
+
"disabled": false,
|
6252
|
+
"document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`",
|
6253
|
+
"example": "无",
|
6254
|
+
"member": "string",
|
6255
|
+
"name": "QrcodeBase64",
|
6256
|
+
"output_required": false,
|
6257
|
+
"type": "string",
|
6258
|
+
"value_allowed_null": false
|
6259
|
+
},
|
6260
|
+
{
|
6261
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6262
|
+
"member": "string",
|
6263
|
+
"name": "RequestId",
|
6264
|
+
"type": "string"
|
6265
|
+
}
|
6266
|
+
],
|
6267
|
+
"type": "object"
|
6268
|
+
},
|
6216
6269
|
"CreateFlowBlockchainEvidenceUrlRequest": {
|
6217
6270
|
"document": "CreateFlowBlockchainEvidenceUrl请求参数结构体",
|
6218
6271
|
"members": [
|
@@ -8016,7 +8069,7 @@
|
|
8016
8069
|
"members": [
|
8017
8070
|
{
|
8018
8071
|
"disabled": false,
|
8019
|
-
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li>
|
8072
|
+
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>\n<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>\n<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>\n</ul>",
|
8020
8073
|
"example": "AUTO_SIGN",
|
8021
8074
|
"member": "string",
|
8022
8075
|
"name": "Type",
|
@@ -746,6 +746,14 @@
|
|
746
746
|
"title": "生成到模板详情的控制台链接"
|
747
747
|
}
|
748
748
|
],
|
749
|
+
"CreateEmployeeQualificationSealQrCode": [
|
750
|
+
{
|
751
|
+
"document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
|
752
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\",\n \"ProxyOrganizationOpenId\": \"org_zhangsan\",\n \"ProxyOperator\": {\n \"OpenId\": \"n02468\"\n }\n },\n \"HintText\": \"我是提示文字\"\n}",
|
753
|
+
"output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}",
|
754
|
+
"title": "生成员工执业章授权二维码"
|
755
|
+
}
|
756
|
+
],
|
749
757
|
"CreateFlowBlockchainEvidenceUrl": [
|
750
758
|
{
|
751
759
|
"document": "拥有访问权限的员工生成合同区块链存证证书查看二维码/链接",
|
@@ -3761,6 +3761,58 @@ def doDescribeFirstLinkSession(args, parsed_globals):
|
|
3761
3761
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3762
3762
|
|
3763
3763
|
|
3764
|
+
def doDescribeTaskStatus(args, parsed_globals):
|
3765
|
+
g_param = parse_global_arg(parsed_globals)
|
3766
|
+
|
3767
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3768
|
+
cred = credential.CVMRoleCredential()
|
3769
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3770
|
+
cred = credential.STSAssumeRoleCredential(
|
3771
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3772
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3773
|
+
)
|
3774
|
+
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):
|
3775
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3776
|
+
else:
|
3777
|
+
cred = credential.Credential(
|
3778
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3779
|
+
)
|
3780
|
+
http_profile = HttpProfile(
|
3781
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3782
|
+
reqMethod="POST",
|
3783
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3784
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3785
|
+
)
|
3786
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3787
|
+
if g_param[OptionsDefine.Language]:
|
3788
|
+
profile.language = g_param[OptionsDefine.Language]
|
3789
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3790
|
+
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
3791
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3792
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3793
|
+
model = models.DescribeTaskStatusRequest()
|
3794
|
+
model.from_json_string(json.dumps(args))
|
3795
|
+
start_time = time.time()
|
3796
|
+
while True:
|
3797
|
+
rsp = client.DescribeTaskStatus(model)
|
3798
|
+
result = rsp.to_json_string()
|
3799
|
+
try:
|
3800
|
+
json_obj = json.loads(result)
|
3801
|
+
except TypeError as e:
|
3802
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3803
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3804
|
+
break
|
3805
|
+
cur_time = time.time()
|
3806
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3807
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3808
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3809
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3810
|
+
else:
|
3811
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3812
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3813
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3814
|
+
|
3815
|
+
|
3764
3816
|
def doAddRealServers(args, parsed_globals):
|
3765
3817
|
g_param = parse_global_arg(parsed_globals)
|
3766
3818
|
|
@@ -5508,6 +5560,7 @@ ACTION_MAP = {
|
|
5508
5560
|
"CreateDomain": doCreateDomain,
|
5509
5561
|
"DescribeCertificateDetail": doDescribeCertificateDetail,
|
5510
5562
|
"DescribeFirstLinkSession": doDescribeFirstLinkSession,
|
5563
|
+
"DescribeTaskStatus": doDescribeTaskStatus,
|
5511
5564
|
"AddRealServers": doAddRealServers,
|
5512
5565
|
"DisableGlobalDomain": doDisableGlobalDomain,
|
5513
5566
|
"DescribeRegionAndPrice": doDescribeRegionAndPrice,
|
@@ -532,6 +532,13 @@
|
|
532
532
|
"output": "DescribeTCPListenersResponse",
|
533
533
|
"status": "online"
|
534
534
|
},
|
535
|
+
"DescribeTaskStatus": {
|
536
|
+
"document": "查询异步任务执行状态",
|
537
|
+
"input": "DescribeTaskStatusRequest",
|
538
|
+
"name": "查询异步任务状态",
|
539
|
+
"output": "DescribeTaskStatusResponse",
|
540
|
+
"status": "online"
|
541
|
+
},
|
535
542
|
"DescribeUDPListeners": {
|
536
543
|
"document": "该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息",
|
537
544
|
"input": "DescribeUDPListenersRequest",
|
@@ -6213,6 +6220,33 @@
|
|
6213
6220
|
],
|
6214
6221
|
"type": "object"
|
6215
6222
|
},
|
6223
|
+
"DescribeTaskStatusRequest": {
|
6224
|
+
"document": "DescribeTaskStatus请求参数结构体",
|
6225
|
+
"members": [
|
6226
|
+
{
|
6227
|
+
"disabled": false,
|
6228
|
+
"document": "任务ID,值为异步接口返回的RequestId",
|
6229
|
+
"example": "无",
|
6230
|
+
"member": "string",
|
6231
|
+
"name": "TaskId",
|
6232
|
+
"required": false,
|
6233
|
+
"type": "string"
|
6234
|
+
}
|
6235
|
+
],
|
6236
|
+
"type": "object"
|
6237
|
+
},
|
6238
|
+
"DescribeTaskStatusResponse": {
|
6239
|
+
"document": "DescribeTaskStatus返回参数结构体",
|
6240
|
+
"members": [
|
6241
|
+
{
|
6242
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6243
|
+
"member": "string",
|
6244
|
+
"name": "RequestId",
|
6245
|
+
"type": "string"
|
6246
|
+
}
|
6247
|
+
],
|
6248
|
+
"type": "object"
|
6249
|
+
},
|
6216
6250
|
"DescribeUDPListenersRequest": {
|
6217
6251
|
"document": "DescribeUDPListeners请求参数结构体",
|
6218
6252
|
"members": [
|
@@ -656,6 +656,14 @@
|
|
656
656
|
"title": "查询TCP监听器列表"
|
657
657
|
}
|
658
658
|
],
|
659
|
+
"DescribeTaskStatus": [
|
660
|
+
{
|
661
|
+
"document": "查询异步任务执行状态",
|
662
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskStatus\n<公共请求参数>\n\n{\n \"TaskId\": \"08388e12-d2e2-4376-ade0-1a59fdd9f4d2\"\n}",
|
663
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"766d83c7-c0b1-4973-bdf3-effeeffa34d7\"\n }\n}",
|
664
|
+
"title": "查询异步任务执行状态"
|
665
|
+
}
|
666
|
+
],
|
659
667
|
"DescribeUDPListeners": [
|
660
668
|
{
|
661
669
|
"document": "查询UDP监听器列表",
|
@@ -1744,6 +1744,34 @@
|
|
1744
1744
|
],
|
1745
1745
|
"type": "object"
|
1746
1746
|
},
|
1747
|
+
"CamTag": {
|
1748
|
+
"document": "标签数据结构",
|
1749
|
+
"members": [
|
1750
|
+
{
|
1751
|
+
"disabled": false,
|
1752
|
+
"document": "标签键\n注意:此字段可能返回 null,表示取不到有效值。",
|
1753
|
+
"example": "无",
|
1754
|
+
"member": "string",
|
1755
|
+
"name": "TagKey",
|
1756
|
+
"output_required": false,
|
1757
|
+
"required": false,
|
1758
|
+
"type": "string",
|
1759
|
+
"value_allowed_null": true
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"disabled": false,
|
1763
|
+
"document": "标签值\n注意:此字段可能返回 null,表示取不到有效值。",
|
1764
|
+
"example": "无",
|
1765
|
+
"member": "string",
|
1766
|
+
"name": "TagValue",
|
1767
|
+
"output_required": false,
|
1768
|
+
"required": false,
|
1769
|
+
"type": "string",
|
1770
|
+
"value_allowed_null": true
|
1771
|
+
}
|
1772
|
+
],
|
1773
|
+
"usage": "both"
|
1774
|
+
},
|
1747
1775
|
"CancelAssignTWeCallLicenseRequest": {
|
1748
1776
|
"document": "CancelAssignTWeCallLicense请求参数结构体",
|
1749
1777
|
"members": [
|
@@ -6981,10 +7009,20 @@
|
|
6981
7009
|
"example": "无",
|
6982
7010
|
"member": "TopicRule",
|
6983
7011
|
"name": "Rule",
|
6984
|
-
"
|
7012
|
+
"output_required": true,
|
6985
7013
|
"type": "object",
|
6986
7014
|
"value_allowed_null": true
|
6987
7015
|
},
|
7016
|
+
{
|
7017
|
+
"disabled": false,
|
7018
|
+
"document": "规则绑定的标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
7019
|
+
"example": "无",
|
7020
|
+
"member": "CamTag",
|
7021
|
+
"name": "CamTag",
|
7022
|
+
"output_required": false,
|
7023
|
+
"type": "list",
|
7024
|
+
"value_allowed_null": true
|
7025
|
+
},
|
6988
7026
|
{
|
6989
7027
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6990
7028
|
"member": "string",
|
@@ -7997,6 +8035,30 @@
|
|
7997
8035
|
],
|
7998
8036
|
"usage": "out"
|
7999
8037
|
},
|
8038
|
+
"Filter": {
|
8039
|
+
"document": "描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等\n\n- 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。\n\n- 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。",
|
8040
|
+
"members": [
|
8041
|
+
{
|
8042
|
+
"disabled": false,
|
8043
|
+
"document": "需要过滤的字段",
|
8044
|
+
"example": "tag:tag-key",
|
8045
|
+
"member": "string",
|
8046
|
+
"name": "Name",
|
8047
|
+
"required": true,
|
8048
|
+
"type": "string"
|
8049
|
+
},
|
8050
|
+
{
|
8051
|
+
"disabled": false,
|
8052
|
+
"document": "字段的过滤的一个或多个值",
|
8053
|
+
"example": "tag-value",
|
8054
|
+
"member": "string",
|
8055
|
+
"name": "Values",
|
8056
|
+
"required": false,
|
8057
|
+
"type": "list"
|
8058
|
+
}
|
8059
|
+
],
|
8060
|
+
"usage": "in"
|
8061
|
+
},
|
8000
8062
|
"FirmwareInfo": {
|
8001
8063
|
"document": "设备固件详细信息",
|
8002
8064
|
"members": [
|
@@ -8529,6 +8591,15 @@
|
|
8529
8591
|
"name": "ProjectId",
|
8530
8592
|
"required": false,
|
8531
8593
|
"type": "string"
|
8594
|
+
},
|
8595
|
+
{
|
8596
|
+
"disabled": false,
|
8597
|
+
"document": "每次请求的Filters的上限为10,Filter.Values的上限为1。",
|
8598
|
+
"example": "NA",
|
8599
|
+
"member": "Filter",
|
8600
|
+
"name": "Filters",
|
8601
|
+
"required": false,
|
8602
|
+
"type": "list"
|
8532
8603
|
}
|
8533
8604
|
],
|
8534
8605
|
"type": "object"
|
@@ -8542,6 +8613,7 @@
|
|
8542
8613
|
"example": "无",
|
8543
8614
|
"member": "DeviceInfo",
|
8544
8615
|
"name": "Devices",
|
8616
|
+
"output_required": true,
|
8545
8617
|
"type": "list",
|
8546
8618
|
"value_allowed_null": true
|
8547
8619
|
},
|
@@ -8551,6 +8623,7 @@
|
|
8551
8623
|
"example": "3",
|
8552
8624
|
"member": "int64",
|
8553
8625
|
"name": "Total",
|
8626
|
+
"output_required": true,
|
8554
8627
|
"type": "int",
|
8555
8628
|
"value_allowed_null": true
|
8556
8629
|
},
|
@@ -12576,6 +12649,15 @@
|
|
12576
12649
|
"name": "ProductId",
|
12577
12650
|
"required": false,
|
12578
12651
|
"type": "string"
|
12652
|
+
},
|
12653
|
+
{
|
12654
|
+
"disabled": false,
|
12655
|
+
"document": "每次请求的Filters的上限为10,Filter.Values的上限为1。",
|
12656
|
+
"example": "NA",
|
12657
|
+
"member": "Filter",
|
12658
|
+
"name": "Filters",
|
12659
|
+
"required": false,
|
12660
|
+
"type": "list"
|
12579
12661
|
}
|
12580
12662
|
],
|
12581
12663
|
"type": "object"
|
@@ -12589,6 +12671,7 @@
|
|
12589
12671
|
"example": "无",
|
12590
12672
|
"member": "ProductEntry",
|
12591
12673
|
"name": "Products",
|
12674
|
+
"output_required": true,
|
12592
12675
|
"type": "list",
|
12593
12676
|
"value_allowed_null": false
|
12594
12677
|
},
|
@@ -12598,6 +12681,7 @@
|
|
12598
12681
|
"example": "1",
|
12599
12682
|
"member": "int64",
|
12600
12683
|
"name": "Total",
|
12684
|
+
"output_required": true,
|
12601
12685
|
"type": "int",
|
12602
12686
|
"value_allowed_null": false
|
12603
12687
|
},
|
@@ -7136,6 +7136,7 @@
|
|
7136
7136
|
"example": "无",
|
7137
7137
|
"member": "PullStreamTaskInfo",
|
7138
7138
|
"name": "TaskInfos",
|
7139
|
+
"output_required": true,
|
7139
7140
|
"type": "list",
|
7140
7141
|
"value_allowed_null": false
|
7141
7142
|
},
|
@@ -7145,6 +7146,7 @@
|
|
7145
7146
|
"example": "1",
|
7146
7147
|
"member": "uint64",
|
7147
7148
|
"name": "PageNum",
|
7149
|
+
"output_required": true,
|
7148
7150
|
"type": "int",
|
7149
7151
|
"value_allowed_null": false
|
7150
7152
|
},
|
@@ -7154,6 +7156,7 @@
|
|
7154
7156
|
"example": "10",
|
7155
7157
|
"member": "uint64",
|
7156
7158
|
"name": "PageSize",
|
7159
|
+
"output_required": true,
|
7157
7160
|
"type": "int",
|
7158
7161
|
"value_allowed_null": false
|
7159
7162
|
},
|
@@ -7163,6 +7166,7 @@
|
|
7163
7166
|
"example": "1",
|
7164
7167
|
"member": "uint64",
|
7165
7168
|
"name": "TotalNum",
|
7169
|
+
"output_required": true,
|
7166
7170
|
"type": "int",
|
7167
7171
|
"value_allowed_null": false
|
7168
7172
|
},
|
@@ -7172,6 +7176,7 @@
|
|
7172
7176
|
"example": "1",
|
7173
7177
|
"member": "uint64",
|
7174
7178
|
"name": "TotalPage",
|
7179
|
+
"output_required": true,
|
7175
7180
|
"type": "int",
|
7176
7181
|
"value_allowed_null": false
|
7177
7182
|
},
|
@@ -7181,6 +7186,7 @@
|
|
7181
7186
|
"example": "20",
|
7182
7187
|
"member": "uint64",
|
7183
7188
|
"name": "LimitTaskNum",
|
7189
|
+
"output_required": true,
|
7184
7190
|
"type": "int",
|
7185
7191
|
"value_allowed_null": false
|
7186
7192
|
},
|
@@ -636,7 +636,7 @@
|
|
636
636
|
{
|
637
637
|
"document": "查询直播拉流任务。",
|
638
638
|
"input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLivePullStreamTasks\n<公共请求参数>\n\n{\n \"TaskId\": \"123\"\n}",
|
639
|
-
"output": "{\n \"Response\": {\n \"TaskInfos\": [\n {\n \"AppName\": \"live\",\n \"Region\": \"ap-beijing\",\n \"CallbackInfo\": \"\",\n \"CallbackEvents\": [\n \"TaskStart\",\n \"TaskExit\"\n ],\n \"CallbackUrl\": \"\",\n \"CreateBy\": \"yourname\",\n \"DomainName\": \"yourdomain.com\",\n \"EndTime\": \"2020-04-25T00:30:00Z\",\n \"ErrorInfo\": \"\",\n \"PushArgs\": \"txsecret=7cbb8f382a21e8d2f6cd8098100d3b8e&txtime=5ea0450d\",\n \"SourceType\": \"PullLivePushLive\",\n \"SourceUrls\": [\n \"http://yourdomain/live/test.flv\"\n ],\n \"StartTime\": \"2020-04-20T00:30:00Z\",\n \"Status\": \"enable\",\n \"StreamName\": \"teststream\",\n \"Comment\": \"abc\",\n \"TaskId\": \"10054\",\n \"UpdateBy\": \"\",\n \"UpdateTime\": \"2020-04-23T05:07:43Z\",\n \"CreateTime\": \"2020-04-20T05:07:43Z\",\n \"VodLoopTimes\": -1,\n \"VodRefreshType\": \"ImmediateNewSource\",\n \"VodLocalMode\": 0,\n \"BackupSourceType\": \"\",\n \"BackupSourceUrl\": \"\",\n \"WatermarkList\": [],\n \"RecentPullInfo\": {\n \"FileUrl\": \"http://yourdomain/live/test.flv\",\n \"OffsetTime\": 95,\n \"LoopedTimes\": 0,\n \"ReportTime\": \"2020-04-23T08:20:39Z\"\n }\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"LimitTaskNum\": 20,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
639
|
+
"output": "{\n \"Response\": {\n \"TaskInfos\": [\n {\n \"AppName\": \"live\",\n \"Region\": \"ap-beijing\",\n \"CallbackInfo\": \"\",\n \"CallbackEvents\": [\n \"TaskStart\",\n \"TaskExit\"\n ],\n \"CallbackUrl\": \"\",\n \"CreateBy\": \"yourname\",\n \"DomainName\": \"yourdomain.com\",\n \"EndTime\": \"2020-04-25T00:30:00Z\",\n \"ErrorInfo\": \"\",\n \"BackupToUrl\": \"\",\n \"RecordTemplateId\": \"\",\n \"PushArgs\": \"txsecret=7cbb8f382a21e8d2f6cd8098100d3b8e&txtime=5ea0450d\",\n \"SourceType\": \"PullLivePushLive\",\n \"SourceUrls\": [\n \"http://yourdomain/live/test.flv\"\n ],\n \"StartTime\": \"2020-04-20T00:30:00Z\",\n \"Status\": \"enable\",\n \"StreamName\": \"teststream\",\n \"Comment\": \"abc\",\n \"TaskId\": \"10054\",\n \"UpdateBy\": \"\",\n \"UpdateTime\": \"2020-04-23T05:07:43Z\",\n \"CreateTime\": \"2020-04-20T05:07:43Z\",\n \"VodLoopTimes\": -1,\n \"VodRefreshType\": \"ImmediateNewSource\",\n \"VodLocalMode\": 0,\n \"BackupSourceType\": \"\",\n \"BackupSourceUrl\": \"\",\n \"WatermarkList\": [],\n \"RecentPullInfo\": {\n \"FileUrl\": \"http://yourdomain/live/test.flv\",\n \"OffsetTime\": 95,\n \"LoopedTimes\": 0,\n \"ReportTime\": \"2020-04-23T08:20:39Z\"\n }\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"LimitTaskNum\": 20,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
640
640
|
"title": "请求示例"
|
641
641
|
}
|
642
642
|
],
|