purecloud-platform-client-v2 167.0.0 → 168.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 +273 -121
- package/dist/web-amd/purecloud-platform-client-v2.js +273 -121
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +273 -121
- package/dist/web-cjs/purecloud-platform-client-v2.js +273 -121
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +371 -205
- 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 +1 -1
- 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 +75 -0
- 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 +32 -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 +2 -2
- 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 +69 -4
- 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/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/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +3 -2
- 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/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -46
- package/src/purecloud-platform-client-v2/api/SuggestApi.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 QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 168.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1426,7 +1426,7 @@ class QualityApi {
|
|
|
1426
1426
|
* @param {String} evaluationId evaluationId
|
|
1427
1427
|
* @param {Object} body evaluation
|
|
1428
1428
|
* @param {Object} opts Optional parameters
|
|
1429
|
-
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
1429
|
+
* @param {String} opts.expand evaluatorId, evaluationForm, assignee
|
|
1430
1430
|
*/
|
|
1431
1431
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
1432
1432
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 168.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -312,7 +312,7 @@ class RecordingApi {
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
315
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
|
|
316
316
|
*
|
|
317
317
|
* @param {String} conversationId Conversation ID
|
|
318
318
|
*/
|
|
@@ -5,7 +5,7 @@ class ResponseManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ResponseManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 168.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -102,6 +102,7 @@ class ResponseManagementApi {
|
|
|
102
102
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
103
103
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
104
104
|
* @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
|
|
105
|
+
* @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
|
|
105
106
|
*/
|
|
106
107
|
getResponsemanagementLibraries(opts) {
|
|
107
108
|
opts = opts || {};
|
|
@@ -111,7 +112,7 @@ class ResponseManagementApi {
|
|
|
111
112
|
'/api/v2/responsemanagement/libraries',
|
|
112
113
|
'GET',
|
|
113
114
|
{ },
|
|
114
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
|
|
115
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
|
|
115
116
|
{ },
|
|
116
117
|
{ },
|
|
117
118
|
null,
|
|
@@ -5,7 +5,7 @@ class StationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Stations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 168.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -101,51 +101,6 @@ class StationsApi {
|
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
/**
|
|
105
|
-
* Get an organization's StationSettings
|
|
106
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
107
|
-
*/
|
|
108
|
-
getStationsSettings() {
|
|
109
|
-
|
|
110
|
-
return this.apiClient.callApi(
|
|
111
|
-
'/api/v2/stations/settings',
|
|
112
|
-
'GET',
|
|
113
|
-
{ },
|
|
114
|
-
{ },
|
|
115
|
-
{ },
|
|
116
|
-
{ },
|
|
117
|
-
null,
|
|
118
|
-
['PureCloud OAuth'],
|
|
119
|
-
['application/json'],
|
|
120
|
-
['application/json']
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Patch an organization's StationSettings
|
|
126
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
127
|
-
* @param {Object} body Station settings
|
|
128
|
-
*/
|
|
129
|
-
patchStationsSettings(body) {
|
|
130
|
-
// verify the required parameter 'body' is set
|
|
131
|
-
if (body === undefined || body === null) {
|
|
132
|
-
throw 'Missing the required parameter "body" when calling patchStationsSettings';
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
return this.apiClient.callApi(
|
|
136
|
-
'/api/v2/stations/settings',
|
|
137
|
-
'PATCH',
|
|
138
|
-
{ },
|
|
139
|
-
{ },
|
|
140
|
-
{ },
|
|
141
|
-
{ },
|
|
142
|
-
body,
|
|
143
|
-
['PureCloud OAuth'],
|
|
144
|
-
['application/json'],
|
|
145
|
-
['application/json']
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
104
|
}
|
|
150
105
|
|
|
151
106
|
|
|
@@ -7,6 +7,7 @@ import ArchitectApi from './api/ArchitectApi.js';
|
|
|
7
7
|
import AuditApi from './api/AuditApi.js';
|
|
8
8
|
import AuthorizationApi from './api/AuthorizationApi.js';
|
|
9
9
|
import BillingApi from './api/BillingApi.js';
|
|
10
|
+
import CarrierServicesApi from './api/CarrierServicesApi.js';
|
|
10
11
|
import ChatApi from './api/ChatApi.js';
|
|
11
12
|
import CoachingApi from './api/CoachingApi.js';
|
|
12
13
|
import ContentManagementApi from './api/ContentManagementApi.js';
|
|
@@ -100,7 +101,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
100
101
|
* </pre>
|
|
101
102
|
* </p>
|
|
102
103
|
* @module purecloud-platform-client-v2/index
|
|
103
|
-
* @version
|
|
104
|
+
* @version 168.0.0
|
|
104
105
|
*/
|
|
105
106
|
class platformClient {
|
|
106
107
|
constructor() {
|
|
@@ -144,6 +145,11 @@ class platformClient {
|
|
|
144
145
|
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
145
146
|
*/
|
|
146
147
|
this.BillingApi = BillingApi;
|
|
148
|
+
/**
|
|
149
|
+
* The CarrierServicesApi service constructor.
|
|
150
|
+
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
151
|
+
*/
|
|
152
|
+
this.CarrierServicesApi = CarrierServicesApi;
|
|
147
153
|
/**
|
|
148
154
|
* The ChatApi service constructor.
|
|
149
155
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|