purecloud-platform-client-v2 169.0.0 → 170.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 +6 -4
- package/dist/node/purecloud-platform-client-v2.js +25367 -20288
- package/dist/web-amd/purecloud-platform-client-v2.js +25367 -20288
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +25367 -20288
- package/dist/web-cjs/purecloud-platform-client-v2.js +25367 -20288
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +2519 -31
- 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 +1418 -227
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +142 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -3
- 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 +4 -4
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +6 -4
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +526 -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/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 +114 -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 +114 -4
- 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 +363 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +224 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +200 -22
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +5 -5
- 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/MessagingApi.js +6 -6
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +53 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +189 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +174 -10
- 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 +199 -6
- 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 +80 -2
- 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 +1286 -0
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +34 -3
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +47 -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 +172 -7
- 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 +6 -6
- 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 +6 -6
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 170.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1772,6 +1772,87 @@ class ArchitectApi {
|
|
|
1772
1772
|
);
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
+
/**
|
|
1776
|
+
* Start a process (job) to prepare a download of a singular flow execution data instance by Id
|
|
1777
|
+
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
1778
|
+
* @param {String} instanceId Instance ID
|
|
1779
|
+
* @param {Object} opts Optional parameters
|
|
1780
|
+
* @param {Object} opts.expand Expand various details.
|
|
1781
|
+
* getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1782
|
+
*/
|
|
1783
|
+
getFlowsInstance(instanceId, opts) {
|
|
1784
|
+
opts = opts || {};
|
|
1785
|
+
|
|
1786
|
+
// verify the required parameter 'instanceId' is set
|
|
1787
|
+
if (instanceId === undefined || instanceId === null) {
|
|
1788
|
+
throw 'Missing the required parameter "instanceId" when calling getFlowsInstance';
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
return this.apiClient.callApi(
|
|
1792
|
+
'/api/v2/flows/instances/{instanceId}',
|
|
1793
|
+
'GET',
|
|
1794
|
+
{ 'instanceId': instanceId },
|
|
1795
|
+
{ 'expand': opts['expand'] },
|
|
1796
|
+
{ },
|
|
1797
|
+
{ },
|
|
1798
|
+
null,
|
|
1799
|
+
['PureCloud OAuth'],
|
|
1800
|
+
['application/json'],
|
|
1801
|
+
['application/json']
|
|
1802
|
+
);
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* Get the status and/or results of an asynchronous flow execution data retrieval job
|
|
1807
|
+
*
|
|
1808
|
+
* @param {String} jobId The asynchronous job ID
|
|
1809
|
+
* getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1810
|
+
*/
|
|
1811
|
+
getFlowsInstancesJob(jobId) {
|
|
1812
|
+
// verify the required parameter 'jobId' is set
|
|
1813
|
+
if (jobId === undefined || jobId === null) {
|
|
1814
|
+
throw 'Missing the required parameter "jobId" when calling getFlowsInstancesJob';
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
return this.apiClient.callApi(
|
|
1818
|
+
'/api/v2/flows/instances/jobs/{jobId}',
|
|
1819
|
+
'GET',
|
|
1820
|
+
{ 'jobId': jobId },
|
|
1821
|
+
{ },
|
|
1822
|
+
{ },
|
|
1823
|
+
{ },
|
|
1824
|
+
null,
|
|
1825
|
+
['PureCloud OAuth'],
|
|
1826
|
+
['application/json'],
|
|
1827
|
+
['application/json']
|
|
1828
|
+
);
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Retrieve a list of capabilities that the org can use to query for execution data
|
|
1833
|
+
* Returns the queryable parameters that can be used to build a query for execution data.
|
|
1834
|
+
* @param {Object} opts Optional parameters
|
|
1835
|
+
* @param {Object} opts.expand Expand various query types.
|
|
1836
|
+
* getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1837
|
+
*/
|
|
1838
|
+
getFlowsInstancesQuerycapabilities(opts) {
|
|
1839
|
+
opts = opts || {};
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
return this.apiClient.callApi(
|
|
1843
|
+
'/api/v2/flows/instances/querycapabilities',
|
|
1844
|
+
'GET',
|
|
1845
|
+
{ },
|
|
1846
|
+
{ 'expand': opts['expand'] },
|
|
1847
|
+
{ },
|
|
1848
|
+
{ },
|
|
1849
|
+
null,
|
|
1850
|
+
['PureCloud OAuth'],
|
|
1851
|
+
['application/json'],
|
|
1852
|
+
['application/json']
|
|
1853
|
+
);
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1775
1856
|
/**
|
|
1776
1857
|
* Fetch Architect Job Status
|
|
1777
1858
|
*
|
|
@@ -2603,6 +2684,66 @@ class ArchitectApi {
|
|
|
2603
2684
|
);
|
|
2604
2685
|
}
|
|
2605
2686
|
|
|
2687
|
+
/**
|
|
2688
|
+
* Start a process (job) that will prepare a list of execution data IDs for download.
|
|
2689
|
+
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
2690
|
+
* @param {Object} body Requested Flow Ids
|
|
2691
|
+
* @param {Object} opts Optional parameters
|
|
2692
|
+
* @param {Object} opts.expand Expand various query types.
|
|
2693
|
+
* postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2694
|
+
*/
|
|
2695
|
+
postFlowsInstancesJobs(body, opts) {
|
|
2696
|
+
opts = opts || {};
|
|
2697
|
+
|
|
2698
|
+
// verify the required parameter 'body' is set
|
|
2699
|
+
if (body === undefined || body === null) {
|
|
2700
|
+
throw 'Missing the required parameter "body" when calling postFlowsInstancesJobs';
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
return this.apiClient.callApi(
|
|
2704
|
+
'/api/v2/flows/instances/jobs',
|
|
2705
|
+
'POST',
|
|
2706
|
+
{ },
|
|
2707
|
+
{ 'expand': opts['expand'] },
|
|
2708
|
+
{ },
|
|
2709
|
+
{ },
|
|
2710
|
+
body,
|
|
2711
|
+
['PureCloud OAuth'],
|
|
2712
|
+
['application/json'],
|
|
2713
|
+
['application/json']
|
|
2714
|
+
);
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* Query the database of existing flow histories to look for particular flow criteria
|
|
2719
|
+
* Returns a list of matching flow histories up to 200 max.
|
|
2720
|
+
* @param {Object} body query
|
|
2721
|
+
* @param {Object} opts Optional parameters
|
|
2722
|
+
* @param {Boolean} opts.indexOnly indexes only
|
|
2723
|
+
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2724
|
+
*/
|
|
2725
|
+
postFlowsInstancesQuery(body, opts) {
|
|
2726
|
+
opts = opts || {};
|
|
2727
|
+
|
|
2728
|
+
// verify the required parameter 'body' is set
|
|
2729
|
+
if (body === undefined || body === null) {
|
|
2730
|
+
throw 'Missing the required parameter "body" when calling postFlowsInstancesQuery';
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
return this.apiClient.callApi(
|
|
2734
|
+
'/api/v2/flows/instances/query',
|
|
2735
|
+
'POST',
|
|
2736
|
+
{ },
|
|
2737
|
+
{ 'indexOnly': opts['indexOnly'] },
|
|
2738
|
+
{ },
|
|
2739
|
+
{ },
|
|
2740
|
+
body,
|
|
2741
|
+
['PureCloud OAuth'],
|
|
2742
|
+
['application/json'],
|
|
2743
|
+
['application/json']
|
|
2744
|
+
);
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2606
2747
|
/**
|
|
2607
2748
|
* Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
|
|
2608
2749
|
*
|
|
@@ -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 170.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -246,7 +246,7 @@ class AuthorizationApi {
|
|
|
246
246
|
* @param {String} permission The permission string, including the object to access, e.g. routing:queue:view
|
|
247
247
|
* @param {Object} opts Optional parameters
|
|
248
248
|
* @param {String} opts.name Search term to filter by division name
|
|
249
|
-
|
|
249
|
+
* @deprecated
|
|
250
250
|
*/
|
|
251
251
|
getAuthorizationDivisionspermittedMe(permission, opts) {
|
|
252
252
|
opts = opts || {};
|
|
@@ -308,7 +308,7 @@ class AuthorizationApi {
|
|
|
308
308
|
* @param {Object} opts Optional parameters
|
|
309
309
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
310
310
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
311
|
-
|
|
311
|
+
* @deprecated
|
|
312
312
|
*/
|
|
313
313
|
getAuthorizationDivisionspermittedPagedSubjectId(subjectId, permission, opts) {
|
|
314
314
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class ChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Chat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 170.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -23,7 +23,7 @@ class ChatApi {
|
|
|
23
23
|
/**
|
|
24
24
|
* Get Chat Settings.
|
|
25
25
|
* This route is deprecated, please use /chats/settings instead
|
|
26
|
-
|
|
26
|
+
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
getChatSettings() {
|
|
29
29
|
|
|
@@ -65,7 +65,7 @@ class ChatApi {
|
|
|
65
65
|
* Patch Chat Settings.
|
|
66
66
|
* This route is deprecated, please use /chats/settings instead
|
|
67
67
|
* @param {Object} body Chat
|
|
68
|
-
|
|
68
|
+
* @deprecated
|
|
69
69
|
*/
|
|
70
70
|
patchChatSettings(body) {
|
|
71
71
|
// verify the required parameter 'body' is set
|
|
@@ -116,7 +116,7 @@ class ChatApi {
|
|
|
116
116
|
* Update Chat Settings.
|
|
117
117
|
* This route is deprecated, please use /chats/settings instead
|
|
118
118
|
* @param {Object} body Chat
|
|
119
|
-
|
|
119
|
+
* @deprecated
|
|
120
120
|
*/
|
|
121
121
|
putChatSettings(body) {
|
|
122
122
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class ContentManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ContentManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 170.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -219,7 +219,7 @@ class ContentManagementApi {
|
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Get a list of audits for a document.
|
|
222
|
-
*
|
|
222
|
+
* This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
|
|
223
223
|
* @param {String} documentId Document ID
|
|
224
224
|
* @param {Object} opts Optional parameters
|
|
225
225
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -228,6 +228,7 @@ class ContentManagementApi {
|
|
|
228
228
|
* @param {String} opts.level level (default to USER)
|
|
229
229
|
* @param {String} opts.sortBy Sort by
|
|
230
230
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
231
|
+
* @deprecated
|
|
231
232
|
*/
|
|
232
233
|
getContentmanagementDocumentAudits(documentId, opts) {
|
|
233
234
|
opts = opts || {};
|
|
@@ -292,7 +293,7 @@ class ContentManagementApi {
|
|
|
292
293
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
293
294
|
* @param {String} opts.sortBy name or dateCreated
|
|
294
295
|
* @param {String} opts.sortOrder ascending or descending (default to ascending)
|
|
295
|
-
|
|
296
|
+
* @deprecated
|
|
296
297
|
*/
|
|
297
298
|
getContentmanagementDocuments(workspaceId, opts) {
|
|
298
299
|
opts = opts || {};
|
|
@@ -774,8 +775,9 @@ class ContentManagementApi {
|
|
|
774
775
|
|
|
775
776
|
/**
|
|
776
777
|
* Query audits
|
|
777
|
-
*
|
|
778
|
+
* This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
|
|
778
779
|
* @param {Object} body Allows for a filtered query returning facet information
|
|
780
|
+
* @deprecated
|
|
779
781
|
*/
|
|
780
782
|
postContentmanagementAuditquery(body) {
|
|
781
783
|
// verify the required parameter 'body' is set
|