purecloud-platform-client-v2 183.0.0 → 184.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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +669 -88
  3. package/dist/web-amd/purecloud-platform-client-v2.js +669 -88
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +226 -83
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +226 -83
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +266 -21
  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 +109 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +7 -8
  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 +1 -1
  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 +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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 +75 -0
  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 +7 -8
  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 +401 -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 +1 -1
  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/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -531,6 +531,62 @@ class AnalyticsApi {
531
531
  );
532
532
  }
533
533
 
534
+ /**
535
+ * Get status for async query for flow execution aggregates
536
+ *
537
+ * @param {String} jobId jobId
538
+ * getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
539
+ */
540
+ getAnalyticsFlowexecutionsAggregatesJob(jobId) {
541
+ // verify the required parameter 'jobId' is set
542
+ if (jobId === undefined || jobId === null) {
543
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';
544
+ }
545
+
546
+ return this.apiClient.callApi(
547
+ '/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}',
548
+ 'GET',
549
+ { 'jobId': jobId },
550
+ { },
551
+ { },
552
+ { },
553
+ null,
554
+ ['PureCloud OAuth'],
555
+ ['application/json'],
556
+ ['application/json']
557
+ );
558
+ }
559
+
560
+ /**
561
+ * Fetch a page of results for an async aggregates query
562
+ *
563
+ * @param {String} jobId jobId
564
+ * @param {Object} opts Optional parameters
565
+ * @param {String} opts.cursor Cursor token to retrieve next page
566
+ * getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
567
+ */
568
+ getAnalyticsFlowexecutionsAggregatesJobResults(jobId, opts) {
569
+ opts = opts || {};
570
+
571
+ // verify the required parameter 'jobId' is set
572
+ if (jobId === undefined || jobId === null) {
573
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';
574
+ }
575
+
576
+ return this.apiClient.callApi(
577
+ '/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results',
578
+ 'GET',
579
+ { 'jobId': jobId },
580
+ { 'cursor': opts['cursor'] },
581
+ { },
582
+ { },
583
+ null,
584
+ ['PureCloud OAuth'],
585
+ ['application/json'],
586
+ ['application/json']
587
+ );
588
+ }
589
+
534
590
  /**
535
591
  * Get status for async query for Flow aggregates
536
592
  *
@@ -1714,6 +1770,58 @@ class AnalyticsApi {
1714
1770
  );
1715
1771
  }
1716
1772
 
1773
+ /**
1774
+ * Query for flow execution aggregates asynchronously
1775
+ *
1776
+ * @param {Object} body query
1777
+ * postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1778
+ */
1779
+ postAnalyticsFlowexecutionsAggregatesJobs(body) {
1780
+ // verify the required parameter 'body' is set
1781
+ if (body === undefined || body === null) {
1782
+ throw 'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';
1783
+ }
1784
+
1785
+ return this.apiClient.callApi(
1786
+ '/api/v2/analytics/flowexecutions/aggregates/jobs',
1787
+ 'POST',
1788
+ { },
1789
+ { },
1790
+ { },
1791
+ { },
1792
+ body,
1793
+ ['PureCloud OAuth'],
1794
+ ['application/json'],
1795
+ ['application/json']
1796
+ );
1797
+ }
1798
+
1799
+ /**
1800
+ * Query for flow execution aggregates
1801
+ *
1802
+ * @param {Object} body query
1803
+ * postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1804
+ */
1805
+ postAnalyticsFlowexecutionsAggregatesQuery(body) {
1806
+ // verify the required parameter 'body' is set
1807
+ if (body === undefined || body === null) {
1808
+ throw 'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';
1809
+ }
1810
+
1811
+ return this.apiClient.callApi(
1812
+ '/api/v2/analytics/flowexecutions/aggregates/query',
1813
+ 'POST',
1814
+ { },
1815
+ { },
1816
+ { },
1817
+ { },
1818
+ body,
1819
+ ['PureCloud OAuth'],
1820
+ ['application/json'],
1821
+ ['application/json']
1822
+ );
1823
+ }
1824
+
1717
1825
  /**
1718
1826
  * Query for flow activity observations
1719
1827
  *
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -749,17 +749,16 @@ class AuthorizationApi {
749
749
  * Recreate a previously deleted division.
750
750
  *
751
751
  * @param {String} divisionId Division ID
752
- * @param {Object} body Recreated division data
752
+ * @param {Object} opts Optional parameters
753
+ * @param {Object} opts.body Recreated division data
753
754
  */
754
- postAuthorizationDivisionRestore(divisionId, body) {
755
+ postAuthorizationDivisionRestore(divisionId, opts) {
756
+ opts = opts || {};
757
+
755
758
  // verify the required parameter 'divisionId' is set
756
759
  if (divisionId === undefined || divisionId === null) {
757
760
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
758
761
  }
759
- // verify the required parameter 'body' is set
760
- if (body === undefined || body === null) {
761
- throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
762
- }
763
762
 
764
763
  return this.apiClient.callApi(
765
764
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -768,7 +767,7 @@ class AuthorizationApi {
768
767
  { },
769
768
  { },
770
769
  { },
771
- body,
770
+ opts['body'],
772
771
  ['PureCloud OAuth'],
773
772
  ['application/json'],
774
773
  ['application/json']
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -0,0 +1,75 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class LogCaptureApi {
5
+ /**
6
+ * LogCapture service.
7
+ * @module purecloud-platform-client-v2/api/LogCaptureApi
8
+ * @version 184.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new LogCaptureApi.
13
+ * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
14
+ * @class
15
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
17
+ */
18
+ constructor(apiClient) {
19
+ this.apiClient = apiClient || ApiClient.instance;
20
+ }
21
+
22
+
23
+ /**
24
+ * Gets status of async download execution
25
+ *
26
+ * @param {String} jobId Job ID
27
+ */
28
+ getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId) {
29
+ // verify the required parameter 'jobId' is set
30
+ if (jobId === undefined || jobId === null) {
31
+ throw 'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/diagnostics/logcapture/browser/entries/download/jobs/{jobId}',
36
+ 'GET',
37
+ { 'jobId': jobId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
48
+ /**
49
+ * Creates an async download execution
50
+ *
51
+ * @param {Object} opts Optional parameters
52
+ * @param {Object} opts.body
53
+ */
54
+ postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts) {
55
+ opts = opts || {};
56
+
57
+
58
+ return this.apiClient.callApi(
59
+ '/api/v2/diagnostics/logcapture/browser/entries/download/jobs',
60
+ 'POST',
61
+ { },
62
+ { },
63
+ { },
64
+ { },
65
+ opts['body'],
66
+ ['PureCloud OAuth'],
67
+ ['application/json'],
68
+ ['application/json']
69
+ );
70
+ }
71
+
72
+ }
73
+
74
+
75
+ export default LogCaptureApi;
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -189,17 +189,16 @@ class ObjectsApi {
189
189
  * Recreate a previously deleted division.
190
190
  *
191
191
  * @param {String} divisionId Division ID
192
- * @param {Object} body Recreated division data
192
+ * @param {Object} opts Optional parameters
193
+ * @param {Object} opts.body Recreated division data
193
194
  */
194
- postAuthorizationDivisionRestore(divisionId, body) {
195
+ postAuthorizationDivisionRestore(divisionId, opts) {
196
+ opts = opts || {};
197
+
195
198
  // verify the required parameter 'divisionId' is set
196
199
  if (divisionId === undefined || divisionId === null) {
197
200
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
198
201
  }
199
- // verify the required parameter 'body' is set
200
- if (body === undefined || body === null) {
201
- throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
202
- }
203
202
 
204
203
  return this.apiClient.callApi(
205
204
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -208,7 +207,7 @@ class ObjectsApi {
208
207
  { },
209
208
  { },
210
209
  { },
211
- body,
210
+ opts['body'],
212
211
  ['PureCloud OAuth'],
213
212
  ['application/json'],
214
213
  ['application/json']
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**