tccli 3.0.845.1__py2.py3-none-any.whl → 3.0.847.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 (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +18 -62
  3. tccli/services/billing/v20180709/examples.json +8 -8
  4. tccli/services/cat/v20180409/api.json +0 -28
  5. tccli/services/cat/v20180409/examples.json +7 -7
  6. tccli/services/ccc/v20200210/api.json +16 -7
  7. tccli/services/ccc/v20200210/examples.json +2 -2
  8. tccli/services/cdb/v20170320/api.json +71 -50
  9. tccli/services/cdb/v20170320/examples.json +4 -4
  10. tccli/services/cdn/v20180606/api.json +1 -11
  11. tccli/services/cdn/v20180606/examples.json +1 -1
  12. tccli/services/ckafka/v20190819/api.json +8 -5
  13. tccli/services/ckafka/v20190819/examples.json +3 -3
  14. tccli/services/cls/v20201016/api.json +44 -33
  15. tccli/services/cls/v20201016/examples.json +3 -3
  16. tccli/services/cvm/v20170312/api.json +2 -4
  17. tccli/services/dbbrain/v20210527/api.json +36 -30
  18. tccli/services/dcdb/dcdb_client.py +53 -0
  19. tccli/services/dcdb/v20180411/api.json +812 -157
  20. tccli/services/dcdb/v20180411/examples.json +8 -0
  21. tccli/services/dlc/v20210125/api.json +9 -0
  22. tccli/services/emr/v20190103/api.json +9 -29
  23. tccli/services/ess/ess_client.py +273 -8
  24. tccli/services/ess/v20201111/api.json +639 -89
  25. tccli/services/ess/v20201111/examples.json +58 -6
  26. tccli/services/essbasic/essbasic_client.py +159 -0
  27. tccli/services/essbasic/v20210526/api.json +287 -3
  28. tccli/services/essbasic/v20210526/examples.json +24 -0
  29. tccli/services/iotexplorer/v20190423/api.json +25 -33
  30. tccli/services/iotexplorer/v20190423/examples.json +9 -9
  31. tccli/services/mariadb/mariadb_client.py +53 -0
  32. tccli/services/mariadb/v20170312/api.json +520 -0
  33. tccli/services/mariadb/v20170312/examples.json +8 -0
  34. tccli/services/monitor/v20180724/api.json +10 -11
  35. tccli/services/monitor/v20180724/examples.json +5 -5
  36. tccli/services/mps/v20190612/api.json +2 -7
  37. tccli/services/ocr/v20181119/api.json +73 -89
  38. tccli/services/ocr/v20181119/examples.json +23 -23
  39. tccli/services/redis/redis_client.py +53 -0
  40. tccli/services/redis/v20180412/api.json +214 -0
  41. tccli/services/redis/v20180412/examples.json +8 -0
  42. tccli/services/tcss/v20201101/api.json +40 -7
  43. tccli/services/tcss/v20201101/examples.json +3 -3
  44. tccli/services/tdid/v20210519/api.json +68 -68
  45. tccli/services/tiw/tiw_client.py +1403 -78
  46. tccli/services/tiw/v20190919/api.json +2439 -461
  47. tccli/services/tiw/v20190919/examples.json +200 -0
  48. tccli/services/trtc/v20190722/api.json +41 -29
  49. tccli/services/trtc/v20190722/examples.json +10 -10
  50. tccli/services/vpc/v20170312/api.json +15 -27
  51. tccli/services/vpc/v20170312/examples.json +6 -6
  52. tccli/services/waf/v20180125/api.json +50 -6
  53. tccli/services/waf/v20180125/examples.json +2 -2
  54. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/RECORD +59 -59
  56. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/LICENSE +0 -0
  57. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/top_level.txt +0 -0
@@ -116,12 +116,26 @@
116
116
  ],
117
117
  "CreateIntegrationEmployees": [
118
118
  {
119
- "document": "",
119
+ "document": "创建员工",
120
120
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrationEmployees\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"y**********************************N\"\n },\n \"Employees\": [\n {\n \"DisplayName\": \"张三\",\n \"Mobile\": \"12345678901\",\n \"OpenId\": \"open123\"\n }\n ]\n}",
121
121
  "output": "{\n \"Response\": {\n \"CreateEmployeeResult\": {\n \"FailedEmployeeData\": [],\n \"SuccessEmployeeData\": [\n {\n \"DisplayName\": \"张三\",\n \"Mobile\": \"1***********7\",\n \"UserId\": \"*******\"\n }\n ]\n },\n \"RequestId\": \"s166*************073\"\n }\n}",
122
122
  "title": "创建员工"
123
123
  }
124
124
  ],
125
+ "CreateIntegrationUserRoles": [
126
+ {
127
+ "document": "示例-主代子绑定角色",
128
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrationUserRoles\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationId\": \"yDwcwUUgyg3ku4dcUnb2eQRA5tb3wCvJ\"\n },\n \"UserIds\": [\n \"yDwcwUUgyg3kuuemUnb2eQS1BsaTeVDP\"\n ],\n \"RoleIds\": [\n \"6fad1903eea5074122d6921046819037\"\n ],\n \"Operator\": {\n \"UserId\": \"yDwnHUUgygksdjwxUuMR3gQvehewF4C5\",\n \"ClientIp\": \"0.0.0.1\",\n \"Channel\": \"YUFU\"\n }\n}",
129
+ "output": "{\n \"Response\": {\n \"FailedCreateRoleData\": [],\n \"RequestId\": \"s1679478914712921175\"\n }\n}",
130
+ "title": "示例-主代子绑定角色"
131
+ },
132
+ {
133
+ "document": "示例-普通企业绑定角色",
134
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrationUserRoles\n<公共请求参数>\n\n{\n \"UserIds\": [\n \"y**************************************************s\",\n \"y**************************************************e\"\n ],\n \"RoleIds\": [\n \"0************************************************e\",\n \"f*************************************************b\"\n ],\n \"Operator\": {\n \"UserId\": \"y**********************************s\",\n \"ClientIp\": \"0.0.0.1\",\n \"Channel\": \"YUFU\"\n }\n}",
135
+ "output": "{\n \"Response\": {\n \"FailedCreateRoleData\": [\n {\n \"RoleIds\": [\n \"**************************************************\",\n \"**************************************************\"\n ],\n \"UserId\": \"*******************************************\"\n }\n ],\n \"RequestId\": \"s******************\"\n }\n}",
136
+ "title": "示例-普通企业绑定角色"
137
+ }
138
+ ],
125
139
  "CreateMultiFlowSignQRCode": [
126
140
  {
127
141
  "document": "创建一码多扫流程签署二维码",
@@ -138,6 +152,14 @@
138
152
  "title": "创建签署流程。"
139
153
  }
140
154
  ],
155
+ "CreatePreparedPersonalEsign": [
156
+ {
157
+ "document": "通过准备好的印章图片创建个人印章",
158
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePreparedPersonalEsign\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\",\n \"Channel\": \"abc\",\n \"OpenId\": \"abc\",\n \"ClientIp\": \"abc\",\n \"ProxyIp\": \"abc\"\n },\n \"UserName\": \"印章归属个人姓名\",\n \"IdCardType\": \"\",\n \"IdCardNumber\": \"身份证件号码\",\n \"SealImage\": \"印章图片Base64\",\n \"SealName\": \"我的印章名称\",\n \"Mobile\": \"135*111\",\n \"EnableAutoSign\": true\n}",
159
+ "output": "{\n \"Response\": {\n \"SealId\": \"sealid-1\",\n \"RequestId\": \"abc\"\n }\n}",
160
+ "title": "通过准备好的印章图片创建个人印章"
161
+ }
162
+ ],
141
163
  "CreateReleaseFlow": [
142
164
  {
143
165
  "document": "1.使用原流程的签署人\n2.包含了详细的解除内容",
@@ -178,12 +200,20 @@
178
200
  ],
179
201
  "DeleteIntegrationEmployees": [
180
202
  {
181
- "document": "",
203
+ "document": "删除员工,支持离职交接",
182
204
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIntegrationEmployees\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"y**********************************N\"\n },\n \"Employees\": [\n {\n \"OpenId\": \"open123\"\n }\n ]\n}",
183
- "output": "{\n \"Response\": {\n \"DeleteEmployeeResult\": {\n \"FailedEmployeeData\": [\n {\n \"OpenId\": \"xx\",\n \"Reason\": \"xx\",\n \"UserId\": \"xx\"\n }\n ],\n \"SuccessEmployeeData\": [\n {\n \"Mobile\": \"xx\",\n \"UserId\": \"xx\",\n \"DisplayName\": \"xx\"\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}",
205
+ "output": "{\n \"Response\": {\n \"DeleteEmployeeResult\": {\n \"FailedEmployeeData\": [\n {\n \"OpenId\": \"SomeopenID\",\n \"Reason\": \"员工不存在\",\n \"UserId\": \"SomeUserID\"\n }\n ],\n \"SuccessEmployeeData\": [\n {\n \"Mobile\": \"133XXXX1234\",\n \"UserId\": \"SomeUserID\",\n \"DisplayName\": \"SomeOne\"\n }\n ]\n },\n \"RequestId\": \"req123\"\n }\n}",
184
206
  "title": "删除员工"
185
207
  }
186
208
  ],
209
+ "DeleteIntegrationRoleUsers": [
210
+ {
211
+ "document": "解绑用户角色",
212
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIntegrationRoleUsers\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\",\n \"Channel\": \"abc\",\n \"OpenId\": \"abc\",\n \"ClientIp\": \"abc\",\n \"ProxyIp\": \"abc\"\n },\n \"RoleId\": \"abc\",\n \"Users\": [\n {\n \"UserId\": \"abc\"\n }\n ],\n \"Agent\": {\n \"AppId\": \"abc\",\n \"ProxyAppId\": \"abc\",\n \"ProxyOrganizationId\": \"abc\",\n \"ProxyOperator\": \"abc\"\n }\n}",
213
+ "output": "{\n \"Response\": {\n \"RoleId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
214
+ "title": "解绑用户角色"
215
+ }
216
+ ],
187
217
  "DeleteSealPolicies": [
188
218
  {
189
219
  "document": "撤销指定印章授权",
@@ -240,7 +270,7 @@
240
270
  {
241
271
  "document": "查询企业模板列表",
242
272
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"string\",\n \"ClientIp\": \"string\",\n \"Channel\": \"string\",\n \"OpenId\": \"\",\n \"ProxyIp\": \"string\"\n },\n \"Offset\": 0,\n \"Limit\": 20,\n \"ContentType\": 0,\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"16250***********49e047d8\"\n ]\n }\n ]\n}",
243
- "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"TemplateId\": \"162509******b1949e047d8\",\n \"TemplateName\": \"string\",\n \"Description\": \"XXXXX\",\n \"DocumentResourceIds\": [\n \"123456******7812345678\"\n ],\n \"FileInfos\": [\n {\n \"CreatedOn\": 1234567890,\n \"FileId\": \"0410049******2494f43bb\",\n \"FileName\": \"7530fbd040c*********26aaf-verify.pdf\",\n \"FileSize\": 45435\n }\n ],\n \"AttachmentResourceIds\": [\n \"string\"\n ],\n \"Promoter\": {\n \"RecipientId\": \"0\",\n \"RecipientType\": \"PROMOTER\",\n \"Description\": \"发起人角色\",\n \"RoleName\": \"发起人\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"False\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"False\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n },\n \"SignOrder\": [\n 0,\n 1\n ],\n \"Recipients\": [\n {\n \"RecipientId\": \"1\",\n \"RecipientType\": \"enterprise\",\n \"Description\": \"\",\n \"RoleName\": \"企业\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"True\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"True\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n },\n {\n \"RecipientId\": \"2\",\n \"RecipientType\": \"enterprise\",\n \"Description\": \"\",\n \"RoleName\": \"企业HR\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"True\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"True\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n }\n ],\n \"Components\": [\n {\n \"ComponentRecipientId\": \"1\",\n \"ComponentId\": \"string\",\n \"ComponentName\": \"string\",\n \"ComponentType\": \"string\",\n \"ComponentRequired\": true,\n \"ComponentWidth\": 1.1,\n \"ComponentHeight\": 12.142,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 1241.15,\n \"ComponentPosY\": 125.12,\n \"ComponentExtra\": \"string\",\n \"FileIndex\": 0\n }\n ],\n \"SignComponents\": [\n {\n \"ComponentRecipientId\": \"1\",\n \"ComponentId\": \"string\",\n \"ComponentName\": \"string\",\n \"ComponentType\": \"string\",\n \"ComponentRequired\": true,\n \"ComponentWidth\": 1.1,\n \"ComponentHeight\": 12.142,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 1241.15,\n \"ComponentPosY\": 125.12,\n \"ComponentExtra\": \"string\",\n \"FileIndex\": 0\n }\n ],\n \"Status\": 0\n }\n ],\n \"TotalCount\": 10,\n \"RequestId\": \"xx\"\n }\n}",
273
+ "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"TemplateId\": \"162509******b1949e047d8\",\n \"TemplateName\": \"string\",\n \"Description\": \"XXXXX\",\n \"DocumentResourceIds\": [\n \"123456******7812345678\"\n ],\n \"FileInfos\": [\n {\n \"CreatedOn\": 1234567890,\n \"FileId\": \"0410049******2494f43bb\",\n \"FileName\": \"7530fbd040c*********26aaf-verify.pdf\",\n \"FileSize\": 45435\n }\n ],\n \"AttachmentResourceIds\": [\n \"string\"\n ],\n \"Promoter\": {\n \"RecipientId\": \"0\",\n \"RecipientType\": \"PROMOTER\",\n \"Description\": \"发起人角色\",\n \"RoleName\": \"发起人\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"False\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"False\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n },\n \"SignOrder\": [\n 0,\n 1\n ],\n \"Recipients\": [\n {\n \"RecipientId\": \"1\",\n \"RecipientType\": \"enterprise\",\n \"Description\": \"\",\n \"RoleName\": \"企业\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"True\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"True\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n },\n {\n \"RecipientId\": \"2\",\n \"RecipientType\": \"enterprise\",\n \"Description\": \"\",\n \"RoleName\": \"企业HR\",\n \"RequireValidation\": \"False\",\n \"RequireSign\": \"True\",\n \"RoutingOrder\": 0,\n \"RequireDelivery\": \"True\",\n \"Email\": \"123@tencent.com\",\n \"Mobile\": \"12332112345\",\n \"UserId\": \"\",\n \"DeliveryMethod\": \"email\",\n \"RecipientExtra\": \"\"\n }\n ],\n \"Components\": [\n {\n \"ComponentRecipientId\": \"1\",\n \"ComponentId\": \"string\",\n \"ComponentName\": \"string\",\n \"ComponentType\": \"string\",\n \"ComponentRequired\": true,\n \"ComponentWidth\": 1.1,\n \"ComponentHeight\": 12.142,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 1241.15,\n \"ComponentPosY\": 125.12,\n \"ComponentExtra\": \"string\",\n \"FileIndex\": 0\n }\n ],\n \"SignComponents\": [\n {\n \"ComponentRecipientId\": \"1\",\n \"ComponentId\": \"string\",\n \"ComponentName\": \"string\",\n \"ComponentType\": \"string\",\n \"ComponentRequired\": true,\n \"ComponentWidth\": 1.1,\n \"ComponentHeight\": 12.142,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 1241.15,\n \"ComponentPosY\": 125.12,\n \"ComponentExtra\": \"string\",\n \"FileIndex\": 0\n }\n ],\n \"Status\": 0\n }\n ],\n \"TotalCount\": 10,\n \"RequestId\": \"test\"\n }\n}",
244
274
  "title": "模板查询接口"
245
275
  }
246
276
  ],
@@ -260,6 +290,20 @@
260
290
  "title": "示例1"
261
291
  }
262
292
  ],
293
+ "DescribeIntegrationRoles": [
294
+ {
295
+ "document": "示例-主代子查询",
296
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIntegrationRoles\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"RoleType\",\n \"Values\": [\n \"1\"\n ]\n }\n ],\n \"Agent\": {\n \"ProxyOrganizationId\": \"y**********************J\"\n },\n \"Operator\": {\n \"ClientIp\": \"0.0.0.1\",\n \"UserId\": \"y******************5\",\n \"Channel\": \"YUFU\"\n },\n \"Limit\": 1,\n \"Offset\": 0\n}",
297
+ "output": "{\n \"Response\": {\n \"IntegrateRoles\": [\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"c*************************b\",\n \"RoleName\": \"超级管理员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n }\n ],\n \"Limit\": 1,\n \"Offset\": 0,\n \"RequestId\": \"s************************1\",\n \"TotalCount\": 8\n }\n}",
298
+ "title": "示例-主代子查询"
299
+ },
300
+ {
301
+ "document": "示例-普通企业查询",
302
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIntegrationRoles\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"RoleType\",\n \"Values\": [\n \"1\"\n ]\n }\n ],\n \"Operator\": {\n \"ClientIp\": \"0.0.0.1\",\n \"UserId\": \"y******************5\",\n \"Channel\": \"YUFU\"\n },\n \"Limit\": 5,\n \"Offset\": 0\n}",
303
+ "output": "{\n \"Response\": {\n \"IntegrateRoles\": [\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"b4******************bf\",\n \"RoleName\": \"超级管理员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n },\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"1**********************1\",\n \"RoleName\": \"企业印章管理员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n },\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"2*********************0\",\n \"RoleName\": \"部门业务管理员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n },\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"3**************************c\",\n \"RoleName\": \"业务员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n },\n {\n \"IsGroupRole\": false,\n \"RoleId\": \"a******************************9\",\n \"RoleName\": \"企业合同管理员\",\n \"RoleStatus\": 1,\n \"SubOrgIdList\": []\n }\n ],\n \"Limit\": 5,\n \"Offset\": 0,\n \"RequestId\": \"s*******************\",\n \"TotalCount\": 13\n }\n}",
304
+ "title": "示例-普通企业查询"
305
+ }
306
+ ],
263
307
  "DescribeOrganizationGroupOrganizations": [
264
308
  {
265
309
  "document": "查询集团下所有成员企业",
@@ -330,6 +374,14 @@
330
374
  "title": "发起流程"
331
375
  }
332
376
  ],
377
+ "UpdateIntegrationEmployees": [
378
+ {
379
+ "document": "更新员工名称,手机号",
380
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateIntegrationEmployees\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\",\n \"Channel\": \"abc\",\n \"OpenId\": \"abc\",\n \"ClientIp\": \"abc\",\n \"ProxyIp\": \"abc\"\n },\n \"Agent\": {\n \"AppId\": \"abc\",\n \"ProxyAppId\": \"abc\",\n \"ProxyOrganizationId\": \"abc\",\n \"ProxyOperator\": \"abc\"\n },\n \"Employees\": [\n {\n \"UserId\": \"abc\",\n \"DisplayName\": \"abc\",\n \"Mobile\": \"abc\",\n \"Email\": \"abc\"\n }\n ]\n}",
381
+ "output": "{\n \"Response\": {\n \"SuccessEmployeeData\": [\n {\n \"DisplayName\": \"abc\",\n \"Mobile\": \"abc\",\n \"UserId\": \"abc\"\n }\n ],\n \"FailedEmployeeData\": [],\n \"RequestId\": \"abc\"\n }\n}",
382
+ "title": "更新员工信息"
383
+ }
384
+ ],
333
385
  "UploadFiles": [
334
386
  {
335
387
  "document": "上传印章",
@@ -346,13 +398,13 @@
346
398
  ],
347
399
  "VerifyPdf": [
348
400
  {
349
- "document": "",
401
+ "document": "对流程进行验证",
350
402
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyPdf\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxoQUxxxxxxjEyd1h2hnnR\"\n },\n \"FlowId\": \"yDRINUUgxxxx4zjEReF3rOOwb\"\n}",
351
403
  "output": "{\n \"Response\": {\n \"PdfVerifyResults\": [\n {\n \"CertNotAfter\": 166300032000,\n \"CertNotBefore\": 16630002000,\n \"CertSn\": \"166300032000\",\n \"ComponentHeight\": 33.340026855469,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentPosY\": 293.32995605469,\n \"ComponentWidth\": 100,\n \"SignAlgorithm\": \"SHA1withRSA\",\n \"SignPlatform\": \"腾讯电子签\",\n \"SignTime\": 1663304532000,\n \"SignerName\": \"ESS@xxx二@41xxxxx6635@666744\",\n \"VerifyResult\": 1\n },\n {\n \"CertNotAfter\": 1663304655000,\n \"CertNotBefore\": 1663304655000,\n \"CertSn\": \"2b42298dcxxxxx7527eaa1017e254e8\",\n \"ComponentHeight\": 75.680023193359,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 260,\n \"ComponentPosY\": 272.15997314453,\n \"ComponentWidth\": 100,\n \"SignAlgorithm\": \"SHA1withRSA\",\n \"SignPlatform\": \"腾讯电子签\",\n \"SignTime\": 1663304656000,\n \"SignerName\": \"张x x\",\n \"VerifyResult\": 1\n }\n ],\n \"RequestId\": \"79900a28xxxxxx-4af8a90f7292\",\n \"VerifySerialNo\": \"16698630779\",\n \"VerifyResult\": 1\n }\n}",
352
404
  "title": "示例"
353
405
  },
354
406
  {
355
- "document": "",
407
+ "document": "对流程进行验证",
356
408
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyPdf\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxoQUUgydjfxxxxEyd1h2hnnR\"\n },\n \"FlowId\": \"yDRIKUUgyxxxxUuO4zjExhs82XeuX\"\n}",
357
409
  "output": "{\n \"Response\": {\n \"PdfVerifyResults\": [\n {\n \"CertNotAfter\": 16691000034000,\n \"CertNotBefore\": 163700034000,\n \"CertSn\": \"5255f51cxxxxxx4d66f2a9eb8fb3d2bc1\",\n \"ComponentHeight\": 43,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 210.25,\n \"ComponentPosY\": 43,\n \"ComponentWidth\": 96.75,\n \"SignAlgorithm\": \"SHA1withRSA\",\n \"SignPlatform\": \"腾讯电子签\",\n \"SignTime\": 1663238861000,\n \"SignerName\": \"深圳市腾讯计算机系统有限公司\",\n \"VerifyResult\": 1\n },\n {\n \"CertNotAfter\": 166300032000,\n \"CertNotBefore\": 166300032000,\n \"CertSn\": \"5255f51c7xxx82c4d66f2a9eb8fb3d2bc1\",\n \"ComponentHeight\": 12,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 223.64999389648,\n \"ComponentPosY\": 86,\n \"ComponentWidth\": 69.950012207031,\n \"SignAlgorithm\": \"SHA1withRSA\",\n \"SignPlatform\": \"腾讯电子签\",\n \"SignTime\": 1663238861000,\n \"SignerName\": \"深圳xxxxx限公司\",\n \"VerifyResult\": 1\n }\n ],\n \"RequestId\": \"57151f15-2xxxxxx46418d4b72a\",\n \"VerifySerialNo\": \"16698630779\",\n \"VerifyResult\": 1\n }\n}",
358
410
  "title": "示例1"
@@ -279,6 +279,58 @@ def doSendFlowUrl(args, parsed_globals):
279
279
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
280
280
 
281
281
 
282
+ def doChannelDeleteRoleUsers(args, parsed_globals):
283
+ g_param = parse_global_arg(parsed_globals)
284
+
285
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
286
+ cred = credential.CVMRoleCredential()
287
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
288
+ cred = credential.STSAssumeRoleCredential(
289
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
290
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
291
+ )
292
+ 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):
293
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
294
+ else:
295
+ cred = credential.Credential(
296
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
297
+ )
298
+ http_profile = HttpProfile(
299
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
300
+ reqMethod="POST",
301
+ endpoint=g_param[OptionsDefine.Endpoint],
302
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
303
+ )
304
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
305
+ if g_param[OptionsDefine.Language]:
306
+ profile.language = g_param[OptionsDefine.Language]
307
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
308
+ client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
309
+ client._sdkVersion += ("_CLI_" + __version__)
310
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
311
+ model = models.ChannelDeleteRoleUsersRequest()
312
+ model.from_json_string(json.dumps(args))
313
+ start_time = time.time()
314
+ while True:
315
+ rsp = client.ChannelDeleteRoleUsers(model)
316
+ result = rsp.to_json_string()
317
+ try:
318
+ json_obj = json.loads(result)
319
+ except TypeError as e:
320
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
321
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
322
+ break
323
+ cur_time = time.time()
324
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
325
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
326
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
327
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
328
+ else:
329
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
330
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
331
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
332
+
333
+
282
334
  def doCreateSignUrls(args, parsed_globals):
283
335
  g_param = parse_global_arg(parsed_globals)
284
336
 
@@ -1735,6 +1787,58 @@ def doPrepareFlows(args, parsed_globals):
1735
1787
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1736
1788
 
1737
1789
 
1790
+ def doChannelDescribeRoles(args, parsed_globals):
1791
+ g_param = parse_global_arg(parsed_globals)
1792
+
1793
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1794
+ cred = credential.CVMRoleCredential()
1795
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1796
+ cred = credential.STSAssumeRoleCredential(
1797
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1798
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
1799
+ )
1800
+ 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):
1801
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1802
+ else:
1803
+ cred = credential.Credential(
1804
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1805
+ )
1806
+ http_profile = HttpProfile(
1807
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1808
+ reqMethod="POST",
1809
+ endpoint=g_param[OptionsDefine.Endpoint],
1810
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1811
+ )
1812
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1813
+ if g_param[OptionsDefine.Language]:
1814
+ profile.language = g_param[OptionsDefine.Language]
1815
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1816
+ client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
1817
+ client._sdkVersion += ("_CLI_" + __version__)
1818
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1819
+ model = models.ChannelDescribeRolesRequest()
1820
+ model.from_json_string(json.dumps(args))
1821
+ start_time = time.time()
1822
+ while True:
1823
+ rsp = client.ChannelDescribeRoles(model)
1824
+ result = rsp.to_json_string()
1825
+ try:
1826
+ json_obj = json.loads(result)
1827
+ except TypeError as e:
1828
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1829
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1830
+ break
1831
+ cur_time = time.time()
1832
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1833
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1834
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1835
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1836
+ else:
1837
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1838
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1839
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1840
+
1841
+
1738
1842
  def doDescribeResourceUrlsByFlows(args, parsed_globals):
1739
1843
  g_param = parse_global_arg(parsed_globals)
1740
1844
 
@@ -4283,6 +4387,58 @@ def doDestroyFlowFile(args, parsed_globals):
4283
4387
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4284
4388
 
4285
4389
 
4390
+ def doChannelCreateUserRoles(args, parsed_globals):
4391
+ g_param = parse_global_arg(parsed_globals)
4392
+
4393
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4394
+ cred = credential.CVMRoleCredential()
4395
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4396
+ cred = credential.STSAssumeRoleCredential(
4397
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4398
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
4399
+ )
4400
+ 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):
4401
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4402
+ else:
4403
+ cred = credential.Credential(
4404
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4405
+ )
4406
+ http_profile = HttpProfile(
4407
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4408
+ reqMethod="POST",
4409
+ endpoint=g_param[OptionsDefine.Endpoint],
4410
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4411
+ )
4412
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4413
+ if g_param[OptionsDefine.Language]:
4414
+ profile.language = g_param[OptionsDefine.Language]
4415
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4416
+ client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
4417
+ client._sdkVersion += ("_CLI_" + __version__)
4418
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4419
+ model = models.ChannelCreateUserRolesRequest()
4420
+ model.from_json_string(json.dumps(args))
4421
+ start_time = time.time()
4422
+ while True:
4423
+ rsp = client.ChannelCreateUserRoles(model)
4424
+ result = rsp.to_json_string()
4425
+ try:
4426
+ json_obj = json.loads(result)
4427
+ except TypeError as e:
4428
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4429
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4430
+ break
4431
+ cur_time = time.time()
4432
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4433
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4434
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4435
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4436
+ else:
4437
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4438
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4439
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4440
+
4441
+
4286
4442
  def doRejectFlow(args, parsed_globals):
4287
4443
  g_param = parse_global_arg(parsed_globals)
4288
4444
 
@@ -4821,6 +4977,7 @@ ACTION_MAP = {
4821
4977
  "DescribeExtendedServiceAuthInfo": doDescribeExtendedServiceAuthInfo,
4822
4978
  "DescribeUsage": doDescribeUsage,
4823
4979
  "SendFlowUrl": doSendFlowUrl,
4980
+ "ChannelDeleteRoleUsers": doChannelDeleteRoleUsers,
4824
4981
  "CreateSignUrls": doCreateSignUrls,
4825
4982
  "ChannelCreateBoundFlows": doChannelCreateBoundFlows,
4826
4983
  "DescribeFileIdsByCustomIds": doDescribeFileIdsByCustomIds,
@@ -4849,6 +5006,7 @@ ACTION_MAP = {
4849
5006
  "ChannelDescribeOrganizationSeals": doChannelDescribeOrganizationSeals,
4850
5007
  "ChannelCreateFlowGroupByFiles": doChannelCreateFlowGroupByFiles,
4851
5008
  "PrepareFlows": doPrepareFlows,
5009
+ "ChannelDescribeRoles": doChannelDescribeRoles,
4852
5010
  "DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows,
4853
5011
  "SendFlow": doSendFlow,
4854
5012
  "DescribeFaceIdPhotos": doDescribeFaceIdPhotos,
@@ -4898,6 +5056,7 @@ ACTION_MAP = {
4898
5056
  "ChannelDescribeEmployees": doChannelDescribeEmployees,
4899
5057
  "CreateUserAndSeal": doCreateUserAndSeal,
4900
5058
  "DestroyFlowFile": doDestroyFlowFile,
5059
+ "ChannelCreateUserRoles": doChannelCreateUserRoles,
4901
5060
  "RejectFlow": doRejectFlow,
4902
5061
  "ModifyUser": doModifyUser,
4903
5062
  "CheckBankCardVerification": doCheckBankCardVerification,