tencentcloud-sdk-nodejs-ccc 4.0.948 → 4.0.950
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.
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/services/ccc/v20200210/ccc_client.ts +40 -15
- package/src/services/ccc/v20200210/ccc_models.ts +90 -0
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +16 -8
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +21 -9
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +85 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-09-24 01:08:10 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-09-13 01:04:24 |
|
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-09-
|
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-09-30 01:07:57 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-09-23 01:07:54 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-
|
|
23
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-09-30 01:08:18 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 |
|
|
25
25
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-09-05 01:05:48 |
|
|
26
26
|
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-09-11 01:11:08 |
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2024-06-19 01:13:52 |
|
|
35
35
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 |
|
|
36
36
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 |
|
|
37
|
-
| ca | [腾讯云CA](https://cloud.tencent.com/document/product/1691) | 2024-09-
|
|
37
|
+
| ca | [腾讯云CA](https://cloud.tencent.com/document/product/1691) | 2024-09-30 01:09:31 |
|
|
38
38
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-09-13 01:08:46 |
|
|
39
39
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-07-26 01:14:48 |
|
|
40
40
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
|
|
42
42
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-08-28 01:11:56 |
|
|
43
|
-
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-09-
|
|
43
|
+
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-09-30 01:10:03 |
|
|
44
44
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-09-19 01:11:20 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-08-28 01:14:49 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-09-27 01:06:23 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
|
|
48
48
|
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-09-06 01:13:27 |
|
|
49
|
-
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-09-
|
|
49
|
+
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-09-30 01:11:18 |
|
|
50
50
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
51
51
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 |
|
|
52
52
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-20 12:56:59 |
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
74
74
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-09-19 01:21:01 |
|
|
75
75
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
|
76
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-09-
|
|
76
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-09-30 01:13:47 |
|
|
77
77
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-09-26 01:14:22 |
|
|
78
78
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
79
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-
|
|
79
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-30 01:15:34 |
|
|
80
80
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-09-26 01:16:16 |
|
|
81
81
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
82
82
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-28 02:04:37 |
|
|
153
153
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-09-25 01:26:32 |
|
|
154
154
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-09-20 13:07:52 |
|
|
155
|
-
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-09-
|
|
156
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-09-
|
|
155
|
+
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-09-30 01:26:55 |
|
|
156
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-09-30 01:27:01 |
|
|
157
157
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-16 02:04:04 |
|
|
158
158
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
|
159
159
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
185
185
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-27 02:19:04 |
|
|
186
186
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
|
187
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-
|
|
187
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-10-01 01:24:04 |
|
|
188
188
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
189
189
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
|
|
190
190
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-08-28 02:21:40 |
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
|
|
244
244
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
245
245
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-11 19:07:13 |
|
|
246
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-
|
|
246
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-30 01:38:05 |
|
|
247
247
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
|
|
248
248
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-09-10 02:27:11 |
|
|
249
249
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-09-09 02:31:32 |
|
|
@@ -92,6 +92,7 @@ import {
|
|
|
92
92
|
ModifyExtensionRequest,
|
|
93
93
|
CreatePredictiveDialingCampaignResponse,
|
|
94
94
|
UpdatePredictiveDialingCampaignResponse,
|
|
95
|
+
ModifyOwnNumberApplyRequest,
|
|
95
96
|
PSTNSessionInfo,
|
|
96
97
|
Message,
|
|
97
98
|
AbortPredictiveDialingCampaignResponse,
|
|
@@ -111,6 +112,7 @@ import {
|
|
|
111
112
|
DeleteStaffRequest,
|
|
112
113
|
CallInMetrics,
|
|
113
114
|
DescribeCCCBuyInfoListRequest,
|
|
115
|
+
OwnNumberApplyDetailItem,
|
|
114
116
|
DescribePredictiveDialingCampaignsResponse,
|
|
115
117
|
DescribeTelCallInfoRequest,
|
|
116
118
|
Variable,
|
|
@@ -120,6 +122,7 @@ import {
|
|
|
120
122
|
CreateCarrierPrivilegeNumberApplicantRequest,
|
|
121
123
|
Filter,
|
|
122
124
|
UnbindStaffSkillGroupListRequest,
|
|
125
|
+
CreateOwnNumberApplyResponse,
|
|
123
126
|
DescribePredictiveDialingCampaignsElement,
|
|
124
127
|
HangUpCallResponse,
|
|
125
128
|
StopAutoCalloutTaskResponse,
|
|
@@ -140,6 +143,7 @@ import {
|
|
|
140
143
|
UploadIvrAudioFailedInfo,
|
|
141
144
|
DescribeCallInMetricsResponse,
|
|
142
145
|
ModifyCompanyApplyRequest,
|
|
146
|
+
ModifyOwnNumberApplyResponse,
|
|
143
147
|
CreateAICallResponse,
|
|
144
148
|
DescribeCompanyListRequest,
|
|
145
149
|
CreateIVRSessionResponse,
|
|
@@ -172,6 +176,7 @@ import {
|
|
|
172
176
|
CreateSDKLoginTokenRequest,
|
|
173
177
|
DescribeActiveCarrierPrivilegeNumberRequest,
|
|
174
178
|
StaffBuyInfo,
|
|
179
|
+
CreateOwnNumberApplyRequest,
|
|
175
180
|
DescribeCallInMetricsRequest,
|
|
176
181
|
DescribeExtensionResponse,
|
|
177
182
|
} from "./ccc_models"
|
|
@@ -225,6 +230,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
225
230
|
return this.request("CreateAICall", req, cb)
|
|
226
231
|
}
|
|
227
232
|
|
|
233
|
+
/**
|
|
234
|
+
* 停止自动外呼任务
|
|
235
|
+
*/
|
|
236
|
+
async StopAutoCalloutTask(
|
|
237
|
+
req: StopAutoCalloutTaskRequest,
|
|
238
|
+
cb?: (error: string, rep: StopAutoCalloutTaskResponse) => void
|
|
239
|
+
): Promise<StopAutoCalloutTaskResponse> {
|
|
240
|
+
return this.request("StopAutoCalloutTask", req, cb)
|
|
241
|
+
}
|
|
242
|
+
|
|
228
243
|
/**
|
|
229
244
|
* 停用号码
|
|
230
245
|
*/
|
|
@@ -255,6 +270,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
255
270
|
return this.request("DeleteExtension", req, cb)
|
|
256
271
|
}
|
|
257
272
|
|
|
273
|
+
/**
|
|
274
|
+
* 获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。
|
|
275
|
+
|
|
276
|
+
文本聊天记录只保存了 1 年内的,1 年之前会自动清理。
|
|
277
|
+
*/
|
|
278
|
+
async DescribeChatMessages(
|
|
279
|
+
req: DescribeChatMessagesRequest,
|
|
280
|
+
cb?: (error: string, rep: DescribeChatMessagesResponse) => void
|
|
281
|
+
): Promise<DescribeChatMessagesResponse> {
|
|
282
|
+
return this.request("DescribeChatMessages", req, cb)
|
|
283
|
+
}
|
|
284
|
+
|
|
258
285
|
/**
|
|
259
286
|
* 绑定座席所属技能组
|
|
260
287
|
*/
|
|
@@ -456,13 +483,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
456
483
|
}
|
|
457
484
|
|
|
458
485
|
/**
|
|
459
|
-
*
|
|
486
|
+
* 修改客户自携号码审批单
|
|
460
487
|
*/
|
|
461
|
-
async
|
|
462
|
-
req:
|
|
463
|
-
cb?: (error: string, rep:
|
|
464
|
-
): Promise<
|
|
465
|
-
return this.request("
|
|
488
|
+
async ModifyOwnNumberApply(
|
|
489
|
+
req: ModifyOwnNumberApplyRequest,
|
|
490
|
+
cb?: (error: string, rep: ModifyOwnNumberApplyResponse) => void
|
|
491
|
+
): Promise<ModifyOwnNumberApplyResponse> {
|
|
492
|
+
return this.request("ModifyOwnNumberApply", req, cb)
|
|
466
493
|
}
|
|
467
494
|
|
|
468
495
|
/**
|
|
@@ -496,15 +523,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
496
523
|
}
|
|
497
524
|
|
|
498
525
|
/**
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
): Promise<DescribeChatMessagesResponse> {
|
|
507
|
-
return this.request("DescribeChatMessages", req, cb)
|
|
526
|
+
* 创建客户自携号码接入审核
|
|
527
|
+
*/
|
|
528
|
+
async CreateOwnNumberApply(
|
|
529
|
+
req: CreateOwnNumberApplyRequest,
|
|
530
|
+
cb?: (error: string, rep: CreateOwnNumberApplyResponse) => void
|
|
531
|
+
): Promise<CreateOwnNumberApplyResponse> {
|
|
532
|
+
return this.request("CreateOwnNumberApply", req, cb)
|
|
508
533
|
}
|
|
509
534
|
|
|
510
535
|
/**
|
|
@@ -1982,6 +1982,28 @@ export interface UpdatePredictiveDialingCampaignResponse {
|
|
|
1982
1982
|
RequestId?: string
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* ModifyOwnNumberApply请求参数结构体
|
|
1987
|
+
*/
|
|
1988
|
+
export interface ModifyOwnNumberApplyRequest {
|
|
1989
|
+
/**
|
|
1990
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
1991
|
+
*/
|
|
1992
|
+
SdkAppId: number
|
|
1993
|
+
/**
|
|
1994
|
+
* 线路相关参数
|
|
1995
|
+
*/
|
|
1996
|
+
DetailList: Array<OwnNumberApplyDetailItem>
|
|
1997
|
+
/**
|
|
1998
|
+
* 审批单号
|
|
1999
|
+
*/
|
|
2000
|
+
ApplyId?: number
|
|
2001
|
+
/**
|
|
2002
|
+
* 送号前缀
|
|
2003
|
+
*/
|
|
2004
|
+
Prefix?: string
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1985
2007
|
/**
|
|
1986
2008
|
* PSTN 会话信息
|
|
1987
2009
|
*/
|
|
@@ -2799,6 +2821,28 @@ export interface DescribeCCCBuyInfoListRequest {
|
|
|
2799
2821
|
SdkAppIds?: Array<number | bigint>
|
|
2800
2822
|
}
|
|
2801
2823
|
|
|
2824
|
+
/**
|
|
2825
|
+
* 用户自带号码审批明细数据类型
|
|
2826
|
+
*/
|
|
2827
|
+
export interface OwnNumberApplyDetailItem {
|
|
2828
|
+
/**
|
|
2829
|
+
* 号码类型:0-呼入|1-呼出|2-呼入呼出
|
|
2830
|
+
*/
|
|
2831
|
+
CallType: number
|
|
2832
|
+
/**
|
|
2833
|
+
* 线路号码
|
|
2834
|
+
*/
|
|
2835
|
+
PhoneNumber: string
|
|
2836
|
+
/**
|
|
2837
|
+
* 最大并发呼叫数
|
|
2838
|
+
*/
|
|
2839
|
+
MaxCallCount: number
|
|
2840
|
+
/**
|
|
2841
|
+
* 每秒最大并发数
|
|
2842
|
+
*/
|
|
2843
|
+
MaxCallPSec: number
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2802
2846
|
/**
|
|
2803
2847
|
* DescribePredictiveDialingCampaigns返回参数结构体
|
|
2804
2848
|
*/
|
|
@@ -2963,6 +3007,20 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
2963
3007
|
SkillGroupList: Array<number | bigint>
|
|
2964
3008
|
}
|
|
2965
3009
|
|
|
3010
|
+
/**
|
|
3011
|
+
* CreateOwnNumberApply返回参数结构体
|
|
3012
|
+
*/
|
|
3013
|
+
export interface CreateOwnNumberApplyResponse {
|
|
3014
|
+
/**
|
|
3015
|
+
* 审批单号
|
|
3016
|
+
*/
|
|
3017
|
+
ApplyId?: number
|
|
3018
|
+
/**
|
|
3019
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3020
|
+
*/
|
|
3021
|
+
RequestId?: string
|
|
3022
|
+
}
|
|
3023
|
+
|
|
2966
3024
|
/**
|
|
2967
3025
|
* 查询预测式外呼任务列表元素
|
|
2968
3026
|
*/
|
|
@@ -3359,6 +3417,16 @@ export interface ModifyCompanyApplyRequest {
|
|
|
3359
3417
|
CompanyInfo: CompanyApplyInfo
|
|
3360
3418
|
}
|
|
3361
3419
|
|
|
3420
|
+
/**
|
|
3421
|
+
* ModifyOwnNumberApply返回参数结构体
|
|
3422
|
+
*/
|
|
3423
|
+
export interface ModifyOwnNumberApplyResponse {
|
|
3424
|
+
/**
|
|
3425
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3426
|
+
*/
|
|
3427
|
+
RequestId?: string
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3362
3430
|
/**
|
|
3363
3431
|
* CreateAICall返回参数结构体
|
|
3364
3432
|
*/
|
|
@@ -4065,6 +4133,28 @@ export interface StaffBuyInfo {
|
|
|
4065
4133
|
SipNum?: number
|
|
4066
4134
|
}
|
|
4067
4135
|
|
|
4136
|
+
/**
|
|
4137
|
+
* CreateOwnNumberApply请求参数结构体
|
|
4138
|
+
*/
|
|
4139
|
+
export interface CreateOwnNumberApplyRequest {
|
|
4140
|
+
/**
|
|
4141
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
4142
|
+
*/
|
|
4143
|
+
SdkAppId: number
|
|
4144
|
+
/**
|
|
4145
|
+
* SIP通道ID
|
|
4146
|
+
*/
|
|
4147
|
+
SipTrunkId: number
|
|
4148
|
+
/**
|
|
4149
|
+
* 线路相关参数
|
|
4150
|
+
*/
|
|
4151
|
+
DetailList: Array<OwnNumberApplyDetailItem>
|
|
4152
|
+
/**
|
|
4153
|
+
* 送号前缀
|
|
4154
|
+
*/
|
|
4155
|
+
Prefix?: string
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4068
4158
|
/**
|
|
4069
4159
|
* DescribeCallInMetrics请求参数结构体
|
|
4070
4160
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeExtensionRequest, StopAutoCalloutTaskRequest, CreateIVRSessionRequest, CreateSDKLoginTokenResponse, ModifyStaffRequest, DescribeIvrAudioListResponse, BindNumberCallOutSkillGroupResponse, ResetExtensionPasswordRequest, DisableCCCPhoneNumberResponse, DescribeProtectedTelCdrResponse, DescribeAutoCalloutTaskRequest, CreateUserSigResponse, DescribeIMCdrsResponse, CreateAdminURLResponse, PausePredictiveDialingCampaignRequest, CreateCallOutSessionResponse, DescribeCarrierPrivilegeNumberApplicantsRequest, DisableCCCPhoneNumberRequest, ModifyStaffPasswordResponse, CreatePredictiveDialingCampaignRequest, DescribeChatMessagesResponse, DescribeTelCallInfoResponse, DescribeExtensionsResponse, DeleteExtensionRequest, DescribePredictiveDialingCampaignResponse, DescribeTelCdrRequest, DescribeAutoCalloutTasksResponse, ModifyExtensionResponse, DescribeIMCdrListResponse, CreateStaffResponse, DescribePredictiveDialingCampaignsRequest, DescribeSkillGroupInfoListResponse, DescribeNumbersResponse, DeletePredictiveDialingCampaignRequest, UploadIvrAudioRequest, DescribeStaffInfoListResponse, UnbindNumberCallOutSkillGroupRequest, CreateAutoCalloutTaskRequest, ResumePredictiveDialingCampaignResponse, CreateExtensionResponse, CreateUserSigRequest, CreateCCCSkillGroupRequest, DescribeAutoCalloutTaskResponse, CreateCompanyApplyRequest, CreateCCCSkillGroupResponse, DescribeTelSessionRequest, DescribeIMCdrsRequest, DescribeSkillGroupInfoListRequest, CreateCarrierPrivilegeNumberApplicantResponse, DescribePredictiveDialingCampaignRequest, UpdateCCCSkillGroupResponse, DescribePredictiveDialingSessionsResponse, PausePredictiveDialingCampaignResponse, UpdatePredictiveDialingCampaignRequest, DescribeStaffInfoListRequest, DescribeIvrAudioListRequest, ResetExtensionPasswordResponse, UpdateCCCSkillGroupRequest, ModifyStaffPasswordRequest, ModifyStaffResponse, ModifyExtensionRequest, CreatePredictiveDialingCampaignResponse, UpdatePredictiveDialingCampaignResponse, AbortPredictiveDialingCampaignResponse, CreateAICallRequest, DescribeNumbersRequest, BindNumberCallOutSkillGroupRequest, DeletePredictiveDialingCampaignResponse, UnbindNumberCallOutSkillGroupResponse, CreateAutoCalloutTaskResponse, UploadIvrAudioResponse, DescribeCompanyListResponse, DeleteStaffRequest, DescribeCCCBuyInfoListRequest, DescribePredictiveDialingCampaignsResponse, DescribeTelCallInfoRequest, CreateExtensionRequest, CreateCarrierPrivilegeNumberApplicantRequest, UnbindStaffSkillGroupListRequest, HangUpCallResponse, StopAutoCalloutTaskResponse, AbortPredictiveDialingCampaignRequest, ModifyCompanyApplyResponse, DescribeCCCBuyInfoListResponse, UnbindStaffSkillGroupListResponse, ResumePredictiveDialingCampaignRequest, DeleteExtensionResponse, BindStaffSkillGroupListRequest, DescribePSTNActiveSessionListRequest, DescribeCallInMetricsResponse, ModifyCompanyApplyRequest, CreateAICallResponse, DescribeCompanyListRequest, CreateIVRSessionResponse, DescribeActiveCarrierPrivilegeNumberResponse, HangUpCallRequest, DescribeTelCdrResponse, DescribeStaffStatusMetricsRequest, DeleteStaffResponse, CreateStaffRequest, CreateCompanyApplyResponse, DescribePSTNActiveSessionListResponse, DescribeIMCdrListRequest, DescribeAutoCalloutTasksRequest, DescribeChatMessagesRequest, DescribeTelSessionResponse, CreateAdminURLRequest, DescribeStaffStatusMetricsResponse, DescribeCarrierPrivilegeNumberApplicantsResponse, CreateCallOutSessionRequest, BindStaffSkillGroupListResponse, DescribeExtensionsRequest, DescribeProtectedTelCdrRequest, DescribePredictiveDialingSessionsRequest, CreateSDKLoginTokenRequest, DescribeActiveCarrierPrivilegeNumberRequest, DescribeCallInMetricsRequest, DescribeExtensionResponse } from "./ccc_models";
|
|
2
|
+
import { DescribeExtensionRequest, StopAutoCalloutTaskRequest, CreateIVRSessionRequest, CreateSDKLoginTokenResponse, ModifyStaffRequest, DescribeIvrAudioListResponse, BindNumberCallOutSkillGroupResponse, ResetExtensionPasswordRequest, DisableCCCPhoneNumberResponse, DescribeProtectedTelCdrResponse, DescribeAutoCalloutTaskRequest, CreateUserSigResponse, DescribeIMCdrsResponse, CreateAdminURLResponse, PausePredictiveDialingCampaignRequest, CreateCallOutSessionResponse, DescribeCarrierPrivilegeNumberApplicantsRequest, DisableCCCPhoneNumberRequest, ModifyStaffPasswordResponse, CreatePredictiveDialingCampaignRequest, DescribeChatMessagesResponse, DescribeTelCallInfoResponse, DescribeExtensionsResponse, DeleteExtensionRequest, DescribePredictiveDialingCampaignResponse, DescribeTelCdrRequest, DescribeAutoCalloutTasksResponse, ModifyExtensionResponse, DescribeIMCdrListResponse, CreateStaffResponse, DescribePredictiveDialingCampaignsRequest, DescribeSkillGroupInfoListResponse, DescribeNumbersResponse, DeletePredictiveDialingCampaignRequest, UploadIvrAudioRequest, DescribeStaffInfoListResponse, UnbindNumberCallOutSkillGroupRequest, CreateAutoCalloutTaskRequest, ResumePredictiveDialingCampaignResponse, CreateExtensionResponse, CreateUserSigRequest, CreateCCCSkillGroupRequest, DescribeAutoCalloutTaskResponse, CreateCompanyApplyRequest, CreateCCCSkillGroupResponse, DescribeTelSessionRequest, DescribeIMCdrsRequest, DescribeSkillGroupInfoListRequest, CreateCarrierPrivilegeNumberApplicantResponse, DescribePredictiveDialingCampaignRequest, UpdateCCCSkillGroupResponse, DescribePredictiveDialingSessionsResponse, PausePredictiveDialingCampaignResponse, UpdatePredictiveDialingCampaignRequest, DescribeStaffInfoListRequest, DescribeIvrAudioListRequest, ResetExtensionPasswordResponse, UpdateCCCSkillGroupRequest, ModifyStaffPasswordRequest, ModifyStaffResponse, ModifyExtensionRequest, CreatePredictiveDialingCampaignResponse, UpdatePredictiveDialingCampaignResponse, ModifyOwnNumberApplyRequest, AbortPredictiveDialingCampaignResponse, CreateAICallRequest, DescribeNumbersRequest, BindNumberCallOutSkillGroupRequest, DeletePredictiveDialingCampaignResponse, UnbindNumberCallOutSkillGroupResponse, CreateAutoCalloutTaskResponse, UploadIvrAudioResponse, DescribeCompanyListResponse, DeleteStaffRequest, DescribeCCCBuyInfoListRequest, DescribePredictiveDialingCampaignsResponse, DescribeTelCallInfoRequest, CreateExtensionRequest, CreateCarrierPrivilegeNumberApplicantRequest, UnbindStaffSkillGroupListRequest, CreateOwnNumberApplyResponse, HangUpCallResponse, StopAutoCalloutTaskResponse, AbortPredictiveDialingCampaignRequest, ModifyCompanyApplyResponse, DescribeCCCBuyInfoListResponse, UnbindStaffSkillGroupListResponse, ResumePredictiveDialingCampaignRequest, DeleteExtensionResponse, BindStaffSkillGroupListRequest, DescribePSTNActiveSessionListRequest, DescribeCallInMetricsResponse, ModifyCompanyApplyRequest, ModifyOwnNumberApplyResponse, CreateAICallResponse, DescribeCompanyListRequest, CreateIVRSessionResponse, DescribeActiveCarrierPrivilegeNumberResponse, HangUpCallRequest, DescribeTelCdrResponse, DescribeStaffStatusMetricsRequest, DeleteStaffResponse, CreateStaffRequest, CreateCompanyApplyResponse, DescribePSTNActiveSessionListResponse, DescribeIMCdrListRequest, DescribeAutoCalloutTasksRequest, DescribeChatMessagesRequest, DescribeTelSessionResponse, CreateAdminURLRequest, DescribeStaffStatusMetricsResponse, DescribeCarrierPrivilegeNumberApplicantsResponse, CreateCallOutSessionRequest, BindStaffSkillGroupListResponse, DescribeExtensionsRequest, DescribeProtectedTelCdrRequest, DescribePredictiveDialingSessionsRequest, CreateSDKLoginTokenRequest, DescribeActiveCarrierPrivilegeNumberRequest, CreateOwnNumberApplyRequest, DescribeCallInMetricsRequest, DescribeExtensionResponse } from "./ccc_models";
|
|
3
3
|
/**
|
|
4
4
|
* ccc client
|
|
5
5
|
* @class
|
|
@@ -22,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
22
22
|
* 创建ai外呼会话(仅支持高级版座席)
|
|
23
23
|
*/
|
|
24
24
|
CreateAICall(req: CreateAICallRequest, cb?: (error: string, rep: CreateAICallResponse) => void): Promise<CreateAICallResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 停止自动外呼任务
|
|
27
|
+
*/
|
|
28
|
+
StopAutoCalloutTask(req: StopAutoCalloutTaskRequest, cb?: (error: string, rep: StopAutoCalloutTaskResponse) => void): Promise<StopAutoCalloutTaskResponse>;
|
|
25
29
|
/**
|
|
26
30
|
* 停用号码
|
|
27
31
|
*/
|
|
@@ -34,6 +38,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
38
|
* 删除话机账号
|
|
35
39
|
*/
|
|
36
40
|
DeleteExtension(req: DeleteExtensionRequest, cb?: (error: string, rep: DeleteExtensionResponse) => void): Promise<DeleteExtensionResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。
|
|
43
|
+
|
|
44
|
+
文本聊天记录只保存了 1 年内的,1 年之前会自动清理。
|
|
45
|
+
*/
|
|
46
|
+
DescribeChatMessages(req: DescribeChatMessagesRequest, cb?: (error: string, rep: DescribeChatMessagesResponse) => void): Promise<DescribeChatMessagesResponse>;
|
|
37
47
|
/**
|
|
38
48
|
* 绑定座席所属技能组
|
|
39
49
|
*/
|
|
@@ -115,9 +125,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
115
125
|
*/
|
|
116
126
|
UnbindNumberCallOutSkillGroup(req: UnbindNumberCallOutSkillGroupRequest, cb?: (error: string, rep: UnbindNumberCallOutSkillGroupResponse) => void): Promise<UnbindNumberCallOutSkillGroupResponse>;
|
|
117
127
|
/**
|
|
118
|
-
*
|
|
128
|
+
* 修改客户自携号码审批单
|
|
119
129
|
*/
|
|
120
|
-
|
|
130
|
+
ModifyOwnNumberApply(req: ModifyOwnNumberApplyRequest, cb?: (error: string, rep: ModifyOwnNumberApplyResponse) => void): Promise<ModifyOwnNumberApplyResponse>;
|
|
121
131
|
/**
|
|
122
132
|
* 创建预测式外呼任务
|
|
123
133
|
*/
|
|
@@ -131,11 +141,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
131
141
|
*/
|
|
132
142
|
UploadIvrAudio(req: UploadIvrAudioRequest, cb?: (error: string, rep: UploadIvrAudioResponse) => void): Promise<UploadIvrAudioResponse>;
|
|
133
143
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*/
|
|
138
|
-
DescribeChatMessages(req: DescribeChatMessagesRequest, cb?: (error: string, rep: DescribeChatMessagesResponse) => void): Promise<DescribeChatMessagesResponse>;
|
|
144
|
+
* 创建客户自携号码接入审核
|
|
145
|
+
*/
|
|
146
|
+
CreateOwnNumberApply(req: CreateOwnNumberApplyRequest, cb?: (error: string, rep: CreateOwnNumberApplyResponse) => void): Promise<CreateOwnNumberApplyResponse>;
|
|
139
147
|
/**
|
|
140
148
|
* 获取用户购买信息列表
|
|
141
149
|
*/
|
|
@@ -51,6 +51,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
51
51
|
async CreateAICall(req, cb) {
|
|
52
52
|
return this.request("CreateAICall", req, cb);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 停止自动外呼任务
|
|
56
|
+
*/
|
|
57
|
+
async StopAutoCalloutTask(req, cb) {
|
|
58
|
+
return this.request("StopAutoCalloutTask", req, cb);
|
|
59
|
+
}
|
|
54
60
|
/**
|
|
55
61
|
* 停用号码
|
|
56
62
|
*/
|
|
@@ -69,6 +75,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
69
75
|
async DeleteExtension(req, cb) {
|
|
70
76
|
return this.request("DeleteExtension", req, cb);
|
|
71
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* 获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。
|
|
80
|
+
|
|
81
|
+
文本聊天记录只保存了 1 年内的,1 年之前会自动清理。
|
|
82
|
+
*/
|
|
83
|
+
async DescribeChatMessages(req, cb) {
|
|
84
|
+
return this.request("DescribeChatMessages", req, cb);
|
|
85
|
+
}
|
|
72
86
|
/**
|
|
73
87
|
* 绑定座席所属技能组
|
|
74
88
|
*/
|
|
@@ -190,10 +204,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
190
204
|
return this.request("UnbindNumberCallOutSkillGroup", req, cb);
|
|
191
205
|
}
|
|
192
206
|
/**
|
|
193
|
-
*
|
|
207
|
+
* 修改客户自携号码审批单
|
|
194
208
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
209
|
+
async ModifyOwnNumberApply(req, cb) {
|
|
210
|
+
return this.request("ModifyOwnNumberApply", req, cb);
|
|
197
211
|
}
|
|
198
212
|
/**
|
|
199
213
|
* 创建预测式外呼任务
|
|
@@ -214,12 +228,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
214
228
|
return this.request("UploadIvrAudio", req, cb);
|
|
215
229
|
}
|
|
216
230
|
/**
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
async DescribeChatMessages(req, cb) {
|
|
222
|
-
return this.request("DescribeChatMessages", req, cb);
|
|
231
|
+
* 创建客户自携号码接入审核
|
|
232
|
+
*/
|
|
233
|
+
async CreateOwnNumberApply(req, cb) {
|
|
234
|
+
return this.request("CreateOwnNumberApply", req, cb);
|
|
223
235
|
}
|
|
224
236
|
/**
|
|
225
237
|
* 获取用户购买信息列表
|
|
@@ -1890,6 +1890,27 @@ export interface UpdatePredictiveDialingCampaignResponse {
|
|
|
1890
1890
|
*/
|
|
1891
1891
|
RequestId?: string;
|
|
1892
1892
|
}
|
|
1893
|
+
/**
|
|
1894
|
+
* ModifyOwnNumberApply请求参数结构体
|
|
1895
|
+
*/
|
|
1896
|
+
export interface ModifyOwnNumberApplyRequest {
|
|
1897
|
+
/**
|
|
1898
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
1899
|
+
*/
|
|
1900
|
+
SdkAppId: number;
|
|
1901
|
+
/**
|
|
1902
|
+
* 线路相关参数
|
|
1903
|
+
*/
|
|
1904
|
+
DetailList: Array<OwnNumberApplyDetailItem>;
|
|
1905
|
+
/**
|
|
1906
|
+
* 审批单号
|
|
1907
|
+
*/
|
|
1908
|
+
ApplyId?: number;
|
|
1909
|
+
/**
|
|
1910
|
+
* 送号前缀
|
|
1911
|
+
*/
|
|
1912
|
+
Prefix?: string;
|
|
1913
|
+
}
|
|
1893
1914
|
/**
|
|
1894
1915
|
* PSTN 会话信息
|
|
1895
1916
|
*/
|
|
@@ -2688,6 +2709,27 @@ export interface DescribeCCCBuyInfoListRequest {
|
|
|
2688
2709
|
*/
|
|
2689
2710
|
SdkAppIds?: Array<number | bigint>;
|
|
2690
2711
|
}
|
|
2712
|
+
/**
|
|
2713
|
+
* 用户自带号码审批明细数据类型
|
|
2714
|
+
*/
|
|
2715
|
+
export interface OwnNumberApplyDetailItem {
|
|
2716
|
+
/**
|
|
2717
|
+
* 号码类型:0-呼入|1-呼出|2-呼入呼出
|
|
2718
|
+
*/
|
|
2719
|
+
CallType: number;
|
|
2720
|
+
/**
|
|
2721
|
+
* 线路号码
|
|
2722
|
+
*/
|
|
2723
|
+
PhoneNumber: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* 最大并发呼叫数
|
|
2726
|
+
*/
|
|
2727
|
+
MaxCallCount: number;
|
|
2728
|
+
/**
|
|
2729
|
+
* 每秒最大并发数
|
|
2730
|
+
*/
|
|
2731
|
+
MaxCallPSec: number;
|
|
2732
|
+
}
|
|
2691
2733
|
/**
|
|
2692
2734
|
* DescribePredictiveDialingCampaigns返回参数结构体
|
|
2693
2735
|
*/
|
|
@@ -2843,6 +2885,19 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
2843
2885
|
*/
|
|
2844
2886
|
SkillGroupList: Array<number | bigint>;
|
|
2845
2887
|
}
|
|
2888
|
+
/**
|
|
2889
|
+
* CreateOwnNumberApply返回参数结构体
|
|
2890
|
+
*/
|
|
2891
|
+
export interface CreateOwnNumberApplyResponse {
|
|
2892
|
+
/**
|
|
2893
|
+
* 审批单号
|
|
2894
|
+
*/
|
|
2895
|
+
ApplyId?: number;
|
|
2896
|
+
/**
|
|
2897
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2898
|
+
*/
|
|
2899
|
+
RequestId?: string;
|
|
2900
|
+
}
|
|
2846
2901
|
/**
|
|
2847
2902
|
* 查询预测式外呼任务列表元素
|
|
2848
2903
|
*/
|
|
@@ -3219,6 +3274,15 @@ export interface ModifyCompanyApplyRequest {
|
|
|
3219
3274
|
*/
|
|
3220
3275
|
CompanyInfo: CompanyApplyInfo;
|
|
3221
3276
|
}
|
|
3277
|
+
/**
|
|
3278
|
+
* ModifyOwnNumberApply返回参数结构体
|
|
3279
|
+
*/
|
|
3280
|
+
export interface ModifyOwnNumberApplyResponse {
|
|
3281
|
+
/**
|
|
3282
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3283
|
+
*/
|
|
3284
|
+
RequestId?: string;
|
|
3285
|
+
}
|
|
3222
3286
|
/**
|
|
3223
3287
|
* CreateAICall返回参数结构体
|
|
3224
3288
|
*/
|
|
@@ -3893,6 +3957,27 @@ export interface StaffBuyInfo {
|
|
|
3893
3957
|
*/
|
|
3894
3958
|
SipNum?: number;
|
|
3895
3959
|
}
|
|
3960
|
+
/**
|
|
3961
|
+
* CreateOwnNumberApply请求参数结构体
|
|
3962
|
+
*/
|
|
3963
|
+
export interface CreateOwnNumberApplyRequest {
|
|
3964
|
+
/**
|
|
3965
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
3966
|
+
*/
|
|
3967
|
+
SdkAppId: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* SIP通道ID
|
|
3970
|
+
*/
|
|
3971
|
+
SipTrunkId: number;
|
|
3972
|
+
/**
|
|
3973
|
+
* 线路相关参数
|
|
3974
|
+
*/
|
|
3975
|
+
DetailList: Array<OwnNumberApplyDetailItem>;
|
|
3976
|
+
/**
|
|
3977
|
+
* 送号前缀
|
|
3978
|
+
*/
|
|
3979
|
+
Prefix?: string;
|
|
3980
|
+
}
|
|
3896
3981
|
/**
|
|
3897
3982
|
* DescribeCallInMetrics请求参数结构体
|
|
3898
3983
|
*/
|