tccli 3.0.1274.1__py2.py3-none-any.whl → 3.0.1276.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/__init__.py +0 -9
- tccli/services/ams/v20201229/api.json +82 -0
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/batch/v20170312/api.json +24 -24
- tccli/services/cdwdoris/v20211228/api.json +19 -0
- tccli/services/cfw/v20190904/api.json +6 -6
- tccli/services/clb/v20180317/api.json +32 -4
- tccli/services/cloudstudio/v20230508/api.json +1 -1
- tccli/services/cvm/v20170312/api.json +48 -37
- tccli/services/cynosdb/v20190107/api.json +14 -4
- tccli/services/dlc/v20210125/api.json +17 -15
- tccli/services/dlc/v20210125/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +1 -1
- tccli/services/emr/v20190103/api.json +24 -24
- tccli/services/es/v20180416/api.json +2 -2
- tccli/services/es/v20180416/examples.json +4 -4
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +403 -322
- tccli/services/ess/v20201111/examples.json +16 -2
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +310 -238
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lighthouse/v20200324/api.json +6 -6
- tccli/services/live/v20180801/api.json +371 -380
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +72 -2
- tccli/services/lke/v20231130/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +17 -7
- tccli/services/ocr/v20181119/examples.json +4 -4
- tccli/services/organization/v20210331/api.json +19 -0
- tccli/services/rce/v20201103/api.json +15 -15
- tccli/services/taf/v20200210/api.json +9 -9
- tccli/services/tcbr/v20220217/api.json +18 -0
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +328 -323
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/tke/v20220501/api.json +8 -8
- tccli/services/tse/v20201207/api.json +84 -4
- tccli/services/vm/v20201229/api.json +428 -78
- tccli/services/vm/v20210922/api.json +482 -82
- tccli/services/vpc/v20170312/api.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +20 -20
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/RECORD +51 -63
- tccli/services/lp/__init__.py +0 -4
- tccli/services/lp/lp_client.py +0 -207
- tccli/services/lp/v20200224/api.json +0 -311
- tccli/services/lp/v20200224/examples.json +0 -13
- tccli/services/rkp/__init__.py +0 -4
- tccli/services/rkp/rkp_client.py +0 -313
- tccli/services/rkp/v20191209/api.json +0 -564
- tccli/services/rkp/v20191209/examples.json +0 -29
- tccli/services/rp/__init__.py +0 -4
- tccli/services/rp/rp_client.py +0 -207
- tccli/services/rp/v20200224/api.json +0 -290
- tccli/services/rp/v20200224/examples.json +0 -13
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/license_files/LICENSE +0 -0
@@ -275,13 +275,13 @@
|
|
275
275
|
},
|
276
276
|
{
|
277
277
|
"document": "二要素形式补充签署人",
|
278
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDynamicFlowApprover\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"操作人id\"\n },\n \"FlowId\": \"合同id\",\n \"Approvers\": [
|
278
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDynamicFlowApprover\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"操作人id\"\n },\n \"FlowId\": \"合同id\",\n \"Approvers\": [{\n \"ApproverType\": 0,\n \"OrganizationName\": \"企业名称\",\n \"ApproverName\": \"签署人姓名\",\n \"ApproverMobile\": \"签署人手机号\",\n \"PreReadTime\": 3,\n \"SignComponents\": [{\n \"ComponentPosX\": 260,\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"ComponentHeight\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentPage\": 1\n }\n ]\n }\n\n ]\n}\n",
|
279
279
|
"output": "{\n \"Response\": {\n \"DynamicFlowApproverList\": [\n {\n \"ApproverStatus\": 1,\n \"RecipientId\": \"yDCjFUUckp48f6hcUyh7ukYyfaIqHqnR\",\n \"SignId\": \"yDCjFUUckp48f6hiUyh7ukYBjxSiGXzB\"\n }\n ],\n \"FlowId\": \"yDCjFUUckp48f680Uyh7ukYy5JFb80ux\",\n \"RequestId\": \"s1728544317709049372\"\n }\n}",
|
280
280
|
"title": "二要素形式补充企业签署人"
|
281
281
|
},
|
282
282
|
{
|
283
283
|
"document": "二要素补充个人签署人",
|
284
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDynamicFlowApprover\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"操作人id\"\n },\n \"FlowId\": \"合同id\",\n \"Approvers\": [
|
284
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDynamicFlowApprover\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"操作人id\"\n },\n \"FlowId\": \"合同id\",\n \"Approvers\": [{\n \"ApproverType\": 1,\n \"ApproverName\": \"签署人姓名\",\n \"ApproverMobile\": \"签署人手机号\",\n \"PreReadTime\": 3,\n \"SignComponents\": [{\n \"ComponentPosX\": 260,\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"ComponentHeight\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentPage\": 1\n }\n ]\n }\n\n ]\n}",
|
285
285
|
"output": "{\n \"Response\": {\n \"DynamicFlowApproverList\": [\n {\n \"ApproverStatus\": 1,\n \"RecipientId\": \"yDCjFUUckp48f6hcUyh7ukYyfaIqHqnR\",\n \"SignId\": \"yDCjFUUckp48f6hiUyh7ukYBjxSiGXzB\"\n }\n ],\n \"FlowId\": \"合同id\",\n \"RequestId\": \"s1728544317709049372\"\n }\n}",
|
286
286
|
"title": "二要素补充个人签署人"
|
287
287
|
},
|
@@ -330,6 +330,20 @@
|
|
330
330
|
"title": "获取合同详情嵌入Web链接失败,是因为对应的签署流程不存在。"
|
331
331
|
}
|
332
332
|
],
|
333
|
+
"CreateEmployeeChangeUrl": [
|
334
|
+
{
|
335
|
+
"document": "修改员工手机号",
|
336
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeInfoChangeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRt2UUgygqxyp9yUuO4zjEwqXwsIljA\"\n },\n \"UserId\": \"yDRt2UUgygqxyp9yUuO4zjEwqXwsIljA\"\n}",
|
337
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1741332331,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDtSJUde8JFIMAykHz79\",\n \"RequestId\": \"s1740727531055190955\"\n }\n}",
|
338
|
+
"title": "生成员手机号变更链接-不指定手机号"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"document": "",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeChangeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRt2UUgygqxyp9yUuO4zjEwqXwsIljA\"\n },\n \"UserId\": \"yDRt2UUgygqxyp9yUuO4zjEwqXwsIljA\",\n \"NewMobile\": \"13200001111\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1741332331,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDtSJUde8JFIMAykHz79\",\n \"RequestId\": \"s1740727531055190955\"\n }\n}",
|
344
|
+
"title": "生成员手机号变更链接-指定手机号"
|
345
|
+
}
|
346
|
+
],
|
333
347
|
"CreateEmployeeQualificationSealQrCode": [
|
334
348
|
{
|
335
349
|
"document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
|
@@ -3451,6 +3451,58 @@ def doModifyExtendedService(args, parsed_globals):
|
|
3451
3451
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3452
3452
|
|
3453
3453
|
|
3454
|
+
def doCreateEmployeeChangeUrl(args, parsed_globals):
|
3455
|
+
g_param = parse_global_arg(parsed_globals)
|
3456
|
+
|
3457
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3458
|
+
cred = credential.CVMRoleCredential()
|
3459
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3460
|
+
cred = credential.STSAssumeRoleCredential(
|
3461
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3462
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3463
|
+
)
|
3464
|
+
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):
|
3465
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3466
|
+
else:
|
3467
|
+
cred = credential.Credential(
|
3468
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3469
|
+
)
|
3470
|
+
http_profile = HttpProfile(
|
3471
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3472
|
+
reqMethod="POST",
|
3473
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3474
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3475
|
+
)
|
3476
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3477
|
+
if g_param[OptionsDefine.Language]:
|
3478
|
+
profile.language = g_param[OptionsDefine.Language]
|
3479
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3480
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
3481
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3482
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3483
|
+
model = models.CreateEmployeeChangeUrlRequest()
|
3484
|
+
model.from_json_string(json.dumps(args))
|
3485
|
+
start_time = time.time()
|
3486
|
+
while True:
|
3487
|
+
rsp = client.CreateEmployeeChangeUrl(model)
|
3488
|
+
result = rsp.to_json_string()
|
3489
|
+
try:
|
3490
|
+
json_obj = json.loads(result)
|
3491
|
+
except TypeError as e:
|
3492
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3493
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3494
|
+
break
|
3495
|
+
cur_time = time.time()
|
3496
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3497
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3498
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3499
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3500
|
+
else:
|
3501
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3502
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3503
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3504
|
+
|
3505
|
+
|
3454
3506
|
def doSendSignInnerVerifyCode(args, parsed_globals):
|
3455
3507
|
g_param = parse_global_arg(parsed_globals)
|
3456
3508
|
|
@@ -7274,6 +7326,7 @@ ACTION_MAP = {
|
|
7274
7326
|
"ChannelCreateMultiFlowSignQRCode": doChannelCreateMultiFlowSignQRCode,
|
7275
7327
|
"CheckBankCard4EVerification": doCheckBankCard4EVerification,
|
7276
7328
|
"ModifyExtendedService": doModifyExtendedService,
|
7329
|
+
"CreateEmployeeChangeUrl": doCreateEmployeeChangeUrl,
|
7277
7330
|
"SendSignInnerVerifyCode": doSendSignInnerVerifyCode,
|
7278
7331
|
"DescribeFlowFiles": doDescribeFlowFiles,
|
7279
7332
|
"CreateFlowBlockchainEvidenceUrl": doCreateFlowBlockchainEvidenceUrl,
|