@alicloud/ccc20200701 2.33.3 → 2.34.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 +38 -0
- package/dist/client.js +127 -11
- package/dist/client.js.map +1 -1
- package/dist/models/AppendCasesResponseBody.d.ts +16 -0
- package/dist/models/AppendCasesResponseBody.js +29 -1
- package/dist/models/AppendCasesResponseBody.js.map +1 -1
- package/dist/models/CreateCampaignRequest.d.ts +11 -0
- package/dist/models/CreateCampaignRequest.js +9 -0
- package/dist/models/CreateCampaignRequest.js.map +1 -1
- package/dist/models/CreateCampaignShrinkRequest.d.ts +11 -0
- package/dist/models/CreateCampaignShrinkRequest.js +6 -0
- package/dist/models/CreateCampaignShrinkRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +0 -3
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/GetInstanceResponseBody.d.ts +16 -0
- package/dist/models/GetInstanceResponseBody.js +29 -1
- package/dist/models/GetInstanceResponseBody.js.map +1 -1
- package/dist/models/ImportRamUsersRequest.d.ts +50 -0
- package/dist/models/ImportRamUsersRequest.js +66 -0
- package/dist/models/ImportRamUsersRequest.js.map +1 -0
- package/dist/models/ImportRamUsersResponse.d.ts +19 -0
- package/dist/models/ImportRamUsersResponse.js +69 -0
- package/dist/models/ImportRamUsersResponse.js.map +1 -0
- package/dist/models/ImportRamUsersResponseBody.d.ts +34 -0
- package/dist/models/ImportRamUsersResponseBody.js +66 -0
- package/dist/models/ImportRamUsersResponseBody.js.map +1 -0
- package/dist/models/ListFlashSmsSettingsRequest.d.ts +39 -0
- package/dist/models/ListFlashSmsSettingsRequest.js +69 -0
- package/dist/models/ListFlashSmsSettingsRequest.js.map +1 -0
- package/dist/models/ListFlashSmsSettingsResponse.d.ts +19 -0
- package/dist/models/ListFlashSmsSettingsResponse.js +69 -0
- package/dist/models/ListFlashSmsSettingsResponse.js.map +1 -0
- package/dist/models/ListFlashSmsSettingsResponseBody.d.ts +87 -0
- package/dist/models/ListFlashSmsSettingsResponseBody.js +127 -0
- package/dist/models/ListFlashSmsSettingsResponseBody.js.map +1 -0
- package/dist/models/ListFlashSmsSettingsShrinkRequest.d.ts +39 -0
- package/dist/models/ListFlashSmsSettingsShrinkRequest.js +66 -0
- package/dist/models/ListFlashSmsSettingsShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +52 -30
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +146 -11
- package/src/models/AppendCasesResponseBody.ts +35 -0
- package/src/models/CreateCampaignRequest.ts +20 -0
- package/src/models/CreateCampaignShrinkRequest.ts +17 -0
- package/src/models/CreateInstanceRequest.ts +0 -3
- package/src/models/GetInstanceResponseBody.ts +35 -0
- package/src/models/ImportRamUsersRequest.ts +71 -0
- package/src/models/ImportRamUsersResponse.ts +40 -0
- package/src/models/ImportRamUsersResponseBody.ts +55 -0
- package/src/models/ListFlashSmsSettingsRequest.ts +63 -0
- package/src/models/ListFlashSmsSettingsResponse.ts +40 -0
- package/src/models/ListFlashSmsSettingsResponseBody.ts +151 -0
- package/src/models/ListFlashSmsSettingsShrinkRequest.ts +60 -0
- package/src/models/model.ts +11 -0
package/src/client.ts
CHANGED
|
@@ -868,7 +868,6 @@ export default class Client extends OpenApi {
|
|
|
868
868
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
869
869
|
* @returns AssignUsersResponse
|
|
870
870
|
*/
|
|
871
|
-
// Deprecated
|
|
872
871
|
async assignUsersWithOptions(request: $_model.AssignUsersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssignUsersResponse> {
|
|
873
872
|
request.validate();
|
|
874
873
|
let query = { };
|
|
@@ -1678,6 +1677,10 @@ export default class Client extends OpenApi {
|
|
|
1678
1677
|
request.caseListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.caseList, "CaseList", "json");
|
|
1679
1678
|
}
|
|
1680
1679
|
|
|
1680
|
+
if (!$dara.isNull(tmpReq.numberList)) {
|
|
1681
|
+
request.numberListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.numberList, "NumberList", "json");
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1681
1684
|
let query = { };
|
|
1682
1685
|
if (!$dara.isNull(request.callableTime)) {
|
|
1683
1686
|
query["CallableTime"] = request.callableTime;
|
|
@@ -1703,6 +1706,14 @@ export default class Client extends OpenApi {
|
|
|
1703
1706
|
query["ExecutingUntilTimeout"] = request.executingUntilTimeout;
|
|
1704
1707
|
}
|
|
1705
1708
|
|
|
1709
|
+
if (!$dara.isNull(request.flashSmsParameters)) {
|
|
1710
|
+
query["FlashSmsParameters"] = request.flashSmsParameters;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
if (!$dara.isNull(request.instGroupId)) {
|
|
1714
|
+
query["InstGroupId"] = request.instGroupId;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1706
1717
|
if (!$dara.isNull(request.instanceId)) {
|
|
1707
1718
|
query["InstanceId"] = request.instanceId;
|
|
1708
1719
|
}
|
|
@@ -1719,6 +1730,10 @@ export default class Client extends OpenApi {
|
|
|
1719
1730
|
query["Name"] = request.name;
|
|
1720
1731
|
}
|
|
1721
1732
|
|
|
1733
|
+
if (!$dara.isNull(request.numberListShrink)) {
|
|
1734
|
+
query["NumberList"] = request.numberListShrink;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1722
1737
|
if (!$dara.isNull(request.queueId)) {
|
|
1723
1738
|
query["QueueId"] = request.queueId;
|
|
1724
1739
|
}
|
|
@@ -1880,7 +1895,6 @@ export default class Client extends OpenApi {
|
|
|
1880
1895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1881
1896
|
* @returns CreateCustomCallTaggingResponse
|
|
1882
1897
|
*/
|
|
1883
|
-
// Deprecated
|
|
1884
1898
|
async createCustomCallTaggingWithOptions(request: $_model.CreateCustomCallTaggingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomCallTaggingResponse> {
|
|
1885
1899
|
request.validate();
|
|
1886
1900
|
let query = { };
|
|
@@ -1924,6 +1938,8 @@ export default class Client extends OpenApi {
|
|
|
1924
1938
|
}
|
|
1925
1939
|
|
|
1926
1940
|
/**
|
|
1941
|
+
* 创建实例
|
|
1942
|
+
*
|
|
1927
1943
|
* @param request - CreateInstanceRequest
|
|
1928
1944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1929
1945
|
* @returns CreateInstanceResponse
|
|
@@ -1969,6 +1985,8 @@ export default class Client extends OpenApi {
|
|
|
1969
1985
|
}
|
|
1970
1986
|
|
|
1971
1987
|
/**
|
|
1988
|
+
* 创建实例
|
|
1989
|
+
*
|
|
1972
1990
|
* @param request - CreateInstanceRequest
|
|
1973
1991
|
* @returns CreateInstanceResponse
|
|
1974
1992
|
*/
|
|
@@ -3120,7 +3138,6 @@ export default class Client extends OpenApi {
|
|
|
3120
3138
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3121
3139
|
* @returns ExportCustomCallTaggingResponse
|
|
3122
3140
|
*/
|
|
3123
|
-
// Deprecated
|
|
3124
3141
|
async exportCustomCallTaggingWithOptions(request: $_model.ExportCustomCallTaggingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExportCustomCallTaggingResponse> {
|
|
3125
3142
|
request.validate();
|
|
3126
3143
|
let query = { };
|
|
@@ -4056,6 +4073,8 @@ export default class Client extends OpenApi {
|
|
|
4056
4073
|
}
|
|
4057
4074
|
|
|
4058
4075
|
/**
|
|
4076
|
+
* 获取实例信息
|
|
4077
|
+
*
|
|
4059
4078
|
* @param request - GetInstanceRequest
|
|
4060
4079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4061
4080
|
* @returns GetInstanceResponse
|
|
@@ -4085,6 +4104,8 @@ export default class Client extends OpenApi {
|
|
|
4085
4104
|
}
|
|
4086
4105
|
|
|
4087
4106
|
/**
|
|
4107
|
+
* 获取实例信息
|
|
4108
|
+
*
|
|
4088
4109
|
* @param request - GetInstanceRequest
|
|
4089
4110
|
* @returns GetInstanceResponse
|
|
4090
4111
|
*/
|
|
@@ -4144,6 +4165,8 @@ export default class Client extends OpenApi {
|
|
|
4144
4165
|
}
|
|
4145
4166
|
|
|
4146
4167
|
/**
|
|
4168
|
+
* 获取IVR轨迹小结
|
|
4169
|
+
*
|
|
4147
4170
|
* @param request - GetIvrTrackingSummaryRequest
|
|
4148
4171
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4149
4172
|
* @returns GetIvrTrackingSummaryResponse
|
|
@@ -4177,6 +4200,8 @@ export default class Client extends OpenApi {
|
|
|
4177
4200
|
}
|
|
4178
4201
|
|
|
4179
4202
|
/**
|
|
4203
|
+
* 获取IVR轨迹小结
|
|
4204
|
+
*
|
|
4180
4205
|
* @param request - GetIvrTrackingSummaryRequest
|
|
4181
4206
|
* @returns GetIvrTrackingSummaryResponse
|
|
4182
4207
|
*/
|
|
@@ -5248,7 +5273,6 @@ export default class Client extends OpenApi {
|
|
|
5248
5273
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5249
5274
|
* @returns ImportCustomCallTaggingResponse
|
|
5250
5275
|
*/
|
|
5251
|
-
// Deprecated
|
|
5252
5276
|
async importCustomCallTaggingWithOptions(request: $_model.ImportCustomCallTaggingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportCustomCallTaggingResponse> {
|
|
5253
5277
|
request.validate();
|
|
5254
5278
|
let query = { };
|
|
@@ -5395,6 +5419,60 @@ export default class Client extends OpenApi {
|
|
|
5395
5419
|
return await this.importDocumentsWithOptions(request, runtime);
|
|
5396
5420
|
}
|
|
5397
5421
|
|
|
5422
|
+
/**
|
|
5423
|
+
* @param request - ImportRamUsersRequest
|
|
5424
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5425
|
+
* @returns ImportRamUsersResponse
|
|
5426
|
+
*/
|
|
5427
|
+
async importRamUsersWithOptions(request: $_model.ImportRamUsersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportRamUsersResponse> {
|
|
5428
|
+
request.validate();
|
|
5429
|
+
let query = { };
|
|
5430
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5431
|
+
query["InstanceId"] = request.instanceId;
|
|
5432
|
+
}
|
|
5433
|
+
|
|
5434
|
+
if (!$dara.isNull(request.ramIdList)) {
|
|
5435
|
+
query["RamIdList"] = request.ramIdList;
|
|
5436
|
+
}
|
|
5437
|
+
|
|
5438
|
+
if (!$dara.isNull(request.roleId)) {
|
|
5439
|
+
query["RoleId"] = request.roleId;
|
|
5440
|
+
}
|
|
5441
|
+
|
|
5442
|
+
if (!$dara.isNull(request.skillLevelList)) {
|
|
5443
|
+
query["SkillLevelList"] = request.skillLevelList;
|
|
5444
|
+
}
|
|
5445
|
+
|
|
5446
|
+
if (!$dara.isNull(request.workMode)) {
|
|
5447
|
+
query["WorkMode"] = request.workMode;
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5451
|
+
query: OpenApiUtil.query(query),
|
|
5452
|
+
});
|
|
5453
|
+
let params = new $OpenApiUtil.Params({
|
|
5454
|
+
action: "ImportRamUsers",
|
|
5455
|
+
version: "2020-07-01",
|
|
5456
|
+
protocol: "HTTPS",
|
|
5457
|
+
pathname: "/",
|
|
5458
|
+
method: "POST",
|
|
5459
|
+
authType: "AK",
|
|
5460
|
+
style: "RPC",
|
|
5461
|
+
reqBodyType: "formData",
|
|
5462
|
+
bodyType: "json",
|
|
5463
|
+
});
|
|
5464
|
+
return $dara.cast<$_model.ImportRamUsersResponse>(await this.callApi(params, req, runtime), new $_model.ImportRamUsersResponse({}));
|
|
5465
|
+
}
|
|
5466
|
+
|
|
5467
|
+
/**
|
|
5468
|
+
* @param request - ImportRamUsersRequest
|
|
5469
|
+
* @returns ImportRamUsersResponse
|
|
5470
|
+
*/
|
|
5471
|
+
async importRamUsers(request: $_model.ImportRamUsersRequest): Promise<$_model.ImportRamUsersResponse> {
|
|
5472
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5473
|
+
return await this.importRamUsersWithOptions(request, runtime);
|
|
5474
|
+
}
|
|
5475
|
+
|
|
5398
5476
|
/**
|
|
5399
5477
|
* @param request - InitiateAttendedTransferRequest
|
|
5400
5478
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5738,7 +5816,6 @@ export default class Client extends OpenApi {
|
|
|
5738
5816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5739
5817
|
* @returns ListAgentStatesResponse
|
|
5740
5818
|
*/
|
|
5741
|
-
// Deprecated
|
|
5742
5819
|
async listAgentStatesWithOptions(request: $_model.ListAgentStatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentStatesResponse> {
|
|
5743
5820
|
request.validate();
|
|
5744
5821
|
let query = { };
|
|
@@ -5810,7 +5887,6 @@ export default class Client extends OpenApi {
|
|
|
5810
5887
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5811
5888
|
* @returns ListAgentSummaryReportsSinceMidnightResponse
|
|
5812
5889
|
*/
|
|
5813
|
-
// Deprecated
|
|
5814
5890
|
async listAgentSummaryReportsSinceMidnightWithOptions(request: $_model.ListAgentSummaryReportsSinceMidnightRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentSummaryReportsSinceMidnightResponse> {
|
|
5815
5891
|
request.validate();
|
|
5816
5892
|
let query = OpenApiUtil.query(request.toMap());
|
|
@@ -6786,7 +6862,6 @@ export default class Client extends OpenApi {
|
|
|
6786
6862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6787
6863
|
* @returns ListCustomCallTaggingResponse
|
|
6788
6864
|
*/
|
|
6789
|
-
// Deprecated
|
|
6790
6865
|
async listCustomCallTaggingWithOptions(request: $_model.ListCustomCallTaggingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomCallTaggingResponse> {
|
|
6791
6866
|
request.validate();
|
|
6792
6867
|
let query = { };
|
|
@@ -7063,6 +7138,66 @@ export default class Client extends OpenApi {
|
|
|
7063
7138
|
return await this.listFlashSmsApplicationsWithOptions(request, runtime);
|
|
7064
7139
|
}
|
|
7065
7140
|
|
|
7141
|
+
/**
|
|
7142
|
+
* @param tmpReq - ListFlashSmsSettingsRequest
|
|
7143
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7144
|
+
* @returns ListFlashSmsSettingsResponse
|
|
7145
|
+
*/
|
|
7146
|
+
async listFlashSmsSettingsWithOptions(tmpReq: $_model.ListFlashSmsSettingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlashSmsSettingsResponse> {
|
|
7147
|
+
tmpReq.validate();
|
|
7148
|
+
let request = new $_model.ListFlashSmsSettingsShrinkRequest({ });
|
|
7149
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7150
|
+
if (!$dara.isNull(tmpReq.skillGroupIdList)) {
|
|
7151
|
+
request.skillGroupIdListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skillGroupIdList, "SkillGroupIdList", "json");
|
|
7152
|
+
}
|
|
7153
|
+
|
|
7154
|
+
let query = { };
|
|
7155
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7156
|
+
query["InstanceId"] = request.instanceId;
|
|
7157
|
+
}
|
|
7158
|
+
|
|
7159
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
7160
|
+
query["PageNumber"] = request.pageNumber;
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
7164
|
+
query["PageSize"] = request.pageSize;
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
if (!$dara.isNull(request.skillGroupIdListShrink)) {
|
|
7168
|
+
query["SkillGroupIdList"] = request.skillGroupIdListShrink;
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
if (!$dara.isNull(request.skillGroupName)) {
|
|
7172
|
+
query["SkillGroupName"] = request.skillGroupName;
|
|
7173
|
+
}
|
|
7174
|
+
|
|
7175
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7176
|
+
query: OpenApiUtil.query(query),
|
|
7177
|
+
});
|
|
7178
|
+
let params = new $OpenApiUtil.Params({
|
|
7179
|
+
action: "ListFlashSmsSettings",
|
|
7180
|
+
version: "2020-07-01",
|
|
7181
|
+
protocol: "HTTPS",
|
|
7182
|
+
pathname: "/",
|
|
7183
|
+
method: "POST",
|
|
7184
|
+
authType: "AK",
|
|
7185
|
+
style: "RPC",
|
|
7186
|
+
reqBodyType: "formData",
|
|
7187
|
+
bodyType: "json",
|
|
7188
|
+
});
|
|
7189
|
+
return $dara.cast<$_model.ListFlashSmsSettingsResponse>(await this.callApi(params, req, runtime), new $_model.ListFlashSmsSettingsResponse({}));
|
|
7190
|
+
}
|
|
7191
|
+
|
|
7192
|
+
/**
|
|
7193
|
+
* @param request - ListFlashSmsSettingsRequest
|
|
7194
|
+
* @returns ListFlashSmsSettingsResponse
|
|
7195
|
+
*/
|
|
7196
|
+
async listFlashSmsSettings(request: $_model.ListFlashSmsSettingsRequest): Promise<$_model.ListFlashSmsSettingsResponse> {
|
|
7197
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7198
|
+
return await this.listFlashSmsSettingsWithOptions(request, runtime);
|
|
7199
|
+
}
|
|
7200
|
+
|
|
7066
7201
|
/**
|
|
7067
7202
|
* 获取闪信模板列表
|
|
7068
7203
|
*
|
|
@@ -7312,6 +7447,8 @@ export default class Client extends OpenApi {
|
|
|
7312
7447
|
}
|
|
7313
7448
|
|
|
7314
7449
|
/**
|
|
7450
|
+
* 技能组汇总报表
|
|
7451
|
+
*
|
|
7315
7452
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
7316
7453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7317
7454
|
* @returns ListHistoricalSkillGroupReportResponse
|
|
@@ -7367,6 +7504,8 @@ export default class Client extends OpenApi {
|
|
|
7367
7504
|
}
|
|
7368
7505
|
|
|
7369
7506
|
/**
|
|
7507
|
+
* 技能组汇总报表
|
|
7508
|
+
*
|
|
7370
7509
|
* @param request - ListHistoricalSkillGroupReportRequest
|
|
7371
7510
|
* @returns ListHistoricalSkillGroupReportResponse
|
|
7372
7511
|
*/
|
|
@@ -7722,7 +7861,6 @@ export default class Client extends OpenApi {
|
|
|
7722
7861
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7723
7862
|
* @returns ListLegacyAgentEventLogsResponse
|
|
7724
7863
|
*/
|
|
7725
|
-
// Deprecated
|
|
7726
7864
|
async listLegacyAgentEventLogsWithOptions(request: $_model.ListLegacyAgentEventLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLegacyAgentEventLogsResponse> {
|
|
7727
7865
|
request.validate();
|
|
7728
7866
|
let query = { };
|
|
@@ -7790,7 +7928,6 @@ export default class Client extends OpenApi {
|
|
|
7790
7928
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7791
7929
|
* @returns ListLegacyAgentStatusLogsResponse
|
|
7792
7930
|
*/
|
|
7793
|
-
// Deprecated
|
|
7794
7931
|
async listLegacyAgentStatusLogsWithOptions(request: $_model.ListLegacyAgentStatusLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLegacyAgentStatusLogsResponse> {
|
|
7795
7932
|
request.validate();
|
|
7796
7933
|
let query = { };
|
|
@@ -8628,7 +8765,6 @@ export default class Client extends OpenApi {
|
|
|
8628
8765
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8629
8766
|
* @returns ListSkillGroupStatesResponse
|
|
8630
8767
|
*/
|
|
8631
|
-
// Deprecated
|
|
8632
8768
|
async listSkillGroupStatesWithOptions(request: $_model.ListSkillGroupStatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSkillGroupStatesResponse> {
|
|
8633
8769
|
request.validate();
|
|
8634
8770
|
let query = OpenApiUtil.query(request.toMap());
|
|
@@ -8672,7 +8808,6 @@ export default class Client extends OpenApi {
|
|
|
8672
8808
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8673
8809
|
* @returns ListSkillGroupSummaryReportsSinceMidnightResponse
|
|
8674
8810
|
*/
|
|
8675
|
-
// Deprecated
|
|
8676
8811
|
async listSkillGroupSummaryReportsSinceMidnightWithOptions(request: $_model.ListSkillGroupSummaryReportsSinceMidnightRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSkillGroupSummaryReportsSinceMidnightResponse> {
|
|
8677
8812
|
request.validate();
|
|
8678
8813
|
let query = OpenApiUtil.query(request.toMap());
|
|
@@ -2,12 +2,42 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class AppendCasesResponseBodyData extends $dara.Model {
|
|
6
|
+
customVariables?: string;
|
|
7
|
+
phoneNumber?: string;
|
|
8
|
+
referenceId?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
customVariables: 'CustomVariables',
|
|
12
|
+
phoneNumber: 'PhoneNumber',
|
|
13
|
+
referenceId: 'ReferenceId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
customVariables: 'string',
|
|
20
|
+
phoneNumber: 'string',
|
|
21
|
+
referenceId: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
5
34
|
export class AppendCasesResponseBody extends $dara.Model {
|
|
6
35
|
/**
|
|
7
36
|
* @example
|
|
8
37
|
* OK
|
|
9
38
|
*/
|
|
10
39
|
code?: string;
|
|
40
|
+
data?: AppendCasesResponseBodyData[];
|
|
11
41
|
/**
|
|
12
42
|
* @example
|
|
13
43
|
* 200
|
|
@@ -22,6 +52,7 @@ export class AppendCasesResponseBody extends $dara.Model {
|
|
|
22
52
|
static names(): { [key: string]: string } {
|
|
23
53
|
return {
|
|
24
54
|
code: 'Code',
|
|
55
|
+
data: 'Data',
|
|
25
56
|
httpStatusCode: 'HttpStatusCode',
|
|
26
57
|
message: 'Message',
|
|
27
58
|
requestId: 'RequestId',
|
|
@@ -31,6 +62,7 @@ export class AppendCasesResponseBody extends $dara.Model {
|
|
|
31
62
|
static types(): { [key: string]: any } {
|
|
32
63
|
return {
|
|
33
64
|
code: 'string',
|
|
65
|
+
data: { 'type': 'array', 'itemType': AppendCasesResponseBodyData },
|
|
34
66
|
httpStatusCode: 'string',
|
|
35
67
|
message: 'string',
|
|
36
68
|
requestId: 'string',
|
|
@@ -38,6 +70,9 @@ export class AppendCasesResponseBody extends $dara.Model {
|
|
|
38
70
|
}
|
|
39
71
|
|
|
40
72
|
validate() {
|
|
73
|
+
if(Array.isArray(this.data)) {
|
|
74
|
+
$dara.Model.validateArray(this.data);
|
|
75
|
+
}
|
|
41
76
|
super.validate();
|
|
42
77
|
}
|
|
43
78
|
|
|
@@ -71,6 +71,16 @@ export class CreateCampaignRequest extends $dara.Model {
|
|
|
71
71
|
*/
|
|
72
72
|
endTime?: string;
|
|
73
73
|
executingUntilTimeout?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* {"applicationId":"08e6b63a-****-****-****-689a288cdbb5","templateId":"325"}
|
|
77
|
+
*/
|
|
78
|
+
flashSmsParameters?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 0d368091-2c70-4d26-979a-6997ddc9c34f
|
|
82
|
+
*/
|
|
83
|
+
instGroupId?: string;
|
|
74
84
|
/**
|
|
75
85
|
* @remarks
|
|
76
86
|
* This parameter is required.
|
|
@@ -103,6 +113,7 @@ export class CreateCampaignRequest extends $dara.Model {
|
|
|
103
113
|
* test-campaign
|
|
104
114
|
*/
|
|
105
115
|
name?: string;
|
|
116
|
+
numberList?: string[];
|
|
106
117
|
/**
|
|
107
118
|
* @remarks
|
|
108
119
|
* This parameter is required.
|
|
@@ -145,10 +156,13 @@ export class CreateCampaignRequest extends $dara.Model {
|
|
|
145
156
|
contactFlowId: 'ContactFlowId',
|
|
146
157
|
endTime: 'EndTime',
|
|
147
158
|
executingUntilTimeout: 'ExecutingUntilTimeout',
|
|
159
|
+
flashSmsParameters: 'FlashSmsParameters',
|
|
160
|
+
instGroupId: 'InstGroupId',
|
|
148
161
|
instanceId: 'InstanceId',
|
|
149
162
|
maxAttemptCount: 'MaxAttemptCount',
|
|
150
163
|
minAttemptInterval: 'MinAttemptInterval',
|
|
151
164
|
name: 'Name',
|
|
165
|
+
numberList: 'NumberList',
|
|
152
166
|
queueId: 'QueueId',
|
|
153
167
|
simulation: 'Simulation',
|
|
154
168
|
simulationParameters: 'SimulationParameters',
|
|
@@ -166,10 +180,13 @@ export class CreateCampaignRequest extends $dara.Model {
|
|
|
166
180
|
contactFlowId: 'string',
|
|
167
181
|
endTime: 'string',
|
|
168
182
|
executingUntilTimeout: 'boolean',
|
|
183
|
+
flashSmsParameters: 'string',
|
|
184
|
+
instGroupId: 'string',
|
|
169
185
|
instanceId: 'string',
|
|
170
186
|
maxAttemptCount: 'number',
|
|
171
187
|
minAttemptInterval: 'number',
|
|
172
188
|
name: 'string',
|
|
189
|
+
numberList: { 'type': 'array', 'itemType': 'string' },
|
|
173
190
|
queueId: 'string',
|
|
174
191
|
simulation: 'boolean',
|
|
175
192
|
simulationParameters: 'string',
|
|
@@ -183,6 +200,9 @@ export class CreateCampaignRequest extends $dara.Model {
|
|
|
183
200
|
if(Array.isArray(this.caseList)) {
|
|
184
201
|
$dara.Model.validateArray(this.caseList);
|
|
185
202
|
}
|
|
203
|
+
if(Array.isArray(this.numberList)) {
|
|
204
|
+
$dara.Model.validateArray(this.numberList);
|
|
205
|
+
}
|
|
186
206
|
super.validate();
|
|
187
207
|
}
|
|
188
208
|
|
|
@@ -34,6 +34,16 @@ export class CreateCampaignShrinkRequest extends $dara.Model {
|
|
|
34
34
|
*/
|
|
35
35
|
endTime?: string;
|
|
36
36
|
executingUntilTimeout?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* {"applicationId":"08e6b63a-****-****-****-689a288cdbb5","templateId":"325"}
|
|
40
|
+
*/
|
|
41
|
+
flashSmsParameters?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 0d368091-2c70-4d26-979a-6997ddc9c34f
|
|
45
|
+
*/
|
|
46
|
+
instGroupId?: string;
|
|
37
47
|
/**
|
|
38
48
|
* @remarks
|
|
39
49
|
* This parameter is required.
|
|
@@ -66,6 +76,7 @@ export class CreateCampaignShrinkRequest extends $dara.Model {
|
|
|
66
76
|
* test-campaign
|
|
67
77
|
*/
|
|
68
78
|
name?: string;
|
|
79
|
+
numberListShrink?: string;
|
|
69
80
|
/**
|
|
70
81
|
* @remarks
|
|
71
82
|
* This parameter is required.
|
|
@@ -108,10 +119,13 @@ export class CreateCampaignShrinkRequest extends $dara.Model {
|
|
|
108
119
|
contactFlowId: 'ContactFlowId',
|
|
109
120
|
endTime: 'EndTime',
|
|
110
121
|
executingUntilTimeout: 'ExecutingUntilTimeout',
|
|
122
|
+
flashSmsParameters: 'FlashSmsParameters',
|
|
123
|
+
instGroupId: 'InstGroupId',
|
|
111
124
|
instanceId: 'InstanceId',
|
|
112
125
|
maxAttemptCount: 'MaxAttemptCount',
|
|
113
126
|
minAttemptInterval: 'MinAttemptInterval',
|
|
114
127
|
name: 'Name',
|
|
128
|
+
numberListShrink: 'NumberList',
|
|
115
129
|
queueId: 'QueueId',
|
|
116
130
|
simulation: 'Simulation',
|
|
117
131
|
simulationParameters: 'SimulationParameters',
|
|
@@ -129,10 +143,13 @@ export class CreateCampaignShrinkRequest extends $dara.Model {
|
|
|
129
143
|
contactFlowId: 'string',
|
|
130
144
|
endTime: 'string',
|
|
131
145
|
executingUntilTimeout: 'boolean',
|
|
146
|
+
flashSmsParameters: 'string',
|
|
147
|
+
instGroupId: 'string',
|
|
132
148
|
instanceId: 'string',
|
|
133
149
|
maxAttemptCount: 'number',
|
|
134
150
|
minAttemptInterval: 'number',
|
|
135
151
|
name: 'string',
|
|
152
|
+
numberListShrink: 'string',
|
|
136
153
|
queueId: 'string',
|
|
137
154
|
simulation: 'boolean',
|
|
138
155
|
simulationParameters: 'string',
|
|
@@ -88,6 +88,32 @@ export class GetInstanceResponseBodyDataAdminList extends $dara.Model {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
export class GetInstanceResponseBodyDataChatbotBusinessUnit extends $dara.Model {
|
|
92
|
+
unitId?: number;
|
|
93
|
+
unitKey?: string;
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
unitId: 'UnitId',
|
|
97
|
+
unitKey: 'UnitKey',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
unitId: 'number',
|
|
104
|
+
unitKey: 'string',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
validate() {
|
|
109
|
+
super.validate();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
constructor(map?: { [key: string]: any }) {
|
|
113
|
+
super(map);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
91
117
|
export class GetInstanceResponseBodyDataNumberListSkillGroups extends $dara.Model {
|
|
92
118
|
description?: string;
|
|
93
119
|
displayName?: string;
|
|
@@ -225,11 +251,13 @@ export class GetInstanceResponseBodyDataNumberList extends $dara.Model {
|
|
|
225
251
|
|
|
226
252
|
export class GetInstanceResponseBodyData extends $dara.Model {
|
|
227
253
|
adminList?: GetInstanceResponseBodyDataAdminList[];
|
|
254
|
+
agentType?: string;
|
|
228
255
|
/**
|
|
229
256
|
* @example
|
|
230
257
|
* 157123456789****
|
|
231
258
|
*/
|
|
232
259
|
aliyunUid?: string;
|
|
260
|
+
chatbotBusinessUnit?: GetInstanceResponseBodyDataChatbotBusinessUnit;
|
|
233
261
|
/**
|
|
234
262
|
* @example
|
|
235
263
|
* https://ccc-v2.aliyun.com/#/workbench/ccc-test
|
|
@@ -256,7 +284,9 @@ export class GetInstanceResponseBodyData extends $dara.Model {
|
|
|
256
284
|
static names(): { [key: string]: string } {
|
|
257
285
|
return {
|
|
258
286
|
adminList: 'AdminList',
|
|
287
|
+
agentType: 'AgentType',
|
|
259
288
|
aliyunUid: 'AliyunUid',
|
|
289
|
+
chatbotBusinessUnit: 'ChatbotBusinessUnit',
|
|
260
290
|
consoleUrl: 'ConsoleUrl',
|
|
261
291
|
description: 'Description',
|
|
262
292
|
domainName: 'DomainName',
|
|
@@ -270,7 +300,9 @@ export class GetInstanceResponseBodyData extends $dara.Model {
|
|
|
270
300
|
static types(): { [key: string]: any } {
|
|
271
301
|
return {
|
|
272
302
|
adminList: { 'type': 'array', 'itemType': GetInstanceResponseBodyDataAdminList },
|
|
303
|
+
agentType: 'string',
|
|
273
304
|
aliyunUid: 'string',
|
|
305
|
+
chatbotBusinessUnit: GetInstanceResponseBodyDataChatbotBusinessUnit,
|
|
274
306
|
consoleUrl: 'string',
|
|
275
307
|
description: 'string',
|
|
276
308
|
domainName: 'string',
|
|
@@ -285,6 +317,9 @@ export class GetInstanceResponseBodyData extends $dara.Model {
|
|
|
285
317
|
if(Array.isArray(this.adminList)) {
|
|
286
318
|
$dara.Model.validateArray(this.adminList);
|
|
287
319
|
}
|
|
320
|
+
if(this.chatbotBusinessUnit && typeof (this.chatbotBusinessUnit as any).validate === 'function') {
|
|
321
|
+
(this.chatbotBusinessUnit as any).validate();
|
|
322
|
+
}
|
|
288
323
|
if(Array.isArray(this.numberList)) {
|
|
289
324
|
$dara.Model.validateArray(this.numberList);
|
|
290
325
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ImportRamUsersRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ccc-test
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ["28036411123456****","29234301123456****"]
|
|
20
|
+
*/
|
|
21
|
+
ramIdList?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Agent@ccc-test
|
|
28
|
+
*/
|
|
29
|
+
roleId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* [{"skillGroupId":"skillgroup@ccc-test","skillLevel":5}]
|
|
33
|
+
*/
|
|
34
|
+
skillLevelList?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ON_SITE
|
|
41
|
+
*/
|
|
42
|
+
workMode?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
instanceId: 'InstanceId',
|
|
46
|
+
ramIdList: 'RamIdList',
|
|
47
|
+
roleId: 'RoleId',
|
|
48
|
+
skillLevelList: 'SkillLevelList',
|
|
49
|
+
workMode: 'WorkMode',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
instanceId: 'string',
|
|
56
|
+
ramIdList: 'string',
|
|
57
|
+
roleId: 'string',
|
|
58
|
+
skillLevelList: 'string',
|
|
59
|
+
workMode: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ImportRamUsersResponseBody } from "./ImportRamUsersResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ImportRamUsersResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ImportRamUsersResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ImportRamUsersResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|