purecloud-platform-client-v2 230.0.0 → 231.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +970 -124
  3. package/dist/web-amd/purecloud-platform-client-v2.js +970 -124
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +365 -138
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +365 -138
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +958 -264
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
  12. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -1
  18. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +67 -2
  28. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
  46. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
  48. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/QualityApi.js +107 -1
  65. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
  66. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RoutingApi.js +17 -7
  68. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -1
  74. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -32
  86. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1293,6 +1293,33 @@ class JourneyApi {
1293
1293
  );
1294
1294
  }
1295
1295
 
1296
+ /**
1297
+ * Get my jobs
1298
+ *
1299
+ * @param {Object} opts Optional parameters
1300
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
1301
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
1302
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
1303
+ * @param {String} opts.statuses Job statuses to filter for
1304
+ */
1305
+ getJourneyViewsJobsMe(opts) {
1306
+ opts = opts || {};
1307
+
1308
+
1309
+ return this.apiClient.callApi(
1310
+ '/api/v2/journey/views/jobs/me',
1311
+ 'GET',
1312
+ { },
1313
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'interval': opts['interval'],'statuses': opts['statuses'] },
1314
+ { },
1315
+ { },
1316
+ null,
1317
+ ['PureCloud OAuth'],
1318
+ ['application/json'],
1319
+ ['application/json']
1320
+ );
1321
+ }
1322
+
1296
1323
  /**
1297
1324
  * Get the journey schedules for an organization.
1298
1325
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -379,6 +379,72 @@ class LanguageUnderstandingApi {
379
379
  );
380
380
  }
381
381
 
382
+ /**
383
+ * Get list of all ignored phrases of the specified language code
384
+ *
385
+ * @param {String} languageCode Language Code
386
+ * @param {Object} opts Optional parameters
387
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
388
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
389
+ * @param {String} opts.text The phrase text filter applied to the listing
390
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
391
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
392
+ */
393
+ getLanguageunderstandingIgnorephrase(languageCode, opts) {
394
+ opts = opts || {};
395
+
396
+ // verify the required parameter 'languageCode' is set
397
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
398
+ throw 'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnorephrase';
399
+ }
400
+
401
+ return this.apiClient.callApi(
402
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}',
403
+ 'GET',
404
+ { 'languageCode': languageCode },
405
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'text': opts['text'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'] },
406
+ { },
407
+ { },
408
+ null,
409
+ ['PureCloud OAuth'],
410
+ ['application/json'],
411
+ ['application/json']
412
+ );
413
+ }
414
+
415
+ /**
416
+ * Get list of all ignored topics of the specified language code
417
+ *
418
+ * @param {String} languageCode Language Code
419
+ * @param {Object} opts Optional parameters
420
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
421
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
422
+ * @param {String} opts.text The topic text filter applied to the listing
423
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
424
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
425
+ */
426
+ getLanguageunderstandingIgnoretopic(languageCode, opts) {
427
+ opts = opts || {};
428
+
429
+ // verify the required parameter 'languageCode' is set
430
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
431
+ throw 'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnoretopic';
432
+ }
433
+
434
+ return this.apiClient.callApi(
435
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}',
436
+ 'GET',
437
+ { 'languageCode': languageCode },
438
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'text': opts['text'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'] },
439
+ { },
440
+ { },
441
+ null,
442
+ ['PureCloud OAuth'],
443
+ ['application/json'],
444
+ ['application/json']
445
+ );
446
+ }
447
+
382
448
  /**
383
449
  * Get information about a miner.
384
450
  *
@@ -913,6 +979,126 @@ class LanguageUnderstandingApi {
913
979
  );
914
980
  }
915
981
 
982
+ /**
983
+ * Add phrases to the ignored phrases list
984
+ *
985
+ * @param {String} languageCode Language Code
986
+ * @param {Object} body Request body containing phrases to be ignored
987
+ */
988
+ postLanguageunderstandingIgnorephrase(languageCode, body) {
989
+ // verify the required parameter 'languageCode' is set
990
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
991
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';
992
+ }
993
+ // verify the required parameter 'body' is set
994
+ if (body === undefined || body === null) {
995
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephrase';
996
+ }
997
+
998
+ return this.apiClient.callApi(
999
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}',
1000
+ 'POST',
1001
+ { 'languageCode': languageCode },
1002
+ { },
1003
+ { },
1004
+ { },
1005
+ body,
1006
+ ['PureCloud OAuth'],
1007
+ ['application/json'],
1008
+ ['application/json']
1009
+ );
1010
+ }
1011
+
1012
+ /**
1013
+ * Delete ignored phrases
1014
+ *
1015
+ * @param {String} languageCode Language Code
1016
+ * @param {Object} body Request body containing entities to be removed
1017
+ */
1018
+ postLanguageunderstandingIgnorephraseRemove(languageCode, body) {
1019
+ // verify the required parameter 'languageCode' is set
1020
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
1021
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';
1022
+ }
1023
+ // verify the required parameter 'body' is set
1024
+ if (body === undefined || body === null) {
1025
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephraseRemove';
1026
+ }
1027
+
1028
+ return this.apiClient.callApi(
1029
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}/remove',
1030
+ 'POST',
1031
+ { 'languageCode': languageCode },
1032
+ { },
1033
+ { },
1034
+ { },
1035
+ body,
1036
+ ['PureCloud OAuth'],
1037
+ ['application/json'],
1038
+ ['application/json']
1039
+ );
1040
+ }
1041
+
1042
+ /**
1043
+ * Add topics to the ignored topics list
1044
+ *
1045
+ * @param {String} languageCode Language Code
1046
+ * @param {Object} body Request body containing topics to be ignored
1047
+ */
1048
+ postLanguageunderstandingIgnoretopic(languageCode, body) {
1049
+ // verify the required parameter 'languageCode' is set
1050
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
1051
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';
1052
+ }
1053
+ // verify the required parameter 'body' is set
1054
+ if (body === undefined || body === null) {
1055
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopic';
1056
+ }
1057
+
1058
+ return this.apiClient.callApi(
1059
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}',
1060
+ 'POST',
1061
+ { 'languageCode': languageCode },
1062
+ { },
1063
+ { },
1064
+ { },
1065
+ body,
1066
+ ['PureCloud OAuth'],
1067
+ ['application/json'],
1068
+ ['application/json']
1069
+ );
1070
+ }
1071
+
1072
+ /**
1073
+ * Delete ignored topics
1074
+ *
1075
+ * @param {String} languageCode Language Code
1076
+ * @param {Object} body Request body containing entities to be removed
1077
+ */
1078
+ postLanguageunderstandingIgnoretopicRemove(languageCode, body) {
1079
+ // verify the required parameter 'languageCode' is set
1080
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
1081
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';
1082
+ }
1083
+ // verify the required parameter 'body' is set
1084
+ if (body === undefined || body === null) {
1085
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopicRemove';
1086
+ }
1087
+
1088
+ return this.apiClient.callApi(
1089
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}/remove',
1090
+ 'POST',
1091
+ { 'languageCode': languageCode },
1092
+ { },
1093
+ { },
1094
+ { },
1095
+ body,
1096
+ ['PureCloud OAuth'],
1097
+ ['application/json'],
1098
+ ['application/json']
1099
+ );
1100
+ }
1101
+
916
1102
  /**
917
1103
  * Create a new draft resource.
918
1104
  *
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1069,6 +1069,59 @@ class QualityApi {
1069
1069
  );
1070
1070
  }
1071
1071
 
1072
+ /**
1073
+ * Get the most recent published version of an evaluation form across any division.
1074
+ *
1075
+ * @param {String} evaluationFormId Evaluation Form ID
1076
+ * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1077
+ */
1078
+ getQualityPublishedformsEvaluationsDivisionview(evaluationFormId) {
1079
+ // verify the required parameter 'evaluationFormId' is set
1080
+ if (evaluationFormId === undefined || evaluationFormId === null || evaluationFormId === '') {
1081
+ throw 'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';
1082
+ }
1083
+
1084
+ return this.apiClient.callApi(
1085
+ '/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}',
1086
+ 'GET',
1087
+ { 'evaluationFormId': evaluationFormId },
1088
+ { },
1089
+ { },
1090
+ { },
1091
+ null,
1092
+ ['PureCloud OAuth'],
1093
+ ['application/json'],
1094
+ ['application/json']
1095
+ );
1096
+ }
1097
+
1098
+ /**
1099
+ * Get the published evaluation forms across any division.
1100
+ *
1101
+ * @param {Object} opts Optional parameters
1102
+ * @param {Number} opts.pageSize Page size (default to 25)
1103
+ * @param {Number} opts.pageNumber Page number (default to 1)
1104
+ * @param {String} opts.name Name
1105
+ * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1106
+ */
1107
+ getQualityPublishedformsEvaluationsDivisionviews(opts) {
1108
+ opts = opts || {};
1109
+
1110
+
1111
+ return this.apiClient.callApi(
1112
+ '/api/v2/quality/publishedforms/evaluations/divisionviews',
1113
+ 'GET',
1114
+ { },
1115
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
1116
+ { },
1117
+ { },
1118
+ null,
1119
+ ['PureCloud OAuth'],
1120
+ ['application/json'],
1121
+ ['application/json']
1122
+ );
1123
+ }
1124
+
1072
1125
  /**
1073
1126
  * Get the most recent published version of a survey form.
1074
1127
  *
@@ -1121,6 +1174,59 @@ class QualityApi {
1121
1174
  );
1122
1175
  }
1123
1176
 
1177
+ /**
1178
+ * Get the most recent published version of an enabled survey form across any division.
1179
+ *
1180
+ * @param {String} surveyFormId Survey Form ID
1181
+ * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1182
+ */
1183
+ getQualityPublishedformsSurveysDivisionview(surveyFormId) {
1184
+ // verify the required parameter 'surveyFormId' is set
1185
+ if (surveyFormId === undefined || surveyFormId === null || surveyFormId === '') {
1186
+ throw 'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';
1187
+ }
1188
+
1189
+ return this.apiClient.callApi(
1190
+ '/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}',
1191
+ 'GET',
1192
+ { 'surveyFormId': surveyFormId },
1193
+ { },
1194
+ { },
1195
+ { },
1196
+ null,
1197
+ ['PureCloud OAuth'],
1198
+ ['application/json'],
1199
+ ['application/json']
1200
+ );
1201
+ }
1202
+
1203
+ /**
1204
+ * Get the published and enabled survey forms across any division.
1205
+ *
1206
+ * @param {Object} opts Optional parameters
1207
+ * @param {Number} opts.pageSize Page size (default to 25)
1208
+ * @param {Number} opts.pageNumber Page number (default to 1)
1209
+ * @param {String} opts.name Name
1210
+ * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1211
+ */
1212
+ getQualityPublishedformsSurveysDivisionviews(opts) {
1213
+ opts = opts || {};
1214
+
1215
+
1216
+ return this.apiClient.callApi(
1217
+ '/api/v2/quality/publishedforms/surveys/divisionviews',
1218
+ 'GET',
1219
+ { },
1220
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
1221
+ { },
1222
+ { },
1223
+ null,
1224
+ ['PureCloud OAuth'],
1225
+ ['application/json'],
1226
+ ['application/json']
1227
+ );
1228
+ }
1229
+
1124
1230
  /**
1125
1231
  * Get a survey for a conversation
1126
1232
  *
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1441,7 +1441,7 @@ class RecordingApi {
1441
1441
 
1442
1442
  /**
1443
1443
  * Execute the recording bulk job.
1444
- * A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
1444
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
1445
1445
  * @param {String} jobId jobId
1446
1446
  * @param {Object} body query
1447
1447
  */
@@ -1501,7 +1501,7 @@ class RecordingApi {
1501
1501
 
1502
1502
  /**
1503
1503
  * Update a media retention policy
1504
- * Policy does not work retroactively
1504
+ * Policy does not work retroactively. In the conditions.forUsers section, each user object can include the id field containing the users unique identifier. Example: [{"id":"<userId>"}].
1505
1505
  * @param {String} policyId Policy ID
1506
1506
  * @param {Object} body Policy
1507
1507
  */
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**