tccli 3.0.1198.1__py2.py3-none-any.whl → 3.0.1200.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aiart/v20221229/api.json +7 -7
- tccli/services/billing/v20180709/examples.json +2 -2
- tccli/services/ccc/ccc_client.py +57 -4
- tccli/services/ccc/v20200210/api.json +188 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/clb/v20180317/api.json +19 -1
- tccli/services/cme/v20191029/api.json +18 -8
- tccli/services/cwp/v20180228/api.json +2 -2
- tccli/services/cynosdb/cynosdb_client.py +0 -53
- tccli/services/cynosdb/v20190107/api.json +0 -92
- tccli/services/cynosdb/v20190107/examples.json +0 -8
- tccli/services/dasb/v20191018/api.json +32 -3
- tccli/services/dts/v20211206/api.json +7 -7
- tccli/services/emr/v20190103/api.json +4 -4
- tccli/services/ess/v20201111/api.json +13 -13
- tccli/services/ess/v20201111/examples.json +0 -6
- tccli/services/essbasic/v20210526/api.json +16 -7
- tccli/services/essbasic/v20210526/examples.json +0 -6
- tccli/services/faceid/v20180301/api.json +9 -0
- tccli/services/iecp/iecp_client.py +298 -1358
- tccli/services/iecp/v20210914/api.json +216 -2256
- tccli/services/iecp/v20210914/examples.json +0 -166
- tccli/services/ims/v20201229/api.json +9 -9
- tccli/services/ims/v20201229/examples.json +2 -2
- tccli/services/monitor/monitor_client.py +8 -114
- tccli/services/monitor/v20180724/api.json +0 -85
- tccli/services/monitor/v20180724/examples.json +0 -16
- tccli/services/ocr/v20181119/api.json +3 -3
- tccli/services/omics/v20221128/api.json +181 -34
- tccli/services/postgres/postgres_client.py +53 -0
- tccli/services/postgres/v20170312/api.json +191 -0
- tccli/services/postgres/v20170312/examples.json +16 -2
- tccli/services/rce/v20201103/api.json +17 -8
- tccli/services/ssl/v20191205/api.json +48 -0
- tccli/services/tcb/v20180608/api.json +21 -1
- tccli/services/tcss/v20201101/api.json +199 -3
- tccli/services/tcss/v20201101/examples.json +5 -5
- tccli/services/teo/v20220901/api.json +50 -0
- tccli/services/tke/v20180525/api.json +9 -9
- tccli/services/tke/v20220501/api.json +5 -5
- tccli/services/tse/v20201207/api.json +22 -0
- tccli/services/tsf/tsf_client.py +4 -57
- tccli/services/tsf/v20180326/api.json +0 -34
- tccli/services/tsf/v20180326/examples.json +0 -8
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +19 -0
- tccli/services/vpc/v20170312/examples.json +6 -0
- tccli/services/wedata/v20210820/api.json +11 -0
- {tccli-3.0.1198.1.dist-info → tccli-3.0.1200.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1198.1.dist-info → tccli-3.0.1200.1.dist-info}/RECORD +54 -54
- {tccli-3.0.1198.1.dist-info → tccli-3.0.1200.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1198.1.dist-info → tccli-3.0.1200.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1198.1.dist-info → tccli-3.0.1200.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1200.1'
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
24
|
"QueryDrawPortraitJob": {
|
25
|
-
"document": "AI
|
25
|
+
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n生成图片分为提交任务和查询任务2个接口:\n\n- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。\n\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。",
|
26
26
|
"input": "QueryDrawPortraitJobRequest",
|
27
27
|
"name": "查询生成写真图片任务",
|
28
28
|
"output": "QueryDrawPortraitJobResponse",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"QueryTrainPortraitModelJob": {
|
39
|
-
"document": "AI
|
39
|
+
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n如果选择免训练模式无需调用本接口。\n训练模型分为提交任务和查询任务2个接口:\n\n- 提交训练写真模型任务:完成上传图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。\n\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。",
|
40
40
|
"input": "QueryTrainPortraitModelJobRequest",
|
41
41
|
"name": "查询训练写真模型任务",
|
42
42
|
"output": "QueryTrainPortraitModelJobResponse",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
59
|
"SubmitDrawPortraitJob": {
|
60
|
-
"document": "AI
|
60
|
+
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n生成图片分为提交任务和查询任务2个接口:\n\n- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。\n\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n提交生成写真图片任务默认提供1个并发。",
|
61
61
|
"input": "SubmitDrawPortraitJobRequest",
|
62
62
|
"name": "提交生成写真图片任务",
|
63
63
|
"output": "SubmitDrawPortraitJobResponse",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
73
|
"SubmitTrainPortraitModelJob": {
|
74
|
-
"document": "AI
|
74
|
+
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n如果选择免训练模式无需调用本接口。\n训练模型分为提交任务和查询任务2个接口:\n- 提交训练写真模型任务:完成上传图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。\n\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n提交训练写真模型任务按并发计费,无默认并发额度。",
|
75
75
|
"input": "SubmitTrainPortraitModelJobRequest",
|
76
76
|
"name": "提交训练写真模型任务",
|
77
77
|
"output": "SubmitTrainPortraitModelJobResponse",
|
@@ -85,7 +85,7 @@
|
|
85
85
|
"status": "online"
|
86
86
|
},
|
87
87
|
"UploadTrainPortraitImages": {
|
88
|
-
"document": "AI
|
88
|
+
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。\n可选模式:\n- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。\n- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。\n- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。\n\n上传写真训练图片默认提供1个并发。",
|
89
89
|
"input": "UploadTrainPortraitImagesRequest",
|
90
90
|
"name": "上传写真训练图片",
|
91
91
|
"output": "UploadTrainPortraitImagesResponse",
|
@@ -1283,7 +1283,7 @@
|
|
1283
1283
|
},
|
1284
1284
|
{
|
1285
1285
|
"disabled": false,
|
1286
|
-
"document": "写真模型训练用的图像 URL
|
1286
|
+
"document": "写真模型训练用的图像 URL 列表,仅常规训练模式需要上传。\n图片数量:19 - 24 张。\n图片内容:单人,脸部清晰,和基础图像中的人物为同一人。\n图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。",
|
1287
1287
|
"example": "无",
|
1288
1288
|
"member": "string",
|
1289
1289
|
"name": "Urls",
|
@@ -1301,7 +1301,7 @@
|
|
1301
1301
|
},
|
1302
1302
|
{
|
1303
1303
|
"disabled": false,
|
1304
|
-
"document": "
|
1304
|
+
"document": "训练模式。\n默认使用常规训练模式。如果使用快速训练模式和免训练模式,只需要在 BaseUrl 中传入1张图片,Urls.N 中无需传入图片。\n0:常规训练模式,上传多张图片用于模型训练,完成训练后可生成写真图片。\n1:快速训练模式,仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。\n2:免训练模式,仅需上传1张图片,跳过模型训练环节,直接生成写真图片。",
|
1305
1305
|
"example": "无",
|
1306
1306
|
"member": "int64",
|
1307
1307
|
"name": "TrainMode",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"document": "查询分账条件",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocateConditions\n<公共请求参数>\n\n{}",
|
39
|
-
"output": "{\n \"Response\": {\n \"Business\": [\n {\n \"Children\": [\n {},\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {},\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n }\n ],\n \"OwnerUin\": [\n {\n \"OwnerUin\": \"700000384179\"\n }\n ],\n \"OperateUin\": [\n {\n \"OperateUin\": \"700000384179\"\n }\n ],\n \"Product\": [\n {\n \"ProductCode\": \"sp_cvm_s1\",\n \"ProductCodeName\": \"云服务器CVM-标准型S1\"\n },\n {\n \"ProductCode\": \"sp_cbs_premium\",\n \"ProductCodeName\": \"高性能云硬盘\"\n },\n {\n \"ProductCode\": \"sp_cos_pkg_std_new\",\n \"ProductCodeName\": \"COS 标准存储容量包 new\"\n },\n {\n \"ProductCode\": \"sp_cvm_s2\",\n \"ProductCodeName\": \"云服务器CVM-标准型S2\"\n },\n {\n \"ProductCode\": \"sp_rav_audio_video\",\n \"ProductCodeName\": \"实时音视频-音视频通话\"\n },\n {\n \"ProductCode\": \"sp_cdn_cn_flux_package\",\n \"ProductCodeName\": \"中国境内CDN流量包\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_im_com\",\n \"ProductCodeName\": \"CI 图片压缩资源包\"\n },\n {\n \"ProductCode\": \"sp_redis_single\",\n \"ProductCodeName\": \"云数据库Redis-社区版\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_co_re\",\n \"ProductCodeName\": \"万象-COS-内容识别资源包\"\n }\n ],\n \"ActionType\": [\n {\n \"ActionType\": \"prepay_purchase\",\n \"ActionTypeName\": \"包年包月新购\"\n },\n {\n \"ActionType\": \"prepay_return\",\n \"ActionTypeName\": \"包年包月退款\"\n },\n {\n \"ActionType\": \"prepay_modify\",\n \"ActionTypeName\": \"包年包月配置变更\"\n },\n {\n \"ActionType\": \"prepay_renew\",\n \"ActionTypeName\": \"包年包月续费\"\n }\n ],\n \"Item\": [\n {\n \"ItemCode\": \"sv_cvm_bandwidth_prepay\",\n \"ItemCodeName\": \"带宽-按带宽计费\"\n },\n {\n \"ItemCode\": \"sv_cbs_memspace_premium\",\n \"ItemCodeName\": \"高性能云硬盘-存储空间\"\n },\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_20\",\n \"ItemCodeName\": \"COS 标准存储容量包 20GB new\"\n },\n {\n \"ItemCode\": \"virtual_v_cvm_compute_s2\",\n \"ItemCodeName\": \"计算组件\"\n },\n {\n \"ItemCode\": \"sv_cvm_rootdisk_cbspremium\",\n \"ItemCodeName\": \"高效云系统盘\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_custom_free\",\n \"ItemCodeName\": \"音视频通话-赠送套餐包\"\n },\n {\n \"ItemCode\": \"sv_cvm_rootdisk_local\",\n \"ItemCodeName\": \"本地系统盘\"\n },\n {\n \"ItemCode\": \"virtual_v_cvm_compute_s1\",\n \"ItemCodeName\": \"计算组件\"\n },\n {\n \"ItemCode\": \"sv_cdn_cn_flux_package\",\n \"ItemCodeName\": \"CDN流量包-流量\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_im_com_10\",\n \"ItemCodeName\": \"CI 图片压缩资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_redis_mem_single\",\n \"ItemCodeName\": \"云数据库Redis-社区版-内存\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_co_re_10\",\n \"ItemCodeName\": \"万象-COS-内容识别资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_assign_formal\",\n \"ItemCodeName\": \"实时音视频-音视频通话-固定套餐包\"\n },\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_10\",\n \"ItemCodeName\": \"COS 标准存储容量包 10GB new\"\n }\n ],\n \"InstanceType\": [\n {\n \"InstanceType\": \"ri\",\n \"InstanceTypeName\": \"预留实例\"\n },\n {\n \"InstanceType\": \"svp\",\n \"InstanceTypeName\": \"节省计划\"\n },\n {\n \"InstanceType\": \"si\",\n \"InstanceTypeName\": \"竞价实例\"\n },\n {\n \"InstanceType\": \"rp\",\n \"InstanceTypeName\": \"资源包\"\n },\n {\n \"InstanceType\": \"capacityReserve\",\n \"InstanceTypeName\": \"容量预留\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": 0,\n \"RegionName\": \"其他\"\n },\n {\n \"RegionId\": 1,\n \"RegionName\": \"华南地区(广州)\"\n },\n {\n \"RegionId\": 3,\n \"RegionName\": \"华北地区(北京(北京一区 原天津))\"\n },\n {\n \"RegionId\": 4,\n \"RegionName\": \"华东地区(上海)\"\n },\n {\n \"RegionId\": 5,\n \"RegionName\": \"港澳台地区(香港)\"\n },\n {\n \"RegionId\": 6,\n \"RegionName\": \"北美地区(多伦多)\"\n },\n {\n \"RegionId\": 7,\n \"RegionName\": \"华东地区(上海金融)\"\n },\n {\n \"RegionId\": 8,\n \"RegionName\": \"华北地区(北京)\"\n },\n {\n \"RegionId\": 9,\n \"RegionName\": \"东南亚地区(新加坡)\"\n },\n {\n \"RegionId\": 11,\n \"RegionName\": \"华南地区(深圳金融)\"\n },\n {\n \"RegionId\": 12,\n \"RegionName\": \"华南地区(广州OPEN)\"\n },\n {\n \"RegionId\": 15,\n \"RegionName\": \"美西地区(美国硅谷)\"\n },\n {\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\"\n },\n {\n \"RegionId\": 17,\n \"RegionName\": \"欧洲地区(法兰克福)\"\n },\n {\n \"RegionId\": 18,\n \"RegionName\": \"亚太地区(首尔)\"\n },\n {\n \"RegionId\": 19,\n \"RegionName\": \"西南地区(重庆)\"\n },\n {\n \"RegionId\": 21,\n \"RegionName\": \"亚太地区(印度)\"\n },\n {\n \"RegionId\": 22,\n \"RegionName\": \"美东地区(弗吉尼亚)\"\n },\n {\n \"RegionId\": 23,\n \"RegionName\": \"亚太地区(泰国)\"\n },\n {\n \"RegionId\": 24,\n \"RegionName\": \"欧洲地区(欧洲东北)\"\n },\n {\n \"RegionId\": 25,\n \"RegionName\": \"亚太地区(日本)\"\n },\n {\n \"RegionId\": 31,\n \"RegionName\": \"华东地区(济南)\"\n },\n {\n \"RegionId\": 32,\n \"RegionName\": \"华东地区(杭州)\"\n },\n {\n \"RegionId\": 33,\n \"RegionName\": \"华东地区(南京)\"\n },\n {\n \"RegionId\": 34,\n \"RegionName\": \"华东地区(福州)\"\n },\n {\n \"RegionId\": 35,\n \"RegionName\": \"华中地区(武汉)\"\n },\n {\n \"RegionId\": 36,\n \"RegionName\": \"华北地区(天津)\"\n },\n {\n \"RegionId\": 37,\n \"RegionName\": \"华南地区(深圳)\"\n },\n {\n \"RegionId\": 39,\n \"RegionName\": \"港澳台地区(台北)\"\n },\n {\n \"RegionId\": 41,\n \"RegionName\": \"中东地区(迪拜)\"\n },\n {\n \"RegionId\": 42,\n \"RegionName\": \"美国南部(洛杉矶)\"\n },\n {\n \"RegionId\": 43,\n \"RegionName\": \"南美地区(巴西圣保罗互联区)\"\n },\n {\n \"RegionId\": 44,\n \"RegionName\": \"澳洲地区(悉尼)\"\n },\n {\n \"RegionId\": 45,\n \"RegionName\": \"华中地区(长沙)\"\n },\n {\n \"RegionId\": 46,\n \"RegionName\": \"华北地区(北京金融)\"\n },\n {\n \"RegionId\": 47,\n \"RegionName\": \"其他地区(其他)\"\n },\n {\n \"RegionId\": 53,\n \"RegionName\": \"华北地区(石家庄)\"\n },\n {\n \"RegionId\": 54,\n \"RegionName\": \"华南地区(清远)\"\n },\n {\n \"RegionId\": 55,\n \"RegionName\": \"华东地区(合肥)\"\n },\n {\n \"RegionId\": 56,\n \"RegionName\": \"东北地区(沈阳)\"\n },\n {\n \"RegionId\": 57,\n \"RegionName\": \"西北地区(西安)\"\n },\n {\n \"RegionId\": 58,\n \"RegionName\": \"西北地区(西北)\"\n },\n {\n \"RegionId\": 71,\n \"RegionName\": \"华中地区(郑州)\"\n },\n {\n \"RegionId\": 72,\n \"RegionName\": \"亚太东南地区(雅加达)\"\n },\n {\n \"RegionId\": 73,\n \"RegionName\": \"华南地区(清远信安)\"\n },\n {\n \"RegionId\": 74,\n \"RegionName\": \"南美地区(圣保罗)\"\n },\n {\n \"RegionId\": 76,\n \"RegionName\": \"西南地区(贵阳)\"\n },\n {\n \"RegionId\": 77,\n \"RegionName\": \"华南地区(深圳深宇财付通)\"\n },\n {\n \"RegionId\": 78,\n \"RegionName\": \"华东地区(上海自动驾驶云)\"\n },\n {\n \"RegionId\": 79,\n \"RegionName\": \"华南地区(深圳金融专区(TCE))\"\n },\n {\n \"RegionId\": 81,\n \"RegionName\": \"华东地区(上海金融专区(TCE))\"\n },\n {\n \"RegionId\": 1001,\n \"RegionName\": \"亚太地区(亚太一区)\"\n },\n {\n \"RegionId\": 1002,\n \"RegionName\": \"亚太地区(亚太二区)\"\n },\n {\n \"RegionId\": 1003,\n \"RegionName\": \"亚太地区(亚太三区)\"\n },\n {\n \"RegionId\": 1004,\n \"RegionName\": \"中东地区(中东)\"\n },\n {\n \"RegionId\": 1005,\n \"RegionName\": \"欧洲地区(欧洲)\"\n },\n {\n \"RegionId\": 1006,\n \"RegionName\": \"北美地区(北美)\"\n },\n {\n \"RegionId\": 1007,\n \"RegionName\": \"南美地区(南美)\"\n },\n {\n \"RegionId\": 1008,\n \"RegionName\": \"非洲地区(非洲)\"\n },\n {\n \"RegionId\": 1009,\n \"RegionName\": \"中国大陆(中国大陆)\"\n },\n {\n \"RegionId\": 1010,\n \"RegionName\": \"自定义区(自定义区)\"\n },\n {\n \"RegionId\": 2009,\n \"RegionName\": \"境内地区(中国大陆通用)\"\n },\n {\n \"RegionId\": 2010,\n \"RegionName\": \"境外地区(中国港澳台与海外通用)\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"包年包月\"\n },\n {\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\"\n },\n {\n \"PayMode\": \"riPay\",\n \"PayModeName\": \"预留实例\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Tag\": [\n {\n \"TagKey\": \"yzd_key2\",\n \"TagValue\": \"yzd_value2\"\n },\n {\n \"TagKey\": \"key1\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key2\",\n \"TagValue\": \"value2\"\n },\n {\n \"TagKey\": \"key3\",\n \"TagValue\": \"value3\"\n },\n {\n \"TagKey\": \"yzd_key1\",\n \"TagValue\": \"yzd_value2\"\n }\n ],\n \"RequestId\": \"da214fee-dcee-4b23-96b7-8dcd6cab1345\"\n }\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"Business\": [\n {\n \"Children\": [\n {},\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n },\n {\n \"Children\": [\n {},\n {}\n ]\n },\n {\n \"Children\": [\n {}\n ]\n }\n ],\n \"OwnerUin\": [\n {\n \"OwnerUin\": \"700000384179\"\n }\n ],\n \"OperateUin\": [\n {\n \"OperateUin\": \"700000384179\"\n }\n ],\n \"Product\": [\n {\n \"ProductCode\": \"sp_cvm_s1\",\n \"ProductCodeName\": \"云服务器CVM-标准型S1\"\n },\n {\n \"ProductCode\": \"sp_cbs_premium\",\n \"ProductCodeName\": \"高性能云硬盘\"\n },\n {\n \"ProductCode\": \"sp_cos_pkg_std_new\",\n \"ProductCodeName\": \"COS 标准存储容量包 new\"\n },\n {\n \"ProductCode\": \"sp_cvm_s2\",\n \"ProductCodeName\": \"云服务器CVM-标准型S2\"\n },\n {\n \"ProductCode\": \"sp_rav_audio_video\",\n \"ProductCodeName\": \"实时音视频-音视频通话\"\n },\n {\n \"ProductCode\": \"sp_cdn_cn_flux_package\",\n \"ProductCodeName\": \"中国境内CDN流量包\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_im_com\",\n \"ProductCodeName\": \"CI 图片压缩资源包\"\n },\n {\n \"ProductCode\": \"sp_redis_single\",\n \"ProductCodeName\": \"云数据库Redis-社区版\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_co_re\",\n \"ProductCodeName\": \"万象-COS-内容识别资源包\"\n }\n ],\n \"ActionType\": [\n {\n \"ActionType\": \"prepay_purchase\",\n \"ActionTypeName\": \"包年包月新购\"\n },\n {\n \"ActionType\": \"prepay_return\",\n \"ActionTypeName\": \"包年包月退款\"\n },\n {\n \"ActionType\": \"prepay_modify\",\n \"ActionTypeName\": \"包年包月配置变更\"\n },\n {\n \"ActionType\": \"prepay_renew\",\n \"ActionTypeName\": \"包年包月续费\"\n }\n ],\n \"Item\": [\n {\n \"ItemCode\": \"sv_cvm_bandwidth_prepay\",\n \"ItemCodeName\": \"带宽-按带宽计费\"\n },\n {\n \"ItemCode\": \"sv_cbs_memspace_premium\",\n \"ItemCodeName\": \"高性能云硬盘-存储空间\"\n },\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_20\",\n \"ItemCodeName\": \"COS 标准存储容量包 20GB new\"\n },\n {\n \"ItemCode\": \"virtual_v_cvm_compute_s2\",\n \"ItemCodeName\": \"计算组件\"\n },\n {\n \"ItemCode\": \"sv_cvm_rootdisk_cbspremium\",\n \"ItemCodeName\": \"高效云系统盘\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_custom_free\",\n \"ItemCodeName\": \"音视频通话-赠送套餐包\"\n },\n {\n \"ItemCode\": \"sv_cvm_rootdisk_local\",\n \"ItemCodeName\": \"本地系统盘\"\n },\n {\n \"ItemCode\": \"virtual_v_cvm_compute_s1\",\n \"ItemCodeName\": \"计算组件\"\n },\n {\n \"ItemCode\": \"sv_cdn_cn_flux_package\",\n \"ItemCodeName\": \"CDN流量包-流量\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_im_com_10\",\n \"ItemCodeName\": \"CI 图片压缩资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_redis_mem_single\",\n \"ItemCodeName\": \"云数据库Redis-社区版-内存\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_co_re_10\",\n \"ItemCodeName\": \"万象-COS-内容识别资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_assign_formal\",\n \"ItemCodeName\": \"实时音视频-音视频通话-固定套餐包\"\n },\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_10\",\n \"ItemCodeName\": \"COS 标准存储容量包 10GB new\"\n }\n ],\n \"InstanceType\": [\n {\n \"InstanceType\": \"ri\",\n \"InstanceTypeName\": \"预留实例\"\n },\n {\n \"InstanceType\": \"svp\",\n \"InstanceTypeName\": \"节省计划\"\n },\n {\n \"InstanceType\": \"si\",\n \"InstanceTypeName\": \"竞价实例\"\n },\n {\n \"InstanceType\": \"rp\",\n \"InstanceTypeName\": \"资源包\"\n },\n {\n \"InstanceType\": \"capacityReserve\",\n \"InstanceTypeName\": \"容量预留\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": 0,\n \"RegionName\": \"其他\"\n },\n {\n \"RegionId\": 1,\n \"RegionName\": \"华南地区(广州)\"\n },\n {\n \"RegionId\": 3,\n \"RegionName\": \"华北地区(北京(北京一区 原天津))\"\n },\n {\n \"RegionId\": 4,\n \"RegionName\": \"华东地区(上海)\"\n },\n {\n \"RegionId\": 5,\n \"RegionName\": \"港澳台地区(香港)\"\n },\n {\n \"RegionId\": 7,\n \"RegionName\": \"华东地区(上海金融)\"\n },\n {\n \"RegionId\": 8,\n \"RegionName\": \"华北地区(北京)\"\n },\n {\n \"RegionId\": 9,\n \"RegionName\": \"东南亚地区(新加坡)\"\n },\n {\n \"RegionId\": 11,\n \"RegionName\": \"华南地区(深圳金融)\"\n },\n {\n \"RegionId\": 12,\n \"RegionName\": \"华南地区(广州OPEN)\"\n },\n {\n \"RegionId\": 15,\n \"RegionName\": \"美西地区(美国硅谷)\"\n },\n {\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\"\n },\n {\n \"RegionId\": 17,\n \"RegionName\": \"欧洲地区(法兰克福)\"\n },\n {\n \"RegionId\": 18,\n \"RegionName\": \"亚太地区(首尔)\"\n },\n {\n \"RegionId\": 19,\n \"RegionName\": \"西南地区(重庆)\"\n },\n {\n \"RegionId\": 21,\n \"RegionName\": \"亚太地区(印度)\"\n },\n {\n \"RegionId\": 22,\n \"RegionName\": \"美东地区(弗吉尼亚)\"\n },\n {\n \"RegionId\": 23,\n \"RegionName\": \"亚太地区(泰国)\"\n },\n {\n \"RegionId\": 24,\n \"RegionName\": \"欧洲地区(欧洲东北)\"\n },\n {\n \"RegionId\": 25,\n \"RegionName\": \"亚太地区(日本)\"\n },\n {\n \"RegionId\": 31,\n \"RegionName\": \"华东地区(济南)\"\n },\n {\n \"RegionId\": 32,\n \"RegionName\": \"华东地区(杭州)\"\n },\n {\n \"RegionId\": 33,\n \"RegionName\": \"华东地区(南京)\"\n },\n {\n \"RegionId\": 34,\n \"RegionName\": \"华东地区(福州)\"\n },\n {\n \"RegionId\": 35,\n \"RegionName\": \"华中地区(武汉)\"\n },\n {\n \"RegionId\": 36,\n \"RegionName\": \"华北地区(天津)\"\n },\n {\n \"RegionId\": 37,\n \"RegionName\": \"华南地区(深圳)\"\n },\n {\n \"RegionId\": 39,\n \"RegionName\": \"港澳台地区(台北)\"\n },\n {\n \"RegionId\": 41,\n \"RegionName\": \"中东地区(迪拜)\"\n },\n {\n \"RegionId\": 42,\n \"RegionName\": \"美国南部(洛杉矶)\"\n },\n {\n \"RegionId\": 43,\n \"RegionName\": \"南美地区(巴西圣保罗互联区)\"\n },\n {\n \"RegionId\": 44,\n \"RegionName\": \"澳洲地区(悉尼)\"\n },\n {\n \"RegionId\": 45,\n \"RegionName\": \"华中地区(长沙)\"\n },\n {\n \"RegionId\": 46,\n \"RegionName\": \"华北地区(北京金融)\"\n },\n {\n \"RegionId\": 47,\n \"RegionName\": \"其他地区(其他)\"\n },\n {\n \"RegionId\": 53,\n \"RegionName\": \"华北地区(石家庄)\"\n },\n {\n \"RegionId\": 54,\n \"RegionName\": \"华南地区(清远)\"\n },\n {\n \"RegionId\": 55,\n \"RegionName\": \"华东地区(合肥)\"\n },\n {\n \"RegionId\": 56,\n \"RegionName\": \"东北地区(沈阳)\"\n },\n {\n \"RegionId\": 57,\n \"RegionName\": \"西北地区(西安)\"\n },\n {\n \"RegionId\": 58,\n \"RegionName\": \"西北地区(西北)\"\n },\n {\n \"RegionId\": 71,\n \"RegionName\": \"华中地区(郑州)\"\n },\n {\n \"RegionId\": 72,\n \"RegionName\": \"亚太东南地区(雅加达)\"\n },\n {\n \"RegionId\": 73,\n \"RegionName\": \"华南地区(清远信安)\"\n },\n {\n \"RegionId\": 74,\n \"RegionName\": \"南美地区(圣保罗)\"\n },\n {\n \"RegionId\": 76,\n \"RegionName\": \"西南地区(贵阳)\"\n },\n {\n \"RegionId\": 77,\n \"RegionName\": \"华南地区(深圳深宇财付通)\"\n },\n {\n \"RegionId\": 78,\n \"RegionName\": \"华东地区(上海自动驾驶云)\"\n },\n {\n \"RegionId\": 79,\n \"RegionName\": \"华南地区(深圳金融专区(TCE))\"\n },\n {\n \"RegionId\": 81,\n \"RegionName\": \"华东地区(上海金融专区(TCE))\"\n },\n {\n \"RegionId\": 1001,\n \"RegionName\": \"亚太地区(亚太一区)\"\n },\n {\n \"RegionId\": 1002,\n \"RegionName\": \"亚太地区(亚太二区)\"\n },\n {\n \"RegionId\": 1003,\n \"RegionName\": \"亚太地区(亚太三区)\"\n },\n {\n \"RegionId\": 1004,\n \"RegionName\": \"中东地区(中东)\"\n },\n {\n \"RegionId\": 1005,\n \"RegionName\": \"欧洲地区(欧洲)\"\n },\n {\n \"RegionId\": 1006,\n \"RegionName\": \"北美地区(北美)\"\n },\n {\n \"RegionId\": 1007,\n \"RegionName\": \"南美地区(南美)\"\n },\n {\n \"RegionId\": 1008,\n \"RegionName\": \"非洲地区(非洲)\"\n },\n {\n \"RegionId\": 1009,\n \"RegionName\": \"中国大陆(中国大陆)\"\n },\n {\n \"RegionId\": 1010,\n \"RegionName\": \"自定义区(自定义区)\"\n },\n {\n \"RegionId\": 2009,\n \"RegionName\": \"境内地区(中国大陆通用)\"\n },\n {\n \"RegionId\": 2010,\n \"RegionName\": \"境外地区(中国港澳台与海外通用)\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"包年包月\"\n },\n {\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\"\n },\n {\n \"PayMode\": \"riPay\",\n \"PayModeName\": \"预留实例\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Tag\": [\n {\n \"TagKey\": \"yzd_key2\",\n \"TagValue\": \"yzd_value2\"\n },\n {\n \"TagKey\": \"key1\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key2\",\n \"TagValue\": \"value2\"\n },\n {\n \"TagKey\": \"key3\",\n \"TagValue\": \"value3\"\n },\n {\n \"TagKey\": \"yzd_key1\",\n \"TagValue\": \"yzd_value2\"\n }\n ],\n \"RequestId\": \"da214fee-dcee-4b23-96b7-8dcd6cab1345\"\n }\n}",
|
40
40
|
"title": "查询分账条件"
|
41
41
|
}
|
42
42
|
],
|
@@ -44,7 +44,7 @@
|
|
44
44
|
{
|
45
45
|
"document": "",
|
46
46
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationBillConditions\n<公共请求参数>\n\n{\n \"Month\": \"2022-11-01 00:00:00\"\n}",
|
47
|
-
"output": "{\n \"Response\": {\n \"OwnerUin\": [\n {\n \"OwnerUin\": \"700000384179\"\n }\n ],\n \"OperateUin\": [\n {\n \"OperateUin\": \"700000384179\"\n }\n ],\n \"BillDay\": [\n {\n \"BillDay\": \"2022-11-02\"\n }\n ],\n \"ActionType\": [\n {\n \"ActionType\": \"prepay_purchase\",\n \"ActionTypeName\": \"包年包月新购\"\n },\n {\n \"ActionType\": \"prepay_renew\",\n \"ActionTypeName\": \"包年包月续费\"\n }\n ],\n \"Business\": [\n {\n \"BusinessCode\": \"p_redis\",\n \"BusinessCodeName\": \"云数据库Redis\"\n },\n {\n \"BusinessCode\": \"p_cdn\",\n \"BusinessCodeName\": \"内容分发网络CDN\"\n },\n {\n \"BusinessCode\": \"p_rav\",\n \"BusinessCodeName\": \"实时音视频\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\"\n },\n {\n \"BusinessCode\": \"p_ci\",\n \"BusinessCodeName\": \"数据万象CI\"\n }\n ],\n \"Product\": [\n {\n \"ProductCode\": \"sp_rav_audio_video\",\n \"ProductCodeName\": \"实时音视频-音视频通话\"\n },\n {\n \"ProductCode\": \"sp_cbs_premium\",\n \"ProductCodeName\": \"高性能云硬盘\"\n },\n {\n \"ProductCode\": \"sp_cdn_cn_flux_package\",\n \"ProductCodeName\": \"中国境内CDN流量包\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_im_com\",\n \"ProductCodeName\": \"CI 图片压缩资源包\"\n },\n {\n \"ProductCode\": \"sp_redis_single\",\n \"ProductCodeName\": \"云数据库Redis-社区版\"\n },\n {\n \"ProductCode\": \"sp_cos_pkg_std_new\",\n \"ProductCodeName\": \"COS 标准存储容量包 new\"\n }\n ],\n \"Component\": [\n {\n \"ComponentCode\": \"v_ci_pkg_im_com\",\n \"ComponentCodeName\": \"图片压缩资源包\"\n },\n {\n \"ComponentCode\": \"v_cbs_memspace\",\n \"ComponentCodeName\": \"存储空间\"\n },\n {\n \"ComponentCode\": \"v_rav_audio_video_assign\",\n \"ComponentCodeName\": \"音视频通话-固定套餐包\"\n },\n {\n \"ComponentCode\": \"v_redis_mem\",\n \"ComponentCodeName\": \"内存\"\n },\n {\n \"ComponentCode\": \"v_cos_pkg_std_new\",\n \"ComponentCodeName\": \"标准存储容量包 new\"\n },\n {\n \"ComponentCode\": \"v_cdn\",\n \"ComponentCodeName\": \"CDN\"\n },\n {\n \"ComponentCode\": \"v_rav_audio_video_custom\",\n \"ComponentCodeName\": \"音视频通话-自定义套餐包\"\n }\n ],\n \"Zone\": [\n {\n \"ZoneId\": 100002,\n \"ZoneName\": \"广州二区\"\n },\n {\n \"ZoneId\": 470002,\n \"ZoneName\": \"中国大陆通用\"\n },\n {\n \"ZoneId\": 100001,\n \"ZoneName\": \"广州一区\"\n },\n {\n \"ZoneId\": 0,\n \"ZoneName\": \"其他\"\n }\n ],\n \"Item\": [\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_20\",\n \"ItemCodeName\": \"COS 标准存储容量包 20GB new\"\n },\n {\n \"ItemCode\": \"sv_redis_mem_single\",\n \"ItemCodeName\": \"云数据库Redis-社区版-内存\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_custom_free\",\n \"ItemCodeName\": \"音视频通话-赠送套餐包\"\n },\n {\n \"ItemCode\": \"sv_cbs_memspace_premium\",\n \"ItemCodeName\": \"高性能云硬盘-存储空间\"\n },\n {\n \"ItemCode\": \"sv_cdn_cn_flux_package\",\n \"ItemCodeName\": \"CDN流量包-流量\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_im_com_10\",\n \"ItemCodeName\": \"CI 图片压缩资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_assign_formal\",\n \"ItemCodeName\": \"实时音视频-音视频通话-固定套餐包\"\n }\n ],\n \"AllocationTreeNode\": [\n {\n \"TreeNodeUniqKey\": \"700000384179-63733abacc8b8\",\n \"TreeNodeUniqKeyName\": \"计费临时项目\"\n },\n {\n \"TreeNodeUniqKey\": \"700000384179-6376f0b3ada52\",\n \"TreeNodeUniqKeyName\": \"HR产品\"\n },\n {\n \"TreeNodeUniqKey\": \"700000384179-63733ac7e46ff\",\n \"TreeNodeUniqKeyName\": \"中期调整项目\"\n }\n ],\n \"InstanceType\": [\n {\n \"InstanceType\": \"ri\",\n \"InstanceTypeName\": \"预留实例\"\n },\n {\n \"InstanceType\": \"svp\",\n \"InstanceTypeName\": \"节省计划\"\n },\n {\n \"InstanceType\": \"si\",\n \"InstanceTypeName\": \"竞价实例\"\n },\n {\n \"InstanceType\": \"rp\",\n \"InstanceTypeName\": \"资源包\"\n },\n {\n \"InstanceType\": \"capacityReserve\",\n \"InstanceTypeName\": \"容量预留\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": 0,\n \"RegionName\": \"其他\"\n },\n {\n \"RegionId\": 1,\n \"RegionName\": \"华南地区(广州)\"\n },\n {\n \"RegionId\": 3,\n \"RegionName\": \"华北地区(北京(北京一区 原天津))\"\n },\n {\n \"RegionId\": 4,\n \"RegionName\": \"华东地区(上海)\"\n },\n {\n \"RegionId\": 5,\n \"RegionName\": \"港澳台地区(香港)\"\n },\n {\n \"RegionId\": 6,\n \"RegionName\": \"北美地区(多伦多)\"\n },\n {\n \"RegionId\": 7,\n \"RegionName\": \"华东地区(上海金融)\"\n },\n {\n \"RegionId\": 8,\n \"RegionName\": \"华北地区(北京)\"\n },\n {\n \"RegionId\": 9,\n \"RegionName\": \"东南亚地区(新加坡)\"\n },\n {\n \"RegionId\": 11,\n \"RegionName\": \"华南地区(深圳金融)\"\n },\n {\n \"RegionId\": 12,\n \"RegionName\": \"华南地区(广州OPEN)\"\n },\n {\n \"RegionId\": 15,\n \"RegionName\": \"美西地区(美国硅谷)\"\n },\n {\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\"\n },\n {\n \"RegionId\": 17,\n \"RegionName\": \"欧洲地区(法兰克福)\"\n },\n {\n \"RegionId\": 18,\n \"RegionName\": \"亚太地区(首尔)\"\n },\n {\n \"RegionId\": 19,\n \"RegionName\": \"西南地区(重庆)\"\n },\n {\n \"RegionId\": 21,\n \"RegionName\": \"亚太地区(印度)\"\n },\n {\n \"RegionId\": 22,\n \"RegionName\": \"美东地区(弗吉尼亚)\"\n },\n {\n \"RegionId\": 23,\n \"RegionName\": \"亚太地区(泰国)\"\n },\n {\n \"RegionId\": 24,\n \"RegionName\": \"欧洲地区(欧洲东北)\"\n },\n {\n \"RegionId\": 25,\n \"RegionName\": \"亚太地区(日本)\"\n },\n {\n \"RegionId\": 31,\n \"RegionName\": \"华东地区(济南)\"\n },\n {\n \"RegionId\": 32,\n \"RegionName\": \"华东地区(杭州)\"\n },\n {\n \"RegionId\": 33,\n \"RegionName\": \"华东地区(南京)\"\n },\n {\n \"RegionId\": 34,\n \"RegionName\": \"华东地区(福州)\"\n },\n {\n \"RegionId\": 35,\n \"RegionName\": \"华中地区(武汉)\"\n },\n {\n \"RegionId\": 36,\n \"RegionName\": \"华北地区(天津)\"\n },\n {\n \"RegionId\": 37,\n \"RegionName\": \"华南地区(深圳)\"\n },\n {\n \"RegionId\": 39,\n \"RegionName\": \"港澳台地区(台北)\"\n },\n {\n \"RegionId\": 41,\n \"RegionName\": \"中东地区(迪拜)\"\n },\n {\n \"RegionId\": 42,\n \"RegionName\": \"美国南部(洛杉矶)\"\n },\n {\n \"RegionId\": 43,\n \"RegionName\": \"南美地区(巴西圣保罗互联区)\"\n },\n {\n \"RegionId\": 44,\n \"RegionName\": \"澳洲地区(悉尼)\"\n },\n {\n \"RegionId\": 45,\n \"RegionName\": \"华中地区(长沙)\"\n },\n {\n \"RegionId\": 46,\n \"RegionName\": \"华北地区(北京金融)\"\n },\n {\n \"RegionId\": 47,\n \"RegionName\": \"其他地区(其他)\"\n },\n {\n \"RegionId\": 53,\n \"RegionName\": \"华北地区(石家庄)\"\n },\n {\n \"RegionId\": 54,\n \"RegionName\": \"华南地区(清远)\"\n },\n {\n \"RegionId\": 55,\n \"RegionName\": \"华东地区(合肥)\"\n },\n {\n \"RegionId\": 56,\n \"RegionName\": \"东北地区(沈阳)\"\n },\n {\n \"RegionId\": 57,\n \"RegionName\": \"西北地区(西安)\"\n },\n {\n \"RegionId\": 58,\n \"RegionName\": \"西北地区(西北)\"\n },\n {\n \"RegionId\": 71,\n \"RegionName\": \"华中地区(郑州)\"\n },\n {\n \"RegionId\": 72,\n \"RegionName\": \"亚太东南地区(雅加达)\"\n },\n {\n \"RegionId\": 73,\n \"RegionName\": \"华南地区(清远信安)\"\n },\n {\n \"RegionId\": 74,\n \"RegionName\": \"南美地区(圣保罗)\"\n },\n {\n \"RegionId\": 76,\n \"RegionName\": \"西南地区(贵阳)\"\n },\n {\n \"RegionId\": 77,\n \"RegionName\": \"华南地区(深圳深宇财付通)\"\n },\n {\n \"RegionId\": 78,\n \"RegionName\": \"华东地区(上海自动驾驶云)\"\n },\n {\n \"RegionId\": 79,\n \"RegionName\": \"华南地区(深圳金融专区(TCE))\"\n },\n {\n \"RegionId\": 81,\n \"RegionName\": \"华东地区(上海金融专区(TCE))\"\n },\n {\n \"RegionId\": 1001,\n \"RegionName\": \"亚太地区(亚太一区)\"\n },\n {\n \"RegionId\": 1002,\n \"RegionName\": \"亚太地区(亚太二区)\"\n },\n {\n \"RegionId\": 1003,\n \"RegionName\": \"亚太地区(亚太三区)\"\n },\n {\n \"RegionId\": 1004,\n \"RegionName\": \"中东地区(中东)\"\n },\n {\n \"RegionId\": 1005,\n \"RegionName\": \"欧洲地区(欧洲)\"\n },\n {\n \"RegionId\": 1006,\n \"RegionName\": \"北美地区(北美)\"\n },\n {\n \"RegionId\": 1007,\n \"RegionName\": \"南美地区(南美)\"\n },\n {\n \"RegionId\": 1008,\n \"RegionName\": \"非洲地区(非洲)\"\n },\n {\n \"RegionId\": 1009,\n \"RegionName\": \"中国大陆(中国大陆)\"\n },\n {\n \"RegionId\": 1010,\n \"RegionName\": \"自定义区(自定义区)\"\n },\n {\n \"RegionId\": 2009,\n \"RegionName\": \"境内地区(中国大陆通用)\"\n },\n {\n \"RegionId\": 2010,\n \"RegionName\": \"境外地区(中国港澳台与海外通用)\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"包年包月\"\n },\n {\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\"\n },\n {\n \"PayMode\": \"riPay\",\n \"PayModeName\": \"预留实例\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Tag\": [\n {\n \"TagKey\": \"yzd_key2\",\n \"TagValue\": \"yzd_value2\"\n },\n {\n \"TagKey\": \"yzd_key1\",\n \"TagValue\": \"yzd_value2\"\n }\n ],\n \"RequestId\": \"fb0d843d-5676-400c-b491-e60379d8af7e\"\n }\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"OwnerUin\": [\n {\n \"OwnerUin\": \"700000384179\"\n }\n ],\n \"OperateUin\": [\n {\n \"OperateUin\": \"700000384179\"\n }\n ],\n \"BillDay\": [\n {\n \"BillDay\": \"2022-11-02\"\n }\n ],\n \"ActionType\": [\n {\n \"ActionType\": \"prepay_purchase\",\n \"ActionTypeName\": \"包年包月新购\"\n },\n {\n \"ActionType\": \"prepay_renew\",\n \"ActionTypeName\": \"包年包月续费\"\n }\n ],\n \"Business\": [\n {\n \"BusinessCode\": \"p_redis\",\n \"BusinessCodeName\": \"云数据库Redis\"\n },\n {\n \"BusinessCode\": \"p_cdn\",\n \"BusinessCodeName\": \"内容分发网络CDN\"\n },\n {\n \"BusinessCode\": \"p_rav\",\n \"BusinessCodeName\": \"实时音视频\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\"\n },\n {\n \"BusinessCode\": \"p_ci\",\n \"BusinessCodeName\": \"数据万象CI\"\n }\n ],\n \"Product\": [\n {\n \"ProductCode\": \"sp_rav_audio_video\",\n \"ProductCodeName\": \"实时音视频-音视频通话\"\n },\n {\n \"ProductCode\": \"sp_cbs_premium\",\n \"ProductCodeName\": \"高性能云硬盘\"\n },\n {\n \"ProductCode\": \"sp_cdn_cn_flux_package\",\n \"ProductCodeName\": \"中国境内CDN流量包\"\n },\n {\n \"ProductCode\": \"sp_ci_pkg_im_com\",\n \"ProductCodeName\": \"CI 图片压缩资源包\"\n },\n {\n \"ProductCode\": \"sp_redis_single\",\n \"ProductCodeName\": \"云数据库Redis-社区版\"\n },\n {\n \"ProductCode\": \"sp_cos_pkg_std_new\",\n \"ProductCodeName\": \"COS 标准存储容量包 new\"\n }\n ],\n \"Component\": [\n {\n \"ComponentCode\": \"v_ci_pkg_im_com\",\n \"ComponentCodeName\": \"图片压缩资源包\"\n },\n {\n \"ComponentCode\": \"v_cbs_memspace\",\n \"ComponentCodeName\": \"存储空间\"\n },\n {\n \"ComponentCode\": \"v_rav_audio_video_assign\",\n \"ComponentCodeName\": \"音视频通话-固定套餐包\"\n },\n {\n \"ComponentCode\": \"v_redis_mem\",\n \"ComponentCodeName\": \"内存\"\n },\n {\n \"ComponentCode\": \"v_cos_pkg_std_new\",\n \"ComponentCodeName\": \"标准存储容量包 new\"\n },\n {\n \"ComponentCode\": \"v_cdn\",\n \"ComponentCodeName\": \"CDN\"\n },\n {\n \"ComponentCode\": \"v_rav_audio_video_custom\",\n \"ComponentCodeName\": \"音视频通话-自定义套餐包\"\n }\n ],\n \"Zone\": [\n {\n \"ZoneId\": 100002,\n \"ZoneName\": \"广州二区\"\n },\n {\n \"ZoneId\": 470002,\n \"ZoneName\": \"中国大陆通用\"\n },\n {\n \"ZoneId\": 100001,\n \"ZoneName\": \"广州一区\"\n },\n {\n \"ZoneId\": 0,\n \"ZoneName\": \"其他\"\n }\n ],\n \"Item\": [\n {\n \"ItemCode\": \"sv_cos_pkg_std_new_20\",\n \"ItemCodeName\": \"COS 标准存储容量包 20GB new\"\n },\n {\n \"ItemCode\": \"sv_redis_mem_single\",\n \"ItemCodeName\": \"云数据库Redis-社区版-内存\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_custom_free\",\n \"ItemCodeName\": \"音视频通话-赠送套餐包\"\n },\n {\n \"ItemCode\": \"sv_cbs_memspace_premium\",\n \"ItemCodeName\": \"高性能云硬盘-存储空间\"\n },\n {\n \"ItemCode\": \"sv_cdn_cn_flux_package\",\n \"ItemCodeName\": \"CDN流量包-流量\"\n },\n {\n \"ItemCode\": \"sv_ci_pkg_im_com_10\",\n \"ItemCodeName\": \"CI 图片压缩资源包 10万次\"\n },\n {\n \"ItemCode\": \"sv_rav_audio_video_assign_formal\",\n \"ItemCodeName\": \"实时音视频-音视频通话-固定套餐包\"\n }\n ],\n \"AllocationTreeNode\": [\n {\n \"TreeNodeUniqKey\": \"700000384179-63733abacc8b8\",\n \"TreeNodeUniqKeyName\": \"计费临时项目\"\n },\n {\n \"TreeNodeUniqKey\": \"700000384179-6376f0b3ada52\",\n \"TreeNodeUniqKeyName\": \"HR产品\"\n },\n {\n \"TreeNodeUniqKey\": \"700000384179-63733ac7e46ff\",\n \"TreeNodeUniqKeyName\": \"中期调整项目\"\n }\n ],\n \"InstanceType\": [\n {\n \"InstanceType\": \"ri\",\n \"InstanceTypeName\": \"预留实例\"\n },\n {\n \"InstanceType\": \"svp\",\n \"InstanceTypeName\": \"节省计划\"\n },\n {\n \"InstanceType\": \"si\",\n \"InstanceTypeName\": \"竞价实例\"\n },\n {\n \"InstanceType\": \"rp\",\n \"InstanceTypeName\": \"资源包\"\n },\n {\n \"InstanceType\": \"capacityReserve\",\n \"InstanceTypeName\": \"容量预留\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": 0,\n \"RegionName\": \"其他\"\n },\n {\n \"RegionId\": 1,\n \"RegionName\": \"华南地区(广州)\"\n },\n {\n \"RegionId\": 3,\n \"RegionName\": \"华北地区(北京(北京一区 原天津))\"\n },\n {\n \"RegionId\": 4,\n \"RegionName\": \"华东地区(上海)\"\n },\n {\n \"RegionId\": 5,\n \"RegionName\": \"港澳台地区(香港)\"\n },\n {\n \"RegionId\": 7,\n \"RegionName\": \"华东地区(上海金融)\"\n },\n {\n \"RegionId\": 8,\n \"RegionName\": \"华北地区(北京)\"\n },\n {\n \"RegionId\": 9,\n \"RegionName\": \"东南亚地区(新加坡)\"\n },\n {\n \"RegionId\": 11,\n \"RegionName\": \"华南地区(深圳金融)\"\n },\n {\n \"RegionId\": 12,\n \"RegionName\": \"华南地区(广州OPEN)\"\n },\n {\n \"RegionId\": 15,\n \"RegionName\": \"美西地区(美国硅谷)\"\n },\n {\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\"\n },\n {\n \"RegionId\": 17,\n \"RegionName\": \"欧洲地区(法兰克福)\"\n },\n {\n \"RegionId\": 18,\n \"RegionName\": \"亚太地区(首尔)\"\n },\n {\n \"RegionId\": 19,\n \"RegionName\": \"西南地区(重庆)\"\n },\n {\n \"RegionId\": 21,\n \"RegionName\": \"亚太地区(印度)\"\n },\n {\n \"RegionId\": 22,\n \"RegionName\": \"美东地区(弗吉尼亚)\"\n },\n {\n \"RegionId\": 23,\n \"RegionName\": \"亚太地区(泰国)\"\n },\n {\n \"RegionId\": 24,\n \"RegionName\": \"欧洲地区(欧洲东北)\"\n },\n {\n \"RegionId\": 25,\n \"RegionName\": \"亚太地区(日本)\"\n },\n {\n \"RegionId\": 31,\n \"RegionName\": \"华东地区(济南)\"\n },\n {\n \"RegionId\": 32,\n \"RegionName\": \"华东地区(杭州)\"\n },\n {\n \"RegionId\": 33,\n \"RegionName\": \"华东地区(南京)\"\n },\n {\n \"RegionId\": 34,\n \"RegionName\": \"华东地区(福州)\"\n },\n {\n \"RegionId\": 35,\n \"RegionName\": \"华中地区(武汉)\"\n },\n {\n \"RegionId\": 36,\n \"RegionName\": \"华北地区(天津)\"\n },\n {\n \"RegionId\": 37,\n \"RegionName\": \"华南地区(深圳)\"\n },\n {\n \"RegionId\": 39,\n \"RegionName\": \"港澳台地区(台北)\"\n },\n {\n \"RegionId\": 41,\n \"RegionName\": \"中东地区(迪拜)\"\n },\n {\n \"RegionId\": 42,\n \"RegionName\": \"美国南部(洛杉矶)\"\n },\n {\n \"RegionId\": 43,\n \"RegionName\": \"南美地区(巴西圣保罗互联区)\"\n },\n {\n \"RegionId\": 44,\n \"RegionName\": \"澳洲地区(悉尼)\"\n },\n {\n \"RegionId\": 45,\n \"RegionName\": \"华中地区(长沙)\"\n },\n {\n \"RegionId\": 46,\n \"RegionName\": \"华北地区(北京金融)\"\n },\n {\n \"RegionId\": 47,\n \"RegionName\": \"其他地区(其他)\"\n },\n {\n \"RegionId\": 53,\n \"RegionName\": \"华北地区(石家庄)\"\n },\n {\n \"RegionId\": 54,\n \"RegionName\": \"华南地区(清远)\"\n },\n {\n \"RegionId\": 55,\n \"RegionName\": \"华东地区(合肥)\"\n },\n {\n \"RegionId\": 56,\n \"RegionName\": \"东北地区(沈阳)\"\n },\n {\n \"RegionId\": 57,\n \"RegionName\": \"西北地区(西安)\"\n },\n {\n \"RegionId\": 58,\n \"RegionName\": \"西北地区(西北)\"\n },\n {\n \"RegionId\": 71,\n \"RegionName\": \"华中地区(郑州)\"\n },\n {\n \"RegionId\": 72,\n \"RegionName\": \"亚太东南地区(雅加达)\"\n },\n {\n \"RegionId\": 73,\n \"RegionName\": \"华南地区(清远信安)\"\n },\n {\n \"RegionId\": 74,\n \"RegionName\": \"南美地区(圣保罗)\"\n },\n {\n \"RegionId\": 76,\n \"RegionName\": \"西南地区(贵阳)\"\n },\n {\n \"RegionId\": 77,\n \"RegionName\": \"华南地区(深圳深宇财付通)\"\n },\n {\n \"RegionId\": 78,\n \"RegionName\": \"华东地区(上海自动驾驶云)\"\n },\n {\n \"RegionId\": 79,\n \"RegionName\": \"华南地区(深圳金融专区(TCE))\"\n },\n {\n \"RegionId\": 81,\n \"RegionName\": \"华东地区(上海金融专区(TCE))\"\n },\n {\n \"RegionId\": 1001,\n \"RegionName\": \"亚太地区(亚太一区)\"\n },\n {\n \"RegionId\": 1002,\n \"RegionName\": \"亚太地区(亚太二区)\"\n },\n {\n \"RegionId\": 1003,\n \"RegionName\": \"亚太地区(亚太三区)\"\n },\n {\n \"RegionId\": 1004,\n \"RegionName\": \"中东地区(中东)\"\n },\n {\n \"RegionId\": 1005,\n \"RegionName\": \"欧洲地区(欧洲)\"\n },\n {\n \"RegionId\": 1006,\n \"RegionName\": \"北美地区(北美)\"\n },\n {\n \"RegionId\": 1007,\n \"RegionName\": \"南美地区(南美)\"\n },\n {\n \"RegionId\": 1008,\n \"RegionName\": \"非洲地区(非洲)\"\n },\n {\n \"RegionId\": 1009,\n \"RegionName\": \"中国大陆(中国大陆)\"\n },\n {\n \"RegionId\": 1010,\n \"RegionName\": \"自定义区(自定义区)\"\n },\n {\n \"RegionId\": 2009,\n \"RegionName\": \"境内地区(中国大陆通用)\"\n },\n {\n \"RegionId\": 2010,\n \"RegionName\": \"境外地区(中国港澳台与海外通用)\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"包年包月\"\n },\n {\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\"\n },\n {\n \"PayMode\": \"riPay\",\n \"PayModeName\": \"预留实例\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Tag\": [\n {\n \"TagKey\": \"yzd_key2\",\n \"TagValue\": \"yzd_value2\"\n },\n {\n \"TagKey\": \"yzd_key1\",\n \"TagValue\": \"yzd_value2\"\n }\n ],\n \"RequestId\": \"fb0d843d-5676-400c-b491-e60379d8af7e\"\n }\n}",
|
48
48
|
"title": "查询分账报表结果所需筛选条件"
|
49
49
|
}
|
50
50
|
],
|
tccli/services/ccc/ccc_client.py
CHANGED
@@ -225,7 +225,7 @@ def doDescribeAutoCalloutTasks(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
-
def
|
228
|
+
def doCreateAICall(args, parsed_globals):
|
229
229
|
g_param = parse_global_arg(parsed_globals)
|
230
230
|
|
231
231
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -254,11 +254,11 @@ def doDescribeStaffInfoList(args, parsed_globals):
|
|
254
254
|
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
255
255
|
client._sdkVersion += ("_CLI_" + __version__)
|
256
256
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.
|
257
|
+
model = models.CreateAICallRequest()
|
258
258
|
model.from_json_string(json.dumps(args))
|
259
259
|
start_time = time.time()
|
260
260
|
while True:
|
261
|
-
rsp = client.
|
261
|
+
rsp = client.CreateAICall(model)
|
262
262
|
result = rsp.to_json_string()
|
263
263
|
try:
|
264
264
|
json_obj = json.loads(result)
|
@@ -1941,6 +1941,58 @@ def doModifyStaffPassword(args, parsed_globals):
|
|
1941
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
1942
|
|
1943
1943
|
|
1944
|
+
def doDescribeStaffInfoList(args, parsed_globals):
|
1945
|
+
g_param = parse_global_arg(parsed_globals)
|
1946
|
+
|
1947
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1948
|
+
cred = credential.CVMRoleCredential()
|
1949
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1950
|
+
cred = credential.STSAssumeRoleCredential(
|
1951
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1952
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1953
|
+
)
|
1954
|
+
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):
|
1955
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1956
|
+
else:
|
1957
|
+
cred = credential.Credential(
|
1958
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1959
|
+
)
|
1960
|
+
http_profile = HttpProfile(
|
1961
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1962
|
+
reqMethod="POST",
|
1963
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1964
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1965
|
+
)
|
1966
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1967
|
+
if g_param[OptionsDefine.Language]:
|
1968
|
+
profile.language = g_param[OptionsDefine.Language]
|
1969
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1970
|
+
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
1971
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1972
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1973
|
+
model = models.DescribeStaffInfoListRequest()
|
1974
|
+
model.from_json_string(json.dumps(args))
|
1975
|
+
start_time = time.time()
|
1976
|
+
while True:
|
1977
|
+
rsp = client.DescribeStaffInfoList(model)
|
1978
|
+
result = rsp.to_json_string()
|
1979
|
+
try:
|
1980
|
+
json_obj = json.loads(result)
|
1981
|
+
except TypeError as e:
|
1982
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1983
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1984
|
+
break
|
1985
|
+
cur_time = time.time()
|
1986
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1987
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1988
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1989
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1990
|
+
else:
|
1991
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1992
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1993
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
|
+
|
1995
|
+
|
1944
1996
|
def doDisableCCCPhoneNumber(args, parsed_globals):
|
1945
1997
|
g_param = parse_global_arg(parsed_globals)
|
1946
1998
|
|
@@ -3048,7 +3100,7 @@ ACTION_MAP = {
|
|
3048
3100
|
"UnbindNumberCallOutSkillGroup": doUnbindNumberCallOutSkillGroup,
|
3049
3101
|
"DescribeExtensions": doDescribeExtensions,
|
3050
3102
|
"DescribeAutoCalloutTasks": doDescribeAutoCalloutTasks,
|
3051
|
-
"
|
3103
|
+
"CreateAICall": doCreateAICall,
|
3052
3104
|
"DescribePredictiveDialingCampaign": doDescribePredictiveDialingCampaign,
|
3053
3105
|
"DescribePSTNActiveSessionList": doDescribePSTNActiveSessionList,
|
3054
3106
|
"DeleteExtension": doDeleteExtension,
|
@@ -3081,6 +3133,7 @@ ACTION_MAP = {
|
|
3081
3133
|
"CreateCCCSkillGroup": doCreateCCCSkillGroup,
|
3082
3134
|
"UnbindStaffSkillGroupList": doUnbindStaffSkillGroupList,
|
3083
3135
|
"ModifyStaffPassword": doModifyStaffPassword,
|
3136
|
+
"DescribeStaffInfoList": doDescribeStaffInfoList,
|
3084
3137
|
"DisableCCCPhoneNumber": doDisableCCCPhoneNumber,
|
3085
3138
|
"DescribeStaffStatusMetrics": doDescribeStaffStatusMetrics,
|
3086
3139
|
"DescribeTelCallInfo": doDescribeTelCallInfo,
|
@@ -21,6 +21,13 @@
|
|
21
21
|
"output": "BindStaffSkillGroupListResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
|
+
"CreateAICall": {
|
25
|
+
"document": "创建ai外呼会话(仅支持高级版座席)",
|
26
|
+
"input": "CreateAICallRequest",
|
27
|
+
"name": "创建ai会话",
|
28
|
+
"output": "CreateAICallResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
24
31
|
"CreateAdminURL": {
|
25
32
|
"document": "创建管理端访问链接",
|
26
33
|
"input": "CreateAdminURLRequest",
|
@@ -1423,6 +1430,187 @@
|
|
1423
1430
|
],
|
1424
1431
|
"usage": "both"
|
1425
1432
|
},
|
1433
|
+
"CreateAICallRequest": {
|
1434
|
+
"document": "CreateAICall请求参数结构体",
|
1435
|
+
"members": [
|
1436
|
+
{
|
1437
|
+
"disabled": false,
|
1438
|
+
"document": "应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc",
|
1439
|
+
"example": "1400000000",
|
1440
|
+
"member": "int64",
|
1441
|
+
"name": "SdkAppId",
|
1442
|
+
"required": true,
|
1443
|
+
"type": "int"
|
1444
|
+
},
|
1445
|
+
{
|
1446
|
+
"disabled": false,
|
1447
|
+
"document": "被叫",
|
1448
|
+
"example": "+8613012345678",
|
1449
|
+
"member": "string",
|
1450
|
+
"name": "Callee",
|
1451
|
+
"required": true,
|
1452
|
+
"type": "string"
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"disabled": false,
|
1456
|
+
"document": "用于设定AI座席人设、说话规则、任务等的全局提示词。",
|
1457
|
+
"example": "你是一只ai问答机器人",
|
1458
|
+
"member": "string",
|
1459
|
+
"name": "SystemPrompt",
|
1460
|
+
"required": true,
|
1461
|
+
"type": "string"
|
1462
|
+
},
|
1463
|
+
{
|
1464
|
+
"disabled": false,
|
1465
|
+
"document": "LLM类型",
|
1466
|
+
"example": "openai",
|
1467
|
+
"member": "string",
|
1468
|
+
"name": "LLMType",
|
1469
|
+
"required": true,
|
1470
|
+
"type": "string"
|
1471
|
+
},
|
1472
|
+
{
|
1473
|
+
"disabled": false,
|
1474
|
+
"document": "模型(当前仅支持openai协议的模型)",
|
1475
|
+
"example": "gpt3",
|
1476
|
+
"member": "string",
|
1477
|
+
"name": "Model",
|
1478
|
+
"required": true,
|
1479
|
+
"type": "string"
|
1480
|
+
},
|
1481
|
+
{
|
1482
|
+
"disabled": false,
|
1483
|
+
"document": "API密钥",
|
1484
|
+
"example": "114514",
|
1485
|
+
"member": "string",
|
1486
|
+
"name": "APIKey",
|
1487
|
+
"required": true,
|
1488
|
+
"type": "string"
|
1489
|
+
},
|
1490
|
+
{
|
1491
|
+
"disabled": false,
|
1492
|
+
"document": "API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions",
|
1493
|
+
"example": "http://xxx.com/openapi/v1",
|
1494
|
+
"member": "string",
|
1495
|
+
"name": "APIUrl",
|
1496
|
+
"required": true,
|
1497
|
+
"type": "string"
|
1498
|
+
},
|
1499
|
+
{
|
1500
|
+
"disabled": false,
|
1501
|
+
"document": "音色,目前仅支持以下音色:\n汉语:\nZhiMei:智美,客服女声\nZhiXi: 智希 通用女声\nZhiQi:智琪 客服女声\nZhiTian:智甜 女童声\nAiXiaoJing:爱小静 对话女声\n\n英语:\nWeRose:英文女声\nMonika:英文女声\n\n日语:\nNanami\n\n韩语:\nSunHi\n\n印度尼西亚语(印度尼西亚):\nGadis\n\n马来语(马来西亚):\nYasmin\n\n 泰米尔语(马来西亚):\nKani\n\n泰语(泰国):\nAchara\n\n越南语(越南):\nHoaiMy\n\n",
|
1502
|
+
"example": "ZhiMei",
|
1503
|
+
"member": "string",
|
1504
|
+
"name": "VoiceType",
|
1505
|
+
"required": true,
|
1506
|
+
"type": "string"
|
1507
|
+
},
|
1508
|
+
{
|
1509
|
+
"disabled": false,
|
1510
|
+
"document": "主叫号码列表",
|
1511
|
+
"example": "无",
|
1512
|
+
"member": "string",
|
1513
|
+
"name": "Callers",
|
1514
|
+
"required": false,
|
1515
|
+
"type": "list"
|
1516
|
+
},
|
1517
|
+
{
|
1518
|
+
"disabled": false,
|
1519
|
+
"document": "用于设定AI座席欢迎语。",
|
1520
|
+
"example": "你好",
|
1521
|
+
"member": "string",
|
1522
|
+
"name": "WelcomeMessage",
|
1523
|
+
"required": false,
|
1524
|
+
"type": "string"
|
1525
|
+
},
|
1526
|
+
{
|
1527
|
+
"disabled": false,
|
1528
|
+
"document": "0:使用welcomeMessage(为空时,被叫先说话;不为空时,机器人先说话)\n1: 使用ai根据prompt自动生成welcomeMessage并先说话",
|
1529
|
+
"example": "0,1",
|
1530
|
+
"member": "int64",
|
1531
|
+
"name": "WelcomeType",
|
1532
|
+
"required": false,
|
1533
|
+
"type": "int"
|
1534
|
+
},
|
1535
|
+
{
|
1536
|
+
"disabled": false,
|
1537
|
+
"document": "最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断",
|
1538
|
+
"example": "60000",
|
1539
|
+
"member": "int64",
|
1540
|
+
"name": "MaxDuration",
|
1541
|
+
"required": false,
|
1542
|
+
"type": "int"
|
1543
|
+
},
|
1544
|
+
{
|
1545
|
+
"disabled": false,
|
1546
|
+
"document": "语音识别支持的语言, 默认是\"zh\" 中文,\n填写数组,最长4个语言,第一个语言为主要识别语言,后面为可选语言,\n注意:主要语言为中国方言时,可选语言无效\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循ISO639:\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 汉语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语",
|
1547
|
+
"example": "[\"zh\",\"en\"]",
|
1548
|
+
"member": "string",
|
1549
|
+
"name": "Languages",
|
1550
|
+
"required": false,
|
1551
|
+
"type": "list"
|
1552
|
+
},
|
1553
|
+
{
|
1554
|
+
"disabled": false,
|
1555
|
+
"document": "打断AI说话模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
|
1556
|
+
"example": "1",
|
1557
|
+
"member": "int64",
|
1558
|
+
"name": "InterruptMode",
|
1559
|
+
"required": false,
|
1560
|
+
"type": "int"
|
1561
|
+
},
|
1562
|
+
{
|
1563
|
+
"disabled": false,
|
1564
|
+
"document": "InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。",
|
1565
|
+
"example": "500",
|
1566
|
+
"member": "int64",
|
1567
|
+
"name": "InterruptSpeechDuration",
|
1568
|
+
"required": false,
|
1569
|
+
"type": "int"
|
1570
|
+
},
|
1571
|
+
{
|
1572
|
+
"disabled": false,
|
1573
|
+
"document": "模型是否支持(或者开启)call_end function calling",
|
1574
|
+
"example": "true",
|
1575
|
+
"member": "bool",
|
1576
|
+
"name": "EndFunctionEnable",
|
1577
|
+
"required": false,
|
1578
|
+
"type": "bool"
|
1579
|
+
},
|
1580
|
+
{
|
1581
|
+
"disabled": false,
|
1582
|
+
"document": "EndFunctionEnable为true时生效;call_end function calling的desc,默认为 \"End the call when user has to leave (like says bye) or you are instructed to do so.\"",
|
1583
|
+
"example": "无",
|
1584
|
+
"member": "string",
|
1585
|
+
"name": "EndFunctionDesc",
|
1586
|
+
"required": false,
|
1587
|
+
"type": "string"
|
1588
|
+
}
|
1589
|
+
],
|
1590
|
+
"type": "object"
|
1591
|
+
},
|
1592
|
+
"CreateAICallResponse": {
|
1593
|
+
"document": "CreateAICall返回参数结构体",
|
1594
|
+
"members": [
|
1595
|
+
{
|
1596
|
+
"disabled": false,
|
1597
|
+
"document": "新创建的会话 ID",
|
1598
|
+
"example": "adcf61b8-dbb9-4c20-87bf-c0744c04bade",
|
1599
|
+
"member": "string",
|
1600
|
+
"name": "SessionId",
|
1601
|
+
"output_required": false,
|
1602
|
+
"type": "string",
|
1603
|
+
"value_allowed_null": false
|
1604
|
+
},
|
1605
|
+
{
|
1606
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1607
|
+
"member": "string",
|
1608
|
+
"name": "RequestId",
|
1609
|
+
"type": "string"
|
1610
|
+
}
|
1611
|
+
],
|
1612
|
+
"type": "object"
|
1613
|
+
},
|
1426
1614
|
"CreateAdminURLRequest": {
|
1427
1615
|
"document": "CreateAdminURL请求参数结构体",
|
1428
1616
|
"members": [
|
@@ -24,6 +24,14 @@
|
|
24
24
|
"title": "绑定坐席所属技能组示例"
|
25
25
|
}
|
26
26
|
],
|
27
|
+
"CreateAICall": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是一只机器人\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt3\",\n \"APIKey\": \"114514\",\n \"APIUrl\": \"https://xxx/v1/chat/completions\",\n \"VoiceType\": \"ZhiMei\"\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"SessionId\": \"6bb56a09278740bc80c5dc6dab783eff\"\n }\n}",
|
32
|
+
"title": "创建ai 会话示例"
|
33
|
+
}
|
34
|
+
],
|
27
35
|
"CreateAdminURL": [
|
28
36
|
{
|
29
37
|
"document": "创建管理端登录链接示例",
|
@@ -2661,7 +2661,7 @@
|
|
2661
2661
|
},
|
2662
2662
|
{
|
2663
2663
|
"disabled": false,
|
2664
|
-
"document": "是否开启SNI特性,此参数仅适用于HTTPS监听器。0
|
2664
|
+
"document": "是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示未开启,1表示开启。",
|
2665
2665
|
"example": "1",
|
2666
2666
|
"member": "int64",
|
2667
2667
|
"name": "SniSwitch",
|
@@ -2766,6 +2766,24 @@
|
|
2766
2766
|
"name": "FullEndPorts",
|
2767
2767
|
"required": false,
|
2768
2768
|
"type": "list"
|
2769
|
+
},
|
2770
|
+
{
|
2771
|
+
"disabled": false,
|
2772
|
+
"document": "内网http监听器开启h2c开关",
|
2773
|
+
"example": "False",
|
2774
|
+
"member": "bool",
|
2775
|
+
"name": "H2cSwitch",
|
2776
|
+
"required": false,
|
2777
|
+
"type": "bool"
|
2778
|
+
},
|
2779
|
+
{
|
2780
|
+
"disabled": false,
|
2781
|
+
"document": "TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关",
|
2782
|
+
"example": "False",
|
2783
|
+
"member": "bool",
|
2784
|
+
"name": "SslCloseSwitch",
|
2785
|
+
"required": false,
|
2786
|
+
"type": "bool"
|
2769
2787
|
}
|
2770
2788
|
],
|
2771
2789
|
"type": "object"
|