purecloud-platform-client-v2 194.0.0 → 196.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +618 -119
  3. package/dist/web-amd/purecloud-platform-client-v2.js +618 -119
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +215 -99
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +219 -100
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +644 -516
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
  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/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -32
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +29 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +174 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -7
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +165 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "194.0.0",
3
+ "version": "196.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",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 194.0.0
7
+ * @version 196.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -1079,6 +1079,9 @@ class ApiClient {
1079
1079
  if (param instanceof Date) {
1080
1080
  return param.toJSON();
1081
1081
  }
1082
+ if (param instanceof Boolean) {
1083
+ return param.toString().toLowerCase();
1084
+ }
1082
1085
  return param.toString();
1083
1086
  }
1084
1087
 
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -126,6 +126,62 @@ class AnalyticsApi {
126
126
  );
127
127
  }
128
128
 
129
+ /**
130
+ * Get status for async query for agent copilot aggregates
131
+ *
132
+ * @param {String} jobId jobId
133
+ * getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
134
+ */
135
+ getAnalyticsAgentcopilotsAggregatesJob(jobId) {
136
+ // verify the required parameter 'jobId' is set
137
+ if (jobId === undefined || jobId === null) {
138
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';
139
+ }
140
+
141
+ return this.apiClient.callApi(
142
+ '/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}',
143
+ 'GET',
144
+ { 'jobId': jobId },
145
+ { },
146
+ { },
147
+ { },
148
+ null,
149
+ ['PureCloud OAuth'],
150
+ ['application/json'],
151
+ ['application/json']
152
+ );
153
+ }
154
+
155
+ /**
156
+ * Fetch a page of results for an async aggregates query
157
+ *
158
+ * @param {String} jobId jobId
159
+ * @param {Object} opts Optional parameters
160
+ * @param {String} opts.cursor Cursor token to retrieve next page
161
+ * getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
162
+ */
163
+ getAnalyticsAgentcopilotsAggregatesJobResults(jobId, opts) {
164
+ opts = opts || {};
165
+
166
+ // verify the required parameter 'jobId' is set
167
+ if (jobId === undefined || jobId === null) {
168
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';
169
+ }
170
+
171
+ return this.apiClient.callApi(
172
+ '/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results',
173
+ 'GET',
174
+ { 'jobId': jobId },
175
+ { 'cursor': opts['cursor'] },
176
+ { },
177
+ { },
178
+ null,
179
+ ['PureCloud OAuth'],
180
+ ['application/json'],
181
+ ['application/json']
182
+ );
183
+ }
184
+
129
185
  /**
130
186
  * Get Reporting Turns (division aware).
131
187
  * Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
@@ -884,6 +940,42 @@ class AnalyticsApi {
884
940
  );
885
941
  }
886
942
 
943
+ /**
944
+ * Get list of dashboard configurations
945
+ *
946
+ * @param {Object} dashboardType List dashboard of given type
947
+ * @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
948
+ * @param {Object} opts Optional parameters
949
+ * @param {String} opts.sortBy (default to desc)
950
+ * @param {Number} opts.pageNumber (default to 1)
951
+ * @param {Number} opts.pageSize (default to 9)
952
+ */
953
+ getAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, opts) {
954
+ opts = opts || {};
955
+
956
+ // verify the required parameter 'dashboardType' is set
957
+ if (dashboardType === undefined || dashboardType === null) {
958
+ throw 'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';
959
+ }
960
+ // verify the required parameter 'dashboardAccessFilter' is set
961
+ if (dashboardAccessFilter === undefined || dashboardAccessFilter === null) {
962
+ throw 'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';
963
+ }
964
+
965
+ return this.apiClient.callApi(
966
+ '/api/v2/analytics/reporting/settings/dashboards/query',
967
+ 'GET',
968
+ { },
969
+ { 'dashboardType': dashboardType,'dashboardAccessFilter': dashboardAccessFilter,'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
970
+ { },
971
+ { },
972
+ null,
973
+ ['PureCloud OAuth'],
974
+ ['application/json'],
975
+ ['application/json']
976
+ );
977
+ }
978
+
887
979
  /**
888
980
  * Get list of dashboards for an user
889
981
  *
@@ -1349,6 +1441,58 @@ class AnalyticsApi {
1349
1441
  );
1350
1442
  }
1351
1443
 
1444
+ /**
1445
+ * Query for agent copilot aggregates asynchronously
1446
+ *
1447
+ * @param {Object} body query
1448
+ * postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1449
+ */
1450
+ postAnalyticsAgentcopilotsAggregatesJobs(body) {
1451
+ // verify the required parameter 'body' is set
1452
+ if (body === undefined || body === null) {
1453
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';
1454
+ }
1455
+
1456
+ return this.apiClient.callApi(
1457
+ '/api/v2/analytics/agentcopilots/aggregates/jobs',
1458
+ 'POST',
1459
+ { },
1460
+ { },
1461
+ { },
1462
+ { },
1463
+ body,
1464
+ ['PureCloud OAuth'],
1465
+ ['application/json'],
1466
+ ['application/json']
1467
+ );
1468
+ }
1469
+
1470
+ /**
1471
+ * Query for agent copilot aggregates
1472
+ *
1473
+ * @param {Object} body query
1474
+ * postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1475
+ */
1476
+ postAnalyticsAgentcopilotsAggregatesQuery(body) {
1477
+ // verify the required parameter 'body' is set
1478
+ if (body === undefined || body === null) {
1479
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';
1480
+ }
1481
+
1482
+ return this.apiClient.callApi(
1483
+ '/api/v2/analytics/agentcopilots/aggregates/query',
1484
+ 'POST',
1485
+ { },
1486
+ { },
1487
+ { },
1488
+ { },
1489
+ body,
1490
+ ['PureCloud OAuth'],
1491
+ ['application/json'],
1492
+ ['application/json']
1493
+ );
1494
+ }
1495
+
1352
1496
  /**
1353
1497
  * Query for bot aggregates asynchronously
1354
1498
  *
@@ -1922,8 +2066,8 @@ class AnalyticsApi {
1922
2066
  }
1923
2067
 
1924
2068
  /**
1925
- * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
1926
- *
2069
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
2070
+ * The max property can be used to determine estimated rate limit value hit.
1927
2071
  * @param {Object} body query
1928
2072
  */
1929
2073
  postAnalyticsRatelimitsAggregatesQuery(body) {
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2413,37 +2413,6 @@ class ConversationsApi {
2413
2413
  );
2414
2414
  }
2415
2415
 
2416
- /**
2417
- * Get a list of Messaging Stickers (Deprecated)
2418
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
2419
- * @param {Object} messengerType Messenger Type
2420
- * @param {Object} opts Optional parameters
2421
- * @param {Number} opts.pageSize Page size (default to 25)
2422
- * @param {Number} opts.pageNumber Page number (default to 1)
2423
- * @deprecated
2424
- */
2425
- getConversationsMessagingSticker(messengerType, opts) {
2426
- opts = opts || {};
2427
-
2428
- // verify the required parameter 'messengerType' is set
2429
- if (messengerType === undefined || messengerType === null) {
2430
- throw 'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';
2431
- }
2432
-
2433
- return this.apiClient.callApi(
2434
- '/api/v2/conversations/messaging/stickers/{messengerType}',
2435
- 'GET',
2436
- { 'messengerType': messengerType },
2437
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
2438
- { },
2439
- { },
2440
- null,
2441
- ['PureCloud OAuth'],
2442
- ['application/json'],
2443
- ['application/json']
2444
- );
2445
- }
2446
-
2447
2416
  /**
2448
2417
  * Get a list of Supported Content profiles
2449
2418
  *
@@ -5546,6 +5515,31 @@ class ConversationsApi {
5546
5515
  );
5547
5516
  }
5548
5517
 
5518
+ /**
5519
+ * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
5520
+ *
5521
+ * @param {String} conversationId conversationId
5522
+ */
5523
+ postConversationsEmailReconnect(conversationId) {
5524
+ // verify the required parameter 'conversationId' is set
5525
+ if (conversationId === undefined || conversationId === null) {
5526
+ throw 'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';
5527
+ }
5528
+
5529
+ return this.apiClient.callApi(
5530
+ '/api/v2/conversations/emails/{conversationId}/reconnect',
5531
+ 'POST',
5532
+ { 'conversationId': conversationId },
5533
+ { },
5534
+ { },
5535
+ { },
5536
+ null,
5537
+ ['PureCloud OAuth'],
5538
+ ['application/json'],
5539
+ ['application/json']
5540
+ );
5541
+ }
5542
+
5549
5543
  /**
5550
5544
  * Create an email conversation
5551
5545
  * If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1026,6 +1026,34 @@ class JourneyApi {
1026
1026
  );
1027
1027
  }
1028
1028
 
1029
+ /**
1030
+ * Get the jobs for an organization.
1031
+ *
1032
+ * @param {Object} opts Optional parameters
1033
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
1034
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
1035
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
1036
+ * @param {String} opts.statuses Job statuses to filter for
1037
+ * getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1038
+ */
1039
+ getJourneyViewsJobs(opts) {
1040
+ opts = opts || {};
1041
+
1042
+
1043
+ return this.apiClient.callApi(
1044
+ '/api/v2/journey/views/jobs',
1045
+ 'GET',
1046
+ { },
1047
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'interval': opts['interval'],'statuses': opts['statuses'] },
1048
+ { },
1049
+ { },
1050
+ null,
1051
+ ['PureCloud OAuth'],
1052
+ ['application/json'],
1053
+ ['application/json']
1054
+ );
1055
+ }
1056
+
1029
1057
  /**
1030
1058
  * Update single action map.
1031
1059
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1359,6 +1359,7 @@ class KnowledgeApi {
1359
1359
  * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
1360
1360
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
1361
1361
  * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
1362
+ * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
1362
1363
  * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1363
1364
  */
1364
1365
  getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
@@ -1373,7 +1374,7 @@ class KnowledgeApi {
1373
1374
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations',
1374
1375
  'GET',
1375
1376
  { 'knowledgeBaseId': knowledgeBaseId },
1376
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'] },
1377
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'],'sourceId': this.apiClient.buildCollectionParam(opts['sourceId'], 'multi') },
1377
1378
  { },
1378
1379
  { },
1379
1380
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 194.0.0
8
+ * @version 196.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 194.0.0
8
+ * @version 196.0.0
9
9
  */
10
10
 
11
11
  /**