-
Notifications
You must be signed in to change notification settings - Fork 286
Expand file tree
/
Copy pathCccClient.java
More file actions
972 lines (880 loc) · 44.2 KB
/
CccClient.java
File metadata and controls
972 lines (880 loc) · 44.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
/*
* Copyright (c) 2017-2025 Tencent. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ccc.v20200210;
import java.lang.reflect.Type;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.AbstractClient;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.JsonResponseModel;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.ccc.v20200210.models.*;
public class CccClient extends AbstractClient{
private static String endpoint = "ccc.tencentcloudapi.com";
private static String service = "ccc";
private static String version = "2020-02-10";
public CccClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public CccClient(Credential credential, String region, ClientProfile profile) {
super(CccClient.endpoint, CccClient.version, credential, region, profile);
}
/**
*停止座席巡航式外呼任务
* @param req AbortAgentCruiseDialingCampaignRequest
* @return AbortAgentCruiseDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public AbortAgentCruiseDialingCampaignResponse AbortAgentCruiseDialingCampaign(AbortAgentCruiseDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AbortAgentCruiseDialingCampaign", AbortAgentCruiseDialingCampaignResponse.class);
}
/**
*停止预测式外呼任务
* @param req AbortPredictiveDialingCampaignRequest
* @return AbortPredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public AbortPredictiveDialingCampaignResponse AbortPredictiveDialingCampaign(AbortPredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AbortPredictiveDialingCampaign", AbortPredictiveDialingCampaignResponse.class);
}
/**
*绑定号码呼入回调接口
* @param req BindNumberCallInInterfaceRequest
* @return BindNumberCallInInterfaceResponse
* @throws TencentCloudSDKException
*/
public BindNumberCallInInterfaceResponse BindNumberCallInInterface(BindNumberCallInInterfaceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindNumberCallInInterface", BindNumberCallInInterfaceResponse.class);
}
/**
*绑定号码外呼技能组
* @param req BindNumberCallOutSkillGroupRequest
* @return BindNumberCallOutSkillGroupResponse
* @throws TencentCloudSDKException
*/
public BindNumberCallOutSkillGroupResponse BindNumberCallOutSkillGroup(BindNumberCallOutSkillGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindNumberCallOutSkillGroup", BindNumberCallOutSkillGroupResponse.class);
}
/**
*绑定座席所属技能组
* @param req BindStaffSkillGroupListRequest
* @return BindStaffSkillGroupListResponse
* @throws TencentCloudSDKException
*/
public BindStaffSkillGroupListResponse BindStaffSkillGroupList(BindStaffSkillGroupListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindStaffSkillGroupList", BindStaffSkillGroupListResponse.class);
}
/**
*提供服务端控制机器人的功能
* @param req ControlAIConversationRequest
* @return ControlAIConversationResponse
* @throws TencentCloudSDKException
*/
public ControlAIConversationResponse ControlAIConversation(ControlAIConversationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ControlAIConversation", ControlAIConversationResponse.class);
}
/**
*用于创建**一次性的智能体外呼通话**。你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796) 。该接口可调用配置完成的智能体发起单次的外呼任务。若需创建批量智能体外呼任务,请参考文档 [创建自动外呼任务](https://cloud.tencent.com/document/product/679/69194)。
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
* @param req CreateAIAgentCallRequest
* @return CreateAIAgentCallResponse
* @throws TencentCloudSDKException
*/
public CreateAIAgentCallResponse CreateAIAgentCall(CreateAIAgentCallRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAIAgentCall", CreateAIAgentCallResponse.class);
}
/**
*用于 **直接调用AI模型** 发起 **单次** 外呼通话,支持通过API参数直接配置模型、提示词、语音等全部通话要素。
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
* @param req CreateAICallRequest
* @return CreateAICallResponse
* @throws TencentCloudSDKException
*/
public CreateAICallResponse CreateAICall(CreateAICallRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAICall", CreateAICallResponse.class);
}
/**
*创建管理端访问链接
* @param req CreateAdminURLRequest
* @return CreateAdminURLResponse
* @throws TencentCloudSDKException
*/
public CreateAdminURLResponse CreateAdminURL(CreateAdminURLRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAdminURL", CreateAdminURLResponse.class);
}
/**
*座席巡航式外呼。
* @param req CreateAgentCruiseDialingCampaignRequest
* @return CreateAgentCruiseDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public CreateAgentCruiseDialingCampaignResponse CreateAgentCruiseDialingCampaign(CreateAgentCruiseDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAgentCruiseDialingCampaign", CreateAgentCruiseDialingCampaignResponse.class);
}
/**
*用于**创建批量自动外呼通话**,系统将根据任务配置,自动向指定的**被叫号码列表**发起外呼通话。该接口可调用配置完成的智能体发起批量的外呼任务,你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796)。若需创建单次智能体外呼任务,请参考文档 [创建单次智能体通话](https://cloud.tencent.com/document/product/679/115681)。
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
* @param req CreateAutoCalloutTaskRequest
* @return CreateAutoCalloutTaskResponse
* @throws TencentCloudSDKException
*/
public CreateAutoCalloutTaskResponse CreateAutoCalloutTask(CreateAutoCalloutTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAutoCalloutTask", CreateAutoCalloutTaskResponse.class);
}
/**
*新建技能组
* @param req CreateCCCSkillGroupRequest
* @return CreateCCCSkillGroupResponse
* @throws TencentCloudSDKException
*/
public CreateCCCSkillGroupResponse CreateCCCSkillGroup(CreateCCCSkillGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCCCSkillGroup", CreateCCCSkillGroupResponse.class);
}
/**
*创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到座席手机上,座席接听后,然后再外呼用户,而且由于运营商频率限制,座席手机号必须先加白名单,避免频控导致外呼失败。所以调用此接口前,下述操作均已完成
1. UserId 指定的座席已经[绑定手机号](https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF)
2. 座席绑定的手机号已经[申请并通过了外呼白名单](https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4)
3. 当前座席侧只能呼叫其手机,所以 IsForceMobile 字段当前必须为 true
4. 被叫不要填当前 UserId 所绑定的手机号,否则会造成占线呼叫失败
* @param req CreateCallOutSessionRequest
* @return CreateCallOutSessionResponse
* @throws TencentCloudSDKException
*/
public CreateCallOutSessionResponse CreateCallOutSession(CreateCallOutSessionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCallOutSession", CreateCallOutSessionResponse.class);
}
/**
*用于无限频率地呼叫坐席手机
* @param req CreateCarrierPrivilegeNumberApplicantRequest
* @return CreateCarrierPrivilegeNumberApplicantResponse
* @throws TencentCloudSDKException
*/
public CreateCarrierPrivilegeNumberApplicantResponse CreateCarrierPrivilegeNumberApplicant(CreateCarrierPrivilegeNumberApplicantRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCarrierPrivilegeNumberApplicant", CreateCarrierPrivilegeNumberApplicantResponse.class);
}
/**
*创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
* @param req CreateCompanyApplyRequest
* @return CreateCompanyApplyResponse
* @throws TencentCloudSDKException
*/
public CreateCompanyApplyResponse CreateCompanyApply(CreateCompanyApplyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCompanyApply", CreateCompanyApplyResponse.class);
}
/**
*创建话机账号
* @param req CreateExtensionRequest
* @return CreateExtensionResponse
* @throws TencentCloudSDKException
*/
public CreateExtensionResponse CreateExtension(CreateExtensionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateExtension", CreateExtensionResponse.class);
}
/**
*创建关联 IVR 的会话,仅高级版支持,目前支持呼入和自动外呼两种 IVR 类型。收到请求后 TCCC 会先尝试呼通被叫,然后进入 IVR 流程。
* @param req CreateIVRSessionRequest
* @return CreateIVRSessionResponse
* @throws TencentCloudSDKException
*/
public CreateIVRSessionResponse CreateIVRSession(CreateIVRSessionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateIVRSession", CreateIVRSessionResponse.class);
}
/**
*创建客户自携号码接入审核
* @param req CreateOwnNumberApplyRequest
* @return CreateOwnNumberApplyResponse
* @throws TencentCloudSDKException
*/
public CreateOwnNumberApplyResponse CreateOwnNumberApply(CreateOwnNumberApplyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateOwnNumberApply", CreateOwnNumberApplyResponse.class);
}
/**
*创建预测式外呼任务
* @param req CreatePredictiveDialingCampaignRequest
* @return CreatePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public CreatePredictiveDialingCampaignResponse CreatePredictiveDialingCampaign(CreatePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePredictiveDialingCampaign", CreatePredictiveDialingCampaignResponse.class);
}
/**
*创建 SDK 登录 Token。
* @param req CreateSDKLoginTokenRequest
* @return CreateSDKLoginTokenResponse
* @throws TencentCloudSDKException
*/
public CreateSDKLoginTokenResponse CreateSDKLoginToken(CreateSDKLoginTokenRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSDKLoginToken", CreateSDKLoginTokenResponse.class);
}
/**
*创建客服账号。
* @param req CreateStaffRequest
* @return CreateStaffResponse
* @throws TencentCloudSDKException
*/
public CreateStaffResponse CreateStaff(CreateStaffRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateStaff", CreateStaffResponse.class);
}
/**
*创建用户数据签名
* @param req CreateUserSigRequest
* @return CreateUserSigResponse
* @throws TencentCloudSDKException
*/
public CreateUserSigResponse CreateUserSig(CreateUserSigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateUserSig", CreateUserSigResponse.class);
}
/**
*删除技能组
* @param req DeleteCCCSkillGroupRequest
* @return DeleteCCCSkillGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteCCCSkillGroupResponse DeleteCCCSkillGroup(DeleteCCCSkillGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteCCCSkillGroup", DeleteCCCSkillGroupResponse.class);
}
/**
*删除话机账号
* @param req DeleteExtensionRequest
* @return DeleteExtensionResponse
* @throws TencentCloudSDKException
*/
public DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteExtension", DeleteExtensionResponse.class);
}
/**
*删除预测式外呼任务
* @param req DeletePredictiveDialingCampaignRequest
* @return DeletePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public DeletePredictiveDialingCampaignResponse DeletePredictiveDialingCampaign(DeletePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeletePredictiveDialingCampaign", DeletePredictiveDialingCampaignResponse.class);
}
/**
*删除坐席信息
* @param req DeleteStaffRequest
* @return DeleteStaffResponse
* @throws TencentCloudSDKException
*/
public DeleteStaffResponse DeleteStaff(DeleteStaffRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteStaff", DeleteStaffResponse.class);
}
/**
*本接口用于分页查询指定实例(SdkAppId)下已配置的智能体信息列表,包括智能体ID和名称等基本信息。
* @param req DescribeAIAgentInfoListRequest
* @return DescribeAIAgentInfoListResponse
* @throws TencentCloudSDKException
*/
public DescribeAIAgentInfoListResponse DescribeAIAgentInfoList(DescribeAIAgentInfoListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAIAgentInfoList", DescribeAIAgentInfoListResponse.class);
}
/**
*获取 AI 会话分析结果
* @param req DescribeAIAnalysisResultRequest
* @return DescribeAIAnalysisResultResponse
* @throws TencentCloudSDKException
*/
public DescribeAIAnalysisResultResponse DescribeAIAnalysisResult(DescribeAIAnalysisResultRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAIAnalysisResult", DescribeAIAnalysisResultResponse.class);
}
/**
*本接口用于:在语音智能体通话结束后,通过 Session ID 查询指定会话的 **话后标签** 结果。相关话后标签需提前在管理端完成配置,具体说明请参见 [话后标签](https://cloud.tencent.com/document/product/679/119800) 。
* @param req DescribeAICallExtractResultRequest
* @return DescribeAICallExtractResultResponse
* @throws TencentCloudSDKException
*/
public DescribeAICallExtractResultResponse DescribeAICallExtractResult(DescribeAICallExtractResultRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAICallExtractResult", DescribeAICallExtractResultResponse.class);
}
/**
*调用该接口,可以通过 Session ID 查询指定会话在特定时间段内,AI服务的处理时延明细与统计数据,时延信息包括:
- 端到端(ETE)时延:统计从用户语音输入到 AI 返回完整响应的整体耗时。
- 自动语音识别(ASR)时延:统计语音输入被识别为文本所需的处理耗时。
- 大语言模型(LLM)时延:统计 AI 模型生成文本内容的推理耗时。
- 语音合成(TTS)时延:统计文本转换为语音音频的合成耗时。
* @param req DescribeAILatencyRequest
* @return DescribeAILatencyResponse
* @throws TencentCloudSDKException
*/
public DescribeAILatencyResponse DescribeAILatency(DescribeAILatencyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAILatency", DescribeAILatencyResponse.class);
}
/**
*查询生效运营商白名单规则
* @param req DescribeActiveCarrierPrivilegeNumberRequest
* @return DescribeActiveCarrierPrivilegeNumberResponse
* @throws TencentCloudSDKException
*/
public DescribeActiveCarrierPrivilegeNumberResponse DescribeActiveCarrierPrivilegeNumber(DescribeActiveCarrierPrivilegeNumberRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeActiveCarrierPrivilegeNumber", DescribeActiveCarrierPrivilegeNumberResponse.class);
}
/**
*查询 座席巡航式外呼任务
* @param req DescribeAgentCruiseDialingCampaignRequest
* @return DescribeAgentCruiseDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public DescribeAgentCruiseDialingCampaignResponse DescribeAgentCruiseDialingCampaign(DescribeAgentCruiseDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAgentCruiseDialingCampaign", DescribeAgentCruiseDialingCampaignResponse.class);
}
/**
*用于通过 TaskId 查询**自动外呼任务的详细信息**,包括任务基础配置、起止时间、外呼名单、执行状态以及实际通话情况等。
该接口通常与 [创建批量自动外呼任务](https://cloud.tencent.com/document/product/679/69194) 配合使用,用于在任务创建后查看任务配置是否生效、任务当前状态,以及后续执行过程中的实时进展。
* @param req DescribeAutoCalloutTaskRequest
* @return DescribeAutoCalloutTaskResponse
* @throws TencentCloudSDKException
*/
public DescribeAutoCalloutTaskResponse DescribeAutoCalloutTask(DescribeAutoCalloutTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAutoCalloutTask", DescribeAutoCalloutTaskResponse.class);
}
/**
*批量查询自动外呼任务
* @param req DescribeAutoCalloutTasksRequest
* @return DescribeAutoCalloutTasksResponse
* @throws TencentCloudSDKException
*/
public DescribeAutoCalloutTasksResponse DescribeAutoCalloutTasks(DescribeAutoCalloutTasksRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAutoCalloutTasks", DescribeAutoCalloutTasksResponse.class);
}
/**
*获取用户购买信息列表
* @param req DescribeCCCBuyInfoListRequest
* @return DescribeCCCBuyInfoListResponse
* @throws TencentCloudSDKException
*/
public DescribeCCCBuyInfoListResponse DescribeCCCBuyInfoList(DescribeCCCBuyInfoListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCCCBuyInfoList", DescribeCCCBuyInfoListResponse.class);
}
/**
*获取呼入实时数据统计指标
* @param req DescribeCallInMetricsRequest
* @return DescribeCallInMetricsResponse
* @throws TencentCloudSDKException
*/
public DescribeCallInMetricsResponse DescribeCallInMetrics(DescribeCallInMetricsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCallInMetrics", DescribeCallInMetricsResponse.class);
}
/**
*查询单状态
* @param req DescribeCarrierPrivilegeNumberApplicantsRequest
* @return DescribeCarrierPrivilegeNumberApplicantsResponse
* @throws TencentCloudSDKException
*/
public DescribeCarrierPrivilegeNumberApplicantsResponse DescribeCarrierPrivilegeNumberApplicants(DescribeCarrierPrivilegeNumberApplicantsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCarrierPrivilegeNumberApplicants", DescribeCarrierPrivilegeNumberApplicantsResponse.class);
}
/**
*获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。
文本聊天记录只保存了 1 年内的,1 年之前会自动清理。
* @param req DescribeChatMessagesRequest
* @return DescribeChatMessagesResponse
* @throws TencentCloudSDKException
*/
public DescribeChatMessagesResponse DescribeChatMessages(DescribeChatMessagesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeChatMessages", DescribeChatMessagesResponse.class);
}
/**
*查询公司资质申请列表
* @param req DescribeCompanyListRequest
* @return DescribeCompanyListResponse
* @throws TencentCloudSDKException
*/
public DescribeCompanyListResponse DescribeCompanyList(DescribeCompanyListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCompanyList", DescribeCompanyListResponse.class);
}
/**
*获取话机信息
* @param req DescribeExtensionRequest
* @return DescribeExtensionResponse
* @throws TencentCloudSDKException
*/
public DescribeExtensionResponse DescribeExtension(DescribeExtensionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeExtension", DescribeExtensionResponse.class);
}
/**
*查询话机列表信息
* @param req DescribeExtensionsRequest
* @return DescribeExtensionsResponse
* @throws TencentCloudSDKException
*/
public DescribeExtensionsResponse DescribeExtensions(DescribeExtensionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeExtensions", DescribeExtensionsResponse.class);
}
/**
*获取闪信记录列表
* @param req DescribeFlashSMSListRequest
* @return DescribeFlashSMSListResponse
* @throws TencentCloudSDKException
*/
public DescribeFlashSMSListResponse DescribeFlashSMSList(DescribeFlashSMSListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeFlashSMSList", DescribeFlashSMSListResponse.class);
}
/**
*获取包括全媒体和文本会话两种类型的服务记录。
* @param req DescribeIMCdrListRequest
* @return DescribeIMCdrListResponse
* @throws TencentCloudSDKException
*/
public DescribeIMCdrListResponse DescribeIMCdrList(DescribeIMCdrListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIMCdrList", DescribeIMCdrListResponse.class);
}
/**
*获取包括全媒体和文本会话两种类型的服务记录。
* @param req DescribeIMCdrsRequest
* @return DescribeIMCdrsResponse
* @throws TencentCloudSDKException
*/
public DescribeIMCdrsResponse DescribeIMCdrs(DescribeIMCdrsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIMCdrs", DescribeIMCdrsResponse.class);
}
/**
*查询IVR音频文件列表信息
* @param req DescribeIvrAudioListRequest
* @return DescribeIvrAudioListResponse
* @throws TencentCloudSDKException
*/
public DescribeIvrAudioListResponse DescribeIvrAudioList(DescribeIvrAudioListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIvrAudioList", DescribeIvrAudioListResponse.class);
}
/**
*查询号码列表
* @param req DescribeNumbersRequest
* @return DescribeNumbersResponse
* @throws TencentCloudSDKException
*/
public DescribeNumbersResponse DescribeNumbers(DescribeNumbersRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNumbers", DescribeNumbersResponse.class);
}
/**
*获取当前正在通话的会话列表
* @param req DescribePSTNActiveSessionListRequest
* @return DescribePSTNActiveSessionListResponse
* @throws TencentCloudSDKException
*/
public DescribePSTNActiveSessionListResponse DescribePSTNActiveSessionList(DescribePSTNActiveSessionListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePSTNActiveSessionList", DescribePSTNActiveSessionListResponse.class);
}
/**
*查询预测式外呼任务
* @param req DescribePredictiveDialingCampaignRequest
* @return DescribePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public DescribePredictiveDialingCampaignResponse DescribePredictiveDialingCampaign(DescribePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePredictiveDialingCampaign", DescribePredictiveDialingCampaignResponse.class);
}
/**
*查询预测式外呼任务列表
* @param req DescribePredictiveDialingCampaignsRequest
* @return DescribePredictiveDialingCampaignsResponse
* @throws TencentCloudSDKException
*/
public DescribePredictiveDialingCampaignsResponse DescribePredictiveDialingCampaigns(DescribePredictiveDialingCampaignsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePredictiveDialingCampaigns", DescribePredictiveDialingCampaignsResponse.class);
}
/**
*查询预测式外呼呼叫列表
* @param req DescribePredictiveDialingSessionsRequest
* @return DescribePredictiveDialingSessionsResponse
* @throws TencentCloudSDKException
*/
public DescribePredictiveDialingSessionsResponse DescribePredictiveDialingSessions(DescribePredictiveDialingSessionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePredictiveDialingSessions", DescribePredictiveDialingSessionsResponse.class);
}
/**
*获取主被叫受保护的电话服务记录与录音
* @param req DescribeProtectedTelCdrRequest
* @return DescribeProtectedTelCdrResponse
* @throws TencentCloudSDKException
*/
public DescribeProtectedTelCdrResponse DescribeProtectedTelCdr(DescribeProtectedTelCdrRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeProtectedTelCdr", DescribeProtectedTelCdrResponse.class);
}
/**
*此接口用于在通话结束后,通过 session id 和时间戳,查询单一通话的通话详情。包括:主被叫信息、录音等。
* @param req DescribeSessionDetailRequest
* @return DescribeSessionDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeSessionDetailResponse DescribeSessionDetail(DescribeSessionDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSessionDetail", DescribeSessionDetailResponse.class);
}
/**
*获取技能组信息列表
* @param req DescribeSkillGroupInfoListRequest
* @return DescribeSkillGroupInfoListResponse
* @throws TencentCloudSDKException
*/
public DescribeSkillGroupInfoListResponse DescribeSkillGroupInfoList(DescribeSkillGroupInfoListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSkillGroupInfoList", DescribeSkillGroupInfoListResponse.class);
}
/**
*获取坐席信息列表
* @param req DescribeStaffInfoListRequest
* @return DescribeStaffInfoListResponse
* @throws TencentCloudSDKException
*/
public DescribeStaffInfoListResponse DescribeStaffInfoList(DescribeStaffInfoListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStaffInfoList", DescribeStaffInfoListResponse.class);
}
/**
*查询座席状态历史
* @param req DescribeStaffStatusHistoryRequest
* @return DescribeStaffStatusHistoryResponse
* @throws TencentCloudSDKException
*/
public DescribeStaffStatusHistoryResponse DescribeStaffStatusHistory(DescribeStaffStatusHistoryRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStaffStatusHistory", DescribeStaffStatusHistoryResponse.class);
}
/**
*获取坐席实时状态统计指标
* @param req DescribeStaffStatusMetricsRequest
* @return DescribeStaffStatusMetricsResponse
* @throws TencentCloudSDKException
*/
public DescribeStaffStatusMetricsResponse DescribeStaffStatusMetrics(DescribeStaffStatusMetricsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStaffStatusMetrics", DescribeStaffStatusMetricsResponse.class);
}
/**
*按实例获取电话消耗统计
* @param req DescribeTelCallInfoRequest
* @return DescribeTelCallInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeTelCallInfoResponse DescribeTelCallInfo(DescribeTelCallInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTelCallInfo", DescribeTelCallInfoResponse.class);
}
/**
*获取电话服务记录与录音
* @param req DescribeTelCdrRequest
* @return DescribeTelCdrResponse
* @throws TencentCloudSDKException
*/
public DescribeTelCdrResponse DescribeTelCdr(DescribeTelCdrRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTelCdr", DescribeTelCdrResponse.class);
}
/**
*拉取会话录音转文本信息
* @param req DescribeTelRecordAsrRequest
* @return DescribeTelRecordAsrResponse
* @throws TencentCloudSDKException
*/
public DescribeTelRecordAsrResponse DescribeTelRecordAsr(DescribeTelRecordAsrRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTelRecordAsr", DescribeTelRecordAsrResponse.class);
}
/**
*获取 PSTN 会话信息
* @param req DescribeTelSessionRequest
* @return DescribeTelSessionResponse
* @throws TencentCloudSDKException
*/
public DescribeTelSessionResponse DescribeTelSession(DescribeTelSessionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTelSession", DescribeTelSessionResponse.class);
}
/**
*停用号码
* @param req DisableCCCPhoneNumberRequest
* @return DisableCCCPhoneNumberResponse
* @throws TencentCloudSDKException
*/
public DisableCCCPhoneNumberResponse DisableCCCPhoneNumber(DisableCCCPhoneNumberRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DisableCCCPhoneNumber", DisableCCCPhoneNumberResponse.class);
}
/**
*强制客服下线
* @param req ForceMemberOfflineRequest
* @return ForceMemberOfflineResponse
* @throws TencentCloudSDKException
*/
public ForceMemberOfflineResponse ForceMemberOffline(ForceMemberOfflineRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ForceMemberOffline", ForceMemberOfflineResponse.class);
}
/**
*挂断电话
* @param req HangUpCallRequest
* @return HangUpCallResponse
* @throws TencentCloudSDKException
*/
public HangUpCallResponse HangUpCall(HangUpCallRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "HangUpCall", HangUpCallResponse.class);
}
/**
*修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
* @param req ModifyCompanyApplyRequest
* @return ModifyCompanyApplyResponse
* @throws TencentCloudSDKException
*/
public ModifyCompanyApplyResponse ModifyCompanyApply(ModifyCompanyApplyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyCompanyApply", ModifyCompanyApplyResponse.class);
}
/**
*修改话机账号(绑定技能组、绑定坐席账号)
* @param req ModifyExtensionRequest
* @return ModifyExtensionResponse
* @throws TencentCloudSDKException
*/
public ModifyExtensionResponse ModifyExtension(ModifyExtensionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyExtension", ModifyExtensionResponse.class);
}
/**
*修改客户自携号码审批单
* @param req ModifyOwnNumberApplyRequest
* @return ModifyOwnNumberApplyResponse
* @throws TencentCloudSDKException
*/
public ModifyOwnNumberApplyResponse ModifyOwnNumberApply(ModifyOwnNumberApplyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyOwnNumberApply", ModifyOwnNumberApplyResponse.class);
}
/**
*修改客服账号
* @param req ModifyStaffRequest
* @return ModifyStaffResponse
* @throws TencentCloudSDKException
*/
public ModifyStaffResponse ModifyStaff(ModifyStaffRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyStaff", ModifyStaffResponse.class);
}
/**
*修改座席的密码
* @param req ModifyStaffPasswordRequest
* @return ModifyStaffPasswordResponse
* @throws TencentCloudSDKException
*/
public ModifyStaffPasswordResponse ModifyStaffPassword(ModifyStaffPasswordRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyStaffPassword", ModifyStaffPasswordResponse.class);
}
/**
*用于通过 TaskId **暂停一个正在执行的自动外呼任务**。调用该接口后,任务将被临时中断,不再发起新的外呼请求;已发起的通话不受影响。
暂停后的任务可通过 [恢复暂停的自动外呼任务](https://cloud.tencent.com/document/product/679/125356) 接口继续执行。如需永久终止任务,请参考 [停止自动外呼任务](https://cloud.tencent.com/document/product/679/69192)。
* @param req PauseAutoCalloutTaskRequest
* @return PauseAutoCalloutTaskResponse
* @throws TencentCloudSDKException
*/
public PauseAutoCalloutTaskResponse PauseAutoCalloutTask(PauseAutoCalloutTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PauseAutoCalloutTask", PauseAutoCalloutTaskResponse.class);
}
/**
*暂停预测式外呼任务
* @param req PausePredictiveDialingCampaignRequest
* @return PausePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public PausePredictiveDialingCampaignResponse PausePredictiveDialingCampaign(PausePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PausePredictiveDialingCampaign", PausePredictiveDialingCampaignResponse.class);
}
/**
*对与座席通话中的会话,进行放音
* @param req PlaySoundCallRequest
* @return PlaySoundCallResponse
* @throws TencentCloudSDKException
*/
public PlaySoundCallResponse PlaySoundCall(PlaySoundCallRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PlaySoundCall", PlaySoundCallResponse.class);
}
/**
*重置话机注册密码
* @param req ResetExtensionPasswordRequest
* @return ResetExtensionPasswordResponse
* @throws TencentCloudSDKException
*/
public ResetExtensionPasswordResponse ResetExtensionPassword(ResetExtensionPasswordRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ResetExtensionPassword", ResetExtensionPasswordResponse.class);
}
/**
*恢复客服上线
* @param req RestoreMemberOnlineRequest
* @return RestoreMemberOnlineResponse
* @throws TencentCloudSDKException
*/
public RestoreMemberOnlineResponse RestoreMemberOnline(RestoreMemberOnlineRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RestoreMemberOnline", RestoreMemberOnlineResponse.class);
}
/**
*用于通过 TaskId **恢复一个已被暂停的自动外呼任务**。该接口适用于在调用 [暂停自动外呼任务](https://cloud.tencent.com/document/product/679/125357) 后,需继续执行剩余外呼计划的场景。调用成功后,任务将从暂停状态恢复,重新发起未完成的外呼请求。
* @param req ResumeAutoCalloutTaskRequest
* @return ResumeAutoCalloutTaskResponse
* @throws TencentCloudSDKException
*/
public ResumeAutoCalloutTaskResponse ResumeAutoCalloutTask(ResumeAutoCalloutTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ResumeAutoCalloutTask", ResumeAutoCalloutTaskResponse.class);
}
/**
*恢复预测式外呼任务
* @param req ResumePredictiveDialingCampaignRequest
* @return ResumePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public ResumePredictiveDialingCampaignResponse ResumePredictiveDialingCampaign(ResumePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ResumePredictiveDialingCampaign", ResumePredictiveDialingCampaignResponse.class);
}
/**
*设置 staff 状态
* @param req SetStaffStatusRequest
* @return SetStaffStatusResponse
* @throws TencentCloudSDKException
*/
public SetStaffStatusResponse SetStaffStatus(SetStaffStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SetStaffStatus", SetStaffStatusResponse.class);
}
/**
*停止自动外呼任务
* @param req StopAutoCalloutTaskRequest
* @return StopAutoCalloutTaskResponse
* @throws TencentCloudSDKException
*/
public StopAutoCalloutTaskResponse StopAutoCalloutTask(StopAutoCalloutTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "StopAutoCalloutTask", StopAutoCalloutTaskResponse.class);
}
/**
*特定场景下讲会话转接到人工坐席
* @param req TransferToManualRequest
* @return TransferToManualResponse
* @throws TencentCloudSDKException
*/
public TransferToManualResponse TransferToManual(TransferToManualRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "TransferToManual", TransferToManualResponse.class);
}
/**
*解绑号码外呼技能组
* @param req UnbindNumberCallOutSkillGroupRequest
* @return UnbindNumberCallOutSkillGroupResponse
* @throws TencentCloudSDKException
*/
public UnbindNumberCallOutSkillGroupResponse UnbindNumberCallOutSkillGroup(UnbindNumberCallOutSkillGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "UnbindNumberCallOutSkillGroup", UnbindNumberCallOutSkillGroupResponse.class);
}
/**
*解绑坐席所属技能组
* @param req UnbindStaffSkillGroupListRequest
* @return UnbindStaffSkillGroupListResponse
* @throws TencentCloudSDKException
*/
public UnbindStaffSkillGroupListResponse UnbindStaffSkillGroupList(UnbindStaffSkillGroupListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "UnbindStaffSkillGroupList", UnbindStaffSkillGroupListResponse.class);
}
/**
*更新技能组
* @param req UpdateCCCSkillGroupRequest
* @return UpdateCCCSkillGroupResponse
* @throws TencentCloudSDKException
*/
public UpdateCCCSkillGroupResponse UpdateCCCSkillGroup(UpdateCCCSkillGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "UpdateCCCSkillGroup", UpdateCCCSkillGroupResponse.class);
}
/**
*任务未启动前,更新预测式外呼任务。
* @param req UpdatePredictiveDialingCampaignRequest
* @return UpdatePredictiveDialingCampaignResponse
* @throws TencentCloudSDKException
*/
public UpdatePredictiveDialingCampaignResponse UpdatePredictiveDialingCampaign(UpdatePredictiveDialingCampaignRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "UpdatePredictiveDialingCampaign", UpdatePredictiveDialingCampaignResponse.class);
}
/**
*上传IVR中使用的音频文件,每日上传文件限制50个。(参数中音频文件Url建议使用腾讯云Cos存储的临时链接)
* @param req UploadIvrAudioRequest
* @return UploadIvrAudioResponse
* @throws TencentCloudSDKException
*/
public UploadIvrAudioResponse UploadIvrAudio(UploadIvrAudioRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "UploadIvrAudio", UploadIvrAudioResponse.class);
}
}