tccli 3.0.1148.1__py2.py3-none-any.whl → 3.0.1149.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +63 -16
- tccli/services/cwp/v20180228/examples.json +1 -1
- 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/live/v20180801/api.json +6 -0
- tccli/services/live/v20180801/examples.json +1 -1
- 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/mongodb/v20190725/api.json +35 -35
- tccli/services/monitor/v20180724/api.json +1 -1
- 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 +4 -2
- tccli/services/thpc/v20230321/api.json +11 -3
- tccli/services/trtc/v20190722/api.json +15 -5
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1149.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1149.1.dist-info}/RECORD +32 -32
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1149.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1149.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1148.1.dist-info → tccli-3.0.1149.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1149.1'
|
@@ -2454,7 +2454,7 @@
|
|
2454
2454
|
{
|
2455
2455
|
"disabled": false,
|
2456
2456
|
"document": "SAML身份提供商名称",
|
2457
|
-
"example": "",
|
2457
|
+
"example": "testName",
|
2458
2458
|
"member": "string",
|
2459
2459
|
"name": "Name",
|
2460
2460
|
"required": true,
|
@@ -7016,7 +7016,7 @@
|
|
7016
7016
|
{
|
7017
7017
|
"disabled": false,
|
7018
7018
|
"document": "SAML身份提供商名称",
|
7019
|
-
"example": "",
|
7019
|
+
"example": "testName",
|
7020
7020
|
"member": "string",
|
7021
7021
|
"name": "Name",
|
7022
7022
|
"required": true,
|
@@ -7025,7 +7025,7 @@
|
|
7025
7025
|
{
|
7026
7026
|
"disabled": false,
|
7027
7027
|
"document": "SAML身份提供商描述",
|
7028
|
-
"example": "",
|
7028
|
+
"example": "test",
|
7029
7029
|
"member": "string",
|
7030
7030
|
"name": "Description",
|
7031
7031
|
"required": false,
|
@@ -7034,7 +7034,7 @@
|
|
7034
7034
|
{
|
7035
7035
|
"disabled": false,
|
7036
7036
|
"document": "SAML身份提供商Base64编码的元数据文档",
|
7037
|
-
"example": "",
|
7037
|
+
"example": "PD94bWwgdmVyc2lvbj0iMS4wIi***",
|
7038
7038
|
"member": "string",
|
7039
7039
|
"name": "SAMLMetadataDocument",
|
7040
7040
|
"required": false,
|
@@ -687,7 +687,7 @@
|
|
687
687
|
"UpdateSAMLProvider": [
|
688
688
|
{
|
689
689
|
"document": "",
|
690
|
-
"input": "
|
690
|
+
"input": "https://cam.tencentcloudapi.com/?Action=UpdateSAMLProvider\r\n&Name=testName\r\n&Description=testProvider\r\n&SAMLMetadataDocument=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D&Signature=bmqyzCmdLxEFbsI6pu40V%2BEbWNo%3D\r\n&<公共请求参数>",
|
691
691
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1e44e8e5-7878-4aa0-8bd2-555dde56cddb\"\n }\n}",
|
692
692
|
"title": "更新身份提供商"
|
693
693
|
}
|
@@ -28853,7 +28853,7 @@
|
|
28853
28853
|
"example": "1",
|
28854
28854
|
"member": "uint64",
|
28855
28855
|
"name": "CheckPattern",
|
28856
|
-
"
|
28856
|
+
"output_required": true,
|
28857
28857
|
"type": "int",
|
28858
28858
|
"value_allowed_null": false
|
28859
28859
|
},
|
@@ -28863,7 +28863,7 @@
|
|
28863
28863
|
"example": "xxx",
|
28864
28864
|
"member": "string",
|
28865
28865
|
"name": "StartTime",
|
28866
|
-
"
|
28866
|
+
"output_required": true,
|
28867
28867
|
"type": "string",
|
28868
28868
|
"value_allowed_null": false
|
28869
28869
|
},
|
@@ -28873,7 +28873,7 @@
|
|
28873
28873
|
"example": "xxx",
|
28874
28874
|
"member": "string",
|
28875
28875
|
"name": "EndTime",
|
28876
|
-
"
|
28876
|
+
"output_required": true,
|
28877
28877
|
"type": "string",
|
28878
28878
|
"value_allowed_null": false
|
28879
28879
|
},
|
@@ -28883,7 +28883,7 @@
|
|
28883
28883
|
"example": "1",
|
28884
28884
|
"member": "uint64",
|
28885
28885
|
"name": "IsGlobal",
|
28886
|
-
"
|
28886
|
+
"output_required": true,
|
28887
28887
|
"type": "int",
|
28888
28888
|
"value_allowed_null": false
|
28889
28889
|
},
|
@@ -28893,7 +28893,7 @@
|
|
28893
28893
|
"example": "[]",
|
28894
28894
|
"member": "string",
|
28895
28895
|
"name": "QuuidList",
|
28896
|
-
"
|
28896
|
+
"output_required": true,
|
28897
28897
|
"type": "list",
|
28898
28898
|
"value_allowed_null": true
|
28899
28899
|
},
|
@@ -28903,7 +28903,7 @@
|
|
28903
28903
|
"example": "1",
|
28904
28904
|
"member": "uint64",
|
28905
28905
|
"name": "MonitoringPattern",
|
28906
|
-
"
|
28906
|
+
"output_required": true,
|
28907
28907
|
"type": "int",
|
28908
28908
|
"value_allowed_null": false
|
28909
28909
|
},
|
@@ -28913,7 +28913,7 @@
|
|
28913
28913
|
"example": "1",
|
28914
28914
|
"member": "uint64",
|
28915
28915
|
"name": "Cycle",
|
28916
|
-
"
|
28916
|
+
"output_required": true,
|
28917
28917
|
"type": "int",
|
28918
28918
|
"value_allowed_null": false
|
28919
28919
|
},
|
@@ -28923,7 +28923,7 @@
|
|
28923
28923
|
"example": "1",
|
28924
28924
|
"member": "int64",
|
28925
28925
|
"name": "EnableScan",
|
28926
|
-
"
|
28926
|
+
"output_required": true,
|
28927
28927
|
"type": "int",
|
28928
28928
|
"value_allowed_null": false
|
28929
28929
|
},
|
@@ -28933,7 +28933,7 @@
|
|
28933
28933
|
"example": "xxx",
|
28934
28934
|
"member": "int64",
|
28935
28935
|
"name": "Id",
|
28936
|
-
"
|
28936
|
+
"output_required": true,
|
28937
28937
|
"type": "int",
|
28938
28938
|
"value_allowed_null": false
|
28939
28939
|
},
|
@@ -28943,7 +28943,7 @@
|
|
28943
28943
|
"example": "1",
|
28944
28944
|
"member": "int64",
|
28945
28945
|
"name": "RealTimeMonitoring",
|
28946
|
-
"
|
28946
|
+
"output_required": true,
|
28947
28947
|
"type": "int",
|
28948
28948
|
"value_allowed_null": false
|
28949
28949
|
},
|
@@ -28953,7 +28953,7 @@
|
|
28953
28953
|
"example": "1",
|
28954
28954
|
"member": "uint64",
|
28955
28955
|
"name": "AutoIsolation",
|
28956
|
-
"
|
28956
|
+
"output_required": true,
|
28957
28957
|
"type": "int",
|
28958
28958
|
"value_allowed_null": false
|
28959
28959
|
},
|
@@ -28963,7 +28963,7 @@
|
|
28963
28963
|
"example": "60",
|
28964
28964
|
"member": "uint64",
|
28965
28965
|
"name": "ClickTimeout",
|
28966
|
-
"
|
28966
|
+
"output_required": true,
|
28967
28967
|
"type": "int",
|
28968
28968
|
"value_allowed_null": false
|
28969
28969
|
},
|
@@ -28973,7 +28973,7 @@
|
|
28973
28973
|
"example": "1",
|
28974
28974
|
"member": "uint64",
|
28975
28975
|
"name": "KillProcess",
|
28976
|
-
"
|
28976
|
+
"output_required": true,
|
28977
28977
|
"type": "int",
|
28978
28978
|
"value_allowed_null": false
|
28979
28979
|
},
|
@@ -28983,7 +28983,7 @@
|
|
28983
28983
|
"example": "1",
|
28984
28984
|
"member": "uint64",
|
28985
28985
|
"name": "EngineType",
|
28986
|
-
"
|
28986
|
+
"output_required": true,
|
28987
28987
|
"type": "int",
|
28988
28988
|
"value_allowed_null": false
|
28989
28989
|
},
|
@@ -28993,7 +28993,7 @@
|
|
28993
28993
|
"example": "1",
|
28994
28994
|
"member": "uint64",
|
28995
28995
|
"name": "EnableInspiredEngine",
|
28996
|
-
"
|
28996
|
+
"output_required": true,
|
28997
28997
|
"type": "int",
|
28998
28998
|
"value_allowed_null": false
|
28999
28999
|
},
|
@@ -29003,7 +29003,27 @@
|
|
29003
29003
|
"example": "1",
|
29004
29004
|
"member": "uint64",
|
29005
29005
|
"name": "EnableMemShellScan",
|
29006
|
-
"
|
29006
|
+
"output_required": true,
|
29007
|
+
"type": "int",
|
29008
|
+
"value_allowed_null": false
|
29009
|
+
},
|
29010
|
+
{
|
29011
|
+
"disabled": false,
|
29012
|
+
"document": "防护模式 0 标准 1 重保",
|
29013
|
+
"example": "0",
|
29014
|
+
"member": "uint64",
|
29015
|
+
"name": "ProtectMode",
|
29016
|
+
"output_required": false,
|
29017
|
+
"type": "int",
|
29018
|
+
"value_allowed_null": false
|
29019
|
+
},
|
29020
|
+
{
|
29021
|
+
"disabled": false,
|
29022
|
+
"document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件",
|
29023
|
+
"example": "0",
|
29024
|
+
"member": "uint64",
|
29025
|
+
"name": "ProtectFileScope",
|
29026
|
+
"output_required": false,
|
29007
29027
|
"type": "int",
|
29008
29028
|
"value_allowed_null": false
|
29009
29029
|
},
|
@@ -47974,6 +47994,15 @@
|
|
47974
47994
|
"required": false,
|
47975
47995
|
"type": "int"
|
47976
47996
|
},
|
47997
|
+
{
|
47998
|
+
"disabled": false,
|
47999
|
+
"document": "1 清理, 0 不清理\n<li>本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用</li>",
|
48000
|
+
"example": "无",
|
48001
|
+
"member": "uint64",
|
48002
|
+
"name": "DoClean",
|
48003
|
+
"required": false,
|
48004
|
+
"type": "int"
|
48005
|
+
},
|
47977
48006
|
{
|
47978
48007
|
"disabled": false,
|
47979
48008
|
"document": "1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)",
|
@@ -48000,6 +48029,24 @@
|
|
48000
48029
|
"name": "EnableMemShellScan",
|
48001
48030
|
"required": false,
|
48002
48031
|
"type": "int"
|
48032
|
+
},
|
48033
|
+
{
|
48034
|
+
"disabled": false,
|
48035
|
+
"document": "防护模式 0 标准 1重保",
|
48036
|
+
"example": "0",
|
48037
|
+
"member": "uint64",
|
48038
|
+
"name": "ProtectMode",
|
48039
|
+
"required": false,
|
48040
|
+
"type": "int"
|
48041
|
+
},
|
48042
|
+
{
|
48043
|
+
"disabled": false,
|
48044
|
+
"document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件",
|
48045
|
+
"example": "0",
|
48046
|
+
"member": "uint64",
|
48047
|
+
"name": "ProtectFileScope",
|
48048
|
+
"required": false,
|
48049
|
+
"type": "int"
|
48003
48050
|
}
|
48004
48051
|
],
|
48005
48052
|
"type": "object"
|
@@ -1992,7 +1992,7 @@
|
|
1992
1992
|
{
|
1993
1993
|
"document": "",
|
1994
1994
|
"input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMalwareTimingScanSetting\n<公共请求参数>\n\n{}",
|
1995
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1\n }\n}",
|
1995
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1,\n \"ProtectMode\": 0,\n \"ProtectFileScope\": 0\n }\n}",
|
1996
1996
|
"title": "查询定时扫描配置"
|
1997
1997
|
}
|
1998
1998
|
],
|
tccli/services/ess/ess_client.py
CHANGED
@@ -2877,6 +2877,58 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
|
|
2877
2877
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2878
2878
|
|
2879
2879
|
|
2880
|
+
def doCreateEmployeeQualificationSealQrCode(args, parsed_globals):
|
2881
|
+
g_param = parse_global_arg(parsed_globals)
|
2882
|
+
|
2883
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2884
|
+
cred = credential.CVMRoleCredential()
|
2885
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2886
|
+
cred = credential.STSAssumeRoleCredential(
|
2887
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2888
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2889
|
+
)
|
2890
|
+
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):
|
2891
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2892
|
+
else:
|
2893
|
+
cred = credential.Credential(
|
2894
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2895
|
+
)
|
2896
|
+
http_profile = HttpProfile(
|
2897
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2898
|
+
reqMethod="POST",
|
2899
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2900
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2901
|
+
)
|
2902
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2903
|
+
if g_param[OptionsDefine.Language]:
|
2904
|
+
profile.language = g_param[OptionsDefine.Language]
|
2905
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2906
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2907
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2908
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2909
|
+
model = models.CreateEmployeeQualificationSealQrCodeRequest()
|
2910
|
+
model.from_json_string(json.dumps(args))
|
2911
|
+
start_time = time.time()
|
2912
|
+
while True:
|
2913
|
+
rsp = client.CreateEmployeeQualificationSealQrCode(model)
|
2914
|
+
result = rsp.to_json_string()
|
2915
|
+
try:
|
2916
|
+
json_obj = json.loads(result)
|
2917
|
+
except TypeError as e:
|
2918
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2919
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2920
|
+
break
|
2921
|
+
cur_time = time.time()
|
2922
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2923
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2924
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2925
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2926
|
+
else:
|
2927
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2928
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2929
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2930
|
+
|
2931
|
+
|
2880
2932
|
def doCreateExtendedServiceAuthInfos(args, parsed_globals):
|
2881
2933
|
g_param = parse_global_arg(parsed_globals)
|
2882
2934
|
|
@@ -4555,6 +4607,7 @@ ACTION_MAP = {
|
|
4555
4607
|
"DescribeUserVerifyStatus": doDescribeUserVerifyStatus,
|
4556
4608
|
"ModifyIntegrationRole": doModifyIntegrationRole,
|
4557
4609
|
"CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
|
4610
|
+
"CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode,
|
4558
4611
|
"CreateExtendedServiceAuthInfos": doCreateExtendedServiceAuthInfos,
|
4559
4612
|
"CreateOrganizationInfoChangeUrl": doCreateOrganizationInfoChangeUrl,
|
4560
4613
|
"CreateConvertTaskApi": doCreateConvertTaskApi,
|
@@ -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,
|