purecloud-platform-client-v2 186.0.1 → 187.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 +717 -168
- package/dist/web-amd/purecloud-platform-client-v2.js +717 -168
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +271 -134
- package/dist/web-cjs/purecloud-platform-client-v2.js +271 -134
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +520 -94
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +25 -7
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- 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 -22
- 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 +38 -3
- 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 +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -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 +1 -1
- 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 +1 -1
- 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 +186 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- 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/ScreenRecordingApi.js +50 -0
- 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 -27
- 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 +32 -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 PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -71,9 +71,10 @@ class PresenceApi {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Delete a Presence Definition
|
|
74
|
+
* Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
|
|
75
75
|
*
|
|
76
76
|
* @param {String} presenceId Organization Presence ID
|
|
77
|
+
* @deprecated
|
|
77
78
|
*/
|
|
78
79
|
deletePresencedefinition(presenceId) {
|
|
79
80
|
// verify the required parameter 'presenceId' is set
|
|
@@ -245,11 +246,12 @@ class PresenceApi {
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
/**
|
|
248
|
-
* Get a Presence Definition
|
|
249
|
+
* Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
|
|
249
250
|
*
|
|
250
251
|
* @param {String} presenceId Organization Presence ID
|
|
251
252
|
* @param {Object} opts Optional parameters
|
|
252
253
|
* @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
254
|
+
* @deprecated
|
|
253
255
|
*/
|
|
254
256
|
getPresencedefinition(presenceId, opts) {
|
|
255
257
|
opts = opts || {};
|
|
@@ -274,13 +276,14 @@ class PresenceApi {
|
|
|
274
276
|
}
|
|
275
277
|
|
|
276
278
|
/**
|
|
277
|
-
* Get an Organization's list of Presence Definitions
|
|
279
|
+
* Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
|
|
278
280
|
*
|
|
279
281
|
* @param {Object} opts Optional parameters
|
|
280
282
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
281
283
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
282
284
|
* @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
|
|
283
285
|
* @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
|
|
286
|
+
* @deprecated
|
|
284
287
|
*/
|
|
285
288
|
getPresencedefinitions(opts) {
|
|
286
289
|
opts = opts || {};
|
|
@@ -544,9 +547,10 @@ class PresenceApi {
|
|
|
544
547
|
}
|
|
545
548
|
|
|
546
549
|
/**
|
|
547
|
-
* Create a Presence Definition
|
|
550
|
+
* Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
|
|
548
551
|
*
|
|
549
552
|
* @param {Object} body The Presence Definition to create
|
|
553
|
+
* @deprecated
|
|
550
554
|
*/
|
|
551
555
|
postPresencedefinitions(body) {
|
|
552
556
|
// verify the required parameter 'body' is set
|
|
@@ -684,10 +688,11 @@ class PresenceApi {
|
|
|
684
688
|
}
|
|
685
689
|
|
|
686
690
|
/**
|
|
687
|
-
* Update a Presence Definition
|
|
691
|
+
* Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
|
|
688
692
|
*
|
|
689
693
|
* @param {String} presenceId Organization Presence ID
|
|
690
694
|
* @param {Object} body The OrganizationPresence to update
|
|
695
|
+
* @deprecated
|
|
691
696
|
*/
|
|
692
697
|
putPresencedefinition(presenceId, body) {
|
|
693
698
|
// verify the required parameter 'presenceId' is set
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ScreenRecordingApi {
|
|
5
|
+
/**
|
|
6
|
+
* ScreenRecording service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
8
|
+
* @version 187.0.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new ScreenRecordingApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
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
|
+
* Sign identifying information for screen recording
|
|
25
|
+
*
|
|
26
|
+
* @param {Object} opts Optional parameters
|
|
27
|
+
* @param {Object} opts.body
|
|
28
|
+
*/
|
|
29
|
+
postScreenrecordingToken(opts) {
|
|
30
|
+
opts = opts || {};
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
return this.apiClient.callApi(
|
|
34
|
+
'/api/v2/screenrecording/token',
|
|
35
|
+
'POST',
|
|
36
|
+
{ },
|
|
37
|
+
{ },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
opts['body'],
|
|
41
|
+
['PureCloud OAuth'],
|
|
42
|
+
['application/json'],
|
|
43
|
+
['application/json']
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export default ScreenRecordingApi;
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1483,32 +1483,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
1483
1483
|
);
|
|
1484
1484
|
}
|
|
1485
1485
|
|
|
1486
|
-
/**
|
|
1487
|
-
* Get outbound route
|
|
1488
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
1489
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
1490
|
-
* @deprecated
|
|
1491
|
-
*/
|
|
1492
|
-
getTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
|
|
1493
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
1494
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
1495
|
-
throw 'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
return this.apiClient.callApi(
|
|
1499
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
1500
|
-
'GET',
|
|
1501
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
1502
|
-
{ },
|
|
1503
|
-
{ },
|
|
1504
|
-
{ },
|
|
1505
|
-
null,
|
|
1506
|
-
['PureCloud OAuth'],
|
|
1507
|
-
['application/json'],
|
|
1508
|
-
['application/json']
|
|
1509
|
-
);
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
1486
|
/**
|
|
1513
1487
|
* Get outbound routes
|
|
1514
1488
|
*
|
|
@@ -5,7 +5,7 @@ class UploadsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Uploads service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,37 @@ class UploadsApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Create upload presigned URL for draft function package file.
|
|
25
|
+
*
|
|
26
|
+
* @param {String} actionId actionId
|
|
27
|
+
* @param {Object} body Input used to request URL upload.
|
|
28
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
29
|
+
*/
|
|
30
|
+
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
31
|
+
// verify the required parameter 'actionId' is set
|
|
32
|
+
if (actionId === undefined || actionId === null) {
|
|
33
|
+
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
|
|
34
|
+
}
|
|
35
|
+
// verify the required parameter 'body' is set
|
|
36
|
+
if (body === undefined || body === null) {
|
|
37
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return this.apiClient.callApi(
|
|
41
|
+
'/api/v2/integrations/actions/{actionId}/draft/function/upload',
|
|
42
|
+
'POST',
|
|
43
|
+
{ 'actionId': actionId },
|
|
44
|
+
{ },
|
|
45
|
+
{ },
|
|
46
|
+
{ },
|
|
47
|
+
body,
|
|
48
|
+
['PureCloud OAuth'],
|
|
49
|
+
['application/json'],
|
|
50
|
+
['application/json']
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
23
54
|
/**
|
|
24
55
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
25
56
|
*
|
|
@@ -51,6 +51,7 @@ import RecordingApi from './api/RecordingApi.js';
|
|
|
51
51
|
import ResponseManagementApi from './api/ResponseManagementApi.js';
|
|
52
52
|
import RoutingApi from './api/RoutingApi.js';
|
|
53
53
|
import SCIMApi from './api/SCIMApi.js';
|
|
54
|
+
import ScreenRecordingApi from './api/ScreenRecordingApi.js';
|
|
54
55
|
import ScriptsApi from './api/ScriptsApi.js';
|
|
55
56
|
import SearchApi from './api/SearchApi.js';
|
|
56
57
|
import SettingsApi from './api/SettingsApi.js';
|
|
@@ -106,7 +107,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
106
107
|
* </pre>
|
|
107
108
|
* </p>
|
|
108
109
|
* @module purecloud-platform-client-v2/index
|
|
109
|
-
* @version
|
|
110
|
+
* @version 187.0.0
|
|
110
111
|
*/
|
|
111
112
|
class platformClient {
|
|
112
113
|
constructor() {
|
|
@@ -370,6 +371,11 @@ class platformClient {
|
|
|
370
371
|
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
371
372
|
*/
|
|
372
373
|
this.SCIMApi = SCIMApi;
|
|
374
|
+
/**
|
|
375
|
+
* The ScreenRecordingApi service constructor.
|
|
376
|
+
* @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
|
|
377
|
+
*/
|
|
378
|
+
this.ScreenRecordingApi = ScreenRecordingApi;
|
|
373
379
|
/**
|
|
374
380
|
* The ScriptsApi service constructor.
|
|
375
381
|
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|