@alicloud/ccc20200701 2.27.1 → 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 +87 -0
- package/dist/client.js +123 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +157 -0
package/package.json
CHANGED
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
|
/**
|
|
@@ -56794,6 +56905,10 @@ export default class Client extends OpenApi {
|
|
|
56794
56905
|
query["RoutingType"] = request.routingType;
|
|
56795
56906
|
}
|
|
56796
56907
|
|
|
56908
|
+
if (!Util.isUnset(request.skillGroupId)) {
|
|
56909
|
+
query["SkillGroupId"] = request.skillGroupId;
|
|
56910
|
+
}
|
|
56911
|
+
|
|
56797
56912
|
if (!Util.isUnset(request.strategyName)) {
|
|
56798
56913
|
query["StrategyName"] = request.strategyName;
|
|
56799
56914
|
}
|
|
@@ -59722,6 +59837,48 @@ export default class Client extends OpenApi {
|
|
|
59722
59837
|
return await this.getInstanceTrendingReportWithOptions(request, runtime);
|
|
59723
59838
|
}
|
|
59724
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
|
+
|
|
59725
59882
|
/**
|
|
59726
59883
|
* @param request - GetLoginDetailsRequest
|
|
59727
59884
|
* @param runtime - runtime options for this request RuntimeOptions
|