purecloud-platform-client-v2 218.0.0 → 218.1.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 +346 -96
- package/dist/web-amd/purecloud-platform-client-v2.js +346 -96
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +149 -99
- package/dist/web-cjs/purecloud-platform-client-v2.js +149 -99
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +216 -7
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -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 +36 -1
- 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 +65 -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 +31 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -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 -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 +11 -11
- 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 +2 -2
- 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 +65 -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 +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 -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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version 218.
|
|
8
|
+
* @version 218.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3093,6 +3093,41 @@ class ConversationsApi {
|
|
|
3093
3093
|
);
|
|
3094
3094
|
}
|
|
3095
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* Update the feedback for the summary.
|
|
3098
|
+
*
|
|
3099
|
+
* @param {String} conversationId Conversation ID
|
|
3100
|
+
* @param {String} summaryId Summary ID
|
|
3101
|
+
* @param {Object} opts Optional parameters
|
|
3102
|
+
* @param {Object} opts.body
|
|
3103
|
+
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3104
|
+
*/
|
|
3105
|
+
patchConversationSummaryFeedback(conversationId, summaryId, opts) {
|
|
3106
|
+
opts = opts || {};
|
|
3107
|
+
|
|
3108
|
+
// verify the required parameter 'conversationId' is set
|
|
3109
|
+
if (conversationId === undefined || conversationId === null) {
|
|
3110
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';
|
|
3111
|
+
}
|
|
3112
|
+
// verify the required parameter 'summaryId' is set
|
|
3113
|
+
if (summaryId === undefined || summaryId === null) {
|
|
3114
|
+
throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
return this.apiClient.callApi(
|
|
3118
|
+
'/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback',
|
|
3119
|
+
'PATCH',
|
|
3120
|
+
{ 'conversationId': conversationId,'summaryId': summaryId },
|
|
3121
|
+
{ },
|
|
3122
|
+
{ },
|
|
3123
|
+
{ },
|
|
3124
|
+
opts['body'],
|
|
3125
|
+
['PureCloud OAuth'],
|
|
3126
|
+
['application/json'],
|
|
3127
|
+
['application/json']
|
|
3128
|
+
);
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3096
3131
|
/**
|
|
3097
3132
|
* Update the utilization label on a conversation. When there is no value provided, the system default label is applied
|
|
3098
3133
|
*
|
|
@@ -5,7 +5,7 @@ class EmailsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Emails service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
8
|
-
* @version 218.
|
|
8
|
+
* @version 218.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,26 @@ class EmailsApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Reset email threading settings to default
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
deleteEmailsSettingsThreading() {
|
|
28
|
+
|
|
29
|
+
return this.apiClient.callApi(
|
|
30
|
+
'/api/v2/emails/settings/threading',
|
|
31
|
+
'DELETE',
|
|
32
|
+
{ },
|
|
33
|
+
{ },
|
|
34
|
+
{ },
|
|
35
|
+
{ },
|
|
36
|
+
null,
|
|
37
|
+
['PureCloud OAuth'],
|
|
38
|
+
['application/json'],
|
|
39
|
+
['application/json']
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
23
43
|
/**
|
|
24
44
|
* Get email Contact Center settings
|
|
25
45
|
*
|
|
@@ -40,6 +60,26 @@ class EmailsApi {
|
|
|
40
60
|
);
|
|
41
61
|
}
|
|
42
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Get email threading settings
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
getEmailsSettingsThreading() {
|
|
68
|
+
|
|
69
|
+
return this.apiClient.callApi(
|
|
70
|
+
'/api/v2/emails/settings/threading',
|
|
71
|
+
'GET',
|
|
72
|
+
{ },
|
|
73
|
+
{ },
|
|
74
|
+
{ },
|
|
75
|
+
{ },
|
|
76
|
+
null,
|
|
77
|
+
['PureCloud OAuth'],
|
|
78
|
+
['application/json'],
|
|
79
|
+
['application/json']
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
43
83
|
/**
|
|
44
84
|
* Patch email Contact Center settings
|
|
45
85
|
*
|
|
@@ -64,6 +104,30 @@ class EmailsApi {
|
|
|
64
104
|
);
|
|
65
105
|
}
|
|
66
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Patch email threading settings
|
|
109
|
+
*
|
|
110
|
+
* @param {Object} opts Optional parameters
|
|
111
|
+
* @param {Object} opts.body
|
|
112
|
+
*/
|
|
113
|
+
patchEmailsSettingsThreading(opts) {
|
|
114
|
+
opts = opts || {};
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
return this.apiClient.callApi(
|
|
118
|
+
'/api/v2/emails/settings/threading',
|
|
119
|
+
'PATCH',
|
|
120
|
+
{ },
|
|
121
|
+
{ },
|
|
122
|
+
{ },
|
|
123
|
+
{ },
|
|
124
|
+
opts['body'],
|
|
125
|
+
['PureCloud OAuth'],
|
|
126
|
+
['application/json'],
|
|
127
|
+
['application/json']
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
67
131
|
}
|
|
68
132
|
|
|
69
133
|
|
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version 218.
|
|
8
|
+
* @version 218.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2235,6 +2235,36 @@ class IntegrationsApi {
|
|
|
2235
2235
|
);
|
|
2236
2236
|
}
|
|
2237
2237
|
|
|
2238
|
+
/**
|
|
2239
|
+
* Invoke Webhook
|
|
2240
|
+
*
|
|
2241
|
+
* @param {String} tokenId The token of the webhook to be invoked
|
|
2242
|
+
* @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
|
|
2243
|
+
*/
|
|
2244
|
+
postIntegrationsWebhookEvents(tokenId, body) {
|
|
2245
|
+
// verify the required parameter 'tokenId' is set
|
|
2246
|
+
if (tokenId === undefined || tokenId === null) {
|
|
2247
|
+
throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
|
|
2248
|
+
}
|
|
2249
|
+
// verify the required parameter 'body' is set
|
|
2250
|
+
if (body === undefined || body === null) {
|
|
2251
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
return this.apiClient.callApi(
|
|
2255
|
+
'/api/v2/integrations/webhooks/{tokenId}/events',
|
|
2256
|
+
'POST',
|
|
2257
|
+
{ 'tokenId': tokenId },
|
|
2258
|
+
{ },
|
|
2259
|
+
{ },
|
|
2260
|
+
{ },
|
|
2261
|
+
body,
|
|
2262
|
+
['PureCloud OAuth'],
|
|
2263
|
+
['application/json'],
|
|
2264
|
+
['application/json']
|
|
2265
|
+
);
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2238
2268
|
/**
|
|
2239
2269
|
* Update integration configuration.
|
|
2240
2270
|
*
|
|
@@ -5,7 +5,7 @@ class PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version 218.
|
|
8
|
+
* @version 218.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -25,10 +25,10 @@ class PresenceApi {
|
|
|
25
25
|
*
|
|
26
26
|
* @param {String} definitionId Presence Definition ID
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
deleteDivisionBasedPresenceDefinition(definitionId) {
|
|
29
29
|
// verify the required parameter 'definitionId' is set
|
|
30
30
|
if (definitionId === undefined || definitionId === null) {
|
|
31
|
-
throw 'Missing the required parameter "definitionId" when calling
|
|
31
|
+
throw 'Missing the required parameter "definitionId" when calling deleteDivisionBasedPresenceDefinition';
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
return this.apiClient.callApi(
|
|
@@ -103,12 +103,12 @@ class PresenceApi {
|
|
|
103
103
|
* @param {Object} opts Optional parameters
|
|
104
104
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
getDivisionBasedPresenceDefinition(definitionId, opts) {
|
|
107
107
|
opts = opts || {};
|
|
108
108
|
|
|
109
109
|
// verify the required parameter 'definitionId' is set
|
|
110
110
|
if (definitionId === undefined || definitionId === null) {
|
|
111
|
-
throw 'Missing the required parameter "definitionId" when calling
|
|
111
|
+
throw 'Missing the required parameter "definitionId" when calling getDivisionBasedPresenceDefinition';
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
return this.apiClient.callApi(
|
|
@@ -133,7 +133,7 @@ class PresenceApi {
|
|
|
133
133
|
* @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
|
|
134
134
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
135
135
|
*/
|
|
136
|
-
|
|
136
|
+
getDivisionBasedPresenceDefinitions(opts) {
|
|
137
137
|
opts = opts || {};
|
|
138
138
|
|
|
139
139
|
|
|
@@ -501,10 +501,10 @@ class PresenceApi {
|
|
|
501
501
|
*
|
|
502
502
|
* @param {Object} body The Presence Definition to create
|
|
503
503
|
*/
|
|
504
|
-
|
|
504
|
+
postDivisionBasedPresenceDefinitions(body) {
|
|
505
505
|
// verify the required parameter 'body' is set
|
|
506
506
|
if (body === undefined || body === null) {
|
|
507
|
-
throw 'Missing the required parameter "body" when calling
|
|
507
|
+
throw 'Missing the required parameter "body" when calling postDivisionBasedPresenceDefinitions';
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
return this.apiClient.callApi(
|
|
@@ -578,14 +578,14 @@ class PresenceApi {
|
|
|
578
578
|
* @param {String} definitionId Presence Definition ID
|
|
579
579
|
* @param {Object} body The updated Presence Definition
|
|
580
580
|
*/
|
|
581
|
-
|
|
581
|
+
putDivisionBasedPresenceDefinition(definitionId, body) {
|
|
582
582
|
// verify the required parameter 'definitionId' is set
|
|
583
583
|
if (definitionId === undefined || definitionId === null) {
|
|
584
|
-
throw 'Missing the required parameter "definitionId" when calling
|
|
584
|
+
throw 'Missing the required parameter "definitionId" when calling putDivisionBasedPresenceDefinition';
|
|
585
585
|
}
|
|
586
586
|
// verify the required parameter 'body' is set
|
|
587
587
|
if (body === undefined || body === null) {
|
|
588
|
-
throw 'Missing the required parameter "body" when calling
|
|
588
|
+
throw 'Missing the required parameter "body" when calling putDivisionBasedPresenceDefinition';
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
return this.apiClient.callApi(
|