tccli 3.0.1257.1__py2.py3-none-any.whl → 3.0.1259.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 (38) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/v20190614/api.json +1 -1
  4. tccli/services/bi/v20220105/api.json +228 -225
  5. tccli/services/bi/v20220105/examples.json +22 -28
  6. tccli/services/ccc/ccc_client.py +61 -8
  7. tccli/services/ccc/v20200210/api.json +233 -1
  8. tccli/services/ccc/v20200210/examples.json +8 -0
  9. tccli/services/cdwdoris/v20211228/api.json +6 -6
  10. tccli/services/cdwdoris/v20211228/examples.json +2 -2
  11. tccli/services/cmq/v20190304/api.json +59 -59
  12. tccli/services/cmq/v20190304/examples.json +3 -3
  13. tccli/services/dbbrain/v20210527/api.json +9 -0
  14. tccli/services/dnspod/v20210323/examples.json +1 -1
  15. tccli/services/essbasic/essbasic_client.py +53 -0
  16. tccli/services/essbasic/v20210526/api.json +118 -0
  17. tccli/services/essbasic/v20210526/examples.json +8 -0
  18. tccli/services/faceid/v20180301/api.json +1 -1
  19. tccli/services/ocr/ocr_client.py +167 -61
  20. tccli/services/ocr/v20181119/api.json +409 -120
  21. tccli/services/ocr/v20181119/examples.json +21 -5
  22. tccli/services/rum/v20210622/api.json +56 -56
  23. tccli/services/rum/v20210622/examples.json +20 -20
  24. tccli/services/ses/v20201002/api.json +189 -115
  25. tccli/services/ses/v20201002/examples.json +8 -8
  26. tccli/services/ssl/ssl_client.py +61 -8
  27. tccli/services/ssl/v20191205/api.json +44 -0
  28. tccli/services/ssl/v20191205/examples.json +8 -0
  29. tccli/services/tccatalog/__init__.py +4 -0
  30. tccli/services/tccatalog/tccatalog_client.py +366 -0
  31. tccli/services/tccatalog/v20241024/api.json +525 -0
  32. tccli/services/tccatalog/v20241024/examples.json +37 -0
  33. tccli/services/trtc/v20190722/api.json +4 -4
  34. {tccli-3.0.1257.1.dist-info → tccli-3.0.1259.1.dist-info}/METADATA +2 -2
  35. {tccli-3.0.1257.1.dist-info → tccli-3.0.1259.1.dist-info}/RECORD +38 -34
  36. {tccli-3.0.1257.1.dist-info → tccli-3.0.1259.1.dist-info}/WHEEL +0 -0
  37. {tccli-3.0.1257.1.dist-info → tccli-3.0.1259.1.dist-info}/entry_points.txt +0 -0
  38. {tccli-3.0.1257.1.dist-info → tccli-3.0.1259.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,8 +19,8 @@
19
19
  "CreateDatasourceCloud": [
20
20
  {
21
21
  "document": "创建云数据库测示例",
22
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatasourceCloud\n<公共请求参数>\n\n{\n \"ServiceType\": \"abc\",\n \"DbType\": \"abc\",\n \"Charset\": \"abc\",\n \"DbUser\": \"abc\",\n \"DbPwd\": \"abc\",\n \"DbName\": \"abc\",\n \"SourceName\": \"abc\",\n \"ProjectId\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": \"abc\",\n \"VpcId\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"RegionId\": \"abc\",\n \"ExtraParam\": \"abc\",\n \"InstanceId\": \"abc\",\n \"ProdDbName\": \"abc\",\n \"DataOrigin\": \"abc\",\n \"DataOriginProjectId\": \"abc\",\n \"DataOriginDatasourceId\": \"abc\"\n}",
23
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Id\": 0,\n \"AccessKey\": \"abc\",\n \"ProjectId\": 1,\n \"TranId\": \"abc\",\n \"TranStatus\": 0\n },\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatasourceCloud\n<公共请求参数>\n\n{\n \"ServiceType\": \"MYSQL\",\n \"DbType\": \"MYSQL\",\n \"Charset\": \"utf8\",\n \"DbUser\": \"root\",\n \"DbPwd\": \"******\",\n \"DbName\": \"bi_demo\",\n \"SourceName\": \"\",\n \"ProjectId\": \"\",\n \"Vip\": \"\",\n \"Vport\": \"\",\n \"VpcId\": \"\",\n \"UniqVpcId\": \"\",\n \"RegionId\": \"1\",\n \"ExtraParam\": \"\",\n \"InstanceId\": \"1\",\n \"ProdDbName\": \"1\",\n \"DataOrigin\": \"1\",\n \"DataOriginProjectId\": \"1\",\n \"DataOriginDatasourceId\": \"1\"\n}",
23
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Id\": 0,\n \"AccessKey\": \"asakdsmsk**sdsmdsff\",\n \"ProjectId\": 1,\n \"TranId\": \"jgvk213439\",\n \"TranStatus\": 0\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"RequestId\": \"djdkssadlflksdkasjfrejq\"\n }\n}",
24
24
  "title": "创建云数据库测示例"
25
25
  }
26
26
  ],
@@ -35,15 +35,15 @@
35
35
  "CreateProject": [
36
36
  {
37
37
  "document": "创建项目",
38
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"Logo\": \"abc\",\n \"ColorCode\": \"abc\",\n \"Mark\": \"abc\",\n \"IsApply\": true,\n \"DefaultPanelType\": 0\n}",
39
- "output": "{\n \"Response\": {\n \"Extra\": \"abc\",\n \"Data\": {\n \"Id\": 0\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Name\": \"测试项目\",\n \"Logo\": \"https://tencent.cloud.com/logo.png\",\n \"ColorCode\": \"#ffffff\",\n \"Mark\": \"创建项目\",\n \"IsApply\": true,\n \"DefaultPanelType\": 1\n}",
39
+ "output": "{\n \"Response\": {\n \"Extra\": \"1\",\n \"Data\": {\n \"Id\": 11010\n },\n \"Msg\": \"成功\",\n \"RequestId\": \"dsjasdk121kdsfjksadk\"\n }\n}",
40
40
  "title": "创建项目"
41
41
  }
42
42
  ],
43
43
  "CreateUserRole": [
44
44
  {
45
45
  "document": "创建用户",
46
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRole\n<公共请求参数>\n\n{\n \"RoleIdList\": [\n 0\n ],\n \"UserList\": [\n {\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"CorpId\": \"abc\",\n \"Email\": \"abc\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"FirstModify\": 0,\n \"PhoneNumber\": \"abc\",\n \"AreaCode\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"GlobalUserName\": \"abc\",\n \"Mobile\": \"abc\"\n }\n ],\n \"UserInfoList\": [\n {\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"Email\": \"abc\",\n \"PhoneNumber\": \"abc\",\n \"AreaCode\": \"abc\"\n }\n ]\n}",
46
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRole\n<公共请求参数>\n\n{\n \"RoleIdList\": [\n 0\n ],\n \"UserList\": [\n {\n \"UserId\": \"1101\",\n \"UserName\": \"张三\",\n \"CorpId\": \"150101\",\n \"Email\": \"242113***@qq.com\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"FirstModify\": 0,\n \"PhoneNumber\": \"86******8998\",\n \"AreaCode\": \"001\",\n \"CreatedUser\": \"1210201\",\n \"CreatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedUser\": \"1210201\",\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"GlobalUserName\": \"张三\",\n \"Mobile\": \"139******8998\"\n }\n ],\n \"UserInfoList\": [\n {\n \"UserId\": \"1101\",\n \"UserName\": \"张三\",\n \"Email\": \"242113***@qq.com\",\n \"PhoneNumber\": \"86******8998\",\n \"AreaCode\": \"001\"\n }\n ]\n}",
47
47
  "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"30672eed-81e6-4d8f-a630-3d472531490b\",\n \"Extra\": \"\",\n \"Data\": {\n \"Id\": 1\n }\n }\n}",
48
48
  "title": "demo"
49
49
  }
@@ -51,7 +51,7 @@
51
51
  "CreateUserRoleProject": [
52
52
  {
53
53
  "document": "",
54
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRoleProject\n<公共请求参数>\n\n{\n \"UserList\": [\n {\n \"UserName\": \"null\",\n \"UserId\": \"null\"\n }\n ],\n \"ProjectId\": \"000\",\n \"RoleIdList\": [\n \"100100\"\n ],\n \"UserInfoList\": [\n {\n \"UserName\": \"tommyho\",\n \"PhoneNumber\": \"123456789\",\n \"AreaCode\": \"86\",\n \"UserId\": \"tommyho\",\n \"Email\": \"123@qq.com\"\n }\n ]\n}",
54
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRoleProject\n<公共请求参数>\n\n{\n \"UserList\": [\n {\n \"UserName\": \"null\",\n \"UserId\": \"null\"\n }\n ],\n \"ProjectId\": \"000\",\n \"RoleIdList\": [\n \"100100\"\n ],\n \"UserInfoList\": [\n {\n \"UserName\": \"tommyho\",\n \"PhoneNumber\": \"152****12313\",\n \"AreaCode\": \"86\",\n \"UserId\": \"tommyho\",\n \"Email\": \"123@qq.com\"\n }\n ]\n}",
55
55
  "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"6cd11622-b240-40ae-8ec0-86b933aab8da\",\n \"Extra\": \"\",\n \"Data\": {\n \"Id\": 0\n }\n }\n}",
56
56
  "title": "demo"
57
57
  },
@@ -79,8 +79,8 @@
79
79
  "DeleteProject": [
80
80
  {
81
81
  "document": "删除项目",
82
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProject\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Seed\": \"abc\",\n \"DefaultPanelType\": 0\n}",
83
- "output": "{\n \"Response\": {\n \"Extra\": \"abc\",\n \"Data\": \"abc\",\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
82
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProject\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Seed\": \"sdadfas\",\n \"DefaultPanelType\": 1\n}",
83
+ "output": "{\n \"Response\": {\n \"Extra\": \"额外参数\",\n \"Data\": \"1\",\n \"Msg\": \"成功\",\n \"RequestId\": \"dsdlsdlcdfkdskask212\"\n }\n}",
84
84
  "title": "删除项目"
85
85
  }
86
86
  ],
@@ -118,7 +118,7 @@
118
118
  {
119
119
  "document": "",
120
120
  "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePageWidgetList\n<公共请求参数>\n\n{\n \"ProjectId\": \"662\",\n \"PageId\": \"6465\"\n}",
121
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"CorpId\": \"abc\",\n \"ProjectId\": \"abc\",\n \"PageId\": \"abc\",\n \"WidgetList\": [\n {\n \"WidgetId\": \"abc\",\n \"WidgetName\": \"abc\"\n }\n ]\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
121
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorMessage\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Data\": {\n \"CorpId\": \"110112\",\n \"ProjectId\": \"1101\",\n \"PageId\": \"1\",\n \"WidgetList\": [\n {\n \"WidgetId\": \"dsjdsk\",\n \"WidgetName\": \"表格\"\n }\n ]\n },\n \"Msg\": \"成功\",\n \"RequestId\": \"sadadadfdkfdl212313dsds\"\n }\n}",
122
122
  "title": "成功"
123
123
  }
124
124
  ],
@@ -126,15 +126,15 @@
126
126
  {
127
127
  "document": "展示项目详情接口示例",
128
128
  "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectInfo\n<公共请求参数>\n\n{\n \"Id\": 43\n}",
129
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"Data\": {\n \"Id\": 1,\n \"Logo\": \"abc\",\n \"Name\": \"abc\",\n \"ColorCode\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"abc\",\n \"MemberCount\": 0,\n \"PageCount\": 0,\n \"LastModifyName\": \"abc\",\n \"Source\": \"abc\",\n \"Apply\": true,\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"CorpId\": \"abc\",\n \"Mark\": \"abc\",\n \"Seed\": \"abc\",\n \"AuthList\": [\n \"abc\"\n ],\n \"PanelScope\": \"abc\",\n \"IsExternalManage\": true,\n \"ManagePlatform\": \"abc\",\n \"ConfigList\": [\n {\n \"ModuleGroup\": \"abc\",\n \"Components\": [\n {\n \"ModuleId\": \"abc\",\n \"IncludeType\": \"abc\",\n \"Params\": \"abc\"\n }\n ]\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
129
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"ext\",\n \"Msg\": \"成功\",\n \"Data\": {\n \"Id\": 1,\n \"Logo\": \"https://cloud.tencetn****/logo.png\",\n \"Name\": \"测试项目\",\n \"ColorCode\": \"#fff\",\n \"CreatedUser\": \"zhangsna\",\n \"CreatedAt\": \"zhangsan\",\n \"MemberCount\": 0,\n \"PageCount\": 0,\n \"LastModifyName\": \"zhangsna\",\n \"Source\": \"sas\",\n \"Apply\": true,\n \"UpdatedUser\": \"zhangsna\",\n \"UpdatedAt\": \"zhangsna\",\n \"CorpId\": \"1010\",\n \"Mark\": \"beiz\",\n \"Seed\": \"safd\",\n \"AuthList\": [\n \"110101\"\n ],\n \"PanelScope\": \"page\",\n \"IsExternalManage\": true,\n \"ManagePlatform\": \"saas\",\n \"ConfigList\": [\n {\n \"ModuleGroup\": \"page\",\n \"Components\": [\n {\n \"ModuleId\": \"1101\",\n \"IncludeType\": \"usable\",\n \"Params\": \"\"\n }\n ]\n }\n ]\n },\n \"RequestId\": \"sasfsfd21dssfasdsf-fdsdad\"\n }\n}",
130
130
  "title": "展示项目详情接口示例"
131
131
  }
132
132
  ],
133
133
  "DescribeProjectList": [
134
134
  {
135
135
  "document": "项目列表数据接口",
136
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectList\n<公共请求参数>\n\n{\n \"PageSize\": 1,\n \"PageNo\": 1,\n \"Keyword\": \"abc\",\n \"AllPage\": true\n}",
137
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"Data\": {\n \"List\": [\n {\n \"Id\": 1,\n \"Logo\": \"abc\",\n \"Name\": \"abc\",\n \"ColorCode\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"abc\",\n \"MemberCount\": 0,\n \"PageCount\": 0,\n \"LastModifyName\": \"abc\",\n \"Source\": \"abc\",\n \"Apply\": true,\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"CorpId\": \"abc\",\n \"Mark\": \"abc\",\n \"Seed\": \"abc\",\n \"AuthList\": [\n \"abc\"\n ],\n \"PanelScope\": \"abc\",\n \"IsExternalManage\": true,\n \"ManagePlatform\": \"abc\",\n \"ConfigList\": [\n {\n \"ModuleGroup\": \"abc\",\n \"Components\": [\n {\n \"ModuleId\": \"abc\",\n \"IncludeType\": \"abc\",\n \"Params\": \"abc\"\n }\n ]\n }\n ]\n }\n ],\n \"Total\": 1,\n \"TotalPages\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
136
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectList\n<公共请求参数>\n\n{\n \"PageSize\": 1,\n \"PageNo\": 1,\n \"Keyword\": \"demo\",\n \"AllPage\": true\n}",
137
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"数据不存在\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"Data\": {\n \"List\": [\n {\n \"Id\": 1,\n \"Logo\": \"http://www.cloud.com***/logo.png\",\n \"Name\": \"bi项目\",\n \"ColorCode\": \"#666\",\n \"CreatedUser\": \"张三\",\n \"CreatedAt\": \"张三\",\n \"MemberCount\": 0,\n \"PageCount\": 0,\n \"LastModifyName\": \"张三\",\n \"Source\": \"\",\n \"Apply\": true,\n \"UpdatedUser\": \"张三\",\n \"UpdatedAt\": \"张三\",\n \"CorpId\": \"10010101\",\n \"Mark\": \"说明备注\",\n \"Seed\": \"\",\n \"AuthList\": [\n \"10101\"\n ],\n \"PanelScope\": \"scope\",\n \"IsExternalManage\": true,\n \"ManagePlatform\": \"saas\",\n \"ConfigList\": [\n {\n \"ModuleGroup\": \"project\",\n \"Components\": [\n {\n \"ModuleId\": \"10101\",\n \"IncludeType\": \"useable\",\n \"Params\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"Total\": 1,\n \"TotalPages\": 1\n },\n \"RequestId\": \"dfjksak10w1qdsk2312\"\n }\n}",
138
138
  "title": "项目列表数据接口"
139
139
  }
140
140
  ],
@@ -142,15 +142,15 @@
142
142
  {
143
143
  "document": "项目内用户接口示例",
144
144
  "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserProjectList\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"AllPage\": true,\n \"PageNo\": 0,\n \"PageSize\": 0\n}",
145
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Data\": {\n \"List\": [\n {\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"CorpId\": \"abc\",\n \"Email\": \"abc\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"FirstModify\": 0,\n \"PhoneNumber\": \"abc\",\n \"AreaCode\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"GlobalUserName\": \"abc\",\n \"Mobile\": \"abc\",\n \"AppId\": \"abc\",\n \"AppUserId\": \"abc\",\n \"AppUserAliasName\": \"abc\",\n \"AppUserName\": \"abc\",\n \"InValidateAppRange\": true\n }\n ],\n \"Total\": 0,\n \"TotalPages\": 0\n },\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
145
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Data\": {\n \"List\": [\n {\n \"UserId\": \"1101\",\n \"UserName\": \"zhangsn\",\n \"CorpId\": \"1012\",\n \"Email\": \"242***@qq.com\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"FirstModify\": 0,\n \"PhoneNumber\": \"86212***21\",\n \"AreaCode\": \"086\",\n \"CreatedUser\": \"zhangsna\",\n \"CreatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedUser\": \"zhangsn\",\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"GlobalUserName\": \"zhangsn\",\n \"Mobile\": \"153****798\",\n \"AppId\": \"101\",\n \"AppUserId\": \"zhangsn\",\n \"AppUserAliasName\": \"zhangsa\",\n \"AppUserName\": \"zjang\",\n \"InValidateAppRange\": true\n }\n ],\n \"Total\": 0,\n \"TotalPages\": 0\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"RequestId\": \"sddfsdf212ffdf-dsdas\"\n }\n}",
146
146
  "title": "项目内用户接口示例"
147
147
  }
148
148
  ],
149
149
  "DescribeUserRoleList": [
150
150
  {
151
151
  "document": "用户信息列表",
152
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoleList\n<公共请求参数>\n\n{\n \"PageNo\": 0,\n \"PageSize\": 0,\n \"AllPage\": true,\n \"UserType\": \"abc\",\n \"Keyword\": \"abc\",\n \"ProjectId\": \"abc\",\n \"IsOnlyBindAppUser\": true\n}",
153
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"Total\": 0,\n \"TotalPages\": 0,\n \"List\": [\n {\n \"Id\": 1,\n \"RoleList\": [\n {\n \"RoleName\": \"abc\",\n \"RoleId\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"ScopeType\": 0,\n \"ModuleCollection\": \"abc\"\n }\n ],\n \"RoleIdList\": [\n 1\n ],\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"CorpId\": \"abc\",\n \"Email\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"abc\",\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"PhoneNumber\": \"abc\",\n \"AreaCode\": \"abc\",\n \"RootAccount\": true,\n \"CorpAdmin\": true,\n \"AppUserId\": \"abc\",\n \"AppUserAliasName\": \"abc\",\n \"AppUserName\": \"abc\",\n \"InValidateAppRange\": true\n }\n ]\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
152
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoleList\n<公共请求参数>\n\n{\n \"PageNo\": 0,\n \"PageSize\": 0,\n \"AllPage\": true,\n \"UserType\": \"1\",\n \"Keyword\": \"\",\n \"ProjectId\": \"1101\",\n \"IsOnlyBindAppUser\": true\n}",
153
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Data\": {\n \"Total\": 0,\n \"TotalPages\": 0,\n \"List\": [\n {\n \"Id\": 1,\n \"RoleList\": [\n {\n \"RoleName\": \"企业管理员\",\n \"RoleId\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"测试项目\",\n \"ScopeType\": 0,\n \"ModuleCollection\": \"datasource\"\n }\n ],\n \"RoleIdList\": [\n 1\n ],\n \"UserId\": \"10210\",\n \"UserName\": \"zhangsna\",\n \"CorpId\": \"30310\",\n \"Email\": \"232***12@qq.com\",\n \"CreatedUser\": \"zhangsna\",\n \"CreatedAt\": \"2020-09-22 00:00:00\",\n \"UpdatedUser\": \"zhangsna\",\n \"UpdatedAt\": \"2020-09-22 00:00:00\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"PhoneNumber\": \"86312***212\",\n \"AreaCode\": \"086\",\n \"RootAccount\": true,\n \"CorpAdmin\": true,\n \"AppUserId\": \"2102\",\n \"AppUserAliasName\": \"zhangsn\",\n \"AppUserName\": \"zhangsn\",\n \"InValidateAppRange\": true\n }\n ]\n },\n \"Msg\": \"成功\",\n \"RequestId\": \"\"\n }\n}",
154
154
  "title": "用户信息列表"
155
155
  }
156
156
  ],
@@ -158,7 +158,7 @@
158
158
  {
159
159
  "document": "项目内-用户角色列表",
160
160
  "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoleProjectList\n<公共请求参数>\n\n{\n \"PageNo\": 0,\n \"PageSize\": 0,\n \"ProjectId\": 0,\n \"IsOnlyBindAppUser\": true\n}",
161
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"Total\": 0,\n \"TotalPages\": 0,\n \"List\": [\n {\n \"Id\": 1,\n \"RoleList\": [\n {\n \"RoleName\": \"abc\",\n \"RoleId\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"ScopeType\": 0,\n \"ModuleCollection\": \"abc\"\n }\n ],\n \"RoleIdList\": [\n 1\n ],\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"CorpId\": \"abc\",\n \"Email\": \"abc\",\n \"CreatedUser\": \"abc\",\n \"CreatedAt\": \"abc\",\n \"UpdatedUser\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"PhoneNumber\": \"abc\",\n \"AreaCode\": \"abc\",\n \"RootAccount\": true,\n \"CorpAdmin\": true,\n \"AppUserId\": \"abc\",\n \"AppUserAliasName\": \"abc\",\n \"AppUserName\": \"abc\",\n \"InValidateAppRange\": true\n }\n ]\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
161
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Data\": {\n \"Total\": 0,\n \"TotalPages\": 0,\n \"List\": [\n {\n \"Id\": 1,\n \"RoleList\": [\n {\n \"RoleName\": \"企业管理员\",\n \"RoleId\": 0,\n \"ProjectId\": 210210,\n \"ProjectName\": \"测试项目\",\n \"ScopeType\": 0,\n \"ModuleCollection\": \"project\"\n }\n ],\n \"RoleIdList\": [\n 1\n ],\n \"UserId\": \"21021\",\n \"UserName\": \"zhangsn\",\n \"CorpId\": \"1202101\",\n \"Email\": \"1213***@qq.com\",\n \"CreatedUser\": \"zhangsna\",\n \"CreatedAt\": \"zhangsna\",\n \"UpdatedUser\": \"zhangsna\",\n \"UpdatedAt\": \"2020-09-22 00:00:00\",\n \"LastLogin\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 0,\n \"PhoneNumber\": \"152****423\",\n \"AreaCode\": \"086\",\n \"RootAccount\": true,\n \"CorpAdmin\": true,\n \"AppUserId\": \"2103\",\n \"AppUserAliasName\": \"zhangsn\",\n \"AppUserName\": \"zhjang\",\n \"InValidateAppRange\": true\n }\n ]\n },\n \"Msg\": \"成功\",\n \"RequestId\": \"3211dfZ12-2331\"\n }\n}",
162
162
  "title": "项目内-用户角色列表"
163
163
  }
164
164
  ],
@@ -166,7 +166,7 @@
166
166
  {
167
167
  "document": "导出自由画布",
168
168
  "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportScreenPage\n<公共请求参数>\n\n{\n \"ProjectId\": \"1907\",\n \"PageId\": \"39618\",\n \"CanvasType\": \"FREE\",\n \"PicType\": \"url\",\n \"WidgetIds\": []\n}",
169
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"PicType\": \"abc\",\n \"List\": [\n {\n \"Content\": \"abc\",\n \"WidgetId\": \"abc\"\n }\n ],\n \"TranId\": \"abc\",\n \"TranStatus\": 0\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
169
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorMessage\": \"接口错误\",\n \"ErrorLevel\": \"ERROR\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Data\": {\n \"PicType\": \"PNG\",\n \"List\": [\n {\n \"Content\": \"\",\n \"WidgetId\": \"saia192\"\n }\n ],\n \"TranId\": \"qwq211221\",\n \"TranStatus\": 0\n },\n \"Msg\": \"失败\",\n \"RequestId\": \"ddsds122321-fdsd12\"\n }\n}",
170
170
  "title": "导出自由画布"
171
171
  }
172
172
  ],
@@ -181,13 +181,7 @@
181
181
  "ModifyDatasourceCloud": [
182
182
  {
183
183
  "document": "",
184
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatasourceCloud\n<公共请求参数>\n\n{\n \"ServiceType\": \"abc\",\n \"DbType\": \"abc\",\n \"Charset\": \"abc\",\n \"DbUser\": \"abc\",\n \"DbPwd\": \"abc\",\n \"DbName\": \"abc\",\n \"SourceName\": \"abc\",\n \"ProjectId\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": \"abc\",\n \"VpcId\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"RegionId\": \"abc\",\n \"ExtraParam\": \"abc\",\n \"Id\": 1,\n \"InstanceId\": \"abc\",\n \"ProdDbName\": \"abc\"\n}",
185
- "output": "{\n \"Response\": {\n \"Data\": \"abc\",\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
186
- "title": "更新云数据源"
187
- },
188
- {
189
- "document": "",
190
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatasourceCloud\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"ProjectId\": \"abc\",\n \"SourceName\": \"数据库别名\",\n \"Vport\": \"3306\",\n \"VpcId\": \"123456\",\n \"Charset\": \"utf8\",\n \"ExtraParam\": \"\",\n \"DbUser\": \"root\",\n \"ServiceType\": \"{\\\"Type\\\":\\\"Cloud\\\",\\\"Region\\\":\\\"ap-guangzhou\\\",\\\"InstanceId\\\":\\\"cdb-bdb0juh5\\\"}\",\n \"DbType\": \"MySQL\",\n \"UniqVpcId\": \"vpc-123\",\n \"RegionId\": \"gz\",\n \"DbName\": \"power-test\",\n \"DbPwd\": \"12345\",\n \"Vip\": \"\"\n}",
184
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatasourceCloud\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"ProjectId\": \"21313\",\n \"SourceName\": \"数据库别名\",\n \"Vport\": \"3306\",\n \"VpcId\": \"2131314\",\n \"Charset\": \"utf8\",\n \"ExtraParam\": \"\",\n \"DbUser\": \"root\",\n \"ServiceType\": \"{\\\"Type\\\":\\\"Cloud\\\",\\\"Region\\\":\\\"ap-guangzhou\\\",\\\"InstanceId\\\":\\\"cdb-bdb0juh5\\\"}\",\n \"DbType\": \"MySQL\",\n \"UniqVpcId\": \"vpc-54343\",\n \"RegionId\": \"gz\",\n \"DbName\": \"power-test\",\n \"DbPwd\": \"2424***231312\",\n \"Vip\": \"\"\n}",
191
185
  "output": "{\n \"Response\": {\n \"RequestId\": \"63f50c98-1e5b-41bc-9a6a-d630312f8de9\",\n \"Extra\": \"\",\n \"Data\": \"\",\n \"Msg\": \"success\"\n }\n}",
192
186
  "title": "更新云数据库示例"
193
187
  }
@@ -195,8 +189,8 @@
195
189
  "ModifyProject": [
196
190
  {
197
191
  "document": "修改项目",
198
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProject\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"abc\",\n \"ColorCode\": \"abc\",\n \"Logo\": \"abc\",\n \"Mark\": \"abc\",\n \"IsApply\": true,\n \"Seed\": \"abc\",\n \"PanelScope\": \"abc\"\n}",
199
- "output": "{\n \"Response\": {\n \"Extra\": \"abc\",\n \"Data\": \"abc\",\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
192
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProject\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"测试数据源\",\n \"ColorCode\": \"#ffffff\",\n \"Logo\": \"log.png\",\n \"Mark\": \"beizhu\",\n \"IsApply\": true,\n \"Seed\": \"dssa\",\n \"PanelScope\": \"ALL\"\n}",
193
+ "output": "{\n \"Response\": {\n \"Extra\": \"\",\n \"Data\": \"\",\n \"Msg\": \"成功\",\n \"RequestId\": \"dsweew-22131ds\"\n }\n}",
200
194
  "title": "修改项目"
201
195
  }
202
196
  ],
@@ -211,8 +205,8 @@
211
205
  "ModifyUserRoleProject": [
212
206
  {
213
207
  "document": "项目-修改用户信息",
214
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserRoleProject\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"UserId\": \"abc\",\n \"RoleIdList\": [\n 0\n ],\n \"Email\": \"abc\",\n \"UserName\": \"abc\",\n \"AppUserId\": \"abc\"\n}",
215
- "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Msg\": \"abc\",\n \"Data\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
208
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserRoleProject\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"UserId\": \"12233\",\n \"RoleIdList\": [\n 0\n ],\n \"Email\": \"2313***312@qq.com\",\n \"UserName\": \"zhangsn\",\n \"AppUserId\": \"dsfg\"\n}",
209
+ "output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"Data\": \"\",\n \"RequestId\": \"sadd23jdsh-123cdjds\"\n }\n}",
216
210
  "title": "项目-修改用户信息"
217
211
  }
218
212
  ]
@@ -953,6 +953,58 @@ def doCreateStaff(args, parsed_globals):
953
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
954
 
955
955
 
956
+ def doDescribeAICallExtractResult(args, parsed_globals):
957
+ g_param = parse_global_arg(parsed_globals)
958
+
959
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
960
+ cred = credential.CVMRoleCredential()
961
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
962
+ cred = credential.STSAssumeRoleCredential(
963
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
964
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
965
+ )
966
+ 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):
967
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
968
+ else:
969
+ cred = credential.Credential(
970
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
971
+ )
972
+ http_profile = HttpProfile(
973
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
974
+ reqMethod="POST",
975
+ endpoint=g_param[OptionsDefine.Endpoint],
976
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
977
+ )
978
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
979
+ if g_param[OptionsDefine.Language]:
980
+ profile.language = g_param[OptionsDefine.Language]
981
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
982
+ client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
983
+ client._sdkVersion += ("_CLI_" + __version__)
984
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
+ model = models.DescribeAICallExtractResultRequest()
986
+ model.from_json_string(json.dumps(args))
987
+ start_time = time.time()
988
+ while True:
989
+ rsp = client.DescribeAICallExtractResult(model)
990
+ result = rsp.to_json_string()
991
+ try:
992
+ json_obj = json.loads(result)
993
+ except TypeError as e:
994
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
995
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
996
+ break
997
+ cur_time = time.time()
998
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
999
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1000
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1001
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1002
+ else:
1003
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1004
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1005
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
+
1007
+
956
1008
  def doDescribeExtension(args, parsed_globals):
957
1009
  g_param = parse_global_arg(parsed_globals)
958
1010
 
@@ -1005,7 +1057,7 @@ def doDescribeExtension(args, parsed_globals):
1005
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1058
 
1007
1059
 
1008
- def doDescribeTelSession(args, parsed_globals):
1060
+ def doDescribeCarrierPrivilegeNumberApplicants(args, parsed_globals):
1009
1061
  g_param = parse_global_arg(parsed_globals)
1010
1062
 
1011
1063
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1034,11 +1086,11 @@ def doDescribeTelSession(args, parsed_globals):
1034
1086
  client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
1035
1087
  client._sdkVersion += ("_CLI_" + __version__)
1036
1088
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1037
- model = models.DescribeTelSessionRequest()
1089
+ model = models.DescribeCarrierPrivilegeNumberApplicantsRequest()
1038
1090
  model.from_json_string(json.dumps(args))
1039
1091
  start_time = time.time()
1040
1092
  while True:
1041
- rsp = client.DescribeTelSession(model)
1093
+ rsp = client.DescribeCarrierPrivilegeNumberApplicants(model)
1042
1094
  result = rsp.to_json_string()
1043
1095
  try:
1044
1096
  json_obj = json.loads(result)
@@ -1109,7 +1161,7 @@ def doCreateCallOutSession(args, parsed_globals):
1109
1161
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
1162
 
1111
1163
 
1112
- def doDescribeCarrierPrivilegeNumberApplicants(args, parsed_globals):
1164
+ def doDescribeTelSession(args, parsed_globals):
1113
1165
  g_param = parse_global_arg(parsed_globals)
1114
1166
 
1115
1167
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1138,11 +1190,11 @@ def doDescribeCarrierPrivilegeNumberApplicants(args, parsed_globals):
1138
1190
  client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
1139
1191
  client._sdkVersion += ("_CLI_" + __version__)
1140
1192
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1141
- model = models.DescribeCarrierPrivilegeNumberApplicantsRequest()
1193
+ model = models.DescribeTelSessionRequest()
1142
1194
  model.from_json_string(json.dumps(args))
1143
1195
  start_time = time.time()
1144
1196
  while True:
1145
- rsp = client.DescribeCarrierPrivilegeNumberApplicants(model)
1197
+ rsp = client.DescribeTelSession(model)
1146
1198
  result = rsp.to_json_string()
1147
1199
  try:
1148
1200
  json_obj = json.loads(result)
@@ -3322,10 +3374,11 @@ ACTION_MAP = {
3322
3374
  "CreateExtension": doCreateExtension,
3323
3375
  "ResetExtensionPassword": doResetExtensionPassword,
3324
3376
  "CreateStaff": doCreateStaff,
3377
+ "DescribeAICallExtractResult": doDescribeAICallExtractResult,
3325
3378
  "DescribeExtension": doDescribeExtension,
3326
- "DescribeTelSession": doDescribeTelSession,
3327
- "CreateCallOutSession": doCreateCallOutSession,
3328
3379
  "DescribeCarrierPrivilegeNumberApplicants": doDescribeCarrierPrivilegeNumberApplicants,
3380
+ "CreateCallOutSession": doCreateCallOutSession,
3381
+ "DescribeTelSession": doDescribeTelSession,
3329
3382
  "DescribeAutoCalloutTask": doDescribeAutoCalloutTask,
3330
3383
  "DescribePredictiveDialingSessions": doDescribePredictiveDialingSessions,
3331
3384
  "CreateCompanyApply": doCreateCompanyApply,
@@ -147,6 +147,13 @@
147
147
  "output": "DeleteStaffResponse",
148
148
  "status": "online"
149
149
  },
150
+ "DescribeAICallExtractResult": {
151
+ "document": "获取 AI 通话内容提取结果。",
152
+ "input": "DescribeAICallExtractResultRequest",
153
+ "name": "查询 AI 通话内容提取结果",
154
+ "output": "DescribeAICallExtractResultResponse",
155
+ "status": "online"
156
+ },
150
157
  "DescribeActiveCarrierPrivilegeNumber": {
151
158
  "document": "查询生效运营商白名单规则",
152
159
  "input": "DescribeActiveCarrierPrivilegeNumberRequest",
@@ -449,6 +456,149 @@
449
456
  "serviceShortName": "ccc"
450
457
  },
451
458
  "objects": {
459
+ "AICallExtractConfigElement": {
460
+ "document": "AI 通话提取配置项",
461
+ "members": [
462
+ {
463
+ "disabled": false,
464
+ "document": "配置项类型,包括\nText 文本\nSelector 选项\nBoolean 布尔值\nNumber 数字",
465
+ "example": "Number",
466
+ "member": "string",
467
+ "name": "InfoType",
468
+ "required": true,
469
+ "type": "string"
470
+ },
471
+ {
472
+ "disabled": false,
473
+ "document": "配置项名称,不可重复",
474
+ "example": "姓名",
475
+ "member": "string",
476
+ "name": "InfoName",
477
+ "required": true,
478
+ "type": "string"
479
+ },
480
+ {
481
+ "disabled": false,
482
+ "document": "配置项具体内容",
483
+ "example": "客户姓名",
484
+ "member": "string",
485
+ "name": "InfoContent",
486
+ "required": false,
487
+ "type": "string"
488
+ },
489
+ {
490
+ "disabled": false,
491
+ "document": "配置项提取内容示例",
492
+ "example": "[\"张三\"]",
493
+ "member": "string",
494
+ "name": "Examples",
495
+ "required": false,
496
+ "type": "list"
497
+ },
498
+ {
499
+ "disabled": false,
500
+ "document": "InfoType 为 Selector,需要配置此字段",
501
+ "example": "[\"动力\",\"内饰\",\"价格\"]",
502
+ "member": "string",
503
+ "name": "Choices",
504
+ "required": false,
505
+ "type": "list"
506
+ }
507
+ ],
508
+ "usage": "in"
509
+ },
510
+ "AICallExtractResultElement": {
511
+ "document": "AI 通话提取结果。",
512
+ "members": [
513
+ {
514
+ "disabled": false,
515
+ "document": "提取信息的类型\nText 文本\nSelector 选项\nBoolean 布尔值\nNumber 数字",
516
+ "example": "Number",
517
+ "member": "string",
518
+ "name": "InfoType",
519
+ "output_required": false,
520
+ "type": "string",
521
+ "value_allowed_null": false
522
+ },
523
+ {
524
+ "disabled": false,
525
+ "document": "提取信息的名称",
526
+ "example": "驾龄",
527
+ "member": "string",
528
+ "name": "InfoName",
529
+ "output_required": false,
530
+ "type": "string",
531
+ "value_allowed_null": false
532
+ },
533
+ {
534
+ "disabled": false,
535
+ "document": "提取信息的具体描述",
536
+ "example": "客户具体驾龄是多少年",
537
+ "member": "string",
538
+ "name": "InfoContent",
539
+ "output_required": false,
540
+ "type": "string",
541
+ "value_allowed_null": false
542
+ },
543
+ {
544
+ "disabled": false,
545
+ "document": "提取信息的具体结果",
546
+ "example": "{\"Boolean\":true}",
547
+ "member": "AICallExtractResultInfo",
548
+ "name": "Result",
549
+ "output_required": false,
550
+ "type": "object",
551
+ "value_allowed_null": false
552
+ }
553
+ ],
554
+ "usage": "out"
555
+ },
556
+ "AICallExtractResultInfo": {
557
+ "document": "AI 通话结果具体信息",
558
+ "members": [
559
+ {
560
+ "disabled": false,
561
+ "document": "提取的类型是文本",
562
+ "example": "xx省xx市xx区xx街道",
563
+ "member": "string",
564
+ "name": "Text",
565
+ "output_required": false,
566
+ "type": "string",
567
+ "value_allowed_null": false
568
+ },
569
+ {
570
+ "disabled": false,
571
+ "document": "提取的内型是选项",
572
+ "example": "[\"动力\",\"价格\"]",
573
+ "member": "string",
574
+ "name": "Chosen",
575
+ "output_required": false,
576
+ "type": "list",
577
+ "value_allowed_null": false
578
+ },
579
+ {
580
+ "disabled": false,
581
+ "document": "提取类型是布尔值",
582
+ "example": "true",
583
+ "member": "bool",
584
+ "name": "Boolean",
585
+ "output_required": false,
586
+ "type": "bool",
587
+ "value_allowed_null": false
588
+ },
589
+ {
590
+ "disabled": false,
591
+ "document": "提取类型是数字",
592
+ "example": "7.0",
593
+ "member": "float",
594
+ "name": "Number",
595
+ "output_required": false,
596
+ "type": "float",
597
+ "value_allowed_null": false
598
+ }
599
+ ],
600
+ "usage": "out"
601
+ },
452
602
  "AITransferItem": {
453
603
  "document": "AI转人工配置项",
454
604
  "members": [
@@ -1733,6 +1883,15 @@
1733
1883
  "required": false,
1734
1884
  "type": "int"
1735
1885
  },
1886
+ {
1887
+ "disabled": false,
1888
+ "document": "0: 默认可打断, 1:高优先不可打断",
1889
+ "example": "0",
1890
+ "member": "int64",
1891
+ "name": "WelcomeMessagePriority",
1892
+ "required": false,
1893
+ "type": "int"
1894
+ },
1736
1895
  {
1737
1896
  "disabled": false,
1738
1897
  "document": "最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断",
@@ -1753,7 +1912,7 @@
1753
1912
  },
1754
1913
  {
1755
1914
  "disabled": false,
1756
- "document": "打断AI说话模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
1915
+ "document": "打断AI说话模式,默认为0,0表示自动打断,1表示不打断。",
1757
1916
  "example": "1",
1758
1917
  "member": "int64",
1759
1918
  "name": "InterruptMode",
@@ -1858,6 +2017,15 @@
1858
2017
  "name": "VadSilenceTime",
1859
2018
  "required": false,
1860
2019
  "type": "int"
2020
+ },
2021
+ {
2022
+ "disabled": false,
2023
+ "document": "通话内容提取配置",
2024
+ "example": "[{\"InfoType\": \"Boolean\", \"InfoName\": \"兴趣\", \"InfoContent\": \"用户是否对产品感兴趣\"}]",
2025
+ "member": "AICallExtractConfigElement",
2026
+ "name": "ExtractConfig",
2027
+ "required": false,
2028
+ "type": "list"
1861
2029
  }
1862
2030
  ],
1863
2031
  "type": "object"
@@ -3024,6 +3192,70 @@
3024
3192
  ],
3025
3193
  "type": "object"
3026
3194
  },
3195
+ "DescribeAICallExtractResultRequest": {
3196
+ "document": "DescribeAICallExtractResult请求参数结构体",
3197
+ "members": [
3198
+ {
3199
+ "disabled": false,
3200
+ "document": "应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc",
3201
+ "example": "1400000000",
3202
+ "member": "int64",
3203
+ "name": "SdkAppId",
3204
+ "required": true,
3205
+ "type": "int"
3206
+ },
3207
+ {
3208
+ "disabled": false,
3209
+ "document": "会话 ID",
3210
+ "example": "adcf61b8-dbb9-4c20-87bf-c0744c04bade",
3211
+ "member": "string",
3212
+ "name": "SessionId",
3213
+ "required": true,
3214
+ "type": "string"
3215
+ },
3216
+ {
3217
+ "disabled": false,
3218
+ "document": "查找起始时间",
3219
+ "example": "1737350008",
3220
+ "member": "int64",
3221
+ "name": "StartTime",
3222
+ "required": true,
3223
+ "type": "int"
3224
+ },
3225
+ {
3226
+ "disabled": false,
3227
+ "document": "查找结束时间",
3228
+ "example": "1737356008",
3229
+ "member": "int64",
3230
+ "name": "EndTime",
3231
+ "required": true,
3232
+ "type": "int"
3233
+ }
3234
+ ],
3235
+ "type": "object"
3236
+ },
3237
+ "DescribeAICallExtractResultResponse": {
3238
+ "document": "DescribeAICallExtractResult返回参数结构体",
3239
+ "members": [
3240
+ {
3241
+ "disabled": false,
3242
+ "document": "结果列表",
3243
+ "example": "[{\"InfoType\":\"Boolean\",\"InfoName\":\"兴趣\",\"InfoContent\":\"用户是否对产品感兴趣\",\"Result\":{\"Boolean\":true}}]",
3244
+ "member": "AICallExtractResultElement",
3245
+ "name": "ResultList",
3246
+ "output_required": false,
3247
+ "type": "list",
3248
+ "value_allowed_null": false
3249
+ },
3250
+ {
3251
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3252
+ "member": "string",
3253
+ "name": "RequestId",
3254
+ "type": "string"
3255
+ }
3256
+ ],
3257
+ "type": "object"
3258
+ },
3027
3259
  "DescribeActiveCarrierPrivilegeNumberRequest": {
3028
3260
  "document": "DescribeActiveCarrierPrivilegeNumber请求参数结构体",
3029
3261
  "members": [