purecloud-platform-client-v2 97.0.0 → 98.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 (67) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +67 -193
  3. package/dist/web-amd/purecloud-platform-client-v2.js +67 -193
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +67 -193
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +68 -196
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +68 -97
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  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/CoachingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -131
  31. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  32. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -2
  45. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +5 -3
  67. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -70,107 +70,6 @@ class JourneyApi {
70
70
  );
71
71
  }
72
72
 
73
- /**
74
- * Retrieve segment assignments by customer ID.
75
- *
76
- * @param {String} customerIdType Type of ID used to identify customer (e.g. email, cookie, and phone).
77
- * @param {String} customerId Primary identifier of the customer to query for segment assignments.
78
- * @param {Object} opts Optional parameters
79
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
80
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
81
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
82
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
83
- */
84
- getJourneyCustomerCustomerIdSegments(customerIdType, customerId, opts) {
85
- opts = opts || {};
86
-
87
- // verify the required parameter 'customerIdType' is set
88
- if (customerIdType === undefined || customerIdType === null) {
89
- throw 'Missing the required parameter "customerIdType" when calling getJourneyCustomerCustomerIdSegments';
90
- }
91
- // verify the required parameter 'customerId' is set
92
- if (customerId === undefined || customerId === null) {
93
- throw 'Missing the required parameter "customerId" when calling getJourneyCustomerCustomerIdSegments';
94
- }
95
-
96
- return this.apiClient.callApi(
97
- '/api/v2/journey/customers/{customerIdType}/{customerId}/segments',
98
- 'GET',
99
- { 'customerIdType': customerIdType,'customerId': customerId },
100
- { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
101
- { },
102
- { },
103
- null,
104
- ['PureCloud OAuth'],
105
- ['application/json'],
106
- ['application/json']
107
- );
108
- }
109
-
110
- /**
111
- * Retrieve segment assignments by external contact ID.
112
- *
113
- * @param {String} externalContactId ID of the external contact to query for segment assignments.
114
- * @param {Object} opts Optional parameters
115
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
116
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
117
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
118
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
119
- */
120
- getJourneyExternalcontactSegments(externalContactId, opts) {
121
- opts = opts || {};
122
-
123
- // verify the required parameter 'externalContactId' is set
124
- if (externalContactId === undefined || externalContactId === null) {
125
- throw 'Missing the required parameter "externalContactId" when calling getJourneyExternalcontactSegments';
126
- }
127
-
128
- return this.apiClient.callApi(
129
- '/api/v2/journey/externalcontacts/{externalContactId}/segments',
130
- 'GET',
131
- { 'externalContactId': externalContactId },
132
- { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
133
- { },
134
- { },
135
- null,
136
- ['PureCloud OAuth'],
137
- ['application/json'],
138
- ['application/json']
139
- );
140
- }
141
-
142
- /**
143
- * Retrieve segment assignments by session ID.
144
- *
145
- * @param {String} sessionId ID of the session to query for segment assignments.
146
- * @param {Object} opts Optional parameters
147
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
148
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
149
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
150
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
151
- */
152
- getJourneySessionSegments(sessionId, opts) {
153
- opts = opts || {};
154
-
155
- // verify the required parameter 'sessionId' is set
156
- if (sessionId === undefined || sessionId === null) {
157
- throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
158
- }
159
-
160
- return this.apiClient.callApi(
161
- '/api/v2/journey/sessions/{sessionId}/segments',
162
- 'GET',
163
- { 'sessionId': sessionId },
164
- { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
165
- { },
166
- { },
167
- null,
168
- ['PureCloud OAuth'],
169
- ['application/json'],
170
- ['application/json']
171
- );
172
- }
173
-
174
73
  /**
175
74
  * Update a single action target.
176
75
  *
@@ -225,35 +124,6 @@ class JourneyApi {
225
124
  );
226
125
  }
227
126
 
228
- /**
229
- * Assign/Unassign a segment to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment.
230
- *
231
- * @param {String} externalContactId ID of the external contact to query for segment assignments.
232
- * @param {Object} opts Optional parameters
233
- * @param {Array.<Object>} opts.body
234
- */
235
- postJourneyExternalcontactSegments(externalContactId, opts) {
236
- opts = opts || {};
237
-
238
- // verify the required parameter 'externalContactId' is set
239
- if (externalContactId === undefined || externalContactId === null) {
240
- throw 'Missing the required parameter "externalContactId" when calling postJourneyExternalcontactSegments';
241
- }
242
-
243
- return this.apiClient.callApi(
244
- '/api/v2/journey/externalcontacts/{externalContactId}/segments',
245
- 'POST',
246
- { 'externalContactId': externalContactId },
247
- { },
248
- { },
249
- { },
250
- opts['body'],
251
- ['PureCloud OAuth'],
252
- ['application/json'],
253
- ['application/json']
254
- );
255
- }
256
-
257
127
  }
258
128
 
259
129
 
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -258,6 +258,7 @@ class KnowledgeApi {
258
258
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
259
259
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
260
260
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
261
+ * @param {String} opts.title Filter by document title.
261
262
  */
262
263
  getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
263
264
  opts = opts || {};
@@ -275,7 +276,7 @@ class KnowledgeApi {
275
276
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
276
277
  'GET',
277
278
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
278
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
279
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
279
280
  { },
280
281
  { },
281
282
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -599,6 +599,7 @@ class QualityApi {
599
599
  * @param {Object} opts Optional parameters
600
600
  * @param {Number} opts.pageSize Page size (default to 25)
601
601
  * @param {Number} opts.pageNumber Page number (default to 1)
602
+ * @param {String} opts.sortOrder Sort order (default to asc)
602
603
  */
603
604
  getQualityFormsEvaluationVersions(formId, opts) {
604
605
  opts = opts || {};
@@ -612,7 +613,7 @@ class QualityApi {
612
613
  '/api/v2/quality/forms/evaluations/{formId}/versions',
613
614
  'GET',
614
615
  { 'formId': formId },
615
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
616
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
616
617
  { },
617
618
  { },
618
619
  null,
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.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 97.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2060,6 +2060,7 @@ class WorkforceManagementApi {
2060
2060
  * @param {String} workPlanId The ID of the work plan to update
2061
2061
  * @param {Object} opts Optional parameters
2062
2062
  * @param {Object} opts.body body
2063
+ * @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
2063
2064
  */
2064
2065
  patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
2065
2066
  opts = opts || {};
@@ -2077,7 +2078,7 @@ class WorkforceManagementApi {
2077
2078
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
2078
2079
  'PATCH',
2079
2080
  { 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
2080
- { },
2081
+ { 'validationMode': opts['validationMode'] },
2081
2082
  { },
2082
2083
  { },
2083
2084
  opts['body'],
@@ -3111,6 +3112,7 @@ class WorkforceManagementApi {
3111
3112
  * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3112
3113
  * @param {Object} opts Optional parameters
3113
3114
  * @param {Object} opts.body body
3115
+ * @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
3114
3116
  */
3115
3117
  postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
3116
3118
  opts = opts || {};
@@ -3124,7 +3126,7 @@ class WorkforceManagementApi {
3124
3126
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
3125
3127
  'POST',
3126
3128
  { 'managementUnitId': managementUnitId },
3127
- { },
3129
+ { 'validationMode': opts['validationMode'] },
3128
3130
  { },
3129
3131
  { },
3130
3132
  opts['body'],
@@ -88,7 +88,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
88
88
  * </pre>
89
89
  * </p>
90
90
  * @module purecloud-platform-client-v2/index
91
- * @version 97.0.0
91
+ * @version 98.0.0
92
92
  */
93
93
  class platformClient {
94
94
  constructor() {