tccli 3.0.1034.1__py2.py3-none-any.whl → 3.0.1035.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/examples/cwp/v20180228/SyncBaselineDetectSummary.md +28 -0
- tccli/examples/dnspod/v20210323/DescribeRecordList.md +4 -2
- tccli/examples/ess/v20201111/ModifyExtendedService.md +79 -0
- tccli/examples/oceanus/v20190422/CreateFolder.md +3 -50
- tccli/examples/oceanus/v20190422/DescribeWorkSpaces.md +6 -3
- tccli/examples/oceanus/v20190422/GetMetaTable.md +29 -0
- tccli/examples/tcss/v20201101/DescribeAssetHostList.md +3 -1
- tccli/examples/trp/v20210515/DescribeProducts.md +6 -3
- tccli/examples/tse/v20201207/CreateCloudNativeAPIGatewayPublicNetwork.md +26 -0
- tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayPublicNetwork.md +23 -0
- tccli/examples/tse/v20201207/ModifyConsoleNetwork.md +22 -0
- tccli/examples/tse/v20201207/ModifyNetworkAccessStrategy.md +26 -0
- tccli/examples/tse/v20201207/ModifyNetworkBasicInfo.md +25 -0
- tccli/services/aiart/v20221229/api.json +2 -2
- tccli/services/cat/v20180409/api.json +1 -1
- tccli/services/cfw/v20190904/api.json +7 -7
- tccli/services/csip/v20221121/api.json +8 -8
- tccli/services/cwp/v20180228/api.json +22 -12
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/dbbrain/v20191016/api.json +3 -1
- tccli/services/dnspod/v20210323/api.json +5 -3
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +85 -5
- tccli/services/ess/v20201111/examples.json +20 -0
- tccli/services/essbasic/v20210526/api.json +11 -11
- tccli/services/oceanus/oceanus_client.py +53 -0
- tccli/services/oceanus/v20190422/api.json +124 -1
- tccli/services/oceanus/v20190422/examples.json +11 -15
- tccli/services/scf/v20180416/api.json +11 -2
- tccli/services/tcss/v20201101/api.json +35 -5
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +5 -5
- tccli/services/tiw/v20190919/api.json +21 -2
- tccli/services/trp/v20210515/api.json +63 -5
- tccli/services/trp/v20210515/examples.json +2 -2
- tccli/services/tse/tse_client.py +281 -16
- tccli/services/tse/v20201207/api.json +323 -0
- tccli/services/tse/v20201207/examples.json +40 -0
- tccli/services/tsf/v20180326/api.json +36 -26
- tccli/services/vod/v20180717/api.json +19 -6
- {tccli-3.0.1034.1.dist-info → tccli-3.0.1035.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1034.1.dist-info → tccli-3.0.1035.1.dist-info}/RECORD +47 -40
- {tccli-3.0.1034.1.dist-info → tccli-3.0.1035.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1034.1.dist-info → tccli-3.0.1035.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1034.1.dist-info → tccli-3.0.1035.1.dist-info}/license_files/LICENSE +0 -0
@@ -22180,7 +22180,7 @@
|
|
22180
22180
|
"members": [
|
22181
22181
|
{
|
22182
22182
|
"disabled": false,
|
22183
|
-
"document": "<li>ItemId - int64 - 是否必填:否 - 项Id</
|
22183
|
+
"document": "<li>ItemId - int64 - 是否必填:否 - 项Id</li>\n<li>Level - int - 是否必填:否 - 风险等级</li>\n<li>ItemName - string - 是否必填:否 - 检测项名字</li>\n<li>RuleId - int - 是否必填:否 - 规则Id</li>",
|
22184
22184
|
"example": "无",
|
22185
22185
|
"member": "Filter",
|
22186
22186
|
"name": "Filters",
|
@@ -22235,7 +22235,7 @@
|
|
22235
22235
|
"example": "无",
|
22236
22236
|
"member": "BaselineItemInfo",
|
22237
22237
|
"name": "List",
|
22238
|
-
"
|
22238
|
+
"output_required": true,
|
22239
22239
|
"type": "list",
|
22240
22240
|
"value_allowed_null": false
|
22241
22241
|
},
|
@@ -22245,7 +22245,7 @@
|
|
22245
22245
|
"example": "1",
|
22246
22246
|
"member": "int64",
|
22247
22247
|
"name": "Total",
|
22248
|
-
"
|
22248
|
+
"output_required": true,
|
22249
22249
|
"type": "int",
|
22250
22250
|
"value_allowed_null": false
|
22251
22251
|
},
|
@@ -56694,7 +56694,17 @@
|
|
56694
56694
|
},
|
56695
56695
|
"SyncBaselineDetectSummaryRequest": {
|
56696
56696
|
"document": "SyncBaselineDetectSummary请求参数结构体",
|
56697
|
-
"members": [
|
56697
|
+
"members": [
|
56698
|
+
{
|
56699
|
+
"disabled": false,
|
56700
|
+
"document": "用于计算检测中和进度的任务ID集合,一般不用传入",
|
56701
|
+
"example": "无",
|
56702
|
+
"member": "uint64",
|
56703
|
+
"name": "TaskIds",
|
56704
|
+
"required": false,
|
56705
|
+
"type": "list"
|
56706
|
+
}
|
56707
|
+
],
|
56698
56708
|
"type": "object"
|
56699
56709
|
},
|
56700
56710
|
"SyncBaselineDetectSummaryResponse": {
|
@@ -56706,7 +56716,7 @@
|
|
56706
56716
|
"example": "无",
|
56707
56717
|
"member": "int64",
|
56708
56718
|
"name": "ProgressRate",
|
56709
|
-
"
|
56719
|
+
"output_required": true,
|
56710
56720
|
"type": "int",
|
56711
56721
|
"value_allowed_null": false
|
56712
56722
|
},
|
@@ -56716,7 +56726,7 @@
|
|
56716
56726
|
"example": "无",
|
56717
56727
|
"member": "int64",
|
56718
56728
|
"name": "NotPassPolicyCount",
|
56719
|
-
"
|
56729
|
+
"output_required": true,
|
56720
56730
|
"type": "int",
|
56721
56731
|
"value_allowed_null": false
|
56722
56732
|
},
|
@@ -56726,7 +56736,7 @@
|
|
56726
56736
|
"example": "无",
|
56727
56737
|
"member": "int64",
|
56728
56738
|
"name": "HostCount",
|
56729
|
-
"
|
56739
|
+
"output_required": true,
|
56730
56740
|
"type": "int",
|
56731
56741
|
"value_allowed_null": false
|
56732
56742
|
},
|
@@ -56736,7 +56746,7 @@
|
|
56736
56746
|
"example": "无",
|
56737
56747
|
"member": "string",
|
56738
56748
|
"name": "StartTime",
|
56739
|
-
"
|
56749
|
+
"output_required": true,
|
56740
56750
|
"type": "string",
|
56741
56751
|
"value_allowed_null": false
|
56742
56752
|
},
|
@@ -56746,7 +56756,7 @@
|
|
56746
56756
|
"example": "无",
|
56747
56757
|
"member": "string",
|
56748
56758
|
"name": "EndTime",
|
56749
|
-
"
|
56759
|
+
"output_required": true,
|
56750
56760
|
"type": "string",
|
56751
56761
|
"value_allowed_null": false
|
56752
56762
|
},
|
@@ -56756,7 +56766,7 @@
|
|
56756
56766
|
"example": "0",
|
56757
56767
|
"member": "int64",
|
56758
56768
|
"name": "WillFirstScan",
|
56759
|
-
"
|
56769
|
+
"output_required": true,
|
56760
56770
|
"type": "int",
|
56761
56771
|
"value_allowed_null": false
|
56762
56772
|
},
|
@@ -56766,7 +56776,7 @@
|
|
56766
56776
|
"example": "无",
|
56767
56777
|
"member": "int64",
|
56768
56778
|
"name": "DetectingTaskIds",
|
56769
|
-
"
|
56779
|
+
"output_required": true,
|
56770
56780
|
"type": "list",
|
56771
56781
|
"value_allowed_null": false
|
56772
56782
|
},
|
@@ -56776,7 +56786,7 @@
|
|
56776
56786
|
"example": "1",
|
56777
56787
|
"member": "int64",
|
56778
56788
|
"name": "LeftMins",
|
56779
|
-
"
|
56789
|
+
"output_required": true,
|
56780
56790
|
"type": "int",
|
56781
56791
|
"value_allowed_null": false
|
56782
56792
|
},
|
@@ -4148,6 +4148,12 @@
|
|
4148
4148
|
"input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncBaselineDetectSummary\n<公共请求参数>\n\n{}",
|
4149
4149
|
"output": "{\n \"Response\": {\n \"DetectingTaskIds\": [\n 2379\n ],\n \"EndTime\": \"\",\n \"HostCount\": 1,\n \"LeftMins\": 3,\n \"NotPassPolicyCount\": 19,\n \"ProgressRate\": 20,\n \"RequestId\": \"69fce851-ee60-44ac-8ab1-62c2c7856051\",\n \"StartTime\": \"2022-08-23 15:07:02\",\n \"WillFirstScan\": 0\n }\n}",
|
4150
4150
|
"title": "同步检测概要"
|
4151
|
+
},
|
4152
|
+
{
|
4153
|
+
"document": "指定任务ID概要请求",
|
4154
|
+
"input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncBaselineDetectSummary\n<公共请求参数>\n\n{\n \"TaskIds\": [\n 299,\n 298\n ]\n}",
|
4155
|
+
"output": "{\n \"Response\": {\n \"DetectingTaskIds\": [],\n \"EndTime\": \"2023-12-25 12:05:27\",\n \"HostCount\": 31,\n \"LeftMins\": 0,\n \"NotPassPolicyCount\": 1,\n \"ProgressRate\": 100,\n \"RequestId\": \"5f862bd8-6931-45ee-a5d9-0fe2c4ea30d7\",\n \"StartTime\": \"2023-12-25 09:36:00\",\n \"WillFirstScan\": 0\n }\n}",
|
4156
|
+
"title": "指定任务ID概要请求"
|
4151
4157
|
}
|
4152
4158
|
],
|
4153
4159
|
"SyncMachines": [
|
@@ -1427,15 +1427,17 @@
|
|
1427
1427
|
"example": "-",
|
1428
1428
|
"member": "UserProfile",
|
1429
1429
|
"name": "ProfileList",
|
1430
|
+
"output_required": true,
|
1430
1431
|
"type": "list",
|
1431
1432
|
"value_allowed_null": true
|
1432
1433
|
},
|
1433
1434
|
{
|
1434
1435
|
"disabled": false,
|
1435
|
-
"document": "
|
1436
|
+
"document": "邮件模板总数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1436
1437
|
"example": "1",
|
1437
1438
|
"member": "int64",
|
1438
1439
|
"name": "TotalCount",
|
1440
|
+
"output_required": true,
|
1439
1441
|
"type": "int",
|
1440
1442
|
"value_allowed_null": true
|
1441
1443
|
},
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
59
|
"CreateRecord": {
|
60
|
-
"document": "
|
60
|
+
"document": "添加记录\n备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试",
|
61
61
|
"input": "CreateRecordRequest",
|
62
62
|
"name": "添加记录",
|
63
63
|
"output": "CreateRecordResponse",
|
@@ -183,7 +183,7 @@
|
|
183
183
|
"status": "online"
|
184
184
|
},
|
185
185
|
"DescribeDomainFilterList": {
|
186
|
-
"document": "
|
186
|
+
"document": "获取域名筛选列表\n备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试",
|
187
187
|
"input": "DescribeDomainFilterListRequest",
|
188
188
|
"name": "获取域名筛选列表",
|
189
189
|
"output": "DescribeDomainFilterListResponse",
|
@@ -281,7 +281,7 @@
|
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
283
|
"DescribeRecordList": {
|
284
|
-
"document": "
|
284
|
+
"document": "获取某个域名下的解析记录列表\n备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试",
|
285
285
|
"input": "DescribeRecordListRequest",
|
286
286
|
"name": "获取域名的解析记录列表",
|
287
287
|
"output": "DescribeRecordListResponse",
|
@@ -4115,6 +4115,7 @@
|
|
4115
4115
|
"example": "无",
|
4116
4116
|
"member": "RecordCountInfo",
|
4117
4117
|
"name": "RecordCountInfo",
|
4118
|
+
"output_required": true,
|
4118
4119
|
"type": "object",
|
4119
4120
|
"value_allowed_null": false
|
4120
4121
|
},
|
@@ -4124,6 +4125,7 @@
|
|
4124
4125
|
"example": "无",
|
4125
4126
|
"member": "RecordListItem",
|
4126
4127
|
"name": "RecordList",
|
4128
|
+
"output_required": true,
|
4127
4129
|
"type": "list",
|
4128
4130
|
"value_allowed_null": false
|
4129
4131
|
},
|
@@ -336,7 +336,7 @@
|
|
336
336
|
{
|
337
337
|
"document": " ",
|
338
338
|
"input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 2,\n \"Domain\": \"shenjianing.com\",\n \"DomainId\": 123,\n \"Subdomain\": \"www\",\n \"Keyword\": \"dnspod\",\n \"RecordType\": \"NS\",\n \"RecordLine\": \"默认\",\n \"RecordLineId\": \"0\",\n \"SortField\": \"type\",\n \"SortType\": \"ASC\",\n \"GroupId\": 34\n}",
|
339
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"561cdfcb-37a6-47de-b3c5-2b038e2c2276\",\n \"RecordCountInfo\": {\n \"SubdomainCount\": 2,\n \"TotalCount\": 2,\n \"ListCount\": 2\n },\n \"RecordList\": [\n {\n \"RecordId\": 556507778,\n \"Value\": \"f1g1ns1.dnspod.net.\",\n \"Status\": \"ENABLE\",\n \"UpdatedOn\": \"2021-03-28 11:27:09\",\n \"Name\": \"@\",\n \"Line\": \"默认\",\n \"LineId\": \"0\",\n \"Type\": \"NS\",\n \"Weight\": null,\n \"MonitorStatus\": \"\",\n \"Remark\": \"\",\n \"TTL\": 86400,\n \"MX\": 0\n },\n {\n \"RecordId\": 556507779,\n \"Value\": \"f1g1ns2.dnspod.net.\",\n \"Status\": \"ENABLE\",\n \"UpdatedOn\": \"2021-03-28 11:27:09\",\n \"Name\": \"@\",\n \"Line\": \"默认\",\n \"LineId\": \"0\",\n \"Type\": \"NS\",\n \"Weight\": null,\n \"MonitorStatus\": \"\",\n \"Remark\": \"\",\n \"TTL\": 86400,\n \"MX\": 0\n }\n ]\n }\n}",
|
339
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"561cdfcb-37a6-47de-b3c5-2b038e2c2276\",\n \"RecordCountInfo\": {\n \"SubdomainCount\": 2,\n \"TotalCount\": 2,\n \"ListCount\": 2\n },\n \"RecordList\": [\n {\n \"RecordId\": 556507778,\n \"Value\": \"f1g1ns1.dnspod.net.\",\n \"Status\": \"ENABLE\",\n \"UpdatedOn\": \"2021-03-28 11:27:09\",\n \"Name\": \"@\",\n \"Line\": \"默认\",\n \"LineId\": \"0\",\n \"Type\": \"NS\",\n \"Weight\": null,\n \"MonitorStatus\": \"\",\n \"Remark\": \"\",\n \"TTL\": 86400,\n \"MX\": 0,\n \"DefaultNS\": true\n },\n {\n \"RecordId\": 556507779,\n \"Value\": \"f1g1ns2.dnspod.net.\",\n \"Status\": \"ENABLE\",\n \"UpdatedOn\": \"2021-03-28 11:27:09\",\n \"Name\": \"@\",\n \"Line\": \"默认\",\n \"LineId\": \"0\",\n \"Type\": \"NS\",\n \"Weight\": null,\n \"MonitorStatus\": \"\",\n \"Remark\": \"\",\n \"TTL\": 86400,\n \"MX\": 0,\n \"DefaultNS\": true\n }\n ]\n }\n}",
|
340
340
|
"title": "查询域名的解析记录"
|
341
341
|
}
|
342
342
|
],
|
tccli/services/ess/ess_client.py
CHANGED
@@ -693,6 +693,58 @@ def doVerifyPdf(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
+
def doModifyExtendedService(args, parsed_globals):
|
697
|
+
g_param = parse_global_arg(parsed_globals)
|
698
|
+
|
699
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
700
|
+
cred = credential.CVMRoleCredential()
|
701
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
702
|
+
cred = credential.STSAssumeRoleCredential(
|
703
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
704
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
705
|
+
)
|
706
|
+
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):
|
707
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
708
|
+
else:
|
709
|
+
cred = credential.Credential(
|
710
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
711
|
+
)
|
712
|
+
http_profile = HttpProfile(
|
713
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
714
|
+
reqMethod="POST",
|
715
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
716
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
717
|
+
)
|
718
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
719
|
+
if g_param[OptionsDefine.Language]:
|
720
|
+
profile.language = g_param[OptionsDefine.Language]
|
721
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
722
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
723
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
724
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
+
model = models.ModifyExtendedServiceRequest()
|
726
|
+
model.from_json_string(json.dumps(args))
|
727
|
+
start_time = time.time()
|
728
|
+
while True:
|
729
|
+
rsp = client.ModifyExtendedService(model)
|
730
|
+
result = rsp.to_json_string()
|
731
|
+
try:
|
732
|
+
json_obj = json.loads(result)
|
733
|
+
except TypeError as e:
|
734
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
735
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
736
|
+
break
|
737
|
+
cur_time = time.time()
|
738
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
739
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
740
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
741
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
742
|
+
else:
|
743
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
744
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
745
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
|
+
|
747
|
+
|
696
748
|
def doUnbindEmployeeUserIdWithClientOpenId(args, parsed_globals):
|
697
749
|
g_param = parse_global_arg(parsed_globals)
|
698
750
|
|
@@ -3681,6 +3733,7 @@ ACTION_MAP = {
|
|
3681
3733
|
"CreateFlowGroupSignReview": doCreateFlowGroupSignReview,
|
3682
3734
|
"CreateEmbedWebUrl": doCreateEmbedWebUrl,
|
3683
3735
|
"VerifyPdf": doVerifyPdf,
|
3736
|
+
"ModifyExtendedService": doModifyExtendedService,
|
3684
3737
|
"UnbindEmployeeUserIdWithClientOpenId": doUnbindEmployeeUserIdWithClientOpenId,
|
3685
3738
|
"CreateBatchCancelFlowUrl": doCreateBatchCancelFlowUrl,
|
3686
3739
|
"DeleteIntegrationDepartment": doDeleteIntegrationDepartment,
|
@@ -316,7 +316,7 @@
|
|
316
316
|
"status": "online"
|
317
317
|
},
|
318
318
|
"DescribeExtendedServiceAuthInfos": {
|
319
|
-
"document": "查询企业扩展服务的开通和授权情况,当前支持查询以下内容:\n1.
|
319
|
+
"document": "查询企业扩展服务的开通和授权情况,当前支持查询以下内容:\n\n1. **企业自动签署**\n2. **批量签署授权**\n3. **企业与港澳台居民签署合同**\n4. **拓宽签署方年龄限制**\n5. **个人签署方仅校验手机号**\n6. **隐藏合同经办人姓名**\n7. **正楷临摹签名失败后更换其他签名类型**\n8. **短信通知签署方**\n9. **个人签署方手动签字**\n10. **骑缝章**\n11. **签署密码开通引导**\n\n\n对应能力开通页面在Web控制台-更多-企业设置-拓展服务,如下图所示:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/7d79746ecca1c5fe878a2ec36ed69c23.jpg)\n\n注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId需要传递超管或者法人的UserId)",
|
320
320
|
"input": "DescribeExtendedServiceAuthInfosRequest",
|
321
321
|
"name": "查询企业扩展服务授权信息",
|
322
322
|
"output": "DescribeExtendedServiceAuthInfosResponse",
|
@@ -441,6 +441,13 @@
|
|
441
441
|
"output": "ModifyApplicationCallbackInfoResponse",
|
442
442
|
"status": "online"
|
443
443
|
},
|
444
|
+
"ModifyExtendedService": {
|
445
|
+
"document": "管理企业扩展服务 ,企业经办人需要是企业超管或者法人。\n\n跳转小程序的几种方式:主要是设置不同的EndPoint\n1. 通过链接Url直接跳转到小程序,不需要返回\n设置EndPoint为WEIXINAPP,得到链接打开即可。\n\n2. 客户App直接跳转到小程序-->腾讯电子签小程序操作完成-->返回App\n跳转到小程序的实现,参考官方文档<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html\">打开 App</a>\n设置EndPoint为APP,得到path。\n\n3. 客户小程序直接跳到电子签小程序-->腾讯电子签小程序操作完成--->回到客户小程序\n跳转到小程序的实现,参考官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>\n设置EndPoint为APP,得到path。\n\n4.其中小程序的原始Id如下,或者查看小程序信息自助获取。\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |",
|
446
|
+
"input": "ModifyExtendedServiceRequest",
|
447
|
+
"name": "管理企业扩展服务",
|
448
|
+
"output": "ModifyExtendedServiceResponse",
|
449
|
+
"status": "online"
|
450
|
+
},
|
444
451
|
"ModifyIntegrationDepartment": {
|
445
452
|
"document": "此接口(ModifyIntegrationDepartment)用于更新企业的部门信息,支持更新部门名称、客户系统部门ID和部门序号等信息。",
|
446
453
|
"input": "ModifyIntegrationDepartmentRequest",
|
@@ -6141,8 +6148,8 @@
|
|
6141
6148
|
},
|
6142
6149
|
{
|
6143
6150
|
"disabled": false,
|
6144
|
-
"document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n<ul><li>OPEN_SERVER_SIGN
|
6145
|
-
"example": "
|
6151
|
+
"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>PAGING_SEAL:骑缝章</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
|
6152
|
+
"example": "OPEN_SERVER_SIGN",
|
6146
6153
|
"member": "string",
|
6147
6154
|
"name": "ExtendServiceType",
|
6148
6155
|
"required": false,
|
@@ -7541,7 +7548,7 @@
|
|
7541
7548
|
"members": [
|
7542
7549
|
{
|
7543
7550
|
"disabled": false,
|
7544
|
-
"document": "扩展服务的类型,可能是以下值:\n<ul><li>OPEN_SERVER_SIGN
|
7551
|
+
"document": "扩展服务的类型,可能是以下值:\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>PAGING_SEAL:骑缝章</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
|
7545
7552
|
"example": "BATCH_SIGN",
|
7546
7553
|
"member": "string",
|
7547
7554
|
"name": "Type",
|
@@ -7563,7 +7570,7 @@
|
|
7563
7570
|
},
|
7564
7571
|
{
|
7565
7572
|
"disabled": false,
|
7566
|
-
"document": "扩展服务的开通状态:\
|
7573
|
+
"document": "扩展服务的开通状态:\n<ul>\n<li>ENABLE : 已开通</li>\n<li>DISABLE : 未开通</li>\n</ul>",
|
7567
7574
|
"example": "ENABLE",
|
7568
7575
|
"member": "string",
|
7569
7576
|
"name": "Status",
|
@@ -9393,6 +9400,79 @@
|
|
9393
9400
|
],
|
9394
9401
|
"type": "object"
|
9395
9402
|
},
|
9403
|
+
"ModifyExtendedServiceRequest": {
|
9404
|
+
"document": "ModifyExtendedService请求参数结构体",
|
9405
|
+
"members": [
|
9406
|
+
{
|
9407
|
+
"disabled": false,
|
9408
|
+
"document": "执行本接口操作的员工信息。\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
9409
|
+
"example": "yDAVwUyKQWho8CUuO4zjEyQOAgwvr4Zy",
|
9410
|
+
"member": "UserInfo",
|
9411
|
+
"name": "Operator",
|
9412
|
+
"required": true,
|
9413
|
+
"type": "object"
|
9414
|
+
},
|
9415
|
+
{
|
9416
|
+
"disabled": false,
|
9417
|
+
"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>PAGING_SEAL:骑缝章</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
|
9418
|
+
"example": "MOBILE_CHECK_APPROVER",
|
9419
|
+
"member": "string",
|
9420
|
+
"name": "ServiceType",
|
9421
|
+
"required": true,
|
9422
|
+
"type": "string"
|
9423
|
+
},
|
9424
|
+
{
|
9425
|
+
"disabled": false,
|
9426
|
+
"document": "操作类型\n<ul>\n<li>OPEN : 开通</li>\n<li>CLOSE : 关闭</li>\n</ul>",
|
9427
|
+
"example": "OPEN",
|
9428
|
+
"member": "string",
|
9429
|
+
"name": "Operate",
|
9430
|
+
"required": true,
|
9431
|
+
"type": "string"
|
9432
|
+
},
|
9433
|
+
{
|
9434
|
+
"disabled": false,
|
9435
|
+
"document": "代理企业和员工的信息。\n在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
9436
|
+
"example": "无",
|
9437
|
+
"member": "Agent",
|
9438
|
+
"name": "Agent",
|
9439
|
+
"required": false,
|
9440
|
+
"type": "object"
|
9441
|
+
},
|
9442
|
+
{
|
9443
|
+
"disabled": false,
|
9444
|
+
"document": "链接跳转类型,支持以下类型\n<ul>\n<li>WEIXINAPP : 短链直接跳转到电子签小程序 (默认值)</li>\n<li>APP : 第三方APP或小程序跳转电子签小程序</li>\n</ul>",
|
9445
|
+
"example": "APP",
|
9446
|
+
"member": "string",
|
9447
|
+
"name": "Endpoint",
|
9448
|
+
"required": false,
|
9449
|
+
"type": "string"
|
9450
|
+
}
|
9451
|
+
],
|
9452
|
+
"type": "object"
|
9453
|
+
},
|
9454
|
+
"ModifyExtendedServiceResponse": {
|
9455
|
+
"document": "ModifyExtendedService返回参数结构体",
|
9456
|
+
"members": [
|
9457
|
+
{
|
9458
|
+
"disabled": false,
|
9459
|
+
"document": "操作跳转链接,有效期24小时\n若操作时没有返回跳转链接,表示无需跳转操作,此时会直接开通/关闭服务。\n\n当操作类型是 OPEN 且 扩展服务类型是 OPEN_SERVER_SIGN 或者 OVERSEA_SIGN 时返回操作链接,\n返回的链接当前操作人(超管或法人)点击链接完成服务开通操作。",
|
9460
|
+
"example": "https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=OPEN_SERVER_SIGN&request_token=xxxxx&organizationId=xxxxx&channelType=xxxxx&expired_time=1673428532&login=1&verify=1",
|
9461
|
+
"member": "string",
|
9462
|
+
"name": "OperateUrl",
|
9463
|
+
"output_required": true,
|
9464
|
+
"type": "string",
|
9465
|
+
"value_allowed_null": false
|
9466
|
+
},
|
9467
|
+
{
|
9468
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
9469
|
+
"member": "string",
|
9470
|
+
"name": "RequestId",
|
9471
|
+
"type": "string"
|
9472
|
+
}
|
9473
|
+
],
|
9474
|
+
"type": "object"
|
9475
|
+
},
|
9396
9476
|
"ModifyIntegrationDepartmentRequest": {
|
9397
9477
|
"document": "ModifyIntegrationDepartment请求参数结构体",
|
9398
9478
|
"members": [
|
@@ -1272,6 +1272,26 @@
|
|
1272
1272
|
"title": "新增应用回调配置"
|
1273
1273
|
}
|
1274
1274
|
],
|
1275
|
+
"ModifyExtendedService": [
|
1276
|
+
{
|
1277
|
+
"document": "",
|
1278
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyExtendedService\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"8.8.8.8\",\n \"UserId\": \"yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl\"\n },\n \"ServiceType\": \"OPEN_SERVER_SIGN\",\n \"Operate\": \"CLOSE\",\n \"Endpoint\": \"WEIXINAPP\"\n}",
|
1279
|
+
"output": "{\n \"Response\": {\n \"OperateUrl\": \"\",\n \"RequestId\": \"s1703747615889528031\"\n }\n}",
|
1280
|
+
"title": "关闭自动签署"
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"document": "1.开通企业自动签署(ServiceType 设置为WEIXINAPP)\n2.设置Endpoint 为WEIXINAPP ,得到小程序链接,操作人可拿链接签署协议开通自动签署",
|
1284
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyExtendedService\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"8.8.8.8\",\n \"UserId\": \"yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl\"\n },\n \"ServiceType\": \"OPEN_SERVER_SIGN\",\n \"Operate\": \"OPEN\",\n \"Endpoint\": \"WEIXINAPP\"\n}",
|
1285
|
+
"output": "{\n \"Response\": {\n \"OperateUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=OPEN_SERVER_SIGN&request_token=yAABVUUckpt7e9gdUEcsWM19s3pglRL2&organizationId=yDxjOUUgydjf7zv3ACO4zjEC0AKihrfi&channelType=TENCENTCLOUD&expired_time=1703834015&login=1&verify=1\",\n \"RequestId\": \"s1703747615889528031\"\n }\n}",
|
1286
|
+
"title": "开通自动签署"
|
1287
|
+
},
|
1288
|
+
{
|
1289
|
+
"document": "",
|
1290
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyExtendedService\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"8.8.8.8\",\n \"UserId\": \"yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl\"\n },\n \"ServiceType\": \"OPEN_SERVER\",\n \"Operate\": \"CLOSE\",\n \"Endpoint\": \"WEIXINAPP\"\n}",
|
1291
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.ParamError\",\n \"Message\": \"非法的扩展服务类型OPEN_SERVER,请确认后重试\"\n },\n \"RequestId\": \"s1703747916297948958\"\n }\n}",
|
1292
|
+
"title": "管理不支持的扩展服务"
|
1293
|
+
}
|
1294
|
+
],
|
1275
1295
|
"ModifyIntegrationDepartment": [
|
1276
1296
|
{
|
1277
1297
|
"document": "更新部门ID对应部门的部门名称、客户系统部门ID和排序号。",
|
@@ -358,7 +358,7 @@
|
|
358
358
|
"status": "online"
|
359
359
|
},
|
360
360
|
"CreateSignUrls": {
|
361
|
-
"document": "创建跳转小程序查看或签署的链接\n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |\n\n**主要使用场景可以更加EndPoint分类如下**\n\n|EndPoint| 场景| 说明和示例|\n| ---- | ---- | --- |\n| WEIXINAPP | 短链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序(与腾讯电子签官方短信提醒用户签署形式一样)<br> 示例: https://essurl.cn/x9nvWU8fTg|\n| LONGURL2WEIXINAPP | 长链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序, 是WEIXINAPP生成短链代表的那个长链|\n| CHANNEL | 带有H5引导页的跳转腾讯电子签小程序签署场景 | 点击链接打开一个H5引导页面, 页面中有个\"前往小程序\"的按钮, 点击后会跳转到腾讯电子签小程序签署场景; 签署完成会回到H5引导页面, 然后跳转到指定创建链接指定的JumpUrl<br>示例: https://res.ess.tencent.cn/cdn/h5-activity-beta/jump-mp.html?use=channel-guide&type=warning&token=uIFKIU8fTd |\n|APP|
|
361
|
+
"document": "创建跳转小程序查看或签署的链接\n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |\n\n**主要使用场景可以更加EndPoint分类如下**\n\n|EndPoint| 场景| 说明和示例|\n| ---- | ---- | --- |\n| WEIXINAPP | 短链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序(与腾讯电子签官方短信提醒用户签署形式一样)<br> 示例: https://essurl.cn/x9nvWU8fTg|\n| LONGURL2WEIXINAPP | 长链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序, 是WEIXINAPP生成短链代表的那个长链|\n| CHANNEL | 带有H5引导页的跳转腾讯电子签小程序签署场景 | 点击链接打开一个H5引导页面, 页面中有个\"前往小程序\"的按钮, 点击后会跳转到腾讯电子签小程序签署场景; 签署完成会回到H5引导页面, 然后跳转到指定创建链接指定的JumpUrl<br>示例: https://res.ess.tencent.cn/cdn/h5-activity-beta/jump-mp.html?use=channel-guide&type=warning&token=uIFKIU8fTd |\n|APP| <font color=\"red\">贵方APP</font>跳转腾讯电子签小程序签署场景| 贵方App直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方App的场景<br>跳转到腾讯电子签小程序的实现可以参考微信的官方文档:<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html\" target=\"_blank\">开放能力/打开 App</a> <br> 示例: pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |\n|APP| <font color=\"red\">贵方小程序</font>跳转腾讯电子签小程序签署场景| 贵方小程序直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方小程序的场景<br>跳转到腾讯电子签小程序的实现可以参考微信官方文档<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\" target=\"_blank\">全屏方式</a>和<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html \" target=\"_blank\">半屏方式</a><br>此时返回的SignUrl就是官方文档中的path<br> 示例:pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |",
|
362
362
|
"input": "CreateSignUrlsRequest",
|
363
363
|
"name": "获取跳转至腾讯电子签小程序的签署链接",
|
364
364
|
"output": "CreateSignUrlsResponse",
|
@@ -407,7 +407,7 @@
|
|
407
407
|
"status": "online"
|
408
408
|
},
|
409
409
|
"DescribeExtendedServiceAuthInfo": {
|
410
|
-
"document": "查询企业扩展服务的开通和授权情况,当前支持查询以下内容:\n1.
|
410
|
+
"document": "查询企业扩展服务的开通和授权情况,当前支持查询以下内容:\n\n1. **企业自动签**\n2. **企业与港澳台居民签署合同**\n3. **使用手机号验证签署方身份**\n4. **骑缝章**\n5. **拓宽签署方年龄限制**\n6. **下载企业合同/文件**\n7. **隐藏合同经办人姓名**\n\n对应能力开通页面在子客控制台-企业中心-拓展服务,如下图所示:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/931a1e02955ab36e5cc69a489af10352.jpg)\n\n注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)",
|
411
411
|
"input": "DescribeExtendedServiceAuthInfoRequest",
|
412
412
|
"name": "查询企业扩展服务授权信息",
|
413
413
|
"output": "DescribeExtendedServiceAuthInfoResponse",
|
@@ -449,9 +449,9 @@
|
|
449
449
|
"status": "online"
|
450
450
|
},
|
451
451
|
"ModifyExtendedService": {
|
452
|
-
"document": "
|
452
|
+
"document": "管理企业扩展服务 ,企业经办人需要是企业超管或者法人。\n\n跳转小程序的几种方式:主要是设置不同的EndPoint\n1. 通过链接Url直接跳转到小程序,不需要返回\n设置EndPoint为WEIXINAPP,得到链接打开即可。\n\n2. 客户App直接跳转到小程序-->腾讯电子签小程序操作完成-->返回App\n跳转到小程序的实现,参考官方文档<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html\">打开 App</a>\n设置EndPoint为APP,得到path。\n\n3. 客户小程序直接跳到电子签小程序-->腾讯电子签小程序操作完成--->回到客户小程序\n跳转到小程序的实现,参考官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>\n设置EndPoint为APP,得到path。\n\n4.其中小程序的原始Id如下,或者查看小程序信息自助获取。\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |",
|
453
453
|
"input": "ModifyExtendedServiceRequest",
|
454
|
-
"name": "
|
454
|
+
"name": "管理企业扩展服务",
|
455
455
|
"output": "ModifyExtendedServiceResponse",
|
456
456
|
"status": "online"
|
457
457
|
},
|
@@ -5883,7 +5883,7 @@
|
|
5883
5883
|
},
|
5884
5884
|
{
|
5885
5885
|
"disabled": false,
|
5886
|
-
"document": "生成链接的类型:\n<ul><li>**PC**:(默认)web
|
5886
|
+
"document": "生成链接的类型:\n<ul><li>**PC**:(默认)<font color=\"red\">web控制台</font>链接, 需要在PC浏览器中打开</li>\n<li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>\n<li>**SHORT_URL**:<font color=\"red\">H5</font>跳转到电子签小程序链接的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>\n<li>**APP**:<font color=\"red\">APP或小程序</font>跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li></ul>",
|
5887
5887
|
"example": "PC",
|
5888
5888
|
"member": "string",
|
5889
5889
|
"name": "Endpoint",
|
@@ -7076,7 +7076,7 @@
|
|
7076
7076
|
"members": [
|
7077
7077
|
{
|
7078
7078
|
"disabled": false,
|
7079
|
-
"document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。\n\n此接口下面信息必填。\n<ul>\n<li>渠道应用标识: Agent.
|
7079
|
+
"document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。\n\n此接口下面信息必填。\n<ul>\n<li>渠道应用标识: Agent.AppId</li>\n<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>\n<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>\n</ul>\n第三方平台子客企业和员工必须已经经过实名认证",
|
7080
7080
|
"example": "无",
|
7081
7081
|
"member": "Agent",
|
7082
7082
|
"name": "Agent",
|
@@ -7575,7 +7575,7 @@
|
|
7575
7575
|
"members": [
|
7576
7576
|
{
|
7577
7577
|
"disabled": false,
|
7578
|
-
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN
|
7578
|
+
"document": "扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li> PAGING_SEAL 骑缝章</li>\n<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>\n<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>\n<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>\n</ul>",
|
7579
7579
|
"example": "AUTO_SIGN",
|
7580
7580
|
"member": "string",
|
7581
7581
|
"name": "Type",
|
@@ -8877,7 +8877,7 @@
|
|
8877
8877
|
},
|
8878
8878
|
{
|
8879
8879
|
"disabled": false,
|
8880
|
-
"document": " 扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN
|
8880
|
+
"document": " 扩展服务类型\n<ul>\n<li>AUTO_SIGN 企业自动签(自动签署)</li>\n<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>\n<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>\n<li> PAGING_SEAL 骑缝章</li>\n<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>\n<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>\n<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>\n</ul>",
|
8881
8881
|
"example": "AUTO_SIGN",
|
8882
8882
|
"member": "string",
|
8883
8883
|
"name": "ServiceType",
|
@@ -8886,7 +8886,7 @@
|
|
8886
8886
|
},
|
8887
8887
|
{
|
8888
8888
|
"disabled": false,
|
8889
|
-
"document": "
|
8889
|
+
"document": "操作类型\n<ul>\n<li>OPEN : 开通</li>\n<li>CLOSE : 关闭</li>\n</ul>",
|
8890
8890
|
"example": "OPEN",
|
8891
8891
|
"member": "string",
|
8892
8892
|
"name": "Operate",
|
@@ -8910,7 +8910,7 @@
|
|
8910
8910
|
"members": [
|
8911
8911
|
{
|
8912
8912
|
"disabled": false,
|
8913
|
-
"document": "操作跳转链接,有效期24小时\n若操作时没有返回跳转链接,表示无需跳转操作,此时会直接开通/关闭服务。\n\n当操作类型是 OPEN 且 扩展服务类型是
|
8913
|
+
"document": "操作跳转链接,有效期24小时\n若操作时没有返回跳转链接,表示无需跳转操作,此时会直接开通/关闭服务。\n\n当操作类型是 OPEN 且 扩展服务类型是 AUTO_SIGN 或 DOWNLOAD_FLOW 或者 OVERSEA_SIGN 时返回操作链接,\n返回的链接需要平台方自行触达超管或法人,超管或法人点击链接完成服务开通操作",
|
8914
8914
|
"example": "https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=OPEN_SERVER_SIGN&request_token=xxxxx&organizationId=xxxxx&channelType=xxxxx&expired_time=1673428532&login=1&verify=1",
|
8915
8915
|
"member": "string",
|
8916
8916
|
"name": "OperateUrl",
|
@@ -10906,7 +10906,7 @@
|
|
10906
10906
|
},
|
10907
10907
|
{
|
10908
10908
|
"disabled": false,
|
10909
|
-
"document": "
|
10909
|
+
"document": "此模板中的签署控件列表",
|
10910
10910
|
"example": "无",
|
10911
10911
|
"member": "Component",
|
10912
10912
|
"name": "SignComponents",
|
@@ -1889,6 +1889,58 @@ def doDescribeSystemResources(args, parsed_globals):
|
|
1889
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1890
|
|
1891
1891
|
|
1892
|
+
def doGetMetaTable(args, parsed_globals):
|
1893
|
+
g_param = parse_global_arg(parsed_globals)
|
1894
|
+
|
1895
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1896
|
+
cred = credential.CVMRoleCredential()
|
1897
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1898
|
+
cred = credential.STSAssumeRoleCredential(
|
1899
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1900
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
1901
|
+
)
|
1902
|
+
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):
|
1903
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1904
|
+
else:
|
1905
|
+
cred = credential.Credential(
|
1906
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1907
|
+
)
|
1908
|
+
http_profile = HttpProfile(
|
1909
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1910
|
+
reqMethod="POST",
|
1911
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1912
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1913
|
+
)
|
1914
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1915
|
+
if g_param[OptionsDefine.Language]:
|
1916
|
+
profile.language = g_param[OptionsDefine.Language]
|
1917
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1918
|
+
client = mod.OceanusClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1920
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
+
model = models.GetMetaTableRequest()
|
1922
|
+
model.from_json_string(json.dumps(args))
|
1923
|
+
start_time = time.time()
|
1924
|
+
while True:
|
1925
|
+
rsp = client.GetMetaTable(model)
|
1926
|
+
result = rsp.to_json_string()
|
1927
|
+
try:
|
1928
|
+
json_obj = json.loads(result)
|
1929
|
+
except TypeError as e:
|
1930
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1931
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1932
|
+
break
|
1933
|
+
cur_time = time.time()
|
1934
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1935
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1936
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1937
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1938
|
+
else:
|
1939
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1940
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1941
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
|
+
|
1943
|
+
|
1892
1944
|
def doDescribeJobConfigs(args, parsed_globals):
|
1893
1945
|
g_param = parse_global_arg(parsed_globals)
|
1894
1946
|
|
@@ -1988,6 +2040,7 @@ ACTION_MAP = {
|
|
1988
2040
|
"ModifyJob": doModifyJob,
|
1989
2041
|
"CreateResource": doCreateResource,
|
1990
2042
|
"DescribeSystemResources": doDescribeSystemResources,
|
2043
|
+
"GetMetaTable": doGetMetaTable,
|
1991
2044
|
"DescribeJobConfigs": doDescribeJobConfigs,
|
1992
2045
|
|
1993
2046
|
}
|