purecloud-platform-client-v2 204.1.0 → 206.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 (89) hide show
  1. package/README.md +5 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1344 -85
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1344 -85
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +410 -87
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +410 -87
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +986 -7
  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/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +33 -4
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +191 -1
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +516 -1
  43. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OutboundApi.js +31 -1
  58. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +58 -1
  70. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +311 -1
  73. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +70 -1
  76. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +3 -3
  86. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +60 -1
  89. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 204.1.0
8
+ * @version 206.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -100,6 +100,26 @@ class TelephonyProvidersEdgeApi {
100
100
  );
101
101
  }
102
102
 
103
+ /**
104
+ * Deletes alertable presences overrides.
105
+ *
106
+ */
107
+ deleteTelephonyProvidersEdgesAlertablepresences() {
108
+
109
+ return this.apiClient.callApi(
110
+ '/api/v2/telephony/providers/edges/alertablepresences',
111
+ 'DELETE',
112
+ { },
113
+ { },
114
+ { },
115
+ { },
116
+ null,
117
+ ['PureCloud OAuth'],
118
+ ['application/json'],
119
+ ['application/json']
120
+ );
121
+ }
122
+
103
123
  /**
104
124
  * Delete a certificate authority.
105
125
  *
@@ -772,6 +792,30 @@ class TelephonyProvidersEdgeApi {
772
792
  );
773
793
  }
774
794
 
795
+ /**
796
+ * Get the list alertable presences. The 'type' query parameter can be used to If there are any overrides, this is the list of overrides; if there are no overrides, it is the default list.
797
+ *
798
+ * @param {Object} opts Optional parameters
799
+ * @param {Object} opts.type
800
+ */
801
+ getTelephonyProvidersEdgesAlertablepresences(opts) {
802
+ opts = opts || {};
803
+
804
+
805
+ return this.apiClient.callApi(
806
+ '/api/v2/telephony/providers/edges/alertablepresences',
807
+ 'GET',
808
+ { },
809
+ { 'type': opts['type'] },
810
+ { },
811
+ { },
812
+ null,
813
+ ['PureCloud OAuth'],
814
+ ['application/json'],
815
+ ['application/json']
816
+ );
817
+ }
818
+
775
819
  /**
776
820
  * Get the list of certificate authorities.
777
821
  *
@@ -2957,6 +3001,31 @@ class TelephonyProvidersEdgeApi {
2957
3001
  );
2958
3002
  }
2959
3003
 
3004
+ /**
3005
+ * Creates or updates alertable presences overrides.
3006
+ *
3007
+ * @param {Object} body Alertable Presences Overrides
3008
+ */
3009
+ putTelephonyProvidersEdgesAlertablepresences(body) {
3010
+ // verify the required parameter 'body' is set
3011
+ if (body === undefined || body === null) {
3012
+ throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
3013
+ }
3014
+
3015
+ return this.apiClient.callApi(
3016
+ '/api/v2/telephony/providers/edges/alertablepresences',
3017
+ 'PUT',
3018
+ { },
3019
+ { },
3020
+ { },
3021
+ { },
3022
+ body,
3023
+ ['PureCloud OAuth'],
3024
+ ['application/json'],
3025
+ ['application/json']
3026
+ );
3027
+ }
3028
+
2960
3029
  /**
2961
3030
  * Update a certificate authority.
2962
3031
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 204.1.0
8
+ * @version 206.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -209,7 +209,7 @@ class WebDeploymentsApi {
209
209
  * View configuration drafts
210
210
  *
211
211
  * @param {Object} opts Optional parameters
212
- * @param {Boolean} opts.showOnlyPublished Get only configuration drafts with published versions (default to false)
212
+ * @param {Boolean} opts.showOnlyPublished Filter by published status.
213
213
  */
214
214
  getWebdeploymentsConfigurations(opts) {
215
215
  opts = opts || {};
@@ -322,7 +322,7 @@ class WebDeploymentsApi {
322
322
  * Get deployments
323
323
  *
324
324
  * @param {Object} opts Optional parameters
325
- * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
325
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
326
326
  */
327
327
  getWebdeploymentsDeployments(opts) {
328
328
  opts = opts || {};
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.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 204.1.0
8
+ * @version 206.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -4088,6 +4088,35 @@ class WorkforceManagementApi {
4088
4088
  );
4089
4089
  }
4090
4090
 
4091
+ /**
4092
+ * Updates agent work plan configuration
4093
+ *
4094
+ * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
4095
+ * @param {Object} opts Optional parameters
4096
+ * @param {Object} opts.body body
4097
+ */
4098
+ patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, opts) {
4099
+ opts = opts || {};
4100
+
4101
+ // verify the required parameter 'managementUnitId' is set
4102
+ if (managementUnitId === undefined || managementUnitId === null) {
4103
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
4104
+ }
4105
+
4106
+ return this.apiClient.callApi(
4107
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
4108
+ 'PATCH',
4109
+ { 'managementUnitId': managementUnitId },
4110
+ { },
4111
+ { },
4112
+ { },
4113
+ opts['body'],
4114
+ ['PureCloud OAuth'],
4115
+ ['application/json'],
4116
+ ['application/json']
4117
+ );
4118
+ }
4119
+
4091
4120
  /**
4092
4121
  * Updates a time off limit object.
4093
4122
  * Updates time off limit object properties, but not daily values.
@@ -6008,6 +6037,36 @@ class WorkforceManagementApi {
6008
6037
  );
6009
6038
  }
6010
6039
 
6040
+ /**
6041
+ * Get agents work plans configuration
6042
+ *
6043
+ * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
6044
+ * @param {Object} opts Optional parameters
6045
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
6046
+ * @param {Object} opts.body body
6047
+ */
6048
+ postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
6049
+ opts = opts || {};
6050
+
6051
+ // verify the required parameter 'managementUnitId' is set
6052
+ if (managementUnitId === undefined || managementUnitId === null) {
6053
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
6054
+ }
6055
+
6056
+ return this.apiClient.callApi(
6057
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
6058
+ 'POST',
6059
+ { 'managementUnitId': managementUnitId },
6060
+ { 'forceDownloadService': opts['forceDownloadService'] },
6061
+ { },
6062
+ { },
6063
+ opts['body'],
6064
+ ['PureCloud OAuth'],
6065
+ ['application/json'],
6066
+ ['application/json']
6067
+ );
6068
+ }
6069
+
6011
6070
  /**
6012
6071
  * Query published schedules for given given time range for set of users
6013
6072
  *
@@ -111,7 +111,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
111
111
  * </pre>
112
112
  * </p>
113
113
  * @module purecloud-platform-client-v2/index
114
- * @version 204.1.0
114
+ * @version 206.0.0
115
115
  */
116
116
  class platformClient {
117
117
  constructor() {