@alicloud/ccc20200701 2.27.0 → 2.27.1
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 +157 -0
- package/dist/client.js +244 -7
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +305 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/ccc20200701",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.12",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -13872,6 +13872,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13872
13872
|
* agent@ccc-test
|
|
13873
13873
|
*/
|
|
13874
13874
|
agentId?: string;
|
|
13875
|
+
analyticsReportReady?: boolean;
|
|
13875
13876
|
/**
|
|
13876
13877
|
* @example
|
|
13877
13878
|
* 021****4972
|
|
@@ -13992,6 +13993,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13992
13993
|
return {
|
|
13993
13994
|
accessChannelTypeList: 'AccessChannelTypeList',
|
|
13994
13995
|
agentId: 'AgentId',
|
|
13996
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
13995
13997
|
broker: 'Broker',
|
|
13996
13998
|
calledNumber: 'CalledNumber',
|
|
13997
13999
|
callingNumber: 'CallingNumber',
|
|
@@ -14023,6 +14025,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
14023
14025
|
return {
|
|
14024
14026
|
accessChannelTypeList: 'string',
|
|
14025
14027
|
agentId: 'string',
|
|
14028
|
+
analyticsReportReady: 'boolean',
|
|
14026
14029
|
broker: 'string',
|
|
14027
14030
|
calledNumber: 'string',
|
|
14028
14031
|
callingNumber: 'string',
|
|
@@ -32178,6 +32181,149 @@ export class GetCallDetailRecordResponseBodyDataAgentEvents extends $tea.Model {
|
|
|
32178
32181
|
}
|
|
32179
32182
|
}
|
|
32180
32183
|
|
|
32184
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion extends $tea.Model {
|
|
32185
|
+
confidence?: number;
|
|
32186
|
+
remark?: string;
|
|
32187
|
+
success?: boolean;
|
|
32188
|
+
taskId?: string;
|
|
32189
|
+
type?: string;
|
|
32190
|
+
static names(): { [key: string]: string } {
|
|
32191
|
+
return {
|
|
32192
|
+
confidence: 'Confidence',
|
|
32193
|
+
remark: 'Remark',
|
|
32194
|
+
success: 'Success',
|
|
32195
|
+
taskId: 'TaskId',
|
|
32196
|
+
type: 'Type',
|
|
32197
|
+
};
|
|
32198
|
+
}
|
|
32199
|
+
|
|
32200
|
+
static types(): { [key: string]: any } {
|
|
32201
|
+
return {
|
|
32202
|
+
confidence: 'number',
|
|
32203
|
+
remark: 'string',
|
|
32204
|
+
success: 'boolean',
|
|
32205
|
+
taskId: 'string',
|
|
32206
|
+
type: 'string',
|
|
32207
|
+
};
|
|
32208
|
+
}
|
|
32209
|
+
|
|
32210
|
+
constructor(map?: { [key: string]: any }) {
|
|
32211
|
+
super(map);
|
|
32212
|
+
}
|
|
32213
|
+
}
|
|
32214
|
+
|
|
32215
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving extends $tea.Model {
|
|
32216
|
+
problem?: string;
|
|
32217
|
+
solution?: string;
|
|
32218
|
+
solved?: boolean;
|
|
32219
|
+
success?: boolean;
|
|
32220
|
+
taskId?: string;
|
|
32221
|
+
static names(): { [key: string]: string } {
|
|
32222
|
+
return {
|
|
32223
|
+
problem: 'Problem',
|
|
32224
|
+
solution: 'Solution',
|
|
32225
|
+
solved: 'Solved',
|
|
32226
|
+
success: 'Success',
|
|
32227
|
+
taskId: 'TaskId',
|
|
32228
|
+
};
|
|
32229
|
+
}
|
|
32230
|
+
|
|
32231
|
+
static types(): { [key: string]: any } {
|
|
32232
|
+
return {
|
|
32233
|
+
problem: 'string',
|
|
32234
|
+
solution: 'string',
|
|
32235
|
+
solved: 'boolean',
|
|
32236
|
+
success: 'boolean',
|
|
32237
|
+
taskId: 'string',
|
|
32238
|
+
};
|
|
32239
|
+
}
|
|
32240
|
+
|
|
32241
|
+
constructor(map?: { [key: string]: any }) {
|
|
32242
|
+
super(map);
|
|
32243
|
+
}
|
|
32244
|
+
}
|
|
32245
|
+
|
|
32246
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction extends $tea.Model {
|
|
32247
|
+
remark?: string;
|
|
32248
|
+
satisfactionDescription?: string;
|
|
32249
|
+
success?: boolean;
|
|
32250
|
+
taskId?: string;
|
|
32251
|
+
static names(): { [key: string]: string } {
|
|
32252
|
+
return {
|
|
32253
|
+
remark: 'Remark',
|
|
32254
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
32255
|
+
success: 'Success',
|
|
32256
|
+
taskId: 'TaskId',
|
|
32257
|
+
};
|
|
32258
|
+
}
|
|
32259
|
+
|
|
32260
|
+
static types(): { [key: string]: any } {
|
|
32261
|
+
return {
|
|
32262
|
+
remark: 'string',
|
|
32263
|
+
satisfactionDescription: 'string',
|
|
32264
|
+
success: 'boolean',
|
|
32265
|
+
taskId: 'string',
|
|
32266
|
+
};
|
|
32267
|
+
}
|
|
32268
|
+
|
|
32269
|
+
constructor(map?: { [key: string]: any }) {
|
|
32270
|
+
super(map);
|
|
32271
|
+
}
|
|
32272
|
+
}
|
|
32273
|
+
|
|
32274
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList extends $tea.Model {
|
|
32275
|
+
success?: boolean;
|
|
32276
|
+
taskId?: string;
|
|
32277
|
+
tasks?: string[];
|
|
32278
|
+
static names(): { [key: string]: string } {
|
|
32279
|
+
return {
|
|
32280
|
+
success: 'Success',
|
|
32281
|
+
taskId: 'TaskId',
|
|
32282
|
+
tasks: 'Tasks',
|
|
32283
|
+
};
|
|
32284
|
+
}
|
|
32285
|
+
|
|
32286
|
+
static types(): { [key: string]: any } {
|
|
32287
|
+
return {
|
|
32288
|
+
success: 'boolean',
|
|
32289
|
+
taskId: 'string',
|
|
32290
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
32291
|
+
};
|
|
32292
|
+
}
|
|
32293
|
+
|
|
32294
|
+
constructor(map?: { [key: string]: any }) {
|
|
32295
|
+
super(map);
|
|
32296
|
+
}
|
|
32297
|
+
}
|
|
32298
|
+
|
|
32299
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReport extends $tea.Model {
|
|
32300
|
+
emotion?: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion;
|
|
32301
|
+
problemSolving?: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving;
|
|
32302
|
+
satisfaction?: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction;
|
|
32303
|
+
todoList?: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList;
|
|
32304
|
+
static names(): { [key: string]: string } {
|
|
32305
|
+
return {
|
|
32306
|
+
emotion: 'Emotion',
|
|
32307
|
+
problemSolving: 'ProblemSolving',
|
|
32308
|
+
satisfaction: 'Satisfaction',
|
|
32309
|
+
todoList: 'TodoList',
|
|
32310
|
+
};
|
|
32311
|
+
}
|
|
32312
|
+
|
|
32313
|
+
static types(): { [key: string]: any } {
|
|
32314
|
+
return {
|
|
32315
|
+
emotion: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion,
|
|
32316
|
+
problemSolving: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving,
|
|
32317
|
+
satisfaction: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction,
|
|
32318
|
+
todoList: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList,
|
|
32319
|
+
};
|
|
32320
|
+
}
|
|
32321
|
+
|
|
32322
|
+
constructor(map?: { [key: string]: any }) {
|
|
32323
|
+
super(map);
|
|
32324
|
+
}
|
|
32325
|
+
}
|
|
32326
|
+
|
|
32181
32327
|
export class GetCallDetailRecordResponseBodyDataCustomerEventsEventSequence extends $tea.Model {
|
|
32182
32328
|
/**
|
|
32183
32329
|
* @example
|
|
@@ -32382,6 +32528,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32382
32528
|
* agent1,agent2
|
|
32383
32529
|
*/
|
|
32384
32530
|
agentNames?: string;
|
|
32531
|
+
analyticsReport?: GetCallDetailRecordResponseBodyDataAnalyticsReport;
|
|
32532
|
+
analyticsReportReady?: boolean;
|
|
32385
32533
|
/**
|
|
32386
32534
|
* @example
|
|
32387
32535
|
* 50
|
|
@@ -32479,6 +32627,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32479
32627
|
agentEvents: 'AgentEvents',
|
|
32480
32628
|
agentIds: 'AgentIds',
|
|
32481
32629
|
agentNames: 'AgentNames',
|
|
32630
|
+
analyticsReport: 'AnalyticsReport',
|
|
32631
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
32482
32632
|
callDuration: 'CallDuration',
|
|
32483
32633
|
calledNumber: 'CalledNumber',
|
|
32484
32634
|
calleeLocation: 'CalleeLocation',
|
|
@@ -32511,6 +32661,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32511
32661
|
agentEvents: { 'type': 'array', 'itemType': GetCallDetailRecordResponseBodyDataAgentEvents },
|
|
32512
32662
|
agentIds: 'string',
|
|
32513
32663
|
agentNames: 'string',
|
|
32664
|
+
analyticsReport: GetCallDetailRecordResponseBodyDataAnalyticsReport,
|
|
32665
|
+
analyticsReportReady: 'boolean',
|
|
32514
32666
|
callDuration: 'number',
|
|
32515
32667
|
calledNumber: 'string',
|
|
32516
32668
|
calleeLocation: 'string',
|
|
@@ -38491,6 +38643,149 @@ export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
|
38491
38643
|
}
|
|
38492
38644
|
}
|
|
38493
38645
|
|
|
38646
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion extends $tea.Model {
|
|
38647
|
+
confidence?: number;
|
|
38648
|
+
remark?: string;
|
|
38649
|
+
success?: boolean;
|
|
38650
|
+
taskId?: string;
|
|
38651
|
+
type?: string;
|
|
38652
|
+
static names(): { [key: string]: string } {
|
|
38653
|
+
return {
|
|
38654
|
+
confidence: 'Confidence',
|
|
38655
|
+
remark: 'Remark',
|
|
38656
|
+
success: 'Success',
|
|
38657
|
+
taskId: 'TaskId',
|
|
38658
|
+
type: 'Type',
|
|
38659
|
+
};
|
|
38660
|
+
}
|
|
38661
|
+
|
|
38662
|
+
static types(): { [key: string]: any } {
|
|
38663
|
+
return {
|
|
38664
|
+
confidence: 'number',
|
|
38665
|
+
remark: 'string',
|
|
38666
|
+
success: 'boolean',
|
|
38667
|
+
taskId: 'string',
|
|
38668
|
+
type: 'string',
|
|
38669
|
+
};
|
|
38670
|
+
}
|
|
38671
|
+
|
|
38672
|
+
constructor(map?: { [key: string]: any }) {
|
|
38673
|
+
super(map);
|
|
38674
|
+
}
|
|
38675
|
+
}
|
|
38676
|
+
|
|
38677
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving extends $tea.Model {
|
|
38678
|
+
problem?: string;
|
|
38679
|
+
solution?: string;
|
|
38680
|
+
solved?: boolean;
|
|
38681
|
+
success?: boolean;
|
|
38682
|
+
taskId?: string;
|
|
38683
|
+
static names(): { [key: string]: string } {
|
|
38684
|
+
return {
|
|
38685
|
+
problem: 'Problem',
|
|
38686
|
+
solution: 'Solution',
|
|
38687
|
+
solved: 'Solved',
|
|
38688
|
+
success: 'Success',
|
|
38689
|
+
taskId: 'TaskId',
|
|
38690
|
+
};
|
|
38691
|
+
}
|
|
38692
|
+
|
|
38693
|
+
static types(): { [key: string]: any } {
|
|
38694
|
+
return {
|
|
38695
|
+
problem: 'string',
|
|
38696
|
+
solution: 'string',
|
|
38697
|
+
solved: 'boolean',
|
|
38698
|
+
success: 'boolean',
|
|
38699
|
+
taskId: 'string',
|
|
38700
|
+
};
|
|
38701
|
+
}
|
|
38702
|
+
|
|
38703
|
+
constructor(map?: { [key: string]: any }) {
|
|
38704
|
+
super(map);
|
|
38705
|
+
}
|
|
38706
|
+
}
|
|
38707
|
+
|
|
38708
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction extends $tea.Model {
|
|
38709
|
+
remark?: string;
|
|
38710
|
+
satisfactionDescription?: string;
|
|
38711
|
+
success?: boolean;
|
|
38712
|
+
taskId?: string;
|
|
38713
|
+
static names(): { [key: string]: string } {
|
|
38714
|
+
return {
|
|
38715
|
+
remark: 'Remark',
|
|
38716
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
38717
|
+
success: 'Success',
|
|
38718
|
+
taskId: 'TaskId',
|
|
38719
|
+
};
|
|
38720
|
+
}
|
|
38721
|
+
|
|
38722
|
+
static types(): { [key: string]: any } {
|
|
38723
|
+
return {
|
|
38724
|
+
remark: 'string',
|
|
38725
|
+
satisfactionDescription: 'string',
|
|
38726
|
+
success: 'boolean',
|
|
38727
|
+
taskId: 'string',
|
|
38728
|
+
};
|
|
38729
|
+
}
|
|
38730
|
+
|
|
38731
|
+
constructor(map?: { [key: string]: any }) {
|
|
38732
|
+
super(map);
|
|
38733
|
+
}
|
|
38734
|
+
}
|
|
38735
|
+
|
|
38736
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList extends $tea.Model {
|
|
38737
|
+
success?: boolean;
|
|
38738
|
+
taskId?: string;
|
|
38739
|
+
tasks?: string[];
|
|
38740
|
+
static names(): { [key: string]: string } {
|
|
38741
|
+
return {
|
|
38742
|
+
success: 'Success',
|
|
38743
|
+
taskId: 'TaskId',
|
|
38744
|
+
tasks: 'Tasks',
|
|
38745
|
+
};
|
|
38746
|
+
}
|
|
38747
|
+
|
|
38748
|
+
static types(): { [key: string]: any } {
|
|
38749
|
+
return {
|
|
38750
|
+
success: 'boolean',
|
|
38751
|
+
taskId: 'string',
|
|
38752
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
38753
|
+
};
|
|
38754
|
+
}
|
|
38755
|
+
|
|
38756
|
+
constructor(map?: { [key: string]: any }) {
|
|
38757
|
+
super(map);
|
|
38758
|
+
}
|
|
38759
|
+
}
|
|
38760
|
+
|
|
38761
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport extends $tea.Model {
|
|
38762
|
+
emotion?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion;
|
|
38763
|
+
problemSolving?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving;
|
|
38764
|
+
satisfaction?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction;
|
|
38765
|
+
todoList?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList;
|
|
38766
|
+
static names(): { [key: string]: string } {
|
|
38767
|
+
return {
|
|
38768
|
+
emotion: 'Emotion',
|
|
38769
|
+
problemSolving: 'ProblemSolving',
|
|
38770
|
+
satisfaction: 'Satisfaction',
|
|
38771
|
+
todoList: 'TodoList',
|
|
38772
|
+
};
|
|
38773
|
+
}
|
|
38774
|
+
|
|
38775
|
+
static types(): { [key: string]: any } {
|
|
38776
|
+
return {
|
|
38777
|
+
emotion: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion,
|
|
38778
|
+
problemSolving: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving,
|
|
38779
|
+
satisfaction: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction,
|
|
38780
|
+
todoList: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList,
|
|
38781
|
+
};
|
|
38782
|
+
}
|
|
38783
|
+
|
|
38784
|
+
constructor(map?: { [key: string]: any }) {
|
|
38785
|
+
super(map);
|
|
38786
|
+
}
|
|
38787
|
+
}
|
|
38788
|
+
|
|
38494
38789
|
export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
38495
38790
|
accessChannelName?: string;
|
|
38496
38791
|
/**
|
|
@@ -38515,6 +38810,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38515
38810
|
*/
|
|
38516
38811
|
agentIds?: string;
|
|
38517
38812
|
agentNames?: string;
|
|
38813
|
+
analyticsReport?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport;
|
|
38814
|
+
analyticsReportReady?: boolean;
|
|
38518
38815
|
/**
|
|
38519
38816
|
* @example
|
|
38520
38817
|
* 053xxxx3127
|
|
@@ -38726,6 +39023,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38726
39023
|
additionalBroker: 'AdditionalBroker',
|
|
38727
39024
|
agentIds: 'AgentIds',
|
|
38728
39025
|
agentNames: 'AgentNames',
|
|
39026
|
+
analyticsReport: 'AnalyticsReport',
|
|
39027
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
38729
39028
|
broker: 'Broker',
|
|
38730
39029
|
callDuration: 'CallDuration',
|
|
38731
39030
|
callIds: 'CallIds',
|
|
@@ -38784,6 +39083,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38784
39083
|
additionalBroker: 'string',
|
|
38785
39084
|
agentIds: 'string',
|
|
38786
39085
|
agentNames: 'string',
|
|
39086
|
+
analyticsReport: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport,
|
|
39087
|
+
analyticsReportReady: 'boolean',
|
|
38787
39088
|
broker: 'string',
|
|
38788
39089
|
callDuration: 'string',
|
|
38789
39090
|
callIds: 'string',
|
|
@@ -61323,6 +61624,10 @@ export default class Client extends OpenApi {
|
|
|
61323
61624
|
query["AgentId"] = request.agentId;
|
|
61324
61625
|
}
|
|
61325
61626
|
|
|
61627
|
+
if (!Util.isUnset(request.analyticsReportReady)) {
|
|
61628
|
+
query["AnalyticsReportReady"] = request.analyticsReportReady;
|
|
61629
|
+
}
|
|
61630
|
+
|
|
61326
61631
|
if (!Util.isUnset(request.broker)) {
|
|
61327
61632
|
query["Broker"] = request.broker;
|
|
61328
61633
|
}
|