tencentcloud-sdk-nodejs-intl-en 3.0.1014 → 3.0.1015
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 +106 -12
- package/tencentcloud/ccc/v20200210/models.js +1307 -370
- package/tencentcloud/cdwdoris/v20211228/models.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/kms/v20190118/models.js +1 -1
- package/tencentcloud/mdc/v20200828/mdc_client.js +19 -6
- package/tencentcloud/mdc/v20200828/models.js +151 -33
|
@@ -86,6 +86,77 @@ class StopAutoCalloutTaskRequest extends AbstractModel {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* CreateIVRSession request structure.
|
|
91
|
+
* @class
|
|
92
|
+
*/
|
|
93
|
+
class CreateIVRSessionRequest extends AbstractModel {
|
|
94
|
+
constructor(){
|
|
95
|
+
super();
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
99
|
+
* @type {number || null}
|
|
100
|
+
*/
|
|
101
|
+
this.SdkAppId = null;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Called.
|
|
105
|
+
* @type {string || null}
|
|
106
|
+
*/
|
|
107
|
+
this.Callee = null;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Specified IVR Id. Currently, it supports inbound and automatic outbound types
|
|
111
|
+
* @type {number || null}
|
|
112
|
+
*/
|
|
113
|
+
this.IVRId = null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* List of calling numbers.
|
|
117
|
+
* @type {Array.<string> || null}
|
|
118
|
+
*/
|
|
119
|
+
this.Callers = null;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Custom variable
|
|
123
|
+
* @type {Array.<Variable> || null}
|
|
124
|
+
*/
|
|
125
|
+
this.Variables = null;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* User Data
|
|
129
|
+
* @type {string || null}
|
|
130
|
+
*/
|
|
131
|
+
this.UUI = null;
|
|
132
|
+
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @private
|
|
137
|
+
*/
|
|
138
|
+
deserialize(params) {
|
|
139
|
+
if (!params) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
143
|
+
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
144
|
+
this.IVRId = 'IVRId' in params ? params.IVRId : null;
|
|
145
|
+
this.Callers = 'Callers' in params ? params.Callers : null;
|
|
146
|
+
|
|
147
|
+
if (params.Variables) {
|
|
148
|
+
this.Variables = new Array();
|
|
149
|
+
for (let z in params.Variables) {
|
|
150
|
+
let obj = new Variable();
|
|
151
|
+
obj.deserialize(params.Variables[z]);
|
|
152
|
+
this.Variables.push(obj);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
89
160
|
/**
|
|
90
161
|
* HangUpCall request structure.
|
|
91
162
|
* @class
|
|
@@ -208,6 +279,12 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
208
279
|
*/
|
|
209
280
|
this.Nick = null;
|
|
210
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Agent ID
|
|
284
|
+
* @type {string || null}
|
|
285
|
+
*/
|
|
286
|
+
this.StaffNo = null;
|
|
287
|
+
|
|
211
288
|
/**
|
|
212
289
|
* Bind skill group ID list.
|
|
213
290
|
* @type {Array.<number> || null}
|
|
@@ -240,6 +317,7 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
240
317
|
this.Name = 'Name' in params ? params.Name : null;
|
|
241
318
|
this.Phone = 'Phone' in params ? params.Phone : null;
|
|
242
319
|
this.Nick = 'Nick' in params ? params.Nick : null;
|
|
320
|
+
this.StaffNo = 'StaffNo' in params ? params.StaffNo : null;
|
|
243
321
|
this.SkillGroupIds = 'SkillGroupIds' in params ? params.SkillGroupIds : null;
|
|
244
322
|
this.UseMobileCallOut = 'UseMobileCallOut' in params ? params.UseMobileCallOut : null;
|
|
245
323
|
this.UseMobileAccept = 'UseMobileAccept' in params ? params.UseMobileAccept : null;
|
|
@@ -247,6 +325,56 @@ class ModifyStaffRequest extends AbstractModel {
|
|
|
247
325
|
}
|
|
248
326
|
}
|
|
249
327
|
|
|
328
|
+
/**
|
|
329
|
+
* DescribeIvrAudioList response structure.
|
|
330
|
+
* @class
|
|
331
|
+
*/
|
|
332
|
+
class DescribeIvrAudioListResponse extends AbstractModel {
|
|
333
|
+
constructor(){
|
|
334
|
+
super();
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Total number
|
|
338
|
+
* @type {number || null}
|
|
339
|
+
*/
|
|
340
|
+
this.TotalCount = null;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* File Information
|
|
344
|
+
* @type {Array.<AudioFileInfo> || null}
|
|
345
|
+
*/
|
|
346
|
+
this.FileInfo = null;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* 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.
|
|
350
|
+
* @type {string || null}
|
|
351
|
+
*/
|
|
352
|
+
this.RequestId = null;
|
|
353
|
+
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @private
|
|
358
|
+
*/
|
|
359
|
+
deserialize(params) {
|
|
360
|
+
if (!params) {
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
364
|
+
|
|
365
|
+
if (params.FileInfo) {
|
|
366
|
+
this.FileInfo = new Array();
|
|
367
|
+
for (let z in params.FileInfo) {
|
|
368
|
+
let obj = new AudioFileInfo();
|
|
369
|
+
obj.deserialize(params.FileInfo[z]);
|
|
370
|
+
this.FileInfo.push(obj);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
374
|
+
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
250
378
|
/**
|
|
251
379
|
* BindNumberCallOutSkillGroup response structure.
|
|
252
380
|
* @class
|
|
@@ -585,6 +713,34 @@ class DisableCCCPhoneNumberRequest extends AbstractModel {
|
|
|
585
713
|
}
|
|
586
714
|
}
|
|
587
715
|
|
|
716
|
+
/**
|
|
717
|
+
* ModifyStaffPassword response structure.
|
|
718
|
+
* @class
|
|
719
|
+
*/
|
|
720
|
+
class ModifyStaffPasswordResponse extends AbstractModel {
|
|
721
|
+
constructor(){
|
|
722
|
+
super();
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* 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.
|
|
726
|
+
* @type {string || null}
|
|
727
|
+
*/
|
|
728
|
+
this.RequestId = null;
|
|
729
|
+
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* @private
|
|
734
|
+
*/
|
|
735
|
+
deserialize(params) {
|
|
736
|
+
if (!params) {
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
740
|
+
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
588
744
|
/**
|
|
589
745
|
* CreatePredictiveDialingCampaign request structure.
|
|
590
746
|
* @class
|
|
@@ -697,6 +853,34 @@ class CreatePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
697
853
|
}
|
|
698
854
|
}
|
|
699
855
|
|
|
856
|
+
/**
|
|
857
|
+
* AbortAgentCruiseDialingCampaign response structure.
|
|
858
|
+
* @class
|
|
859
|
+
*/
|
|
860
|
+
class AbortAgentCruiseDialingCampaignResponse extends AbstractModel {
|
|
861
|
+
constructor(){
|
|
862
|
+
super();
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 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.
|
|
866
|
+
* @type {string || null}
|
|
867
|
+
*/
|
|
868
|
+
this.RequestId = null;
|
|
869
|
+
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* @private
|
|
874
|
+
*/
|
|
875
|
+
deserialize(params) {
|
|
876
|
+
if (!params) {
|
|
877
|
+
return;
|
|
878
|
+
}
|
|
879
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
880
|
+
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
|
|
700
884
|
/**
|
|
701
885
|
* Participant information.
|
|
702
886
|
* @class
|
|
@@ -713,7 +897,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
713
897
|
this.Mail = null;
|
|
714
898
|
|
|
715
899
|
/**
|
|
716
|
-
* Agent
|
|
900
|
+
* Agent Telephone
|
|
717
901
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
718
902
|
* @type {string || null}
|
|
719
903
|
*/
|
|
@@ -741,7 +925,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
741
925
|
this.EndedTimestamp = null;
|
|
742
926
|
|
|
743
927
|
/**
|
|
744
|
-
* Recording ID can be
|
|
928
|
+
* Recording ID, which can be used to index the recording on the agent side
|
|
745
929
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
746
930
|
* @type {string || null}
|
|
747
931
|
*/
|
|
@@ -755,7 +939,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
755
939
|
this.Type = null;
|
|
756
940
|
|
|
757
941
|
/**
|
|
758
|
-
* Transfer
|
|
942
|
+
* Transfer Source Agent Information
|
|
759
943
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
760
944
|
* @type {string || null}
|
|
761
945
|
*/
|
|
@@ -769,7 +953,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
769
953
|
this.TransferFromType = null;
|
|
770
954
|
|
|
771
955
|
/**
|
|
772
|
-
* Transfer
|
|
956
|
+
* Transfer Destination Agent Information
|
|
773
957
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
774
958
|
* @type {string || null}
|
|
775
959
|
*/
|
|
@@ -1165,7 +1349,7 @@ class DescribePredictiveDialingCampaignResponse extends AbstractModel {
|
|
|
1165
1349
|
}
|
|
1166
1350
|
|
|
1167
1351
|
/**
|
|
1168
|
-
* Agent status information
|
|
1352
|
+
* Agent status-related information
|
|
1169
1353
|
* @class
|
|
1170
1354
|
*/
|
|
1171
1355
|
class StaffStatusMetrics extends AbstractModel {
|
|
@@ -1179,13 +1363,13 @@ class StaffStatusMetrics extends AbstractModel {
|
|
|
1179
1363
|
this.Email = null;
|
|
1180
1364
|
|
|
1181
1365
|
/**
|
|
1182
|
-
* Agent status
|
|
1366
|
+
* Agent status free Available | busy Busy | rest On Break | notReady Not Ready | afterCallWork Post-call Adjustment | offline Offline
|
|
1183
1367
|
* @type {string || null}
|
|
1184
1368
|
*/
|
|
1185
1369
|
this.Status = null;
|
|
1186
1370
|
|
|
1187
1371
|
/**
|
|
1188
|
-
* Supplementary
|
|
1372
|
+
* Supplementary Information on Agent Status
|
|
1189
1373
|
* @type {StaffStatusExtra || null}
|
|
1190
1374
|
*/
|
|
1191
1375
|
this.StatusExtra = null;
|
|
@@ -1313,13 +1497,13 @@ class DescribeTelCdrRequest extends AbstractModel {
|
|
|
1313
1497
|
super();
|
|
1314
1498
|
|
|
1315
1499
|
/**
|
|
1316
|
-
* Start timestamp
|
|
1500
|
+
* Start timestamp, Unix Timestamp in Seconds. Supports up to the past 180 days.
|
|
1317
1501
|
* @type {number || null}
|
|
1318
1502
|
*/
|
|
1319
1503
|
this.StartTimeStamp = null;
|
|
1320
1504
|
|
|
1321
1505
|
/**
|
|
1322
|
-
* End timestamp
|
|
1506
|
+
* End timestamp, Unix Timestamp in Seconds. The range between the end time and start time is less than 90 days.
|
|
1323
1507
|
* @type {number || null}
|
|
1324
1508
|
*/
|
|
1325
1509
|
this.EndTimeStamp = null;
|
|
@@ -1537,66 +1721,72 @@ class ModifyExtensionResponse extends AbstractModel {
|
|
|
1537
1721
|
}
|
|
1538
1722
|
|
|
1539
1723
|
/**
|
|
1540
|
-
*
|
|
1724
|
+
* CreateAgentCruiseDialingCampaign request structure.
|
|
1541
1725
|
* @class
|
|
1542
1726
|
*/
|
|
1543
|
-
class
|
|
1727
|
+
class CreateAgentCruiseDialingCampaignRequest extends AbstractModel {
|
|
1544
1728
|
constructor(){
|
|
1545
1729
|
super();
|
|
1546
1730
|
|
|
1547
1731
|
/**
|
|
1548
|
-
*
|
|
1732
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
1733
|
+
* @type {number || null}
|
|
1734
|
+
*/
|
|
1735
|
+
this.SdkAppId = null;
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Task Name
|
|
1549
1739
|
* @type {string || null}
|
|
1550
1740
|
*/
|
|
1551
1741
|
this.Name = null;
|
|
1552
1742
|
|
|
1553
1743
|
/**
|
|
1554
|
-
* Agent
|
|
1744
|
+
* Agent Account
|
|
1555
1745
|
* @type {string || null}
|
|
1556
1746
|
*/
|
|
1557
|
-
this.
|
|
1747
|
+
this.Agent = null;
|
|
1558
1748
|
|
|
1559
1749
|
/**
|
|
1560
|
-
*
|
|
1561
|
-
|
|
1562
|
-
* @type {string || null}
|
|
1750
|
+
* Single-round Concurrent Call Volume 1-20
|
|
1751
|
+
* @type {number || null}
|
|
1563
1752
|
*/
|
|
1564
|
-
this.
|
|
1753
|
+
this.ConcurrencyNumber = null;
|
|
1565
1754
|
|
|
1566
1755
|
/**
|
|
1567
|
-
*
|
|
1568
|
-
* @type {
|
|
1756
|
+
* Task start time. Unix timestamp. The task will automatically start after this time.
|
|
1757
|
+
* @type {number || null}
|
|
1569
1758
|
*/
|
|
1570
|
-
this.
|
|
1759
|
+
this.StartTime = null;
|
|
1571
1760
|
|
|
1572
1761
|
/**
|
|
1573
|
-
*
|
|
1574
|
-
* @type {
|
|
1762
|
+
* Task termination time. Unix timestamp. The task will automatically terminate after this time.
|
|
1763
|
+
* @type {number || null}
|
|
1575
1764
|
*/
|
|
1576
|
-
this.
|
|
1765
|
+
this.EndTime = null;
|
|
1577
1766
|
|
|
1578
1767
|
/**
|
|
1579
|
-
*
|
|
1580
|
-
* @type {string || null}
|
|
1768
|
+
* Called list supporting E.164 or number formats without country code.
|
|
1769
|
+
* @type {Array.<string> || null}
|
|
1581
1770
|
*/
|
|
1582
|
-
this.
|
|
1771
|
+
this.Callees = null;
|
|
1583
1772
|
|
|
1584
1773
|
/**
|
|
1585
|
-
*
|
|
1586
|
-
Note: This field may return null, indicating that no valid value could be obtained.
|
|
1774
|
+
* Calling list using the number formats displayed on the management side.
|
|
1587
1775
|
* @type {Array.<string> || null}
|
|
1588
1776
|
*/
|
|
1589
|
-
this.
|
|
1777
|
+
this.Callers = null;
|
|
1590
1778
|
|
|
1591
1779
|
/**
|
|
1592
|
-
*
|
|
1593
|
-
2: Quality inspector.
|
|
1594
|
-
3: Ordinary agent.
|
|
1595
|
-
else: Custom Role ID.
|
|
1596
|
-
Note: This field may return null, indicating that no valid value could be obtained.
|
|
1780
|
+
* Being called sequence: 0 for random 1 for in order.
|
|
1597
1781
|
* @type {number || null}
|
|
1598
1782
|
*/
|
|
1599
|
-
this.
|
|
1783
|
+
this.CallOrder = null;
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Caller Custom Data, Maximum Length 1024
|
|
1787
|
+
* @type {string || null}
|
|
1788
|
+
*/
|
|
1789
|
+
this.UUI = null;
|
|
1600
1790
|
|
|
1601
1791
|
}
|
|
1602
1792
|
|
|
@@ -1607,14 +1797,16 @@ Note: This field may return null, indicating that no valid value could be obtain
|
|
|
1607
1797
|
if (!params) {
|
|
1608
1798
|
return;
|
|
1609
1799
|
}
|
|
1800
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1610
1801
|
this.Name = 'Name' in params ? params.Name : null;
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1802
|
+
this.Agent = 'Agent' in params ? params.Agent : null;
|
|
1803
|
+
this.ConcurrencyNumber = 'ConcurrencyNumber' in params ? params.ConcurrencyNumber : null;
|
|
1804
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1805
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1806
|
+
this.Callees = 'Callees' in params ? params.Callees : null;
|
|
1807
|
+
this.Callers = 'Callers' in params ? params.Callers : null;
|
|
1808
|
+
this.CallOrder = 'CallOrder' in params ? params.CallOrder : null;
|
|
1809
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
1618
1810
|
|
|
1619
1811
|
}
|
|
1620
1812
|
}
|
|
@@ -1855,30 +2047,24 @@ class DeletePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
1855
2047
|
}
|
|
1856
2048
|
|
|
1857
2049
|
/**
|
|
1858
|
-
*
|
|
2050
|
+
* UploadIvrAudio request structure.
|
|
1859
2051
|
* @class
|
|
1860
2052
|
*/
|
|
1861
|
-
class
|
|
2053
|
+
class UploadIvrAudioRequest extends AbstractModel {
|
|
1862
2054
|
constructor(){
|
|
1863
2055
|
super();
|
|
1864
2056
|
|
|
1865
2057
|
/**
|
|
1866
|
-
*
|
|
2058
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
1867
2059
|
* @type {number || null}
|
|
1868
2060
|
*/
|
|
1869
|
-
this.
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* Agent user information list.
|
|
1873
|
-
* @type {Array.<StaffInfo> || null}
|
|
1874
|
-
*/
|
|
1875
|
-
this.StaffList = null;
|
|
2061
|
+
this.SdkAppId = null;
|
|
1876
2062
|
|
|
1877
2063
|
/**
|
|
1878
|
-
*
|
|
1879
|
-
* @type {
|
|
2064
|
+
* Audio File List
|
|
2065
|
+
* @type {Array.<UploadAudioInfo> || null}
|
|
1880
2066
|
*/
|
|
1881
|
-
this.
|
|
2067
|
+
this.AudioList = null;
|
|
1882
2068
|
|
|
1883
2069
|
}
|
|
1884
2070
|
|
|
@@ -1889,31 +2075,80 @@ class DescribeStaffInfoListResponse extends AbstractModel {
|
|
|
1889
2075
|
if (!params) {
|
|
1890
2076
|
return;
|
|
1891
2077
|
}
|
|
1892
|
-
this.
|
|
2078
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1893
2079
|
|
|
1894
|
-
if (params.
|
|
1895
|
-
this.
|
|
1896
|
-
for (let z in params.
|
|
1897
|
-
let obj = new
|
|
1898
|
-
obj.deserialize(params.
|
|
1899
|
-
this.
|
|
2080
|
+
if (params.AudioList) {
|
|
2081
|
+
this.AudioList = new Array();
|
|
2082
|
+
for (let z in params.AudioList) {
|
|
2083
|
+
let obj = new UploadAudioInfo();
|
|
2084
|
+
obj.deserialize(params.AudioList[z]);
|
|
2085
|
+
this.AudioList.push(obj);
|
|
1900
2086
|
}
|
|
1901
2087
|
}
|
|
1902
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1903
2088
|
|
|
1904
2089
|
}
|
|
1905
2090
|
}
|
|
1906
2091
|
|
|
1907
2092
|
/**
|
|
1908
|
-
*
|
|
2093
|
+
* DescribeStaffInfoList response structure.
|
|
1909
2094
|
* @class
|
|
1910
2095
|
*/
|
|
1911
|
-
class
|
|
2096
|
+
class DescribeStaffInfoListResponse extends AbstractModel {
|
|
1912
2097
|
constructor(){
|
|
1913
2098
|
super();
|
|
1914
2099
|
|
|
1915
2100
|
/**
|
|
1916
|
-
*
|
|
2101
|
+
* Total number of agent users.
|
|
2102
|
+
* @type {number || null}
|
|
2103
|
+
*/
|
|
2104
|
+
this.TotalCount = null;
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* Agent user information list.
|
|
2108
|
+
* @type {Array.<StaffInfo> || null}
|
|
2109
|
+
*/
|
|
2110
|
+
this.StaffList = null;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* 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.
|
|
2114
|
+
* @type {string || null}
|
|
2115
|
+
*/
|
|
2116
|
+
this.RequestId = null;
|
|
2117
|
+
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* @private
|
|
2122
|
+
*/
|
|
2123
|
+
deserialize(params) {
|
|
2124
|
+
if (!params) {
|
|
2125
|
+
return;
|
|
2126
|
+
}
|
|
2127
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2128
|
+
|
|
2129
|
+
if (params.StaffList) {
|
|
2130
|
+
this.StaffList = new Array();
|
|
2131
|
+
for (let z in params.StaffList) {
|
|
2132
|
+
let obj = new StaffInfo();
|
|
2133
|
+
obj.deserialize(params.StaffList[z]);
|
|
2134
|
+
this.StaffList.push(obj);
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2138
|
+
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* UnbindNumberCallOutSkillGroup request structure.
|
|
2144
|
+
* @class
|
|
2145
|
+
*/
|
|
2146
|
+
class UnbindNumberCallOutSkillGroupRequest extends AbstractModel {
|
|
2147
|
+
constructor(){
|
|
2148
|
+
super();
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
1917
2152
|
* @type {number || null}
|
|
1918
2153
|
*/
|
|
1919
2154
|
this.SdkAppId = null;
|
|
@@ -2003,7 +2238,7 @@ class CreateAutoCalloutTaskRequest extends AbstractModel {
|
|
|
2003
2238
|
this.NotAfter = null;
|
|
2004
2239
|
|
|
2005
2240
|
/**
|
|
2006
|
-
* Maximum attempts
|
|
2241
|
+
* Maximum attempts, 1-3 times
|
|
2007
2242
|
* @type {number || null}
|
|
2008
2243
|
*/
|
|
2009
2244
|
this.Tries = null;
|
|
@@ -2488,6 +2723,89 @@ class AutoCalloutTaskCalleeInfo extends AbstractModel {
|
|
|
2488
2723
|
}
|
|
2489
2724
|
}
|
|
2490
2725
|
|
|
2726
|
+
/**
|
|
2727
|
+
* Agent User Information
|
|
2728
|
+
* @class
|
|
2729
|
+
*/
|
|
2730
|
+
class SeatUserInfo extends AbstractModel {
|
|
2731
|
+
constructor(){
|
|
2732
|
+
super();
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Agent name.
|
|
2736
|
+
* @type {string || null}
|
|
2737
|
+
*/
|
|
2738
|
+
this.Name = null;
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* Agent email.
|
|
2742
|
+
* @type {string || null}
|
|
2743
|
+
*/
|
|
2744
|
+
this.Mail = null;
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Worker number.
|
|
2748
|
+
Note: This field may return null, indicating that no valid value could be obtained.
|
|
2749
|
+
* @type {string || null}
|
|
2750
|
+
*/
|
|
2751
|
+
this.StaffNumber = null;
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Agent's Telephone Number (With 0086 Prefix)
|
|
2755
|
+
* @type {string || null}
|
|
2756
|
+
*/
|
|
2757
|
+
this.Phone = null;
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* Agent nickname.
|
|
2761
|
+
* @type {string || null}
|
|
2762
|
+
*/
|
|
2763
|
+
this.Nick = null;
|
|
2764
|
+
|
|
2765
|
+
/**
|
|
2766
|
+
* User ID
|
|
2767
|
+
* @type {string || null}
|
|
2768
|
+
*/
|
|
2769
|
+
this.UserId = null;
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* List of skill groups associated with the seat
|
|
2773
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2774
|
+
* @type {Array.<string> || null}
|
|
2775
|
+
*/
|
|
2776
|
+
this.SkillGroupNameList = null;
|
|
2777
|
+
|
|
2778
|
+
/**
|
|
2779
|
+
* 1: Admin.
|
|
2780
|
+
2: Quality inspector.
|
|
2781
|
+
3: Ordinary agent.
|
|
2782
|
+
else: Custom Role ID.
|
|
2783
|
+
Note: This field may return null, indicating that no valid value could be obtained.
|
|
2784
|
+
* @type {number || null}
|
|
2785
|
+
*/
|
|
2786
|
+
this.Role = null;
|
|
2787
|
+
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* @private
|
|
2792
|
+
*/
|
|
2793
|
+
deserialize(params) {
|
|
2794
|
+
if (!params) {
|
|
2795
|
+
return;
|
|
2796
|
+
}
|
|
2797
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2798
|
+
this.Mail = 'Mail' in params ? params.Mail : null;
|
|
2799
|
+
this.StaffNumber = 'StaffNumber' in params ? params.StaffNumber : null;
|
|
2800
|
+
this.Phone = 'Phone' in params ? params.Phone : null;
|
|
2801
|
+
this.Nick = 'Nick' in params ? params.Nick : null;
|
|
2802
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
2803
|
+
this.SkillGroupNameList = 'SkillGroupNameList' in params ? params.SkillGroupNameList : null;
|
|
2804
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
2805
|
+
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2491
2809
|
/**
|
|
2492
2810
|
* UpdateCCCSkillGroup response structure.
|
|
2493
2811
|
* @class
|
|
@@ -2567,7 +2885,7 @@ class ErrStaffItem extends AbstractModel {
|
|
|
2567
2885
|
super();
|
|
2568
2886
|
|
|
2569
2887
|
/**
|
|
2570
|
-
* Agent
|
|
2888
|
+
* Agent Email Address
|
|
2571
2889
|
* @type {string || null}
|
|
2572
2890
|
*/
|
|
2573
2891
|
this.StaffEmail = null;
|
|
@@ -2685,16 +3003,16 @@ class PSTNSession extends AbstractModel {
|
|
|
2685
3003
|
this.StaffEmail = null;
|
|
2686
3004
|
|
|
2687
3005
|
/**
|
|
2688
|
-
* Agent
|
|
3006
|
+
* Agent ID
|
|
2689
3007
|
* @type {string || null}
|
|
2690
3008
|
*/
|
|
2691
3009
|
this.StaffNumber = null;
|
|
2692
3010
|
|
|
2693
3011
|
/**
|
|
2694
|
-
* Session
|
|
2695
|
-
ringing
|
|
2696
|
-
seatJoining
|
|
2697
|
-
|
|
3012
|
+
* Session Status
|
|
3013
|
+
ringing Ringing
|
|
3014
|
+
seatJoining waiting for the agent to answer
|
|
3015
|
+
inProgress Ongoing
|
|
2698
3016
|
finished - Completed.
|
|
2699
3017
|
* @type {string || null}
|
|
2700
3018
|
*/
|
|
@@ -2986,7 +3304,12 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2986
3304
|
this.IvrId = null;
|
|
2987
3305
|
|
|
2988
3306
|
/**
|
|
2989
|
-
* Task status:
|
|
3307
|
+
* Task status:
|
|
3308
|
+
0 Initial: Task created, calling not started
|
|
3309
|
+
1 Running
|
|
3310
|
+
2 Completed: All calls in the task are completed
|
|
3311
|
+
3 Ending: The task is due, but some calls are still not finished
|
|
3312
|
+
4 Ended: Task terminated due to expiration
|
|
2990
3313
|
* @type {number || null}
|
|
2991
3314
|
*/
|
|
2992
3315
|
this.State = null;
|
|
@@ -3018,6 +3341,69 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3018
3341
|
}
|
|
3019
3342
|
}
|
|
3020
3343
|
|
|
3344
|
+
/**
|
|
3345
|
+
* DescribeIvrAudioList request structure.
|
|
3346
|
+
* @class
|
|
3347
|
+
*/
|
|
3348
|
+
class DescribeIvrAudioListRequest extends AbstractModel {
|
|
3349
|
+
constructor(){
|
|
3350
|
+
super();
|
|
3351
|
+
|
|
3352
|
+
/**
|
|
3353
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
3354
|
+
* @type {number || null}
|
|
3355
|
+
*/
|
|
3356
|
+
this.SdkAppId = null;
|
|
3357
|
+
|
|
3358
|
+
/**
|
|
3359
|
+
* Page size, upper limit 50
|
|
3360
|
+
* @type {number || null}
|
|
3361
|
+
*/
|
|
3362
|
+
this.PageSize = null;
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* Page number starting from 0.
|
|
3366
|
+
* @type {number || null}
|
|
3367
|
+
*/
|
|
3368
|
+
this.PageNumber = null;
|
|
3369
|
+
|
|
3370
|
+
/**
|
|
3371
|
+
* File alias
|
|
3372
|
+
* @type {Array.<string> || null}
|
|
3373
|
+
*/
|
|
3374
|
+
this.CustomFileName = null;
|
|
3375
|
+
|
|
3376
|
+
/**
|
|
3377
|
+
* Filename
|
|
3378
|
+
* @type {Array.<string> || null}
|
|
3379
|
+
*/
|
|
3380
|
+
this.AudioFileName = null;
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* File ID
|
|
3384
|
+
* @type {Array.<number> || null}
|
|
3385
|
+
*/
|
|
3386
|
+
this.FileId = null;
|
|
3387
|
+
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
/**
|
|
3391
|
+
* @private
|
|
3392
|
+
*/
|
|
3393
|
+
deserialize(params) {
|
|
3394
|
+
if (!params) {
|
|
3395
|
+
return;
|
|
3396
|
+
}
|
|
3397
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3398
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
3399
|
+
this.PageNumber = 'PageNumber' in params ? params.PageNumber : null;
|
|
3400
|
+
this.CustomFileName = 'CustomFileName' in params ? params.CustomFileName : null;
|
|
3401
|
+
this.AudioFileName = 'AudioFileName' in params ? params.AudioFileName : null;
|
|
3402
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
3403
|
+
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3021
3407
|
/**
|
|
3022
3408
|
* Skill group information.
|
|
3023
3409
|
* @class
|
|
@@ -3052,8 +3438,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3052
3438
|
this.RoutePolicy = null;
|
|
3053
3439
|
|
|
3054
3440
|
/**
|
|
3055
|
-
*
|
|
3056
|
-
Note:
|
|
3441
|
+
* Should the conversation allocation prioritize the last service seat?
|
|
3442
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3057
3443
|
* @type {number || null}
|
|
3058
3444
|
*/
|
|
3059
3445
|
this.UsingLastSeat = null;
|
|
@@ -3079,6 +3465,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3079
3465
|
*/
|
|
3080
3466
|
this.SkillGroupType = null;
|
|
3081
3467
|
|
|
3468
|
+
/**
|
|
3469
|
+
* Extension number within the skill group
|
|
3470
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3471
|
+
* @type {string || null}
|
|
3472
|
+
*/
|
|
3473
|
+
this.Alias = null;
|
|
3474
|
+
|
|
3082
3475
|
}
|
|
3083
3476
|
|
|
3084
3477
|
/**
|
|
@@ -3096,6 +3489,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3096
3489
|
this.MaxConcurrency = 'MaxConcurrency' in params ? params.MaxConcurrency : null;
|
|
3097
3490
|
this.LastModifyTimestamp = 'LastModifyTimestamp' in params ? params.LastModifyTimestamp : null;
|
|
3098
3491
|
this.SkillGroupType = 'SkillGroupType' in params ? params.SkillGroupType : null;
|
|
3492
|
+
this.Alias = 'Alias' in params ? params.Alias : null;
|
|
3099
3493
|
|
|
3100
3494
|
}
|
|
3101
3495
|
}
|
|
@@ -3191,6 +3585,48 @@ class UpdateCCCSkillGroupRequest extends AbstractModel {
|
|
|
3191
3585
|
}
|
|
3192
3586
|
}
|
|
3193
3587
|
|
|
3588
|
+
/**
|
|
3589
|
+
* ModifyStaffPassword request structure.
|
|
3590
|
+
* @class
|
|
3591
|
+
*/
|
|
3592
|
+
class ModifyStaffPasswordRequest extends AbstractModel {
|
|
3593
|
+
constructor(){
|
|
3594
|
+
super();
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
3598
|
+
* @type {number || null}
|
|
3599
|
+
*/
|
|
3600
|
+
this.SdkAppId = null;
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Agent email.
|
|
3604
|
+
* @type {string || null}
|
|
3605
|
+
*/
|
|
3606
|
+
this.Email = null;
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* The set password
|
|
3610
|
+
* @type {string || null}
|
|
3611
|
+
*/
|
|
3612
|
+
this.Password = null;
|
|
3613
|
+
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
* @private
|
|
3618
|
+
*/
|
|
3619
|
+
deserialize(params) {
|
|
3620
|
+
if (!params) {
|
|
3621
|
+
return;
|
|
3622
|
+
}
|
|
3623
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3624
|
+
this.Email = 'Email' in params ? params.Email : null;
|
|
3625
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
3626
|
+
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3194
3630
|
/**
|
|
3195
3631
|
* ModifyStaff response structure.
|
|
3196
3632
|
* @class
|
|
@@ -3389,13 +3825,13 @@ class PSTNSessionInfo extends AbstractModel {
|
|
|
3389
3825
|
this.StaffEmail = null;
|
|
3390
3826
|
|
|
3391
3827
|
/**
|
|
3392
|
-
* Agent
|
|
3828
|
+
* Agent ID
|
|
3393
3829
|
* @type {string || null}
|
|
3394
3830
|
*/
|
|
3395
3831
|
this.StaffNumber = null;
|
|
3396
3832
|
|
|
3397
3833
|
/**
|
|
3398
|
-
* Agent
|
|
3834
|
+
* Agent Status inProgress Ongoing
|
|
3399
3835
|
* @type {string || null}
|
|
3400
3836
|
*/
|
|
3401
3837
|
this.SessionStatus = null;
|
|
@@ -3583,13 +4019,13 @@ class ExtensionInfo extends AbstractModel {
|
|
|
3583
4019
|
this.Register = null;
|
|
3584
4020
|
|
|
3585
4021
|
/**
|
|
3586
|
-
* Bind
|
|
4022
|
+
* Bind Agent Email
|
|
3587
4023
|
* @type {string || null}
|
|
3588
4024
|
*/
|
|
3589
4025
|
this.Relation = null;
|
|
3590
4026
|
|
|
3591
4027
|
/**
|
|
3592
|
-
* Bind
|
|
4028
|
+
* Bind Agent Name
|
|
3593
4029
|
* @type {string || null}
|
|
3594
4030
|
*/
|
|
3595
4031
|
this.RelationName = null;
|
|
@@ -3754,66 +4190,65 @@ class UnbindNumberCallOutSkillGroupResponse extends AbstractModel {
|
|
|
3754
4190
|
}
|
|
3755
4191
|
|
|
3756
4192
|
/**
|
|
3757
|
-
*
|
|
4193
|
+
* DescribeAgentCruiseDialingCampaign request structure.
|
|
3758
4194
|
* @class
|
|
3759
4195
|
*/
|
|
3760
|
-
class
|
|
4196
|
+
class DescribeAgentCruiseDialingCampaignRequest extends AbstractModel {
|
|
3761
4197
|
constructor(){
|
|
3762
4198
|
super();
|
|
3763
4199
|
|
|
3764
4200
|
/**
|
|
3765
|
-
*
|
|
3766
|
-
|
|
3767
|
-
* @type {string || null}
|
|
3768
|
-
*/
|
|
3769
|
-
this.Name = null;
|
|
3770
|
-
|
|
3771
|
-
/**
|
|
3772
|
-
* Agent email.
|
|
3773
|
-
* @type {string || null}
|
|
4201
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
4202
|
+
* @type {number || null}
|
|
3774
4203
|
*/
|
|
3775
|
-
this.
|
|
4204
|
+
this.SdkAppId = null;
|
|
3776
4205
|
|
|
3777
4206
|
/**
|
|
3778
|
-
*
|
|
3779
|
-
|
|
3780
|
-
* @type {string || null}
|
|
4207
|
+
* Task ID.
|
|
4208
|
+
* @type {number || null}
|
|
3781
4209
|
*/
|
|
3782
|
-
this.
|
|
4210
|
+
this.CampaignId = null;
|
|
3783
4211
|
|
|
3784
|
-
|
|
3785
|
-
* Agent nickname.
|
|
3786
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3787
|
-
* @type {string || null}
|
|
3788
|
-
*/
|
|
3789
|
-
this.Nick = null;
|
|
4212
|
+
}
|
|
3790
4213
|
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
4214
|
+
/**
|
|
4215
|
+
* @private
|
|
4216
|
+
*/
|
|
4217
|
+
deserialize(params) {
|
|
4218
|
+
if (!params) {
|
|
4219
|
+
return;
|
|
4220
|
+
}
|
|
4221
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
4222
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
4223
|
+
|
|
4224
|
+
}
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* DescribePSTNActiveSessionList request structure.
|
|
4229
|
+
* @class
|
|
4230
|
+
*/
|
|
4231
|
+
class DescribePSTNActiveSessionListRequest extends AbstractModel {
|
|
4232
|
+
constructor(){
|
|
4233
|
+
super();
|
|
3797
4234
|
|
|
3798
4235
|
/**
|
|
3799
|
-
*
|
|
4236
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
3800
4237
|
* @type {number || null}
|
|
3801
4238
|
*/
|
|
3802
|
-
this.
|
|
4239
|
+
this.SdkAppId = null;
|
|
3803
4240
|
|
|
3804
4241
|
/**
|
|
3805
|
-
*
|
|
3806
|
-
|
|
3807
|
-
* @type {Array.<SkillGroupItem> || null}
|
|
4242
|
+
* Data offset.
|
|
4243
|
+
* @type {number || null}
|
|
3808
4244
|
*/
|
|
3809
|
-
this.
|
|
4245
|
+
this.Offset = null;
|
|
3810
4246
|
|
|
3811
4247
|
/**
|
|
3812
|
-
*
|
|
3813
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4248
|
+
* Number of returned data entries, up to 25.
|
|
3814
4249
|
* @type {number || null}
|
|
3815
4250
|
*/
|
|
3816
|
-
this.
|
|
4251
|
+
this.Limit = null;
|
|
3817
4252
|
|
|
3818
4253
|
}
|
|
3819
4254
|
|
|
@@ -3824,22 +4259,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3824
4259
|
if (!params) {
|
|
3825
4260
|
return;
|
|
3826
4261
|
}
|
|
3827
|
-
this.
|
|
3828
|
-
this.
|
|
3829
|
-
this.
|
|
3830
|
-
this.Nick = 'Nick' in params ? params.Nick : null;
|
|
3831
|
-
this.StaffNumber = 'StaffNumber' in params ? params.StaffNumber : null;
|
|
3832
|
-
this.RoleId = 'RoleId' in params ? params.RoleId : null;
|
|
3833
|
-
|
|
3834
|
-
if (params.SkillGroupList) {
|
|
3835
|
-
this.SkillGroupList = new Array();
|
|
3836
|
-
for (let z in params.SkillGroupList) {
|
|
3837
|
-
let obj = new SkillGroupItem();
|
|
3838
|
-
obj.deserialize(params.SkillGroupList[z]);
|
|
3839
|
-
this.SkillGroupList.push(obj);
|
|
3840
|
-
}
|
|
3841
|
-
}
|
|
3842
|
-
this.LastModifyTimestamp = 'LastModifyTimestamp' in params ? params.LastModifyTimestamp : null;
|
|
4262
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
4263
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4264
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3843
4265
|
|
|
3844
4266
|
}
|
|
3845
4267
|
}
|
|
@@ -3931,35 +4353,65 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3931
4353
|
this.RecordId = null;
|
|
3932
4354
|
|
|
3933
4355
|
/**
|
|
3934
|
-
* Agent
|
|
4356
|
+
* Agent Information
|
|
3935
4357
|
* @type {SeatUserInfo || null}
|
|
3936
4358
|
*/
|
|
3937
4359
|
this.SeatUser = null;
|
|
3938
4360
|
|
|
3939
4361
|
/**
|
|
3940
|
-
* EndStatus corresponds one-to-one with EndStatusString,
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
4362
|
+
* EndStatus corresponds one-to-one with EndStatusString, specific enumerations are as follows:
|
|
4363
|
+
|
|
4364
|
+
**Scenario EndStatus EndStatusString Status Description**
|
|
4365
|
+
|
|
4366
|
+
Incoming & Outgoing Calls 1 ok Normal End
|
|
4367
|
+
|
|
4368
|
+
Incoming & Outgoing Calls 0 error System Error
|
|
4369
|
+
|
|
4370
|
+
Incoming Call 102 ivrGiveUp User Gave Up During IVR
|
|
4371
|
+
|
|
4372
|
+
Incoming Call 103 waitingGiveUp User Gave Up During Queue
|
|
4373
|
+
|
|
4374
|
+
Incoming Call 104 ringingGiveUp User Gave Up During Ringing
|
|
4375
|
+
|
|
4376
|
+
Incoming Call 105 noSeatOnline No Seat Online
|
|
4377
|
+
|
|
4378
|
+
Incoming Call 106 notWorkTime Non-Working Hours
|
|
4379
|
+
|
|
4380
|
+
Incoming Call 107 ivrEnd Ended Directly After IVR
|
|
4381
|
+
|
|
4382
|
+
Incoming Call 100 blackList Incoming blocklist
|
|
4383
|
+
|
|
4384
|
+
Outgoing Call 2 unconnected Unconnected
|
|
4385
|
+
|
|
4386
|
+
Outgoing Call 108 restrictedCallee Callee restricted due to high risk
|
|
4387
|
+
|
|
4388
|
+
Outgoing Call 109 tooManyRequest Frequency limit exceeded
|
|
4389
|
+
|
|
4390
|
+
Outgoing Call 110 restrictedArea Call to restricted area
|
|
4391
|
+
|
|
4392
|
+
Outgoing Call 111 restrictedTime Call time restricted
|
|
4393
|
+
|
|
4394
|
+
Outgoing Call 201 unknown Unknown status
|
|
4395
|
+
|
|
4396
|
+
Outgoing Call 202 notAnswer Missed call
|
|
4397
|
+
|
|
4398
|
+
Outgoing Call 203 userReject Reject/Hang Up
|
|
4399
|
+
|
|
4400
|
+
Outgoing Call 204 powerOff Shutting down
|
|
4401
|
+
|
|
4402
|
+
Outgoing Call 205 numberNotExist Disconnected Number
|
|
4403
|
+
|
|
4404
|
+
Outgoing Call 206 busy During the call
|
|
4405
|
+
|
|
4406
|
+
Outgoing Call 207 outOfCredit Overdue Payment
|
|
4407
|
+
|
|
4408
|
+
Outgoing Call 208 operatorError ISP Carrier Line Anomaly
|
|
4409
|
+
|
|
4410
|
+
Outgoing Call 209 callerCancel Caller Cancelled
|
|
4411
|
+
|
|
4412
|
+
Outgoing Call 210 notInService Out of Service Area
|
|
4413
|
+
|
|
4414
|
+
Incoming & Outgoing Calls 211 clientError Client Error
|
|
3963
4415
|
|
|
3964
4416
|
* @type {number || null}
|
|
3965
4417
|
*/
|
|
@@ -4013,8 +4465,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4013
4465
|
this.IVRKeyPressed = null;
|
|
4014
4466
|
|
|
4015
4467
|
/**
|
|
4016
|
-
*
|
|
4017
|
-
Note:
|
|
4468
|
+
* Hanging Up Party seat Seat user Users system system
|
|
4469
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4018
4470
|
* @type {string || null}
|
|
4019
4471
|
*/
|
|
4020
4472
|
this.HungUpSide = null;
|
|
@@ -4034,30 +4486,61 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4034
4486
|
this.SkillGroupId = null;
|
|
4035
4487
|
|
|
4036
4488
|
/**
|
|
4037
|
-
* EndStatus corresponds one-to-one with EndStatusString,
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4489
|
+
* EndStatus corresponds one-to-one with EndStatusString, specific enumerations are as follows:
|
|
4490
|
+
|
|
4491
|
+
**Scenario EndStatus EndStatusString Status Description**
|
|
4492
|
+
|
|
4493
|
+
Incoming & Outgoing Calls 1 ok Normal End
|
|
4494
|
+
|
|
4495
|
+
Incoming & Outgoing Calls 0 error System Error
|
|
4496
|
+
|
|
4497
|
+
Incoming Call 102 ivrGiveUp User Gave Up During IVR
|
|
4498
|
+
|
|
4499
|
+
Incoming Call 103 waitingGiveUp User Gave Up During Queue
|
|
4500
|
+
|
|
4501
|
+
Incoming Call 104 ringingGiveUp User Gave Up During Ringing
|
|
4502
|
+
|
|
4503
|
+
Incoming Call 105 noSeatOnline No Seat Online
|
|
4504
|
+
|
|
4505
|
+
Incoming Call 106 notWorkTime Non-Working Hours
|
|
4506
|
+
|
|
4507
|
+
Incoming Call 107 ivrEnd Ended Directly After IVR
|
|
4508
|
+
|
|
4509
|
+
Incoming Call 100 blackList Incoming blocklist
|
|
4510
|
+
|
|
4511
|
+
Outgoing Call 2 unconnected Unconnected
|
|
4512
|
+
|
|
4513
|
+
Outgoing Call 108 restrictedCallee Callee restricted due to high risk
|
|
4514
|
+
|
|
4515
|
+
Outgoing Call 109 tooManyRequest Frequency limit exceeded
|
|
4516
|
+
|
|
4517
|
+
Outgoing Call 110 restrictedArea Call to restricted area
|
|
4518
|
+
|
|
4519
|
+
Outgoing Call 111 restrictedTime Call time restricted
|
|
4520
|
+
|
|
4521
|
+
Outgoing Call 201 unknown Unknown status
|
|
4522
|
+
|
|
4523
|
+
Outgoing Call 202 notAnswer Missed call
|
|
4524
|
+
|
|
4525
|
+
Outgoing Call 203 userReject Reject/Hang Up
|
|
4526
|
+
|
|
4527
|
+
Outgoing Call 204 powerOff Shutting down
|
|
4528
|
+
|
|
4529
|
+
Outgoing Call 205 numberNotExist Disconnected Number
|
|
4530
|
+
|
|
4531
|
+
Phone Call Out 206 busy In Call
|
|
4532
|
+
|
|
4533
|
+
Outgoing Call 207 outOfCredit Overdue Payment
|
|
4534
|
+
|
|
4535
|
+
Outgoing Call 208 operatorError ISP Carrier Line Anomaly
|
|
4536
|
+
|
|
4537
|
+
Outgoing Call 209 callerCancel Caller Cancelled
|
|
4538
|
+
|
|
4539
|
+
Outgoing Call 210 notInService Out of Service Area
|
|
4540
|
+
|
|
4541
|
+
Phone Call In & Out 211 clientError Client Error
|
|
4542
|
+
|
|
4543
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4061
4544
|
* @type {string || null}
|
|
4062
4545
|
*/
|
|
4063
4546
|
this.EndStatusString = null;
|
|
@@ -4252,6 +4735,66 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4252
4735
|
}
|
|
4253
4736
|
}
|
|
4254
4737
|
|
|
4738
|
+
/**
|
|
4739
|
+
* UploadIvrAudio response structure.
|
|
4740
|
+
* @class
|
|
4741
|
+
*/
|
|
4742
|
+
class UploadIvrAudioResponse extends AbstractModel {
|
|
4743
|
+
constructor(){
|
|
4744
|
+
super();
|
|
4745
|
+
|
|
4746
|
+
/**
|
|
4747
|
+
* List of failed uploads
|
|
4748
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4749
|
+
* @type {Array.<UploadIvrAudioFailedInfo> || null}
|
|
4750
|
+
*/
|
|
4751
|
+
this.FailedFileList = null;
|
|
4752
|
+
|
|
4753
|
+
/**
|
|
4754
|
+
* List of successful uploads
|
|
4755
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4756
|
+
* @type {Array.<AudioFileInfo> || null}
|
|
4757
|
+
*/
|
|
4758
|
+
this.SuccessFileList = null;
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* 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.
|
|
4762
|
+
* @type {string || null}
|
|
4763
|
+
*/
|
|
4764
|
+
this.RequestId = null;
|
|
4765
|
+
|
|
4766
|
+
}
|
|
4767
|
+
|
|
4768
|
+
/**
|
|
4769
|
+
* @private
|
|
4770
|
+
*/
|
|
4771
|
+
deserialize(params) {
|
|
4772
|
+
if (!params) {
|
|
4773
|
+
return;
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
if (params.FailedFileList) {
|
|
4777
|
+
this.FailedFileList = new Array();
|
|
4778
|
+
for (let z in params.FailedFileList) {
|
|
4779
|
+
let obj = new UploadIvrAudioFailedInfo();
|
|
4780
|
+
obj.deserialize(params.FailedFileList[z]);
|
|
4781
|
+
this.FailedFileList.push(obj);
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4785
|
+
if (params.SuccessFileList) {
|
|
4786
|
+
this.SuccessFileList = new Array();
|
|
4787
|
+
for (let z in params.SuccessFileList) {
|
|
4788
|
+
let obj = new AudioFileInfo();
|
|
4789
|
+
obj.deserialize(params.SuccessFileList[z]);
|
|
4790
|
+
this.SuccessFileList.push(obj);
|
|
4791
|
+
}
|
|
4792
|
+
}
|
|
4793
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4794
|
+
|
|
4795
|
+
}
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4255
4798
|
/**
|
|
4256
4799
|
* Number information.
|
|
4257
4800
|
* @class
|
|
@@ -4309,7 +4852,7 @@ class DeleteStaffRequest extends AbstractModel {
|
|
|
4309
4852
|
this.SdkAppId = null;
|
|
4310
4853
|
|
|
4311
4854
|
/**
|
|
4312
|
-
*
|
|
4855
|
+
* Customer service emails, supports up to 200 at a time.
|
|
4313
4856
|
* @type {Array.<string> || null}
|
|
4314
4857
|
*/
|
|
4315
4858
|
this.StaffList = null;
|
|
@@ -4455,6 +4998,97 @@ class DescribeCCCBuyInfoListRequest extends AbstractModel {
|
|
|
4455
4998
|
}
|
|
4456
4999
|
}
|
|
4457
5000
|
|
|
5001
|
+
/**
|
|
5002
|
+
* Agent Information with Skill Group Priority
|
|
5003
|
+
* @class
|
|
5004
|
+
*/
|
|
5005
|
+
class StaffInfo extends AbstractModel {
|
|
5006
|
+
constructor(){
|
|
5007
|
+
super();
|
|
5008
|
+
|
|
5009
|
+
/**
|
|
5010
|
+
* Agent name.
|
|
5011
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5012
|
+
* @type {string || null}
|
|
5013
|
+
*/
|
|
5014
|
+
this.Name = null;
|
|
5015
|
+
|
|
5016
|
+
/**
|
|
5017
|
+
* Agent email.
|
|
5018
|
+
* @type {string || null}
|
|
5019
|
+
*/
|
|
5020
|
+
this.Mail = null;
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Agent's Telephone Number
|
|
5024
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5025
|
+
* @type {string || null}
|
|
5026
|
+
*/
|
|
5027
|
+
this.Phone = null;
|
|
5028
|
+
|
|
5029
|
+
/**
|
|
5030
|
+
* Agent nickname.
|
|
5031
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5032
|
+
* @type {string || null}
|
|
5033
|
+
*/
|
|
5034
|
+
this.Nick = null;
|
|
5035
|
+
|
|
5036
|
+
/**
|
|
5037
|
+
* Agent ID
|
|
5038
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5039
|
+
* @type {string || null}
|
|
5040
|
+
*/
|
|
5041
|
+
this.StaffNumber = null;
|
|
5042
|
+
|
|
5043
|
+
/**
|
|
5044
|
+
* User Role ID
|
|
5045
|
+
* @type {number || null}
|
|
5046
|
+
*/
|
|
5047
|
+
this.RoleId = null;
|
|
5048
|
+
|
|
5049
|
+
/**
|
|
5050
|
+
* Affiliated Skill Group List.
|
|
5051
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5052
|
+
* @type {Array.<SkillGroupItem> || null}
|
|
5053
|
+
*/
|
|
5054
|
+
this.SkillGroupList = null;
|
|
5055
|
+
|
|
5056
|
+
/**
|
|
5057
|
+
* Last modification time.
|
|
5058
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5059
|
+
* @type {number || null}
|
|
5060
|
+
*/
|
|
5061
|
+
this.LastModifyTimestamp = null;
|
|
5062
|
+
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
/**
|
|
5066
|
+
* @private
|
|
5067
|
+
*/
|
|
5068
|
+
deserialize(params) {
|
|
5069
|
+
if (!params) {
|
|
5070
|
+
return;
|
|
5071
|
+
}
|
|
5072
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
5073
|
+
this.Mail = 'Mail' in params ? params.Mail : null;
|
|
5074
|
+
this.Phone = 'Phone' in params ? params.Phone : null;
|
|
5075
|
+
this.Nick = 'Nick' in params ? params.Nick : null;
|
|
5076
|
+
this.StaffNumber = 'StaffNumber' in params ? params.StaffNumber : null;
|
|
5077
|
+
this.RoleId = 'RoleId' in params ? params.RoleId : null;
|
|
5078
|
+
|
|
5079
|
+
if (params.SkillGroupList) {
|
|
5080
|
+
this.SkillGroupList = new Array();
|
|
5081
|
+
for (let z in params.SkillGroupList) {
|
|
5082
|
+
let obj = new SkillGroupItem();
|
|
5083
|
+
obj.deserialize(params.SkillGroupList[z]);
|
|
5084
|
+
this.SkillGroupList.push(obj);
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
this.LastModifyTimestamp = 'LastModifyTimestamp' in params ? params.LastModifyTimestamp : null;
|
|
5088
|
+
|
|
5089
|
+
}
|
|
5090
|
+
}
|
|
5091
|
+
|
|
4458
5092
|
/**
|
|
4459
5093
|
* DescribePredictiveDialingCampaigns response structure.
|
|
4460
5094
|
* @class
|
|
@@ -4516,13 +5150,13 @@ class DescribeTelCallInfoRequest extends AbstractModel {
|
|
|
4516
5150
|
super();
|
|
4517
5151
|
|
|
4518
5152
|
/**
|
|
4519
|
-
* Start timestamp Unix timestamp (supports only
|
|
5153
|
+
* Start timestamp, Unix timestamp (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp)
|
|
4520
5154
|
* @type {number || null}
|
|
4521
5155
|
*/
|
|
4522
5156
|
this.StartTimeStamp = null;
|
|
4523
5157
|
|
|
4524
5158
|
/**
|
|
4525
|
-
* End timestamp
|
|
5159
|
+
* End timestamp, Unix timestamp, the query time range is up to 90 days (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp)
|
|
4526
5160
|
* @type {number || null}
|
|
4527
5161
|
*/
|
|
4528
5162
|
this.EndTimeStamp = null;
|
|
@@ -4731,10 +5365,10 @@ class StaffSkillGroupList extends AbstractModel {
|
|
|
4731
5365
|
}
|
|
4732
5366
|
|
|
4733
5367
|
/**
|
|
4734
|
-
*
|
|
5368
|
+
* AbortAgentCruiseDialingCampaign request structure.
|
|
4735
5369
|
* @class
|
|
4736
5370
|
*/
|
|
4737
|
-
class
|
|
5371
|
+
class AbortAgentCruiseDialingCampaignRequest extends AbstractModel {
|
|
4738
5372
|
constructor(){
|
|
4739
5373
|
super();
|
|
4740
5374
|
|
|
@@ -4745,16 +5379,10 @@ class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
4745
5379
|
this.SdkAppId = null;
|
|
4746
5380
|
|
|
4747
5381
|
/**
|
|
4748
|
-
*
|
|
4749
|
-
* @type {
|
|
4750
|
-
*/
|
|
4751
|
-
this.StaffEmail = null;
|
|
4752
|
-
|
|
4753
|
-
/**
|
|
4754
|
-
* Unbound skill group list.
|
|
4755
|
-
* @type {Array.<number> || null}
|
|
5382
|
+
* Task ID.
|
|
5383
|
+
* @type {number || null}
|
|
4756
5384
|
*/
|
|
4757
|
-
this.
|
|
5385
|
+
this.CampaignId = null;
|
|
4758
5386
|
|
|
4759
5387
|
}
|
|
4760
5388
|
|
|
@@ -4766,8 +5394,7 @@ class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
4766
5394
|
return;
|
|
4767
5395
|
}
|
|
4768
5396
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
4769
|
-
this.
|
|
4770
|
-
this.SkillGroupList = 'SkillGroupList' in params ? params.SkillGroupList : null;
|
|
5397
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
4771
5398
|
|
|
4772
5399
|
}
|
|
4773
5400
|
}
|
|
@@ -4858,60 +5485,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4858
5485
|
}
|
|
4859
5486
|
|
|
4860
5487
|
/**
|
|
4861
|
-
*
|
|
5488
|
+
* HangUpCall response structure.
|
|
4862
5489
|
* @class
|
|
4863
5490
|
*/
|
|
4864
|
-
class
|
|
5491
|
+
class HangUpCallResponse extends AbstractModel {
|
|
4865
5492
|
constructor(){
|
|
4866
5493
|
super();
|
|
4867
5494
|
|
|
4868
5495
|
/**
|
|
4869
|
-
*
|
|
4870
|
-
* @type {number || null}
|
|
4871
|
-
*/
|
|
4872
|
-
this.SdkAppId = null;
|
|
4873
|
-
|
|
4874
|
-
/**
|
|
4875
|
-
* Customer Service User ID usually refers to the customer service email.
|
|
4876
|
-
* @type {string || null}
|
|
4877
|
-
*/
|
|
4878
|
-
this.UserId = null;
|
|
4879
|
-
|
|
4880
|
-
/**
|
|
4881
|
-
* Called number must be preceded by 0086.
|
|
4882
|
-
* @type {string || null}
|
|
4883
|
-
*/
|
|
4884
|
-
this.Callee = null;
|
|
4885
|
-
|
|
4886
|
-
/**
|
|
4887
|
-
* Caller number (obsolete one and use Callers) must be preceded by 0086.
|
|
4888
|
-
* @type {string || null}
|
|
4889
|
-
*/
|
|
4890
|
-
this.Caller = null;
|
|
4891
|
-
|
|
4892
|
-
/**
|
|
4893
|
-
* Designated caller number list. If the prior number fails, it will automatically switch to the next number that must be preceded by 0086.
|
|
4894
|
-
* @type {Array.<string> || null}
|
|
4895
|
-
*/
|
|
4896
|
-
this.Callers = null;
|
|
4897
|
-
|
|
4898
|
-
/**
|
|
4899
|
-
* Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured.
|
|
4900
|
-
* @type {boolean || null}
|
|
4901
|
-
*/
|
|
4902
|
-
this.IsForceUseMobile = null;
|
|
4903
|
-
|
|
4904
|
-
/**
|
|
4905
|
-
* Custom data, length limited to 1024 bytes.
|
|
4906
|
-
* @type {string || null}
|
|
4907
|
-
*/
|
|
4908
|
-
this.Uui = null;
|
|
4909
|
-
|
|
4910
|
-
/**
|
|
4911
|
-
* Custom data, length limited to 1024 bytes.
|
|
5496
|
+
* 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.
|
|
4912
5497
|
* @type {string || null}
|
|
4913
5498
|
*/
|
|
4914
|
-
this.
|
|
5499
|
+
this.RequestId = null;
|
|
4915
5500
|
|
|
4916
5501
|
}
|
|
4917
5502
|
|
|
@@ -4922,14 +5507,7 @@ class CreateCallOutSessionRequest extends AbstractModel {
|
|
|
4922
5507
|
if (!params) {
|
|
4923
5508
|
return;
|
|
4924
5509
|
}
|
|
4925
|
-
this.
|
|
4926
|
-
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
4927
|
-
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
4928
|
-
this.Caller = 'Caller' in params ? params.Caller : null;
|
|
4929
|
-
this.Callers = 'Callers' in params ? params.Callers : null;
|
|
4930
|
-
this.IsForceUseMobile = 'IsForceUseMobile' in params ? params.IsForceUseMobile : null;
|
|
4931
|
-
this.Uui = 'Uui' in params ? params.Uui : null;
|
|
4932
|
-
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
5510
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4933
5511
|
|
|
4934
5512
|
}
|
|
4935
5513
|
}
|
|
@@ -5237,6 +5815,41 @@ class ResumePredictiveDialingCampaignRequest extends AbstractModel {
|
|
|
5237
5815
|
}
|
|
5238
5816
|
}
|
|
5239
5817
|
|
|
5818
|
+
/**
|
|
5819
|
+
* Upload Audio File Information
|
|
5820
|
+
* @class
|
|
5821
|
+
*/
|
|
5822
|
+
class UploadAudioInfo extends AbstractModel {
|
|
5823
|
+
constructor(){
|
|
5824
|
+
super();
|
|
5825
|
+
|
|
5826
|
+
/**
|
|
5827
|
+
* File Alias (can be duplicated)
|
|
5828
|
+
* @type {string || null}
|
|
5829
|
+
*/
|
|
5830
|
+
this.CustomFileName = null;
|
|
5831
|
+
|
|
5832
|
+
/**
|
|
5833
|
+
* Audio File Link (supports mp3 and wav formats, file size not exceeding 5MB)
|
|
5834
|
+
* @type {string || null}
|
|
5835
|
+
*/
|
|
5836
|
+
this.AudioUrl = null;
|
|
5837
|
+
|
|
5838
|
+
}
|
|
5839
|
+
|
|
5840
|
+
/**
|
|
5841
|
+
* @private
|
|
5842
|
+
*/
|
|
5843
|
+
deserialize(params) {
|
|
5844
|
+
if (!params) {
|
|
5845
|
+
return;
|
|
5846
|
+
}
|
|
5847
|
+
this.CustomFileName = 'CustomFileName' in params ? params.CustomFileName : null;
|
|
5848
|
+
this.AudioUrl = 'AudioUrl' in params ? params.AudioUrl : null;
|
|
5849
|
+
|
|
5850
|
+
}
|
|
5851
|
+
}
|
|
5852
|
+
|
|
5240
5853
|
/**
|
|
5241
5854
|
* DeleteExtension response structure.
|
|
5242
5855
|
* @class
|
|
@@ -5262,40 +5875,290 @@ class DeleteExtensionResponse extends AbstractModel {
|
|
|
5262
5875
|
}
|
|
5263
5876
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5264
5877
|
|
|
5265
|
-
}
|
|
5266
|
-
}
|
|
5878
|
+
}
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
/**
|
|
5882
|
+
* BindStaffSkillGroupList request structure.
|
|
5883
|
+
* @class
|
|
5884
|
+
*/
|
|
5885
|
+
class BindStaffSkillGroupListRequest extends AbstractModel {
|
|
5886
|
+
constructor(){
|
|
5887
|
+
super();
|
|
5888
|
+
|
|
5889
|
+
/**
|
|
5890
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
5891
|
+
* @type {number || null}
|
|
5892
|
+
*/
|
|
5893
|
+
this.SdkAppId = null;
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* Agent email.
|
|
5897
|
+
* @type {string || null}
|
|
5898
|
+
*/
|
|
5899
|
+
this.StaffEmail = null;
|
|
5900
|
+
|
|
5901
|
+
/**
|
|
5902
|
+
* Bound skill group list
|
|
5903
|
+
* @type {Array.<number> || null}
|
|
5904
|
+
*/
|
|
5905
|
+
this.SkillGroupList = null;
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Bound skill group list (required).
|
|
5909
|
+
* @type {Array.<StaffSkillGroupList> || null}
|
|
5910
|
+
*/
|
|
5911
|
+
this.StaffSkillGroupList = null;
|
|
5912
|
+
|
|
5913
|
+
}
|
|
5914
|
+
|
|
5915
|
+
/**
|
|
5916
|
+
* @private
|
|
5917
|
+
*/
|
|
5918
|
+
deserialize(params) {
|
|
5919
|
+
if (!params) {
|
|
5920
|
+
return;
|
|
5921
|
+
}
|
|
5922
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
5923
|
+
this.StaffEmail = 'StaffEmail' in params ? params.StaffEmail : null;
|
|
5924
|
+
this.SkillGroupList = 'SkillGroupList' in params ? params.SkillGroupList : null;
|
|
5925
|
+
|
|
5926
|
+
if (params.StaffSkillGroupList) {
|
|
5927
|
+
this.StaffSkillGroupList = new Array();
|
|
5928
|
+
for (let z in params.StaffSkillGroupList) {
|
|
5929
|
+
let obj = new StaffSkillGroupList();
|
|
5930
|
+
obj.deserialize(params.StaffSkillGroupList[z]);
|
|
5931
|
+
this.StaffSkillGroupList.push(obj);
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
|
|
5935
|
+
}
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5938
|
+
/**
|
|
5939
|
+
* CreateAgentCruiseDialingCampaign response structure.
|
|
5940
|
+
* @class
|
|
5941
|
+
*/
|
|
5942
|
+
class CreateAgentCruiseDialingCampaignResponse extends AbstractModel {
|
|
5943
|
+
constructor(){
|
|
5944
|
+
super();
|
|
5945
|
+
|
|
5946
|
+
/**
|
|
5947
|
+
* Generated task ID.
|
|
5948
|
+
* @type {number || null}
|
|
5949
|
+
*/
|
|
5950
|
+
this.CampaignId = null;
|
|
5951
|
+
|
|
5952
|
+
/**
|
|
5953
|
+
* 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.
|
|
5954
|
+
* @type {string || null}
|
|
5955
|
+
*/
|
|
5956
|
+
this.RequestId = null;
|
|
5957
|
+
|
|
5958
|
+
}
|
|
5959
|
+
|
|
5960
|
+
/**
|
|
5961
|
+
* @private
|
|
5962
|
+
*/
|
|
5963
|
+
deserialize(params) {
|
|
5964
|
+
if (!params) {
|
|
5965
|
+
return;
|
|
5966
|
+
}
|
|
5967
|
+
this.CampaignId = 'CampaignId' in params ? params.CampaignId : null;
|
|
5968
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5969
|
+
|
|
5970
|
+
}
|
|
5971
|
+
}
|
|
5972
|
+
|
|
5973
|
+
/**
|
|
5974
|
+
* Failed to upload audio file information
|
|
5975
|
+
* @class
|
|
5976
|
+
*/
|
|
5977
|
+
class UploadIvrAudioFailedInfo extends AbstractModel {
|
|
5978
|
+
constructor(){
|
|
5979
|
+
super();
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* Filename
|
|
5983
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5984
|
+
* @type {string || null}
|
|
5985
|
+
*/
|
|
5986
|
+
this.FileName = null;
|
|
5987
|
+
|
|
5988
|
+
/**
|
|
5989
|
+
* Reason for failure
|
|
5990
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5991
|
+
* @type {string || null}
|
|
5992
|
+
*/
|
|
5993
|
+
this.FailedMsg = null;
|
|
5994
|
+
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
/**
|
|
5998
|
+
* @private
|
|
5999
|
+
*/
|
|
6000
|
+
deserialize(params) {
|
|
6001
|
+
if (!params) {
|
|
6002
|
+
return;
|
|
6003
|
+
}
|
|
6004
|
+
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
6005
|
+
this.FailedMsg = 'FailedMsg' in params ? params.FailedMsg : null;
|
|
6006
|
+
|
|
6007
|
+
}
|
|
6008
|
+
}
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* DescribeCallInMetrics response structure.
|
|
6012
|
+
* @class
|
|
6013
|
+
*/
|
|
6014
|
+
class DescribeCallInMetricsResponse extends AbstractModel {
|
|
6015
|
+
constructor(){
|
|
6016
|
+
super();
|
|
6017
|
+
|
|
6018
|
+
/**
|
|
6019
|
+
* Timestamp.
|
|
6020
|
+
* @type {number || null}
|
|
6021
|
+
*/
|
|
6022
|
+
this.Timestamp = null;
|
|
6023
|
+
|
|
6024
|
+
/**
|
|
6025
|
+
* Overall metrics.
|
|
6026
|
+
* @type {CallInMetrics || null}
|
|
6027
|
+
*/
|
|
6028
|
+
this.TotalMetrics = null;
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* Circuit dimension metrics.
|
|
6032
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6033
|
+
* @type {Array.<CallInNumberMetrics> || null}
|
|
6034
|
+
*/
|
|
6035
|
+
this.NumberMetrics = null;
|
|
6036
|
+
|
|
6037
|
+
/**
|
|
6038
|
+
* Skill group dimension metrics
|
|
6039
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6040
|
+
* @type {Array.<CallInSkillGroupMetrics> || null}
|
|
6041
|
+
*/
|
|
6042
|
+
this.SkillGroupMetrics = null;
|
|
6043
|
+
|
|
6044
|
+
/**
|
|
6045
|
+
* 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.
|
|
6046
|
+
* @type {string || null}
|
|
6047
|
+
*/
|
|
6048
|
+
this.RequestId = null;
|
|
6049
|
+
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
/**
|
|
6053
|
+
* @private
|
|
6054
|
+
*/
|
|
6055
|
+
deserialize(params) {
|
|
6056
|
+
if (!params) {
|
|
6057
|
+
return;
|
|
6058
|
+
}
|
|
6059
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
6060
|
+
|
|
6061
|
+
if (params.TotalMetrics) {
|
|
6062
|
+
let obj = new CallInMetrics();
|
|
6063
|
+
obj.deserialize(params.TotalMetrics)
|
|
6064
|
+
this.TotalMetrics = obj;
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
if (params.NumberMetrics) {
|
|
6068
|
+
this.NumberMetrics = new Array();
|
|
6069
|
+
for (let z in params.NumberMetrics) {
|
|
6070
|
+
let obj = new CallInNumberMetrics();
|
|
6071
|
+
obj.deserialize(params.NumberMetrics[z]);
|
|
6072
|
+
this.NumberMetrics.push(obj);
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
6075
|
+
|
|
6076
|
+
if (params.SkillGroupMetrics) {
|
|
6077
|
+
this.SkillGroupMetrics = new Array();
|
|
6078
|
+
for (let z in params.SkillGroupMetrics) {
|
|
6079
|
+
let obj = new CallInSkillGroupMetrics();
|
|
6080
|
+
obj.deserialize(params.SkillGroupMetrics[z]);
|
|
6081
|
+
this.SkillGroupMetrics.push(obj);
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6085
|
+
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
/**
|
|
6090
|
+
* DescribeAgentCruiseDialingCampaign response structure.
|
|
6091
|
+
* @class
|
|
6092
|
+
*/
|
|
6093
|
+
class DescribeAgentCruiseDialingCampaignResponse extends AbstractModel {
|
|
6094
|
+
constructor(){
|
|
6095
|
+
super();
|
|
6096
|
+
|
|
6097
|
+
/**
|
|
6098
|
+
* Task Name
|
|
6099
|
+
* @type {string || null}
|
|
6100
|
+
*/
|
|
6101
|
+
this.Name = null;
|
|
6102
|
+
|
|
6103
|
+
/**
|
|
6104
|
+
* Agent Account
|
|
6105
|
+
* @type {string || null}
|
|
6106
|
+
*/
|
|
6107
|
+
this.Agent = null;
|
|
6108
|
+
|
|
6109
|
+
/**
|
|
6110
|
+
* Single-round Concurrent Call Volume 1-20
|
|
6111
|
+
* @type {number || null}
|
|
6112
|
+
*/
|
|
6113
|
+
this.ConcurrencyNumber = null;
|
|
6114
|
+
|
|
6115
|
+
/**
|
|
6116
|
+
* Task start time. Unix timestamp. The task will automatically start after this time.
|
|
6117
|
+
* @type {number || null}
|
|
6118
|
+
*/
|
|
6119
|
+
this.StartTime = null;
|
|
6120
|
+
|
|
6121
|
+
/**
|
|
6122
|
+
* Task termination time. Unix timestamp. The task will automatically terminate after this time.
|
|
6123
|
+
* @type {number || null}
|
|
6124
|
+
*/
|
|
6125
|
+
this.EndTime = null;
|
|
6126
|
+
|
|
6127
|
+
/**
|
|
6128
|
+
* Being called sequence: 0 for random 1 for in order.
|
|
6129
|
+
* @type {number || null}
|
|
6130
|
+
*/
|
|
6131
|
+
this.CallOrder = null;
|
|
5267
6132
|
|
|
5268
|
-
/**
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
constructor(){
|
|
5274
|
-
super();
|
|
6133
|
+
/**
|
|
6134
|
+
* Caller Custom Data, Maximum Length 1024
|
|
6135
|
+
* @type {string || null}
|
|
6136
|
+
*/
|
|
6137
|
+
this.UUI = null;
|
|
5275
6138
|
|
|
5276
6139
|
/**
|
|
5277
|
-
*
|
|
6140
|
+
* Task status 0 Not started 1 Running 2 Completed 3 Terminated
|
|
5278
6141
|
* @type {number || null}
|
|
5279
6142
|
*/
|
|
5280
|
-
this.
|
|
6143
|
+
this.State = null;
|
|
5281
6144
|
|
|
5282
6145
|
/**
|
|
5283
|
-
*
|
|
5284
|
-
* @type {
|
|
6146
|
+
* Total number of called parties
|
|
6147
|
+
* @type {number || null}
|
|
5285
6148
|
*/
|
|
5286
|
-
this.
|
|
6149
|
+
this.TotalCalleeCount = null;
|
|
5287
6150
|
|
|
5288
6151
|
/**
|
|
5289
|
-
*
|
|
5290
|
-
* @type {
|
|
6152
|
+
* Number of called parties
|
|
6153
|
+
* @type {number || null}
|
|
5291
6154
|
*/
|
|
5292
|
-
this.
|
|
6155
|
+
this.CalledCalleeCount = null;
|
|
5293
6156
|
|
|
5294
6157
|
/**
|
|
5295
|
-
*
|
|
5296
|
-
* @type {
|
|
6158
|
+
* 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.
|
|
6159
|
+
* @type {string || null}
|
|
5297
6160
|
*/
|
|
5298
|
-
this.
|
|
6161
|
+
this.RequestId = null;
|
|
5299
6162
|
|
|
5300
6163
|
}
|
|
5301
6164
|
|
|
@@ -5306,47 +6169,40 @@ class BindStaffSkillGroupListRequest extends AbstractModel {
|
|
|
5306
6169
|
if (!params) {
|
|
5307
6170
|
return;
|
|
5308
6171
|
}
|
|
5309
|
-
this.
|
|
5310
|
-
this.
|
|
5311
|
-
this.
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
}
|
|
6172
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
6173
|
+
this.Agent = 'Agent' in params ? params.Agent : null;
|
|
6174
|
+
this.ConcurrencyNumber = 'ConcurrencyNumber' in params ? params.ConcurrencyNumber : null;
|
|
6175
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
6176
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
6177
|
+
this.CallOrder = 'CallOrder' in params ? params.CallOrder : null;
|
|
6178
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
6179
|
+
this.State = 'State' in params ? params.State : null;
|
|
6180
|
+
this.TotalCalleeCount = 'TotalCalleeCount' in params ? params.TotalCalleeCount : null;
|
|
6181
|
+
this.CalledCalleeCount = 'CalledCalleeCount' in params ? params.CalledCalleeCount : null;
|
|
6182
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5321
6183
|
|
|
5322
6184
|
}
|
|
5323
6185
|
}
|
|
5324
6186
|
|
|
5325
6187
|
/**
|
|
5326
|
-
*
|
|
6188
|
+
* CreateIVRSession response structure.
|
|
5327
6189
|
* @class
|
|
5328
6190
|
*/
|
|
5329
|
-
class
|
|
6191
|
+
class CreateIVRSessionResponse extends AbstractModel {
|
|
5330
6192
|
constructor(){
|
|
5331
6193
|
super();
|
|
5332
6194
|
|
|
5333
6195
|
/**
|
|
5334
|
-
*
|
|
5335
|
-
* @type {
|
|
5336
|
-
*/
|
|
5337
|
-
this.SdkAppId = null;
|
|
5338
|
-
|
|
5339
|
-
/**
|
|
5340
|
-
* Data offset.
|
|
5341
|
-
* @type {number || null}
|
|
6196
|
+
* Newly created session ID.
|
|
6197
|
+
* @type {string || null}
|
|
5342
6198
|
*/
|
|
5343
|
-
this.
|
|
6199
|
+
this.SessionId = null;
|
|
5344
6200
|
|
|
5345
6201
|
/**
|
|
5346
|
-
*
|
|
5347
|
-
* @type {
|
|
6202
|
+
* 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.
|
|
6203
|
+
* @type {string || null}
|
|
5348
6204
|
*/
|
|
5349
|
-
this.
|
|
6205
|
+
this.RequestId = null;
|
|
5350
6206
|
|
|
5351
6207
|
}
|
|
5352
6208
|
|
|
@@ -5357,52 +6213,37 @@ class DescribePSTNActiveSessionListRequest extends AbstractModel {
|
|
|
5357
6213
|
if (!params) {
|
|
5358
6214
|
return;
|
|
5359
6215
|
}
|
|
5360
|
-
this.
|
|
5361
|
-
this.
|
|
5362
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6216
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
6217
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5363
6218
|
|
|
5364
6219
|
}
|
|
5365
6220
|
}
|
|
5366
6221
|
|
|
5367
6222
|
/**
|
|
5368
|
-
*
|
|
6223
|
+
* UnbindStaffSkillGroupList request structure.
|
|
5369
6224
|
* @class
|
|
5370
6225
|
*/
|
|
5371
|
-
class
|
|
6226
|
+
class UnbindStaffSkillGroupListRequest extends AbstractModel {
|
|
5372
6227
|
constructor(){
|
|
5373
6228
|
super();
|
|
5374
6229
|
|
|
5375
6230
|
/**
|
|
5376
|
-
*
|
|
6231
|
+
* Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
5377
6232
|
* @type {number || null}
|
|
5378
6233
|
*/
|
|
5379
|
-
this.
|
|
5380
|
-
|
|
5381
|
-
/**
|
|
5382
|
-
* Overall metrics.
|
|
5383
|
-
* @type {CallInMetrics || null}
|
|
5384
|
-
*/
|
|
5385
|
-
this.TotalMetrics = null;
|
|
5386
|
-
|
|
5387
|
-
/**
|
|
5388
|
-
* Circuit dimension metrics.
|
|
5389
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5390
|
-
* @type {Array.<CallInNumberMetrics> || null}
|
|
5391
|
-
*/
|
|
5392
|
-
this.NumberMetrics = null;
|
|
6234
|
+
this.SdkAppId = null;
|
|
5393
6235
|
|
|
5394
6236
|
/**
|
|
5395
|
-
*
|
|
5396
|
-
|
|
5397
|
-
* @type {Array.<CallInSkillGroupMetrics> || null}
|
|
6237
|
+
* Customer service email.
|
|
6238
|
+
* @type {string || null}
|
|
5398
6239
|
*/
|
|
5399
|
-
this.
|
|
6240
|
+
this.StaffEmail = null;
|
|
5400
6241
|
|
|
5401
6242
|
/**
|
|
5402
|
-
*
|
|
5403
|
-
* @type {
|
|
6243
|
+
* Unbound skill group list.
|
|
6244
|
+
* @type {Array.<number> || null}
|
|
5404
6245
|
*/
|
|
5405
|
-
this.
|
|
6246
|
+
this.SkillGroupList = null;
|
|
5406
6247
|
|
|
5407
6248
|
}
|
|
5408
6249
|
|
|
@@ -5413,32 +6254,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5413
6254
|
if (!params) {
|
|
5414
6255
|
return;
|
|
5415
6256
|
}
|
|
5416
|
-
this.
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
let obj = new CallInMetrics();
|
|
5420
|
-
obj.deserialize(params.TotalMetrics)
|
|
5421
|
-
this.TotalMetrics = obj;
|
|
5422
|
-
}
|
|
5423
|
-
|
|
5424
|
-
if (params.NumberMetrics) {
|
|
5425
|
-
this.NumberMetrics = new Array();
|
|
5426
|
-
for (let z in params.NumberMetrics) {
|
|
5427
|
-
let obj = new CallInNumberMetrics();
|
|
5428
|
-
obj.deserialize(params.NumberMetrics[z]);
|
|
5429
|
-
this.NumberMetrics.push(obj);
|
|
5430
|
-
}
|
|
5431
|
-
}
|
|
5432
|
-
|
|
5433
|
-
if (params.SkillGroupMetrics) {
|
|
5434
|
-
this.SkillGroupMetrics = new Array();
|
|
5435
|
-
for (let z in params.SkillGroupMetrics) {
|
|
5436
|
-
let obj = new CallInSkillGroupMetrics();
|
|
5437
|
-
obj.deserialize(params.SkillGroupMetrics[z]);
|
|
5438
|
-
this.SkillGroupMetrics.push(obj);
|
|
5439
|
-
}
|
|
5440
|
-
}
|
|
5441
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6257
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
6258
|
+
this.StaffEmail = 'StaffEmail' in params ? params.StaffEmail : null;
|
|
6259
|
+
this.SkillGroupList = 'SkillGroupList' in params ? params.SkillGroupList : null;
|
|
5442
6260
|
|
|
5443
6261
|
}
|
|
5444
6262
|
}
|
|
@@ -5535,7 +6353,7 @@ class DescribeStaffStatusMetricsRequest extends AbstractModel {
|
|
|
5535
6353
|
this.GroupIdList = null;
|
|
5536
6354
|
|
|
5537
6355
|
/**
|
|
5538
|
-
* Filter agent status list
|
|
6356
|
+
* Filter agent status list Agent status free Available | busy Busy | rest On Break | notReady Not Ready | afterCallWork Post-call Adjustment | offline Offline
|
|
5539
6357
|
* @type {Array.<string> || null}
|
|
5540
6358
|
*/
|
|
5541
6359
|
this.StatusList = null;
|
|
@@ -5644,7 +6462,7 @@ class CalleeAttribute extends AbstractModel {
|
|
|
5644
6462
|
}
|
|
5645
6463
|
|
|
5646
6464
|
/**
|
|
5647
|
-
* Supplementary
|
|
6465
|
+
* Supplementary Information on Agent Status
|
|
5648
6466
|
* @class
|
|
5649
6467
|
*/
|
|
5650
6468
|
class StaffStatusExtra extends AbstractModel {
|
|
@@ -5749,13 +6567,13 @@ class SdkAppIdBuyInfo extends AbstractModel {
|
|
|
5749
6567
|
this.Name = null;
|
|
5750
6568
|
|
|
5751
6569
|
/**
|
|
5752
|
-
*
|
|
6570
|
+
* Agent Purchase Count (still within the validity period)
|
|
5753
6571
|
* @type {number || null}
|
|
5754
6572
|
*/
|
|
5755
6573
|
this.StaffBuyNum = null;
|
|
5756
6574
|
|
|
5757
6575
|
/**
|
|
5758
|
-
*
|
|
6576
|
+
* Agent Purchase List (still within the validity period)
|
|
5759
6577
|
* @type {Array.<StaffBuyInfo> || null}
|
|
5760
6578
|
*/
|
|
5761
6579
|
this.StaffBuyList = null;
|
|
@@ -6019,18 +6837,40 @@ class DescribeStaffStatusMetricsResponse extends AbstractModel {
|
|
|
6019
6837
|
}
|
|
6020
6838
|
|
|
6021
6839
|
/**
|
|
6022
|
-
*
|
|
6840
|
+
* Audio file review information
|
|
6023
6841
|
* @class
|
|
6024
6842
|
*/
|
|
6025
|
-
class
|
|
6843
|
+
class AudioFileInfo extends AbstractModel {
|
|
6026
6844
|
constructor(){
|
|
6027
6845
|
super();
|
|
6028
6846
|
|
|
6029
6847
|
/**
|
|
6030
|
-
*
|
|
6848
|
+
* File ID
|
|
6849
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6850
|
+
* @type {number || null}
|
|
6851
|
+
*/
|
|
6852
|
+
this.FileId = null;
|
|
6853
|
+
|
|
6854
|
+
/**
|
|
6855
|
+
* File alias
|
|
6856
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6031
6857
|
* @type {string || null}
|
|
6032
6858
|
*/
|
|
6033
|
-
this.
|
|
6859
|
+
this.CustomFileName = null;
|
|
6860
|
+
|
|
6861
|
+
/**
|
|
6862
|
+
* Filename
|
|
6863
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6864
|
+
* @type {string || null}
|
|
6865
|
+
*/
|
|
6866
|
+
this.AudioFileName = null;
|
|
6867
|
+
|
|
6868
|
+
/**
|
|
6869
|
+
* Review status, 0-Not reviewed, 1-Approved, 2-Rejected
|
|
6870
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6871
|
+
* @type {number || null}
|
|
6872
|
+
*/
|
|
6873
|
+
this.Status = null;
|
|
6034
6874
|
|
|
6035
6875
|
}
|
|
6036
6876
|
|
|
@@ -6041,7 +6881,87 @@ class HangUpCallResponse extends AbstractModel {
|
|
|
6041
6881
|
if (!params) {
|
|
6042
6882
|
return;
|
|
6043
6883
|
}
|
|
6044
|
-
this.
|
|
6884
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
6885
|
+
this.CustomFileName = 'CustomFileName' in params ? params.CustomFileName : null;
|
|
6886
|
+
this.AudioFileName = 'AudioFileName' in params ? params.AudioFileName : null;
|
|
6887
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
6888
|
+
|
|
6889
|
+
}
|
|
6890
|
+
}
|
|
6891
|
+
|
|
6892
|
+
/**
|
|
6893
|
+
* CreateCallOutSession request structure.
|
|
6894
|
+
* @class
|
|
6895
|
+
*/
|
|
6896
|
+
class CreateCallOutSessionRequest extends AbstractModel {
|
|
6897
|
+
constructor(){
|
|
6898
|
+
super();
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* Application ID
|
|
6902
|
+
* @type {number || null}
|
|
6903
|
+
*/
|
|
6904
|
+
this.SdkAppId = null;
|
|
6905
|
+
|
|
6906
|
+
/**
|
|
6907
|
+
* Customer Service User ID usually refers to the customer service email.
|
|
6908
|
+
* @type {string || null}
|
|
6909
|
+
*/
|
|
6910
|
+
this.UserId = null;
|
|
6911
|
+
|
|
6912
|
+
/**
|
|
6913
|
+
* Called number must be preceded by 0086.
|
|
6914
|
+
* @type {string || null}
|
|
6915
|
+
*/
|
|
6916
|
+
this.Callee = null;
|
|
6917
|
+
|
|
6918
|
+
/**
|
|
6919
|
+
* Caller number (obsolete one and use Callers) must be preceded by 0086.
|
|
6920
|
+
* @type {string || null}
|
|
6921
|
+
*/
|
|
6922
|
+
this.Caller = null;
|
|
6923
|
+
|
|
6924
|
+
/**
|
|
6925
|
+
* Designated caller number list. If the prior number fails, it will automatically switch to the next number that must be preceded by 0086.
|
|
6926
|
+
* @type {Array.<string> || null}
|
|
6927
|
+
*/
|
|
6928
|
+
this.Callers = null;
|
|
6929
|
+
|
|
6930
|
+
/**
|
|
6931
|
+
* Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured.
|
|
6932
|
+
* @type {boolean || null}
|
|
6933
|
+
*/
|
|
6934
|
+
this.IsForceUseMobile = null;
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* Custom data, length limited to 1024 bytes.
|
|
6938
|
+
* @type {string || null}
|
|
6939
|
+
*/
|
|
6940
|
+
this.Uui = null;
|
|
6941
|
+
|
|
6942
|
+
/**
|
|
6943
|
+
* Custom data, length limited to 1024 bytes.
|
|
6944
|
+
* @type {string || null}
|
|
6945
|
+
*/
|
|
6946
|
+
this.UUI = null;
|
|
6947
|
+
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
/**
|
|
6951
|
+
* @private
|
|
6952
|
+
*/
|
|
6953
|
+
deserialize(params) {
|
|
6954
|
+
if (!params) {
|
|
6955
|
+
return;
|
|
6956
|
+
}
|
|
6957
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
6958
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
6959
|
+
this.Callee = 'Callee' in params ? params.Callee : null;
|
|
6960
|
+
this.Caller = 'Caller' in params ? params.Caller : null;
|
|
6961
|
+
this.Callers = 'Callers' in params ? params.Callers : null;
|
|
6962
|
+
this.IsForceUseMobile = 'IsForceUseMobile' in params ? params.IsForceUseMobile : null;
|
|
6963
|
+
this.Uui = 'Uui' in params ? params.Uui : null;
|
|
6964
|
+
this.UUI = 'UUI' in params ? params.UUI : null;
|
|
6045
6965
|
|
|
6046
6966
|
}
|
|
6047
6967
|
}
|
|
@@ -6285,7 +7205,7 @@ class CreateSDKLoginTokenRequest extends AbstractModel {
|
|
|
6285
7205
|
}
|
|
6286
7206
|
|
|
6287
7207
|
/**
|
|
6288
|
-
* Agent
|
|
7208
|
+
* Agent purchase information
|
|
6289
7209
|
* @class
|
|
6290
7210
|
*/
|
|
6291
7211
|
class StaffBuyInfo extends AbstractModel {
|
|
@@ -6293,7 +7213,7 @@ class StaffBuyInfo extends AbstractModel {
|
|
|
6293
7213
|
super();
|
|
6294
7214
|
|
|
6295
7215
|
/**
|
|
6296
|
-
* Number of agents purchased
|
|
7216
|
+
* Number of agents purchased
|
|
6297
7217
|
* @type {number || null}
|
|
6298
7218
|
*/
|
|
6299
7219
|
this.Num = null;
|
|
@@ -6449,9 +7369,11 @@ class DescribeExtensionResponse extends AbstractModel {
|
|
|
6449
7369
|
module.exports = {
|
|
6450
7370
|
DescribeExtensionRequest: DescribeExtensionRequest,
|
|
6451
7371
|
StopAutoCalloutTaskRequest: StopAutoCalloutTaskRequest,
|
|
7372
|
+
CreateIVRSessionRequest: CreateIVRSessionRequest,
|
|
6452
7373
|
HangUpCallRequest: HangUpCallRequest,
|
|
6453
7374
|
CreateSDKLoginTokenResponse: CreateSDKLoginTokenResponse,
|
|
6454
7375
|
ModifyStaffRequest: ModifyStaffRequest,
|
|
7376
|
+
DescribeIvrAudioListResponse: DescribeIvrAudioListResponse,
|
|
6455
7377
|
BindNumberCallOutSkillGroupResponse: BindNumberCallOutSkillGroupResponse,
|
|
6456
7378
|
ResetExtensionPasswordRequest: ResetExtensionPasswordRequest,
|
|
6457
7379
|
DisableCCCPhoneNumberResponse: DisableCCCPhoneNumberResponse,
|
|
@@ -6461,7 +7383,9 @@ module.exports = {
|
|
|
6461
7383
|
PausePredictiveDialingCampaignRequest: PausePredictiveDialingCampaignRequest,
|
|
6462
7384
|
CreateCallOutSessionResponse: CreateCallOutSessionResponse,
|
|
6463
7385
|
DisableCCCPhoneNumberRequest: DisableCCCPhoneNumberRequest,
|
|
7386
|
+
ModifyStaffPasswordResponse: ModifyStaffPasswordResponse,
|
|
6464
7387
|
CreatePredictiveDialingCampaignRequest: CreatePredictiveDialingCampaignRequest,
|
|
7388
|
+
AbortAgentCruiseDialingCampaignResponse: AbortAgentCruiseDialingCampaignResponse,
|
|
6465
7389
|
ServeParticipant: ServeParticipant,
|
|
6466
7390
|
DescribeTelCallInfoResponse: DescribeTelCallInfoResponse,
|
|
6467
7391
|
DescribeExtensionsResponse: DescribeExtensionsResponse,
|
|
@@ -6473,12 +7397,13 @@ module.exports = {
|
|
|
6473
7397
|
DescribeAutoCalloutTasksResponse: DescribeAutoCalloutTasksResponse,
|
|
6474
7398
|
PackageBuyInfo: PackageBuyInfo,
|
|
6475
7399
|
ModifyExtensionResponse: ModifyExtensionResponse,
|
|
6476
|
-
|
|
7400
|
+
CreateAgentCruiseDialingCampaignRequest: CreateAgentCruiseDialingCampaignRequest,
|
|
6477
7401
|
CreateStaffResponse: CreateStaffResponse,
|
|
6478
7402
|
DescribePredictiveDialingCampaignsRequest: DescribePredictiveDialingCampaignsRequest,
|
|
6479
7403
|
DescribeSkillGroupInfoListResponse: DescribeSkillGroupInfoListResponse,
|
|
6480
7404
|
DescribeNumbersResponse: DescribeNumbersResponse,
|
|
6481
7405
|
DeletePredictiveDialingCampaignRequest: DeletePredictiveDialingCampaignRequest,
|
|
7406
|
+
UploadIvrAudioRequest: UploadIvrAudioRequest,
|
|
6482
7407
|
DescribeStaffInfoListResponse: DescribeStaffInfoListResponse,
|
|
6483
7408
|
UnbindNumberCallOutSkillGroupRequest: UnbindNumberCallOutSkillGroupRequest,
|
|
6484
7409
|
CreateAutoCalloutTaskRequest: CreateAutoCalloutTaskRequest,
|
|
@@ -6491,6 +7416,7 @@ module.exports = {
|
|
|
6491
7416
|
DescribeTelSessionRequest: DescribeTelSessionRequest,
|
|
6492
7417
|
DescribeSkillGroupInfoListRequest: DescribeSkillGroupInfoListRequest,
|
|
6493
7418
|
AutoCalloutTaskCalleeInfo: AutoCalloutTaskCalleeInfo,
|
|
7419
|
+
SeatUserInfo: SeatUserInfo,
|
|
6494
7420
|
UpdateCCCSkillGroupResponse: UpdateCCCSkillGroupResponse,
|
|
6495
7421
|
DescribePredictiveDialingSessionsResponse: DescribePredictiveDialingSessionsResponse,
|
|
6496
7422
|
ErrStaffItem: ErrStaffItem,
|
|
@@ -6499,9 +7425,11 @@ module.exports = {
|
|
|
6499
7425
|
UpdatePredictiveDialingCampaignRequest: UpdatePredictiveDialingCampaignRequest,
|
|
6500
7426
|
DescribeStaffInfoListRequest: DescribeStaffInfoListRequest,
|
|
6501
7427
|
AutoCalloutTaskInfo: AutoCalloutTaskInfo,
|
|
7428
|
+
DescribeIvrAudioListRequest: DescribeIvrAudioListRequest,
|
|
6502
7429
|
SkillGroupInfoItem: SkillGroupInfoItem,
|
|
6503
7430
|
ResetExtensionPasswordResponse: ResetExtensionPasswordResponse,
|
|
6504
7431
|
UpdateCCCSkillGroupRequest: UpdateCCCSkillGroupRequest,
|
|
7432
|
+
ModifyStaffPasswordRequest: ModifyStaffPasswordRequest,
|
|
6505
7433
|
ModifyStaffResponse: ModifyStaffResponse,
|
|
6506
7434
|
ModifyExtensionRequest: ModifyExtensionRequest,
|
|
6507
7435
|
CreatePredictiveDialingCampaignResponse: CreatePredictiveDialingCampaignResponse,
|
|
@@ -6514,22 +7442,25 @@ module.exports = {
|
|
|
6514
7442
|
DeletePredictiveDialingCampaignResponse: DeletePredictiveDialingCampaignResponse,
|
|
6515
7443
|
IVRKeyPressedElement: IVRKeyPressedElement,
|
|
6516
7444
|
UnbindNumberCallOutSkillGroupResponse: UnbindNumberCallOutSkillGroupResponse,
|
|
6517
|
-
|
|
7445
|
+
DescribeAgentCruiseDialingCampaignRequest: DescribeAgentCruiseDialingCampaignRequest,
|
|
7446
|
+
DescribePSTNActiveSessionListRequest: DescribePSTNActiveSessionListRequest,
|
|
6518
7447
|
CreateAutoCalloutTaskResponse: CreateAutoCalloutTaskResponse,
|
|
6519
7448
|
TelCdrInfo: TelCdrInfo,
|
|
7449
|
+
UploadIvrAudioResponse: UploadIvrAudioResponse,
|
|
6520
7450
|
NumberInfo: NumberInfo,
|
|
6521
7451
|
DeleteStaffRequest: DeleteStaffRequest,
|
|
6522
7452
|
CallInMetrics: CallInMetrics,
|
|
6523
7453
|
DescribeCCCBuyInfoListRequest: DescribeCCCBuyInfoListRequest,
|
|
7454
|
+
StaffInfo: StaffInfo,
|
|
6524
7455
|
DescribePredictiveDialingCampaignsResponse: DescribePredictiveDialingCampaignsResponse,
|
|
6525
7456
|
DescribeTelCallInfoRequest: DescribeTelCallInfoRequest,
|
|
6526
7457
|
Variable: Variable,
|
|
6527
7458
|
CallInNumberMetrics: CallInNumberMetrics,
|
|
6528
7459
|
CreateExtensionRequest: CreateExtensionRequest,
|
|
6529
7460
|
StaffSkillGroupList: StaffSkillGroupList,
|
|
6530
|
-
|
|
7461
|
+
AbortAgentCruiseDialingCampaignRequest: AbortAgentCruiseDialingCampaignRequest,
|
|
6531
7462
|
DescribePredictiveDialingCampaignsElement: DescribePredictiveDialingCampaignsElement,
|
|
6532
|
-
|
|
7463
|
+
HangUpCallResponse: HangUpCallResponse,
|
|
6533
7464
|
StopAutoCalloutTaskResponse: StopAutoCalloutTaskResponse,
|
|
6534
7465
|
AbortPredictiveDialingCampaignRequest: AbortPredictiveDialingCampaignRequest,
|
|
6535
7466
|
SkillGroupItem: SkillGroupItem,
|
|
@@ -6537,10 +7468,15 @@ module.exports = {
|
|
|
6537
7468
|
DescribeCCCBuyInfoListResponse: DescribeCCCBuyInfoListResponse,
|
|
6538
7469
|
UnbindStaffSkillGroupListResponse: UnbindStaffSkillGroupListResponse,
|
|
6539
7470
|
ResumePredictiveDialingCampaignRequest: ResumePredictiveDialingCampaignRequest,
|
|
7471
|
+
UploadAudioInfo: UploadAudioInfo,
|
|
6540
7472
|
DeleteExtensionResponse: DeleteExtensionResponse,
|
|
6541
7473
|
BindStaffSkillGroupListRequest: BindStaffSkillGroupListRequest,
|
|
6542
|
-
|
|
7474
|
+
CreateAgentCruiseDialingCampaignResponse: CreateAgentCruiseDialingCampaignResponse,
|
|
7475
|
+
UploadIvrAudioFailedInfo: UploadIvrAudioFailedInfo,
|
|
6543
7476
|
DescribeCallInMetricsResponse: DescribeCallInMetricsResponse,
|
|
7477
|
+
DescribeAgentCruiseDialingCampaignResponse: DescribeAgentCruiseDialingCampaignResponse,
|
|
7478
|
+
CreateIVRSessionResponse: CreateIVRSessionResponse,
|
|
7479
|
+
UnbindStaffSkillGroupListRequest: UnbindStaffSkillGroupListRequest,
|
|
6544
7480
|
DescribeTelCdrResponse: DescribeTelCdrResponse,
|
|
6545
7481
|
DescribeStaffStatusMetricsRequest: DescribeStaffStatusMetricsRequest,
|
|
6546
7482
|
DeleteStaffResponse: DeleteStaffResponse,
|
|
@@ -6553,7 +7489,8 @@ module.exports = {
|
|
|
6553
7489
|
DescribeTelSessionResponse: DescribeTelSessionResponse,
|
|
6554
7490
|
CreateAdminURLRequest: CreateAdminURLRequest,
|
|
6555
7491
|
DescribeStaffStatusMetricsResponse: DescribeStaffStatusMetricsResponse,
|
|
6556
|
-
|
|
7492
|
+
AudioFileInfo: AudioFileInfo,
|
|
7493
|
+
CreateCallOutSessionRequest: CreateCallOutSessionRequest,
|
|
6557
7494
|
BindStaffSkillGroupListResponse: BindStaffSkillGroupListResponse,
|
|
6558
7495
|
DescribeExtensionsRequest: DescribeExtensionsRequest,
|
|
6559
7496
|
DescribeProtectedTelCdrRequest: DescribeProtectedTelCdrRequest,
|