tccli 3.0.997.1__py2.py3-none-any.whl → 3.0.999.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cynosdb/v20190107/DescribeClusterDatabases.md +24 -0
  3. tccli/examples/essbasic/v20210526/ChannelDeleteSealPolicies.md +10 -7
  4. tccli/examples/essbasic/v20210526/ChannelDescribeOrganizationSeals.md +6 -5
  5. tccli/examples/essbasic/v20210526/ChannelDescribeRoles.md +669 -447
  6. tccli/examples/essbasic/v20210526/ChannelUpdateSealStatus.md +6 -3
  7. tccli/examples/faceid/v20180301/DetectAIFakeFaces.md +52 -0
  8. tccli/examples/monitor/v20180724/ModifyAlarmPolicyCondition.md +77 -0
  9. tccli/examples/sqlserver/v20180328/CreateAccount.md +1 -1
  10. tccli/examples/sqlserver/v20180328/ModifyAccountPrivilege.md +1 -1
  11. tccli/examples/sqlserver/v20180328/RestartDBInstance.md +1 -1
  12. tccli/examples/sqlserver/v20180328/StartInstanceXEvent.md +1 -1
  13. tccli/examples/waf/v20180125/DescribeCCAutoStatus.md +21 -0
  14. tccli/examples/waf/v20180125/DescribeCCRuleList.md +59 -1
  15. tccli/examples/waf/v20180125/UpsertCCAutoStatus.md +22 -0
  16. tccli/examples/wedata/v20210820/DescribeTableMetas.md +90 -0
  17. tccli/examples/weilingwith/v20230427/DescribeApplicationList.md +48 -2
  18. tccli/examples/weilingwith/v20230427/DescribeDeviceShadowList.md +21 -2
  19. tccli/examples/weilingwith/v20230427/DescribeVideoRecordStream.md +9 -1
  20. tccli/services/cdb/v20170320/api.json +2 -2
  21. tccli/services/cynosdb/cynosdb_client.py +53 -0
  22. tccli/services/cynosdb/v20190107/api.json +92 -0
  23. tccli/services/cynosdb/v20190107/examples.json +8 -0
  24. tccli/services/ess/v20201111/api.json +1 -1
  25. tccli/services/essbasic/v20210526/api.json +31 -22
  26. tccli/services/essbasic/v20210526/examples.json +12 -12
  27. tccli/services/faceid/faceid_client.py +53 -0
  28. tccli/services/faceid/v20180301/api.json +79 -0
  29. tccli/services/faceid/v20180301/examples.json +14 -0
  30. tccli/services/gaap/v20180529/api.json +10 -0
  31. tccli/services/live/v20180801/api.json +18 -0
  32. tccli/services/monitor/v20180724/api.json +11 -7
  33. tccli/services/monitor/v20180724/examples.json +6 -0
  34. tccli/services/ocr/v20181119/api.json +76 -0
  35. tccli/services/omics/v20221128/api.json +151 -23
  36. tccli/services/sqlserver/v20180328/api.json +9 -9
  37. tccli/services/sqlserver/v20180328/examples.json +4 -4
  38. tccli/services/teo/v20220901/api.json +14 -3
  39. tccli/services/vrs/v20200824/api.json +1 -1
  40. tccli/services/waf/v20180125/api.json +298 -67
  41. tccli/services/waf/v20180125/examples.json +18 -10
  42. tccli/services/waf/waf_client.py +75 -22
  43. tccli/services/wedata/v20210820/api.json +825 -0
  44. tccli/services/wedata/v20210820/examples.json +8 -0
  45. tccli/services/wedata/wedata_client.py +69 -16
  46. tccli/services/weilingwith/v20230427/api.json +490 -40
  47. tccli/services/weilingwith/v20230427/examples.json +5 -5
  48. {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/METADATA +2 -2
  49. {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/RECORD +52 -47
  50. {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/WHEEL +0 -0
  51. {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/entry_points.txt +0 -0
  52. {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/license_files/LICENSE +0 -0
@@ -418,10 +418,10 @@
418
418
  ],
419
419
  "ChannelDeleteSealPolicies": [
420
420
  {
421
- "document": "删除指定印章下多个授权信息",
422
- "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDeleteSealPolicies\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"yDxAyUyK****cb7u0jQn0Zh7f7\",\n \"ProxyOperator\": {\n \"OpenId\": \"732aaef****541b89c49e0cc\"\n },\n \"AppId\": \"ed68bc6***********0214e4e\"\n },\n \"SealId\": \"yDRTZxxxxxJNR\",\n \"UserIds\": [\n \"yDxxxTZxxxxxJNR\"\n ]\n}",
421
+ "document": "1.指定AppId为yDwfwUUgygormhg1UuS2eARxjMT0mxAw\n2.指定子客企业OpenId为org_dianziqian\n3.指定要操作的印章Id为yDRSRUUgygj******uO4zjEuBzwyiofZ\n4.指定要删除授权的用户userId为yDxbWUyKQDx7OZUuO4zjESvEkRMHc55R",
422
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDeleteSealPolicies\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\"\n },\n \"SealId\": \"yDRSRUUgygj******uO4zjEuBzwyiofZ\",\n \"UserIds\": [\n \"yDxbWUyKQDx7OZUuO4zjESvEkRMHc55R\"\n ]\n}",
423
423
  "output": "{\n \"Response\": {\n \"RequestId\": \"yDasdfasdfxxxxxJNR\"\n }\n}",
424
- "title": "删除指定印章下多个授权信息"
424
+ "title": "删除单个用户的印章授权"
425
425
  }
426
426
  ],
427
427
  "ChannelDescribeBillUsageDetail": [
@@ -468,23 +468,23 @@
468
468
  ],
469
469
  "ChannelDescribeOrganizationSeals": [
470
470
  {
471
- "document": "查询子客企业电子印章,需要操作者具有管理印章权限\n客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。",
472
- "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeOrganizationSeals\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"Limit\": \"1\",\n \"Agent\": {\n \"AppId\": \"xxxx015042c9a35e0984a9657b0ec\",\n \"ProxyOrganizationOpenId\": \"test1_xxxxpen_organization1\",\n \"ProxyOperator\": {\n \"OpenId\": \"xxxtest1\"\n }\n },\n \"Offset\": \"0\"\n}",
471
+ "document": "1.查询应用yDwhxUUckp3gl8j5UuFX33LSNozpRsbi下认证的子客org_dianziqian的印章\n2.设置InfoType=1,返回时会同时返回授权用例的相关信息",
472
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeOrganizationSeals\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"Limit\": \"1\",\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"Offset\": \"0\"\n}",
473
473
  "output": "{\n \"Response\": {\n \"RequestId\": \"8ff****2-be87-af68a7842493\",\n \"Seals\": [\n {\n \"AuthorizedUsers\": [\n {\n \"OpenId\": \"xxxtest1\"\n }\n ],\n \"CreateOn\": 163549000069,\n \"Creator\": \"xxxtest1\",\n \"FailReason\": \"\",\n \"IsAllTime\": true,\n \"SealId\": \"yDxHTUUgydj94zlcUuO4zjESIzF*****\",\n \"SealName\": \"测试环境_测试\",\n \"SealPolicyId\": \"\",\n \"SealStatus\": \"SUCCESS\",\n \"SealType\": \"OFFICIAL\",\n \"Url\": \"https://***************.jpg\"\n }\n ],\n \"TotalCount\": 35\n }\n}",
474
474
  "title": "查询子客企业电子印章"
475
475
  }
476
476
  ],
477
477
  "ChannelDescribeRoles": [
478
478
  {
479
- "document": "查询角色列表,默认不返回角色对应的权限树信息",
480
- "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeRoles\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \" jsdk812kxkdfjks***k88123123\",\n \"ProxyOrganizationOpenId\": \"test_org_openid\",\n \"ProxyOperator\": {\n \"OpenId\": \"test_openid\"\n }\n },\n \"Filters\": [\n {\n \"Key\": \"\",\n \"Values\": [\n \"\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": \"10\"\n}",
479
+ "document": "IsReturnPermissionGroup设置为0表示不返回角色对应的权限树信息",
480
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeRoles\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Key\": \"IsReturnPermissionGroup\",\n \"Values\": [\n \"0\"\n ]\n }\n ]\n}",
481
481
  "output": "{\n \"Response\": {\n \"Offset\": 1,\n \"Limit\": 10,\n \"TotalCount\": 1,\n \"ChannelRoles\": [\n {\n \"RoleId\": \"abc8jkkjds***121212\",\n \"RoleName\": \"业务管理员\",\n \"RoleStatus\": 1\n }\n ],\n \"RequestId\": \" s19ksdjkkds****ldsjfkdfdf\"\n }\n}",
482
482
  "title": "查询角色列表"
483
483
  },
484
484
  {
485
- "document": "查询角色列表,增加查询筛选条件“IsReturnPermissionGroup”,将返回角色对应的权限树信息",
486
- "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeRoles\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \" jsdk812kxkdfjks***k88123123\",\n \"ProxyOrganizationOpenId\": \"test_org_openid\",\n \"ProxyOperator\": {\n \"OpenId\": \"test_openid\"\n }\n },\n \"Filters\": [\n {\n \"Key\": \"IsReturnPermissionGroup\",\n \"Values\": [\n \"1\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": \"10\"\n}",
487
- "output": "{\n \"Response\": {\n \"Offset\": 1,\n \"Limit\": 10,\n \"TotalCount\": 1,\n \"ChannelRoles\": [\n {\n \"RoleId\": \"abc8jkkjds***121212\",\n \"RoleName\": \"业务管理员\",\n \"RoleStatus\": 1,\n \"PermissionGroups\": [\n {\n \"GroupKey\": \"bill\",\n \"GroupName\": \"费用中心\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"BillOrderManagement\",\n \"Name\": \"订单管理\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"BillSetMealManagement\",\n \"Name\": \"套餐管理\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"BillInvoiceManagement\",\n \"Name\": \"发票管理\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": false,\n \"Key\": \"BillManagement\",\n \"Name\": \"费用管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ]\n },\n {\n \"GroupKey\": \"channel\",\n \"GroupName\": \"开发者中心\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DescribeChannelComponents\",\n \"Name\": \"渠道控件查看\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"InsertOrModifyChannelComponents\",\n \"Name\": \"渠道控件编辑\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DeleteChannelComponents\",\n \"Name\": \"渠道控件删除\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": false,\n \"Key\": \"WidgetManagement\",\n \"Name\": \"渠道模板控件管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DescribeChannelTemplate\",\n \"Name\": \"渠道模板库查看\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"InsertOrModifyChannelTemplate\",\n \"Name\": \"渠道模板库编辑\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DeleteChannelTemplate\",\n \"Name\": \"渠道模板库删除\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": false,\n \"Key\": \"ChannelTemplateManagement\",\n \"Name\": \"渠道模板库管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ]\n },\n {\n \"GroupKey\": \"Flow\",\n \"GroupName\": \"合同中心\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 2,\n \"DataRange\": 1,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"DescribeAllFlows\",\n \"Name\": \"企业全部合同\",\n \"ParentKey\": \"FlowsManagement\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 1,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 2,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"FlowsManagement\",\n \"Name\": \"查询合同\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 1,\n \"DataRange\": 0,\n \"DataTo\": \"FlowsManagement\",\n \"DataType\": 1,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"FlowsManagement-Preview\",\n \"Name\": \"合同详情&预览\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 1,\n \"DataRange\": 0,\n \"DataTo\": \"FlowsManagement\",\n \"DataType\": 1,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"FlowsManagement-Download\",\n \"Name\": \"下载合同\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"FlowByImportedFile\",\n \"Name\": \"上传文件发起\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"FlowByOrganizationTemplate\",\n \"Name\": \"企业模版发起\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"CreateMultiFlowSignQRCode\",\n \"Name\": \"创建签署二维码\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"CreateFlow\",\n \"Name\": \"发起合同\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"FlowsManagement-Pickup\",\n \"Name\": \"领取合同\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"CancelFlow\",\n \"Name\": \"撤销合同\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ]\n },\n {\n \"GroupKey\": \"Organization\",\n \"GroupName\": \"组织员工\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"CreateUserRoles\",\n \"Name\": \"为员工分配角色\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"ModifyYuFuOrg\",\n \"Name\": \"编辑组织架构\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"OrgManagement\",\n \"Name\": \"组织架构管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"CreateRole\",\n \"Name\": \"创建角色\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"ModifyRole\",\n \"Name\": \"修改角色\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DeleteRole\",\n \"Name\": \"删除角色\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"ModifyRoleStatus\",\n \"Name\": \"启用&禁用角色\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"CreateRoleUsers\",\n \"Name\": \"添加员工\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": false,\n \"Key\": \"DeleteRoleUsers\",\n \"Name\": \"取消关联\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": false,\n \"Key\": \"RoleManagement\",\n \"Name\": \"角色管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ]\n },\n {\n \"GroupKey\": \"Seal\",\n \"GroupName\": \"印章中心\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"QueryHoldSeal\",\n \"Name\": \"查询印章\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Hold\",\n \"Name\": \"我持有企业印章\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Detail-Holder\",\n \"Name\": \"授权记录\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Detail-Holder-Template\",\n \"Name\": \"关联模版\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Detail-Holder-Use-Record\",\n \"Name\": \"用印记录\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Detail-Holder-Change-Record\",\n \"Name\": \"变更记录\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Detail\",\n \"Name\": \"查询印章\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Create-Template\",\n \"Name\": \"新建印章-模版印章\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 1,\n \"IsChecked\": true,\n \"Key\": \"SealManagement-Manage-Create-Upload\",\n \"Name\": \"新建印章-本地上传\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"CreateSeal\",\n \"Name\": \"创建印章\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"ModifySeal\",\n \"Name\": \"修改印章\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"CreateSealPolicy\",\n \"Name\": \"分配印章管理人\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"DeleteSeal\",\n \"Name\": \"删除印章\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"ApplySealOnce\",\n \"Name\": \"单次用印审批\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"SealManagement\",\n \"Name\": \"印章管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ]\n },\n {\n \"GroupKey\": \"Template\",\n \"GroupName\": \"模板中心\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Children\": [\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"TemplateManagement-Query\",\n \"Name\": \"查询模板\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"OfficialFlowTemplateCollection\",\n \"Name\": \"官方模板收藏\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"TemplateManagement-Download\",\n \"Name\": \"下载模板\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"TemplateManagement-Create\",\n \"Name\": \"创建模板\",\n \"ParentKey\": \"\",\n \"Type\": 1\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"DeleteFlowTemplates\",\n \"Name\": \"删除模板\",\n \"ParentKey\": \"\",\n \"Type\": 2\n },\n {\n \"Children\": [],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"ModifyFlowTemplate\",\n \"Name\": \"编辑模板\",\n \"ParentKey\": \"\",\n \"Type\": 2\n }\n ],\n \"DataLabel\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"DataType\": 0,\n \"Hide\": 0,\n \"IsChecked\": true,\n \"Key\": \"TemplateManagement\",\n \"Name\": \"模板管理\",\n \"ParentKey\": \"\",\n \"Type\": 1\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \" s19ksdjkkds****ldsjfkdfdf\"\n }\n}",
485
+ "document": "1. IsReturnPermissionGroup设置为1表示返回角色对应的权限树信息\n2. RoleType设置为2表示只拉取自己创建的角色列表",
486
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelDescribeRoles\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Key\": \"RoleType\",\n \"Values\": [\n \"1\"\n ]\n },\n {\n \"Key\": \"IsReturnPermissionGroup\",\n \"Values\": [\n \"1\"\n ]\n }\n ]\n}",
487
+ "output": "{\n \"Response\": {\n \"Offset\": 0,\n \"Limit\": 10,\n \"TotalCount\": 1,\n \"ChannelRoles\": [\n {\n \"RoleId\": \"69997f600a7c8e9accc71f4241a8a091\",\n \"RoleName\": \"类管理员角色\",\n \"RoleStatus\": 1,\n \"PermissionGroups\": [\n {\n \"GroupName\": \"费用中心\",\n \"GroupKey\": \"bill\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"费用管理\",\n \"Key\": \"BillManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"订单管理\",\n \"Key\": \"BillOrderManagement\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"套餐管理\",\n \"Key\": \"BillSetMealManagement\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"发票管理\",\n \"Key\": \"BillInvoiceManagement\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n },\n {\n \"GroupName\": \"开发者中心\",\n \"GroupKey\": \"channel\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"渠道模板控件管理\",\n \"Key\": \"WidgetManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"渠道控件查看\",\n \"Key\": \"DescribeChannelComponents\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"渠道控件编辑\",\n \"Key\": \"InsertOrModifyChannelComponents\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"渠道控件删除\",\n \"Key\": \"DeleteChannelComponents\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"渠道模板库管理\",\n \"Key\": \"ChannelTemplateManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"渠道模板库查看\",\n \"Key\": \"DescribeChannelTemplate\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"渠道模板库编辑\",\n \"Key\": \"InsertOrModifyChannelTemplate\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"渠道模板库删除\",\n \"Key\": \"DeleteChannelTemplate\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n },\n {\n \"GroupName\": \"拓展服务\",\n \"GroupKey\": \"ExpandService\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"合同相关\",\n \"Key\": \"FlowRelatedManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"企业自动签署\",\n \"Key\": \"CompanyAutoSign\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"批量签署授权\",\n \"Key\": \"BatchSignAccredit\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"企业与港澳台居民签署合同\",\n \"Key\": \"OverseasSign\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"拓宽签署方年龄限制\",\n \"Key\": \"ExpandSignAgeLimit\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"个人签署方仅校验手机号\",\n \"Key\": \"SignatoryMobileVerify\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"隐藏合同经办人姓名\",\n \"Key\": \"HideFlowOperatorName\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"印章相关\",\n \"Key\": \"SealRelatedManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"骑缝章\",\n \"Key\": \"PagingSeal\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"模板相关\",\n \"Key\": \"TemplateRelatedManagement\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"审批相关\",\n \"Key\": \"ApprovalRelatedManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"审批流配置\",\n \"Key\": \"ApprovalFlowConfig\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"其它拓展服务\",\n \"Key\": \"OtherExpandManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"企业CA证书配置\",\n \"Key\": \"CompanyCAConfig\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"下载企业合同/文件授权\",\n \"Key\": \"AuthProxyOrgDownLoadFlow\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n },\n {\n \"GroupName\": \"合同中心\",\n \"GroupKey\": \"Flow\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"查询合同\",\n \"Key\": \"FlowsManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 1,\n \"DataType\": 2,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"企业全部合同\",\n \"Key\": \"DescribeAllFlows\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 2,\n \"DataType\": 0,\n \"DataRange\": 1,\n \"DataTo\": \"\",\n \"ParentKey\": \"FlowsManagement\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"合同详情&预览\",\n \"Key\": \"FlowsManagement-Preview\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 1,\n \"DataType\": 1,\n \"DataRange\": 0,\n \"DataTo\": \"FlowsManagement\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"下载合同\",\n \"Key\": \"FlowsManagement-Download\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 1,\n \"DataType\": 1,\n \"DataRange\": 0,\n \"DataTo\": \"FlowsManagement\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"发起合同\",\n \"Key\": \"CreateFlow\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"上传文件发起\",\n \"Key\": \"FlowByImportedFile\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"企业模版发起\",\n \"Key\": \"FlowByOrganizationTemplate\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"创建签署二维码\",\n \"Key\": \"CreateMultiFlowSignQRCode\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"领取合同\",\n \"Key\": \"FlowsManagement-Pickup\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"撤销合同\",\n \"Key\": \"CancelFlow\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"申请签署报告\",\n \"Key\": \"ApplyEvidenceReport\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"GroupName\": \"组织员工\",\n \"GroupKey\": \"Organization\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"组织架构管理\",\n \"Key\": \"OrgManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"为员工分配角色\",\n \"Key\": \"CreateUserRoles\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"编辑组织架构\",\n \"Key\": \"ModifyYuFuOrg\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"角色管理\",\n \"Key\": \"RoleManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"创建角色\",\n \"Key\": \"CreateRole\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"修改角色\",\n \"Key\": \"ModifyRole\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"删除角色\",\n \"Key\": \"DeleteRole\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"启用&禁用角色\",\n \"Key\": \"ModifyRoleStatus\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"添加员工\",\n \"Key\": \"CreateRoleUsers\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"取消关联\",\n \"Key\": \"DeleteRoleUsers\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n },\n {\n \"GroupName\": \"印章中心\",\n \"GroupKey\": \"Seal\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"我持有企业印章\",\n \"Key\": \"SealManagement-Hold\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"查询印章\",\n \"Key\": \"QueryHoldSeal\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"印章管理\",\n \"Key\": \"SealManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"查询印章\",\n \"Key\": \"SealManagement-Manage-Detail\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"授权记录\",\n \"Key\": \"SealManagement-Manage-Detail-Holder\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"关联模版\",\n \"Key\": \"SealManagement-Manage-Detail-Holder-Template\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"用印记录\",\n \"Key\": \"SealManagement-Manage-Detail-Holder-Use-Record\",\n \"Type\": 2,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"变更记录\",\n \"Key\": \"SealManagement-Manage-Detail-Holder-Change-Record\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"创建印章\",\n \"Key\": \"CreateSeal\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"新建印章-模版印章\",\n \"Key\": \"SealManagement-Manage-Create-Template\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"新建印章-本地上传\",\n \"Key\": \"SealManagement-Manage-Create-Upload\",\n \"Type\": 1,\n \"Hide\": 1,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n },\n {\n \"Name\": \"修改印章\",\n \"Key\": \"ModifySeal\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"分配印章管理人\",\n \"Key\": \"CreateSealPolicy\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"删除印章\",\n \"Key\": \"DeleteSeal\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"单次用印审批\",\n \"Key\": \"ApplySealOnce\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n },\n {\n \"GroupName\": \"模板中心\",\n \"GroupKey\": \"Template\",\n \"Hide\": 0,\n \"Permissions\": [\n {\n \"Name\": \"模板管理\",\n \"Key\": \"TemplateManagement\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": [\n {\n \"Name\": \"查询模板\",\n \"Key\": \"TemplateManagement-Query\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"官方模板收藏\",\n \"Key\": \"OfficialFlowTemplateCollection\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"下载模板\",\n \"Key\": \"TemplateManagement-Download\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"创建模板\",\n \"Key\": \"TemplateManagement-Create\",\n \"Type\": 1,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"删除模板\",\n \"Key\": \"DeleteFlowTemplates\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n },\n {\n \"Name\": \"编辑模板\",\n \"Key\": \"ModifyFlowTemplate\",\n \"Type\": 2,\n \"Hide\": 0,\n \"DataLabel\": 0,\n \"DataType\": 0,\n \"DataRange\": 0,\n \"DataTo\": \"\",\n \"ParentKey\": \"\",\n \"IsChecked\": true,\n \"Children\": []\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"cb9c33e8-2870-42ea-b798-b9fbd4756827\"\n }\n}",
488
488
  "title": "查询角色列表(返回权限树信息)"
489
489
  }
490
490
  ],
@@ -528,8 +528,8 @@
528
528
  ],
529
529
  "ChannelUpdateSealStatus": [
530
530
  {
531
- "document": "停用子客企业的印章",
532
- "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelUpdateSealStatus\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"yDxAyUyK****cb7u0jQn0Zh7f7\",\n \"ProxyOperator\": {\n \"OpenId\": \"732aaef****541b89c49e0cc\"\n },\n \"AppId\": \"ed68bc6***********0214e4e\"\n },\n \"SealId\": \"yDRTZxxxxxJNR\",\n \"Status\": \"DISABLE\",\n \"Reason\": \"变更原因-停用\"\n}",
531
+ "document": "1.指定AppId为yDwfwUUgygormhg1UuS2eARxjMT0mxAw\n2.指定子客企业的OpenId为org_dianziqian\n3.指定要操作的印章Id为yDRTZxxxxxJNR\n4.指定设置印章状态为DISABLE",
532
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelUpdateSealStatus\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"732aaef****541b89c49e0cc\"\n },\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\"\n },\n \"SealId\": \"yDRTZxxxxxJNR\",\n \"Status\": \"DISABLE\",\n \"Reason\": \"变更原因-停用\"\n}",
533
533
  "output": "{\n \"Response\": {\n \"RequestId\": \"s187098654322345\"\n }\n}",
534
534
  "title": "停用印章"
535
535
  }
@@ -953,6 +953,58 @@ def doGetEidToken(args, parsed_globals):
953
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
954
 
955
955
 
956
+ def doDetectAIFakeFaces(args, parsed_globals):
957
+ g_param = parse_global_arg(parsed_globals)
958
+
959
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
960
+ cred = credential.CVMRoleCredential()
961
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
962
+ cred = credential.STSAssumeRoleCredential(
963
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
964
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
965
+ )
966
+ 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):
967
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
968
+ else:
969
+ cred = credential.Credential(
970
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
971
+ )
972
+ http_profile = HttpProfile(
973
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
974
+ reqMethod="POST",
975
+ endpoint=g_param[OptionsDefine.Endpoint],
976
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
977
+ )
978
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
979
+ if g_param[OptionsDefine.Language]:
980
+ profile.language = g_param[OptionsDefine.Language]
981
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
982
+ client = mod.FaceidClient(cred, g_param[OptionsDefine.Region], profile)
983
+ client._sdkVersion += ("_CLI_" + __version__)
984
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
+ model = models.DetectAIFakeFacesRequest()
986
+ model.from_json_string(json.dumps(args))
987
+ start_time = time.time()
988
+ while True:
989
+ rsp = client.DetectAIFakeFaces(model)
990
+ result = rsp.to_json_string()
991
+ try:
992
+ json_obj = json.loads(result)
993
+ except TypeError as e:
994
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
995
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
996
+ break
997
+ cur_time = time.time()
998
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
999
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1000
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1001
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1002
+ else:
1003
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1004
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1005
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
+
1007
+
956
1008
  def doPhoneVerification(args, parsed_globals):
957
1009
  g_param = parse_global_arg(parsed_globals)
958
1010
 
@@ -1762,6 +1814,7 @@ ACTION_MAP = {
1762
1814
  "GetFaceIdResult": doGetFaceIdResult,
1763
1815
  "ImageRecognition": doImageRecognition,
1764
1816
  "GetEidToken": doGetEidToken,
1817
+ "DetectAIFakeFaces": doDetectAIFakeFaces,
1765
1818
  "PhoneVerification": doPhoneVerification,
1766
1819
  "GetDetectInfo": doGetDetectInfo,
1767
1820
  "MinorsVerification": doMinorsVerification,
@@ -56,6 +56,13 @@
56
56
  "output": "CheckPhoneAndNameResponse",
57
57
  "status": "online"
58
58
  },
59
+ "DetectAIFakeFaces": {
60
+ "document": "提供对人脸图片/视频的AI合成、翻拍、水印等攻击痕迹的检测,增强图片/视频防伪能力",
61
+ "input": "DetectAIFakeFacesRequest",
62
+ "name": "AI人脸防护盾",
63
+ "output": "DetectAIFakeFacesResponse",
64
+ "status": "online"
65
+ },
59
66
  "DetectAuth": {
60
67
  "document": "每次调用人脸核身SaaS化服务前,需先调用本接口获取BizToken,用来串联核身流程,在验证完成后,用于获取验证结果信息。",
61
68
  "input": "DetectAuthRequest",
@@ -239,6 +246,22 @@
239
246
  "serviceShortName": "faceid"
240
247
  },
241
248
  "objects": {
249
+ "AttackRiskDetail": {
250
+ "document": "疑似攻击风险详情",
251
+ "members": [
252
+ {
253
+ "disabled": false,
254
+ "document": "疑似的攻击痕迹类型\nSuspectedSpoofingAttack:翻拍攻击\nSuspectedSynthesisImage:疑似合成图片\nSuspectedSynthesisVideo:疑似合成视频\nSuspectedeAnomalyAttack:人脸特征疑似非真人\nSuspectedAdversarialAttack:疑似对抗样本攻击\nSuspectedBlackIndustry:疑似黑产攻击\nSuspectedWatermark:疑似存在水印\n注意:此字段可能返回 null,表示取不到有效值。",
255
+ "example": "SuspectedWatermark",
256
+ "member": "string",
257
+ "name": "Type",
258
+ "output_required": false,
259
+ "type": "string",
260
+ "value_allowed_null": true
261
+ }
262
+ ],
263
+ "usage": "out"
264
+ },
242
265
  "BankCard2EVerificationRequest": {
243
266
  "document": "BankCard2EVerification请求参数结构体",
244
267
  "members": [
@@ -1026,6 +1049,62 @@
1026
1049
  ],
1027
1050
  "type": "object"
1028
1051
  },
1052
+ "DetectAIFakeFacesRequest": {
1053
+ "document": "DetectAIFakeFaces请求参数结构体",
1054
+ "members": [
1055
+ {
1056
+ "disabled": false,
1057
+ "document": "传入需要进行检测的带有人脸的图片或视频,使用base64编码的形式。\n\n图片的Base64值:\n建议整体图像480x640的分辨率,脸部 大小 100X100 以上;\nBase64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。\n\n视频的Base64值:\nBase64编码后的大小不超过8M,支持mp4、avi、flv格式。\n请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。",
1058
+ "example": "iVBORw0KGgoAA......",
1059
+ "member": "string",
1060
+ "name": "FaceInput",
1061
+ "required": true,
1062
+ "type": "string"
1063
+ },
1064
+ {
1065
+ "disabled": false,
1066
+ "document": "传入的类型\n1- 传入的是图片类型\n2- 传入的是视频类型\n其他 - 返回错误码InvalidParameter",
1067
+ "example": "true",
1068
+ "member": "int64",
1069
+ "name": "FaceInputType",
1070
+ "required": true,
1071
+ "type": "int"
1072
+ }
1073
+ ],
1074
+ "type": "object"
1075
+ },
1076
+ "DetectAIFakeFacesResponse": {
1077
+ "document": "DetectAIFakeFaces返回参数结构体",
1078
+ "members": [
1079
+ {
1080
+ "disabled": false,
1081
+ "document": "检测到的图片是否存在攻击:\nLow:无攻击风险\nMid:中度疑似攻击\nHigh:高度疑似攻击",
1082
+ "example": "Mid",
1083
+ "member": "string",
1084
+ "name": "AttackRiskLevel",
1085
+ "output_required": true,
1086
+ "type": "string",
1087
+ "value_allowed_null": false
1088
+ },
1089
+ {
1090
+ "disabled": false,
1091
+ "document": "检测到疑似的攻击痕迹列表\n说明:未检测到攻击痕迹时,返回空数组\n此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。",
1092
+ "example": "[{ Type:\"SuspectedSpoofingAttack\" }]",
1093
+ "member": "AttackRiskDetail",
1094
+ "name": "AttackRiskDetailList",
1095
+ "output_required": true,
1096
+ "type": "list",
1097
+ "value_allowed_null": false
1098
+ },
1099
+ {
1100
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1101
+ "member": "string",
1102
+ "name": "RequestId",
1103
+ "type": "string"
1104
+ }
1105
+ ],
1106
+ "type": "object"
1107
+ },
1029
1108
  "DetectAuthRequest": {
1030
1109
  "document": "DetectAuth请求参数结构体",
1031
1110
  "members": [
@@ -82,6 +82,20 @@
82
82
  "title": "查询成功"
83
83
  }
84
84
  ],
85
+ "DetectAIFakeFaces": [
86
+ {
87
+ "document": "图片解码失败",
88
+ "input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAIFakeFaces\n<公共请求参数>\n\n{\n \"FaceInputType\": 2,\n \"FaceInput\": \"AAAAHGZ0eXBtcDQyAAAAAWlzb21tcDQxbXA0MgAADXNtb292AAAAbG12aGQAAAAA2qNvttqjb7cAAB9AAACYFgABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAJ/XRyYWsAAABcdGtoZAAAAAHao2+22qNvtwAAAAEAAAAAAACYFgAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAADwAAAAtAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAmBYAAAAUAAEAAAAACXVtZGlhAAAAIG1kaGQAAAAA2qNvttqjb7cAAAJYAAALaFXEAAAAAAAxaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAENvcmUgTWVkaWEgVmlkZW8AAAAJHG1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQ\"\n}",
89
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageDecodeFailed\",\n \"Message\": \"图片解码失败。\"\n },\n \"RequestId\": \"0e77ad29-ad65-4901-9efc-b49a6e0a357b\"\n }\n}",
90
+ "title": "异常示例"
91
+ },
92
+ {
93
+ "document": "疑似高风险攻击",
94
+ "input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAIFakeFaces\n<公共请求参数>\n\n{\n \"FaceInputType\": 1,\n \"FaceInput\": \"VBORw0KGgoAAAANSUhEUgAAAkYAAAI9CAYAAADfOLduAAABQ2lDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSCwoyGFhYGDIzSspCnJ3UoiIjFJgf87AziDBwMcgwqCQmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsgsz5I1BWZcn/xff7Y4dPvimWmY6lEAV0pqcTKQ/gPEyckFRSUMDIwJQLZyeUkBiN0CZIsUAR0FZM8AsdMh7DUgdhKEfQCsJiTIGci+AmQLJGckpgDZT4BsnSQk8XQkNtReEOD0CFBwNTI3LiTgVpJBSWpFCYh2zi+oLMpMzyhRcASGUKqCZ16yno6CkYGRMQMDKLwhqj/fAIcjoxgHQqzwKgODhTyQ8RQhlniBgWH3OgYG4Z8IMWUDBgYeoGn7/AsSixLhDmD8xlKcZmwEYXNvZ2Bgnfb//+dwBgZ2TQaGv9f///+9/f//v8sYGJhvMTAc+AYADqxgzYM88zoAAAA4ZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAKgAgAEAAAAAQAAAkagAwAEAAAAAQAAAj0AAAAAi/M5dAAAQABJREFUeAHsvWd35EiSbYsIRlCkViW6pmq6Wry71vz/fzEf3n2fpufd\"\n}",
95
+ "output": "{\n \"Response\": {\n \"AttackRiskDetailList\": [\n {\n \"Type\": \"SuspectedWatermark\"\n }\n ],\n \"AttackRiskLevel\": \"High\",\n \"RequestId\": \"2dd93e6f-5121-4bac-8c64-d6ad646663d2\"\n }\n}",
96
+ "title": "示例"
97
+ }
98
+ ],
85
99
  "DetectAuth": [
86
100
  {
87
101
  "document": "",
@@ -9866,6 +9866,16 @@
9866
9866
  "output_required": true,
9867
9867
  "type": "int",
9868
9868
  "value_allowed_null": true
9869
+ },
9870
+ {
9871
+ "disabled": false,
9872
+ "document": "是否是开启了auto scale的通道,0表示否,1表示是。\n注意:此字段可能返回 null,表示取不到有效值。",
9873
+ "example": "0",
9874
+ "member": "int64",
9875
+ "name": "IsAutoScaleProxy",
9876
+ "output_required": false,
9877
+ "type": "int",
9878
+ "value_allowed_null": true
9869
9879
  }
9870
9880
  ],
9871
9881
  "usage": "out"
@@ -3048,6 +3048,15 @@
3048
3048
  "name": "RecordTemplateId",
3049
3049
  "required": false,
3050
3050
  "type": "string"
3051
+ },
3052
+ {
3053
+ "disabled": false,
3054
+ "document": "新的目标地址,用于任务同时推两路场景。",
3055
+ "example": "无",
3056
+ "member": "string",
3057
+ "name": "BackupToUrl",
3058
+ "required": false,
3059
+ "type": "string"
3051
3060
  }
3052
3061
  ],
3053
3062
  "type": "object"
@@ -12620,6 +12629,15 @@
12620
12629
  "name": "VodLocalMode",
12621
12630
  "required": false,
12622
12631
  "type": "int"
12632
+ },
12633
+ {
12634
+ "disabled": false,
12635
+ "document": "新的目标地址。传空值,则取消该地址的推流。\n传入新值,则替换原有地址。",
12636
+ "example": "无",
12637
+ "member": "string",
12638
+ "name": "BackupToUrl",
12639
+ "required": false,
12640
+ "type": "string"
12623
12641
  }
12624
12642
  ],
12625
12643
  "type": "object"