@alicloud/ccc20200701 2.23.0 → 2.25.0
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/dist/client.d.ts +251 -0
- package/dist/client.js +532 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +693 -12
package/src/client.ts
CHANGED
|
@@ -9721,6 +9721,150 @@ export class ListCallDetailRecordsResponse extends $tea.Model {
|
|
|
9721
9721
|
}
|
|
9722
9722
|
}
|
|
9723
9723
|
|
|
9724
|
+
export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
9725
|
+
accessChannelTypeList?: string;
|
|
9726
|
+
agentId?: string;
|
|
9727
|
+
broker?: string;
|
|
9728
|
+
calledNumber?: string;
|
|
9729
|
+
callingNumber?: string;
|
|
9730
|
+
contactDispositionList?: string;
|
|
9731
|
+
contactIdList?: string;
|
|
9732
|
+
contactTypeList?: string;
|
|
9733
|
+
earlyMediaStateList?: string;
|
|
9734
|
+
endTime?: number;
|
|
9735
|
+
firstAgentId?: string;
|
|
9736
|
+
instanceId?: string;
|
|
9737
|
+
mediaType?: string;
|
|
9738
|
+
number?: string;
|
|
9739
|
+
orderByField?: string;
|
|
9740
|
+
pageNumber?: number;
|
|
9741
|
+
pageSize?: number;
|
|
9742
|
+
satisfactionDescriptionList?: string;
|
|
9743
|
+
satisfactionRateList?: string;
|
|
9744
|
+
satisfactionSurveyChannel?: string;
|
|
9745
|
+
searchPattern?: string;
|
|
9746
|
+
skillGroupIdList?: string;
|
|
9747
|
+
sortOrder?: string;
|
|
9748
|
+
startTime?: number;
|
|
9749
|
+
static names(): { [key: string]: string } {
|
|
9750
|
+
return {
|
|
9751
|
+
accessChannelTypeList: 'AccessChannelTypeList',
|
|
9752
|
+
agentId: 'AgentId',
|
|
9753
|
+
broker: 'Broker',
|
|
9754
|
+
calledNumber: 'CalledNumber',
|
|
9755
|
+
callingNumber: 'CallingNumber',
|
|
9756
|
+
contactDispositionList: 'ContactDispositionList',
|
|
9757
|
+
contactIdList: 'ContactIdList',
|
|
9758
|
+
contactTypeList: 'ContactTypeList',
|
|
9759
|
+
earlyMediaStateList: 'EarlyMediaStateList',
|
|
9760
|
+
endTime: 'EndTime',
|
|
9761
|
+
firstAgentId: 'FirstAgentId',
|
|
9762
|
+
instanceId: 'InstanceId',
|
|
9763
|
+
mediaType: 'MediaType',
|
|
9764
|
+
number: 'Number',
|
|
9765
|
+
orderByField: 'OrderByField',
|
|
9766
|
+
pageNumber: 'PageNumber',
|
|
9767
|
+
pageSize: 'PageSize',
|
|
9768
|
+
satisfactionDescriptionList: 'SatisfactionDescriptionList',
|
|
9769
|
+
satisfactionRateList: 'SatisfactionRateList',
|
|
9770
|
+
satisfactionSurveyChannel: 'SatisfactionSurveyChannel',
|
|
9771
|
+
searchPattern: 'SearchPattern',
|
|
9772
|
+
skillGroupIdList: 'SkillGroupIdList',
|
|
9773
|
+
sortOrder: 'SortOrder',
|
|
9774
|
+
startTime: 'StartTime',
|
|
9775
|
+
};
|
|
9776
|
+
}
|
|
9777
|
+
|
|
9778
|
+
static types(): { [key: string]: any } {
|
|
9779
|
+
return {
|
|
9780
|
+
accessChannelTypeList: 'string',
|
|
9781
|
+
agentId: 'string',
|
|
9782
|
+
broker: 'string',
|
|
9783
|
+
calledNumber: 'string',
|
|
9784
|
+
callingNumber: 'string',
|
|
9785
|
+
contactDispositionList: 'string',
|
|
9786
|
+
contactIdList: 'string',
|
|
9787
|
+
contactTypeList: 'string',
|
|
9788
|
+
earlyMediaStateList: 'string',
|
|
9789
|
+
endTime: 'number',
|
|
9790
|
+
firstAgentId: 'string',
|
|
9791
|
+
instanceId: 'string',
|
|
9792
|
+
mediaType: 'string',
|
|
9793
|
+
number: 'string',
|
|
9794
|
+
orderByField: 'string',
|
|
9795
|
+
pageNumber: 'number',
|
|
9796
|
+
pageSize: 'number',
|
|
9797
|
+
satisfactionDescriptionList: 'string',
|
|
9798
|
+
satisfactionRateList: 'string',
|
|
9799
|
+
satisfactionSurveyChannel: 'string',
|
|
9800
|
+
searchPattern: 'string',
|
|
9801
|
+
skillGroupIdList: 'string',
|
|
9802
|
+
sortOrder: 'string',
|
|
9803
|
+
startTime: 'number',
|
|
9804
|
+
};
|
|
9805
|
+
}
|
|
9806
|
+
|
|
9807
|
+
constructor(map?: { [key: string]: any }) {
|
|
9808
|
+
super(map);
|
|
9809
|
+
}
|
|
9810
|
+
}
|
|
9811
|
+
|
|
9812
|
+
export class ListCallDetailRecordsV2ResponseBody extends $tea.Model {
|
|
9813
|
+
code?: string;
|
|
9814
|
+
data?: ListCallDetailRecordsV2ResponseBodyData;
|
|
9815
|
+
httpStatusCode?: number;
|
|
9816
|
+
message?: string;
|
|
9817
|
+
requestId?: string;
|
|
9818
|
+
static names(): { [key: string]: string } {
|
|
9819
|
+
return {
|
|
9820
|
+
code: 'Code',
|
|
9821
|
+
data: 'Data',
|
|
9822
|
+
httpStatusCode: 'HttpStatusCode',
|
|
9823
|
+
message: 'Message',
|
|
9824
|
+
requestId: 'RequestId',
|
|
9825
|
+
};
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9828
|
+
static types(): { [key: string]: any } {
|
|
9829
|
+
return {
|
|
9830
|
+
code: 'string',
|
|
9831
|
+
data: ListCallDetailRecordsV2ResponseBodyData,
|
|
9832
|
+
httpStatusCode: 'number',
|
|
9833
|
+
message: 'string',
|
|
9834
|
+
requestId: 'string',
|
|
9835
|
+
};
|
|
9836
|
+
}
|
|
9837
|
+
|
|
9838
|
+
constructor(map?: { [key: string]: any }) {
|
|
9839
|
+
super(map);
|
|
9840
|
+
}
|
|
9841
|
+
}
|
|
9842
|
+
|
|
9843
|
+
export class ListCallDetailRecordsV2Response extends $tea.Model {
|
|
9844
|
+
headers?: { [key: string]: string };
|
|
9845
|
+
statusCode?: number;
|
|
9846
|
+
body?: ListCallDetailRecordsV2ResponseBody;
|
|
9847
|
+
static names(): { [key: string]: string } {
|
|
9848
|
+
return {
|
|
9849
|
+
headers: 'headers',
|
|
9850
|
+
statusCode: 'statusCode',
|
|
9851
|
+
body: 'body',
|
|
9852
|
+
};
|
|
9853
|
+
}
|
|
9854
|
+
|
|
9855
|
+
static types(): { [key: string]: any } {
|
|
9856
|
+
return {
|
|
9857
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9858
|
+
statusCode: 'number',
|
|
9859
|
+
body: ListCallDetailRecordsV2ResponseBody,
|
|
9860
|
+
};
|
|
9861
|
+
}
|
|
9862
|
+
|
|
9863
|
+
constructor(map?: { [key: string]: any }) {
|
|
9864
|
+
super(map);
|
|
9865
|
+
}
|
|
9866
|
+
}
|
|
9867
|
+
|
|
9724
9868
|
export class ListCallTagsRequest extends $tea.Model {
|
|
9725
9869
|
instanceId?: string;
|
|
9726
9870
|
pageNumber?: number;
|
|
@@ -10808,6 +10952,93 @@ export class ListDocumentsResponse extends $tea.Model {
|
|
|
10808
10952
|
}
|
|
10809
10953
|
}
|
|
10810
10954
|
|
|
10955
|
+
export class ListGroupChatMessagesRequest extends $tea.Model {
|
|
10956
|
+
instanceId?: string;
|
|
10957
|
+
jobId?: string;
|
|
10958
|
+
nextPageToken?: string;
|
|
10959
|
+
pageSize?: number;
|
|
10960
|
+
sortOrder?: string;
|
|
10961
|
+
static names(): { [key: string]: string } {
|
|
10962
|
+
return {
|
|
10963
|
+
instanceId: 'InstanceId',
|
|
10964
|
+
jobId: 'JobId',
|
|
10965
|
+
nextPageToken: 'NextPageToken',
|
|
10966
|
+
pageSize: 'PageSize',
|
|
10967
|
+
sortOrder: 'SortOrder',
|
|
10968
|
+
};
|
|
10969
|
+
}
|
|
10970
|
+
|
|
10971
|
+
static types(): { [key: string]: any } {
|
|
10972
|
+
return {
|
|
10973
|
+
instanceId: 'string',
|
|
10974
|
+
jobId: 'string',
|
|
10975
|
+
nextPageToken: 'string',
|
|
10976
|
+
pageSize: 'number',
|
|
10977
|
+
sortOrder: 'string',
|
|
10978
|
+
};
|
|
10979
|
+
}
|
|
10980
|
+
|
|
10981
|
+
constructor(map?: { [key: string]: any }) {
|
|
10982
|
+
super(map);
|
|
10983
|
+
}
|
|
10984
|
+
}
|
|
10985
|
+
|
|
10986
|
+
export class ListGroupChatMessagesResponseBody extends $tea.Model {
|
|
10987
|
+
code?: string;
|
|
10988
|
+
data?: ListGroupChatMessagesResponseBodyData;
|
|
10989
|
+
httpStatusCode?: number;
|
|
10990
|
+
message?: string;
|
|
10991
|
+
requestId?: string;
|
|
10992
|
+
static names(): { [key: string]: string } {
|
|
10993
|
+
return {
|
|
10994
|
+
code: 'Code',
|
|
10995
|
+
data: 'Data',
|
|
10996
|
+
httpStatusCode: 'HttpStatusCode',
|
|
10997
|
+
message: 'Message',
|
|
10998
|
+
requestId: 'RequestId',
|
|
10999
|
+
};
|
|
11000
|
+
}
|
|
11001
|
+
|
|
11002
|
+
static types(): { [key: string]: any } {
|
|
11003
|
+
return {
|
|
11004
|
+
code: 'string',
|
|
11005
|
+
data: ListGroupChatMessagesResponseBodyData,
|
|
11006
|
+
httpStatusCode: 'number',
|
|
11007
|
+
message: 'string',
|
|
11008
|
+
requestId: 'string',
|
|
11009
|
+
};
|
|
11010
|
+
}
|
|
11011
|
+
|
|
11012
|
+
constructor(map?: { [key: string]: any }) {
|
|
11013
|
+
super(map);
|
|
11014
|
+
}
|
|
11015
|
+
}
|
|
11016
|
+
|
|
11017
|
+
export class ListGroupChatMessagesResponse extends $tea.Model {
|
|
11018
|
+
headers?: { [key: string]: string };
|
|
11019
|
+
statusCode?: number;
|
|
11020
|
+
body?: ListGroupChatMessagesResponseBody;
|
|
11021
|
+
static names(): { [key: string]: string } {
|
|
11022
|
+
return {
|
|
11023
|
+
headers: 'headers',
|
|
11024
|
+
statusCode: 'statusCode',
|
|
11025
|
+
body: 'body',
|
|
11026
|
+
};
|
|
11027
|
+
}
|
|
11028
|
+
|
|
11029
|
+
static types(): { [key: string]: any } {
|
|
11030
|
+
return {
|
|
11031
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11032
|
+
statusCode: 'number',
|
|
11033
|
+
body: ListGroupChatMessagesResponseBody,
|
|
11034
|
+
};
|
|
11035
|
+
}
|
|
11036
|
+
|
|
11037
|
+
constructor(map?: { [key: string]: any }) {
|
|
11038
|
+
super(map);
|
|
11039
|
+
}
|
|
11040
|
+
}
|
|
11041
|
+
|
|
10811
11042
|
export class ListHistoricalAgentReportRequest extends $tea.Model {
|
|
10812
11043
|
agentIdList?: string;
|
|
10813
11044
|
instanceId?: string;
|
|
@@ -25154,11 +25385,157 @@ export class ListBriefSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
|
25154
25385
|
description: 'string',
|
|
25155
25386
|
displayName: 'string',
|
|
25156
25387
|
instanceId: 'string',
|
|
25157
|
-
mediaType: 'string',
|
|
25158
|
-
phoneNumberCount: 'number',
|
|
25159
|
-
skillGroupId: 'string',
|
|
25160
|
-
skillGroupName: 'string',
|
|
25161
|
-
userCount: 'number',
|
|
25388
|
+
mediaType: 'string',
|
|
25389
|
+
phoneNumberCount: 'number',
|
|
25390
|
+
skillGroupId: 'string',
|
|
25391
|
+
skillGroupName: 'string',
|
|
25392
|
+
userCount: 'number',
|
|
25393
|
+
};
|
|
25394
|
+
}
|
|
25395
|
+
|
|
25396
|
+
constructor(map?: { [key: string]: any }) {
|
|
25397
|
+
super(map);
|
|
25398
|
+
}
|
|
25399
|
+
}
|
|
25400
|
+
|
|
25401
|
+
export class ListBriefSkillGroupsResponseBodyData extends $tea.Model {
|
|
25402
|
+
list?: ListBriefSkillGroupsResponseBodyDataList[];
|
|
25403
|
+
pageNumber?: number;
|
|
25404
|
+
pageSize?: number;
|
|
25405
|
+
totalCount?: number;
|
|
25406
|
+
static names(): { [key: string]: string } {
|
|
25407
|
+
return {
|
|
25408
|
+
list: 'List',
|
|
25409
|
+
pageNumber: 'PageNumber',
|
|
25410
|
+
pageSize: 'PageSize',
|
|
25411
|
+
totalCount: 'TotalCount',
|
|
25412
|
+
};
|
|
25413
|
+
}
|
|
25414
|
+
|
|
25415
|
+
static types(): { [key: string]: any } {
|
|
25416
|
+
return {
|
|
25417
|
+
list: { 'type': 'array', 'itemType': ListBriefSkillGroupsResponseBodyDataList },
|
|
25418
|
+
pageNumber: 'number',
|
|
25419
|
+
pageSize: 'number',
|
|
25420
|
+
totalCount: 'number',
|
|
25421
|
+
};
|
|
25422
|
+
}
|
|
25423
|
+
|
|
25424
|
+
constructor(map?: { [key: string]: any }) {
|
|
25425
|
+
super(map);
|
|
25426
|
+
}
|
|
25427
|
+
}
|
|
25428
|
+
|
|
25429
|
+
export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
25430
|
+
additionalBroker?: string;
|
|
25431
|
+
agentIds?: string;
|
|
25432
|
+
agentNames?: string;
|
|
25433
|
+
broker?: string;
|
|
25434
|
+
callDuration?: string;
|
|
25435
|
+
calledNumber?: string;
|
|
25436
|
+
calleeLocation?: string;
|
|
25437
|
+
callerLocation?: string;
|
|
25438
|
+
callingNumber?: string;
|
|
25439
|
+
contactDisposition?: string;
|
|
25440
|
+
contactId?: string;
|
|
25441
|
+
contactType?: string;
|
|
25442
|
+
dialingTime?: number;
|
|
25443
|
+
earlyMediaState?: string;
|
|
25444
|
+
establishedTime?: number;
|
|
25445
|
+
heldTime?: number;
|
|
25446
|
+
instanceId?: string;
|
|
25447
|
+
ivrTime?: number;
|
|
25448
|
+
queueTime?: number;
|
|
25449
|
+
recordingDuration?: number;
|
|
25450
|
+
recordingReady?: boolean;
|
|
25451
|
+
releaseInitiator?: string;
|
|
25452
|
+
releaseReason?: string;
|
|
25453
|
+
releaseTime?: number;
|
|
25454
|
+
ringTime?: number;
|
|
25455
|
+
satisfactionDescription?: string;
|
|
25456
|
+
satisfactionIndex?: number;
|
|
25457
|
+
satisfactionSurveyChannel?: string;
|
|
25458
|
+
satisfactionSurveyOffered?: boolean;
|
|
25459
|
+
skillGroupIds?: string;
|
|
25460
|
+
skillGroupNames?: string;
|
|
25461
|
+
startTime?: number;
|
|
25462
|
+
talkTime?: number;
|
|
25463
|
+
waitTime?: number;
|
|
25464
|
+
static names(): { [key: string]: string } {
|
|
25465
|
+
return {
|
|
25466
|
+
additionalBroker: 'AdditionalBroker',
|
|
25467
|
+
agentIds: 'AgentIds',
|
|
25468
|
+
agentNames: 'AgentNames',
|
|
25469
|
+
broker: 'Broker',
|
|
25470
|
+
callDuration: 'CallDuration',
|
|
25471
|
+
calledNumber: 'CalledNumber',
|
|
25472
|
+
calleeLocation: 'CalleeLocation',
|
|
25473
|
+
callerLocation: 'CallerLocation',
|
|
25474
|
+
callingNumber: 'CallingNumber',
|
|
25475
|
+
contactDisposition: 'ContactDisposition',
|
|
25476
|
+
contactId: 'ContactId',
|
|
25477
|
+
contactType: 'ContactType',
|
|
25478
|
+
dialingTime: 'DialingTime',
|
|
25479
|
+
earlyMediaState: 'EarlyMediaState',
|
|
25480
|
+
establishedTime: 'EstablishedTime',
|
|
25481
|
+
heldTime: 'HeldTime',
|
|
25482
|
+
instanceId: 'InstanceId',
|
|
25483
|
+
ivrTime: 'IvrTime',
|
|
25484
|
+
queueTime: 'QueueTime',
|
|
25485
|
+
recordingDuration: 'RecordingDuration',
|
|
25486
|
+
recordingReady: 'RecordingReady',
|
|
25487
|
+
releaseInitiator: 'ReleaseInitiator',
|
|
25488
|
+
releaseReason: 'ReleaseReason',
|
|
25489
|
+
releaseTime: 'ReleaseTime',
|
|
25490
|
+
ringTime: 'RingTime',
|
|
25491
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
25492
|
+
satisfactionIndex: 'SatisfactionIndex',
|
|
25493
|
+
satisfactionSurveyChannel: 'SatisfactionSurveyChannel',
|
|
25494
|
+
satisfactionSurveyOffered: 'SatisfactionSurveyOffered',
|
|
25495
|
+
skillGroupIds: 'SkillGroupIds',
|
|
25496
|
+
skillGroupNames: 'SkillGroupNames',
|
|
25497
|
+
startTime: 'StartTime',
|
|
25498
|
+
talkTime: 'TalkTime',
|
|
25499
|
+
waitTime: 'WaitTime',
|
|
25500
|
+
};
|
|
25501
|
+
}
|
|
25502
|
+
|
|
25503
|
+
static types(): { [key: string]: any } {
|
|
25504
|
+
return {
|
|
25505
|
+
additionalBroker: 'string',
|
|
25506
|
+
agentIds: 'string',
|
|
25507
|
+
agentNames: 'string',
|
|
25508
|
+
broker: 'string',
|
|
25509
|
+
callDuration: 'string',
|
|
25510
|
+
calledNumber: 'string',
|
|
25511
|
+
calleeLocation: 'string',
|
|
25512
|
+
callerLocation: 'string',
|
|
25513
|
+
callingNumber: 'string',
|
|
25514
|
+
contactDisposition: 'string',
|
|
25515
|
+
contactId: 'string',
|
|
25516
|
+
contactType: 'string',
|
|
25517
|
+
dialingTime: 'number',
|
|
25518
|
+
earlyMediaState: 'string',
|
|
25519
|
+
establishedTime: 'number',
|
|
25520
|
+
heldTime: 'number',
|
|
25521
|
+
instanceId: 'string',
|
|
25522
|
+
ivrTime: 'number',
|
|
25523
|
+
queueTime: 'number',
|
|
25524
|
+
recordingDuration: 'number',
|
|
25525
|
+
recordingReady: 'boolean',
|
|
25526
|
+
releaseInitiator: 'string',
|
|
25527
|
+
releaseReason: 'string',
|
|
25528
|
+
releaseTime: 'number',
|
|
25529
|
+
ringTime: 'number',
|
|
25530
|
+
satisfactionDescription: 'string',
|
|
25531
|
+
satisfactionIndex: 'number',
|
|
25532
|
+
satisfactionSurveyChannel: 'string',
|
|
25533
|
+
satisfactionSurveyOffered: 'boolean',
|
|
25534
|
+
skillGroupIds: 'string',
|
|
25535
|
+
skillGroupNames: 'string',
|
|
25536
|
+
startTime: 'number',
|
|
25537
|
+
talkTime: 'number',
|
|
25538
|
+
waitTime: 'number',
|
|
25162
25539
|
};
|
|
25163
25540
|
}
|
|
25164
25541
|
|
|
@@ -25167,8 +25544,8 @@ export class ListBriefSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
|
25167
25544
|
}
|
|
25168
25545
|
}
|
|
25169
25546
|
|
|
25170
|
-
export class
|
|
25171
|
-
list?:
|
|
25547
|
+
export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
25548
|
+
list?: ListCallDetailRecordsResponseBodyDataList[];
|
|
25172
25549
|
pageNumber?: number;
|
|
25173
25550
|
pageSize?: number;
|
|
25174
25551
|
totalCount?: number;
|
|
@@ -25183,7 +25560,7 @@ export class ListBriefSkillGroupsResponseBodyData extends $tea.Model {
|
|
|
25183
25560
|
|
|
25184
25561
|
static types(): { [key: string]: any } {
|
|
25185
25562
|
return {
|
|
25186
|
-
list: { 'type': 'array', 'itemType':
|
|
25563
|
+
list: { 'type': 'array', 'itemType': ListCallDetailRecordsResponseBodyDataList },
|
|
25187
25564
|
pageNumber: 'number',
|
|
25188
25565
|
pageSize: 'number',
|
|
25189
25566
|
totalCount: 'number',
|
|
@@ -25195,7 +25572,11 @@ export class ListBriefSkillGroupsResponseBodyData extends $tea.Model {
|
|
|
25195
25572
|
}
|
|
25196
25573
|
}
|
|
25197
25574
|
|
|
25198
|
-
export class
|
|
25575
|
+
export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
25576
|
+
accessChannelName?: string;
|
|
25577
|
+
accessChannelType?: string;
|
|
25578
|
+
accessChannelUserId?: string;
|
|
25579
|
+
accessChannelUserName?: string;
|
|
25199
25580
|
additionalBroker?: string;
|
|
25200
25581
|
agentIds?: string;
|
|
25201
25582
|
agentNames?: string;
|
|
@@ -25205,15 +25586,28 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25205
25586
|
calleeLocation?: string;
|
|
25206
25587
|
callerLocation?: string;
|
|
25207
25588
|
callingNumber?: string;
|
|
25589
|
+
clientAppName?: string;
|
|
25590
|
+
clientIpAddress?: string;
|
|
25591
|
+
clientLocation?: string;
|
|
25592
|
+
clientUserAgent?: string;
|
|
25208
25593
|
contactDisposition?: string;
|
|
25209
25594
|
contactId?: string;
|
|
25210
25595
|
contactType?: string;
|
|
25211
25596
|
dialingTime?: number;
|
|
25212
25597
|
earlyMediaState?: string;
|
|
25598
|
+
earlyMediaText?: string;
|
|
25213
25599
|
establishedTime?: number;
|
|
25600
|
+
firstResponseTime?: number;
|
|
25214
25601
|
heldTime?: number;
|
|
25215
25602
|
instanceId?: string;
|
|
25216
25603
|
ivrTime?: number;
|
|
25604
|
+
mediaType?: string;
|
|
25605
|
+
messagesSent?: number;
|
|
25606
|
+
messagesSentByAgent?: number;
|
|
25607
|
+
messagesSentByCustomer?: number;
|
|
25608
|
+
offSiteAgentIds?: string;
|
|
25609
|
+
offsiteAgentDestinationNumbers?: string;
|
|
25610
|
+
offsiteAgentOriginatorNumbers?: string;
|
|
25217
25611
|
queueTime?: number;
|
|
25218
25612
|
recordingDuration?: number;
|
|
25219
25613
|
recordingReady?: boolean;
|
|
@@ -25229,9 +25623,14 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25229
25623
|
skillGroupNames?: string;
|
|
25230
25624
|
startTime?: number;
|
|
25231
25625
|
talkTime?: number;
|
|
25626
|
+
transferCount?: number;
|
|
25232
25627
|
waitTime?: number;
|
|
25233
25628
|
static names(): { [key: string]: string } {
|
|
25234
25629
|
return {
|
|
25630
|
+
accessChannelName: 'AccessChannelName',
|
|
25631
|
+
accessChannelType: 'AccessChannelType',
|
|
25632
|
+
accessChannelUserId: 'AccessChannelUserId',
|
|
25633
|
+
accessChannelUserName: 'AccessChannelUserName',
|
|
25235
25634
|
additionalBroker: 'AdditionalBroker',
|
|
25236
25635
|
agentIds: 'AgentIds',
|
|
25237
25636
|
agentNames: 'AgentNames',
|
|
@@ -25241,15 +25640,28 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25241
25640
|
calleeLocation: 'CalleeLocation',
|
|
25242
25641
|
callerLocation: 'CallerLocation',
|
|
25243
25642
|
callingNumber: 'CallingNumber',
|
|
25643
|
+
clientAppName: 'ClientAppName',
|
|
25644
|
+
clientIpAddress: 'ClientIpAddress',
|
|
25645
|
+
clientLocation: 'ClientLocation',
|
|
25646
|
+
clientUserAgent: 'ClientUserAgent',
|
|
25244
25647
|
contactDisposition: 'ContactDisposition',
|
|
25245
25648
|
contactId: 'ContactId',
|
|
25246
25649
|
contactType: 'ContactType',
|
|
25247
25650
|
dialingTime: 'DialingTime',
|
|
25248
25651
|
earlyMediaState: 'EarlyMediaState',
|
|
25652
|
+
earlyMediaText: 'EarlyMediaText',
|
|
25249
25653
|
establishedTime: 'EstablishedTime',
|
|
25654
|
+
firstResponseTime: 'FirstResponseTime',
|
|
25250
25655
|
heldTime: 'HeldTime',
|
|
25251
25656
|
instanceId: 'InstanceId',
|
|
25252
25657
|
ivrTime: 'IvrTime',
|
|
25658
|
+
mediaType: 'MediaType',
|
|
25659
|
+
messagesSent: 'MessagesSent',
|
|
25660
|
+
messagesSentByAgent: 'MessagesSentByAgent',
|
|
25661
|
+
messagesSentByCustomer: 'MessagesSentByCustomer',
|
|
25662
|
+
offSiteAgentIds: 'OffSiteAgentIds',
|
|
25663
|
+
offsiteAgentDestinationNumbers: 'OffsiteAgentDestinationNumbers',
|
|
25664
|
+
offsiteAgentOriginatorNumbers: 'OffsiteAgentOriginatorNumbers',
|
|
25253
25665
|
queueTime: 'QueueTime',
|
|
25254
25666
|
recordingDuration: 'RecordingDuration',
|
|
25255
25667
|
recordingReady: 'RecordingReady',
|
|
@@ -25265,12 +25677,17 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25265
25677
|
skillGroupNames: 'SkillGroupNames',
|
|
25266
25678
|
startTime: 'StartTime',
|
|
25267
25679
|
talkTime: 'TalkTime',
|
|
25680
|
+
transferCount: 'TransferCount',
|
|
25268
25681
|
waitTime: 'WaitTime',
|
|
25269
25682
|
};
|
|
25270
25683
|
}
|
|
25271
25684
|
|
|
25272
25685
|
static types(): { [key: string]: any } {
|
|
25273
25686
|
return {
|
|
25687
|
+
accessChannelName: 'string',
|
|
25688
|
+
accessChannelType: 'string',
|
|
25689
|
+
accessChannelUserId: 'string',
|
|
25690
|
+
accessChannelUserName: 'string',
|
|
25274
25691
|
additionalBroker: 'string',
|
|
25275
25692
|
agentIds: 'string',
|
|
25276
25693
|
agentNames: 'string',
|
|
@@ -25280,15 +25697,28 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25280
25697
|
calleeLocation: 'string',
|
|
25281
25698
|
callerLocation: 'string',
|
|
25282
25699
|
callingNumber: 'string',
|
|
25700
|
+
clientAppName: 'string',
|
|
25701
|
+
clientIpAddress: 'string',
|
|
25702
|
+
clientLocation: 'string',
|
|
25703
|
+
clientUserAgent: 'string',
|
|
25283
25704
|
contactDisposition: 'string',
|
|
25284
25705
|
contactId: 'string',
|
|
25285
25706
|
contactType: 'string',
|
|
25286
25707
|
dialingTime: 'number',
|
|
25287
25708
|
earlyMediaState: 'string',
|
|
25709
|
+
earlyMediaText: 'string',
|
|
25288
25710
|
establishedTime: 'number',
|
|
25711
|
+
firstResponseTime: 'number',
|
|
25289
25712
|
heldTime: 'number',
|
|
25290
25713
|
instanceId: 'string',
|
|
25291
25714
|
ivrTime: 'number',
|
|
25715
|
+
mediaType: 'string',
|
|
25716
|
+
messagesSent: 'number',
|
|
25717
|
+
messagesSentByAgent: 'number',
|
|
25718
|
+
messagesSentByCustomer: 'number',
|
|
25719
|
+
offSiteAgentIds: 'string',
|
|
25720
|
+
offsiteAgentDestinationNumbers: 'string',
|
|
25721
|
+
offsiteAgentOriginatorNumbers: 'string',
|
|
25292
25722
|
queueTime: 'number',
|
|
25293
25723
|
recordingDuration: 'number',
|
|
25294
25724
|
recordingReady: 'boolean',
|
|
@@ -25304,6 +25734,7 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25304
25734
|
skillGroupNames: 'string',
|
|
25305
25735
|
startTime: 'number',
|
|
25306
25736
|
talkTime: 'number',
|
|
25737
|
+
transferCount: 'number',
|
|
25307
25738
|
waitTime: 'number',
|
|
25308
25739
|
};
|
|
25309
25740
|
}
|
|
@@ -25313,8 +25744,8 @@ export class ListCallDetailRecordsResponseBodyDataList extends $tea.Model {
|
|
|
25313
25744
|
}
|
|
25314
25745
|
}
|
|
25315
25746
|
|
|
25316
|
-
export class
|
|
25317
|
-
list?:
|
|
25747
|
+
export class ListCallDetailRecordsV2ResponseBodyData extends $tea.Model {
|
|
25748
|
+
list?: ListCallDetailRecordsV2ResponseBodyDataList[];
|
|
25318
25749
|
pageNumber?: number;
|
|
25319
25750
|
pageSize?: number;
|
|
25320
25751
|
totalCount?: number;
|
|
@@ -25329,7 +25760,7 @@ export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
|
25329
25760
|
|
|
25330
25761
|
static types(): { [key: string]: any } {
|
|
25331
25762
|
return {
|
|
25332
|
-
list: { 'type': 'array', 'itemType':
|
|
25763
|
+
list: { 'type': 'array', 'itemType': ListCallDetailRecordsV2ResponseBodyDataList },
|
|
25333
25764
|
pageNumber: 'number',
|
|
25334
25765
|
pageSize: 'number',
|
|
25335
25766
|
totalCount: 'number',
|
|
@@ -26039,6 +26470,68 @@ export class ListDocumentsResponseBodyData extends $tea.Model {
|
|
|
26039
26470
|
}
|
|
26040
26471
|
}
|
|
26041
26472
|
|
|
26473
|
+
export class ListGroupChatMessagesResponseBodyDataMessages extends $tea.Model {
|
|
26474
|
+
content?: string;
|
|
26475
|
+
jobId?: string;
|
|
26476
|
+
recalled?: boolean;
|
|
26477
|
+
senderAvatarUrl?: string;
|
|
26478
|
+
senderId?: string;
|
|
26479
|
+
senderName?: string;
|
|
26480
|
+
senderType?: string;
|
|
26481
|
+
timestamp?: number;
|
|
26482
|
+
static names(): { [key: string]: string } {
|
|
26483
|
+
return {
|
|
26484
|
+
content: 'Content',
|
|
26485
|
+
jobId: 'JobId',
|
|
26486
|
+
recalled: 'Recalled',
|
|
26487
|
+
senderAvatarUrl: 'SenderAvatarUrl',
|
|
26488
|
+
senderId: 'SenderId',
|
|
26489
|
+
senderName: 'SenderName',
|
|
26490
|
+
senderType: 'SenderType',
|
|
26491
|
+
timestamp: 'Timestamp',
|
|
26492
|
+
};
|
|
26493
|
+
}
|
|
26494
|
+
|
|
26495
|
+
static types(): { [key: string]: any } {
|
|
26496
|
+
return {
|
|
26497
|
+
content: 'string',
|
|
26498
|
+
jobId: 'string',
|
|
26499
|
+
recalled: 'boolean',
|
|
26500
|
+
senderAvatarUrl: 'string',
|
|
26501
|
+
senderId: 'string',
|
|
26502
|
+
senderName: 'string',
|
|
26503
|
+
senderType: 'string',
|
|
26504
|
+
timestamp: 'number',
|
|
26505
|
+
};
|
|
26506
|
+
}
|
|
26507
|
+
|
|
26508
|
+
constructor(map?: { [key: string]: any }) {
|
|
26509
|
+
super(map);
|
|
26510
|
+
}
|
|
26511
|
+
}
|
|
26512
|
+
|
|
26513
|
+
export class ListGroupChatMessagesResponseBodyData extends $tea.Model {
|
|
26514
|
+
messages?: ListGroupChatMessagesResponseBodyDataMessages[];
|
|
26515
|
+
nextPageToken?: string;
|
|
26516
|
+
static names(): { [key: string]: string } {
|
|
26517
|
+
return {
|
|
26518
|
+
messages: 'Messages',
|
|
26519
|
+
nextPageToken: 'NextPageToken',
|
|
26520
|
+
};
|
|
26521
|
+
}
|
|
26522
|
+
|
|
26523
|
+
static types(): { [key: string]: any } {
|
|
26524
|
+
return {
|
|
26525
|
+
messages: { 'type': 'array', 'itemType': ListGroupChatMessagesResponseBodyDataMessages },
|
|
26526
|
+
nextPageToken: 'string',
|
|
26527
|
+
};
|
|
26528
|
+
}
|
|
26529
|
+
|
|
26530
|
+
constructor(map?: { [key: string]: any }) {
|
|
26531
|
+
super(map);
|
|
26532
|
+
}
|
|
26533
|
+
}
|
|
26534
|
+
|
|
26042
26535
|
export class ListHistoricalAgentReportResponseBodyDataListBack2Back extends $tea.Model {
|
|
26043
26536
|
agentHandleRate?: string;
|
|
26044
26537
|
answerRate?: string;
|
|
@@ -40741,6 +41234,136 @@ export default class Client extends OpenApi {
|
|
|
40741
41234
|
return await this.listCallDetailRecordsWithOptions(request, runtime);
|
|
40742
41235
|
}
|
|
40743
41236
|
|
|
41237
|
+
/**
|
|
41238
|
+
* @param request ListCallDetailRecordsV2Request
|
|
41239
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
41240
|
+
* @return ListCallDetailRecordsV2Response
|
|
41241
|
+
*/
|
|
41242
|
+
async listCallDetailRecordsV2WithOptions(request: ListCallDetailRecordsV2Request, runtime: $Util.RuntimeOptions): Promise<ListCallDetailRecordsV2Response> {
|
|
41243
|
+
Util.validateModel(request);
|
|
41244
|
+
let query = { };
|
|
41245
|
+
if (!Util.isUnset(request.accessChannelTypeList)) {
|
|
41246
|
+
query["AccessChannelTypeList"] = request.accessChannelTypeList;
|
|
41247
|
+
}
|
|
41248
|
+
|
|
41249
|
+
if (!Util.isUnset(request.agentId)) {
|
|
41250
|
+
query["AgentId"] = request.agentId;
|
|
41251
|
+
}
|
|
41252
|
+
|
|
41253
|
+
if (!Util.isUnset(request.broker)) {
|
|
41254
|
+
query["Broker"] = request.broker;
|
|
41255
|
+
}
|
|
41256
|
+
|
|
41257
|
+
if (!Util.isUnset(request.calledNumber)) {
|
|
41258
|
+
query["CalledNumber"] = request.calledNumber;
|
|
41259
|
+
}
|
|
41260
|
+
|
|
41261
|
+
if (!Util.isUnset(request.callingNumber)) {
|
|
41262
|
+
query["CallingNumber"] = request.callingNumber;
|
|
41263
|
+
}
|
|
41264
|
+
|
|
41265
|
+
if (!Util.isUnset(request.contactDispositionList)) {
|
|
41266
|
+
query["ContactDispositionList"] = request.contactDispositionList;
|
|
41267
|
+
}
|
|
41268
|
+
|
|
41269
|
+
if (!Util.isUnset(request.contactIdList)) {
|
|
41270
|
+
query["ContactIdList"] = request.contactIdList;
|
|
41271
|
+
}
|
|
41272
|
+
|
|
41273
|
+
if (!Util.isUnset(request.contactTypeList)) {
|
|
41274
|
+
query["ContactTypeList"] = request.contactTypeList;
|
|
41275
|
+
}
|
|
41276
|
+
|
|
41277
|
+
if (!Util.isUnset(request.earlyMediaStateList)) {
|
|
41278
|
+
query["EarlyMediaStateList"] = request.earlyMediaStateList;
|
|
41279
|
+
}
|
|
41280
|
+
|
|
41281
|
+
if (!Util.isUnset(request.endTime)) {
|
|
41282
|
+
query["EndTime"] = request.endTime;
|
|
41283
|
+
}
|
|
41284
|
+
|
|
41285
|
+
if (!Util.isUnset(request.firstAgentId)) {
|
|
41286
|
+
query["FirstAgentId"] = request.firstAgentId;
|
|
41287
|
+
}
|
|
41288
|
+
|
|
41289
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
41290
|
+
query["InstanceId"] = request.instanceId;
|
|
41291
|
+
}
|
|
41292
|
+
|
|
41293
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
41294
|
+
query["MediaType"] = request.mediaType;
|
|
41295
|
+
}
|
|
41296
|
+
|
|
41297
|
+
if (!Util.isUnset(request.number)) {
|
|
41298
|
+
query["Number"] = request.number;
|
|
41299
|
+
}
|
|
41300
|
+
|
|
41301
|
+
if (!Util.isUnset(request.orderByField)) {
|
|
41302
|
+
query["OrderByField"] = request.orderByField;
|
|
41303
|
+
}
|
|
41304
|
+
|
|
41305
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
41306
|
+
query["PageNumber"] = request.pageNumber;
|
|
41307
|
+
}
|
|
41308
|
+
|
|
41309
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
41310
|
+
query["PageSize"] = request.pageSize;
|
|
41311
|
+
}
|
|
41312
|
+
|
|
41313
|
+
if (!Util.isUnset(request.satisfactionDescriptionList)) {
|
|
41314
|
+
query["SatisfactionDescriptionList"] = request.satisfactionDescriptionList;
|
|
41315
|
+
}
|
|
41316
|
+
|
|
41317
|
+
if (!Util.isUnset(request.satisfactionRateList)) {
|
|
41318
|
+
query["SatisfactionRateList"] = request.satisfactionRateList;
|
|
41319
|
+
}
|
|
41320
|
+
|
|
41321
|
+
if (!Util.isUnset(request.satisfactionSurveyChannel)) {
|
|
41322
|
+
query["SatisfactionSurveyChannel"] = request.satisfactionSurveyChannel;
|
|
41323
|
+
}
|
|
41324
|
+
|
|
41325
|
+
if (!Util.isUnset(request.searchPattern)) {
|
|
41326
|
+
query["SearchPattern"] = request.searchPattern;
|
|
41327
|
+
}
|
|
41328
|
+
|
|
41329
|
+
if (!Util.isUnset(request.skillGroupIdList)) {
|
|
41330
|
+
query["SkillGroupIdList"] = request.skillGroupIdList;
|
|
41331
|
+
}
|
|
41332
|
+
|
|
41333
|
+
if (!Util.isUnset(request.sortOrder)) {
|
|
41334
|
+
query["SortOrder"] = request.sortOrder;
|
|
41335
|
+
}
|
|
41336
|
+
|
|
41337
|
+
if (!Util.isUnset(request.startTime)) {
|
|
41338
|
+
query["StartTime"] = request.startTime;
|
|
41339
|
+
}
|
|
41340
|
+
|
|
41341
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41342
|
+
query: OpenApiUtil.query(query),
|
|
41343
|
+
});
|
|
41344
|
+
let params = new $OpenApi.Params({
|
|
41345
|
+
action: "ListCallDetailRecordsV2",
|
|
41346
|
+
version: "2020-07-01",
|
|
41347
|
+
protocol: "HTTPS",
|
|
41348
|
+
pathname: "/",
|
|
41349
|
+
method: "POST",
|
|
41350
|
+
authType: "AK",
|
|
41351
|
+
style: "RPC",
|
|
41352
|
+
reqBodyType: "formData",
|
|
41353
|
+
bodyType: "json",
|
|
41354
|
+
});
|
|
41355
|
+
return $tea.cast<ListCallDetailRecordsV2Response>(await this.callApi(params, req, runtime), new ListCallDetailRecordsV2Response({}));
|
|
41356
|
+
}
|
|
41357
|
+
|
|
41358
|
+
/**
|
|
41359
|
+
* @param request ListCallDetailRecordsV2Request
|
|
41360
|
+
* @return ListCallDetailRecordsV2Response
|
|
41361
|
+
*/
|
|
41362
|
+
async listCallDetailRecordsV2(request: ListCallDetailRecordsV2Request): Promise<ListCallDetailRecordsV2Response> {
|
|
41363
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41364
|
+
return await this.listCallDetailRecordsV2WithOptions(request, runtime);
|
|
41365
|
+
}
|
|
41366
|
+
|
|
40744
41367
|
/**
|
|
40745
41368
|
* @summary 列出号码标签
|
|
40746
41369
|
*
|
|
@@ -41389,6 +42012,64 @@ export default class Client extends OpenApi {
|
|
|
41389
42012
|
return await this.listDocumentsWithOptions(request, runtime);
|
|
41390
42013
|
}
|
|
41391
42014
|
|
|
42015
|
+
/**
|
|
42016
|
+
* @summary ListGroupChatMessages
|
|
42017
|
+
*
|
|
42018
|
+
* @param request ListGroupChatMessagesRequest
|
|
42019
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42020
|
+
* @return ListGroupChatMessagesResponse
|
|
42021
|
+
*/
|
|
42022
|
+
async listGroupChatMessagesWithOptions(request: ListGroupChatMessagesRequest, runtime: $Util.RuntimeOptions): Promise<ListGroupChatMessagesResponse> {
|
|
42023
|
+
Util.validateModel(request);
|
|
42024
|
+
let query = { };
|
|
42025
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
42026
|
+
query["InstanceId"] = request.instanceId;
|
|
42027
|
+
}
|
|
42028
|
+
|
|
42029
|
+
if (!Util.isUnset(request.jobId)) {
|
|
42030
|
+
query["JobId"] = request.jobId;
|
|
42031
|
+
}
|
|
42032
|
+
|
|
42033
|
+
if (!Util.isUnset(request.nextPageToken)) {
|
|
42034
|
+
query["NextPageToken"] = request.nextPageToken;
|
|
42035
|
+
}
|
|
42036
|
+
|
|
42037
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
42038
|
+
query["PageSize"] = request.pageSize;
|
|
42039
|
+
}
|
|
42040
|
+
|
|
42041
|
+
if (!Util.isUnset(request.sortOrder)) {
|
|
42042
|
+
query["SortOrder"] = request.sortOrder;
|
|
42043
|
+
}
|
|
42044
|
+
|
|
42045
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
42046
|
+
query: OpenApiUtil.query(query),
|
|
42047
|
+
});
|
|
42048
|
+
let params = new $OpenApi.Params({
|
|
42049
|
+
action: "ListGroupChatMessages",
|
|
42050
|
+
version: "2020-07-01",
|
|
42051
|
+
protocol: "HTTPS",
|
|
42052
|
+
pathname: "/",
|
|
42053
|
+
method: "POST",
|
|
42054
|
+
authType: "AK",
|
|
42055
|
+
style: "RPC",
|
|
42056
|
+
reqBodyType: "formData",
|
|
42057
|
+
bodyType: "json",
|
|
42058
|
+
});
|
|
42059
|
+
return $tea.cast<ListGroupChatMessagesResponse>(await this.callApi(params, req, runtime), new ListGroupChatMessagesResponse({}));
|
|
42060
|
+
}
|
|
42061
|
+
|
|
42062
|
+
/**
|
|
42063
|
+
* @summary ListGroupChatMessages
|
|
42064
|
+
*
|
|
42065
|
+
* @param request ListGroupChatMessagesRequest
|
|
42066
|
+
* @return ListGroupChatMessagesResponse
|
|
42067
|
+
*/
|
|
42068
|
+
async listGroupChatMessages(request: ListGroupChatMessagesRequest): Promise<ListGroupChatMessagesResponse> {
|
|
42069
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
42070
|
+
return await this.listGroupChatMessagesWithOptions(request, runtime);
|
|
42071
|
+
}
|
|
42072
|
+
|
|
41392
42073
|
/**
|
|
41393
42074
|
* @param request ListHistoricalAgentReportRequest
|
|
41394
42075
|
* @param runtime runtime options for this request RuntimeOptions
|