@alicloud/ccc20200701 2.39.0 → 2.39.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 +6 -6
- package/dist/client.js +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CheckBusinessHoursRequest.d.ts +5 -0
- package/dist/models/CheckBusinessHoursRequest.js.map +1 -1
- package/dist/models/CheckBusinessHoursResponseBody.d.ts +16 -1
- package/dist/models/CheckBusinessHoursResponseBody.js.map +1 -1
- package/dist/models/ListHistoricalSkillGroupReportRequest.d.ts +12 -7
- package/dist/models/ListHistoricalSkillGroupReportRequest.js +2 -0
- package/dist/models/ListHistoricalSkillGroupReportRequest.js.map +1 -1
- package/dist/models/ListHistoricalSkillGroupReportResponseBody.d.ts +145 -145
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/CheckBusinessHoursRequest.ts +5 -0
- package/src/models/CheckBusinessHoursResponseBody.ts +16 -1
- package/src/models/ListHistoricalSkillGroupReportRequest.ts +14 -7
- package/src/models/ListHistoricalSkillGroupReportResponseBody.ts +145 -145
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1393,10 +1393,10 @@ export default class Client extends OpenApi {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
/**
|
|
1396
|
-
*
|
|
1396
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
1397
1397
|
*
|
|
1398
1398
|
* @remarks
|
|
1399
|
-
*
|
|
1399
|
+
* Accounts with RAM permissions can go to the Resource Access Management (RAM) console to query all RAM users managed under the Alibaba Cloud account. RAM console URL: https://ram.console.aliyun.com/users.
|
|
1400
1400
|
*
|
|
1401
1401
|
* @param request - CheckBusinessHoursRequest
|
|
1402
1402
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1431,10 +1431,10 @@ export default class Client extends OpenApi {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
|
|
1433
1433
|
/**
|
|
1434
|
-
*
|
|
1434
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
1435
1435
|
*
|
|
1436
1436
|
* @remarks
|
|
1437
|
-
*
|
|
1437
|
+
* Accounts with RAM permissions can go to the Resource Access Management (RAM) console to query all RAM users managed under the Alibaba Cloud account. RAM console URL: https://ram.console.aliyun.com/users.
|
|
1438
1438
|
*
|
|
1439
1439
|
* @param request - CheckBusinessHoursRequest
|
|
1440
1440
|
* @returns CheckBusinessHoursResponse
|
|
@@ -7965,7 +7965,7 @@ export default class Client extends OpenApi {
|
|
|
7965
7965
|
}
|
|
7966
7966
|
|
|
7967
7967
|
/**
|
|
7968
|
-
*
|
|
7968
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
7969
7969
|
*
|
|
7970
7970
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
7971
7971
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7998,6 +7998,10 @@ export default class Client extends OpenApi {
|
|
|
7998
7998
|
query["StartTime"] = request.startTime;
|
|
7999
7999
|
}
|
|
8000
8000
|
|
|
8001
|
+
if (!$dara.isNull(request.summarizeByInstanceId)) {
|
|
8002
|
+
query["SummarizeByInstanceId"] = request.summarizeByInstanceId;
|
|
8003
|
+
}
|
|
8004
|
+
|
|
8001
8005
|
let body : {[key: string ]: any} = { };
|
|
8002
8006
|
if (!$dara.isNull(request.skillGroupIdList)) {
|
|
8003
8007
|
body["SkillGroupIdList"] = request.skillGroupIdList;
|
|
@@ -8022,7 +8026,7 @@ export default class Client extends OpenApi {
|
|
|
8022
8026
|
}
|
|
8023
8027
|
|
|
8024
8028
|
/**
|
|
8025
|
-
*
|
|
8029
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
8026
8030
|
*
|
|
8027
8031
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
8028
8032
|
* @returns ListHistoricalSkillGroupReportResponse
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CheckBusinessHoursRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The instance ID.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,6 +14,9 @@ export class CheckBusinessHoursRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
instanceId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The 13-digit timestamp. If this parameter is not specified, the current time is used by default.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* 1789526665860
|
|
17
22
|
*/
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CheckBusinessHoursResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The response code.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* OK
|
|
9
12
|
*/
|
|
10
13
|
code?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether the current time is a working hour.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* true
|
|
14
20
|
*/
|
|
15
21
|
data?: boolean;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The HTTP status code.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 200
|
|
19
28
|
*/
|
|
20
29
|
httpStatusCode?: number;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The response message.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
|
-
*
|
|
35
|
+
* None
|
|
24
36
|
*/
|
|
25
37
|
message?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The request ID.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 678F7002-CA01-4ABF-A112-585AFBDF3A3B
|
|
29
44
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The end time of the historical data to retrieve. Specify a UNIX timestamp in milliseconds. This parameter is optional. Default value: the current time. The statistical time precision is in hours. The end time is rounded up to the nearest hour, and the interval is open. For example, if the start time is 11:12:20 and the end time is 11:45:50, the aligned time range is [11:00:00, 12:00:00), which means greater than or equal to 11:00:00 and less than 12:00:00.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1532707199000
|
|
@@ -13,7 +13,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
13
13
|
endTime?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The instance ID.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,7 +23,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
23
23
|
instanceId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The media type. Default value: Audio. Valid values: Audio, Chat, and Video.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* VIDEO
|
|
@@ -31,7 +31,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
31
31
|
mediaType?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
*
|
|
34
|
+
* The page number. Valid values: 1 to 100.
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
41
41
|
pageNumber?: number;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* The number of entries per page. Valid values: 1 to 100.
|
|
45
45
|
*
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
@@ -51,7 +51,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
51
51
|
pageSize?: number;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* The list of skill group IDs to query. The value is a character string in the JSON array format, where each array element is a skill group ID. This parameter is optional. Default value: empty. An empty value indicates that all skill groups in the current paging are queried.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* ["skillgroup1@ccc-test", "skillgroup2@ccc-test2"]
|
|
@@ -59,12 +59,17 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
59
59
|
skillGroupIdList?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
*
|
|
62
|
+
* The start time of the historical data to retrieve. Specify a UNIX timestamp in milliseconds. This parameter is optional. Default value: 00:00:00 on the current day. The earliest allowed time is 180 days before the current time. The statistical time precision is in hours. The start time is rounded down to the nearest hour, and the interval is closed.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* 1532448000000
|
|
66
66
|
*/
|
|
67
67
|
startTime?: number;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* Specifies whether to aggregate data by instance ID.
|
|
71
|
+
*/
|
|
72
|
+
summarizeByInstanceId?: boolean;
|
|
68
73
|
static names(): { [key: string]: string } {
|
|
69
74
|
return {
|
|
70
75
|
endTime: 'EndTime',
|
|
@@ -74,6 +79,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
74
79
|
pageSize: 'PageSize',
|
|
75
80
|
skillGroupIdList: 'SkillGroupIdList',
|
|
76
81
|
startTime: 'StartTime',
|
|
82
|
+
summarizeByInstanceId: 'SummarizeByInstanceId',
|
|
77
83
|
};
|
|
78
84
|
}
|
|
79
85
|
|
|
@@ -86,6 +92,7 @@ export class ListHistoricalSkillGroupReportRequest extends $dara.Model {
|
|
|
86
92
|
pageSize: 'number',
|
|
87
93
|
skillGroupIdList: 'string',
|
|
88
94
|
startTime: 'number',
|
|
95
|
+
summarizeByInstanceId: 'boolean',
|
|
89
96
|
};
|
|
90
97
|
}
|
|
91
98
|
|