tccli 3.0.1237.1__py2.py3-none-any.whl → 3.0.1239.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +10 -7
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +32 -30
- tccli/services/cam/v20190116/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +31 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +944 -856
- tccli/services/cdb/v20170320/examples.json +47 -47
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +32 -12
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +8 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +113 -95
- tccli/services/chdfs/v20201112/examples.json +16 -16
- tccli/services/clb/v20180317/api.json +186 -164
- tccli/services/cloudapp/v20220530/api.json +1 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +21 -17
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +370 -365
- tccli/services/cynosdb/v20190107/examples.json +39 -39
- tccli/services/dbbrain/v20191016/api.json +206 -188
- tccli/services/dbbrain/v20191016/examples.json +10 -10
- tccli/services/dbbrain/v20210527/api.json +274 -267
- tccli/services/dbbrain/v20210527/examples.json +25 -25
- tccli/services/dc/v20180410/api.json +101 -41
- tccli/services/dc/v20180410/examples.json +5 -5
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +37 -37
- tccli/services/domain/v20180808/examples.json +16 -10
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +152 -115
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +83 -72
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/eb/v20210416/api.json +2 -2
- tccli/services/eb/v20210416/examples.json +2 -2
- tccli/services/ecm/v20190719/api.json +273 -230
- tccli/services/ecm/v20190719/examples.json +21 -21
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +61 -8
- tccli/services/ess/v20201111/api.json +287 -39
- tccli/services/ess/v20201111/examples.json +11 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +545 -54
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +14 -3
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +222 -231
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +21 -2
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +22 -22
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/v20180801/api.json +87 -69
- tccli/services/live/v20180801/examples.json +37 -37
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +104 -104
- tccli/services/mongodb/v20190725/api.json +116 -103
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +16 -0
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +13 -3
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +179 -17
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +611 -450
- tccli/services/sqlserver/v20180328/examples.json +16 -16
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tbaas/v20180416/api.json +47 -49
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdmq/tdmq_client.py +106 -0
- tccli/services/tdmq/v20200217/api.json +125 -1
- tccli/services/tdmq/v20200217/examples.json +17 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +224 -12
- tccli/services/trocket/v20230308/api.json +787 -147
- tccli/services/trocket/v20230308/examples.json +38 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +864 -781
- tccli/services/tsf/v20180326/examples.json +114 -126
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +21 -3
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +45 -44
- tccli/services/vpc/v20170312/examples.json +9 -9
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/RECORD +146 -142
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/license_files/LICENSE +0 -0
@@ -850,6 +850,14 @@
|
|
850
850
|
"title": "创建有数量或时间限制的合同流程签署二维码"
|
851
851
|
}
|
852
852
|
],
|
853
|
+
"CreateOrganizationAuthFile": [
|
854
|
+
{
|
855
|
+
"document": "",
|
856
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthFile\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRt2UUgygqxyp9yUuO4zjEwqXwsIljA\"\n },\n \"OrganizationCommonInfo\": {\n \"OrganizationName\": \"典子签测试企业\",\n \"UniformSocialCreditCode\": \"N26XXXXXX523\",\n \"LegalName\": \"鹅鹅子\",\n \"LegalIdCardType\": \"\",\n \"LegalIdCardNumber\": \"110XXXXXX20\",\n \"AdminName\": \"鹅鹅子\",\n \"AdminMobile\": \"130XXXXX222\",\n \"AdminIdCardType\": \"\",\n \"AdminIdCardNumber\": \"110XXXXXX2020\"\n },\n \"Type\": 0\n}",
|
857
|
+
"output": "{\n \"Response\": {\n \"FileUrl\": \"https://file.test.ess.tencent.cn/bresource/resource/resource/0/0.PDF?hkey=22c08eb99607114e98ae7397a78f7cdc393a2dd9863f9f7d2f68890fb3219769a075e4f8e9631cf756ec0f7f27af6532925007e4dbf226d9b61afa605493013d9c23f7ff0a1bf7f41658ee74b8c3f261d1bfdd3b9f184b780392a2323522175a6d80f469afe196e131bdd882200c95653994d7749a03b13ced4ba14af190898fb6463b19a80c78f22fe1ace31270ab77635505b55849fd7c89ee2b539faebe86\",\n \"RequestId\": \"s1734597439220564890\"\n }\n}",
|
858
|
+
"title": "生成企业认证超管授权书"
|
859
|
+
}
|
860
|
+
],
|
853
861
|
"CreateOrganizationAuthUrl": [
|
854
862
|
{
|
855
863
|
"document": "我们传递企业名称和企业的统一信用代码。同时,为了确保信息的准确性和合规性,我们要求在进行企业认证时,企业名称和统一信用代码必须与我们传递的信息完全一致。",
|
@@ -975,8 +983,8 @@
|
|
975
983
|
"CreatePreparedPersonalEsign": [
|
976
984
|
{
|
977
985
|
"document": "通过准备好的印章图片创建个人印章",
|
978
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePreparedPersonalEsign\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"
|
979
|
-
"output": "{\n \"Response\": {\n \"SealId\": \"sealid-1\",\n \"RequestId\": \"abc\"\n }\n}",
|
986
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePreparedPersonalEsign\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDCYCUUckp7k0tlrUxLgPeIB2r7yVxrA\"\n },\n \"UserName\": \"印章归属个人姓名\",\n \"IdCardType\": \"\",\n \"IdCardNumber\": \"身份证件号码\",\n \"FileId\": \"yDxdfffxxxxxxxx\",\n \"SealName\": \"我的印章名称\",\n \"Mobile\": \"135*111\",\n \"EnableAutoSign\": true\n}",
|
987
|
+
"output": "{\n \"Response\": {\n \"SealId\": \"sealid-1\",\n \"RequestId\": \"abc-3456-333-5555\"\n }\n}",
|
980
988
|
"title": "通过准备好的印章图片创建个人印章"
|
981
989
|
}
|
982
990
|
],
|
@@ -1444,7 +1452,7 @@
|
|
1444
1452
|
{
|
1445
1453
|
"document": "1.指定Filters中的Key通过template-id过滤\n2.指定Filter中的Value为yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\n3.指定Limit为最多返回20条数据",
|
1446
1454
|
"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 \"Offset\": 0,\n \"Limit\": 20,\n \"ApplicationId\": \"\",\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\"\n ]\n }\n ]\n}",
|
1447
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s16951208061xxxx3957\",\n \"Templates\": [\n {\n \"AttachmentResourceIds\": [],\n \"Available\": 2,\n \"Components\": [],\n \"CreatedOn\": 1693967458,\n \"Creator\": \"测试人\",\n \"CreatorId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\",\n \"Description\": \"\",\n \"DocumentResourceIds\": [\n \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\"\n ],\n \"FileInfos\": [\n {\n \"CreatedOn\": 1693967456,\n \"FileId\": \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\",\n \"FileName\": \"test.pdf\",\n \"FileSize\": 65259\n }\n ],\n \"OrganizationId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\",\n \"PreviewUrl\": \"\",\n \"Promoter\": {\n \"ApproverSignTypes\": [],\n \"ApproverVerifyTypes\": [],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"\",\n \"RecipientId\": \"yDwJBUUckpk5469kUu9cFsf1x6ZYgfu5\",\n \"RecipientType\": \"PROMOTER\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"发起人\",\n \"RoutingOrder\": 0,\n \"UserId\": \"\"\n },\n \"Published\": true,\n \"Recipients\": [\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{\\\"RecipientEnterpriseType\\\":1,\\\"SameWithPromoter\\\":true}\",\n \"RecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"RecipientType\": \"ENTERPRISE\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"张三示例企业\",\n \"RoutingOrder\": 1,\n \"UserId\": \"\"\n },\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{}\",\n \"RecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"RecipientType\": \"INDIVIDUAL\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"乙方\",\n \"RoutingOrder\": 2,\n \"UserId\": \"\"\n }\n ],\n \"Seals\": [],\n \"ShareTemplateId\": \"\",\n \"SignComponents\": [\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 43,\n \"ComponentId\": \"ComponentId_4\",\n \"ComponentName\": \"个人签名/印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_5\",\n \"ComponentName\": \"签署日期\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 70,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false,\\\"PageRanges\\\":[]}\",\n \"ComponentHeight\": 119,\n \"ComponentId\": \"ComponentId_7\",\n \"ComponentName\": \"企业印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_8\",\n \"ComponentName\": \"签署日期1\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 146,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n }\n ],\n \"SignOrder\": [\n -1\n ],\n \"Status\": 1,\n \"TemplateId\": \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\",\n \"TemplateName\": \"e2eTest-启停用模板_88433\",\n \"TemplateSeals\": [],\n \"TemplateType\": 3,\n \"TemplateVersion\": \"20230906002\",\n \"UserFlowType\": {\n \"Description\": \"\",\n \"Name\": \"未分类\",\n \"UserFlowTypeId\": \"\"\n }\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
1455
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"s16951208061xxxx3957\",\n \"Templates\": [\n {\n \"AttachmentResourceIds\": [],\n \"Available\": 2,\n \"Components\": [],\n \"CreatedOn\": 1693967458,\n \"Creator\": \"测试人\",\n \"CreatorId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\",\n \"Description\": \"\",\n \"DocumentResourceIds\": [\n \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\"\n ],\n \"FileInfos\": [\n {\n \"CreatedOn\": 1693967456,\n \"FileId\": \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\",\n \"FileName\": \"test.pdf\",\n \"FileSize\": 65259\n }\n ],\n \"OrganizationId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\",\n \"PreviewUrl\": \"\",\n \"Promoter\": {\n \"ApproverSignTypes\": [],\n \"ApproverVerifyTypes\": [],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"\",\n \"RecipientId\": \"yDwJBUUckpk5469kUu9cFsf1x6ZYgfu5\",\n \"RecipientType\": \"PROMOTER\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"发起人\",\n \"RoutingOrder\": 0,\n \"UserId\": \"\"\n },\n \"Published\": true,\n \"Recipients\": [\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{\\\"RecipientEnterpriseType\\\":1,\\\"SameWithPromoter\\\":true}\",\n \"RecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"RecipientType\": \"ENTERPRISE\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"张三示例企业\",\n \"RoutingOrder\": 1,\n \"UserId\": \"\"\n },\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{{\\\"RecipientEnterpriseType\\\":1,\\\"SameWithPromoter\\\":true}}\",\n \"RecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"RecipientType\": \"INDIVIDUAL\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"乙方\",\n \"RoutingOrder\": 2,\n \"UserId\": \"\"\n }\n ],\n \"Seals\": [],\n \"ShareTemplateId\": \"\",\n \"SignComponents\": [\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 43,\n \"ComponentId\": \"ComponentId_4\",\n \"ComponentName\": \"个人签名/印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_5\",\n \"ComponentName\": \"签署日期\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 70,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false,\\\"PageRanges\\\":[]}\",\n \"ComponentHeight\": 119,\n \"ComponentId\": \"ComponentId_7\",\n \"ComponentName\": \"企业印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_8\",\n \"ComponentName\": \"签署日期1\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 146,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n }\n ],\n \"SignOrder\": [\n -1\n ],\n \"Status\": 1,\n \"TemplateId\": \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\",\n \"TemplateName\": \"e2eTest-启停用模板_88433\",\n \"TemplateSeals\": [],\n \"TemplateType\": 3,\n \"TemplateVersion\": \"20230906002\",\n \"UserFlowType\": {\n \"Description\": \"\",\n \"Name\": \"未分类\",\n \"UserFlowTypeId\": \"\"\n }\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
1448
1456
|
"title": "模板查询接口-指定模板Id查询模板信息"
|
1449
1457
|
},
|
1450
1458
|
{
|
@@ -1215,6 +1215,58 @@ def doSignFlow(args, parsed_globals):
|
|
1215
1215
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1216
1216
|
|
1217
1217
|
|
1218
|
+
def doCreateChannelFlowEvidenceReport(args, parsed_globals):
|
1219
|
+
g_param = parse_global_arg(parsed_globals)
|
1220
|
+
|
1221
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1222
|
+
cred = credential.CVMRoleCredential()
|
1223
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1224
|
+
cred = credential.STSAssumeRoleCredential(
|
1225
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1226
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1227
|
+
)
|
1228
|
+
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):
|
1229
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1230
|
+
else:
|
1231
|
+
cred = credential.Credential(
|
1232
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1233
|
+
)
|
1234
|
+
http_profile = HttpProfile(
|
1235
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1236
|
+
reqMethod="POST",
|
1237
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1238
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1239
|
+
)
|
1240
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1241
|
+
if g_param[OptionsDefine.Language]:
|
1242
|
+
profile.language = g_param[OptionsDefine.Language]
|
1243
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1244
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
1245
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1246
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1247
|
+
model = models.CreateChannelFlowEvidenceReportRequest()
|
1248
|
+
model.from_json_string(json.dumps(args))
|
1249
|
+
start_time = time.time()
|
1250
|
+
while True:
|
1251
|
+
rsp = client.CreateChannelFlowEvidenceReport(model)
|
1252
|
+
result = rsp.to_json_string()
|
1253
|
+
try:
|
1254
|
+
json_obj = json.loads(result)
|
1255
|
+
except TypeError as e:
|
1256
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1257
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1258
|
+
break
|
1259
|
+
cur_time = time.time()
|
1260
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1261
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1262
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1263
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1264
|
+
else:
|
1265
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1266
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1267
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1268
|
+
|
1269
|
+
|
1218
1270
|
def doCheckIdCardVerification(args, parsed_globals):
|
1219
1271
|
g_param = parse_global_arg(parsed_globals)
|
1220
1272
|
|
@@ -2151,7 +2203,7 @@ def doChannelCreateOrganizationModifyQrCode(args, parsed_globals):
|
|
2151
2203
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2152
2204
|
|
2153
2205
|
|
2154
|
-
def
|
2206
|
+
def doChannelCreateDynamicFlowApprover(args, parsed_globals):
|
2155
2207
|
g_param = parse_global_arg(parsed_globals)
|
2156
2208
|
|
2157
2209
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2180,11 +2232,11 @@ def doCreateChannelFlowEvidenceReport(args, parsed_globals):
|
|
2180
2232
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2181
2233
|
client._sdkVersion += ("_CLI_" + __version__)
|
2182
2234
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2183
|
-
model = models.
|
2235
|
+
model = models.ChannelCreateDynamicFlowApproverRequest()
|
2184
2236
|
model.from_json_string(json.dumps(args))
|
2185
2237
|
start_time = time.time()
|
2186
2238
|
while True:
|
2187
|
-
rsp = client.
|
2239
|
+
rsp = client.ChannelCreateDynamicFlowApprover(model)
|
2188
2240
|
result = rsp.to_json_string()
|
2189
2241
|
try:
|
2190
2242
|
json_obj = json.loads(result)
|
@@ -2775,6 +2827,58 @@ def doDescribeResourceUrlsByFlows(args, parsed_globals):
|
|
2775
2827
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2776
2828
|
|
2777
2829
|
|
2830
|
+
def doDestroyFlowFile(args, parsed_globals):
|
2831
|
+
g_param = parse_global_arg(parsed_globals)
|
2832
|
+
|
2833
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2834
|
+
cred = credential.CVMRoleCredential()
|
2835
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2836
|
+
cred = credential.STSAssumeRoleCredential(
|
2837
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2838
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2839
|
+
)
|
2840
|
+
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):
|
2841
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2842
|
+
else:
|
2843
|
+
cred = credential.Credential(
|
2844
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2845
|
+
)
|
2846
|
+
http_profile = HttpProfile(
|
2847
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2848
|
+
reqMethod="POST",
|
2849
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2850
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2851
|
+
)
|
2852
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2853
|
+
if g_param[OptionsDefine.Language]:
|
2854
|
+
profile.language = g_param[OptionsDefine.Language]
|
2855
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2856
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2857
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2858
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2859
|
+
model = models.DestroyFlowFileRequest()
|
2860
|
+
model.from_json_string(json.dumps(args))
|
2861
|
+
start_time = time.time()
|
2862
|
+
while True:
|
2863
|
+
rsp = client.DestroyFlowFile(model)
|
2864
|
+
result = rsp.to_json_string()
|
2865
|
+
try:
|
2866
|
+
json_obj = json.loads(result)
|
2867
|
+
except TypeError as e:
|
2868
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2869
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2870
|
+
break
|
2871
|
+
cur_time = time.time()
|
2872
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2873
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2874
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2875
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2876
|
+
else:
|
2877
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2878
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2879
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2880
|
+
|
2881
|
+
|
2778
2882
|
def doDescribeChannelOrganizations(args, parsed_globals):
|
2779
2883
|
g_param = parse_global_arg(parsed_globals)
|
2780
2884
|
|
@@ -6207,7 +6311,7 @@ def doCreateUserAndSeal(args, parsed_globals):
|
|
6207
6311
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6208
6312
|
|
6209
6313
|
|
6210
|
-
def
|
6314
|
+
def doArchiveDynamicFlow(args, parsed_globals):
|
6211
6315
|
g_param = parse_global_arg(parsed_globals)
|
6212
6316
|
|
6213
6317
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6236,11 +6340,11 @@ def doDestroyFlowFile(args, parsed_globals):
|
|
6236
6340
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
6237
6341
|
client._sdkVersion += ("_CLI_" + __version__)
|
6238
6342
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6239
|
-
model = models.
|
6343
|
+
model = models.ArchiveDynamicFlowRequest()
|
6240
6344
|
model.from_json_string(json.dumps(args))
|
6241
6345
|
start_time = time.time()
|
6242
6346
|
while True:
|
6243
|
-
rsp = client.
|
6347
|
+
rsp = client.ArchiveDynamicFlow(model)
|
6244
6348
|
result = rsp.to_json_string()
|
6245
6349
|
try:
|
6246
6350
|
json_obj = json.loads(result)
|
@@ -6311,6 +6415,58 @@ def doDescribeFlow(args, parsed_globals):
|
|
6311
6415
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6312
6416
|
|
6313
6417
|
|
6418
|
+
def doCreateOrganizationAuthFile(args, parsed_globals):
|
6419
|
+
g_param = parse_global_arg(parsed_globals)
|
6420
|
+
|
6421
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6422
|
+
cred = credential.CVMRoleCredential()
|
6423
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6424
|
+
cred = credential.STSAssumeRoleCredential(
|
6425
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6426
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6427
|
+
)
|
6428
|
+
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):
|
6429
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6430
|
+
else:
|
6431
|
+
cred = credential.Credential(
|
6432
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6433
|
+
)
|
6434
|
+
http_profile = HttpProfile(
|
6435
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6436
|
+
reqMethod="POST",
|
6437
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6438
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6439
|
+
)
|
6440
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6441
|
+
if g_param[OptionsDefine.Language]:
|
6442
|
+
profile.language = g_param[OptionsDefine.Language]
|
6443
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6444
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
6445
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6446
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6447
|
+
model = models.CreateOrganizationAuthFileRequest()
|
6448
|
+
model.from_json_string(json.dumps(args))
|
6449
|
+
start_time = time.time()
|
6450
|
+
while True:
|
6451
|
+
rsp = client.CreateOrganizationAuthFile(model)
|
6452
|
+
result = rsp.to_json_string()
|
6453
|
+
try:
|
6454
|
+
json_obj = json.loads(result)
|
6455
|
+
except TypeError as e:
|
6456
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6457
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6458
|
+
break
|
6459
|
+
cur_time = time.time()
|
6460
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6461
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6462
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6463
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6464
|
+
else:
|
6465
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6466
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6467
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6468
|
+
|
6469
|
+
|
6314
6470
|
def doChannelCreateUserRoles(args, parsed_globals):
|
6315
6471
|
g_param = parse_global_arg(parsed_globals)
|
6316
6472
|
|
@@ -7023,6 +7179,7 @@ ACTION_MAP = {
|
|
7023
7179
|
"ChannelCreateFlowApprovers": doChannelCreateFlowApprovers,
|
7024
7180
|
"CreatePersonAuthCertificateImage": doCreatePersonAuthCertificateImage,
|
7025
7181
|
"SignFlow": doSignFlow,
|
7182
|
+
"CreateChannelFlowEvidenceReport": doCreateChannelFlowEvidenceReport,
|
7026
7183
|
"CheckIdCardVerification": doCheckIdCardVerification,
|
7027
7184
|
"ChannelCreatePreparedPersonalEsign": doChannelCreatePreparedPersonalEsign,
|
7028
7185
|
"DescribeCatalogApprovers": doDescribeCatalogApprovers,
|
@@ -7041,7 +7198,7 @@ ACTION_MAP = {
|
|
7041
7198
|
"ChannelCreateRole": doChannelCreateRole,
|
7042
7199
|
"DescribeChannelSealPolicyWorkflowUrl": doDescribeChannelSealPolicyWorkflowUrl,
|
7043
7200
|
"ChannelCreateOrganizationModifyQrCode": doChannelCreateOrganizationModifyQrCode,
|
7044
|
-
"
|
7201
|
+
"ChannelCreateDynamicFlowApprover": doChannelCreateDynamicFlowApprover,
|
7045
7202
|
"CreateLegalSealQrCode": doCreateLegalSealQrCode,
|
7046
7203
|
"ChannelVerifyPdf": doChannelVerifyPdf,
|
7047
7204
|
"GetDownloadFlowUrl": doGetDownloadFlowUrl,
|
@@ -7053,6 +7210,7 @@ ACTION_MAP = {
|
|
7053
7210
|
"ModifySeal": doModifySeal,
|
7054
7211
|
"ChannelDescribeRoles": doChannelDescribeRoles,
|
7055
7212
|
"DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows,
|
7213
|
+
"DestroyFlowFile": doDestroyFlowFile,
|
7056
7214
|
"DescribeChannelOrganizations": doDescribeChannelOrganizations,
|
7057
7215
|
"CreateBatchInitOrganizationUrl": doCreateBatchInitOrganizationUrl,
|
7058
7216
|
"ChannelDescribeAccountBillDetail": doChannelDescribeAccountBillDetail,
|
@@ -7119,8 +7277,9 @@ ACTION_MAP = {
|
|
7119
7277
|
"ChannelCreateReleaseFlow": doChannelCreateReleaseFlow,
|
7120
7278
|
"ChannelDescribeEmployees": doChannelDescribeEmployees,
|
7121
7279
|
"CreateUserAndSeal": doCreateUserAndSeal,
|
7122
|
-
"
|
7280
|
+
"ArchiveDynamicFlow": doArchiveDynamicFlow,
|
7123
7281
|
"DescribeFlow": doDescribeFlow,
|
7282
|
+
"CreateOrganizationAuthFile": doCreateOrganizationAuthFile,
|
7124
7283
|
"ChannelCreateUserRoles": doChannelCreateUserRoles,
|
7125
7284
|
"RejectFlow": doRejectFlow,
|
7126
7285
|
"ModifyUser": doModifyUser,
|