tccli 3.0.1327.1__py2.py3-none-any.whl → 3.0.1329.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/apm/v20210622/api.json +10 -1
- tccli/services/apm/v20210622/examples.json +2 -2
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +15 -15
- tccli/services/ccc/v20200210/api.json +36 -0
- tccli/services/cdb/v20170320/api.json +21 -3
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +3 -3
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +1 -1
- tccli/services/chc/chc_client.py +53 -0
- tccli/services/chc/v20230418/api.json +62 -0
- tccli/services/chc/v20230418/examples.json +8 -0
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cwp/v20180228/api.json +92 -1
- tccli/services/dbbrain/v20210527/api.json +4 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +3 -3
- tccli/services/emr/v20190103/api.json +175 -10
- tccli/services/ess/ess_client.py +126 -20
- tccli/services/ess/v20201111/api.json +136 -2
- tccli/services/ess/v20201111/examples.json +22 -0
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/gs/gs_client.py +729 -146
- tccli/services/gs/v20191118/api.json +758 -29
- tccli/services/gs/v20191118/examples.json +88 -0
- tccli/services/hai/hai_client.py +53 -0
- tccli/services/hai/v20230812/api.json +62 -0
- tccli/services/hai/v20230812/examples.json +8 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +263 -0
- tccli/services/ioa/v20220601/examples.json +8 -0
- tccli/services/iotexplorer/v20190423/api.json +57 -6
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +315 -4
- tccli/services/lke/v20231130/examples.json +4 -4
- tccli/services/mariadb/v20170312/api.json +10 -10
- tccli/services/ocr/v20181119/api.json +76 -11
- tccli/services/partners/v20180321/api.json +7 -7
- tccli/services/sqlserver/v20180328/api.json +29 -2
- tccli/services/ssl/v20191205/api.json +79 -0
- tccli/services/ssl/v20191205/examples.json +6 -6
- tccli/services/tcss/v20201101/api.json +58 -3
- tccli/services/tcss/v20201101/examples.json +2 -2
- tccli/services/tem/tem_client.py +53 -0
- tccli/services/tem/v20210701/api.json +107 -0
- tccli/services/tem/v20210701/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +807 -74
- tccli/services/teo/v20220901/examples.json +2 -2
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20220501/api.json +61 -0
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/trtc/trtc_client.py +216 -4
- tccli/services/trtc/v20190722/api.json +431 -2
- tccli/services/trtc/v20190722/examples.json +32 -0
- tccli/services/vclm/v20240523/api.json +173 -0
- tccli/services/vclm/v20240523/examples.json +16 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vm/v20210922/api.json +16 -20
- tccli/services/vod/v20180717/api.json +13 -11
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vpc/v20170312/api.json +10 -1
- tccli/services/waf/v20180125/api.json +2 -2
- tccli/services/wedata/v20210820/api.json +952 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/ess/ess_client.py
CHANGED
@@ -1213,7 +1213,7 @@ def doCreateFlowReminds(args, parsed_globals):
|
|
1213
1213
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
1214
|
|
1215
1215
|
|
1216
|
-
def
|
1216
|
+
def doCreateUserNameChangeUrl(args, parsed_globals):
|
1217
1217
|
g_param = parse_global_arg(parsed_globals)
|
1218
1218
|
|
1219
1219
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1242,11 +1242,11 @@ def doDescribePersonCertificate(args, parsed_globals):
|
|
1242
1242
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1243
1243
|
client._sdkVersion += ("_CLI_" + __version__)
|
1244
1244
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1245
|
-
model = models.
|
1245
|
+
model = models.CreateUserNameChangeUrlRequest()
|
1246
1246
|
model.from_json_string(json.dumps(args))
|
1247
1247
|
start_time = time.time()
|
1248
1248
|
while True:
|
1249
|
-
rsp = client.
|
1249
|
+
rsp = client.CreateUserNameChangeUrl(model)
|
1250
1250
|
result = rsp.to_json_string()
|
1251
1251
|
try:
|
1252
1252
|
json_obj = json.loads(result)
|
@@ -1317,7 +1317,7 @@ def doDescribeFlowEvidenceReport(args, parsed_globals):
|
|
1317
1317
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
1318
|
|
1319
1319
|
|
1320
|
-
def
|
1320
|
+
def doDescribeContractDiffTaskWebUrl(args, parsed_globals):
|
1321
1321
|
g_param = parse_global_arg(parsed_globals)
|
1322
1322
|
|
1323
1323
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1346,11 +1346,63 @@ def doCreateUserNameChangeUrl(args, parsed_globals):
|
|
1346
1346
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1347
1347
|
client._sdkVersion += ("_CLI_" + __version__)
|
1348
1348
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1349
|
-
model = models.
|
1349
|
+
model = models.DescribeContractDiffTaskWebUrlRequest()
|
1350
1350
|
model.from_json_string(json.dumps(args))
|
1351
1351
|
start_time = time.time()
|
1352
1352
|
while True:
|
1353
|
-
rsp = client.
|
1353
|
+
rsp = client.DescribeContractDiffTaskWebUrl(model)
|
1354
|
+
result = rsp.to_json_string()
|
1355
|
+
try:
|
1356
|
+
json_obj = json.loads(result)
|
1357
|
+
except TypeError as e:
|
1358
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1359
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1360
|
+
break
|
1361
|
+
cur_time = time.time()
|
1362
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1363
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1364
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1365
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1366
|
+
else:
|
1367
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1368
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1369
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
|
+
|
1371
|
+
|
1372
|
+
def doDescribePersonCertificate(args, parsed_globals):
|
1373
|
+
g_param = parse_global_arg(parsed_globals)
|
1374
|
+
|
1375
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1376
|
+
cred = credential.CVMRoleCredential()
|
1377
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1378
|
+
cred = credential.STSAssumeRoleCredential(
|
1379
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1380
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1381
|
+
)
|
1382
|
+
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):
|
1383
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1384
|
+
else:
|
1385
|
+
cred = credential.Credential(
|
1386
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1387
|
+
)
|
1388
|
+
http_profile = HttpProfile(
|
1389
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1390
|
+
reqMethod="POST",
|
1391
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1392
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1393
|
+
)
|
1394
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1395
|
+
if g_param[OptionsDefine.Language]:
|
1396
|
+
profile.language = g_param[OptionsDefine.Language]
|
1397
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1398
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.DescribePersonCertificateRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.DescribePersonCertificate(model)
|
1354
1406
|
result = rsp.to_json_string()
|
1355
1407
|
try:
|
1356
1408
|
json_obj = json.loads(result)
|
@@ -1889,7 +1941,7 @@ def doCreateIntegrationDepartment(args, parsed_globals):
|
|
1889
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1942
|
|
1891
1943
|
|
1892
|
-
def
|
1944
|
+
def doCreateContractDiffTaskWebUrl(args, parsed_globals):
|
1893
1945
|
g_param = parse_global_arg(parsed_globals)
|
1894
1946
|
|
1895
1947
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1918,11 +1970,11 @@ def doCreateFlowEvidenceReport(args, parsed_globals):
|
|
1918
1970
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
1971
|
client._sdkVersion += ("_CLI_" + __version__)
|
1920
1972
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
-
model = models.
|
1973
|
+
model = models.CreateContractDiffTaskWebUrlRequest()
|
1922
1974
|
model.from_json_string(json.dumps(args))
|
1923
1975
|
start_time = time.time()
|
1924
1976
|
while True:
|
1925
|
-
rsp = client.
|
1977
|
+
rsp = client.CreateContractDiffTaskWebUrl(model)
|
1926
1978
|
result = rsp.to_json_string()
|
1927
1979
|
try:
|
1928
1980
|
json_obj = json.loads(result)
|
@@ -2513,6 +2565,58 @@ def doCreateBatchInitOrganizationUrl(args, parsed_globals):
|
|
2513
2565
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2514
2566
|
|
2515
2567
|
|
2568
|
+
def doCreateFlowEvidenceReport(args, parsed_globals):
|
2569
|
+
g_param = parse_global_arg(parsed_globals)
|
2570
|
+
|
2571
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2572
|
+
cred = credential.CVMRoleCredential()
|
2573
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2574
|
+
cred = credential.STSAssumeRoleCredential(
|
2575
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2576
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2577
|
+
)
|
2578
|
+
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):
|
2579
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2580
|
+
else:
|
2581
|
+
cred = credential.Credential(
|
2582
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2583
|
+
)
|
2584
|
+
http_profile = HttpProfile(
|
2585
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2586
|
+
reqMethod="POST",
|
2587
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2588
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2589
|
+
)
|
2590
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2591
|
+
if g_param[OptionsDefine.Language]:
|
2592
|
+
profile.language = g_param[OptionsDefine.Language]
|
2593
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2594
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2595
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2596
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2597
|
+
model = models.CreateFlowEvidenceReportRequest()
|
2598
|
+
model.from_json_string(json.dumps(args))
|
2599
|
+
start_time = time.time()
|
2600
|
+
while True:
|
2601
|
+
rsp = client.CreateFlowEvidenceReport(model)
|
2602
|
+
result = rsp.to_json_string()
|
2603
|
+
try:
|
2604
|
+
json_obj = json.loads(result)
|
2605
|
+
except TypeError as e:
|
2606
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2607
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2608
|
+
break
|
2609
|
+
cur_time = time.time()
|
2610
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2611
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2612
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2613
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2614
|
+
else:
|
2615
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2616
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2617
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2618
|
+
|
2619
|
+
|
2516
2620
|
def doCancelUserAutoSignEnableUrl(args, parsed_globals):
|
2517
2621
|
g_param = parse_global_arg(parsed_globals)
|
2518
2622
|
|
@@ -4333,7 +4437,7 @@ def doCreateBatchCancelFlowUrl(args, parsed_globals):
|
|
4333
4437
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4334
4438
|
|
4335
4439
|
|
4336
|
-
def
|
4440
|
+
def doModifyFlowDeadline(args, parsed_globals):
|
4337
4441
|
g_param = parse_global_arg(parsed_globals)
|
4338
4442
|
|
4339
4443
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4362,11 +4466,11 @@ def doDeleteIntegrationDepartment(args, parsed_globals):
|
|
4362
4466
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
4363
4467
|
client._sdkVersion += ("_CLI_" + __version__)
|
4364
4468
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4365
|
-
model = models.
|
4469
|
+
model = models.ModifyFlowDeadlineRequest()
|
4366
4470
|
model.from_json_string(json.dumps(args))
|
4367
4471
|
start_time = time.time()
|
4368
4472
|
while True:
|
4369
|
-
rsp = client.
|
4473
|
+
rsp = client.ModifyFlowDeadline(model)
|
4370
4474
|
result = rsp.to_json_string()
|
4371
4475
|
try:
|
4372
4476
|
json_obj = json.loads(result)
|
@@ -4489,7 +4593,7 @@ def doCreatePrepareFlow(args, parsed_globals):
|
|
4489
4593
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4490
4594
|
|
4491
4595
|
|
4492
|
-
def
|
4596
|
+
def doDeleteIntegrationDepartment(args, parsed_globals):
|
4493
4597
|
g_param = parse_global_arg(parsed_globals)
|
4494
4598
|
|
4495
4599
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4518,11 +4622,11 @@ def doModifyFlowDeadline(args, parsed_globals):
|
|
4518
4622
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
4519
4623
|
client._sdkVersion += ("_CLI_" + __version__)
|
4520
4624
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4521
|
-
model = models.
|
4625
|
+
model = models.DeleteIntegrationDepartmentRequest()
|
4522
4626
|
model.from_json_string(json.dumps(args))
|
4523
4627
|
start_time = time.time()
|
4524
4628
|
while True:
|
4525
|
-
rsp = client.
|
4629
|
+
rsp = client.DeleteIntegrationDepartment(model)
|
4526
4630
|
result = rsp.to_json_string()
|
4527
4631
|
try:
|
4528
4632
|
json_obj = json.loads(result)
|
@@ -5511,9 +5615,10 @@ ACTION_MAP = {
|
|
5511
5615
|
"CreateIntegrationUserRoles": doCreateIntegrationUserRoles,
|
5512
5616
|
"CreateBatchSignUrl": doCreateBatchSignUrl,
|
5513
5617
|
"CreateFlowReminds": doCreateFlowReminds,
|
5514
|
-
"DescribePersonCertificate": doDescribePersonCertificate,
|
5515
|
-
"DescribeFlowEvidenceReport": doDescribeFlowEvidenceReport,
|
5516
5618
|
"CreateUserNameChangeUrl": doCreateUserNameChangeUrl,
|
5619
|
+
"DescribeFlowEvidenceReport": doDescribeFlowEvidenceReport,
|
5620
|
+
"DescribeContractDiffTaskWebUrl": doDescribeContractDiffTaskWebUrl,
|
5621
|
+
"DescribePersonCertificate": doDescribePersonCertificate,
|
5517
5622
|
"DeleteIntegrationEmployees": doDeleteIntegrationEmployees,
|
5518
5623
|
"CreateUserAutoSignSealUrl": doCreateUserAutoSignSealUrl,
|
5519
5624
|
"DescribeOrganizationAuthStatus": doDescribeOrganizationAuthStatus,
|
@@ -5524,7 +5629,7 @@ ACTION_MAP = {
|
|
5524
5629
|
"DeleteIntegrationRoleUsers": doDeleteIntegrationRoleUsers,
|
5525
5630
|
"CreateFlowGroupByFiles": doCreateFlowGroupByFiles,
|
5526
5631
|
"CreateIntegrationDepartment": doCreateIntegrationDepartment,
|
5527
|
-
"
|
5632
|
+
"CreateContractDiffTaskWebUrl": doCreateContractDiffTaskWebUrl,
|
5528
5633
|
"CreateFlow": doCreateFlow,
|
5529
5634
|
"DescribeExtendedServiceAuthInfos": doDescribeExtendedServiceAuthInfos,
|
5530
5635
|
"CreateLegalSealQrCode": doCreateLegalSealQrCode,
|
@@ -5536,6 +5641,7 @@ ACTION_MAP = {
|
|
5536
5641
|
"DescribeSignFaceVideo": doDescribeSignFaceVideo,
|
5537
5642
|
"CreateFlowSignUrl": doCreateFlowSignUrl,
|
5538
5643
|
"CreateBatchInitOrganizationUrl": doCreateBatchInitOrganizationUrl,
|
5644
|
+
"CreateFlowEvidenceReport": doCreateFlowEvidenceReport,
|
5539
5645
|
"CancelUserAutoSignEnableUrl": doCancelUserAutoSignEnableUrl,
|
5540
5646
|
"DescribeBillUsageDetail": doDescribeBillUsageDetail,
|
5541
5647
|
"DescribeIntegrationDepartments": doDescribeIntegrationDepartments,
|
@@ -5571,10 +5677,10 @@ ACTION_MAP = {
|
|
5571
5677
|
"CancelFlow": doCancelFlow,
|
5572
5678
|
"UnbindEmployeeUserIdWithClientOpenId": doUnbindEmployeeUserIdWithClientOpenId,
|
5573
5679
|
"CreateBatchCancelFlowUrl": doCreateBatchCancelFlowUrl,
|
5574
|
-
"
|
5680
|
+
"ModifyFlowDeadline": doModifyFlowDeadline,
|
5575
5681
|
"CreateFlowApprovers": doCreateFlowApprovers,
|
5576
5682
|
"CreatePrepareFlow": doCreatePrepareFlow,
|
5577
|
-
"
|
5683
|
+
"DeleteIntegrationDepartment": doDeleteIntegrationDepartment,
|
5578
5684
|
"DescribeFlowInfo": doDescribeFlowInfo,
|
5579
5685
|
"CreateSealPolicy": doCreateSealPolicy,
|
5580
5686
|
"DescribeCancelFlowsTask": doDescribeCancelFlowsTask,
|
@@ -77,6 +77,13 @@
|
|
77
77
|
"output": "CreateBatchSignUrlResponse",
|
78
78
|
"status": "online"
|
79
79
|
},
|
80
|
+
"CreateContractDiffTaskWebUrl": {
|
81
|
+
"document": "接口(CreateContractDiffTaskWebUrl)用于创建合同对比的可嵌入web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。\n注:本接口生成的web页面暂不支持<a href=\"https://qian.tencent.com/developers/companyApis/embedPages/CreateWebThemeConfig\" target=\"_blank\">设置本企业嵌入式页面主题配置</a>\n\n未跳过上传确认的嵌入页面长相如下:\n\n跳过上传确认的嵌入页面长相如下:\n",
|
82
|
+
"input": "CreateContractDiffTaskWebUrlRequest",
|
83
|
+
"name": "创建合同对比web页面",
|
84
|
+
"output": "CreateContractDiffTaskWebUrlResponse",
|
85
|
+
"status": "online"
|
86
|
+
},
|
80
87
|
"CreateConvertTaskApi": {
|
81
88
|
"document": "此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />\n前提条件:源文件已经通过 <a href=\"https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles\" target=\"_blank\">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />\n适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同\n适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />\n转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href=\"https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi\" target=\"_blank\">查询转换任务状态</a>接口获取任务状态。<br />\n注: \n1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`\n2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`",
|
82
89
|
"input": "CreateConvertTaskApiRequest",
|
@@ -476,6 +483,13 @@
|
|
476
483
|
"output": "DescribeCancelFlowsTaskResponse",
|
477
484
|
"status": "online"
|
478
485
|
},
|
486
|
+
"DescribeContractDiffTaskWebUrl": {
|
487
|
+
"document": "接口(DescribeContractDiffTaskWebUrl)用于获取合同对比结果可嵌入的web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。\n注:本接口生成的web页面暂不支持<a href=\"https://qian.tencent.com/developers/companyApis/embedPages/CreateWebThemeConfig\" target=\"_blank\">设置本企业嵌入式页面主题配置</a>\n\n嵌入页面长相如下:\n",
|
488
|
+
"input": "DescribeContractDiffTaskWebUrlRequest",
|
489
|
+
"name": "获取合同对比结果web页面",
|
490
|
+
"output": "DescribeContractDiffTaskWebUrlResponse",
|
491
|
+
"status": "online"
|
492
|
+
},
|
479
493
|
"DescribeExtendedServiceAuthDetail": {
|
480
494
|
"document": "查询企业扩展服务的授权详情(列表),当前支持查询以下内容:\n1. 企业自动签(本企业授权、集团企业授权、合作企业授权)\n2. 批量签署能力\n\n\n注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)",
|
481
495
|
"input": "DescribeExtendedServiceAuthDetailRequest",
|
@@ -680,7 +694,7 @@
|
|
680
694
|
"status": "online"
|
681
695
|
},
|
682
696
|
"OperateTemplate": {
|
683
|
-
"document": "此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href=\"https://qian.tencent.com/developers/company/callback_types_templates\" target=\"_blank\">模板操作相关回调</a>\n\n\n# 支持的操作\n## 1. 删除模板 (OperateType=DELETE)\n此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。\n\n## 2. 启用模板 (OperateType=ENABLE)\n此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。\n\n## 3. 停用模板 (OperateType=DISABLE)\n
|
697
|
+
"document": "此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href=\"https://qian.tencent.com/developers/company/callback_types_templates\" target=\"_blank\">模板操作相关回调</a>\n\n\n# 支持的操作\n## 1. 删除模板 (OperateType=DELETE)\n此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。\n\n## 2. 启用模板 (OperateType=ENABLE)\n此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。\n\n## 3. 停用模板 (OperateType=DISABLE)\n此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。\n\n## 4. 复制模板 (OperateType=COPY)\n此操作将复制一个完全一样的模板,仅支持修改模板名称,若要修改其他模板内容,需到腾讯电子签控制台操作。",
|
684
698
|
"input": "OperateTemplateRequest",
|
685
699
|
"name": "企业模板管理",
|
686
700
|
"output": "OperateTemplateResponse",
|
@@ -3039,6 +3053,80 @@
|
|
3039
3053
|
],
|
3040
3054
|
"type": "object"
|
3041
3055
|
},
|
3056
|
+
"CreateContractDiffTaskWebUrlRequest": {
|
3057
|
+
"document": "CreateContractDiffTaskWebUrl请求参数结构体",
|
3058
|
+
"members": [
|
3059
|
+
{
|
3060
|
+
"disabled": false,
|
3061
|
+
"document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。\n\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
3062
|
+
"example": "无",
|
3063
|
+
"member": "UserInfo",
|
3064
|
+
"name": "Operator",
|
3065
|
+
"required": true,
|
3066
|
+
"type": "object"
|
3067
|
+
},
|
3068
|
+
{
|
3069
|
+
"disabled": false,
|
3070
|
+
"document": "是否跳过文件上传确认页。\n当该参数值为`false`时,`OriginalFileResourceId`和`DiffFileResourceId`参数不需要传值,需要在生成的web页面中上传对比文件;\n当该参数值为`true`时,`OriginalFileResourceId`和`DiffFileResourceId`参数必填,生成的web页面将跳过上传页面显示对比结果。",
|
3071
|
+
"example": "false",
|
3072
|
+
"member": "bool",
|
3073
|
+
"name": "SkipFileUpload",
|
3074
|
+
"required": true,
|
3075
|
+
"type": "bool"
|
3076
|
+
},
|
3077
|
+
{
|
3078
|
+
"disabled": false,
|
3079
|
+
"document": "需要对比的原合同文件资源ID,通过<a href=\"https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles\" target=\"_blank\">UploadFiles</a>接口获取文件资源ID。",
|
3080
|
+
"example": "yDttXUUckpx90i17UxPpcHHE1VDpNJPW",
|
3081
|
+
"member": "string",
|
3082
|
+
"name": "OriginalFileResourceId",
|
3083
|
+
"required": false,
|
3084
|
+
"type": "string"
|
3085
|
+
},
|
3086
|
+
{
|
3087
|
+
"disabled": false,
|
3088
|
+
"document": "需要对比的新合同文件资源ID,通过<a href=\"https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles\" target=\"_blank\">UploadFiles</a>接口获取文件资源ID。",
|
3089
|
+
"example": "yDttXUUckpx90i1xUxPpcHHyPdyqVErm",
|
3090
|
+
"member": "string",
|
3091
|
+
"name": "DiffFileResourceId",
|
3092
|
+
"required": false,
|
3093
|
+
"type": "string"
|
3094
|
+
}
|
3095
|
+
],
|
3096
|
+
"type": "object"
|
3097
|
+
},
|
3098
|
+
"CreateContractDiffTaskWebUrlResponse": {
|
3099
|
+
"document": "CreateContractDiffTaskWebUrl返回参数结构体",
|
3100
|
+
"members": [
|
3101
|
+
{
|
3102
|
+
"disabled": false,
|
3103
|
+
"document": "接口返回的合同对比任务ID,可以调用接口<a href=\"https://qian.tencent.com/developers/companyApis/embedPages/DescribeContractDiffTaskWebUrl\" target=\"_blank\">获取合同对比结果web页面</a>查看对比任务的结果。\n当`SkipFileUpload`参数为`true`时才会返回值,否则为空。",
|
3104
|
+
"example": "yDt31UUckpx91cypUyoAic6wP2oyarMN",
|
3105
|
+
"member": "string",
|
3106
|
+
"name": "TaskId",
|
3107
|
+
"output_required": false,
|
3108
|
+
"type": "string",
|
3109
|
+
"value_allowed_null": false
|
3110
|
+
},
|
3111
|
+
{
|
3112
|
+
"disabled": false,
|
3113
|
+
"document": "合同对比嵌入式web页面链接,有效期:5分钟\n链接仅能使用一次",
|
3114
|
+
"example": "https://embed.qian.tencent.cn/contract-compare?embed=1&code=yDtthUUckpx9l14eUy8nTBEypH6h1yKt&channel=TENCENTCLOUD&embedType=CONTRACT_DIFF",
|
3115
|
+
"member": "string",
|
3116
|
+
"name": "WebUrl",
|
3117
|
+
"output_required": true,
|
3118
|
+
"type": "string",
|
3119
|
+
"value_allowed_null": false
|
3120
|
+
},
|
3121
|
+
{
|
3122
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3123
|
+
"member": "string",
|
3124
|
+
"name": "RequestId",
|
3125
|
+
"type": "string"
|
3126
|
+
}
|
3127
|
+
],
|
3128
|
+
"type": "object"
|
3129
|
+
},
|
3042
3130
|
"CreateConvertTaskApiRequest": {
|
3043
3131
|
"document": "CreateConvertTaskApi请求参数结构体",
|
3044
3132
|
"members": [
|
@@ -8985,6 +9073,52 @@
|
|
8985
9073
|
],
|
8986
9074
|
"type": "object"
|
8987
9075
|
},
|
9076
|
+
"DescribeContractDiffTaskWebUrlRequest": {
|
9077
|
+
"document": "DescribeContractDiffTaskWebUrl请求参数结构体",
|
9078
|
+
"members": [
|
9079
|
+
{
|
9080
|
+
"disabled": false,
|
9081
|
+
"document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。\n\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
9082
|
+
"example": "无",
|
9083
|
+
"member": "UserInfo",
|
9084
|
+
"name": "Operator",
|
9085
|
+
"required": true,
|
9086
|
+
"type": "object"
|
9087
|
+
},
|
9088
|
+
{
|
9089
|
+
"disabled": false,
|
9090
|
+
"document": "合同对比任务ID,该参数通过调用接口<a href=\"https://qian.tencent.com/developers/companyApis/embedPages/CreateContractDiffTaskWebUrl\" target=\"_blank\">创建合同对比web页面</a>获取。",
|
9091
|
+
"example": "yDt3wUUckpx9w197UyoAic68BmF35hFu",
|
9092
|
+
"member": "string",
|
9093
|
+
"name": "TaskId",
|
9094
|
+
"required": true,
|
9095
|
+
"type": "string"
|
9096
|
+
}
|
9097
|
+
],
|
9098
|
+
"type": "object"
|
9099
|
+
},
|
9100
|
+
"DescribeContractDiffTaskWebUrlResponse": {
|
9101
|
+
"document": "DescribeContractDiffTaskWebUrl返回参数结构体",
|
9102
|
+
"members": [
|
9103
|
+
{
|
9104
|
+
"disabled": false,
|
9105
|
+
"document": "合同对比嵌入式web页面链接,有效期:5分钟\n链接仅能使用一次",
|
9106
|
+
"example": "https://embed.qian.tencent.cn/contract-compare?embed=1&code=yDt3RUUckpx9s4h8UuFSuGdR9VDNF2lh&channel=TENCENTCLOUD&embedType=CONTRACT_DIFF&businessType=TASK_ID&businessId=yDttgUUckpxxat41UyoAic6CrjE7K0x2",
|
9107
|
+
"member": "string",
|
9108
|
+
"name": "WebUrl",
|
9109
|
+
"output_required": true,
|
9110
|
+
"type": "string",
|
9111
|
+
"value_allowed_null": false
|
9112
|
+
},
|
9113
|
+
{
|
9114
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9115
|
+
"member": "string",
|
9116
|
+
"name": "RequestId",
|
9117
|
+
"type": "string"
|
9118
|
+
}
|
9119
|
+
],
|
9120
|
+
"type": "object"
|
9121
|
+
},
|
8988
9122
|
"DescribeExtendedServiceAuthDetailRequest": {
|
8989
9123
|
"document": "DescribeExtendedServiceAuthDetail请求参数结构体",
|
8990
9124
|
"members": [
|
@@ -13780,7 +13914,7 @@
|
|
13780
13914
|
},
|
13781
13915
|
{
|
13782
13916
|
"disabled": false,
|
13783
|
-
"document": "操作类型,可取值如下:\n<ul>\n<li>DELETE: 删除</li>\n<li>ENABLE: 启用</li>\n<li>DISABLE: 停用</li>\n</ul>",
|
13917
|
+
"document": "操作类型,可取值如下:\n<ul>\n<li>DELETE: 删除</li>\n<li>ENABLE: 启用</li>\n<li>DISABLE: 停用</li>\n<li>COPY: 复制新建</li>\n</ul>",
|
13784
13918
|
"example": "DELETE",
|
13785
13919
|
"member": "string",
|
13786
13920
|
"name": "OperateType",
|
@@ -238,6 +238,20 @@
|
|
238
238
|
"title": "生成动态签署人批量领取链接-并且预设企业名称"
|
239
239
|
}
|
240
240
|
],
|
241
|
+
"CreateContractDiffTaskWebUrl": [
|
242
|
+
{
|
243
|
+
"document": "",
|
244
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateContractDiffTaskWebUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDw9iUUgyg36ykr3Ux4GQpt1FPWYQOZC\"\n },\n \"SkipFileUpload\": true\n}",
|
245
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"s1748574341239597750\",\n \"TaskId\": \"\",\n \"WebUrl\": \"https://embed.qian.tencent.cn/contract-compare?embed=1&code=yDtthUUckpx9l14eUy8nTBEypH6h1yKt&channel=TENCENTCLOUD&embedType=CONTRACT_DIFF\"\n }\n}",
|
246
|
+
"title": "创建合同对比web页面"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"document": "",
|
250
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateContractDiffTaskWebUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDw9iUUgyg36ykr3Ux4GQpt1FPWYQOZC\"\n },\n \"OriginalFileResourceId\": \"yDttXUUckpx90i17UxPpcHHE1VDpNJPW\",\n \"DiffFileResourceId\": \"yDttXUUckpx90i1xUxPpcHHyPdyqVErm\",\n \"SkipFileUpload\": true\n}",
|
251
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"s1748937464610832514\",\n \"TaskId\": \"yDt31UUckpx91cypUyoAic6wP2oyarMN\",\n \"WebUrl\": \"https://embed.qian.tencent.cn/contract-compare?embed=1&code=yDt31UUckpx9196lUxKwEYgzw4fEWCom&channel=TENCENTCLOUD&embedType=CONTRACT_DIFF&businessType=TASK_ID&businessId=yDt31UUckpx91cypUyoAic6wP2oyarMN\"\n }\n}",
|
252
|
+
"title": "创建合同对比web页面 - 跳过文件上传确认页"
|
253
|
+
}
|
254
|
+
],
|
241
255
|
"CreateConvertTaskApi": [
|
242
256
|
{
|
243
257
|
"document": "适用场景:将jpg文件转换为pdf",
|
@@ -1414,6 +1428,14 @@
|
|
1414
1428
|
"title": "查询批量撤销任务结果"
|
1415
1429
|
}
|
1416
1430
|
],
|
1431
|
+
"DescribeContractDiffTaskWebUrl": [
|
1432
|
+
{
|
1433
|
+
"document": "",
|
1434
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeContractDiffTaskWebUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDw9iUUgyg36ykr3Ux4GQpt1FPWYQOZC\"\n },\n \"TaskId\": \"yDttgUUckpxxat41UyoAic6CrjE7K0x2\"\n}",
|
1435
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"s1748918302614730295\",\n \"WebUrl\": \"https://embed.test.qian.tencent.cn/contract-compare?embed=1&code=yDt3RUUckpx9s4h8UuFSuGdR9VDNF2lh&channel=TENCENTCLOUD&embedType=CONTRACT_DIFF&businessType=TASK_ID&businessId=yDttgUUckpxxat41UyoAic6CrjE7K0x2\"\n }\n}",
|
1436
|
+
"title": "获取合同对比结果web页面"
|
1437
|
+
}
|
1438
|
+
],
|
1417
1439
|
"DescribeExtendedServiceAuthDetail": [
|
1418
1440
|
{
|
1419
1441
|
"document": "",
|
@@ -603,7 +603,7 @@
|
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
605
|
"OperateTemplate": {
|
606
|
-
"document": "此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href=\"https://qian.tencent.com/developers/partner/callback_types_templates\" target=\"_blank\">模板操作相关回调</a>\n\n# 支持的操作\n## 1. 删除模板 (OperateType=DELETE)\n此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。\n\n## 2. 启用模板 (OperateType=ENABLE)\n此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。\n\n## 3. 停用模板 (OperateType=DISABLE)\n
|
606
|
+
"document": "此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href=\"https://qian.tencent.com/developers/partner/callback_types_templates\" target=\"_blank\">模板操作相关回调</a>\n\n# 支持的操作\n## 1. 删除模板 (OperateType=DELETE)\n此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。\n\n## 2. 启用模板 (OperateType=ENABLE)\n此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。\n\n## 3. 停用模板 (OperateType=DISABLE)\n此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。\n\n## 4. 复制模板 (OperateType=COPY)\n此操作将复制一个完全一样的模板,仅支持修改模板名称,若要修改其他模板内容,需到腾讯电子签控制台操作。",
|
607
607
|
"input": "OperateTemplateRequest",
|
608
608
|
"name": "企业模板管理",
|
609
609
|
"output": "OperateTemplateResponse",
|
@@ -11888,7 +11888,7 @@
|
|
11888
11888
|
},
|
11889
11889
|
{
|
11890
11890
|
"disabled": false,
|
11891
|
-
"document": "操作类型,可取值如下:\n<ul>\n<li>DELETE: 删除</li>\n<li>ENABLE: 启用</li>\n<li>DISABLE: 停用</li>\n</ul>",
|
11891
|
+
"document": "操作类型,可取值如下:\n<ul>\n<li>DELETE: 删除</li>\n<li>ENABLE: 启用</li>\n<li>DISABLE: 停用</li>\n<li>COPY: 复制新建</li>\n</ul>",
|
11892
11892
|
"example": "DELETE",
|
11893
11893
|
"member": "string",
|
11894
11894
|
"name": "OperateType",
|
@@ -13457,7 +13457,7 @@
|
|
13457
13457
|
},
|
13458
13458
|
{
|
13459
13459
|
"disabled": false,
|
13460
|
-
"document": "二维码,在生成动态签署人跳转封面页链接时返回\n\n注:`此二维码下载链接有效期为5
|
13460
|
+
"document": "二维码,在生成动态签署人跳转封面页链接时返回\n\n注:`此二维码下载链接有效期为5分钟,可下载二维码后本地保存,二维码有效期为90天。`",
|
13461
13461
|
"example": "https://file.test.ess.tencent.cn/bresource/resource/resource/0/0.JPG?hkey=5d**2f0db15e6b",
|
13462
13462
|
"member": "string",
|
13463
13463
|
"name": "SignQrcodeUrl",
|