@alicloud/ccc20200701 2.38.3 → 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 +23 -2
- package/dist/client.js +53 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CheckBusinessHoursRequest.d.ts +31 -0
- package/dist/models/CheckBusinessHoursRequest.js +60 -0
- package/dist/models/CheckBusinessHoursRequest.js.map +1 -0
- package/dist/models/CheckBusinessHoursResponse.d.ts +19 -0
- package/dist/models/CheckBusinessHoursResponse.js +69 -0
- package/dist/models/CheckBusinessHoursResponse.js.map +1 -0
- package/dist/models/CheckBusinessHoursResponseBody.d.ts +53 -0
- package/dist/models/CheckBusinessHoursResponseBody.js +66 -0
- package/dist/models/CheckBusinessHoursResponseBody.js.map +1 -0
- 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/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +21 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -2
- package/src/models/CheckBusinessHoursRequest.ts +46 -0
- package/src/models/CheckBusinessHoursResponse.ts +40 -0
- package/src/models/CheckBusinessHoursResponseBody.ts +74 -0
- package/src/models/ListHistoricalSkillGroupReportRequest.ts +14 -7
- package/src/models/ListHistoricalSkillGroupReportResponseBody.ts +145 -145
- package/src/models/model.ts +3 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CheckBusinessHoursResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The response code.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* OK
|
|
12
|
+
*/
|
|
13
|
+
code?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether the current time is a working hour.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* true
|
|
20
|
+
*/
|
|
21
|
+
data?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The HTTP status code.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 200
|
|
28
|
+
*/
|
|
29
|
+
httpStatusCode?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The response message.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* None
|
|
36
|
+
*/
|
|
37
|
+
message?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The request ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 678F7002-CA01-4ABF-A112-585AFBDF3A3B
|
|
44
|
+
*/
|
|
45
|
+
requestId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
code: 'Code',
|
|
49
|
+
data: 'Data',
|
|
50
|
+
httpStatusCode: 'HttpStatusCode',
|
|
51
|
+
message: 'Message',
|
|
52
|
+
requestId: 'RequestId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
code: 'string',
|
|
59
|
+
data: 'boolean',
|
|
60
|
+
httpStatusCode: 'number',
|
|
61
|
+
message: 'string',
|
|
62
|
+
requestId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -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
|
|