purecloud-platform-client-v2 207.0.0 → 209.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 (90) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1392 -162
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1392 -162
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +511 -178
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +669 -256
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +4261 -3234
  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 +4 -4
  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 +1 -2
  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 +3 -8
  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 +31 -11
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -1
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +11 -5
  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 +52 -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 +1 -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 +5 -3
  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 +40 -36
  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 +55 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +910 -0
  70. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
  71. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -1
  77. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsersApi.js +12 -12
  83. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -7
  90. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -174,6 +174,31 @@ class JourneyApi {
174
174
  );
175
175
  }
176
176
 
177
+ /**
178
+ * Delete the Schedule of a JourneyView
179
+ * used for long descriptions
180
+ * @param {String} viewId Journey View Id
181
+ */
182
+ deleteJourneyViewSchedules(viewId) {
183
+ // verify the required parameter 'viewId' is set
184
+ if (viewId === undefined || viewId === null) {
185
+ throw 'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';
186
+ }
187
+
188
+ return this.apiClient.callApi(
189
+ '/api/v2/journey/views/{viewId}/schedules',
190
+ 'DELETE',
191
+ { 'viewId': viewId },
192
+ { },
193
+ { },
194
+ { },
195
+ null,
196
+ ['PureCloud OAuth'],
197
+ ['application/json'],
198
+ ['application/json']
199
+ );
200
+ }
201
+
177
202
  /**
178
203
  * Get status for async query for journey aggregates
179
204
  *
@@ -822,6 +847,31 @@ class JourneyApi {
822
847
  );
823
848
  }
824
849
 
850
+ /**
851
+ * Get the Schedule for a JourneyView
852
+ * used for long descriptions
853
+ * @param {String} viewId Journey View Id
854
+ */
855
+ getJourneyViewSchedules(viewId) {
856
+ // verify the required parameter 'viewId' is set
857
+ if (viewId === undefined || viewId === null) {
858
+ throw 'Missing the required parameter "viewId" when calling getJourneyViewSchedules';
859
+ }
860
+
861
+ return this.apiClient.callApi(
862
+ '/api/v2/journey/views/{viewId}/schedules',
863
+ 'GET',
864
+ { 'viewId': viewId },
865
+ { },
866
+ { },
867
+ { },
868
+ null,
869
+ ['PureCloud OAuth'],
870
+ ['application/json'],
871
+ ['application/json']
872
+ );
873
+ }
874
+
825
875
  /**
826
876
  * Get a Journey View by ID and version
827
877
  *
@@ -1167,6 +1217,31 @@ class JourneyApi {
1167
1217
  );
1168
1218
  }
1169
1219
 
1220
+ /**
1221
+ * Get the journey schedules for an organization.
1222
+ *
1223
+ * @param {Object} opts Optional parameters
1224
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
1225
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
1226
+ */
1227
+ getJourneyViewsSchedules(opts) {
1228
+ opts = opts || {};
1229
+
1230
+
1231
+ return this.apiClient.callApi(
1232
+ '/api/v2/journey/views/schedules',
1233
+ 'GET',
1234
+ { },
1235
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1236
+ { },
1237
+ { },
1238
+ null,
1239
+ ['PureCloud OAuth'],
1240
+ ['application/json'],
1241
+ ['application/json']
1242
+ );
1243
+ }
1244
+
1170
1245
  /**
1171
1246
  * Update single action map.
1172
1247
  *
@@ -1685,6 +1760,36 @@ class JourneyApi {
1685
1760
  );
1686
1761
  }
1687
1762
 
1763
+ /**
1764
+ * Add a new Schedule to a JourneyView
1765
+ *
1766
+ * @param {String} viewId Journey View Id
1767
+ * @param {Object} body journeyViewSchedule
1768
+ */
1769
+ postJourneyViewSchedules(viewId, body) {
1770
+ // verify the required parameter 'viewId' is set
1771
+ if (viewId === undefined || viewId === null) {
1772
+ throw 'Missing the required parameter "viewId" when calling postJourneyViewSchedules';
1773
+ }
1774
+ // verify the required parameter 'body' is set
1775
+ if (body === undefined || body === null) {
1776
+ throw 'Missing the required parameter "body" when calling postJourneyViewSchedules';
1777
+ }
1778
+
1779
+ return this.apiClient.callApi(
1780
+ '/api/v2/journey/views/{viewId}/schedules',
1781
+ 'POST',
1782
+ { 'viewId': viewId },
1783
+ { },
1784
+ { },
1785
+ { },
1786
+ body,
1787
+ ['PureCloud OAuth'],
1788
+ ['application/json'],
1789
+ ['application/json']
1790
+ );
1791
+ }
1792
+
1688
1793
  /**
1689
1794
  * Submit a job request for a journey view version.
1690
1795
  * used for long descriptions
@@ -1794,6 +1899,36 @@ class JourneyApi {
1794
1899
  );
1795
1900
  }
1796
1901
 
1902
+ /**
1903
+ * Update the Schedule for a JourneyView
1904
+ * used for long descriptions
1905
+ * @param {String} viewId Journey View Id
1906
+ * @param {Object} body journeyViewSchedule
1907
+ */
1908
+ putJourneyViewSchedules(viewId, body) {
1909
+ // verify the required parameter 'viewId' is set
1910
+ if (viewId === undefined || viewId === null) {
1911
+ throw 'Missing the required parameter "viewId" when calling putJourneyViewSchedules';
1912
+ }
1913
+ // verify the required parameter 'body' is set
1914
+ if (body === undefined || body === null) {
1915
+ throw 'Missing the required parameter "body" when calling putJourneyViewSchedules';
1916
+ }
1917
+
1918
+ return this.apiClient.callApi(
1919
+ '/api/v2/journey/views/{viewId}/schedules',
1920
+ 'PUT',
1921
+ { 'viewId': viewId },
1922
+ { },
1923
+ { },
1924
+ { },
1925
+ body,
1926
+ ['PureCloud OAuth'],
1927
+ ['application/json'],
1928
+ ['application/json']
1929
+ );
1930
+ }
1931
+
1797
1932
  /**
1798
1933
  * Update a Journey View by ID and version
1799
1934
  * does not create a new version
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -529,8 +529,12 @@ class KnowledgeApi {
529
529
  * Get sync options available for a knowledge-connect integration
530
530
  *
531
531
  * @param {String} integrationId Integration ID
532
+ * @param {Object} opts Optional parameters
533
+ * @param {Array.<String>} opts.knowledgeBaseIds Narrowing down filtering option results by knowledge base.
532
534
  */
533
- getKnowledgeIntegrationOptions(integrationId) {
535
+ getKnowledgeIntegrationOptions(integrationId, opts) {
536
+ opts = opts || {};
537
+
534
538
  // verify the required parameter 'integrationId' is set
535
539
  if (integrationId === undefined || integrationId === null) {
536
540
  throw 'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';
@@ -540,7 +544,7 @@ class KnowledgeApi {
540
544
  '/api/v2/knowledge/integrations/{integrationId}/options',
541
545
  'GET',
542
546
  { 'integrationId': integrationId },
543
- { },
547
+ { 'knowledgeBaseIds': this.apiClient.buildCollectionParam(opts['knowledgeBaseIds'], 'multi') },
544
548
  { },
545
549
  { },
546
550
  null,
@@ -764,6 +768,7 @@ class KnowledgeApi {
764
768
  * @param {String} knowledgeBaseId Globally unique identifier for a knowledge base.
765
769
  * @param {Object} opts Optional parameters
766
770
  * @param {Object} opts.documentState The state of the document.
771
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
767
772
  */
768
773
  getKnowledgeKnowledgebaseDocumentVariation(documentVariationId, documentId, knowledgeBaseId, opts) {
769
774
  opts = opts || {};
@@ -785,7 +790,7 @@ class KnowledgeApi {
785
790
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}',
786
791
  'GET',
787
792
  { 'documentVariationId': documentVariationId,'documentId': documentId,'knowledgeBaseId': knowledgeBaseId },
788
- { 'documentState': opts['documentState'] },
793
+ { 'documentState': opts['documentState'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
789
794
  { },
790
795
  { },
791
796
  null,
@@ -805,6 +810,7 @@ class KnowledgeApi {
805
810
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
806
811
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
807
812
  * @param {Object} opts.documentState The state of the document.
813
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
808
814
  */
809
815
  getKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId, documentId, opts) {
810
816
  opts = opts || {};
@@ -822,7 +828,7 @@ class KnowledgeApi {
822
828
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations',
823
829
  'GET',
824
830
  { 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId },
825
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'documentState': opts['documentState'] },
831
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'documentState': opts['documentState'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
826
832
  { },
827
833
  { },
828
834
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -65,6 +65,57 @@ class OperationalEventsApi {
65
65
  );
66
66
  }
67
67
 
68
+ /**
69
+ * Get aggregates for operational events in a timeframe.
70
+ *
71
+ * @param {Object} opts Optional parameters
72
+ * @param {Object} opts.body
73
+ */
74
+ postUsageEventsAggregatesQuery(opts) {
75
+ opts = opts || {};
76
+
77
+
78
+ return this.apiClient.callApi(
79
+ '/api/v2/usage/events/aggregates/query',
80
+ 'POST',
81
+ { },
82
+ { },
83
+ { },
84
+ { },
85
+ opts['body'],
86
+ ['PureCloud OAuth'],
87
+ ['application/json'],
88
+ ['application/json']
89
+ );
90
+ }
91
+
92
+ /**
93
+ * Query operational events in a timeframe.
94
+ *
95
+ * @param {Object} opts Optional parameters
96
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
97
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
98
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
99
+ * @param {Object} opts.body
100
+ */
101
+ postUsageEventsQuery(opts) {
102
+ opts = opts || {};
103
+
104
+
105
+ return this.apiClient.callApi(
106
+ '/api/v2/usage/events/query',
107
+ 'POST',
108
+ { },
109
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
110
+ { },
111
+ { },
112
+ opts['body'],
113
+ ['PureCloud OAuth'],
114
+ ['application/json'],
115
+ ['application/json']
116
+ );
117
+ }
118
+
68
119
  }
69
120
 
70
121
 
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -290,6 +290,7 @@ class QualityApi {
290
290
  * @param {String} opts.group group id
291
291
  * @param {String} opts.agentTeamId team id of agents requested
292
292
  * @param {String} opts.formContextId shared id between form versions
293
+ * @param {Object} opts.userState 'Legacy' fetches active and inactive users when evaluatorUserId or no user filters are supplied; otherwise fetches active users. 'Any' fetches users of 'active', 'inactive' and 'deleted' states. (default to Legacy)
293
294
  */
294
295
  getQualityAgentsActivity(opts) {
295
296
  opts = opts || {};
@@ -299,7 +300,7 @@ class QualityApi {
299
300
  '/api/v2/quality/agents/activity',
300
301
  'GET',
301
302
  { },
302
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'agentUserId': this.apiClient.buildCollectionParam(opts['agentUserId'], 'multi'),'evaluatorUserId': opts['evaluatorUserId'],'name': opts['name'],'group': opts['group'],'agentTeamId': opts['agentTeamId'],'formContextId': opts['formContextId'] },
303
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'agentUserId': this.apiClient.buildCollectionParam(opts['agentUserId'], 'multi'),'evaluatorUserId': opts['evaluatorUserId'],'name': opts['name'],'group': opts['group'],'agentTeamId': opts['agentTeamId'],'formContextId': opts['formContextId'],'userState': opts['userState'] },
303
304
  { },
304
305
  { },
305
306
  null,
@@ -514,6 +515,7 @@ class QualityApi {
514
515
  * @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
515
516
  * @param {Number} opts.maximum the maximum number of results to return
516
517
  * @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
518
+ * @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
517
519
  */
518
520
  getQualityEvaluationsQuery(opts) {
519
521
  opts = opts || {};
@@ -523,7 +525,7 @@ class QualityApi {
523
525
  '/api/v2/quality/evaluations/query',
524
526
  'GET',
525
527
  { },
526
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'agentTeamId': opts['agentTeamId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'formContextId': opts['formContextId'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
528
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'agentTeamId': opts['agentTeamId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'formContextId': opts['formContextId'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'],'includeDeletedUsers': opts['includeDeletedUsers'] },
527
529
  { },
528
530
  { },
529
531
  null,
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 207.0.0
8
+ * @version 209.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 207.0.0
8
+ * @version 209.0.0
9
9
  */
10
10
 
11
11
  /**