purecloud-platform-client-v2 159.0.0 → 160.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1281 -177
- package/dist/web-amd/purecloud-platform-client-v2.js +1281 -177
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +1281 -177
- package/dist/web-cjs/purecloud-platform-client-v2.js +7744 -400
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +455 -168
- package/package.json +3 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
- 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/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 +814 -42
- 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/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 +107 -0
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -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 +55 -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/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +13 -5
- 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/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -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 +1 -101
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
- 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 +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -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/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 +32 -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 +26 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -400,9 +400,11 @@ class Configuration {
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
const { HttpsProxyAgent } = require('hpagent');
|
|
404
|
+
|
|
403
405
|
/**
|
|
404
406
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
407
|
+
* @version 160.1.0
|
|
406
408
|
*/
|
|
407
409
|
class ApiClient {
|
|
408
410
|
/**
|
|
@@ -671,16 +673,21 @@ class ApiClient {
|
|
|
671
673
|
reject(new Error('The client credentials grant is not supported in a browser.'));
|
|
672
674
|
return;
|
|
673
675
|
}
|
|
674
|
-
|
|
675
676
|
const headers = {
|
|
676
677
|
'Authorization': `Basic ${authHeader}`
|
|
677
678
|
};
|
|
679
|
+
let httpsAgent;
|
|
680
|
+
if (this.proxy !== undefined){
|
|
681
|
+
httpsAgent = new HttpsProxyAgent({
|
|
682
|
+
proxy : `${this.proxy.protocol}://${this.proxy.host}:${this.proxy.port}`
|
|
683
|
+
});
|
|
684
|
+
}
|
|
678
685
|
axios__default["default"]({
|
|
679
686
|
method: `POST`,
|
|
680
687
|
url: `https://login.${this.config.environment}/oauth/token`,
|
|
681
688
|
headers: headers,
|
|
682
689
|
data: 'grant_type=client_credentials',
|
|
683
|
-
|
|
690
|
+
httpsAgent: httpsAgent
|
|
684
691
|
})
|
|
685
692
|
.then((response) => {
|
|
686
693
|
// Logging
|
|
@@ -1377,10 +1384,16 @@ class ApiClient {
|
|
|
1377
1384
|
sendRequest(this);
|
|
1378
1385
|
function sendRequest(that) {
|
|
1379
1386
|
var url = that.buildUrl(path, pathParams);
|
|
1387
|
+
let httpsAgent;
|
|
1388
|
+
if (that.proxy !== undefined){
|
|
1389
|
+
httpsAgent = new HttpsProxyAgent({
|
|
1390
|
+
proxy : `${that.proxy.protocol}://${that.proxy.host}:${that.proxy.port}`
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1380
1393
|
var request = {
|
|
1381
1394
|
method: httpMethod,
|
|
1382
1395
|
url: url,
|
|
1383
|
-
|
|
1396
|
+
httpsAgent: httpsAgent,
|
|
1384
1397
|
timeout: that.timeout,
|
|
1385
1398
|
params: that.serialize(queryParams)
|
|
1386
1399
|
};
|
|
@@ -1481,7 +1494,7 @@ class AlertingApi {
|
|
|
1481
1494
|
/**
|
|
1482
1495
|
* Alerting service.
|
|
1483
1496
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1484
|
-
* @version
|
|
1497
|
+
* @version 160.1.0
|
|
1485
1498
|
*/
|
|
1486
1499
|
|
|
1487
1500
|
/**
|
|
@@ -1795,7 +1808,7 @@ class AnalyticsApi {
|
|
|
1795
1808
|
/**
|
|
1796
1809
|
* Analytics service.
|
|
1797
1810
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1798
|
-
* @version
|
|
1811
|
+
* @version 160.1.0
|
|
1799
1812
|
*/
|
|
1800
1813
|
|
|
1801
1814
|
/**
|
|
@@ -3049,7 +3062,7 @@ class ArchitectApi {
|
|
|
3049
3062
|
/**
|
|
3050
3063
|
* Architect service.
|
|
3051
3064
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3052
|
-
* @version
|
|
3065
|
+
* @version 160.1.0
|
|
3053
3066
|
*/
|
|
3054
3067
|
|
|
3055
3068
|
/**
|
|
@@ -6097,7 +6110,7 @@ class AuditApi {
|
|
|
6097
6110
|
/**
|
|
6098
6111
|
* Audit service.
|
|
6099
6112
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6100
|
-
* @version
|
|
6113
|
+
* @version 160.1.0
|
|
6101
6114
|
*/
|
|
6102
6115
|
|
|
6103
6116
|
/**
|
|
@@ -6268,7 +6281,7 @@ class AuthorizationApi {
|
|
|
6268
6281
|
/**
|
|
6269
6282
|
* Authorization service.
|
|
6270
6283
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6271
|
-
* @version
|
|
6284
|
+
* @version 160.1.0
|
|
6272
6285
|
*/
|
|
6273
6286
|
|
|
6274
6287
|
/**
|
|
@@ -7496,7 +7509,7 @@ class BillingApi {
|
|
|
7496
7509
|
/**
|
|
7497
7510
|
* Billing service.
|
|
7498
7511
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7499
|
-
* @version
|
|
7512
|
+
* @version 160.1.0
|
|
7500
7513
|
*/
|
|
7501
7514
|
|
|
7502
7515
|
/**
|
|
@@ -7576,7 +7589,7 @@ class ChatApi {
|
|
|
7576
7589
|
/**
|
|
7577
7590
|
* Chat service.
|
|
7578
7591
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7579
|
-
* @version
|
|
7592
|
+
* @version 160.1.0
|
|
7580
7593
|
*/
|
|
7581
7594
|
|
|
7582
7595
|
/**
|
|
@@ -7667,7 +7680,7 @@ class CoachingApi {
|
|
|
7667
7680
|
/**
|
|
7668
7681
|
* Coaching service.
|
|
7669
7682
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7670
|
-
* @version
|
|
7683
|
+
* @version 160.1.0
|
|
7671
7684
|
*/
|
|
7672
7685
|
|
|
7673
7686
|
/**
|
|
@@ -8244,7 +8257,7 @@ class ContentManagementApi {
|
|
|
8244
8257
|
/**
|
|
8245
8258
|
* ContentManagement service.
|
|
8246
8259
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8247
|
-
* @version
|
|
8260
|
+
* @version 160.1.0
|
|
8248
8261
|
*/
|
|
8249
8262
|
|
|
8250
8263
|
/**
|
|
@@ -9384,7 +9397,7 @@ class ConversationsApi {
|
|
|
9384
9397
|
/**
|
|
9385
9398
|
* Conversations service.
|
|
9386
9399
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9387
|
-
* @version
|
|
9400
|
+
* @version 160.1.0
|
|
9388
9401
|
*/
|
|
9389
9402
|
|
|
9390
9403
|
/**
|
|
@@ -10051,6 +10064,45 @@ class ConversationsApi {
|
|
|
10051
10064
|
);
|
|
10052
10065
|
}
|
|
10053
10066
|
|
|
10067
|
+
/**
|
|
10068
|
+
* Get the wrap-up for this conversation communication.
|
|
10069
|
+
*
|
|
10070
|
+
* @param {String} conversationId conversationId
|
|
10071
|
+
* @param {String} participantId participantId
|
|
10072
|
+
* @param {String} communicationId communicationId
|
|
10073
|
+
* @param {Object} opts Optional parameters
|
|
10074
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10075
|
+
*/
|
|
10076
|
+
getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
10077
|
+
opts = opts || {};
|
|
10078
|
+
|
|
10079
|
+
// verify the required parameter 'conversationId' is set
|
|
10080
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10081
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
10082
|
+
}
|
|
10083
|
+
// verify the required parameter 'participantId' is set
|
|
10084
|
+
if (participantId === undefined || participantId === null) {
|
|
10085
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
10086
|
+
}
|
|
10087
|
+
// verify the required parameter 'communicationId' is set
|
|
10088
|
+
if (communicationId === undefined || communicationId === null) {
|
|
10089
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
10090
|
+
}
|
|
10091
|
+
|
|
10092
|
+
return this.apiClient.callApi(
|
|
10093
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
10094
|
+
'GET',
|
|
10095
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
10096
|
+
{ 'provisional': opts['provisional'] },
|
|
10097
|
+
{ },
|
|
10098
|
+
{ },
|
|
10099
|
+
null,
|
|
10100
|
+
['PureCloud OAuth'],
|
|
10101
|
+
['application/json'],
|
|
10102
|
+
['application/json']
|
|
10103
|
+
);
|
|
10104
|
+
}
|
|
10105
|
+
|
|
10054
10106
|
/**
|
|
10055
10107
|
* Get the wrap-up for this conversation participant.
|
|
10056
10108
|
*
|
|
@@ -10140,6 +10192,45 @@ class ConversationsApi {
|
|
|
10140
10192
|
);
|
|
10141
10193
|
}
|
|
10142
10194
|
|
|
10195
|
+
/**
|
|
10196
|
+
* Get the wrap-up for this conversation communication.
|
|
10197
|
+
*
|
|
10198
|
+
* @param {String} conversationId conversationId
|
|
10199
|
+
* @param {String} participantId participantId
|
|
10200
|
+
* @param {String} communicationId communicationId
|
|
10201
|
+
* @param {Object} opts Optional parameters
|
|
10202
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10203
|
+
*/
|
|
10204
|
+
getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
10205
|
+
opts = opts || {};
|
|
10206
|
+
|
|
10207
|
+
// verify the required parameter 'conversationId' is set
|
|
10208
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10209
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
10210
|
+
}
|
|
10211
|
+
// verify the required parameter 'participantId' is set
|
|
10212
|
+
if (participantId === undefined || participantId === null) {
|
|
10213
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
10214
|
+
}
|
|
10215
|
+
// verify the required parameter 'communicationId' is set
|
|
10216
|
+
if (communicationId === undefined || communicationId === null) {
|
|
10217
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
10218
|
+
}
|
|
10219
|
+
|
|
10220
|
+
return this.apiClient.callApi(
|
|
10221
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
10222
|
+
'GET',
|
|
10223
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
10224
|
+
{ 'provisional': opts['provisional'] },
|
|
10225
|
+
{ },
|
|
10226
|
+
{ },
|
|
10227
|
+
null,
|
|
10228
|
+
['PureCloud OAuth'],
|
|
10229
|
+
['application/json'],
|
|
10230
|
+
['application/json']
|
|
10231
|
+
);
|
|
10232
|
+
}
|
|
10233
|
+
|
|
10143
10234
|
/**
|
|
10144
10235
|
* Get the wrap-up for this conversation participant.
|
|
10145
10236
|
*
|
|
@@ -10378,6 +10469,45 @@ class ConversationsApi {
|
|
|
10378
10469
|
);
|
|
10379
10470
|
}
|
|
10380
10471
|
|
|
10472
|
+
/**
|
|
10473
|
+
* Get the wrap-up for this conversation communication.
|
|
10474
|
+
*
|
|
10475
|
+
* @param {String} conversationId conversationId
|
|
10476
|
+
* @param {String} participantId participantId
|
|
10477
|
+
* @param {String} communicationId communicationId
|
|
10478
|
+
* @param {Object} opts Optional parameters
|
|
10479
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10480
|
+
*/
|
|
10481
|
+
getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
10482
|
+
opts = opts || {};
|
|
10483
|
+
|
|
10484
|
+
// verify the required parameter 'conversationId' is set
|
|
10485
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10486
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
10487
|
+
}
|
|
10488
|
+
// verify the required parameter 'participantId' is set
|
|
10489
|
+
if (participantId === undefined || participantId === null) {
|
|
10490
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
10491
|
+
}
|
|
10492
|
+
// verify the required parameter 'communicationId' is set
|
|
10493
|
+
if (communicationId === undefined || communicationId === null) {
|
|
10494
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
10495
|
+
}
|
|
10496
|
+
|
|
10497
|
+
return this.apiClient.callApi(
|
|
10498
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
10499
|
+
'GET',
|
|
10500
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
10501
|
+
{ 'provisional': opts['provisional'] },
|
|
10502
|
+
{ },
|
|
10503
|
+
{ },
|
|
10504
|
+
null,
|
|
10505
|
+
['PureCloud OAuth'],
|
|
10506
|
+
['application/json'],
|
|
10507
|
+
['application/json']
|
|
10508
|
+
);
|
|
10509
|
+
}
|
|
10510
|
+
|
|
10381
10511
|
/**
|
|
10382
10512
|
* Get the wrap-up for this conversation participant.
|
|
10383
10513
|
*
|
|
@@ -10487,6 +10617,45 @@ class ConversationsApi {
|
|
|
10487
10617
|
);
|
|
10488
10618
|
}
|
|
10489
10619
|
|
|
10620
|
+
/**
|
|
10621
|
+
* Get the wrap-up for this conversation communication.
|
|
10622
|
+
*
|
|
10623
|
+
* @param {String} conversationId conversationId
|
|
10624
|
+
* @param {String} participantId participantId
|
|
10625
|
+
* @param {String} communicationId communicationId
|
|
10626
|
+
* @param {Object} opts Optional parameters
|
|
10627
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10628
|
+
*/
|
|
10629
|
+
getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
10630
|
+
opts = opts || {};
|
|
10631
|
+
|
|
10632
|
+
// verify the required parameter 'conversationId' is set
|
|
10633
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10634
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
10635
|
+
}
|
|
10636
|
+
// verify the required parameter 'participantId' is set
|
|
10637
|
+
if (participantId === undefined || participantId === null) {
|
|
10638
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
10639
|
+
}
|
|
10640
|
+
// verify the required parameter 'communicationId' is set
|
|
10641
|
+
if (communicationId === undefined || communicationId === null) {
|
|
10642
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
10643
|
+
}
|
|
10644
|
+
|
|
10645
|
+
return this.apiClient.callApi(
|
|
10646
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
10647
|
+
'GET',
|
|
10648
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
10649
|
+
{ 'provisional': opts['provisional'] },
|
|
10650
|
+
{ },
|
|
10651
|
+
{ },
|
|
10652
|
+
null,
|
|
10653
|
+
['PureCloud OAuth'],
|
|
10654
|
+
['application/json'],
|
|
10655
|
+
['application/json']
|
|
10656
|
+
);
|
|
10657
|
+
}
|
|
10658
|
+
|
|
10490
10659
|
/**
|
|
10491
10660
|
* Get the wrap-up for this conversation participant.
|
|
10492
10661
|
*
|
|
@@ -10676,6 +10845,45 @@ class ConversationsApi {
|
|
|
10676
10845
|
);
|
|
10677
10846
|
}
|
|
10678
10847
|
|
|
10848
|
+
/**
|
|
10849
|
+
* Get the wrap-up for this conversation communication.
|
|
10850
|
+
*
|
|
10851
|
+
* @param {String} conversationId conversationId
|
|
10852
|
+
* @param {String} participantId participantId
|
|
10853
|
+
* @param {String} communicationId communicationId
|
|
10854
|
+
* @param {Object} opts Optional parameters
|
|
10855
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10856
|
+
*/
|
|
10857
|
+
getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
10858
|
+
opts = opts || {};
|
|
10859
|
+
|
|
10860
|
+
// verify the required parameter 'conversationId' is set
|
|
10861
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10862
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
10863
|
+
}
|
|
10864
|
+
// verify the required parameter 'participantId' is set
|
|
10865
|
+
if (participantId === undefined || participantId === null) {
|
|
10866
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
10867
|
+
}
|
|
10868
|
+
// verify the required parameter 'communicationId' is set
|
|
10869
|
+
if (communicationId === undefined || communicationId === null) {
|
|
10870
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
10871
|
+
}
|
|
10872
|
+
|
|
10873
|
+
return this.apiClient.callApi(
|
|
10874
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
10875
|
+
'GET',
|
|
10876
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
10877
|
+
{ 'provisional': opts['provisional'] },
|
|
10878
|
+
{ },
|
|
10879
|
+
{ },
|
|
10880
|
+
null,
|
|
10881
|
+
['PureCloud OAuth'],
|
|
10882
|
+
['application/json'],
|
|
10883
|
+
['application/json']
|
|
10884
|
+
);
|
|
10885
|
+
}
|
|
10886
|
+
|
|
10679
10887
|
/**
|
|
10680
10888
|
* Get the wrap-up for this conversation participant.
|
|
10681
10889
|
*
|
|
@@ -10953,6 +11161,45 @@ class ConversationsApi {
|
|
|
10953
11161
|
);
|
|
10954
11162
|
}
|
|
10955
11163
|
|
|
11164
|
+
/**
|
|
11165
|
+
* Get the wrap-up for this conversation communication.
|
|
11166
|
+
*
|
|
11167
|
+
* @param {String} conversationId conversationId
|
|
11168
|
+
* @param {String} participantId participantId
|
|
11169
|
+
* @param {String} communicationId communicationId
|
|
11170
|
+
* @param {Object} opts Optional parameters
|
|
11171
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
11172
|
+
*/
|
|
11173
|
+
getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
11174
|
+
opts = opts || {};
|
|
11175
|
+
|
|
11176
|
+
// verify the required parameter 'conversationId' is set
|
|
11177
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11178
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
11179
|
+
}
|
|
11180
|
+
// verify the required parameter 'participantId' is set
|
|
11181
|
+
if (participantId === undefined || participantId === null) {
|
|
11182
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
11183
|
+
}
|
|
11184
|
+
// verify the required parameter 'communicationId' is set
|
|
11185
|
+
if (communicationId === undefined || communicationId === null) {
|
|
11186
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
11187
|
+
}
|
|
11188
|
+
|
|
11189
|
+
return this.apiClient.callApi(
|
|
11190
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
11191
|
+
'GET',
|
|
11192
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
11193
|
+
{ 'provisional': opts['provisional'] },
|
|
11194
|
+
{ },
|
|
11195
|
+
{ },
|
|
11196
|
+
null,
|
|
11197
|
+
['PureCloud OAuth'],
|
|
11198
|
+
['application/json'],
|
|
11199
|
+
['application/json']
|
|
11200
|
+
);
|
|
11201
|
+
}
|
|
11202
|
+
|
|
10956
11203
|
/**
|
|
10957
11204
|
* Get the wrap-up for this conversation participant.
|
|
10958
11205
|
*
|
|
@@ -11490,6 +11737,143 @@ class ConversationsApi {
|
|
|
11490
11737
|
);
|
|
11491
11738
|
}
|
|
11492
11739
|
|
|
11740
|
+
/**
|
|
11741
|
+
* Get the wrap-up for this conversation communication.
|
|
11742
|
+
*
|
|
11743
|
+
* @param {String} conversationId conversationId
|
|
11744
|
+
* @param {String} participantId participantId
|
|
11745
|
+
* @param {String} communicationId communicationId
|
|
11746
|
+
* @param {Object} opts Optional parameters
|
|
11747
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
11748
|
+
*/
|
|
11749
|
+
getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
11750
|
+
opts = opts || {};
|
|
11751
|
+
|
|
11752
|
+
// verify the required parameter 'conversationId' is set
|
|
11753
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11754
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
11755
|
+
}
|
|
11756
|
+
// verify the required parameter 'participantId' is set
|
|
11757
|
+
if (participantId === undefined || participantId === null) {
|
|
11758
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
11759
|
+
}
|
|
11760
|
+
// verify the required parameter 'communicationId' is set
|
|
11761
|
+
if (communicationId === undefined || communicationId === null) {
|
|
11762
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
11763
|
+
}
|
|
11764
|
+
|
|
11765
|
+
return this.apiClient.callApi(
|
|
11766
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
11767
|
+
'GET',
|
|
11768
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
11769
|
+
{ 'provisional': opts['provisional'] },
|
|
11770
|
+
{ },
|
|
11771
|
+
{ },
|
|
11772
|
+
null,
|
|
11773
|
+
['PureCloud OAuth'],
|
|
11774
|
+
['application/json'],
|
|
11775
|
+
['application/json']
|
|
11776
|
+
);
|
|
11777
|
+
}
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* Get Settings
|
|
11781
|
+
*
|
|
11782
|
+
*/
|
|
11783
|
+
getConversationsSettings() {
|
|
11784
|
+
|
|
11785
|
+
return this.apiClient.callApi(
|
|
11786
|
+
'/api/v2/conversations/settings',
|
|
11787
|
+
'GET',
|
|
11788
|
+
{ },
|
|
11789
|
+
{ },
|
|
11790
|
+
{ },
|
|
11791
|
+
{ },
|
|
11792
|
+
null,
|
|
11793
|
+
['PureCloud OAuth'],
|
|
11794
|
+
['application/json'],
|
|
11795
|
+
['application/json']
|
|
11796
|
+
);
|
|
11797
|
+
}
|
|
11798
|
+
|
|
11799
|
+
/**
|
|
11800
|
+
* Get the wrap-up for this conversation communication.
|
|
11801
|
+
*
|
|
11802
|
+
* @param {String} conversationId conversationId
|
|
11803
|
+
* @param {String} participantId participantId
|
|
11804
|
+
* @param {String} communicationId communicationId
|
|
11805
|
+
* @param {Object} opts Optional parameters
|
|
11806
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
11807
|
+
*/
|
|
11808
|
+
getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
11809
|
+
opts = opts || {};
|
|
11810
|
+
|
|
11811
|
+
// verify the required parameter 'conversationId' is set
|
|
11812
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11813
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
11814
|
+
}
|
|
11815
|
+
// verify the required parameter 'participantId' is set
|
|
11816
|
+
if (participantId === undefined || participantId === null) {
|
|
11817
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
11818
|
+
}
|
|
11819
|
+
// verify the required parameter 'communicationId' is set
|
|
11820
|
+
if (communicationId === undefined || communicationId === null) {
|
|
11821
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
11822
|
+
}
|
|
11823
|
+
|
|
11824
|
+
return this.apiClient.callApi(
|
|
11825
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
11826
|
+
'GET',
|
|
11827
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
11828
|
+
{ 'provisional': opts['provisional'] },
|
|
11829
|
+
{ },
|
|
11830
|
+
{ },
|
|
11831
|
+
null,
|
|
11832
|
+
['PureCloud OAuth'],
|
|
11833
|
+
['application/json'],
|
|
11834
|
+
['application/json']
|
|
11835
|
+
);
|
|
11836
|
+
}
|
|
11837
|
+
|
|
11838
|
+
/**
|
|
11839
|
+
* Get the wrap-up for this conversation communication.
|
|
11840
|
+
*
|
|
11841
|
+
* @param {String} conversationId conversationId
|
|
11842
|
+
* @param {String} participantId participantId
|
|
11843
|
+
* @param {String} communicationId communicationId
|
|
11844
|
+
* @param {Object} opts Optional parameters
|
|
11845
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
11846
|
+
*/
|
|
11847
|
+
getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
11848
|
+
opts = opts || {};
|
|
11849
|
+
|
|
11850
|
+
// verify the required parameter 'conversationId' is set
|
|
11851
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11852
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
11853
|
+
}
|
|
11854
|
+
// verify the required parameter 'participantId' is set
|
|
11855
|
+
if (participantId === undefined || participantId === null) {
|
|
11856
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
11857
|
+
}
|
|
11858
|
+
// verify the required parameter 'communicationId' is set
|
|
11859
|
+
if (communicationId === undefined || communicationId === null) {
|
|
11860
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
11861
|
+
}
|
|
11862
|
+
|
|
11863
|
+
return this.apiClient.callApi(
|
|
11864
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
11865
|
+
'GET',
|
|
11866
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
11867
|
+
{ 'provisional': opts['provisional'] },
|
|
11868
|
+
{ },
|
|
11869
|
+
{ },
|
|
11870
|
+
null,
|
|
11871
|
+
['PureCloud OAuth'],
|
|
11872
|
+
['application/json'],
|
|
11873
|
+
['application/json']
|
|
11874
|
+
);
|
|
11875
|
+
}
|
|
11876
|
+
|
|
11493
11877
|
/**
|
|
11494
11878
|
* Update a participant.
|
|
11495
11879
|
* Update conversation participant.
|
|
@@ -12636,6 +13020,31 @@ class ConversationsApi {
|
|
|
12636
13020
|
);
|
|
12637
13021
|
}
|
|
12638
13022
|
|
|
13023
|
+
/**
|
|
13024
|
+
* Update Settings
|
|
13025
|
+
*
|
|
13026
|
+
* @param {Object} body Settings
|
|
13027
|
+
*/
|
|
13028
|
+
patchConversationsSettings(body) {
|
|
13029
|
+
// verify the required parameter 'body' is set
|
|
13030
|
+
if (body === undefined || body === null) {
|
|
13031
|
+
throw 'Missing the required parameter "body" when calling patchConversationsSettings';
|
|
13032
|
+
}
|
|
13033
|
+
|
|
13034
|
+
return this.apiClient.callApi(
|
|
13035
|
+
'/api/v2/conversations/settings',
|
|
13036
|
+
'PATCH',
|
|
13037
|
+
{ },
|
|
13038
|
+
{ },
|
|
13039
|
+
{ },
|
|
13040
|
+
{ },
|
|
13041
|
+
body,
|
|
13042
|
+
['PureCloud OAuth'],
|
|
13043
|
+
['application/json'],
|
|
13044
|
+
['application/json']
|
|
13045
|
+
);
|
|
13046
|
+
}
|
|
13047
|
+
|
|
12639
13048
|
/**
|
|
12640
13049
|
* Index conversation properties
|
|
12641
13050
|
*
|
|
@@ -13018,6 +13427,45 @@ class ConversationsApi {
|
|
|
13018
13427
|
);
|
|
13019
13428
|
}
|
|
13020
13429
|
|
|
13430
|
+
/**
|
|
13431
|
+
* Apply wrap-up for this conversation communication
|
|
13432
|
+
*
|
|
13433
|
+
* @param {String} conversationId conversationId
|
|
13434
|
+
* @param {String} participantId participantId
|
|
13435
|
+
* @param {String} communicationId communicationId
|
|
13436
|
+
* @param {Object} opts Optional parameters
|
|
13437
|
+
* @param {Object} opts.body Wrap-up
|
|
13438
|
+
*/
|
|
13439
|
+
postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13440
|
+
opts = opts || {};
|
|
13441
|
+
|
|
13442
|
+
// verify the required parameter 'conversationId' is set
|
|
13443
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13444
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
13445
|
+
}
|
|
13446
|
+
// verify the required parameter 'participantId' is set
|
|
13447
|
+
if (participantId === undefined || participantId === null) {
|
|
13448
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
13449
|
+
}
|
|
13450
|
+
// verify the required parameter 'communicationId' is set
|
|
13451
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13452
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
13453
|
+
}
|
|
13454
|
+
|
|
13455
|
+
return this.apiClient.callApi(
|
|
13456
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13457
|
+
'POST',
|
|
13458
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13459
|
+
{ },
|
|
13460
|
+
{ },
|
|
13461
|
+
{ },
|
|
13462
|
+
opts['body'],
|
|
13463
|
+
['PureCloud OAuth'],
|
|
13464
|
+
['application/json'],
|
|
13465
|
+
['application/json']
|
|
13466
|
+
);
|
|
13467
|
+
}
|
|
13468
|
+
|
|
13021
13469
|
/**
|
|
13022
13470
|
* Initiate and update consult transfer
|
|
13023
13471
|
*
|
|
@@ -13148,6 +13596,45 @@ class ConversationsApi {
|
|
|
13148
13596
|
);
|
|
13149
13597
|
}
|
|
13150
13598
|
|
|
13599
|
+
/**
|
|
13600
|
+
* Apply wrap-up for this conversation communication
|
|
13601
|
+
*
|
|
13602
|
+
* @param {String} conversationId conversationId
|
|
13603
|
+
* @param {String} participantId participantId
|
|
13604
|
+
* @param {String} communicationId communicationId
|
|
13605
|
+
* @param {Object} opts Optional parameters
|
|
13606
|
+
* @param {Object} opts.body Wrap-up
|
|
13607
|
+
*/
|
|
13608
|
+
postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13609
|
+
opts = opts || {};
|
|
13610
|
+
|
|
13611
|
+
// verify the required parameter 'conversationId' is set
|
|
13612
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13613
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
13614
|
+
}
|
|
13615
|
+
// verify the required parameter 'participantId' is set
|
|
13616
|
+
if (participantId === undefined || participantId === null) {
|
|
13617
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
13618
|
+
}
|
|
13619
|
+
// verify the required parameter 'communicationId' is set
|
|
13620
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13621
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
13622
|
+
}
|
|
13623
|
+
|
|
13624
|
+
return this.apiClient.callApi(
|
|
13625
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13626
|
+
'POST',
|
|
13627
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13628
|
+
{ },
|
|
13629
|
+
{ },
|
|
13630
|
+
{ },
|
|
13631
|
+
opts['body'],
|
|
13632
|
+
['PureCloud OAuth'],
|
|
13633
|
+
['application/json'],
|
|
13634
|
+
['application/json']
|
|
13635
|
+
);
|
|
13636
|
+
}
|
|
13637
|
+
|
|
13151
13638
|
/**
|
|
13152
13639
|
* Replace this participant with the specified user and/or address
|
|
13153
13640
|
*
|
|
@@ -13348,6 +13835,45 @@ class ConversationsApi {
|
|
|
13348
13835
|
);
|
|
13349
13836
|
}
|
|
13350
13837
|
|
|
13838
|
+
/**
|
|
13839
|
+
* Apply wrap-up for this conversation communication
|
|
13840
|
+
*
|
|
13841
|
+
* @param {String} conversationId conversationId
|
|
13842
|
+
* @param {String} participantId participantId
|
|
13843
|
+
* @param {String} communicationId communicationId
|
|
13844
|
+
* @param {Object} opts Optional parameters
|
|
13845
|
+
* @param {Object} opts.body Wrap-up
|
|
13846
|
+
*/
|
|
13847
|
+
postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13848
|
+
opts = opts || {};
|
|
13849
|
+
|
|
13850
|
+
// verify the required parameter 'conversationId' is set
|
|
13851
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13852
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
13853
|
+
}
|
|
13854
|
+
// verify the required parameter 'participantId' is set
|
|
13855
|
+
if (participantId === undefined || participantId === null) {
|
|
13856
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
13857
|
+
}
|
|
13858
|
+
// verify the required parameter 'communicationId' is set
|
|
13859
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13860
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
13861
|
+
}
|
|
13862
|
+
|
|
13863
|
+
return this.apiClient.callApi(
|
|
13864
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13865
|
+
'POST',
|
|
13866
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13867
|
+
{ },
|
|
13868
|
+
{ },
|
|
13869
|
+
{ },
|
|
13870
|
+
opts['body'],
|
|
13871
|
+
['PureCloud OAuth'],
|
|
13872
|
+
['application/json'],
|
|
13873
|
+
['application/json']
|
|
13874
|
+
);
|
|
13875
|
+
}
|
|
13876
|
+
|
|
13351
13877
|
/**
|
|
13352
13878
|
* Replace this participant with the specified user and/or address
|
|
13353
13879
|
*
|
|
@@ -13408,6 +13934,45 @@ class ConversationsApi {
|
|
|
13408
13934
|
);
|
|
13409
13935
|
}
|
|
13410
13936
|
|
|
13937
|
+
/**
|
|
13938
|
+
* Apply wrap-up for this conversation communication
|
|
13939
|
+
*
|
|
13940
|
+
* @param {String} conversationId conversationId
|
|
13941
|
+
* @param {String} participantId participantId
|
|
13942
|
+
* @param {String} communicationId communicationId
|
|
13943
|
+
* @param {Object} opts Optional parameters
|
|
13944
|
+
* @param {Object} opts.body Wrap-up
|
|
13945
|
+
*/
|
|
13946
|
+
postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13947
|
+
opts = opts || {};
|
|
13948
|
+
|
|
13949
|
+
// verify the required parameter 'conversationId' is set
|
|
13950
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13951
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
13952
|
+
}
|
|
13953
|
+
// verify the required parameter 'participantId' is set
|
|
13954
|
+
if (participantId === undefined || participantId === null) {
|
|
13955
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
13956
|
+
}
|
|
13957
|
+
// verify the required parameter 'communicationId' is set
|
|
13958
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13959
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
13960
|
+
}
|
|
13961
|
+
|
|
13962
|
+
return this.apiClient.callApi(
|
|
13963
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13964
|
+
'POST',
|
|
13965
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13966
|
+
{ },
|
|
13967
|
+
{ },
|
|
13968
|
+
{ },
|
|
13969
|
+
opts['body'],
|
|
13970
|
+
['PureCloud OAuth'],
|
|
13971
|
+
['application/json'],
|
|
13972
|
+
['application/json']
|
|
13973
|
+
);
|
|
13974
|
+
}
|
|
13975
|
+
|
|
13411
13976
|
/**
|
|
13412
13977
|
* Replace this participant with the specified user and/or address
|
|
13413
13978
|
*
|
|
@@ -13532,6 +14097,45 @@ class ConversationsApi {
|
|
|
13532
14097
|
);
|
|
13533
14098
|
}
|
|
13534
14099
|
|
|
14100
|
+
/**
|
|
14101
|
+
* Apply wrap-up for this conversation communication
|
|
14102
|
+
*
|
|
14103
|
+
* @param {String} conversationId conversationId
|
|
14104
|
+
* @param {String} participantId participantId
|
|
14105
|
+
* @param {String} communicationId communicationId
|
|
14106
|
+
* @param {Object} opts Optional parameters
|
|
14107
|
+
* @param {Object} opts.body Wrap-up
|
|
14108
|
+
*/
|
|
14109
|
+
postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
14110
|
+
opts = opts || {};
|
|
14111
|
+
|
|
14112
|
+
// verify the required parameter 'conversationId' is set
|
|
14113
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14114
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
14115
|
+
}
|
|
14116
|
+
// verify the required parameter 'participantId' is set
|
|
14117
|
+
if (participantId === undefined || participantId === null) {
|
|
14118
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
14119
|
+
}
|
|
14120
|
+
// verify the required parameter 'communicationId' is set
|
|
14121
|
+
if (communicationId === undefined || communicationId === null) {
|
|
14122
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
14123
|
+
}
|
|
14124
|
+
|
|
14125
|
+
return this.apiClient.callApi(
|
|
14126
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
14127
|
+
'POST',
|
|
14128
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
14129
|
+
{ },
|
|
14130
|
+
{ },
|
|
14131
|
+
{ },
|
|
14132
|
+
opts['body'],
|
|
14133
|
+
['PureCloud OAuth'],
|
|
14134
|
+
['application/json'],
|
|
14135
|
+
['application/json']
|
|
14136
|
+
);
|
|
14137
|
+
}
|
|
14138
|
+
|
|
13535
14139
|
/**
|
|
13536
14140
|
* Replace this participant with the specified user and/or address
|
|
13537
14141
|
*
|
|
@@ -13826,6 +14430,45 @@ class ConversationsApi {
|
|
|
13826
14430
|
);
|
|
13827
14431
|
}
|
|
13828
14432
|
|
|
14433
|
+
/**
|
|
14434
|
+
* Apply wrap-up for this conversation communication
|
|
14435
|
+
*
|
|
14436
|
+
* @param {String} conversationId conversationId
|
|
14437
|
+
* @param {String} participantId participantId
|
|
14438
|
+
* @param {String} communicationId communicationId
|
|
14439
|
+
* @param {Object} opts Optional parameters
|
|
14440
|
+
* @param {Object} opts.body Wrap-up
|
|
14441
|
+
*/
|
|
14442
|
+
postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
14443
|
+
opts = opts || {};
|
|
14444
|
+
|
|
14445
|
+
// verify the required parameter 'conversationId' is set
|
|
14446
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14447
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
14448
|
+
}
|
|
14449
|
+
// verify the required parameter 'participantId' is set
|
|
14450
|
+
if (participantId === undefined || participantId === null) {
|
|
14451
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
14452
|
+
}
|
|
14453
|
+
// verify the required parameter 'communicationId' is set
|
|
14454
|
+
if (communicationId === undefined || communicationId === null) {
|
|
14455
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
14456
|
+
}
|
|
14457
|
+
|
|
14458
|
+
return this.apiClient.callApi(
|
|
14459
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
14460
|
+
'POST',
|
|
14461
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
14462
|
+
{ },
|
|
14463
|
+
{ },
|
|
14464
|
+
{ },
|
|
14465
|
+
opts['body'],
|
|
14466
|
+
['PureCloud OAuth'],
|
|
14467
|
+
['application/json'],
|
|
14468
|
+
['application/json']
|
|
14469
|
+
);
|
|
14470
|
+
}
|
|
14471
|
+
|
|
13829
14472
|
/**
|
|
13830
14473
|
* Replace this participant with the specified user and/or address
|
|
13831
14474
|
*
|
|
@@ -14086,6 +14729,148 @@ class ConversationsApi {
|
|
|
14086
14729
|
);
|
|
14087
14730
|
}
|
|
14088
14731
|
|
|
14732
|
+
/**
|
|
14733
|
+
* Search conversations
|
|
14734
|
+
*
|
|
14735
|
+
* @param {Object} body Search request options
|
|
14736
|
+
*/
|
|
14737
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
14738
|
+
// verify the required parameter 'body' is set
|
|
14739
|
+
if (body === undefined || body === null) {
|
|
14740
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
14741
|
+
}
|
|
14742
|
+
|
|
14743
|
+
return this.apiClient.callApi(
|
|
14744
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
14745
|
+
'POST',
|
|
14746
|
+
{ },
|
|
14747
|
+
{ },
|
|
14748
|
+
{ },
|
|
14749
|
+
{ },
|
|
14750
|
+
body,
|
|
14751
|
+
['PureCloud OAuth'],
|
|
14752
|
+
['application/json'],
|
|
14753
|
+
['application/json']
|
|
14754
|
+
);
|
|
14755
|
+
}
|
|
14756
|
+
|
|
14757
|
+
/**
|
|
14758
|
+
* Apply wrap-up for this conversation communication
|
|
14759
|
+
*
|
|
14760
|
+
* @param {String} conversationId conversationId
|
|
14761
|
+
* @param {String} participantId participantId
|
|
14762
|
+
* @param {String} communicationId communicationId
|
|
14763
|
+
* @param {Object} opts Optional parameters
|
|
14764
|
+
* @param {Object} opts.body Wrap-up
|
|
14765
|
+
*/
|
|
14766
|
+
postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
14767
|
+
opts = opts || {};
|
|
14768
|
+
|
|
14769
|
+
// verify the required parameter 'conversationId' is set
|
|
14770
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14771
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
14772
|
+
}
|
|
14773
|
+
// verify the required parameter 'participantId' is set
|
|
14774
|
+
if (participantId === undefined || participantId === null) {
|
|
14775
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
14776
|
+
}
|
|
14777
|
+
// verify the required parameter 'communicationId' is set
|
|
14778
|
+
if (communicationId === undefined || communicationId === null) {
|
|
14779
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
14780
|
+
}
|
|
14781
|
+
|
|
14782
|
+
return this.apiClient.callApi(
|
|
14783
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
14784
|
+
'POST',
|
|
14785
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
14786
|
+
{ },
|
|
14787
|
+
{ },
|
|
14788
|
+
{ },
|
|
14789
|
+
opts['body'],
|
|
14790
|
+
['PureCloud OAuth'],
|
|
14791
|
+
['application/json'],
|
|
14792
|
+
['application/json']
|
|
14793
|
+
);
|
|
14794
|
+
}
|
|
14795
|
+
|
|
14796
|
+
/**
|
|
14797
|
+
* Apply wrap-up for this conversation communication
|
|
14798
|
+
*
|
|
14799
|
+
* @param {String} conversationId conversationId
|
|
14800
|
+
* @param {String} participantId participantId
|
|
14801
|
+
* @param {String} communicationId communicationId
|
|
14802
|
+
* @param {Object} opts Optional parameters
|
|
14803
|
+
* @param {Object} opts.body Wrap-up
|
|
14804
|
+
*/
|
|
14805
|
+
postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
14806
|
+
opts = opts || {};
|
|
14807
|
+
|
|
14808
|
+
// verify the required parameter 'conversationId' is set
|
|
14809
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14810
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
14811
|
+
}
|
|
14812
|
+
// verify the required parameter 'participantId' is set
|
|
14813
|
+
if (participantId === undefined || participantId === null) {
|
|
14814
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
14815
|
+
}
|
|
14816
|
+
// verify the required parameter 'communicationId' is set
|
|
14817
|
+
if (communicationId === undefined || communicationId === null) {
|
|
14818
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
14819
|
+
}
|
|
14820
|
+
|
|
14821
|
+
return this.apiClient.callApi(
|
|
14822
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
14823
|
+
'POST',
|
|
14824
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
14825
|
+
{ },
|
|
14826
|
+
{ },
|
|
14827
|
+
{ },
|
|
14828
|
+
opts['body'],
|
|
14829
|
+
['PureCloud OAuth'],
|
|
14830
|
+
['application/json'],
|
|
14831
|
+
['application/json']
|
|
14832
|
+
);
|
|
14833
|
+
}
|
|
14834
|
+
|
|
14835
|
+
/**
|
|
14836
|
+
* Apply wrap-up for this conversation communication
|
|
14837
|
+
*
|
|
14838
|
+
* @param {String} conversationId conversationId
|
|
14839
|
+
* @param {String} participantId participantId
|
|
14840
|
+
* @param {String} communicationId communicationId
|
|
14841
|
+
* @param {Object} opts Optional parameters
|
|
14842
|
+
* @param {Object} opts.body Wrap-up
|
|
14843
|
+
*/
|
|
14844
|
+
postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
14845
|
+
opts = opts || {};
|
|
14846
|
+
|
|
14847
|
+
// verify the required parameter 'conversationId' is set
|
|
14848
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14849
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
14850
|
+
}
|
|
14851
|
+
// verify the required parameter 'participantId' is set
|
|
14852
|
+
if (participantId === undefined || participantId === null) {
|
|
14853
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
14854
|
+
}
|
|
14855
|
+
// verify the required parameter 'communicationId' is set
|
|
14856
|
+
if (communicationId === undefined || communicationId === null) {
|
|
14857
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
14858
|
+
}
|
|
14859
|
+
|
|
14860
|
+
return this.apiClient.callApi(
|
|
14861
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
14862
|
+
'POST',
|
|
14863
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
14864
|
+
{ },
|
|
14865
|
+
{ },
|
|
14866
|
+
{ },
|
|
14867
|
+
opts['body'],
|
|
14868
|
+
['PureCloud OAuth'],
|
|
14869
|
+
['application/json'],
|
|
14870
|
+
['application/json']
|
|
14871
|
+
);
|
|
14872
|
+
}
|
|
14873
|
+
|
|
14089
14874
|
/**
|
|
14090
14875
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
14091
14876
|
*
|
|
@@ -14632,7 +15417,7 @@ class DataExtensionsApi {
|
|
|
14632
15417
|
/**
|
|
14633
15418
|
* DataExtensions service.
|
|
14634
15419
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14635
|
-
* @version
|
|
15420
|
+
* @version 160.1.0
|
|
14636
15421
|
*/
|
|
14637
15422
|
|
|
14638
15423
|
/**
|
|
@@ -14718,7 +15503,7 @@ class DownloadsApi {
|
|
|
14718
15503
|
/**
|
|
14719
15504
|
* Downloads service.
|
|
14720
15505
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14721
|
-
* @version
|
|
15506
|
+
* @version 160.1.0
|
|
14722
15507
|
*/
|
|
14723
15508
|
|
|
14724
15509
|
/**
|
|
@@ -14770,7 +15555,7 @@ class EventsApi {
|
|
|
14770
15555
|
/**
|
|
14771
15556
|
* Events service.
|
|
14772
15557
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14773
|
-
* @version
|
|
15558
|
+
* @version 160.1.0
|
|
14774
15559
|
*/
|
|
14775
15560
|
|
|
14776
15561
|
/**
|
|
@@ -14866,7 +15651,7 @@ class ExternalContactsApi {
|
|
|
14866
15651
|
/**
|
|
14867
15652
|
* ExternalContacts service.
|
|
14868
15653
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14869
|
-
* @version
|
|
15654
|
+
* @version 160.1.0
|
|
14870
15655
|
*/
|
|
14871
15656
|
|
|
14872
15657
|
/**
|
|
@@ -16824,7 +17609,7 @@ class FaxApi {
|
|
|
16824
17609
|
/**
|
|
16825
17610
|
* Fax service.
|
|
16826
17611
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16827
|
-
* @version
|
|
17612
|
+
* @version 160.1.0
|
|
16828
17613
|
*/
|
|
16829
17614
|
|
|
16830
17615
|
/**
|
|
@@ -16995,7 +17780,7 @@ class FlowsApi {
|
|
|
16995
17780
|
/**
|
|
16996
17781
|
* Flows service.
|
|
16997
17782
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16998
|
-
* @version
|
|
17783
|
+
* @version 160.1.0
|
|
16999
17784
|
*/
|
|
17000
17785
|
|
|
17001
17786
|
/**
|
|
@@ -17066,7 +17851,7 @@ class GamificationApi {
|
|
|
17066
17851
|
/**
|
|
17067
17852
|
* Gamification service.
|
|
17068
17853
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17069
|
-
* @version
|
|
17854
|
+
* @version 160.1.0
|
|
17070
17855
|
*/
|
|
17071
17856
|
|
|
17072
17857
|
/**
|
|
@@ -18683,7 +19468,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18683
19468
|
/**
|
|
18684
19469
|
* GeneralDataProtectionRegulation service.
|
|
18685
19470
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18686
|
-
* @version
|
|
19471
|
+
* @version 160.1.0
|
|
18687
19472
|
*/
|
|
18688
19473
|
|
|
18689
19474
|
/**
|
|
@@ -18813,7 +19598,7 @@ class GeolocationApi {
|
|
|
18813
19598
|
/**
|
|
18814
19599
|
* Geolocation service.
|
|
18815
19600
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18816
|
-
* @version
|
|
19601
|
+
* @version 160.1.0
|
|
18817
19602
|
*/
|
|
18818
19603
|
|
|
18819
19604
|
/**
|
|
@@ -18944,7 +19729,7 @@ class GreetingsApi {
|
|
|
18944
19729
|
/**
|
|
18945
19730
|
* Greetings service.
|
|
18946
19731
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18947
|
-
* @version
|
|
19732
|
+
* @version 160.1.0
|
|
18948
19733
|
*/
|
|
18949
19734
|
|
|
18950
19735
|
/**
|
|
@@ -19399,7 +20184,7 @@ class GroupsApi {
|
|
|
19399
20184
|
/**
|
|
19400
20185
|
* Groups service.
|
|
19401
20186
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19402
|
-
* @version
|
|
20187
|
+
* @version 160.1.0
|
|
19403
20188
|
*/
|
|
19404
20189
|
|
|
19405
20190
|
/**
|
|
@@ -19805,7 +20590,7 @@ class IdentityProviderApi {
|
|
|
19805
20590
|
/**
|
|
19806
20591
|
* IdentityProvider service.
|
|
19807
20592
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19808
|
-
* @version
|
|
20593
|
+
* @version 160.1.0
|
|
19809
20594
|
*/
|
|
19810
20595
|
|
|
19811
20596
|
/**
|
|
@@ -20557,11 +21342,113 @@ class IdentityProviderApi {
|
|
|
20557
21342
|
|
|
20558
21343
|
}
|
|
20559
21344
|
|
|
21345
|
+
class InfrastructureAsCodeApi {
|
|
21346
|
+
/**
|
|
21347
|
+
* InfrastructureAsCode service.
|
|
21348
|
+
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
21349
|
+
* @version 160.1.0
|
|
21350
|
+
*/
|
|
21351
|
+
|
|
21352
|
+
/**
|
|
21353
|
+
* Constructs a new InfrastructureAsCodeApi.
|
|
21354
|
+
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
21355
|
+
* @class
|
|
21356
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21357
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21358
|
+
*/
|
|
21359
|
+
constructor(apiClient) {
|
|
21360
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
21361
|
+
}
|
|
21362
|
+
|
|
21363
|
+
|
|
21364
|
+
/**
|
|
21365
|
+
* Get job status and results
|
|
21366
|
+
* Get the execution status of a submitted job, optionally including results and error details.
|
|
21367
|
+
* @param {String} jobId Job ID
|
|
21368
|
+
* @param {Object} opts Optional parameters
|
|
21369
|
+
* @param {Boolean} opts.details Include details of execution, including job results or error information (default to false)
|
|
21370
|
+
*/
|
|
21371
|
+
getInfrastructureascodeJob(jobId, opts) {
|
|
21372
|
+
opts = opts || {};
|
|
21373
|
+
|
|
21374
|
+
// verify the required parameter 'jobId' is set
|
|
21375
|
+
if (jobId === undefined || jobId === null) {
|
|
21376
|
+
throw 'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';
|
|
21377
|
+
}
|
|
21378
|
+
|
|
21379
|
+
return this.apiClient.callApi(
|
|
21380
|
+
'/api/v2/infrastructureascode/jobs/{jobId}',
|
|
21381
|
+
'GET',
|
|
21382
|
+
{ 'jobId': jobId },
|
|
21383
|
+
{ 'details': opts['details'] },
|
|
21384
|
+
{ },
|
|
21385
|
+
{ },
|
|
21386
|
+
null,
|
|
21387
|
+
['PureCloud OAuth'],
|
|
21388
|
+
['application/json'],
|
|
21389
|
+
['application/json']
|
|
21390
|
+
);
|
|
21391
|
+
}
|
|
21392
|
+
|
|
21393
|
+
/**
|
|
21394
|
+
* Get job history
|
|
21395
|
+
* Get a history of submitted jobs, optionally including error messages.
|
|
21396
|
+
* @param {Object} opts Optional parameters
|
|
21397
|
+
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
21398
|
+
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
21399
|
+
* @param {Object} opts.sortBy Sort by (default to id)
|
|
21400
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
21401
|
+
*/
|
|
21402
|
+
getInfrastructureascodeJobs(opts) {
|
|
21403
|
+
opts = opts || {};
|
|
21404
|
+
|
|
21405
|
+
|
|
21406
|
+
return this.apiClient.callApi(
|
|
21407
|
+
'/api/v2/infrastructureascode/jobs',
|
|
21408
|
+
'GET',
|
|
21409
|
+
{ },
|
|
21410
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
21411
|
+
{ },
|
|
21412
|
+
{ },
|
|
21413
|
+
null,
|
|
21414
|
+
['PureCloud OAuth'],
|
|
21415
|
+
['application/json'],
|
|
21416
|
+
['application/json']
|
|
21417
|
+
);
|
|
21418
|
+
}
|
|
21419
|
+
|
|
21420
|
+
/**
|
|
21421
|
+
* Create a Job
|
|
21422
|
+
* Create and submit a job for remote execution or see job planning results.
|
|
21423
|
+
* @param {Object} body
|
|
21424
|
+
*/
|
|
21425
|
+
postInfrastructureascodeJobs(body) {
|
|
21426
|
+
// verify the required parameter 'body' is set
|
|
21427
|
+
if (body === undefined || body === null) {
|
|
21428
|
+
throw 'Missing the required parameter "body" when calling postInfrastructureascodeJobs';
|
|
21429
|
+
}
|
|
21430
|
+
|
|
21431
|
+
return this.apiClient.callApi(
|
|
21432
|
+
'/api/v2/infrastructureascode/jobs',
|
|
21433
|
+
'POST',
|
|
21434
|
+
{ },
|
|
21435
|
+
{ },
|
|
21436
|
+
{ },
|
|
21437
|
+
{ },
|
|
21438
|
+
body,
|
|
21439
|
+
['PureCloud OAuth'],
|
|
21440
|
+
['application/json'],
|
|
21441
|
+
['application/json']
|
|
21442
|
+
);
|
|
21443
|
+
}
|
|
21444
|
+
|
|
21445
|
+
}
|
|
21446
|
+
|
|
20560
21447
|
class IntegrationsApi {
|
|
20561
21448
|
/**
|
|
20562
21449
|
* Integrations service.
|
|
20563
21450
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20564
|
-
* @version
|
|
21451
|
+
* @version 160.1.0
|
|
20565
21452
|
*/
|
|
20566
21453
|
|
|
20567
21454
|
/**
|
|
@@ -22161,7 +23048,7 @@ class JourneyApi {
|
|
|
22161
23048
|
/**
|
|
22162
23049
|
* Journey service.
|
|
22163
23050
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22164
|
-
* @version
|
|
23051
|
+
* @version 160.1.0
|
|
22165
23052
|
*/
|
|
22166
23053
|
|
|
22167
23054
|
/**
|
|
@@ -23041,7 +23928,7 @@ class KnowledgeApi {
|
|
|
23041
23928
|
/**
|
|
23042
23929
|
* Knowledge service.
|
|
23043
23930
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23044
|
-
* @version
|
|
23931
|
+
* @version 160.1.0
|
|
23045
23932
|
*/
|
|
23046
23933
|
|
|
23047
23934
|
/**
|
|
@@ -25473,7 +26360,7 @@ class LanguageUnderstandingApi {
|
|
|
25473
26360
|
/**
|
|
25474
26361
|
* LanguageUnderstanding service.
|
|
25475
26362
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25476
|
-
* @version
|
|
26363
|
+
* @version 160.1.0
|
|
25477
26364
|
*/
|
|
25478
26365
|
|
|
25479
26366
|
/**
|
|
@@ -26486,7 +27373,7 @@ class LanguagesApi {
|
|
|
26486
27373
|
/**
|
|
26487
27374
|
* Languages service.
|
|
26488
27375
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26489
|
-
* @version
|
|
27376
|
+
* @version 160.1.0
|
|
26490
27377
|
*/
|
|
26491
27378
|
|
|
26492
27379
|
/**
|
|
@@ -26704,7 +27591,7 @@ class LearningApi {
|
|
|
26704
27591
|
/**
|
|
26705
27592
|
* Learning service.
|
|
26706
27593
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26707
|
-
* @version
|
|
27594
|
+
* @version 160.1.0
|
|
26708
27595
|
*/
|
|
26709
27596
|
|
|
26710
27597
|
/**
|
|
@@ -27112,6 +27999,35 @@ class LearningApi {
|
|
|
27112
27999
|
);
|
|
27113
28000
|
}
|
|
27114
28001
|
|
|
28002
|
+
/**
|
|
28003
|
+
* Reschedule Learning Assignment
|
|
28004
|
+
*
|
|
28005
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
28006
|
+
* @param {Object} opts Optional parameters
|
|
28007
|
+
* @param {Object} opts.body The Learning assignment reschedule model
|
|
28008
|
+
*/
|
|
28009
|
+
patchLearningAssignmentReschedule(assignmentId, opts) {
|
|
28010
|
+
opts = opts || {};
|
|
28011
|
+
|
|
28012
|
+
// verify the required parameter 'assignmentId' is set
|
|
28013
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
28014
|
+
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
|
|
28015
|
+
}
|
|
28016
|
+
|
|
28017
|
+
return this.apiClient.callApi(
|
|
28018
|
+
'/api/v2/learning/assignments/{assignmentId}/reschedule',
|
|
28019
|
+
'PATCH',
|
|
28020
|
+
{ 'assignmentId': assignmentId },
|
|
28021
|
+
{ },
|
|
28022
|
+
{ },
|
|
28023
|
+
{ },
|
|
28024
|
+
opts['body'],
|
|
28025
|
+
['PureCloud OAuth'],
|
|
28026
|
+
['application/json'],
|
|
28027
|
+
['application/json']
|
|
28028
|
+
);
|
|
28029
|
+
}
|
|
28030
|
+
|
|
27115
28031
|
/**
|
|
27116
28032
|
* Score learning assessment for preview
|
|
27117
28033
|
*
|
|
@@ -27399,6 +28315,31 @@ class LearningApi {
|
|
|
27399
28315
|
);
|
|
27400
28316
|
}
|
|
27401
28317
|
|
|
28318
|
+
/**
|
|
28319
|
+
* Get list of possible slots where a learning activity can be scheduled.
|
|
28320
|
+
*
|
|
28321
|
+
* @param {Object} body The slot search request
|
|
28322
|
+
*/
|
|
28323
|
+
postLearningScheduleslotsQuery(body) {
|
|
28324
|
+
// verify the required parameter 'body' is set
|
|
28325
|
+
if (body === undefined || body === null) {
|
|
28326
|
+
throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
|
|
28327
|
+
}
|
|
28328
|
+
|
|
28329
|
+
return this.apiClient.callApi(
|
|
28330
|
+
'/api/v2/learning/scheduleslots/query',
|
|
28331
|
+
'POST',
|
|
28332
|
+
{ },
|
|
28333
|
+
{ },
|
|
28334
|
+
{ },
|
|
28335
|
+
{ },
|
|
28336
|
+
body,
|
|
28337
|
+
['PureCloud OAuth'],
|
|
28338
|
+
['application/json'],
|
|
28339
|
+
['application/json']
|
|
28340
|
+
);
|
|
28341
|
+
}
|
|
28342
|
+
|
|
27402
28343
|
/**
|
|
27403
28344
|
* Update a learning module
|
|
27404
28345
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
@@ -27465,7 +28406,7 @@ class LicenseApi {
|
|
|
27465
28406
|
/**
|
|
27466
28407
|
* License service.
|
|
27467
28408
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27468
|
-
* @version
|
|
28409
|
+
* @version 160.1.0
|
|
27469
28410
|
*/
|
|
27470
28411
|
|
|
27471
28412
|
/**
|
|
@@ -27703,7 +28644,7 @@ class LocationsApi {
|
|
|
27703
28644
|
/**
|
|
27704
28645
|
* Locations service.
|
|
27705
28646
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27706
|
-
* @version
|
|
28647
|
+
* @version 160.1.0
|
|
27707
28648
|
*/
|
|
27708
28649
|
|
|
27709
28650
|
/**
|
|
@@ -27939,7 +28880,7 @@ class MessagingApi {
|
|
|
27939
28880
|
/**
|
|
27940
28881
|
* Messaging service.
|
|
27941
28882
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27942
|
-
* @version
|
|
28883
|
+
* @version 160.1.0
|
|
27943
28884
|
*/
|
|
27944
28885
|
|
|
27945
28886
|
/**
|
|
@@ -28090,7 +29031,7 @@ class MobileDevicesApi {
|
|
|
28090
29031
|
/**
|
|
28091
29032
|
* MobileDevices service.
|
|
28092
29033
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
28093
|
-
* @version
|
|
29034
|
+
* @version 160.1.0
|
|
28094
29035
|
*/
|
|
28095
29036
|
|
|
28096
29037
|
/**
|
|
@@ -28241,7 +29182,7 @@ class NotificationsApi {
|
|
|
28241
29182
|
/**
|
|
28242
29183
|
* Notifications service.
|
|
28243
29184
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
28244
|
-
* @version
|
|
29185
|
+
* @version 160.1.0
|
|
28245
29186
|
*/
|
|
28246
29187
|
|
|
28247
29188
|
/**
|
|
@@ -28385,8 +29326,12 @@ class NotificationsApi {
|
|
|
28385
29326
|
*
|
|
28386
29327
|
* @param {String} channelId Channel ID
|
|
28387
29328
|
* @param {Array.<Object>} body Body
|
|
29329
|
+
* @param {Object} opts Optional parameters
|
|
29330
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
28388
29331
|
*/
|
|
28389
|
-
postNotificationsChannelSubscriptions(channelId, body) {
|
|
29332
|
+
postNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
29333
|
+
opts = opts || {};
|
|
29334
|
+
|
|
28390
29335
|
// verify the required parameter 'channelId' is set
|
|
28391
29336
|
if (channelId === undefined || channelId === null) {
|
|
28392
29337
|
throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
|
|
@@ -28400,7 +29345,7 @@ class NotificationsApi {
|
|
|
28400
29345
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
28401
29346
|
'POST',
|
|
28402
29347
|
{ 'channelId': channelId },
|
|
28403
|
-
{
|
|
29348
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
28404
29349
|
{ },
|
|
28405
29350
|
{ },
|
|
28406
29351
|
body,
|
|
@@ -28435,8 +29380,12 @@ class NotificationsApi {
|
|
|
28435
29380
|
*
|
|
28436
29381
|
* @param {String} channelId Channel ID
|
|
28437
29382
|
* @param {Array.<Object>} body Body
|
|
29383
|
+
* @param {Object} opts Optional parameters
|
|
29384
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
28438
29385
|
*/
|
|
28439
|
-
putNotificationsChannelSubscriptions(channelId, body) {
|
|
29386
|
+
putNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
29387
|
+
opts = opts || {};
|
|
29388
|
+
|
|
28440
29389
|
// verify the required parameter 'channelId' is set
|
|
28441
29390
|
if (channelId === undefined || channelId === null) {
|
|
28442
29391
|
throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
|
|
@@ -28450,7 +29399,7 @@ class NotificationsApi {
|
|
|
28450
29399
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
28451
29400
|
'PUT',
|
|
28452
29401
|
{ 'channelId': channelId },
|
|
28453
|
-
{
|
|
29402
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
28454
29403
|
{ },
|
|
28455
29404
|
{ },
|
|
28456
29405
|
body,
|
|
@@ -28466,7 +29415,7 @@ class OAuthApi {
|
|
|
28466
29415
|
/**
|
|
28467
29416
|
* OAuth service.
|
|
28468
29417
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28469
|
-
* @version
|
|
29418
|
+
* @version 160.1.0
|
|
28470
29419
|
*/
|
|
28471
29420
|
|
|
28472
29421
|
/**
|
|
@@ -28832,7 +29781,7 @@ class ObjectsApi {
|
|
|
28832
29781
|
/**
|
|
28833
29782
|
* Objects service.
|
|
28834
29783
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28835
|
-
* @version
|
|
29784
|
+
* @version 160.1.0
|
|
28836
29785
|
*/
|
|
28837
29786
|
|
|
28838
29787
|
/**
|
|
@@ -29103,7 +30052,7 @@ class OrganizationApi {
|
|
|
29103
30052
|
/**
|
|
29104
30053
|
* Organization service.
|
|
29105
30054
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
29106
|
-
* @version
|
|
30055
|
+
* @version 160.1.0
|
|
29107
30056
|
*/
|
|
29108
30057
|
|
|
29109
30058
|
/**
|
|
@@ -29506,7 +30455,7 @@ class OrganizationAuthorizationApi {
|
|
|
29506
30455
|
/**
|
|
29507
30456
|
* OrganizationAuthorization service.
|
|
29508
30457
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29509
|
-
* @version
|
|
30458
|
+
* @version 160.1.0
|
|
29510
30459
|
*/
|
|
29511
30460
|
|
|
29512
30461
|
/**
|
|
@@ -30801,7 +31750,7 @@ class OutboundApi {
|
|
|
30801
31750
|
/**
|
|
30802
31751
|
* Outbound service.
|
|
30803
31752
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30804
|
-
* @version
|
|
31753
|
+
* @version 160.1.0
|
|
30805
31754
|
*/
|
|
30806
31755
|
|
|
30807
31756
|
/**
|
|
@@ -31151,6 +32100,35 @@ class OutboundApi {
|
|
|
31151
32100
|
);
|
|
31152
32101
|
}
|
|
31153
32102
|
|
|
32103
|
+
/**
|
|
32104
|
+
* Deletes all or expired custom exclusion column entries from a DNC list.
|
|
32105
|
+
* This operation is only for Internal DNC lists of custom exclusion column entries
|
|
32106
|
+
* @param {String} dncListId DncList ID
|
|
32107
|
+
* @param {Object} opts Optional parameters
|
|
32108
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
32109
|
+
*/
|
|
32110
|
+
deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
|
|
32111
|
+
opts = opts || {};
|
|
32112
|
+
|
|
32113
|
+
// verify the required parameter 'dncListId' is set
|
|
32114
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32115
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
|
|
32116
|
+
}
|
|
32117
|
+
|
|
32118
|
+
return this.apiClient.callApi(
|
|
32119
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
32120
|
+
'DELETE',
|
|
32121
|
+
{ 'dncListId': dncListId },
|
|
32122
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
32123
|
+
{ },
|
|
32124
|
+
{ },
|
|
32125
|
+
null,
|
|
32126
|
+
['PureCloud OAuth'],
|
|
32127
|
+
['application/json'],
|
|
32128
|
+
['application/json']
|
|
32129
|
+
);
|
|
32130
|
+
}
|
|
32131
|
+
|
|
31154
32132
|
/**
|
|
31155
32133
|
* Deletes all or expired email addresses from a DNC list.
|
|
31156
32134
|
* This operation is Only for Internal DNC lists of email addresses
|
|
@@ -32979,6 +33957,36 @@ class OutboundApi {
|
|
|
32979
33957
|
);
|
|
32980
33958
|
}
|
|
32981
33959
|
|
|
33960
|
+
/**
|
|
33961
|
+
* Add entries to or delete entries from a DNC list.
|
|
33962
|
+
* Only Internal DNC lists may be deleted from
|
|
33963
|
+
* @param {String} dncListId DncList ID
|
|
33964
|
+
* @param {Object} body DNC Custom exclusion column entries
|
|
33965
|
+
*/
|
|
33966
|
+
patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
|
|
33967
|
+
// verify the required parameter 'dncListId' is set
|
|
33968
|
+
if (dncListId === undefined || dncListId === null) {
|
|
33969
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
33970
|
+
}
|
|
33971
|
+
// verify the required parameter 'body' is set
|
|
33972
|
+
if (body === undefined || body === null) {
|
|
33973
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
33974
|
+
}
|
|
33975
|
+
|
|
33976
|
+
return this.apiClient.callApi(
|
|
33977
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
33978
|
+
'PATCH',
|
|
33979
|
+
{ 'dncListId': dncListId },
|
|
33980
|
+
{ },
|
|
33981
|
+
{ },
|
|
33982
|
+
{ },
|
|
33983
|
+
body,
|
|
33984
|
+
['PureCloud OAuth'],
|
|
33985
|
+
['application/json'],
|
|
33986
|
+
['application/json']
|
|
33987
|
+
);
|
|
33988
|
+
}
|
|
33989
|
+
|
|
32982
33990
|
/**
|
|
32983
33991
|
* Add emails to or Delete emails from a DNC list.
|
|
32984
33992
|
* Only Internal DNC lists may be added to or deleted from
|
|
@@ -34338,7 +35346,7 @@ class PresenceApi {
|
|
|
34338
35346
|
/**
|
|
34339
35347
|
* Presence service.
|
|
34340
35348
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
34341
|
-
* @version
|
|
35349
|
+
* @version 160.1.0
|
|
34342
35350
|
*/
|
|
34343
35351
|
|
|
34344
35352
|
/**
|
|
@@ -34844,7 +35852,7 @@ class ProcessAutomationApi {
|
|
|
34844
35852
|
/**
|
|
34845
35853
|
* ProcessAutomation service.
|
|
34846
35854
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34847
|
-
* @version
|
|
35855
|
+
* @version 160.1.0
|
|
34848
35856
|
*/
|
|
34849
35857
|
|
|
34850
35858
|
/**
|
|
@@ -35083,7 +36091,7 @@ class QualityApi {
|
|
|
35083
36091
|
/**
|
|
35084
36092
|
* Quality service.
|
|
35085
36093
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
35086
|
-
* @version
|
|
36094
|
+
* @version 160.1.0
|
|
35087
36095
|
*/
|
|
35088
36096
|
|
|
35089
36097
|
/**
|
|
@@ -36662,7 +37670,7 @@ class RecordingApi {
|
|
|
36662
37670
|
/**
|
|
36663
37671
|
* Recording service.
|
|
36664
37672
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
36665
|
-
* @version
|
|
37673
|
+
* @version 160.1.0
|
|
36666
37674
|
*/
|
|
36667
37675
|
|
|
36668
37676
|
/**
|
|
@@ -37363,51 +38371,6 @@ class RecordingApi {
|
|
|
37363
38371
|
);
|
|
37364
38372
|
}
|
|
37365
38373
|
|
|
37366
|
-
/**
|
|
37367
|
-
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
37368
|
-
*
|
|
37369
|
-
* @param {String} settingsId Settings Id
|
|
37370
|
-
*/
|
|
37371
|
-
getRecordingLocalkeysSetting(settingsId) {
|
|
37372
|
-
// verify the required parameter 'settingsId' is set
|
|
37373
|
-
if (settingsId === undefined || settingsId === null) {
|
|
37374
|
-
throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
|
|
37375
|
-
}
|
|
37376
|
-
|
|
37377
|
-
return this.apiClient.callApi(
|
|
37378
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
37379
|
-
'GET',
|
|
37380
|
-
{ 'settingsId': settingsId },
|
|
37381
|
-
{ },
|
|
37382
|
-
{ },
|
|
37383
|
-
{ },
|
|
37384
|
-
null,
|
|
37385
|
-
['PureCloud OAuth'],
|
|
37386
|
-
['application/json'],
|
|
37387
|
-
['application/json']
|
|
37388
|
-
);
|
|
37389
|
-
}
|
|
37390
|
-
|
|
37391
|
-
/**
|
|
37392
|
-
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
37393
|
-
*
|
|
37394
|
-
*/
|
|
37395
|
-
getRecordingLocalkeysSettings() {
|
|
37396
|
-
|
|
37397
|
-
return this.apiClient.callApi(
|
|
37398
|
-
'/api/v2/recording/localkeys/settings',
|
|
37399
|
-
'GET',
|
|
37400
|
-
{ },
|
|
37401
|
-
{ },
|
|
37402
|
-
{ },
|
|
37403
|
-
{ },
|
|
37404
|
-
null,
|
|
37405
|
-
['PureCloud OAuth'],
|
|
37406
|
-
['application/json'],
|
|
37407
|
-
['application/json']
|
|
37408
|
-
);
|
|
37409
|
-
}
|
|
37410
|
-
|
|
37411
38374
|
/**
|
|
37412
38375
|
* Gets media retention policy list with query options to filter on name and enabled.
|
|
37413
38376
|
* for a less verbose response, add summary=true to this endpoint
|
|
@@ -37890,31 +38853,6 @@ class RecordingApi {
|
|
|
37890
38853
|
);
|
|
37891
38854
|
}
|
|
37892
38855
|
|
|
37893
|
-
/**
|
|
37894
|
-
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
37895
|
-
*
|
|
37896
|
-
* @param {Object} body Local Encryption Configuration
|
|
37897
|
-
*/
|
|
37898
|
-
postRecordingLocalkeysSettings(body) {
|
|
37899
|
-
// verify the required parameter 'body' is set
|
|
37900
|
-
if (body === undefined || body === null) {
|
|
37901
|
-
throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
|
|
37902
|
-
}
|
|
37903
|
-
|
|
37904
|
-
return this.apiClient.callApi(
|
|
37905
|
-
'/api/v2/recording/localkeys/settings',
|
|
37906
|
-
'POST',
|
|
37907
|
-
{ },
|
|
37908
|
-
{ },
|
|
37909
|
-
{ },
|
|
37910
|
-
{ },
|
|
37911
|
-
body,
|
|
37912
|
-
['PureCloud OAuth'],
|
|
37913
|
-
['application/json'],
|
|
37914
|
-
['application/json']
|
|
37915
|
-
);
|
|
37916
|
-
}
|
|
37917
|
-
|
|
37918
38856
|
/**
|
|
37919
38857
|
* Create media retention policy
|
|
37920
38858
|
* Policy does not work retroactively
|
|
@@ -38258,36 +39196,6 @@ class RecordingApi {
|
|
|
38258
39196
|
);
|
|
38259
39197
|
}
|
|
38260
39198
|
|
|
38261
|
-
/**
|
|
38262
|
-
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
38263
|
-
*
|
|
38264
|
-
* @param {String} settingsId Settings Id
|
|
38265
|
-
* @param {Object} body Local Encryption metadata
|
|
38266
|
-
*/
|
|
38267
|
-
putRecordingLocalkeysSetting(settingsId, body) {
|
|
38268
|
-
// verify the required parameter 'settingsId' is set
|
|
38269
|
-
if (settingsId === undefined || settingsId === null) {
|
|
38270
|
-
throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
|
|
38271
|
-
}
|
|
38272
|
-
// verify the required parameter 'body' is set
|
|
38273
|
-
if (body === undefined || body === null) {
|
|
38274
|
-
throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
|
|
38275
|
-
}
|
|
38276
|
-
|
|
38277
|
-
return this.apiClient.callApi(
|
|
38278
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
38279
|
-
'PUT',
|
|
38280
|
-
{ 'settingsId': settingsId },
|
|
38281
|
-
{ },
|
|
38282
|
-
{ },
|
|
38283
|
-
{ },
|
|
38284
|
-
body,
|
|
38285
|
-
['PureCloud OAuth'],
|
|
38286
|
-
['application/json'],
|
|
38287
|
-
['application/json']
|
|
38288
|
-
);
|
|
38289
|
-
}
|
|
38290
|
-
|
|
38291
39199
|
/**
|
|
38292
39200
|
* Update a media retention policy
|
|
38293
39201
|
* Policy does not work retroactively
|
|
@@ -38399,7 +39307,7 @@ class ResponseManagementApi {
|
|
|
38399
39307
|
/**
|
|
38400
39308
|
* ResponseManagement service.
|
|
38401
39309
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
38402
|
-
* @version
|
|
39310
|
+
* @version 160.1.0
|
|
38403
39311
|
*/
|
|
38404
39312
|
|
|
38405
39313
|
/**
|
|
@@ -38883,7 +39791,7 @@ class RoutingApi {
|
|
|
38883
39791
|
/**
|
|
38884
39792
|
* Routing service.
|
|
38885
39793
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38886
|
-
* @version
|
|
39794
|
+
* @version 160.1.0
|
|
38887
39795
|
*/
|
|
38888
39796
|
|
|
38889
39797
|
/**
|
|
@@ -40686,8 +41594,12 @@ class RoutingApi {
|
|
|
40686
41594
|
* Get a phone number provisioned for SMS.
|
|
40687
41595
|
*
|
|
40688
41596
|
* @param {String} addressId Address ID
|
|
41597
|
+
* @param {Object} opts Optional parameters
|
|
41598
|
+
* @param {Object} opts.expand Expand response with additional information
|
|
40689
41599
|
*/
|
|
40690
|
-
getRoutingSmsPhonenumber(addressId) {
|
|
41600
|
+
getRoutingSmsPhonenumber(addressId, opts) {
|
|
41601
|
+
opts = opts || {};
|
|
41602
|
+
|
|
40691
41603
|
// verify the required parameter 'addressId' is set
|
|
40692
41604
|
if (addressId === undefined || addressId === null) {
|
|
40693
41605
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
|
|
@@ -40697,7 +41609,7 @@ class RoutingApi {
|
|
|
40697
41609
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
40698
41610
|
'GET',
|
|
40699
41611
|
{ 'addressId': addressId },
|
|
40700
|
-
{
|
|
41612
|
+
{ 'expand': opts['expand'] },
|
|
40701
41613
|
{ },
|
|
40702
41614
|
{ },
|
|
40703
41615
|
null,
|
|
@@ -40931,6 +41843,37 @@ class RoutingApi {
|
|
|
40931
41843
|
);
|
|
40932
41844
|
}
|
|
40933
41845
|
|
|
41846
|
+
/**
|
|
41847
|
+
* Get skill groups for a user
|
|
41848
|
+
*
|
|
41849
|
+
* @param {String} userId User ID
|
|
41850
|
+
* @param {Object} opts Optional parameters
|
|
41851
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41852
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
41853
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
41854
|
+
*/
|
|
41855
|
+
getUserSkillgroups(userId, opts) {
|
|
41856
|
+
opts = opts || {};
|
|
41857
|
+
|
|
41858
|
+
// verify the required parameter 'userId' is set
|
|
41859
|
+
if (userId === undefined || userId === null) {
|
|
41860
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
41861
|
+
}
|
|
41862
|
+
|
|
41863
|
+
return this.apiClient.callApi(
|
|
41864
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
41865
|
+
'GET',
|
|
41866
|
+
{ 'userId': userId },
|
|
41867
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
41868
|
+
{ },
|
|
41869
|
+
{ },
|
|
41870
|
+
null,
|
|
41871
|
+
['PureCloud OAuth'],
|
|
41872
|
+
['application/json'],
|
|
41873
|
+
['application/json']
|
|
41874
|
+
);
|
|
41875
|
+
}
|
|
41876
|
+
|
|
40934
41877
|
/**
|
|
40935
41878
|
* Update attributes of an in-queue conversation
|
|
40936
41879
|
* Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
|
|
@@ -42348,7 +43291,7 @@ class SCIMApi {
|
|
|
42348
43291
|
/**
|
|
42349
43292
|
* SCIM service.
|
|
42350
43293
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
42351
|
-
* @version
|
|
43294
|
+
* @version 160.1.0
|
|
42352
43295
|
*/
|
|
42353
43296
|
|
|
42354
43297
|
/**
|
|
@@ -43225,7 +44168,7 @@ class ScriptsApi {
|
|
|
43225
44168
|
/**
|
|
43226
44169
|
* Scripts service.
|
|
43227
44170
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
43228
|
-
* @version
|
|
44171
|
+
* @version 160.1.0
|
|
43229
44172
|
*/
|
|
43230
44173
|
|
|
43231
44174
|
/**
|
|
@@ -43644,7 +44587,7 @@ class SearchApi {
|
|
|
43644
44587
|
/**
|
|
43645
44588
|
* Search service.
|
|
43646
44589
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
43647
|
-
* @version
|
|
44590
|
+
* @version 160.1.0
|
|
43648
44591
|
*/
|
|
43649
44592
|
|
|
43650
44593
|
/**
|
|
@@ -43911,6 +44854,31 @@ class SearchApi {
|
|
|
43911
44854
|
);
|
|
43912
44855
|
}
|
|
43913
44856
|
|
|
44857
|
+
/**
|
|
44858
|
+
* Search conversations
|
|
44859
|
+
*
|
|
44860
|
+
* @param {Object} body Search request options
|
|
44861
|
+
*/
|
|
44862
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
44863
|
+
// verify the required parameter 'body' is set
|
|
44864
|
+
if (body === undefined || body === null) {
|
|
44865
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
44866
|
+
}
|
|
44867
|
+
|
|
44868
|
+
return this.apiClient.callApi(
|
|
44869
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
44870
|
+
'POST',
|
|
44871
|
+
{ },
|
|
44872
|
+
{ },
|
|
44873
|
+
{ },
|
|
44874
|
+
{ },
|
|
44875
|
+
body,
|
|
44876
|
+
['PureCloud OAuth'],
|
|
44877
|
+
['application/json'],
|
|
44878
|
+
['application/json']
|
|
44879
|
+
);
|
|
44880
|
+
}
|
|
44881
|
+
|
|
43914
44882
|
/**
|
|
43915
44883
|
* Search gkn documentation
|
|
43916
44884
|
*
|
|
@@ -44229,7 +45197,7 @@ class SpeechTextAnalyticsApi {
|
|
|
44229
45197
|
/**
|
|
44230
45198
|
* SpeechTextAnalytics service.
|
|
44231
45199
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
44232
|
-
* @version
|
|
45200
|
+
* @version 160.1.0
|
|
44233
45201
|
*/
|
|
44234
45202
|
|
|
44235
45203
|
/**
|
|
@@ -44448,6 +45416,31 @@ class SpeechTextAnalyticsApi {
|
|
|
44448
45416
|
);
|
|
44449
45417
|
}
|
|
44450
45418
|
|
|
45419
|
+
/**
|
|
45420
|
+
* Get transcription engine settings of a program
|
|
45421
|
+
*
|
|
45422
|
+
* @param {String} programId The id of the program
|
|
45423
|
+
*/
|
|
45424
|
+
getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
|
|
45425
|
+
// verify the required parameter 'programId' is set
|
|
45426
|
+
if (programId === undefined || programId === null) {
|
|
45427
|
+
throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
|
|
45428
|
+
}
|
|
45429
|
+
|
|
45430
|
+
return this.apiClient.callApi(
|
|
45431
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
45432
|
+
'GET',
|
|
45433
|
+
{ 'programId': programId },
|
|
45434
|
+
{ },
|
|
45435
|
+
{ },
|
|
45436
|
+
{ },
|
|
45437
|
+
null,
|
|
45438
|
+
['PureCloud OAuth'],
|
|
45439
|
+
['application/json'],
|
|
45440
|
+
['application/json']
|
|
45441
|
+
);
|
|
45442
|
+
}
|
|
45443
|
+
|
|
44451
45444
|
/**
|
|
44452
45445
|
* Get the list of Speech and Text Analytics programs
|
|
44453
45446
|
*
|
|
@@ -44549,6 +45542,26 @@ class SpeechTextAnalyticsApi {
|
|
|
44549
45542
|
);
|
|
44550
45543
|
}
|
|
44551
45544
|
|
|
45545
|
+
/**
|
|
45546
|
+
* Get supported dialects for each transcription engine
|
|
45547
|
+
*
|
|
45548
|
+
*/
|
|
45549
|
+
getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
|
|
45550
|
+
|
|
45551
|
+
return this.apiClient.callApi(
|
|
45552
|
+
'/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
|
|
45553
|
+
'GET',
|
|
45554
|
+
{ },
|
|
45555
|
+
{ },
|
|
45556
|
+
{ },
|
|
45557
|
+
{ },
|
|
45558
|
+
null,
|
|
45559
|
+
['PureCloud OAuth'],
|
|
45560
|
+
['application/json'],
|
|
45561
|
+
['application/json']
|
|
45562
|
+
);
|
|
45563
|
+
}
|
|
45564
|
+
|
|
44552
45565
|
/**
|
|
44553
45566
|
* Get the list of Speech and Text Analytics unpublished programs
|
|
44554
45567
|
*
|
|
@@ -45022,6 +46035,36 @@ class SpeechTextAnalyticsApi {
|
|
|
45022
46035
|
);
|
|
45023
46036
|
}
|
|
45024
46037
|
|
|
46038
|
+
/**
|
|
46039
|
+
* Update transcription engine settings of a program
|
|
46040
|
+
*
|
|
46041
|
+
* @param {String} programId The id of the program
|
|
46042
|
+
* @param {Object} body Program transcription engine setting
|
|
46043
|
+
*/
|
|
46044
|
+
putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
|
|
46045
|
+
// verify the required parameter 'programId' is set
|
|
46046
|
+
if (programId === undefined || programId === null) {
|
|
46047
|
+
throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
46048
|
+
}
|
|
46049
|
+
// verify the required parameter 'body' is set
|
|
46050
|
+
if (body === undefined || body === null) {
|
|
46051
|
+
throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
46052
|
+
}
|
|
46053
|
+
|
|
46054
|
+
return this.apiClient.callApi(
|
|
46055
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
46056
|
+
'PUT',
|
|
46057
|
+
{ 'programId': programId },
|
|
46058
|
+
{ },
|
|
46059
|
+
{ },
|
|
46060
|
+
{ },
|
|
46061
|
+
body,
|
|
46062
|
+
['PureCloud OAuth'],
|
|
46063
|
+
['application/json'],
|
|
46064
|
+
['application/json']
|
|
46065
|
+
);
|
|
46066
|
+
}
|
|
46067
|
+
|
|
45025
46068
|
/**
|
|
45026
46069
|
* Update Speech And Text Analytics Settings
|
|
45027
46070
|
*
|
|
@@ -45083,7 +46126,7 @@ class StationsApi {
|
|
|
45083
46126
|
/**
|
|
45084
46127
|
* Stations service.
|
|
45085
46128
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
45086
|
-
* @version
|
|
46129
|
+
* @version 160.1.0
|
|
45087
46130
|
*/
|
|
45088
46131
|
|
|
45089
46132
|
/**
|
|
@@ -45230,7 +46273,7 @@ class SuggestApi {
|
|
|
45230
46273
|
/**
|
|
45231
46274
|
* Suggest service.
|
|
45232
46275
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
45233
|
-
* @version
|
|
46276
|
+
* @version 160.1.0
|
|
45234
46277
|
*/
|
|
45235
46278
|
|
|
45236
46279
|
/**
|
|
@@ -45369,7 +46412,7 @@ class TeamsApi {
|
|
|
45369
46412
|
/**
|
|
45370
46413
|
* Teams service.
|
|
45371
46414
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
45372
|
-
* @version
|
|
46415
|
+
* @version 160.1.0
|
|
45373
46416
|
*/
|
|
45374
46417
|
|
|
45375
46418
|
/**
|
|
@@ -45640,7 +46683,7 @@ class TelephonyApi {
|
|
|
45640
46683
|
/**
|
|
45641
46684
|
* Telephony service.
|
|
45642
46685
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
45643
|
-
* @version
|
|
46686
|
+
* @version 160.1.0
|
|
45644
46687
|
*/
|
|
45645
46688
|
|
|
45646
46689
|
/**
|
|
@@ -45768,7 +46811,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
45768
46811
|
/**
|
|
45769
46812
|
* TelephonyProvidersEdge service.
|
|
45770
46813
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
45771
|
-
* @version
|
|
46814
|
+
* @version 160.1.0
|
|
45772
46815
|
*/
|
|
45773
46816
|
|
|
45774
46817
|
/**
|
|
@@ -49402,7 +50445,7 @@ class TextbotsApi {
|
|
|
49402
50445
|
/**
|
|
49403
50446
|
* Textbots service.
|
|
49404
50447
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
49405
|
-
* @version
|
|
50448
|
+
* @version 160.1.0
|
|
49406
50449
|
*/
|
|
49407
50450
|
|
|
49408
50451
|
/**
|
|
@@ -49530,7 +50573,7 @@ class TokensApi {
|
|
|
49530
50573
|
/**
|
|
49531
50574
|
* Tokens service.
|
|
49532
50575
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
49533
|
-
* @version
|
|
50576
|
+
* @version 160.1.0
|
|
49534
50577
|
*/
|
|
49535
50578
|
|
|
49536
50579
|
/**
|
|
@@ -49636,7 +50679,7 @@ class UploadsApi {
|
|
|
49636
50679
|
/**
|
|
49637
50680
|
* Uploads service.
|
|
49638
50681
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
49639
|
-
* @version
|
|
50682
|
+
* @version 160.1.0
|
|
49640
50683
|
*/
|
|
49641
50684
|
|
|
49642
50685
|
/**
|
|
@@ -49812,7 +50855,7 @@ class UsageApi {
|
|
|
49812
50855
|
/**
|
|
49813
50856
|
* Usage service.
|
|
49814
50857
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
49815
|
-
* @version
|
|
50858
|
+
* @version 160.1.0
|
|
49816
50859
|
*/
|
|
49817
50860
|
|
|
49818
50861
|
/**
|
|
@@ -49883,7 +50926,7 @@ class UserRecordingsApi {
|
|
|
49883
50926
|
/**
|
|
49884
50927
|
* UserRecordings service.
|
|
49885
50928
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49886
|
-
* @version
|
|
50929
|
+
* @version 160.1.0
|
|
49887
50930
|
*/
|
|
49888
50931
|
|
|
49889
50932
|
/**
|
|
@@ -50068,7 +51111,7 @@ class UsersApi {
|
|
|
50068
51111
|
/**
|
|
50069
51112
|
* Users service.
|
|
50070
51113
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
50071
|
-
* @version
|
|
51114
|
+
* @version 160.1.0
|
|
50072
51115
|
*/
|
|
50073
51116
|
|
|
50074
51117
|
/**
|
|
@@ -50997,6 +52040,37 @@ class UsersApi {
|
|
|
50997
52040
|
);
|
|
50998
52041
|
}
|
|
50999
52042
|
|
|
52043
|
+
/**
|
|
52044
|
+
* Get skill groups for a user
|
|
52045
|
+
*
|
|
52046
|
+
* @param {String} userId User ID
|
|
52047
|
+
* @param {Object} opts Optional parameters
|
|
52048
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52049
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
52050
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
52051
|
+
*/
|
|
52052
|
+
getUserSkillgroups(userId, opts) {
|
|
52053
|
+
opts = opts || {};
|
|
52054
|
+
|
|
52055
|
+
// verify the required parameter 'userId' is set
|
|
52056
|
+
if (userId === undefined || userId === null) {
|
|
52057
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
52058
|
+
}
|
|
52059
|
+
|
|
52060
|
+
return this.apiClient.callApi(
|
|
52061
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
52062
|
+
'GET',
|
|
52063
|
+
{ 'userId': userId },
|
|
52064
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
52065
|
+
{ },
|
|
52066
|
+
{ },
|
|
52067
|
+
null,
|
|
52068
|
+
['PureCloud OAuth'],
|
|
52069
|
+
['application/json'],
|
|
52070
|
+
['application/json']
|
|
52071
|
+
);
|
|
52072
|
+
}
|
|
52073
|
+
|
|
51000
52074
|
/**
|
|
51001
52075
|
* Get user state information.
|
|
51002
52076
|
*
|
|
@@ -52425,7 +53499,7 @@ class UtilitiesApi {
|
|
|
52425
53499
|
/**
|
|
52426
53500
|
* Utilities service.
|
|
52427
53501
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
52428
|
-
* @version
|
|
53502
|
+
* @version 160.1.0
|
|
52429
53503
|
*/
|
|
52430
53504
|
|
|
52431
53505
|
/**
|
|
@@ -52536,7 +53610,7 @@ class VoicemailApi {
|
|
|
52536
53610
|
/**
|
|
52537
53611
|
* Voicemail service.
|
|
52538
53612
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
52539
|
-
* @version
|
|
53613
|
+
* @version 160.1.0
|
|
52540
53614
|
*/
|
|
52541
53615
|
|
|
52542
53616
|
/**
|
|
@@ -53203,7 +54277,7 @@ class WebChatApi {
|
|
|
53203
54277
|
/**
|
|
53204
54278
|
* WebChat service.
|
|
53205
54279
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
53206
|
-
* @version
|
|
54280
|
+
* @version 160.1.0
|
|
53207
54281
|
*/
|
|
53208
54282
|
|
|
53209
54283
|
/**
|
|
@@ -53747,7 +54821,7 @@ class WebDeploymentsApi {
|
|
|
53747
54821
|
/**
|
|
53748
54822
|
* WebDeployments service.
|
|
53749
54823
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
53750
|
-
* @version
|
|
54824
|
+
* @version 160.1.0
|
|
53751
54825
|
*/
|
|
53752
54826
|
|
|
53753
54827
|
/**
|
|
@@ -54269,7 +55343,7 @@ class WebMessagingApi {
|
|
|
54269
55343
|
/**
|
|
54270
55344
|
* WebMessaging service.
|
|
54271
55345
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
54272
|
-
* @version
|
|
55346
|
+
* @version 160.1.0
|
|
54273
55347
|
*/
|
|
54274
55348
|
|
|
54275
55349
|
/**
|
|
@@ -54315,7 +55389,7 @@ class WidgetsApi {
|
|
|
54315
55389
|
/**
|
|
54316
55390
|
* Widgets service.
|
|
54317
55391
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
54318
|
-
* @version
|
|
55392
|
+
* @version 160.1.0
|
|
54319
55393
|
*/
|
|
54320
55394
|
|
|
54321
55395
|
/**
|
|
@@ -54461,7 +55535,7 @@ class WorkforceManagementApi {
|
|
|
54461
55535
|
/**
|
|
54462
55536
|
* WorkforceManagement service.
|
|
54463
55537
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
54464
|
-
* @version
|
|
55538
|
+
* @version 160.1.0
|
|
54465
55539
|
*/
|
|
54466
55540
|
|
|
54467
55541
|
/**
|
|
@@ -57496,6 +58570,31 @@ class WorkforceManagementApi {
|
|
|
57496
58570
|
);
|
|
57497
58571
|
}
|
|
57498
58572
|
|
|
58573
|
+
/**
|
|
58574
|
+
* Get agent possible work shifts for requested time frame
|
|
58575
|
+
*
|
|
58576
|
+
* @param {Object} body body
|
|
58577
|
+
*/
|
|
58578
|
+
postWorkforcemanagementAgentsMePossibleworkshifts(body) {
|
|
58579
|
+
// verify the required parameter 'body' is set
|
|
58580
|
+
if (body === undefined || body === null) {
|
|
58581
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
|
|
58582
|
+
}
|
|
58583
|
+
|
|
58584
|
+
return this.apiClient.callApi(
|
|
58585
|
+
'/api/v2/workforcemanagement/agents/me/possibleworkshifts',
|
|
58586
|
+
'POST',
|
|
58587
|
+
{ },
|
|
58588
|
+
{ },
|
|
58589
|
+
{ },
|
|
58590
|
+
{ },
|
|
58591
|
+
body,
|
|
58592
|
+
['PureCloud OAuth'],
|
|
58593
|
+
['application/json'],
|
|
58594
|
+
['application/json']
|
|
58595
|
+
);
|
|
58596
|
+
}
|
|
58597
|
+
|
|
57499
58598
|
/**
|
|
57500
58599
|
* Get published schedule for the current user
|
|
57501
58600
|
*
|
|
@@ -59180,7 +60279,7 @@ class WorkforceManagementApi {
|
|
|
59180
60279
|
* </pre>
|
|
59181
60280
|
* </p>
|
|
59182
60281
|
* @module purecloud-platform-client-v2/index
|
|
59183
|
-
* @version
|
|
60282
|
+
* @version 160.1.0
|
|
59184
60283
|
*/
|
|
59185
60284
|
class platformClient {
|
|
59186
60285
|
constructor() {
|
|
@@ -59304,6 +60403,11 @@ class platformClient {
|
|
|
59304
60403
|
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
|
|
59305
60404
|
*/
|
|
59306
60405
|
this.IdentityProviderApi = IdentityProviderApi;
|
|
60406
|
+
/**
|
|
60407
|
+
* The InfrastructureAsCodeApi service constructor.
|
|
60408
|
+
* @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
|
|
60409
|
+
*/
|
|
60410
|
+
this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
|
|
59307
60411
|
/**
|
|
59308
60412
|
* The IntegrationsApi service constructor.
|
|
59309
60413
|
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi}
|