purecloud-platform-client-v2 229.2.0 → 231.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1267 -152
- package/dist/web-amd/purecloud-platform-client-v2.js +1267 -152
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +442 -147
- package/dist/web-cjs/purecloud-platform-client-v2.js +442 -147
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1382 -550
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +110 -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 +83 -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/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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 +152 -2
- 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/JourneyApi.js +28 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -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 +107 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +19 -34
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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 +241 -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 -32
- 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 +101 -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 +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class AIStudioApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* AIStudio service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,31 @@ class AIStudioApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete a summary setting.
|
|
25
|
+
*
|
|
26
|
+
* @param {String} summarySettingId Summary setting id
|
|
27
|
+
*/
|
|
28
|
+
deleteConversationsSummariesSetting(summarySettingId) {
|
|
29
|
+
// verify the required parameter 'summarySettingId' is set
|
|
30
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
31
|
+
throw 'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'summarySettingId': summarySettingId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
23
48
|
/**
|
|
24
49
|
* Start the deletion of a guide.
|
|
25
50
|
*
|
|
@@ -46,6 +71,60 @@ class AIStudioApi {
|
|
|
46
71
|
);
|
|
47
72
|
}
|
|
48
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Receive a summary setting.
|
|
76
|
+
*
|
|
77
|
+
* @param {String} summarySettingId Summary setting id
|
|
78
|
+
*/
|
|
79
|
+
getConversationsSummariesSetting(summarySettingId) {
|
|
80
|
+
// verify the required parameter 'summarySettingId' is set
|
|
81
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
82
|
+
throw 'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return this.apiClient.callApi(
|
|
86
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
87
|
+
'GET',
|
|
88
|
+
{ 'summarySettingId': summarySettingId },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
{ },
|
|
92
|
+
null,
|
|
93
|
+
['PureCloud OAuth'],
|
|
94
|
+
['application/json'],
|
|
95
|
+
['application/json']
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Get all summary settings.
|
|
101
|
+
*
|
|
102
|
+
* @param {Object} opts Optional parameters
|
|
103
|
+
* @param {String} opts.language Filter by matching language - case insensitive.
|
|
104
|
+
* @param {String} opts.name Filter by partially matching name - case insensitive.
|
|
105
|
+
* @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
|
|
106
|
+
* @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
|
|
107
|
+
* @param {Number} opts.pageNumber Page number. (default to 1)
|
|
108
|
+
* @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
|
|
109
|
+
*/
|
|
110
|
+
getConversationsSummariesSettings(opts) {
|
|
111
|
+
opts = opts || {};
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
return this.apiClient.callApi(
|
|
115
|
+
'/api/v2/conversations/summaries/settings',
|
|
116
|
+
'GET',
|
|
117
|
+
{ },
|
|
118
|
+
{ 'language': opts['language'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
|
+
null,
|
|
122
|
+
['PureCloud OAuth'],
|
|
123
|
+
['application/json'],
|
|
124
|
+
['application/json']
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
49
128
|
/**
|
|
50
129
|
* Get guide.
|
|
51
130
|
*
|
|
@@ -294,6 +373,56 @@ class AIStudioApi {
|
|
|
294
373
|
);
|
|
295
374
|
}
|
|
296
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Trigger summary preview event generation.
|
|
378
|
+
*
|
|
379
|
+
* @param {Object} body
|
|
380
|
+
*/
|
|
381
|
+
postConversationsSummariesPreview(body) {
|
|
382
|
+
// verify the required parameter 'body' is set
|
|
383
|
+
if (body === undefined || body === null) {
|
|
384
|
+
throw 'Missing the required parameter "body" when calling postConversationsSummariesPreview';
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
return this.apiClient.callApi(
|
|
388
|
+
'/api/v2/conversations/summaries/preview',
|
|
389
|
+
'POST',
|
|
390
|
+
{ },
|
|
391
|
+
{ },
|
|
392
|
+
{ },
|
|
393
|
+
{ },
|
|
394
|
+
body,
|
|
395
|
+
['PureCloud OAuth'],
|
|
396
|
+
['application/json'],
|
|
397
|
+
['application/json']
|
|
398
|
+
);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Create a summary setting.
|
|
403
|
+
*
|
|
404
|
+
* @param {Object} body
|
|
405
|
+
*/
|
|
406
|
+
postConversationsSummariesSettings(body) {
|
|
407
|
+
// verify the required parameter 'body' is set
|
|
408
|
+
if (body === undefined || body === null) {
|
|
409
|
+
throw 'Missing the required parameter "body" when calling postConversationsSummariesSettings';
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return this.apiClient.callApi(
|
|
413
|
+
'/api/v2/conversations/summaries/settings',
|
|
414
|
+
'POST',
|
|
415
|
+
{ },
|
|
416
|
+
{ },
|
|
417
|
+
{ },
|
|
418
|
+
{ },
|
|
419
|
+
body,
|
|
420
|
+
['PureCloud OAuth'],
|
|
421
|
+
['application/json'],
|
|
422
|
+
['application/json']
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
|
|
297
426
|
/**
|
|
298
427
|
* Start the publishing of a guide version.
|
|
299
428
|
*
|
|
@@ -412,6 +541,36 @@ class AIStudioApi {
|
|
|
412
541
|
);
|
|
413
542
|
}
|
|
414
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Update a summary setting.
|
|
546
|
+
*
|
|
547
|
+
* @param {String} summarySettingId Summary setting id
|
|
548
|
+
* @param {Object} body
|
|
549
|
+
*/
|
|
550
|
+
putConversationsSummariesSetting(summarySettingId, body) {
|
|
551
|
+
// verify the required parameter 'summarySettingId' is set
|
|
552
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
553
|
+
throw 'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';
|
|
554
|
+
}
|
|
555
|
+
// verify the required parameter 'body' is set
|
|
556
|
+
if (body === undefined || body === null) {
|
|
557
|
+
throw 'Missing the required parameter "body" when calling putConversationsSummariesSetting';
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
return this.apiClient.callApi(
|
|
561
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
562
|
+
'PUT',
|
|
563
|
+
{ 'summarySettingId': summarySettingId },
|
|
564
|
+
{ },
|
|
565
|
+
{ },
|
|
566
|
+
{ },
|
|
567
|
+
body,
|
|
568
|
+
['PureCloud OAuth'],
|
|
569
|
+
['application/json'],
|
|
570
|
+
['application/json']
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
|
|
415
574
|
}
|
|
416
575
|
|
|
417
576
|
|
|
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* AgentAssistants service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -316,6 +316,115 @@ class AgentAssistantsApi {
|
|
|
316
316
|
);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
/**
|
|
320
|
+
* Bulk add users to assistant-queue (requires manual assignment mode).
|
|
321
|
+
*
|
|
322
|
+
* @param {String} assistantId Assistant ID
|
|
323
|
+
* @param {String} queueId Queue ID
|
|
324
|
+
* @param {Object} body
|
|
325
|
+
*/
|
|
326
|
+
postAssistantQueueUsersBulkAdd(assistantId, queueId, body) {
|
|
327
|
+
// verify the required parameter 'assistantId' is set
|
|
328
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
329
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';
|
|
330
|
+
}
|
|
331
|
+
// verify the required parameter 'queueId' is set
|
|
332
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
333
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';
|
|
334
|
+
}
|
|
335
|
+
// verify the required parameter 'body' is set
|
|
336
|
+
if (body === undefined || body === null) {
|
|
337
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
return this.apiClient.callApi(
|
|
341
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add',
|
|
342
|
+
'POST',
|
|
343
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
344
|
+
{ },
|
|
345
|
+
{ },
|
|
346
|
+
{ },
|
|
347
|
+
body,
|
|
348
|
+
['PureCloud OAuth'],
|
|
349
|
+
['application/json'],
|
|
350
|
+
['application/json']
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Bulk remove users from assistant-queue (requires manual assignment mode).
|
|
356
|
+
*
|
|
357
|
+
* @param {String} assistantId Assistant ID
|
|
358
|
+
* @param {String} queueId Queue ID
|
|
359
|
+
* @param {Object} body
|
|
360
|
+
*/
|
|
361
|
+
postAssistantQueueUsersBulkRemove(assistantId, queueId, body) {
|
|
362
|
+
// verify the required parameter 'assistantId' is set
|
|
363
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
364
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';
|
|
365
|
+
}
|
|
366
|
+
// verify the required parameter 'queueId' is set
|
|
367
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
368
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';
|
|
369
|
+
}
|
|
370
|
+
// verify the required parameter 'body' is set
|
|
371
|
+
if (body === undefined || body === null) {
|
|
372
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
return this.apiClient.callApi(
|
|
376
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove',
|
|
377
|
+
'POST',
|
|
378
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
379
|
+
{ },
|
|
380
|
+
{ },
|
|
381
|
+
{ },
|
|
382
|
+
body,
|
|
383
|
+
['PureCloud OAuth'],
|
|
384
|
+
['application/json'],
|
|
385
|
+
['application/json']
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Query for users in the assistant-queue (requires manual assignment mode).
|
|
391
|
+
*
|
|
392
|
+
* @param {String} assistantId Assistant ID
|
|
393
|
+
* @param {String} queueId Queue ID
|
|
394
|
+
* @param {Object} body
|
|
395
|
+
* @param {Object} opts Optional parameters
|
|
396
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand with.
|
|
397
|
+
*/
|
|
398
|
+
postAssistantQueueUsersQuery(assistantId, queueId, body, opts) {
|
|
399
|
+
opts = opts || {};
|
|
400
|
+
|
|
401
|
+
// verify the required parameter 'assistantId' is set
|
|
402
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
403
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';
|
|
404
|
+
}
|
|
405
|
+
// verify the required parameter 'queueId' is set
|
|
406
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
407
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';
|
|
408
|
+
}
|
|
409
|
+
// verify the required parameter 'body' is set
|
|
410
|
+
if (body === undefined || body === null) {
|
|
411
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
return this.apiClient.callApi(
|
|
415
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/query',
|
|
416
|
+
'POST',
|
|
417
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
418
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
419
|
+
{ },
|
|
420
|
+
{ },
|
|
421
|
+
body,
|
|
422
|
+
['PureCloud OAuth'],
|
|
423
|
+
['application/json'],
|
|
424
|
+
['application/json']
|
|
425
|
+
);
|
|
426
|
+
}
|
|
427
|
+
|
|
319
428
|
/**
|
|
320
429
|
* Create an Assistant.
|
|
321
430
|
*
|
|
@@ -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 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -937,6 +937,62 @@ class AnalyticsApi {
|
|
|
937
937
|
);
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
+
/**
|
|
941
|
+
* Get analytics data warehouse file download
|
|
942
|
+
*
|
|
943
|
+
* @param {String} downloadId Unique file Id to download
|
|
944
|
+
* getAnalyticsDataextractionDownload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
945
|
+
*/
|
|
946
|
+
getAnalyticsDataextractionDownload(downloadId) {
|
|
947
|
+
// verify the required parameter 'downloadId' is set
|
|
948
|
+
if (downloadId === undefined || downloadId === null || downloadId === '') {
|
|
949
|
+
throw 'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
return this.apiClient.callApi(
|
|
953
|
+
'/api/v2/analytics/dataextraction/downloads/{downloadId}',
|
|
954
|
+
'GET',
|
|
955
|
+
{ 'downloadId': downloadId },
|
|
956
|
+
{ },
|
|
957
|
+
{ },
|
|
958
|
+
{ },
|
|
959
|
+
null,
|
|
960
|
+
['PureCloud OAuth'],
|
|
961
|
+
['application/json'],
|
|
962
|
+
['application/json']
|
|
963
|
+
);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Get metadata on files available for extraction
|
|
968
|
+
*
|
|
969
|
+
* @param {Object} opts Optional parameters
|
|
970
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
971
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
972
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
973
|
+
* @param {String} opts.dataSchema Data schema like conversations
|
|
974
|
+
* @param {Date} opts.dateStart Start DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
|
|
975
|
+
* @param {Date} opts.dateEnd End DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
|
|
976
|
+
* getAnalyticsDataextractionDownloadsMetadata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
977
|
+
*/
|
|
978
|
+
getAnalyticsDataextractionDownloadsMetadata(opts) {
|
|
979
|
+
opts = opts || {};
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
return this.apiClient.callApi(
|
|
983
|
+
'/api/v2/analytics/dataextraction/downloads/metadata',
|
|
984
|
+
'GET',
|
|
985
|
+
{ },
|
|
986
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dataSchema': opts['dataSchema'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
|
|
987
|
+
{ },
|
|
988
|
+
{ },
|
|
989
|
+
null,
|
|
990
|
+
['PureCloud OAuth'],
|
|
991
|
+
['application/json'],
|
|
992
|
+
['application/json']
|
|
993
|
+
);
|
|
994
|
+
}
|
|
995
|
+
|
|
940
996
|
/**
|
|
941
997
|
* Get analytics data retention setting
|
|
942
998
|
*
|
|
@@ -2229,6 +2285,32 @@ class AnalyticsApi {
|
|
|
2229
2285
|
);
|
|
2230
2286
|
}
|
|
2231
2287
|
|
|
2288
|
+
/**
|
|
2289
|
+
* Get download URLs for analytics data warehouse files
|
|
2290
|
+
*
|
|
2291
|
+
* @param {Object} body request
|
|
2292
|
+
* postAnalyticsDataextractionDownloadsBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2293
|
+
*/
|
|
2294
|
+
postAnalyticsDataextractionDownloadsBulk(body) {
|
|
2295
|
+
// verify the required parameter 'body' is set
|
|
2296
|
+
if (body === undefined || body === null) {
|
|
2297
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
return this.apiClient.callApi(
|
|
2301
|
+
'/api/v2/analytics/dataextraction/downloads/bulk',
|
|
2302
|
+
'POST',
|
|
2303
|
+
{ },
|
|
2304
|
+
{ },
|
|
2305
|
+
{ },
|
|
2306
|
+
{ },
|
|
2307
|
+
body,
|
|
2308
|
+
['PureCloud OAuth'],
|
|
2309
|
+
['application/json'],
|
|
2310
|
+
['application/json']
|
|
2311
|
+
);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2232
2314
|
/**
|
|
2233
2315
|
* Query for evaluation aggregates asynchronously
|
|
2234
2316
|
*
|