tccli 3.0.1307.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.
Files changed (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +29 -19
  3. tccli/services/apm/v20210622/api.json +38 -0
  4. tccli/services/asr/v20190614/api.json +64 -64
  5. tccli/services/asr/v20190614/examples.json +4 -4
  6. tccli/services/bh/v20230418/api.json +2 -2
  7. tccli/services/cat/cat_client.py +53 -0
  8. tccli/services/cat/v20180409/api.json +80 -0
  9. tccli/services/cat/v20180409/examples.json +8 -0
  10. tccli/services/cdwch/v20200915/api.json +3 -3
  11. tccli/services/cfs/v20190719/api.json +9 -0
  12. tccli/services/clb/v20180317/api.json +120 -78
  13. tccli/services/clb/v20180317/examples.json +31 -31
  14. tccli/services/cloudaudit/v20190319/api.json +67 -67
  15. tccli/services/cloudaudit/v20190319/examples.json +2 -2
  16. tccli/services/config/v20220802/api.json +184 -165
  17. tccli/services/cvm/v20170312/api.json +2 -2
  18. tccli/services/cynosdb/cynosdb_client.py +53 -0
  19. tccli/services/cynosdb/v20190107/api.json +63 -0
  20. tccli/services/cynosdb/v20190107/examples.json +8 -0
  21. tccli/services/dsgc/dsgc_client.py +53 -0
  22. tccli/services/dsgc/v20190723/api.json +221 -7
  23. tccli/services/dsgc/v20190723/examples.json +8 -0
  24. tccli/services/ess/v20201111/api.json +1 -1
  25. tccli/services/hunyuan/hunyuan_client.py +53 -0
  26. tccli/services/hunyuan/v20230901/api.json +155 -0
  27. tccli/services/hunyuan/v20230901/examples.json +8 -0
  28. tccli/services/iss/v20230517/examples.json +1 -1
  29. tccli/services/mongodb/v20190725/api.json +1 -1
  30. tccli/services/ocr/v20181119/api.json +13 -3
  31. tccli/services/organization/v20210331/api.json +12 -12
  32. tccli/services/partners/partners_client.py +57 -4
  33. tccli/services/partners/v20180321/api.json +151 -0
  34. tccli/services/partners/v20180321/examples.json +14 -0
  35. tccli/services/postgres/v20170312/api.json +1 -1
  36. tccli/services/tdmq/v20200217/api.json +118 -14
  37. tccli/services/tdmq/v20200217/examples.json +1 -1
  38. tccli/services/teo/v20220901/api.json +9 -9
  39. tccli/services/teo/v20220901/examples.json +1 -1
  40. tccli/services/thpc/v20230321/api.json +1 -1
  41. tccli/services/trocket/v20230308/api.json +123 -19
  42. tccli/services/trocket/v20230308/examples.json +1 -1
  43. tccli/services/vpc/v20170312/api.json +114 -112
  44. tccli/services/vpc/v20170312/examples.json +4 -4
  45. tccli/services/waf/v20180125/api.json +43 -0
  46. tccli/services/waf/v20180125/examples.json +8 -0
  47. tccli/services/waf/waf_client.py +57 -4
  48. tccli/services/wedata/v20210820/api.json +1046 -10
  49. tccli/services/wedata/v20210820/examples.json +49 -1
  50. tccli/services/wedata/wedata_client.py +350 -32
  51. {tccli-3.0.1307.1.dist-info → tccli-3.0.1309.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1307.1.dist-info → tccli-3.0.1309.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1307.1.dist-info → tccli-3.0.1309.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1307.1.dist-info → tccli-3.0.1309.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1307.1.dist-info → tccli-3.0.1309.1.dist-info}/license_files/LICENSE +0 -0
@@ -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 \"TransportProtocol\": 0,\n \"Password\": \"37********10\",\n \"ProtocolType\": 0,\n \"AppName\": \"testapp\",\n \"StreamName\": \"teststream\"\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": false,
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",
@@ -493,14 +493,14 @@
493
493
  "SmartStructuralOCRV2": {
494
494
  "document": "本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。\n\n默认接口请求频率限制:5次/秒。",
495
495
  "input": "SmartStructuralOCRV2Request",
496
- "name": "智能结构化识别V2",
496
+ "name": "文档抽取(基础版)",
497
497
  "output": "SmartStructuralOCRV2Response",
498
498
  "status": "online"
499
499
  },
500
500
  "SmartStructuralPro": {
501
501
  "document": "本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。\n\n默认接口请求频率限制:5次/秒。",
502
502
  "input": "SmartStructuralProRequest",
503
- "name": "智能结构化高级版识别",
503
+ "name": "文档抽取(多模态版)",
504
504
  "output": "SmartStructuralProResponse",
505
505
  "status": "online"
506
506
  },
@@ -7445,7 +7445,7 @@
7445
7445
  },
7446
7446
  {
7447
7447
  "disabled": false,
7448
- "document": "扩展信息,不请求则不返回,具体输入参考示例3和示例4。\nIdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;\nPortrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;\n\nQuality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);\nBorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);\n\nWarnInfos,告警信息,Code 告警码列表和释义:\n-9100 身份证有效日期不合法告警,\n-9101 身份证边框不完整告警,\n\n-9102 身份证复印件告警(黑白及彩色复印件),\n-9108 身份证复印件告警(仅黑白复印件),\n\n-9103 身份证翻拍告警,\n-9105 身份证框内遮挡告警,\n-9104 临时身份证告警,\n-9106 身份证疑似存在PS痕迹告警,\n-9107 身份证反光告警。",
7448
+ "document": "扩展信息,不请求则不返回,具体输入参考示例3和示例4。\nIdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;\nPortrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;\n\nQuality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);\nBorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);\n\nWarnInfos,告警信息,Code 告警码列表和释义:\n-9101 身份证边框不完整告警,\n\n-9102 身份证复印件告警(黑白及彩色复印件),\n-9108 身份证复印件告警(仅黑白复印件),\n\n-9103 身份证翻拍告警,\n-9105 身份证框内遮挡告警,\n-9104 临时身份证告警,\n-9106 身份证疑似存在PS痕迹告警,\n-9107 身份证反光告警。",
7449
7449
  "example": "{\"Quality\":100,\"WarnInfos\":[],\"BorderCodeValue\":26}",
7450
7450
  "member": "string",
7451
7451
  "name": "AdvancedInfo",
@@ -15136,6 +15136,16 @@
15136
15136
  "type": "list",
15137
15137
  "value_allowed_null": true
15138
15138
  },
15139
+ {
15140
+ "disabled": false,
15141
+ "document": "解析",
15142
+ "example": "无",
15143
+ "member": "Element",
15144
+ "name": "Parse",
15145
+ "output_required": false,
15146
+ "type": "list",
15147
+ "value_allowed_null": false
15148
+ },
15139
15149
  {
15140
15150
  "disabled": false,
15141
15151
  "document": "整题的坐标\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -9633,14 +9633,14 @@
9633
9633
  },
9634
9634
  {
9635
9635
  "disabled": false,
9636
- "document": "策略名称。\n注意:此字段可能返回 null,表示取不到有效值。",
9636
+ "document": "策略名称。",
9637
9637
  "example": "QcloudAccessForOceanusRole",
9638
9638
  "member": "string",
9639
9639
  "name": "PolicyName",
9640
9640
  "output_required": false,
9641
9641
  "required": false,
9642
9642
  "type": "string",
9643
- "value_allowed_null": true
9643
+ "value_allowed_null": false
9644
9644
  }
9645
9645
  ],
9646
9646
  "usage": "both"
@@ -10337,14 +10337,14 @@
10337
10337
  "members": [
10338
10338
  {
10339
10339
  "disabled": false,
10340
- "document": "策略ID。\n注意:此字段可能返回 null,表示取不到有效值。",
10340
+ "document": "策略ID",
10341
10341
  "example": "426322",
10342
10342
  "member": "int64",
10343
10343
  "name": "RolePolicyId",
10344
10344
  "output_required": false,
10345
10345
  "required": false,
10346
10346
  "type": "int",
10347
- "value_allowed_null": true
10347
+ "value_allowed_null": false
10348
10348
  },
10349
10349
  {
10350
10350
  "disabled": false,
@@ -10442,36 +10442,36 @@
10442
10442
  },
10443
10443
  {
10444
10444
  "disabled": false,
10445
- "document": "同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号\n注意:此字段可能返回 null,表示取不到有效值。",
10445
+ "document": "同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号",
10446
10446
  "example": "MemberUin",
10447
10447
  "member": "string",
10448
10448
  "name": "TargetType",
10449
10449
  "output_required": false,
10450
10450
  "required": false,
10451
10451
  "type": "string",
10452
- "value_allowed_null": true
10452
+ "value_allowed_null": false
10453
10453
  },
10454
10454
  {
10455
10455
  "disabled": false,
10456
- "document": "任务类型。\n注意:此字段可能返回 null,表示取不到有效值。",
10456
+ "document": "任务类型。",
10457
10457
  "example": "CreateRoleAssignment",
10458
10458
  "member": "string",
10459
10459
  "name": "TaskType",
10460
10460
  "output_required": false,
10461
10461
  "required": false,
10462
10462
  "type": "string",
10463
- "value_allowed_null": true
10463
+ "value_allowed_null": false
10464
10464
  },
10465
10465
  {
10466
10466
  "disabled": false,
10467
- "document": "任务状态:InProgress: 进行中,Failed: 失败 3:Success: 成功\n注意:此字段可能返回 null,表示取不到有效值。",
10467
+ "document": "任务状态:InProgress: 进行中,Failed: 失败 3:Success: 成功",
10468
10468
  "example": "InProgress",
10469
10469
  "member": "string",
10470
10470
  "name": "TaskStatus",
10471
10471
  "output_required": false,
10472
10472
  "required": false,
10473
10473
  "type": "string",
10474
- "value_allowed_null": true
10474
+ "value_allowed_null": false
10475
10475
  }
10476
10476
  ],
10477
10477
  "usage": "both"
@@ -11274,14 +11274,14 @@
11274
11274
  },
11275
11275
  {
11276
11276
  "disabled": false,
11277
- "document": "失败原因\n注意:此字段可能返回 null,表示取不到有效值。",
11277
+ "document": "失败原因",
11278
11278
  "example": "失败",
11279
11279
  "member": "string",
11280
11280
  "name": "FailureReason",
11281
11281
  "output_required": false,
11282
11282
  "required": false,
11283
11283
  "type": "string",
11284
- "value_allowed_null": true
11284
+ "value_allowed_null": false
11285
11285
  }
11286
11286
  ],
11287
11287
  "usage": "both"
@@ -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 doDescribeRebateInfos(args, parsed_globals):
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.DescribeRebateInfosRequest()
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.DescribeRebateInfos(model)
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
- "DescribeRebateInfos": doDescribeRebateInfos,
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,
@@ -70,6 +70,13 @@
70
70
  "output": "DescribeAgentDealsByCacheResponse",
71
71
  "status": "online"
72
72
  },
73
+ "DescribeAgentDealsPriceDetailByDealName": {
74
+ "document": "供代理商使用名下有效普通代客的预付费子订单号查询订单费用详情",
75
+ "input": "DescribeAgentDealsPriceDetailByDealNameRequest",
76
+ "name": "查询伙伴订单的费用详情",
77
+ "output": "DescribeAgentDealsPriceDetailByDealNameResponse",
78
+ "status": "online"
79
+ },
73
80
  "DescribeAgentPayDealsV2": {
74
81
  "document": "可以查询代理商代付的预付费订单",
75
82
  "input": "DescribeAgentPayDealsV2Request",
@@ -1321,6 +1328,45 @@
1321
1328
  ],
1322
1329
  "usage": "out"
1323
1330
  },
1331
+ "DealPriceDetail": {
1332
+ "document": "订单价格详情",
1333
+ "members": [
1334
+ {
1335
+ "disabled": false,
1336
+ "document": "子订单号",
1337
+ "example": "20250411030002711111111",
1338
+ "member": "string",
1339
+ "name": "DealName",
1340
+ "output_required": false,
1341
+ "required": false,
1342
+ "type": "string",
1343
+ "value_allowed_null": false
1344
+ },
1345
+ {
1346
+ "disabled": false,
1347
+ "document": "订单归属人uin(代客uin)",
1348
+ "example": "1000001",
1349
+ "member": "string",
1350
+ "name": "OwnerUin",
1351
+ "output_required": false,
1352
+ "required": false,
1353
+ "type": "string",
1354
+ "value_allowed_null": false
1355
+ },
1356
+ {
1357
+ "disabled": false,
1358
+ "document": "子产品价格详情列表",
1359
+ "example": "无",
1360
+ "member": "SubProductPriceDetail",
1361
+ "name": "SubProductPriceDetail",
1362
+ "output_required": false,
1363
+ "required": false,
1364
+ "type": "list",
1365
+ "value_allowed_null": false
1366
+ }
1367
+ ],
1368
+ "usage": "both"
1369
+ },
1324
1370
  "DescribeAgentAuditedClientsRequest": {
1325
1371
  "document": "DescribeAgentAuditedClients请求参数结构体",
1326
1372
  "members": [
@@ -1882,6 +1928,61 @@
1882
1928
  ],
1883
1929
  "type": "object"
1884
1930
  },
1931
+ "DescribeAgentDealsPriceDetailByDealNameRequest": {
1932
+ "document": "DescribeAgentDealsPriceDetailByDealName请求参数结构体",
1933
+ "members": [
1934
+ {
1935
+ "disabled": false,
1936
+ "document": "下单年份(订单创建时间归属年份)",
1937
+ "example": "2025",
1938
+ "member": "uint64",
1939
+ "name": "DealCreatYear",
1940
+ "required": true,
1941
+ "type": "int"
1942
+ },
1943
+ {
1944
+ "disabled": false,
1945
+ "document": "子订单号,每个请求最多查询100条",
1946
+ "example": "[\"20250411030002711111111\", \"20250411030002722222222\"]",
1947
+ "member": "string",
1948
+ "name": "DealNames",
1949
+ "required": true,
1950
+ "type": "list"
1951
+ },
1952
+ {
1953
+ "disabled": false,
1954
+ "document": "订单归属代客uin",
1955
+ "example": "100001",
1956
+ "member": "string",
1957
+ "name": "OwnerUin",
1958
+ "required": false,
1959
+ "type": "string"
1960
+ }
1961
+ ],
1962
+ "type": "object"
1963
+ },
1964
+ "DescribeAgentDealsPriceDetailByDealNameResponse": {
1965
+ "document": "DescribeAgentDealsPriceDetailByDealName返回参数结构体",
1966
+ "members": [
1967
+ {
1968
+ "disabled": false,
1969
+ "document": "子订单的费用详情",
1970
+ "example": "无",
1971
+ "member": "DealPriceDetail",
1972
+ "name": "DealList",
1973
+ "output_required": false,
1974
+ "type": "list",
1975
+ "value_allowed_null": false
1976
+ },
1977
+ {
1978
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1979
+ "member": "string",
1980
+ "name": "RequestId",
1981
+ "type": "string"
1982
+ }
1983
+ ],
1984
+ "type": "object"
1985
+ },
1885
1986
  "DescribeAgentPayDealsV2Request": {
1886
1987
  "document": "DescribeAgentPayDealsV2请求参数结构体",
1887
1988
  "members": [
@@ -2888,6 +2989,56 @@
2888
2989
  ],
2889
2990
  "type": "object"
2890
2991
  },
2992
+ "SubProductPriceDetail": {
2993
+ "document": "订单子产品价格详情",
2994
+ "members": [
2995
+ {
2996
+ "disabled": false,
2997
+ "document": "子产品名称",
2998
+ "example": "云服务器CVM-标准型SA5",
2999
+ "member": "string",
3000
+ "name": "Name",
3001
+ "output_required": false,
3002
+ "required": false,
3003
+ "type": "string",
3004
+ "value_allowed_null": false
3005
+ },
3006
+ {
3007
+ "disabled": false,
3008
+ "document": "折扣值,=100时表示无折扣,=85时表示8.5折",
3009
+ "example": "85",
3010
+ "member": "float",
3011
+ "name": "DiscountValue",
3012
+ "output_required": false,
3013
+ "required": false,
3014
+ "type": "float",
3015
+ "value_allowed_null": false
3016
+ },
3017
+ {
3018
+ "disabled": false,
3019
+ "document": "原价,折扣前价格,单位:分",
3020
+ "example": "900000",
3021
+ "member": "int64",
3022
+ "name": "TotalCost",
3023
+ "output_required": false,
3024
+ "required": false,
3025
+ "type": "int",
3026
+ "value_allowed_null": false
3027
+ },
3028
+ {
3029
+ "disabled": false,
3030
+ "document": "折后价,单位:分",
3031
+ "example": "765000",
3032
+ "member": "int64",
3033
+ "name": "RealTotalCost",
3034
+ "output_required": false,
3035
+ "required": false,
3036
+ "type": "int",
3037
+ "value_allowed_null": false
3038
+ }
3039
+ ],
3040
+ "usage": "both"
3041
+ },
2891
3042
  "UnbindClientElem": {
2892
3043
  "document": "解绑客户信息",
2893
3044
  "members": [