purecloud-platform-client-v2 188.0.1 → 189.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 +1059 -113
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1059 -113
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +340 -115
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +359 -122
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +727 -7
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
  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 +13 -9
  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 +5 -5
  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 +240 -11
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +187 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
  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 +1 -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 +7 -3
  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 +4 -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 -1
  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 +48 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -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 +27 -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 -3
  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 +4 -3
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2154,6 +2154,40 @@ class KnowledgeApi {
2154
2154
  );
2155
2155
  }
2156
2156
 
2157
+ /**
2158
+ * Indicate that the document was copied by the user.
2159
+ *
2160
+ * @param {String} sessionId Knowledge guest session ID.
2161
+ * @param {String} documentId Document ID
2162
+ * @param {Object} opts Optional parameters
2163
+ * @param {Object} opts.body
2164
+ */
2165
+ postKnowledgeGuestSessionDocumentCopies(sessionId, documentId, opts) {
2166
+ opts = opts || {};
2167
+
2168
+ // verify the required parameter 'sessionId' is set
2169
+ if (sessionId === undefined || sessionId === null) {
2170
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';
2171
+ }
2172
+ // verify the required parameter 'documentId' is set
2173
+ if (documentId === undefined || documentId === null) {
2174
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';
2175
+ }
2176
+
2177
+ return this.apiClient.callApi(
2178
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies',
2179
+ 'POST',
2180
+ { 'sessionId': sessionId,'documentId': documentId },
2181
+ { },
2182
+ { },
2183
+ { },
2184
+ opts['body'],
2185
+ ['PureCloud OAuth'],
2186
+ ['application/json'],
2187
+ ['application/json']
2188
+ );
2189
+ }
2190
+
2157
2191
  /**
2158
2192
  * Give feedback on a document
2159
2193
  *
@@ -2188,6 +2222,69 @@ class KnowledgeApi {
2188
2222
  );
2189
2223
  }
2190
2224
 
2225
+ /**
2226
+ * Create view event for a document.
2227
+ *
2228
+ * @param {String} sessionId Knowledge guest session ID.
2229
+ * @param {String} documentId Document ID
2230
+ * @param {Object} opts Optional parameters
2231
+ * @param {Object} opts.body
2232
+ */
2233
+ postKnowledgeGuestSessionDocumentViews(sessionId, documentId, opts) {
2234
+ opts = opts || {};
2235
+
2236
+ // verify the required parameter 'sessionId' is set
2237
+ if (sessionId === undefined || sessionId === null) {
2238
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';
2239
+ }
2240
+ // verify the required parameter 'documentId' is set
2241
+ if (documentId === undefined || documentId === null) {
2242
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';
2243
+ }
2244
+
2245
+ return this.apiClient.callApi(
2246
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views',
2247
+ 'POST',
2248
+ { 'sessionId': sessionId,'documentId': documentId },
2249
+ { },
2250
+ { },
2251
+ { },
2252
+ opts['body'],
2253
+ ['PureCloud OAuth'],
2254
+ ['application/json'],
2255
+ ['application/json']
2256
+ );
2257
+ }
2258
+
2259
+ /**
2260
+ * Indicate that documents were presented to the user.
2261
+ *
2262
+ * @param {String} sessionId Knowledge guest session ID.
2263
+ * @param {Object} opts Optional parameters
2264
+ * @param {Object} opts.body
2265
+ */
2266
+ postKnowledgeGuestSessionDocumentsPresentations(sessionId, opts) {
2267
+ opts = opts || {};
2268
+
2269
+ // verify the required parameter 'sessionId' is set
2270
+ if (sessionId === undefined || sessionId === null) {
2271
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';
2272
+ }
2273
+
2274
+ return this.apiClient.callApi(
2275
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations',
2276
+ 'POST',
2277
+ { 'sessionId': sessionId },
2278
+ { },
2279
+ { },
2280
+ { },
2281
+ opts['body'],
2282
+ ['PureCloud OAuth'],
2283
+ ['application/json'],
2284
+ ['application/json']
2285
+ );
2286
+ }
2287
+
2191
2288
  /**
2192
2289
  * Search the documents in a guest session.
2193
2290
  *
@@ -2302,6 +2399,40 @@ class KnowledgeApi {
2302
2399
  );
2303
2400
  }
2304
2401
 
2402
+ /**
2403
+ * Indicate that the document was copied by the user.
2404
+ *
2405
+ * @param {String} knowledgeBaseId Knowledge base ID.
2406
+ * @param {String} documentId Document ID.
2407
+ * @param {Object} opts Optional parameters
2408
+ * @param {Object} opts.body
2409
+ */
2410
+ postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId, documentId, opts) {
2411
+ opts = opts || {};
2412
+
2413
+ // verify the required parameter 'knowledgeBaseId' is set
2414
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
2415
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';
2416
+ }
2417
+ // verify the required parameter 'documentId' is set
2418
+ if (documentId === undefined || documentId === null) {
2419
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';
2420
+ }
2421
+
2422
+ return this.apiClient.callApi(
2423
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies',
2424
+ 'POST',
2425
+ { 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId },
2426
+ { },
2427
+ { },
2428
+ { },
2429
+ opts['body'],
2430
+ ['PureCloud OAuth'],
2431
+ ['application/json'],
2432
+ ['application/json']
2433
+ );
2434
+ }
2435
+
2305
2436
  /**
2306
2437
  * Give feedback on a document
2307
2438
  *
@@ -2532,6 +2663,35 @@ class KnowledgeApi {
2532
2663
  );
2533
2664
  }
2534
2665
 
2666
+ /**
2667
+ * Indicate that documents were presented to the user.
2668
+ *
2669
+ * @param {String} knowledgeBaseId Knowledge base ID.
2670
+ * @param {Object} opts Optional parameters
2671
+ * @param {Object} opts.body
2672
+ */
2673
+ postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId, opts) {
2674
+ opts = opts || {};
2675
+
2676
+ // verify the required parameter 'knowledgeBaseId' is set
2677
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
2678
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';
2679
+ }
2680
+
2681
+ return this.apiClient.callApi(
2682
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations',
2683
+ 'POST',
2684
+ { 'knowledgeBaseId': knowledgeBaseId },
2685
+ { },
2686
+ { },
2687
+ { },
2688
+ opts['body'],
2689
+ ['PureCloud OAuth'],
2690
+ ['application/json'],
2691
+ ['application/json']
2692
+ );
2693
+ }
2694
+
2535
2695
  /**
2536
2696
  * Search the documents in a knowledge base.
2537
2697
  *
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -3036,8 +3036,12 @@ class OutboundApi {
3036
3036
  * Initiate the export of a contact list.
3037
3037
  * Returns 200 if received OK.
3038
3038
  * @param {String} contactListId ContactList ID
3039
+ * @param {Object} opts Optional parameters
3040
+ * @param {Object} opts.body Export information to get
3039
3041
  */
3040
- postOutboundContactlistExport(contactListId) {
3042
+ postOutboundContactlistExport(contactListId, opts) {
3043
+ opts = opts || {};
3044
+
3041
3045
  // verify the required parameter 'contactListId' is set
3042
3046
  if (contactListId === undefined || contactListId === null) {
3043
3047
  throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';
@@ -3050,7 +3054,7 @@ class OutboundApi {
3050
3054
  { },
3051
3055
  { },
3052
3056
  { },
3053
- null,
3057
+ opts['body'],
3054
3058
  ['PureCloud OAuth'],
3055
3059
  ['application/json'],
3056
3060
  ['application/json']
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -628,7 +628,7 @@ class QualityApi {
628
628
  }
629
629
 
630
630
  /**
631
- * Get the list of evaluation forms
631
+ * Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
632
632
  *
633
633
  * @param {Object} opts Optional parameters
634
634
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -717,7 +717,7 @@ class QualityApi {
717
717
 
718
718
  /**
719
719
  * Get the list of evaluation forms
720
- * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
720
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
721
721
  * @param {Object} opts Optional parameters
722
722
  * @param {Number} opts.pageSize The total page size requested (default to 25)
723
723
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -827,7 +827,7 @@ class QualityApi {
827
827
  }
828
828
 
829
829
  /**
830
- * Get the list of survey forms
830
+ * Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
831
831
  *
832
832
  * @param {Object} opts Optional parameters
833
833
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.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 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -40,6 +40,27 @@ class SettingsApi {
40
40
  );
41
41
  }
42
42
 
43
+ /**
44
+ * Get the execution history enabled setting.
45
+ * Get the execution history enabled setting.
46
+ * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
47
+ */
48
+ getSettingsExecutiondata() {
49
+
50
+ return this.apiClient.callApi(
51
+ '/api/v2/settings/executiondata',
52
+ 'GET',
53
+ { },
54
+ { },
55
+ { },
56
+ { },
57
+ null,
58
+ ['PureCloud OAuth'],
59
+ ['application/json'],
60
+ ['application/json']
61
+ );
62
+ }
63
+
43
64
  /**
44
65
  * Patch email Contact Center settings
45
66
  *
@@ -64,6 +85,32 @@ class SettingsApi {
64
85
  );
65
86
  }
66
87
 
88
+ /**
89
+ * Edit the execution history on off setting.
90
+ * Edit the execution history on off setting.
91
+ * @param {Object} body New Execution Data Setting
92
+ * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
93
+ */
94
+ patchSettingsExecutiondata(body) {
95
+ // verify the required parameter 'body' is set
96
+ if (body === undefined || body === null) {
97
+ throw 'Missing the required parameter "body" when calling patchSettingsExecutiondata';
98
+ }
99
+
100
+ return this.apiClient.callApi(
101
+ '/api/v2/settings/executiondata',
102
+ 'PATCH',
103
+ { },
104
+ { },
105
+ { },
106
+ { },
107
+ body,
108
+ ['PureCloud OAuth'],
109
+ ['application/json'],
110
+ ['application/json']
111
+ );
112
+ }
113
+
67
114
  }
68
115
 
69
116
 
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -669,6 +669,32 @@ class TaskManagementApi {
669
669
  );
670
670
  }
671
671
 
672
+ /**
673
+ * Get list of statuses for this worktype.
674
+ *
675
+ * @param {String} worktypeId Worktype id
676
+ * getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
677
+ */
678
+ getTaskmanagementWorktypeStatuses(worktypeId) {
679
+ // verify the required parameter 'worktypeId' is set
680
+ if (worktypeId === undefined || worktypeId === null) {
681
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
682
+ }
683
+
684
+ return this.apiClient.callApi(
685
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
686
+ 'GET',
687
+ { 'worktypeId': worktypeId },
688
+ { },
689
+ { },
690
+ { },
691
+ null,
692
+ ['PureCloud OAuth'],
693
+ ['application/json'],
694
+ ['application/json']
695
+ );
696
+ }
697
+
672
698
  /**
673
699
  * Get a version of a worktype
674
700
  *
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 188.0.1
8
+ * @version 189.0.0
9
9
  */
10
10
 
11
11
  /**