tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +48 -24
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +21 -3
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +389 -379
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +130 -58
- tccli/services/dlc/v20210125/examples.json +5 -5
- tccli/services/domain/v20180808/api.json +160 -160
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +19 -19
- tccli/services/dts/v20211206/api.json +829 -818
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +13 -3
- tccli/services/es/v20180416/examples.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +10 -10
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +1220 -5
- tccli/services/wedata/v20210820/examples.json +32 -8
- tccli/services/wedata/wedata_client.py +159 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -602,6 +602,13 @@
|
|
602
602
|
"output": "DescribeUserAutoSignStatusResponse",
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
|
+
"DescribeUserFlowType": {
|
606
|
+
"document": "查询用户模版类型,分为两种模式:\n<ul>\n<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>\n<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>\n</ul>",
|
607
|
+
"input": "DescribeUserFlowTypeRequest",
|
608
|
+
"name": "查询用户模版类型",
|
609
|
+
"output": "DescribeUserFlowTypeResponse",
|
610
|
+
"status": "online"
|
611
|
+
},
|
605
612
|
"DescribeUserVerifyStatus": {
|
606
613
|
"document": "检测个人用户是否已经实名。\n\n在调用生成C端用户实名链接([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))接口之前,客户企业应首先调用本接口判断C端用户是否已经完成实名认证。如果用户已经实名,那么无需再次调用([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))生成链接并走实名认证流程。\n\n注意: \n\n- 此接口<font color=\"red\">仅用于确认通过本公司生成[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口注册认证的用户,不包括其他途径(如主动注册认证、在签署合同中注册认证等)在电子签平台上进行的实名认证</font>。\n\n- 调用此接口需要购买单独的实名套餐包。<font color=\"red\">使用前请联系对接的客户经理沟通</font>。",
|
607
614
|
"input": "DescribeUserVerifyStatusRequest",
|
@@ -9340,7 +9347,7 @@
|
|
9340
9347
|
},
|
9341
9348
|
{
|
9342
9349
|
"disabled": false,
|
9343
|
-
"document": "搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。\n<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href=\"https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png\" target=\"_blank\">模板名称</a>列表。</li></ul>",
|
9350
|
+
"document": "搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。\n<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href=\"https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png\" target=\"_blank\">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>",
|
9344
9351
|
"example": "Filters",
|
9345
9352
|
"member": "Filter",
|
9346
9353
|
"name": "Filters",
|
@@ -10422,6 +10429,70 @@
|
|
10422
10429
|
],
|
10423
10430
|
"type": "object"
|
10424
10431
|
},
|
10432
|
+
"DescribeUserFlowTypeRequest": {
|
10433
|
+
"document": "DescribeUserFlowType请求参数结构体",
|
10434
|
+
"members": [
|
10435
|
+
{
|
10436
|
+
"disabled": false,
|
10437
|
+
"document": "执行本接口操作的员工信息。\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
10438
|
+
"example": "无",
|
10439
|
+
"member": "UserInfo",
|
10440
|
+
"name": "Operator",
|
10441
|
+
"required": true,
|
10442
|
+
"type": "object"
|
10443
|
+
},
|
10444
|
+
{
|
10445
|
+
"disabled": false,
|
10446
|
+
"document": "代理企业和员工的信息。\n在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
10447
|
+
"example": "无",
|
10448
|
+
"member": "Agent",
|
10449
|
+
"name": "Agent",
|
10450
|
+
"required": false,
|
10451
|
+
"type": "object"
|
10452
|
+
},
|
10453
|
+
{
|
10454
|
+
"disabled": false,
|
10455
|
+
"document": "搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。\n<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href=\"https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png\" target=\"_blank\">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href=\"https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png\" target=\"_blank\">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>",
|
10456
|
+
"example": "Filters",
|
10457
|
+
"member": "Filter",
|
10458
|
+
"name": "Filters",
|
10459
|
+
"required": false,
|
10460
|
+
"type": "list"
|
10461
|
+
},
|
10462
|
+
{
|
10463
|
+
"disabled": false,
|
10464
|
+
"document": "查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>\t",
|
10465
|
+
"example": "false",
|
10466
|
+
"member": "bool",
|
10467
|
+
"name": "QueryBindTemplate",
|
10468
|
+
"required": false,
|
10469
|
+
"type": "bool"
|
10470
|
+
}
|
10471
|
+
],
|
10472
|
+
"type": "object"
|
10473
|
+
},
|
10474
|
+
"DescribeUserFlowTypeResponse": {
|
10475
|
+
"document": "DescribeUserFlowType返回参数结构体",
|
10476
|
+
"members": [
|
10477
|
+
{
|
10478
|
+
"disabled": false,
|
10479
|
+
"document": "查询到的所有用户合同类型列表\t",
|
10480
|
+
"example": "无",
|
10481
|
+
"member": "TemplateUserFlowType",
|
10482
|
+
"name": "AllUserFlowTypes",
|
10483
|
+
"output_required": false,
|
10484
|
+
"type": "list",
|
10485
|
+
"value_allowed_null": false
|
10486
|
+
},
|
10487
|
+
{
|
10488
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10489
|
+
"member": "string",
|
10490
|
+
"name": "RequestId",
|
10491
|
+
"type": "string"
|
10492
|
+
}
|
10493
|
+
],
|
10494
|
+
"type": "object"
|
10495
|
+
},
|
10425
10496
|
"DescribeUserVerifyStatusRequest": {
|
10426
10497
|
"document": "DescribeUserVerifyStatus请求参数结构体",
|
10427
10498
|
"members": [
|
@@ -15487,6 +15558,56 @@
|
|
15487
15558
|
],
|
15488
15559
|
"usage": "both"
|
15489
15560
|
},
|
15561
|
+
"TemplateUserFlowType": {
|
15562
|
+
"document": "模版对应的合同类型",
|
15563
|
+
"members": [
|
15564
|
+
{
|
15565
|
+
"disabled": false,
|
15566
|
+
"document": "合同类型id",
|
15567
|
+
"example": "yDtwEUUckp7f87yrUygaLZxYk2SEodS7",
|
15568
|
+
"member": "string",
|
15569
|
+
"name": "UserFlowTypeId",
|
15570
|
+
"output_required": true,
|
15571
|
+
"required": false,
|
15572
|
+
"type": "string",
|
15573
|
+
"value_allowed_null": false
|
15574
|
+
},
|
15575
|
+
{
|
15576
|
+
"disabled": false,
|
15577
|
+
"document": "合同类型名称",
|
15578
|
+
"example": "入职合同",
|
15579
|
+
"member": "string",
|
15580
|
+
"name": "Name",
|
15581
|
+
"output_required": true,
|
15582
|
+
"required": false,
|
15583
|
+
"type": "string",
|
15584
|
+
"value_allowed_null": false
|
15585
|
+
},
|
15586
|
+
{
|
15587
|
+
"disabled": false,
|
15588
|
+
"document": "合同类型的具体描述",
|
15589
|
+
"example": "入职合同分类",
|
15590
|
+
"member": "string",
|
15591
|
+
"name": "Description",
|
15592
|
+
"output_required": true,
|
15593
|
+
"required": false,
|
15594
|
+
"type": "string",
|
15595
|
+
"value_allowed_null": false
|
15596
|
+
},
|
15597
|
+
{
|
15598
|
+
"disabled": false,
|
15599
|
+
"document": "每个合同类型绑定的模版数量",
|
15600
|
+
"example": "10",
|
15601
|
+
"member": "int64",
|
15602
|
+
"name": "TemplateNum",
|
15603
|
+
"output_required": true,
|
15604
|
+
"required": false,
|
15605
|
+
"type": "int",
|
15606
|
+
"value_allowed_null": false
|
15607
|
+
}
|
15608
|
+
],
|
15609
|
+
"usage": "both"
|
15610
|
+
},
|
15490
15611
|
"UnbindEmployeeUserIdWithClientOpenIdRequest": {
|
15491
15612
|
"document": "UnbindEmployeeUserIdWithClientOpenId请求参数结构体",
|
15492
15613
|
"members": [
|
@@ -1684,6 +1684,32 @@
|
|
1684
1684
|
"title": "查看个人自动签状态"
|
1685
1685
|
}
|
1686
1686
|
],
|
1687
|
+
"DescribeUserFlowType": [
|
1688
|
+
{
|
1689
|
+
"document": "查询用户合同类型(不指定filter)",
|
1690
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n }\n}",
|
1691
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 0,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1692
|
+
"title": "查询用户合同类型(不指定filter)"
|
1693
|
+
},
|
1694
|
+
{
|
1695
|
+
"document": "查询用户合同类型(不指定查询绑定模版的合同类型)",
|
1696
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"QueryBindTemplate\": false\n}",
|
1697
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 0,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1698
|
+
"title": "查询用户合同类型(不指定查询绑定模版的合同类型)"
|
1699
|
+
},
|
1700
|
+
{
|
1701
|
+
"document": "查询用户合同类型(指定查询绑定模版的合同类型)",
|
1702
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"QueryBindTemplate\": true\n}",
|
1703
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 10,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1704
|
+
"title": "查询用户合同类型(指定查询绑定模版的合同类型)"
|
1705
|
+
},
|
1706
|
+
{
|
1707
|
+
"document": "查询用户合同类型(指定用户模版id)",
|
1708
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"Filters\": [\n {\n \"Key\": \"user-flow-type-id\",\n \"Values\": [\n \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n ]\n }\n ]\n}",
|
1709
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 0,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1710
|
+
"title": "查询用户合同类型(指定用户模版id)"
|
1711
|
+
}
|
1712
|
+
],
|
1687
1713
|
"DescribeUserVerifyStatus": [
|
1688
1714
|
{
|
1689
1715
|
"document": "通过二要素查询用户是否实名",
|
@@ -2151,6 +2151,58 @@ def doDescribeChannelSealPolicyWorkflowUrl(args, parsed_globals):
|
|
2151
2151
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2152
2152
|
|
2153
2153
|
|
2154
|
+
def doCheckVerifyCodeMatchFlowId(args, parsed_globals):
|
2155
|
+
g_param = parse_global_arg(parsed_globals)
|
2156
|
+
|
2157
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2158
|
+
cred = credential.CVMRoleCredential()
|
2159
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2160
|
+
cred = credential.STSAssumeRoleCredential(
|
2161
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2162
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2163
|
+
)
|
2164
|
+
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):
|
2165
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2166
|
+
else:
|
2167
|
+
cred = credential.Credential(
|
2168
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2169
|
+
)
|
2170
|
+
http_profile = HttpProfile(
|
2171
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2172
|
+
reqMethod="POST",
|
2173
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2174
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2175
|
+
)
|
2176
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2177
|
+
if g_param[OptionsDefine.Language]:
|
2178
|
+
profile.language = g_param[OptionsDefine.Language]
|
2179
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2180
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2181
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2182
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2183
|
+
model = models.CheckVerifyCodeMatchFlowIdRequest()
|
2184
|
+
model.from_json_string(json.dumps(args))
|
2185
|
+
start_time = time.time()
|
2186
|
+
while True:
|
2187
|
+
rsp = client.CheckVerifyCodeMatchFlowId(model)
|
2188
|
+
result = rsp.to_json_string()
|
2189
|
+
try:
|
2190
|
+
json_obj = json.loads(result)
|
2191
|
+
except TypeError as e:
|
2192
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2193
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2194
|
+
break
|
2195
|
+
cur_time = time.time()
|
2196
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2197
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2198
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2199
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2200
|
+
else:
|
2201
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2202
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2203
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2204
|
+
|
2205
|
+
|
2154
2206
|
def doChannelCreateOrganizationModifyQrCode(args, parsed_globals):
|
2155
2207
|
g_param = parse_global_arg(parsed_globals)
|
2156
2208
|
|
@@ -4959,7 +5011,7 @@ def doCreateFaceIdSign(args, parsed_globals):
|
|
4959
5011
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4960
5012
|
|
4961
5013
|
|
4962
|
-
def
|
5014
|
+
def doDescribeUserFlowType(args, parsed_globals):
|
4963
5015
|
g_param = parse_global_arg(parsed_globals)
|
4964
5016
|
|
4965
5017
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4988,11 +5040,11 @@ def doCheckVerifyCodeMatchFlowId(args, parsed_globals):
|
|
4988
5040
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
4989
5041
|
client._sdkVersion += ("_CLI_" + __version__)
|
4990
5042
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4991
|
-
model = models.
|
5043
|
+
model = models.DescribeUserFlowTypeRequest()
|
4992
5044
|
model.from_json_string(json.dumps(args))
|
4993
5045
|
start_time = time.time()
|
4994
5046
|
while True:
|
4995
|
-
rsp = client.
|
5047
|
+
rsp = client.DescribeUserFlowType(model)
|
4996
5048
|
result = rsp.to_json_string()
|
4997
5049
|
try:
|
4998
5050
|
json_obj = json.loads(result)
|
@@ -7353,6 +7405,7 @@ ACTION_MAP = {
|
|
7353
7405
|
"CreateFlowsByTemplates": doCreateFlowsByTemplates,
|
7354
7406
|
"ChannelCreateRole": doChannelCreateRole,
|
7355
7407
|
"DescribeChannelSealPolicyWorkflowUrl": doDescribeChannelSealPolicyWorkflowUrl,
|
7408
|
+
"CheckVerifyCodeMatchFlowId": doCheckVerifyCodeMatchFlowId,
|
7356
7409
|
"ChannelCreateOrganizationModifyQrCode": doChannelCreateOrganizationModifyQrCode,
|
7357
7410
|
"ChannelCreateDynamicFlowApprover": doChannelCreateDynamicFlowApprover,
|
7358
7411
|
"CreateLegalSealQrCode": doCreateLegalSealQrCode,
|
@@ -7407,7 +7460,7 @@ ACTION_MAP = {
|
|
7407
7460
|
"CreateChannelOrganizationInfoChangeUrl": doCreateChannelOrganizationInfoChangeUrl,
|
7408
7461
|
"DescribeUsers": doDescribeUsers,
|
7409
7462
|
"CreateFaceIdSign": doCreateFaceIdSign,
|
7410
|
-
"
|
7463
|
+
"DescribeUserFlowType": doDescribeUserFlowType,
|
7411
7464
|
"ChannelCreateFlowGroupByFiles": doChannelCreateFlowGroupByFiles,
|
7412
7465
|
"ModifyOrganizationDefaultSeal": doModifyOrganizationDefaultSeal,
|
7413
7466
|
"DescribeFlowDetailInfo": doDescribeFlowDetailInfo,
|
@@ -560,6 +560,13 @@
|
|
560
560
|
"output": "DescribeUsageResponse",
|
561
561
|
"status": "online"
|
562
562
|
},
|
563
|
+
"DescribeUserFlowType": {
|
564
|
+
"document": "查询用户模版类型,分为两种模式:\n<ul>\n<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>\n<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>\n</ul>",
|
565
|
+
"input": "DescribeUserFlowTypeRequest",
|
566
|
+
"name": "查询用户合同类型",
|
567
|
+
"output": "DescribeUserFlowTypeResponse",
|
568
|
+
"status": "online"
|
569
|
+
},
|
563
570
|
"GetDownloadFlowUrl": {
|
564
571
|
"document": "此接口(GetDownloadFlowUrl)用户获取合同控制台下载页面链接, 点击链接后会跳转至本企业合同管理控制台(会筛选出传入的合同列表), 点击**下载**按钮后就会下载传入的合同列表, 下载页面如下图\n\n\n注:\n<ul>\n<li>仅支持下载 <b>本企业</b> 下合同,链接会 <b>登录企业控制台</b> </li>\n<li> <b>链接仅可使用一次</b>,不可重复使用</li>\n</ul>",
|
565
572
|
"input": "GetDownloadFlowUrlRequest",
|
@@ -9140,6 +9147,15 @@
|
|
9140
9147
|
"name": "Operator",
|
9141
9148
|
"required": false,
|
9142
9149
|
"type": "object"
|
9150
|
+
},
|
9151
|
+
{
|
9152
|
+
"disabled": false,
|
9153
|
+
"document": "用户合同类型id",
|
9154
|
+
"example": "无",
|
9155
|
+
"member": "string",
|
9156
|
+
"name": "UserFlowTypeId",
|
9157
|
+
"required": false,
|
9158
|
+
"type": "string"
|
9143
9159
|
}
|
9144
9160
|
],
|
9145
9161
|
"type": "object"
|
@@ -9297,6 +9313,61 @@
|
|
9297
9313
|
],
|
9298
9314
|
"type": "object"
|
9299
9315
|
},
|
9316
|
+
"DescribeUserFlowTypeRequest": {
|
9317
|
+
"document": "DescribeUserFlowType请求参数结构体",
|
9318
|
+
"members": [
|
9319
|
+
{
|
9320
|
+
"disabled": false,
|
9321
|
+
"document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 此接口下面信息必填。 <ul> <li>渠道应用标识: Agent.AppId</li> <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li> <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li> </ul> 第三方平台子客企业和员工必须已经经过实名认证\t",
|
9322
|
+
"example": "无",
|
9323
|
+
"member": "Agent",
|
9324
|
+
"name": "Agent",
|
9325
|
+
"required": true,
|
9326
|
+
"type": "object"
|
9327
|
+
},
|
9328
|
+
{
|
9329
|
+
"disabled": false,
|
9330
|
+
"document": "搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>\t",
|
9331
|
+
"example": "无",
|
9332
|
+
"member": "Filter",
|
9333
|
+
"name": "Filters",
|
9334
|
+
"required": false,
|
9335
|
+
"type": "list"
|
9336
|
+
},
|
9337
|
+
{
|
9338
|
+
"disabled": false,
|
9339
|
+
"document": "查询绑定了模版的用户合同类型\n<ul>\n<li>false(默认值),查询用户合同类型</li>\n<li>true,查询绑定了模版的用户合同类型</li>\n</ul>",
|
9340
|
+
"example": "true",
|
9341
|
+
"member": "bool",
|
9342
|
+
"name": "QueryBindTemplate",
|
9343
|
+
"required": false,
|
9344
|
+
"type": "bool"
|
9345
|
+
}
|
9346
|
+
],
|
9347
|
+
"type": "object"
|
9348
|
+
},
|
9349
|
+
"DescribeUserFlowTypeResponse": {
|
9350
|
+
"document": "DescribeUserFlowType返回参数结构体",
|
9351
|
+
"members": [
|
9352
|
+
{
|
9353
|
+
"disabled": false,
|
9354
|
+
"document": "查询到的所有用户合同类型列表",
|
9355
|
+
"example": "无",
|
9356
|
+
"member": "TemplateUserFlowType",
|
9357
|
+
"name": "AllUserFlowTypes",
|
9358
|
+
"output_required": false,
|
9359
|
+
"type": "list",
|
9360
|
+
"value_allowed_null": false
|
9361
|
+
},
|
9362
|
+
{
|
9363
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9364
|
+
"member": "string",
|
9365
|
+
"name": "RequestId",
|
9366
|
+
"type": "string"
|
9367
|
+
}
|
9368
|
+
],
|
9369
|
+
"type": "object"
|
9370
|
+
},
|
9300
9371
|
"DetectInfoVideoData": {
|
9301
9372
|
"document": "视频认证结果",
|
9302
9373
|
"members": [
|
@@ -13638,6 +13709,62 @@
|
|
13638
13709
|
"output_required": true,
|
13639
13710
|
"type": "int",
|
13640
13711
|
"value_allowed_null": false
|
13712
|
+
},
|
13713
|
+
{
|
13714
|
+
"disabled": false,
|
13715
|
+
"document": "模版的用户合同类型",
|
13716
|
+
"example": "无",
|
13717
|
+
"member": "UserFlowType",
|
13718
|
+
"name": "UserFlowType",
|
13719
|
+
"output_required": false,
|
13720
|
+
"type": "object",
|
13721
|
+
"value_allowed_null": false
|
13722
|
+
}
|
13723
|
+
],
|
13724
|
+
"usage": "out"
|
13725
|
+
},
|
13726
|
+
"TemplateUserFlowType": {
|
13727
|
+
"document": "模版对应的合同类型",
|
13728
|
+
"members": [
|
13729
|
+
{
|
13730
|
+
"disabled": false,
|
13731
|
+
"document": "合同类型id",
|
13732
|
+
"example": "yDtwEUUckp7f87yrUygaLZxYk2SEodS7",
|
13733
|
+
"member": "string",
|
13734
|
+
"name": "UserFlowTypeId",
|
13735
|
+
"output_required": false,
|
13736
|
+
"type": "string",
|
13737
|
+
"value_allowed_null": false
|
13738
|
+
},
|
13739
|
+
{
|
13740
|
+
"disabled": false,
|
13741
|
+
"document": "用户合同类型名称",
|
13742
|
+
"example": "入职合同",
|
13743
|
+
"member": "string",
|
13744
|
+
"name": "Name",
|
13745
|
+
"output_required": false,
|
13746
|
+
"type": "string",
|
13747
|
+
"value_allowed_null": false
|
13748
|
+
},
|
13749
|
+
{
|
13750
|
+
"disabled": false,
|
13751
|
+
"document": "每个合同类型绑定的模版数量\t",
|
13752
|
+
"example": "10",
|
13753
|
+
"member": "int64",
|
13754
|
+
"name": "TemplateNum",
|
13755
|
+
"output_required": false,
|
13756
|
+
"type": "int",
|
13757
|
+
"value_allowed_null": false
|
13758
|
+
},
|
13759
|
+
{
|
13760
|
+
"disabled": false,
|
13761
|
+
"document": "合同类型的具体描述",
|
13762
|
+
"example": "入职合同分类\t",
|
13763
|
+
"member": "string",
|
13764
|
+
"name": "Description",
|
13765
|
+
"output_required": false,
|
13766
|
+
"type": "string",
|
13767
|
+
"value_allowed_null": false
|
13641
13768
|
}
|
13642
13769
|
],
|
13643
13770
|
"usage": "out"
|
@@ -13816,6 +13943,42 @@
|
|
13816
13943
|
],
|
13817
13944
|
"usage": "out"
|
13818
13945
|
},
|
13946
|
+
"UserFlowType": {
|
13947
|
+
"document": "用户合同类型信息",
|
13948
|
+
"members": [
|
13949
|
+
{
|
13950
|
+
"disabled": false,
|
13951
|
+
"document": "用户合同类型id",
|
13952
|
+
"example": "无",
|
13953
|
+
"member": "string",
|
13954
|
+
"name": "UserFlowTypeId",
|
13955
|
+
"output_required": false,
|
13956
|
+
"type": "string",
|
13957
|
+
"value_allowed_null": false
|
13958
|
+
},
|
13959
|
+
{
|
13960
|
+
"disabled": false,
|
13961
|
+
"document": "用户合同类型名称",
|
13962
|
+
"example": "无",
|
13963
|
+
"member": "string",
|
13964
|
+
"name": "Name",
|
13965
|
+
"output_required": false,
|
13966
|
+
"type": "string",
|
13967
|
+
"value_allowed_null": false
|
13968
|
+
},
|
13969
|
+
{
|
13970
|
+
"disabled": false,
|
13971
|
+
"document": "用户合同类型的描述信息",
|
13972
|
+
"example": "无",
|
13973
|
+
"member": "string",
|
13974
|
+
"name": "Description",
|
13975
|
+
"output_required": false,
|
13976
|
+
"type": "string",
|
13977
|
+
"value_allowed_null": false
|
13978
|
+
}
|
13979
|
+
],
|
13980
|
+
"usage": "out"
|
13981
|
+
},
|
13819
13982
|
"UserInfo": {
|
13820
13983
|
"document": "接口调用的员工信息",
|
13821
13984
|
"members": [
|
@@ -1240,6 +1240,32 @@
|
|
1240
1240
|
"title": "查询汇总消耗"
|
1241
1241
|
}
|
1242
1242
|
],
|
1243
|
+
"DescribeUserFlowType": [
|
1244
|
+
{
|
1245
|
+
"document": "查询用户合同类型(不指定filter)",
|
1246
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserFlowType\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n }\n}",
|
1247
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 0,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1248
|
+
"title": "查询用户合同类型(不指定filter)"
|
1249
|
+
},
|
1250
|
+
{
|
1251
|
+
"document": "查询用户合同类型(不指定查询绑定模版的合同类型)",
|
1252
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserFlowType\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"QueryBindTemplate\": false\n}",
|
1253
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 0,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1254
|
+
"title": "查询用户合同类型(不指定查询绑定模版的合同类型)"
|
1255
|
+
},
|
1256
|
+
{
|
1257
|
+
"document": "查询用户合同类型(指定查询绑定模版的合同类型)",
|
1258
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserFlowType\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"QueryBindTemplate\": true\n}",
|
1259
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 10,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1260
|
+
"title": "查询用户合同类型(指定查询绑定模版的合同类型)"
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"document": "查询用户合同类型(指定用户模版id)",
|
1264
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserFlowType\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n },\n \"ProxyAppId\": \"\"\n },\n \"Filters\": [\n {\n \"Key\": \"user-flow-type-id\",\n \"Values\": [\n \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n ]\n }\n ],\n \"QueryBindTemplate\": true\n}",
|
1265
|
+
"output": "{\n \"Response\": {\n \"AllUserFlowTypes\": [\n {\n \"Description\": \"\",\n \"Name\": \"单方合同\",\n \"TemplateNum\": 10,\n \"UserFlowTypeId\": \"yDwXXUUckp19hvn8URxp4X6wVwCLodxJ\"\n }\n ],\n \"RequestId\": \"s1741681654595707818\"\n }\n}",
|
1266
|
+
"title": "查询用户合同类型(指定用户模版id)"
|
1267
|
+
}
|
1268
|
+
],
|
1243
1269
|
"GetDownloadFlowUrl": [
|
1244
1270
|
{
|
1245
1271
|
"document": "生成批量下载控制台连接地址",
|