purecloud-platform-client-v2 197.0.0 → 198.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 +401 -110
- package/dist/web-amd/purecloud-platform-client-v2.js +401 -110
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +167 -90
- package/dist/web-cjs/purecloud-platform-client-v2.js +170 -91
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +520 -29
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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 +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 +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 +37 -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/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 +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 +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +30 -2
- 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 +2 -2
- 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 +32 -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 -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 +3 -2
- 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 +3 -3
- 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 +222 -27
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -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 198.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3720,6 +3720,42 @@ class ConversationsApi {
|
|
|
3720
3720
|
);
|
|
3721
3721
|
}
|
|
3722
3722
|
|
|
3723
|
+
/**
|
|
3724
|
+
* Update conversation by setting its parking state
|
|
3725
|
+
*
|
|
3726
|
+
* @param {String} conversationId conversationId
|
|
3727
|
+
* @param {String} participantId participantId
|
|
3728
|
+
* @param {Object} body Parking update request
|
|
3729
|
+
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3730
|
+
*/
|
|
3731
|
+
patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
|
|
3732
|
+
// verify the required parameter 'conversationId' is set
|
|
3733
|
+
if (conversationId === undefined || conversationId === null) {
|
|
3734
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';
|
|
3735
|
+
}
|
|
3736
|
+
// verify the required parameter 'participantId' is set
|
|
3737
|
+
if (participantId === undefined || participantId === null) {
|
|
3738
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';
|
|
3739
|
+
}
|
|
3740
|
+
// verify the required parameter 'body' is set
|
|
3741
|
+
if (body === undefined || body === null) {
|
|
3742
|
+
throw 'Missing the required parameter "body" when calling patchConversationsEmailParticipantParkingstate';
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
return this.apiClient.callApi(
|
|
3746
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/parkingstate',
|
|
3747
|
+
'PATCH',
|
|
3748
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3749
|
+
{ },
|
|
3750
|
+
{ },
|
|
3751
|
+
{ },
|
|
3752
|
+
body,
|
|
3753
|
+
['PureCloud OAuth'],
|
|
3754
|
+
['application/json'],
|
|
3755
|
+
['application/json']
|
|
3756
|
+
);
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3723
3759
|
/**
|
|
3724
3760
|
* Update a conversation by disconnecting all of the participants
|
|
3725
3761
|
*
|
|
@@ -5,7 +5,7 @@ class ExternalContactsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ExternalContacts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 198.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -361,7 +361,7 @@ class ExternalContactsApi {
|
|
|
361
361
|
*
|
|
362
362
|
* @param {String} contactId ExternalContact ID
|
|
363
363
|
* @param {Object} opts Optional parameters
|
|
364
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
|
|
364
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
|
|
365
365
|
*/
|
|
366
366
|
getExternalcontactsContactUnresolved(contactId, opts) {
|
|
367
367
|
opts = opts || {};
|
|
@@ -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 198.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -750,7 +750,6 @@ class JourneyApi {
|
|
|
750
750
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
751
751
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
752
752
|
* @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
|
|
753
|
-
* getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
754
753
|
*/
|
|
755
754
|
getJourneySessionEvents(sessionId, opts) {
|
|
756
755
|
opts = opts || {};
|
|
@@ -1383,6 +1382,35 @@ class JourneyApi {
|
|
|
1383
1382
|
);
|
|
1384
1383
|
}
|
|
1385
1384
|
|
|
1385
|
+
/**
|
|
1386
|
+
* Send a journey web event, used for tracking customer activity on a website.
|
|
1387
|
+
*
|
|
1388
|
+
* @param {String} deploymentId The ID of the deployment sending the web event.
|
|
1389
|
+
* @param {Object} opts Optional parameters
|
|
1390
|
+
* @param {Object} opts.body
|
|
1391
|
+
*/
|
|
1392
|
+
postJourneyDeploymentWebevents(deploymentId, opts) {
|
|
1393
|
+
opts = opts || {};
|
|
1394
|
+
|
|
1395
|
+
// verify the required parameter 'deploymentId' is set
|
|
1396
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
1397
|
+
throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
return this.apiClient.callApi(
|
|
1401
|
+
'/api/v2/journey/deployments/{deploymentId}/webevents',
|
|
1402
|
+
'POST',
|
|
1403
|
+
{ 'deploymentId': deploymentId },
|
|
1404
|
+
{ },
|
|
1405
|
+
{ },
|
|
1406
|
+
{ },
|
|
1407
|
+
opts['body'],
|
|
1408
|
+
['PureCloud OAuth'],
|
|
1409
|
+
['application/json'],
|
|
1410
|
+
['application/json']
|
|
1411
|
+
);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1386
1414
|
/**
|
|
1387
1415
|
* Query for flow paths.
|
|
1388
1416
|
*
|
|
@@ -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 198.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -619,7 +619,7 @@ class OutboundApi {
|
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
621
|
* Reset messaging campaign progress and recycle the messaging campaign
|
|
622
|
-
*
|
|
622
|
+
* Documented permissions are applicable based on campaign type.
|
|
623
623
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
624
624
|
*/
|
|
625
625
|
deleteOutboundMessagingcampaignProgress(messagingCampaignId) {
|
|
@@ -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 198.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1694,6 +1694,37 @@ class QualityApi {
|
|
|
1694
1694
|
);
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
|
+
/**
|
|
1698
|
+
* Update the Predictive Scoring settings of an evaluation form.
|
|
1699
|
+
*
|
|
1700
|
+
* @param {String} formId Form ID
|
|
1701
|
+
* @param {Object} body Predictive Scoring Settings
|
|
1702
|
+
* putQualityFormsEvaluationPredictivescoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1703
|
+
*/
|
|
1704
|
+
putQualityFormsEvaluationPredictivescoringSettings(formId, body) {
|
|
1705
|
+
// verify the required parameter 'formId' is set
|
|
1706
|
+
if (formId === undefined || formId === null) {
|
|
1707
|
+
throw 'Missing the required parameter "formId" when calling putQualityFormsEvaluationPredictivescoringSettings';
|
|
1708
|
+
}
|
|
1709
|
+
// verify the required parameter 'body' is set
|
|
1710
|
+
if (body === undefined || body === null) {
|
|
1711
|
+
throw 'Missing the required parameter "body" when calling putQualityFormsEvaluationPredictivescoringSettings';
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
return this.apiClient.callApi(
|
|
1715
|
+
'/api/v2/quality/forms/evaluations/{formId}/predictivescoring/settings',
|
|
1716
|
+
'PUT',
|
|
1717
|
+
{ 'formId': formId },
|
|
1718
|
+
{ },
|
|
1719
|
+
{ },
|
|
1720
|
+
{ },
|
|
1721
|
+
body,
|
|
1722
|
+
['PureCloud OAuth'],
|
|
1723
|
+
['application/json'],
|
|
1724
|
+
['application/json']
|
|
1725
|
+
);
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1697
1728
|
/**
|
|
1698
1729
|
* Update a survey form.
|
|
1699
1730
|
*
|