purecloud-platform-client-v2 180.0.0 → 181.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 +475 -160
- package/dist/web-amd/purecloud-platform-client-v2.js +475 -160
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +475 -160
- package/dist/web-cjs/purecloud-platform-client-v2.js +683 -195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +420 -234
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- 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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -74
- 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 +59 -3
- 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/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -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 -1
- 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/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +73 -2
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- 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/OperationalEventsApi.js +71 -0
- 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 +9 -4
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- 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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -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/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +86 -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 +92 -2
- 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 +17 -7
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -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 181.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -688,8 +688,12 @@ class WorkforceManagementApi {
|
|
|
688
688
|
* Get activity codes
|
|
689
689
|
*
|
|
690
690
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
691
|
+
* @param {Object} opts Optional parameters
|
|
692
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
691
693
|
*/
|
|
692
|
-
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId) {
|
|
694
|
+
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId, opts) {
|
|
695
|
+
opts = opts || {};
|
|
696
|
+
|
|
693
697
|
// verify the required parameter 'businessUnitId' is set
|
|
694
698
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
695
699
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';
|
|
@@ -699,7 +703,7 @@ class WorkforceManagementApi {
|
|
|
699
703
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
|
|
700
704
|
'GET',
|
|
701
705
|
{ 'businessUnitId': businessUnitId },
|
|
702
|
-
{
|
|
706
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
703
707
|
{ },
|
|
704
708
|
{ },
|
|
705
709
|
null,
|
|
@@ -2089,6 +2093,7 @@ class WorkforceManagementApi {
|
|
|
2089
2093
|
* @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
2090
2094
|
* @param {Object} opts Optional parameters
|
|
2091
2095
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
2096
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
2092
2097
|
*/
|
|
2093
2098
|
getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
|
|
2094
2099
|
opts = opts || {};
|
|
@@ -2106,7 +2111,7 @@ class WorkforceManagementApi {
|
|
|
2106
2111
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
|
|
2107
2112
|
'GET',
|
|
2108
2113
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
2109
|
-
{ 'evaluateMatches': opts['evaluateMatches'] },
|
|
2114
|
+
{ 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
|
|
2110
2115
|
{ },
|
|
2111
2116
|
{ },
|
|
2112
2117
|
null,
|
|
@@ -4354,6 +4359,7 @@ class WorkforceManagementApi {
|
|
|
4354
4359
|
* Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are filters
|
|
4355
4360
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
4356
4361
|
* @param {Object} opts Optional parameters
|
|
4362
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
4357
4363
|
* @param {Object} opts.body body
|
|
4358
4364
|
*/
|
|
4359
4365
|
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
|
|
@@ -4368,7 +4374,7 @@ class WorkforceManagementApi {
|
|
|
4368
4374
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
|
|
4369
4375
|
'POST',
|
|
4370
4376
|
{ 'managementUnitId': managementUnitId },
|
|
4371
|
-
{
|
|
4377
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
4372
4378
|
{ },
|
|
4373
4379
|
{ },
|
|
4374
4380
|
opts['body'],
|
|
@@ -4592,8 +4598,12 @@ class WorkforceManagementApi {
|
|
|
4592
4598
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
4593
4599
|
* @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
4594
4600
|
* @param {Object} body body
|
|
4601
|
+
* @param {Object} opts Optional parameters
|
|
4602
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
4595
4603
|
*/
|
|
4596
|
-
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body) {
|
|
4604
|
+
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body, opts) {
|
|
4605
|
+
opts = opts || {};
|
|
4606
|
+
|
|
4597
4607
|
// verify the required parameter 'managementUnitId' is set
|
|
4598
4608
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4599
4609
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
|
|
@@ -4611,7 +4621,7 @@ class WorkforceManagementApi {
|
|
|
4611
4621
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search',
|
|
4612
4622
|
'POST',
|
|
4613
4623
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
4614
|
-
{
|
|
4624
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
4615
4625
|
{ },
|
|
4616
4626
|
{ },
|
|
4617
4627
|
body,
|
|
@@ -39,6 +39,7 @@ import MobileDevicesApi from './api/MobileDevicesApi.js';
|
|
|
39
39
|
import NotificationsApi from './api/NotificationsApi.js';
|
|
40
40
|
import OAuthApi from './api/OAuthApi.js';
|
|
41
41
|
import ObjectsApi from './api/ObjectsApi.js';
|
|
42
|
+
import OperationalEventsApi from './api/OperationalEventsApi.js';
|
|
42
43
|
import OrganizationApi from './api/OrganizationApi.js';
|
|
43
44
|
import OrganizationAuthorizationApi from './api/OrganizationAuthorizationApi.js';
|
|
44
45
|
import OutboundApi from './api/OutboundApi.js';
|
|
@@ -104,7 +105,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
104
105
|
* </pre>
|
|
105
106
|
* </p>
|
|
106
107
|
* @module purecloud-platform-client-v2/index
|
|
107
|
-
* @version
|
|
108
|
+
* @version 181.0.0
|
|
108
109
|
*/
|
|
109
110
|
class platformClient {
|
|
110
111
|
constructor() {
|
|
@@ -308,6 +309,11 @@ class platformClient {
|
|
|
308
309
|
* @property {module:purecloud-platform-client-v2/api/ObjectsApi}
|
|
309
310
|
*/
|
|
310
311
|
this.ObjectsApi = ObjectsApi;
|
|
312
|
+
/**
|
|
313
|
+
* The OperationalEventsApi service constructor.
|
|
314
|
+
* @property {module:purecloud-platform-client-v2/api/OperationalEventsApi}
|
|
315
|
+
*/
|
|
316
|
+
this.OperationalEventsApi = OperationalEventsApi;
|
|
311
317
|
/**
|
|
312
318
|
* The OrganizationApi service constructor.
|
|
313
319
|
* @property {module:purecloud-platform-client-v2/api/OrganizationApi}
|