@alicloud/ccc20200701 2.22.0 → 2.24.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 +215 -0
- package/dist/client.js +480 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +611 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5047,6 +5047,93 @@ export class ExportDoNotCallNumbersResponse extends $tea.Model {
|
|
|
5047
5047
|
}
|
|
5048
5048
|
}
|
|
5049
5049
|
|
|
5050
|
+
export class FinishTicketTaskRequest extends $tea.Model {
|
|
5051
|
+
comment?: string;
|
|
5052
|
+
instanceId?: string;
|
|
5053
|
+
taskId?: string;
|
|
5054
|
+
ticketId?: string;
|
|
5055
|
+
static names(): { [key: string]: string } {
|
|
5056
|
+
return {
|
|
5057
|
+
comment: 'Comment',
|
|
5058
|
+
instanceId: 'InstanceId',
|
|
5059
|
+
taskId: 'TaskId',
|
|
5060
|
+
ticketId: 'TicketId',
|
|
5061
|
+
};
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
static types(): { [key: string]: any } {
|
|
5065
|
+
return {
|
|
5066
|
+
comment: 'string',
|
|
5067
|
+
instanceId: 'string',
|
|
5068
|
+
taskId: 'string',
|
|
5069
|
+
ticketId: 'string',
|
|
5070
|
+
};
|
|
5071
|
+
}
|
|
5072
|
+
|
|
5073
|
+
constructor(map?: { [key: string]: any }) {
|
|
5074
|
+
super(map);
|
|
5075
|
+
}
|
|
5076
|
+
}
|
|
5077
|
+
|
|
5078
|
+
export class FinishTicketTaskResponseBody extends $tea.Model {
|
|
5079
|
+
code?: string;
|
|
5080
|
+
data?: any;
|
|
5081
|
+
httpStatusCode?: number;
|
|
5082
|
+
message?: string;
|
|
5083
|
+
params?: string[];
|
|
5084
|
+
requestId?: string;
|
|
5085
|
+
static names(): { [key: string]: string } {
|
|
5086
|
+
return {
|
|
5087
|
+
code: 'Code',
|
|
5088
|
+
data: 'Data',
|
|
5089
|
+
httpStatusCode: 'HttpStatusCode',
|
|
5090
|
+
message: 'Message',
|
|
5091
|
+
params: 'Params',
|
|
5092
|
+
requestId: 'RequestId',
|
|
5093
|
+
};
|
|
5094
|
+
}
|
|
5095
|
+
|
|
5096
|
+
static types(): { [key: string]: any } {
|
|
5097
|
+
return {
|
|
5098
|
+
code: 'string',
|
|
5099
|
+
data: 'any',
|
|
5100
|
+
httpStatusCode: 'number',
|
|
5101
|
+
message: 'string',
|
|
5102
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
5103
|
+
requestId: 'string',
|
|
5104
|
+
};
|
|
5105
|
+
}
|
|
5106
|
+
|
|
5107
|
+
constructor(map?: { [key: string]: any }) {
|
|
5108
|
+
super(map);
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
export class FinishTicketTaskResponse extends $tea.Model {
|
|
5113
|
+
headers?: { [key: string]: string };
|
|
5114
|
+
statusCode?: number;
|
|
5115
|
+
body?: FinishTicketTaskResponseBody;
|
|
5116
|
+
static names(): { [key: string]: string } {
|
|
5117
|
+
return {
|
|
5118
|
+
headers: 'headers',
|
|
5119
|
+
statusCode: 'statusCode',
|
|
5120
|
+
body: 'body',
|
|
5121
|
+
};
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
static types(): { [key: string]: any } {
|
|
5125
|
+
return {
|
|
5126
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5127
|
+
statusCode: 'number',
|
|
5128
|
+
body: FinishTicketTaskResponseBody,
|
|
5129
|
+
};
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
constructor(map?: { [key: string]: any }) {
|
|
5133
|
+
super(map);
|
|
5134
|
+
}
|
|
5135
|
+
}
|
|
5136
|
+
|
|
5050
5137
|
export class GetAccessChannelOfStagingRequest extends $tea.Model {
|
|
5051
5138
|
searchPattern?: string;
|
|
5052
5139
|
static names(): { [key: string]: string } {
|
|
@@ -9634,6 +9721,150 @@ export class ListCallDetailRecordsResponse extends $tea.Model {
|
|
|
9634
9721
|
}
|
|
9635
9722
|
}
|
|
9636
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
|
+
|
|
9637
9868
|
export class ListCallTagsRequest extends $tea.Model {
|
|
9638
9869
|
instanceId?: string;
|
|
9639
9870
|
pageNumber?: number;
|
|
@@ -25254,6 +25485,206 @@ export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
|
25254
25485
|
}
|
|
25255
25486
|
}
|
|
25256
25487
|
|
|
25488
|
+
export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
25489
|
+
accessChannelName?: string;
|
|
25490
|
+
accessChannelType?: string;
|
|
25491
|
+
accessChannelUserId?: string;
|
|
25492
|
+
accessChannelUserName?: string;
|
|
25493
|
+
additionalBroker?: string;
|
|
25494
|
+
agentIds?: string;
|
|
25495
|
+
agentNames?: string;
|
|
25496
|
+
broker?: string;
|
|
25497
|
+
callDuration?: string;
|
|
25498
|
+
calledNumber?: string;
|
|
25499
|
+
calleeLocation?: string;
|
|
25500
|
+
callerLocation?: string;
|
|
25501
|
+
callingNumber?: string;
|
|
25502
|
+
clientAppName?: string;
|
|
25503
|
+
clientIpAddress?: string;
|
|
25504
|
+
clientLocation?: string;
|
|
25505
|
+
clientUserAgent?: string;
|
|
25506
|
+
contactDisposition?: string;
|
|
25507
|
+
contactId?: string;
|
|
25508
|
+
contactType?: string;
|
|
25509
|
+
dialingTime?: number;
|
|
25510
|
+
earlyMediaState?: string;
|
|
25511
|
+
earlyMediaText?: string;
|
|
25512
|
+
establishedTime?: number;
|
|
25513
|
+
firstResponseTime?: number;
|
|
25514
|
+
heldTime?: number;
|
|
25515
|
+
instanceId?: string;
|
|
25516
|
+
ivrTime?: number;
|
|
25517
|
+
mediaType?: string;
|
|
25518
|
+
messagesSent?: number;
|
|
25519
|
+
messagesSentByAgent?: number;
|
|
25520
|
+
messagesSentByCustomer?: number;
|
|
25521
|
+
offSiteAgentIds?: string;
|
|
25522
|
+
offsiteAgentDestinationNumbers?: string;
|
|
25523
|
+
offsiteAgentOriginatorNumbers?: string;
|
|
25524
|
+
queueTime?: number;
|
|
25525
|
+
recordingDuration?: number;
|
|
25526
|
+
recordingReady?: boolean;
|
|
25527
|
+
releaseInitiator?: string;
|
|
25528
|
+
releaseReason?: string;
|
|
25529
|
+
releaseTime?: number;
|
|
25530
|
+
ringTime?: number;
|
|
25531
|
+
satisfactionDescription?: string;
|
|
25532
|
+
satisfactionIndex?: number;
|
|
25533
|
+
satisfactionSurveyChannel?: string;
|
|
25534
|
+
satisfactionSurveyOffered?: boolean;
|
|
25535
|
+
skillGroupIds?: string;
|
|
25536
|
+
skillGroupNames?: string;
|
|
25537
|
+
startTime?: number;
|
|
25538
|
+
talkTime?: number;
|
|
25539
|
+
transferCount?: number;
|
|
25540
|
+
waitTime?: number;
|
|
25541
|
+
static names(): { [key: string]: string } {
|
|
25542
|
+
return {
|
|
25543
|
+
accessChannelName: 'AccessChannelName',
|
|
25544
|
+
accessChannelType: 'AccessChannelType',
|
|
25545
|
+
accessChannelUserId: 'AccessChannelUserId',
|
|
25546
|
+
accessChannelUserName: 'AccessChannelUserName',
|
|
25547
|
+
additionalBroker: 'AdditionalBroker',
|
|
25548
|
+
agentIds: 'AgentIds',
|
|
25549
|
+
agentNames: 'AgentNames',
|
|
25550
|
+
broker: 'Broker',
|
|
25551
|
+
callDuration: 'CallDuration',
|
|
25552
|
+
calledNumber: 'CalledNumber',
|
|
25553
|
+
calleeLocation: 'CalleeLocation',
|
|
25554
|
+
callerLocation: 'CallerLocation',
|
|
25555
|
+
callingNumber: 'CallingNumber',
|
|
25556
|
+
clientAppName: 'ClientAppName',
|
|
25557
|
+
clientIpAddress: 'ClientIpAddress',
|
|
25558
|
+
clientLocation: 'ClientLocation',
|
|
25559
|
+
clientUserAgent: 'ClientUserAgent',
|
|
25560
|
+
contactDisposition: 'ContactDisposition',
|
|
25561
|
+
contactId: 'ContactId',
|
|
25562
|
+
contactType: 'ContactType',
|
|
25563
|
+
dialingTime: 'DialingTime',
|
|
25564
|
+
earlyMediaState: 'EarlyMediaState',
|
|
25565
|
+
earlyMediaText: 'EarlyMediaText',
|
|
25566
|
+
establishedTime: 'EstablishedTime',
|
|
25567
|
+
firstResponseTime: 'FirstResponseTime',
|
|
25568
|
+
heldTime: 'HeldTime',
|
|
25569
|
+
instanceId: 'InstanceId',
|
|
25570
|
+
ivrTime: 'IvrTime',
|
|
25571
|
+
mediaType: 'MediaType',
|
|
25572
|
+
messagesSent: 'MessagesSent',
|
|
25573
|
+
messagesSentByAgent: 'MessagesSentByAgent',
|
|
25574
|
+
messagesSentByCustomer: 'MessagesSentByCustomer',
|
|
25575
|
+
offSiteAgentIds: 'OffSiteAgentIds',
|
|
25576
|
+
offsiteAgentDestinationNumbers: 'OffsiteAgentDestinationNumbers',
|
|
25577
|
+
offsiteAgentOriginatorNumbers: 'OffsiteAgentOriginatorNumbers',
|
|
25578
|
+
queueTime: 'QueueTime',
|
|
25579
|
+
recordingDuration: 'RecordingDuration',
|
|
25580
|
+
recordingReady: 'RecordingReady',
|
|
25581
|
+
releaseInitiator: 'ReleaseInitiator',
|
|
25582
|
+
releaseReason: 'ReleaseReason',
|
|
25583
|
+
releaseTime: 'ReleaseTime',
|
|
25584
|
+
ringTime: 'RingTime',
|
|
25585
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
25586
|
+
satisfactionIndex: 'SatisfactionIndex',
|
|
25587
|
+
satisfactionSurveyChannel: 'SatisfactionSurveyChannel',
|
|
25588
|
+
satisfactionSurveyOffered: 'SatisfactionSurveyOffered',
|
|
25589
|
+
skillGroupIds: 'SkillGroupIds',
|
|
25590
|
+
skillGroupNames: 'SkillGroupNames',
|
|
25591
|
+
startTime: 'StartTime',
|
|
25592
|
+
talkTime: 'TalkTime',
|
|
25593
|
+
transferCount: 'TransferCount',
|
|
25594
|
+
waitTime: 'WaitTime',
|
|
25595
|
+
};
|
|
25596
|
+
}
|
|
25597
|
+
|
|
25598
|
+
static types(): { [key: string]: any } {
|
|
25599
|
+
return {
|
|
25600
|
+
accessChannelName: 'string',
|
|
25601
|
+
accessChannelType: 'string',
|
|
25602
|
+
accessChannelUserId: 'string',
|
|
25603
|
+
accessChannelUserName: 'string',
|
|
25604
|
+
additionalBroker: 'string',
|
|
25605
|
+
agentIds: 'string',
|
|
25606
|
+
agentNames: 'string',
|
|
25607
|
+
broker: 'string',
|
|
25608
|
+
callDuration: 'string',
|
|
25609
|
+
calledNumber: 'string',
|
|
25610
|
+
calleeLocation: 'string',
|
|
25611
|
+
callerLocation: 'string',
|
|
25612
|
+
callingNumber: 'string',
|
|
25613
|
+
clientAppName: 'string',
|
|
25614
|
+
clientIpAddress: 'string',
|
|
25615
|
+
clientLocation: 'string',
|
|
25616
|
+
clientUserAgent: 'string',
|
|
25617
|
+
contactDisposition: 'string',
|
|
25618
|
+
contactId: 'string',
|
|
25619
|
+
contactType: 'string',
|
|
25620
|
+
dialingTime: 'number',
|
|
25621
|
+
earlyMediaState: 'string',
|
|
25622
|
+
earlyMediaText: 'string',
|
|
25623
|
+
establishedTime: 'number',
|
|
25624
|
+
firstResponseTime: 'number',
|
|
25625
|
+
heldTime: 'number',
|
|
25626
|
+
instanceId: 'string',
|
|
25627
|
+
ivrTime: 'number',
|
|
25628
|
+
mediaType: 'string',
|
|
25629
|
+
messagesSent: 'number',
|
|
25630
|
+
messagesSentByAgent: 'number',
|
|
25631
|
+
messagesSentByCustomer: 'number',
|
|
25632
|
+
offSiteAgentIds: 'string',
|
|
25633
|
+
offsiteAgentDestinationNumbers: 'string',
|
|
25634
|
+
offsiteAgentOriginatorNumbers: 'string',
|
|
25635
|
+
queueTime: 'number',
|
|
25636
|
+
recordingDuration: 'number',
|
|
25637
|
+
recordingReady: 'boolean',
|
|
25638
|
+
releaseInitiator: 'string',
|
|
25639
|
+
releaseReason: 'string',
|
|
25640
|
+
releaseTime: 'number',
|
|
25641
|
+
ringTime: 'number',
|
|
25642
|
+
satisfactionDescription: 'string',
|
|
25643
|
+
satisfactionIndex: 'number',
|
|
25644
|
+
satisfactionSurveyChannel: 'string',
|
|
25645
|
+
satisfactionSurveyOffered: 'boolean',
|
|
25646
|
+
skillGroupIds: 'string',
|
|
25647
|
+
skillGroupNames: 'string',
|
|
25648
|
+
startTime: 'number',
|
|
25649
|
+
talkTime: 'number',
|
|
25650
|
+
transferCount: 'number',
|
|
25651
|
+
waitTime: 'number',
|
|
25652
|
+
};
|
|
25653
|
+
}
|
|
25654
|
+
|
|
25655
|
+
constructor(map?: { [key: string]: any }) {
|
|
25656
|
+
super(map);
|
|
25657
|
+
}
|
|
25658
|
+
}
|
|
25659
|
+
|
|
25660
|
+
export class ListCallDetailRecordsV2ResponseBodyData extends $tea.Model {
|
|
25661
|
+
list?: ListCallDetailRecordsV2ResponseBodyDataList[];
|
|
25662
|
+
pageNumber?: number;
|
|
25663
|
+
pageSize?: number;
|
|
25664
|
+
totalCount?: number;
|
|
25665
|
+
static names(): { [key: string]: string } {
|
|
25666
|
+
return {
|
|
25667
|
+
list: 'List',
|
|
25668
|
+
pageNumber: 'PageNumber',
|
|
25669
|
+
pageSize: 'PageSize',
|
|
25670
|
+
totalCount: 'TotalCount',
|
|
25671
|
+
};
|
|
25672
|
+
}
|
|
25673
|
+
|
|
25674
|
+
static types(): { [key: string]: any } {
|
|
25675
|
+
return {
|
|
25676
|
+
list: { 'type': 'array', 'itemType': ListCallDetailRecordsV2ResponseBodyDataList },
|
|
25677
|
+
pageNumber: 'number',
|
|
25678
|
+
pageSize: 'number',
|
|
25679
|
+
totalCount: 'number',
|
|
25680
|
+
};
|
|
25681
|
+
}
|
|
25682
|
+
|
|
25683
|
+
constructor(map?: { [key: string]: any }) {
|
|
25684
|
+
super(map);
|
|
25685
|
+
}
|
|
25686
|
+
}
|
|
25687
|
+
|
|
25257
25688
|
export class ListCallTagsResponseBodyDataList extends $tea.Model {
|
|
25258
25689
|
instanceId?: string;
|
|
25259
25690
|
tagName?: string;
|
|
@@ -37922,6 +38353,56 @@ export default class Client extends OpenApi {
|
|
|
37922
38353
|
return await this.exportDoNotCallNumbersWithOptions(request, runtime);
|
|
37923
38354
|
}
|
|
37924
38355
|
|
|
38356
|
+
/**
|
|
38357
|
+
* @param request FinishTicketTaskRequest
|
|
38358
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
38359
|
+
* @return FinishTicketTaskResponse
|
|
38360
|
+
*/
|
|
38361
|
+
async finishTicketTaskWithOptions(request: FinishTicketTaskRequest, runtime: $Util.RuntimeOptions): Promise<FinishTicketTaskResponse> {
|
|
38362
|
+
Util.validateModel(request);
|
|
38363
|
+
let query = { };
|
|
38364
|
+
if (!Util.isUnset(request.comment)) {
|
|
38365
|
+
query["Comment"] = request.comment;
|
|
38366
|
+
}
|
|
38367
|
+
|
|
38368
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
38369
|
+
query["InstanceId"] = request.instanceId;
|
|
38370
|
+
}
|
|
38371
|
+
|
|
38372
|
+
if (!Util.isUnset(request.taskId)) {
|
|
38373
|
+
query["TaskId"] = request.taskId;
|
|
38374
|
+
}
|
|
38375
|
+
|
|
38376
|
+
if (!Util.isUnset(request.ticketId)) {
|
|
38377
|
+
query["TicketId"] = request.ticketId;
|
|
38378
|
+
}
|
|
38379
|
+
|
|
38380
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38381
|
+
query: OpenApiUtil.query(query),
|
|
38382
|
+
});
|
|
38383
|
+
let params = new $OpenApi.Params({
|
|
38384
|
+
action: "FinishTicketTask",
|
|
38385
|
+
version: "2020-07-01",
|
|
38386
|
+
protocol: "HTTPS",
|
|
38387
|
+
pathname: "/",
|
|
38388
|
+
method: "POST",
|
|
38389
|
+
authType: "AK",
|
|
38390
|
+
style: "RPC",
|
|
38391
|
+
reqBodyType: "formData",
|
|
38392
|
+
bodyType: "json",
|
|
38393
|
+
});
|
|
38394
|
+
return $tea.cast<FinishTicketTaskResponse>(await this.callApi(params, req, runtime), new FinishTicketTaskResponse({}));
|
|
38395
|
+
}
|
|
38396
|
+
|
|
38397
|
+
/**
|
|
38398
|
+
* @param request FinishTicketTaskRequest
|
|
38399
|
+
* @return FinishTicketTaskResponse
|
|
38400
|
+
*/
|
|
38401
|
+
async finishTicketTask(request: FinishTicketTaskRequest): Promise<FinishTicketTaskResponse> {
|
|
38402
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38403
|
+
return await this.finishTicketTaskWithOptions(request, runtime);
|
|
38404
|
+
}
|
|
38405
|
+
|
|
37925
38406
|
/**
|
|
37926
38407
|
* @summary GetAccessChannelOfStaging
|
|
37927
38408
|
*
|
|
@@ -40604,6 +41085,136 @@ export default class Client extends OpenApi {
|
|
|
40604
41085
|
return await this.listCallDetailRecordsWithOptions(request, runtime);
|
|
40605
41086
|
}
|
|
40606
41087
|
|
|
41088
|
+
/**
|
|
41089
|
+
* @param request ListCallDetailRecordsV2Request
|
|
41090
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
41091
|
+
* @return ListCallDetailRecordsV2Response
|
|
41092
|
+
*/
|
|
41093
|
+
async listCallDetailRecordsV2WithOptions(request: ListCallDetailRecordsV2Request, runtime: $Util.RuntimeOptions): Promise<ListCallDetailRecordsV2Response> {
|
|
41094
|
+
Util.validateModel(request);
|
|
41095
|
+
let query = { };
|
|
41096
|
+
if (!Util.isUnset(request.accessChannelTypeList)) {
|
|
41097
|
+
query["AccessChannelTypeList"] = request.accessChannelTypeList;
|
|
41098
|
+
}
|
|
41099
|
+
|
|
41100
|
+
if (!Util.isUnset(request.agentId)) {
|
|
41101
|
+
query["AgentId"] = request.agentId;
|
|
41102
|
+
}
|
|
41103
|
+
|
|
41104
|
+
if (!Util.isUnset(request.broker)) {
|
|
41105
|
+
query["Broker"] = request.broker;
|
|
41106
|
+
}
|
|
41107
|
+
|
|
41108
|
+
if (!Util.isUnset(request.calledNumber)) {
|
|
41109
|
+
query["CalledNumber"] = request.calledNumber;
|
|
41110
|
+
}
|
|
41111
|
+
|
|
41112
|
+
if (!Util.isUnset(request.callingNumber)) {
|
|
41113
|
+
query["CallingNumber"] = request.callingNumber;
|
|
41114
|
+
}
|
|
41115
|
+
|
|
41116
|
+
if (!Util.isUnset(request.contactDispositionList)) {
|
|
41117
|
+
query["ContactDispositionList"] = request.contactDispositionList;
|
|
41118
|
+
}
|
|
41119
|
+
|
|
41120
|
+
if (!Util.isUnset(request.contactIdList)) {
|
|
41121
|
+
query["ContactIdList"] = request.contactIdList;
|
|
41122
|
+
}
|
|
41123
|
+
|
|
41124
|
+
if (!Util.isUnset(request.contactTypeList)) {
|
|
41125
|
+
query["ContactTypeList"] = request.contactTypeList;
|
|
41126
|
+
}
|
|
41127
|
+
|
|
41128
|
+
if (!Util.isUnset(request.earlyMediaStateList)) {
|
|
41129
|
+
query["EarlyMediaStateList"] = request.earlyMediaStateList;
|
|
41130
|
+
}
|
|
41131
|
+
|
|
41132
|
+
if (!Util.isUnset(request.endTime)) {
|
|
41133
|
+
query["EndTime"] = request.endTime;
|
|
41134
|
+
}
|
|
41135
|
+
|
|
41136
|
+
if (!Util.isUnset(request.firstAgentId)) {
|
|
41137
|
+
query["FirstAgentId"] = request.firstAgentId;
|
|
41138
|
+
}
|
|
41139
|
+
|
|
41140
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
41141
|
+
query["InstanceId"] = request.instanceId;
|
|
41142
|
+
}
|
|
41143
|
+
|
|
41144
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
41145
|
+
query["MediaType"] = request.mediaType;
|
|
41146
|
+
}
|
|
41147
|
+
|
|
41148
|
+
if (!Util.isUnset(request.number)) {
|
|
41149
|
+
query["Number"] = request.number;
|
|
41150
|
+
}
|
|
41151
|
+
|
|
41152
|
+
if (!Util.isUnset(request.orderByField)) {
|
|
41153
|
+
query["OrderByField"] = request.orderByField;
|
|
41154
|
+
}
|
|
41155
|
+
|
|
41156
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
41157
|
+
query["PageNumber"] = request.pageNumber;
|
|
41158
|
+
}
|
|
41159
|
+
|
|
41160
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
41161
|
+
query["PageSize"] = request.pageSize;
|
|
41162
|
+
}
|
|
41163
|
+
|
|
41164
|
+
if (!Util.isUnset(request.satisfactionDescriptionList)) {
|
|
41165
|
+
query["SatisfactionDescriptionList"] = request.satisfactionDescriptionList;
|
|
41166
|
+
}
|
|
41167
|
+
|
|
41168
|
+
if (!Util.isUnset(request.satisfactionRateList)) {
|
|
41169
|
+
query["SatisfactionRateList"] = request.satisfactionRateList;
|
|
41170
|
+
}
|
|
41171
|
+
|
|
41172
|
+
if (!Util.isUnset(request.satisfactionSurveyChannel)) {
|
|
41173
|
+
query["SatisfactionSurveyChannel"] = request.satisfactionSurveyChannel;
|
|
41174
|
+
}
|
|
41175
|
+
|
|
41176
|
+
if (!Util.isUnset(request.searchPattern)) {
|
|
41177
|
+
query["SearchPattern"] = request.searchPattern;
|
|
41178
|
+
}
|
|
41179
|
+
|
|
41180
|
+
if (!Util.isUnset(request.skillGroupIdList)) {
|
|
41181
|
+
query["SkillGroupIdList"] = request.skillGroupIdList;
|
|
41182
|
+
}
|
|
41183
|
+
|
|
41184
|
+
if (!Util.isUnset(request.sortOrder)) {
|
|
41185
|
+
query["SortOrder"] = request.sortOrder;
|
|
41186
|
+
}
|
|
41187
|
+
|
|
41188
|
+
if (!Util.isUnset(request.startTime)) {
|
|
41189
|
+
query["StartTime"] = request.startTime;
|
|
41190
|
+
}
|
|
41191
|
+
|
|
41192
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41193
|
+
query: OpenApiUtil.query(query),
|
|
41194
|
+
});
|
|
41195
|
+
let params = new $OpenApi.Params({
|
|
41196
|
+
action: "ListCallDetailRecordsV2",
|
|
41197
|
+
version: "2020-07-01",
|
|
41198
|
+
protocol: "HTTPS",
|
|
41199
|
+
pathname: "/",
|
|
41200
|
+
method: "POST",
|
|
41201
|
+
authType: "AK",
|
|
41202
|
+
style: "RPC",
|
|
41203
|
+
reqBodyType: "formData",
|
|
41204
|
+
bodyType: "json",
|
|
41205
|
+
});
|
|
41206
|
+
return $tea.cast<ListCallDetailRecordsV2Response>(await this.callApi(params, req, runtime), new ListCallDetailRecordsV2Response({}));
|
|
41207
|
+
}
|
|
41208
|
+
|
|
41209
|
+
/**
|
|
41210
|
+
* @param request ListCallDetailRecordsV2Request
|
|
41211
|
+
* @return ListCallDetailRecordsV2Response
|
|
41212
|
+
*/
|
|
41213
|
+
async listCallDetailRecordsV2(request: ListCallDetailRecordsV2Request): Promise<ListCallDetailRecordsV2Response> {
|
|
41214
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41215
|
+
return await this.listCallDetailRecordsV2WithOptions(request, runtime);
|
|
41216
|
+
}
|
|
41217
|
+
|
|
40607
41218
|
/**
|
|
40608
41219
|
* @summary 列出号码标签
|
|
40609
41220
|
*
|