@alicloud/ccc20200701 2.11.0 → 2.11.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 +15 -0
- package/dist/client.js +42 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +61 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2292,12 +2292,14 @@ export class CreateSkillGroupRequest extends $tea.Model {
|
|
|
2292
2292
|
description?: string;
|
|
2293
2293
|
displayName?: string;
|
|
2294
2294
|
instanceId?: string;
|
|
2295
|
+
mediaType?: string;
|
|
2295
2296
|
name?: string;
|
|
2296
2297
|
static names(): { [key: string]: string } {
|
|
2297
2298
|
return {
|
|
2298
2299
|
description: 'Description',
|
|
2299
2300
|
displayName: 'DisplayName',
|
|
2300
2301
|
instanceId: 'InstanceId',
|
|
2302
|
+
mediaType: 'MediaType',
|
|
2301
2303
|
name: 'Name',
|
|
2302
2304
|
};
|
|
2303
2305
|
}
|
|
@@ -2307,6 +2309,7 @@ export class CreateSkillGroupRequest extends $tea.Model {
|
|
|
2307
2309
|
description: 'string',
|
|
2308
2310
|
displayName: 'string',
|
|
2309
2311
|
instanceId: 'string',
|
|
2312
|
+
mediaType: 'string',
|
|
2310
2313
|
name: 'string',
|
|
2311
2314
|
};
|
|
2312
2315
|
}
|
|
@@ -3122,6 +3125,7 @@ export class ExportDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
3122
3125
|
data?: string;
|
|
3123
3126
|
httpStatusCode?: number;
|
|
3124
3127
|
message?: string;
|
|
3128
|
+
params?: string[];
|
|
3125
3129
|
requestId?: string;
|
|
3126
3130
|
static names(): { [key: string]: string } {
|
|
3127
3131
|
return {
|
|
@@ -3129,6 +3133,7 @@ export class ExportDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
3129
3133
|
data: 'Data',
|
|
3130
3134
|
httpStatusCode: 'HttpStatusCode',
|
|
3131
3135
|
message: 'Message',
|
|
3136
|
+
params: 'Params',
|
|
3132
3137
|
requestId: 'RequestId',
|
|
3133
3138
|
};
|
|
3134
3139
|
}
|
|
@@ -3139,6 +3144,7 @@ export class ExportDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
3139
3144
|
data: 'string',
|
|
3140
3145
|
httpStatusCode: 'number',
|
|
3141
3146
|
message: 'string',
|
|
3147
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
3142
3148
|
requestId: 'string',
|
|
3143
3149
|
};
|
|
3144
3150
|
}
|
|
@@ -5087,6 +5093,7 @@ export class GetTurnCredentialsResponseBody extends $tea.Model {
|
|
|
5087
5093
|
data?: GetTurnCredentialsResponseBodyData;
|
|
5088
5094
|
httpStatusCode?: number;
|
|
5089
5095
|
message?: string;
|
|
5096
|
+
params?: string[];
|
|
5090
5097
|
requestId?: string;
|
|
5091
5098
|
static names(): { [key: string]: string } {
|
|
5092
5099
|
return {
|
|
@@ -5094,6 +5101,7 @@ export class GetTurnCredentialsResponseBody extends $tea.Model {
|
|
|
5094
5101
|
data: 'Data',
|
|
5095
5102
|
httpStatusCode: 'HttpStatusCode',
|
|
5096
5103
|
message: 'Message',
|
|
5104
|
+
params: 'Params',
|
|
5097
5105
|
requestId: 'RequestId',
|
|
5098
5106
|
};
|
|
5099
5107
|
}
|
|
@@ -5104,6 +5112,7 @@ export class GetTurnCredentialsResponseBody extends $tea.Model {
|
|
|
5104
5112
|
data: GetTurnCredentialsResponseBodyData,
|
|
5105
5113
|
httpStatusCode: 'number',
|
|
5106
5114
|
message: 'string',
|
|
5115
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
5107
5116
|
requestId: 'string',
|
|
5108
5117
|
};
|
|
5109
5118
|
}
|
|
@@ -5162,6 +5171,7 @@ export class GetTurnServerListResponseBody extends $tea.Model {
|
|
|
5162
5171
|
data?: string;
|
|
5163
5172
|
httpStatusCode?: number;
|
|
5164
5173
|
message?: string;
|
|
5174
|
+
params?: string[];
|
|
5165
5175
|
requestId?: string;
|
|
5166
5176
|
static names(): { [key: string]: string } {
|
|
5167
5177
|
return {
|
|
@@ -5169,6 +5179,7 @@ export class GetTurnServerListResponseBody extends $tea.Model {
|
|
|
5169
5179
|
data: 'Data',
|
|
5170
5180
|
httpStatusCode: 'HttpStatusCode',
|
|
5171
5181
|
message: 'Message',
|
|
5182
|
+
params: 'Params',
|
|
5172
5183
|
requestId: 'RequestId',
|
|
5173
5184
|
};
|
|
5174
5185
|
}
|
|
@@ -5179,6 +5190,7 @@ export class GetTurnServerListResponseBody extends $tea.Model {
|
|
|
5179
5190
|
data: 'string',
|
|
5180
5191
|
httpStatusCode: 'number',
|
|
5181
5192
|
message: 'string',
|
|
5193
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
5182
5194
|
requestId: 'string',
|
|
5183
5195
|
};
|
|
5184
5196
|
}
|
|
@@ -5809,12 +5821,14 @@ export class ImportDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
5809
5821
|
code?: string;
|
|
5810
5822
|
httpStatusCode?: number;
|
|
5811
5823
|
message?: string;
|
|
5824
|
+
params?: string[];
|
|
5812
5825
|
requestId?: string;
|
|
5813
5826
|
static names(): { [key: string]: string } {
|
|
5814
5827
|
return {
|
|
5815
5828
|
code: 'Code',
|
|
5816
5829
|
httpStatusCode: 'HttpStatusCode',
|
|
5817
5830
|
message: 'Message',
|
|
5831
|
+
params: 'Params',
|
|
5818
5832
|
requestId: 'RequestId',
|
|
5819
5833
|
};
|
|
5820
5834
|
}
|
|
@@ -5824,6 +5838,7 @@ export class ImportDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
5824
5838
|
code: 'string',
|
|
5825
5839
|
httpStatusCode: 'number',
|
|
5826
5840
|
message: 'string',
|
|
5841
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
5827
5842
|
requestId: 'string',
|
|
5828
5843
|
};
|
|
5829
5844
|
}
|
|
@@ -7378,14 +7393,18 @@ export class ListConfigItemsResponse extends $tea.Model {
|
|
|
7378
7393
|
|
|
7379
7394
|
export class ListContactFlowsRequest extends $tea.Model {
|
|
7380
7395
|
instanceId?: string;
|
|
7396
|
+
orderByField?: string;
|
|
7381
7397
|
pageNumber?: number;
|
|
7382
7398
|
pageSize?: number;
|
|
7399
|
+
sortOrder?: string;
|
|
7383
7400
|
type?: string;
|
|
7384
7401
|
static names(): { [key: string]: string } {
|
|
7385
7402
|
return {
|
|
7386
7403
|
instanceId: 'InstanceId',
|
|
7404
|
+
orderByField: 'OrderByField',
|
|
7387
7405
|
pageNumber: 'PageNumber',
|
|
7388
7406
|
pageSize: 'PageSize',
|
|
7407
|
+
sortOrder: 'SortOrder',
|
|
7389
7408
|
type: 'Type',
|
|
7390
7409
|
};
|
|
7391
7410
|
}
|
|
@@ -7393,8 +7412,10 @@ export class ListContactFlowsRequest extends $tea.Model {
|
|
|
7393
7412
|
static types(): { [key: string]: any } {
|
|
7394
7413
|
return {
|
|
7395
7414
|
instanceId: 'string',
|
|
7415
|
+
orderByField: 'string',
|
|
7396
7416
|
pageNumber: 'number',
|
|
7397
7417
|
pageSize: 'number',
|
|
7418
|
+
sortOrder: 'string',
|
|
7398
7419
|
type: 'string',
|
|
7399
7420
|
};
|
|
7400
7421
|
}
|
|
@@ -9569,6 +9590,7 @@ export class ListRamUsersResponseBody extends $tea.Model {
|
|
|
9569
9590
|
data?: ListRamUsersResponseBodyData;
|
|
9570
9591
|
httpStatusCode?: number;
|
|
9571
9592
|
message?: string;
|
|
9593
|
+
params?: string[];
|
|
9572
9594
|
requestId?: string;
|
|
9573
9595
|
static names(): { [key: string]: string } {
|
|
9574
9596
|
return {
|
|
@@ -9576,6 +9598,7 @@ export class ListRamUsersResponseBody extends $tea.Model {
|
|
|
9576
9598
|
data: 'Data',
|
|
9577
9599
|
httpStatusCode: 'HttpStatusCode',
|
|
9578
9600
|
message: 'Message',
|
|
9601
|
+
params: 'Params',
|
|
9579
9602
|
requestId: 'RequestId',
|
|
9580
9603
|
};
|
|
9581
9604
|
}
|
|
@@ -9586,6 +9609,7 @@ export class ListRamUsersResponseBody extends $tea.Model {
|
|
|
9586
9609
|
data: ListRamUsersResponseBodyData,
|
|
9587
9610
|
httpStatusCode: 'number',
|
|
9588
9611
|
message: 'string',
|
|
9612
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
9589
9613
|
requestId: 'string',
|
|
9590
9614
|
};
|
|
9591
9615
|
}
|
|
@@ -10150,12 +10174,14 @@ export class ListSkillGroupSummaryReportsSinceMidnightResponse extends $tea.Mode
|
|
|
10150
10174
|
|
|
10151
10175
|
export class ListSkillGroupsRequest extends $tea.Model {
|
|
10152
10176
|
instanceId?: string;
|
|
10177
|
+
mediaType?: string;
|
|
10153
10178
|
pageNumber?: number;
|
|
10154
10179
|
pageSize?: number;
|
|
10155
10180
|
searchPattern?: string;
|
|
10156
10181
|
static names(): { [key: string]: string } {
|
|
10157
10182
|
return {
|
|
10158
10183
|
instanceId: 'InstanceId',
|
|
10184
|
+
mediaType: 'MediaType',
|
|
10159
10185
|
pageNumber: 'PageNumber',
|
|
10160
10186
|
pageSize: 'PageSize',
|
|
10161
10187
|
searchPattern: 'SearchPattern',
|
|
@@ -10165,6 +10191,7 @@ export class ListSkillGroupsRequest extends $tea.Model {
|
|
|
10165
10191
|
static types(): { [key: string]: any } {
|
|
10166
10192
|
return {
|
|
10167
10193
|
instanceId: 'string',
|
|
10194
|
+
mediaType: 'string',
|
|
10168
10195
|
pageNumber: 'number',
|
|
10169
10196
|
pageSize: 'number',
|
|
10170
10197
|
searchPattern: 'string',
|
|
@@ -12485,6 +12512,7 @@ export class RemoveDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
12485
12512
|
data?: string;
|
|
12486
12513
|
httpStatusCode?: number;
|
|
12487
12514
|
message?: string;
|
|
12515
|
+
params?: string[];
|
|
12488
12516
|
requestId?: string;
|
|
12489
12517
|
static names(): { [key: string]: string } {
|
|
12490
12518
|
return {
|
|
@@ -12492,6 +12520,7 @@ export class RemoveDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
12492
12520
|
data: 'Data',
|
|
12493
12521
|
httpStatusCode: 'HttpStatusCode',
|
|
12494
12522
|
message: 'Message',
|
|
12523
|
+
params: 'Params',
|
|
12495
12524
|
requestId: 'RequestId',
|
|
12496
12525
|
};
|
|
12497
12526
|
}
|
|
@@ -12502,6 +12531,7 @@ export class RemoveDoNotCallNumbersResponseBody extends $tea.Model {
|
|
|
12502
12531
|
data: 'string',
|
|
12503
12532
|
httpStatusCode: 'number',
|
|
12504
12533
|
message: 'string',
|
|
12534
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
12505
12535
|
requestId: 'string',
|
|
12506
12536
|
};
|
|
12507
12537
|
}
|
|
@@ -16380,12 +16410,14 @@ export class CreateCustomCallTaggingResponseBodyData extends $tea.Model {
|
|
|
16380
16410
|
export class CreateSkillGroupResponseBodyData extends $tea.Model {
|
|
16381
16411
|
description?: string;
|
|
16382
16412
|
instanceId?: string;
|
|
16413
|
+
mediaType?: string;
|
|
16383
16414
|
name?: string;
|
|
16384
16415
|
skillGroupId?: string;
|
|
16385
16416
|
static names(): { [key: string]: string } {
|
|
16386
16417
|
return {
|
|
16387
16418
|
description: 'Description',
|
|
16388
16419
|
instanceId: 'InstanceId',
|
|
16420
|
+
mediaType: 'MediaType',
|
|
16389
16421
|
name: 'Name',
|
|
16390
16422
|
skillGroupId: 'SkillGroupId',
|
|
16391
16423
|
};
|
|
@@ -16395,6 +16427,7 @@ export class CreateSkillGroupResponseBodyData extends $tea.Model {
|
|
|
16395
16427
|
return {
|
|
16396
16428
|
description: 'string',
|
|
16397
16429
|
instanceId: 'string',
|
|
16430
|
+
mediaType: 'string',
|
|
16398
16431
|
name: 'string',
|
|
16399
16432
|
skillGroupId: 'string',
|
|
16400
16433
|
};
|
|
@@ -18141,6 +18174,7 @@ export class GetSkillGroupResponseBodyData extends $tea.Model {
|
|
|
18141
18174
|
description?: string;
|
|
18142
18175
|
displayName?: string;
|
|
18143
18176
|
instanceId?: string;
|
|
18177
|
+
mediaType?: string;
|
|
18144
18178
|
name?: string;
|
|
18145
18179
|
skillGroupId?: string;
|
|
18146
18180
|
static names(): { [key: string]: string } {
|
|
@@ -18148,6 +18182,7 @@ export class GetSkillGroupResponseBodyData extends $tea.Model {
|
|
|
18148
18182
|
description: 'Description',
|
|
18149
18183
|
displayName: 'DisplayName',
|
|
18150
18184
|
instanceId: 'InstanceId',
|
|
18185
|
+
mediaType: 'MediaType',
|
|
18151
18186
|
name: 'Name',
|
|
18152
18187
|
skillGroupId: 'SkillGroupId',
|
|
18153
18188
|
};
|
|
@@ -18158,6 +18193,7 @@ export class GetSkillGroupResponseBodyData extends $tea.Model {
|
|
|
18158
18193
|
description: 'string',
|
|
18159
18194
|
displayName: 'string',
|
|
18160
18195
|
instanceId: 'string',
|
|
18196
|
+
mediaType: 'string',
|
|
18161
18197
|
name: 'string',
|
|
18162
18198
|
skillGroupId: 'string',
|
|
18163
18199
|
};
|
|
@@ -20382,6 +20418,7 @@ export class ListDevicesResponseBodyData extends $tea.Model {
|
|
|
20382
20418
|
callId?: string;
|
|
20383
20419
|
contact?: string;
|
|
20384
20420
|
deviceId?: string;
|
|
20421
|
+
deviceType?: string;
|
|
20385
20422
|
expires?: number;
|
|
20386
20423
|
extension?: string;
|
|
20387
20424
|
instanceId?: string;
|
|
@@ -20391,6 +20428,7 @@ export class ListDevicesResponseBodyData extends $tea.Model {
|
|
|
20391
20428
|
callId: 'CallId',
|
|
20392
20429
|
contact: 'Contact',
|
|
20393
20430
|
deviceId: 'DeviceId',
|
|
20431
|
+
deviceType: 'DeviceType',
|
|
20394
20432
|
expires: 'Expires',
|
|
20395
20433
|
extension: 'Extension',
|
|
20396
20434
|
instanceId: 'InstanceId',
|
|
@@ -20403,6 +20441,7 @@ export class ListDevicesResponseBodyData extends $tea.Model {
|
|
|
20403
20441
|
callId: 'string',
|
|
20404
20442
|
contact: 'string',
|
|
20405
20443
|
deviceId: 'string',
|
|
20444
|
+
deviceType: 'string',
|
|
20406
20445
|
expires: 'number',
|
|
20407
20446
|
extension: 'string',
|
|
20408
20447
|
instanceId: 'string',
|
|
@@ -25242,6 +25281,7 @@ export class ListSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
|
25242
25281
|
description?: string;
|
|
25243
25282
|
displayName?: string;
|
|
25244
25283
|
instanceId?: string;
|
|
25284
|
+
mediaType?: string;
|
|
25245
25285
|
phoneNumberCount?: number;
|
|
25246
25286
|
skillGroupId?: string;
|
|
25247
25287
|
skillGroupName?: string;
|
|
@@ -25251,6 +25291,7 @@ export class ListSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
|
25251
25291
|
description: 'Description',
|
|
25252
25292
|
displayName: 'DisplayName',
|
|
25253
25293
|
instanceId: 'InstanceId',
|
|
25294
|
+
mediaType: 'MediaType',
|
|
25254
25295
|
phoneNumberCount: 'PhoneNumberCount',
|
|
25255
25296
|
skillGroupId: 'SkillGroupId',
|
|
25256
25297
|
skillGroupName: 'SkillGroupName',
|
|
@@ -25263,6 +25304,7 @@ export class ListSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
|
25263
25304
|
description: 'string',
|
|
25264
25305
|
displayName: 'string',
|
|
25265
25306
|
instanceId: 'string',
|
|
25307
|
+
mediaType: 'string',
|
|
25266
25308
|
phoneNumberCount: 'number',
|
|
25267
25309
|
skillGroupId: 'string',
|
|
25268
25310
|
skillGroupName: 'string',
|
|
@@ -25304,11 +25346,13 @@ export class ListSkillGroupsResponseBodyData extends $tea.Model {
|
|
|
25304
25346
|
}
|
|
25305
25347
|
|
|
25306
25348
|
export class ListSkillLevelsOfUserResponseBodyDataList extends $tea.Model {
|
|
25349
|
+
mediaType?: string;
|
|
25307
25350
|
skillGroupId?: string;
|
|
25308
25351
|
skillGroupName?: string;
|
|
25309
25352
|
skillLevel?: string;
|
|
25310
25353
|
static names(): { [key: string]: string } {
|
|
25311
25354
|
return {
|
|
25355
|
+
mediaType: 'MediaType',
|
|
25312
25356
|
skillGroupId: 'SkillGroupId',
|
|
25313
25357
|
skillGroupName: 'SkillGroupName',
|
|
25314
25358
|
skillLevel: 'SkillLevel',
|
|
@@ -25317,6 +25361,7 @@ export class ListSkillLevelsOfUserResponseBodyDataList extends $tea.Model {
|
|
|
25317
25361
|
|
|
25318
25362
|
static types(): { [key: string]: any } {
|
|
25319
25363
|
return {
|
|
25364
|
+
mediaType: 'string',
|
|
25320
25365
|
skillGroupId: 'string',
|
|
25321
25366
|
skillGroupName: 'string',
|
|
25322
25367
|
skillLevel: 'string',
|
|
@@ -29328,6 +29373,10 @@ export default class Client extends OpenApi {
|
|
|
29328
29373
|
query["InstanceId"] = request.instanceId;
|
|
29329
29374
|
}
|
|
29330
29375
|
|
|
29376
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
29377
|
+
query["MediaType"] = request.mediaType;
|
|
29378
|
+
}
|
|
29379
|
+
|
|
29331
29380
|
if (!Util.isUnset(request.name)) {
|
|
29332
29381
|
query["Name"] = request.name;
|
|
29333
29382
|
}
|
|
@@ -31621,6 +31670,10 @@ export default class Client extends OpenApi {
|
|
|
31621
31670
|
query["InstanceId"] = request.instanceId;
|
|
31622
31671
|
}
|
|
31623
31672
|
|
|
31673
|
+
if (!Util.isUnset(request.orderByField)) {
|
|
31674
|
+
query["OrderByField"] = request.orderByField;
|
|
31675
|
+
}
|
|
31676
|
+
|
|
31624
31677
|
if (!Util.isUnset(request.pageNumber)) {
|
|
31625
31678
|
query["PageNumber"] = request.pageNumber;
|
|
31626
31679
|
}
|
|
@@ -31629,6 +31682,10 @@ export default class Client extends OpenApi {
|
|
|
31629
31682
|
query["PageSize"] = request.pageSize;
|
|
31630
31683
|
}
|
|
31631
31684
|
|
|
31685
|
+
if (!Util.isUnset(request.sortOrder)) {
|
|
31686
|
+
query["SortOrder"] = request.sortOrder;
|
|
31687
|
+
}
|
|
31688
|
+
|
|
31632
31689
|
if (!Util.isUnset(request.type)) {
|
|
31633
31690
|
query["Type"] = request.type;
|
|
31634
31691
|
}
|
|
@@ -32973,6 +33030,10 @@ export default class Client extends OpenApi {
|
|
|
32973
33030
|
query["InstanceId"] = request.instanceId;
|
|
32974
33031
|
}
|
|
32975
33032
|
|
|
33033
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
33034
|
+
query["MediaType"] = request.mediaType;
|
|
33035
|
+
}
|
|
33036
|
+
|
|
32976
33037
|
if (!Util.isUnset(request.pageNumber)) {
|
|
32977
33038
|
query["PageNumber"] = request.pageNumber;
|
|
32978
33039
|
}
|