purecloud-platform-client-v2 186.0.1 → 188.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 +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +367 -151
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +899 -240
- 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 +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- 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 +40 -12
- 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 +263 -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 +3 -2
- 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 +219 -4
- 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 +3 -2
- 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 +94 -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 TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 188.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 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,68 @@ class UploadsApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Get content upload from URL job status
|
|
25
|
+
*
|
|
26
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
27
|
+
* @param {String} jobId Upload job ID
|
|
28
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
29
|
+
*/
|
|
30
|
+
getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
|
|
31
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
34
|
+
}
|
|
35
|
+
// verify the required parameter 'jobId' is set
|
|
36
|
+
if (jobId === undefined || jobId === null) {
|
|
37
|
+
throw 'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return this.apiClient.callApi(
|
|
41
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}',
|
|
42
|
+
'GET',
|
|
43
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'jobId': jobId },
|
|
44
|
+
{ },
|
|
45
|
+
{ },
|
|
46
|
+
{ },
|
|
47
|
+
null,
|
|
48
|
+
['PureCloud OAuth'],
|
|
49
|
+
['application/json'],
|
|
50
|
+
['application/json']
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Create upload presigned URL for draft function package file.
|
|
56
|
+
*
|
|
57
|
+
* @param {String} actionId actionId
|
|
58
|
+
* @param {Object} body Input used to request URL upload.
|
|
59
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
60
|
+
*/
|
|
61
|
+
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
62
|
+
// verify the required parameter 'actionId' is set
|
|
63
|
+
if (actionId === undefined || actionId === null) {
|
|
64
|
+
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
|
|
65
|
+
}
|
|
66
|
+
// verify the required parameter 'body' is set
|
|
67
|
+
if (body === undefined || body === null) {
|
|
68
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return this.apiClient.callApi(
|
|
72
|
+
'/api/v2/integrations/actions/{actionId}/draft/function/upload',
|
|
73
|
+
'POST',
|
|
74
|
+
{ 'actionId': actionId },
|
|
75
|
+
{ },
|
|
76
|
+
{ },
|
|
77
|
+
{ },
|
|
78
|
+
body,
|
|
79
|
+
['PureCloud OAuth'],
|
|
80
|
+
['application/json'],
|
|
81
|
+
['application/json']
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
23
85
|
/**
|
|
24
86
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
25
87
|
*
|
|
@@ -45,6 +107,37 @@ class UploadsApi {
|
|
|
45
107
|
);
|
|
46
108
|
}
|
|
47
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Create content upload from URL job
|
|
112
|
+
*
|
|
113
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
114
|
+
* @param {Object} body uploadRequest
|
|
115
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
116
|
+
*/
|
|
117
|
+
postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
|
|
118
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
119
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
120
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
121
|
+
}
|
|
122
|
+
// verify the required parameter 'body' is set
|
|
123
|
+
if (body === undefined || body === null) {
|
|
124
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return this.apiClient.callApi(
|
|
128
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs',
|
|
129
|
+
'POST',
|
|
130
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
131
|
+
{ },
|
|
132
|
+
{ },
|
|
133
|
+
{ },
|
|
134
|
+
body,
|
|
135
|
+
['PureCloud OAuth'],
|
|
136
|
+
['application/json'],
|
|
137
|
+
['application/json']
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
48
141
|
/**
|
|
49
142
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
50
143
|
*
|
|
@@ -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 188.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}
|