purecloud-platform-client-v2 150.0.0 → 152.0.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/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +619 -150
- package/dist/web-amd/purecloud-platform-client-v2.js +619 -150
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +619 -150
- package/dist/web-cjs/purecloud-platform-client-v2.js +619 -150
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +272 -18
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +28 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +49 -8
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -65
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +223 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +93 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +71 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 152.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1996,6 +1996,31 @@ class UsersApi {
|
|
|
1996
1996
|
);
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
* Search users assigned to teams
|
|
2001
|
+
*
|
|
2002
|
+
* @param {Object} body Search request options
|
|
2003
|
+
*/
|
|
2004
|
+
postUsersSearchTeamsAssign(body) {
|
|
2005
|
+
// verify the required parameter 'body' is set
|
|
2006
|
+
if (body === undefined || body === null) {
|
|
2007
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
return this.apiClient.callApi(
|
|
2011
|
+
'/api/v2/users/search/teams/assign',
|
|
2012
|
+
'POST',
|
|
2013
|
+
{ },
|
|
2014
|
+
{ },
|
|
2015
|
+
{ },
|
|
2016
|
+
{ },
|
|
2017
|
+
body,
|
|
2018
|
+
['PureCloud OAuth'],
|
|
2019
|
+
['application/json'],
|
|
2020
|
+
['application/json']
|
|
2021
|
+
);
|
|
2022
|
+
}
|
|
2023
|
+
|
|
1999
2024
|
/**
|
|
2000
2025
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
2001
2026
|
*
|
|
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WorkforceManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 152.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3785,6 +3785,76 @@ class WorkforceManagementApi {
|
|
|
3785
3785
|
);
|
|
3786
3786
|
}
|
|
3787
3787
|
|
|
3788
|
+
/**
|
|
3789
|
+
* Query time off balances for a given user for specified activity code and dates
|
|
3790
|
+
*
|
|
3791
|
+
* @param {String} managementUnitId The ID of the management unit
|
|
3792
|
+
* @param {String} userId The ID of the user
|
|
3793
|
+
* @param {Object} body The request body
|
|
3794
|
+
*/
|
|
3795
|
+
postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
|
|
3796
|
+
// verify the required parameter 'managementUnitId' is set
|
|
3797
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3798
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
3799
|
+
}
|
|
3800
|
+
// verify the required parameter 'userId' is set
|
|
3801
|
+
if (userId === undefined || userId === null) {
|
|
3802
|
+
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
3803
|
+
}
|
|
3804
|
+
// verify the required parameter 'body' is set
|
|
3805
|
+
if (body === undefined || body === null) {
|
|
3806
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
return this.apiClient.callApi(
|
|
3810
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs',
|
|
3811
|
+
'POST',
|
|
3812
|
+
{ 'managementUnitId': managementUnitId,'userId': userId },
|
|
3813
|
+
{ },
|
|
3814
|
+
{ },
|
|
3815
|
+
{ },
|
|
3816
|
+
body,
|
|
3817
|
+
['PureCloud OAuth'],
|
|
3818
|
+
['application/json'],
|
|
3819
|
+
['application/json']
|
|
3820
|
+
);
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Query time off balances for dates spanned by a given time off request
|
|
3825
|
+
*
|
|
3826
|
+
* @param {String} managementUnitId The ID of the management unit.
|
|
3827
|
+
* @param {String} userId The userId to whom the time off request applies.
|
|
3828
|
+
* @param {String} timeOffRequestId The time off request id.
|
|
3829
|
+
*/
|
|
3830
|
+
postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
|
|
3831
|
+
// verify the required parameter 'managementUnitId' is set
|
|
3832
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3833
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
3834
|
+
}
|
|
3835
|
+
// verify the required parameter 'userId' is set
|
|
3836
|
+
if (userId === undefined || userId === null) {
|
|
3837
|
+
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
3838
|
+
}
|
|
3839
|
+
// verify the required parameter 'timeOffRequestId' is set
|
|
3840
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
3841
|
+
throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
return this.apiClient.callApi(
|
|
3845
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs',
|
|
3846
|
+
'POST',
|
|
3847
|
+
{ 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
|
|
3848
|
+
{ },
|
|
3849
|
+
{ },
|
|
3850
|
+
{ },
|
|
3851
|
+
null,
|
|
3852
|
+
['PureCloud OAuth'],
|
|
3853
|
+
['application/json'],
|
|
3854
|
+
['application/json']
|
|
3855
|
+
);
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3788
3858
|
/**
|
|
3789
3859
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
3790
3860
|
*
|