purecloud-platform-client-v2 189.1.0 → 191.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 +1160 -114
- package/dist/web-amd/purecloud-platform-client-v2.js +1160 -114
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +516 -274
- package/dist/web-cjs/purecloud-platform-client-v2.js +517 -277
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1229 -495
- 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 +162 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +86 -20
- 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 +33 -8
- 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 +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 +207 -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 -2
- 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 +2 -2
- 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 +24 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +34 -7
- 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/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 +4 -4
- 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 +516 -1
- 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 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -855,6 +855,109 @@ class JourneyApi {
|
|
|
855
855
|
);
|
|
856
856
|
}
|
|
857
857
|
|
|
858
|
+
/**
|
|
859
|
+
* Get the job for a journey view version.
|
|
860
|
+
* used for long descriptions
|
|
861
|
+
* @param {String} viewId Journey View Id
|
|
862
|
+
* @param {String} journeyVersionId Journey View Version
|
|
863
|
+
* @param {String} jobId JobId
|
|
864
|
+
* getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
865
|
+
*/
|
|
866
|
+
getJourneyViewVersionJob(viewId, journeyVersionId, jobId) {
|
|
867
|
+
// verify the required parameter 'viewId' is set
|
|
868
|
+
if (viewId === undefined || viewId === null) {
|
|
869
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJob';
|
|
870
|
+
}
|
|
871
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
872
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
873
|
+
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';
|
|
874
|
+
}
|
|
875
|
+
// verify the required parameter 'jobId' is set
|
|
876
|
+
if (jobId === undefined || jobId === null) {
|
|
877
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
return this.apiClient.callApi(
|
|
881
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}',
|
|
882
|
+
'GET',
|
|
883
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId },
|
|
884
|
+
{ },
|
|
885
|
+
{ },
|
|
886
|
+
{ },
|
|
887
|
+
null,
|
|
888
|
+
['PureCloud OAuth'],
|
|
889
|
+
['application/json'],
|
|
890
|
+
['application/json']
|
|
891
|
+
);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Get the result of a job for a journey view version.
|
|
896
|
+
* used for long descriptions
|
|
897
|
+
* @param {String} viewId JourneyViewResult id
|
|
898
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
899
|
+
* @param {String} jobId Id of the executing job
|
|
900
|
+
* getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
901
|
+
*/
|
|
902
|
+
getJourneyViewVersionJobResults(viewId, journeyViewVersion, jobId) {
|
|
903
|
+
// verify the required parameter 'viewId' is set
|
|
904
|
+
if (viewId === undefined || viewId === null) {
|
|
905
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';
|
|
906
|
+
}
|
|
907
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
908
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
909
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';
|
|
910
|
+
}
|
|
911
|
+
// verify the required parameter 'jobId' is set
|
|
912
|
+
if (jobId === undefined || jobId === null) {
|
|
913
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
return this.apiClient.callApi(
|
|
917
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results',
|
|
918
|
+
'GET',
|
|
919
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'jobId': jobId },
|
|
920
|
+
{ },
|
|
921
|
+
{ },
|
|
922
|
+
{ },
|
|
923
|
+
null,
|
|
924
|
+
['PureCloud OAuth'],
|
|
925
|
+
['application/json'],
|
|
926
|
+
['application/json']
|
|
927
|
+
);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Get the latest job of a journey view version.
|
|
932
|
+
* used for long descriptions
|
|
933
|
+
* @param {String} viewId Journey View Id
|
|
934
|
+
* @param {String} journeyVersionId Journey View Version
|
|
935
|
+
* getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
936
|
+
*/
|
|
937
|
+
getJourneyViewVersionJobsLatest(viewId, journeyVersionId) {
|
|
938
|
+
// verify the required parameter 'viewId' is set
|
|
939
|
+
if (viewId === undefined || viewId === null) {
|
|
940
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobsLatest';
|
|
941
|
+
}
|
|
942
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
943
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
944
|
+
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
return this.apiClient.callApi(
|
|
948
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest',
|
|
949
|
+
'GET',
|
|
950
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId },
|
|
951
|
+
{ },
|
|
952
|
+
{ },
|
|
953
|
+
{ },
|
|
954
|
+
null,
|
|
955
|
+
['PureCloud OAuth'],
|
|
956
|
+
['application/json'],
|
|
957
|
+
['application/json']
|
|
958
|
+
);
|
|
959
|
+
}
|
|
960
|
+
|
|
858
961
|
/**
|
|
859
962
|
* Get a list of Journey Views
|
|
860
963
|
*
|
|
@@ -876,6 +979,53 @@ class JourneyApi {
|
|
|
876
979
|
);
|
|
877
980
|
}
|
|
878
981
|
|
|
982
|
+
/**
|
|
983
|
+
* Get an Event Definition
|
|
984
|
+
*
|
|
985
|
+
* @param {String} eventDefinitionId Event Definition ID
|
|
986
|
+
* getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
987
|
+
*/
|
|
988
|
+
getJourneyViewsEventdefinition(eventDefinitionId) {
|
|
989
|
+
// verify the required parameter 'eventDefinitionId' is set
|
|
990
|
+
if (eventDefinitionId === undefined || eventDefinitionId === null) {
|
|
991
|
+
throw 'Missing the required parameter "eventDefinitionId" when calling getJourneyViewsEventdefinition';
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
return this.apiClient.callApi(
|
|
995
|
+
'/api/v2/journey/views/eventdefinitions/{eventDefinitionId}',
|
|
996
|
+
'GET',
|
|
997
|
+
{ 'eventDefinitionId': eventDefinitionId },
|
|
998
|
+
{ },
|
|
999
|
+
{ },
|
|
1000
|
+
{ },
|
|
1001
|
+
null,
|
|
1002
|
+
['PureCloud OAuth'],
|
|
1003
|
+
['application/json'],
|
|
1004
|
+
['application/json']
|
|
1005
|
+
);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Get a list of Event Definitions
|
|
1010
|
+
*
|
|
1011
|
+
* getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1012
|
+
*/
|
|
1013
|
+
getJourneyViewsEventdefinitions() {
|
|
1014
|
+
|
|
1015
|
+
return this.apiClient.callApi(
|
|
1016
|
+
'/api/v2/journey/views/eventdefinitions',
|
|
1017
|
+
'GET',
|
|
1018
|
+
{ },
|
|
1019
|
+
{ },
|
|
1020
|
+
{ },
|
|
1021
|
+
{ },
|
|
1022
|
+
null,
|
|
1023
|
+
['PureCloud OAuth'],
|
|
1024
|
+
['application/json'],
|
|
1025
|
+
['application/json']
|
|
1026
|
+
);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
879
1029
|
/**
|
|
880
1030
|
* Update single action map.
|
|
881
1031
|
*
|
|
@@ -1326,6 +1476,37 @@ class JourneyApi {
|
|
|
1326
1476
|
);
|
|
1327
1477
|
}
|
|
1328
1478
|
|
|
1479
|
+
/**
|
|
1480
|
+
* Submit a job request for a journey view version.
|
|
1481
|
+
* used for long descriptions
|
|
1482
|
+
* @param {String} viewId Journey View Id
|
|
1483
|
+
* @param {String} journeyVersionId Journey View Version
|
|
1484
|
+
* postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1485
|
+
*/
|
|
1486
|
+
postJourneyViewVersionJobs(viewId, journeyVersionId) {
|
|
1487
|
+
// verify the required parameter 'viewId' is set
|
|
1488
|
+
if (viewId === undefined || viewId === null) {
|
|
1489
|
+
throw 'Missing the required parameter "viewId" when calling postJourneyViewVersionJobs';
|
|
1490
|
+
}
|
|
1491
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
1492
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
1493
|
+
throw 'Missing the required parameter "journeyVersionId" when calling postJourneyViewVersionJobs';
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
return this.apiClient.callApi(
|
|
1497
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs',
|
|
1498
|
+
'POST',
|
|
1499
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId },
|
|
1500
|
+
{ },
|
|
1501
|
+
{ },
|
|
1502
|
+
{ },
|
|
1503
|
+
null,
|
|
1504
|
+
['PureCloud OAuth'],
|
|
1505
|
+
['application/json'],
|
|
1506
|
+
['application/json']
|
|
1507
|
+
);
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1329
1510
|
/**
|
|
1330
1511
|
* Update a Journey View by ID
|
|
1331
1512
|
* creates a new version
|
|
@@ -1383,6 +1564,31 @@ class JourneyApi {
|
|
|
1383
1564
|
);
|
|
1384
1565
|
}
|
|
1385
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* Validate whether an encoding exist for a label/value combination.
|
|
1569
|
+
* True indicates a valid encoding
|
|
1570
|
+
* @param {Object} opts Optional parameters
|
|
1571
|
+
* @param {Array.<Object>} opts.body
|
|
1572
|
+
* postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1573
|
+
*/
|
|
1574
|
+
postJourneyViewsEncodingsValidate(opts) {
|
|
1575
|
+
opts = opts || {};
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
return this.apiClient.callApi(
|
|
1579
|
+
'/api/v2/journey/views/encodings/validate',
|
|
1580
|
+
'POST',
|
|
1581
|
+
{ },
|
|
1582
|
+
{ },
|
|
1583
|
+
{ },
|
|
1584
|
+
{ },
|
|
1585
|
+
opts['body'],
|
|
1586
|
+
['PureCloud OAuth'],
|
|
1587
|
+
['application/json'],
|
|
1588
|
+
['application/json']
|
|
1589
|
+
);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1386
1592
|
}
|
|
1387
1593
|
|
|
1388
1594
|
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -449,7 +449,6 @@ class LearningApi {
|
|
|
449
449
|
* @param {String} moduleId Key identifier for the module
|
|
450
450
|
* @param {String} userId Key identifier for the user
|
|
451
451
|
* @param {Object} body The learning request for updating the assignment
|
|
452
|
-
* patchLearningModuleUserAssignments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
453
452
|
*/
|
|
454
453
|
patchLearningModuleUserAssignments(moduleId, userId, body) {
|
|
455
454
|
// verify the required parameter 'moduleId' is set
|
|
@@ -5,7 +5,7 @@ class OrganizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Organization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -162,7 +162,7 @@ class OrganizationApi {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* Get
|
|
165
|
+
* Get limit documentation
|
|
166
166
|
*
|
|
167
167
|
*/
|
|
168
168
|
getOrganizationsLimitsDocs() {
|
|
@@ -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 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -891,10 +891,11 @@ class RecordingApi {
|
|
|
891
891
|
|
|
892
892
|
/**
|
|
893
893
|
* Retrieves a paged listing of screen recording sessions
|
|
894
|
-
*
|
|
894
|
+
* Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
|
|
895
895
|
* @param {Object} opts Optional parameters
|
|
896
896
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
897
897
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
898
|
+
* @deprecated
|
|
898
899
|
*/
|
|
899
900
|
getRecordingsScreensessions(opts) {
|
|
900
901
|
opts = opts || {};
|
|
@@ -914,6 +915,27 @@ class RecordingApi {
|
|
|
914
915
|
);
|
|
915
916
|
}
|
|
916
917
|
|
|
918
|
+
/**
|
|
919
|
+
* Retrieves an object containing the total number of concurrent active screen recordings
|
|
920
|
+
*
|
|
921
|
+
* getRecordingsScreensessionsDetails is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
922
|
+
*/
|
|
923
|
+
getRecordingsScreensessionsDetails() {
|
|
924
|
+
|
|
925
|
+
return this.apiClient.callApi(
|
|
926
|
+
'/api/v2/recordings/screensessions/details',
|
|
927
|
+
'GET',
|
|
928
|
+
{ },
|
|
929
|
+
{ },
|
|
930
|
+
{ },
|
|
931
|
+
{ },
|
|
932
|
+
null,
|
|
933
|
+
['PureCloud OAuth'],
|
|
934
|
+
['application/json'],
|
|
935
|
+
['application/json']
|
|
936
|
+
);
|
|
937
|
+
}
|
|
938
|
+
|
|
917
939
|
/**
|
|
918
940
|
* Patch a media retention policy
|
|
919
941
|
*
|
|
@@ -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 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -282,6 +282,31 @@ class ResponseManagementApi {
|
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
+
/**
|
|
286
|
+
* Get response libraries.
|
|
287
|
+
*
|
|
288
|
+
* @param {Object} body LibraryIDs (max allowed 50)
|
|
289
|
+
*/
|
|
290
|
+
postResponsemanagementLibrariesBulk(body) {
|
|
291
|
+
// verify the required parameter 'body' is set
|
|
292
|
+
if (body === undefined || body === null) {
|
|
293
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
return this.apiClient.callApi(
|
|
297
|
+
'/api/v2/responsemanagement/libraries/bulk',
|
|
298
|
+
'POST',
|
|
299
|
+
{ },
|
|
300
|
+
{ },
|
|
301
|
+
{ },
|
|
302
|
+
{ },
|
|
303
|
+
body,
|
|
304
|
+
['PureCloud OAuth'],
|
|
305
|
+
['application/json'],
|
|
306
|
+
['application/json']
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
|
|
285
310
|
/**
|
|
286
311
|
* Search response assets
|
|
287
312
|
*
|