tccli 3.0.908.1__py2.py3-none-any.whl → 3.0.910.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 (118) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdn/v20180606/DescribeHttpsPackages.md +19 -18
  3. tccli/examples/cdn/v20180606/DescribeTrafficPackages.md +16 -14
  4. tccli/examples/cfs/v20190719/DescribeCfsFileSystems.md +31 -31
  5. tccli/examples/cfs/v20190719/UpdateCfsPGroup.md +1 -1
  6. tccli/examples/cms/v20190321/CreateKeywordsSamples.md +10 -0
  7. tccli/examples/cms/v20190321/DeleteLibSamples.md +2 -1
  8. tccli/examples/cms/v20190321/DescribeLibSamples.md +2 -1
  9. tccli/examples/cvm/v20170312/DescribeImportImageOs.md +1 -1
  10. tccli/examples/cynosdb/v20190107/AddInstances.md +8 -8
  11. tccli/examples/cynosdb/v20190107/DescribeParamTemplates.md +2 -2
  12. tccli/examples/ecm/v20190719/AllocateIpv6AddressesBandwidth.md +25 -0
  13. tccli/examples/ecm/v20190719/AssignIpv6CidrBlock.md +23 -0
  14. tccli/examples/ecm/v20190719/AssignIpv6CidrBlocks.md +29 -0
  15. tccli/examples/ecm/v20190719/AssignIpv6SubnetCidrBlock.md +29 -0
  16. tccli/examples/ecm/v20190719/DescribeRegionIpv6Addresses.md +41 -0
  17. tccli/examples/ecm/v20190719/ModifyIpv6AddressesBandwidth.md +22 -0
  18. tccli/examples/ecm/v20190719/QueryVpcTaskResult.md +22 -0
  19. tccli/examples/ecm/v20190719/ReleaseIpv6AddressesBandwidth.md +22 -0
  20. tccli/examples/ecm/v20190719/UnassignIpv6SubnetCidrBlock.md +23 -0
  21. tccli/examples/emr/v20190103/InquiryPriceRenewInstance.md +32 -1
  22. tccli/examples/es/v20180416/ModifyEsVipSecurityGroup.md +21 -0
  23. tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +118 -0
  24. tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +61 -0
  25. tccli/examples/ess/v20201111/CreateFlowReminds.md +3 -3
  26. tccli/examples/ess/v20201111/CreateFlowSignReview.md +2 -2
  27. tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByTemplates.md +49 -0
  28. tccli/examples/lcic/v20220817/DescribeDocument.md +52 -16
  29. tccli/examples/live/v20180801/DeleteLiveTranscodeTemplate.md +1 -1
  30. tccli/examples/monitor/v20180724/DeletePrometheusScrapeJobs.md +4 -4
  31. tccli/examples/monitor/v20180724/DescribeExporterIntegrations.md +5 -5
  32. tccli/examples/monitor/v20180724/DescribePrometheusAgents.md +10 -10
  33. tccli/examples/monitor/v20180724/DescribePrometheusScrapeJobs.md +8 -8
  34. tccli/examples/ocr/v20181119/DriverLicenseOCR.md +2 -2
  35. tccli/examples/smh/v20210712/DeleteLibrary.md +1 -1
  36. tccli/examples/sqlserver/v20180328/InquiryPriceRenewDBInstance.md +1 -1
  37. tccli/examples/sqlserver/v20180328/InquiryPriceUpgradeDBInstance.md +1 -1
  38. tccli/examples/ssl/v20191205/DescribeDeployedResources.md +5 -5
  39. tccli/examples/tchd/v20230306/DescribeEvents.md +35 -0
  40. tccli/examples/tdmq/v20200217/CreateTopic.md +1 -1
  41. tccli/examples/vod/v20180717/CreateRebuildMediaTemplate.md +2 -2
  42. tccli/examples/vod/v20180717/DeleteRebuildMediaTemplate.md +2 -2
  43. tccli/examples/vod/v20180717/DescribeRebuildMediaTemplates.md +2 -2
  44. tccli/examples/vod/v20180717/ModifyRebuildMediaTemplate.md +2 -2
  45. tccli/examples/vod/v20180717/RebuildMedia.md +2 -2
  46. tccli/examples/vod/v20180717/RebuildMediaByTemplate.md +2 -2
  47. tccli/examples/vpc/v20170312/DescribeSecurityGroups.md +1 -1
  48. tccli/examples/wav/v20210129/QueryClueInfoList.md +1 -0
  49. tccli/examples/wedata/v20210820/DescribeColumnLineage.md +77 -0
  50. tccli/examples/wedata/v20210820/DescribeTableLineage.md +79 -0
  51. tccli/services/__init__.py +3 -0
  52. tccli/services/autoscaling/v20180419/api.json +1 -1
  53. tccli/services/cdn/v20180606/api.json +49 -67
  54. tccli/services/cdn/v20180606/examples.json +3 -3
  55. tccli/services/cfs/v20190719/api.json +65 -26
  56. tccli/services/cfs/v20190719/examples.json +3 -3
  57. tccli/services/cls/v20201016/api.json +7 -2
  58. tccli/services/cms/v20190321/api.json +37 -2
  59. tccli/services/cms/v20190321/examples.json +3 -3
  60. tccli/services/cvm/v20170312/api.json +2 -0
  61. tccli/services/cvm/v20170312/examples.json +2 -2
  62. tccli/services/cynosdb/v20190107/api.json +58 -73
  63. tccli/services/cynosdb/v20190107/examples.json +3 -3
  64. tccli/services/ecm/ecm_client.py +493 -16
  65. tccli/services/ecm/v20190719/api.json +657 -26
  66. tccli/services/ecm/v20190719/examples.json +72 -0
  67. tccli/services/emr/v20190103/api.json +5 -12
  68. tccli/services/emr/v20190103/examples.json +7 -1
  69. tccli/services/es/es_client.py +65 -12
  70. tccli/services/es/v20180416/api.json +43 -0
  71. tccli/services/es/v20180416/examples.json +8 -0
  72. tccli/services/ess/ess_client.py +145 -39
  73. tccli/services/ess/v20201111/api.json +417 -41
  74. tccli/services/ess/v20201111/examples.json +19 -3
  75. tccli/services/essbasic/essbasic_client.py +53 -0
  76. tccli/services/essbasic/v20210526/api.json +105 -3
  77. tccli/services/essbasic/v20210526/examples.json +8 -0
  78. tccli/services/lcic/v20220817/api.json +27 -16
  79. tccli/services/lcic/v20220817/examples.json +10 -4
  80. tccli/services/live/v20180801/api.json +3 -3
  81. tccli/services/live/v20180801/examples.json +1 -1
  82. tccli/services/monitor/v20180724/api.json +20 -24
  83. tccli/services/monitor/v20180724/examples.json +11 -11
  84. tccli/services/ocr/v20181119/api.json +22 -5
  85. tccli/services/ocr/v20181119/examples.json +1 -1
  86. tccli/services/smh/v20210712/api.json +1 -1
  87. tccli/services/smh/v20210712/examples.json +2 -2
  88. tccli/services/sqlserver/v20180328/api.json +8 -15
  89. tccli/services/sqlserver/v20180328/examples.json +2 -2
  90. tccli/services/ssl/v20191205/api.json +1 -0
  91. tccli/services/ssl/v20191205/examples.json +2 -2
  92. tccli/services/tcb/v20180608/api.json +33 -39
  93. tccli/services/tchd/__init__.py +4 -0
  94. tccli/services/tchd/tchd_client.py +194 -0
  95. tccli/services/tchd/v20230306/api.json +167 -0
  96. tccli/services/tchd/v20230306/examples.json +13 -0
  97. tccli/services/tdmq/v20200217/api.json +7 -14
  98. tccli/services/tdmq/v20200217/examples.json +1 -1
  99. tccli/services/tke/v20180525/api.json +33 -20
  100. tccli/services/trtc/trtc_client.py +8 -61
  101. tccli/services/trtc/v20190722/api.json +0 -240
  102. tccli/services/trtc/v20190722/examples.json +0 -8
  103. tccli/services/tse/v20201207/api.json +20 -39
  104. tccli/services/tts/v20190823/api.json +1 -1
  105. tccli/services/vod/v20180717/api.json +40 -36
  106. tccli/services/vod/v20180717/examples.json +12 -12
  107. tccli/services/vpc/v20170312/api.json +21 -7
  108. tccli/services/vpc/v20170312/examples.json +1 -1
  109. tccli/services/wav/v20210129/api.json +10 -0
  110. tccli/services/wav/v20210129/examples.json +1 -1
  111. tccli/services/wedata/v20210820/api.json +1146 -211
  112. tccli/services/wedata/v20210820/examples.json +16 -0
  113. tccli/services/wedata/wedata_client.py +106 -0
  114. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/METADATA +82 -3
  115. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/RECORD +118 -98
  116. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/WHEEL +0 -0
  117. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/entry_points.txt +0 -0
  118. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/license_files/LICENSE +0 -0
@@ -120,18 +120,34 @@
120
120
  "title": "创建并返回出证报告"
121
121
  }
122
122
  ],
123
+ "CreateFlowGroupByFiles": [
124
+ {
125
+ "document": "合同组示例",
126
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowGroupByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"****************\"\n },\n \"FlowGroupName\": \"合同组\",\n \"FlowGroupInfos\": [\n {\n \"FileIds\": [\n \"*************\"\n ],\n \"FlowName\": \"B2B手动签署合同\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"B2B手动签署合同\",\n \"Deadline\": 0,\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"企业公司名称\",\n \"ApproverName\": \"企业方签署人姓名\",\n \"ApproverMobile\": \"企业方签署人手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 100,\n \"ComponentValue\": \"\"\n }\n ]\n },\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"企业公司名称\",\n \"ApproverName\": \"企业方签署人姓名\",\n \"ApproverMobile\": \"企业方签署人手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 200\n }\n ],\n \"NotifyType\": \"SMS\"\n }\n ],\n \"CallbackUrl\": \"\"\n },\n {\n \"FileIds\": [\n \"************\"\n ],\n \"FlowName\": \"公司自动签\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"公司自动签\",\n \"Deadline\": 0,\n \"Approvers\": [\n {\n \"ApproverType\": 3,\n \"OrganizationName\": \"发起方公司名称\",\n \"ApproverName\": \"发起人姓名\",\n \"ApproverMobile\": \"发起人手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 100,\n \"ComponentValue\": \"\"\n }\n ],\n \"NotifyType\": \"SMS\"\n },\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"企业公司名称\",\n \"ApproverName\": \"企业签署人姓名\",\n \"ApproverMobile\": \"企业签署人手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 200\n }\n ],\n \"NotifyType\": \"SMS\"\n }\n ],\n \"CallbackUrl\": \"\"\n },\n {\n \"FileIds\": [\n \"**************\"\n ],\n \"FlowName\": \"B2C发起\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"B2C发起\",\n \"Deadline\": 0,\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"企业签署方公司名称\",\n \"ApproverName\": \"企业签署方姓名\",\n \"ApproverMobile\": \"企业签署方手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 100,\n \"ComponentValue\": \"\"\n }\n ],\n \"NotifyType\": \"SMS\"\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"个人签署方姓名\",\n \"ApproverMobile\": \"个人签署方手机号\",\n \"SignComponents\": [\n {\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentRequired\": true,\n \"FileIndex\": 0,\n \"ComponentHeight\": 100,\n \"ComponentWidth\": 100,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 100,\n \"ComponentPosY\": 200\n }\n ],\n \"NotifyType\": \"SMS\"\n }\n ],\n \"CallbackUrl\": \"\"\n }\n ]\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ee9f545-96d8-4f3b-b382-917dc17089f4\"\n }\n}",
128
+ "title": "合同组"
129
+ }
130
+ ],
131
+ "CreateFlowGroupByTemplates": [
132
+ {
133
+ "document": "合同组发起示例,此示例, 第一份子合同 为单个自动签\n第二份子合同为B2C自动签, 其中B端为自动签\n第三份子合同为B2B 经办签署",
134
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowGroupByTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"*****************\"\n },\n \"FlowGroupName\": \"合同组自动签模板发起\",\n \"FlowGroupInfos\": [\n {\n \"TemplateId\": \"**********\",\n \"FlowName\": \"单B自动签\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"单B自动签\",\n \"Approvers\": [\n {\n \"ApproverType\": 3,\n \"OrganizationName\": \"发起方公司名称\",\n \"ApproverName\": \"本方发起人\",\n \"ApproverMobile\": \"本方发起人电话\"\n }\n ],\n \"Unordered\": false\n },\n {\n \"TemplateId\": \"yDwXJ************************ZMMtV\",\n \"FlowName\": \"自动签B2C\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"自动签B2C\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"发起方公司名称\",\n \"ApproverName\": \"本方发起人\",\n \"ApproverMobile\": \"本方发起人电话\"\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"个人签署人\",\n \"ApproverMobile\": \"个人签署人电话\"\n }\n ]\n },\n {\n \"TemplateId\": \"yDw**********************nGBhHG\",\n \"FlowName\": \"B2B手动签\",\n \"FlowType\": \"合同组\",\n \"FlowDescription\": \"B2B手动签\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"经办人公司名称\",\n \"ApproverName\": \"经办人\",\n \"ApproverMobile\": \"经办人电话\"\n },\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"签署方公司\",\n \"ApproverName\": \"签署方经办人\",\n \"ApproverMobile\": \"签署方经办人电话\"\n }\n ]\n }\n ]\n}",
135
+ "output": "{\n \"Response\": {\n \"FlowGroupId\": \"********************\",\n \"FlowIds\": [\n \"*****************\",\n \"*****************\",\n \"*****************\"\n ],\n \"RequestId\": \"********\"\n }\n}",
136
+ "title": "合同组示例"
137
+ }
138
+ ],
123
139
  "CreateFlowReminds": [
124
140
  {
125
141
  "document": "对合同中尚未完成的用户推送催办",
126
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowReminds\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"xxx\"\n },\n \"FlowIds\": [\n \"xxx\"\n ]\n}",
127
- "output": "{\n \"Response\": {\n \"RemindFlowRecords\": [\n {\n \"CanRemind\": true,\n \"FlowId\": \"xxx\",\n \"RemindMessage\": \"签署人 xxx: 此签署人已催办过;\"\n }\n ],\n \"RequestId\": \"s1675154686215203499\"\n }\n}",
142
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowReminds\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxMkUyxxxxxxxxxxxVI2JmKxPkk\"\n },\n \"FlowIds\": [\n \"yDwXiUUcxxxxxxxxxxSZ0uIW72Qaxm\"\n ]\n}",
143
+ "output": "{\n \"Response\": {\n \"RemindFlowRecords\": [\n {\n \"CanRemind\": true,\n \"FlowId\": \"yDwxxxxxxxW72Qaxm\",\n \"RemindMessage\": \"签署人 xxx: 此签署人已催办过;\"\n }\n ],\n \"RequestId\": \"s1675154686215203499\"\n }\n}",
128
144
  "title": "合同催办"
129
145
  }
130
146
  ],
131
147
  "CreateFlowSignReview": [
132
148
  {
133
149
  "document": "提交企业签署流程审批结果",
134
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignReview\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"1956103********520fde6a\"\n },\n \"FlowId\": \"xxxx\",\n \"ReviewType\": \"PASS\",\n \"ReviewMessage\": \"企业内部审核通过,允许签署\"\n}",
150
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignReview\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxMkUy************8VI2JmKxPkk\"\n },\n \"FlowId\": \"yDwXiUUc***********uIW72Qaxm\",\n \"ReviewType\": \"PASS\",\n \"ReviewMessage\": \"企业内部审核通过,允许签署\"\n}",
135
151
  "output": "{\n \"Response\": {\n \"RequestId\": \"s1234345677xxxx\"\n }\n}",
136
152
  "title": "提交企业签署流程审批结果"
137
153
  }
@@ -4595,6 +4595,58 @@ def doModifyUser(args, parsed_globals):
4595
4595
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4596
4596
 
4597
4597
 
4598
+ def doChannelCreateFlowGroupByTemplates(args, parsed_globals):
4599
+ g_param = parse_global_arg(parsed_globals)
4600
+
4601
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4602
+ cred = credential.CVMRoleCredential()
4603
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4604
+ cred = credential.STSAssumeRoleCredential(
4605
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4606
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
4607
+ )
4608
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4609
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4610
+ else:
4611
+ cred = credential.Credential(
4612
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4613
+ )
4614
+ http_profile = HttpProfile(
4615
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4616
+ reqMethod="POST",
4617
+ endpoint=g_param[OptionsDefine.Endpoint],
4618
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4619
+ )
4620
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4621
+ if g_param[OptionsDefine.Language]:
4622
+ profile.language = g_param[OptionsDefine.Language]
4623
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4624
+ client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
4625
+ client._sdkVersion += ("_CLI_" + __version__)
4626
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4627
+ model = models.ChannelCreateFlowGroupByTemplatesRequest()
4628
+ model.from_json_string(json.dumps(args))
4629
+ start_time = time.time()
4630
+ while True:
4631
+ rsp = client.ChannelCreateFlowGroupByTemplates(model)
4632
+ result = rsp.to_json_string()
4633
+ try:
4634
+ json_obj = json.loads(result)
4635
+ except TypeError as e:
4636
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4637
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4638
+ break
4639
+ cur_time = time.time()
4640
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4641
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4642
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4643
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4644
+ else:
4645
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4646
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4647
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4648
+
4649
+
4598
4650
  def doCheckBankCardVerification(args, parsed_globals):
4599
4651
  g_param = parse_global_arg(parsed_globals)
4600
4652
 
@@ -5112,6 +5164,7 @@ ACTION_MAP = {
5112
5164
  "ChannelCreateUserRoles": doChannelCreateUserRoles,
5113
5165
  "RejectFlow": doRejectFlow,
5114
5166
  "ModifyUser": doModifyUser,
5167
+ "ChannelCreateFlowGroupByTemplates": doChannelCreateFlowGroupByTemplates,
5115
5168
  "CheckBankCardVerification": doCheckBankCardVerification,
5116
5169
  "DescribeChannelFlowEvidenceReport": doDescribeChannelFlowEvidenceReport,
5117
5170
  "OperateChannelTemplate": doOperateChannelTemplate,
@@ -63,6 +63,13 @@
63
63
  "output": "ChannelCreateFlowGroupByFilesResponse",
64
64
  "status": "online"
65
65
  },
66
+ "ChannelCreateFlowGroupByTemplates": {
67
+ "document": "接口(ChannelCreateFlowGroupByTemplates)用于通过多模板创建合同组签署流程。",
68
+ "input": "ChannelCreateFlowGroupByTemplatesRequest",
69
+ "name": "通过多模板创建合同组签署流程",
70
+ "output": "ChannelCreateFlowGroupByTemplatesResponse",
71
+ "status": "online"
72
+ },
66
73
  "ChannelCreateFlowReminds": {
67
74
  "document": "指定需要批量催办的签署流程Id,批量催办合同,最多100个;接口失败后返回错误信息\n注意:\n该接口不可直接调用,请联系客户经理申请使用\n仅能催办当前状态为“待签署”的签署人,且只能催办一次",
68
75
  "input": "ChannelCreateFlowRemindsRequest",
@@ -155,9 +162,9 @@
155
162
  "status": "online"
156
163
  },
157
164
  "ChannelDescribeRoles": {
158
- "document": "查询用户角色",
165
+ "document": "查询角色列表,支持根据类型和状态过滤角色列表",
159
166
  "input": "ChannelDescribeRolesRequest",
160
- "name": "查询用户角色",
167
+ "name": "查询角色列表",
161
168
  "output": "ChannelDescribeRolesResponse",
162
169
  "status": "online"
163
170
  },
@@ -1292,7 +1299,7 @@
1292
1299
  "members": [
1293
1300
  {
1294
1301
  "disabled": false,
1295
- "document": "每个子合同的发起所需的信息,数量限制2-100",
1302
+ "document": "每个子合同的发起所需的信息,数量限制2-50",
1296
1303
  "example": "无",
1297
1304
  "member": "FlowFileInfo",
1298
1305
  "name": "FlowFileInfos",
@@ -1370,6 +1377,81 @@
1370
1377
  ],
1371
1378
  "type": "object"
1372
1379
  },
1380
+ "ChannelCreateFlowGroupByTemplatesRequest": {
1381
+ "document": "ChannelCreateFlowGroupByTemplates请求参数结构体",
1382
+ "members": [
1383
+ {
1384
+ "disabled": false,
1385
+ "document": "应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。",
1386
+ "example": "无",
1387
+ "member": "Agent",
1388
+ "name": "Agent",
1389
+ "required": true,
1390
+ "type": "object"
1391
+ },
1392
+ {
1393
+ "disabled": false,
1394
+ "document": "每个子合同的发起所需的信息,数量限制2-50(合同组暂不支持抄送功能)",
1395
+ "example": "无",
1396
+ "member": "FlowInfo",
1397
+ "name": "FlowInfos",
1398
+ "required": true,
1399
+ "type": "list"
1400
+ },
1401
+ {
1402
+ "disabled": false,
1403
+ "document": "合同组名称,长度不超过200个字符",
1404
+ "example": "\"xxx\"",
1405
+ "member": "string",
1406
+ "name": "FlowGroupName",
1407
+ "required": true,
1408
+ "type": "string"
1409
+ }
1410
+ ],
1411
+ "type": "object"
1412
+ },
1413
+ "ChannelCreateFlowGroupByTemplatesResponse": {
1414
+ "document": "ChannelCreateFlowGroupByTemplates返回参数结构体",
1415
+ "members": [
1416
+ {
1417
+ "disabled": false,
1418
+ "document": "合同组ID",
1419
+ "example": "xxx",
1420
+ "member": "string",
1421
+ "name": "FlowGroupId",
1422
+ "output_required": true,
1423
+ "type": "string",
1424
+ "value_allowed_null": false
1425
+ },
1426
+ {
1427
+ "disabled": false,
1428
+ "document": "子合同ID列表",
1429
+ "example": "[\"xx\",\"yy\"]",
1430
+ "member": "string",
1431
+ "name": "FlowIds",
1432
+ "output_required": true,
1433
+ "type": "list",
1434
+ "value_allowed_null": false
1435
+ },
1436
+ {
1437
+ "disabled": false,
1438
+ "document": "复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;\n如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过ChannelGetTaskResultApi接口查询任务详情;",
1439
+ "example": "无",
1440
+ "member": "TaskInfo",
1441
+ "name": "TaskInfos",
1442
+ "output_required": true,
1443
+ "type": "list",
1444
+ "value_allowed_null": false
1445
+ },
1446
+ {
1447
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1448
+ "member": "string",
1449
+ "name": "RequestId",
1450
+ "type": "string"
1451
+ }
1452
+ ],
1453
+ "type": "object"
1454
+ },
1373
1455
  "ChannelCreateFlowRemindsRequest": {
1374
1456
  "document": "ChannelCreateFlowReminds请求参数结构体",
1375
1457
  "members": [
@@ -4860,6 +4942,15 @@
4860
4942
  "name": "SignId",
4861
4943
  "required": false,
4862
4944
  "type": "string"
4945
+ },
4946
+ {
4947
+ "disabled": false,
4948
+ "document": "SMS: 短信; NONE: 不发信息\n默认为SMS(该字段对子客无效)",
4949
+ "example": "SMS",
4950
+ "member": "string",
4951
+ "name": "NotifyType",
4952
+ "required": false,
4953
+ "type": "string"
4863
4954
  }
4864
4955
  ],
4865
4956
  "usage": "in"
@@ -5120,6 +5211,15 @@
5120
5211
  "required": false,
5121
5212
  "type": "bool"
5122
5213
  },
5214
+ {
5215
+ "disabled": false,
5216
+ "document": "签署文件中的发起方的填写控件,需要在发起的时候进行填充",
5217
+ "example": "无",
5218
+ "member": "Component",
5219
+ "name": "Components",
5220
+ "required": false,
5221
+ "type": "list"
5222
+ },
5123
5223
  {
5124
5224
  "disabled": false,
5125
5225
  "document": "合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始",
@@ -6869,6 +6969,7 @@
6869
6969
  "example": "1",
6870
6970
  "member": "int64",
6871
6971
  "name": "Status",
6972
+ "output_required": true,
6872
6973
  "type": "int",
6873
6974
  "value_allowed_null": true
6874
6975
  },
@@ -6878,6 +6979,7 @@
6878
6979
  "example": "无",
6879
6980
  "member": "SyncFailReason",
6880
6981
  "name": "FailedList",
6982
+ "output_required": true,
6881
6983
  "type": "list",
6882
6984
  "value_allowed_null": true
6883
6985
  },
@@ -72,6 +72,14 @@
72
72
  "title": "通过多文件创建合同组签署流程"
73
73
  }
74
74
  ],
75
+ "ChannelCreateFlowGroupByTemplates": [
76
+ {
77
+ "document": "通过多模板创建合同组签署流程",
78
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateFlowGroupByTemplates\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"test\",\n \"ProxyOperator\": {\n \"OpenId\": \"test\"\n },\n \"AppId\": \"test\"\n },\n \"FlowGroupName\": \"testx\",\n \"FlowInfos\": [\n {\n \"FlowName\": \"testx\",\n \"TemplateId\": \"testx\",\n \"FlowDescription\": \"testx\",\n \"Deadline\": 1604910797,\n \"CallbackUrl\": \"testx\",\n \"FormFields\": [\n {\n \"ComponentName\": \"testx\",\n \"ComponentValue\": \"testx\"\n }\n ],\n \"FlowApprovers\": [\n {\n \"ApproverType\": \"PERSON\",\n \"Name\": \"testx\",\n \"Mobile\": \"testx\",\n \"RecipientId\": \"testx\"\n },\n {\n \"ApproverType\": \"ORGANIZATION\",\n \"OpenId\": \"testx\",\n \"OrganizationOpenId\": \"testx\",\n \"OrganizationName\": \"testx\",\n \"RecipientId\": \"testx\"\n }\n ]\n }\n ]\n}",
79
+ "output": "{\n \"Response\": {\n \"FlowGroupId\": \"test\",\n \"FlowIds\": [\n \"test\"\n ],\n \"TaskInfos\": [\n {\n \"TaskId\": \"test\",\n \"TaskStatus\": \"test\"\n }\n ],\n \"RequestId\": \"test\"\n }\n}",
80
+ "title": "通过多模板创建合同组签署流程"
81
+ }
82
+ ],
75
83
  "ChannelCreateFlowReminds": [
76
84
  {
77
85
  "document": "对合同中尚未完成的用户推送催办",
@@ -185,7 +185,7 @@
185
185
  "DescribeDocuments": {
186
186
  "document": "有新接口替换\n\n批量获取文档信息(已废弃,替代接口BatchDescribeDocument)",
187
187
  "input": "DescribeDocumentsRequest",
188
- "name": "批量获取文档信息",
188
+ "name": "批量获取文档信息【已废弃】",
189
189
  "output": "DescribeDocumentsResponse",
190
190
  "status": "deprecated"
191
191
  },
@@ -2033,7 +2033,6 @@
2033
2033
  "document": "DescribeDocument请求参数结构体",
2034
2034
  "members": [
2035
2035
  {
2036
- "default": "",
2037
2036
  "disabled": false,
2038
2037
  "document": "文档Id(唯一id)",
2039
2038
  "example": "abc",
@@ -2054,7 +2053,7 @@
2054
2053
  "example": "abc",
2055
2054
  "member": "string",
2056
2055
  "name": "DocumentId",
2057
- "required": true,
2056
+ "output_required": true,
2058
2057
  "type": "string",
2059
2058
  "value_allowed_null": false
2060
2059
  },
@@ -2064,7 +2063,7 @@
2064
2063
  "example": "abc",
2065
2064
  "member": "string",
2066
2065
  "name": "DocumentUrl",
2067
- "required": true,
2066
+ "output_required": true,
2068
2067
  "type": "string",
2069
2068
  "value_allowed_null": false
2070
2069
  },
@@ -2074,7 +2073,7 @@
2074
2073
  "example": "abc",
2075
2074
  "member": "string",
2076
2075
  "name": "DocumentName",
2077
- "required": true,
2076
+ "output_required": true,
2078
2077
  "type": "string",
2079
2078
  "value_allowed_null": false
2080
2079
  },
@@ -2084,7 +2083,7 @@
2084
2083
  "example": "abc",
2085
2084
  "member": "string",
2086
2085
  "name": "Owner",
2087
- "required": true,
2086
+ "output_required": true,
2088
2087
  "type": "string",
2089
2088
  "value_allowed_null": false
2090
2089
  },
@@ -2094,7 +2093,7 @@
2094
2093
  "example": "123",
2095
2094
  "member": "uint64",
2096
2095
  "name": "SdkAppId",
2097
- "required": true,
2096
+ "output_required": true,
2098
2097
  "type": "int",
2099
2098
  "value_allowed_null": false
2100
2099
  },
@@ -2104,7 +2103,7 @@
2104
2103
  "example": "1",
2105
2104
  "member": "uint64",
2106
2105
  "name": "Permission",
2107
- "required": true,
2106
+ "output_required": true,
2108
2107
  "type": "int",
2109
2108
  "value_allowed_null": false
2110
2109
  },
@@ -2114,7 +2113,7 @@
2114
2113
  "example": "xx",
2115
2114
  "member": "string",
2116
2115
  "name": "TranscodeResult",
2117
- "required": true,
2116
+ "output_required": true,
2118
2117
  "type": "string",
2119
2118
  "value_allowed_null": false
2120
2119
  },
@@ -2124,7 +2123,7 @@
2124
2123
  "example": "1",
2125
2124
  "member": "uint64",
2126
2125
  "name": "TranscodeType",
2127
- "required": true,
2126
+ "output_required": true,
2128
2127
  "type": "int",
2129
2128
  "value_allowed_null": false
2130
2129
  },
@@ -2134,7 +2133,7 @@
2134
2133
  "example": "1",
2135
2134
  "member": "uint64",
2136
2135
  "name": "TranscodeProgress",
2137
- "required": true,
2136
+ "output_required": true,
2138
2137
  "type": "int",
2139
2138
  "value_allowed_null": false
2140
2139
  },
@@ -2144,7 +2143,7 @@
2144
2143
  "example": "1",
2145
2144
  "member": "uint64",
2146
2145
  "name": "TranscodeState",
2147
- "required": true,
2146
+ "output_required": true,
2148
2147
  "type": "int",
2149
2148
  "value_allowed_null": false
2150
2149
  },
@@ -2154,7 +2153,7 @@
2154
2153
  "example": "abc",
2155
2154
  "member": "string",
2156
2155
  "name": "TranscodeInfo",
2157
- "required": true,
2156
+ "output_required": true,
2158
2157
  "type": "string",
2159
2158
  "value_allowed_null": false
2160
2159
  },
@@ -2164,7 +2163,7 @@
2164
2163
  "example": "abc",
2165
2164
  "member": "string",
2166
2165
  "name": "DocumentType",
2167
- "required": true,
2166
+ "output_required": true,
2168
2167
  "type": "string",
2169
2168
  "value_allowed_null": false
2170
2169
  },
@@ -2174,7 +2173,7 @@
2174
2173
  "example": "1",
2175
2174
  "member": "uint64",
2176
2175
  "name": "DocumentSize",
2177
- "required": true,
2176
+ "output_required": true,
2178
2177
  "type": "int",
2179
2178
  "value_allowed_null": false
2180
2179
  },
@@ -2184,7 +2183,17 @@
2184
2183
  "example": "1",
2185
2184
  "member": "uint64",
2186
2185
  "name": "UpdateTime",
2187
- "required": true,
2186
+ "output_required": true,
2187
+ "type": "int",
2188
+ "value_allowed_null": false
2189
+ },
2190
+ {
2191
+ "disabled": false,
2192
+ "document": "课件页数",
2193
+ "example": "1",
2194
+ "member": "uint64",
2195
+ "name": "Pages",
2196
+ "output_required": false,
2188
2197
  "type": "int",
2189
2198
  "value_allowed_null": false
2190
2199
  },
@@ -2365,6 +2374,7 @@
2365
2374
  "example": "无",
2366
2375
  "member": "int64",
2367
2376
  "name": "Total",
2377
+ "output_required": true,
2368
2378
  "type": "int",
2369
2379
  "value_allowed_null": false
2370
2380
  },
@@ -2374,6 +2384,7 @@
2374
2384
  "example": "无",
2375
2385
  "member": "DocumentInfo",
2376
2386
  "name": "Documents",
2387
+ "output_required": true,
2377
2388
  "type": "list",
2378
2389
  "value_allowed_null": true
2379
2390
  },
@@ -202,10 +202,16 @@
202
202
  ],
203
203
  "DescribeDocument": [
204
204
  {
205
- "document": "",
206
- "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDocument\n<公共请求参数>\n\n{\n \"DocumentId\": \"xx\"\n}",
207
- "output": "{\n \"Response\": {\n \"UpdateTime\": 1,\n \"DocumentUrl\": \"xx\",\n \"TranscodeState\": 1,\n \"Permission\": 1,\n \"TranscodeType\": 1,\n \"DocumentName\": \"xx\",\n \"TranscodeInfo\": \"xx\",\n \"DocumentSize\": 1,\n \"TranscodeResult\": \"xx\",\n \"SdkAppId\": 1,\n \"DocumentType\": \"xx\",\n \"Owner\": \"xx\",\n \"TranscodeProgress\": 1,\n \"DocumentId\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
208
- "title": "获取文档信息"
205
+ "document": "pdf 示例",
206
+ "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDocument\n<公共请求参数>\n\n{\n \"DocumentId\": \"omxxxsdc\"\n}",
207
+ "output": "{\n \"Response\": {\n \"DocumentId\": \"omxxxsdc\",\n \"DocumentName\": \"滴滴电子发票 (1).pdf\",\n \"DocumentSize\": 38673,\n \"DocumentType\": \"pdf\",\n \"DocumentUrl\": \"https://tcic-source.qcloudclass.com/uploads/5390248a-5eb7-4fe8-be27-c43dbad1380f/3520371/1679021408_KzpMGD38.pdf\",\n \"Owner\": \"2N1zP0mW7E3Vr3xJ2ZQ9GeFDK4t\",\n \"Pages\": 1,\n \"Permission\": 0,\n \"RequestId\": \"ee3fdca0-c88c-43f1-81b4-4f51f9e50521\",\n \"SdkAppId\": 3520371,\n \"TranscodeInfo\": \"\",\n \"TranscodeProgress\": 100,\n \"TranscodeResult\": \"https://tcic-test-1257307760.qcloudclass.com/doc/01aq2v7djsh31noat9gc_tiw/picture/\",\n \"TranscodeState\": 3,\n \"TranscodeType\": 1,\n \"UpdateTime\": 1679021410\n }\n}",
208
+ "title": "测试示例"
209
+ },
210
+ {
211
+ "document": "示例",
212
+ "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDocument\n<公共请求参数>\n\n{\n \"DocumentId\": \"ntxsfrzk\"\n}",
213
+ "output": "{\n \"Response\": {\n \"DocumentId\": \"ntxsfrzk\",\n \"DocumentName\": \"test.pptx\",\n \"DocumentSize\": 15814364,\n \"DocumentType\": \"pptx\",\n \"DocumentUrl\": \"https://tcic-source.qcloudclass.com/uploads/5390248a-5eb7-4fe8-be27-c43dbad1380f/3520371/1677202414_85bt9f0X.pptx\",\n \"Owner\": \"2M04q0j5mhsbq1lAEbCW1dhRvA2\",\n \"Pages\": 0,\n \"Permission\": 0,\n \"RequestId\": \"d97f98d7-de89-455a-a1f3-b9dae84d84bb\",\n \"SdkAppId\": 3520371,\n \"TranscodeInfo\": \"Microsoft Macintosh PowerPoint\",\n \"TranscodeProgress\": 100,\n \"TranscodeResult\": \"https://tcic-test-1257307760.qcloudclass.com/doc/gsutgbm7ssh31ns71sfc_tiw/h5/index.html\",\n \"TranscodeState\": 3,\n \"TranscodeType\": 1,\n \"UpdateTime\": 1677202419\n }\n}",
214
+ "title": "获取文档详情"
209
215
  }
210
216
  ],
211
217
  "DescribeDocuments": [
@@ -2899,7 +2899,7 @@
2899
2899
  },
2900
2900
  {
2901
2901
  "disabled": false,
2902
- "document": "完整目标 URL 地址。\n用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空字符串,任务将会使用该 ToUrl 参数指定的目标地址。\n\n注意:签名时间需要超过任务结束时间,避免因签名过期造成任务失败。",
2902
+ "document": "完整目标 URL 地址。\n用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空字符串,任务将会使用该 ToUrl 参数指定的目标地址。\n\n使用该方式传入目标地址支持的协议有:\nrtmp、rtmps、rtsp、rtp、srt。\n\n注意:签名时间需要超过任务结束时间,避免因签名过期造成任务失败。",
2903
2903
  "example": "无",
2904
2904
  "member": "string",
2905
2905
  "name": "ToUrl",
@@ -2963,6 +2963,7 @@
2963
2963
  "example": "无",
2964
2964
  "member": "string",
2965
2965
  "name": "TaskId",
2966
+ "output_required": true,
2966
2967
  "type": "string",
2967
2968
  "value_allowed_null": false
2968
2969
  },
@@ -5123,9 +5124,8 @@
5123
5124
  "document": "DeleteLiveTranscodeTemplate请求参数结构体",
5124
5125
  "members": [
5125
5126
  {
5126
- "default": "",
5127
5127
  "disabled": false,
5128
- "document": "模板 ID。\n1. 在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。\n2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建的过的模板列表。",
5128
+ "document": "模板 ID。\n1. 在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。\n2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建过的模板列表。",
5129
5129
  "example": "1000",
5130
5130
  "member": "int64",
5131
5131
  "name": "TemplateId",
@@ -346,7 +346,7 @@
346
346
  ],
347
347
  "DeleteLiveTranscodeTemplate": [
348
348
  {
349
- "document": "",
349
+ "document": "请求示例。",
350
350
  "input": "https://live.tencentcloudapi.com/?Action=DeleteLiveTranscodeTemplate\n&TemplateId=1000\n&<公共请求参数>",
351
351
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
352
352
  "title": "请求示例"