tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -198,6 +198,12 @@
|
|
198
198
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"1.2.3.4\",\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"FlowApproverInfo\": {\n \"ApproverType\": 1,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverIdCardNumber\": \"620000198802020000\",\n \"ApproverIdCardType\": \"ID_CARD\"\n },\n \"FlowGroupId\": \"yDSLcUUck****ysv1OQYIe9H\",\n \"ApproverSignTypes\": [\n 1\n ],\n \"Intention\": {\n \"IntentionType\": 1,\n \"IntentionQuestions\": [\n {\n \"Question\": \"请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。\",\n \"Answers\": [\n \"同意\",\n \"我同意\"\n ]\n }\n ]\n }\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverType\": 1,\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwi0U**xoK&CodeType=QUICK&shortKey=yDw**S2ATh95&token=Y9b**O\",\n \"SignUrl\": \"https://essurl.cn/Y9b**O\"\n },\n \"RequestId\": \"s169**68\"\n }\n}",
|
200
200
|
"title": "为个人用户,创建合同组批量签署链接,并且指定视频问答模式的认证方式"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"document": "1. 为企业员工生成合同组H5批量签署链接\n2. 使用默认的签署方式\n",
|
204
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"1.2.3.4\",\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"FlowApproverInfo\": {\n \"ApproverType\": 1,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典员工\",\n \"ApproverIdCardNumber\": \"620000198802020000\",\n \"ApproverIdCardType\": \"ID_CARD\",\n \"OrganizationName\": \"xxxx公司\"\n },\n \"FlowIds\": [\n \"yDSLcUUck****ysv1OQYIe9H\",\n \"ysv1OQYIe9H****yDSLcUUck\"\n ]\n}",
|
205
|
+
"output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典员工\",\n \"ApproverType\": 0,\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwi0U**xoK&CodeType=QUICK&shortKey=yDw**S2ATh95&token=Y9b**O\",\n \"SignUrl\": \"https://essurl.cn/Y9b**O\"\n },\n \"RequestId\": \"s169**68\"\n }\n}",
|
206
|
+
"title": "为企业用户,创建合同批量签署链接"
|
201
207
|
}
|
202
208
|
],
|
203
209
|
"CreateBatchSignUrl": [
|
@@ -544,6 +550,12 @@
|
|
544
550
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxbTUyKQWPt5NUuO4zjEuyFAyOX3v9C\"\n },\n \"FlowName\": \"文件发起-签批\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"SignComponents\": [\n {\n \"ComponentId\": \"ComponentId_1\",\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n },\n {\n \"ComponentId\": \"ComponentId_2\",\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 50\n },\n {\n \"ComponentExtra\": \"{\\\"Children\\\":[\\\"ComponentId_29\\\",\\\"ComponentId_27\\\",\\\"ComponentId_28\\\",\\\"ComponentId_30\\\"]}\",\n \"ComponentHeight\": 211,\n \"ComponentId\": \"ComponentId_26\",\n \"FileIndex\": 0,\n \"ComponentName\": \"签批1\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 180,\n \"ComponentPosY\": 478,\n \"ComponentType\": \"SIGN_VIRTUAL_COMBINATION\",\n \"ComponentWidth\": 210,\n \"ComponentRequired\": false\n },\n {\n \"ComponentExtra\": \"{\\\"Values\\\":[\\\"审批通过\\\",\\\"审批不通过\\\"],\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"MultiSelect\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_29\",\n \"FileIndex\": 0,\n \"ComponentName\": \"审批意见\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 180,\n \"ComponentPosY\": 567,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SELECTOR\",\n \"ComponentWidth\": 210\n },\n {\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":true}\",\n \"ComponentHeight\": 43,\n \"ComponentId\": \"ComponentId_27\",\n \"ComponentName\": \"个人签名/印章\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 185,\n \"ComponentPosY\": 478,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentWidth\": 119\n },\n {\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_28\",\n \"ComponentName\": \"签署日期\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 185,\n \"FileIndex\": 0,\n \"ComponentPosY\": 541,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentWidth\": 119\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"VerticalAlign\\\":\\\"Top\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 54,\n \"ComponentId\": \"ComponentId_30\",\n \"FileIndex\": 0,\n \"ComponentName\": \"批注附言\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 180,\n \"ComponentPosY\": 635,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_MULTI_LINE_TEXT\",\n \"ComponentWidth\": 210\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18888888888\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n },\n {\n \"ComponentExtra\": \"{\\\"Children\\\":[\\\"ComponentId_19\\\",\\\"ComponentId_17\\\",\\\"ComponentId_18\\\"]}\",\n \"ComponentHeight\": 211,\n \"ComponentId\": \"ComponentId_16\",\n \"ComponentName\": \"签批1\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 280,\n \"ComponentPosY\": 478,\n \"ComponentType\": \"SIGN_VIRTUAL_COMBINATION\",\n \"ComponentWidth\": 210\n },\n {\n \"ComponentExtra\": \"{\\\"Values\\\":[\\\"审批通过\\\",\\\"审批不通过\\\"],\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"MultiSelect\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_19\",\n \"ComponentName\": \"审批意见\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 280,\n \"ComponentPosY\": 567,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SELECTOR\",\n \"ComponentWidth\": 210\n },\n {\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_18\",\n \"ComponentName\": \"签署日期\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 285,\n \"ComponentPosY\": 541,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentWidth\": 119\n },\n {\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":true}\",\n \"ComponentHeight\": 43,\n \"ComponentId\": \"ComponentId_17\",\n \"ComponentName\": \"个人签名/印章\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 285,\n \"ComponentPosY\": 478,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentWidth\": 119\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDCWqUUckpve5id3U4f5EL77tlNh6zTZ\"\n ],\n \"Unordered\": true\n}",
|
545
551
|
"output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCm3UUckpuhiigxUyngyQvyHhcuKe8j\",\n \"SignId\": \"yDCm3UUckpuhiig3UyngyQvuGnj2Dmlb\"\n },\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCm3UUckpuhiigbUyngyQv8CgR9QvQ5\",\n \"SignId\": \"yDCm3UUckpuhiig1UyngyQvBDiyvQ5Qw\"\n }\n ],\n \"FlowId\": \"yDCm3UUckpuhiigkUyngyQvus30o8lsI\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1726301013319902854\"\n }\n}",
|
546
552
|
"title": "文件发起B2C合同,签署方设置签批控件"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"document": "注意: 关键字定位的签批控件,子控件的位置,大小是固定的,不能自定义。\n1.通过PDF文件发起合同 \n2.使用关键字模式\n3.指定B端签署方为企业【典子谦示例企业】,经办人为【典子谦】 \n4.指定C端签署方为个人【张三】 \n5.B 端签署人 有两个签署控件, 分别是签名控件和签批控件(SIGN_VIRTUAL_COMBINATION),其中签批控件包含四个子控件, 在 Component 中的 \"ComponentExtra\": \"{\\\"ChildrenTypes\\\":[\\\"SIGN_SIGNATURE\\\",\\\"SIGN_DATE\\\",\\\"SIGN_SELECTOR\\\",\\\"SIGN_MULTI_LINE_TEXT\\\"]}\" 体现 , 包括 审批意见(SIGN_SELECTOR),个人签名(SIGN_SIGNATURE),签署日期(SIGN_DATE),批注附言(SIGN_MULTI_LINE_TEXT) , 但是关键字跟绝对定位的区别在于 关键字方式只用传递SIGN_VIRTUAL_COMBINATION 一个签署控件即可。\n6.C 端签署人 有一个签批控件(SIGN_VIRTUAL_COMBINATION),其中签批控件包含三个子控件, 在 Component 中的 \"ComponentExtra\": \"{\\\"ChildrenTypes\\\":[\\\"SIGN_SIGNATURE\\\",\\\"SIGN_DATE\\\",\\\"SIGN_SELECTOR\\\",\\\"SIGN_MULTI_LINE_TEXT\\\"]}\"体现 , 包括 审批意见(SIGN_SELECTOR),个人签名(SIGN_SIGNATURE),签署日期(SIGN_DATE), 但是关键字跟绝对定位的区别在于 关键字方式只用传递SIGN_VIRTUAL_COMBINATION 一个签署控件即可。",
|
556
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxbTUyKQWPt5NUuO4zjEuyFAyOX3v9C\"\n },\n \"FlowName\": \"文件发起-签批\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"SignComponents\": [\n {\n \"ComponentId\": \"ComponentId_1\",\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n },\n {\n \"ComponentId\": \"ComponentId_2\",\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 50\n },\n {\n \"ComponentExtra\": \"{\\\"ChildrenTypes\\\":[\\\"SIGN_SIGNATURE\\\",\\\"SIGN_DATE\\\",\\\"SIGN_SELECTOR\\\",\\\"SIGN_MULTI_LINE_TEXT\\\"]}\",\n \"ComponentHeight\": 211,\n \"ComponentId\": \"ComponentId_26\",\n \"FileIndex\": 0,\n \"ComponentName\": \"签批1\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 180,\n \"ComponentPosY\": 478,\n \"ComponentType\": \"SIGN_VIRTUAL_COMBINATION\",\n \"ComponentWidth\": 210,\n \"ComponentRequired\": false\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18888888888\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n },\n {\n \"ComponentExtra\": \"{\\\"ChildrenTypes\\\":[\\\"SIGN_SIGNATURE\\\",\\\"SIGN_DATE\\\",\\\"SIGN_SELECTOR\\\",\\\"SIGN_MULTI_LINE_TEXT\\\"]}\",\n \"ComponentHeight\": 211,\n \"ComponentId\": \"ComponentId_16\",\n \"ComponentName\": \"签批1\",\n \"FileIndex\": 0,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 280,\n \"ComponentPosY\": 478,\n \"ComponentType\": \"SIGN_VIRTUAL_COMBINATION\",\n \"ComponentWidth\": 210\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDCWqUUckpve5id3U4f5EL77tlNh6zTZ\"\n ],\n \"Unordered\": true\n}",
|
557
|
+
"output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCdmUUckp7lfkotUyvGAviEmENDy2vV\",\n \"SignId\": \"yDCdmUUckp7lfkorUyvGAviC9bfPrgZE\"\n },\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCdmUUckp7lfkoqUyvGAvi1LVH92Jy3\",\n \"SignId\": \"yDCdmUUckp7lfkolUyvGAvi86E6ZjRpX\"\n }\n ],\n \"FlowId\": \"yDCdmUUckp7lfko2UyvGAviyHgywsLpt\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1732096342358060984\"\n }\n}",
|
558
|
+
"title": "文件发起B2C合同,使用关键字方式,签署方设置签批控件"
|
547
559
|
}
|
548
560
|
],
|
549
561
|
"CreateFlowEvidenceReport": [
|
@@ -841,7 +853,7 @@
|
|
841
853
|
"CreateOrganizationAuthUrl": [
|
842
854
|
{
|
843
855
|
"document": "我们传递企业名称和企业的统一信用代码。同时,为了确保信息的准确性和合规性,我们要求在进行企业认证时,企业名称和统一信用代码必须与我们传递的信息完全一致。",
|
844
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\"\n },\n \"Endpoint\": \"SHORT_URL\",\n \"AuthorizationTypes\": [\n 1,\n 2,\n 3\n ],\n \"UniformSocialCreditCode\": \"9144030071526726XG\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"UniformSocialCreditCodeSame\": true,\n \"OrganizationNameSame\": true\n}",
|
856
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\"\n },\n \"Endpoint\": \"SHORT_URL\",\n \"AuthorizationTypes\": [\n 1,\n 2,\n 3\n ],\n \"UniformSocialCreditCode\": \"9144030071526726XG\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"UniformSocialCreditCodeSame\": true,\n \"OrganizationNameSame\": true,\n \"Initialization\": [\n 1\n ]\n}",
|
845
857
|
"output": "{\n \"Response\": {\n \"AuthUrl\": \"https://essurl.cn/24VopUGBZyF\",\n \"ExpiredTime\": 1733388643,\n \"RequestId\": \"a34b6e8e-4a3e-444d-8853-b34f90096254\"\n }\n}",
|
846
858
|
"title": "创建企业认证链接"
|
847
859
|
}
|
@@ -914,15 +926,15 @@
|
|
914
926
|
],
|
915
927
|
"CreatePartnerAutoSignAuthUrl": [
|
916
928
|
{
|
917
|
-
"document": "
|
918
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"
|
919
|
-
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"
|
929
|
+
"document": "创建他方自动签授权链接(AuthToMe设置成false)\n",
|
930
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"AuthorizedOrganizationId\": \"yDRt2UUgygqxuvlqUuO4zjEySqVWqO9J\",\n \"AuthToMe\": false,\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
931
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"49500cb4-ca5e-4da0-93fb-e15f3a710ed7 \",\n \"Url\": \"https://essurl.cn/g4sjUBHlHx\"\n }\n}",
|
920
932
|
"title": "创建他方自动签授权链接-我方授权"
|
921
933
|
},
|
922
934
|
{
|
923
|
-
"document": "
|
924
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"
|
925
|
-
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"
|
935
|
+
"document": "他方授权给我方(AuthToMe被设置成true)",
|
936
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"AuthorizedOrganizationName\": \"他方企业名称\",\n \"AuthToMe\": true,\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
937
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"49500cb4-ca5e-4da0-93fb-e15f3a710ed7 \",\n \"Url\": \"https://essurl.cn/g4sjUBHlHx\"\n }\n}",
|
926
938
|
"title": "创建他方自动签授权链接-他方授权"
|
927
939
|
}
|
928
940
|
],
|
@@ -994,7 +1006,7 @@
|
|
994
1006
|
"title": "发起解除协议(记录下原合同与解除协议的映射关系)"
|
995
1007
|
},
|
996
1008
|
{
|
997
|
-
"document": "1. 更换原合同中本方企业的参与人\n2.
|
1009
|
+
"document": "1. 更换原合同中本方企业的参与人\n2. 给该企业参与人指定自动签署(ApproverType 设置为 ENTERPRISESERVER)",
|
998
1010
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReleaseFlow\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"NeedRelievedFlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\",\n \"ReleasedApprovers\": [\n {\n \"Mobile\": \"13200000000\",\n \"Name\": \"典子谦\",\n \"RelievedApproverReceiptId\": \"yDRSRUUgygj6rqouUuO4zjESlnSFPcIE\",\n \"ApproverType\": \"ENTERPRISESERVER\"\n }\n ],\n \"ReliveInfo\": {\n \"OriginalExpenseSettlement\": \"甲方需付给乙方以作赔偿\",\n \"OriginalOtherSettlement\": \"无\",\n \"OtherDeals\": \"无\",\n \"Reason\": \"因为业务调整, 结束合作。\",\n \"RemainInForceItem\": \"在业务结束前已产生的订单依旧有效。\"\n }\n}",
|
999
1011
|
"output": "{\n \"Response\": {\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\",\n \"RequestId\": \"s312334445587989\"\n }\n}",
|
1000
1012
|
"title": "发起解除协议(替换原流程中本企业的参与人并指定其为自动签署)"
|
@@ -1060,6 +1072,12 @@
|
|
1060
1072
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSchemeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"FlowId\": \"yDwq7UU*Uu1vFD6uHSIyKQPf\",\n \"EndPoint\": \"APP\",\n \"Name\": \"典子谦\",\n \"Mobile\": \"13200000000\"\n}",
|
1061
1073
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"OperationDenied.NoSupportJumpPage\",\n \"Message\": \"APP类型不支持跳转到电子签主页或合同列表页\"\n },\n \"RequestId\": \"s1693830251815551087\"\n }\n}",
|
1062
1074
|
"title": "错误的示例- 获取某个流程合同的小程序跳转签署链接,PathType值没有传对(应该传1- 小程序合同详情)"
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"document": "获取动态签署人补充链接,创建合同时未指定具体签署人,可获取链接后推送给指定的人进行补充,预设了企业名称后进入领取链接只能以该企业身份去领取并签署合同\n注:`获取动态签署人补充链接需指定PathType值为1或3,即跳转到合同封面页,并且指定对应签署节点的签署角色编号即RecipientId`",
|
1078
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSchemeUrl\n<公共请求参数>\n\n{\n \"FlowId\": \"yDwq7UU*Uu1vFD6uHSIyKQPf\",\n \"RecipientId\": \"yDw7aUUckpkxxmljUE0xkKk1DlvwRdfK\",\n \"OrganizationName\": \"典子谦有限公司\",\n \"PathType\": 3,\n \"EndPoint\": \"HTTP_SHORT_URL\",\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n }\n}",
|
1079
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"s1693829642597082849\",\n \"SchemeQrcodeUrl\": \"https://file.test.ess.tencent.cn/bresource/resource/resource/0/0.JPG?hkey=5d92f0db15e6bbba6aea641f64c5c06d01********************************f313b0728621415f3f14724c1d784e7737421333bf96a\",\n \"SchemeUrl\": \"https://essurl.cn/i3am**5Y9W\"\n }\n}",
|
1080
|
+
"title": "获取动态签署人补充链接(短链)并预设企业名"
|
1063
1081
|
}
|
1064
1082
|
],
|
1065
1083
|
"CreateSeal": [
|
@@ -1240,6 +1258,14 @@
|
|
1240
1258
|
"title": "解绑用户角色"
|
1241
1259
|
}
|
1242
1260
|
],
|
1261
|
+
"DeleteOrganizationAuthorizations": [
|
1262
|
+
{
|
1263
|
+
"document": "1. 企业典子谦示例企业 通过生成批量认证接口生成了 两个认证企业 (张三示例企业一, 张三示例企业二)\n2. 此时操作人典子谦示例企业 的业务员典子谦 发现超管应该是李四,信息填写错误,希望批量清除之前写错的信息,进行重新认证。\n3. 此时传递超管的姓名和手机号, 来进行清理。\n4. 全部清理成功,status 返回为 1",
|
1264
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteOrganizationAuthorizations\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"AdminName\": \"张三\",\n \"AdminMobile\": \"18888888888\"\n}",
|
1265
|
+
"output": "{\n \"Response\": {\n \"DeleteOrganizationAuthorizationInfos\": [\n {\n \"AuthorizationId\": \"yDCkRUUckp4mrr1mUuZT4VduiD2OfBVC\",\n \"Errormessage\": \"\",\n \"OrganizationName\": \"张三示例企业一\"\n },\n {\n \"AuthorizationId\": \"yDCkRUUckp4mrro0UuZT4VdvxIeRvyX0\",\n \"Errormessage\": \"\",\n \"OrganizationName\": \"张三示例企业一\"\n }\n ],\n \"RequestId\": \"s1729853630232230428\",\n \"Status\": 1\n }\n}",
|
1266
|
+
"title": "批量清理张三的所有认证中的认证流"
|
1267
|
+
}
|
1268
|
+
],
|
1243
1269
|
"DeleteSealPolicies": [
|
1244
1270
|
{
|
1245
1271
|
"document": "撤销指定印章授权",
|
@@ -1601,7 +1627,7 @@
|
|
1601
1627
|
"document": "通过转换任务Id查询任务状态",
|
1602
1628
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTaskResultApi\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxoQxxxxxxxxxxxxxxxxxx1h2hnnR\"\n },\n \"TaskId\": \"2022xxxxxxxxxx992850\"\n}",
|
1603
1629
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2255xxxxx76-6192fc301053\",\n \"ResourceId\": \"yDRtsUxxxxxjEyx4jZM3A7\",\n \"TaskId\": \"2022072xxxx992850\",\n \"TaskMessage\": \"任务处理完成\",\n \"TaskStatus\": 8\n }\n}",
|
1604
|
-
"title": "
|
1630
|
+
"title": "通过转换任务Id查询任务状态"
|
1605
1631
|
}
|
1606
1632
|
],
|
1607
1633
|
"ModifyApplicationCallbackInfo": [
|
@@ -2463,6 +2463,58 @@ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
|
|
2463
2463
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2464
2464
|
|
2465
2465
|
|
2466
|
+
def doCreateCloseOrganizationUrl(args, parsed_globals):
|
2467
|
+
g_param = parse_global_arg(parsed_globals)
|
2468
|
+
|
2469
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2470
|
+
cred = credential.CVMRoleCredential()
|
2471
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2472
|
+
cred = credential.STSAssumeRoleCredential(
|
2473
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2474
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2475
|
+
)
|
2476
|
+
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):
|
2477
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2478
|
+
else:
|
2479
|
+
cred = credential.Credential(
|
2480
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2481
|
+
)
|
2482
|
+
http_profile = HttpProfile(
|
2483
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2484
|
+
reqMethod="POST",
|
2485
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2486
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2487
|
+
)
|
2488
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2489
|
+
if g_param[OptionsDefine.Language]:
|
2490
|
+
profile.language = g_param[OptionsDefine.Language]
|
2491
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2492
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2493
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2494
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2495
|
+
model = models.CreateCloseOrganizationUrlRequest()
|
2496
|
+
model.from_json_string(json.dumps(args))
|
2497
|
+
start_time = time.time()
|
2498
|
+
while True:
|
2499
|
+
rsp = client.CreateCloseOrganizationUrl(model)
|
2500
|
+
result = rsp.to_json_string()
|
2501
|
+
try:
|
2502
|
+
json_obj = json.loads(result)
|
2503
|
+
except TypeError as e:
|
2504
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2505
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2506
|
+
break
|
2507
|
+
cur_time = time.time()
|
2508
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2509
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2510
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2511
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2512
|
+
else:
|
2513
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2514
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2515
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2516
|
+
|
2517
|
+
|
2466
2518
|
def doGenerateUserSeal(args, parsed_globals):
|
2467
2519
|
g_param = parse_global_arg(parsed_globals)
|
2468
2520
|
|
@@ -4907,6 +4959,58 @@ def doChannelDescribeBillUsageDetail(args, parsed_globals):
|
|
4907
4959
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4908
4960
|
|
4909
4961
|
|
4962
|
+
def doDeleteOrganizationAuthorizations(args, parsed_globals):
|
4963
|
+
g_param = parse_global_arg(parsed_globals)
|
4964
|
+
|
4965
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4966
|
+
cred = credential.CVMRoleCredential()
|
4967
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4968
|
+
cred = credential.STSAssumeRoleCredential(
|
4969
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4970
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4971
|
+
)
|
4972
|
+
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):
|
4973
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4974
|
+
else:
|
4975
|
+
cred = credential.Credential(
|
4976
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4977
|
+
)
|
4978
|
+
http_profile = HttpProfile(
|
4979
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4980
|
+
reqMethod="POST",
|
4981
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4982
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4983
|
+
)
|
4984
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4985
|
+
if g_param[OptionsDefine.Language]:
|
4986
|
+
profile.language = g_param[OptionsDefine.Language]
|
4987
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4988
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
4989
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4990
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4991
|
+
model = models.DeleteOrganizationAuthorizationsRequest()
|
4992
|
+
model.from_json_string(json.dumps(args))
|
4993
|
+
start_time = time.time()
|
4994
|
+
while True:
|
4995
|
+
rsp = client.DeleteOrganizationAuthorizations(model)
|
4996
|
+
result = rsp.to_json_string()
|
4997
|
+
try:
|
4998
|
+
json_obj = json.loads(result)
|
4999
|
+
except TypeError as e:
|
5000
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5001
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5002
|
+
break
|
5003
|
+
cur_time = time.time()
|
5004
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5005
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5006
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5007
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5008
|
+
else:
|
5009
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5010
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5011
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5012
|
+
|
5013
|
+
|
4910
5014
|
def doCancelFlow(args, parsed_globals):
|
4911
5015
|
g_param = parse_global_arg(parsed_globals)
|
4912
5016
|
|
@@ -6943,6 +7047,7 @@ ACTION_MAP = {
|
|
6943
7047
|
"GetDownloadFlowUrl": doGetDownloadFlowUrl,
|
6944
7048
|
"ChannelDescribeOrganizationSeals": doChannelDescribeOrganizationSeals,
|
6945
7049
|
"DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail,
|
7050
|
+
"CreateCloseOrganizationUrl": doCreateCloseOrganizationUrl,
|
6946
7051
|
"GenerateUserSeal": doGenerateUserSeal,
|
6947
7052
|
"PrepareFlows": doPrepareFlows,
|
6948
7053
|
"ModifySeal": doModifySeal,
|
@@ -6990,6 +7095,7 @@ ACTION_MAP = {
|
|
6990
7095
|
"ModifyOrganizationDefaultSeal": doModifyOrganizationDefaultSeal,
|
6991
7096
|
"DescribeFlowDetailInfo": doDescribeFlowDetailInfo,
|
6992
7097
|
"ChannelDescribeBillUsageDetail": doChannelDescribeBillUsageDetail,
|
7098
|
+
"DeleteOrganizationAuthorizations": doDeleteOrganizationAuthorizations,
|
6993
7099
|
"CancelFlow": doCancelFlow,
|
6994
7100
|
"CreateH5FaceIdUrl": doCreateH5FaceIdUrl,
|
6995
7101
|
"DescribeFlowApprovers": doDescribeFlowApprovers,
|