@alicloud/ccc20200701 2.3.1 → 2.4.0
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +206 -0
- package/dist/client.js +388 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +489 -0
package/src/client.ts
CHANGED
|
@@ -3354,6 +3354,81 @@ export class GetRealtimeInstanceStatesResponse extends $tea.Model {
|
|
|
3354
3354
|
}
|
|
3355
3355
|
}
|
|
3356
3356
|
|
|
3357
|
+
export class GetSkillGroupRequest extends $tea.Model {
|
|
3358
|
+
instanceId?: string;
|
|
3359
|
+
skillGroupId?: string;
|
|
3360
|
+
static names(): { [key: string]: string } {
|
|
3361
|
+
return {
|
|
3362
|
+
instanceId: 'InstanceId',
|
|
3363
|
+
skillGroupId: 'SkillGroupId',
|
|
3364
|
+
};
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
static types(): { [key: string]: any } {
|
|
3368
|
+
return {
|
|
3369
|
+
instanceId: 'string',
|
|
3370
|
+
skillGroupId: 'string',
|
|
3371
|
+
};
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
constructor(map?: { [key: string]: any }) {
|
|
3375
|
+
super(map);
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
export class GetSkillGroupResponseBody extends $tea.Model {
|
|
3380
|
+
code?: string;
|
|
3381
|
+
data?: GetSkillGroupResponseBodyData;
|
|
3382
|
+
httpStatusCode?: number;
|
|
3383
|
+
message?: string;
|
|
3384
|
+
requestId?: string;
|
|
3385
|
+
static names(): { [key: string]: string } {
|
|
3386
|
+
return {
|
|
3387
|
+
code: 'Code',
|
|
3388
|
+
data: 'Data',
|
|
3389
|
+
httpStatusCode: 'HttpStatusCode',
|
|
3390
|
+
message: 'Message',
|
|
3391
|
+
requestId: 'RequestId',
|
|
3392
|
+
};
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
static types(): { [key: string]: any } {
|
|
3396
|
+
return {
|
|
3397
|
+
code: 'string',
|
|
3398
|
+
data: GetSkillGroupResponseBodyData,
|
|
3399
|
+
httpStatusCode: 'number',
|
|
3400
|
+
message: 'string',
|
|
3401
|
+
requestId: 'string',
|
|
3402
|
+
};
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
constructor(map?: { [key: string]: any }) {
|
|
3406
|
+
super(map);
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3410
|
+
export class GetSkillGroupResponse extends $tea.Model {
|
|
3411
|
+
headers: { [key: string]: string };
|
|
3412
|
+
body: GetSkillGroupResponseBody;
|
|
3413
|
+
static names(): { [key: string]: string } {
|
|
3414
|
+
return {
|
|
3415
|
+
headers: 'headers',
|
|
3416
|
+
body: 'body',
|
|
3417
|
+
};
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3420
|
+
static types(): { [key: string]: any } {
|
|
3421
|
+
return {
|
|
3422
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3423
|
+
body: GetSkillGroupResponseBody,
|
|
3424
|
+
};
|
|
3425
|
+
}
|
|
3426
|
+
|
|
3427
|
+
constructor(map?: { [key: string]: any }) {
|
|
3428
|
+
super(map);
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3357
3432
|
export class GetTurnCredentialsRequest extends $tea.Model {
|
|
3358
3433
|
instanceId?: string;
|
|
3359
3434
|
userId?: string;
|
|
@@ -4643,8 +4718,10 @@ export class ListCallDetailRecordsRequest extends $tea.Model {
|
|
|
4643
4718
|
calledNumber?: string;
|
|
4644
4719
|
callingNumber?: string;
|
|
4645
4720
|
contactDisposition?: string;
|
|
4721
|
+
contactDispositionList?: string;
|
|
4646
4722
|
contactId?: string;
|
|
4647
4723
|
contactType?: string;
|
|
4724
|
+
contactTypeList?: string;
|
|
4648
4725
|
criteria?: string;
|
|
4649
4726
|
earlyMediaStateList?: string;
|
|
4650
4727
|
endTime?: number;
|
|
@@ -4664,8 +4741,10 @@ export class ListCallDetailRecordsRequest extends $tea.Model {
|
|
|
4664
4741
|
calledNumber: 'CalledNumber',
|
|
4665
4742
|
callingNumber: 'CallingNumber',
|
|
4666
4743
|
contactDisposition: 'ContactDisposition',
|
|
4744
|
+
contactDispositionList: 'ContactDispositionList',
|
|
4667
4745
|
contactId: 'ContactId',
|
|
4668
4746
|
contactType: 'ContactType',
|
|
4747
|
+
contactTypeList: 'ContactTypeList',
|
|
4669
4748
|
criteria: 'Criteria',
|
|
4670
4749
|
earlyMediaStateList: 'EarlyMediaStateList',
|
|
4671
4750
|
endTime: 'EndTime',
|
|
@@ -4688,8 +4767,10 @@ export class ListCallDetailRecordsRequest extends $tea.Model {
|
|
|
4688
4767
|
calledNumber: 'string',
|
|
4689
4768
|
callingNumber: 'string',
|
|
4690
4769
|
contactDisposition: 'string',
|
|
4770
|
+
contactDispositionList: 'string',
|
|
4691
4771
|
contactId: 'string',
|
|
4692
4772
|
contactType: 'string',
|
|
4773
|
+
contactTypeList: 'string',
|
|
4693
4774
|
criteria: 'string',
|
|
4694
4775
|
earlyMediaStateList: 'string',
|
|
4695
4776
|
endTime: 'number',
|
|
@@ -6183,6 +6264,156 @@ export class ListIvrTrackingDetailsResponse extends $tea.Model {
|
|
|
6183
6264
|
}
|
|
6184
6265
|
}
|
|
6185
6266
|
|
|
6267
|
+
export class ListMonoRecordingsRequest extends $tea.Model {
|
|
6268
|
+
contactId?: string;
|
|
6269
|
+
instanceId?: string;
|
|
6270
|
+
static names(): { [key: string]: string } {
|
|
6271
|
+
return {
|
|
6272
|
+
contactId: 'ContactId',
|
|
6273
|
+
instanceId: 'InstanceId',
|
|
6274
|
+
};
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
static types(): { [key: string]: any } {
|
|
6278
|
+
return {
|
|
6279
|
+
contactId: 'string',
|
|
6280
|
+
instanceId: 'string',
|
|
6281
|
+
};
|
|
6282
|
+
}
|
|
6283
|
+
|
|
6284
|
+
constructor(map?: { [key: string]: any }) {
|
|
6285
|
+
super(map);
|
|
6286
|
+
}
|
|
6287
|
+
}
|
|
6288
|
+
|
|
6289
|
+
export class ListMonoRecordingsResponseBody extends $tea.Model {
|
|
6290
|
+
code?: string;
|
|
6291
|
+
data?: ListMonoRecordingsResponseBodyData[];
|
|
6292
|
+
httpStatusCode?: number;
|
|
6293
|
+
message?: string;
|
|
6294
|
+
requestId?: string;
|
|
6295
|
+
static names(): { [key: string]: string } {
|
|
6296
|
+
return {
|
|
6297
|
+
code: 'Code',
|
|
6298
|
+
data: 'Data',
|
|
6299
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6300
|
+
message: 'Message',
|
|
6301
|
+
requestId: 'RequestId',
|
|
6302
|
+
};
|
|
6303
|
+
}
|
|
6304
|
+
|
|
6305
|
+
static types(): { [key: string]: any } {
|
|
6306
|
+
return {
|
|
6307
|
+
code: 'string',
|
|
6308
|
+
data: { 'type': 'array', 'itemType': ListMonoRecordingsResponseBodyData },
|
|
6309
|
+
httpStatusCode: 'number',
|
|
6310
|
+
message: 'string',
|
|
6311
|
+
requestId: 'string',
|
|
6312
|
+
};
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6315
|
+
constructor(map?: { [key: string]: any }) {
|
|
6316
|
+
super(map);
|
|
6317
|
+
}
|
|
6318
|
+
}
|
|
6319
|
+
|
|
6320
|
+
export class ListMonoRecordingsResponse extends $tea.Model {
|
|
6321
|
+
headers: { [key: string]: string };
|
|
6322
|
+
body: ListMonoRecordingsResponseBody;
|
|
6323
|
+
static names(): { [key: string]: string } {
|
|
6324
|
+
return {
|
|
6325
|
+
headers: 'headers',
|
|
6326
|
+
body: 'body',
|
|
6327
|
+
};
|
|
6328
|
+
}
|
|
6329
|
+
|
|
6330
|
+
static types(): { [key: string]: any } {
|
|
6331
|
+
return {
|
|
6332
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6333
|
+
body: ListMonoRecordingsResponseBody,
|
|
6334
|
+
};
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6337
|
+
constructor(map?: { [key: string]: any }) {
|
|
6338
|
+
super(map);
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
export class ListMultiChannelRecordingsRequest extends $tea.Model {
|
|
6343
|
+
contactId?: string;
|
|
6344
|
+
instanceId?: string;
|
|
6345
|
+
static names(): { [key: string]: string } {
|
|
6346
|
+
return {
|
|
6347
|
+
contactId: 'ContactId',
|
|
6348
|
+
instanceId: 'InstanceId',
|
|
6349
|
+
};
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
static types(): { [key: string]: any } {
|
|
6353
|
+
return {
|
|
6354
|
+
contactId: 'string',
|
|
6355
|
+
instanceId: 'string',
|
|
6356
|
+
};
|
|
6357
|
+
}
|
|
6358
|
+
|
|
6359
|
+
constructor(map?: { [key: string]: any }) {
|
|
6360
|
+
super(map);
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
|
|
6364
|
+
export class ListMultiChannelRecordingsResponseBody extends $tea.Model {
|
|
6365
|
+
code?: string;
|
|
6366
|
+
data?: ListMultiChannelRecordingsResponseBodyData[];
|
|
6367
|
+
httpStatusCode?: number;
|
|
6368
|
+
message?: string;
|
|
6369
|
+
requestId?: string;
|
|
6370
|
+
static names(): { [key: string]: string } {
|
|
6371
|
+
return {
|
|
6372
|
+
code: 'Code',
|
|
6373
|
+
data: 'Data',
|
|
6374
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6375
|
+
message: 'Message',
|
|
6376
|
+
requestId: 'RequestId',
|
|
6377
|
+
};
|
|
6378
|
+
}
|
|
6379
|
+
|
|
6380
|
+
static types(): { [key: string]: any } {
|
|
6381
|
+
return {
|
|
6382
|
+
code: 'string',
|
|
6383
|
+
data: { 'type': 'array', 'itemType': ListMultiChannelRecordingsResponseBodyData },
|
|
6384
|
+
httpStatusCode: 'number',
|
|
6385
|
+
message: 'string',
|
|
6386
|
+
requestId: 'string',
|
|
6387
|
+
};
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6390
|
+
constructor(map?: { [key: string]: any }) {
|
|
6391
|
+
super(map);
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
|
|
6395
|
+
export class ListMultiChannelRecordingsResponse extends $tea.Model {
|
|
6396
|
+
headers: { [key: string]: string };
|
|
6397
|
+
body: ListMultiChannelRecordingsResponseBody;
|
|
6398
|
+
static names(): { [key: string]: string } {
|
|
6399
|
+
return {
|
|
6400
|
+
headers: 'headers',
|
|
6401
|
+
body: 'body',
|
|
6402
|
+
};
|
|
6403
|
+
}
|
|
6404
|
+
|
|
6405
|
+
static types(): { [key: string]: any } {
|
|
6406
|
+
return {
|
|
6407
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6408
|
+
body: ListMultiChannelRecordingsResponseBody,
|
|
6409
|
+
};
|
|
6410
|
+
}
|
|
6411
|
+
|
|
6412
|
+
constructor(map?: { [key: string]: any }) {
|
|
6413
|
+
super(map);
|
|
6414
|
+
}
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6186
6417
|
export class ListOutboundNumbersOfUserRequest extends $tea.Model {
|
|
6187
6418
|
instanceId?: string;
|
|
6188
6419
|
pageNumber?: number;
|
|
@@ -9385,10 +9616,12 @@ export class RemovePhoneNumberFromSkillGroupsResponse extends $tea.Model {
|
|
|
9385
9616
|
}
|
|
9386
9617
|
|
|
9387
9618
|
export class RemovePhoneNumbersRequest extends $tea.Model {
|
|
9619
|
+
force?: boolean;
|
|
9388
9620
|
instanceId?: string;
|
|
9389
9621
|
numberList?: string;
|
|
9390
9622
|
static names(): { [key: string]: string } {
|
|
9391
9623
|
return {
|
|
9624
|
+
force: 'Force',
|
|
9392
9625
|
instanceId: 'InstanceId',
|
|
9393
9626
|
numberList: 'NumberList',
|
|
9394
9627
|
};
|
|
@@ -9396,6 +9629,7 @@ export class RemovePhoneNumbersRequest extends $tea.Model {
|
|
|
9396
9629
|
|
|
9397
9630
|
static types(): { [key: string]: any } {
|
|
9398
9631
|
return {
|
|
9632
|
+
force: 'boolean',
|
|
9399
9633
|
instanceId: 'string',
|
|
9400
9634
|
numberList: 'string',
|
|
9401
9635
|
};
|
|
@@ -11357,11 +11591,13 @@ export class AnswerCallResponseBodyDataCallContextChannelContexts extends $tea.M
|
|
|
11357
11591
|
}
|
|
11358
11592
|
|
|
11359
11593
|
export class AnswerCallResponseBodyDataCallContext extends $tea.Model {
|
|
11594
|
+
callType?: string;
|
|
11360
11595
|
channelContexts?: AnswerCallResponseBodyDataCallContextChannelContexts[];
|
|
11361
11596
|
instanceId?: string;
|
|
11362
11597
|
jobId?: string;
|
|
11363
11598
|
static names(): { [key: string]: string } {
|
|
11364
11599
|
return {
|
|
11600
|
+
callType: 'CallType',
|
|
11365
11601
|
channelContexts: 'ChannelContexts',
|
|
11366
11602
|
instanceId: 'InstanceId',
|
|
11367
11603
|
jobId: 'JobId',
|
|
@@ -11370,6 +11606,7 @@ export class AnswerCallResponseBodyDataCallContext extends $tea.Model {
|
|
|
11370
11606
|
|
|
11371
11607
|
static types(): { [key: string]: any } {
|
|
11372
11608
|
return {
|
|
11609
|
+
callType: 'string',
|
|
11373
11610
|
channelContexts: { 'type': 'array', 'itemType': AnswerCallResponseBodyDataCallContextChannelContexts },
|
|
11374
11611
|
instanceId: 'string',
|
|
11375
11612
|
jobId: 'string',
|
|
@@ -11767,10 +12004,12 @@ export class BlindTransferResponseBodyDataUserContext extends $tea.Model {
|
|
|
11767
12004
|
|
|
11768
12005
|
export class BlindTransferResponseBodyData extends $tea.Model {
|
|
11769
12006
|
callContext?: BlindTransferResponseBodyDataCallContext;
|
|
12007
|
+
contextId?: number;
|
|
11770
12008
|
userContext?: BlindTransferResponseBodyDataUserContext;
|
|
11771
12009
|
static names(): { [key: string]: string } {
|
|
11772
12010
|
return {
|
|
11773
12011
|
callContext: 'CallContext',
|
|
12012
|
+
contextId: 'ContextId',
|
|
11774
12013
|
userContext: 'UserContext',
|
|
11775
12014
|
};
|
|
11776
12015
|
}
|
|
@@ -11778,6 +12017,7 @@ export class BlindTransferResponseBodyData extends $tea.Model {
|
|
|
11778
12017
|
static types(): { [key: string]: any } {
|
|
11779
12018
|
return {
|
|
11780
12019
|
callContext: BlindTransferResponseBodyDataCallContext,
|
|
12020
|
+
contextId: 'number',
|
|
11781
12021
|
userContext: BlindTransferResponseBodyDataUserContext,
|
|
11782
12022
|
};
|
|
11783
12023
|
}
|
|
@@ -12475,10 +12715,12 @@ export class CreateUserResponseBodyData extends $tea.Model {
|
|
|
12475
12715
|
}
|
|
12476
12716
|
|
|
12477
12717
|
export class GetCallDetailRecordResponseBodyDataAgentEventsEventSequence extends $tea.Model {
|
|
12718
|
+
duration?: number;
|
|
12478
12719
|
event?: string;
|
|
12479
12720
|
eventTime?: number;
|
|
12480
12721
|
static names(): { [key: string]: string } {
|
|
12481
12722
|
return {
|
|
12723
|
+
duration: 'Duration',
|
|
12482
12724
|
event: 'Event',
|
|
12483
12725
|
eventTime: 'EventTime',
|
|
12484
12726
|
};
|
|
@@ -12486,6 +12728,7 @@ export class GetCallDetailRecordResponseBodyDataAgentEventsEventSequence extends
|
|
|
12486
12728
|
|
|
12487
12729
|
static types(): { [key: string]: any } {
|
|
12488
12730
|
return {
|
|
12731
|
+
duration: 'number',
|
|
12489
12732
|
event: 'string',
|
|
12490
12733
|
eventTime: 'number',
|
|
12491
12734
|
};
|
|
@@ -12769,6 +13012,7 @@ export class GetCampaignResponseBodyData extends $tea.Model {
|
|
|
12769
13012
|
casesAborted?: number;
|
|
12770
13013
|
casesConnected?: number;
|
|
12771
13014
|
casesUncompleted?: number;
|
|
13015
|
+
casesUncompletedAfterAttempted?: number;
|
|
12772
13016
|
maxAttemptCount?: number;
|
|
12773
13017
|
minAttemptInterval?: number;
|
|
12774
13018
|
name?: string;
|
|
@@ -12790,6 +13034,7 @@ export class GetCampaignResponseBodyData extends $tea.Model {
|
|
|
12790
13034
|
casesAborted: 'CasesAborted',
|
|
12791
13035
|
casesConnected: 'CasesConnected',
|
|
12792
13036
|
casesUncompleted: 'CasesUncompleted',
|
|
13037
|
+
casesUncompletedAfterAttempted: 'CasesUncompletedAfterAttempted',
|
|
12793
13038
|
maxAttemptCount: 'MaxAttemptCount',
|
|
12794
13039
|
minAttemptInterval: 'MinAttemptInterval',
|
|
12795
13040
|
name: 'Name',
|
|
@@ -12814,6 +13059,7 @@ export class GetCampaignResponseBodyData extends $tea.Model {
|
|
|
12814
13059
|
casesAborted: 'number',
|
|
12815
13060
|
casesConnected: 'number',
|
|
12816
13061
|
casesUncompleted: 'number',
|
|
13062
|
+
casesUncompletedAfterAttempted: 'number',
|
|
12817
13063
|
maxAttemptCount: 'number',
|
|
12818
13064
|
minAttemptInterval: 'number',
|
|
12819
13065
|
name: 'string',
|
|
@@ -13780,6 +14026,37 @@ export class GetRealtimeInstanceStatesResponseBodyData extends $tea.Model {
|
|
|
13780
14026
|
}
|
|
13781
14027
|
}
|
|
13782
14028
|
|
|
14029
|
+
export class GetSkillGroupResponseBodyData extends $tea.Model {
|
|
14030
|
+
description?: string;
|
|
14031
|
+
displayName?: string;
|
|
14032
|
+
instanceId?: string;
|
|
14033
|
+
name?: string;
|
|
14034
|
+
skillGroupId?: string;
|
|
14035
|
+
static names(): { [key: string]: string } {
|
|
14036
|
+
return {
|
|
14037
|
+
description: 'Description',
|
|
14038
|
+
displayName: 'DisplayName',
|
|
14039
|
+
instanceId: 'InstanceId',
|
|
14040
|
+
name: 'Name',
|
|
14041
|
+
skillGroupId: 'SkillGroupId',
|
|
14042
|
+
};
|
|
14043
|
+
}
|
|
14044
|
+
|
|
14045
|
+
static types(): { [key: string]: any } {
|
|
14046
|
+
return {
|
|
14047
|
+
description: 'string',
|
|
14048
|
+
displayName: 'string',
|
|
14049
|
+
instanceId: 'string',
|
|
14050
|
+
name: 'string',
|
|
14051
|
+
skillGroupId: 'string',
|
|
14052
|
+
};
|
|
14053
|
+
}
|
|
14054
|
+
|
|
14055
|
+
constructor(map?: { [key: string]: any }) {
|
|
14056
|
+
super(map);
|
|
14057
|
+
}
|
|
14058
|
+
}
|
|
14059
|
+
|
|
13783
14060
|
export class GetTurnCredentialsResponseBodyData extends $tea.Model {
|
|
13784
14061
|
password?: string;
|
|
13785
14062
|
userName?: string;
|
|
@@ -14689,10 +14966,12 @@ export class LaunchSurveyResponseBodyDataUserContext extends $tea.Model {
|
|
|
14689
14966
|
|
|
14690
14967
|
export class LaunchSurveyResponseBodyData extends $tea.Model {
|
|
14691
14968
|
callContext?: LaunchSurveyResponseBodyDataCallContext;
|
|
14969
|
+
contextId?: number;
|
|
14692
14970
|
userContext?: LaunchSurveyResponseBodyDataUserContext;
|
|
14693
14971
|
static names(): { [key: string]: string } {
|
|
14694
14972
|
return {
|
|
14695
14973
|
callContext: 'CallContext',
|
|
14974
|
+
contextId: 'ContextId',
|
|
14696
14975
|
userContext: 'UserContext',
|
|
14697
14976
|
};
|
|
14698
14977
|
}
|
|
@@ -14700,6 +14979,7 @@ export class LaunchSurveyResponseBodyData extends $tea.Model {
|
|
|
14700
14979
|
static types(): { [key: string]: any } {
|
|
14701
14980
|
return {
|
|
14702
14981
|
callContext: LaunchSurveyResponseBodyDataCallContext,
|
|
14982
|
+
contextId: 'number',
|
|
14703
14983
|
userContext: LaunchSurveyResponseBodyDataUserContext,
|
|
14704
14984
|
};
|
|
14705
14985
|
}
|
|
@@ -14711,12 +14991,14 @@ export class LaunchSurveyResponseBodyData extends $tea.Model {
|
|
|
14711
14991
|
|
|
14712
14992
|
export class ListAgentStateLogsResponseBodyData extends $tea.Model {
|
|
14713
14993
|
duration?: number;
|
|
14994
|
+
outboundScenario?: boolean;
|
|
14714
14995
|
startTime?: number;
|
|
14715
14996
|
state?: string;
|
|
14716
14997
|
stateCode?: string;
|
|
14717
14998
|
static names(): { [key: string]: string } {
|
|
14718
14999
|
return {
|
|
14719
15000
|
duration: 'Duration',
|
|
15001
|
+
outboundScenario: 'OutboundScenario',
|
|
14720
15002
|
startTime: 'StartTime',
|
|
14721
15003
|
state: 'State',
|
|
14722
15004
|
stateCode: 'StateCode',
|
|
@@ -14726,6 +15008,7 @@ export class ListAgentStateLogsResponseBodyData extends $tea.Model {
|
|
|
14726
15008
|
static types(): { [key: string]: any } {
|
|
14727
15009
|
return {
|
|
14728
15010
|
duration: 'number',
|
|
15011
|
+
outboundScenario: 'boolean',
|
|
14729
15012
|
startTime: 'number',
|
|
14730
15013
|
state: 'string',
|
|
14731
15014
|
stateCode: 'string',
|
|
@@ -18114,6 +18397,92 @@ export class ListIvrTrackingDetailsResponseBodyData extends $tea.Model {
|
|
|
18114
18397
|
}
|
|
18115
18398
|
}
|
|
18116
18399
|
|
|
18400
|
+
export class ListMonoRecordingsResponseBodyData extends $tea.Model {
|
|
18401
|
+
agentId?: string;
|
|
18402
|
+
agentName?: string;
|
|
18403
|
+
contactId?: string;
|
|
18404
|
+
duration?: string;
|
|
18405
|
+
fileName?: string;
|
|
18406
|
+
fileUrl?: string;
|
|
18407
|
+
ramId?: string;
|
|
18408
|
+
skillGroupId?: string;
|
|
18409
|
+
startTime?: string;
|
|
18410
|
+
static names(): { [key: string]: string } {
|
|
18411
|
+
return {
|
|
18412
|
+
agentId: 'AgentId',
|
|
18413
|
+
agentName: 'AgentName',
|
|
18414
|
+
contactId: 'ContactId',
|
|
18415
|
+
duration: 'Duration',
|
|
18416
|
+
fileName: 'FileName',
|
|
18417
|
+
fileUrl: 'FileUrl',
|
|
18418
|
+
ramId: 'RamId',
|
|
18419
|
+
skillGroupId: 'SkillGroupId',
|
|
18420
|
+
startTime: 'StartTime',
|
|
18421
|
+
};
|
|
18422
|
+
}
|
|
18423
|
+
|
|
18424
|
+
static types(): { [key: string]: any } {
|
|
18425
|
+
return {
|
|
18426
|
+
agentId: 'string',
|
|
18427
|
+
agentName: 'string',
|
|
18428
|
+
contactId: 'string',
|
|
18429
|
+
duration: 'string',
|
|
18430
|
+
fileName: 'string',
|
|
18431
|
+
fileUrl: 'string',
|
|
18432
|
+
ramId: 'string',
|
|
18433
|
+
skillGroupId: 'string',
|
|
18434
|
+
startTime: 'string',
|
|
18435
|
+
};
|
|
18436
|
+
}
|
|
18437
|
+
|
|
18438
|
+
constructor(map?: { [key: string]: any }) {
|
|
18439
|
+
super(map);
|
|
18440
|
+
}
|
|
18441
|
+
}
|
|
18442
|
+
|
|
18443
|
+
export class ListMultiChannelRecordingsResponseBodyData extends $tea.Model {
|
|
18444
|
+
agentId?: string;
|
|
18445
|
+
agentName?: string;
|
|
18446
|
+
contactId?: string;
|
|
18447
|
+
duration?: string;
|
|
18448
|
+
fileName?: string;
|
|
18449
|
+
fileUrl?: string;
|
|
18450
|
+
ramId?: string;
|
|
18451
|
+
skillGroupId?: string;
|
|
18452
|
+
startTime?: number;
|
|
18453
|
+
static names(): { [key: string]: string } {
|
|
18454
|
+
return {
|
|
18455
|
+
agentId: 'AgentId',
|
|
18456
|
+
agentName: 'AgentName',
|
|
18457
|
+
contactId: 'ContactId',
|
|
18458
|
+
duration: 'Duration',
|
|
18459
|
+
fileName: 'FileName',
|
|
18460
|
+
fileUrl: 'FileUrl',
|
|
18461
|
+
ramId: 'RamId',
|
|
18462
|
+
skillGroupId: 'SkillGroupId',
|
|
18463
|
+
startTime: 'StartTime',
|
|
18464
|
+
};
|
|
18465
|
+
}
|
|
18466
|
+
|
|
18467
|
+
static types(): { [key: string]: any } {
|
|
18468
|
+
return {
|
|
18469
|
+
agentId: 'string',
|
|
18470
|
+
agentName: 'string',
|
|
18471
|
+
contactId: 'string',
|
|
18472
|
+
duration: 'string',
|
|
18473
|
+
fileName: 'string',
|
|
18474
|
+
fileUrl: 'string',
|
|
18475
|
+
ramId: 'string',
|
|
18476
|
+
skillGroupId: 'string',
|
|
18477
|
+
startTime: 'number',
|
|
18478
|
+
};
|
|
18479
|
+
}
|
|
18480
|
+
|
|
18481
|
+
constructor(map?: { [key: string]: any }) {
|
|
18482
|
+
super(map);
|
|
18483
|
+
}
|
|
18484
|
+
}
|
|
18485
|
+
|
|
18117
18486
|
export class ListOutboundNumbersOfUserResponseBodyDataList extends $tea.Model {
|
|
18118
18487
|
city?: string;
|
|
18119
18488
|
number?: string;
|
|
@@ -18502,6 +18871,7 @@ export class ListRealtimeAgentStatesResponseBodyDataList extends $tea.Model {
|
|
|
18502
18871
|
extension?: string;
|
|
18503
18872
|
instanceId?: string;
|
|
18504
18873
|
skillGroupIdList?: string[];
|
|
18874
|
+
skillGroupNameList?: string[];
|
|
18505
18875
|
state?: string;
|
|
18506
18876
|
stateCode?: string;
|
|
18507
18877
|
stateTime?: number;
|
|
@@ -18513,6 +18883,7 @@ export class ListRealtimeAgentStatesResponseBodyDataList extends $tea.Model {
|
|
|
18513
18883
|
extension: 'Extension',
|
|
18514
18884
|
instanceId: 'InstanceId',
|
|
18515
18885
|
skillGroupIdList: 'SkillGroupIdList',
|
|
18886
|
+
skillGroupNameList: 'SkillGroupNameList',
|
|
18516
18887
|
state: 'State',
|
|
18517
18888
|
stateCode: 'StateCode',
|
|
18518
18889
|
stateTime: 'StateTime',
|
|
@@ -18527,6 +18898,7 @@ export class ListRealtimeAgentStatesResponseBodyDataList extends $tea.Model {
|
|
|
18527
18898
|
extension: 'string',
|
|
18528
18899
|
instanceId: 'string',
|
|
18529
18900
|
skillGroupIdList: { 'type': 'array', 'itemType': 'string' },
|
|
18901
|
+
skillGroupNameList: { 'type': 'array', 'itemType': 'string' },
|
|
18530
18902
|
state: 'string',
|
|
18531
18903
|
stateCode: 'string',
|
|
18532
18904
|
stateTime: 'number',
|
|
@@ -18924,6 +19296,8 @@ export class ListSkillGroupSummaryReportsSinceMidnightResponseBodyPagedSkillGrou
|
|
|
18924
19296
|
averageWorkTime?: number;
|
|
18925
19297
|
callsHandled?: number;
|
|
18926
19298
|
callsOffered?: number;
|
|
19299
|
+
callsServiceLevel20?: number;
|
|
19300
|
+
callsServiceLevel30?: number;
|
|
18927
19301
|
giveUpByAgentOfQueueCount?: number;
|
|
18928
19302
|
handleRate?: number;
|
|
18929
19303
|
inComingQueueOfQueueCount?: number;
|
|
@@ -18951,6 +19325,8 @@ export class ListSkillGroupSummaryReportsSinceMidnightResponseBodyPagedSkillGrou
|
|
|
18951
19325
|
averageWorkTime: 'AverageWorkTime',
|
|
18952
19326
|
callsHandled: 'CallsHandled',
|
|
18953
19327
|
callsOffered: 'CallsOffered',
|
|
19328
|
+
callsServiceLevel20: 'CallsServiceLevel20',
|
|
19329
|
+
callsServiceLevel30: 'CallsServiceLevel30',
|
|
18954
19330
|
giveUpByAgentOfQueueCount: 'GiveUpByAgentOfQueueCount',
|
|
18955
19331
|
handleRate: 'HandleRate',
|
|
18956
19332
|
inComingQueueOfQueueCount: 'InComingQueueOfQueueCount',
|
|
@@ -18981,6 +19357,8 @@ export class ListSkillGroupSummaryReportsSinceMidnightResponseBodyPagedSkillGrou
|
|
|
18981
19357
|
averageWorkTime: 'number',
|
|
18982
19358
|
callsHandled: 'number',
|
|
18983
19359
|
callsOffered: 'number',
|
|
19360
|
+
callsServiceLevel20: 'number',
|
|
19361
|
+
callsServiceLevel30: 'number',
|
|
18984
19362
|
giveUpByAgentOfQueueCount: 'number',
|
|
18985
19363
|
handleRate: 'number',
|
|
18986
19364
|
inComingQueueOfQueueCount: 'number',
|
|
@@ -23166,6 +23544,39 @@ export default class Client extends OpenApi {
|
|
|
23166
23544
|
return await this.getRealtimeInstanceStatesWithOptions(request, runtime);
|
|
23167
23545
|
}
|
|
23168
23546
|
|
|
23547
|
+
async getSkillGroupWithOptions(request: GetSkillGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetSkillGroupResponse> {
|
|
23548
|
+
Util.validateModel(request);
|
|
23549
|
+
let query = { };
|
|
23550
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
23551
|
+
query["InstanceId"] = request.instanceId;
|
|
23552
|
+
}
|
|
23553
|
+
|
|
23554
|
+
if (!Util.isUnset(request.skillGroupId)) {
|
|
23555
|
+
query["SkillGroupId"] = request.skillGroupId;
|
|
23556
|
+
}
|
|
23557
|
+
|
|
23558
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23559
|
+
query: OpenApiUtil.query(query),
|
|
23560
|
+
});
|
|
23561
|
+
let params = new $OpenApi.Params({
|
|
23562
|
+
action: "GetSkillGroup",
|
|
23563
|
+
version: "2020-07-01",
|
|
23564
|
+
protocol: "HTTPS",
|
|
23565
|
+
pathname: "/",
|
|
23566
|
+
method: "POST",
|
|
23567
|
+
authType: "AK",
|
|
23568
|
+
style: "RPC",
|
|
23569
|
+
reqBodyType: "formData",
|
|
23570
|
+
bodyType: "json",
|
|
23571
|
+
});
|
|
23572
|
+
return $tea.cast<GetSkillGroupResponse>(await this.callApi(params, req, runtime), new GetSkillGroupResponse({}));
|
|
23573
|
+
}
|
|
23574
|
+
|
|
23575
|
+
async getSkillGroup(request: GetSkillGroupRequest): Promise<GetSkillGroupResponse> {
|
|
23576
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23577
|
+
return await this.getSkillGroupWithOptions(request, runtime);
|
|
23578
|
+
}
|
|
23579
|
+
|
|
23169
23580
|
async getTurnCredentialsWithOptions(request: GetTurnCredentialsRequest, runtime: $Util.RuntimeOptions): Promise<GetTurnCredentialsResponse> {
|
|
23170
23581
|
Util.validateModel(request);
|
|
23171
23582
|
let query = { };
|
|
@@ -23780,6 +24191,10 @@ export default class Client extends OpenApi {
|
|
|
23780
24191
|
query["ContactDisposition"] = request.contactDisposition;
|
|
23781
24192
|
}
|
|
23782
24193
|
|
|
24194
|
+
if (!Util.isUnset(request.contactDispositionList)) {
|
|
24195
|
+
query["ContactDispositionList"] = request.contactDispositionList;
|
|
24196
|
+
}
|
|
24197
|
+
|
|
23783
24198
|
if (!Util.isUnset(request.contactId)) {
|
|
23784
24199
|
query["ContactId"] = request.contactId;
|
|
23785
24200
|
}
|
|
@@ -23788,6 +24203,10 @@ export default class Client extends OpenApi {
|
|
|
23788
24203
|
query["ContactType"] = request.contactType;
|
|
23789
24204
|
}
|
|
23790
24205
|
|
|
24206
|
+
if (!Util.isUnset(request.contactTypeList)) {
|
|
24207
|
+
query["ContactTypeList"] = request.contactTypeList;
|
|
24208
|
+
}
|
|
24209
|
+
|
|
23791
24210
|
if (!Util.isUnset(request.criteria)) {
|
|
23792
24211
|
query["Criteria"] = request.criteria;
|
|
23793
24212
|
}
|
|
@@ -24575,6 +24994,72 @@ export default class Client extends OpenApi {
|
|
|
24575
24994
|
return await this.listIvrTrackingDetailsWithOptions(request, runtime);
|
|
24576
24995
|
}
|
|
24577
24996
|
|
|
24997
|
+
async listMonoRecordingsWithOptions(request: ListMonoRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<ListMonoRecordingsResponse> {
|
|
24998
|
+
Util.validateModel(request);
|
|
24999
|
+
let query = { };
|
|
25000
|
+
if (!Util.isUnset(request.contactId)) {
|
|
25001
|
+
query["ContactId"] = request.contactId;
|
|
25002
|
+
}
|
|
25003
|
+
|
|
25004
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
25005
|
+
query["InstanceId"] = request.instanceId;
|
|
25006
|
+
}
|
|
25007
|
+
|
|
25008
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25009
|
+
query: OpenApiUtil.query(query),
|
|
25010
|
+
});
|
|
25011
|
+
let params = new $OpenApi.Params({
|
|
25012
|
+
action: "ListMonoRecordings",
|
|
25013
|
+
version: "2020-07-01",
|
|
25014
|
+
protocol: "HTTPS",
|
|
25015
|
+
pathname: "/",
|
|
25016
|
+
method: "POST",
|
|
25017
|
+
authType: "AK",
|
|
25018
|
+
style: "RPC",
|
|
25019
|
+
reqBodyType: "formData",
|
|
25020
|
+
bodyType: "json",
|
|
25021
|
+
});
|
|
25022
|
+
return $tea.cast<ListMonoRecordingsResponse>(await this.callApi(params, req, runtime), new ListMonoRecordingsResponse({}));
|
|
25023
|
+
}
|
|
25024
|
+
|
|
25025
|
+
async listMonoRecordings(request: ListMonoRecordingsRequest): Promise<ListMonoRecordingsResponse> {
|
|
25026
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25027
|
+
return await this.listMonoRecordingsWithOptions(request, runtime);
|
|
25028
|
+
}
|
|
25029
|
+
|
|
25030
|
+
async listMultiChannelRecordingsWithOptions(request: ListMultiChannelRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<ListMultiChannelRecordingsResponse> {
|
|
25031
|
+
Util.validateModel(request);
|
|
25032
|
+
let query = { };
|
|
25033
|
+
if (!Util.isUnset(request.contactId)) {
|
|
25034
|
+
query["ContactId"] = request.contactId;
|
|
25035
|
+
}
|
|
25036
|
+
|
|
25037
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
25038
|
+
query["InstanceId"] = request.instanceId;
|
|
25039
|
+
}
|
|
25040
|
+
|
|
25041
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25042
|
+
query: OpenApiUtil.query(query),
|
|
25043
|
+
});
|
|
25044
|
+
let params = new $OpenApi.Params({
|
|
25045
|
+
action: "ListMultiChannelRecordings",
|
|
25046
|
+
version: "2020-07-01",
|
|
25047
|
+
protocol: "HTTPS",
|
|
25048
|
+
pathname: "/",
|
|
25049
|
+
method: "POST",
|
|
25050
|
+
authType: "AK",
|
|
25051
|
+
style: "RPC",
|
|
25052
|
+
reqBodyType: "formData",
|
|
25053
|
+
bodyType: "json",
|
|
25054
|
+
});
|
|
25055
|
+
return $tea.cast<ListMultiChannelRecordingsResponse>(await this.callApi(params, req, runtime), new ListMultiChannelRecordingsResponse({}));
|
|
25056
|
+
}
|
|
25057
|
+
|
|
25058
|
+
async listMultiChannelRecordings(request: ListMultiChannelRecordingsRequest): Promise<ListMultiChannelRecordingsResponse> {
|
|
25059
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25060
|
+
return await this.listMultiChannelRecordingsWithOptions(request, runtime);
|
|
25061
|
+
}
|
|
25062
|
+
|
|
24578
25063
|
async listOutboundNumbersOfUserWithOptions(request: ListOutboundNumbersOfUserRequest, runtime: $Util.RuntimeOptions): Promise<ListOutboundNumbersOfUserResponse> {
|
|
24579
25064
|
Util.validateModel(request);
|
|
24580
25065
|
let query = { };
|
|
@@ -26171,6 +26656,10 @@ export default class Client extends OpenApi {
|
|
|
26171
26656
|
async removePhoneNumbersWithOptions(request: RemovePhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<RemovePhoneNumbersResponse> {
|
|
26172
26657
|
Util.validateModel(request);
|
|
26173
26658
|
let query = { };
|
|
26659
|
+
if (!Util.isUnset(request.force)) {
|
|
26660
|
+
query["Force"] = request.force;
|
|
26661
|
+
}
|
|
26662
|
+
|
|
26174
26663
|
if (!Util.isUnset(request.instanceId)) {
|
|
26175
26664
|
query["InstanceId"] = request.instanceId;
|
|
26176
26665
|
}
|