tccli 3.0.1308.1__py2.py3-none-any.whl → 3.0.1309.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/cat/cat_client.py +53 -0
- tccli/services/cat/v20180409/api.json +80 -0
- tccli/services/cat/v20180409/examples.json +8 -0
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +155 -0
- tccli/services/hunyuan/v20230901/examples.json +8 -0
- tccli/services/iss/v20230517/examples.json +1 -1
- tccli/services/mongodb/v20190725/api.json +1 -1
- tccli/services/partners/partners_client.py +57 -4
- tccli/services/partners/v20180321/api.json +151 -0
- tccli/services/partners/v20180321/examples.json +14 -0
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/teo/v20220901/api.json +9 -9
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +8 -8
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +20 -1
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +100 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1309.1'
|
tccli/services/cat/cat_client.py
CHANGED
@@ -225,6 +225,58 @@ def doUpdateProbeTaskAttributes(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
+
def doDescribeProbeMetricTagValues(args, parsed_globals):
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
230
|
+
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
+
cred = credential.CVMRoleCredential()
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
+
)
|
238
|
+
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):
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
+
else:
|
241
|
+
cred = credential.Credential(
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
+
)
|
244
|
+
http_profile = HttpProfile(
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
+
reqMethod="POST",
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
+
)
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
+
if g_param[OptionsDefine.Language]:
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
+
client = mod.CatClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
+
model = models.DescribeProbeMetricTagValuesRequest()
|
258
|
+
model.from_json_string(json.dumps(args))
|
259
|
+
start_time = time.time()
|
260
|
+
while True:
|
261
|
+
rsp = client.DescribeProbeMetricTagValues(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
228
280
|
def doDescribeNodes(args, parsed_globals):
|
229
281
|
g_param = parse_global_arg(parsed_globals)
|
230
282
|
|
@@ -708,6 +760,7 @@ ACTION_MAP = {
|
|
708
760
|
"DescribeProbeMetricData": doDescribeProbeMetricData,
|
709
761
|
"DescribeProbeTasks": doDescribeProbeTasks,
|
710
762
|
"UpdateProbeTaskAttributes": doUpdateProbeTaskAttributes,
|
763
|
+
"DescribeProbeMetricTagValues": doDescribeProbeMetricTagValues,
|
711
764
|
"DescribeNodes": doDescribeNodes,
|
712
765
|
"CreateProbeTasks": doCreateProbeTasks,
|
713
766
|
"DescribeProbeNodes": doDescribeProbeNodes,
|
@@ -49,6 +49,13 @@
|
|
49
49
|
"output": "DescribeProbeMetricDataResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
|
+
"DescribeProbeMetricTagValues": {
|
53
|
+
"document": "查询同个任务类型下的维度标签值,包括查询用户任务信息,具体任务下的多个维度标签信息。(通过为DescribeProbeMetricData接口的Filters参数添加维度筛选条件,可实现多维数据分析)",
|
54
|
+
"input": "DescribeProbeMetricTagValuesRequest",
|
55
|
+
"name": "查询云拨测维度标签值",
|
56
|
+
"output": "DescribeProbeMetricTagValuesResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
52
59
|
"DescribeProbeNodes": {
|
53
60
|
"document": "查询拨测节点",
|
54
61
|
"input": "DescribeProbeNodesRequest",
|
@@ -842,6 +849,79 @@
|
|
842
849
|
],
|
843
850
|
"type": "object"
|
844
851
|
},
|
852
|
+
"DescribeProbeMetricTagValuesRequest": {
|
853
|
+
"document": "DescribeProbeMetricTagValues请求参数结构体",
|
854
|
+
"members": [
|
855
|
+
{
|
856
|
+
"disabled": false,
|
857
|
+
"document": "分析任务类型,支持以下几种类型:\nAnalyzeTaskType_Network:网络质量\nAnalyzeTaskType_Browse:页面性能 \nAnalyzeTaskType_Transport:端口性能\nAnalyzeTaskType_UploadDownload:文件传输\nAnalyzeTaskType_MediaStream:音视频体验\n",
|
858
|
+
"example": "AnalyzeTaskType_UploadDownload",
|
859
|
+
"member": "string",
|
860
|
+
"name": "AnalyzeTaskType",
|
861
|
+
"required": false,
|
862
|
+
"type": "string"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"disabled": false,
|
866
|
+
"document": "维度标签值,参考:\nhost:任务域名\nerrorInfo:状态类型\narea:拨测点地区\noperator:拨测点运营商\ntaskId:任务ID",
|
867
|
+
"example": "host",
|
868
|
+
"member": "string",
|
869
|
+
"name": "Key",
|
870
|
+
"required": false,
|
871
|
+
"type": "string"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"disabled": false,
|
875
|
+
"document": "过滤条件,可以传单个过滤条件也可以拼接多个参数,支持正则匹配",
|
876
|
+
"example": "host = 'www.qq.com' and taskId =~ /^(task-probe123)$/",
|
877
|
+
"member": "string",
|
878
|
+
"name": "Filter",
|
879
|
+
"required": false,
|
880
|
+
"type": "string"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"disabled": false,
|
884
|
+
"document": "过滤条件数组",
|
885
|
+
"example": "[\"\"]",
|
886
|
+
"member": "string",
|
887
|
+
"name": "Filters",
|
888
|
+
"required": false,
|
889
|
+
"type": "list"
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"disabled": false,
|
893
|
+
"document": "时间范围",
|
894
|
+
"example": "time >= now()-1h",
|
895
|
+
"member": "string",
|
896
|
+
"name": "TimeRange",
|
897
|
+
"required": false,
|
898
|
+
"type": "string"
|
899
|
+
}
|
900
|
+
],
|
901
|
+
"type": "object"
|
902
|
+
},
|
903
|
+
"DescribeProbeMetricTagValuesResponse": {
|
904
|
+
"document": "DescribeProbeMetricTagValues返回参数结构体",
|
905
|
+
"members": [
|
906
|
+
{
|
907
|
+
"disabled": false,
|
908
|
+
"document": "标签值序列化后的字符串",
|
909
|
+
"example": "无",
|
910
|
+
"member": "string",
|
911
|
+
"name": "TagValueSet",
|
912
|
+
"output_required": true,
|
913
|
+
"type": "string",
|
914
|
+
"value_allowed_null": false
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
918
|
+
"member": "string",
|
919
|
+
"name": "RequestId",
|
920
|
+
"type": "string"
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"type": "object"
|
924
|
+
},
|
845
925
|
"DescribeProbeNodesRequest": {
|
846
926
|
"document": "DescribeProbeNodes请求参数结构体",
|
847
927
|
"members": [
|
@@ -74,6 +74,14 @@
|
|
74
74
|
"title": "请求浏览数据"
|
75
75
|
}
|
76
76
|
],
|
77
|
+
"DescribeProbeMetricTagValues": [
|
78
|
+
{
|
79
|
+
"document": "请求域名数据\n",
|
80
|
+
"input": "POST / HTTP/1.1\nHost: cat.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProbeMetricTagValues\n<公共请求参数>\n\n{\n \"AnalyzeTaskType\": \"AnalyzeTaskType_Network\",\n \"Key\": \"area\",\n \"Filter\": \"host = 'baidu.com'\",\n \"TimeRange\": \"now()-30d\"\n}",
|
81
|
+
"output": "{\n \"Response\": {\n \"TagValueSet\": \"{\\\"name\\\":\\\"netenv_request_gauge\\\",\\\"columns\\\":[\\\"key\\\",\\\"value\\\"],\\\"values\\\":[[\\\"area\\\",\\\"上海\\\"]],\\\"tags\\\":null}\",\n \"RequestId\": \"asd\"\n }\n}",
|
82
|
+
"title": "请求域名数据"
|
83
|
+
}
|
84
|
+
],
|
77
85
|
"DescribeProbeNodes": [
|
78
86
|
{
|
79
87
|
"document": "查询拨测节点\n",
|
@@ -1037,6 +1037,15 @@
|
|
1037
1037
|
"name": "EnableAutoScaleUp",
|
1038
1038
|
"required": false,
|
1039
1039
|
"type": "bool"
|
1040
|
+
},
|
1041
|
+
{
|
1042
|
+
"disabled": false,
|
1043
|
+
"document": "v1.5:创建普通版的通用文件系统;\nv3.1:创建增强版的通用文件系统\n说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。",
|
1044
|
+
"example": "v1.5",
|
1045
|
+
"member": "string",
|
1046
|
+
"name": "CfsVersion",
|
1047
|
+
"required": false,
|
1048
|
+
"type": "string"
|
1040
1049
|
}
|
1041
1050
|
],
|
1042
1051
|
"type": "object"
|
@@ -680,7 +680,7 @@
|
|
680
680
|
"status": "online"
|
681
681
|
},
|
682
682
|
"StartFlow": {
|
683
|
-
"document": "此接口用于启动流程。它是模板发起合同的最后一步。\n在[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)和[创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)之后,用于开始整个合同流程, 推进流程进入到签署环节。\n\n\n\n注:\n1.<font color=\"red\">合同发起后就会扣减合同的额度</font>, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n2.<font color=\"red\">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能\n\n3.<font color=\"red\">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/
|
683
|
+
"document": "此接口用于启动流程。它是模板发起合同的最后一步。\n在[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)和[创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)之后,用于开始整个合同流程, 推进流程进入到签署环节。\n\n\n\n注:\n1.<font color=\"red\">合同发起后就会扣减合同的额度</font>, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n2.<font color=\"red\">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能\n\n3.<font color=\"red\">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。",
|
684
684
|
"input": "StartFlowRequest",
|
685
685
|
"name": "模板发起合同-发起签署流程",
|
686
686
|
"output": "StartFlowResponse",
|
@@ -329,6 +329,58 @@ def doGetEmbedding(args, parsed_globals):
|
|
329
329
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
330
|
|
331
331
|
|
332
|
+
def doImageQuestion(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.HunyuanClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.ImageQuestionRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.ImageQuestion(model)
|
366
|
+
result = rsp.to_json_string()
|
367
|
+
try:
|
368
|
+
json_obj = json.loads(result)
|
369
|
+
except TypeError as e:
|
370
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
371
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
372
|
+
break
|
373
|
+
cur_time = time.time()
|
374
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
375
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
376
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
377
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
378
|
+
else:
|
379
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
380
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
381
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
|
+
|
383
|
+
|
332
384
|
def doCreateThread(args, parsed_globals):
|
333
385
|
g_param = parse_global_arg(parsed_globals)
|
334
386
|
|
@@ -1178,6 +1230,7 @@ ACTION_MAP = {
|
|
1178
1230
|
"ChatTranslations": doChatTranslations,
|
1179
1231
|
"GetThreadMessageList": doGetThreadMessageList,
|
1180
1232
|
"GetEmbedding": doGetEmbedding,
|
1233
|
+
"ImageQuestion": doImageQuestion,
|
1181
1234
|
"CreateThread": doCreateThread,
|
1182
1235
|
"RunThread": doRunThread,
|
1183
1236
|
"SetPayMode": doSetPayMode,
|
@@ -91,6 +91,13 @@
|
|
91
91
|
"output": "GroupChatCompletionsResponse",
|
92
92
|
"status": "online"
|
93
93
|
},
|
94
|
+
"ImageQuestion": {
|
95
|
+
"document": "如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)\n\n腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
96
|
+
"input": "ImageQuestionRequest",
|
97
|
+
"name": "拍照解题",
|
98
|
+
"output": "ImageQuestionResponse",
|
99
|
+
"status": "online"
|
100
|
+
},
|
94
101
|
"QueryHunyuanImageChatJob": {
|
95
102
|
"document": "混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。\n提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。\n混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
96
103
|
"input": "QueryHunyuanImageChatJobRequest",
|
@@ -840,6 +847,16 @@
|
|
840
847
|
"output_required": false,
|
841
848
|
"type": "list",
|
842
849
|
"value_allowed_null": true
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"disabled": false,
|
853
|
+
"document": "思维链内容。用于展示模型思考过程,仅 Hunyuan-T1 系列模型可用。注意:在进行多轮对话时,请不要将此字段拼接到 messages 中。请求 messages 的请求参数中包含 reasoning_content,接口将报错。",
|
854
|
+
"example": "你好!",
|
855
|
+
"member": "string",
|
856
|
+
"name": "ReasoningContent",
|
857
|
+
"output_required": false,
|
858
|
+
"type": "string",
|
859
|
+
"value_allowed_null": false
|
843
860
|
}
|
844
861
|
],
|
845
862
|
"usage": "out"
|
@@ -2052,6 +2069,144 @@
|
|
2052
2069
|
],
|
2053
2070
|
"usage": "in"
|
2054
2071
|
},
|
2072
|
+
"ImageMessage": {
|
2073
|
+
"document": "拍照解题内容",
|
2074
|
+
"members": [
|
2075
|
+
{
|
2076
|
+
"disabled": false,
|
2077
|
+
"document": "角色,可选值包括 system、user、assistant。",
|
2078
|
+
"example": "user",
|
2079
|
+
"member": "string",
|
2080
|
+
"name": "Role",
|
2081
|
+
"required": true,
|
2082
|
+
"type": "string"
|
2083
|
+
},
|
2084
|
+
{
|
2085
|
+
"disabled": false,
|
2086
|
+
"document": "文本内容",
|
2087
|
+
"example": "你好!",
|
2088
|
+
"member": "string",
|
2089
|
+
"name": "Content",
|
2090
|
+
"required": false,
|
2091
|
+
"type": "string"
|
2092
|
+
},
|
2093
|
+
{
|
2094
|
+
"disabled": false,
|
2095
|
+
"document": "多种类型内容(目前支持图片和文本),仅 hunyuan-vision 和 hunyuan-turbo-vision 模型支持",
|
2096
|
+
"example": "无",
|
2097
|
+
"member": "Content",
|
2098
|
+
"name": "Contents",
|
2099
|
+
"required": false,
|
2100
|
+
"type": "list"
|
2101
|
+
}
|
2102
|
+
],
|
2103
|
+
"usage": "in"
|
2104
|
+
},
|
2105
|
+
"ImageQuestionRequest": {
|
2106
|
+
"document": "ImageQuestion请求参数结构体",
|
2107
|
+
"members": [
|
2108
|
+
{
|
2109
|
+
"disabled": false,
|
2110
|
+
"document": "模型名称,可选值包括 hunyuan-vision-image-question。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
2111
|
+
"example": "hunyuan-vision-image-question",
|
2112
|
+
"member": "string",
|
2113
|
+
"name": "Model",
|
2114
|
+
"required": true,
|
2115
|
+
"type": "string"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
"disabled": false,
|
2119
|
+
"document": "聊天上下文信息。说明:1. 长度最多为 40,按对话时间从旧到新在数组中排列。2. Message.Role 可选值:system、user、assistant。其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现(一问一答),以 user 提问开始,user提问结束,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。3. Messages 中 Content 总长度不能超过模型输入长度上限(可参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 文档),超过则会截断最前面的内容,只保留尾部内容。",
|
2120
|
+
"example": "无",
|
2121
|
+
"member": "ImageMessage",
|
2122
|
+
"name": "Messages",
|
2123
|
+
"required": true,
|
2124
|
+
"type": "list"
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
"disabled": false,
|
2128
|
+
"document": "流式调用开关。\n说明:\n1. 未传值时默认为非流式调用(false)。\n2. 流式调用时以 SSE 协议增量返回结果(返回值取 Choices[n].Delta 中的值,需要拼接增量数据才能获得完整结果)。\n3. 非流式调用时:\n调用方式与普通 HTTP 请求无异。\n接口响应耗时较长,**如需更低时延建议设置为 true**。\n只返回一次最终结果(返回值取 Choices[n].Message 中的值)。\n\n注意:\n通过 SDK 调用时,流式和非流式调用需用**不同的方式**获取返回值,具体参考 SDK 中的注释或示例(在各语言 SDK 代码仓库的 examples/hunyuan/v20230901/ 目录中)。",
|
2129
|
+
"example": "false",
|
2130
|
+
"member": "bool",
|
2131
|
+
"name": "Stream",
|
2132
|
+
"required": false,
|
2133
|
+
"type": "bool"
|
2134
|
+
}
|
2135
|
+
],
|
2136
|
+
"type": "object"
|
2137
|
+
},
|
2138
|
+
"ImageQuestionResponse": {
|
2139
|
+
"document": "ImageQuestion返回参数结构体",
|
2140
|
+
"members": [
|
2141
|
+
{
|
2142
|
+
"disabled": false,
|
2143
|
+
"document": "Unix 时间戳,单位为秒。",
|
2144
|
+
"example": "1705634032",
|
2145
|
+
"member": "int64",
|
2146
|
+
"name": "Created",
|
2147
|
+
"output_required": false,
|
2148
|
+
"type": "int",
|
2149
|
+
"value_allowed_null": false
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
"disabled": false,
|
2153
|
+
"document": "Token 统计信息。\n按照总 Token 数量计费。",
|
2154
|
+
"example": "无",
|
2155
|
+
"member": "Usage",
|
2156
|
+
"name": "Usage",
|
2157
|
+
"output_required": false,
|
2158
|
+
"type": "object",
|
2159
|
+
"value_allowed_null": false
|
2160
|
+
},
|
2161
|
+
{
|
2162
|
+
"disabled": false,
|
2163
|
+
"document": "免责声明。",
|
2164
|
+
"example": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
|
2165
|
+
"member": "string",
|
2166
|
+
"name": "Note",
|
2167
|
+
"output_required": false,
|
2168
|
+
"type": "string",
|
2169
|
+
"value_allowed_null": false
|
2170
|
+
},
|
2171
|
+
{
|
2172
|
+
"disabled": false,
|
2173
|
+
"document": "本次请求的 RequestId。",
|
2174
|
+
"example": "9c772634-8824-43e8-bc24-8bc4c19b9151",
|
2175
|
+
"member": "string",
|
2176
|
+
"name": "Id",
|
2177
|
+
"output_required": false,
|
2178
|
+
"type": "string",
|
2179
|
+
"value_allowed_null": false
|
2180
|
+
},
|
2181
|
+
{
|
2182
|
+
"disabled": false,
|
2183
|
+
"document": "回复内容。",
|
2184
|
+
"example": "无",
|
2185
|
+
"member": "Choice",
|
2186
|
+
"name": "Choices",
|
2187
|
+
"output_required": false,
|
2188
|
+
"type": "list",
|
2189
|
+
"value_allowed_null": false
|
2190
|
+
},
|
2191
|
+
{
|
2192
|
+
"disabled": false,
|
2193
|
+
"document": "错误信息。\n如果流式返回中服务处理异常,返回该错误信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2194
|
+
"example": "无",
|
2195
|
+
"member": "ErrorMsg",
|
2196
|
+
"name": "ErrorMsg",
|
2197
|
+
"output_required": false,
|
2198
|
+
"type": "object",
|
2199
|
+
"value_allowed_null": true
|
2200
|
+
},
|
2201
|
+
{
|
2202
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
2203
|
+
"member": "string",
|
2204
|
+
"name": "RequestId",
|
2205
|
+
"type": "string"
|
2206
|
+
}
|
2207
|
+
],
|
2208
|
+
"type": "object"
|
2209
|
+
},
|
2055
2210
|
"ImageUrl": {
|
2056
2211
|
"document": "具体的图片内容",
|
2057
2212
|
"members": [
|
@@ -158,6 +158,14 @@
|
|
158
158
|
"title": "调用示例"
|
159
159
|
}
|
160
160
|
],
|
161
|
+
"ImageQuestion": [
|
162
|
+
{
|
163
|
+
"document": "",
|
164
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageQuestion\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision-image-question\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"解答图片中的问题\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.tencentcos.cn/public/0/0/image/hy/2c4dda9e032a477a6572866de2419ecd9e59076a-6145-46a0-9f47-1048f65cf4f8.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}",
|
165
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b7c3e6e3-a000-4cf1-9201-cdf3dd6352b7\",\n \"Id\": \"b7c3e6e3-a000-4cf1-9201-cdf3dd6352b7\",\n \"Created\": 1746614615,\n \"Choices\": [\n {\n \"Index\": 0,\n \"Message\": {\n \"Role\": \"assistant\",\n \"Content\": \"本题可根据分数、百分数、比的相关性质和运算法则来逐一求解。\\n\\n### 1. 求解$\\\\frac{3}{4}\\\\div(\\\\space)=\\\\ 9:(\\\\space)=\\\\frac{(\\\\space)}{20}=(\\\\space)\\\\%$\\n设$\\\\frac{3}{4}\\\\div x = \\\\frac{3}{20}$,根据“除数$=$被除数$\\\\div$商”可得$x = \\\\frac{3}{4}\\\\div\\\\frac{3}{20}=\\\\frac{3}{4}\\\\times\\\\frac{20}{3}= 5$;\\n设$9:y = \\\\frac{3}{20}$,根据“后项$=$前项$\\\\div$比值”可得$y = 9\\\\div\\\\frac{3}{20}=9\\\\times\\\\frac{20}{3}= 60$;\\n将$\\\\frac{3}{20}$化为百分数,$\\\\frac{3}{20}=3\\\\div20 = 0.15 = 15\\\\%$。\\n所以括号内应依次填入$5$、$60$、$15$。\\n\\n### 2. 求甲数是乙数的百分之几以及乙数比甲数少百分之几\\n- 甲、乙两数的比是$5:4$,把甲数看成$5$份,乙数看成$4$份。\\n甲数是乙数的:$5\\\\div4\\\\times100\\\\% = 125\\\\%$;\\n乙数比甲数少:$(5 - 4)\\\\div5\\\\times100\\\\% = 1\\\\div5\\\\times100\\\\% = 20\\\\%$。\\n\\n### 3. 求括号里的数使等式成立\\n根据“一个加数$=$和$-$另一个加数”,可得$\\\\frac{1}{4}+x = 1$,则$x = 1 - \\\\frac{1}{4}=\\\\frac{3}{4}$;\\n根据“一个因数$=$积$\\\\div$另一个因数”,可得$\\\\frac{2}{5}\\\\times x = 1$,则$x = 1\\\\div\\\\frac{2}{5}=1\\\\times\\\\frac{5}{2}=\\\\frac{5}{2}$;\\n根据“除数$=$被除数$\\\\div$商”,可得$\\\\frac{6}{11}\\\\div x = 1$,则$x = \\\\frac{6}{11}\\\\div1=\\\\frac{6}{11}$。\\n所以括号内应依次填入$\\\\frac{3}{4}$、$\\\\frac{5}{2}$、$\\\\frac{6}{11}$。\\n\\n### 4. 求比$50$米少$20\\\\%$的长度以及$35$米比多少米多$40\\\\%$\\n- 比$50$米少$20\\\\%$,即$50$米的$(1 - 20\\\\%)$,$50\\\\times(1 - 20\\\\%) = 50\\\\times0.8 = 40$(米);\\n- 设$35$米比$x$米多$40\\\\%$,则可列方程$(1 + 40\\\\%)x = 35$,即$1.4x = 35$,解得$x = 35\\\\div1.4 = 25$(米)。\\n所以括号内应依次填入$40$、$25$。\\n\\n### 5. 比较大小\\n- 计算$\\\\frac{5}{8}\\\\div\\\\frac{4}{5}=\\\\frac{5}{8}\\\\times\\\\frac{5}{4}$,因为$\\\\frac{5}{4}\\\\gt\\\\frac{4}{5}$,所以$\\\\frac{5}{8}\\\\times\\\\frac{5}{4}\\\\gt\\\\frac{5}{8}\\\\times\\\\frac{4}{5}$,即$\\\\frac{5}{8}\\\\div\\\\frac{4}{5}\\\\gt\\\\frac{5}{8}\\\\times\\\\frac{4}{5}$;\\n- 根据乘法结合律$(a\\\\times b)\\\\times c = a\\\\times(b\\\\times c)$,可得$(\\\\frac{1}{2}\\\\times\\\\frac{1}{3})\\\\times\\\\frac{1}{5}=\\\\frac{1}{2}\\\\times\\\\frac{1}{3}\\\\times\\\\frac{1}{5}$;\\n- 计算$\\\\frac{6}{7}\\\\div\\\\frac{4}{3}=\\\\frac{6}{7}\\\\times\\\\frac{3}{4}$,因为$\\\\frac{4}{3}\\\\gt\\\\frac{3}{4}$,所以$\\\\frac{6}{7}\\\\times\\\\frac{4}{3}\\\\gt\\\\frac{6}{7}\\\\times\\\\frac{3}{4}$,即$\\\\frac{6}{7}\\\\times\\\\frac{4}{3}\\\\gt\\\\frac{6}{7}\\\\div\\\\frac{4}{3}$。\\n所以括号内应依次填入$\\\\gt$、$=$、$\\\\gt$。\\n\\n### 6. 求没成活的棵数\\n已知果园今年栽果树$200$棵,成活率是$98\\\\%$,则没成活的占$(1 - 98\\\\%)$,没成活的棵数为$200\\\\times(1 - 98\\\\%) = 200\\\\times0.02 = 4$(棵)。\\n\\n综上,答案依次为:\\n1. $5$、$60$、$15$;\\n2. $125$、$20$;\\n3. $\\\\frac{3}{4}$、$\\\\frac{5}{2}$、$\\\\frac{6}{11}$;\\n4. $40$、$25$;\\n5. $\\\\gt$、$=$、$\\\\gt$;\\n6. $4$。\"\n },\n \"FinishReason\": \"stop\"\n }\n ],\n \"Usage\": {\n \"PromptTokens\": 1010,\n \"CompletionTokens\": 836705,\n \"TotalTokens\": 837715\n },\n \"Note\": \"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\"\n }\n}",
|
166
|
+
"title": "拍照解题请求"
|
167
|
+
}
|
168
|
+
],
|
161
169
|
"QueryHunyuanImageChatJob": [
|
162
170
|
{
|
163
171
|
"document": "成功查询",
|
@@ -103,7 +103,7 @@
|
|
103
103
|
},
|
104
104
|
{
|
105
105
|
"document": "成功",
|
106
|
-
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUserDevice\n<公共请求参数>\n\n{\n \"Name\": \"testrtmp\",\n \"AccessProtocol\": 1,\n \"Type\": 1,\n \"OrganizationId\": \"189\",\n \"ClusterId\": \"4169d92e-****-****-****-************\",\n \"
|
106
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUserDevice\n<公共请求参数>\n\n{\n \"Name\": \"testrtmp\",\n \"AccessProtocol\": 1,\n \"Type\": 1,\n \"OrganizationId\": \"189\",\n \"ClusterId\": \"4169d92e-****-****-****-************\",\n \"AppName\": \"testapp\",\n \"StreamName\": \"teststream\"\n}",
|
107
107
|
"output": "{\n \"Response\": {\n \"Data\": {\n \"AccessProtocol\": 1,\n \"AppId\": 1300056079,\n \"ClusterId\": \"4169d92e-****-****-****-************\",\n \"ClusterName\": \"上海一区\",\n \"Code\": \"0HQq******\",\n \"Description\": \"\",\n \"DeviceId\": \"f1f9baae-****-****-****-************\",\n \"GatewayId\": \"\",\n \"Ip\": \"\",\n \"Name\": \"testrtmp\",\n \"OrganizationId\": 189,\n \"Password\": \"37********10\",\n \"Port\": 0,\n \"ProtocolType\": 0,\n \"Status\": 0,\n \"TransportProtocol\": 0,\n \"Type\": 1,\n \"Username\": \"\"\n },\n \"RequestId\": \"56d8591d-85cb-498d-a5b6-52133305e69c\"\n }\n}",
|
108
108
|
"title": "success"
|
109
109
|
}
|
@@ -5204,7 +5204,7 @@
|
|
5204
5204
|
"type": "int"
|
5205
5205
|
},
|
5206
5206
|
{
|
5207
|
-
"disabled":
|
5207
|
+
"disabled": true,
|
5208
5208
|
"document": "(已废弃) 请使用ResizeOplog独立接口完成。\n\n实例配置变更后 Oplog 的大小。\n- 单位:GB。\n- 默认 Oplog 占用容量为磁盘空间的10%。系统允许设置的 Oplog 容量范围为磁盘空间的[10%,90%]。",
|
5209
5209
|
"example": "25",
|
5210
5210
|
"member": "uint64",
|
@@ -173,7 +173,7 @@ def doAgentTransferMoney(args, parsed_globals):
|
|
173
173
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
174
|
|
175
175
|
|
176
|
-
def
|
176
|
+
def doDescribeAgentDealsPriceDetailByDealName(args, parsed_globals):
|
177
177
|
g_param = parse_global_arg(parsed_globals)
|
178
178
|
|
179
179
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -202,11 +202,11 @@ def doDescribeRebateInfos(args, parsed_globals):
|
|
202
202
|
client = mod.PartnersClient(cred, g_param[OptionsDefine.Region], profile)
|
203
203
|
client._sdkVersion += ("_CLI_" + __version__)
|
204
204
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.
|
205
|
+
model = models.DescribeAgentDealsPriceDetailByDealNameRequest()
|
206
206
|
model.from_json_string(json.dumps(args))
|
207
207
|
start_time = time.time()
|
208
208
|
while True:
|
209
|
-
rsp = client.
|
209
|
+
rsp = client.DescribeAgentDealsPriceDetailByDealName(model)
|
210
210
|
result = rsp.to_json_string()
|
211
211
|
try:
|
212
212
|
json_obj = json.loads(result)
|
@@ -745,6 +745,58 @@ def doDescribeAgentAuditedClients(args, parsed_globals):
|
|
745
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
746
|
|
747
747
|
|
748
|
+
def doDescribeRebateInfos(args, parsed_globals):
|
749
|
+
g_param = parse_global_arg(parsed_globals)
|
750
|
+
|
751
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
752
|
+
cred = credential.CVMRoleCredential()
|
753
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
754
|
+
cred = credential.STSAssumeRoleCredential(
|
755
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
756
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
757
|
+
)
|
758
|
+
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):
|
759
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
760
|
+
else:
|
761
|
+
cred = credential.Credential(
|
762
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
763
|
+
)
|
764
|
+
http_profile = HttpProfile(
|
765
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
766
|
+
reqMethod="POST",
|
767
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
768
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
769
|
+
)
|
770
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
771
|
+
if g_param[OptionsDefine.Language]:
|
772
|
+
profile.language = g_param[OptionsDefine.Language]
|
773
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
774
|
+
client = mod.PartnersClient(cred, g_param[OptionsDefine.Region], profile)
|
775
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
776
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
+
model = models.DescribeRebateInfosRequest()
|
778
|
+
model.from_json_string(json.dumps(args))
|
779
|
+
start_time = time.time()
|
780
|
+
while True:
|
781
|
+
rsp = client.DescribeRebateInfos(model)
|
782
|
+
result = rsp.to_json_string()
|
783
|
+
try:
|
784
|
+
json_obj = json.loads(result)
|
785
|
+
except TypeError as e:
|
786
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
787
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
788
|
+
break
|
789
|
+
cur_time = time.time()
|
790
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
791
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
792
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
793
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
794
|
+
else:
|
795
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
796
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
797
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
798
|
+
|
799
|
+
|
748
800
|
def doDescribeClientJoinIncreaseList(args, parsed_globals):
|
749
801
|
g_param = parse_global_arg(parsed_globals)
|
750
802
|
|
@@ -1175,7 +1227,7 @@ ACTION_MAP = {
|
|
1175
1227
|
"AssignClientsToSales": doAssignClientsToSales,
|
1176
1228
|
"DescribeAgentBills": doDescribeAgentBills,
|
1177
1229
|
"AgentTransferMoney": doAgentTransferMoney,
|
1178
|
-
"
|
1230
|
+
"DescribeAgentDealsPriceDetailByDealName": doDescribeAgentDealsPriceDetailByDealName,
|
1179
1231
|
"RemovePayRelationForClient": doRemovePayRelationForClient,
|
1180
1232
|
"ModifyClientRemark": doModifyClientRemark,
|
1181
1233
|
"DescribeAgentClientGrade": doDescribeAgentClientGrade,
|
@@ -1186,6 +1238,7 @@ ACTION_MAP = {
|
|
1186
1238
|
"DescribeClientSwitchTraTaskInfo": doDescribeClientSwitchTraTaskInfo,
|
1187
1239
|
"DescribeAgentPayDealsV2": doDescribeAgentPayDealsV2,
|
1188
1240
|
"DescribeAgentAuditedClients": doDescribeAgentAuditedClients,
|
1241
|
+
"DescribeRebateInfos": doDescribeRebateInfos,
|
1189
1242
|
"DescribeClientJoinIncreaseList": doDescribeClientJoinIncreaseList,
|
1190
1243
|
"DescribeAgentSelfPayDealsV2": doDescribeAgentSelfPayDealsV2,
|
1191
1244
|
"DescribeAgentRelateBigDealIds": doDescribeAgentRelateBigDealIds,
|