@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
package/dist/client.d.ts
CHANGED
|
@@ -365,6 +365,27 @@ export default class Client extends OpenApi {
|
|
|
365
365
|
* @returns ChangeWorkModeResponse
|
|
366
366
|
*/
|
|
367
367
|
changeWorkMode(request: $_model.ChangeWorkModeRequest): Promise<$_model.ChangeWorkModeResponse>;
|
|
368
|
+
/**
|
|
369
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
370
|
+
*
|
|
371
|
+
* @remarks
|
|
372
|
+
* 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.
|
|
373
|
+
*
|
|
374
|
+
* @param request - CheckBusinessHoursRequest
|
|
375
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
376
|
+
* @returns CheckBusinessHoursResponse
|
|
377
|
+
*/
|
|
378
|
+
checkBusinessHoursWithOptions(request: $_model.CheckBusinessHoursRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckBusinessHoursResponse>;
|
|
379
|
+
/**
|
|
380
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
381
|
+
*
|
|
382
|
+
* @remarks
|
|
383
|
+
* 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.
|
|
384
|
+
*
|
|
385
|
+
* @param request - CheckBusinessHoursRequest
|
|
386
|
+
* @returns CheckBusinessHoursResponse
|
|
387
|
+
*/
|
|
388
|
+
checkBusinessHours(request: $_model.CheckBusinessHoursRequest): Promise<$_model.CheckBusinessHoursResponse>;
|
|
368
389
|
/**
|
|
369
390
|
* Call the `ClaimCall` API to assign a call to an agent.
|
|
370
391
|
*
|
|
@@ -2144,7 +2165,7 @@ export default class Client extends OpenApi {
|
|
|
2144
2165
|
*/
|
|
2145
2166
|
listHistoricalAgentSkillGroupReport(request: $_model.ListHistoricalAgentSkillGroupReportRequest): Promise<$_model.ListHistoricalAgentSkillGroupReportResponse>;
|
|
2146
2167
|
/**
|
|
2147
|
-
*
|
|
2168
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
2148
2169
|
*
|
|
2149
2170
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
2150
2171
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2152,7 +2173,7 @@ export default class Client extends OpenApi {
|
|
|
2152
2173
|
*/
|
|
2153
2174
|
listHistoricalSkillGroupReportWithOptions(request: $_model.ListHistoricalSkillGroupReportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListHistoricalSkillGroupReportResponse>;
|
|
2154
2175
|
/**
|
|
2155
|
-
*
|
|
2176
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
2156
2177
|
*
|
|
2157
2178
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
2158
2179
|
* @returns ListHistoricalSkillGroupReportResponse
|
package/dist/client.js
CHANGED
|
@@ -1267,6 +1267,54 @@ class Client extends openapi_core_1.default {
|
|
|
1267
1267
|
let runtime = new $dara.RuntimeOptions({});
|
|
1268
1268
|
return await this.changeWorkModeWithOptions(request, runtime);
|
|
1269
1269
|
}
|
|
1270
|
+
/**
|
|
1271
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
1272
|
+
*
|
|
1273
|
+
* @remarks
|
|
1274
|
+
* 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.
|
|
1275
|
+
*
|
|
1276
|
+
* @param request - CheckBusinessHoursRequest
|
|
1277
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1278
|
+
* @returns CheckBusinessHoursResponse
|
|
1279
|
+
*/
|
|
1280
|
+
async checkBusinessHoursWithOptions(request, runtime) {
|
|
1281
|
+
request.validate();
|
|
1282
|
+
let query = {};
|
|
1283
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1284
|
+
query["InstanceId"] = request.instanceId;
|
|
1285
|
+
}
|
|
1286
|
+
if (!$dara.isNull(request.time)) {
|
|
1287
|
+
query["Time"] = request.time;
|
|
1288
|
+
}
|
|
1289
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1290
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1291
|
+
});
|
|
1292
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1293
|
+
action: "CheckBusinessHours",
|
|
1294
|
+
version: "2020-07-01",
|
|
1295
|
+
protocol: "HTTPS",
|
|
1296
|
+
pathname: "/",
|
|
1297
|
+
method: "POST",
|
|
1298
|
+
authType: "AK",
|
|
1299
|
+
style: "RPC",
|
|
1300
|
+
reqBodyType: "formData",
|
|
1301
|
+
bodyType: "json",
|
|
1302
|
+
});
|
|
1303
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckBusinessHoursResponse({}));
|
|
1304
|
+
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Checks whether the current time is a working hour, considering holidays and special workdays.
|
|
1307
|
+
*
|
|
1308
|
+
* @remarks
|
|
1309
|
+
* 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.
|
|
1310
|
+
*
|
|
1311
|
+
* @param request - CheckBusinessHoursRequest
|
|
1312
|
+
* @returns CheckBusinessHoursResponse
|
|
1313
|
+
*/
|
|
1314
|
+
async checkBusinessHours(request) {
|
|
1315
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1316
|
+
return await this.checkBusinessHoursWithOptions(request, runtime);
|
|
1317
|
+
}
|
|
1270
1318
|
/**
|
|
1271
1319
|
* Call the `ClaimCall` API to assign a call to an agent.
|
|
1272
1320
|
*
|
|
@@ -7058,7 +7106,7 @@ class Client extends openapi_core_1.default {
|
|
|
7058
7106
|
return await this.listHistoricalAgentSkillGroupReportWithOptions(request, runtime);
|
|
7059
7107
|
}
|
|
7060
7108
|
/**
|
|
7061
|
-
*
|
|
7109
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
7062
7110
|
*
|
|
7063
7111
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
7064
7112
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7085,6 +7133,9 @@ class Client extends openapi_core_1.default {
|
|
|
7085
7133
|
if (!$dara.isNull(request.startTime)) {
|
|
7086
7134
|
query["StartTime"] = request.startTime;
|
|
7087
7135
|
}
|
|
7136
|
+
if (!$dara.isNull(request.summarizeByInstanceId)) {
|
|
7137
|
+
query["SummarizeByInstanceId"] = request.summarizeByInstanceId;
|
|
7138
|
+
}
|
|
7088
7139
|
let body = {};
|
|
7089
7140
|
if (!$dara.isNull(request.skillGroupIdList)) {
|
|
7090
7141
|
body["SkillGroupIdList"] = request.skillGroupIdList;
|
|
@@ -7107,7 +7158,7 @@ class Client extends openapi_core_1.default {
|
|
|
7107
7158
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHistoricalSkillGroupReportResponse({}));
|
|
7108
7159
|
}
|
|
7109
7160
|
/**
|
|
7110
|
-
*
|
|
7161
|
+
* Retrieves historical data reports for one or more skill groups in a specified instance.
|
|
7111
7162
|
*
|
|
7112
7163
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
7113
7164
|
* @returns ListHistoricalSkillGroupReportResponse
|