purecloud-platform-client-v2 227.0.0 → 228.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 +1841 -237
- package/dist/web-amd/purecloud-platform-client-v2.js +1841 -237
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +583 -188
- package/dist/web-cjs/purecloud-platform-client-v2.js +583 -188
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1320 -290
- package/package.json +4 -4
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +32 -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 +391 -26
- 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 +4 -46
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +7 -4
- 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 +61 -35
- 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 +60 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +27 -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 +86 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +30 -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 +101 -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 +53 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -26
- 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 +158 -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 +105 -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 +121 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +27 -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 +12 -12
- 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 +6 -6
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +494 -6
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class JourneyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Journey service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 228.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,32 @@ class JourneyApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete/cancel an async request for journey aggregates
|
|
25
|
+
*
|
|
26
|
+
* @param {String} jobId jobId
|
|
27
|
+
* deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28
|
+
*/
|
|
29
|
+
deleteAnalyticsJourneysAggregatesJob(jobId) {
|
|
30
|
+
// verify the required parameter 'jobId' is set
|
|
31
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
32
|
+
throw 'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return this.apiClient.callApi(
|
|
36
|
+
'/api/v2/analytics/journeys/aggregates/jobs/{jobId}',
|
|
37
|
+
'DELETE',
|
|
38
|
+
{ 'jobId': jobId },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
{ },
|
|
42
|
+
null,
|
|
43
|
+
['PureCloud OAuth'],
|
|
44
|
+
['application/json'],
|
|
45
|
+
['application/json']
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
23
49
|
/**
|
|
24
50
|
* Delete single action map.
|
|
25
51
|
*
|
|
@@ -255,6 +281,36 @@ class JourneyApi {
|
|
|
255
281
|
);
|
|
256
282
|
}
|
|
257
283
|
|
|
284
|
+
/**
|
|
285
|
+
* Retrieve segment assignments by external contact ID.
|
|
286
|
+
*
|
|
287
|
+
* @param {String} contactId ExternalContact ID
|
|
288
|
+
* @param {Object} opts Optional parameters
|
|
289
|
+
* @param {Boolean} opts.includeMerged Indicates whether to return segment assignments from all external contacts in the merge-set of the given one.
|
|
290
|
+
* @param {Number} opts.limit Number of entities to return. Default of 25, maximum of 500.
|
|
291
|
+
*/
|
|
292
|
+
getExternalcontactsContactJourneySegments(contactId, opts) {
|
|
293
|
+
opts = opts || {};
|
|
294
|
+
|
|
295
|
+
// verify the required parameter 'contactId' is set
|
|
296
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
297
|
+
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
return this.apiClient.callApi(
|
|
301
|
+
'/api/v2/externalcontacts/contacts/{contactId}/journey/segments',
|
|
302
|
+
'GET',
|
|
303
|
+
{ 'contactId': contactId },
|
|
304
|
+
{ 'includeMerged': opts['includeMerged'],'limit': opts['limit'] },
|
|
305
|
+
{ },
|
|
306
|
+
{ },
|
|
307
|
+
null,
|
|
308
|
+
['PureCloud OAuth'],
|
|
309
|
+
['application/json'],
|
|
310
|
+
['application/json']
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
|
|
258
314
|
/**
|
|
259
315
|
* Retrieve all sessions for a given external contact.
|
|
260
316
|
*
|
|
@@ -1498,6 +1554,35 @@ class JourneyApi {
|
|
|
1498
1554
|
);
|
|
1499
1555
|
}
|
|
1500
1556
|
|
|
1557
|
+
/**
|
|
1558
|
+
* Assign/Unassign up to 10 segments to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment. Any unprocessed segment assignments are returned in the body for the client to retry, in the event of a partial success.
|
|
1559
|
+
*
|
|
1560
|
+
* @param {String} contactId ExternalContact ID
|
|
1561
|
+
* @param {Object} opts Optional parameters
|
|
1562
|
+
* @param {Object} opts.body
|
|
1563
|
+
*/
|
|
1564
|
+
postExternalcontactsContactJourneySegments(contactId, opts) {
|
|
1565
|
+
opts = opts || {};
|
|
1566
|
+
|
|
1567
|
+
// verify the required parameter 'contactId' is set
|
|
1568
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
1569
|
+
throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
return this.apiClient.callApi(
|
|
1573
|
+
'/api/v2/externalcontacts/contacts/{contactId}/journey/segments',
|
|
1574
|
+
'POST',
|
|
1575
|
+
{ 'contactId': contactId },
|
|
1576
|
+
{ },
|
|
1577
|
+
{ },
|
|
1578
|
+
{ },
|
|
1579
|
+
opts['body'],
|
|
1580
|
+
['PureCloud OAuth'],
|
|
1581
|
+
['application/json'],
|
|
1582
|
+
['application/json']
|
|
1583
|
+
);
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1501
1586
|
/**
|
|
1502
1587
|
* Create an action map.
|
|
1503
1588
|
*
|
|
@@ -5,7 +5,7 @@ class KnowledgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Knowledge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 228.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2748,6 +2748,35 @@ class KnowledgeApi {
|
|
|
2748
2748
|
);
|
|
2749
2749
|
}
|
|
2750
2750
|
|
|
2751
|
+
/**
|
|
2752
|
+
* Search for chunks in a knowledge base
|
|
2753
|
+
*
|
|
2754
|
+
* @param {String} knowledgeBaseId Knowledge Base ID
|
|
2755
|
+
* @param {Object} opts Optional parameters
|
|
2756
|
+
* @param {Object} opts.body
|
|
2757
|
+
*/
|
|
2758
|
+
postKnowledgeKnowledgebaseChunksSearch(knowledgeBaseId, opts) {
|
|
2759
|
+
opts = opts || {};
|
|
2760
|
+
|
|
2761
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
2762
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
2763
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseChunksSearch';
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
return this.apiClient.callApi(
|
|
2767
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search',
|
|
2768
|
+
'POST',
|
|
2769
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
2770
|
+
{ },
|
|
2771
|
+
{ },
|
|
2772
|
+
{ },
|
|
2773
|
+
opts['body'],
|
|
2774
|
+
['PureCloud OAuth'],
|
|
2775
|
+
['application/json'],
|
|
2776
|
+
['application/json']
|
|
2777
|
+
);
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2751
2780
|
/**
|
|
2752
2781
|
* Indicate that the document was copied by the user.
|
|
2753
2782
|
*
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 228.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -796,6 +796,31 @@ class OutboundApi {
|
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
+
/**
|
|
800
|
+
* Delete a WhatsApp campaign schedule.
|
|
801
|
+
*
|
|
802
|
+
* @param {String} whatsAppCampaignId WhatsApp Campaign ID
|
|
803
|
+
*/
|
|
804
|
+
deleteOutboundSchedulesWhatsappcampaign(whatsAppCampaignId) {
|
|
805
|
+
// verify the required parameter 'whatsAppCampaignId' is set
|
|
806
|
+
if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
|
|
807
|
+
throw 'Missing the required parameter "whatsAppCampaignId" when calling deleteOutboundSchedulesWhatsappcampaign';
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
return this.apiClient.callApi(
|
|
811
|
+
'/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
|
|
812
|
+
'DELETE',
|
|
813
|
+
{ 'whatsAppCampaignId': whatsAppCampaignId },
|
|
814
|
+
{ },
|
|
815
|
+
{ },
|
|
816
|
+
{ },
|
|
817
|
+
null,
|
|
818
|
+
['PureCloud OAuth'],
|
|
819
|
+
['application/json'],
|
|
820
|
+
['application/json']
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
|
|
799
824
|
/**
|
|
800
825
|
* Delete a dialer campaign sequence.
|
|
801
826
|
*
|
|
@@ -2644,6 +2669,51 @@ class OutboundApi {
|
|
|
2644
2669
|
);
|
|
2645
2670
|
}
|
|
2646
2671
|
|
|
2672
|
+
/**
|
|
2673
|
+
* Get a WhatsApp campaign schedule.
|
|
2674
|
+
*
|
|
2675
|
+
* @param {String} whatsAppCampaignId WhatsApp Campaign ID
|
|
2676
|
+
*/
|
|
2677
|
+
getOutboundSchedulesWhatsappcampaign(whatsAppCampaignId) {
|
|
2678
|
+
// verify the required parameter 'whatsAppCampaignId' is set
|
|
2679
|
+
if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
|
|
2680
|
+
throw 'Missing the required parameter "whatsAppCampaignId" when calling getOutboundSchedulesWhatsappcampaign';
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
return this.apiClient.callApi(
|
|
2684
|
+
'/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
|
|
2685
|
+
'GET',
|
|
2686
|
+
{ 'whatsAppCampaignId': whatsAppCampaignId },
|
|
2687
|
+
{ },
|
|
2688
|
+
{ },
|
|
2689
|
+
{ },
|
|
2690
|
+
null,
|
|
2691
|
+
['PureCloud OAuth'],
|
|
2692
|
+
['application/json'],
|
|
2693
|
+
['application/json']
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Query for a list of WhatsApp campaign schedules.
|
|
2699
|
+
*
|
|
2700
|
+
*/
|
|
2701
|
+
getOutboundSchedulesWhatsappcampaigns() {
|
|
2702
|
+
|
|
2703
|
+
return this.apiClient.callApi(
|
|
2704
|
+
'/api/v2/outbound/schedules/whatsappcampaigns',
|
|
2705
|
+
'GET',
|
|
2706
|
+
{ },
|
|
2707
|
+
{ },
|
|
2708
|
+
{ },
|
|
2709
|
+
{ },
|
|
2710
|
+
null,
|
|
2711
|
+
['PureCloud OAuth'],
|
|
2712
|
+
['application/json'],
|
|
2713
|
+
['application/json']
|
|
2714
|
+
);
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2647
2717
|
/**
|
|
2648
2718
|
* Get a dialer campaign sequence.
|
|
2649
2719
|
*
|
|
@@ -4566,6 +4636,36 @@ class OutboundApi {
|
|
|
4566
4636
|
);
|
|
4567
4637
|
}
|
|
4568
4638
|
|
|
4639
|
+
/**
|
|
4640
|
+
* Update a WhatsApp campaign schedule.
|
|
4641
|
+
*
|
|
4642
|
+
* @param {String} whatsAppCampaignId WhatsApp Campaign ID
|
|
4643
|
+
* @param {Object} body WhatsAppCampaignSchedule
|
|
4644
|
+
*/
|
|
4645
|
+
putOutboundSchedulesWhatsappcampaign(whatsAppCampaignId, body) {
|
|
4646
|
+
// verify the required parameter 'whatsAppCampaignId' is set
|
|
4647
|
+
if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
|
|
4648
|
+
throw 'Missing the required parameter "whatsAppCampaignId" when calling putOutboundSchedulesWhatsappcampaign';
|
|
4649
|
+
}
|
|
4650
|
+
// verify the required parameter 'body' is set
|
|
4651
|
+
if (body === undefined || body === null) {
|
|
4652
|
+
throw 'Missing the required parameter "body" when calling putOutboundSchedulesWhatsappcampaign';
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
return this.apiClient.callApi(
|
|
4656
|
+
'/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
|
|
4657
|
+
'PUT',
|
|
4658
|
+
{ 'whatsAppCampaignId': whatsAppCampaignId },
|
|
4659
|
+
{ },
|
|
4660
|
+
{ },
|
|
4661
|
+
{ },
|
|
4662
|
+
body,
|
|
4663
|
+
['PureCloud OAuth'],
|
|
4664
|
+
['application/json'],
|
|
4665
|
+
['application/json']
|
|
4666
|
+
);
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4569
4669
|
/**
|
|
4570
4670
|
* Update a new campaign sequence.
|
|
4571
4671
|
*
|
|
@@ -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 228.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,58 @@ class QualityApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete/cancel an async request for evaluation aggregates
|
|
25
|
+
*
|
|
26
|
+
* @param {String} jobId jobId
|
|
27
|
+
* deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28
|
+
*/
|
|
29
|
+
deleteAnalyticsEvaluationsAggregatesJob(jobId) {
|
|
30
|
+
// verify the required parameter 'jobId' is set
|
|
31
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
32
|
+
throw 'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return this.apiClient.callApi(
|
|
36
|
+
'/api/v2/analytics/evaluations/aggregates/jobs/{jobId}',
|
|
37
|
+
'DELETE',
|
|
38
|
+
{ 'jobId': jobId },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
{ },
|
|
42
|
+
null,
|
|
43
|
+
['PureCloud OAuth'],
|
|
44
|
+
['application/json'],
|
|
45
|
+
['application/json']
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Delete/cancel an async request for survey aggregates
|
|
51
|
+
*
|
|
52
|
+
* @param {String} jobId jobId
|
|
53
|
+
* deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
54
|
+
*/
|
|
55
|
+
deleteAnalyticsSurveysAggregatesJob(jobId) {
|
|
56
|
+
// verify the required parameter 'jobId' is set
|
|
57
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
58
|
+
throw 'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return this.apiClient.callApi(
|
|
62
|
+
'/api/v2/analytics/surveys/aggregates/jobs/{jobId}',
|
|
63
|
+
'DELETE',
|
|
64
|
+
{ 'jobId': jobId },
|
|
65
|
+
{ },
|
|
66
|
+
{ },
|
|
67
|
+
{ },
|
|
68
|
+
null,
|
|
69
|
+
['PureCloud OAuth'],
|
|
70
|
+
['application/json'],
|
|
71
|
+
['application/json']
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
23
75
|
/**
|
|
24
76
|
* Delete a calibration by id.
|
|
25
77
|
*
|
|
@@ -5,7 +5,7 @@ class SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 228.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -276,31 +276,6 @@ class SearchApi {
|
|
|
276
276
|
);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
/**
|
|
280
|
-
* Search resources.
|
|
281
|
-
*
|
|
282
|
-
* @param {Object} body Search request options
|
|
283
|
-
*/
|
|
284
|
-
postAnalyticsConversationsTranscriptsQuery(body) {
|
|
285
|
-
// verify the required parameter 'body' is set
|
|
286
|
-
if (body === undefined || body === null) {
|
|
287
|
-
throw 'Missing the required parameter "body" when calling postAnalyticsConversationsTranscriptsQuery';
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
return this.apiClient.callApi(
|
|
291
|
-
'/api/v2/analytics/conversations/transcripts/query',
|
|
292
|
-
'POST',
|
|
293
|
-
{ },
|
|
294
|
-
{ },
|
|
295
|
-
{ },
|
|
296
|
-
{ },
|
|
297
|
-
body,
|
|
298
|
-
['PureCloud OAuth'],
|
|
299
|
-
['application/json'],
|
|
300
|
-
['application/json']
|
|
301
|
-
);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
279
|
/**
|
|
305
280
|
* Search conversations
|
|
306
281
|
*
|