tccli 3.0.1338.1__py2.py3-none-any.whl → 3.0.1339.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 -0
- tccli/services/ccc/v20200210/api.json +100 -1
- tccli/services/cdb/v20170320/api.json +37 -37
- tccli/services/cdb/v20170320/examples.json +7 -7
- tccli/services/cdn/v20180606/api.json +2 -2
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/cfw/v20190904/examples.json +12 -0
- tccli/services/ckafka/v20190819/api.json +19 -0
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/csip/csip_client.py +791 -102
- tccli/services/csip/v20221121/api.json +6108 -3458
- tccli/services/csip/v20221121/examples.json +104 -0
- tccli/services/dts/v20211206/api.json +11 -0
- tccli/services/es/v20180416/api.json +55 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +115 -4
- tccli/services/ess/v20201111/examples.json +12 -4
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +103 -3
- tccli/services/essbasic/v20210526/examples.json +9 -1
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/ioa/v20220601/api.json +55 -0
- tccli/services/ioa/v20220601/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +57 -4
- tccli/services/iotexplorer/v20190423/api.json +145 -19
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/live/live_client.py +0 -106
- tccli/services/live/v20180801/api.json +14 -138
- tccli/services/live/v20180801/examples.json +0 -16
- tccli/services/lkeap/lkeap_client.py +0 -53
- tccli/services/lkeap/v20240522/api.json +0 -90
- tccli/services/lkeap/v20240522/examples.json +0 -8
- tccli/services/ocr/v20181119/api.json +21 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/ssl/ssl_client.py +212 -0
- tccli/services/ssl/v20191205/api.json +625 -10
- tccli/services/ssl/v20191205/examples.json +38 -0
- tccli/services/tcbr/v20220217/api.json +11 -0
- tccli/services/tdmq/v20200217/api.json +56 -47
- tccli/services/tdmq/v20200217/examples.json +8 -8
- tccli/services/trocket/v20230308/api.json +111 -92
- tccli/services/trocket/v20230308/examples.json +13 -13
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/v20180326/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +607 -3
- tccli/services/wedata/v20210820/examples.json +18 -8
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/license_files/LICENSE +0 -0
@@ -931,15 +931,15 @@
|
|
931
931
|
"CreateOrganizationAuthUrl": [
|
932
932
|
{
|
933
933
|
"document": "我们传递企业名称和企业的统一信用代码。同时,为了确保信息的准确性和合规性,我们要求在进行企业认证时,企业名称和统一信用代码必须与我们传递的信息完全一致。",
|
934
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\"\n },\n \"Endpoint\": \"SHORT_URL\",\n \"AuthorizationTypes\": [\n
|
934
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\"\n },\n \"Endpoint\": \"SHORT_URL\",\n \"AuthorizationTypes\": [\n 2,\n 5\n ],\n \"UniformSocialCreditCode\": \"9144030071526726XG\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"UniformSocialCreditCodeSame\": true,\n \"OrganizationNameSame\": true,\n \"Initialization\": [\n 1\n ]\n}",
|
935
935
|
"output": "{\n \"Response\": {\n \"AuthUrl\": \"https://essurl.cn/24VopUGBZyF\",\n \"ExpiredTime\": 1733388643,\n \"RequestId\": \"a34b6e8e-4a3e-444d-8853-b34f90096254\"\n }\n}",
|
936
936
|
"title": "创建企业认证链接"
|
937
937
|
},
|
938
938
|
{
|
939
|
-
"document": "场景:创建企业认证链接, 通过超管授权书上传, 这个场景一般是法人不方便操作的时候使用\n授权书的文件生成 可以通过接口[生成企业授权书](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthFile) 然后转成 base64 格式。\n但是必须得保证超管和创建企业认证是同一个人。\n\n1. AuthorizationTypes 必须且只能传递
|
940
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"Endpoint\": \"PC\",\n \"AuthorizationTypes\": [\n
|
939
|
+
"document": "场景:创建企业认证链接, 通过超管授权书上传, 这个场景一般是法人不方便操作的时候使用\n授权书的文件生成 可以通过接口[生成企业授权书](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthFile) 然后转成 base64 格式。\n但是必须得保证超管和创建企业认证是同一个人。\n\n1. AuthorizationTypes 必须且只能传递 5- 授权书认证。\n2. PowerOfAttorneys base64 格式的文件流 数组。 单个大小不能超过 8M。\n\n",
|
940
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwfsUUckpsqt647UE6uSrk1ZWhYH56z\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"Endpoint\": \"PC\",\n \"AuthorizationTypes\": [\n 5\n ],\n \"AdminName\": \"典子谦\",\n \"AdminMobile\": \"13200000000\",\n \"BusinessLicense\": \"base64格式的营业执照文件流\",\n \"PowerOfAttorneys\": [\n \"base64格式的授权书文件流\"\n ]\n}",
|
941
941
|
"output": "{\n \"Response\": {\n \"AuthUrl\": \"https://test.qian.tencent.cn/console/register-callback?token=yDCYOUUckp7aat8yUxJf7vsvwREPT0Th\",\n \"ExpiredTime\": 1743070967,\n \"RequestId\": \"s1735294966632123121\"\n }\n}",
|
942
|
-
"title": "
|
942
|
+
"title": "创建企业认证链接-通过授权书+对公打款上传"
|
943
943
|
}
|
944
944
|
],
|
945
945
|
"CreateOrganizationBatchSignUrl": [
|
@@ -1912,6 +1912,14 @@
|
|
1912
1912
|
"title": "示例-普通企业更新角色(不带权限树参数)"
|
1913
1913
|
}
|
1914
1914
|
],
|
1915
|
+
"ModifyPartnerAutoSignAuthUrl": [
|
1916
|
+
{
|
1917
|
+
"document": "",
|
1918
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"AuthorizedOrganizationId\": \"yDRt2UUgygqxuvlqUuO4zjEySqVWqO9J\"\n}",
|
1919
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1747966900,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDttjUsO8wXIPLi8dM02\",\n \"RequestId\": \"s1747362100925380930\",\n \"Url\": \"https://test.essurl.cn/lrtXUBLTtI\"\n }\n}",
|
1920
|
+
"title": "修改授权"
|
1921
|
+
}
|
1922
|
+
],
|
1915
1923
|
"OperateSeals": [
|
1916
1924
|
{
|
1917
1925
|
"document": "将停用的印章修改为启用状态",
|
@@ -4491,7 +4491,7 @@ def doGenerateOrganizationSeal(args, parsed_globals):
|
|
4491
4491
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4492
4492
|
|
4493
4493
|
|
4494
|
-
def
|
4494
|
+
def doModifyPartnerAutoSignAuthUrl(args, parsed_globals):
|
4495
4495
|
g_param = parse_global_arg(parsed_globals)
|
4496
4496
|
|
4497
4497
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4520,11 +4520,11 @@ def doDescribeFileIdsByCustomIds(args, parsed_globals):
|
|
4520
4520
|
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
4521
4521
|
client._sdkVersion += ("_CLI_" + __version__)
|
4522
4522
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4523
|
-
model = models.
|
4523
|
+
model = models.ModifyPartnerAutoSignAuthUrlRequest()
|
4524
4524
|
model.from_json_string(json.dumps(args))
|
4525
4525
|
start_time = time.time()
|
4526
4526
|
while True:
|
4527
|
-
rsp = client.
|
4527
|
+
rsp = client.ModifyPartnerAutoSignAuthUrl(model)
|
4528
4528
|
result = rsp.to_json_string()
|
4529
4529
|
try:
|
4530
4530
|
json_obj = json.loads(result)
|
@@ -6675,6 +6675,58 @@ def doChannelDescribeEmployees(args, parsed_globals):
|
|
6675
6675
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6676
6676
|
|
6677
6677
|
|
6678
|
+
def doDescribeFileIdsByCustomIds(args, parsed_globals):
|
6679
|
+
g_param = parse_global_arg(parsed_globals)
|
6680
|
+
|
6681
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6682
|
+
cred = credential.CVMRoleCredential()
|
6683
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6684
|
+
cred = credential.STSAssumeRoleCredential(
|
6685
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6686
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6687
|
+
)
|
6688
|
+
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):
|
6689
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6690
|
+
else:
|
6691
|
+
cred = credential.Credential(
|
6692
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6693
|
+
)
|
6694
|
+
http_profile = HttpProfile(
|
6695
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6696
|
+
reqMethod="POST",
|
6697
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6698
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6699
|
+
)
|
6700
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6701
|
+
if g_param[OptionsDefine.Language]:
|
6702
|
+
profile.language = g_param[OptionsDefine.Language]
|
6703
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6704
|
+
client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
|
6705
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6706
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6707
|
+
model = models.DescribeFileIdsByCustomIdsRequest()
|
6708
|
+
model.from_json_string(json.dumps(args))
|
6709
|
+
start_time = time.time()
|
6710
|
+
while True:
|
6711
|
+
rsp = client.DescribeFileIdsByCustomIds(model)
|
6712
|
+
result = rsp.to_json_string()
|
6713
|
+
try:
|
6714
|
+
json_obj = json.loads(result)
|
6715
|
+
except TypeError as e:
|
6716
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6717
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6718
|
+
break
|
6719
|
+
cur_time = time.time()
|
6720
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6721
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6722
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6723
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6724
|
+
else:
|
6725
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6726
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6727
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6728
|
+
|
6729
|
+
|
6678
6730
|
def doCreateUserAndSeal(args, parsed_globals):
|
6679
6731
|
g_param = parse_global_arg(parsed_globals)
|
6680
6732
|
|
@@ -7658,7 +7710,7 @@ ACTION_MAP = {
|
|
7658
7710
|
"ChannelCreateUserAutoSignSealUrl": doChannelCreateUserAutoSignSealUrl,
|
7659
7711
|
"CreateChannelSubOrganizationActive": doCreateChannelSubOrganizationActive,
|
7660
7712
|
"GenerateOrganizationSeal": doGenerateOrganizationSeal,
|
7661
|
-
"
|
7713
|
+
"ModifyPartnerAutoSignAuthUrl": doModifyPartnerAutoSignAuthUrl,
|
7662
7714
|
"DescribeTemplates": doDescribeTemplates,
|
7663
7715
|
"ChannelCancelUserAutoSignEnableUrl": doChannelCancelUserAutoSignEnableUrl,
|
7664
7716
|
"UploadFiles": doUploadFiles,
|
@@ -7700,6 +7752,7 @@ ACTION_MAP = {
|
|
7700
7752
|
"ChannelDescribeUserAutoSignStatus": doChannelDescribeUserAutoSignStatus,
|
7701
7753
|
"ChannelCreateReleaseFlow": doChannelCreateReleaseFlow,
|
7702
7754
|
"ChannelDescribeEmployees": doChannelDescribeEmployees,
|
7755
|
+
"DescribeFileIdsByCustomIds": doDescribeFileIdsByCustomIds,
|
7703
7756
|
"CreateUserAndSeal": doCreateUserAndSeal,
|
7704
7757
|
"ArchiveDynamicFlow": doArchiveDynamicFlow,
|
7705
7758
|
"DescribeFlow": doDescribeFlow,
|
@@ -609,6 +609,13 @@
|
|
609
609
|
"output": "ModifyFlowDeadlineResponse",
|
610
610
|
"status": "online"
|
611
611
|
},
|
612
|
+
"ModifyPartnerAutoSignAuthUrl": {
|
613
|
+
"document": "创建一个用于更新他方自动签授权的链接(可选择他方授权或我方授权)。通过这个链接,合作方企业可以直接进入小程序,进行自动签更新授权(印章)操作。\n\n如果授权企业尚未开通企业自动签功能,该链接还将引导他们首先开通本企业的自动签服务\n\n\n注: \n1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)\n2. 2. 只能更新授权的印章,被授权的企业无法更新\n3. 授权企业和被授权企业必须都是已认证企业\n4. <font color='red'>需要授权企业或被授权企业的超管或者法人打开链接</font>走开通逻辑。",
|
614
|
+
"input": "ModifyPartnerAutoSignAuthUrlRequest",
|
615
|
+
"name": "更新企业自动签授权链接",
|
616
|
+
"output": "ModifyPartnerAutoSignAuthUrlResponse",
|
617
|
+
"status": "online"
|
618
|
+
},
|
612
619
|
"OperateChannelTemplate": {
|
613
620
|
"document": "此接口(OperateChannelTemplate)用于针对第三方应用平台模板库中的模板对子客企业发布授权的查询和设置。\n平台模板库中的模板的位置在控制台 企业应用管理 中下面的应用模板库管理目录, 可以参照下图位置\n\n\n# 支持的操作\n\n## 1. 查询模板的子客企业授权 (OperateType=SELECT)\n- 查询模板的授权子企业列表\n\n## 2. 修改模板的子客企业授权 (OperateType=UPDATE)\n- 当模板未发布时,可以修改模板的模板授权范围是**所有第三方应用合作企业**(AuthTag设置为all)或者**指定第三方应用合作企业**(AuthTag设置为part),**当模板发布后,不可做此修改**\n- 如果模板是部分授权, 可通过ProxyOrganizationOpenIds增加子客的授权范围。\n\n## 3. 取消模板的子客企业授权 (OperateType=DELETE)\n- 对子客企业进行模板库中模板授权范围的进行删除操作。\n- 主要对于手动领取的模板,去除授权后子客在模板库中看不到,就无法再领取了。但是**已经领取过成为自有模板的不会同步删除**。\n- 对于自动领取的模板,由于已经下发,更改授权不会影响。\n- 如果要同步删除子客自有模板库中的模板,请使用OperateType=UPDATE+Available参数处理。",
|
614
621
|
"input": "OperateChannelTemplateRequest",
|
@@ -6331,7 +6338,7 @@
|
|
6331
6338
|
},
|
6332
6339
|
{
|
6333
6340
|
"disabled": false,
|
6334
|
-
"document": "**在所有的定位方式下**,控件的扩展参数,为<font color=\"red\">JSON格式</font>,不同类型的控件会有部分非通用参数。\n\n<font color=\"red\">ComponentType为TEXT、MULTI_LINE_TEXT时</font>,支持以下参数:\n<ul><li> <b>Font</b>:目前只支持黑体、宋体、仿宋</li>\n<li> <b>FontSize</b>: 范围6 :72</li>\n<li> <b>FontAlign</b>: Left/Right/Center,左对齐/居中/右对齐</li>\n<li> <b>FontColor</b>:字符串类型,格式为RGB颜色数字</li></ul>\n<b>参数样例</b>:`{\"FontColor\":\"255,0,0\",\"FontSize\":12}`\n\n<font color=\"red\">ComponentType为DATE时</font>,支持以下参数:\n<ul><li> <b>Font</b>:目前只支持黑体、宋体、仿宋</li>\n<li> <b>FontSize</b>: 范围6 :72</li></ul>\n<b>参数样例</b>:`{\"FontColor\":\"255,0,0\",\"FontSize\":12}`\n\n<font color=\"red\">ComponentType为FILL_IMAGE时</font>,支持以下参数:\n<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>\n<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>\n\n<font color=\"red\">ComponentType为SELECTOR时</font>,支持以下参数:\n<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>\n</ul>\n\n<font color=\"red\">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以**ComponentTypeLimit**参数控制签署方式\n<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>\n<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>\n<li> <b>OCR_ESIGN</b> : AI智能识别手写签名</li>\n<li> <b>ESIGN</b> : 个人印章类型</li>\n<li> <b>SYSTEM_ESIGN</b> : 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)</li>\n<li> <b>IMG_ESIGN</b> : 图片印章(该类型支持用户在签署将上传的PNG格式的图片作为签名)</li></ul>\n<b>参考样例</b>:`{\"ComponentTypeLimit\": [\"SYSTEM_ESIGN\"]}`\n印章的对应关系参考下图\n<br><br>\n<font color=\"red\">ComponentType为SIGN_SEAL 或者 SIGN_PAGING_SEAL类型时</font>,可以通过**ComponentTypeLimit**参数控制签署方签署时要使用的印章类型,支持指定以下印章类型\n<ul><li> <b>OFFICIAL</b> : 企业公章</li>\n<li> <b>CONTRACT</b> : 合同专用章</li>\n<li> <b>FINANCE</b> : 财务专用章</li>\n<li> <b>PERSONNEL</b> : 人事专用章</li>\n<li> <b>OTHER</b> : 其他</li>\n</ul>\n<b>参考样例</b>:`{\\\"ComponentTypeLimit\\\":[\\\"PERSONNEL\\\",\\\"FINANCE\\\"]}` 表示改印章签署区,客户需使用人事专用章或财务专用章盖章签署。<br><br>\n\n<font color=\"red\">ComponentType为SIGN_DATE时</font>,支持以下参数:\n<ul><li> <b>Font</b> :字符串类型目前只支持\"黑体\"、\"宋体\"、仿宋,如果不填默认为\"黑体\"</li>\n<li> <b>FontSize</b> : 数字类型,范围6-72,默认值为12</li>\n<li> <b>FontAlign</b> : 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐</li>\n<li> <b>Format</b> : 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。</li>\n<li> <b>Gaps</b> : 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数</li></ul>\n如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期\n特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)\n<b>参数样例</b>: ` \"{\"Format\":\"yyyy m d\",\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}\"`\n\n<font color=\"red\">ComponentType为SIGN_SEAL、SIGN_SIGNATURE类型时</font>,支持以下参数:\n<ul><li> <b>PageRanges</b> :PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)</li></ul>\n<b>参数样例</b>:` \"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}\"`\n\n<font color=\"red\">签署印章旋转功能,当ComponentType为SIGN_SIGNATURE、SIGN_DATE、SIGN_SEAL时</font>,可以通过以下参数设置签署图片的旋转角度:\n<ul><li> <b>Rotate</b>:旋转角度,支持范围:-360:360,为正整数时,为顺时针旋转;为负整数时,为逆时针旋转。</li>\n<li> <b>RotateRelation</b>:旋转关联控件,用于指定关联旋转的控件。例如:让印章控件和签署日期控件按照印章控件为中心旋转(此时,设置印章控件的RotateRelation为日期控件的ComponentId,设置日期签署控件的RotateRelation为印章控件的ComponentId)。</li></ul>\n<b>参数样例</b>:`{\"Rotate\":-30,\"RotateRelation\":\"Component_Id1\"}`\n\n<font color=\"red\">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:\n<ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>\n<b>参数样例</b>:`{\"Opacity\":0.7}`\n\n<font color=\"red\">签署印章大小功能设置,</font>当ComponentType为SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署时按照实际印章的大小进行签署,如果印章没有设置大小,那么默认会是4.2cm的印章大小:\n<ul><li> <b>UseSealSize</b>:使用印章设置的大小盖章,true表示使用印章设置的大小盖章,false表示使用签署控件的大小进行盖章;不传则为false</li></ul>\n<b>参数样例</b>:`{\"UseSealSize\":true}`\n\n<font color=\"red\">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>\n<ul><li> <b>IgnoreKeywordError</b> :1-关键字查找不到时不进行报错</li></ul>\n场景说明:如果使用关键字进行定位,但是指定的PDF文件中又没有设置的关键字时,发起合同会进行关键字是否存在的校验,如果关键字不存在,会进行报错返回。如果不希望进行报错,可以设置\"IgnoreKeywordError\"来忽略错误。请注意,如果关键字签署控件对应的签署方在整个PDF文件中一个签署控件都没有,还是会触发报错逻辑。\n<b>参数样例</b>:` \"{\"IgnoreKeywordError\":1}\"`\n\n\n<font color=\"red\">ComponentType为SIGN_VIRTUAL_COMBINATION时</font>,支持以下参数:\n<ul>\n<li><b>Children:</b> 绝对定位模式下,用来指定此签批控件的组合子控件 </li>\n<b>参数样例</b>:<br>`{\"Children\":[\"ComponentId_29\",\"ComponentId_27\",\"ComponentId_28\",\"ComponentId_30\"]}`\n<li><b>ChildrenComponents:</b> 关键字定位模式下,用来指定此签批控件的组合子控件 </li>\nChildrenComponent结构体定义:\n<table border=\"1\"> <thead> <tr> <th>字段名称</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>ComponentType</td> <td>string</td> <td>子控件类型-可选值:SIGN_SIGNATURE,SIGN_DATE,SIGN_SELECTOR,SIGN_MULTI_LINE_TEXT</td> </tr> <tr> <td>ComponentName</td> <td>string</td> <td>子控件名称</td> </tr> <tr> <td>Placeholder</td> <td>string</td> <td>子控件提示语</td> </tr> <tr> <td>ComponentOffsetX</td> <td>float</td> <td>控件偏移位置X(相对于父控件(签批控件的ComponentX))</td> </tr> <tr> <td>ComponentOffsetY</td> <td>float</td> <td>控件偏移位置Y 相对于父控件(签批控件的ComponentY))</td> </tr> <tr> <td>ComponentWidth</td> <td>float</td> <td>控件宽</td> </tr> <tr> <td>ComponentHeight</td> <td>float</td> <td>控件高</td> </tr> <tr> <td>ComponentExtra</td> <td>string</td> <td>控件的附属信息,根据ComponentType设置</td> </tr> </tbody> </table>\n<b>参数样例</b>:\n\n<pre>\n{\n \"ChildrenComponents\": [\n {\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentName\": \"个人签名\",\n \"Placeholder\": \"请签名\",\n \"ComponentOffsetX\": 10,\n \"ComponentOffsetY\": 30,\n \"ComponentWidth\": 119,\n \"ComponentHeight\": 43,\n \"ComponentExtra\": \"{\\\"ComponentTypeLimit\\\":[\\\"SYSTEM_ESIGN\\\"]}\"\n },\n {\n \"ComponentType\": \"SIGN_SELECTOR\",\n \"ComponentName\": \"是否同意此协议\",\n \"Placeholder\": \"\",\n \"ComponentOffsetX\": 50,\n \"ComponentOffsetY\": 130,\n \"ComponentWidth\": 120,\n \"ComponentHeight\": 43,\n \"ComponentExtra\": \"{\\\"Values\\\":[\\\"同意\\\",\\\"不同意\\\",\\\"再想想\\\"],\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"MultiSelect\\\":false}\"\n },\n {\n \"ComponentType\": \"SIGN_MULTI_LINE_TEXT\",\n \"ComponentName\": \"批注附言\",\n \"Placeholder\": \"\",\n \"ComponentOffsetX\": 150,\n \"ComponentOffsetY\": 300,\n \"ComponentWidth\": 200,\n \"ComponentHeight\": 86,\n \"ComponentExtra\": \"\"\n }\n ]\n}</pre>\n</ul>\n\n",
|
6341
|
+
"document": "**在所有的定位方式下**,控件的扩展参数,为<font color=\"red\">JSON格式</font>,不同类型的控件会有部分非通用参数。\n\n<font color=\"red\">ComponentType为TEXT、MULTI_LINE_TEXT时</font>,支持以下参数:\n<ul><li> <b>Font</b>:目前只支持黑体、宋体、仿宋</li>\n<li> <b>FontSize</b>: 范围6 :72</li>\n<li> <b>FontAlign</b>: Left/Right/Center,左对齐/居中/右对齐</li>\n<li> <b>FontColor</b>:字符串类型,格式为RGB颜色数字</li></ul>\n<b>参数样例</b>:`{\"FontColor\":\"255,0,0\",\"FontSize\":12}`\n\n<font color=\"red\">ComponentType为DATE时</font>,支持以下参数:\n<ul><li> <b>Font</b>:目前只支持黑体、宋体、仿宋</li>\n<li> <b>FontSize</b>: 范围6 :72</li></ul>\n<b>参数样例</b>:`{\"FontColor\":\"255,0,0\",\"FontSize\":12}`\n\n<font color=\"red\">ComponentType为WATERMARK时</font>,支持以下参数:\n<ul><li> <b>Font</b>:目前只支持黑体、宋体、仿宋</li>\n<li> <b>FontSize</b>: 范围6 :72</li>\n<li> <b>Opacity</b>: 透明度,范围0 :1</li>\n<li> <b>Rotate</b>: 水印旋转角度,范围0 :359</li>\n<li> <b>Density</b>: 水印样式,1-宽松,2-标准(默认值),3-密集,</li>\n<li> <b>Position</b>: 水印位置,None-平铺(默认值),LeftTop-左上,LeftBottom-左下,RightTop-右上,RightBottom-右下,Center-居中</li>\n<li> <b>SubType</b>: 水印类型:CUSTOM_WATERMARK-自定义内容,PERSON_INFO_WATERMARK-访问者信息</li></ul>\n<b>参数样例</b>:`\"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"PERSON_INFO_WATERMARK\\\"}\"`\n\n<font color=\"red\">ComponentType为FILL_IMAGE时</font>,支持以下参数:\n<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>\n<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>\n\n<font color=\"red\">ComponentType为SELECTOR时</font>,支持以下参数:\n<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>\n</ul>\n\n<font color=\"red\">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以**ComponentTypeLimit**参数控制签署方式\n<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>\n<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>\n<li> <b>OCR_ESIGN</b> : AI智能识别手写签名</li>\n<li> <b>ESIGN</b> : 个人印章类型</li>\n<li> <b>SYSTEM_ESIGN</b> : 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)</li>\n<li> <b>IMG_ESIGN</b> : 图片印章(该类型支持用户在签署将上传的PNG格式的图片作为签名)</li></ul>\n<b>参考样例</b>:`{\"ComponentTypeLimit\": [\"SYSTEM_ESIGN\"]}`\n印章的对应关系参考下图\n<br><br>\n<font color=\"red\">ComponentType为SIGN_SEAL 或者 SIGN_PAGING_SEAL类型时</font>,可以通过**ComponentTypeLimit**参数控制签署方签署时要使用的印章类型,支持指定以下印章类型\n<ul><li> <b>OFFICIAL</b> : 企业公章</li>\n<li> <b>CONTRACT</b> : 合同专用章</li>\n<li> <b>FINANCE</b> : 财务专用章</li>\n<li> <b>PERSONNEL</b> : 人事专用章</li>\n<li> <b>OTHER</b> : 其他</li>\n</ul>\n<b>参考样例</b>:`{\\\"ComponentTypeLimit\\\":[\\\"PERSONNEL\\\",\\\"FINANCE\\\"]}` 表示改印章签署区,客户需使用人事专用章或财务专用章盖章签署。<br><br>\n\n<font color=\"red\">ComponentType为SIGN_DATE时</font>,支持以下参数:\n<ul><li> <b>Font</b> :字符串类型目前只支持\"黑体\"、\"宋体\"、仿宋,如果不填默认为\"黑体\"</li>\n<li> <b>FontSize</b> : 数字类型,范围6-72,默认值为12</li>\n<li> <b>FontAlign</b> : 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐</li>\n<li> <b>Format</b> : 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。</li>\n<li> <b>Gaps</b> : 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数</li></ul>\n如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期\n特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)\n<b>参数样例</b>: ` \"{\"Format\":\"yyyy m d\",\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}\"`\n\n<font color=\"red\">ComponentType为SIGN_SEAL、SIGN_SIGNATURE类型时</font>,支持以下参数:\n<ul><li> <b>PageRanges</b> :PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)</li></ul>\n<b>参数样例</b>:` \"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}\"`\n\n<font color=\"red\">签署印章旋转功能,当ComponentType为SIGN_SIGNATURE、SIGN_DATE、SIGN_SEAL时</font>,可以通过以下参数设置签署图片的旋转角度:\n<ul><li> <b>Rotate</b>:旋转角度,支持范围:-360:360,为正整数时,为顺时针旋转;为负整数时,为逆时针旋转。</li>\n<li> <b>RotateRelation</b>:旋转关联控件,用于指定关联旋转的控件。例如:让印章控件和签署日期控件按照印章控件为中心旋转(此时,设置印章控件的RotateRelation为日期控件的ComponentId,设置日期签署控件的RotateRelation为印章控件的ComponentId)。</li></ul>\n<b>参数样例</b>:`{\"Rotate\":-30,\"RotateRelation\":\"Component_Id1\"}`\n\n<font color=\"red\">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:\n<ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>\n<b>参数样例</b>:`{\"Opacity\":0.7}`\n\n<font color=\"red\">签署印章大小功能设置,</font>当ComponentType为SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署时按照实际印章的大小进行签署,如果印章没有设置大小,那么默认会是4.2cm的印章大小:\n<ul><li> <b>UseSealSize</b>:使用印章设置的大小盖章,true表示使用印章设置的大小盖章,false表示使用签署控件的大小进行盖章;不传则为false</li></ul>\n<b>参数样例</b>:`{\"UseSealSize\":true}`\n\n<font color=\"red\">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>\n<ul><li> <b>IgnoreKeywordError</b> :1-关键字查找不到时不进行报错</li></ul>\n场景说明:如果使用关键字进行定位,但是指定的PDF文件中又没有设置的关键字时,发起合同会进行关键字是否存在的校验,如果关键字不存在,会进行报错返回。如果不希望进行报错,可以设置\"IgnoreKeywordError\"来忽略错误。请注意,如果关键字签署控件对应的签署方在整个PDF文件中一个签署控件都没有,还是会触发报错逻辑。\n<b>参数样例</b>:` \"{\"IgnoreKeywordError\":1}\"`\n\n\n<font color=\"red\">ComponentType为SIGN_VIRTUAL_COMBINATION时</font>,支持以下参数:\n<ul>\n<li><b>Children:</b> 绝对定位模式下,用来指定此签批控件的组合子控件 </li>\n<b>参数样例</b>:<br>`{\"Children\":[\"ComponentId_29\",\"ComponentId_27\",\"ComponentId_28\",\"ComponentId_30\"]}`\n<li><b>ChildrenComponents:</b> 关键字定位模式下,用来指定此签批控件的组合子控件 </li>\nChildrenComponent结构体定义:\n<table border=\"1\"> <thead> <tr> <th>字段名称</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>ComponentType</td> <td>string</td> <td>子控件类型-可选值:SIGN_SIGNATURE,SIGN_DATE,SIGN_SELECTOR,SIGN_MULTI_LINE_TEXT</td> </tr> <tr> <td>ComponentName</td> <td>string</td> <td>子控件名称</td> </tr> <tr> <td>Placeholder</td> <td>string</td> <td>子控件提示语</td> </tr> <tr> <td>ComponentOffsetX</td> <td>float</td> <td>控件偏移位置X(相对于父控件(签批控件的ComponentX))</td> </tr> <tr> <td>ComponentOffsetY</td> <td>float</td> <td>控件偏移位置Y 相对于父控件(签批控件的ComponentY))</td> </tr> <tr> <td>ComponentWidth</td> <td>float</td> <td>控件宽</td> </tr> <tr> <td>ComponentHeight</td> <td>float</td> <td>控件高</td> </tr> <tr> <td>ComponentExtra</td> <td>string</td> <td>控件的附属信息,根据ComponentType设置</td> </tr> </tbody> </table>\n<b>参数样例</b>:\n\n<pre>\n{\n \"ChildrenComponents\": [\n {\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentName\": \"个人签名\",\n \"Placeholder\": \"请签名\",\n \"ComponentOffsetX\": 10,\n \"ComponentOffsetY\": 30,\n \"ComponentWidth\": 119,\n \"ComponentHeight\": 43,\n \"ComponentExtra\": \"{\\\"ComponentTypeLimit\\\":[\\\"SYSTEM_ESIGN\\\"]}\"\n },\n {\n \"ComponentType\": \"SIGN_SELECTOR\",\n \"ComponentName\": \"是否同意此协议\",\n \"Placeholder\": \"\",\n \"ComponentOffsetX\": 50,\n \"ComponentOffsetY\": 130,\n \"ComponentWidth\": 120,\n \"ComponentHeight\": 43,\n \"ComponentExtra\": \"{\\\"Values\\\":[\\\"同意\\\",\\\"不同意\\\",\\\"再想想\\\"],\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"MultiSelect\\\":false}\"\n },\n {\n \"ComponentType\": \"SIGN_MULTI_LINE_TEXT\",\n \"ComponentName\": \"批注附言\",\n \"Placeholder\": \"\",\n \"ComponentOffsetX\": 150,\n \"ComponentOffsetY\": 300,\n \"ComponentWidth\": 200,\n \"ComponentHeight\": 86,\n \"ComponentExtra\": \"\"\n }\n ]\n}</pre>\n</ul>\n\n",
|
6335
6342
|
"example": "ComponentExtra",
|
6336
6343
|
"member": "string",
|
6337
6344
|
"name": "ComponentExtra",
|
@@ -7185,8 +7192,8 @@
|
|
7185
7192
|
},
|
7186
7193
|
{
|
7187
7194
|
"disabled": false,
|
7188
|
-
"document": "可选的此企业允许的授权方式, 可以设置的方式有:\n<ul
|
7189
|
-
"example": "[
|
7195
|
+
"document": "可选的此企业允许的授权方式, 可以设置的方式有:\n<ul>\n<li>2:转法定代表人授权</li>\n<li>5:授权书+对公打款</li>\n</ul>",
|
7196
|
+
"example": "[2, 5]",
|
7190
7197
|
"member": "int64",
|
7191
7198
|
"name": "AuthorizationTypes",
|
7192
7199
|
"required": false,
|
@@ -11717,6 +11724,99 @@
|
|
11717
11724
|
],
|
11718
11725
|
"type": "object"
|
11719
11726
|
},
|
11727
|
+
"ModifyPartnerAutoSignAuthUrlRequest": {
|
11728
|
+
"document": "ModifyPartnerAutoSignAuthUrl请求参数结构体",
|
11729
|
+
"members": [
|
11730
|
+
{
|
11731
|
+
"disabled": false,
|
11732
|
+
"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第三方平台子客企业和员工必须已经经过实名认证",
|
11733
|
+
"example": "无",
|
11734
|
+
"member": "Agent",
|
11735
|
+
"name": "Agent",
|
11736
|
+
"required": true,
|
11737
|
+
"type": "object"
|
11738
|
+
},
|
11739
|
+
{
|
11740
|
+
"disabled": false,
|
11741
|
+
"document": "被授企业id/授权方企业id(即OrganizationId),如果是企业之间授权和AuthorizedOrganizationName二选一传入。\n\n注:`被授权企业必须和当前企业在同一应用号下`",
|
11742
|
+
"example": "yDwFdUUckxxxxxxxxxxxxxXbsvN43W6Kax",
|
11743
|
+
"member": "string",
|
11744
|
+
"name": "AuthorizedOrganizationId",
|
11745
|
+
"required": false,
|
11746
|
+
"type": "string"
|
11747
|
+
},
|
11748
|
+
{
|
11749
|
+
"disabled": false,
|
11750
|
+
"document": "被授企业名称/授权方企业的名字,如果是企业之间授权和AuthorizedOrganizationId二选一传入即可。请确认该名称与企业营业执照中注册的名称一致。\n\n注: \n1. 如果名称中包含英文括号(),请使用中文括号()代替。\n2. 被授权企业必须和当前企业在同一应用号下",
|
11751
|
+
"example": "王五示例企业",
|
11752
|
+
"member": "string",
|
11753
|
+
"name": "AuthorizedOrganizationName",
|
11754
|
+
"required": false,
|
11755
|
+
"type": "string"
|
11756
|
+
},
|
11757
|
+
{
|
11758
|
+
"disabled": false,
|
11759
|
+
"document": "是否给平台应用授权\n\n<ul>\n<li><strong>true</strong>: 表示是,授权平台应用。在此情况下,无需设置<code>AuthorizedOrganizationId</code>和<code>AuthorizedOrganizationName</code>。</li>\n<li><strong>false</strong>: (默认)表示否,不是授权平台应用。</li>\n</ul>\n\n 注:授权给平台应用需要开通【基于子客授权第三方应用可文件发起子客自动签署】白名单,请联系运营经理开通。",
|
11760
|
+
"example": "false",
|
11761
|
+
"member": "bool",
|
11762
|
+
"name": "PlatformAppAuthorization",
|
11763
|
+
"required": false,
|
11764
|
+
"type": "bool"
|
11765
|
+
},
|
11766
|
+
{
|
11767
|
+
"disabled": false,
|
11768
|
+
"document": "在处理授权关系时,授权的方向\n<ul>\n<li><strong>false</strong>(默认值):表示我方授权他方。在这种情况下,<code>AuthorizedOrganizationName</code> 代表的是【被授权方】的企业名称,即接收授权的企业。</li>\n<li><strong>true</strong>:表示他方授权我方。在这种情况下,<code>AuthorizedOrganizationName</code> 代表的是【授权方】的企业名称,即提供授权的企业。</li>\n</ul>",
|
11769
|
+
"example": "false",
|
11770
|
+
"member": "bool",
|
11771
|
+
"name": "AuthToMe",
|
11772
|
+
"required": false,
|
11773
|
+
"type": "bool"
|
11774
|
+
}
|
11775
|
+
],
|
11776
|
+
"type": "object"
|
11777
|
+
},
|
11778
|
+
"ModifyPartnerAutoSignAuthUrlResponse": {
|
11779
|
+
"document": "ModifyPartnerAutoSignAuthUrl返回参数结构体",
|
11780
|
+
"members": [
|
11781
|
+
{
|
11782
|
+
"disabled": false,
|
11783
|
+
"document": "授权链接,以短链形式返回,短链的有效期参考回参中的 ExpiredTime。",
|
11784
|
+
"example": "https://essurl.cn/003hGUFil8",
|
11785
|
+
"member": "string",
|
11786
|
+
"name": "Url",
|
11787
|
+
"output_required": true,
|
11788
|
+
"type": "string",
|
11789
|
+
"value_allowed_null": false
|
11790
|
+
},
|
11791
|
+
{
|
11792
|
+
"disabled": false,
|
11793
|
+
"document": "从客户小程序或者客户APP跳转至腾讯电子签小程序进行批量签署的跳转路径\n",
|
11794
|
+
"example": "/pages/guide/index?shortKey=002XCUHfPi",
|
11795
|
+
"member": "string",
|
11796
|
+
"name": "MiniAppPath",
|
11797
|
+
"output_required": false,
|
11798
|
+
"type": "string",
|
11799
|
+
"value_allowed_null": false
|
11800
|
+
},
|
11801
|
+
{
|
11802
|
+
"disabled": false,
|
11803
|
+
"document": "链接过期时间以 Unix 时间戳格式表示,从生成链接时间起,往后7天有效期。过期后短链将失效,无法打开。",
|
11804
|
+
"example": "1702982931",
|
11805
|
+
"member": "int64",
|
11806
|
+
"name": "ExpireTime",
|
11807
|
+
"output_required": false,
|
11808
|
+
"type": "int",
|
11809
|
+
"value_allowed_null": false
|
11810
|
+
},
|
11811
|
+
{
|
11812
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11813
|
+
"member": "string",
|
11814
|
+
"name": "RequestId",
|
11815
|
+
"type": "string"
|
11816
|
+
}
|
11817
|
+
],
|
11818
|
+
"type": "object"
|
11819
|
+
},
|
11720
11820
|
"NeedReviewApproverInfo": {
|
11721
11821
|
"document": "需要进行签署审核的签署人信息",
|
11722
11822
|
"members": [
|
@@ -467,7 +467,7 @@
|
|
467
467
|
"ChannelCreatePrepareFlow": [
|
468
468
|
{
|
469
469
|
"document": "",
|
470
|
-
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOperator\": {\n \"OpenId\": \"5d18c1c4c8926cd11\"\n },\n \"ProxyOrganizationOpenId\": \"572c69xxxxxx245e4\",\n \"AppId\": \"yDRsbUUgxxxx7ZfBvipOMJ\"\n },\n \"ResourceId\": \"yDwqFUUckp3em41rUwWPgIBjsYgG5bba\",\n \"ResourceType\": 2,\n \"FlowInfo\": {\n \"FlowName\": \"第三方预发起合同-跳过文件上传\",\n \"FlowType\": \"第三方嵌入式文件发起合同\",\n \"FlowDescription\": \"
|
470
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOperator\": {\n \"OpenId\": \"5d18c1c4c8926cd11\"\n },\n \"ProxyOrganizationOpenId\": \"572c69xxxxxx245e4\",\n \"AppId\": \"yDRsbUUgxxxx7ZfBvipOMJ\"\n },\n \"ResourceId\": \"yDwqFUUckp3em41rUwWPgIBjsYgG5bba\",\n \"ResourceType\": 2,\n \"FlowInfo\": {\n \"FlowName\": \"第三方预发起合同-跳过文件上传\",\n \"FlowType\": \"第三方嵌入式文件发起合同\",\n \"FlowDescription\": \"合同\",\n \"Deadline\": 0,\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"NotChannelOrganization\": false,\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"OpenId\": \"n131517\",\n \"ApproverOption\": {\n \"CanEditApprover\": true\n },\n \"IsFullText\": true,\n \"PreReadTime\": 0\n },\n {\n \"ApproverType\": 1,\n \"ApproverIdCardType\": \"\",\n \"ApproverName\": \"里斯\",\n \"NotChannelOrganization\": false,\n \"ApproverMobile\": \"13312312312\",\n \"IsFullText\": true,\n \"PreReadTime\": 0\n }\n ],\n \"Unordered\": false,\n \"IntelligentStatus\": \"CLOSE\",\n \"FormFields\": [],\n \"NeedCreateReview\": false,\n \"NeedSignReview\": false,\n \"UserData\": \"\",\n \"CcInfos\": []\n },\n \"FlowOption\": {\n \"CanEditFlow\": true,\n \"HideShowFlowName\": false,\n \"HideShowFlowType\": false,\n \"HideShowDeadline\": false,\n \"ForbidEditFillComponent\": false,\n \"SkipUploadFile\": true,\n \"CustomCreateFlowDescription\": \"\"\n }\n}",
|
471
471
|
"output": "{\n \"Response\": {\n \"PrepareFlowUrl\": \"https://embed.beta.qian.tencent.cn/contract-create?embed=1&expiredOn=1700819911&code=yDSL6UUQEjIKK&businessId=yDSL6U3iY7&channel=PROXYCHANNEL&operateSource=byTemplate&themeId=channel_web_theme_yDwi3UAR2Yb\",\n \"PreviewFlowUrl\": \"\",\n \"FlowId\": \"yDC54UUckpyr7yh4UEfZcRRy3XMQvLvT\",\n \"RequestId\": \"c52aaa17-3f81-4640-be03-fca0a553d2e3\"\n }\n}",
|
472
472
|
"title": "文件发起-跳过文件上传"
|
473
473
|
},
|
@@ -1368,6 +1368,14 @@
|
|
1368
1368
|
"title": "延期整个合同-合同发起时没有签署人设置签署人签署截止时间"
|
1369
1369
|
}
|
1370
1370
|
],
|
1371
|
+
"ModifyPartnerAutoSignAuthUrl": [
|
1372
|
+
{
|
1373
|
+
"document": "",
|
1374
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"n9527\"\n }\n },\n \"AuthorizedOrganizationName\": \"张三示例企业\"\n}",
|
1375
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1747966900,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDttjUsO8wXIPLi8dM02\",\n \"RequestId\": \"s1747362100925380930\",\n \"Url\": \"https://test.essurl.cn/lrtXUBLTtI\"\n }\n}",
|
1376
|
+
"title": "修改授权"
|
1377
|
+
}
|
1378
|
+
],
|
1371
1379
|
"OperateChannelTemplate": [
|
1372
1380
|
{
|
1373
1381
|
"document": "1.ProxyOrganizationOpenIds为要删除的子企业的标识列表\n\n2.因为本模板是部分可见的AuthTag设置为part",
|
@@ -74,7 +74,7 @@
|
|
74
74
|
{
|
75
75
|
"document": "显示目标组绑定的服务器信息",
|
76
76
|
"input": "https://gwlb.tencentcloudapi.com/?Action=DescribeTargetGroupInstances\n&Filters.0.Name=TargetGroupId\n&Filters.0.Values.0=lbtg-5xunivs0\n&<公共请求参数>",
|
77
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"TargetGroupInstanceSet\": [\n {\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"Type\": \"CVM\",\n \"InstanceId\": \"ins-197234qt\",\n \"InstanceName\": \"未命名\",\n \"Port\": 6081,\n \"Weight\": 16,\n \"PublicIpAddresses\": [],\n \"PrivateIpAddresses\": [\n \"172.16.0.32\"\n ],\n \"EniId\":
|
77
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"TargetGroupInstanceSet\": [\n {\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"Type\": \"CVM\",\n \"InstanceId\": \"ins-197234qt\",\n \"InstanceName\": \"未命名\",\n \"Port\": 6081,\n \"Weight\": 16,\n \"PublicIpAddresses\": [],\n \"PrivateIpAddresses\": [\n \"172.16.0.32\"\n ],\n \"EniId\": \"\",\n \"ZoneId\": \"400001\",\n \"RegisteredTime\": \"2019-07-24T20:02:43+08:00\"\n },\n {\n \"TargetGroupId\": \"lbtg-5xunivs0\",\n \"Type\": \"CVM\",\n \"InstanceId\": \"ins-197234qt\",\n \"InstanceName\": \"未命名\",\n \"Port\": 6081,\n \"Weight\": 16,\n \"PublicIpAddresses\": [],\n \"PrivateIpAddresses\": [\n \"172.16.0.32\"\n ],\n \"EniId\": \"\",\n \"ZoneId\": \"400001\",\n \"RegisteredTime\": \"2019-07-23T21:01:08+08:00\"\n }\n ],\n \"RealCount\": 2,\n \"RequestId\": \"94240d7f-8bc1-422a-81b9-5ea76d486a66\"\n }\n}",
|
78
78
|
"title": "显示目标组绑定的服务器信息"
|
79
79
|
}
|
80
80
|
],
|
@@ -2174,6 +2174,61 @@
|
|
2174
2174
|
"type": "int",
|
2175
2175
|
"value_allowed_null": false
|
2176
2176
|
},
|
2177
|
+
{
|
2178
|
+
"disabled": false,
|
2179
|
+
"document": "操作系统名称",
|
2180
|
+
"example": "Microsoft Windows 10 专业版",
|
2181
|
+
"member": "string",
|
2182
|
+
"name": "Os",
|
2183
|
+
"output_required": false,
|
2184
|
+
"required": false,
|
2185
|
+
"type": "string",
|
2186
|
+
"value_allowed_null": false
|
2187
|
+
},
|
2188
|
+
{
|
2189
|
+
"disabled": false,
|
2190
|
+
"document": "操作系统位数",
|
2191
|
+
"example": "64",
|
2192
|
+
"member": "int64",
|
2193
|
+
"name": "OsBits",
|
2194
|
+
"output_required": false,
|
2195
|
+
"required": false,
|
2196
|
+
"type": "int",
|
2197
|
+
"value_allowed_null": false
|
2198
|
+
},
|
2199
|
+
{
|
2200
|
+
"disabled": false,
|
2201
|
+
"document": "操作系统版本",
|
2202
|
+
"example": "10.0.19045",
|
2203
|
+
"member": "string",
|
2204
|
+
"name": "OsVersion",
|
2205
|
+
"output_required": false,
|
2206
|
+
"required": false,
|
2207
|
+
"type": "string",
|
2208
|
+
"value_allowed_null": false
|
2209
|
+
},
|
2210
|
+
{
|
2211
|
+
"disabled": false,
|
2212
|
+
"document": "操作系统语言",
|
2213
|
+
"example": "简体中文",
|
2214
|
+
"member": "string",
|
2215
|
+
"name": "OsLanguage",
|
2216
|
+
"output_required": false,
|
2217
|
+
"required": false,
|
2218
|
+
"type": "string",
|
2219
|
+
"value_allowed_null": false
|
2220
|
+
},
|
2221
|
+
{
|
2222
|
+
"disabled": false,
|
2223
|
+
"document": "操作系统安装时间",
|
2224
|
+
"example": "2024-05-13",
|
2225
|
+
"member": "string",
|
2226
|
+
"name": "OsInstallDate",
|
2227
|
+
"output_required": false,
|
2228
|
+
"required": false,
|
2229
|
+
"type": "string",
|
2230
|
+
"value_allowed_null": false
|
2231
|
+
},
|
2177
2232
|
{
|
2178
2233
|
"disabled": false,
|
2179
2234
|
"document": "设备名,和Name相同",
|
@@ -98,7 +98,7 @@
|
|
98
98
|
{
|
99
99
|
"document": "获取租户满足条件:最近登录账号包含\\'cc\\'(不区分大小写)的设备列表详情",
|
100
100
|
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevices\n<公共请求参数>\n\n{\n \"Condition\": {\n \"FilterGroups\": [\n {\n \"Filters\": [\n {\n \"Field\": \"IOAUserName\",\n \"Operator\": \"ilike\",\n \"Values\": [\n \"cc\"\n ]\n }\n ]\n }\n ],\n \"PageSize\": 10,\n \"PageNum\": 1\n },\n \"GroupId\": 93,\n \"OsType\": 0\n}",
|
101
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"AccountGroupId\": 298,\n \"AccountGroupName\": \"cc\",\n \"AccountName\": \"cc\",\n \"AccountUsers\": \"cc\",\n \"BaseBoardSn\": \"N0CV1740MB0020008\",\n \"ComputerName\": \"DESKTOP-AL8RU6H\",\n \"ConnActiveTime\": \"2023-12-01T12:11:47.076416+08:00\",\n \"CriticalVulListCount\": 0,\n \"DeviceNewStrategyVer\": \"2023-12-01 12:11:00\",\n \"DeviceStrategyVer\": \"2023-12-01 11:10:00\",\n \"DomainName\": \"obsolete\",\n \"FirewallStatus\": 1,\n \"GroupId\": 93,\n \"GroupName\": \"未分组终端\",\n \"GroupNamePath\": \"全网终端.未分组终端\",\n \"HostId\": 0,\n \"HostName\": \"obsolete\",\n \"IOAUserName\": \"cc\",\n \"Id\": 54,\n \"IdentityNewStrategyVer\": \"2024-11-06 02:44:00\",\n \"IdentityStrategyVer\": \"2024-10-24 22:33:00\",\n \"Ip\": \"113.108.77.51\",\n \"Itime\": \"2023-12-01T09:37:38.505458+08:00\",\n \"LocalIpList\": \"192.168.0.128\",\n \"Locked\": 0,\n \"MacAddr\": \"00:0C:29:10:00:5C\",\n \"Mid\": \"75129D715480905B6A9C4569893C7634656938E2\",\n \"NGNNewStrategyVer\": \"2023-11-20 15:54:00\",\n \"NGNStrategyVer\": \"2023-11-20 15:54:00\",\n \"Name\": \"DESKTOP-AL8RU6H\",\n \"OnlineStatus\": 1,\n \"OsType\": 0,\n \"RiskCount\": 0,\n \"SerialNum\": \"VMware-56 4d 76 2d d7 24 e1 ab-43 f3 af 25 e3 10 00 5c\",\n \"StrVersion\": \"209.12.18590.201\",\n \"SysRepVersion\": \"2023.11.30.19.52.38\",\n \"Tags\": \"commpany assert\",\n \"UserName\": \"cc\",\n \"Version\": \"58828322890449097\",\n \"VirusVer\": \"2.0.13712.288\",\n \"VulCount\": 0,\n \"VulCriticalList\": [\n \"5043051\",\n \"4132216\"\n ],\n \"VulVersion\": \"2023.11.21.16.28.52\"\n }\n ],\n \"Paging\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Total\": 1\n }\n },\n \"RequestId\": \"807938c5-9308-4c87-918d-e84a05f226a1\"\n }\n}",
|
101
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"AccountGroupId\": 298,\n \"AccountGroupName\": \"cc\",\n \"AccountName\": \"cc\",\n \"AccountUsers\": \"cc\",\n \"BaseBoardSn\": \"N0CV1740MB0020008\",\n \"ComputerName\": \"DESKTOP-AL8RU6H\",\n \"ConnActiveTime\": \"2023-12-01T12:11:47.076416+08:00\",\n \"CriticalVulListCount\": 0,\n \"DeviceNewStrategyVer\": \"2023-12-01 12:11:00\",\n \"DeviceStrategyVer\": \"2023-12-01 11:10:00\",\n \"DomainName\": \"obsolete\",\n \"FirewallStatus\": 1,\n \"GroupId\": 93,\n \"GroupName\": \"未分组终端\",\n \"GroupNamePath\": \"全网终端.未分组终端\",\n \"HostId\": 0,\n \"HostName\": \"obsolete\",\n \"IOAUserName\": \"cc\",\n \"Id\": 54,\n \"IdentityNewStrategyVer\": \"2024-11-06 02:44:00\",\n \"IdentityStrategyVer\": \"2024-10-24 22:33:00\",\n \"Ip\": \"113.108.77.51\",\n \"Itime\": \"2023-12-01T09:37:38.505458+08:00\",\n \"LocalIpList\": \"192.168.0.128\",\n \"Locked\": 0,\n \"MacAddr\": \"00:0C:29:10:00:5C\",\n \"Mid\": \"75129D715480905B6A9C4569893C7634656938E2\",\n \"NGNNewStrategyVer\": \"2023-11-20 15:54:00\",\n \"NGNStrategyVer\": \"2023-11-20 15:54:00\",\n \"Name\": \"DESKTOP-AL8RU6H\",\n \"OnlineStatus\": 1,\n \"Os\": \"Microsoft Windows 10 专业版\",\n \"OsBits\": 64,\n \"OsInstallDate\": \"20220812112555.000000+480\",\n \"OsLanguage\": \"简体中文\",\n \"OsType\": 0,\n \"OsVersion\": \"10.0.19045\",\n \"RiskCount\": 0,\n \"SerialNum\": \"VMware-56 4d 76 2d d7 24 e1 ab-43 f3 af 25 e3 10 00 5c\",\n \"StrVersion\": \"209.12.18590.201\",\n \"SysRepVersion\": \"2023.11.30.19.52.38\",\n \"Tags\": \"commpany assert\",\n \"UserName\": \"cc\",\n \"Version\": \"58828322890449097\",\n \"VirusVer\": \"2.0.13712.288\",\n \"VulCount\": 0,\n \"VulCriticalList\": [\n \"5043051\",\n \"4132216\"\n ],\n \"VulVersion\": \"2023.11.21.16.28.52\"\n }\n ],\n \"Paging\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Total\": 1\n }\n },\n \"RequestId\": \"807938c5-9308-4c87-918d-e84a05f226a1\"\n }\n}",
|
102
102
|
"title": "获取设备列表详情"
|
103
103
|
}
|
104
104
|
],
|
@@ -277,6 +277,58 @@ def doDescribeFirmwareUpdateStatus(args, parsed_globals):
|
|
277
277
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
278
|
|
279
279
|
|
280
|
+
def doDescribeModelDefinition(args, parsed_globals):
|
281
|
+
g_param = parse_global_arg(parsed_globals)
|
282
|
+
|
283
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
284
|
+
cred = credential.CVMRoleCredential()
|
285
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
286
|
+
cred = credential.STSAssumeRoleCredential(
|
287
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
288
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
289
|
+
)
|
290
|
+
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):
|
291
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
292
|
+
else:
|
293
|
+
cred = credential.Credential(
|
294
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
295
|
+
)
|
296
|
+
http_profile = HttpProfile(
|
297
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
298
|
+
reqMethod="POST",
|
299
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
300
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
301
|
+
)
|
302
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
303
|
+
if g_param[OptionsDefine.Language]:
|
304
|
+
profile.language = g_param[OptionsDefine.Language]
|
305
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
306
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
307
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
308
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
+
model = models.DescribeModelDefinitionRequest()
|
310
|
+
model.from_json_string(json.dumps(args))
|
311
|
+
start_time = time.time()
|
312
|
+
while True:
|
313
|
+
rsp = client.DescribeModelDefinition(model)
|
314
|
+
result = rsp.to_json_string()
|
315
|
+
try:
|
316
|
+
json_obj = json.loads(result)
|
317
|
+
except TypeError as e:
|
318
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
319
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
320
|
+
break
|
321
|
+
cur_time = time.time()
|
322
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
323
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
324
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
325
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
326
|
+
else:
|
327
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
328
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
329
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
|
+
|
331
|
+
|
280
332
|
def doDescribeAISearchTaskAsync(args, parsed_globals):
|
281
333
|
g_param = parse_global_arg(parsed_globals)
|
282
334
|
|
@@ -6309,7 +6361,7 @@ def doGetStudioProductList(args, parsed_globals):
|
|
6309
6361
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6310
6362
|
|
6311
6363
|
|
6312
|
-
def
|
6364
|
+
def doInvokeVideosKeywordsAnalyzer(args, parsed_globals):
|
6313
6365
|
g_param = parse_global_arg(parsed_globals)
|
6314
6366
|
|
6315
6367
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6338,11 +6390,11 @@ def doDescribeModelDefinition(args, parsed_globals):
|
|
6338
6390
|
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
6339
6391
|
client._sdkVersion += ("_CLI_" + __version__)
|
6340
6392
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6341
|
-
model = models.
|
6393
|
+
model = models.InvokeVideosKeywordsAnalyzerRequest()
|
6342
6394
|
model.from_json_string(json.dumps(args))
|
6343
6395
|
start_time = time.time()
|
6344
6396
|
while True:
|
6345
|
-
rsp = client.
|
6397
|
+
rsp = client.InvokeVideosKeywordsAnalyzer(model)
|
6346
6398
|
result = rsp.to_json_string()
|
6347
6399
|
try:
|
6348
6400
|
json_obj = json.loads(result)
|
@@ -8769,6 +8821,7 @@ ACTION_MAP = {
|
|
8769
8821
|
"ModifyStudioProduct": doModifyStudioProduct,
|
8770
8822
|
"DescribeDevicePackages": doDescribeDevicePackages,
|
8771
8823
|
"DescribeFirmwareUpdateStatus": doDescribeFirmwareUpdateStatus,
|
8824
|
+
"DescribeModelDefinition": doDescribeModelDefinition,
|
8772
8825
|
"DescribeAISearchTaskAsync": doDescribeAISearchTaskAsync,
|
8773
8826
|
"DescribeP2PRoute": doDescribeP2PRoute,
|
8774
8827
|
"DescribeCloudStorageEventsWithAITasks": doDescribeCloudStorageEventsWithAITasks,
|
@@ -8885,7 +8938,7 @@ ACTION_MAP = {
|
|
8885
8938
|
"ModifyCloudStorageAIService": doModifyCloudStorageAIService,
|
8886
8939
|
"DescribeProject": doDescribeProject,
|
8887
8940
|
"GetStudioProductList": doGetStudioProductList,
|
8888
|
-
"
|
8941
|
+
"InvokeVideosKeywordsAnalyzer": doInvokeVideosKeywordsAnalyzer,
|
8889
8942
|
"DescribeBatchProduction": doDescribeBatchProduction,
|
8890
8943
|
"CreateExternalSourceAIServiceTask": doCreateExternalSourceAIServiceTask,
|
8891
8944
|
"ActivateTWeCallLicense": doActivateTWeCallLicense,
|