purecloud-platform-client-v2 247.1.0 → 249.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 +2057 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +2057 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +626 -121
- package/dist/web-cjs/purecloud-platform-client-v2.js +626 -121
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1404 -337
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- 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 +1 -1
- 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 +6 -6
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1100 -0
- 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 +18 -14
- 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 +31 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +501 -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 +26 -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 +37 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +57 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +5 -5
- 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 +2 -3
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +46 -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 +1 -1
- 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 +152 -5
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -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 249.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1515,8 +1515,8 @@ class ConversationsApi {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
/**
|
|
1518
|
-
* Get active
|
|
1519
|
-
*
|
|
1518
|
+
* Get the logged-in user's active conversations and their Callback participants state.
|
|
1519
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Callbacks? - Is the user directly participating in a Callback within that conversation?
|
|
1520
1520
|
*/
|
|
1521
1521
|
getConversationsCallbacks() {
|
|
1522
1522
|
|
|
@@ -1535,8 +1535,8 @@ class ConversationsApi {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
/**
|
|
1538
|
-
* Get active
|
|
1539
|
-
*
|
|
1538
|
+
* Get the logged-in user's active conversations and their Call participants state.
|
|
1539
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Calls? - Is the user directly participating in a Call within that conversation?
|
|
1540
1540
|
*/
|
|
1541
1541
|
getConversationsCalls() {
|
|
1542
1542
|
|
|
@@ -2193,8 +2193,12 @@ class ConversationsApi {
|
|
|
2193
2193
|
* Get conversation messages
|
|
2194
2194
|
*
|
|
2195
2195
|
* @param {String} conversationId conversationId
|
|
2196
|
+
* @param {Object} opts Optional parameters
|
|
2197
|
+
* @param {Boolean} opts.includeAgentlessStitchedMessages Whether to include Agentless 'api' type of messages, on stitched conversations. If you provide a conversationId in the agentless email request (/api/v2/conversations/emails/agentless) that matches an existing conversation, then that's a stitched agentless message. (default to false)
|
|
2196
2198
|
*/
|
|
2197
|
-
getConversationsEmailMessages(conversationId) {
|
|
2199
|
+
getConversationsEmailMessages(conversationId, opts) {
|
|
2200
|
+
opts = opts || {};
|
|
2201
|
+
|
|
2198
2202
|
// verify the required parameter 'conversationId' is set
|
|
2199
2203
|
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
2200
2204
|
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';
|
|
@@ -2204,7 +2208,7 @@ class ConversationsApi {
|
|
|
2204
2208
|
'/api/v2/conversations/emails/{conversationId}/messages',
|
|
2205
2209
|
'GET',
|
|
2206
2210
|
{ 'conversationId': conversationId },
|
|
2207
|
-
{
|
|
2211
|
+
{ 'includeAgentlessStitchedMessages': opts['includeAgentlessStitchedMessages'] },
|
|
2208
2212
|
{ },
|
|
2209
2213
|
{ },
|
|
2210
2214
|
null,
|
|
@@ -2368,8 +2372,8 @@ class ConversationsApi {
|
|
|
2368
2372
|
}
|
|
2369
2373
|
|
|
2370
2374
|
/**
|
|
2371
|
-
* Get active
|
|
2372
|
-
*
|
|
2375
|
+
* Get the logged-in user's active conversations and their Email participants state.
|
|
2376
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Emails? - Is the user directly participating in an Email within that conversation?
|
|
2373
2377
|
*/
|
|
2374
2378
|
getConversationsEmails() {
|
|
2375
2379
|
|
|
@@ -2413,8 +2417,8 @@ class ConversationsApi {
|
|
|
2413
2417
|
}
|
|
2414
2418
|
|
|
2415
2419
|
/**
|
|
2416
|
-
* Get
|
|
2417
|
-
*
|
|
2420
|
+
* Get the logged-in user's active conversations and their InternalMessage participants state.
|
|
2421
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include InternalMessages? - Is the user directly participating in an InternalMessage within that conversation?
|
|
2418
2422
|
*/
|
|
2419
2423
|
getConversationsInternalmessages() {
|
|
2420
2424
|
|
|
@@ -2740,8 +2744,8 @@ class ConversationsApi {
|
|
|
2740
2744
|
}
|
|
2741
2745
|
|
|
2742
2746
|
/**
|
|
2743
|
-
* Get active
|
|
2744
|
-
*
|
|
2747
|
+
* Get the logged-in user's active conversations and their Message participants state.
|
|
2748
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Messages? - Is the user directly participating in a Message within that conversation?
|
|
2745
2749
|
*/
|
|
2746
2750
|
getConversationsMessages() {
|
|
2747
2751
|
|
|
@@ -9478,7 +9482,7 @@ class ConversationsApi {
|
|
|
9478
9482
|
/**
|
|
9479
9483
|
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
9480
9484
|
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
9481
|
-
* @param {Object} body
|
|
9485
|
+
* @param {Object} body Reference to supported content profile
|
|
9482
9486
|
*/
|
|
9483
9487
|
putConversationsMessagingSupportedcontentDefault(body) {
|
|
9484
9488
|
// verify the required parameter 'body' is set
|
|
@@ -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 249.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1642,6 +1642,36 @@ class ExternalContactsApi {
|
|
|
1642
1642
|
);
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
|
+
/**
|
|
1646
|
+
* Update specific fields of an external contact
|
|
1647
|
+
*
|
|
1648
|
+
* @param {String} contactId ExternalContact ID
|
|
1649
|
+
* @param {Object} body Contact fields to update
|
|
1650
|
+
*/
|
|
1651
|
+
patchExternalcontactsContact(contactId, body) {
|
|
1652
|
+
// verify the required parameter 'contactId' is set
|
|
1653
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
1654
|
+
throw 'Missing the required parameter "contactId" when calling patchExternalcontactsContact';
|
|
1655
|
+
}
|
|
1656
|
+
// verify the required parameter 'body' is set
|
|
1657
|
+
if (body === undefined || body === null) {
|
|
1658
|
+
throw 'Missing the required parameter "body" when calling patchExternalcontactsContact';
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
return this.apiClient.callApi(
|
|
1662
|
+
'/api/v2/externalcontacts/contacts/{contactId}',
|
|
1663
|
+
'PATCH',
|
|
1664
|
+
{ 'contactId': contactId },
|
|
1665
|
+
{ },
|
|
1666
|
+
{ },
|
|
1667
|
+
{ },
|
|
1668
|
+
body,
|
|
1669
|
+
['PureCloud OAuth'],
|
|
1670
|
+
['application/json'],
|
|
1671
|
+
['application/json']
|
|
1672
|
+
);
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1645
1675
|
/**
|
|
1646
1676
|
* Claim or release identifiers for a contact
|
|
1647
1677
|
*
|