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.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +669 -88
- package/dist/web-amd/purecloud-platform-client-v2.js +669 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +226 -83
- package/dist/web-cjs/purecloud-platform-client-v2.js +226 -83
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +266 -21
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +109 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +7 -8
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +75 -0
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -8
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +401 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- 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
|
|
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 AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
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}
|
|
752
|
+
* @param {Object} opts Optional parameters
|
|
753
|
+
* @param {Object} opts.body Recreated division data
|
|
753
754
|
*/
|
|
754
|
-
postAuthorizationDivisionRestore(divisionId,
|
|
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']
|
|
@@ -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 ObjectsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Objects service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
8
|
-
* @version
|
|
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}
|
|
192
|
+
* @param {Object} opts Optional parameters
|
|
193
|
+
* @param {Object} opts.body Recreated division data
|
|
193
194
|
*/
|
|
194
|
-
postAuthorizationDivisionRestore(divisionId,
|
|
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']
|