tencentcloud-sdk-nodejs-intl-en 3.0.1277 → 3.0.1279
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 +31 -1
- package/tencentcloud/ccc/v20200210/models.js +522 -110
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +140 -56
- package/tencentcloud/ckafka/v20190819/models.js +2185 -1109
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/lkeap/v20240522/lkeap_client.js +25 -11
- package/tencentcloud/lkeap/v20240522/models.js +454 -264
|
@@ -379,6 +379,56 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
/**
|
|
383
|
+
* DescribeAIAgentInfoList response structure.
|
|
384
|
+
* @class
|
|
385
|
+
*/
|
|
386
|
+
class DescribeAIAgentInfoListResponse extends AbstractModel {
|
|
387
|
+
constructor(){
|
|
388
|
+
super();
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Intelligent agent information list.
|
|
392
|
+
* @type {Array.<AIAgentInfo> || null}
|
|
393
|
+
*/
|
|
394
|
+
this.AIAgentInfoList = null;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Total number of intelligent agents.
|
|
398
|
+
* @type {number || null}
|
|
399
|
+
*/
|
|
400
|
+
this.TotalCount = null;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* 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.
|
|
404
|
+
* @type {string || null}
|
|
405
|
+
*/
|
|
406
|
+
this.RequestId = null;
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @private
|
|
412
|
+
*/
|
|
413
|
+
deserialize(params) {
|
|
414
|
+
if (!params) {
|
|
415
|
+
return;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
if (params.AIAgentInfoList) {
|
|
419
|
+
this.AIAgentInfoList = new Array();
|
|
420
|
+
for (let z in params.AIAgentInfoList) {
|
|
421
|
+
let obj = new AIAgentInfo();
|
|
422
|
+
obj.deserialize(params.AIAgentInfoList[z]);
|
|
423
|
+
this.AIAgentInfoList.push(obj);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
427
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
428
|
+
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
382
432
|
/**
|
|
383
433
|
* DescribeIvrAudioList response structure.
|
|
384
434
|
* @class
|
|
@@ -506,6 +556,49 @@ class DescribePredictiveDialingCampaignsElement extends AbstractModel {
|
|
|
506
556
|
}
|
|
507
557
|
}
|
|
508
558
|
|
|
559
|
+
/**
|
|
560
|
+
* SetStaffStatus response structure.
|
|
561
|
+
* @class
|
|
562
|
+
*/
|
|
563
|
+
class SetStaffStatusResponse extends AbstractModel {
|
|
564
|
+
constructor(){
|
|
565
|
+
super();
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Specifies the agent status response list.
|
|
569
|
+
* @type {Array.<SetStaffStatusRspItem> || null}
|
|
570
|
+
*/
|
|
571
|
+
this.StaffStatusList = null;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* 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.
|
|
575
|
+
* @type {string || null}
|
|
576
|
+
*/
|
|
577
|
+
this.RequestId = null;
|
|
578
|
+
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @private
|
|
583
|
+
*/
|
|
584
|
+
deserialize(params) {
|
|
585
|
+
if (!params) {
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
if (params.StaffStatusList) {
|
|
590
|
+
this.StaffStatusList = new Array();
|
|
591
|
+
for (let z in params.StaffStatusList) {
|
|
592
|
+
let obj = new SetStaffStatusRspItem();
|
|
593
|
+
obj.deserialize(params.StaffStatusList[z]);
|
|
594
|
+
this.StaffStatusList.push(obj);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
598
|
+
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
509
602
|
/**
|
|
510
603
|
* Server controls the chatbot to broadcast specified text.
|
|
511
604
|
* @class
|
|
@@ -750,6 +843,56 @@ class DescribeAutoCalloutTaskRequest extends AbstractModel {
|
|
|
750
843
|
}
|
|
751
844
|
}
|
|
752
845
|
|
|
846
|
+
/**
|
|
847
|
+
* Property of the called.
|
|
848
|
+
* @class
|
|
849
|
+
*/
|
|
850
|
+
class CalleeAttribute extends AbstractModel {
|
|
851
|
+
constructor(){
|
|
852
|
+
super();
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Called number.
|
|
856
|
+
* @type {string || null}
|
|
857
|
+
*/
|
|
858
|
+
this.Callee = null;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Accompanying data.
|
|
862
|
+
* @type {string || null}
|
|
863
|
+
*/
|
|
864
|
+
this.UUI = null;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Parameter.
|
|
868
|
+
* @type {Array.<Variable> || null}
|
|
869
|
+
*/
|
|
870
|
+
this.Variables = null;
|
|
871
|
+
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @private
|
|
876
|
+
*/
|
|
877
|
+
deserialize(params) {
|
|
878
|
+
if (!params) {
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
882
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
883
|
+
|
|
884
|
+
if (params.Variables) {
|
|
885
|
+
this.Variables = new Array();
|
|
886
|
+
for (let z in params.Variables) {
|
|
887
|
+
let obj = new Variable();
|
|
888
|
+
obj.deserialize(params.Variables[z]);
|
|
889
|
+
this.Variables.push(obj);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
753
896
|
/**
|
|
754
897
|
* CreateUserSig response structure.
|
|
755
898
|
* @class
|
|
@@ -1353,6 +1496,41 @@ class CreateCallOutSessionResponse extends AbstractModel {
|
|
|
1353
1496
|
}
|
|
1354
1497
|
}
|
|
1355
1498
|
|
|
1499
|
+
/**
|
|
1500
|
+
* Intelligent agent info.
|
|
1501
|
+
* @class
|
|
1502
|
+
*/
|
|
1503
|
+
class AIAgentInfo extends AbstractModel {
|
|
1504
|
+
constructor(){
|
|
1505
|
+
super();
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Intelligent agent ID.
|
|
1509
|
+
* @type {number || null}
|
|
1510
|
+
*/
|
|
1511
|
+
this.AIAgentId = null;
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Intelligent agent name.
|
|
1515
|
+
* @type {string || null}
|
|
1516
|
+
*/
|
|
1517
|
+
this.AIAgentName = null;
|
|
1518
|
+
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @private
|
|
1523
|
+
*/
|
|
1524
|
+
deserialize(params) {
|
|
1525
|
+
if (!params) {
|
|
1526
|
+
return;
|
|
1527
|
+
}
|
|
1528
|
+
this.AIAgentId = 'AIAgentId' in params ? params.AIAgentId : null;
|
|
1529
|
+
this.AIAgentName = 'AIAgentName' in params ? params.AIAgentName : null;
|
|
1530
|
+
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1356
1534
|
/**
|
|
1357
1535
|
* DisableCCCPhoneNumber request structure.
|
|
1358
1536
|
* @class
|
|
@@ -1544,7 +1722,7 @@ class CreatePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
1544
1722
|
this.Priority = null;
|
|
1545
1723
|
|
|
1546
1724
|
/**
|
|
1547
|
-
* Expected call drop rate
|
|
1725
|
+
* Expected call drop rate. value range: 0-50%.
|
|
1548
1726
|
* @type {number || null}
|
|
1549
1727
|
*/
|
|
1550
1728
|
this.ExpectedAbandonRate = null;
|
|
@@ -3573,13 +3751,13 @@ class CreateAutoCalloutTaskRequest extends AbstractModel {
|
|
|
3573
3751
|
this.Tries = null;
|
|
3574
3752
|
|
|
3575
3753
|
/**
|
|
3576
|
-
* Custom
|
|
3754
|
+
* Custom variable (advanced edition support). using the same variable in the CalleeAttributes field will overwrite here.
|
|
3577
3755
|
* @type {Array.<Variable> || null}
|
|
3578
3756
|
*/
|
|
3579
3757
|
this.Variables = null;
|
|
3580
3758
|
|
|
3581
3759
|
/**
|
|
3582
|
-
* UUI
|
|
3760
|
+
* User-Defined data. specifies that using UUI in the CalleeAttributes field will overwrite here.
|
|
3583
3761
|
* @type {string || null}
|
|
3584
3762
|
*/
|
|
3585
3763
|
this.UUI = null;
|
|
@@ -3965,6 +4143,12 @@ class BindNumberCallInInterfaceRequest extends AbstractModel {
|
|
|
3965
4143
|
*/
|
|
3966
4144
|
this.CallInInterface = null;
|
|
3967
4145
|
|
|
4146
|
+
/**
|
|
4147
|
+
* Bind number type. specifies the type of the bind number. inner: internal number | number: line number.
|
|
4148
|
+
* @type {string || null}
|
|
4149
|
+
*/
|
|
4150
|
+
this.NumberType = null;
|
|
4151
|
+
|
|
3968
4152
|
}
|
|
3969
4153
|
|
|
3970
4154
|
/**
|
|
@@ -3982,6 +4166,7 @@ class BindNumberCallInInterfaceRequest extends AbstractModel {
|
|
|
3982
4166
|
obj.deserialize(params.CallInInterface)
|
|
3983
4167
|
this.CallInInterface = obj;
|
|
3984
4168
|
}
|
|
4169
|
+
this.NumberType = 'NumberType' in params ? params.NumberType : null;
|
|
3985
4170
|
|
|
3986
4171
|
}
|
|
3987
4172
|
}
|
|
@@ -4053,6 +4238,18 @@ class ModifyOwnNumberApplyRequest extends AbstractModel {
|
|
|
4053
4238
|
*/
|
|
4054
4239
|
this.Prefix = null;
|
|
4055
4240
|
|
|
4241
|
+
/**
|
|
4242
|
+
* Domestic long-distance mobile phone prefix.
|
|
4243
|
+
* @type {string || null}
|
|
4244
|
+
*/
|
|
4245
|
+
this.MobileNddPrefix = null;
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* Removes the area code for local calls.
|
|
4249
|
+
* @type {boolean || null}
|
|
4250
|
+
*/
|
|
4251
|
+
this.LocalNumberTrimAC = null;
|
|
4252
|
+
|
|
4056
4253
|
}
|
|
4057
4254
|
|
|
4058
4255
|
/**
|
|
@@ -4074,6 +4271,8 @@ class ModifyOwnNumberApplyRequest extends AbstractModel {
|
|
|
4074
4271
|
}
|
|
4075
4272
|
this.ApplyId = 'ApplyId' in params ? params.ApplyId : null;
|
|
4076
4273
|
this.Prefix = 'Prefix' in params ? params.Prefix : null;
|
|
4274
|
+
this.MobileNddPrefix = 'MobileNddPrefix' in params ? params.MobileNddPrefix : null;
|
|
4275
|
+
this.LocalNumberTrimAC = 'LocalNumberTrimAC' in params ? params.LocalNumberTrimAC : null;
|
|
4077
4276
|
|
|
4078
4277
|
}
|
|
4079
4278
|
}
|
|
@@ -6800,6 +6999,12 @@ class OwnNumberApplyDetailItem extends AbstractModel {
|
|
|
6800
6999
|
*/
|
|
6801
7000
|
this.OutboundCalleeFormat = null;
|
|
6802
7001
|
|
|
7002
|
+
/**
|
|
7003
|
+
* Specifies the carrier number.
|
|
7004
|
+
* @type {string || null}
|
|
7005
|
+
*/
|
|
7006
|
+
this.CarrierPhoneNumber = null;
|
|
7007
|
+
|
|
6803
7008
|
}
|
|
6804
7009
|
|
|
6805
7010
|
/**
|
|
@@ -6814,6 +7019,7 @@ class OwnNumberApplyDetailItem extends AbstractModel {
|
|
|
6814
7019
|
this.MaxCallCount = 'MaxCallCount' in params ? params.MaxCallCount : null;
|
|
6815
7020
|
this.MaxCallPSec = 'MaxCallPSec' in params ? params.MaxCallPSec : null;
|
|
6816
7021
|
this.OutboundCalleeFormat = 'OutboundCalleeFormat' in params ? params.OutboundCalleeFormat : null;
|
|
7022
|
+
this.CarrierPhoneNumber = 'CarrierPhoneNumber' in params ? params.CarrierPhoneNumber : null;
|
|
6817
7023
|
|
|
6818
7024
|
}
|
|
6819
7025
|
}
|
|
@@ -7091,6 +7297,49 @@ class StaffSkillGroupList extends AbstractModel {
|
|
|
7091
7297
|
}
|
|
7092
7298
|
}
|
|
7093
7299
|
|
|
7300
|
+
/**
|
|
7301
|
+
* SetStaffStatus request structure.
|
|
7302
|
+
* @class
|
|
7303
|
+
*/
|
|
7304
|
+
class SetStaffStatusRequest extends AbstractModel {
|
|
7305
|
+
constructor(){
|
|
7306
|
+
super();
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* App ID (required). can be checked at https://console.cloud.tencent.com/ccc.
|
|
7310
|
+
* @type {number || null}
|
|
7311
|
+
*/
|
|
7312
|
+
this.SdkAppId = null;
|
|
7313
|
+
|
|
7314
|
+
/**
|
|
7315
|
+
* Sets the agent status list. maximum number 10.
|
|
7316
|
+
* @type {Array.<SetStaffStatusItem> || null}
|
|
7317
|
+
*/
|
|
7318
|
+
this.StaffStatusList = null;
|
|
7319
|
+
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7322
|
+
/**
|
|
7323
|
+
* @private
|
|
7324
|
+
*/
|
|
7325
|
+
deserialize(params) {
|
|
7326
|
+
if (!params) {
|
|
7327
|
+
return;
|
|
7328
|
+
}
|
|
7329
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
7330
|
+
|
|
7331
|
+
if (params.StaffStatusList) {
|
|
7332
|
+
this.StaffStatusList = new Array();
|
|
7333
|
+
for (let z in params.StaffStatusList) {
|
|
7334
|
+
let obj = new SetStaffStatusItem();
|
|
7335
|
+
obj.deserialize(params.StaffStatusList[z]);
|
|
7336
|
+
this.StaffStatusList.push(obj);
|
|
7337
|
+
}
|
|
7338
|
+
}
|
|
7339
|
+
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
|
|
7094
7343
|
/**
|
|
7095
7344
|
* ResetExtensionPassword response structure.
|
|
7096
7345
|
* @class
|
|
@@ -7795,58 +8044,79 @@ class TelCdrInfo extends AbstractModel {
|
|
|
7795
8044
|
/**
|
|
7796
8045
|
* EndStatus corresponds one-to-one with EndStatusString. the specific enumeration is as follows:.
|
|
7797
8046
|
|
|
7798
|
-
**Scenario
|
|
8047
|
+
**Scenario** EndStatus EndStatusString Status description.
|
|
7799
8048
|
|
|
7800
|
-
Incoming
|
|
8049
|
+
Incoming & outgoing calls. 1. ok. normal call.
|
|
7801
8050
|
|
|
7802
|
-
|
|
8051
|
+
IVR period user give up.
|
|
7803
8052
|
|
|
7804
|
-
|
|
8053
|
+
**User give up while in queue**.
|
|
7805
8054
|
|
|
7806
|
-
Inbound call
|
|
8055
|
+
Inbound call 104 ringingGiveUp. specifies the user gives up during ringing.
|
|
7807
8056
|
|
|
7808
|
-
Inbound call
|
|
8057
|
+
Inbound call 105. specifies no agent online.
|
|
7809
8058
|
|
|
7810
|
-
Inbound call
|
|
8059
|
+
Inbound call notWorkTime **off hours**.
|
|
7811
8060
|
|
|
7812
|
-
|
|
8061
|
+
IVR ends automatically (no manual intervention).
|
|
7813
8062
|
|
|
7814
|
-
Inbound call
|
|
8063
|
+
Inbound call. 100. blocklist (system side).
|
|
7815
8064
|
|
|
7816
|
-
|
|
8065
|
+
restrictedCallee. specifies the global outbound call risk number interception (system side).
|
|
7817
8066
|
|
|
7818
|
-
Outbound call
|
|
8067
|
+
Outbound call 109 tooManyRequest **outbound call frequency control interception (system side)**.
|
|
7819
8068
|
|
|
7820
|
-
|
|
8069
|
+
Outbound call 110 restrictedArea **block outgoing calls by region (system side)**.
|
|
7821
8070
|
|
|
7822
|
-
|
|
8071
|
+
restrictedTime. specifies the outbound call interception period on the system side.
|
|
8072
|
+
|
|
8073
|
+
202 notAnswer **callee unanswered**.
|
|
7823
8074
|
|
|
7824
|
-
|
|
8075
|
+
Outbound call 203 userReject **callee reject hangup**.
|
|
7825
8076
|
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
8077
|
+
Power off. **callee powered off**.
|
|
8078
|
+
|
|
8079
|
+
205 numberNotExist **callee nonexistent number**.
|
|
7829
8080
|
|
|
7830
|
-
|
|
8081
|
+
Busy. specifies the callee is busy.
|
|
7831
8082
|
|
|
7832
|
-
|
|
8083
|
+
Outbound call 207 outOfCredit **callee in arrears**.
|
|
7833
8084
|
|
|
7834
|
-
|
|
8085
|
+
208 operatorError indicates operator channel exception.
|
|
7835
8086
|
|
|
7836
|
-
|
|
8087
|
+
Outgoing call caller cancellation.
|
|
7837
8088
|
|
|
7838
|
-
|
|
8089
|
+
Outgoing call 210 notInService **callee out of service area**.
|
|
7839
8090
|
|
|
7840
|
-
|
|
8091
|
+
Phone call in/out 211 clientError **client error**.
|
|
7841
8092
|
|
|
7842
|
-
|
|
8093
|
+
Outgoing call 212 carrierBlocked **carrier blocklist**.
|
|
7843
8094
|
|
|
7844
|
-
|
|
8095
|
+
Note: call reminder.
|
|
7845
8096
|
|
|
7846
|
-
|
|
8097
|
+
Outbound call 215 numberInvalid **called number is invalid**.
|
|
7847
8098
|
|
|
7848
|
-
|
|
7849
|
-
|
|
8099
|
+
Outbound call 216 callRestricted. note: call restricted.
|
|
8100
|
+
|
|
8101
|
+
Callee restricted by blocklist.
|
|
8102
|
+
|
|
8103
|
+
Outbound call 218 areaRestricted. **callee area restricted**.
|
|
8104
|
+
|
|
8105
|
+
Prompt call forwarding.
|
|
8106
|
+
|
|
8107
|
+
Caller cancellation during ringing.
|
|
8108
|
+
|
|
8109
|
+
Caller cancel without ring.
|
|
8110
|
+
|
|
8111
|
+
Audio dial-in 501 call conflict **VoIP user call termination**.
|
|
8112
|
+
|
|
8113
|
+
VoIP user client timeout.
|
|
8114
|
+
|
|
8115
|
+
Audio dial-in 503 VoIP user client error.
|
|
8116
|
+
|
|
8117
|
+
Chinese description (https://www.tencentcloud.com/zh/document/product/1229/71847).
|
|
8118
|
+
|
|
8119
|
+
English description (https://www.tencentcloud.com/document/product/1229/71847?lang=en).
|
|
7850
8120
|
* @type {number || null}
|
|
7851
8121
|
*/
|
|
7852
8122
|
this.EndStatus = null;
|
|
@@ -7912,60 +8182,7 @@ Outbound call 212 carrier blocked.
|
|
|
7912
8182
|
this.SkillGroupId = null;
|
|
7913
8183
|
|
|
7914
8184
|
/**
|
|
7915
|
-
*
|
|
7916
|
-
|
|
7917
|
-
**Scenario EndStatus EndStatusString status description**.
|
|
7918
|
-
|
|
7919
|
-
Incoming and outgoing calls.
|
|
7920
|
-
|
|
7921
|
-
Incoming and outgoing calls 0 error exception termination.
|
|
7922
|
-
|
|
7923
|
-
Inbound call 102 ivrGiveUp user hang up during IVR.
|
|
7924
|
-
|
|
7925
|
-
Inbound call 103 waitingGiveUp user gives up while queuing.
|
|
7926
|
-
|
|
7927
|
-
Inbound call 104 ringingGiveUp user give up during ringing.
|
|
7928
|
-
|
|
7929
|
-
Inbound call 105 no agent online.
|
|
7930
|
-
|
|
7931
|
-
Inbound call 106 notWorkTime outside working hours.
|
|
7932
|
-
|
|
7933
|
-
Inbound call 107 ivrEnd ends after IVR.
|
|
7934
|
-
|
|
7935
|
-
Inbound call 100 blackList.
|
|
7936
|
-
|
|
7937
|
-
Outbound call 2 unconnected unanswered.
|
|
7938
|
-
|
|
7939
|
-
Outgoing call 108 restrictedCallee the callee is restricted due to high risk.
|
|
7940
|
-
|
|
7941
|
-
Outbound call 109 too many requests outbound over-frequency limit.
|
|
7942
|
-
|
|
7943
|
-
Outgoing call 110 restrictedArea valid values for the area where outgoing calls are restricted.
|
|
7944
|
-
|
|
7945
|
-
Outbound call 111 restrictedTime outgoing call time limit.
|
|
7946
|
-
|
|
7947
|
-
Outgoing call 201 unknown unknown status.
|
|
7948
|
-
|
|
7949
|
-
Outgoing call 202 notAnswer callee not answered.
|
|
7950
|
-
|
|
7951
|
-
Outgoing call 203 userReject callee rejects and hangs up.
|
|
7952
|
-
|
|
7953
|
-
Outbound call 204 powerOff callee is powered off.
|
|
7954
|
-
|
|
7955
|
-
Outbound call 205 number does not exist the callee's number is non - existent.
|
|
7956
|
-
|
|
7957
|
-
Outgoing call 206 busy callee is busy.
|
|
7958
|
-
|
|
7959
|
-
Outbound call 207 out of credit callee in arrears.
|
|
7960
|
-
|
|
7961
|
-
Outbound call 208 operator channel exception.
|
|
7962
|
-
|
|
7963
|
-
Outgoing call 209 callerCancel call cancellation by the caller.
|
|
7964
|
-
|
|
7965
|
-
Outgoing call 210 notInService callee out of service area.
|
|
7966
|
-
|
|
7967
|
-
Incoming and outgoing calls 211 clientError client errors.
|
|
7968
|
-
Outbound call 212 carrier blocked.
|
|
8185
|
+
* Refers to the EndStatus field.
|
|
7969
8186
|
* @type {string || null}
|
|
7970
8187
|
*/
|
|
7971
8188
|
this.EndStatusString = null;
|
|
@@ -8433,9 +8650,10 @@ class ControlAIConversationRequest extends AbstractModel {
|
|
|
8433
8650
|
this.SdkAppId = null;
|
|
8434
8651
|
|
|
8435
8652
|
/**
|
|
8436
|
-
* Control command. currently
|
|
8653
|
+
* Control command. currently supported commands are as follows:.
|
|
8437
8654
|
|
|
8438
|
-
-ServerPushText. specifies the text sent by the server to the AI robot
|
|
8655
|
+
-ServerPushText. specifies the text sent by the server to the AI robot for broadcast.
|
|
8656
|
+
-InvokeLLM. specifies the server sends text to the large model to trigger a dialogue.
|
|
8439
8657
|
* @type {string || null}
|
|
8440
8658
|
*/
|
|
8441
8659
|
this.Command = null;
|
|
@@ -8446,6 +8664,12 @@ class ControlAIConversationRequest extends AbstractModel {
|
|
|
8446
8664
|
*/
|
|
8447
8665
|
this.ServerPushText = null;
|
|
8448
8666
|
|
|
8667
|
+
/**
|
|
8668
|
+
* The server sends a Command to proactively request the large model. when Command is InvokeLLM, it sends the content to the large model and adds X-Invoke-LLM="1" to the header.
|
|
8669
|
+
* @type {InvokeLLM || null}
|
|
8670
|
+
*/
|
|
8671
|
+
this.InvokeLLM = null;
|
|
8672
|
+
|
|
8449
8673
|
}
|
|
8450
8674
|
|
|
8451
8675
|
/**
|
|
@@ -8465,6 +8689,12 @@ class ControlAIConversationRequest extends AbstractModel {
|
|
|
8465
8689
|
this.ServerPushText = obj;
|
|
8466
8690
|
}
|
|
8467
8691
|
|
|
8692
|
+
if (params.InvokeLLM) {
|
|
8693
|
+
let obj = new InvokeLLM();
|
|
8694
|
+
obj.deserialize(params.InvokeLLM)
|
|
8695
|
+
this.InvokeLLM = obj;
|
|
8696
|
+
}
|
|
8697
|
+
|
|
8468
8698
|
}
|
|
8469
8699
|
}
|
|
8470
8700
|
|
|
@@ -8736,6 +8966,48 @@ class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
8736
8966
|
}
|
|
8737
8967
|
}
|
|
8738
8968
|
|
|
8969
|
+
/**
|
|
8970
|
+
* Describes the information item for creating a staff.
|
|
8971
|
+
* @class
|
|
8972
|
+
*/
|
|
8973
|
+
class SetStaffStatusItem extends AbstractModel {
|
|
8974
|
+
constructor(){
|
|
8975
|
+
super();
|
|
8976
|
+
|
|
8977
|
+
/**
|
|
8978
|
+
* Agent account.
|
|
8979
|
+
* @type {string || null}
|
|
8980
|
+
*/
|
|
8981
|
+
this.StaffUserId = null;
|
|
8982
|
+
|
|
8983
|
+
/**
|
|
8984
|
+
* Status. specifies the instance status. valid values: free (idle), notReady (busy), rest (short break).
|
|
8985
|
+
* @type {string || null}
|
|
8986
|
+
*/
|
|
8987
|
+
this.Status = null;
|
|
8988
|
+
|
|
8989
|
+
/**
|
|
8990
|
+
* Specifies the reason if the break state is set.
|
|
8991
|
+
* @type {string || null}
|
|
8992
|
+
*/
|
|
8993
|
+
this.Reason = null;
|
|
8994
|
+
|
|
8995
|
+
}
|
|
8996
|
+
|
|
8997
|
+
/**
|
|
8998
|
+
* @private
|
|
8999
|
+
*/
|
|
9000
|
+
deserialize(params) {
|
|
9001
|
+
if (!params) {
|
|
9002
|
+
return;
|
|
9003
|
+
}
|
|
9004
|
+
this.StaffUserId = 'StaffUserId' in params ? params.StaffUserId : null;
|
|
9005
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
9006
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
9007
|
+
|
|
9008
|
+
}
|
|
9009
|
+
}
|
|
9010
|
+
|
|
8739
9011
|
/**
|
|
8740
9012
|
* DescribeCallInMetrics response structure.
|
|
8741
9013
|
* @class
|
|
@@ -8981,6 +9253,41 @@ class CreateIVRSessionResponse extends AbstractModel {
|
|
|
8981
9253
|
}
|
|
8982
9254
|
}
|
|
8983
9255
|
|
|
9256
|
+
/**
|
|
9257
|
+
* Service invocation actively initiates requests to the LLM.
|
|
9258
|
+
* @class
|
|
9259
|
+
*/
|
|
9260
|
+
class InvokeLLM extends AbstractModel {
|
|
9261
|
+
constructor(){
|
|
9262
|
+
super();
|
|
9263
|
+
|
|
9264
|
+
/**
|
|
9265
|
+
* Specifies the content of the LLM request.
|
|
9266
|
+
* @type {string || null}
|
|
9267
|
+
*/
|
|
9268
|
+
this.Content = null;
|
|
9269
|
+
|
|
9270
|
+
/**
|
|
9271
|
+
* Whether the text is allowed to interrupt the robot speaking.
|
|
9272
|
+
* @type {boolean || null}
|
|
9273
|
+
*/
|
|
9274
|
+
this.Interrupt = null;
|
|
9275
|
+
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9278
|
+
/**
|
|
9279
|
+
* @private
|
|
9280
|
+
*/
|
|
9281
|
+
deserialize(params) {
|
|
9282
|
+
if (!params) {
|
|
9283
|
+
return;
|
|
9284
|
+
}
|
|
9285
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
9286
|
+
this.Interrupt = 'Interrupt' in params ? params.Interrupt : null;
|
|
9287
|
+
|
|
9288
|
+
}
|
|
9289
|
+
}
|
|
9290
|
+
|
|
8984
9291
|
/**
|
|
8985
9292
|
* HangUpCall request structure.
|
|
8986
9293
|
* @class
|
|
@@ -9201,30 +9508,30 @@ class DeleteStaffResponse extends AbstractModel {
|
|
|
9201
9508
|
}
|
|
9202
9509
|
|
|
9203
9510
|
/**
|
|
9204
|
-
*
|
|
9511
|
+
* DescribeAIAgentInfoList request structure.
|
|
9205
9512
|
* @class
|
|
9206
9513
|
*/
|
|
9207
|
-
class
|
|
9514
|
+
class DescribeAIAgentInfoListRequest extends AbstractModel {
|
|
9208
9515
|
constructor(){
|
|
9209
9516
|
super();
|
|
9210
9517
|
|
|
9211
9518
|
/**
|
|
9212
|
-
*
|
|
9213
|
-
* @type {
|
|
9519
|
+
* App ID (required). can be viewed at https://console.cloud.tencent.com/ccc.
|
|
9520
|
+
* @type {number || null}
|
|
9214
9521
|
*/
|
|
9215
|
-
this.
|
|
9522
|
+
this.SdkAppId = null;
|
|
9216
9523
|
|
|
9217
9524
|
/**
|
|
9218
|
-
*
|
|
9219
|
-
* @type {
|
|
9525
|
+
* Pagination size, upper limit 100.
|
|
9526
|
+
* @type {number || null}
|
|
9220
9527
|
*/
|
|
9221
|
-
this.
|
|
9528
|
+
this.PageSize = null;
|
|
9222
9529
|
|
|
9223
9530
|
/**
|
|
9224
|
-
*
|
|
9225
|
-
* @type {
|
|
9531
|
+
* Page number, starting from 0.
|
|
9532
|
+
* @type {number || null}
|
|
9226
9533
|
*/
|
|
9227
|
-
this.
|
|
9534
|
+
this.PageNumber = null;
|
|
9228
9535
|
|
|
9229
9536
|
}
|
|
9230
9537
|
|
|
@@ -9235,17 +9542,9 @@ class CalleeAttribute extends AbstractModel {
|
|
|
9235
9542
|
if (!params) {
|
|
9236
9543
|
return;
|
|
9237
9544
|
}
|
|
9238
|
-
this.
|
|
9239
|
-
this.
|
|
9240
|
-
|
|
9241
|
-
if (params.Variables) {
|
|
9242
|
-
this.Variables = new Array();
|
|
9243
|
-
for (let z in params.Variables) {
|
|
9244
|
-
let obj = new Variable();
|
|
9245
|
-
obj.deserialize(params.Variables[z]);
|
|
9246
|
-
this.Variables.push(obj);
|
|
9247
|
-
}
|
|
9248
|
-
}
|
|
9545
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
9546
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
9547
|
+
this.PageNumber = 'PageNumber' in params ? params.PageNumber : null;
|
|
9249
9548
|
|
|
9250
9549
|
}
|
|
9251
9550
|
}
|
|
@@ -9664,6 +9963,24 @@ class StaffStatus extends AbstractModel {
|
|
|
9664
9963
|
*/
|
|
9665
9964
|
this.SessionId = null;
|
|
9666
9965
|
|
|
9966
|
+
/**
|
|
9967
|
+
* Reason for break.
|
|
9968
|
+
* @type {string || null}
|
|
9969
|
+
*/
|
|
9970
|
+
this.Reason = null;
|
|
9971
|
+
|
|
9972
|
+
/**
|
|
9973
|
+
* Agent email.
|
|
9974
|
+
* @type {string || null}
|
|
9975
|
+
*/
|
|
9976
|
+
this.StaffEmail = null;
|
|
9977
|
+
|
|
9978
|
+
/**
|
|
9979
|
+
* Agent id.
|
|
9980
|
+
* @type {string || null}
|
|
9981
|
+
*/
|
|
9982
|
+
this.StaffNo = null;
|
|
9983
|
+
|
|
9667
9984
|
}
|
|
9668
9985
|
|
|
9669
9986
|
/**
|
|
@@ -9677,6 +9994,9 @@ class StaffStatus extends AbstractModel {
|
|
|
9677
9994
|
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
9678
9995
|
this.Status = 'Status' in params ? params.Status : null;
|
|
9679
9996
|
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
9997
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
9998
|
+
this.StaffEmail = 'StaffEmail' in params ? params.StaffEmail : null;
|
|
9999
|
+
this.StaffNo = 'StaffNo' in params ? params.StaffNo : null;
|
|
9680
10000
|
|
|
9681
10001
|
}
|
|
9682
10002
|
}
|
|
@@ -9800,6 +10120,76 @@ class DescribeTelSessionResponse extends AbstractModel {
|
|
|
9800
10120
|
}
|
|
9801
10121
|
}
|
|
9802
10122
|
|
|
10123
|
+
/**
|
|
10124
|
+
* Specifies the staff status response item.
|
|
10125
|
+
* @class
|
|
10126
|
+
*/
|
|
10127
|
+
class SetStaffStatusRspItem extends AbstractModel {
|
|
10128
|
+
constructor(){
|
|
10129
|
+
super();
|
|
10130
|
+
|
|
10131
|
+
/**
|
|
10132
|
+
* Agent account.
|
|
10133
|
+
* @type {string || null}
|
|
10134
|
+
*/
|
|
10135
|
+
this.StaffUserId = null;
|
|
10136
|
+
|
|
10137
|
+
/**
|
|
10138
|
+
* Error code. see the overall error code in the protocol.
|
|
10139
|
+
* @type {string || null}
|
|
10140
|
+
*/
|
|
10141
|
+
this.ErrorCode = null;
|
|
10142
|
+
|
|
10143
|
+
/**
|
|
10144
|
+
* Error message.
|
|
10145
|
+
* @type {string || null}
|
|
10146
|
+
*/
|
|
10147
|
+
this.ErrorMessage = null;
|
|
10148
|
+
|
|
10149
|
+
/**
|
|
10150
|
+
* Current status.
|
|
10151
|
+
* @type {string || null}
|
|
10152
|
+
*/
|
|
10153
|
+
this.Status = null;
|
|
10154
|
+
|
|
10155
|
+
/**
|
|
10156
|
+
* Status if it is on break. specifies the reason.
|
|
10157
|
+
* @type {string || null}
|
|
10158
|
+
*/
|
|
10159
|
+
this.Reason = null;
|
|
10160
|
+
|
|
10161
|
+
/**
|
|
10162
|
+
* Previous status.
|
|
10163
|
+
* @type {string || null}
|
|
10164
|
+
*/
|
|
10165
|
+
this.PreviousStatus = null;
|
|
10166
|
+
|
|
10167
|
+
/**
|
|
10168
|
+
* If the earlier status is on break, this is the reason.
|
|
10169
|
+
* @type {string || null}
|
|
10170
|
+
*/
|
|
10171
|
+
this.PreviousReason = null;
|
|
10172
|
+
|
|
10173
|
+
}
|
|
10174
|
+
|
|
10175
|
+
/**
|
|
10176
|
+
* @private
|
|
10177
|
+
*/
|
|
10178
|
+
deserialize(params) {
|
|
10179
|
+
if (!params) {
|
|
10180
|
+
return;
|
|
10181
|
+
}
|
|
10182
|
+
this.StaffUserId = 'StaffUserId' in params ? params.StaffUserId : null;
|
|
10183
|
+
this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
|
|
10184
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
10185
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
10186
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
10187
|
+
this.PreviousStatus = 'PreviousStatus' in params ? params.PreviousStatus : null;
|
|
10188
|
+
this.PreviousReason = 'PreviousReason' in params ? params.PreviousReason : null;
|
|
10189
|
+
|
|
10190
|
+
}
|
|
10191
|
+
}
|
|
10192
|
+
|
|
9803
10193
|
/**
|
|
9804
10194
|
* CreateAdminURL request structure.
|
|
9805
10195
|
* @class
|
|
@@ -10459,6 +10849,18 @@ class CreateOwnNumberApplyRequest extends AbstractModel {
|
|
|
10459
10849
|
*/
|
|
10460
10850
|
this.Prefix = null;
|
|
10461
10851
|
|
|
10852
|
+
/**
|
|
10853
|
+
* Domestic long-distance mobile phone prefix.
|
|
10854
|
+
* @type {string || null}
|
|
10855
|
+
*/
|
|
10856
|
+
this.MobileNddPrefix = null;
|
|
10857
|
+
|
|
10858
|
+
/**
|
|
10859
|
+
* Removes the area code for local calls.
|
|
10860
|
+
* @type {boolean || null}
|
|
10861
|
+
*/
|
|
10862
|
+
this.LocalNumberTrimAC = null;
|
|
10863
|
+
|
|
10462
10864
|
}
|
|
10463
10865
|
|
|
10464
10866
|
/**
|
|
@@ -10480,6 +10882,8 @@ class CreateOwnNumberApplyRequest extends AbstractModel {
|
|
|
10480
10882
|
}
|
|
10481
10883
|
}
|
|
10482
10884
|
this.Prefix = 'Prefix' in params ? params.Prefix : null;
|
|
10885
|
+
this.MobileNddPrefix = 'MobileNddPrefix' in params ? params.MobileNddPrefix : null;
|
|
10886
|
+
this.LocalNumberTrimAC = 'LocalNumberTrimAC' in params ? params.LocalNumberTrimAC : null;
|
|
10483
10887
|
|
|
10484
10888
|
}
|
|
10485
10889
|
}
|
|
@@ -10639,18 +11043,22 @@ module.exports = {
|
|
|
10639
11043
|
EventStaffElement: EventStaffElement,
|
|
10640
11044
|
CreateSDKLoginTokenResponse: CreateSDKLoginTokenResponse,
|
|
10641
11045
|
ModifyStaffRequest: ModifyStaffRequest,
|
|
11046
|
+
DescribeAIAgentInfoListResponse: DescribeAIAgentInfoListResponse,
|
|
10642
11047
|
DescribeIvrAudioListResponse: DescribeIvrAudioListResponse,
|
|
10643
11048
|
DescribePredictiveDialingCampaignsElement: DescribePredictiveDialingCampaignsElement,
|
|
11049
|
+
SetStaffStatusResponse: SetStaffStatusResponse,
|
|
10644
11050
|
ServerPushText: ServerPushText,
|
|
10645
11051
|
ResetExtensionPasswordRequest: ResetExtensionPasswordRequest,
|
|
10646
11052
|
DisableCCCPhoneNumberResponse: DisableCCCPhoneNumberResponse,
|
|
10647
11053
|
DescribeProtectedTelCdrResponse: DescribeProtectedTelCdrResponse,
|
|
10648
11054
|
DescribeAutoCalloutTaskRequest: DescribeAutoCalloutTaskRequest,
|
|
11055
|
+
CalleeAttribute: CalleeAttribute,
|
|
10649
11056
|
CreateUserSigResponse: CreateUserSigResponse,
|
|
10650
11057
|
CreateAICallRequest: CreateAICallRequest,
|
|
10651
11058
|
CreateAdminURLResponse: CreateAdminURLResponse,
|
|
10652
11059
|
PausePredictiveDialingCampaignRequest: PausePredictiveDialingCampaignRequest,
|
|
10653
11060
|
CreateCallOutSessionResponse: CreateCallOutSessionResponse,
|
|
11061
|
+
AIAgentInfo: AIAgentInfo,
|
|
10654
11062
|
DisableCCCPhoneNumberRequest: DisableCCCPhoneNumberRequest,
|
|
10655
11063
|
ModifyStaffPasswordResponse: ModifyStaffPasswordResponse,
|
|
10656
11064
|
ControlAIConversationResponse: ControlAIConversationResponse,
|
|
@@ -10754,6 +11162,7 @@ module.exports = {
|
|
|
10754
11162
|
CallInNumberMetrics: CallInNumberMetrics,
|
|
10755
11163
|
CreateExtensionRequest: CreateExtensionRequest,
|
|
10756
11164
|
StaffSkillGroupList: StaffSkillGroupList,
|
|
11165
|
+
SetStaffStatusRequest: SetStaffStatusRequest,
|
|
10757
11166
|
ResetExtensionPasswordResponse: ResetExtensionPasswordResponse,
|
|
10758
11167
|
ForwardingTarget: ForwardingTarget,
|
|
10759
11168
|
ForwardingConfig: ForwardingConfig,
|
|
@@ -10783,16 +11192,18 @@ module.exports = {
|
|
|
10783
11192
|
CreateAgentCruiseDialingCampaignResponse: CreateAgentCruiseDialingCampaignResponse,
|
|
10784
11193
|
ModifyOwnNumberApplyResponse: ModifyOwnNumberApplyResponse,
|
|
10785
11194
|
UnbindStaffSkillGroupListRequest: UnbindStaffSkillGroupListRequest,
|
|
11195
|
+
SetStaffStatusItem: SetStaffStatusItem,
|
|
10786
11196
|
DescribeCallInMetricsResponse: DescribeCallInMetricsResponse,
|
|
10787
11197
|
DescribeAgentCruiseDialingCampaignResponse: DescribeAgentCruiseDialingCampaignResponse,
|
|
10788
11198
|
CreateAICallResponse: CreateAICallResponse,
|
|
10789
11199
|
CreateIVRSessionResponse: CreateIVRSessionResponse,
|
|
11200
|
+
InvokeLLM: InvokeLLM,
|
|
10790
11201
|
HangUpCallRequest: HangUpCallRequest,
|
|
10791
11202
|
ClientInfo: ClientInfo,
|
|
10792
11203
|
DescribeTelCdrResponse: DescribeTelCdrResponse,
|
|
10793
11204
|
DescribeStaffStatusMetricsRequest: DescribeStaffStatusMetricsRequest,
|
|
10794
11205
|
DeleteStaffResponse: DeleteStaffResponse,
|
|
10795
|
-
|
|
11206
|
+
DescribeAIAgentInfoListRequest: DescribeAIAgentInfoListRequest,
|
|
10796
11207
|
StaffStatusExtra: StaffStatusExtra,
|
|
10797
11208
|
DescribeStaffStatusHistoryRequest: DescribeStaffStatusHistoryRequest,
|
|
10798
11209
|
CreateStaffRequest: CreateStaffRequest,
|
|
@@ -10804,6 +11215,7 @@ module.exports = {
|
|
|
10804
11215
|
AIAnalysisResult: AIAnalysisResult,
|
|
10805
11216
|
DescribeAutoCalloutTasksRequest: DescribeAutoCalloutTasksRequest,
|
|
10806
11217
|
DescribeTelSessionResponse: DescribeTelSessionResponse,
|
|
11218
|
+
SetStaffStatusRspItem: SetStaffStatusRspItem,
|
|
10807
11219
|
CreateAdminURLRequest: CreateAdminURLRequest,
|
|
10808
11220
|
DescribeAutoCalloutTaskResponse: DescribeAutoCalloutTaskResponse,
|
|
10809
11221
|
DescribeStaffStatusMetricsResponse: DescribeStaffStatusMetricsResponse,
|