tccli 3.0.1147.1__py2.py3-none-any.whl → 3.0.1149.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/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +80 -0
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +63 -16
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/dcdb/v20180411/api.json +2 -0
- tccli/services/dnspod/v20210323/api.json +9 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +67 -5
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +56 -3
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/gaap/gaap_client.py +53 -0
- tccli/services/gaap/v20180529/api.json +24 -0
- tccli/services/gaap/v20180529/examples.json +8 -0
- tccli/services/lighthouse/v20200324/api.json +33 -31
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/api.json +6 -0
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +160 -1
- tccli/services/lke/v20231130/examples.json +8 -0
- tccli/services/mariadb/mariadb_client.py +53 -0
- tccli/services/mariadb/v20170312/api.json +88 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/mna/mna_client.py +485 -8
- tccli/services/mna/v20210119/api.json +743 -21
- tccli/services/mna/v20210119/examples.json +72 -0
- tccli/services/mongodb/v20190725/api.json +35 -35
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +31 -10
- tccli/services/oceanus/v20190422/api.json +24 -0
- tccli/services/organization/v20210331/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/tdmq/v20200217/api.json +12 -10
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +11 -3
- tccli/services/tke/v20180525/api.json +3 -3
- tccli/services/trtc/v20190722/api.json +15 -5
- tccli/services/tsf/tsf_client.py +110 -4
- tccli/services/tsf/v20180326/api.json +142 -0
- tccli/services/tsf/v20180326/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +1 -1
- {tccli-3.0.1147.1.dist-info → tccli-3.0.1149.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1147.1.dist-info → tccli-3.0.1149.1.dist-info}/RECORD +54 -54
- {tccli-3.0.1147.1.dist-info → tccli-3.0.1149.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1147.1.dist-info → tccli-3.0.1149.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1147.1.dist-info → tccli-3.0.1149.1.dist-info}/license_files/LICENSE +0 -0
@@ -77,6 +77,13 @@
|
|
77
77
|
"output": "CreateEmbedWebUrlResponse",
|
78
78
|
"status": "online"
|
79
79
|
},
|
80
|
+
"CreateEmployeeQualificationSealQrCode": {
|
81
|
+
"document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。",
|
82
|
+
"input": "CreateEmployeeQualificationSealQrCodeRequest",
|
83
|
+
"name": "创建个人印章授权给企业使用的授权二维码",
|
84
|
+
"output": "CreateEmployeeQualificationSealQrCodeResponse",
|
85
|
+
"status": "online"
|
86
|
+
},
|
80
87
|
"CreateExtendedServiceAuthInfos": {
|
81
88
|
"document": "创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。\n该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。\n\n注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。",
|
82
89
|
"input": "CreateExtendedServiceAuthInfosRequest",
|
@@ -2747,6 +2754,61 @@
|
|
2747
2754
|
],
|
2748
2755
|
"type": "object"
|
2749
2756
|
},
|
2757
|
+
"CreateEmployeeQualificationSealQrCodeRequest": {
|
2758
|
+
"document": "CreateEmployeeQualificationSealQrCode请求参数结构体",
|
2759
|
+
"members": [
|
2760
|
+
{
|
2761
|
+
"disabled": false,
|
2762
|
+
"document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
2763
|
+
"example": "无",
|
2764
|
+
"member": "UserInfo",
|
2765
|
+
"name": "Operator",
|
2766
|
+
"required": true,
|
2767
|
+
"type": "object"
|
2768
|
+
},
|
2769
|
+
{
|
2770
|
+
"disabled": false,
|
2771
|
+
"document": "代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
2772
|
+
"example": "无",
|
2773
|
+
"member": "Agent",
|
2774
|
+
"name": "Agent",
|
2775
|
+
"required": false,
|
2776
|
+
"type": "object"
|
2777
|
+
},
|
2778
|
+
{
|
2779
|
+
"disabled": false,
|
2780
|
+
"document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的",
|
2781
|
+
"example": "无",
|
2782
|
+
"member": "string",
|
2783
|
+
"name": "HintText",
|
2784
|
+
"required": false,
|
2785
|
+
"type": "string"
|
2786
|
+
}
|
2787
|
+
],
|
2788
|
+
"type": "object"
|
2789
|
+
},
|
2790
|
+
"CreateEmployeeQualificationSealQrCodeResponse": {
|
2791
|
+
"document": "CreateEmployeeQualificationSealQrCode返回参数结构体",
|
2792
|
+
"members": [
|
2793
|
+
{
|
2794
|
+
"disabled": false,
|
2795
|
+
"document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`",
|
2796
|
+
"example": "无",
|
2797
|
+
"member": "string",
|
2798
|
+
"name": "QrcodeBase64",
|
2799
|
+
"output_required": false,
|
2800
|
+
"type": "string",
|
2801
|
+
"value_allowed_null": false
|
2802
|
+
},
|
2803
|
+
{
|
2804
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2805
|
+
"member": "string",
|
2806
|
+
"name": "RequestId",
|
2807
|
+
"type": "string"
|
2808
|
+
}
|
2809
|
+
],
|
2810
|
+
"type": "object"
|
2811
|
+
},
|
2750
2812
|
"CreateExtendedServiceAuthInfosRequest": {
|
2751
2813
|
"document": "CreateExtendedServiceAuthInfos请求参数结构体",
|
2752
2814
|
"members": [
|
@@ -2990,7 +3052,7 @@
|
|
2990
3052
|
},
|
2991
3053
|
{
|
2992
3054
|
"disabled": false,
|
2993
|
-
"document": "合同流程的名称(可自定义此名称),长度不能超过200
|
3055
|
+
"document": "合同流程的名称(可自定义此名称),长度不能超过200个字符,只能由中文、字母、数字、中划线和下划线组成。\n\n该名称还将用于合同签署完成后的下载文件名。",
|
2994
3056
|
"example": "2013年采购西红柿合同",
|
2995
3057
|
"member": "string",
|
2996
3058
|
"name": "FlowName",
|
@@ -3035,7 +3097,7 @@
|
|
3035
3097
|
},
|
3036
3098
|
{
|
3037
3099
|
"disabled": false,
|
3038
|
-
"document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 动态表格等填写控件</li></ul>",
|
3100
|
+
"document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 水印控件 </li>\n<li> 动态表格等填写控件</li></ul>",
|
3039
3101
|
"example": "无",
|
3040
3102
|
"member": "Component",
|
3041
3103
|
"name": "Components",
|
@@ -7521,7 +7583,7 @@
|
|
7521
7583
|
},
|
7522
7584
|
{
|
7523
7585
|
"disabled": false,
|
7524
|
-
"document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>BATCH_SIGN:批量签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>
|
7586
|
+
"document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>AUTO_SIGN_CAN_FILL_IN:本企业自动签合同支持签前内容补充</li>\n<li>BATCH_SIGN:批量签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>ORGANIZATION_FLOW_EMAIL_NOTIFY:邮件通知签署方</li>\n<li>FLOW_APPROVAL:合同审批强制开启</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
|
7525
7587
|
"example": "OPEN_SERVER_SIGN",
|
7526
7588
|
"member": "string",
|
7527
7589
|
"name": "ExtendServiceType",
|
@@ -8574,7 +8636,7 @@
|
|
8574
8636
|
},
|
8575
8637
|
{
|
8576
8638
|
"disabled": false,
|
8577
|
-
"document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。
|
8639
|
+
"document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。 目前支持以下几种:<ul> <li><strong>OFFICIAL</strong>:企业公章;</li> <li><strong>CONTRACT</strong>:合同专用章;</li> <li><strong>ORGANIZATION_SEAL</strong>:企业印章(通过图片上传创建);</li> <li><strong>LEGAL_PERSON_SEAL</strong>:法定代表人章。</li> <li><strong>EMPLOYEE_QUALIFICATION_SEAL</strong>:员工执业章。</li> </ul>",
|
8578
8640
|
"example": "无",
|
8579
8641
|
"member": "string",
|
8580
8642
|
"name": "SealTypes",
|
@@ -11251,7 +11313,7 @@
|
|
11251
11313
|
},
|
11252
11314
|
{
|
11253
11315
|
"disabled": false,
|
11254
|
-
"document": "要管理的拓展服务类型。\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>
|
11316
|
+
"document": "要管理的拓展服务类型。\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>AUTO_SIGN_CAN_FILL_IN:本企业自动签合同支持签前内容补充</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>ORGANIZATION_FLOW_EMAIL_NOTIFY:邮件通知签署方</li>\n<li>FLOW_APPROVAL:合同审批强制开启</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
|
11255
11317
|
"example": "MOBILE_CHECK_APPROVER",
|
11256
11318
|
"member": "string",
|
11257
11319
|
"name": "ServiceType",
|
@@ -244,6 +244,14 @@
|
|
244
244
|
"title": "获取合同详情嵌入Web链接失败,是因为对应的签署流程不存在。"
|
245
245
|
}
|
246
246
|
],
|
247
|
+
"CreateEmployeeQualificationSealQrCode": [
|
248
|
+
{
|
249
|
+
"document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
|
250
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"HintText\": \"请授权执业章\"\n}",
|
251
|
+
"output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}",
|
252
|
+
"title": "生成员工执业章授权二维码"
|
253
|
+
}
|
254
|
+
],
|
247
255
|
"CreateExtendedServiceAuthInfos": [
|
248
256
|
{
|
249
257
|
"document": "集团主企业代子企业操作",
|
@@ -444,6 +452,12 @@
|
|
444
452
|
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"19561039c99fe825a934a132520fde6a\"\n },\n \"FlowName\": \"标书文件合同示例\",\n \"FlowType\": \"示例合同\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 60,\n \"ComponentHeight\": 100,\n \"ComponentExtra\": \"{\\\"PageRanges\\\":[{\\\"BeginPage\\\":1,\\\"EndPage\\\":-1}]}\"\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 }\n ],\n \"FileIds\": [\n \"yDR4yUUgyg1qqlj7UuO4zjES3G9Shoxk\"\n ]\n}",
|
445
453
|
"output": "{\n \"Response\": {\n \"FlowId\": \"yDwFkUUckpstin4sUuZjBEY5Ia2XB7sz\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1665674603446404796\"\n }\n}",
|
446
454
|
"title": "标书场景下,需要创建一份本方企业和个人签署的标书文件,要求本方企业的印章控件需要在每一页都进行盖章。"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"document": "1.通过PDF文件发起合同\n2.指定B端签署方为企业【典子谦示例企业】,经办人为【何规】\n3.指定C端签署方为个人【张三】\n4.水印控件通过外层 参数 Components 传递,ComponentType 设置为 WATERMARK,设置\"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",ComponentValue 为自定义水印的内容\n",
|
458
|
+
"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\": \"文件发起B2C-自定义水印内容\",\n \"Components\": [\n {\n \"ComponentType\": \"WATERMARK\",\n \"ComponentName\": \"合同水印\",\n \"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",\n \"ComponentValue\": \"自定义水印内容\",\n \"ComponentPage\": 0,\n \"ComponentWidth\": 0,\n \"ComponentHeight\": 0,\n \"ComponentPosX\": 0,\n \"ComponentPosY\": 0,\n \"FileIndex\": 0\n }\n ],\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"何规\",\n \"ApproverMobile\": \"18200000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 143.59375,\n \"ComponentPosY\": 169.0625,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\",\\\"FontColor\\\":\\\"0,82,217\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 205,\n \"ComponentPosY\": 114,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 234,\n \"ComponentPosY\": 142,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 302,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-LEGAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 191.09,\n \"ComponentPosY\": 172,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 335,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 21,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 205,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 366,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 107,\n \"ComponentPosY\": 236,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 121,\n \"ComponentPosY\": 265,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 327,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 35.09,\n \"ComponentPosY\": 293,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DISTRICT\",\n \"ComponentWidth\": 306,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 44,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 44,\n \"ComponentPosY\": 652,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 505,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 145,\n \"ComponentPosY\": 68,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 130.09375,\n \"ComponentPosY\": 555.09375,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 27,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 134.09,\n \"ComponentPosY\": 628.09,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 398,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{}\",\n \"ComponentHeight\": 16,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 83.09375,\n \"ComponentPosY\": 96.5625,\n \"ComponentType\": \"CHECK_BOX\",\n \"ComponentWidth\": 16,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FillMethod\\\":0,\\\"NotMakeImageCenter\\\":true}\",\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 13,\n \"ComponentPosY\": 394,\n \"ComponentType\": \"FILL_IMAGE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"LimitCount\\\":3,\\\"AttachmentType\\\":\\\"IMG\\\"}\",\n \"ComponentHeight\": 42,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 12,\n \"ComponentPosY\": 537,\n \"ComponentRequired\": true,\n \"ComponentType\": \"ATTACHMENT\",\n \"ComponentWidth\": 240,\n \"FileIndex\": 0\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18700000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 43,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 433.59375,\n \"ComponentPosY\": 196.0625,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 199,\n \"ComponentPosY\": 323,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 309,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 24,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 386,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 390,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 114.09,\n \"ComponentPosY\": 416,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 299,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 115.09,\n \"ComponentPosY\": 445,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 367,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"EDUCATION\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_30\",\n \"ComponentName\": \"学历\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 8.09375,\n \"ComponentPosY\": 473,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"EMAIL\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_28\",\n \"ComponentName\": \"邮箱\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 117.09375,\n \"ComponentPosY\": 474,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 292,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"GENDER\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_29\",\n \"ComponentName\": \"性别\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 424.09375,\n \"ComponentPosY\": 472,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDCWqUUckpve5id3U4f5EL77tlNh6zTZ\"\n ]\n}",
|
459
|
+
"output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2v6U9JHnkxcJrDXddLQ\",\n \"SignId\": \"yDCVsUUckpwri3vwU9JHnky9uvwe3h25\"\n },\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2vbU9JHnkSdZKiAyEs3\",\n \"SignId\": \"yDCVsUUckpwri2vvU9JHnkvaHtOttw1h\"\n }\n ],\n \"FlowId\": \"yDCVsUUckpwri3vyU9JHnkBDqTFanBa3\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1709793654575755487\"\n }\n}",
|
460
|
+
"title": "文件发起B2C合同,发起方设置合同水印(自定义水印内容)"
|
447
461
|
}
|
448
462
|
],
|
449
463
|
"CreateFlowEvidenceReport": [
|
@@ -2515,6 +2515,58 @@ def doPrepareFlows(args, parsed_globals):
|
|
2515
2515
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2516
2516
|
|
2517
2517
|
|
2518
|
+
def doModifySeal(args, parsed_globals):
|
2519
|
+
g_param = parse_global_arg(parsed_globals)
|
2520
|
+
|
2521
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2522
|
+
cred = credential.CVMRoleCredential()
|
2523
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2524
|
+
cred = credential.STSAssumeRoleCredential(
|
2525
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2526
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2527
|
+
)
|
2528
|
+
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):
|
2529
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2530
|
+
else:
|
2531
|
+
cred = credential.Credential(
|
2532
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2533
|
+
)
|
2534
|
+
http_profile = HttpProfile(
|
2535
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2536
|
+
reqMethod="POST",
|
2537
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2538
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2539
|
+
)
|
2540
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2541
|
+
if g_param[OptionsDefine.Language]:
|
2542
|
+
profile.language = g_param[OptionsDefine.Language]
|
2543
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2544
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
2545
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2546
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2547
|
+
model = models.ModifySealRequest()
|
2548
|
+
model.from_json_string(json.dumps(args))
|
2549
|
+
start_time = time.time()
|
2550
|
+
while True:
|
2551
|
+
rsp = client.ModifySeal(model)
|
2552
|
+
result = rsp.to_json_string()
|
2553
|
+
try:
|
2554
|
+
json_obj = json.loads(result)
|
2555
|
+
except TypeError as e:
|
2556
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2557
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2558
|
+
break
|
2559
|
+
cur_time = time.time()
|
2560
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2561
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2562
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2563
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2564
|
+
else:
|
2565
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2566
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2567
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2568
|
+
|
2569
|
+
|
2518
2570
|
def doChannelDescribeRoles(args, parsed_globals):
|
2519
2571
|
g_param = parse_global_arg(parsed_globals)
|
2520
2572
|
|
@@ -3399,7 +3451,7 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
|
|
3399
3451
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3400
3452
|
|
3401
3453
|
|
3402
|
-
def
|
3454
|
+
def doCreateEmployeeQualificationSealQrCode(args, parsed_globals):
|
3403
3455
|
g_param = parse_global_arg(parsed_globals)
|
3404
3456
|
|
3405
3457
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3428,11 +3480,11 @@ def doModifySeal(args, parsed_globals):
|
|
3428
3480
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
3429
3481
|
client._sdkVersion += ("_CLI_" + __version__)
|
3430
3482
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3431
|
-
model = models.
|
3483
|
+
model = models.CreateEmployeeQualificationSealQrCodeRequest()
|
3432
3484
|
model.from_json_string(json.dumps(args))
|
3433
3485
|
start_time = time.time()
|
3434
3486
|
while True:
|
3435
|
-
rsp = client.
|
3487
|
+
rsp = client.CreateEmployeeQualificationSealQrCode(model)
|
3436
3488
|
result = rsp.to_json_string()
|
3437
3489
|
try:
|
3438
3490
|
json_obj = json.loads(result)
|
@@ -6684,6 +6736,7 @@ ACTION_MAP = {
|
|
6684
6736
|
"DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail,
|
6685
6737
|
"GenerateUserSeal": doGenerateUserSeal,
|
6686
6738
|
"PrepareFlows": doPrepareFlows,
|
6739
|
+
"ModifySeal": doModifySeal,
|
6687
6740
|
"ChannelDescribeRoles": doChannelDescribeRoles,
|
6688
6741
|
"DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows,
|
6689
6742
|
"DescribeChannelOrganizations": doDescribeChannelOrganizations,
|
@@ -6701,7 +6754,7 @@ ACTION_MAP = {
|
|
6701
6754
|
"ChannelCreateBatchQuickSignUrl": doChannelCreateBatchQuickSignUrl,
|
6702
6755
|
"ChannelDisableUserAutoSign": doChannelDisableUserAutoSign,
|
6703
6756
|
"CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
|
6704
|
-
"
|
6757
|
+
"CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode,
|
6705
6758
|
"DescribeCustomFlowIds": doDescribeCustomFlowIds,
|
6706
6759
|
"CreateSubOrganizationAndSeal": doCreateSubOrganizationAndSeal,
|
6707
6760
|
"ChannelGetTaskResultApi": doChannelGetTaskResultApi,
|
@@ -343,6 +343,13 @@
|
|
343
343
|
"output": "CreateConsoleLoginUrlResponse",
|
344
344
|
"status": "online"
|
345
345
|
},
|
346
|
+
"CreateEmployeeQualificationSealQrCode": {
|
347
|
+
"document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。",
|
348
|
+
"input": "CreateEmployeeQualificationSealQrCodeRequest",
|
349
|
+
"name": "创建个人印章授权给企业使用的授权二维码",
|
350
|
+
"output": "CreateEmployeeQualificationSealQrCodeResponse",
|
351
|
+
"status": "online"
|
352
|
+
},
|
346
353
|
"CreateFlowBlockchainEvidenceUrl": {
|
347
354
|
"document": "获取区块链存证证书查看链接/二维码接口\n\n适用场景:企业员工可以通过此接口生成合同区块链存证证书的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。\n\n[点击查看区块链存证证书样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)\n\n注:\n<ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color=\"red\">7天</font>,超过有效期则不可用。</li>\n<li>2. 合同状态需为<font color=\"red\">签署完成</font> 、<font color=\"red\">已解除</font>才能生成证书查看二维码/短链。</li>\n<li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>\n<li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证证书,请妥善保管好二维码或链接。</li></ul>",
|
348
355
|
"input": "CreateFlowBlockchainEvidenceUrlRequest",
|
@@ -4357,7 +4364,7 @@
|
|
4357
4364
|
},
|
4358
4365
|
{
|
4359
4366
|
"disabled": false,
|
4360
|
-
"document": "电子印章类型 , 可选类型如下:
|
4367
|
+
"document": "电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: 公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li><<li>**EMPLOYEE_QUALIFICATION_SEAL**: 员工执业章</li></ul>注: `为空时查询所有类型的印章。`",
|
4361
4368
|
"example": "无",
|
4362
4369
|
"member": "string",
|
4363
4370
|
"name": "SealTypes",
|
@@ -6044,7 +6051,7 @@
|
|
6044
6051
|
},
|
6045
6052
|
{
|
6046
6053
|
"disabled": false,
|
6047
|
-
"document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n<font color=\"red\"
|
6054
|
+
"document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n<font color=\"red\">\n在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。\n企业名称请使用以下名称, 以下名称可以不用走收录。\n**子客测试专用企业1 - 子客测试专用企业9**</font>\n\n注:\n `1. 如果名称中包含英文括号(),请使用中文括号()代替。`\n `2、该名称需要与Agent.ProxyOrganizationOpenId相匹配, 企业激活后Agent.ProxyOrganizationOpenId会跟此企业名称一一绑定; 如果您的企业已经在认证授权中或者激活完成,这里修改子客企业名字将不会生效。 `",
|
6048
6055
|
"example": "典子谦示例企业测试",
|
6049
6056
|
"member": "string",
|
6050
6057
|
"name": "ProxyOrganizationName",
|
@@ -6213,6 +6220,52 @@
|
|
6213
6220
|
],
|
6214
6221
|
"type": "object"
|
6215
6222
|
},
|
6223
|
+
"CreateEmployeeQualificationSealQrCodeRequest": {
|
6224
|
+
"document": "CreateEmployeeQualificationSealQrCode请求参数结构体",
|
6225
|
+
"members": [
|
6226
|
+
{
|
6227
|
+
"disabled": false,
|
6228
|
+
"document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。<ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证",
|
6229
|
+
"example": "无",
|
6230
|
+
"member": "Agent",
|
6231
|
+
"name": "Agent",
|
6232
|
+
"required": true,
|
6233
|
+
"type": "object"
|
6234
|
+
},
|
6235
|
+
{
|
6236
|
+
"disabled": false,
|
6237
|
+
"document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的",
|
6238
|
+
"example": "无",
|
6239
|
+
"member": "string",
|
6240
|
+
"name": "HintText",
|
6241
|
+
"required": false,
|
6242
|
+
"type": "string"
|
6243
|
+
}
|
6244
|
+
],
|
6245
|
+
"type": "object"
|
6246
|
+
},
|
6247
|
+
"CreateEmployeeQualificationSealQrCodeResponse": {
|
6248
|
+
"document": "CreateEmployeeQualificationSealQrCode返回参数结构体",
|
6249
|
+
"members": [
|
6250
|
+
{
|
6251
|
+
"disabled": false,
|
6252
|
+
"document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`",
|
6253
|
+
"example": "无",
|
6254
|
+
"member": "string",
|
6255
|
+
"name": "QrcodeBase64",
|
6256
|
+
"output_required": false,
|
6257
|
+
"type": "string",
|
6258
|
+
"value_allowed_null": false
|
6259
|
+
},
|
6260
|
+
{
|
6261
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6262
|
+
"member": "string",
|
6263
|
+
"name": "RequestId",
|
6264
|
+
"type": "string"
|
6265
|
+
}
|
6266
|
+
],
|
6267
|
+
"type": "object"
|
6268
|
+
},
|
6216
6269
|
"CreateFlowBlockchainEvidenceUrlRequest": {
|
6217
6270
|
"document": "CreateFlowBlockchainEvidenceUrl请求参数结构体",
|
6218
6271
|
"members": [
|
@@ -8016,7 +8069,7 @@
|
|
8016
8069
|
"members": [
|
8017
8070
|
{
|
8018
8071
|
"disabled": false,
|
8019
|
-
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li>
|
8072
|
+
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>\n<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>\n<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>\n</ul>",
|
8020
8073
|
"example": "AUTO_SIGN",
|
8021
8074
|
"member": "string",
|
8022
8075
|
"name": "Type",
|
@@ -746,6 +746,14 @@
|
|
746
746
|
"title": "生成到模板详情的控制台链接"
|
747
747
|
}
|
748
748
|
],
|
749
|
+
"CreateEmployeeQualificationSealQrCode": [
|
750
|
+
{
|
751
|
+
"document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
|
752
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\",\n \"ProxyOrganizationOpenId\": \"org_zhangsan\",\n \"ProxyOperator\": {\n \"OpenId\": \"n02468\"\n }\n },\n \"HintText\": \"我是提示文字\"\n}",
|
753
|
+
"output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}",
|
754
|
+
"title": "生成员工执业章授权二维码"
|
755
|
+
}
|
756
|
+
],
|
749
757
|
"CreateFlowBlockchainEvidenceUrl": [
|
750
758
|
{
|
751
759
|
"document": "拥有访问权限的员工生成合同区块链存证证书查看二维码/链接",
|
@@ -3761,6 +3761,58 @@ def doDescribeFirstLinkSession(args, parsed_globals):
|
|
3761
3761
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3762
3762
|
|
3763
3763
|
|
3764
|
+
def doDescribeTaskStatus(args, parsed_globals):
|
3765
|
+
g_param = parse_global_arg(parsed_globals)
|
3766
|
+
|
3767
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3768
|
+
cred = credential.CVMRoleCredential()
|
3769
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3770
|
+
cred = credential.STSAssumeRoleCredential(
|
3771
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3772
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3773
|
+
)
|
3774
|
+
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):
|
3775
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3776
|
+
else:
|
3777
|
+
cred = credential.Credential(
|
3778
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3779
|
+
)
|
3780
|
+
http_profile = HttpProfile(
|
3781
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3782
|
+
reqMethod="POST",
|
3783
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3784
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3785
|
+
)
|
3786
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3787
|
+
if g_param[OptionsDefine.Language]:
|
3788
|
+
profile.language = g_param[OptionsDefine.Language]
|
3789
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3790
|
+
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
3791
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3792
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3793
|
+
model = models.DescribeTaskStatusRequest()
|
3794
|
+
model.from_json_string(json.dumps(args))
|
3795
|
+
start_time = time.time()
|
3796
|
+
while True:
|
3797
|
+
rsp = client.DescribeTaskStatus(model)
|
3798
|
+
result = rsp.to_json_string()
|
3799
|
+
try:
|
3800
|
+
json_obj = json.loads(result)
|
3801
|
+
except TypeError as e:
|
3802
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3803
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3804
|
+
break
|
3805
|
+
cur_time = time.time()
|
3806
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3807
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3808
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3809
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3810
|
+
else:
|
3811
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3812
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3813
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3814
|
+
|
3815
|
+
|
3764
3816
|
def doAddRealServers(args, parsed_globals):
|
3765
3817
|
g_param = parse_global_arg(parsed_globals)
|
3766
3818
|
|
@@ -5508,6 +5560,7 @@ ACTION_MAP = {
|
|
5508
5560
|
"CreateDomain": doCreateDomain,
|
5509
5561
|
"DescribeCertificateDetail": doDescribeCertificateDetail,
|
5510
5562
|
"DescribeFirstLinkSession": doDescribeFirstLinkSession,
|
5563
|
+
"DescribeTaskStatus": doDescribeTaskStatus,
|
5511
5564
|
"AddRealServers": doAddRealServers,
|
5512
5565
|
"DisableGlobalDomain": doDisableGlobalDomain,
|
5513
5566
|
"DescribeRegionAndPrice": doDescribeRegionAndPrice,
|
@@ -532,6 +532,13 @@
|
|
532
532
|
"output": "DescribeTCPListenersResponse",
|
533
533
|
"status": "online"
|
534
534
|
},
|
535
|
+
"DescribeTaskStatus": {
|
536
|
+
"document": "查询异步任务执行状态",
|
537
|
+
"input": "DescribeTaskStatusRequest",
|
538
|
+
"name": "查询异步任务状态",
|
539
|
+
"output": "DescribeTaskStatusResponse",
|
540
|
+
"status": "online"
|
541
|
+
},
|
535
542
|
"DescribeUDPListeners": {
|
536
543
|
"document": "该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息",
|
537
544
|
"input": "DescribeUDPListenersRequest",
|
@@ -6213,6 +6220,23 @@
|
|
6213
6220
|
],
|
6214
6221
|
"type": "object"
|
6215
6222
|
},
|
6223
|
+
"DescribeTaskStatusRequest": {
|
6224
|
+
"document": "DescribeTaskStatus请求参数结构体",
|
6225
|
+
"members": [],
|
6226
|
+
"type": "object"
|
6227
|
+
},
|
6228
|
+
"DescribeTaskStatusResponse": {
|
6229
|
+
"document": "DescribeTaskStatus返回参数结构体",
|
6230
|
+
"members": [
|
6231
|
+
{
|
6232
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6233
|
+
"member": "string",
|
6234
|
+
"name": "RequestId",
|
6235
|
+
"type": "string"
|
6236
|
+
}
|
6237
|
+
],
|
6238
|
+
"type": "object"
|
6239
|
+
},
|
6216
6240
|
"DescribeUDPListenersRequest": {
|
6217
6241
|
"document": "DescribeUDPListeners请求参数结构体",
|
6218
6242
|
"members": [
|
@@ -656,6 +656,14 @@
|
|
656
656
|
"title": "查询TCP监听器列表"
|
657
657
|
}
|
658
658
|
],
|
659
|
+
"DescribeTaskStatus": [
|
660
|
+
{
|
661
|
+
"document": "查询异步任务执行状态",
|
662
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskStatus\n<公共请求参数>\n\n{}",
|
663
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"766d83c7-c0b1-4973-bdf3-effeeffa34d7\"\n }\n}",
|
664
|
+
"title": "查询异步任务执行状态"
|
665
|
+
}
|
666
|
+
],
|
659
667
|
"DescribeUDPListeners": [
|
660
668
|
{
|
661
669
|
"document": "查询UDP监听器列表",
|