@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/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud CCC SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/ccc20200701 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
CHANGED
|
@@ -1904,6 +1904,50 @@ export declare class GetRealtimeInstanceStatesResponse extends $tea.Model {
|
|
|
1904
1904
|
[key: string]: any;
|
|
1905
1905
|
});
|
|
1906
1906
|
}
|
|
1907
|
+
export declare class GetSkillGroupRequest extends $tea.Model {
|
|
1908
|
+
instanceId?: string;
|
|
1909
|
+
skillGroupId?: string;
|
|
1910
|
+
static names(): {
|
|
1911
|
+
[key: string]: string;
|
|
1912
|
+
};
|
|
1913
|
+
static types(): {
|
|
1914
|
+
[key: string]: any;
|
|
1915
|
+
};
|
|
1916
|
+
constructor(map?: {
|
|
1917
|
+
[key: string]: any;
|
|
1918
|
+
});
|
|
1919
|
+
}
|
|
1920
|
+
export declare class GetSkillGroupResponseBody extends $tea.Model {
|
|
1921
|
+
code?: string;
|
|
1922
|
+
data?: GetSkillGroupResponseBodyData;
|
|
1923
|
+
httpStatusCode?: number;
|
|
1924
|
+
message?: string;
|
|
1925
|
+
requestId?: string;
|
|
1926
|
+
static names(): {
|
|
1927
|
+
[key: string]: string;
|
|
1928
|
+
};
|
|
1929
|
+
static types(): {
|
|
1930
|
+
[key: string]: any;
|
|
1931
|
+
};
|
|
1932
|
+
constructor(map?: {
|
|
1933
|
+
[key: string]: any;
|
|
1934
|
+
});
|
|
1935
|
+
}
|
|
1936
|
+
export declare class GetSkillGroupResponse extends $tea.Model {
|
|
1937
|
+
headers: {
|
|
1938
|
+
[key: string]: string;
|
|
1939
|
+
};
|
|
1940
|
+
body: GetSkillGroupResponseBody;
|
|
1941
|
+
static names(): {
|
|
1942
|
+
[key: string]: string;
|
|
1943
|
+
};
|
|
1944
|
+
static types(): {
|
|
1945
|
+
[key: string]: any;
|
|
1946
|
+
};
|
|
1947
|
+
constructor(map?: {
|
|
1948
|
+
[key: string]: any;
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1907
1951
|
export declare class GetTurnCredentialsRequest extends $tea.Model {
|
|
1908
1952
|
instanceId?: string;
|
|
1909
1953
|
userId?: string;
|
|
@@ -2622,8 +2666,10 @@ export declare class ListCallDetailRecordsRequest extends $tea.Model {
|
|
|
2622
2666
|
calledNumber?: string;
|
|
2623
2667
|
callingNumber?: string;
|
|
2624
2668
|
contactDisposition?: string;
|
|
2669
|
+
contactDispositionList?: string;
|
|
2625
2670
|
contactId?: string;
|
|
2626
2671
|
contactType?: string;
|
|
2672
|
+
contactTypeList?: string;
|
|
2627
2673
|
criteria?: string;
|
|
2628
2674
|
earlyMediaStateList?: string;
|
|
2629
2675
|
endTime?: number;
|
|
@@ -3474,6 +3520,94 @@ export declare class ListIvrTrackingDetailsResponse extends $tea.Model {
|
|
|
3474
3520
|
[key: string]: any;
|
|
3475
3521
|
});
|
|
3476
3522
|
}
|
|
3523
|
+
export declare class ListMonoRecordingsRequest extends $tea.Model {
|
|
3524
|
+
contactId?: string;
|
|
3525
|
+
instanceId?: string;
|
|
3526
|
+
static names(): {
|
|
3527
|
+
[key: string]: string;
|
|
3528
|
+
};
|
|
3529
|
+
static types(): {
|
|
3530
|
+
[key: string]: any;
|
|
3531
|
+
};
|
|
3532
|
+
constructor(map?: {
|
|
3533
|
+
[key: string]: any;
|
|
3534
|
+
});
|
|
3535
|
+
}
|
|
3536
|
+
export declare class ListMonoRecordingsResponseBody extends $tea.Model {
|
|
3537
|
+
code?: string;
|
|
3538
|
+
data?: ListMonoRecordingsResponseBodyData[];
|
|
3539
|
+
httpStatusCode?: number;
|
|
3540
|
+
message?: string;
|
|
3541
|
+
requestId?: string;
|
|
3542
|
+
static names(): {
|
|
3543
|
+
[key: string]: string;
|
|
3544
|
+
};
|
|
3545
|
+
static types(): {
|
|
3546
|
+
[key: string]: any;
|
|
3547
|
+
};
|
|
3548
|
+
constructor(map?: {
|
|
3549
|
+
[key: string]: any;
|
|
3550
|
+
});
|
|
3551
|
+
}
|
|
3552
|
+
export declare class ListMonoRecordingsResponse extends $tea.Model {
|
|
3553
|
+
headers: {
|
|
3554
|
+
[key: string]: string;
|
|
3555
|
+
};
|
|
3556
|
+
body: ListMonoRecordingsResponseBody;
|
|
3557
|
+
static names(): {
|
|
3558
|
+
[key: string]: string;
|
|
3559
|
+
};
|
|
3560
|
+
static types(): {
|
|
3561
|
+
[key: string]: any;
|
|
3562
|
+
};
|
|
3563
|
+
constructor(map?: {
|
|
3564
|
+
[key: string]: any;
|
|
3565
|
+
});
|
|
3566
|
+
}
|
|
3567
|
+
export declare class ListMultiChannelRecordingsRequest extends $tea.Model {
|
|
3568
|
+
contactId?: string;
|
|
3569
|
+
instanceId?: string;
|
|
3570
|
+
static names(): {
|
|
3571
|
+
[key: string]: string;
|
|
3572
|
+
};
|
|
3573
|
+
static types(): {
|
|
3574
|
+
[key: string]: any;
|
|
3575
|
+
};
|
|
3576
|
+
constructor(map?: {
|
|
3577
|
+
[key: string]: any;
|
|
3578
|
+
});
|
|
3579
|
+
}
|
|
3580
|
+
export declare class ListMultiChannelRecordingsResponseBody extends $tea.Model {
|
|
3581
|
+
code?: string;
|
|
3582
|
+
data?: ListMultiChannelRecordingsResponseBodyData[];
|
|
3583
|
+
httpStatusCode?: number;
|
|
3584
|
+
message?: string;
|
|
3585
|
+
requestId?: string;
|
|
3586
|
+
static names(): {
|
|
3587
|
+
[key: string]: string;
|
|
3588
|
+
};
|
|
3589
|
+
static types(): {
|
|
3590
|
+
[key: string]: any;
|
|
3591
|
+
};
|
|
3592
|
+
constructor(map?: {
|
|
3593
|
+
[key: string]: any;
|
|
3594
|
+
});
|
|
3595
|
+
}
|
|
3596
|
+
export declare class ListMultiChannelRecordingsResponse extends $tea.Model {
|
|
3597
|
+
headers: {
|
|
3598
|
+
[key: string]: string;
|
|
3599
|
+
};
|
|
3600
|
+
body: ListMultiChannelRecordingsResponseBody;
|
|
3601
|
+
static names(): {
|
|
3602
|
+
[key: string]: string;
|
|
3603
|
+
};
|
|
3604
|
+
static types(): {
|
|
3605
|
+
[key: string]: any;
|
|
3606
|
+
};
|
|
3607
|
+
constructor(map?: {
|
|
3608
|
+
[key: string]: any;
|
|
3609
|
+
});
|
|
3610
|
+
}
|
|
3477
3611
|
export declare class ListOutboundNumbersOfUserRequest extends $tea.Model {
|
|
3478
3612
|
instanceId?: string;
|
|
3479
3613
|
pageNumber?: number;
|
|
@@ -5283,6 +5417,7 @@ export declare class RemovePhoneNumberFromSkillGroupsResponse extends $tea.Model
|
|
|
5283
5417
|
});
|
|
5284
5418
|
}
|
|
5285
5419
|
export declare class RemovePhoneNumbersRequest extends $tea.Model {
|
|
5420
|
+
force?: boolean;
|
|
5286
5421
|
instanceId?: string;
|
|
5287
5422
|
numberList?: string;
|
|
5288
5423
|
static names(): {
|
|
@@ -6385,6 +6520,7 @@ export declare class AnswerCallResponseBodyDataCallContextChannelContexts extend
|
|
|
6385
6520
|
});
|
|
6386
6521
|
}
|
|
6387
6522
|
export declare class AnswerCallResponseBodyDataCallContext extends $tea.Model {
|
|
6523
|
+
callType?: string;
|
|
6388
6524
|
channelContexts?: AnswerCallResponseBodyDataCallContextChannelContexts[];
|
|
6389
6525
|
instanceId?: string;
|
|
6390
6526
|
jobId?: string;
|
|
@@ -6583,6 +6719,7 @@ export declare class BlindTransferResponseBodyDataUserContext extends $tea.Model
|
|
|
6583
6719
|
}
|
|
6584
6720
|
export declare class BlindTransferResponseBodyData extends $tea.Model {
|
|
6585
6721
|
callContext?: BlindTransferResponseBodyDataCallContext;
|
|
6722
|
+
contextId?: number;
|
|
6586
6723
|
userContext?: BlindTransferResponseBodyDataUserContext;
|
|
6587
6724
|
static names(): {
|
|
6588
6725
|
[key: string]: string;
|
|
@@ -6932,6 +7069,7 @@ export declare class CreateUserResponseBodyData extends $tea.Model {
|
|
|
6932
7069
|
});
|
|
6933
7070
|
}
|
|
6934
7071
|
export declare class GetCallDetailRecordResponseBodyDataAgentEventsEventSequence extends $tea.Model {
|
|
7072
|
+
duration?: number;
|
|
6935
7073
|
event?: string;
|
|
6936
7074
|
eventTime?: number;
|
|
6937
7075
|
static names(): {
|
|
@@ -7085,6 +7223,7 @@ export declare class GetCampaignResponseBodyData extends $tea.Model {
|
|
|
7085
7223
|
casesAborted?: number;
|
|
7086
7224
|
casesConnected?: number;
|
|
7087
7225
|
casesUncompleted?: number;
|
|
7226
|
+
casesUncompletedAfterAttempted?: number;
|
|
7088
7227
|
maxAttemptCount?: number;
|
|
7089
7228
|
minAttemptInterval?: number;
|
|
7090
7229
|
name?: string;
|
|
@@ -7542,6 +7681,22 @@ export declare class GetRealtimeInstanceStatesResponseBodyData extends $tea.Mode
|
|
|
7542
7681
|
[key: string]: any;
|
|
7543
7682
|
});
|
|
7544
7683
|
}
|
|
7684
|
+
export declare class GetSkillGroupResponseBodyData extends $tea.Model {
|
|
7685
|
+
description?: string;
|
|
7686
|
+
displayName?: string;
|
|
7687
|
+
instanceId?: string;
|
|
7688
|
+
name?: string;
|
|
7689
|
+
skillGroupId?: string;
|
|
7690
|
+
static names(): {
|
|
7691
|
+
[key: string]: string;
|
|
7692
|
+
};
|
|
7693
|
+
static types(): {
|
|
7694
|
+
[key: string]: any;
|
|
7695
|
+
};
|
|
7696
|
+
constructor(map?: {
|
|
7697
|
+
[key: string]: any;
|
|
7698
|
+
});
|
|
7699
|
+
}
|
|
7545
7700
|
export declare class GetTurnCredentialsResponseBodyData extends $tea.Model {
|
|
7546
7701
|
password?: string;
|
|
7547
7702
|
userName?: string;
|
|
@@ -7981,6 +8136,7 @@ export declare class LaunchSurveyResponseBodyDataUserContext extends $tea.Model
|
|
|
7981
8136
|
}
|
|
7982
8137
|
export declare class LaunchSurveyResponseBodyData extends $tea.Model {
|
|
7983
8138
|
callContext?: LaunchSurveyResponseBodyDataCallContext;
|
|
8139
|
+
contextId?: number;
|
|
7984
8140
|
userContext?: LaunchSurveyResponseBodyDataUserContext;
|
|
7985
8141
|
static names(): {
|
|
7986
8142
|
[key: string]: string;
|
|
@@ -7994,6 +8150,7 @@ export declare class LaunchSurveyResponseBodyData extends $tea.Model {
|
|
|
7994
8150
|
}
|
|
7995
8151
|
export declare class ListAgentStateLogsResponseBodyData extends $tea.Model {
|
|
7996
8152
|
duration?: number;
|
|
8153
|
+
outboundScenario?: boolean;
|
|
7997
8154
|
startTime?: number;
|
|
7998
8155
|
state?: string;
|
|
7999
8156
|
stateCode?: string;
|
|
@@ -9488,6 +9645,46 @@ export declare class ListIvrTrackingDetailsResponseBodyData extends $tea.Model {
|
|
|
9488
9645
|
[key: string]: any;
|
|
9489
9646
|
});
|
|
9490
9647
|
}
|
|
9648
|
+
export declare class ListMonoRecordingsResponseBodyData extends $tea.Model {
|
|
9649
|
+
agentId?: string;
|
|
9650
|
+
agentName?: string;
|
|
9651
|
+
contactId?: string;
|
|
9652
|
+
duration?: string;
|
|
9653
|
+
fileName?: string;
|
|
9654
|
+
fileUrl?: string;
|
|
9655
|
+
ramId?: string;
|
|
9656
|
+
skillGroupId?: string;
|
|
9657
|
+
startTime?: string;
|
|
9658
|
+
static names(): {
|
|
9659
|
+
[key: string]: string;
|
|
9660
|
+
};
|
|
9661
|
+
static types(): {
|
|
9662
|
+
[key: string]: any;
|
|
9663
|
+
};
|
|
9664
|
+
constructor(map?: {
|
|
9665
|
+
[key: string]: any;
|
|
9666
|
+
});
|
|
9667
|
+
}
|
|
9668
|
+
export declare class ListMultiChannelRecordingsResponseBodyData extends $tea.Model {
|
|
9669
|
+
agentId?: string;
|
|
9670
|
+
agentName?: string;
|
|
9671
|
+
contactId?: string;
|
|
9672
|
+
duration?: string;
|
|
9673
|
+
fileName?: string;
|
|
9674
|
+
fileUrl?: string;
|
|
9675
|
+
ramId?: string;
|
|
9676
|
+
skillGroupId?: string;
|
|
9677
|
+
startTime?: number;
|
|
9678
|
+
static names(): {
|
|
9679
|
+
[key: string]: string;
|
|
9680
|
+
};
|
|
9681
|
+
static types(): {
|
|
9682
|
+
[key: string]: any;
|
|
9683
|
+
};
|
|
9684
|
+
constructor(map?: {
|
|
9685
|
+
[key: string]: any;
|
|
9686
|
+
});
|
|
9687
|
+
}
|
|
9491
9688
|
export declare class ListOutboundNumbersOfUserResponseBodyDataList extends $tea.Model {
|
|
9492
9689
|
city?: string;
|
|
9493
9690
|
number?: string;
|
|
@@ -9690,6 +9887,7 @@ export declare class ListRealtimeAgentStatesResponseBodyDataList extends $tea.Mo
|
|
|
9690
9887
|
extension?: string;
|
|
9691
9888
|
instanceId?: string;
|
|
9692
9889
|
skillGroupIdList?: string[];
|
|
9890
|
+
skillGroupNameList?: string[];
|
|
9693
9891
|
state?: string;
|
|
9694
9892
|
stateCode?: string;
|
|
9695
9893
|
stateTime?: number;
|
|
@@ -9895,6 +10093,8 @@ export declare class ListSkillGroupSummaryReportsSinceMidnightResponseBodyPagedS
|
|
|
9895
10093
|
averageWorkTime?: number;
|
|
9896
10094
|
callsHandled?: number;
|
|
9897
10095
|
callsOffered?: number;
|
|
10096
|
+
callsServiceLevel20?: number;
|
|
10097
|
+
callsServiceLevel30?: number;
|
|
9898
10098
|
giveUpByAgentOfQueueCount?: number;
|
|
9899
10099
|
handleRate?: number;
|
|
9900
10100
|
inComingQueueOfQueueCount?: number;
|
|
@@ -11233,6 +11433,8 @@ export default class Client extends OpenApi {
|
|
|
11233
11433
|
getRealtimeCampaignStats(request: GetRealtimeCampaignStatsRequest): Promise<GetRealtimeCampaignStatsResponse>;
|
|
11234
11434
|
getRealtimeInstanceStatesWithOptions(request: GetRealtimeInstanceStatesRequest, runtime: $Util.RuntimeOptions): Promise<GetRealtimeInstanceStatesResponse>;
|
|
11235
11435
|
getRealtimeInstanceStates(request: GetRealtimeInstanceStatesRequest): Promise<GetRealtimeInstanceStatesResponse>;
|
|
11436
|
+
getSkillGroupWithOptions(request: GetSkillGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetSkillGroupResponse>;
|
|
11437
|
+
getSkillGroup(request: GetSkillGroupRequest): Promise<GetSkillGroupResponse>;
|
|
11236
11438
|
getTurnCredentialsWithOptions(request: GetTurnCredentialsRequest, runtime: $Util.RuntimeOptions): Promise<GetTurnCredentialsResponse>;
|
|
11237
11439
|
getTurnCredentials(request: GetTurnCredentialsRequest): Promise<GetTurnCredentialsResponse>;
|
|
11238
11440
|
getTurnServerListWithOptions(request: GetTurnServerListRequest, runtime: $Util.RuntimeOptions): Promise<GetTurnServerListResponse>;
|
|
@@ -11299,6 +11501,10 @@ export default class Client extends OpenApi {
|
|
|
11299
11501
|
listIntervalSkillGroupReport(request: ListIntervalSkillGroupReportRequest): Promise<ListIntervalSkillGroupReportResponse>;
|
|
11300
11502
|
listIvrTrackingDetailsWithOptions(request: ListIvrTrackingDetailsRequest, runtime: $Util.RuntimeOptions): Promise<ListIvrTrackingDetailsResponse>;
|
|
11301
11503
|
listIvrTrackingDetails(request: ListIvrTrackingDetailsRequest): Promise<ListIvrTrackingDetailsResponse>;
|
|
11504
|
+
listMonoRecordingsWithOptions(request: ListMonoRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<ListMonoRecordingsResponse>;
|
|
11505
|
+
listMonoRecordings(request: ListMonoRecordingsRequest): Promise<ListMonoRecordingsResponse>;
|
|
11506
|
+
listMultiChannelRecordingsWithOptions(request: ListMultiChannelRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<ListMultiChannelRecordingsResponse>;
|
|
11507
|
+
listMultiChannelRecordings(request: ListMultiChannelRecordingsRequest): Promise<ListMultiChannelRecordingsResponse>;
|
|
11302
11508
|
listOutboundNumbersOfUserWithOptions(request: ListOutboundNumbersOfUserRequest, runtime: $Util.RuntimeOptions): Promise<ListOutboundNumbersOfUserResponse>;
|
|
11303
11509
|
listOutboundNumbersOfUser(request: ListOutboundNumbersOfUserRequest): Promise<ListOutboundNumbersOfUserResponse>;
|
|
11304
11510
|
listPersonalNumbersOfUserWithOptions(request: ListPersonalNumbersOfUserRequest, runtime: $Util.RuntimeOptions): Promise<ListPersonalNumbersOfUserResponse>;
|