tccli 3.0.1337.1__py2.py3-none-any.whl → 3.0.1338.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/asr/v20190614/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +2 -2
- tccli/services/cfs/v20190719/api.json +6 -3
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/es/v20250101/api.json +21 -0
- tccli/services/ess/ess_client.py +106 -0
- tccli/services/ess/v20201111/api.json +169 -0
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/essbasic_client.py +114 -8
- tccli/services/essbasic/v20210526/api.json +153 -2
- tccli/services/essbasic/v20210526/examples.json +16 -0
- tccli/services/hunyuan/v20230901/api.json +3 -3
- tccli/services/live/live_client.py +285 -20
- tccli/services/live/v20180801/api.json +549 -0
- tccli/services/live/v20180801/examples.json +40 -0
- tccli/services/trocket/trocket_client.py +104 -51
- tccli/services/trocket/v20230308/api.json +158 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1338.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1338.1.dist-info}/RECORD +24 -24
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1338.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1338.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1338.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1338.1'
|
@@ -607,7 +607,7 @@
|
|
607
607
|
"members": [
|
608
608
|
{
|
609
609
|
"disabled": false,
|
610
|
-
"document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n•
|
610
|
+
"document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n• 8k_zh_large:中文电话场景专用大模型引擎。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;\n\n注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_zh-TW**:中文繁体;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
|
611
611
|
"example": "16k_zh",
|
612
612
|
"member": "string",
|
613
613
|
"name": "EngineModelType",
|
@@ -3591,7 +3591,7 @@
|
|
3591
3591
|
{
|
3592
3592
|
"disabled": false,
|
3593
3593
|
"document": "Be节点",
|
3594
|
-
"example": "
|
3594
|
+
"example": "beNodes",
|
3595
3595
|
"member": "string",
|
3596
3596
|
"name": "BeNodes",
|
3597
3597
|
"output_required": false,
|
@@ -3601,7 +3601,7 @@
|
|
3601
3601
|
{
|
3602
3602
|
"disabled": false,
|
3603
3603
|
"document": "Fe节点",
|
3604
|
-
"example": "
|
3604
|
+
"example": "feNodes",
|
3605
3605
|
"member": "string",
|
3606
3606
|
"name": "FeNodes",
|
3607
3607
|
"output_required": false,
|
@@ -325,6 +325,7 @@
|
|
325
325
|
"example": "open,close",
|
326
326
|
"member": "string",
|
327
327
|
"name": "Status",
|
328
|
+
"output_required": true,
|
328
329
|
"required": false,
|
329
330
|
"type": "string",
|
330
331
|
"value_allowed_null": false
|
@@ -335,16 +336,18 @@
|
|
335
336
|
"example": "80",
|
336
337
|
"member": "uint64",
|
337
338
|
"name": "ScaleThreshold",
|
339
|
+
"output_required": true,
|
338
340
|
"required": false,
|
339
341
|
"type": "int",
|
340
342
|
"value_allowed_null": false
|
341
343
|
},
|
342
344
|
{
|
343
345
|
"disabled": false,
|
344
|
-
"document": "扩容后使用量跟集群总量比例,范围[
|
346
|
+
"document": "扩容后使用量跟集群总量比例,范围[10-90]",
|
345
347
|
"example": "90",
|
346
348
|
"member": "uint64",
|
347
349
|
"name": "TargetThreshold",
|
350
|
+
"output_required": true,
|
348
351
|
"required": false,
|
349
352
|
"type": "int",
|
350
353
|
"value_allowed_null": false
|
@@ -3451,7 +3454,7 @@
|
|
3451
3454
|
},
|
3452
3455
|
{
|
3453
3456
|
"disabled": false,
|
3454
|
-
"document": "扩容后目标阈值,范围[
|
3457
|
+
"document": "扩容后目标阈值,范围[10-90],该值要小于 ScaleUpThreshold",
|
3455
3458
|
"example": "80",
|
3456
3459
|
"member": "uint64",
|
3457
3460
|
"name": "TargetThreshold",
|
@@ -3505,7 +3508,7 @@
|
|
3505
3508
|
},
|
3506
3509
|
{
|
3507
3510
|
"disabled": false,
|
3508
|
-
"document": "扩容后达到阈值,范围[
|
3511
|
+
"document": "扩容后达到阈值,范围[10-90]",
|
3509
3512
|
"example": "75",
|
3510
3513
|
"member": "uint64",
|
3511
3514
|
"name": "TargetThreshold",
|
@@ -6434,7 +6434,7 @@
|
|
6434
6434
|
{
|
6435
6435
|
"disabled": false,
|
6436
6436
|
"document": "告警策略ID。",
|
6437
|
-
"example": "
|
6437
|
+
"example": "alarm-59df14aa-f35f-4ed2-9399-2b27ce69a53c",
|
6438
6438
|
"member": "string",
|
6439
6439
|
"name": "AlarmId",
|
6440
6440
|
"required": true,
|
@@ -261,6 +261,17 @@
|
|
261
261
|
"required": false,
|
262
262
|
"type": "list",
|
263
263
|
"value_allowed_null": false
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"disabled": false,
|
267
|
+
"document": "相邻切片重合字符数,需要小于分片长度",
|
268
|
+
"example": "4000",
|
269
|
+
"member": "uint64",
|
270
|
+
"name": "ChunkOverlap",
|
271
|
+
"output_required": false,
|
272
|
+
"required": false,
|
273
|
+
"type": "int",
|
274
|
+
"value_allowed_null": false
|
264
275
|
}
|
265
276
|
],
|
266
277
|
"usage": "both"
|
@@ -411,6 +422,16 @@
|
|
411
422
|
"type": "list",
|
412
423
|
"value_allowed_null": false
|
413
424
|
},
|
425
|
+
{
|
426
|
+
"disabled": false,
|
427
|
+
"document": "token消耗量",
|
428
|
+
"example": "无",
|
429
|
+
"member": "Usage",
|
430
|
+
"name": "Usage",
|
431
|
+
"output_required": false,
|
432
|
+
"type": "object",
|
433
|
+
"value_allowed_null": false
|
434
|
+
},
|
414
435
|
{
|
415
436
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
416
437
|
"member": "string",
|
tccli/services/ess/ess_client.py
CHANGED
@@ -381,6 +381,58 @@ def doDescribeBatchOrganizationRegistrationUrls(args, parsed_globals):
|
|
381
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
382
|
|
383
383
|
|
384
|
+
def doDescribeBatchOrganizationRegistrationTasks(args, parsed_globals):
|
385
|
+
g_param = parse_global_arg(parsed_globals)
|
386
|
+
|
387
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
388
|
+
cred = credential.CVMRoleCredential()
|
389
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
390
|
+
cred = credential.STSAssumeRoleCredential(
|
391
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
392
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
393
|
+
)
|
394
|
+
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):
|
395
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
396
|
+
else:
|
397
|
+
cred = credential.Credential(
|
398
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
399
|
+
)
|
400
|
+
http_profile = HttpProfile(
|
401
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
402
|
+
reqMethod="POST",
|
403
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
404
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
405
|
+
)
|
406
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
407
|
+
if g_param[OptionsDefine.Language]:
|
408
|
+
profile.language = g_param[OptionsDefine.Language]
|
409
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
410
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
411
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
412
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
+
model = models.DescribeBatchOrganizationRegistrationTasksRequest()
|
414
|
+
model.from_json_string(json.dumps(args))
|
415
|
+
start_time = time.time()
|
416
|
+
while True:
|
417
|
+
rsp = client.DescribeBatchOrganizationRegistrationTasks(model)
|
418
|
+
result = rsp.to_json_string()
|
419
|
+
try:
|
420
|
+
json_obj = json.loads(result)
|
421
|
+
except TypeError as e:
|
422
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
423
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
424
|
+
break
|
425
|
+
cur_time = time.time()
|
426
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
427
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
428
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
429
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
430
|
+
else:
|
431
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
432
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
433
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
|
+
|
435
|
+
|
384
436
|
def doCreatePreparedPersonalEsign(args, parsed_globals):
|
385
437
|
g_param = parse_global_arg(parsed_globals)
|
386
438
|
|
@@ -4125,6 +4177,58 @@ def doDescribeUserFlowType(args, parsed_globals):
|
|
4125
4177
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4126
4178
|
|
4127
4179
|
|
4180
|
+
def doCreateModifyAdminAuthorizationUrl(args, parsed_globals):
|
4181
|
+
g_param = parse_global_arg(parsed_globals)
|
4182
|
+
|
4183
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4184
|
+
cred = credential.CVMRoleCredential()
|
4185
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4186
|
+
cred = credential.STSAssumeRoleCredential(
|
4187
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4188
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4189
|
+
)
|
4190
|
+
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):
|
4191
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4192
|
+
else:
|
4193
|
+
cred = credential.Credential(
|
4194
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4195
|
+
)
|
4196
|
+
http_profile = HttpProfile(
|
4197
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4198
|
+
reqMethod="POST",
|
4199
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4200
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4201
|
+
)
|
4202
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4203
|
+
if g_param[OptionsDefine.Language]:
|
4204
|
+
profile.language = g_param[OptionsDefine.Language]
|
4205
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4206
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
4207
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4208
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4209
|
+
model = models.CreateModifyAdminAuthorizationUrlRequest()
|
4210
|
+
model.from_json_string(json.dumps(args))
|
4211
|
+
start_time = time.time()
|
4212
|
+
while True:
|
4213
|
+
rsp = client.CreateModifyAdminAuthorizationUrl(model)
|
4214
|
+
result = rsp.to_json_string()
|
4215
|
+
try:
|
4216
|
+
json_obj = json.loads(result)
|
4217
|
+
except TypeError as e:
|
4218
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4219
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4220
|
+
break
|
4221
|
+
cur_time = time.time()
|
4222
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4223
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4224
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4225
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4226
|
+
else:
|
4227
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4228
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4229
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4230
|
+
|
4231
|
+
|
4128
4232
|
def doCreateIntegrationEmployees(args, parsed_globals):
|
4129
4233
|
g_param = parse_global_arg(parsed_globals)
|
4130
4234
|
|
@@ -5651,6 +5755,7 @@ ACTION_MAP = {
|
|
5651
5755
|
"CreateUserVerifyUrl": doCreateUserVerifyUrl,
|
5652
5756
|
"CreateEmbedWebUrl": doCreateEmbedWebUrl,
|
5653
5757
|
"DescribeBatchOrganizationRegistrationUrls": doDescribeBatchOrganizationRegistrationUrls,
|
5758
|
+
"DescribeBatchOrganizationRegistrationTasks": doDescribeBatchOrganizationRegistrationTasks,
|
5654
5759
|
"CreatePreparedPersonalEsign": doCreatePreparedPersonalEsign,
|
5655
5760
|
"CreateFlowSignReview": doCreateFlowSignReview,
|
5656
5761
|
"ModifyIntegrationDepartment": doModifyIntegrationDepartment,
|
@@ -5723,6 +5828,7 @@ ACTION_MAP = {
|
|
5723
5828
|
"CreateWebThemeConfig": doCreateWebThemeConfig,
|
5724
5829
|
"CreateDynamicFlowApprover": doCreateDynamicFlowApprover,
|
5725
5830
|
"DescribeUserFlowType": doDescribeUserFlowType,
|
5831
|
+
"CreateModifyAdminAuthorizationUrl": doCreateModifyAdminAuthorizationUrl,
|
5726
5832
|
"CreateIntegrationEmployees": doCreateIntegrationEmployees,
|
5727
5833
|
"DeleteOrganizationAuthorizations": doDeleteOrganizationAuthorizations,
|
5728
5834
|
"OperateSeals": doOperateSeals,
|
@@ -266,6 +266,13 @@
|
|
266
266
|
"output": "CreateLegalSealQrCodeResponse",
|
267
267
|
"status": "online"
|
268
268
|
},
|
269
|
+
"CreateModifyAdminAuthorizationUrl": {
|
270
|
+
"document": "本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。\n\n注意:\n1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到",
|
271
|
+
"input": "CreateModifyAdminAuthorizationUrlRequest",
|
272
|
+
"name": "生成变更超管授权书链接",
|
273
|
+
"output": "CreateModifyAdminAuthorizationUrlResponse",
|
274
|
+
"status": "online"
|
275
|
+
},
|
269
276
|
"CreateMultiFlowSignQRCode": {
|
270
277
|
"document": "此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。\n\n**适用场景**:\n签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。\n\n**注意**:\n1.满足以下条件的模板支持创建签署码: \n - 签署对象:企业与个人(无序签署)、企业与个人(顺序签署&企业非首位)、 仅个人签署。\n - 其发起方没有填写控件,签署方(B端或C端)可以有填写控件。 \n - 如签署对象中含企业方,企业方签署区只能由发起方企业签署。\n\n2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调\n]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)\n3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)\n\n签署码的样式如下图:\n\n",
|
271
278
|
"input": "CreateMultiFlowSignQRCodeRequest",
|
@@ -455,6 +462,13 @@
|
|
455
462
|
"output": "DeleteSealPoliciesResponse",
|
456
463
|
"status": "online"
|
457
464
|
},
|
465
|
+
"DescribeBatchOrganizationRegistrationTasks": {
|
466
|
+
"document": "本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。",
|
467
|
+
"input": "DescribeBatchOrganizationRegistrationTasksRequest",
|
468
|
+
"name": "查询企业批量认证状态",
|
469
|
+
"output": "DescribeBatchOrganizationRegistrationTasksResponse",
|
470
|
+
"status": "online"
|
471
|
+
},
|
458
472
|
"DescribeBatchOrganizationRegistrationUrls": {
|
459
473
|
"document": "此接口用于获取企业批量认证异步任务的状态及结果。\n\n前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。\n\n异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间",
|
460
474
|
"input": "DescribeBatchOrganizationRegistrationUrlsRequest",
|
@@ -1525,6 +1539,42 @@
|
|
1525
1539
|
],
|
1526
1540
|
"usage": "in"
|
1527
1541
|
},
|
1542
|
+
"BatchOrganizationRegistrationTasksDetails": {
|
1543
|
+
"document": "批量认证企业任务详情信息,其中包括 TaskId,状态信息等等。",
|
1544
|
+
"members": [
|
1545
|
+
{
|
1546
|
+
"disabled": false,
|
1547
|
+
"document": "生成注册链接的任务Id",
|
1548
|
+
"example": "yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP",
|
1549
|
+
"member": "string",
|
1550
|
+
"name": "TaskId",
|
1551
|
+
"output_required": false,
|
1552
|
+
"type": "string",
|
1553
|
+
"value_allowed_null": false
|
1554
|
+
},
|
1555
|
+
{
|
1556
|
+
"disabled": false,
|
1557
|
+
"document": "批量创建企业任务的状态\n<ul>\n<li>Processing</li>\n<li>Create</li>\n<li>Submit</li>\n<li>Authorization</li>\n<li>Failed</li>\n</ul>\n\n各个状态所代表的含义如下表格所示:\n<table>\n<thead align=\"center\" valign=\"center\">\n<tr><th>任务状态名称</th><th>任务状态详情</th></tr>\n</thead>\n<tbody>\n<tr><th align=\"center\" valign=\"center\">Processing</th><th>企业认证任务处理中,用户调用了<a href=\"https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks\">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>\n<tr><th align=\"center\" valign=\"center\">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>\n<tr><th align=\"center\" valign=\"center\">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态\n\n</th></tr>\n<tr><th align=\"center\" valign=\"center\">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态\n\n</th></tr>\n<tr><th align=\"center\" valign=\"center\">Failed</th><th>企业认证任务失败</th></tr>\n</tbody>\n</table>",
|
1558
|
+
"example": "Submit",
|
1559
|
+
"member": "string",
|
1560
|
+
"name": "Status",
|
1561
|
+
"output_required": false,
|
1562
|
+
"type": "string",
|
1563
|
+
"value_allowed_null": false
|
1564
|
+
},
|
1565
|
+
{
|
1566
|
+
"disabled": false,
|
1567
|
+
"document": "如果任务失败,会返回错误信息",
|
1568
|
+
"example": "三要素校验失败: 工商库未能查询到企业信息,请核实信息或切换为上传营业执照认证。",
|
1569
|
+
"member": "string",
|
1570
|
+
"name": "ErrorMessage",
|
1571
|
+
"output_required": false,
|
1572
|
+
"type": "string",
|
1573
|
+
"value_allowed_null": false
|
1574
|
+
}
|
1575
|
+
],
|
1576
|
+
"usage": "out"
|
1577
|
+
},
|
1528
1578
|
"BillUsageDetail": {
|
1529
1579
|
"document": "用户计费使用情况详情",
|
1530
1580
|
"members": [
|
@@ -5664,6 +5714,70 @@
|
|
5664
5714
|
],
|
5665
5715
|
"type": "object"
|
5666
5716
|
},
|
5717
|
+
"CreateModifyAdminAuthorizationUrlRequest": {
|
5718
|
+
"document": "CreateModifyAdminAuthorizationUrl请求参数结构体",
|
5719
|
+
"members": [
|
5720
|
+
{
|
5721
|
+
"disabled": false,
|
5722
|
+
"document": "执行本接口操作的员工信息。\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
5723
|
+
"example": "无",
|
5724
|
+
"member": "UserInfo",
|
5725
|
+
"name": "Operator",
|
5726
|
+
"required": true,
|
5727
|
+
"type": "object"
|
5728
|
+
},
|
5729
|
+
{
|
5730
|
+
"disabled": false,
|
5731
|
+
"document": "代理企业和员工的信息。\n在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
5732
|
+
"example": "无",
|
5733
|
+
"member": "Agent",
|
5734
|
+
"name": "Agent",
|
5735
|
+
"required": false,
|
5736
|
+
"type": "object"
|
5737
|
+
},
|
5738
|
+
{
|
5739
|
+
"disabled": false,
|
5740
|
+
"document": "企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到",
|
5741
|
+
"example": "\"yDRS4UUgygqdcj5pUuO4zjEu602GFIe6\"",
|
5742
|
+
"member": "string",
|
5743
|
+
"name": "AuthorizationId",
|
5744
|
+
"required": false,
|
5745
|
+
"type": "string"
|
5746
|
+
},
|
5747
|
+
{
|
5748
|
+
"disabled": false,
|
5749
|
+
"document": "要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>",
|
5750
|
+
"example": "HTTP",
|
5751
|
+
"member": "string",
|
5752
|
+
"name": "Endpoint",
|
5753
|
+
"required": false,
|
5754
|
+
"type": "string"
|
5755
|
+
}
|
5756
|
+
],
|
5757
|
+
"type": "object"
|
5758
|
+
},
|
5759
|
+
"CreateModifyAdminAuthorizationUrlResponse": {
|
5760
|
+
"document": "CreateModifyAdminAuthorizationUrl返回参数结构体",
|
5761
|
+
"members": [
|
5762
|
+
{
|
5763
|
+
"disabled": false,
|
5764
|
+
"document": "变更企业超管授权书链接。\n没有有效期限制。\n\n注意:\n此链接仅能由当时认证企业的认证人使用。",
|
5765
|
+
"example": "https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=REGISTER_ENTERPRISE_FOR_UPDATE_AUTH_FILE&AuthorizationId=yDt3sUUckpxzou8bUuFrZIdxeP9YoXeP",
|
5766
|
+
"member": "string",
|
5767
|
+
"name": "Url",
|
5768
|
+
"output_required": false,
|
5769
|
+
"type": "string",
|
5770
|
+
"value_allowed_null": false
|
5771
|
+
},
|
5772
|
+
{
|
5773
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5774
|
+
"member": "string",
|
5775
|
+
"name": "RequestId",
|
5776
|
+
"type": "string"
|
5777
|
+
}
|
5778
|
+
],
|
5779
|
+
"type": "object"
|
5780
|
+
},
|
5667
5781
|
"CreateMultiFlowSignQRCodeRequest": {
|
5668
5782
|
"document": "CreateMultiFlowSignQRCode请求参数结构体",
|
5669
5783
|
"members": [
|
@@ -8792,6 +8906,61 @@
|
|
8792
8906
|
],
|
8793
8907
|
"usage": "both"
|
8794
8908
|
},
|
8909
|
+
"DescribeBatchOrganizationRegistrationTasksRequest": {
|
8910
|
+
"document": "DescribeBatchOrganizationRegistrationTasks请求参数结构体",
|
8911
|
+
"members": [
|
8912
|
+
{
|
8913
|
+
"disabled": false,
|
8914
|
+
"document": "执行本接口操作的员工信息。\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
8915
|
+
"example": "无",
|
8916
|
+
"member": "UserInfo",
|
8917
|
+
"name": "Operator",
|
8918
|
+
"required": true,
|
8919
|
+
"type": "object"
|
8920
|
+
},
|
8921
|
+
{
|
8922
|
+
"disabled": false,
|
8923
|
+
"document": "代理企业和员工的信息。\n在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
8924
|
+
"example": "无",
|
8925
|
+
"member": "Agent",
|
8926
|
+
"name": "Agent",
|
8927
|
+
"required": false,
|
8928
|
+
"type": "object"
|
8929
|
+
},
|
8930
|
+
{
|
8931
|
+
"disabled": false,
|
8932
|
+
"document": "企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。",
|
8933
|
+
"example": "[\"yDRS4UUgygqdcj56UuO4zjExBQcOiB68\",\"yDRS4UUgygqdcj5pUuO4zjEu602GFIe6\"]",
|
8934
|
+
"member": "string",
|
8935
|
+
"name": "TaskIds",
|
8936
|
+
"required": false,
|
8937
|
+
"type": "list"
|
8938
|
+
}
|
8939
|
+
],
|
8940
|
+
"type": "object"
|
8941
|
+
},
|
8942
|
+
"DescribeBatchOrganizationRegistrationTasksResponse": {
|
8943
|
+
"document": "DescribeBatchOrganizationRegistrationTasks返回参数结构体",
|
8944
|
+
"members": [
|
8945
|
+
{
|
8946
|
+
"disabled": false,
|
8947
|
+
"document": "企业批量任务状态明细",
|
8948
|
+
"example": "无",
|
8949
|
+
"member": "BatchOrganizationRegistrationTasksDetails",
|
8950
|
+
"name": "Details",
|
8951
|
+
"output_required": false,
|
8952
|
+
"type": "list",
|
8953
|
+
"value_allowed_null": false
|
8954
|
+
},
|
8955
|
+
{
|
8956
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8957
|
+
"member": "string",
|
8958
|
+
"name": "RequestId",
|
8959
|
+
"type": "string"
|
8960
|
+
}
|
8961
|
+
],
|
8962
|
+
"type": "object"
|
8963
|
+
},
|
8795
8964
|
"DescribeBatchOrganizationRegistrationUrlsRequest": {
|
8796
8965
|
"document": "DescribeBatchOrganizationRegistrationUrls请求参数结构体",
|
8797
8966
|
"members": [
|
@@ -886,6 +886,14 @@
|
|
886
886
|
"title": "获取创建法人章二维码成功"
|
887
887
|
}
|
888
888
|
],
|
889
|
+
"CreateModifyAdminAuthorizationUrl": [
|
890
|
+
{
|
891
|
+
"document": "平台审核因为照片不清晰原因,拒绝了超管授权书,\n此时用户重新上传超管授权书。\n生成的链接是小程序链接",
|
892
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateModifyAdminAuthorizationUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwf3UUckps8dvypUEfH3DjwIpMfa0uw\"\n },\n \"AuthorizationId\": \"yDt3sUUckpxzouvxUuFrZIdufFSsBs7L\",\n \"Endpoint\": \"HTTP\"\n}",
|
893
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1245a2a3537e\",\n \"Url\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=REGISTER_ENTERPRISE_FOR_UPDATE_AUTH_FILE&AuthorizationId=yDt3sUUckpxzou8bUuFrZIdxeP9YoXeP\"\n }\n}",
|
894
|
+
"title": "重新上传超管授权书"
|
895
|
+
}
|
896
|
+
],
|
889
897
|
"CreateMultiFlowSignQRCode": [
|
890
898
|
{
|
891
899
|
"document": "创建一码多扫流程签署二维码,指定固定的用户才能扫码签署。",
|
@@ -1384,6 +1392,14 @@
|
|
1384
1392
|
"title": "撤销印章授权"
|
1385
1393
|
}
|
1386
1394
|
],
|
1395
|
+
"DescribeBatchOrganizationRegistrationTasks": [
|
1396
|
+
{
|
1397
|
+
"document": "1.通过创建企业批量认证任务 创建了三个认证任务\n2.其中一条认证流认证成功,一条认证流提交成功,一条认证流失败\n3.返回具体的详细信息",
|
1398
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBatchOrganizationRegistrationTasks\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwf3UUckps8dvypUEfH3DjwIpMfa0uw\"\n },\n \"TaskIds\": [\n \"yDt3sUUckpxzouwhUuFrZIdEqeNE9O1t\",\n \"yDt3sUUckpxzouw2UuFrZIdy9KZYcPGK\",\n \"yDt3sUUckpxzouwrUuFrZIdRVTqybC0a\"\n ]\n}",
|
1399
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"ErrorMessage\": \"\",\n \"Status\": \"Authorization\",\n \"TaskId\": \"yDt3sUUckpxzouw8UuFrZIdSRJJWKucN\"\n },\n {\n \"ErrorMessage\": \"\",\n \"Status\": \"Submit\",\n \"TaskId\": \"yDt3sUUckpxzouw8UuFrZIdSRJJWKucN\"\n },\n {\n \"ErrorMessage\": \"认证失败,错误信息:此企业已经完成认证,请联系此企业的超级管理员(典*谦)加入该企业\",\n \"Status\": \"Failed\",\n \"TaskId\": \"yDt3sUUckpxzouw8UuFrZIdSRJJWKucN\"\n }\n ],\n \"RequestId\": \"s1750068263505524541\"\n }\n}",
|
1400
|
+
"title": "查询批量企业认证任务状态"
|
1401
|
+
}
|
1402
|
+
],
|
1387
1403
|
"DescribeBatchOrganizationRegistrationUrls": [
|
1388
1404
|
{
|
1389
1405
|
"document": "",
|