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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2277,9 +2277,11 @@ class Configuration {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
}
|
|
2279
2279
|
|
|
2280
|
+
const { HttpsProxyAgent } = require('hpagent');
|
|
2281
|
+
|
|
2280
2282
|
/**
|
|
2281
2283
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2284
|
+
* @version 160.1.0
|
|
2283
2285
|
*/
|
|
2284
2286
|
class ApiClient {
|
|
2285
2287
|
/**
|
|
@@ -2548,16 +2550,21 @@ class ApiClient {
|
|
|
2548
2550
|
reject(new Error('The client credentials grant is not supported in a browser.'));
|
|
2549
2551
|
return;
|
|
2550
2552
|
}
|
|
2551
|
-
|
|
2552
2553
|
const headers = {
|
|
2553
2554
|
'Authorization': `Basic ${authHeader}`
|
|
2554
2555
|
};
|
|
2556
|
+
let httpsAgent;
|
|
2557
|
+
if (this.proxy !== undefined){
|
|
2558
|
+
httpsAgent = new HttpsProxyAgent({
|
|
2559
|
+
proxy : `${this.proxy.protocol}://${this.proxy.host}:${this.proxy.port}`
|
|
2560
|
+
});
|
|
2561
|
+
}
|
|
2555
2562
|
axios__default["default"]({
|
|
2556
2563
|
method: `POST`,
|
|
2557
2564
|
url: `https://login.${this.config.environment}/oauth/token`,
|
|
2558
2565
|
headers: headers,
|
|
2559
2566
|
data: 'grant_type=client_credentials',
|
|
2560
|
-
|
|
2567
|
+
httpsAgent: httpsAgent
|
|
2561
2568
|
})
|
|
2562
2569
|
.then((response) => {
|
|
2563
2570
|
// Logging
|
|
@@ -3247,10 +3254,16 @@ class ApiClient {
|
|
|
3247
3254
|
sendRequest(this);
|
|
3248
3255
|
function sendRequest(that) {
|
|
3249
3256
|
var url = that.buildUrl(path, pathParams);
|
|
3257
|
+
let httpsAgent;
|
|
3258
|
+
if (that.proxy !== undefined){
|
|
3259
|
+
httpsAgent = new HttpsProxyAgent({
|
|
3260
|
+
proxy : `${that.proxy.protocol}://${that.proxy.host}:${that.proxy.port}`
|
|
3261
|
+
});
|
|
3262
|
+
}
|
|
3250
3263
|
var request = {
|
|
3251
3264
|
method: httpMethod,
|
|
3252
3265
|
url: url,
|
|
3253
|
-
|
|
3266
|
+
httpsAgent: httpsAgent,
|
|
3254
3267
|
timeout: that.timeout,
|
|
3255
3268
|
params: that.serialize(queryParams)
|
|
3256
3269
|
};
|
|
@@ -3351,7 +3364,7 @@ class AlertingApi {
|
|
|
3351
3364
|
/**
|
|
3352
3365
|
* Alerting service.
|
|
3353
3366
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3354
|
-
* @version
|
|
3367
|
+
* @version 160.1.0
|
|
3355
3368
|
*/
|
|
3356
3369
|
|
|
3357
3370
|
/**
|
|
@@ -3665,7 +3678,7 @@ class AnalyticsApi {
|
|
|
3665
3678
|
/**
|
|
3666
3679
|
* Analytics service.
|
|
3667
3680
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3668
|
-
* @version
|
|
3681
|
+
* @version 160.1.0
|
|
3669
3682
|
*/
|
|
3670
3683
|
|
|
3671
3684
|
/**
|
|
@@ -4919,7 +4932,7 @@ class ArchitectApi {
|
|
|
4919
4932
|
/**
|
|
4920
4933
|
* Architect service.
|
|
4921
4934
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4922
|
-
* @version
|
|
4935
|
+
* @version 160.1.0
|
|
4923
4936
|
*/
|
|
4924
4937
|
|
|
4925
4938
|
/**
|
|
@@ -7967,7 +7980,7 @@ class AuditApi {
|
|
|
7967
7980
|
/**
|
|
7968
7981
|
* Audit service.
|
|
7969
7982
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7970
|
-
* @version
|
|
7983
|
+
* @version 160.1.0
|
|
7971
7984
|
*/
|
|
7972
7985
|
|
|
7973
7986
|
/**
|
|
@@ -8138,7 +8151,7 @@ class AuthorizationApi {
|
|
|
8138
8151
|
/**
|
|
8139
8152
|
* Authorization service.
|
|
8140
8153
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8141
|
-
* @version
|
|
8154
|
+
* @version 160.1.0
|
|
8142
8155
|
*/
|
|
8143
8156
|
|
|
8144
8157
|
/**
|
|
@@ -9366,7 +9379,7 @@ class BillingApi {
|
|
|
9366
9379
|
/**
|
|
9367
9380
|
* Billing service.
|
|
9368
9381
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9369
|
-
* @version
|
|
9382
|
+
* @version 160.1.0
|
|
9370
9383
|
*/
|
|
9371
9384
|
|
|
9372
9385
|
/**
|
|
@@ -9446,7 +9459,7 @@ class ChatApi {
|
|
|
9446
9459
|
/**
|
|
9447
9460
|
* Chat service.
|
|
9448
9461
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9449
|
-
* @version
|
|
9462
|
+
* @version 160.1.0
|
|
9450
9463
|
*/
|
|
9451
9464
|
|
|
9452
9465
|
/**
|
|
@@ -9537,7 +9550,7 @@ class CoachingApi {
|
|
|
9537
9550
|
/**
|
|
9538
9551
|
* Coaching service.
|
|
9539
9552
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9540
|
-
* @version
|
|
9553
|
+
* @version 160.1.0
|
|
9541
9554
|
*/
|
|
9542
9555
|
|
|
9543
9556
|
/**
|
|
@@ -10114,7 +10127,7 @@ class ContentManagementApi {
|
|
|
10114
10127
|
/**
|
|
10115
10128
|
* ContentManagement service.
|
|
10116
10129
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10117
|
-
* @version
|
|
10130
|
+
* @version 160.1.0
|
|
10118
10131
|
*/
|
|
10119
10132
|
|
|
10120
10133
|
/**
|
|
@@ -11254,7 +11267,7 @@ class ConversationsApi {
|
|
|
11254
11267
|
/**
|
|
11255
11268
|
* Conversations service.
|
|
11256
11269
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11257
|
-
* @version
|
|
11270
|
+
* @version 160.1.0
|
|
11258
11271
|
*/
|
|
11259
11272
|
|
|
11260
11273
|
/**
|
|
@@ -11921,6 +11934,45 @@ class ConversationsApi {
|
|
|
11921
11934
|
);
|
|
11922
11935
|
}
|
|
11923
11936
|
|
|
11937
|
+
/**
|
|
11938
|
+
* Get the wrap-up for this conversation communication.
|
|
11939
|
+
*
|
|
11940
|
+
* @param {String} conversationId conversationId
|
|
11941
|
+
* @param {String} participantId participantId
|
|
11942
|
+
* @param {String} communicationId communicationId
|
|
11943
|
+
* @param {Object} opts Optional parameters
|
|
11944
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
11945
|
+
*/
|
|
11946
|
+
getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
11947
|
+
opts = opts || {};
|
|
11948
|
+
|
|
11949
|
+
// verify the required parameter 'conversationId' is set
|
|
11950
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11951
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
11952
|
+
}
|
|
11953
|
+
// verify the required parameter 'participantId' is set
|
|
11954
|
+
if (participantId === undefined || participantId === null) {
|
|
11955
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
11956
|
+
}
|
|
11957
|
+
// verify the required parameter 'communicationId' is set
|
|
11958
|
+
if (communicationId === undefined || communicationId === null) {
|
|
11959
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
11960
|
+
}
|
|
11961
|
+
|
|
11962
|
+
return this.apiClient.callApi(
|
|
11963
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
11964
|
+
'GET',
|
|
11965
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
11966
|
+
{ 'provisional': opts['provisional'] },
|
|
11967
|
+
{ },
|
|
11968
|
+
{ },
|
|
11969
|
+
null,
|
|
11970
|
+
['PureCloud OAuth'],
|
|
11971
|
+
['application/json'],
|
|
11972
|
+
['application/json']
|
|
11973
|
+
);
|
|
11974
|
+
}
|
|
11975
|
+
|
|
11924
11976
|
/**
|
|
11925
11977
|
* Get the wrap-up for this conversation participant.
|
|
11926
11978
|
*
|
|
@@ -12010,6 +12062,45 @@ class ConversationsApi {
|
|
|
12010
12062
|
);
|
|
12011
12063
|
}
|
|
12012
12064
|
|
|
12065
|
+
/**
|
|
12066
|
+
* Get the wrap-up for this conversation communication.
|
|
12067
|
+
*
|
|
12068
|
+
* @param {String} conversationId conversationId
|
|
12069
|
+
* @param {String} participantId participantId
|
|
12070
|
+
* @param {String} communicationId communicationId
|
|
12071
|
+
* @param {Object} opts Optional parameters
|
|
12072
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
12073
|
+
*/
|
|
12074
|
+
getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
12075
|
+
opts = opts || {};
|
|
12076
|
+
|
|
12077
|
+
// verify the required parameter 'conversationId' is set
|
|
12078
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12079
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
12080
|
+
}
|
|
12081
|
+
// verify the required parameter 'participantId' is set
|
|
12082
|
+
if (participantId === undefined || participantId === null) {
|
|
12083
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
12084
|
+
}
|
|
12085
|
+
// verify the required parameter 'communicationId' is set
|
|
12086
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12087
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
12088
|
+
}
|
|
12089
|
+
|
|
12090
|
+
return this.apiClient.callApi(
|
|
12091
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
12092
|
+
'GET',
|
|
12093
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12094
|
+
{ 'provisional': opts['provisional'] },
|
|
12095
|
+
{ },
|
|
12096
|
+
{ },
|
|
12097
|
+
null,
|
|
12098
|
+
['PureCloud OAuth'],
|
|
12099
|
+
['application/json'],
|
|
12100
|
+
['application/json']
|
|
12101
|
+
);
|
|
12102
|
+
}
|
|
12103
|
+
|
|
12013
12104
|
/**
|
|
12014
12105
|
* Get the wrap-up for this conversation participant.
|
|
12015
12106
|
*
|
|
@@ -12248,6 +12339,45 @@ class ConversationsApi {
|
|
|
12248
12339
|
);
|
|
12249
12340
|
}
|
|
12250
12341
|
|
|
12342
|
+
/**
|
|
12343
|
+
* Get the wrap-up for this conversation communication.
|
|
12344
|
+
*
|
|
12345
|
+
* @param {String} conversationId conversationId
|
|
12346
|
+
* @param {String} participantId participantId
|
|
12347
|
+
* @param {String} communicationId communicationId
|
|
12348
|
+
* @param {Object} opts Optional parameters
|
|
12349
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
12350
|
+
*/
|
|
12351
|
+
getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
12352
|
+
opts = opts || {};
|
|
12353
|
+
|
|
12354
|
+
// verify the required parameter 'conversationId' is set
|
|
12355
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12356
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
12357
|
+
}
|
|
12358
|
+
// verify the required parameter 'participantId' is set
|
|
12359
|
+
if (participantId === undefined || participantId === null) {
|
|
12360
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
12361
|
+
}
|
|
12362
|
+
// verify the required parameter 'communicationId' is set
|
|
12363
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12364
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
12365
|
+
}
|
|
12366
|
+
|
|
12367
|
+
return this.apiClient.callApi(
|
|
12368
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
12369
|
+
'GET',
|
|
12370
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12371
|
+
{ 'provisional': opts['provisional'] },
|
|
12372
|
+
{ },
|
|
12373
|
+
{ },
|
|
12374
|
+
null,
|
|
12375
|
+
['PureCloud OAuth'],
|
|
12376
|
+
['application/json'],
|
|
12377
|
+
['application/json']
|
|
12378
|
+
);
|
|
12379
|
+
}
|
|
12380
|
+
|
|
12251
12381
|
/**
|
|
12252
12382
|
* Get the wrap-up for this conversation participant.
|
|
12253
12383
|
*
|
|
@@ -12357,6 +12487,45 @@ class ConversationsApi {
|
|
|
12357
12487
|
);
|
|
12358
12488
|
}
|
|
12359
12489
|
|
|
12490
|
+
/**
|
|
12491
|
+
* Get the wrap-up for this conversation communication.
|
|
12492
|
+
*
|
|
12493
|
+
* @param {String} conversationId conversationId
|
|
12494
|
+
* @param {String} participantId participantId
|
|
12495
|
+
* @param {String} communicationId communicationId
|
|
12496
|
+
* @param {Object} opts Optional parameters
|
|
12497
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
12498
|
+
*/
|
|
12499
|
+
getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
12500
|
+
opts = opts || {};
|
|
12501
|
+
|
|
12502
|
+
// verify the required parameter 'conversationId' is set
|
|
12503
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12504
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
12505
|
+
}
|
|
12506
|
+
// verify the required parameter 'participantId' is set
|
|
12507
|
+
if (participantId === undefined || participantId === null) {
|
|
12508
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
12509
|
+
}
|
|
12510
|
+
// verify the required parameter 'communicationId' is set
|
|
12511
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12512
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
12513
|
+
}
|
|
12514
|
+
|
|
12515
|
+
return this.apiClient.callApi(
|
|
12516
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
12517
|
+
'GET',
|
|
12518
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12519
|
+
{ 'provisional': opts['provisional'] },
|
|
12520
|
+
{ },
|
|
12521
|
+
{ },
|
|
12522
|
+
null,
|
|
12523
|
+
['PureCloud OAuth'],
|
|
12524
|
+
['application/json'],
|
|
12525
|
+
['application/json']
|
|
12526
|
+
);
|
|
12527
|
+
}
|
|
12528
|
+
|
|
12360
12529
|
/**
|
|
12361
12530
|
* Get the wrap-up for this conversation participant.
|
|
12362
12531
|
*
|
|
@@ -12546,6 +12715,45 @@ class ConversationsApi {
|
|
|
12546
12715
|
);
|
|
12547
12716
|
}
|
|
12548
12717
|
|
|
12718
|
+
/**
|
|
12719
|
+
* Get the wrap-up for this conversation communication.
|
|
12720
|
+
*
|
|
12721
|
+
* @param {String} conversationId conversationId
|
|
12722
|
+
* @param {String} participantId participantId
|
|
12723
|
+
* @param {String} communicationId communicationId
|
|
12724
|
+
* @param {Object} opts Optional parameters
|
|
12725
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
12726
|
+
*/
|
|
12727
|
+
getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
12728
|
+
opts = opts || {};
|
|
12729
|
+
|
|
12730
|
+
// verify the required parameter 'conversationId' is set
|
|
12731
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12732
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
12733
|
+
}
|
|
12734
|
+
// verify the required parameter 'participantId' is set
|
|
12735
|
+
if (participantId === undefined || participantId === null) {
|
|
12736
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
12737
|
+
}
|
|
12738
|
+
// verify the required parameter 'communicationId' is set
|
|
12739
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12740
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
12741
|
+
}
|
|
12742
|
+
|
|
12743
|
+
return this.apiClient.callApi(
|
|
12744
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
12745
|
+
'GET',
|
|
12746
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12747
|
+
{ 'provisional': opts['provisional'] },
|
|
12748
|
+
{ },
|
|
12749
|
+
{ },
|
|
12750
|
+
null,
|
|
12751
|
+
['PureCloud OAuth'],
|
|
12752
|
+
['application/json'],
|
|
12753
|
+
['application/json']
|
|
12754
|
+
);
|
|
12755
|
+
}
|
|
12756
|
+
|
|
12549
12757
|
/**
|
|
12550
12758
|
* Get the wrap-up for this conversation participant.
|
|
12551
12759
|
*
|
|
@@ -12823,6 +13031,45 @@ class ConversationsApi {
|
|
|
12823
13031
|
);
|
|
12824
13032
|
}
|
|
12825
13033
|
|
|
13034
|
+
/**
|
|
13035
|
+
* Get the wrap-up for this conversation communication.
|
|
13036
|
+
*
|
|
13037
|
+
* @param {String} conversationId conversationId
|
|
13038
|
+
* @param {String} participantId participantId
|
|
13039
|
+
* @param {String} communicationId communicationId
|
|
13040
|
+
* @param {Object} opts Optional parameters
|
|
13041
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
13042
|
+
*/
|
|
13043
|
+
getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13044
|
+
opts = opts || {};
|
|
13045
|
+
|
|
13046
|
+
// verify the required parameter 'conversationId' is set
|
|
13047
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13048
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
13049
|
+
}
|
|
13050
|
+
// verify the required parameter 'participantId' is set
|
|
13051
|
+
if (participantId === undefined || participantId === null) {
|
|
13052
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
13053
|
+
}
|
|
13054
|
+
// verify the required parameter 'communicationId' is set
|
|
13055
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13056
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
13057
|
+
}
|
|
13058
|
+
|
|
13059
|
+
return this.apiClient.callApi(
|
|
13060
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13061
|
+
'GET',
|
|
13062
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13063
|
+
{ 'provisional': opts['provisional'] },
|
|
13064
|
+
{ },
|
|
13065
|
+
{ },
|
|
13066
|
+
null,
|
|
13067
|
+
['PureCloud OAuth'],
|
|
13068
|
+
['application/json'],
|
|
13069
|
+
['application/json']
|
|
13070
|
+
);
|
|
13071
|
+
}
|
|
13072
|
+
|
|
12826
13073
|
/**
|
|
12827
13074
|
* Get the wrap-up for this conversation participant.
|
|
12828
13075
|
*
|
|
@@ -13360,6 +13607,143 @@ class ConversationsApi {
|
|
|
13360
13607
|
);
|
|
13361
13608
|
}
|
|
13362
13609
|
|
|
13610
|
+
/**
|
|
13611
|
+
* Get the wrap-up for this conversation communication.
|
|
13612
|
+
*
|
|
13613
|
+
* @param {String} conversationId conversationId
|
|
13614
|
+
* @param {String} participantId participantId
|
|
13615
|
+
* @param {String} communicationId communicationId
|
|
13616
|
+
* @param {Object} opts Optional parameters
|
|
13617
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
13618
|
+
*/
|
|
13619
|
+
getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13620
|
+
opts = opts || {};
|
|
13621
|
+
|
|
13622
|
+
// verify the required parameter 'conversationId' is set
|
|
13623
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13624
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
13625
|
+
}
|
|
13626
|
+
// verify the required parameter 'participantId' is set
|
|
13627
|
+
if (participantId === undefined || participantId === null) {
|
|
13628
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
13629
|
+
}
|
|
13630
|
+
// verify the required parameter 'communicationId' is set
|
|
13631
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13632
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
13633
|
+
}
|
|
13634
|
+
|
|
13635
|
+
return this.apiClient.callApi(
|
|
13636
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13637
|
+
'GET',
|
|
13638
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13639
|
+
{ 'provisional': opts['provisional'] },
|
|
13640
|
+
{ },
|
|
13641
|
+
{ },
|
|
13642
|
+
null,
|
|
13643
|
+
['PureCloud OAuth'],
|
|
13644
|
+
['application/json'],
|
|
13645
|
+
['application/json']
|
|
13646
|
+
);
|
|
13647
|
+
}
|
|
13648
|
+
|
|
13649
|
+
/**
|
|
13650
|
+
* Get Settings
|
|
13651
|
+
*
|
|
13652
|
+
*/
|
|
13653
|
+
getConversationsSettings() {
|
|
13654
|
+
|
|
13655
|
+
return this.apiClient.callApi(
|
|
13656
|
+
'/api/v2/conversations/settings',
|
|
13657
|
+
'GET',
|
|
13658
|
+
{ },
|
|
13659
|
+
{ },
|
|
13660
|
+
{ },
|
|
13661
|
+
{ },
|
|
13662
|
+
null,
|
|
13663
|
+
['PureCloud OAuth'],
|
|
13664
|
+
['application/json'],
|
|
13665
|
+
['application/json']
|
|
13666
|
+
);
|
|
13667
|
+
}
|
|
13668
|
+
|
|
13669
|
+
/**
|
|
13670
|
+
* Get the wrap-up for this conversation communication.
|
|
13671
|
+
*
|
|
13672
|
+
* @param {String} conversationId conversationId
|
|
13673
|
+
* @param {String} participantId participantId
|
|
13674
|
+
* @param {String} communicationId communicationId
|
|
13675
|
+
* @param {Object} opts Optional parameters
|
|
13676
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
13677
|
+
*/
|
|
13678
|
+
getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13679
|
+
opts = opts || {};
|
|
13680
|
+
|
|
13681
|
+
// verify the required parameter 'conversationId' is set
|
|
13682
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13683
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
13684
|
+
}
|
|
13685
|
+
// verify the required parameter 'participantId' is set
|
|
13686
|
+
if (participantId === undefined || participantId === null) {
|
|
13687
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
13688
|
+
}
|
|
13689
|
+
// verify the required parameter 'communicationId' is set
|
|
13690
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13691
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
13692
|
+
}
|
|
13693
|
+
|
|
13694
|
+
return this.apiClient.callApi(
|
|
13695
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13696
|
+
'GET',
|
|
13697
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13698
|
+
{ 'provisional': opts['provisional'] },
|
|
13699
|
+
{ },
|
|
13700
|
+
{ },
|
|
13701
|
+
null,
|
|
13702
|
+
['PureCloud OAuth'],
|
|
13703
|
+
['application/json'],
|
|
13704
|
+
['application/json']
|
|
13705
|
+
);
|
|
13706
|
+
}
|
|
13707
|
+
|
|
13708
|
+
/**
|
|
13709
|
+
* Get the wrap-up for this conversation communication.
|
|
13710
|
+
*
|
|
13711
|
+
* @param {String} conversationId conversationId
|
|
13712
|
+
* @param {String} participantId participantId
|
|
13713
|
+
* @param {String} communicationId communicationId
|
|
13714
|
+
* @param {Object} opts Optional parameters
|
|
13715
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
13716
|
+
*/
|
|
13717
|
+
getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
13718
|
+
opts = opts || {};
|
|
13719
|
+
|
|
13720
|
+
// verify the required parameter 'conversationId' is set
|
|
13721
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13722
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
13723
|
+
}
|
|
13724
|
+
// verify the required parameter 'participantId' is set
|
|
13725
|
+
if (participantId === undefined || participantId === null) {
|
|
13726
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
13727
|
+
}
|
|
13728
|
+
// verify the required parameter 'communicationId' is set
|
|
13729
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13730
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
13731
|
+
}
|
|
13732
|
+
|
|
13733
|
+
return this.apiClient.callApi(
|
|
13734
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
13735
|
+
'GET',
|
|
13736
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13737
|
+
{ 'provisional': opts['provisional'] },
|
|
13738
|
+
{ },
|
|
13739
|
+
{ },
|
|
13740
|
+
null,
|
|
13741
|
+
['PureCloud OAuth'],
|
|
13742
|
+
['application/json'],
|
|
13743
|
+
['application/json']
|
|
13744
|
+
);
|
|
13745
|
+
}
|
|
13746
|
+
|
|
13363
13747
|
/**
|
|
13364
13748
|
* Update a participant.
|
|
13365
13749
|
* Update conversation participant.
|
|
@@ -14506,6 +14890,31 @@ class ConversationsApi {
|
|
|
14506
14890
|
);
|
|
14507
14891
|
}
|
|
14508
14892
|
|
|
14893
|
+
/**
|
|
14894
|
+
* Update Settings
|
|
14895
|
+
*
|
|
14896
|
+
* @param {Object} body Settings
|
|
14897
|
+
*/
|
|
14898
|
+
patchConversationsSettings(body) {
|
|
14899
|
+
// verify the required parameter 'body' is set
|
|
14900
|
+
if (body === undefined || body === null) {
|
|
14901
|
+
throw 'Missing the required parameter "body" when calling patchConversationsSettings';
|
|
14902
|
+
}
|
|
14903
|
+
|
|
14904
|
+
return this.apiClient.callApi(
|
|
14905
|
+
'/api/v2/conversations/settings',
|
|
14906
|
+
'PATCH',
|
|
14907
|
+
{ },
|
|
14908
|
+
{ },
|
|
14909
|
+
{ },
|
|
14910
|
+
{ },
|
|
14911
|
+
body,
|
|
14912
|
+
['PureCloud OAuth'],
|
|
14913
|
+
['application/json'],
|
|
14914
|
+
['application/json']
|
|
14915
|
+
);
|
|
14916
|
+
}
|
|
14917
|
+
|
|
14509
14918
|
/**
|
|
14510
14919
|
* Index conversation properties
|
|
14511
14920
|
*
|
|
@@ -14888,6 +15297,45 @@ class ConversationsApi {
|
|
|
14888
15297
|
);
|
|
14889
15298
|
}
|
|
14890
15299
|
|
|
15300
|
+
/**
|
|
15301
|
+
* Apply wrap-up for this conversation communication
|
|
15302
|
+
*
|
|
15303
|
+
* @param {String} conversationId conversationId
|
|
15304
|
+
* @param {String} participantId participantId
|
|
15305
|
+
* @param {String} communicationId communicationId
|
|
15306
|
+
* @param {Object} opts Optional parameters
|
|
15307
|
+
* @param {Object} opts.body Wrap-up
|
|
15308
|
+
*/
|
|
15309
|
+
postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
15310
|
+
opts = opts || {};
|
|
15311
|
+
|
|
15312
|
+
// verify the required parameter 'conversationId' is set
|
|
15313
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15314
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
15315
|
+
}
|
|
15316
|
+
// verify the required parameter 'participantId' is set
|
|
15317
|
+
if (participantId === undefined || participantId === null) {
|
|
15318
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
15319
|
+
}
|
|
15320
|
+
// verify the required parameter 'communicationId' is set
|
|
15321
|
+
if (communicationId === undefined || communicationId === null) {
|
|
15322
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
15323
|
+
}
|
|
15324
|
+
|
|
15325
|
+
return this.apiClient.callApi(
|
|
15326
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
15327
|
+
'POST',
|
|
15328
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
15329
|
+
{ },
|
|
15330
|
+
{ },
|
|
15331
|
+
{ },
|
|
15332
|
+
opts['body'],
|
|
15333
|
+
['PureCloud OAuth'],
|
|
15334
|
+
['application/json'],
|
|
15335
|
+
['application/json']
|
|
15336
|
+
);
|
|
15337
|
+
}
|
|
15338
|
+
|
|
14891
15339
|
/**
|
|
14892
15340
|
* Initiate and update consult transfer
|
|
14893
15341
|
*
|
|
@@ -15018,6 +15466,45 @@ class ConversationsApi {
|
|
|
15018
15466
|
);
|
|
15019
15467
|
}
|
|
15020
15468
|
|
|
15469
|
+
/**
|
|
15470
|
+
* Apply wrap-up for this conversation communication
|
|
15471
|
+
*
|
|
15472
|
+
* @param {String} conversationId conversationId
|
|
15473
|
+
* @param {String} participantId participantId
|
|
15474
|
+
* @param {String} communicationId communicationId
|
|
15475
|
+
* @param {Object} opts Optional parameters
|
|
15476
|
+
* @param {Object} opts.body Wrap-up
|
|
15477
|
+
*/
|
|
15478
|
+
postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
15479
|
+
opts = opts || {};
|
|
15480
|
+
|
|
15481
|
+
// verify the required parameter 'conversationId' is set
|
|
15482
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15483
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
15484
|
+
}
|
|
15485
|
+
// verify the required parameter 'participantId' is set
|
|
15486
|
+
if (participantId === undefined || participantId === null) {
|
|
15487
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
15488
|
+
}
|
|
15489
|
+
// verify the required parameter 'communicationId' is set
|
|
15490
|
+
if (communicationId === undefined || communicationId === null) {
|
|
15491
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
15492
|
+
}
|
|
15493
|
+
|
|
15494
|
+
return this.apiClient.callApi(
|
|
15495
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
15496
|
+
'POST',
|
|
15497
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
15498
|
+
{ },
|
|
15499
|
+
{ },
|
|
15500
|
+
{ },
|
|
15501
|
+
opts['body'],
|
|
15502
|
+
['PureCloud OAuth'],
|
|
15503
|
+
['application/json'],
|
|
15504
|
+
['application/json']
|
|
15505
|
+
);
|
|
15506
|
+
}
|
|
15507
|
+
|
|
15021
15508
|
/**
|
|
15022
15509
|
* Replace this participant with the specified user and/or address
|
|
15023
15510
|
*
|
|
@@ -15218,6 +15705,45 @@ class ConversationsApi {
|
|
|
15218
15705
|
);
|
|
15219
15706
|
}
|
|
15220
15707
|
|
|
15708
|
+
/**
|
|
15709
|
+
* Apply wrap-up for this conversation communication
|
|
15710
|
+
*
|
|
15711
|
+
* @param {String} conversationId conversationId
|
|
15712
|
+
* @param {String} participantId participantId
|
|
15713
|
+
* @param {String} communicationId communicationId
|
|
15714
|
+
* @param {Object} opts Optional parameters
|
|
15715
|
+
* @param {Object} opts.body Wrap-up
|
|
15716
|
+
*/
|
|
15717
|
+
postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
15718
|
+
opts = opts || {};
|
|
15719
|
+
|
|
15720
|
+
// verify the required parameter 'conversationId' is set
|
|
15721
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15722
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
15723
|
+
}
|
|
15724
|
+
// verify the required parameter 'participantId' is set
|
|
15725
|
+
if (participantId === undefined || participantId === null) {
|
|
15726
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
15727
|
+
}
|
|
15728
|
+
// verify the required parameter 'communicationId' is set
|
|
15729
|
+
if (communicationId === undefined || communicationId === null) {
|
|
15730
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
15731
|
+
}
|
|
15732
|
+
|
|
15733
|
+
return this.apiClient.callApi(
|
|
15734
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
15735
|
+
'POST',
|
|
15736
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
15737
|
+
{ },
|
|
15738
|
+
{ },
|
|
15739
|
+
{ },
|
|
15740
|
+
opts['body'],
|
|
15741
|
+
['PureCloud OAuth'],
|
|
15742
|
+
['application/json'],
|
|
15743
|
+
['application/json']
|
|
15744
|
+
);
|
|
15745
|
+
}
|
|
15746
|
+
|
|
15221
15747
|
/**
|
|
15222
15748
|
* Replace this participant with the specified user and/or address
|
|
15223
15749
|
*
|
|
@@ -15278,6 +15804,45 @@ class ConversationsApi {
|
|
|
15278
15804
|
);
|
|
15279
15805
|
}
|
|
15280
15806
|
|
|
15807
|
+
/**
|
|
15808
|
+
* Apply wrap-up for this conversation communication
|
|
15809
|
+
*
|
|
15810
|
+
* @param {String} conversationId conversationId
|
|
15811
|
+
* @param {String} participantId participantId
|
|
15812
|
+
* @param {String} communicationId communicationId
|
|
15813
|
+
* @param {Object} opts Optional parameters
|
|
15814
|
+
* @param {Object} opts.body Wrap-up
|
|
15815
|
+
*/
|
|
15816
|
+
postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
15817
|
+
opts = opts || {};
|
|
15818
|
+
|
|
15819
|
+
// verify the required parameter 'conversationId' is set
|
|
15820
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15821
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
15822
|
+
}
|
|
15823
|
+
// verify the required parameter 'participantId' is set
|
|
15824
|
+
if (participantId === undefined || participantId === null) {
|
|
15825
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
15826
|
+
}
|
|
15827
|
+
// verify the required parameter 'communicationId' is set
|
|
15828
|
+
if (communicationId === undefined || communicationId === null) {
|
|
15829
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
15830
|
+
}
|
|
15831
|
+
|
|
15832
|
+
return this.apiClient.callApi(
|
|
15833
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
15834
|
+
'POST',
|
|
15835
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
15836
|
+
{ },
|
|
15837
|
+
{ },
|
|
15838
|
+
{ },
|
|
15839
|
+
opts['body'],
|
|
15840
|
+
['PureCloud OAuth'],
|
|
15841
|
+
['application/json'],
|
|
15842
|
+
['application/json']
|
|
15843
|
+
);
|
|
15844
|
+
}
|
|
15845
|
+
|
|
15281
15846
|
/**
|
|
15282
15847
|
* Replace this participant with the specified user and/or address
|
|
15283
15848
|
*
|
|
@@ -15402,6 +15967,45 @@ class ConversationsApi {
|
|
|
15402
15967
|
);
|
|
15403
15968
|
}
|
|
15404
15969
|
|
|
15970
|
+
/**
|
|
15971
|
+
* Apply wrap-up for this conversation communication
|
|
15972
|
+
*
|
|
15973
|
+
* @param {String} conversationId conversationId
|
|
15974
|
+
* @param {String} participantId participantId
|
|
15975
|
+
* @param {String} communicationId communicationId
|
|
15976
|
+
* @param {Object} opts Optional parameters
|
|
15977
|
+
* @param {Object} opts.body Wrap-up
|
|
15978
|
+
*/
|
|
15979
|
+
postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
15980
|
+
opts = opts || {};
|
|
15981
|
+
|
|
15982
|
+
// verify the required parameter 'conversationId' is set
|
|
15983
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15984
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
15985
|
+
}
|
|
15986
|
+
// verify the required parameter 'participantId' is set
|
|
15987
|
+
if (participantId === undefined || participantId === null) {
|
|
15988
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
15989
|
+
}
|
|
15990
|
+
// verify the required parameter 'communicationId' is set
|
|
15991
|
+
if (communicationId === undefined || communicationId === null) {
|
|
15992
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
15993
|
+
}
|
|
15994
|
+
|
|
15995
|
+
return this.apiClient.callApi(
|
|
15996
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
15997
|
+
'POST',
|
|
15998
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
15999
|
+
{ },
|
|
16000
|
+
{ },
|
|
16001
|
+
{ },
|
|
16002
|
+
opts['body'],
|
|
16003
|
+
['PureCloud OAuth'],
|
|
16004
|
+
['application/json'],
|
|
16005
|
+
['application/json']
|
|
16006
|
+
);
|
|
16007
|
+
}
|
|
16008
|
+
|
|
15405
16009
|
/**
|
|
15406
16010
|
* Replace this participant with the specified user and/or address
|
|
15407
16011
|
*
|
|
@@ -15696,6 +16300,45 @@ class ConversationsApi {
|
|
|
15696
16300
|
);
|
|
15697
16301
|
}
|
|
15698
16302
|
|
|
16303
|
+
/**
|
|
16304
|
+
* Apply wrap-up for this conversation communication
|
|
16305
|
+
*
|
|
16306
|
+
* @param {String} conversationId conversationId
|
|
16307
|
+
* @param {String} participantId participantId
|
|
16308
|
+
* @param {String} communicationId communicationId
|
|
16309
|
+
* @param {Object} opts Optional parameters
|
|
16310
|
+
* @param {Object} opts.body Wrap-up
|
|
16311
|
+
*/
|
|
16312
|
+
postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
16313
|
+
opts = opts || {};
|
|
16314
|
+
|
|
16315
|
+
// verify the required parameter 'conversationId' is set
|
|
16316
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16317
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
16318
|
+
}
|
|
16319
|
+
// verify the required parameter 'participantId' is set
|
|
16320
|
+
if (participantId === undefined || participantId === null) {
|
|
16321
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
16322
|
+
}
|
|
16323
|
+
// verify the required parameter 'communicationId' is set
|
|
16324
|
+
if (communicationId === undefined || communicationId === null) {
|
|
16325
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
16326
|
+
}
|
|
16327
|
+
|
|
16328
|
+
return this.apiClient.callApi(
|
|
16329
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
16330
|
+
'POST',
|
|
16331
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
16332
|
+
{ },
|
|
16333
|
+
{ },
|
|
16334
|
+
{ },
|
|
16335
|
+
opts['body'],
|
|
16336
|
+
['PureCloud OAuth'],
|
|
16337
|
+
['application/json'],
|
|
16338
|
+
['application/json']
|
|
16339
|
+
);
|
|
16340
|
+
}
|
|
16341
|
+
|
|
15699
16342
|
/**
|
|
15700
16343
|
* Replace this participant with the specified user and/or address
|
|
15701
16344
|
*
|
|
@@ -15956,6 +16599,148 @@ class ConversationsApi {
|
|
|
15956
16599
|
);
|
|
15957
16600
|
}
|
|
15958
16601
|
|
|
16602
|
+
/**
|
|
16603
|
+
* Search conversations
|
|
16604
|
+
*
|
|
16605
|
+
* @param {Object} body Search request options
|
|
16606
|
+
*/
|
|
16607
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
16608
|
+
// verify the required parameter 'body' is set
|
|
16609
|
+
if (body === undefined || body === null) {
|
|
16610
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
16611
|
+
}
|
|
16612
|
+
|
|
16613
|
+
return this.apiClient.callApi(
|
|
16614
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
16615
|
+
'POST',
|
|
16616
|
+
{ },
|
|
16617
|
+
{ },
|
|
16618
|
+
{ },
|
|
16619
|
+
{ },
|
|
16620
|
+
body,
|
|
16621
|
+
['PureCloud OAuth'],
|
|
16622
|
+
['application/json'],
|
|
16623
|
+
['application/json']
|
|
16624
|
+
);
|
|
16625
|
+
}
|
|
16626
|
+
|
|
16627
|
+
/**
|
|
16628
|
+
* Apply wrap-up for this conversation communication
|
|
16629
|
+
*
|
|
16630
|
+
* @param {String} conversationId conversationId
|
|
16631
|
+
* @param {String} participantId participantId
|
|
16632
|
+
* @param {String} communicationId communicationId
|
|
16633
|
+
* @param {Object} opts Optional parameters
|
|
16634
|
+
* @param {Object} opts.body Wrap-up
|
|
16635
|
+
*/
|
|
16636
|
+
postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
16637
|
+
opts = opts || {};
|
|
16638
|
+
|
|
16639
|
+
// verify the required parameter 'conversationId' is set
|
|
16640
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16641
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
16642
|
+
}
|
|
16643
|
+
// verify the required parameter 'participantId' is set
|
|
16644
|
+
if (participantId === undefined || participantId === null) {
|
|
16645
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
16646
|
+
}
|
|
16647
|
+
// verify the required parameter 'communicationId' is set
|
|
16648
|
+
if (communicationId === undefined || communicationId === null) {
|
|
16649
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
16650
|
+
}
|
|
16651
|
+
|
|
16652
|
+
return this.apiClient.callApi(
|
|
16653
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
16654
|
+
'POST',
|
|
16655
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
16656
|
+
{ },
|
|
16657
|
+
{ },
|
|
16658
|
+
{ },
|
|
16659
|
+
opts['body'],
|
|
16660
|
+
['PureCloud OAuth'],
|
|
16661
|
+
['application/json'],
|
|
16662
|
+
['application/json']
|
|
16663
|
+
);
|
|
16664
|
+
}
|
|
16665
|
+
|
|
16666
|
+
/**
|
|
16667
|
+
* Apply wrap-up for this conversation communication
|
|
16668
|
+
*
|
|
16669
|
+
* @param {String} conversationId conversationId
|
|
16670
|
+
* @param {String} participantId participantId
|
|
16671
|
+
* @param {String} communicationId communicationId
|
|
16672
|
+
* @param {Object} opts Optional parameters
|
|
16673
|
+
* @param {Object} opts.body Wrap-up
|
|
16674
|
+
*/
|
|
16675
|
+
postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
16676
|
+
opts = opts || {};
|
|
16677
|
+
|
|
16678
|
+
// verify the required parameter 'conversationId' is set
|
|
16679
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16680
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
16681
|
+
}
|
|
16682
|
+
// verify the required parameter 'participantId' is set
|
|
16683
|
+
if (participantId === undefined || participantId === null) {
|
|
16684
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
16685
|
+
}
|
|
16686
|
+
// verify the required parameter 'communicationId' is set
|
|
16687
|
+
if (communicationId === undefined || communicationId === null) {
|
|
16688
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
16689
|
+
}
|
|
16690
|
+
|
|
16691
|
+
return this.apiClient.callApi(
|
|
16692
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
16693
|
+
'POST',
|
|
16694
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
16695
|
+
{ },
|
|
16696
|
+
{ },
|
|
16697
|
+
{ },
|
|
16698
|
+
opts['body'],
|
|
16699
|
+
['PureCloud OAuth'],
|
|
16700
|
+
['application/json'],
|
|
16701
|
+
['application/json']
|
|
16702
|
+
);
|
|
16703
|
+
}
|
|
16704
|
+
|
|
16705
|
+
/**
|
|
16706
|
+
* Apply wrap-up for this conversation communication
|
|
16707
|
+
*
|
|
16708
|
+
* @param {String} conversationId conversationId
|
|
16709
|
+
* @param {String} participantId participantId
|
|
16710
|
+
* @param {String} communicationId communicationId
|
|
16711
|
+
* @param {Object} opts Optional parameters
|
|
16712
|
+
* @param {Object} opts.body Wrap-up
|
|
16713
|
+
*/
|
|
16714
|
+
postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
16715
|
+
opts = opts || {};
|
|
16716
|
+
|
|
16717
|
+
// verify the required parameter 'conversationId' is set
|
|
16718
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16719
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
16720
|
+
}
|
|
16721
|
+
// verify the required parameter 'participantId' is set
|
|
16722
|
+
if (participantId === undefined || participantId === null) {
|
|
16723
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
16724
|
+
}
|
|
16725
|
+
// verify the required parameter 'communicationId' is set
|
|
16726
|
+
if (communicationId === undefined || communicationId === null) {
|
|
16727
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
16728
|
+
}
|
|
16729
|
+
|
|
16730
|
+
return this.apiClient.callApi(
|
|
16731
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
16732
|
+
'POST',
|
|
16733
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
16734
|
+
{ },
|
|
16735
|
+
{ },
|
|
16736
|
+
{ },
|
|
16737
|
+
opts['body'],
|
|
16738
|
+
['PureCloud OAuth'],
|
|
16739
|
+
['application/json'],
|
|
16740
|
+
['application/json']
|
|
16741
|
+
);
|
|
16742
|
+
}
|
|
16743
|
+
|
|
15959
16744
|
/**
|
|
15960
16745
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
15961
16746
|
*
|
|
@@ -16502,7 +17287,7 @@ class DataExtensionsApi {
|
|
|
16502
17287
|
/**
|
|
16503
17288
|
* DataExtensions service.
|
|
16504
17289
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16505
|
-
* @version
|
|
17290
|
+
* @version 160.1.0
|
|
16506
17291
|
*/
|
|
16507
17292
|
|
|
16508
17293
|
/**
|
|
@@ -16588,7 +17373,7 @@ class DownloadsApi {
|
|
|
16588
17373
|
/**
|
|
16589
17374
|
* Downloads service.
|
|
16590
17375
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16591
|
-
* @version
|
|
17376
|
+
* @version 160.1.0
|
|
16592
17377
|
*/
|
|
16593
17378
|
|
|
16594
17379
|
/**
|
|
@@ -16640,7 +17425,7 @@ class EventsApi {
|
|
|
16640
17425
|
/**
|
|
16641
17426
|
* Events service.
|
|
16642
17427
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16643
|
-
* @version
|
|
17428
|
+
* @version 160.1.0
|
|
16644
17429
|
*/
|
|
16645
17430
|
|
|
16646
17431
|
/**
|
|
@@ -16736,7 +17521,7 @@ class ExternalContactsApi {
|
|
|
16736
17521
|
/**
|
|
16737
17522
|
* ExternalContacts service.
|
|
16738
17523
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16739
|
-
* @version
|
|
17524
|
+
* @version 160.1.0
|
|
16740
17525
|
*/
|
|
16741
17526
|
|
|
16742
17527
|
/**
|
|
@@ -18694,7 +19479,7 @@ class FaxApi {
|
|
|
18694
19479
|
/**
|
|
18695
19480
|
* Fax service.
|
|
18696
19481
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18697
|
-
* @version
|
|
19482
|
+
* @version 160.1.0
|
|
18698
19483
|
*/
|
|
18699
19484
|
|
|
18700
19485
|
/**
|
|
@@ -18865,7 +19650,7 @@ class FlowsApi {
|
|
|
18865
19650
|
/**
|
|
18866
19651
|
* Flows service.
|
|
18867
19652
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18868
|
-
* @version
|
|
19653
|
+
* @version 160.1.0
|
|
18869
19654
|
*/
|
|
18870
19655
|
|
|
18871
19656
|
/**
|
|
@@ -18936,7 +19721,7 @@ class GamificationApi {
|
|
|
18936
19721
|
/**
|
|
18937
19722
|
* Gamification service.
|
|
18938
19723
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18939
|
-
* @version
|
|
19724
|
+
* @version 160.1.0
|
|
18940
19725
|
*/
|
|
18941
19726
|
|
|
18942
19727
|
/**
|
|
@@ -20553,7 +21338,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20553
21338
|
/**
|
|
20554
21339
|
* GeneralDataProtectionRegulation service.
|
|
20555
21340
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20556
|
-
* @version
|
|
21341
|
+
* @version 160.1.0
|
|
20557
21342
|
*/
|
|
20558
21343
|
|
|
20559
21344
|
/**
|
|
@@ -20683,7 +21468,7 @@ class GeolocationApi {
|
|
|
20683
21468
|
/**
|
|
20684
21469
|
* Geolocation service.
|
|
20685
21470
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20686
|
-
* @version
|
|
21471
|
+
* @version 160.1.0
|
|
20687
21472
|
*/
|
|
20688
21473
|
|
|
20689
21474
|
/**
|
|
@@ -20814,7 +21599,7 @@ class GreetingsApi {
|
|
|
20814
21599
|
/**
|
|
20815
21600
|
* Greetings service.
|
|
20816
21601
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20817
|
-
* @version
|
|
21602
|
+
* @version 160.1.0
|
|
20818
21603
|
*/
|
|
20819
21604
|
|
|
20820
21605
|
/**
|
|
@@ -21269,7 +22054,7 @@ class GroupsApi {
|
|
|
21269
22054
|
/**
|
|
21270
22055
|
* Groups service.
|
|
21271
22056
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21272
|
-
* @version
|
|
22057
|
+
* @version 160.1.0
|
|
21273
22058
|
*/
|
|
21274
22059
|
|
|
21275
22060
|
/**
|
|
@@ -21675,7 +22460,7 @@ class IdentityProviderApi {
|
|
|
21675
22460
|
/**
|
|
21676
22461
|
* IdentityProvider service.
|
|
21677
22462
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21678
|
-
* @version
|
|
22463
|
+
* @version 160.1.0
|
|
21679
22464
|
*/
|
|
21680
22465
|
|
|
21681
22466
|
/**
|
|
@@ -22427,11 +23212,113 @@ class IdentityProviderApi {
|
|
|
22427
23212
|
|
|
22428
23213
|
}
|
|
22429
23214
|
|
|
23215
|
+
class InfrastructureAsCodeApi {
|
|
23216
|
+
/**
|
|
23217
|
+
* InfrastructureAsCode service.
|
|
23218
|
+
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
23219
|
+
* @version 160.1.0
|
|
23220
|
+
*/
|
|
23221
|
+
|
|
23222
|
+
/**
|
|
23223
|
+
* Constructs a new InfrastructureAsCodeApi.
|
|
23224
|
+
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
23225
|
+
* @class
|
|
23226
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
23227
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
23228
|
+
*/
|
|
23229
|
+
constructor(apiClient) {
|
|
23230
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
23231
|
+
}
|
|
23232
|
+
|
|
23233
|
+
|
|
23234
|
+
/**
|
|
23235
|
+
* Get job status and results
|
|
23236
|
+
* Get the execution status of a submitted job, optionally including results and error details.
|
|
23237
|
+
* @param {String} jobId Job ID
|
|
23238
|
+
* @param {Object} opts Optional parameters
|
|
23239
|
+
* @param {Boolean} opts.details Include details of execution, including job results or error information (default to false)
|
|
23240
|
+
*/
|
|
23241
|
+
getInfrastructureascodeJob(jobId, opts) {
|
|
23242
|
+
opts = opts || {};
|
|
23243
|
+
|
|
23244
|
+
// verify the required parameter 'jobId' is set
|
|
23245
|
+
if (jobId === undefined || jobId === null) {
|
|
23246
|
+
throw 'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';
|
|
23247
|
+
}
|
|
23248
|
+
|
|
23249
|
+
return this.apiClient.callApi(
|
|
23250
|
+
'/api/v2/infrastructureascode/jobs/{jobId}',
|
|
23251
|
+
'GET',
|
|
23252
|
+
{ 'jobId': jobId },
|
|
23253
|
+
{ 'details': opts['details'] },
|
|
23254
|
+
{ },
|
|
23255
|
+
{ },
|
|
23256
|
+
null,
|
|
23257
|
+
['PureCloud OAuth'],
|
|
23258
|
+
['application/json'],
|
|
23259
|
+
['application/json']
|
|
23260
|
+
);
|
|
23261
|
+
}
|
|
23262
|
+
|
|
23263
|
+
/**
|
|
23264
|
+
* Get job history
|
|
23265
|
+
* Get a history of submitted jobs, optionally including error messages.
|
|
23266
|
+
* @param {Object} opts Optional parameters
|
|
23267
|
+
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
23268
|
+
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
23269
|
+
* @param {Object} opts.sortBy Sort by (default to id)
|
|
23270
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
23271
|
+
*/
|
|
23272
|
+
getInfrastructureascodeJobs(opts) {
|
|
23273
|
+
opts = opts || {};
|
|
23274
|
+
|
|
23275
|
+
|
|
23276
|
+
return this.apiClient.callApi(
|
|
23277
|
+
'/api/v2/infrastructureascode/jobs',
|
|
23278
|
+
'GET',
|
|
23279
|
+
{ },
|
|
23280
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
23281
|
+
{ },
|
|
23282
|
+
{ },
|
|
23283
|
+
null,
|
|
23284
|
+
['PureCloud OAuth'],
|
|
23285
|
+
['application/json'],
|
|
23286
|
+
['application/json']
|
|
23287
|
+
);
|
|
23288
|
+
}
|
|
23289
|
+
|
|
23290
|
+
/**
|
|
23291
|
+
* Create a Job
|
|
23292
|
+
* Create and submit a job for remote execution or see job planning results.
|
|
23293
|
+
* @param {Object} body
|
|
23294
|
+
*/
|
|
23295
|
+
postInfrastructureascodeJobs(body) {
|
|
23296
|
+
// verify the required parameter 'body' is set
|
|
23297
|
+
if (body === undefined || body === null) {
|
|
23298
|
+
throw 'Missing the required parameter "body" when calling postInfrastructureascodeJobs';
|
|
23299
|
+
}
|
|
23300
|
+
|
|
23301
|
+
return this.apiClient.callApi(
|
|
23302
|
+
'/api/v2/infrastructureascode/jobs',
|
|
23303
|
+
'POST',
|
|
23304
|
+
{ },
|
|
23305
|
+
{ },
|
|
23306
|
+
{ },
|
|
23307
|
+
{ },
|
|
23308
|
+
body,
|
|
23309
|
+
['PureCloud OAuth'],
|
|
23310
|
+
['application/json'],
|
|
23311
|
+
['application/json']
|
|
23312
|
+
);
|
|
23313
|
+
}
|
|
23314
|
+
|
|
23315
|
+
}
|
|
23316
|
+
|
|
22430
23317
|
class IntegrationsApi {
|
|
22431
23318
|
/**
|
|
22432
23319
|
* Integrations service.
|
|
22433
23320
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22434
|
-
* @version
|
|
23321
|
+
* @version 160.1.0
|
|
22435
23322
|
*/
|
|
22436
23323
|
|
|
22437
23324
|
/**
|
|
@@ -24031,7 +24918,7 @@ class JourneyApi {
|
|
|
24031
24918
|
/**
|
|
24032
24919
|
* Journey service.
|
|
24033
24920
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
24034
|
-
* @version
|
|
24921
|
+
* @version 160.1.0
|
|
24035
24922
|
*/
|
|
24036
24923
|
|
|
24037
24924
|
/**
|
|
@@ -24911,7 +25798,7 @@ class KnowledgeApi {
|
|
|
24911
25798
|
/**
|
|
24912
25799
|
* Knowledge service.
|
|
24913
25800
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24914
|
-
* @version
|
|
25801
|
+
* @version 160.1.0
|
|
24915
25802
|
*/
|
|
24916
25803
|
|
|
24917
25804
|
/**
|
|
@@ -27343,7 +28230,7 @@ class LanguageUnderstandingApi {
|
|
|
27343
28230
|
/**
|
|
27344
28231
|
* LanguageUnderstanding service.
|
|
27345
28232
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27346
|
-
* @version
|
|
28233
|
+
* @version 160.1.0
|
|
27347
28234
|
*/
|
|
27348
28235
|
|
|
27349
28236
|
/**
|
|
@@ -28356,7 +29243,7 @@ class LanguagesApi {
|
|
|
28356
29243
|
/**
|
|
28357
29244
|
* Languages service.
|
|
28358
29245
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28359
|
-
* @version
|
|
29246
|
+
* @version 160.1.0
|
|
28360
29247
|
*/
|
|
28361
29248
|
|
|
28362
29249
|
/**
|
|
@@ -28574,7 +29461,7 @@ class LearningApi {
|
|
|
28574
29461
|
/**
|
|
28575
29462
|
* Learning service.
|
|
28576
29463
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28577
|
-
* @version
|
|
29464
|
+
* @version 160.1.0
|
|
28578
29465
|
*/
|
|
28579
29466
|
|
|
28580
29467
|
/**
|
|
@@ -28982,6 +29869,35 @@ class LearningApi {
|
|
|
28982
29869
|
);
|
|
28983
29870
|
}
|
|
28984
29871
|
|
|
29872
|
+
/**
|
|
29873
|
+
* Reschedule Learning Assignment
|
|
29874
|
+
*
|
|
29875
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
29876
|
+
* @param {Object} opts Optional parameters
|
|
29877
|
+
* @param {Object} opts.body The Learning assignment reschedule model
|
|
29878
|
+
*/
|
|
29879
|
+
patchLearningAssignmentReschedule(assignmentId, opts) {
|
|
29880
|
+
opts = opts || {};
|
|
29881
|
+
|
|
29882
|
+
// verify the required parameter 'assignmentId' is set
|
|
29883
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
29884
|
+
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
|
|
29885
|
+
}
|
|
29886
|
+
|
|
29887
|
+
return this.apiClient.callApi(
|
|
29888
|
+
'/api/v2/learning/assignments/{assignmentId}/reschedule',
|
|
29889
|
+
'PATCH',
|
|
29890
|
+
{ 'assignmentId': assignmentId },
|
|
29891
|
+
{ },
|
|
29892
|
+
{ },
|
|
29893
|
+
{ },
|
|
29894
|
+
opts['body'],
|
|
29895
|
+
['PureCloud OAuth'],
|
|
29896
|
+
['application/json'],
|
|
29897
|
+
['application/json']
|
|
29898
|
+
);
|
|
29899
|
+
}
|
|
29900
|
+
|
|
28985
29901
|
/**
|
|
28986
29902
|
* Score learning assessment for preview
|
|
28987
29903
|
*
|
|
@@ -29269,6 +30185,31 @@ class LearningApi {
|
|
|
29269
30185
|
);
|
|
29270
30186
|
}
|
|
29271
30187
|
|
|
30188
|
+
/**
|
|
30189
|
+
* Get list of possible slots where a learning activity can be scheduled.
|
|
30190
|
+
*
|
|
30191
|
+
* @param {Object} body The slot search request
|
|
30192
|
+
*/
|
|
30193
|
+
postLearningScheduleslotsQuery(body) {
|
|
30194
|
+
// verify the required parameter 'body' is set
|
|
30195
|
+
if (body === undefined || body === null) {
|
|
30196
|
+
throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
|
|
30197
|
+
}
|
|
30198
|
+
|
|
30199
|
+
return this.apiClient.callApi(
|
|
30200
|
+
'/api/v2/learning/scheduleslots/query',
|
|
30201
|
+
'POST',
|
|
30202
|
+
{ },
|
|
30203
|
+
{ },
|
|
30204
|
+
{ },
|
|
30205
|
+
{ },
|
|
30206
|
+
body,
|
|
30207
|
+
['PureCloud OAuth'],
|
|
30208
|
+
['application/json'],
|
|
30209
|
+
['application/json']
|
|
30210
|
+
);
|
|
30211
|
+
}
|
|
30212
|
+
|
|
29272
30213
|
/**
|
|
29273
30214
|
* Update a learning module
|
|
29274
30215
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
@@ -29335,7 +30276,7 @@ class LicenseApi {
|
|
|
29335
30276
|
/**
|
|
29336
30277
|
* License service.
|
|
29337
30278
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29338
|
-
* @version
|
|
30279
|
+
* @version 160.1.0
|
|
29339
30280
|
*/
|
|
29340
30281
|
|
|
29341
30282
|
/**
|
|
@@ -29573,7 +30514,7 @@ class LocationsApi {
|
|
|
29573
30514
|
/**
|
|
29574
30515
|
* Locations service.
|
|
29575
30516
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29576
|
-
* @version
|
|
30517
|
+
* @version 160.1.0
|
|
29577
30518
|
*/
|
|
29578
30519
|
|
|
29579
30520
|
/**
|
|
@@ -29809,7 +30750,7 @@ class MessagingApi {
|
|
|
29809
30750
|
/**
|
|
29810
30751
|
* Messaging service.
|
|
29811
30752
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29812
|
-
* @version
|
|
30753
|
+
* @version 160.1.0
|
|
29813
30754
|
*/
|
|
29814
30755
|
|
|
29815
30756
|
/**
|
|
@@ -29960,7 +30901,7 @@ class MobileDevicesApi {
|
|
|
29960
30901
|
/**
|
|
29961
30902
|
* MobileDevices service.
|
|
29962
30903
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29963
|
-
* @version
|
|
30904
|
+
* @version 160.1.0
|
|
29964
30905
|
*/
|
|
29965
30906
|
|
|
29966
30907
|
/**
|
|
@@ -30111,7 +31052,7 @@ class NotificationsApi {
|
|
|
30111
31052
|
/**
|
|
30112
31053
|
* Notifications service.
|
|
30113
31054
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
30114
|
-
* @version
|
|
31055
|
+
* @version 160.1.0
|
|
30115
31056
|
*/
|
|
30116
31057
|
|
|
30117
31058
|
/**
|
|
@@ -30255,8 +31196,12 @@ class NotificationsApi {
|
|
|
30255
31196
|
*
|
|
30256
31197
|
* @param {String} channelId Channel ID
|
|
30257
31198
|
* @param {Array.<Object>} body Body
|
|
31199
|
+
* @param {Object} opts Optional parameters
|
|
31200
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
30258
31201
|
*/
|
|
30259
|
-
postNotificationsChannelSubscriptions(channelId, body) {
|
|
31202
|
+
postNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
31203
|
+
opts = opts || {};
|
|
31204
|
+
|
|
30260
31205
|
// verify the required parameter 'channelId' is set
|
|
30261
31206
|
if (channelId === undefined || channelId === null) {
|
|
30262
31207
|
throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
|
|
@@ -30270,7 +31215,7 @@ class NotificationsApi {
|
|
|
30270
31215
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
30271
31216
|
'POST',
|
|
30272
31217
|
{ 'channelId': channelId },
|
|
30273
|
-
{
|
|
31218
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
30274
31219
|
{ },
|
|
30275
31220
|
{ },
|
|
30276
31221
|
body,
|
|
@@ -30305,8 +31250,12 @@ class NotificationsApi {
|
|
|
30305
31250
|
*
|
|
30306
31251
|
* @param {String} channelId Channel ID
|
|
30307
31252
|
* @param {Array.<Object>} body Body
|
|
31253
|
+
* @param {Object} opts Optional parameters
|
|
31254
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
30308
31255
|
*/
|
|
30309
|
-
putNotificationsChannelSubscriptions(channelId, body) {
|
|
31256
|
+
putNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
31257
|
+
opts = opts || {};
|
|
31258
|
+
|
|
30310
31259
|
// verify the required parameter 'channelId' is set
|
|
30311
31260
|
if (channelId === undefined || channelId === null) {
|
|
30312
31261
|
throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
|
|
@@ -30320,7 +31269,7 @@ class NotificationsApi {
|
|
|
30320
31269
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
30321
31270
|
'PUT',
|
|
30322
31271
|
{ 'channelId': channelId },
|
|
30323
|
-
{
|
|
31272
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
30324
31273
|
{ },
|
|
30325
31274
|
{ },
|
|
30326
31275
|
body,
|
|
@@ -30336,7 +31285,7 @@ class OAuthApi {
|
|
|
30336
31285
|
/**
|
|
30337
31286
|
* OAuth service.
|
|
30338
31287
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30339
|
-
* @version
|
|
31288
|
+
* @version 160.1.0
|
|
30340
31289
|
*/
|
|
30341
31290
|
|
|
30342
31291
|
/**
|
|
@@ -30702,7 +31651,7 @@ class ObjectsApi {
|
|
|
30702
31651
|
/**
|
|
30703
31652
|
* Objects service.
|
|
30704
31653
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30705
|
-
* @version
|
|
31654
|
+
* @version 160.1.0
|
|
30706
31655
|
*/
|
|
30707
31656
|
|
|
30708
31657
|
/**
|
|
@@ -30973,7 +31922,7 @@ class OrganizationApi {
|
|
|
30973
31922
|
/**
|
|
30974
31923
|
* Organization service.
|
|
30975
31924
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30976
|
-
* @version
|
|
31925
|
+
* @version 160.1.0
|
|
30977
31926
|
*/
|
|
30978
31927
|
|
|
30979
31928
|
/**
|
|
@@ -31376,7 +32325,7 @@ class OrganizationAuthorizationApi {
|
|
|
31376
32325
|
/**
|
|
31377
32326
|
* OrganizationAuthorization service.
|
|
31378
32327
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31379
|
-
* @version
|
|
32328
|
+
* @version 160.1.0
|
|
31380
32329
|
*/
|
|
31381
32330
|
|
|
31382
32331
|
/**
|
|
@@ -32671,7 +33620,7 @@ class OutboundApi {
|
|
|
32671
33620
|
/**
|
|
32672
33621
|
* Outbound service.
|
|
32673
33622
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32674
|
-
* @version
|
|
33623
|
+
* @version 160.1.0
|
|
32675
33624
|
*/
|
|
32676
33625
|
|
|
32677
33626
|
/**
|
|
@@ -33021,6 +33970,35 @@ class OutboundApi {
|
|
|
33021
33970
|
);
|
|
33022
33971
|
}
|
|
33023
33972
|
|
|
33973
|
+
/**
|
|
33974
|
+
* Deletes all or expired custom exclusion column entries from a DNC list.
|
|
33975
|
+
* This operation is only for Internal DNC lists of custom exclusion column entries
|
|
33976
|
+
* @param {String} dncListId DncList ID
|
|
33977
|
+
* @param {Object} opts Optional parameters
|
|
33978
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
33979
|
+
*/
|
|
33980
|
+
deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
|
|
33981
|
+
opts = opts || {};
|
|
33982
|
+
|
|
33983
|
+
// verify the required parameter 'dncListId' is set
|
|
33984
|
+
if (dncListId === undefined || dncListId === null) {
|
|
33985
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
|
|
33986
|
+
}
|
|
33987
|
+
|
|
33988
|
+
return this.apiClient.callApi(
|
|
33989
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
33990
|
+
'DELETE',
|
|
33991
|
+
{ 'dncListId': dncListId },
|
|
33992
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
33993
|
+
{ },
|
|
33994
|
+
{ },
|
|
33995
|
+
null,
|
|
33996
|
+
['PureCloud OAuth'],
|
|
33997
|
+
['application/json'],
|
|
33998
|
+
['application/json']
|
|
33999
|
+
);
|
|
34000
|
+
}
|
|
34001
|
+
|
|
33024
34002
|
/**
|
|
33025
34003
|
* Deletes all or expired email addresses from a DNC list.
|
|
33026
34004
|
* This operation is Only for Internal DNC lists of email addresses
|
|
@@ -34849,6 +35827,36 @@ class OutboundApi {
|
|
|
34849
35827
|
);
|
|
34850
35828
|
}
|
|
34851
35829
|
|
|
35830
|
+
/**
|
|
35831
|
+
* Add entries to or delete entries from a DNC list.
|
|
35832
|
+
* Only Internal DNC lists may be deleted from
|
|
35833
|
+
* @param {String} dncListId DncList ID
|
|
35834
|
+
* @param {Object} body DNC Custom exclusion column entries
|
|
35835
|
+
*/
|
|
35836
|
+
patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
|
|
35837
|
+
// verify the required parameter 'dncListId' is set
|
|
35838
|
+
if (dncListId === undefined || dncListId === null) {
|
|
35839
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
35840
|
+
}
|
|
35841
|
+
// verify the required parameter 'body' is set
|
|
35842
|
+
if (body === undefined || body === null) {
|
|
35843
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
35844
|
+
}
|
|
35845
|
+
|
|
35846
|
+
return this.apiClient.callApi(
|
|
35847
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
35848
|
+
'PATCH',
|
|
35849
|
+
{ 'dncListId': dncListId },
|
|
35850
|
+
{ },
|
|
35851
|
+
{ },
|
|
35852
|
+
{ },
|
|
35853
|
+
body,
|
|
35854
|
+
['PureCloud OAuth'],
|
|
35855
|
+
['application/json'],
|
|
35856
|
+
['application/json']
|
|
35857
|
+
);
|
|
35858
|
+
}
|
|
35859
|
+
|
|
34852
35860
|
/**
|
|
34853
35861
|
* Add emails to or Delete emails from a DNC list.
|
|
34854
35862
|
* Only Internal DNC lists may be added to or deleted from
|
|
@@ -36208,7 +37216,7 @@ class PresenceApi {
|
|
|
36208
37216
|
/**
|
|
36209
37217
|
* Presence service.
|
|
36210
37218
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
36211
|
-
* @version
|
|
37219
|
+
* @version 160.1.0
|
|
36212
37220
|
*/
|
|
36213
37221
|
|
|
36214
37222
|
/**
|
|
@@ -36714,7 +37722,7 @@ class ProcessAutomationApi {
|
|
|
36714
37722
|
/**
|
|
36715
37723
|
* ProcessAutomation service.
|
|
36716
37724
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36717
|
-
* @version
|
|
37725
|
+
* @version 160.1.0
|
|
36718
37726
|
*/
|
|
36719
37727
|
|
|
36720
37728
|
/**
|
|
@@ -36953,7 +37961,7 @@ class QualityApi {
|
|
|
36953
37961
|
/**
|
|
36954
37962
|
* Quality service.
|
|
36955
37963
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36956
|
-
* @version
|
|
37964
|
+
* @version 160.1.0
|
|
36957
37965
|
*/
|
|
36958
37966
|
|
|
36959
37967
|
/**
|
|
@@ -38532,7 +39540,7 @@ class RecordingApi {
|
|
|
38532
39540
|
/**
|
|
38533
39541
|
* Recording service.
|
|
38534
39542
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
38535
|
-
* @version
|
|
39543
|
+
* @version 160.1.0
|
|
38536
39544
|
*/
|
|
38537
39545
|
|
|
38538
39546
|
/**
|
|
@@ -39233,51 +40241,6 @@ class RecordingApi {
|
|
|
39233
40241
|
);
|
|
39234
40242
|
}
|
|
39235
40243
|
|
|
39236
|
-
/**
|
|
39237
|
-
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
39238
|
-
*
|
|
39239
|
-
* @param {String} settingsId Settings Id
|
|
39240
|
-
*/
|
|
39241
|
-
getRecordingLocalkeysSetting(settingsId) {
|
|
39242
|
-
// verify the required parameter 'settingsId' is set
|
|
39243
|
-
if (settingsId === undefined || settingsId === null) {
|
|
39244
|
-
throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
|
|
39245
|
-
}
|
|
39246
|
-
|
|
39247
|
-
return this.apiClient.callApi(
|
|
39248
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
39249
|
-
'GET',
|
|
39250
|
-
{ 'settingsId': settingsId },
|
|
39251
|
-
{ },
|
|
39252
|
-
{ },
|
|
39253
|
-
{ },
|
|
39254
|
-
null,
|
|
39255
|
-
['PureCloud OAuth'],
|
|
39256
|
-
['application/json'],
|
|
39257
|
-
['application/json']
|
|
39258
|
-
);
|
|
39259
|
-
}
|
|
39260
|
-
|
|
39261
|
-
/**
|
|
39262
|
-
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
39263
|
-
*
|
|
39264
|
-
*/
|
|
39265
|
-
getRecordingLocalkeysSettings() {
|
|
39266
|
-
|
|
39267
|
-
return this.apiClient.callApi(
|
|
39268
|
-
'/api/v2/recording/localkeys/settings',
|
|
39269
|
-
'GET',
|
|
39270
|
-
{ },
|
|
39271
|
-
{ },
|
|
39272
|
-
{ },
|
|
39273
|
-
{ },
|
|
39274
|
-
null,
|
|
39275
|
-
['PureCloud OAuth'],
|
|
39276
|
-
['application/json'],
|
|
39277
|
-
['application/json']
|
|
39278
|
-
);
|
|
39279
|
-
}
|
|
39280
|
-
|
|
39281
40244
|
/**
|
|
39282
40245
|
* Gets media retention policy list with query options to filter on name and enabled.
|
|
39283
40246
|
* for a less verbose response, add summary=true to this endpoint
|
|
@@ -39760,31 +40723,6 @@ class RecordingApi {
|
|
|
39760
40723
|
);
|
|
39761
40724
|
}
|
|
39762
40725
|
|
|
39763
|
-
/**
|
|
39764
|
-
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
39765
|
-
*
|
|
39766
|
-
* @param {Object} body Local Encryption Configuration
|
|
39767
|
-
*/
|
|
39768
|
-
postRecordingLocalkeysSettings(body) {
|
|
39769
|
-
// verify the required parameter 'body' is set
|
|
39770
|
-
if (body === undefined || body === null) {
|
|
39771
|
-
throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
|
|
39772
|
-
}
|
|
39773
|
-
|
|
39774
|
-
return this.apiClient.callApi(
|
|
39775
|
-
'/api/v2/recording/localkeys/settings',
|
|
39776
|
-
'POST',
|
|
39777
|
-
{ },
|
|
39778
|
-
{ },
|
|
39779
|
-
{ },
|
|
39780
|
-
{ },
|
|
39781
|
-
body,
|
|
39782
|
-
['PureCloud OAuth'],
|
|
39783
|
-
['application/json'],
|
|
39784
|
-
['application/json']
|
|
39785
|
-
);
|
|
39786
|
-
}
|
|
39787
|
-
|
|
39788
40726
|
/**
|
|
39789
40727
|
* Create media retention policy
|
|
39790
40728
|
* Policy does not work retroactively
|
|
@@ -40128,36 +41066,6 @@ class RecordingApi {
|
|
|
40128
41066
|
);
|
|
40129
41067
|
}
|
|
40130
41068
|
|
|
40131
|
-
/**
|
|
40132
|
-
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
40133
|
-
*
|
|
40134
|
-
* @param {String} settingsId Settings Id
|
|
40135
|
-
* @param {Object} body Local Encryption metadata
|
|
40136
|
-
*/
|
|
40137
|
-
putRecordingLocalkeysSetting(settingsId, body) {
|
|
40138
|
-
// verify the required parameter 'settingsId' is set
|
|
40139
|
-
if (settingsId === undefined || settingsId === null) {
|
|
40140
|
-
throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
|
|
40141
|
-
}
|
|
40142
|
-
// verify the required parameter 'body' is set
|
|
40143
|
-
if (body === undefined || body === null) {
|
|
40144
|
-
throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
|
|
40145
|
-
}
|
|
40146
|
-
|
|
40147
|
-
return this.apiClient.callApi(
|
|
40148
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
40149
|
-
'PUT',
|
|
40150
|
-
{ 'settingsId': settingsId },
|
|
40151
|
-
{ },
|
|
40152
|
-
{ },
|
|
40153
|
-
{ },
|
|
40154
|
-
body,
|
|
40155
|
-
['PureCloud OAuth'],
|
|
40156
|
-
['application/json'],
|
|
40157
|
-
['application/json']
|
|
40158
|
-
);
|
|
40159
|
-
}
|
|
40160
|
-
|
|
40161
41069
|
/**
|
|
40162
41070
|
* Update a media retention policy
|
|
40163
41071
|
* Policy does not work retroactively
|
|
@@ -40269,7 +41177,7 @@ class ResponseManagementApi {
|
|
|
40269
41177
|
/**
|
|
40270
41178
|
* ResponseManagement service.
|
|
40271
41179
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
40272
|
-
* @version
|
|
41180
|
+
* @version 160.1.0
|
|
40273
41181
|
*/
|
|
40274
41182
|
|
|
40275
41183
|
/**
|
|
@@ -40753,7 +41661,7 @@ class RoutingApi {
|
|
|
40753
41661
|
/**
|
|
40754
41662
|
* Routing service.
|
|
40755
41663
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
40756
|
-
* @version
|
|
41664
|
+
* @version 160.1.0
|
|
40757
41665
|
*/
|
|
40758
41666
|
|
|
40759
41667
|
/**
|
|
@@ -42556,8 +43464,12 @@ class RoutingApi {
|
|
|
42556
43464
|
* Get a phone number provisioned for SMS.
|
|
42557
43465
|
*
|
|
42558
43466
|
* @param {String} addressId Address ID
|
|
43467
|
+
* @param {Object} opts Optional parameters
|
|
43468
|
+
* @param {Object} opts.expand Expand response with additional information
|
|
42559
43469
|
*/
|
|
42560
|
-
getRoutingSmsPhonenumber(addressId) {
|
|
43470
|
+
getRoutingSmsPhonenumber(addressId, opts) {
|
|
43471
|
+
opts = opts || {};
|
|
43472
|
+
|
|
42561
43473
|
// verify the required parameter 'addressId' is set
|
|
42562
43474
|
if (addressId === undefined || addressId === null) {
|
|
42563
43475
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
|
|
@@ -42567,7 +43479,7 @@ class RoutingApi {
|
|
|
42567
43479
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
42568
43480
|
'GET',
|
|
42569
43481
|
{ 'addressId': addressId },
|
|
42570
|
-
{
|
|
43482
|
+
{ 'expand': opts['expand'] },
|
|
42571
43483
|
{ },
|
|
42572
43484
|
{ },
|
|
42573
43485
|
null,
|
|
@@ -42801,6 +43713,37 @@ class RoutingApi {
|
|
|
42801
43713
|
);
|
|
42802
43714
|
}
|
|
42803
43715
|
|
|
43716
|
+
/**
|
|
43717
|
+
* Get skill groups for a user
|
|
43718
|
+
*
|
|
43719
|
+
* @param {String} userId User ID
|
|
43720
|
+
* @param {Object} opts Optional parameters
|
|
43721
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
43722
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
43723
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
43724
|
+
*/
|
|
43725
|
+
getUserSkillgroups(userId, opts) {
|
|
43726
|
+
opts = opts || {};
|
|
43727
|
+
|
|
43728
|
+
// verify the required parameter 'userId' is set
|
|
43729
|
+
if (userId === undefined || userId === null) {
|
|
43730
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
43731
|
+
}
|
|
43732
|
+
|
|
43733
|
+
return this.apiClient.callApi(
|
|
43734
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
43735
|
+
'GET',
|
|
43736
|
+
{ 'userId': userId },
|
|
43737
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
43738
|
+
{ },
|
|
43739
|
+
{ },
|
|
43740
|
+
null,
|
|
43741
|
+
['PureCloud OAuth'],
|
|
43742
|
+
['application/json'],
|
|
43743
|
+
['application/json']
|
|
43744
|
+
);
|
|
43745
|
+
}
|
|
43746
|
+
|
|
42804
43747
|
/**
|
|
42805
43748
|
* Update attributes of an in-queue conversation
|
|
42806
43749
|
* Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
|
|
@@ -44218,7 +45161,7 @@ class SCIMApi {
|
|
|
44218
45161
|
/**
|
|
44219
45162
|
* SCIM service.
|
|
44220
45163
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
44221
|
-
* @version
|
|
45164
|
+
* @version 160.1.0
|
|
44222
45165
|
*/
|
|
44223
45166
|
|
|
44224
45167
|
/**
|
|
@@ -45095,7 +46038,7 @@ class ScriptsApi {
|
|
|
45095
46038
|
/**
|
|
45096
46039
|
* Scripts service.
|
|
45097
46040
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
45098
|
-
* @version
|
|
46041
|
+
* @version 160.1.0
|
|
45099
46042
|
*/
|
|
45100
46043
|
|
|
45101
46044
|
/**
|
|
@@ -45514,7 +46457,7 @@ class SearchApi {
|
|
|
45514
46457
|
/**
|
|
45515
46458
|
* Search service.
|
|
45516
46459
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
45517
|
-
* @version
|
|
46460
|
+
* @version 160.1.0
|
|
45518
46461
|
*/
|
|
45519
46462
|
|
|
45520
46463
|
/**
|
|
@@ -45781,6 +46724,31 @@ class SearchApi {
|
|
|
45781
46724
|
);
|
|
45782
46725
|
}
|
|
45783
46726
|
|
|
46727
|
+
/**
|
|
46728
|
+
* Search conversations
|
|
46729
|
+
*
|
|
46730
|
+
* @param {Object} body Search request options
|
|
46731
|
+
*/
|
|
46732
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
46733
|
+
// verify the required parameter 'body' is set
|
|
46734
|
+
if (body === undefined || body === null) {
|
|
46735
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
46736
|
+
}
|
|
46737
|
+
|
|
46738
|
+
return this.apiClient.callApi(
|
|
46739
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
46740
|
+
'POST',
|
|
46741
|
+
{ },
|
|
46742
|
+
{ },
|
|
46743
|
+
{ },
|
|
46744
|
+
{ },
|
|
46745
|
+
body,
|
|
46746
|
+
['PureCloud OAuth'],
|
|
46747
|
+
['application/json'],
|
|
46748
|
+
['application/json']
|
|
46749
|
+
);
|
|
46750
|
+
}
|
|
46751
|
+
|
|
45784
46752
|
/**
|
|
45785
46753
|
* Search gkn documentation
|
|
45786
46754
|
*
|
|
@@ -46099,7 +47067,7 @@ class SpeechTextAnalyticsApi {
|
|
|
46099
47067
|
/**
|
|
46100
47068
|
* SpeechTextAnalytics service.
|
|
46101
47069
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
46102
|
-
* @version
|
|
47070
|
+
* @version 160.1.0
|
|
46103
47071
|
*/
|
|
46104
47072
|
|
|
46105
47073
|
/**
|
|
@@ -46318,6 +47286,31 @@ class SpeechTextAnalyticsApi {
|
|
|
46318
47286
|
);
|
|
46319
47287
|
}
|
|
46320
47288
|
|
|
47289
|
+
/**
|
|
47290
|
+
* Get transcription engine settings of a program
|
|
47291
|
+
*
|
|
47292
|
+
* @param {String} programId The id of the program
|
|
47293
|
+
*/
|
|
47294
|
+
getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
|
|
47295
|
+
// verify the required parameter 'programId' is set
|
|
47296
|
+
if (programId === undefined || programId === null) {
|
|
47297
|
+
throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
|
|
47298
|
+
}
|
|
47299
|
+
|
|
47300
|
+
return this.apiClient.callApi(
|
|
47301
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
47302
|
+
'GET',
|
|
47303
|
+
{ 'programId': programId },
|
|
47304
|
+
{ },
|
|
47305
|
+
{ },
|
|
47306
|
+
{ },
|
|
47307
|
+
null,
|
|
47308
|
+
['PureCloud OAuth'],
|
|
47309
|
+
['application/json'],
|
|
47310
|
+
['application/json']
|
|
47311
|
+
);
|
|
47312
|
+
}
|
|
47313
|
+
|
|
46321
47314
|
/**
|
|
46322
47315
|
* Get the list of Speech and Text Analytics programs
|
|
46323
47316
|
*
|
|
@@ -46419,6 +47412,26 @@ class SpeechTextAnalyticsApi {
|
|
|
46419
47412
|
);
|
|
46420
47413
|
}
|
|
46421
47414
|
|
|
47415
|
+
/**
|
|
47416
|
+
* Get supported dialects for each transcription engine
|
|
47417
|
+
*
|
|
47418
|
+
*/
|
|
47419
|
+
getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
|
|
47420
|
+
|
|
47421
|
+
return this.apiClient.callApi(
|
|
47422
|
+
'/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
|
|
47423
|
+
'GET',
|
|
47424
|
+
{ },
|
|
47425
|
+
{ },
|
|
47426
|
+
{ },
|
|
47427
|
+
{ },
|
|
47428
|
+
null,
|
|
47429
|
+
['PureCloud OAuth'],
|
|
47430
|
+
['application/json'],
|
|
47431
|
+
['application/json']
|
|
47432
|
+
);
|
|
47433
|
+
}
|
|
47434
|
+
|
|
46422
47435
|
/**
|
|
46423
47436
|
* Get the list of Speech and Text Analytics unpublished programs
|
|
46424
47437
|
*
|
|
@@ -46892,6 +47905,36 @@ class SpeechTextAnalyticsApi {
|
|
|
46892
47905
|
);
|
|
46893
47906
|
}
|
|
46894
47907
|
|
|
47908
|
+
/**
|
|
47909
|
+
* Update transcription engine settings of a program
|
|
47910
|
+
*
|
|
47911
|
+
* @param {String} programId The id of the program
|
|
47912
|
+
* @param {Object} body Program transcription engine setting
|
|
47913
|
+
*/
|
|
47914
|
+
putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
|
|
47915
|
+
// verify the required parameter 'programId' is set
|
|
47916
|
+
if (programId === undefined || programId === null) {
|
|
47917
|
+
throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
47918
|
+
}
|
|
47919
|
+
// verify the required parameter 'body' is set
|
|
47920
|
+
if (body === undefined || body === null) {
|
|
47921
|
+
throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
47922
|
+
}
|
|
47923
|
+
|
|
47924
|
+
return this.apiClient.callApi(
|
|
47925
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
47926
|
+
'PUT',
|
|
47927
|
+
{ 'programId': programId },
|
|
47928
|
+
{ },
|
|
47929
|
+
{ },
|
|
47930
|
+
{ },
|
|
47931
|
+
body,
|
|
47932
|
+
['PureCloud OAuth'],
|
|
47933
|
+
['application/json'],
|
|
47934
|
+
['application/json']
|
|
47935
|
+
);
|
|
47936
|
+
}
|
|
47937
|
+
|
|
46895
47938
|
/**
|
|
46896
47939
|
* Update Speech And Text Analytics Settings
|
|
46897
47940
|
*
|
|
@@ -46953,7 +47996,7 @@ class StationsApi {
|
|
|
46953
47996
|
/**
|
|
46954
47997
|
* Stations service.
|
|
46955
47998
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46956
|
-
* @version
|
|
47999
|
+
* @version 160.1.0
|
|
46957
48000
|
*/
|
|
46958
48001
|
|
|
46959
48002
|
/**
|
|
@@ -47100,7 +48143,7 @@ class SuggestApi {
|
|
|
47100
48143
|
/**
|
|
47101
48144
|
* Suggest service.
|
|
47102
48145
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
47103
|
-
* @version
|
|
48146
|
+
* @version 160.1.0
|
|
47104
48147
|
*/
|
|
47105
48148
|
|
|
47106
48149
|
/**
|
|
@@ -47239,7 +48282,7 @@ class TeamsApi {
|
|
|
47239
48282
|
/**
|
|
47240
48283
|
* Teams service.
|
|
47241
48284
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
47242
|
-
* @version
|
|
48285
|
+
* @version 160.1.0
|
|
47243
48286
|
*/
|
|
47244
48287
|
|
|
47245
48288
|
/**
|
|
@@ -47510,7 +48553,7 @@ class TelephonyApi {
|
|
|
47510
48553
|
/**
|
|
47511
48554
|
* Telephony service.
|
|
47512
48555
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
47513
|
-
* @version
|
|
48556
|
+
* @version 160.1.0
|
|
47514
48557
|
*/
|
|
47515
48558
|
|
|
47516
48559
|
/**
|
|
@@ -47638,7 +48681,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
47638
48681
|
/**
|
|
47639
48682
|
* TelephonyProvidersEdge service.
|
|
47640
48683
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
47641
|
-
* @version
|
|
48684
|
+
* @version 160.1.0
|
|
47642
48685
|
*/
|
|
47643
48686
|
|
|
47644
48687
|
/**
|
|
@@ -51272,7 +52315,7 @@ class TextbotsApi {
|
|
|
51272
52315
|
/**
|
|
51273
52316
|
* Textbots service.
|
|
51274
52317
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
51275
|
-
* @version
|
|
52318
|
+
* @version 160.1.0
|
|
51276
52319
|
*/
|
|
51277
52320
|
|
|
51278
52321
|
/**
|
|
@@ -51400,7 +52443,7 @@ class TokensApi {
|
|
|
51400
52443
|
/**
|
|
51401
52444
|
* Tokens service.
|
|
51402
52445
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
51403
|
-
* @version
|
|
52446
|
+
* @version 160.1.0
|
|
51404
52447
|
*/
|
|
51405
52448
|
|
|
51406
52449
|
/**
|
|
@@ -51506,7 +52549,7 @@ class UploadsApi {
|
|
|
51506
52549
|
/**
|
|
51507
52550
|
* Uploads service.
|
|
51508
52551
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
51509
|
-
* @version
|
|
52552
|
+
* @version 160.1.0
|
|
51510
52553
|
*/
|
|
51511
52554
|
|
|
51512
52555
|
/**
|
|
@@ -51682,7 +52725,7 @@ class UsageApi {
|
|
|
51682
52725
|
/**
|
|
51683
52726
|
* Usage service.
|
|
51684
52727
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
51685
|
-
* @version
|
|
52728
|
+
* @version 160.1.0
|
|
51686
52729
|
*/
|
|
51687
52730
|
|
|
51688
52731
|
/**
|
|
@@ -51753,7 +52796,7 @@ class UserRecordingsApi {
|
|
|
51753
52796
|
/**
|
|
51754
52797
|
* UserRecordings service.
|
|
51755
52798
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51756
|
-
* @version
|
|
52799
|
+
* @version 160.1.0
|
|
51757
52800
|
*/
|
|
51758
52801
|
|
|
51759
52802
|
/**
|
|
@@ -51938,7 +52981,7 @@ class UsersApi {
|
|
|
51938
52981
|
/**
|
|
51939
52982
|
* Users service.
|
|
51940
52983
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51941
|
-
* @version
|
|
52984
|
+
* @version 160.1.0
|
|
51942
52985
|
*/
|
|
51943
52986
|
|
|
51944
52987
|
/**
|
|
@@ -52867,6 +53910,37 @@ class UsersApi {
|
|
|
52867
53910
|
);
|
|
52868
53911
|
}
|
|
52869
53912
|
|
|
53913
|
+
/**
|
|
53914
|
+
* Get skill groups for a user
|
|
53915
|
+
*
|
|
53916
|
+
* @param {String} userId User ID
|
|
53917
|
+
* @param {Object} opts Optional parameters
|
|
53918
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
53919
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
53920
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
53921
|
+
*/
|
|
53922
|
+
getUserSkillgroups(userId, opts) {
|
|
53923
|
+
opts = opts || {};
|
|
53924
|
+
|
|
53925
|
+
// verify the required parameter 'userId' is set
|
|
53926
|
+
if (userId === undefined || userId === null) {
|
|
53927
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
53928
|
+
}
|
|
53929
|
+
|
|
53930
|
+
return this.apiClient.callApi(
|
|
53931
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
53932
|
+
'GET',
|
|
53933
|
+
{ 'userId': userId },
|
|
53934
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
53935
|
+
{ },
|
|
53936
|
+
{ },
|
|
53937
|
+
null,
|
|
53938
|
+
['PureCloud OAuth'],
|
|
53939
|
+
['application/json'],
|
|
53940
|
+
['application/json']
|
|
53941
|
+
);
|
|
53942
|
+
}
|
|
53943
|
+
|
|
52870
53944
|
/**
|
|
52871
53945
|
* Get user state information.
|
|
52872
53946
|
*
|
|
@@ -54295,7 +55369,7 @@ class UtilitiesApi {
|
|
|
54295
55369
|
/**
|
|
54296
55370
|
* Utilities service.
|
|
54297
55371
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
54298
|
-
* @version
|
|
55372
|
+
* @version 160.1.0
|
|
54299
55373
|
*/
|
|
54300
55374
|
|
|
54301
55375
|
/**
|
|
@@ -54406,7 +55480,7 @@ class VoicemailApi {
|
|
|
54406
55480
|
/**
|
|
54407
55481
|
* Voicemail service.
|
|
54408
55482
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
54409
|
-
* @version
|
|
55483
|
+
* @version 160.1.0
|
|
54410
55484
|
*/
|
|
54411
55485
|
|
|
54412
55486
|
/**
|
|
@@ -55073,7 +56147,7 @@ class WebChatApi {
|
|
|
55073
56147
|
/**
|
|
55074
56148
|
* WebChat service.
|
|
55075
56149
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
55076
|
-
* @version
|
|
56150
|
+
* @version 160.1.0
|
|
55077
56151
|
*/
|
|
55078
56152
|
|
|
55079
56153
|
/**
|
|
@@ -55617,7 +56691,7 @@ class WebDeploymentsApi {
|
|
|
55617
56691
|
/**
|
|
55618
56692
|
* WebDeployments service.
|
|
55619
56693
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
55620
|
-
* @version
|
|
56694
|
+
* @version 160.1.0
|
|
55621
56695
|
*/
|
|
55622
56696
|
|
|
55623
56697
|
/**
|
|
@@ -56139,7 +57213,7 @@ class WebMessagingApi {
|
|
|
56139
57213
|
/**
|
|
56140
57214
|
* WebMessaging service.
|
|
56141
57215
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
56142
|
-
* @version
|
|
57216
|
+
* @version 160.1.0
|
|
56143
57217
|
*/
|
|
56144
57218
|
|
|
56145
57219
|
/**
|
|
@@ -56185,7 +57259,7 @@ class WidgetsApi {
|
|
|
56185
57259
|
/**
|
|
56186
57260
|
* Widgets service.
|
|
56187
57261
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
56188
|
-
* @version
|
|
57262
|
+
* @version 160.1.0
|
|
56189
57263
|
*/
|
|
56190
57264
|
|
|
56191
57265
|
/**
|
|
@@ -56331,7 +57405,7 @@ class WorkforceManagementApi {
|
|
|
56331
57405
|
/**
|
|
56332
57406
|
* WorkforceManagement service.
|
|
56333
57407
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
56334
|
-
* @version
|
|
57408
|
+
* @version 160.1.0
|
|
56335
57409
|
*/
|
|
56336
57410
|
|
|
56337
57411
|
/**
|
|
@@ -59366,6 +60440,31 @@ class WorkforceManagementApi {
|
|
|
59366
60440
|
);
|
|
59367
60441
|
}
|
|
59368
60442
|
|
|
60443
|
+
/**
|
|
60444
|
+
* Get agent possible work shifts for requested time frame
|
|
60445
|
+
*
|
|
60446
|
+
* @param {Object} body body
|
|
60447
|
+
*/
|
|
60448
|
+
postWorkforcemanagementAgentsMePossibleworkshifts(body) {
|
|
60449
|
+
// verify the required parameter 'body' is set
|
|
60450
|
+
if (body === undefined || body === null) {
|
|
60451
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
|
|
60452
|
+
}
|
|
60453
|
+
|
|
60454
|
+
return this.apiClient.callApi(
|
|
60455
|
+
'/api/v2/workforcemanagement/agents/me/possibleworkshifts',
|
|
60456
|
+
'POST',
|
|
60457
|
+
{ },
|
|
60458
|
+
{ },
|
|
60459
|
+
{ },
|
|
60460
|
+
{ },
|
|
60461
|
+
body,
|
|
60462
|
+
['PureCloud OAuth'],
|
|
60463
|
+
['application/json'],
|
|
60464
|
+
['application/json']
|
|
60465
|
+
);
|
|
60466
|
+
}
|
|
60467
|
+
|
|
59369
60468
|
/**
|
|
59370
60469
|
* Get published schedule for the current user
|
|
59371
60470
|
*
|
|
@@ -61050,7 +62149,7 @@ class WorkforceManagementApi {
|
|
|
61050
62149
|
* </pre>
|
|
61051
62150
|
* </p>
|
|
61052
62151
|
* @module purecloud-platform-client-v2/index
|
|
61053
|
-
* @version
|
|
62152
|
+
* @version 160.1.0
|
|
61054
62153
|
*/
|
|
61055
62154
|
class platformClient {
|
|
61056
62155
|
constructor() {
|
|
@@ -61174,6 +62273,11 @@ class platformClient {
|
|
|
61174
62273
|
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
|
|
61175
62274
|
*/
|
|
61176
62275
|
this.IdentityProviderApi = IdentityProviderApi;
|
|
62276
|
+
/**
|
|
62277
|
+
* The InfrastructureAsCodeApi service constructor.
|
|
62278
|
+
* @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
|
|
62279
|
+
*/
|
|
62280
|
+
this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
|
|
61177
62281
|
/**
|
|
61178
62282
|
* The IntegrationsApi service constructor.
|
|
61179
62283
|
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi}
|