@alicloud/ccc20200701 2.27.0 → 2.28.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 +244 -0
- package/dist/client.js +360 -18
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +462 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/ccc20200701",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
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
|
@@ -2447,6 +2447,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2447
2447
|
queuingOverflowThreshold?: number;
|
|
2448
2448
|
queuingTimeoutSeconds?: number;
|
|
2449
2449
|
routingType?: string;
|
|
2450
|
+
skillGroupId?: string;
|
|
2450
2451
|
strategyName?: string;
|
|
2451
2452
|
strategyParams?: string;
|
|
2452
2453
|
tags?: string;
|
|
@@ -2484,6 +2485,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2484
2485
|
queuingOverflowThreshold: 'QueuingOverflowThreshold',
|
|
2485
2486
|
queuingTimeoutSeconds: 'QueuingTimeoutSeconds',
|
|
2486
2487
|
routingType: 'RoutingType',
|
|
2488
|
+
skillGroupId: 'SkillGroupId',
|
|
2487
2489
|
strategyName: 'StrategyName',
|
|
2488
2490
|
strategyParams: 'StrategyParams',
|
|
2489
2491
|
tags: 'Tags',
|
|
@@ -2505,6 +2507,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2505
2507
|
queuingOverflowThreshold: 'number',
|
|
2506
2508
|
queuingTimeoutSeconds: 'number',
|
|
2507
2509
|
routingType: 'string',
|
|
2510
|
+
skillGroupId: 'string',
|
|
2508
2511
|
strategyName: 'string',
|
|
2509
2512
|
strategyParams: 'string',
|
|
2510
2513
|
tags: 'string',
|
|
@@ -9473,6 +9476,114 @@ export class GetInstanceTrendingReportResponse extends $tea.Model {
|
|
|
9473
9476
|
}
|
|
9474
9477
|
}
|
|
9475
9478
|
|
|
9479
|
+
export class GetIvrTrackingSummaryRequest extends $tea.Model {
|
|
9480
|
+
/**
|
|
9481
|
+
* @remarks
|
|
9482
|
+
* This parameter is required.
|
|
9483
|
+
*
|
|
9484
|
+
* @example
|
|
9485
|
+
* job-489361145506897920
|
|
9486
|
+
*/
|
|
9487
|
+
contactId?: string;
|
|
9488
|
+
/**
|
|
9489
|
+
* @remarks
|
|
9490
|
+
* This parameter is required.
|
|
9491
|
+
*
|
|
9492
|
+
* @example
|
|
9493
|
+
* 0f7ad007-ab50-4b3d-a87a-56864eb40dab
|
|
9494
|
+
*/
|
|
9495
|
+
instanceId?: string;
|
|
9496
|
+
static names(): { [key: string]: string } {
|
|
9497
|
+
return {
|
|
9498
|
+
contactId: 'ContactId',
|
|
9499
|
+
instanceId: 'InstanceId',
|
|
9500
|
+
};
|
|
9501
|
+
}
|
|
9502
|
+
|
|
9503
|
+
static types(): { [key: string]: any } {
|
|
9504
|
+
return {
|
|
9505
|
+
contactId: 'string',
|
|
9506
|
+
instanceId: 'string',
|
|
9507
|
+
};
|
|
9508
|
+
}
|
|
9509
|
+
|
|
9510
|
+
constructor(map?: { [key: string]: any }) {
|
|
9511
|
+
super(map);
|
|
9512
|
+
}
|
|
9513
|
+
}
|
|
9514
|
+
|
|
9515
|
+
export class GetIvrTrackingSummaryResponseBody extends $tea.Model {
|
|
9516
|
+
/**
|
|
9517
|
+
* @example
|
|
9518
|
+
* OK
|
|
9519
|
+
*/
|
|
9520
|
+
code?: string;
|
|
9521
|
+
data?: string;
|
|
9522
|
+
/**
|
|
9523
|
+
* @example
|
|
9524
|
+
* 200
|
|
9525
|
+
*/
|
|
9526
|
+
httpStatusCode?: number;
|
|
9527
|
+
/**
|
|
9528
|
+
* @example
|
|
9529
|
+
* Unknown error code \\"NoPermission.Recording\\". Reason: null
|
|
9530
|
+
*/
|
|
9531
|
+
message?: string;
|
|
9532
|
+
/**
|
|
9533
|
+
* @example
|
|
9534
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
9535
|
+
*/
|
|
9536
|
+
requestId?: string;
|
|
9537
|
+
static names(): { [key: string]: string } {
|
|
9538
|
+
return {
|
|
9539
|
+
code: 'Code',
|
|
9540
|
+
data: 'Data',
|
|
9541
|
+
httpStatusCode: 'HttpStatusCode',
|
|
9542
|
+
message: 'Message',
|
|
9543
|
+
requestId: 'RequestId',
|
|
9544
|
+
};
|
|
9545
|
+
}
|
|
9546
|
+
|
|
9547
|
+
static types(): { [key: string]: any } {
|
|
9548
|
+
return {
|
|
9549
|
+
code: 'string',
|
|
9550
|
+
data: 'string',
|
|
9551
|
+
httpStatusCode: 'number',
|
|
9552
|
+
message: 'string',
|
|
9553
|
+
requestId: 'string',
|
|
9554
|
+
};
|
|
9555
|
+
}
|
|
9556
|
+
|
|
9557
|
+
constructor(map?: { [key: string]: any }) {
|
|
9558
|
+
super(map);
|
|
9559
|
+
}
|
|
9560
|
+
}
|
|
9561
|
+
|
|
9562
|
+
export class GetIvrTrackingSummaryResponse extends $tea.Model {
|
|
9563
|
+
headers?: { [key: string]: string };
|
|
9564
|
+
statusCode?: number;
|
|
9565
|
+
body?: GetIvrTrackingSummaryResponseBody;
|
|
9566
|
+
static names(): { [key: string]: string } {
|
|
9567
|
+
return {
|
|
9568
|
+
headers: 'headers',
|
|
9569
|
+
statusCode: 'statusCode',
|
|
9570
|
+
body: 'body',
|
|
9571
|
+
};
|
|
9572
|
+
}
|
|
9573
|
+
|
|
9574
|
+
static types(): { [key: string]: any } {
|
|
9575
|
+
return {
|
|
9576
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9577
|
+
statusCode: 'number',
|
|
9578
|
+
body: GetIvrTrackingSummaryResponseBody,
|
|
9579
|
+
};
|
|
9580
|
+
}
|
|
9581
|
+
|
|
9582
|
+
constructor(map?: { [key: string]: any }) {
|
|
9583
|
+
super(map);
|
|
9584
|
+
}
|
|
9585
|
+
}
|
|
9586
|
+
|
|
9476
9587
|
export class GetLoginDetailsRequest extends $tea.Model {
|
|
9477
9588
|
chatDeviceId?: string;
|
|
9478
9589
|
/**
|
|
@@ -13872,6 +13983,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13872
13983
|
* agent@ccc-test
|
|
13873
13984
|
*/
|
|
13874
13985
|
agentId?: string;
|
|
13986
|
+
analyticsReportReady?: boolean;
|
|
13875
13987
|
/**
|
|
13876
13988
|
* @example
|
|
13877
13989
|
* 021****4972
|
|
@@ -13992,6 +14104,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13992
14104
|
return {
|
|
13993
14105
|
accessChannelTypeList: 'AccessChannelTypeList',
|
|
13994
14106
|
agentId: 'AgentId',
|
|
14107
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
13995
14108
|
broker: 'Broker',
|
|
13996
14109
|
calledNumber: 'CalledNumber',
|
|
13997
14110
|
callingNumber: 'CallingNumber',
|
|
@@ -14023,6 +14136,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
14023
14136
|
return {
|
|
14024
14137
|
accessChannelTypeList: 'string',
|
|
14025
14138
|
agentId: 'string',
|
|
14139
|
+
analyticsReportReady: 'boolean',
|
|
14026
14140
|
broker: 'string',
|
|
14027
14141
|
calledNumber: 'string',
|
|
14028
14142
|
callingNumber: 'string',
|
|
@@ -32178,6 +32292,149 @@ export class GetCallDetailRecordResponseBodyDataAgentEvents extends $tea.Model {
|
|
|
32178
32292
|
}
|
|
32179
32293
|
}
|
|
32180
32294
|
|
|
32295
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion extends $tea.Model {
|
|
32296
|
+
confidence?: number;
|
|
32297
|
+
remark?: string;
|
|
32298
|
+
success?: boolean;
|
|
32299
|
+
taskId?: string;
|
|
32300
|
+
type?: string;
|
|
32301
|
+
static names(): { [key: string]: string } {
|
|
32302
|
+
return {
|
|
32303
|
+
confidence: 'Confidence',
|
|
32304
|
+
remark: 'Remark',
|
|
32305
|
+
success: 'Success',
|
|
32306
|
+
taskId: 'TaskId',
|
|
32307
|
+
type: 'Type',
|
|
32308
|
+
};
|
|
32309
|
+
}
|
|
32310
|
+
|
|
32311
|
+
static types(): { [key: string]: any } {
|
|
32312
|
+
return {
|
|
32313
|
+
confidence: 'number',
|
|
32314
|
+
remark: 'string',
|
|
32315
|
+
success: 'boolean',
|
|
32316
|
+
taskId: 'string',
|
|
32317
|
+
type: 'string',
|
|
32318
|
+
};
|
|
32319
|
+
}
|
|
32320
|
+
|
|
32321
|
+
constructor(map?: { [key: string]: any }) {
|
|
32322
|
+
super(map);
|
|
32323
|
+
}
|
|
32324
|
+
}
|
|
32325
|
+
|
|
32326
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving extends $tea.Model {
|
|
32327
|
+
problem?: string;
|
|
32328
|
+
solution?: string;
|
|
32329
|
+
solved?: boolean;
|
|
32330
|
+
success?: boolean;
|
|
32331
|
+
taskId?: string;
|
|
32332
|
+
static names(): { [key: string]: string } {
|
|
32333
|
+
return {
|
|
32334
|
+
problem: 'Problem',
|
|
32335
|
+
solution: 'Solution',
|
|
32336
|
+
solved: 'Solved',
|
|
32337
|
+
success: 'Success',
|
|
32338
|
+
taskId: 'TaskId',
|
|
32339
|
+
};
|
|
32340
|
+
}
|
|
32341
|
+
|
|
32342
|
+
static types(): { [key: string]: any } {
|
|
32343
|
+
return {
|
|
32344
|
+
problem: 'string',
|
|
32345
|
+
solution: 'string',
|
|
32346
|
+
solved: 'boolean',
|
|
32347
|
+
success: 'boolean',
|
|
32348
|
+
taskId: 'string',
|
|
32349
|
+
};
|
|
32350
|
+
}
|
|
32351
|
+
|
|
32352
|
+
constructor(map?: { [key: string]: any }) {
|
|
32353
|
+
super(map);
|
|
32354
|
+
}
|
|
32355
|
+
}
|
|
32356
|
+
|
|
32357
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction extends $tea.Model {
|
|
32358
|
+
remark?: string;
|
|
32359
|
+
satisfactionDescription?: string;
|
|
32360
|
+
success?: boolean;
|
|
32361
|
+
taskId?: string;
|
|
32362
|
+
static names(): { [key: string]: string } {
|
|
32363
|
+
return {
|
|
32364
|
+
remark: 'Remark',
|
|
32365
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
32366
|
+
success: 'Success',
|
|
32367
|
+
taskId: 'TaskId',
|
|
32368
|
+
};
|
|
32369
|
+
}
|
|
32370
|
+
|
|
32371
|
+
static types(): { [key: string]: any } {
|
|
32372
|
+
return {
|
|
32373
|
+
remark: 'string',
|
|
32374
|
+
satisfactionDescription: 'string',
|
|
32375
|
+
success: 'boolean',
|
|
32376
|
+
taskId: 'string',
|
|
32377
|
+
};
|
|
32378
|
+
}
|
|
32379
|
+
|
|
32380
|
+
constructor(map?: { [key: string]: any }) {
|
|
32381
|
+
super(map);
|
|
32382
|
+
}
|
|
32383
|
+
}
|
|
32384
|
+
|
|
32385
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList extends $tea.Model {
|
|
32386
|
+
success?: boolean;
|
|
32387
|
+
taskId?: string;
|
|
32388
|
+
tasks?: string[];
|
|
32389
|
+
static names(): { [key: string]: string } {
|
|
32390
|
+
return {
|
|
32391
|
+
success: 'Success',
|
|
32392
|
+
taskId: 'TaskId',
|
|
32393
|
+
tasks: 'Tasks',
|
|
32394
|
+
};
|
|
32395
|
+
}
|
|
32396
|
+
|
|
32397
|
+
static types(): { [key: string]: any } {
|
|
32398
|
+
return {
|
|
32399
|
+
success: 'boolean',
|
|
32400
|
+
taskId: 'string',
|
|
32401
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
32402
|
+
};
|
|
32403
|
+
}
|
|
32404
|
+
|
|
32405
|
+
constructor(map?: { [key: string]: any }) {
|
|
32406
|
+
super(map);
|
|
32407
|
+
}
|
|
32408
|
+
}
|
|
32409
|
+
|
|
32410
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReport extends $tea.Model {
|
|
32411
|
+
emotion?: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion;
|
|
32412
|
+
problemSolving?: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving;
|
|
32413
|
+
satisfaction?: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction;
|
|
32414
|
+
todoList?: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList;
|
|
32415
|
+
static names(): { [key: string]: string } {
|
|
32416
|
+
return {
|
|
32417
|
+
emotion: 'Emotion',
|
|
32418
|
+
problemSolving: 'ProblemSolving',
|
|
32419
|
+
satisfaction: 'Satisfaction',
|
|
32420
|
+
todoList: 'TodoList',
|
|
32421
|
+
};
|
|
32422
|
+
}
|
|
32423
|
+
|
|
32424
|
+
static types(): { [key: string]: any } {
|
|
32425
|
+
return {
|
|
32426
|
+
emotion: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion,
|
|
32427
|
+
problemSolving: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving,
|
|
32428
|
+
satisfaction: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction,
|
|
32429
|
+
todoList: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList,
|
|
32430
|
+
};
|
|
32431
|
+
}
|
|
32432
|
+
|
|
32433
|
+
constructor(map?: { [key: string]: any }) {
|
|
32434
|
+
super(map);
|
|
32435
|
+
}
|
|
32436
|
+
}
|
|
32437
|
+
|
|
32181
32438
|
export class GetCallDetailRecordResponseBodyDataCustomerEventsEventSequence extends $tea.Model {
|
|
32182
32439
|
/**
|
|
32183
32440
|
* @example
|
|
@@ -32382,6 +32639,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32382
32639
|
* agent1,agent2
|
|
32383
32640
|
*/
|
|
32384
32641
|
agentNames?: string;
|
|
32642
|
+
analyticsReport?: GetCallDetailRecordResponseBodyDataAnalyticsReport;
|
|
32643
|
+
analyticsReportReady?: boolean;
|
|
32385
32644
|
/**
|
|
32386
32645
|
* @example
|
|
32387
32646
|
* 50
|
|
@@ -32479,6 +32738,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32479
32738
|
agentEvents: 'AgentEvents',
|
|
32480
32739
|
agentIds: 'AgentIds',
|
|
32481
32740
|
agentNames: 'AgentNames',
|
|
32741
|
+
analyticsReport: 'AnalyticsReport',
|
|
32742
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
32482
32743
|
callDuration: 'CallDuration',
|
|
32483
32744
|
calledNumber: 'CalledNumber',
|
|
32484
32745
|
calleeLocation: 'CalleeLocation',
|
|
@@ -32511,6 +32772,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32511
32772
|
agentEvents: { 'type': 'array', 'itemType': GetCallDetailRecordResponseBodyDataAgentEvents },
|
|
32512
32773
|
agentIds: 'string',
|
|
32513
32774
|
agentNames: 'string',
|
|
32775
|
+
analyticsReport: GetCallDetailRecordResponseBodyDataAnalyticsReport,
|
|
32776
|
+
analyticsReportReady: 'boolean',
|
|
32514
32777
|
callDuration: 'number',
|
|
32515
32778
|
calledNumber: 'string',
|
|
32516
32779
|
calleeLocation: 'string',
|
|
@@ -38491,6 +38754,149 @@ export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
|
38491
38754
|
}
|
|
38492
38755
|
}
|
|
38493
38756
|
|
|
38757
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion extends $tea.Model {
|
|
38758
|
+
confidence?: number;
|
|
38759
|
+
remark?: string;
|
|
38760
|
+
success?: boolean;
|
|
38761
|
+
taskId?: string;
|
|
38762
|
+
type?: string;
|
|
38763
|
+
static names(): { [key: string]: string } {
|
|
38764
|
+
return {
|
|
38765
|
+
confidence: 'Confidence',
|
|
38766
|
+
remark: 'Remark',
|
|
38767
|
+
success: 'Success',
|
|
38768
|
+
taskId: 'TaskId',
|
|
38769
|
+
type: 'Type',
|
|
38770
|
+
};
|
|
38771
|
+
}
|
|
38772
|
+
|
|
38773
|
+
static types(): { [key: string]: any } {
|
|
38774
|
+
return {
|
|
38775
|
+
confidence: 'number',
|
|
38776
|
+
remark: 'string',
|
|
38777
|
+
success: 'boolean',
|
|
38778
|
+
taskId: 'string',
|
|
38779
|
+
type: 'string',
|
|
38780
|
+
};
|
|
38781
|
+
}
|
|
38782
|
+
|
|
38783
|
+
constructor(map?: { [key: string]: any }) {
|
|
38784
|
+
super(map);
|
|
38785
|
+
}
|
|
38786
|
+
}
|
|
38787
|
+
|
|
38788
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving extends $tea.Model {
|
|
38789
|
+
problem?: string;
|
|
38790
|
+
solution?: string;
|
|
38791
|
+
solved?: boolean;
|
|
38792
|
+
success?: boolean;
|
|
38793
|
+
taskId?: string;
|
|
38794
|
+
static names(): { [key: string]: string } {
|
|
38795
|
+
return {
|
|
38796
|
+
problem: 'Problem',
|
|
38797
|
+
solution: 'Solution',
|
|
38798
|
+
solved: 'Solved',
|
|
38799
|
+
success: 'Success',
|
|
38800
|
+
taskId: 'TaskId',
|
|
38801
|
+
};
|
|
38802
|
+
}
|
|
38803
|
+
|
|
38804
|
+
static types(): { [key: string]: any } {
|
|
38805
|
+
return {
|
|
38806
|
+
problem: 'string',
|
|
38807
|
+
solution: 'string',
|
|
38808
|
+
solved: 'boolean',
|
|
38809
|
+
success: 'boolean',
|
|
38810
|
+
taskId: 'string',
|
|
38811
|
+
};
|
|
38812
|
+
}
|
|
38813
|
+
|
|
38814
|
+
constructor(map?: { [key: string]: any }) {
|
|
38815
|
+
super(map);
|
|
38816
|
+
}
|
|
38817
|
+
}
|
|
38818
|
+
|
|
38819
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction extends $tea.Model {
|
|
38820
|
+
remark?: string;
|
|
38821
|
+
satisfactionDescription?: string;
|
|
38822
|
+
success?: boolean;
|
|
38823
|
+
taskId?: string;
|
|
38824
|
+
static names(): { [key: string]: string } {
|
|
38825
|
+
return {
|
|
38826
|
+
remark: 'Remark',
|
|
38827
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
38828
|
+
success: 'Success',
|
|
38829
|
+
taskId: 'TaskId',
|
|
38830
|
+
};
|
|
38831
|
+
}
|
|
38832
|
+
|
|
38833
|
+
static types(): { [key: string]: any } {
|
|
38834
|
+
return {
|
|
38835
|
+
remark: 'string',
|
|
38836
|
+
satisfactionDescription: 'string',
|
|
38837
|
+
success: 'boolean',
|
|
38838
|
+
taskId: 'string',
|
|
38839
|
+
};
|
|
38840
|
+
}
|
|
38841
|
+
|
|
38842
|
+
constructor(map?: { [key: string]: any }) {
|
|
38843
|
+
super(map);
|
|
38844
|
+
}
|
|
38845
|
+
}
|
|
38846
|
+
|
|
38847
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList extends $tea.Model {
|
|
38848
|
+
success?: boolean;
|
|
38849
|
+
taskId?: string;
|
|
38850
|
+
tasks?: string[];
|
|
38851
|
+
static names(): { [key: string]: string } {
|
|
38852
|
+
return {
|
|
38853
|
+
success: 'Success',
|
|
38854
|
+
taskId: 'TaskId',
|
|
38855
|
+
tasks: 'Tasks',
|
|
38856
|
+
};
|
|
38857
|
+
}
|
|
38858
|
+
|
|
38859
|
+
static types(): { [key: string]: any } {
|
|
38860
|
+
return {
|
|
38861
|
+
success: 'boolean',
|
|
38862
|
+
taskId: 'string',
|
|
38863
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
38864
|
+
};
|
|
38865
|
+
}
|
|
38866
|
+
|
|
38867
|
+
constructor(map?: { [key: string]: any }) {
|
|
38868
|
+
super(map);
|
|
38869
|
+
}
|
|
38870
|
+
}
|
|
38871
|
+
|
|
38872
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport extends $tea.Model {
|
|
38873
|
+
emotion?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion;
|
|
38874
|
+
problemSolving?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving;
|
|
38875
|
+
satisfaction?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction;
|
|
38876
|
+
todoList?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList;
|
|
38877
|
+
static names(): { [key: string]: string } {
|
|
38878
|
+
return {
|
|
38879
|
+
emotion: 'Emotion',
|
|
38880
|
+
problemSolving: 'ProblemSolving',
|
|
38881
|
+
satisfaction: 'Satisfaction',
|
|
38882
|
+
todoList: 'TodoList',
|
|
38883
|
+
};
|
|
38884
|
+
}
|
|
38885
|
+
|
|
38886
|
+
static types(): { [key: string]: any } {
|
|
38887
|
+
return {
|
|
38888
|
+
emotion: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion,
|
|
38889
|
+
problemSolving: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving,
|
|
38890
|
+
satisfaction: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction,
|
|
38891
|
+
todoList: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList,
|
|
38892
|
+
};
|
|
38893
|
+
}
|
|
38894
|
+
|
|
38895
|
+
constructor(map?: { [key: string]: any }) {
|
|
38896
|
+
super(map);
|
|
38897
|
+
}
|
|
38898
|
+
}
|
|
38899
|
+
|
|
38494
38900
|
export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
38495
38901
|
accessChannelName?: string;
|
|
38496
38902
|
/**
|
|
@@ -38515,6 +38921,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38515
38921
|
*/
|
|
38516
38922
|
agentIds?: string;
|
|
38517
38923
|
agentNames?: string;
|
|
38924
|
+
analyticsReport?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport;
|
|
38925
|
+
analyticsReportReady?: boolean;
|
|
38518
38926
|
/**
|
|
38519
38927
|
* @example
|
|
38520
38928
|
* 053xxxx3127
|
|
@@ -38726,6 +39134,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38726
39134
|
additionalBroker: 'AdditionalBroker',
|
|
38727
39135
|
agentIds: 'AgentIds',
|
|
38728
39136
|
agentNames: 'AgentNames',
|
|
39137
|
+
analyticsReport: 'AnalyticsReport',
|
|
39138
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
38729
39139
|
broker: 'Broker',
|
|
38730
39140
|
callDuration: 'CallDuration',
|
|
38731
39141
|
callIds: 'CallIds',
|
|
@@ -38784,6 +39194,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38784
39194
|
additionalBroker: 'string',
|
|
38785
39195
|
agentIds: 'string',
|
|
38786
39196
|
agentNames: 'string',
|
|
39197
|
+
analyticsReport: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport,
|
|
39198
|
+
analyticsReportReady: 'boolean',
|
|
38787
39199
|
broker: 'string',
|
|
38788
39200
|
callDuration: 'string',
|
|
38789
39201
|
callIds: 'string',
|
|
@@ -56493,6 +56905,10 @@ export default class Client extends OpenApi {
|
|
|
56493
56905
|
query["RoutingType"] = request.routingType;
|
|
56494
56906
|
}
|
|
56495
56907
|
|
|
56908
|
+
if (!Util.isUnset(request.skillGroupId)) {
|
|
56909
|
+
query["SkillGroupId"] = request.skillGroupId;
|
|
56910
|
+
}
|
|
56911
|
+
|
|
56496
56912
|
if (!Util.isUnset(request.strategyName)) {
|
|
56497
56913
|
query["StrategyName"] = request.strategyName;
|
|
56498
56914
|
}
|
|
@@ -59421,6 +59837,48 @@ export default class Client extends OpenApi {
|
|
|
59421
59837
|
return await this.getInstanceTrendingReportWithOptions(request, runtime);
|
|
59422
59838
|
}
|
|
59423
59839
|
|
|
59840
|
+
/**
|
|
59841
|
+
* @param request - GetIvrTrackingSummaryRequest
|
|
59842
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59843
|
+
* @returns GetIvrTrackingSummaryResponse
|
|
59844
|
+
*/
|
|
59845
|
+
async getIvrTrackingSummaryWithOptions(request: GetIvrTrackingSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetIvrTrackingSummaryResponse> {
|
|
59846
|
+
Util.validateModel(request);
|
|
59847
|
+
let query = { };
|
|
59848
|
+
if (!Util.isUnset(request.contactId)) {
|
|
59849
|
+
query["ContactId"] = request.contactId;
|
|
59850
|
+
}
|
|
59851
|
+
|
|
59852
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59853
|
+
query["InstanceId"] = request.instanceId;
|
|
59854
|
+
}
|
|
59855
|
+
|
|
59856
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59857
|
+
query: OpenApiUtil.query(query),
|
|
59858
|
+
});
|
|
59859
|
+
let params = new $OpenApi.Params({
|
|
59860
|
+
action: "GetIvrTrackingSummary",
|
|
59861
|
+
version: "2020-07-01",
|
|
59862
|
+
protocol: "HTTPS",
|
|
59863
|
+
pathname: "/",
|
|
59864
|
+
method: "POST",
|
|
59865
|
+
authType: "AK",
|
|
59866
|
+
style: "RPC",
|
|
59867
|
+
reqBodyType: "formData",
|
|
59868
|
+
bodyType: "json",
|
|
59869
|
+
});
|
|
59870
|
+
return $tea.cast<GetIvrTrackingSummaryResponse>(await this.callApi(params, req, runtime), new GetIvrTrackingSummaryResponse({}));
|
|
59871
|
+
}
|
|
59872
|
+
|
|
59873
|
+
/**
|
|
59874
|
+
* @param request - GetIvrTrackingSummaryRequest
|
|
59875
|
+
* @returns GetIvrTrackingSummaryResponse
|
|
59876
|
+
*/
|
|
59877
|
+
async getIvrTrackingSummary(request: GetIvrTrackingSummaryRequest): Promise<GetIvrTrackingSummaryResponse> {
|
|
59878
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59879
|
+
return await this.getIvrTrackingSummaryWithOptions(request, runtime);
|
|
59880
|
+
}
|
|
59881
|
+
|
|
59424
59882
|
/**
|
|
59425
59883
|
* @param request - GetLoginDetailsRequest
|
|
59426
59884
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -61323,6 +61781,10 @@ export default class Client extends OpenApi {
|
|
|
61323
61781
|
query["AgentId"] = request.agentId;
|
|
61324
61782
|
}
|
|
61325
61783
|
|
|
61784
|
+
if (!Util.isUnset(request.analyticsReportReady)) {
|
|
61785
|
+
query["AnalyticsReportReady"] = request.analyticsReportReady;
|
|
61786
|
+
}
|
|
61787
|
+
|
|
61326
61788
|
if (!Util.isUnset(request.broker)) {
|
|
61327
61789
|
query["Broker"] = request.broker;
|
|
61328
61790
|
}
|