purecloud-platform-client-v2 249.1.0 → 250.1.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 +10 -8
- package/dist/node/purecloud-platform-client-v2.js +1467 -119
- package/dist/web-amd/purecloud-platform-client-v2.js +1467 -119
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +462 -125
- package/dist/web-cjs/purecloud-platform-client-v2.js +462 -125
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +748 -41
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +157 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.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 +41 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.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/EmployeeEngagementApi.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/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +471 -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 +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 +1 -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 +8 -8
- 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/SocialMediaApi.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 +9 -21
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.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 +765 -70
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { default as qs } from 'qs';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9
|
-
* @version
|
|
9
|
+
* @version 250.1.0
|
|
10
10
|
*/
|
|
11
11
|
class ApiClient {
|
|
12
12
|
/**
|
|
@@ -72,7 +72,7 @@ class ApiClient {
|
|
|
72
72
|
MULTI: 'multi'
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
this.useLegacyParameterFilter =
|
|
75
|
+
this.useLegacyParameterFilter = false;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* @description Value is `true` if local storage exists. Otherwise, false.
|
|
@@ -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 250.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -205,6 +205,37 @@ class AnalyticsApi {
|
|
|
205
205
|
);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
/**
|
|
209
|
+
* Delete/cancel an async request for copilot aggregates
|
|
210
|
+
*
|
|
211
|
+
* @param {String} jobId jobId
|
|
212
|
+
* @param {Object} opts Optional parameters
|
|
213
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
214
|
+
* deleteAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
215
|
+
*/
|
|
216
|
+
deleteAnalyticsCopilotsAggregatesJob(jobId, opts) {
|
|
217
|
+
opts = opts || {};
|
|
218
|
+
|
|
219
|
+
// verify the required parameter 'jobId' is set
|
|
220
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
221
|
+
throw 'Missing the required parameter "jobId" when calling deleteAnalyticsCopilotsAggregatesJob';
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
return this.apiClient.callApi(
|
|
225
|
+
'/api/v2/analytics/copilots/aggregates/jobs/{jobId}',
|
|
226
|
+
'DELETE',
|
|
227
|
+
{ 'jobId': jobId },
|
|
228
|
+
{ },
|
|
229
|
+
{ },
|
|
230
|
+
{ },
|
|
231
|
+
null,
|
|
232
|
+
['PureCloud OAuth'],
|
|
233
|
+
['application/json'],
|
|
234
|
+
['application/json'],
|
|
235
|
+
opts['customHeaders']
|
|
236
|
+
);
|
|
237
|
+
}
|
|
238
|
+
|
|
208
239
|
/**
|
|
209
240
|
* Delete/cancel an async request for evaluation aggregates
|
|
210
241
|
*
|
|
@@ -1174,6 +1205,69 @@ class AnalyticsApi {
|
|
|
1174
1205
|
);
|
|
1175
1206
|
}
|
|
1176
1207
|
|
|
1208
|
+
/**
|
|
1209
|
+
* Get status for async query for copilot aggregates
|
|
1210
|
+
*
|
|
1211
|
+
* @param {String} jobId jobId
|
|
1212
|
+
* @param {Object} opts Optional parameters
|
|
1213
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1214
|
+
* getAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1215
|
+
*/
|
|
1216
|
+
getAnalyticsCopilotsAggregatesJob(jobId, opts) {
|
|
1217
|
+
opts = opts || {};
|
|
1218
|
+
|
|
1219
|
+
// verify the required parameter 'jobId' is set
|
|
1220
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1221
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJob';
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
return this.apiClient.callApi(
|
|
1225
|
+
'/api/v2/analytics/copilots/aggregates/jobs/{jobId}',
|
|
1226
|
+
'GET',
|
|
1227
|
+
{ 'jobId': jobId },
|
|
1228
|
+
{ },
|
|
1229
|
+
{ },
|
|
1230
|
+
{ },
|
|
1231
|
+
null,
|
|
1232
|
+
['PureCloud OAuth'],
|
|
1233
|
+
['application/json'],
|
|
1234
|
+
['application/json'],
|
|
1235
|
+
opts['customHeaders']
|
|
1236
|
+
);
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Fetch a page of results for an async aggregates query
|
|
1241
|
+
*
|
|
1242
|
+
* @param {String} jobId jobId
|
|
1243
|
+
* @param {Object} opts Optional parameters
|
|
1244
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
1245
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1246
|
+
* getAnalyticsCopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1247
|
+
*/
|
|
1248
|
+
getAnalyticsCopilotsAggregatesJobResults(jobId, opts) {
|
|
1249
|
+
opts = opts || {};
|
|
1250
|
+
|
|
1251
|
+
// verify the required parameter 'jobId' is set
|
|
1252
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1253
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJobResults';
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
return this.apiClient.callApi(
|
|
1257
|
+
'/api/v2/analytics/copilots/aggregates/jobs/{jobId}/results',
|
|
1258
|
+
'GET',
|
|
1259
|
+
{ 'jobId': jobId },
|
|
1260
|
+
{ 'cursor': opts['cursor'] },
|
|
1261
|
+
{ },
|
|
1262
|
+
{ },
|
|
1263
|
+
null,
|
|
1264
|
+
['PureCloud OAuth'],
|
|
1265
|
+
['application/json'],
|
|
1266
|
+
['application/json'],
|
|
1267
|
+
opts['customHeaders']
|
|
1268
|
+
);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1177
1271
|
/**
|
|
1178
1272
|
* Get analytics data warehouse file download
|
|
1179
1273
|
*
|
|
@@ -2781,6 +2875,68 @@ class AnalyticsApi {
|
|
|
2781
2875
|
);
|
|
2782
2876
|
}
|
|
2783
2877
|
|
|
2878
|
+
/**
|
|
2879
|
+
* Query for copilot aggregates asynchronously
|
|
2880
|
+
*
|
|
2881
|
+
* @param {Object} body query
|
|
2882
|
+
* @param {Object} opts Optional parameters
|
|
2883
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2884
|
+
* postAnalyticsCopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2885
|
+
*/
|
|
2886
|
+
postAnalyticsCopilotsAggregatesJobs(body, opts) {
|
|
2887
|
+
opts = opts || {};
|
|
2888
|
+
|
|
2889
|
+
// verify the required parameter 'body' is set
|
|
2890
|
+
if (body === undefined || body === null) {
|
|
2891
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesJobs';
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
return this.apiClient.callApi(
|
|
2895
|
+
'/api/v2/analytics/copilots/aggregates/jobs',
|
|
2896
|
+
'POST',
|
|
2897
|
+
{ },
|
|
2898
|
+
{ },
|
|
2899
|
+
{ },
|
|
2900
|
+
{ },
|
|
2901
|
+
body,
|
|
2902
|
+
['PureCloud OAuth'],
|
|
2903
|
+
['application/json'],
|
|
2904
|
+
['application/json'],
|
|
2905
|
+
opts['customHeaders']
|
|
2906
|
+
);
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* Query for copilot aggregates
|
|
2911
|
+
*
|
|
2912
|
+
* @param {Object} body query
|
|
2913
|
+
* @param {Object} opts Optional parameters
|
|
2914
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2915
|
+
* postAnalyticsCopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2916
|
+
*/
|
|
2917
|
+
postAnalyticsCopilotsAggregatesQuery(body, opts) {
|
|
2918
|
+
opts = opts || {};
|
|
2919
|
+
|
|
2920
|
+
// verify the required parameter 'body' is set
|
|
2921
|
+
if (body === undefined || body === null) {
|
|
2922
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesQuery';
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
return this.apiClient.callApi(
|
|
2926
|
+
'/api/v2/analytics/copilots/aggregates/query',
|
|
2927
|
+
'POST',
|
|
2928
|
+
{ },
|
|
2929
|
+
{ },
|
|
2930
|
+
{ },
|
|
2931
|
+
{ },
|
|
2932
|
+
body,
|
|
2933
|
+
['PureCloud OAuth'],
|
|
2934
|
+
['application/json'],
|
|
2935
|
+
['application/json'],
|
|
2936
|
+
opts['customHeaders']
|
|
2937
|
+
);
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2784
2940
|
/**
|
|
2785
2941
|
* Get download URLs for analytics data warehouse files
|
|
2786
2942
|
*
|
|
@@ -3643,7 +3799,6 @@ class AnalyticsApi {
|
|
|
3643
3799
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. Used for pagination.
|
|
3644
3800
|
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200.
|
|
3645
3801
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3646
|
-
* postAnalyticsTaskmanagementMetricsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3647
3802
|
*/
|
|
3648
3803
|
postAnalyticsTaskmanagementMetricsQuery(body, opts) {
|
|
3649
3804
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -7881,6 +7881,46 @@ class ConversationsApi {
|
|
|
7881
7881
|
);
|
|
7882
7882
|
}
|
|
7883
7883
|
|
|
7884
|
+
/**
|
|
7885
|
+
* Start/stop the snippet recording for a participant
|
|
7886
|
+
*
|
|
7887
|
+
* @param {String} conversationId conversationId
|
|
7888
|
+
* @param {String} participantId participantId
|
|
7889
|
+
* @param {Object} body snippetRecordingRequest
|
|
7890
|
+
* @param {Object} opts Optional parameters
|
|
7891
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
7892
|
+
*/
|
|
7893
|
+
postConversationsCallParticipantSnippetRecord(conversationId, participantId, body, opts) {
|
|
7894
|
+
opts = opts || {};
|
|
7895
|
+
|
|
7896
|
+
// verify the required parameter 'conversationId' is set
|
|
7897
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
7898
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';
|
|
7899
|
+
}
|
|
7900
|
+
// verify the required parameter 'participantId' is set
|
|
7901
|
+
if (participantId === undefined || participantId === null || participantId === '') {
|
|
7902
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';
|
|
7903
|
+
}
|
|
7904
|
+
// verify the required parameter 'body' is set
|
|
7905
|
+
if (body === undefined || body === null) {
|
|
7906
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallParticipantSnippetRecord';
|
|
7907
|
+
}
|
|
7908
|
+
|
|
7909
|
+
return this.apiClient.callApi(
|
|
7910
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/snippet/record',
|
|
7911
|
+
'POST',
|
|
7912
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
7913
|
+
{ },
|
|
7914
|
+
{ },
|
|
7915
|
+
{ },
|
|
7916
|
+
body,
|
|
7917
|
+
['PureCloud OAuth'],
|
|
7918
|
+
['application/json'],
|
|
7919
|
+
['application/json'],
|
|
7920
|
+
opts['customHeaders']
|
|
7921
|
+
);
|
|
7922
|
+
}
|
|
7923
|
+
|
|
7884
7924
|
/**
|
|
7885
7925
|
* Initiate voice consult transfer
|
|
7886
7926
|
*
|