purecloud-platform-client-v2 95.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 (68) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +412 -1256
  3. package/dist/web-amd/purecloud-platform-client-v2.js +412 -1256
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +412 -1256
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +418 -1263
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +319 -128
  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 +4 -2
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +3 -3
  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 +26 -10
  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 -1
  31. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +6 -4
  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 +9 -8
  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 +26 -26
  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 +3 -3
  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 +123 -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 +309 -1148
  67. package/src/purecloud-platform-client-v2/index.js +1 -7
  68. package/src/purecloud-platform-client-v2/api/UserDevelopmentApi.js +0 -148
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "95.0.0",
3
+ "version": "98.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -2,7 +2,7 @@ import superagent from 'superagent';
2
2
 
3
3
  /**
4
4
  * @module purecloud-platform-client-v2/ApiClient
5
- * @version 95.0.0
5
+ * @version 98.0.0
6
6
  */
7
7
  class ApiClient {
8
8
  /**
@@ -758,7 +758,7 @@ class ApiClient {
758
758
 
759
759
  // set header parameters
760
760
  request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
761
- //request.set({ 'purecloud-sdk': '95.0.0' });
761
+ //request.set({ 'purecloud-sdk': '98.0.0' });
762
762
 
763
763
  // set request timeout
764
764
  request.timeout(this.timeout);
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -340,6 +340,8 @@ class AuthorizationApi {
340
340
  * @param {Object} opts Optional parameters
341
341
  * @param {Number} opts.pageSize Page size (default to 25)
342
342
  * @param {Number} opts.pageNumber Page number (default to 1)
343
+ * @param {Object} opts.queryType Query filter type
344
+ * @param {String} opts.query Comma-separated list of permissions or domains to query
343
345
  */
344
346
  getAuthorizationPermissions(opts) {
345
347
  opts = opts || {};
@@ -349,7 +351,7 @@ class AuthorizationApi {
349
351
  '/api/v2/authorization/permissions',
350
352
  'GET',
351
353
  { },
352
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
354
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
353
355
  { },
354
356
  { },
355
357
  null,
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -23,8 +23,8 @@ class BillingApi {
23
23
  /**
24
24
  * Get a report of the billable license usages
25
25
  * Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If response's status is InProgress, wait a few seconds, then try the same request again.
26
- * @param {Date} startDate The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
27
- * @param {Date} endDate The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
26
+ * @param {Date} startDate The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
27
+ * @param {Date} endDate The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
28
28
  */
29
29
  getBillingReportsBillableusage(startDate, endDate) {
30
30
  // verify the required parameter 'startDate' is set
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -3634,7 +3634,7 @@ class ConversationsApi {
3634
3634
 
3635
3635
  /**
3636
3636
  * Send message
3637
- *
3637
+ * Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, 1 stickerId, or 1 messageTemplate.
3638
3638
  * @param {String} conversationId conversationId
3639
3639
  * @param {String} communicationId communicationId
3640
3640
  * @param {Object} body Message
@@ -3815,8 +3815,12 @@ class ConversationsApi {
3815
3815
  * Create a Facebook Integration
3816
3816
  *
3817
3817
  * @param {Object} body FacebookIntegrationRequest
3818
+ * @param {Object} opts Optional parameters
3819
+ * @param {Boolean} opts.async Create a Facebook integration in an asynchronous manner. If the parameter value is true, this initiates the generation of a new Facebook integration. An integration ID is returned, it can be used to query the integration. Check the integration's createStatus for Completed or Error to detect the create is finished. (default to false)
3818
3820
  */
3819
- postConversationsMessagingIntegrationsFacebook(body) {
3821
+ postConversationsMessagingIntegrationsFacebook(body, opts) {
3822
+ opts = opts || {};
3823
+
3820
3824
  // verify the required parameter 'body' is set
3821
3825
  if (body === undefined || body === null) {
3822
3826
  throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsFacebook';
@@ -3826,7 +3830,7 @@ class ConversationsApi {
3826
3830
  '/api/v2/conversations/messaging/integrations/facebook',
3827
3831
  'POST',
3828
3832
  { },
3829
- { },
3833
+ { 'async': opts['async'] },
3830
3834
  { },
3831
3835
  { },
3832
3836
  body,
@@ -3840,8 +3844,12 @@ class ConversationsApi {
3840
3844
  * Create a LINE messenger Integration
3841
3845
  *
3842
3846
  * @param {Object} body LineIntegrationRequest
3847
+ * @param {Object} opts Optional parameters
3848
+ * @param {Boolean} opts.async Create a LINE integration in an asynchronous manner. If the parameter value is true, this initiates the generation of a new LINE integration. An integration ID is returned, it can be used to query the integration. Check the integration's createStatus for Completed or Error to detect the create is finished. (default to false)
3843
3849
  */
3844
- postConversationsMessagingIntegrationsLine(body) {
3850
+ postConversationsMessagingIntegrationsLine(body, opts) {
3851
+ opts = opts || {};
3852
+
3845
3853
  // verify the required parameter 'body' is set
3846
3854
  if (body === undefined || body === null) {
3847
3855
  throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';
@@ -3851,7 +3859,7 @@ class ConversationsApi {
3851
3859
  '/api/v2/conversations/messaging/integrations/line',
3852
3860
  'POST',
3853
3861
  { },
3854
- { },
3862
+ { 'async': opts['async'] },
3855
3863
  { },
3856
3864
  { },
3857
3865
  body,
@@ -3865,8 +3873,12 @@ class ConversationsApi {
3865
3873
  * Create a Twitter Integration
3866
3874
  *
3867
3875
  * @param {Object} body TwitterIntegrationRequest
3876
+ * @param {Object} opts Optional parameters
3877
+ * @param {Boolean} opts.async Create a Twitter integration in an asynchronous manner. If the parameter value is true, this initiates the generation of a new Twitter integration. An integration ID is returned, it can be used to query the integration. Check the integration's createStatus for Completed or Error to detect the create is finished. (default to false)
3868
3878
  */
3869
- postConversationsMessagingIntegrationsTwitter(body) {
3879
+ postConversationsMessagingIntegrationsTwitter(body, opts) {
3880
+ opts = opts || {};
3881
+
3870
3882
  // verify the required parameter 'body' is set
3871
3883
  if (body === undefined || body === null) {
3872
3884
  throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';
@@ -3876,7 +3888,7 @@ class ConversationsApi {
3876
3888
  '/api/v2/conversations/messaging/integrations/twitter',
3877
3889
  'POST',
3878
3890
  { },
3879
- { },
3891
+ { 'async': opts['async'] },
3880
3892
  { },
3881
3893
  { },
3882
3894
  body,
@@ -3890,8 +3902,12 @@ class ConversationsApi {
3890
3902
  * Create a WhatsApp Integration
3891
3903
  * You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
3892
3904
  * @param {Object} body WhatsAppIntegrationRequest
3905
+ * @param {Object} opts Optional parameters
3906
+ * @param {Boolean} opts.async Create a WhatsApp integration in an asynchronous manner. If the parameter value is true, this initiates the generation of a new WhatsApp integration. An integration ID is returned, it can be used to query the integration. Check the integration's createStatus for Completed or Error to detect the create is finished. (default to false)
3893
3907
  */
3894
- postConversationsMessagingIntegrationsWhatsapp(body) {
3908
+ postConversationsMessagingIntegrationsWhatsapp(body, opts) {
3909
+ opts = opts || {};
3910
+
3895
3911
  // verify the required parameter 'body' is set
3896
3912
  if (body === undefined || body === null) {
3897
3913
  throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsapp';
@@ -3901,7 +3917,7 @@ class ConversationsApi {
3901
3917
  '/api/v2/conversations/messaging/integrations/whatsapp',
3902
3918
  'POST',
3903
3919
  { },
3904
- { },
3920
+ { 'async': opts['async'] },
3905
3921
  { },
3906
3922
  { },
3907
3923
  body,
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 95.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,
@@ -321,7 +322,7 @@ class KnowledgeApi {
321
322
  }
322
323
 
323
324
  /**
324
- * Get All trainings information for a knowledgebase
325
+ * Get all trainings information for a knowledgebase
325
326
  *
326
327
  * @param {String} knowledgeBaseId Knowledge base ID
327
328
  * @param {Object} languageCode Language code, format: iso2-LOCALE
@@ -330,6 +331,7 @@ class KnowledgeApi {
330
331
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
331
332
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
332
333
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
334
+ * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
333
335
  */
334
336
  getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
335
337
  opts = opts || {};
@@ -347,7 +349,7 @@ class KnowledgeApi {
347
349
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
348
350
  'GET',
349
351
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
350
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
352
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
351
353
  { },
352
354
  { },
353
355
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.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 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -219,8 +219,8 @@ class QualityApi {
219
219
  * @param {Array.<String>} opts.expand variable name requested by expand list
220
220
  * @param {String} opts.nextPage next page token
221
221
  * @param {String} opts.previousPage Previous page token
222
- * @param {Date} opts.startTime Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
223
- * @param {Date} opts.endTime End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
222
+ * @param {Date} opts.startTime Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
223
+ * @param {Date} opts.endTime End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
224
224
  * @param {Array.<String>} opts.agentUserId user id of agent requested
225
225
  * @param {String} opts.evaluatorUserId user id of the evaluator
226
226
  * @param {String} opts.name name
@@ -286,8 +286,8 @@ class QualityApi {
286
286
  * @param {String} opts.nextPage next page token
287
287
  * @param {String} opts.previousPage Previous page token
288
288
  * @param {String} opts.conversationId conversation id
289
- * @param {Date} opts.startTime Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
290
- * @param {Date} opts.endTime end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
289
+ * @param {Date} opts.startTime Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
290
+ * @param {Date} opts.endTime end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
291
291
  */
292
292
  getQualityCalibrations(calibratorId, opts) {
293
293
  opts = opts || {};
@@ -457,8 +457,8 @@ class QualityApi {
457
457
  * @param {Array.<String>} opts.expand variable name requested by expand list
458
458
  * @param {String} opts.nextPage next page token
459
459
  * @param {String} opts.previousPage Previous page token
460
- * @param {Date} opts.startTime The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
461
- * @param {Date} opts.endTime The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
460
+ * @param {Date} opts.startTime The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
461
+ * @param {Date} opts.endTime The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
462
462
  * @param {String} opts.name Evaluator name
463
463
  * @param {Array.<String>} opts.permission permission strings
464
464
  * @param {String} opts.group group id
@@ -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 95.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 95.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 95.0.0
8
+ * @version 98.0.0
9
9
  */
10
10
 
11
11
  /**