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.
Files changed (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +619 -150
  3. package/dist/web-amd/purecloud-platform-client-v2.js +619 -150
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +619 -150
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +619 -150
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +272 -18
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +28 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +49 -8
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +32 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -65
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +223 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +93 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +26 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +71 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 150.0.0
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 UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 150.0.0
8
+ * @version 152.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 150.0.0
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
  *
@@ -99,7 +99,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
99
99
  * </pre>
100
100
  * </p>
101
101
  * @module purecloud-platform-client-v2/index
102
- * @version 150.0.0
102
+ * @version 152.0.0
103
103
  */
104
104
  class platformClient {
105
105
  constructor() {