tencentcloud-sdk-nodejs-intl-en 3.0.1250 → 3.0.1252
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/tencentcloud/ccc/v20200210/ccc_client.js +139 -63
- package/tencentcloud/ccc/v20200210/models.js +1425 -208
- package/tencentcloud/cmq/v20190304/cmq_client.js +6 -202
- package/tencentcloud/cmq/v20190304/models.js +396 -1853
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +24 -10
- package/tencentcloud/cvm/v20170312/models.js +130 -58
- package/tencentcloud/faceid/v20180301/models.js +14 -0
- package/tencentcloud/waf/v20180125/models.js +2009 -644
- package/tencentcloud/waf/v20180125/waf_client.js +176 -30
|
@@ -51,6 +51,41 @@ class DescribeExtensionRequest extends AbstractModel {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* CreateCCCSkillGroup response structure.
|
|
56
|
+
* @class
|
|
57
|
+
*/
|
|
58
|
+
class CreateCCCSkillGroupResponse extends AbstractModel {
|
|
59
|
+
constructor(){
|
|
60
|
+
super();
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Skill group id.
|
|
64
|
+
* @type {number || null}
|
|
65
|
+
*/
|
|
66
|
+
this.SkillGroupId = null;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
70
|
+
* @type {string || null}
|
|
71
|
+
*/
|
|
72
|
+
this.RequestId = null;
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
deserialize(params) {
|
|
80
|
+
if (!params) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
this.SkillGroupId = 'SkillGroupId' in params ? params.SkillGroupId : null;
|
|
84
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
54
89
|
/**
|
|
55
90
|
* StopAutoCalloutTask request structure.
|
|
56
91
|
* @class
|
|
@@ -158,24 +193,24 @@ class CreateIVRSessionRequest extends AbstractModel {
|
|
|
158
193
|
}
|
|
159
194
|
|
|
160
195
|
/**
|
|
161
|
-
*
|
|
196
|
+
* Agent information.
|
|
162
197
|
* @class
|
|
163
198
|
*/
|
|
164
|
-
class
|
|
199
|
+
class EventStaffElement extends AbstractModel {
|
|
165
200
|
constructor(){
|
|
166
201
|
super();
|
|
167
202
|
|
|
168
203
|
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {
|
|
204
|
+
* Agent email address.
|
|
205
|
+
* @type {string || null}
|
|
171
206
|
*/
|
|
172
|
-
this.
|
|
207
|
+
this.Mail = null;
|
|
173
208
|
|
|
174
209
|
/**
|
|
175
|
-
*
|
|
210
|
+
* Agent id.
|
|
176
211
|
* @type {string || null}
|
|
177
212
|
*/
|
|
178
|
-
this.
|
|
213
|
+
this.StaffNumber = null;
|
|
179
214
|
|
|
180
215
|
}
|
|
181
216
|
|
|
@@ -186,8 +221,8 @@ class HangUpCallRequest extends AbstractModel {
|
|
|
186
221
|
if (!params) {
|
|
187
222
|
return;
|
|
188
223
|
}
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
224
|
+
this.Mail = 'Mail' in params ? params.Mail : null;
|
|
225
|
+
this.StaffNumber = 'StaffNumber' in params ? params.StaffNumber : null;
|
|
191
226
|
|
|
192
227
|
}
|
|
193
228
|
}
|
|
@@ -309,6 +344,12 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
309
344
|
*/
|
|
310
345
|
this.ExtensionNumber = null;
|
|
311
346
|
|
|
347
|
+
/**
|
|
348
|
+
* Call forwarding configuration.
|
|
349
|
+
* @type {ForwardingConfig || null}
|
|
350
|
+
*/
|
|
351
|
+
this.ForwardingConfig = null;
|
|
352
|
+
|
|
312
353
|
}
|
|
313
354
|
|
|
314
355
|
/**
|
|
@@ -329,6 +370,12 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
329
370
|
this.UseMobileAccept = 'UseMobileAccept' in params ? params.UseMobileAccept : null;
|
|
330
371
|
this.ExtensionNumber = 'ExtensionNumber' in params ? params.ExtensionNumber : null;
|
|
331
372
|
|
|
373
|
+
if (params.ForwardingConfig) {
|
|
374
|
+
let obj = new ForwardingConfig();
|
|
375
|
+
obj.deserialize(params.ForwardingConfig)
|
|
376
|
+
this.ForwardingConfig = obj;
|
|
377
|
+
}
|
|
378
|
+
|
|
332
379
|
}
|
|
333
380
|
}
|
|
334
381
|
|
|
@@ -383,18 +430,60 @@ class DescribeIvrAudioListResponse extends AbstractModel {
|
|
|
383
430
|
}
|
|
384
431
|
|
|
385
432
|
/**
|
|
386
|
-
*
|
|
433
|
+
* Query the predictive outbound call task list elements.
|
|
387
434
|
* @class
|
|
388
435
|
*/
|
|
389
|
-
class
|
|
436
|
+
class DescribePredictiveDialingCampaignsElement extends AbstractModel {
|
|
390
437
|
constructor(){
|
|
391
438
|
super();
|
|
392
439
|
|
|
393
440
|
/**
|
|
394
|
-
*
|
|
441
|
+
* <Task id>.
|
|
442
|
+
* @type {number || null}
|
|
443
|
+
*/
|
|
444
|
+
this.CampaignId = null;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Task name.
|
|
395
448
|
* @type {string || null}
|
|
396
449
|
*/
|
|
397
|
-
this.
|
|
450
|
+
this.Name = null;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Task status 0 - ready to start, 1 - in progress, 2 - paused, 3 - terminated, 4 - completed.
|
|
454
|
+
* @type {number || null}
|
|
455
|
+
*/
|
|
456
|
+
this.Status = null;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Task status reasons 0 - normal, 1 - manually ended, 2 - ended due to overtime.
|
|
460
|
+
* @type {number || null}
|
|
461
|
+
*/
|
|
462
|
+
this.StatusReason = null;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Number of called numbers.
|
|
466
|
+
* @type {number || null}
|
|
467
|
+
*/
|
|
468
|
+
this.CalleeCount = null;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Number of completed calls.
|
|
472
|
+
* @type {number || null}
|
|
473
|
+
*/
|
|
474
|
+
this.FinishedCalleeCount = null;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Running priority of multiple tasks in the same application, from high to low 1 - 5.
|
|
478
|
+
* @type {number || null}
|
|
479
|
+
*/
|
|
480
|
+
this.Priority = null;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* ID of the used skill group of agents.
|
|
484
|
+
* @type {number || null}
|
|
485
|
+
*/
|
|
486
|
+
this.SkillGroupId = null;
|
|
398
487
|
|
|
399
488
|
}
|
|
400
489
|
|
|
@@ -405,7 +494,95 @@ class BindNumberCallOutSkillGroupResponse extends AbstractModel {
|
|
|
405
494
|
if (!params) {
|
|
406
495
|
return;
|
|
407
496
|
}
|
|
408
|
-
this.
|
|
497
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
498
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
499
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
500
|
+
this.StatusReason = 'StatusReason' in params ? params.StatusReason : null;
|
|
501
|
+
this.CalleeCount = 'CalleeCount' in params ? params.CalleeCount : null;
|
|
502
|
+
this.FinishedCalleeCount = 'FinishedCalleeCount' in params ? params.FinishedCalleeCount : null;
|
|
503
|
+
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
504
|
+
this.SkillGroupId = 'SkillGroupId' in params ? params.SkillGroupId : null;
|
|
505
|
+
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Server controls the chatbot to broadcast specified text.
|
|
511
|
+
* @class
|
|
512
|
+
*/
|
|
513
|
+
class ServerPushText extends AbstractModel {
|
|
514
|
+
constructor(){
|
|
515
|
+
super();
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Specifies the server push broadcast text.
|
|
519
|
+
* @type {string || null}
|
|
520
|
+
*/
|
|
521
|
+
this.Text = null;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Whether to allow the text to interrupt the robot's speaking.
|
|
525
|
+
* @type {boolean || null}
|
|
526
|
+
*/
|
|
527
|
+
this.Interrupt = null;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Specifies whether to automatically close the dialogue task after broadcasting the text.
|
|
531
|
+
* @type {boolean || null}
|
|
532
|
+
*/
|
|
533
|
+
this.StopAfterPlay = null;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Specifies the server push broadcast audio.
|
|
537
|
+
Format description: audio must be mono, sampling rate should be consistent with the corresponding TTS, and coded as a Base64 string.
|
|
538
|
+
Input rules: when the Audio field is provided, the system will not accept input in the Text field. the system will play the Audio content in the Audio field directly.
|
|
539
|
+
* @type {string || null}
|
|
540
|
+
*/
|
|
541
|
+
this.Audio = null;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Defaults to 0. valid only when Interrupt is false.
|
|
545
|
+
-0 indicates that messages with Interrupt set to false will be dropped when there is an interaction.
|
|
546
|
+
-Indicates that when there is an interaction in progress, messages with Interrupt set to false will not be dropped but cached and processed after the current interaction is completed.
|
|
547
|
+
|
|
548
|
+
Note: when DropMode is 1, the cache allows multiple messages. if an interruption occurs subsequently, cached messages will be cleared.
|
|
549
|
+
* @type {number || null}
|
|
550
|
+
*/
|
|
551
|
+
this.DropMode = null;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Message priority of ServerPushText. 0 means interruptible. 1 means not interruptible.
|
|
555
|
+
Note: after receiving a message with Priority=1, any other messages will be ignored (including messages with Priority=1) until the message processing of Priority=1 is complete. this field can be used together with the Interrupt and DropMode fields.
|
|
556
|
+
Example.
|
|
557
|
+
-Priority=1, Interrupt=true. specifies to Interrupt existing interaction and broadcast immediately. the broadcast will not be interrupted during the process.
|
|
558
|
+
-Priority=1, Interrupt=false, DropMode=1. waits for the current interaction to complete before broadcasting. the broadcast will not be interrupted during the process.
|
|
559
|
+
|
|
560
|
+
* @type {number || null}
|
|
561
|
+
*/
|
|
562
|
+
this.Priority = null;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Specifies whether the text is added to the llm history context.
|
|
566
|
+
* @type {boolean || null}
|
|
567
|
+
*/
|
|
568
|
+
this.AddHistory = null;
|
|
569
|
+
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @private
|
|
574
|
+
*/
|
|
575
|
+
deserialize(params) {
|
|
576
|
+
if (!params) {
|
|
577
|
+
return;
|
|
578
|
+
}
|
|
579
|
+
this.Text = 'Text' in params ? params.Text : null;
|
|
580
|
+
this.Interrupt = 'Interrupt' in params ? params.Interrupt : null;
|
|
581
|
+
this.StopAfterPlay = 'StopAfterPlay' in params ? params.StopAfterPlay : null;
|
|
582
|
+
this.Audio = 'Audio' in params ? params.Audio : null;
|
|
583
|
+
this.DropMode = 'DropMode' in params ? params.DropMode : null;
|
|
584
|
+
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
585
|
+
this.AddHistory = 'AddHistory' in params ? params.AddHistory : null;
|
|
409
586
|
|
|
410
587
|
}
|
|
411
588
|
}
|
|
@@ -573,6 +750,41 @@ class DescribeAutoCalloutTaskRequest extends AbstractModel {
|
|
|
573
750
|
}
|
|
574
751
|
}
|
|
575
752
|
|
|
753
|
+
/**
|
|
754
|
+
* CreateUserSig response structure.
|
|
755
|
+
* @class
|
|
756
|
+
*/
|
|
757
|
+
class CreateUserSigResponse extends AbstractModel {
|
|
758
|
+
constructor(){
|
|
759
|
+
super();
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Signature result.
|
|
763
|
+
* @type {string || null}
|
|
764
|
+
*/
|
|
765
|
+
this.UserSig = null;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
769
|
+
* @type {string || null}
|
|
770
|
+
*/
|
|
771
|
+
this.RequestId = null;
|
|
772
|
+
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @private
|
|
777
|
+
*/
|
|
778
|
+
deserialize(params) {
|
|
779
|
+
if (!params) {
|
|
780
|
+
return;
|
|
781
|
+
}
|
|
782
|
+
this.UserSig = 'UserSig' in params ? params.UserSig : null;
|
|
783
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
784
|
+
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
576
788
|
/**
|
|
577
789
|
* CreateAICall request structure.
|
|
578
790
|
* @class
|
|
@@ -743,7 +955,7 @@ HoaiMy
|
|
|
743
955
|
this.WelcomeType = null;
|
|
744
956
|
|
|
745
957
|
/**
|
|
746
|
-
* 0: interruptible by default,
|
|
958
|
+
* 0: interruptible by default, 2: high priority non-interruptible.
|
|
747
959
|
* @type {number || null}
|
|
748
960
|
*/
|
|
749
961
|
this.WelcomeMessagePriority = null;
|
|
@@ -926,6 +1138,33 @@ dify-inputs-xxx specifies the inputs variable for dify.
|
|
|
926
1138
|
*/
|
|
927
1139
|
this.Variables = null;
|
|
928
1140
|
|
|
1141
|
+
/**
|
|
1142
|
+
* Specifies the model topP.
|
|
1143
|
+
* @type {number || null}
|
|
1144
|
+
*/
|
|
1145
|
+
this.TopP = null;
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* The vad far-field voice suppression capacity (does not impact asr recognition performance). value range: [0, 3]. default is 0. recommended setting: 2 for better far-field voice suppression.
|
|
1149
|
+
* @type {number || null}
|
|
1150
|
+
*/
|
|
1151
|
+
this.VadLevel = null;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Transition.
|
|
1155
|
+
* @type {ToneWordInfo || null}
|
|
1156
|
+
*/
|
|
1157
|
+
this.ToneWord = null;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Compliance prompt sound.
|
|
1161
|
+
This parameter specifies whether to play morse code during call initiation (default: true), indicating the conversation content is AI-generated.
|
|
1162
|
+
This parameter signifies disabled when set to false. the parameter indicates you understand and agree to the following protocol:.
|
|
1163
|
+
Our side fully acknowledges and understands that according to the laws and regulations including the "cybersecurity law" (https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm), "provision on administration of deep synthesis of internet-based information service" (https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm), "interim measures for the management of generative artificial intelligence services" (https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm), and "measures for the identification of artificial intelligence-generated synthetic content" (https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm), explicit and implicit identification shall be added to ai-generated synthetic content. based on business needs, we request tencent cloud not to add explicit identification to generated synthetic content. we commit to lawful and compliant use of such content to avoid confusion or misunderstanding. if the ai-generated synthetic content is used to provide services to the public or spread over networks, we will proactively add explicit identification compliant with legal provisions and national standard requirements and bear the legal obligations for ai-generated synthetic content identification. if we fail to properly fulfill the identification obligations for ai-generated content, resulting in adverse consequences or penalties from the competent department, we will fully assume all related responsibilities.
|
|
1164
|
+
* @type {boolean || null}
|
|
1165
|
+
*/
|
|
1166
|
+
this.EnableComplianceAudio = null;
|
|
1167
|
+
|
|
929
1168
|
}
|
|
930
1169
|
|
|
931
1170
|
/**
|
|
@@ -996,6 +1235,15 @@ dify-inputs-xxx specifies the inputs variable for dify.
|
|
|
996
1235
|
this.Variables.push(obj);
|
|
997
1236
|
}
|
|
998
1237
|
}
|
|
1238
|
+
this.TopP = 'TopP' in params ? params.TopP : null;
|
|
1239
|
+
this.VadLevel = 'VadLevel' in params ? params.VadLevel : null;
|
|
1240
|
+
|
|
1241
|
+
if (params.ToneWord) {
|
|
1242
|
+
let obj = new ToneWordInfo();
|
|
1243
|
+
obj.deserialize(params.ToneWord)
|
|
1244
|
+
this.ToneWord = obj;
|
|
1245
|
+
}
|
|
1246
|
+
this.EnableComplianceAudio = 'EnableComplianceAudio' in params ? params.EnableComplianceAudio : null;
|
|
999
1247
|
|
|
1000
1248
|
}
|
|
1001
1249
|
}
|
|
@@ -1175,6 +1423,34 @@ class ModifyStaffPasswordResponse extends AbstractModel {
|
|
|
1175
1423
|
}
|
|
1176
1424
|
}
|
|
1177
1425
|
|
|
1426
|
+
/**
|
|
1427
|
+
* ControlAIConversation response structure.
|
|
1428
|
+
* @class
|
|
1429
|
+
*/
|
|
1430
|
+
class ControlAIConversationResponse extends AbstractModel {
|
|
1431
|
+
constructor(){
|
|
1432
|
+
super();
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1436
|
+
* @type {string || null}
|
|
1437
|
+
*/
|
|
1438
|
+
this.RequestId = null;
|
|
1439
|
+
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* @private
|
|
1444
|
+
*/
|
|
1445
|
+
deserialize(params) {
|
|
1446
|
+
if (!params) {
|
|
1447
|
+
return;
|
|
1448
|
+
}
|
|
1449
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1450
|
+
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1178
1454
|
/**
|
|
1179
1455
|
* TransferToManual request structure.
|
|
1180
1456
|
* @class
|
|
@@ -1445,36 +1721,257 @@ class AbortAgentCruiseDialingCampaignResponse extends AbstractModel {
|
|
|
1445
1721
|
}
|
|
1446
1722
|
|
|
1447
1723
|
/**
|
|
1448
|
-
*
|
|
1724
|
+
* DescribeSessionDetail response structure.
|
|
1449
1725
|
* @class
|
|
1450
1726
|
*/
|
|
1451
|
-
class
|
|
1727
|
+
class DescribeSessionDetailResponse extends AbstractModel {
|
|
1452
1728
|
constructor(){
|
|
1453
1729
|
super();
|
|
1454
1730
|
|
|
1455
1731
|
/**
|
|
1456
|
-
*
|
|
1732
|
+
* Calling number.
|
|
1457
1733
|
* @type {string || null}
|
|
1458
1734
|
*/
|
|
1459
|
-
this.
|
|
1735
|
+
this.Caller = null;
|
|
1460
1736
|
|
|
1461
1737
|
/**
|
|
1462
|
-
*
|
|
1738
|
+
* Called number.
|
|
1463
1739
|
* @type {string || null}
|
|
1464
1740
|
*/
|
|
1465
|
-
this.
|
|
1741
|
+
this.Callee = null;
|
|
1466
1742
|
|
|
1467
1743
|
/**
|
|
1468
|
-
*
|
|
1744
|
+
* Call type. valid values: 1 (outgoing call), 2 (incoming call), 3 (audio dial-in), 5 (predictive outbound call), 6 (internal call).
|
|
1469
1745
|
* @type {number || null}
|
|
1470
1746
|
*/
|
|
1471
|
-
this.
|
|
1747
|
+
this.CallType = null;
|
|
1472
1748
|
|
|
1473
1749
|
/**
|
|
1474
|
-
*
|
|
1750
|
+
* Start timestamp. Unix second-level timestamp.
|
|
1475
1751
|
* @type {number || null}
|
|
1476
1752
|
*/
|
|
1477
|
-
this.
|
|
1753
|
+
this.StartTimeStamp = null;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Ring timestamp. UNIX second-level timestamp.
|
|
1757
|
+
* @type {number || null}
|
|
1758
|
+
*/
|
|
1759
|
+
this.RingTimestamp = null;
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* Answer timestamp. UNIX second-level timestamp.
|
|
1763
|
+
* @type {number || null}
|
|
1764
|
+
*/
|
|
1765
|
+
this.AcceptTimestamp = null;
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* End timestamp, UNIX second-level timestamp.
|
|
1769
|
+
* @type {number || null}
|
|
1770
|
+
*/
|
|
1771
|
+
this.EndedTimestamp = null;
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* Queue entry time. Unix second-level timestamp.
|
|
1775
|
+
* @type {number || null}
|
|
1776
|
+
*/
|
|
1777
|
+
this.QueuedTimestamp = null;
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Agent account.
|
|
1781
|
+
* @type {string || null}
|
|
1782
|
+
*/
|
|
1783
|
+
this.StaffUserId = null;
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Refers to the EndStatus field in the DescribeTelCdr api.
|
|
1787
|
+
* @type {number || null}
|
|
1788
|
+
*/
|
|
1789
|
+
this.EndStatus = null;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Queue skill group ID.
|
|
1793
|
+
* @type {number || null}
|
|
1794
|
+
*/
|
|
1795
|
+
this.QueuedSkillGroupId = null;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Queue skill group name.
|
|
1799
|
+
* @type {string || null}
|
|
1800
|
+
*/
|
|
1801
|
+
this.QueuedSkillGroupName = null;
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* Recording url with authentication and valid period. obtain and pull within a short time frame. do not persist this link.
|
|
1805
|
+
* @type {string || null}
|
|
1806
|
+
*/
|
|
1807
|
+
this.RecordURL = null;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Specifies the COS link for recording transfer to a third party.
|
|
1811
|
+
* @type {string || null}
|
|
1812
|
+
*/
|
|
1813
|
+
this.CustomRecordURL = null;
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Recording text information link with authentication and valid period. retrieve it within a short time frame. do not persist this link.
|
|
1817
|
+
* @type {string || null}
|
|
1818
|
+
*/
|
|
1819
|
+
this.AsrURL = null;
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* Voicemail recording url.
|
|
1823
|
+
* @type {Array.<string> || null}
|
|
1824
|
+
*/
|
|
1825
|
+
this.VoicemailRecordURL = null;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* Voicemail recording text information url. purchase the offline speech recognition package through the console and enable the offline speech recognition switch.
|
|
1829
|
+
* @type {Array.<string> || null}
|
|
1830
|
+
*/
|
|
1831
|
+
this.VoicemailAsrURL = null;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* IVR key information.
|
|
1835
|
+
* @type {Array.<IVRKeyPressedElement> || null}
|
|
1836
|
+
*/
|
|
1837
|
+
this.IVRKeyPressed = null;
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Satisfaction rate keystroke information.
|
|
1841
|
+
* @type {Array.<IVRKeyPressedElement> || null}
|
|
1842
|
+
*/
|
|
1843
|
+
this.PostIVRKeyPressed = null;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Hang-Up side. valid values: seat, user, system.
|
|
1847
|
+
* @type {string || null}
|
|
1848
|
+
*/
|
|
1849
|
+
this.HungUpSide = null;
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Customer custom data (User-to-User Interface).
|
|
1853
|
+
* @type {string || null}
|
|
1854
|
+
*/
|
|
1855
|
+
this.UUI = null;
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* List of events during a call.
|
|
1859
|
+
* @type {Array.<SessionEvent> || null}
|
|
1860
|
+
*/
|
|
1861
|
+
this.Events = null;
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* List of service participants.
|
|
1865
|
+
* @type {Array.<ServeParticipant> || null}
|
|
1866
|
+
*/
|
|
1867
|
+
this.ServeParticipants = null;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1871
|
+
* @type {string || null}
|
|
1872
|
+
*/
|
|
1873
|
+
this.RequestId = null;
|
|
1874
|
+
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* @private
|
|
1879
|
+
*/
|
|
1880
|
+
deserialize(params) {
|
|
1881
|
+
if (!params) {
|
|
1882
|
+
return;
|
|
1883
|
+
}
|
|
1884
|
+
this.Caller = 'Caller' in params ? params.Caller : null;
|
|
1885
|
+
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
1886
|
+
this.CallType = 'CallType' in params ? params.CallType : null;
|
|
1887
|
+
this.StartTimeStamp = 'StartTimeStamp' in params ? params.StartTimeStamp : null;
|
|
1888
|
+
this.RingTimestamp = 'RingTimestamp' in params ? params.RingTimestamp : null;
|
|
1889
|
+
this.AcceptTimestamp = 'AcceptTimestamp' in params ? params.AcceptTimestamp : null;
|
|
1890
|
+
this.EndedTimestamp = 'EndedTimestamp' in params ? params.EndedTimestamp : null;
|
|
1891
|
+
this.QueuedTimestamp = 'QueuedTimestamp' in params ? params.QueuedTimestamp : null;
|
|
1892
|
+
this.StaffUserId = 'StaffUserId' in params ? params.StaffUserId : null;
|
|
1893
|
+
this.EndStatus = 'EndStatus' in params ? params.EndStatus : null;
|
|
1894
|
+
this.QueuedSkillGroupId = 'QueuedSkillGroupId' in params ? params.QueuedSkillGroupId : null;
|
|
1895
|
+
this.QueuedSkillGroupName = 'QueuedSkillGroupName' in params ? params.QueuedSkillGroupName : null;
|
|
1896
|
+
this.RecordURL = 'RecordURL' in params ? params.RecordURL : null;
|
|
1897
|
+
this.CustomRecordURL = 'CustomRecordURL' in params ? params.CustomRecordURL : null;
|
|
1898
|
+
this.AsrURL = 'AsrURL' in params ? params.AsrURL : null;
|
|
1899
|
+
this.VoicemailRecordURL = 'VoicemailRecordURL' in params ? params.VoicemailRecordURL : null;
|
|
1900
|
+
this.VoicemailAsrURL = 'VoicemailAsrURL' in params ? params.VoicemailAsrURL : null;
|
|
1901
|
+
|
|
1902
|
+
if (params.IVRKeyPressed) {
|
|
1903
|
+
this.IVRKeyPressed = new Array();
|
|
1904
|
+
for (let z in params.IVRKeyPressed) {
|
|
1905
|
+
let obj = new IVRKeyPressedElement();
|
|
1906
|
+
obj.deserialize(params.IVRKeyPressed[z]);
|
|
1907
|
+
this.IVRKeyPressed.push(obj);
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
if (params.PostIVRKeyPressed) {
|
|
1912
|
+
this.PostIVRKeyPressed = new Array();
|
|
1913
|
+
for (let z in params.PostIVRKeyPressed) {
|
|
1914
|
+
let obj = new IVRKeyPressedElement();
|
|
1915
|
+
obj.deserialize(params.PostIVRKeyPressed[z]);
|
|
1916
|
+
this.PostIVRKeyPressed.push(obj);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
this.HungUpSide = 'HungUpSide' in params ? params.HungUpSide : null;
|
|
1920
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
1921
|
+
|
|
1922
|
+
if (params.Events) {
|
|
1923
|
+
this.Events = new Array();
|
|
1924
|
+
for (let z in params.Events) {
|
|
1925
|
+
let obj = new SessionEvent();
|
|
1926
|
+
obj.deserialize(params.Events[z]);
|
|
1927
|
+
this.Events.push(obj);
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
if (params.ServeParticipants) {
|
|
1932
|
+
this.ServeParticipants = new Array();
|
|
1933
|
+
for (let z in params.ServeParticipants) {
|
|
1934
|
+
let obj = new ServeParticipant();
|
|
1935
|
+
obj.deserialize(params.ServeParticipants[z]);
|
|
1936
|
+
this.ServeParticipants.push(obj);
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1940
|
+
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* Participant information.
|
|
1946
|
+
* @class
|
|
1947
|
+
*/
|
|
1948
|
+
class ServeParticipant extends AbstractModel {
|
|
1949
|
+
constructor(){
|
|
1950
|
+
super();
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Agent email.
|
|
1954
|
+
* @type {string || null}
|
|
1955
|
+
*/
|
|
1956
|
+
this.Mail = null;
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Agent phone number.
|
|
1960
|
+
* @type {string || null}
|
|
1961
|
+
*/
|
|
1962
|
+
this.Phone = null;
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* Ringing timestamp, unix second-level timestamp.
|
|
1966
|
+
* @type {number || null}
|
|
1967
|
+
*/
|
|
1968
|
+
this.RingTimestamp = null;
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Answer timestamp. unix second-level timestamp.
|
|
1972
|
+
* @type {number || null}
|
|
1973
|
+
*/
|
|
1974
|
+
this.AcceptTimestamp = null;
|
|
1478
1975
|
|
|
1479
1976
|
/**
|
|
1480
1977
|
* End timestamp. unix second-level timestamp.
|
|
@@ -1882,6 +2379,12 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1882
2379
|
*/
|
|
1883
2380
|
this.LastStatusTimestamp = null;
|
|
1884
2381
|
|
|
2382
|
+
/**
|
|
2383
|
+
* Specifies the endpoint information for customer service logon.
|
|
2384
|
+
* @type {Array.<ClientInfo> || null}
|
|
2385
|
+
*/
|
|
2386
|
+
this.ClientInfo = null;
|
|
2387
|
+
|
|
1885
2388
|
}
|
|
1886
2389
|
|
|
1887
2390
|
/**
|
|
@@ -1913,6 +2416,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1913
2416
|
this.LastOnlineTimestamp = 'LastOnlineTimestamp' in params ? params.LastOnlineTimestamp : null;
|
|
1914
2417
|
this.LastStatusTimestamp = 'LastStatusTimestamp' in params ? params.LastStatusTimestamp : null;
|
|
1915
2418
|
|
|
2419
|
+
if (params.ClientInfo) {
|
|
2420
|
+
this.ClientInfo = new Array();
|
|
2421
|
+
for (let z in params.ClientInfo) {
|
|
2422
|
+
let obj = new ClientInfo();
|
|
2423
|
+
obj.deserialize(params.ClientInfo[z]);
|
|
2424
|
+
this.ClientInfo.push(obj);
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
|
|
1916
2428
|
}
|
|
1917
2429
|
}
|
|
1918
2430
|
|
|
@@ -1952,30 +2464,24 @@ class DeleteExtensionRequest extends AbstractModel {
|
|
|
1952
2464
|
}
|
|
1953
2465
|
|
|
1954
2466
|
/**
|
|
1955
|
-
*
|
|
2467
|
+
* DescribePredictiveDialingCampaign request structure.
|
|
1956
2468
|
* @class
|
|
1957
2469
|
*/
|
|
1958
|
-
class
|
|
2470
|
+
class DescribePredictiveDialingCampaignRequest extends AbstractModel {
|
|
1959
2471
|
constructor(){
|
|
1960
2472
|
super();
|
|
1961
2473
|
|
|
1962
2474
|
/**
|
|
1963
|
-
*
|
|
1964
|
-
* @type {string || null}
|
|
1965
|
-
*/
|
|
1966
|
-
this.Callee = null;
|
|
1967
|
-
|
|
1968
|
-
/**
|
|
1969
|
-
* Call status 0 - initial, 1 - answered, 2 - unanswered, 3 - calling, 4 - pending retry.
|
|
2475
|
+
* Application id (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
1970
2476
|
* @type {number || null}
|
|
1971
2477
|
*/
|
|
1972
|
-
this.
|
|
2478
|
+
this.SdkAppId = null;
|
|
1973
2479
|
|
|
1974
2480
|
/**
|
|
1975
|
-
*
|
|
1976
|
-
* @type {
|
|
2481
|
+
* <Task id>.
|
|
2482
|
+
* @type {number || null}
|
|
1977
2483
|
*/
|
|
1978
|
-
this.
|
|
2484
|
+
this.CampaignId = null;
|
|
1979
2485
|
|
|
1980
2486
|
}
|
|
1981
2487
|
|
|
@@ -1986,9 +2492,8 @@ class AutoCalloutTaskCalleeInfo extends AbstractModel {
|
|
|
1986
2492
|
if (!params) {
|
|
1987
2493
|
return;
|
|
1988
2494
|
}
|
|
1989
|
-
this.
|
|
1990
|
-
this.
|
|
1991
|
-
this.Sessions = 'Sessions' in params ? params.Sessions : null;
|
|
2495
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2496
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
1992
2497
|
|
|
1993
2498
|
}
|
|
1994
2499
|
}
|
|
@@ -2751,6 +3256,48 @@ class DescribeNumbersResponse extends AbstractModel {
|
|
|
2751
3256
|
}
|
|
2752
3257
|
}
|
|
2753
3258
|
|
|
3259
|
+
/**
|
|
3260
|
+
* Undertake filler word.
|
|
3261
|
+
* @class
|
|
3262
|
+
*/
|
|
3263
|
+
class ZHToneWordsInfo extends AbstractModel {
|
|
3264
|
+
constructor(){
|
|
3265
|
+
super();
|
|
3266
|
+
|
|
3267
|
+
/**
|
|
3268
|
+
* Specifies the word list.
|
|
3269
|
+
* @type {Array.<string> || null}
|
|
3270
|
+
*/
|
|
3271
|
+
this.Neutral = null;
|
|
3272
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* Positive word list.
|
|
3275
|
+
* @type {Array.<string> || null}
|
|
3276
|
+
*/
|
|
3277
|
+
this.Positive = null;
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* Negative word list.
|
|
3281
|
+
* @type {Array.<string> || null}
|
|
3282
|
+
*/
|
|
3283
|
+
this.Negative = null;
|
|
3284
|
+
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
/**
|
|
3288
|
+
* @private
|
|
3289
|
+
*/
|
|
3290
|
+
deserialize(params) {
|
|
3291
|
+
if (!params) {
|
|
3292
|
+
return;
|
|
3293
|
+
}
|
|
3294
|
+
this.Neutral = 'Neutral' in params ? params.Neutral : null;
|
|
3295
|
+
this.Positive = 'Positive' in params ? params.Positive : null;
|
|
3296
|
+
this.Negative = 'Negative' in params ? params.Negative : null;
|
|
3297
|
+
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
|
|
2754
3301
|
/**
|
|
2755
3302
|
* DeletePredictiveDialingCampaign request structure.
|
|
2756
3303
|
* @class
|
|
@@ -3217,30 +3764,79 @@ class CreateExtensionResponse extends AbstractModel {
|
|
|
3217
3764
|
}
|
|
3218
3765
|
|
|
3219
3766
|
/**
|
|
3220
|
-
*
|
|
3767
|
+
* CreateUserSig request structure.
|
|
3221
3768
|
* @class
|
|
3222
3769
|
*/
|
|
3223
|
-
class
|
|
3770
|
+
class CreateUserSigRequest extends AbstractModel {
|
|
3224
3771
|
constructor(){
|
|
3225
3772
|
super();
|
|
3226
3773
|
|
|
3227
3774
|
/**
|
|
3228
|
-
*
|
|
3775
|
+
* App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
|
|
3229
3776
|
* @type {number || null}
|
|
3230
3777
|
*/
|
|
3231
3778
|
this.SdkAppId = null;
|
|
3232
3779
|
|
|
3233
3780
|
/**
|
|
3234
|
-
*
|
|
3781
|
+
* User ID, must be consistent with the Uid value in the ClientData field.
|
|
3235
3782
|
* @type {string || null}
|
|
3236
3783
|
*/
|
|
3237
|
-
this.
|
|
3784
|
+
this.Uid = null;
|
|
3238
3785
|
|
|
3239
3786
|
/**
|
|
3240
|
-
*
|
|
3787
|
+
* Valid period, in seconds, no more than 1 hr.
|
|
3241
3788
|
* @type {number || null}
|
|
3242
3789
|
*/
|
|
3243
|
-
this.
|
|
3790
|
+
this.ExpiredTime = null;
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Signature data of the user. required field. standard JSON format.
|
|
3794
|
+
* @type {string || null}
|
|
3795
|
+
*/
|
|
3796
|
+
this.ClientData = null;
|
|
3797
|
+
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* @private
|
|
3802
|
+
*/
|
|
3803
|
+
deserialize(params) {
|
|
3804
|
+
if (!params) {
|
|
3805
|
+
return;
|
|
3806
|
+
}
|
|
3807
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3808
|
+
this.Uid = 'Uid' in params ? params.Uid : null;
|
|
3809
|
+
this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
|
|
3810
|
+
this.ClientData = 'ClientData' in params ? params.ClientData : null;
|
|
3811
|
+
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* CreateCCCSkillGroup request structure.
|
|
3817
|
+
* @class
|
|
3818
|
+
*/
|
|
3819
|
+
class CreateCCCSkillGroupRequest extends AbstractModel {
|
|
3820
|
+
constructor(){
|
|
3821
|
+
super();
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Application id (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
3825
|
+
* @type {number || null}
|
|
3826
|
+
*/
|
|
3827
|
+
this.SdkAppId = null;
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* Skill group name.
|
|
3831
|
+
* @type {string || null}
|
|
3832
|
+
*/
|
|
3833
|
+
this.SkillGroupName = null;
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* Skill group type 0-cell phone, 1-online, 3-audio, 4-video.
|
|
3837
|
+
* @type {number || null}
|
|
3838
|
+
*/
|
|
3839
|
+
this.SkillGroupType = null;
|
|
3244
3840
|
|
|
3245
3841
|
/**
|
|
3246
3842
|
* The maximum number of people received by the skill group (the maximum number of people that one agent in this skill group can receive) is set to 1 by default. if the skill group type is online, the maximum can be set to one or more.
|
|
@@ -3344,24 +3940,30 @@ class DeleteCCCSkillGroupRequest extends AbstractModel {
|
|
|
3344
3940
|
}
|
|
3345
3941
|
|
|
3346
3942
|
/**
|
|
3347
|
-
*
|
|
3943
|
+
* BindNumberCallInInterface request structure.
|
|
3348
3944
|
* @class
|
|
3349
3945
|
*/
|
|
3350
|
-
class
|
|
3946
|
+
class BindNumberCallInInterfaceRequest extends AbstractModel {
|
|
3351
3947
|
constructor(){
|
|
3352
3948
|
super();
|
|
3353
3949
|
|
|
3354
3950
|
/**
|
|
3355
|
-
*
|
|
3951
|
+
* App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
|
|
3356
3952
|
* @type {number || null}
|
|
3357
3953
|
*/
|
|
3358
|
-
this.
|
|
3954
|
+
this.SdkAppId = null;
|
|
3359
3955
|
|
|
3360
3956
|
/**
|
|
3361
|
-
*
|
|
3957
|
+
* Number to be bound.
|
|
3362
3958
|
* @type {string || null}
|
|
3363
3959
|
*/
|
|
3364
|
-
this.
|
|
3960
|
+
this.Number = null;
|
|
3961
|
+
|
|
3962
|
+
/**
|
|
3963
|
+
* Specifies the callback url to be bound.
|
|
3964
|
+
* @type {Interface || null}
|
|
3965
|
+
*/
|
|
3966
|
+
this.CallInInterface = null;
|
|
3365
3967
|
|
|
3366
3968
|
}
|
|
3367
3969
|
|
|
@@ -3372,8 +3974,14 @@ class CreateCCCSkillGroupResponse extends AbstractModel {
|
|
|
3372
3974
|
if (!params) {
|
|
3373
3975
|
return;
|
|
3374
3976
|
}
|
|
3375
|
-
this.
|
|
3376
|
-
this.
|
|
3977
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3978
|
+
this.Number = 'Number' in params ? params.Number : null;
|
|
3979
|
+
|
|
3980
|
+
if (params.CallInInterface) {
|
|
3981
|
+
let obj = new Interface();
|
|
3982
|
+
obj.deserialize(params.CallInInterface)
|
|
3983
|
+
this.CallInInterface = obj;
|
|
3984
|
+
}
|
|
3377
3985
|
|
|
3378
3986
|
}
|
|
3379
3987
|
}
|
|
@@ -3470,6 +4078,53 @@ class ModifyOwnNumberApplyRequest extends AbstractModel {
|
|
|
3470
4078
|
}
|
|
3471
4079
|
}
|
|
3472
4080
|
|
|
4081
|
+
/**
|
|
4082
|
+
* Call event.
|
|
4083
|
+
* @class
|
|
4084
|
+
*/
|
|
4085
|
+
class SessionEvent extends AbstractModel {
|
|
4086
|
+
constructor(){
|
|
4087
|
+
super();
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* Event timestamp. Unix second-level timestamp.
|
|
4091
|
+
* @type {number || null}
|
|
4092
|
+
*/
|
|
4093
|
+
this.Timestamp = null;
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* Event type. currently supports StaffHold, StaffUnhold, StaffMute, StaffUnmute.
|
|
4097
|
+
* @type {string || null}
|
|
4098
|
+
*/
|
|
4099
|
+
this.EventType = null;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* Describes event details related to the agent.
|
|
4103
|
+
* @type {EventStaffDetail || null}
|
|
4104
|
+
*/
|
|
4105
|
+
this.StaffEventDetail = null;
|
|
4106
|
+
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* @private
|
|
4111
|
+
*/
|
|
4112
|
+
deserialize(params) {
|
|
4113
|
+
if (!params) {
|
|
4114
|
+
return;
|
|
4115
|
+
}
|
|
4116
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
4117
|
+
this.EventType = 'EventType' in params ? params.EventType : null;
|
|
4118
|
+
|
|
4119
|
+
if (params.StaffEventDetail) {
|
|
4120
|
+
let obj = new EventStaffDetail();
|
|
4121
|
+
obj.deserialize(params.StaffEventDetail)
|
|
4122
|
+
this.StaffEventDetail = obj;
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
|
|
3473
4128
|
/**
|
|
3474
4129
|
* DescribeSkillGroupInfoList request structure.
|
|
3475
4130
|
* @class
|
|
@@ -3583,24 +4238,58 @@ class DescribeAILatencyRequest extends AbstractModel {
|
|
|
3583
4238
|
}
|
|
3584
4239
|
|
|
3585
4240
|
/**
|
|
3586
|
-
*
|
|
4241
|
+
* Callback api.
|
|
3587
4242
|
* @class
|
|
3588
4243
|
*/
|
|
3589
|
-
class
|
|
4244
|
+
class Interface extends AbstractModel {
|
|
3590
4245
|
constructor(){
|
|
3591
4246
|
super();
|
|
3592
4247
|
|
|
3593
4248
|
/**
|
|
3594
|
-
*
|
|
3595
|
-
* @type {
|
|
4249
|
+
* API address
|
|
4250
|
+
* @type {string || null}
|
|
3596
4251
|
*/
|
|
3597
|
-
this.
|
|
4252
|
+
this.URL = null;
|
|
4253
|
+
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4256
|
+
/**
|
|
4257
|
+
* @private
|
|
4258
|
+
*/
|
|
4259
|
+
deserialize(params) {
|
|
4260
|
+
if (!params) {
|
|
4261
|
+
return;
|
|
4262
|
+
}
|
|
4263
|
+
this.URL = 'URL' in params ? params.URL : null;
|
|
4264
|
+
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
/**
|
|
4269
|
+
* Outbound call task called information.
|
|
4270
|
+
* @class
|
|
4271
|
+
*/
|
|
4272
|
+
class AutoCalloutTaskCalleeInfo extends AbstractModel {
|
|
4273
|
+
constructor(){
|
|
4274
|
+
super();
|
|
3598
4275
|
|
|
3599
4276
|
/**
|
|
3600
|
-
*
|
|
4277
|
+
* Called number.
|
|
4278
|
+
* @type {string || null}
|
|
4279
|
+
*/
|
|
4280
|
+
this.Callee = null;
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* Call status 0 - initial, 1 - answered, 2 - unanswered, 3 - calling, 4 - pending retry.
|
|
3601
4284
|
* @type {number || null}
|
|
3602
4285
|
*/
|
|
3603
|
-
this.
|
|
4286
|
+
this.State = null;
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* List of session ids.
|
|
4290
|
+
* @type {Array.<string> || null}
|
|
4291
|
+
*/
|
|
4292
|
+
this.Sessions = null;
|
|
3604
4293
|
|
|
3605
4294
|
}
|
|
3606
4295
|
|
|
@@ -3611,8 +4300,9 @@ class DescribePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
3611
4300
|
if (!params) {
|
|
3612
4301
|
return;
|
|
3613
4302
|
}
|
|
3614
|
-
this.
|
|
3615
|
-
this.
|
|
4303
|
+
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
4304
|
+
this.State = 'State' in params ? params.State : null;
|
|
4305
|
+
this.Sessions = 'Sessions' in params ? params.Sessions : null;
|
|
3616
4306
|
|
|
3617
4307
|
}
|
|
3618
4308
|
}
|
|
@@ -3788,6 +4478,64 @@ class AsrData extends AbstractModel {
|
|
|
3788
4478
|
}
|
|
3789
4479
|
}
|
|
3790
4480
|
|
|
4481
|
+
/**
|
|
4482
|
+
* UploadIvrAudio response structure.
|
|
4483
|
+
* @class
|
|
4484
|
+
*/
|
|
4485
|
+
class UploadIvrAudioResponse extends AbstractModel {
|
|
4486
|
+
constructor(){
|
|
4487
|
+
super();
|
|
4488
|
+
|
|
4489
|
+
/**
|
|
4490
|
+
* List of files that failed to be uploaded.
|
|
4491
|
+
* @type {Array.<UploadIvrAudioFailedInfo> || null}
|
|
4492
|
+
*/
|
|
4493
|
+
this.FailedFileList = null;
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* List of successfully uploaded files.
|
|
4497
|
+
* @type {Array.<AudioFileInfo> || null}
|
|
4498
|
+
*/
|
|
4499
|
+
this.SuccessFileList = null;
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4503
|
+
* @type {string || null}
|
|
4504
|
+
*/
|
|
4505
|
+
this.RequestId = null;
|
|
4506
|
+
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* @private
|
|
4511
|
+
*/
|
|
4512
|
+
deserialize(params) {
|
|
4513
|
+
if (!params) {
|
|
4514
|
+
return;
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
if (params.FailedFileList) {
|
|
4518
|
+
this.FailedFileList = new Array();
|
|
4519
|
+
for (let z in params.FailedFileList) {
|
|
4520
|
+
let obj = new UploadIvrAudioFailedInfo();
|
|
4521
|
+
obj.deserialize(params.FailedFileList[z]);
|
|
4522
|
+
this.FailedFileList.push(obj);
|
|
4523
|
+
}
|
|
4524
|
+
}
|
|
4525
|
+
|
|
4526
|
+
if (params.SuccessFileList) {
|
|
4527
|
+
this.SuccessFileList = new Array();
|
|
4528
|
+
for (let z in params.SuccessFileList) {
|
|
4529
|
+
let obj = new AudioFileInfo();
|
|
4530
|
+
obj.deserialize(params.SuccessFileList[z]);
|
|
4531
|
+
this.SuccessFileList.push(obj);
|
|
4532
|
+
}
|
|
4533
|
+
}
|
|
4534
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4535
|
+
|
|
4536
|
+
}
|
|
4537
|
+
}
|
|
4538
|
+
|
|
3791
4539
|
/**
|
|
3792
4540
|
* When adding customer service personnel in batches, information of the customer service personnel with an error is returned.
|
|
3793
4541
|
* @class
|
|
@@ -3858,6 +4606,41 @@ class PausePredictiveDialingCampaignResponse extends AbstractModel {
|
|
|
3858
4606
|
}
|
|
3859
4607
|
}
|
|
3860
4608
|
|
|
4609
|
+
/**
|
|
4610
|
+
* ResumePredictiveDialingCampaign request structure.
|
|
4611
|
+
* @class
|
|
4612
|
+
*/
|
|
4613
|
+
class ResumePredictiveDialingCampaignRequest extends AbstractModel {
|
|
4614
|
+
constructor(){
|
|
4615
|
+
super();
|
|
4616
|
+
|
|
4617
|
+
/**
|
|
4618
|
+
* Application id (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
4619
|
+
* @type {number || null}
|
|
4620
|
+
*/
|
|
4621
|
+
this.SdkAppId = null;
|
|
4622
|
+
|
|
4623
|
+
/**
|
|
4624
|
+
* <Task id>.
|
|
4625
|
+
* @type {number || null}
|
|
4626
|
+
*/
|
|
4627
|
+
this.CampaignId = null;
|
|
4628
|
+
|
|
4629
|
+
}
|
|
4630
|
+
|
|
4631
|
+
/**
|
|
4632
|
+
* @private
|
|
4633
|
+
*/
|
|
4634
|
+
deserialize(params) {
|
|
4635
|
+
if (!params) {
|
|
4636
|
+
return;
|
|
4637
|
+
}
|
|
4638
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
4639
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
4640
|
+
|
|
4641
|
+
}
|
|
4642
|
+
}
|
|
4643
|
+
|
|
3861
4644
|
/**
|
|
3862
4645
|
* PSTN session type.
|
|
3863
4646
|
* @class
|
|
@@ -4354,6 +5137,34 @@ class DescribeIvrAudioListRequest extends AbstractModel {
|
|
|
4354
5137
|
}
|
|
4355
5138
|
}
|
|
4356
5139
|
|
|
5140
|
+
/**
|
|
5141
|
+
* BindNumberCallInInterface response structure.
|
|
5142
|
+
* @class
|
|
5143
|
+
*/
|
|
5144
|
+
class BindNumberCallInInterfaceResponse extends AbstractModel {
|
|
5145
|
+
constructor(){
|
|
5146
|
+
super();
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5150
|
+
* @type {string || null}
|
|
5151
|
+
*/
|
|
5152
|
+
this.RequestId = null;
|
|
5153
|
+
|
|
5154
|
+
}
|
|
5155
|
+
|
|
5156
|
+
/**
|
|
5157
|
+
* @private
|
|
5158
|
+
*/
|
|
5159
|
+
deserialize(params) {
|
|
5160
|
+
if (!params) {
|
|
5161
|
+
return;
|
|
5162
|
+
}
|
|
5163
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5164
|
+
|
|
5165
|
+
}
|
|
5166
|
+
}
|
|
5167
|
+
|
|
4357
5168
|
/**
|
|
4358
5169
|
* ForceMemberOffline request structure.
|
|
4359
5170
|
* @class
|
|
@@ -4451,6 +5262,12 @@ class SkillGroupInfoItem extends AbstractModel {
|
|
|
4451
5262
|
*/
|
|
4452
5263
|
this.Alias = null;
|
|
4453
5264
|
|
|
5265
|
+
/**
|
|
5266
|
+
* Specifies whether to enable simultaneous ring.
|
|
5267
|
+
* @type {boolean || null}
|
|
5268
|
+
*/
|
|
5269
|
+
this.RingAll = null;
|
|
5270
|
+
|
|
4454
5271
|
}
|
|
4455
5272
|
|
|
4456
5273
|
/**
|
|
@@ -4469,6 +5286,7 @@ class SkillGroupInfoItem extends AbstractModel {
|
|
|
4469
5286
|
this.LastModifyTimestamp = 'LastModifyTimestamp' in params ? params.LastModifyTimestamp : null;
|
|
4470
5287
|
this.SkillGroupType = 'SkillGroupType' in params ? params.SkillGroupType : null;
|
|
4471
5288
|
this.Alias = 'Alias' in params ? params.Alias : null;
|
|
5289
|
+
this.RingAll = 'RingAll' in params ? params.RingAll : null;
|
|
4472
5290
|
|
|
4473
5291
|
}
|
|
4474
5292
|
}
|
|
@@ -4613,24 +5431,59 @@ class UpdateCCCSkillGroupRequest extends AbstractModel {
|
|
|
4613
5431
|
}
|
|
4614
5432
|
|
|
4615
5433
|
/**
|
|
4616
|
-
* RestoreMemberOnline request structure.
|
|
5434
|
+
* RestoreMemberOnline request structure.
|
|
5435
|
+
* @class
|
|
5436
|
+
*/
|
|
5437
|
+
class RestoreMemberOnlineRequest extends AbstractModel {
|
|
5438
|
+
constructor(){
|
|
5439
|
+
super();
|
|
5440
|
+
|
|
5441
|
+
/**
|
|
5442
|
+
* App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
|
|
5443
|
+
* @type {number || null}
|
|
5444
|
+
*/
|
|
5445
|
+
this.SdkAppId = null;
|
|
5446
|
+
|
|
5447
|
+
/**
|
|
5448
|
+
* Customer service ID.
|
|
5449
|
+
* @type {string || null}
|
|
5450
|
+
*/
|
|
5451
|
+
this.UserId = null;
|
|
5452
|
+
|
|
5453
|
+
}
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* @private
|
|
5457
|
+
*/
|
|
5458
|
+
deserialize(params) {
|
|
5459
|
+
if (!params) {
|
|
5460
|
+
return;
|
|
5461
|
+
}
|
|
5462
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
5463
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
5464
|
+
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
/**
|
|
5469
|
+
* Time range, 24-hour system, format: 09:00:00.
|
|
4617
5470
|
* @class
|
|
4618
5471
|
*/
|
|
4619
|
-
class
|
|
5472
|
+
class TimeRange extends AbstractModel {
|
|
4620
5473
|
constructor(){
|
|
4621
5474
|
super();
|
|
4622
5475
|
|
|
4623
5476
|
/**
|
|
4624
|
-
*
|
|
4625
|
-
* @type {
|
|
5477
|
+
* Start time.
|
|
5478
|
+
* @type {string || null}
|
|
4626
5479
|
*/
|
|
4627
|
-
this.
|
|
5480
|
+
this.StartTime = null;
|
|
4628
5481
|
|
|
4629
5482
|
/**
|
|
4630
|
-
*
|
|
5483
|
+
* End time.
|
|
4631
5484
|
* @type {string || null}
|
|
4632
5485
|
*/
|
|
4633
|
-
this.
|
|
5486
|
+
this.EndTime = null;
|
|
4634
5487
|
|
|
4635
5488
|
}
|
|
4636
5489
|
|
|
@@ -4641,8 +5494,8 @@ class RestoreMemberOnlineRequest extends AbstractModel {
|
|
|
4641
5494
|
if (!params) {
|
|
4642
5495
|
return;
|
|
4643
5496
|
}
|
|
4644
|
-
this.
|
|
4645
|
-
this.
|
|
5497
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
5498
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4646
5499
|
|
|
4647
5500
|
}
|
|
4648
5501
|
}
|
|
@@ -5587,30 +6440,36 @@ class UploadIvrAudioFailedInfo extends AbstractModel {
|
|
|
5587
6440
|
}
|
|
5588
6441
|
|
|
5589
6442
|
/**
|
|
5590
|
-
*
|
|
6443
|
+
* DescribeSessionDetail request structure.
|
|
5591
6444
|
* @class
|
|
5592
6445
|
*/
|
|
5593
|
-
class
|
|
6446
|
+
class DescribeSessionDetailRequest extends AbstractModel {
|
|
5594
6447
|
constructor(){
|
|
5595
6448
|
super();
|
|
5596
6449
|
|
|
5597
6450
|
/**
|
|
5598
|
-
*
|
|
5599
|
-
* @type {
|
|
6451
|
+
* App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
|
|
6452
|
+
* @type {number || null}
|
|
5600
6453
|
*/
|
|
5601
|
-
this.
|
|
6454
|
+
this.SdkAppId = null;
|
|
5602
6455
|
|
|
5603
6456
|
/**
|
|
5604
|
-
*
|
|
5605
|
-
* @type {
|
|
6457
|
+
* Specifies the session id of the call.
|
|
6458
|
+
* @type {string || null}
|
|
5606
6459
|
*/
|
|
5607
|
-
this.
|
|
6460
|
+
this.SessionId = null;
|
|
5608
6461
|
|
|
5609
6462
|
/**
|
|
5610
|
-
*
|
|
5611
|
-
* @type {
|
|
6463
|
+
* Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
|
|
6464
|
+
* @type {number || null}
|
|
5612
6465
|
*/
|
|
5613
|
-
this.
|
|
6466
|
+
this.StartTimestamp = null;
|
|
6467
|
+
|
|
6468
|
+
/**
|
|
6469
|
+
* End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 90 days.
|
|
6470
|
+
* @type {number || null}
|
|
6471
|
+
*/
|
|
6472
|
+
this.EndTimestamp = null;
|
|
5614
6473
|
|
|
5615
6474
|
}
|
|
5616
6475
|
|
|
@@ -5621,25 +6480,10 @@ class UploadIvrAudioResponse extends AbstractModel {
|
|
|
5621
6480
|
if (!params) {
|
|
5622
6481
|
return;
|
|
5623
6482
|
}
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
let obj = new UploadIvrAudioFailedInfo();
|
|
5629
|
-
obj.deserialize(params.FailedFileList[z]);
|
|
5630
|
-
this.FailedFileList.push(obj);
|
|
5631
|
-
}
|
|
5632
|
-
}
|
|
5633
|
-
|
|
5634
|
-
if (params.SuccessFileList) {
|
|
5635
|
-
this.SuccessFileList = new Array();
|
|
5636
|
-
for (let z in params.SuccessFileList) {
|
|
5637
|
-
let obj = new AudioFileInfo();
|
|
5638
|
-
obj.deserialize(params.SuccessFileList[z]);
|
|
5639
|
-
this.SuccessFileList.push(obj);
|
|
5640
|
-
}
|
|
5641
|
-
}
|
|
5642
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6483
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
6484
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
6485
|
+
this.StartTimestamp = 'StartTimestamp' in params ? params.StartTimestamp : null;
|
|
6486
|
+
this.EndTimestamp = 'EndTimestamp' in params ? params.EndTimestamp : null;
|
|
5643
6487
|
|
|
5644
6488
|
}
|
|
5645
6489
|
}
|
|
@@ -6240,24 +7084,36 @@ class ResetExtensionPasswordResponse extends AbstractModel {
|
|
|
6240
7084
|
}
|
|
6241
7085
|
|
|
6242
7086
|
/**
|
|
6243
|
-
*
|
|
7087
|
+
* Call forwarding destination.
|
|
6244
7088
|
* @class
|
|
6245
7089
|
*/
|
|
6246
|
-
class
|
|
7090
|
+
class ForwardingTarget extends AbstractModel {
|
|
6247
7091
|
constructor(){
|
|
6248
7092
|
super();
|
|
6249
7093
|
|
|
6250
7094
|
/**
|
|
6251
|
-
*
|
|
7095
|
+
* Call forwarding target type. valid values: 1 (agent), 2 (skill group), 3 (extension).
|
|
7096
|
+
* @type {number || null}
|
|
7097
|
+
*/
|
|
7098
|
+
this.Type = null;
|
|
7099
|
+
|
|
7100
|
+
/**
|
|
7101
|
+
* Specifies the agent account when the call forwarding target is set to agent and Type is 1.
|
|
6252
7102
|
* @type {string || null}
|
|
6253
7103
|
*/
|
|
6254
|
-
this.
|
|
7104
|
+
this.StaffUserId = null;
|
|
6255
7105
|
|
|
6256
7106
|
/**
|
|
6257
|
-
*
|
|
7107
|
+
* Specifies the ID of the skill group as the call forwarding target. fill when Type is 2.
|
|
7108
|
+
* @type {number || null}
|
|
7109
|
+
*/
|
|
7110
|
+
this.SkillGroupId = null;
|
|
7111
|
+
|
|
7112
|
+
/**
|
|
7113
|
+
* The account to which the call is forwarded is an extension. fill when Type is 3.
|
|
6258
7114
|
* @type {string || null}
|
|
6259
7115
|
*/
|
|
6260
|
-
this.
|
|
7116
|
+
this.Extension = null;
|
|
6261
7117
|
|
|
6262
7118
|
}
|
|
6263
7119
|
|
|
@@ -6268,8 +7124,57 @@ class TimeRange extends AbstractModel {
|
|
|
6268
7124
|
if (!params) {
|
|
6269
7125
|
return;
|
|
6270
7126
|
}
|
|
6271
|
-
this.
|
|
6272
|
-
this.
|
|
7127
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
7128
|
+
this.StaffUserId = 'StaffUserId' in params ? params.StaffUserId : null;
|
|
7129
|
+
this.SkillGroupId = 'SkillGroupId' in params ? params.SkillGroupId : null;
|
|
7130
|
+
this.Extension = 'Extension' in params ? params.Extension : null;
|
|
7131
|
+
|
|
7132
|
+
}
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
/**
|
|
7136
|
+
* Call forwarding configuration.
|
|
7137
|
+
* @class
|
|
7138
|
+
*/
|
|
7139
|
+
class ForwardingConfig extends AbstractModel {
|
|
7140
|
+
constructor(){
|
|
7141
|
+
super();
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* Whether to enable.
|
|
7145
|
+
* @type {boolean || null}
|
|
7146
|
+
*/
|
|
7147
|
+
this.Enabled = null;
|
|
7148
|
+
|
|
7149
|
+
/**
|
|
7150
|
+
* 1 unconditional call forwarding 2 conditional call forwarding.
|
|
7151
|
+
* @type {number || null}
|
|
7152
|
+
*/
|
|
7153
|
+
this.Condition = null;
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* Call forwarding destination.
|
|
7157
|
+
* @type {ForwardingTarget || null}
|
|
7158
|
+
*/
|
|
7159
|
+
this.Target = null;
|
|
7160
|
+
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* @private
|
|
7165
|
+
*/
|
|
7166
|
+
deserialize(params) {
|
|
7167
|
+
if (!params) {
|
|
7168
|
+
return;
|
|
7169
|
+
}
|
|
7170
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
7171
|
+
this.Condition = 'Condition' in params ? params.Condition : null;
|
|
7172
|
+
|
|
7173
|
+
if (params.Target) {
|
|
7174
|
+
let obj = new ForwardingTarget();
|
|
7175
|
+
obj.deserialize(params.Target)
|
|
7176
|
+
this.Target = obj;
|
|
7177
|
+
}
|
|
6273
7178
|
|
|
6274
7179
|
}
|
|
6275
7180
|
}
|
|
@@ -6306,6 +7211,12 @@ class AILatencyDetail extends AbstractModel {
|
|
|
6306
7211
|
*/
|
|
6307
7212
|
this.LLMLatency = null;
|
|
6308
7213
|
|
|
7214
|
+
/**
|
|
7215
|
+
* llm first token latency (ms).
|
|
7216
|
+
* @type {number || null}
|
|
7217
|
+
*/
|
|
7218
|
+
this.LLMFirstTokenLatency = null;
|
|
7219
|
+
|
|
6309
7220
|
/**
|
|
6310
7221
|
* End-To-End delay (ms).
|
|
6311
7222
|
* @type {number || null}
|
|
@@ -6325,6 +7236,7 @@ class AILatencyDetail extends AbstractModel {
|
|
|
6325
7236
|
this.ASRLatency = 'ASRLatency' in params ? params.ASRLatency : null;
|
|
6326
7237
|
this.TTSLatency = 'TTSLatency' in params ? params.TTSLatency : null;
|
|
6327
7238
|
this.LLMLatency = 'LLMLatency' in params ? params.LLMLatency : null;
|
|
7239
|
+
this.LLMFirstTokenLatency = 'LLMFirstTokenLatency' in params ? params.LLMFirstTokenLatency : null;
|
|
6328
7240
|
this.ETELatency = 'ETELatency' in params ? params.ETELatency : null;
|
|
6329
7241
|
|
|
6330
7242
|
}
|
|
@@ -6411,8 +7323,7 @@ class StaffInfo extends AbstractModel {
|
|
|
6411
7323
|
this.StaffNumber = null;
|
|
6412
7324
|
|
|
6413
7325
|
/**
|
|
6414
|
-
* User role
|
|
6415
|
-
When a user is bound to multiple roles, RoleIdList shall prevail.
|
|
7326
|
+
* User role ID. if a user is bound to multiple roles, RoleIdList takes precedence.
|
|
6416
7327
|
* @type {number || null}
|
|
6417
7328
|
*/
|
|
6418
7329
|
this.RoleId = null;
|
|
@@ -6424,7 +7335,7 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
|
|
|
6424
7335
|
this.RoleIdList = null;
|
|
6425
7336
|
|
|
6426
7337
|
/**
|
|
6427
|
-
*
|
|
7338
|
+
* Specifies the user role id list.
|
|
6428
7339
|
* @type {Array.<number> || null}
|
|
6429
7340
|
*/
|
|
6430
7341
|
this.RoleList = null;
|
|
@@ -6447,6 +7358,12 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
|
|
|
6447
7358
|
*/
|
|
6448
7359
|
this.ExtensionNumber = null;
|
|
6449
7360
|
|
|
7361
|
+
/**
|
|
7362
|
+
* Call forwarding configuration.
|
|
7363
|
+
* @type {ForwardingConfig || null}
|
|
7364
|
+
*/
|
|
7365
|
+
this.ForwardingConfig = null;
|
|
7366
|
+
|
|
6450
7367
|
}
|
|
6451
7368
|
|
|
6452
7369
|
/**
|
|
@@ -6476,6 +7393,12 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
|
|
|
6476
7393
|
this.LastModifyTimestamp = 'LastModifyTimestamp' in params ? params.LastModifyTimestamp : null;
|
|
6477
7394
|
this.ExtensionNumber = 'ExtensionNumber' in params ? params.ExtensionNumber : null;
|
|
6478
7395
|
|
|
7396
|
+
if (params.ForwardingConfig) {
|
|
7397
|
+
let obj = new ForwardingConfig();
|
|
7398
|
+
obj.deserialize(params.ForwardingConfig)
|
|
7399
|
+
this.ForwardingConfig = obj;
|
|
7400
|
+
}
|
|
7401
|
+
|
|
6479
7402
|
}
|
|
6480
7403
|
}
|
|
6481
7404
|
|
|
@@ -6578,60 +7501,18 @@ class CreateOwnNumberApplyResponse extends AbstractModel {
|
|
|
6578
7501
|
}
|
|
6579
7502
|
|
|
6580
7503
|
/**
|
|
6581
|
-
*
|
|
7504
|
+
* BindNumberCallOutSkillGroup response structure.
|
|
6582
7505
|
* @class
|
|
6583
7506
|
*/
|
|
6584
|
-
class
|
|
7507
|
+
class BindNumberCallOutSkillGroupResponse extends AbstractModel {
|
|
6585
7508
|
constructor(){
|
|
6586
7509
|
super();
|
|
6587
7510
|
|
|
6588
7511
|
/**
|
|
6589
|
-
*
|
|
6590
|
-
* @type {number || null}
|
|
6591
|
-
*/
|
|
6592
|
-
this.CampaignId = null;
|
|
6593
|
-
|
|
6594
|
-
/**
|
|
6595
|
-
* Task name.
|
|
7512
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6596
7513
|
* @type {string || null}
|
|
6597
7514
|
*/
|
|
6598
|
-
this.
|
|
6599
|
-
|
|
6600
|
-
/**
|
|
6601
|
-
* Task status 0 - ready to start, 1 - in progress, 2 - paused, 3 - terminated, 4 - completed.
|
|
6602
|
-
* @type {number || null}
|
|
6603
|
-
*/
|
|
6604
|
-
this.Status = null;
|
|
6605
|
-
|
|
6606
|
-
/**
|
|
6607
|
-
* Task status reasons 0 - normal, 1 - manually ended, 2 - ended due to overtime.
|
|
6608
|
-
* @type {number || null}
|
|
6609
|
-
*/
|
|
6610
|
-
this.StatusReason = null;
|
|
6611
|
-
|
|
6612
|
-
/**
|
|
6613
|
-
* Number of called numbers.
|
|
6614
|
-
* @type {number || null}
|
|
6615
|
-
*/
|
|
6616
|
-
this.CalleeCount = null;
|
|
6617
|
-
|
|
6618
|
-
/**
|
|
6619
|
-
* Number of completed calls.
|
|
6620
|
-
* @type {number || null}
|
|
6621
|
-
*/
|
|
6622
|
-
this.FinishedCalleeCount = null;
|
|
6623
|
-
|
|
6624
|
-
/**
|
|
6625
|
-
* Running priority of multiple tasks in the same application, from high to low 1 - 5.
|
|
6626
|
-
* @type {number || null}
|
|
6627
|
-
*/
|
|
6628
|
-
this.Priority = null;
|
|
6629
|
-
|
|
6630
|
-
/**
|
|
6631
|
-
* ID of the used skill group of agents.
|
|
6632
|
-
* @type {number || null}
|
|
6633
|
-
*/
|
|
6634
|
-
this.SkillGroupId = null;
|
|
7515
|
+
this.RequestId = null;
|
|
6635
7516
|
|
|
6636
7517
|
}
|
|
6637
7518
|
|
|
@@ -6642,14 +7523,7 @@ class DescribePredictiveDialingCampaignsElement extends AbstractModel {
|
|
|
6642
7523
|
if (!params) {
|
|
6643
7524
|
return;
|
|
6644
7525
|
}
|
|
6645
|
-
this.
|
|
6646
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
6647
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
6648
|
-
this.StatusReason = 'StatusReason' in params ? params.StatusReason : null;
|
|
6649
|
-
this.CalleeCount = 'CalleeCount' in params ? params.CalleeCount : null;
|
|
6650
|
-
this.FinishedCalleeCount = 'FinishedCalleeCount' in params ? params.FinishedCalleeCount : null;
|
|
6651
|
-
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
6652
|
-
this.SkillGroupId = 'SkillGroupId' in params ? params.SkillGroupId : null;
|
|
7526
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6653
7527
|
|
|
6654
7528
|
}
|
|
6655
7529
|
}
|
|
@@ -6773,6 +7647,46 @@ class AbortPredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
6773
7647
|
}
|
|
6774
7648
|
}
|
|
6775
7649
|
|
|
7650
|
+
/**
|
|
7651
|
+
* Undertake filler word info.
|
|
7652
|
+
* @class
|
|
7653
|
+
*/
|
|
7654
|
+
class ToneWordInfo extends AbstractModel {
|
|
7655
|
+
constructor(){
|
|
7656
|
+
super();
|
|
7657
|
+
|
|
7658
|
+
/**
|
|
7659
|
+
* Specifies the timeout period for the first request in seconds.
|
|
7660
|
+
* @type {number || null}
|
|
7661
|
+
*/
|
|
7662
|
+
this.FirstSentenceTimeout = null;
|
|
7663
|
+
|
|
7664
|
+
/**
|
|
7665
|
+
* Undertakes a modal particle.
|
|
7666
|
+
* @type {ZHToneWordsInfo || null}
|
|
7667
|
+
*/
|
|
7668
|
+
this.ZHToneWords = null;
|
|
7669
|
+
|
|
7670
|
+
}
|
|
7671
|
+
|
|
7672
|
+
/**
|
|
7673
|
+
* @private
|
|
7674
|
+
*/
|
|
7675
|
+
deserialize(params) {
|
|
7676
|
+
if (!params) {
|
|
7677
|
+
return;
|
|
7678
|
+
}
|
|
7679
|
+
this.FirstSentenceTimeout = 'FirstSentenceTimeout' in params ? params.FirstSentenceTimeout : null;
|
|
7680
|
+
|
|
7681
|
+
if (params.ZHToneWords) {
|
|
7682
|
+
let obj = new ZHToneWordsInfo();
|
|
7683
|
+
obj.deserialize(params.ZHToneWords)
|
|
7684
|
+
this.ZHToneWords = obj;
|
|
7685
|
+
}
|
|
7686
|
+
|
|
7687
|
+
}
|
|
7688
|
+
}
|
|
7689
|
+
|
|
6776
7690
|
/**
|
|
6777
7691
|
* Phone call information
|
|
6778
7692
|
* @class
|
|
@@ -7407,24 +8321,80 @@ class UnbindStaffSkillGroupListResponse extends AbstractModel {
|
|
|
7407
8321
|
}
|
|
7408
8322
|
|
|
7409
8323
|
/**
|
|
7410
|
-
*
|
|
8324
|
+
* ControlAIConversation request structure.
|
|
7411
8325
|
* @class
|
|
7412
8326
|
*/
|
|
7413
|
-
class
|
|
8327
|
+
class ControlAIConversationRequest extends AbstractModel {
|
|
8328
|
+
constructor(){
|
|
8329
|
+
super();
|
|
8330
|
+
|
|
8331
|
+
/**
|
|
8332
|
+
* Specifies the session ID.
|
|
8333
|
+
* @type {string || null}
|
|
8334
|
+
*/
|
|
8335
|
+
this.SessionId = null;
|
|
8336
|
+
|
|
8337
|
+
/**
|
|
8338
|
+
* App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
|
|
8339
|
+
* @type {number || null}
|
|
8340
|
+
*/
|
|
8341
|
+
this.SdkAppId = null;
|
|
8342
|
+
|
|
8343
|
+
/**
|
|
8344
|
+
* Control command. currently supports the following commands:.
|
|
8345
|
+
|
|
8346
|
+
-ServerPushText. specifies the text sent by the server to the AI robot. the AI robot will broadcast the text.
|
|
8347
|
+
* @type {string || null}
|
|
8348
|
+
*/
|
|
8349
|
+
this.Command = null;
|
|
8350
|
+
|
|
8351
|
+
/**
|
|
8352
|
+
* Specifies the server-sent broadcast text Command. required when Command is ServerPushText.
|
|
8353
|
+
* @type {ServerPushText || null}
|
|
8354
|
+
*/
|
|
8355
|
+
this.ServerPushText = null;
|
|
8356
|
+
|
|
8357
|
+
}
|
|
8358
|
+
|
|
8359
|
+
/**
|
|
8360
|
+
* @private
|
|
8361
|
+
*/
|
|
8362
|
+
deserialize(params) {
|
|
8363
|
+
if (!params) {
|
|
8364
|
+
return;
|
|
8365
|
+
}
|
|
8366
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
8367
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8368
|
+
this.Command = 'Command' in params ? params.Command : null;
|
|
8369
|
+
|
|
8370
|
+
if (params.ServerPushText) {
|
|
8371
|
+
let obj = new ServerPushText();
|
|
8372
|
+
obj.deserialize(params.ServerPushText)
|
|
8373
|
+
this.ServerPushText = obj;
|
|
8374
|
+
}
|
|
8375
|
+
|
|
8376
|
+
}
|
|
8377
|
+
}
|
|
8378
|
+
|
|
8379
|
+
/**
|
|
8380
|
+
* Upload Audio File Information
|
|
8381
|
+
* @class
|
|
8382
|
+
*/
|
|
8383
|
+
class UploadAudioInfo extends AbstractModel {
|
|
7414
8384
|
constructor(){
|
|
7415
8385
|
super();
|
|
7416
8386
|
|
|
7417
8387
|
/**
|
|
7418
|
-
*
|
|
7419
|
-
* @type {
|
|
8388
|
+
* File alias (can be duplicated).
|
|
8389
|
+
* @type {string || null}
|
|
7420
8390
|
*/
|
|
7421
|
-
this.
|
|
8391
|
+
this.CustomFileName = null;
|
|
7422
8392
|
|
|
7423
8393
|
/**
|
|
7424
|
-
*
|
|
7425
|
-
* @type {
|
|
8394
|
+
* Audio file link (supports mp3 and wav formats, file size not exceeding 5mb).
|
|
8395
|
+
* @type {string || null}
|
|
7426
8396
|
*/
|
|
7427
|
-
this.
|
|
8397
|
+
this.AudioUrl = null;
|
|
7428
8398
|
|
|
7429
8399
|
}
|
|
7430
8400
|
|
|
@@ -7435,31 +8405,31 @@ class ResumePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
7435
8405
|
if (!params) {
|
|
7436
8406
|
return;
|
|
7437
8407
|
}
|
|
7438
|
-
this.
|
|
7439
|
-
this.
|
|
8408
|
+
this.CustomFileName = 'CustomFileName' in params ? params.CustomFileName : null;
|
|
8409
|
+
this.AudioUrl = 'AudioUrl' in params ? params.AudioUrl : null;
|
|
7440
8410
|
|
|
7441
8411
|
}
|
|
7442
8412
|
}
|
|
7443
8413
|
|
|
7444
8414
|
/**
|
|
7445
|
-
*
|
|
8415
|
+
* DescribeStaffStatusHistory response structure.
|
|
7446
8416
|
* @class
|
|
7447
8417
|
*/
|
|
7448
|
-
class
|
|
8418
|
+
class DescribeStaffStatusHistoryResponse extends AbstractModel {
|
|
7449
8419
|
constructor(){
|
|
7450
8420
|
super();
|
|
7451
8421
|
|
|
7452
8422
|
/**
|
|
7453
|
-
*
|
|
7454
|
-
* @type {
|
|
8423
|
+
* Specifies the agent status data.
|
|
8424
|
+
* @type {Array.<StaffStatus> || null}
|
|
7455
8425
|
*/
|
|
7456
|
-
this.
|
|
8426
|
+
this.Data = null;
|
|
7457
8427
|
|
|
7458
8428
|
/**
|
|
7459
|
-
*
|
|
8429
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7460
8430
|
* @type {string || null}
|
|
7461
8431
|
*/
|
|
7462
|
-
this.
|
|
8432
|
+
this.RequestId = null;
|
|
7463
8433
|
|
|
7464
8434
|
}
|
|
7465
8435
|
|
|
@@ -7470,8 +8440,16 @@ class UploadAudioInfo extends AbstractModel {
|
|
|
7470
8440
|
if (!params) {
|
|
7471
8441
|
return;
|
|
7472
8442
|
}
|
|
7473
|
-
|
|
7474
|
-
|
|
8443
|
+
|
|
8444
|
+
if (params.Data) {
|
|
8445
|
+
this.Data = new Array();
|
|
8446
|
+
for (let z in params.Data) {
|
|
8447
|
+
let obj = new StaffStatus();
|
|
8448
|
+
obj.deserialize(params.Data[z]);
|
|
8449
|
+
this.Data.push(obj);
|
|
8450
|
+
}
|
|
8451
|
+
}
|
|
8452
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7475
8453
|
|
|
7476
8454
|
}
|
|
7477
8455
|
}
|
|
@@ -7624,6 +8602,48 @@ class ModifyOwnNumberApplyResponse extends AbstractModel {
|
|
|
7624
8602
|
}
|
|
7625
8603
|
}
|
|
7626
8604
|
|
|
8605
|
+
/**
|
|
8606
|
+
* UnbindStaffSkillGroupList request structure.
|
|
8607
|
+
* @class
|
|
8608
|
+
*/
|
|
8609
|
+
class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
8610
|
+
constructor(){
|
|
8611
|
+
super();
|
|
8612
|
+
|
|
8613
|
+
/**
|
|
8614
|
+
* Application id (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
8615
|
+
* @type {number || null}
|
|
8616
|
+
*/
|
|
8617
|
+
this.SdkAppId = null;
|
|
8618
|
+
|
|
8619
|
+
/**
|
|
8620
|
+
* Customer service email.
|
|
8621
|
+
* @type {string || null}
|
|
8622
|
+
*/
|
|
8623
|
+
this.StaffEmail = null;
|
|
8624
|
+
|
|
8625
|
+
/**
|
|
8626
|
+
* Unbound skill group list.
|
|
8627
|
+
* @type {Array.<number> || null}
|
|
8628
|
+
*/
|
|
8629
|
+
this.SkillGroupList = null;
|
|
8630
|
+
|
|
8631
|
+
}
|
|
8632
|
+
|
|
8633
|
+
/**
|
|
8634
|
+
* @private
|
|
8635
|
+
*/
|
|
8636
|
+
deserialize(params) {
|
|
8637
|
+
if (!params) {
|
|
8638
|
+
return;
|
|
8639
|
+
}
|
|
8640
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8641
|
+
this.StaffEmail = 'StaffEmail' in params ? params.StaffEmail : null;
|
|
8642
|
+
this.SkillGroupList = 'SkillGroupList' in params ? params.SkillGroupList : null;
|
|
8643
|
+
|
|
8644
|
+
}
|
|
8645
|
+
}
|
|
8646
|
+
|
|
7627
8647
|
/**
|
|
7628
8648
|
* DescribeCallInMetrics response structure.
|
|
7629
8649
|
* @class
|
|
@@ -7870,10 +8890,10 @@ class CreateIVRSessionResponse extends AbstractModel {
|
|
|
7870
8890
|
}
|
|
7871
8891
|
|
|
7872
8892
|
/**
|
|
7873
|
-
*
|
|
8893
|
+
* HangUpCall request structure.
|
|
7874
8894
|
* @class
|
|
7875
8895
|
*/
|
|
7876
|
-
class
|
|
8896
|
+
class HangUpCallRequest extends AbstractModel {
|
|
7877
8897
|
constructor(){
|
|
7878
8898
|
super();
|
|
7879
8899
|
|
|
@@ -7884,16 +8904,45 @@ class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
7884
8904
|
this.SdkAppId = null;
|
|
7885
8905
|
|
|
7886
8906
|
/**
|
|
7887
|
-
*
|
|
8907
|
+
* Session id.
|
|
7888
8908
|
* @type {string || null}
|
|
7889
8909
|
*/
|
|
7890
|
-
this.
|
|
8910
|
+
this.SessionId = null;
|
|
8911
|
+
|
|
8912
|
+
}
|
|
8913
|
+
|
|
8914
|
+
/**
|
|
8915
|
+
* @private
|
|
8916
|
+
*/
|
|
8917
|
+
deserialize(params) {
|
|
8918
|
+
if (!params) {
|
|
8919
|
+
return;
|
|
8920
|
+
}
|
|
8921
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8922
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
8923
|
+
|
|
8924
|
+
}
|
|
8925
|
+
}
|
|
8926
|
+
|
|
8927
|
+
/**
|
|
8928
|
+
* Terminal information of the logged-in agent.
|
|
8929
|
+
* @class
|
|
8930
|
+
*/
|
|
8931
|
+
class ClientInfo extends AbstractModel {
|
|
8932
|
+
constructor(){
|
|
8933
|
+
super();
|
|
7891
8934
|
|
|
7892
8935
|
/**
|
|
7893
|
-
*
|
|
7894
|
-
* @type {
|
|
8936
|
+
* Endpoint type for login. "Web" means Web workbench. "WeChatMiniProgram" refers to wechat mini program.
|
|
8937
|
+
* @type {string || null}
|
|
7895
8938
|
*/
|
|
7896
|
-
this.
|
|
8939
|
+
this.ClientType = null;
|
|
8940
|
+
|
|
8941
|
+
/**
|
|
8942
|
+
* Whether the currently logged-in endpoint is in the foreground. if the endpoint is Web, the value is true. if the endpoint is WeChatMiniProgram, true indicates the wechat mini program is open, and false indicates it is in the background.
|
|
8943
|
+
* @type {boolean || null}
|
|
8944
|
+
*/
|
|
8945
|
+
this.IsConnected = null;
|
|
7897
8946
|
|
|
7898
8947
|
}
|
|
7899
8948
|
|
|
@@ -7904,9 +8953,8 @@ class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
7904
8953
|
if (!params) {
|
|
7905
8954
|
return;
|
|
7906
8955
|
}
|
|
7907
|
-
this.
|
|
7908
|
-
this.
|
|
7909
|
-
this.SkillGroupList = 'SkillGroupList' in params ? params.SkillGroupList : null;
|
|
8956
|
+
this.ClientType = 'ClientType' in params ? params.ClientType : null;
|
|
8957
|
+
this.IsConnected = 'IsConnected' in params ? params.IsConnected : null;
|
|
7910
8958
|
|
|
7911
8959
|
}
|
|
7912
8960
|
}
|
|
@@ -8145,6 +9193,69 @@ class StaffStatusExtra extends AbstractModel {
|
|
|
8145
9193
|
}
|
|
8146
9194
|
}
|
|
8147
9195
|
|
|
9196
|
+
/**
|
|
9197
|
+
* DescribeStaffStatusHistory request structure.
|
|
9198
|
+
* @class
|
|
9199
|
+
*/
|
|
9200
|
+
class DescribeStaffStatusHistoryRequest extends AbstractModel {
|
|
9201
|
+
constructor(){
|
|
9202
|
+
super();
|
|
9203
|
+
|
|
9204
|
+
/**
|
|
9205
|
+
* App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
|
|
9206
|
+
* @type {number || null}
|
|
9207
|
+
*/
|
|
9208
|
+
this.SdkAppId = null;
|
|
9209
|
+
|
|
9210
|
+
/**
|
|
9211
|
+
* Agent account.
|
|
9212
|
+
* @type {string || null}
|
|
9213
|
+
*/
|
|
9214
|
+
this.StaffUserId = null;
|
|
9215
|
+
|
|
9216
|
+
/**
|
|
9217
|
+
* Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
|
|
9218
|
+
* @type {number || null}
|
|
9219
|
+
*/
|
|
9220
|
+
this.StartTimestamp = null;
|
|
9221
|
+
|
|
9222
|
+
/**
|
|
9223
|
+
* End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 7 days.
|
|
9224
|
+
* @type {number || null}
|
|
9225
|
+
*/
|
|
9226
|
+
this.EndTimestamp = null;
|
|
9227
|
+
|
|
9228
|
+
/**
|
|
9229
|
+
* Specifies the cursor used during paginated retrieval.
|
|
9230
|
+
* @type {string || null}
|
|
9231
|
+
*/
|
|
9232
|
+
this.Cursor = null;
|
|
9233
|
+
|
|
9234
|
+
/**
|
|
9235
|
+
* Specifies the pagination size.
|
|
9236
|
+
* @type {number || null}
|
|
9237
|
+
*/
|
|
9238
|
+
this.PageSize = null;
|
|
9239
|
+
|
|
9240
|
+
}
|
|
9241
|
+
|
|
9242
|
+
/**
|
|
9243
|
+
* @private
|
|
9244
|
+
*/
|
|
9245
|
+
deserialize(params) {
|
|
9246
|
+
if (!params) {
|
|
9247
|
+
return;
|
|
9248
|
+
}
|
|
9249
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
9250
|
+
this.StaffUserId = 'StaffUserId' in params ? params.StaffUserId : null;
|
|
9251
|
+
this.StartTimestamp = 'StartTimestamp' in params ? params.StartTimestamp : null;
|
|
9252
|
+
this.EndTimestamp = 'EndTimestamp' in params ? params.EndTimestamp : null;
|
|
9253
|
+
this.Cursor = 'Cursor' in params ? params.Cursor : null;
|
|
9254
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
9255
|
+
|
|
9256
|
+
}
|
|
9257
|
+
}
|
|
9258
|
+
|
|
8148
9259
|
/**
|
|
8149
9260
|
* CreateStaff request structure.
|
|
8150
9261
|
* @class
|
|
@@ -8324,6 +9435,42 @@ class DescribePSTNActiveSessionListResponse extends AbstractModel {
|
|
|
8324
9435
|
}
|
|
8325
9436
|
}
|
|
8326
9437
|
|
|
9438
|
+
/**
|
|
9439
|
+
* Event details.
|
|
9440
|
+
* @class
|
|
9441
|
+
*/
|
|
9442
|
+
class EventStaffDetail extends AbstractModel {
|
|
9443
|
+
constructor(){
|
|
9444
|
+
super();
|
|
9445
|
+
|
|
9446
|
+
/**
|
|
9447
|
+
* Specifies the agent data.
|
|
9448
|
+
* @type {Array.<EventStaffElement> || null}
|
|
9449
|
+
*/
|
|
9450
|
+
this.Staffs = null;
|
|
9451
|
+
|
|
9452
|
+
}
|
|
9453
|
+
|
|
9454
|
+
/**
|
|
9455
|
+
* @private
|
|
9456
|
+
*/
|
|
9457
|
+
deserialize(params) {
|
|
9458
|
+
if (!params) {
|
|
9459
|
+
return;
|
|
9460
|
+
}
|
|
9461
|
+
|
|
9462
|
+
if (params.Staffs) {
|
|
9463
|
+
this.Staffs = new Array();
|
|
9464
|
+
for (let z in params.Staffs) {
|
|
9465
|
+
let obj = new EventStaffElement();
|
|
9466
|
+
obj.deserialize(params.Staffs[z]);
|
|
9467
|
+
this.Staffs.push(obj);
|
|
9468
|
+
}
|
|
9469
|
+
}
|
|
9470
|
+
|
|
9471
|
+
}
|
|
9472
|
+
}
|
|
9473
|
+
|
|
8327
9474
|
/**
|
|
8328
9475
|
* AI latency statistics.
|
|
8329
9476
|
* @class
|
|
@@ -8393,6 +9540,55 @@ class AILatencyStatistics extends AbstractModel {
|
|
|
8393
9540
|
}
|
|
8394
9541
|
}
|
|
8395
9542
|
|
|
9543
|
+
/**
|
|
9544
|
+
* Agent status.
|
|
9545
|
+
* @class
|
|
9546
|
+
*/
|
|
9547
|
+
class StaffStatus extends AbstractModel {
|
|
9548
|
+
constructor(){
|
|
9549
|
+
super();
|
|
9550
|
+
|
|
9551
|
+
/**
|
|
9552
|
+
* Specifies the cursor used for querying in pagination scenarios.
|
|
9553
|
+
* @type {string || null}
|
|
9554
|
+
*/
|
|
9555
|
+
this.Cursor = null;
|
|
9556
|
+
|
|
9557
|
+
/**
|
|
9558
|
+
* Status timestamp. Unix second-level timestamp.
|
|
9559
|
+
* @type {number || null}
|
|
9560
|
+
*/
|
|
9561
|
+
this.Timestamp = null;
|
|
9562
|
+
|
|
9563
|
+
/**
|
|
9564
|
+
* Agent status free | busy | rest | notReady | afterCallWork | offline.
|
|
9565
|
+
* @type {string || null}
|
|
9566
|
+
*/
|
|
9567
|
+
this.Status = null;
|
|
9568
|
+
|
|
9569
|
+
/**
|
|
9570
|
+
* Specifies the session Id for status association.
|
|
9571
|
+
* @type {string || null}
|
|
9572
|
+
*/
|
|
9573
|
+
this.SessionId = null;
|
|
9574
|
+
|
|
9575
|
+
}
|
|
9576
|
+
|
|
9577
|
+
/**
|
|
9578
|
+
* @private
|
|
9579
|
+
*/
|
|
9580
|
+
deserialize(params) {
|
|
9581
|
+
if (!params) {
|
|
9582
|
+
return;
|
|
9583
|
+
}
|
|
9584
|
+
this.Cursor = 'Cursor' in params ? params.Cursor : null;
|
|
9585
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
9586
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
9587
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
9588
|
+
|
|
9589
|
+
}
|
|
9590
|
+
}
|
|
9591
|
+
|
|
8396
9592
|
/**
|
|
8397
9593
|
* DescribeAutoCalloutTasks request structure.
|
|
8398
9594
|
* @class
|
|
@@ -9308,34 +10504,39 @@ class DescribeTelRecordAsrRequest extends AbstractModel {
|
|
|
9308
10504
|
|
|
9309
10505
|
module.exports = {
|
|
9310
10506
|
DescribeExtensionRequest: DescribeExtensionRequest,
|
|
10507
|
+
CreateCCCSkillGroupResponse: CreateCCCSkillGroupResponse,
|
|
9311
10508
|
StopAutoCalloutTaskRequest: StopAutoCalloutTaskRequest,
|
|
9312
10509
|
CreateIVRSessionRequest: CreateIVRSessionRequest,
|
|
9313
|
-
|
|
10510
|
+
EventStaffElement: EventStaffElement,
|
|
9314
10511
|
CreateSDKLoginTokenResponse: CreateSDKLoginTokenResponse,
|
|
9315
10512
|
ModifyStaffRequest: ModifyStaffRequest,
|
|
9316
10513
|
DescribeIvrAudioListResponse: DescribeIvrAudioListResponse,
|
|
9317
|
-
|
|
10514
|
+
DescribePredictiveDialingCampaignsElement: DescribePredictiveDialingCampaignsElement,
|
|
10515
|
+
ServerPushText: ServerPushText,
|
|
9318
10516
|
ResetExtensionPasswordRequest: ResetExtensionPasswordRequest,
|
|
9319
10517
|
DisableCCCPhoneNumberResponse: DisableCCCPhoneNumberResponse,
|
|
9320
10518
|
DescribeProtectedTelCdrResponse: DescribeProtectedTelCdrResponse,
|
|
9321
10519
|
DescribeAutoCalloutTaskRequest: DescribeAutoCalloutTaskRequest,
|
|
10520
|
+
CreateUserSigResponse: CreateUserSigResponse,
|
|
9322
10521
|
CreateAICallRequest: CreateAICallRequest,
|
|
9323
10522
|
CreateAdminURLResponse: CreateAdminURLResponse,
|
|
9324
10523
|
PausePredictiveDialingCampaignRequest: PausePredictiveDialingCampaignRequest,
|
|
9325
10524
|
CreateCallOutSessionResponse: CreateCallOutSessionResponse,
|
|
9326
10525
|
DisableCCCPhoneNumberRequest: DisableCCCPhoneNumberRequest,
|
|
9327
10526
|
ModifyStaffPasswordResponse: ModifyStaffPasswordResponse,
|
|
10527
|
+
ControlAIConversationResponse: ControlAIConversationResponse,
|
|
9328
10528
|
TransferToManualRequest: TransferToManualRequest,
|
|
9329
10529
|
CreatePredictiveDialingCampaignRequest: CreatePredictiveDialingCampaignRequest,
|
|
9330
10530
|
RestoreMemberOnlineResponse: RestoreMemberOnlineResponse,
|
|
9331
10531
|
AbortAgentCruiseDialingCampaignResponse: AbortAgentCruiseDialingCampaignResponse,
|
|
10532
|
+
DescribeSessionDetailResponse: DescribeSessionDetailResponse,
|
|
9332
10533
|
ServeParticipant: ServeParticipant,
|
|
9333
10534
|
AICallExtractResultElement: AICallExtractResultElement,
|
|
9334
10535
|
DescribeTelCallInfoResponse: DescribeTelCallInfoResponse,
|
|
9335
10536
|
DescribeExtensionsResponse: DescribeExtensionsResponse,
|
|
9336
10537
|
StaffStatusMetrics: StaffStatusMetrics,
|
|
9337
10538
|
DeleteExtensionRequest: DeleteExtensionRequest,
|
|
9338
|
-
|
|
10539
|
+
DescribePredictiveDialingCampaignRequest: DescribePredictiveDialingCampaignRequest,
|
|
9339
10540
|
DescribePredictiveDialingCampaignResponse: DescribePredictiveDialingCampaignResponse,
|
|
9340
10541
|
CreateAIAgentCallResponse: CreateAIAgentCallResponse,
|
|
9341
10542
|
DescribeAILatencyResponse: DescribeAILatencyResponse,
|
|
@@ -9349,6 +10550,7 @@ module.exports = {
|
|
|
9349
10550
|
DescribePredictiveDialingCampaignsRequest: DescribePredictiveDialingCampaignsRequest,
|
|
9350
10551
|
DescribeSkillGroupInfoListResponse: DescribeSkillGroupInfoListResponse,
|
|
9351
10552
|
DescribeNumbersResponse: DescribeNumbersResponse,
|
|
10553
|
+
ZHToneWordsInfo: ZHToneWordsInfo,
|
|
9352
10554
|
DeletePredictiveDialingCampaignRequest: DeletePredictiveDialingCampaignRequest,
|
|
9353
10555
|
UploadIvrAudioRequest: UploadIvrAudioRequest,
|
|
9354
10556
|
DescribeStaffInfoListResponse: DescribeStaffInfoListResponse,
|
|
@@ -9358,30 +10560,37 @@ module.exports = {
|
|
|
9358
10560
|
ResumePredictiveDialingCampaignResponse: ResumePredictiveDialingCampaignResponse,
|
|
9359
10561
|
CallInSkillGroupMetrics: CallInSkillGroupMetrics,
|
|
9360
10562
|
CreateExtensionResponse: CreateExtensionResponse,
|
|
10563
|
+
CreateUserSigRequest: CreateUserSigRequest,
|
|
9361
10564
|
CreateCCCSkillGroupRequest: CreateCCCSkillGroupRequest,
|
|
9362
10565
|
DescribePredictiveDialingSessionsResponse: DescribePredictiveDialingSessionsResponse,
|
|
9363
10566
|
DeleteCCCSkillGroupRequest: DeleteCCCSkillGroupRequest,
|
|
9364
|
-
|
|
10567
|
+
BindNumberCallInInterfaceRequest: BindNumberCallInInterfaceRequest,
|
|
9365
10568
|
DescribeTelSessionRequest: DescribeTelSessionRequest,
|
|
9366
10569
|
ModifyOwnNumberApplyRequest: ModifyOwnNumberApplyRequest,
|
|
10570
|
+
SessionEvent: SessionEvent,
|
|
9367
10571
|
DescribeSkillGroupInfoListRequest: DescribeSkillGroupInfoListRequest,
|
|
9368
10572
|
DescribeAILatencyRequest: DescribeAILatencyRequest,
|
|
9369
|
-
|
|
10573
|
+
Interface: Interface,
|
|
10574
|
+
AutoCalloutTaskCalleeInfo: AutoCalloutTaskCalleeInfo,
|
|
9370
10575
|
SeatUserInfo: SeatUserInfo,
|
|
9371
10576
|
UpdateCCCSkillGroupResponse: UpdateCCCSkillGroupResponse,
|
|
9372
10577
|
AsrData: AsrData,
|
|
10578
|
+
UploadIvrAudioResponse: UploadIvrAudioResponse,
|
|
9373
10579
|
ErrStaffItem: ErrStaffItem,
|
|
9374
10580
|
PausePredictiveDialingCampaignResponse: PausePredictiveDialingCampaignResponse,
|
|
10581
|
+
ResumePredictiveDialingCampaignRequest: ResumePredictiveDialingCampaignRequest,
|
|
9375
10582
|
PSTNSession: PSTNSession,
|
|
9376
10583
|
UpdatePredictiveDialingCampaignRequest: UpdatePredictiveDialingCampaignRequest,
|
|
9377
10584
|
DescribeStaffInfoListRequest: DescribeStaffInfoListRequest,
|
|
9378
10585
|
AutoCalloutTaskInfo: AutoCalloutTaskInfo,
|
|
9379
10586
|
DescribeIvrAudioListRequest: DescribeIvrAudioListRequest,
|
|
10587
|
+
BindNumberCallInInterfaceResponse: BindNumberCallInInterfaceResponse,
|
|
9380
10588
|
ForceMemberOfflineRequest: ForceMemberOfflineRequest,
|
|
9381
10589
|
SkillGroupInfoItem: SkillGroupInfoItem,
|
|
9382
10590
|
CreateAIAgentCallRequest: CreateAIAgentCallRequest,
|
|
9383
10591
|
UpdateCCCSkillGroupRequest: UpdateCCCSkillGroupRequest,
|
|
9384
10592
|
RestoreMemberOnlineRequest: RestoreMemberOnlineRequest,
|
|
10593
|
+
TimeRange: TimeRange,
|
|
9385
10594
|
ModifyStaffPasswordRequest: ModifyStaffPasswordRequest,
|
|
9386
10595
|
DescribeTelCdrRequest: DescribeTelCdrRequest,
|
|
9387
10596
|
ModifyStaffResponse: ModifyStaffResponse,
|
|
@@ -9402,7 +10611,7 @@ module.exports = {
|
|
|
9402
10611
|
DescribeAICallExtractResultResponse: DescribeAICallExtractResultResponse,
|
|
9403
10612
|
DeleteCCCSkillGroupResponse: DeleteCCCSkillGroupResponse,
|
|
9404
10613
|
UploadIvrAudioFailedInfo: UploadIvrAudioFailedInfo,
|
|
9405
|
-
|
|
10614
|
+
DescribeSessionDetailRequest: DescribeSessionDetailRequest,
|
|
9406
10615
|
ModifyExtensionResponse: ModifyExtensionResponse,
|
|
9407
10616
|
NumberInfo: NumberInfo,
|
|
9408
10617
|
DeleteStaffRequest: DeleteStaffRequest,
|
|
@@ -9416,43 +10625,51 @@ module.exports = {
|
|
|
9416
10625
|
CreateExtensionRequest: CreateExtensionRequest,
|
|
9417
10626
|
StaffSkillGroupList: StaffSkillGroupList,
|
|
9418
10627
|
ResetExtensionPasswordResponse: ResetExtensionPasswordResponse,
|
|
9419
|
-
|
|
10628
|
+
ForwardingTarget: ForwardingTarget,
|
|
10629
|
+
ForwardingConfig: ForwardingConfig,
|
|
9420
10630
|
AILatencyDetail: AILatencyDetail,
|
|
9421
10631
|
AITransferItem: AITransferItem,
|
|
9422
10632
|
StaffInfo: StaffInfo,
|
|
9423
10633
|
AbortAgentCruiseDialingCampaignRequest: AbortAgentCruiseDialingCampaignRequest,
|
|
9424
10634
|
ForceMemberOfflineResponse: ForceMemberOfflineResponse,
|
|
9425
10635
|
CreateOwnNumberApplyResponse: CreateOwnNumberApplyResponse,
|
|
9426
|
-
|
|
10636
|
+
BindNumberCallOutSkillGroupResponse: BindNumberCallOutSkillGroupResponse,
|
|
9427
10637
|
HangUpCallResponse: HangUpCallResponse,
|
|
9428
10638
|
TransferToManualResponse: TransferToManualResponse,
|
|
9429
10639
|
StopAutoCalloutTaskResponse: StopAutoCalloutTaskResponse,
|
|
9430
10640
|
AbortPredictiveDialingCampaignRequest: AbortPredictiveDialingCampaignRequest,
|
|
10641
|
+
ToneWordInfo: ToneWordInfo,
|
|
9431
10642
|
TelCdrInfo: TelCdrInfo,
|
|
9432
10643
|
SkillGroupItem: SkillGroupItem,
|
|
9433
10644
|
PhoneNumBuyInfo: PhoneNumBuyInfo,
|
|
9434
10645
|
DescribeCCCBuyInfoListResponse: DescribeCCCBuyInfoListResponse,
|
|
9435
10646
|
UnbindStaffSkillGroupListResponse: UnbindStaffSkillGroupListResponse,
|
|
9436
|
-
|
|
10647
|
+
ControlAIConversationRequest: ControlAIConversationRequest,
|
|
9437
10648
|
UploadAudioInfo: UploadAudioInfo,
|
|
10649
|
+
DescribeStaffStatusHistoryResponse: DescribeStaffStatusHistoryResponse,
|
|
9438
10650
|
DeleteExtensionResponse: DeleteExtensionResponse,
|
|
9439
10651
|
BindStaffSkillGroupListRequest: BindStaffSkillGroupListRequest,
|
|
9440
10652
|
CreateAgentCruiseDialingCampaignResponse: CreateAgentCruiseDialingCampaignResponse,
|
|
9441
10653
|
ModifyOwnNumberApplyResponse: ModifyOwnNumberApplyResponse,
|
|
10654
|
+
UnbindStaffSkillGroupListRequest: UnbindStaffSkillGroupListRequest,
|
|
9442
10655
|
DescribeCallInMetricsResponse: DescribeCallInMetricsResponse,
|
|
9443
10656
|
DescribeAgentCruiseDialingCampaignResponse: DescribeAgentCruiseDialingCampaignResponse,
|
|
9444
10657
|
CreateAICallResponse: CreateAICallResponse,
|
|
9445
10658
|
CreateIVRSessionResponse: CreateIVRSessionResponse,
|
|
9446
|
-
|
|
10659
|
+
HangUpCallRequest: HangUpCallRequest,
|
|
10660
|
+
ClientInfo: ClientInfo,
|
|
9447
10661
|
DescribeTelCdrResponse: DescribeTelCdrResponse,
|
|
9448
10662
|
DescribeStaffStatusMetricsRequest: DescribeStaffStatusMetricsRequest,
|
|
9449
10663
|
DeleteStaffResponse: DeleteStaffResponse,
|
|
9450
10664
|
CalleeAttribute: CalleeAttribute,
|
|
9451
10665
|
StaffStatusExtra: StaffStatusExtra,
|
|
10666
|
+
DescribeStaffStatusHistoryRequest: DescribeStaffStatusHistoryRequest,
|
|
9452
10667
|
CreateStaffRequest: CreateStaffRequest,
|
|
9453
10668
|
SdkAppIdBuyInfo: SdkAppIdBuyInfo,
|
|
9454
10669
|
DescribePSTNActiveSessionListResponse: DescribePSTNActiveSessionListResponse,
|
|
10670
|
+
EventStaffDetail: EventStaffDetail,
|
|
9455
10671
|
AILatencyStatistics: AILatencyStatistics,
|
|
10672
|
+
StaffStatus: StaffStatus,
|
|
9456
10673
|
DescribeAutoCalloutTasksRequest: DescribeAutoCalloutTasksRequest,
|
|
9457
10674
|
DescribeTelSessionResponse: DescribeTelSessionResponse,
|
|
9458
10675
|
CreateAdminURLRequest: CreateAdminURLRequest,
|