purecloud-platform-client-v2 159.0.0 → 160.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +534 -177
- package/dist/web-amd/purecloud-platform-client-v2.js +534 -177
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +534 -177
- package/dist/web-cjs/purecloud-platform-client-v2.js +7000 -430
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +371 -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 +26 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0
|
|
11258
11271
|
*/
|
|
11259
11272
|
|
|
11260
11273
|
/**
|
|
@@ -15956,6 +15969,31 @@ class ConversationsApi {
|
|
|
15956
15969
|
);
|
|
15957
15970
|
}
|
|
15958
15971
|
|
|
15972
|
+
/**
|
|
15973
|
+
* Search conversations
|
|
15974
|
+
*
|
|
15975
|
+
* @param {Object} body Search request options
|
|
15976
|
+
*/
|
|
15977
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
15978
|
+
// verify the required parameter 'body' is set
|
|
15979
|
+
if (body === undefined || body === null) {
|
|
15980
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
15981
|
+
}
|
|
15982
|
+
|
|
15983
|
+
return this.apiClient.callApi(
|
|
15984
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
15985
|
+
'POST',
|
|
15986
|
+
{ },
|
|
15987
|
+
{ },
|
|
15988
|
+
{ },
|
|
15989
|
+
{ },
|
|
15990
|
+
body,
|
|
15991
|
+
['PureCloud OAuth'],
|
|
15992
|
+
['application/json'],
|
|
15993
|
+
['application/json']
|
|
15994
|
+
);
|
|
15995
|
+
}
|
|
15996
|
+
|
|
15959
15997
|
/**
|
|
15960
15998
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
15961
15999
|
*
|
|
@@ -16502,7 +16540,7 @@ class DataExtensionsApi {
|
|
|
16502
16540
|
/**
|
|
16503
16541
|
* DataExtensions service.
|
|
16504
16542
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16505
|
-
* @version
|
|
16543
|
+
* @version 160.0.0
|
|
16506
16544
|
*/
|
|
16507
16545
|
|
|
16508
16546
|
/**
|
|
@@ -16588,7 +16626,7 @@ class DownloadsApi {
|
|
|
16588
16626
|
/**
|
|
16589
16627
|
* Downloads service.
|
|
16590
16628
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16591
|
-
* @version
|
|
16629
|
+
* @version 160.0.0
|
|
16592
16630
|
*/
|
|
16593
16631
|
|
|
16594
16632
|
/**
|
|
@@ -16640,7 +16678,7 @@ class EventsApi {
|
|
|
16640
16678
|
/**
|
|
16641
16679
|
* Events service.
|
|
16642
16680
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16643
|
-
* @version
|
|
16681
|
+
* @version 160.0.0
|
|
16644
16682
|
*/
|
|
16645
16683
|
|
|
16646
16684
|
/**
|
|
@@ -16736,7 +16774,7 @@ class ExternalContactsApi {
|
|
|
16736
16774
|
/**
|
|
16737
16775
|
* ExternalContacts service.
|
|
16738
16776
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16739
|
-
* @version
|
|
16777
|
+
* @version 160.0.0
|
|
16740
16778
|
*/
|
|
16741
16779
|
|
|
16742
16780
|
/**
|
|
@@ -18694,7 +18732,7 @@ class FaxApi {
|
|
|
18694
18732
|
/**
|
|
18695
18733
|
* Fax service.
|
|
18696
18734
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18697
|
-
* @version
|
|
18735
|
+
* @version 160.0.0
|
|
18698
18736
|
*/
|
|
18699
18737
|
|
|
18700
18738
|
/**
|
|
@@ -18865,7 +18903,7 @@ class FlowsApi {
|
|
|
18865
18903
|
/**
|
|
18866
18904
|
* Flows service.
|
|
18867
18905
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18868
|
-
* @version
|
|
18906
|
+
* @version 160.0.0
|
|
18869
18907
|
*/
|
|
18870
18908
|
|
|
18871
18909
|
/**
|
|
@@ -18936,7 +18974,7 @@ class GamificationApi {
|
|
|
18936
18974
|
/**
|
|
18937
18975
|
* Gamification service.
|
|
18938
18976
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18939
|
-
* @version
|
|
18977
|
+
* @version 160.0.0
|
|
18940
18978
|
*/
|
|
18941
18979
|
|
|
18942
18980
|
/**
|
|
@@ -20553,7 +20591,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20553
20591
|
/**
|
|
20554
20592
|
* GeneralDataProtectionRegulation service.
|
|
20555
20593
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20556
|
-
* @version
|
|
20594
|
+
* @version 160.0.0
|
|
20557
20595
|
*/
|
|
20558
20596
|
|
|
20559
20597
|
/**
|
|
@@ -20683,7 +20721,7 @@ class GeolocationApi {
|
|
|
20683
20721
|
/**
|
|
20684
20722
|
* Geolocation service.
|
|
20685
20723
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20686
|
-
* @version
|
|
20724
|
+
* @version 160.0.0
|
|
20687
20725
|
*/
|
|
20688
20726
|
|
|
20689
20727
|
/**
|
|
@@ -20814,7 +20852,7 @@ class GreetingsApi {
|
|
|
20814
20852
|
/**
|
|
20815
20853
|
* Greetings service.
|
|
20816
20854
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20817
|
-
* @version
|
|
20855
|
+
* @version 160.0.0
|
|
20818
20856
|
*/
|
|
20819
20857
|
|
|
20820
20858
|
/**
|
|
@@ -21269,7 +21307,7 @@ class GroupsApi {
|
|
|
21269
21307
|
/**
|
|
21270
21308
|
* Groups service.
|
|
21271
21309
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21272
|
-
* @version
|
|
21310
|
+
* @version 160.0.0
|
|
21273
21311
|
*/
|
|
21274
21312
|
|
|
21275
21313
|
/**
|
|
@@ -21675,7 +21713,7 @@ class IdentityProviderApi {
|
|
|
21675
21713
|
/**
|
|
21676
21714
|
* IdentityProvider service.
|
|
21677
21715
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21678
|
-
* @version
|
|
21716
|
+
* @version 160.0.0
|
|
21679
21717
|
*/
|
|
21680
21718
|
|
|
21681
21719
|
/**
|
|
@@ -22427,11 +22465,113 @@ class IdentityProviderApi {
|
|
|
22427
22465
|
|
|
22428
22466
|
}
|
|
22429
22467
|
|
|
22468
|
+
class InfrastructureAsCodeApi {
|
|
22469
|
+
/**
|
|
22470
|
+
* InfrastructureAsCode service.
|
|
22471
|
+
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
22472
|
+
* @version 160.0.0
|
|
22473
|
+
*/
|
|
22474
|
+
|
|
22475
|
+
/**
|
|
22476
|
+
* Constructs a new InfrastructureAsCodeApi.
|
|
22477
|
+
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
22478
|
+
* @class
|
|
22479
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
22480
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
22481
|
+
*/
|
|
22482
|
+
constructor(apiClient) {
|
|
22483
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
22484
|
+
}
|
|
22485
|
+
|
|
22486
|
+
|
|
22487
|
+
/**
|
|
22488
|
+
* Get job status and results
|
|
22489
|
+
* Get the execution status of a submitted job, optionally including results and error details.
|
|
22490
|
+
* @param {String} jobId Job ID
|
|
22491
|
+
* @param {Object} opts Optional parameters
|
|
22492
|
+
* @param {Boolean} opts.details Include details of execution, including job results or error information (default to false)
|
|
22493
|
+
*/
|
|
22494
|
+
getInfrastructureascodeJob(jobId, opts) {
|
|
22495
|
+
opts = opts || {};
|
|
22496
|
+
|
|
22497
|
+
// verify the required parameter 'jobId' is set
|
|
22498
|
+
if (jobId === undefined || jobId === null) {
|
|
22499
|
+
throw 'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';
|
|
22500
|
+
}
|
|
22501
|
+
|
|
22502
|
+
return this.apiClient.callApi(
|
|
22503
|
+
'/api/v2/infrastructureascode/jobs/{jobId}',
|
|
22504
|
+
'GET',
|
|
22505
|
+
{ 'jobId': jobId },
|
|
22506
|
+
{ 'details': opts['details'] },
|
|
22507
|
+
{ },
|
|
22508
|
+
{ },
|
|
22509
|
+
null,
|
|
22510
|
+
['PureCloud OAuth'],
|
|
22511
|
+
['application/json'],
|
|
22512
|
+
['application/json']
|
|
22513
|
+
);
|
|
22514
|
+
}
|
|
22515
|
+
|
|
22516
|
+
/**
|
|
22517
|
+
* Get job history
|
|
22518
|
+
* Get a history of submitted jobs, optionally including error messages.
|
|
22519
|
+
* @param {Object} opts Optional parameters
|
|
22520
|
+
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
22521
|
+
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
22522
|
+
* @param {Object} opts.sortBy Sort by (default to id)
|
|
22523
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
22524
|
+
*/
|
|
22525
|
+
getInfrastructureascodeJobs(opts) {
|
|
22526
|
+
opts = opts || {};
|
|
22527
|
+
|
|
22528
|
+
|
|
22529
|
+
return this.apiClient.callApi(
|
|
22530
|
+
'/api/v2/infrastructureascode/jobs',
|
|
22531
|
+
'GET',
|
|
22532
|
+
{ },
|
|
22533
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
22534
|
+
{ },
|
|
22535
|
+
{ },
|
|
22536
|
+
null,
|
|
22537
|
+
['PureCloud OAuth'],
|
|
22538
|
+
['application/json'],
|
|
22539
|
+
['application/json']
|
|
22540
|
+
);
|
|
22541
|
+
}
|
|
22542
|
+
|
|
22543
|
+
/**
|
|
22544
|
+
* Create a Job
|
|
22545
|
+
* Create and submit a job for remote execution or see job planning results.
|
|
22546
|
+
* @param {Object} body
|
|
22547
|
+
*/
|
|
22548
|
+
postInfrastructureascodeJobs(body) {
|
|
22549
|
+
// verify the required parameter 'body' is set
|
|
22550
|
+
if (body === undefined || body === null) {
|
|
22551
|
+
throw 'Missing the required parameter "body" when calling postInfrastructureascodeJobs';
|
|
22552
|
+
}
|
|
22553
|
+
|
|
22554
|
+
return this.apiClient.callApi(
|
|
22555
|
+
'/api/v2/infrastructureascode/jobs',
|
|
22556
|
+
'POST',
|
|
22557
|
+
{ },
|
|
22558
|
+
{ },
|
|
22559
|
+
{ },
|
|
22560
|
+
{ },
|
|
22561
|
+
body,
|
|
22562
|
+
['PureCloud OAuth'],
|
|
22563
|
+
['application/json'],
|
|
22564
|
+
['application/json']
|
|
22565
|
+
);
|
|
22566
|
+
}
|
|
22567
|
+
|
|
22568
|
+
}
|
|
22569
|
+
|
|
22430
22570
|
class IntegrationsApi {
|
|
22431
22571
|
/**
|
|
22432
22572
|
* Integrations service.
|
|
22433
22573
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22434
|
-
* @version
|
|
22574
|
+
* @version 160.0.0
|
|
22435
22575
|
*/
|
|
22436
22576
|
|
|
22437
22577
|
/**
|
|
@@ -24031,7 +24171,7 @@ class JourneyApi {
|
|
|
24031
24171
|
/**
|
|
24032
24172
|
* Journey service.
|
|
24033
24173
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
24034
|
-
* @version
|
|
24174
|
+
* @version 160.0.0
|
|
24035
24175
|
*/
|
|
24036
24176
|
|
|
24037
24177
|
/**
|
|
@@ -24911,7 +25051,7 @@ class KnowledgeApi {
|
|
|
24911
25051
|
/**
|
|
24912
25052
|
* Knowledge service.
|
|
24913
25053
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24914
|
-
* @version
|
|
25054
|
+
* @version 160.0.0
|
|
24915
25055
|
*/
|
|
24916
25056
|
|
|
24917
25057
|
/**
|
|
@@ -27343,7 +27483,7 @@ class LanguageUnderstandingApi {
|
|
|
27343
27483
|
/**
|
|
27344
27484
|
* LanguageUnderstanding service.
|
|
27345
27485
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27346
|
-
* @version
|
|
27486
|
+
* @version 160.0.0
|
|
27347
27487
|
*/
|
|
27348
27488
|
|
|
27349
27489
|
/**
|
|
@@ -28356,7 +28496,7 @@ class LanguagesApi {
|
|
|
28356
28496
|
/**
|
|
28357
28497
|
* Languages service.
|
|
28358
28498
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28359
|
-
* @version
|
|
28499
|
+
* @version 160.0.0
|
|
28360
28500
|
*/
|
|
28361
28501
|
|
|
28362
28502
|
/**
|
|
@@ -28574,7 +28714,7 @@ class LearningApi {
|
|
|
28574
28714
|
/**
|
|
28575
28715
|
* Learning service.
|
|
28576
28716
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28577
|
-
* @version
|
|
28717
|
+
* @version 160.0.0
|
|
28578
28718
|
*/
|
|
28579
28719
|
|
|
28580
28720
|
/**
|
|
@@ -28982,6 +29122,35 @@ class LearningApi {
|
|
|
28982
29122
|
);
|
|
28983
29123
|
}
|
|
28984
29124
|
|
|
29125
|
+
/**
|
|
29126
|
+
* Reschedule Learning Assignment
|
|
29127
|
+
*
|
|
29128
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
29129
|
+
* @param {Object} opts Optional parameters
|
|
29130
|
+
* @param {Object} opts.body The Learning assignment reschedule model
|
|
29131
|
+
*/
|
|
29132
|
+
patchLearningAssignmentReschedule(assignmentId, opts) {
|
|
29133
|
+
opts = opts || {};
|
|
29134
|
+
|
|
29135
|
+
// verify the required parameter 'assignmentId' is set
|
|
29136
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
29137
|
+
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
|
|
29138
|
+
}
|
|
29139
|
+
|
|
29140
|
+
return this.apiClient.callApi(
|
|
29141
|
+
'/api/v2/learning/assignments/{assignmentId}/reschedule',
|
|
29142
|
+
'PATCH',
|
|
29143
|
+
{ 'assignmentId': assignmentId },
|
|
29144
|
+
{ },
|
|
29145
|
+
{ },
|
|
29146
|
+
{ },
|
|
29147
|
+
opts['body'],
|
|
29148
|
+
['PureCloud OAuth'],
|
|
29149
|
+
['application/json'],
|
|
29150
|
+
['application/json']
|
|
29151
|
+
);
|
|
29152
|
+
}
|
|
29153
|
+
|
|
28985
29154
|
/**
|
|
28986
29155
|
* Score learning assessment for preview
|
|
28987
29156
|
*
|
|
@@ -29269,6 +29438,31 @@ class LearningApi {
|
|
|
29269
29438
|
);
|
|
29270
29439
|
}
|
|
29271
29440
|
|
|
29441
|
+
/**
|
|
29442
|
+
* Get list of possible slots where a learning activity can be scheduled.
|
|
29443
|
+
*
|
|
29444
|
+
* @param {Object} body The slot search request
|
|
29445
|
+
*/
|
|
29446
|
+
postLearningScheduleslotsQuery(body) {
|
|
29447
|
+
// verify the required parameter 'body' is set
|
|
29448
|
+
if (body === undefined || body === null) {
|
|
29449
|
+
throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
|
|
29450
|
+
}
|
|
29451
|
+
|
|
29452
|
+
return this.apiClient.callApi(
|
|
29453
|
+
'/api/v2/learning/scheduleslots/query',
|
|
29454
|
+
'POST',
|
|
29455
|
+
{ },
|
|
29456
|
+
{ },
|
|
29457
|
+
{ },
|
|
29458
|
+
{ },
|
|
29459
|
+
body,
|
|
29460
|
+
['PureCloud OAuth'],
|
|
29461
|
+
['application/json'],
|
|
29462
|
+
['application/json']
|
|
29463
|
+
);
|
|
29464
|
+
}
|
|
29465
|
+
|
|
29272
29466
|
/**
|
|
29273
29467
|
* Update a learning module
|
|
29274
29468
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
@@ -29335,7 +29529,7 @@ class LicenseApi {
|
|
|
29335
29529
|
/**
|
|
29336
29530
|
* License service.
|
|
29337
29531
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29338
|
-
* @version
|
|
29532
|
+
* @version 160.0.0
|
|
29339
29533
|
*/
|
|
29340
29534
|
|
|
29341
29535
|
/**
|
|
@@ -29573,7 +29767,7 @@ class LocationsApi {
|
|
|
29573
29767
|
/**
|
|
29574
29768
|
* Locations service.
|
|
29575
29769
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29576
|
-
* @version
|
|
29770
|
+
* @version 160.0.0
|
|
29577
29771
|
*/
|
|
29578
29772
|
|
|
29579
29773
|
/**
|
|
@@ -29809,7 +30003,7 @@ class MessagingApi {
|
|
|
29809
30003
|
/**
|
|
29810
30004
|
* Messaging service.
|
|
29811
30005
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29812
|
-
* @version
|
|
30006
|
+
* @version 160.0.0
|
|
29813
30007
|
*/
|
|
29814
30008
|
|
|
29815
30009
|
/**
|
|
@@ -29960,7 +30154,7 @@ class MobileDevicesApi {
|
|
|
29960
30154
|
/**
|
|
29961
30155
|
* MobileDevices service.
|
|
29962
30156
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29963
|
-
* @version
|
|
30157
|
+
* @version 160.0.0
|
|
29964
30158
|
*/
|
|
29965
30159
|
|
|
29966
30160
|
/**
|
|
@@ -30111,7 +30305,7 @@ class NotificationsApi {
|
|
|
30111
30305
|
/**
|
|
30112
30306
|
* Notifications service.
|
|
30113
30307
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
30114
|
-
* @version
|
|
30308
|
+
* @version 160.0.0
|
|
30115
30309
|
*/
|
|
30116
30310
|
|
|
30117
30311
|
/**
|
|
@@ -30255,8 +30449,12 @@ class NotificationsApi {
|
|
|
30255
30449
|
*
|
|
30256
30450
|
* @param {String} channelId Channel ID
|
|
30257
30451
|
* @param {Array.<Object>} body Body
|
|
30452
|
+
* @param {Object} opts Optional parameters
|
|
30453
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
30258
30454
|
*/
|
|
30259
|
-
postNotificationsChannelSubscriptions(channelId, body) {
|
|
30455
|
+
postNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
30456
|
+
opts = opts || {};
|
|
30457
|
+
|
|
30260
30458
|
// verify the required parameter 'channelId' is set
|
|
30261
30459
|
if (channelId === undefined || channelId === null) {
|
|
30262
30460
|
throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
|
|
@@ -30270,7 +30468,7 @@ class NotificationsApi {
|
|
|
30270
30468
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
30271
30469
|
'POST',
|
|
30272
30470
|
{ 'channelId': channelId },
|
|
30273
|
-
{
|
|
30471
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
30274
30472
|
{ },
|
|
30275
30473
|
{ },
|
|
30276
30474
|
body,
|
|
@@ -30305,8 +30503,12 @@ class NotificationsApi {
|
|
|
30305
30503
|
*
|
|
30306
30504
|
* @param {String} channelId Channel ID
|
|
30307
30505
|
* @param {Array.<Object>} body Body
|
|
30506
|
+
* @param {Object} opts Optional parameters
|
|
30507
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
30308
30508
|
*/
|
|
30309
|
-
putNotificationsChannelSubscriptions(channelId, body) {
|
|
30509
|
+
putNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
30510
|
+
opts = opts || {};
|
|
30511
|
+
|
|
30310
30512
|
// verify the required parameter 'channelId' is set
|
|
30311
30513
|
if (channelId === undefined || channelId === null) {
|
|
30312
30514
|
throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
|
|
@@ -30320,7 +30522,7 @@ class NotificationsApi {
|
|
|
30320
30522
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
30321
30523
|
'PUT',
|
|
30322
30524
|
{ 'channelId': channelId },
|
|
30323
|
-
{
|
|
30525
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
30324
30526
|
{ },
|
|
30325
30527
|
{ },
|
|
30326
30528
|
body,
|
|
@@ -30336,7 +30538,7 @@ class OAuthApi {
|
|
|
30336
30538
|
/**
|
|
30337
30539
|
* OAuth service.
|
|
30338
30540
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30339
|
-
* @version
|
|
30541
|
+
* @version 160.0.0
|
|
30340
30542
|
*/
|
|
30341
30543
|
|
|
30342
30544
|
/**
|
|
@@ -30702,7 +30904,7 @@ class ObjectsApi {
|
|
|
30702
30904
|
/**
|
|
30703
30905
|
* Objects service.
|
|
30704
30906
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30705
|
-
* @version
|
|
30907
|
+
* @version 160.0.0
|
|
30706
30908
|
*/
|
|
30707
30909
|
|
|
30708
30910
|
/**
|
|
@@ -30973,7 +31175,7 @@ class OrganizationApi {
|
|
|
30973
31175
|
/**
|
|
30974
31176
|
* Organization service.
|
|
30975
31177
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30976
|
-
* @version
|
|
31178
|
+
* @version 160.0.0
|
|
30977
31179
|
*/
|
|
30978
31180
|
|
|
30979
31181
|
/**
|
|
@@ -31376,7 +31578,7 @@ class OrganizationAuthorizationApi {
|
|
|
31376
31578
|
/**
|
|
31377
31579
|
* OrganizationAuthorization service.
|
|
31378
31580
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31379
|
-
* @version
|
|
31581
|
+
* @version 160.0.0
|
|
31380
31582
|
*/
|
|
31381
31583
|
|
|
31382
31584
|
/**
|
|
@@ -32671,7 +32873,7 @@ class OutboundApi {
|
|
|
32671
32873
|
/**
|
|
32672
32874
|
* Outbound service.
|
|
32673
32875
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32674
|
-
* @version
|
|
32876
|
+
* @version 160.0.0
|
|
32675
32877
|
*/
|
|
32676
32878
|
|
|
32677
32879
|
/**
|
|
@@ -33021,6 +33223,35 @@ class OutboundApi {
|
|
|
33021
33223
|
);
|
|
33022
33224
|
}
|
|
33023
33225
|
|
|
33226
|
+
/**
|
|
33227
|
+
* Deletes all or expired custom exclusion column entries from a DNC list.
|
|
33228
|
+
* This operation is only for Internal DNC lists of custom exclusion column entries
|
|
33229
|
+
* @param {String} dncListId DncList ID
|
|
33230
|
+
* @param {Object} opts Optional parameters
|
|
33231
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
33232
|
+
*/
|
|
33233
|
+
deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
|
|
33234
|
+
opts = opts || {};
|
|
33235
|
+
|
|
33236
|
+
// verify the required parameter 'dncListId' is set
|
|
33237
|
+
if (dncListId === undefined || dncListId === null) {
|
|
33238
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
|
|
33239
|
+
}
|
|
33240
|
+
|
|
33241
|
+
return this.apiClient.callApi(
|
|
33242
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
33243
|
+
'DELETE',
|
|
33244
|
+
{ 'dncListId': dncListId },
|
|
33245
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
33246
|
+
{ },
|
|
33247
|
+
{ },
|
|
33248
|
+
null,
|
|
33249
|
+
['PureCloud OAuth'],
|
|
33250
|
+
['application/json'],
|
|
33251
|
+
['application/json']
|
|
33252
|
+
);
|
|
33253
|
+
}
|
|
33254
|
+
|
|
33024
33255
|
/**
|
|
33025
33256
|
* Deletes all or expired email addresses from a DNC list.
|
|
33026
33257
|
* This operation is Only for Internal DNC lists of email addresses
|
|
@@ -34849,6 +35080,36 @@ class OutboundApi {
|
|
|
34849
35080
|
);
|
|
34850
35081
|
}
|
|
34851
35082
|
|
|
35083
|
+
/**
|
|
35084
|
+
* Add entries to or delete entries from a DNC list.
|
|
35085
|
+
* Only Internal DNC lists may be deleted from
|
|
35086
|
+
* @param {String} dncListId DncList ID
|
|
35087
|
+
* @param {Object} body DNC Custom exclusion column entries
|
|
35088
|
+
*/
|
|
35089
|
+
patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
|
|
35090
|
+
// verify the required parameter 'dncListId' is set
|
|
35091
|
+
if (dncListId === undefined || dncListId === null) {
|
|
35092
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
35093
|
+
}
|
|
35094
|
+
// verify the required parameter 'body' is set
|
|
35095
|
+
if (body === undefined || body === null) {
|
|
35096
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
35097
|
+
}
|
|
35098
|
+
|
|
35099
|
+
return this.apiClient.callApi(
|
|
35100
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
35101
|
+
'PATCH',
|
|
35102
|
+
{ 'dncListId': dncListId },
|
|
35103
|
+
{ },
|
|
35104
|
+
{ },
|
|
35105
|
+
{ },
|
|
35106
|
+
body,
|
|
35107
|
+
['PureCloud OAuth'],
|
|
35108
|
+
['application/json'],
|
|
35109
|
+
['application/json']
|
|
35110
|
+
);
|
|
35111
|
+
}
|
|
35112
|
+
|
|
34852
35113
|
/**
|
|
34853
35114
|
* Add emails to or Delete emails from a DNC list.
|
|
34854
35115
|
* Only Internal DNC lists may be added to or deleted from
|
|
@@ -36208,7 +36469,7 @@ class PresenceApi {
|
|
|
36208
36469
|
/**
|
|
36209
36470
|
* Presence service.
|
|
36210
36471
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
36211
|
-
* @version
|
|
36472
|
+
* @version 160.0.0
|
|
36212
36473
|
*/
|
|
36213
36474
|
|
|
36214
36475
|
/**
|
|
@@ -36714,7 +36975,7 @@ class ProcessAutomationApi {
|
|
|
36714
36975
|
/**
|
|
36715
36976
|
* ProcessAutomation service.
|
|
36716
36977
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36717
|
-
* @version
|
|
36978
|
+
* @version 160.0.0
|
|
36718
36979
|
*/
|
|
36719
36980
|
|
|
36720
36981
|
/**
|
|
@@ -36953,7 +37214,7 @@ class QualityApi {
|
|
|
36953
37214
|
/**
|
|
36954
37215
|
* Quality service.
|
|
36955
37216
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36956
|
-
* @version
|
|
37217
|
+
* @version 160.0.0
|
|
36957
37218
|
*/
|
|
36958
37219
|
|
|
36959
37220
|
/**
|
|
@@ -38532,7 +38793,7 @@ class RecordingApi {
|
|
|
38532
38793
|
/**
|
|
38533
38794
|
* Recording service.
|
|
38534
38795
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
38535
|
-
* @version
|
|
38796
|
+
* @version 160.0.0
|
|
38536
38797
|
*/
|
|
38537
38798
|
|
|
38538
38799
|
/**
|
|
@@ -39233,51 +39494,6 @@ class RecordingApi {
|
|
|
39233
39494
|
);
|
|
39234
39495
|
}
|
|
39235
39496
|
|
|
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
39497
|
/**
|
|
39282
39498
|
* Gets media retention policy list with query options to filter on name and enabled.
|
|
39283
39499
|
* for a less verbose response, add summary=true to this endpoint
|
|
@@ -39760,31 +39976,6 @@ class RecordingApi {
|
|
|
39760
39976
|
);
|
|
39761
39977
|
}
|
|
39762
39978
|
|
|
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
39979
|
/**
|
|
39789
39980
|
* Create media retention policy
|
|
39790
39981
|
* Policy does not work retroactively
|
|
@@ -40128,36 +40319,6 @@ class RecordingApi {
|
|
|
40128
40319
|
);
|
|
40129
40320
|
}
|
|
40130
40321
|
|
|
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
40322
|
/**
|
|
40162
40323
|
* Update a media retention policy
|
|
40163
40324
|
* Policy does not work retroactively
|
|
@@ -40269,7 +40430,7 @@ class ResponseManagementApi {
|
|
|
40269
40430
|
/**
|
|
40270
40431
|
* ResponseManagement service.
|
|
40271
40432
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
40272
|
-
* @version
|
|
40433
|
+
* @version 160.0.0
|
|
40273
40434
|
*/
|
|
40274
40435
|
|
|
40275
40436
|
/**
|
|
@@ -40753,7 +40914,7 @@ class RoutingApi {
|
|
|
40753
40914
|
/**
|
|
40754
40915
|
* Routing service.
|
|
40755
40916
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
40756
|
-
* @version
|
|
40917
|
+
* @version 160.0.0
|
|
40757
40918
|
*/
|
|
40758
40919
|
|
|
40759
40920
|
/**
|
|
@@ -42556,8 +42717,12 @@ class RoutingApi {
|
|
|
42556
42717
|
* Get a phone number provisioned for SMS.
|
|
42557
42718
|
*
|
|
42558
42719
|
* @param {String} addressId Address ID
|
|
42720
|
+
* @param {Object} opts Optional parameters
|
|
42721
|
+
* @param {Object} opts.expand Expand response with additional information
|
|
42559
42722
|
*/
|
|
42560
|
-
getRoutingSmsPhonenumber(addressId) {
|
|
42723
|
+
getRoutingSmsPhonenumber(addressId, opts) {
|
|
42724
|
+
opts = opts || {};
|
|
42725
|
+
|
|
42561
42726
|
// verify the required parameter 'addressId' is set
|
|
42562
42727
|
if (addressId === undefined || addressId === null) {
|
|
42563
42728
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
|
|
@@ -42567,7 +42732,7 @@ class RoutingApi {
|
|
|
42567
42732
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
42568
42733
|
'GET',
|
|
42569
42734
|
{ 'addressId': addressId },
|
|
42570
|
-
{
|
|
42735
|
+
{ 'expand': opts['expand'] },
|
|
42571
42736
|
{ },
|
|
42572
42737
|
{ },
|
|
42573
42738
|
null,
|
|
@@ -42801,6 +42966,37 @@ class RoutingApi {
|
|
|
42801
42966
|
);
|
|
42802
42967
|
}
|
|
42803
42968
|
|
|
42969
|
+
/**
|
|
42970
|
+
* Get skill groups for a user
|
|
42971
|
+
*
|
|
42972
|
+
* @param {String} userId User ID
|
|
42973
|
+
* @param {Object} opts Optional parameters
|
|
42974
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
42975
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
42976
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
42977
|
+
*/
|
|
42978
|
+
getUserSkillgroups(userId, opts) {
|
|
42979
|
+
opts = opts || {};
|
|
42980
|
+
|
|
42981
|
+
// verify the required parameter 'userId' is set
|
|
42982
|
+
if (userId === undefined || userId === null) {
|
|
42983
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
42984
|
+
}
|
|
42985
|
+
|
|
42986
|
+
return this.apiClient.callApi(
|
|
42987
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
42988
|
+
'GET',
|
|
42989
|
+
{ 'userId': userId },
|
|
42990
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
42991
|
+
{ },
|
|
42992
|
+
{ },
|
|
42993
|
+
null,
|
|
42994
|
+
['PureCloud OAuth'],
|
|
42995
|
+
['application/json'],
|
|
42996
|
+
['application/json']
|
|
42997
|
+
);
|
|
42998
|
+
}
|
|
42999
|
+
|
|
42804
43000
|
/**
|
|
42805
43001
|
* Update attributes of an in-queue conversation
|
|
42806
43002
|
* Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
|
|
@@ -44218,7 +44414,7 @@ class SCIMApi {
|
|
|
44218
44414
|
/**
|
|
44219
44415
|
* SCIM service.
|
|
44220
44416
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
44221
|
-
* @version
|
|
44417
|
+
* @version 160.0.0
|
|
44222
44418
|
*/
|
|
44223
44419
|
|
|
44224
44420
|
/**
|
|
@@ -45095,7 +45291,7 @@ class ScriptsApi {
|
|
|
45095
45291
|
/**
|
|
45096
45292
|
* Scripts service.
|
|
45097
45293
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
45098
|
-
* @version
|
|
45294
|
+
* @version 160.0.0
|
|
45099
45295
|
*/
|
|
45100
45296
|
|
|
45101
45297
|
/**
|
|
@@ -45514,7 +45710,7 @@ class SearchApi {
|
|
|
45514
45710
|
/**
|
|
45515
45711
|
* Search service.
|
|
45516
45712
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
45517
|
-
* @version
|
|
45713
|
+
* @version 160.0.0
|
|
45518
45714
|
*/
|
|
45519
45715
|
|
|
45520
45716
|
/**
|
|
@@ -45781,6 +45977,31 @@ class SearchApi {
|
|
|
45781
45977
|
);
|
|
45782
45978
|
}
|
|
45783
45979
|
|
|
45980
|
+
/**
|
|
45981
|
+
* Search conversations
|
|
45982
|
+
*
|
|
45983
|
+
* @param {Object} body Search request options
|
|
45984
|
+
*/
|
|
45985
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
45986
|
+
// verify the required parameter 'body' is set
|
|
45987
|
+
if (body === undefined || body === null) {
|
|
45988
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
45989
|
+
}
|
|
45990
|
+
|
|
45991
|
+
return this.apiClient.callApi(
|
|
45992
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
45993
|
+
'POST',
|
|
45994
|
+
{ },
|
|
45995
|
+
{ },
|
|
45996
|
+
{ },
|
|
45997
|
+
{ },
|
|
45998
|
+
body,
|
|
45999
|
+
['PureCloud OAuth'],
|
|
46000
|
+
['application/json'],
|
|
46001
|
+
['application/json']
|
|
46002
|
+
);
|
|
46003
|
+
}
|
|
46004
|
+
|
|
45784
46005
|
/**
|
|
45785
46006
|
* Search gkn documentation
|
|
45786
46007
|
*
|
|
@@ -46099,7 +46320,7 @@ class SpeechTextAnalyticsApi {
|
|
|
46099
46320
|
/**
|
|
46100
46321
|
* SpeechTextAnalytics service.
|
|
46101
46322
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
46102
|
-
* @version
|
|
46323
|
+
* @version 160.0.0
|
|
46103
46324
|
*/
|
|
46104
46325
|
|
|
46105
46326
|
/**
|
|
@@ -46318,6 +46539,31 @@ class SpeechTextAnalyticsApi {
|
|
|
46318
46539
|
);
|
|
46319
46540
|
}
|
|
46320
46541
|
|
|
46542
|
+
/**
|
|
46543
|
+
* Get transcription engine settings of a program
|
|
46544
|
+
*
|
|
46545
|
+
* @param {String} programId The id of the program
|
|
46546
|
+
*/
|
|
46547
|
+
getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
|
|
46548
|
+
// verify the required parameter 'programId' is set
|
|
46549
|
+
if (programId === undefined || programId === null) {
|
|
46550
|
+
throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
|
|
46551
|
+
}
|
|
46552
|
+
|
|
46553
|
+
return this.apiClient.callApi(
|
|
46554
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
46555
|
+
'GET',
|
|
46556
|
+
{ 'programId': programId },
|
|
46557
|
+
{ },
|
|
46558
|
+
{ },
|
|
46559
|
+
{ },
|
|
46560
|
+
null,
|
|
46561
|
+
['PureCloud OAuth'],
|
|
46562
|
+
['application/json'],
|
|
46563
|
+
['application/json']
|
|
46564
|
+
);
|
|
46565
|
+
}
|
|
46566
|
+
|
|
46321
46567
|
/**
|
|
46322
46568
|
* Get the list of Speech and Text Analytics programs
|
|
46323
46569
|
*
|
|
@@ -46419,6 +46665,26 @@ class SpeechTextAnalyticsApi {
|
|
|
46419
46665
|
);
|
|
46420
46666
|
}
|
|
46421
46667
|
|
|
46668
|
+
/**
|
|
46669
|
+
* Get supported dialects for each transcription engine
|
|
46670
|
+
*
|
|
46671
|
+
*/
|
|
46672
|
+
getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
|
|
46673
|
+
|
|
46674
|
+
return this.apiClient.callApi(
|
|
46675
|
+
'/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
|
|
46676
|
+
'GET',
|
|
46677
|
+
{ },
|
|
46678
|
+
{ },
|
|
46679
|
+
{ },
|
|
46680
|
+
{ },
|
|
46681
|
+
null,
|
|
46682
|
+
['PureCloud OAuth'],
|
|
46683
|
+
['application/json'],
|
|
46684
|
+
['application/json']
|
|
46685
|
+
);
|
|
46686
|
+
}
|
|
46687
|
+
|
|
46422
46688
|
/**
|
|
46423
46689
|
* Get the list of Speech and Text Analytics unpublished programs
|
|
46424
46690
|
*
|
|
@@ -46892,6 +47158,36 @@ class SpeechTextAnalyticsApi {
|
|
|
46892
47158
|
);
|
|
46893
47159
|
}
|
|
46894
47160
|
|
|
47161
|
+
/**
|
|
47162
|
+
* Update transcription engine settings of a program
|
|
47163
|
+
*
|
|
47164
|
+
* @param {String} programId The id of the program
|
|
47165
|
+
* @param {Object} body Program transcription engine setting
|
|
47166
|
+
*/
|
|
47167
|
+
putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
|
|
47168
|
+
// verify the required parameter 'programId' is set
|
|
47169
|
+
if (programId === undefined || programId === null) {
|
|
47170
|
+
throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
47171
|
+
}
|
|
47172
|
+
// verify the required parameter 'body' is set
|
|
47173
|
+
if (body === undefined || body === null) {
|
|
47174
|
+
throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
47175
|
+
}
|
|
47176
|
+
|
|
47177
|
+
return this.apiClient.callApi(
|
|
47178
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
47179
|
+
'PUT',
|
|
47180
|
+
{ 'programId': programId },
|
|
47181
|
+
{ },
|
|
47182
|
+
{ },
|
|
47183
|
+
{ },
|
|
47184
|
+
body,
|
|
47185
|
+
['PureCloud OAuth'],
|
|
47186
|
+
['application/json'],
|
|
47187
|
+
['application/json']
|
|
47188
|
+
);
|
|
47189
|
+
}
|
|
47190
|
+
|
|
46895
47191
|
/**
|
|
46896
47192
|
* Update Speech And Text Analytics Settings
|
|
46897
47193
|
*
|
|
@@ -46953,7 +47249,7 @@ class StationsApi {
|
|
|
46953
47249
|
/**
|
|
46954
47250
|
* Stations service.
|
|
46955
47251
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46956
|
-
* @version
|
|
47252
|
+
* @version 160.0.0
|
|
46957
47253
|
*/
|
|
46958
47254
|
|
|
46959
47255
|
/**
|
|
@@ -47100,7 +47396,7 @@ class SuggestApi {
|
|
|
47100
47396
|
/**
|
|
47101
47397
|
* Suggest service.
|
|
47102
47398
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
47103
|
-
* @version
|
|
47399
|
+
* @version 160.0.0
|
|
47104
47400
|
*/
|
|
47105
47401
|
|
|
47106
47402
|
/**
|
|
@@ -47239,7 +47535,7 @@ class TeamsApi {
|
|
|
47239
47535
|
/**
|
|
47240
47536
|
* Teams service.
|
|
47241
47537
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
47242
|
-
* @version
|
|
47538
|
+
* @version 160.0.0
|
|
47243
47539
|
*/
|
|
47244
47540
|
|
|
47245
47541
|
/**
|
|
@@ -47510,7 +47806,7 @@ class TelephonyApi {
|
|
|
47510
47806
|
/**
|
|
47511
47807
|
* Telephony service.
|
|
47512
47808
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
47513
|
-
* @version
|
|
47809
|
+
* @version 160.0.0
|
|
47514
47810
|
*/
|
|
47515
47811
|
|
|
47516
47812
|
/**
|
|
@@ -47638,7 +47934,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
47638
47934
|
/**
|
|
47639
47935
|
* TelephonyProvidersEdge service.
|
|
47640
47936
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
47641
|
-
* @version
|
|
47937
|
+
* @version 160.0.0
|
|
47642
47938
|
*/
|
|
47643
47939
|
|
|
47644
47940
|
/**
|
|
@@ -51272,7 +51568,7 @@ class TextbotsApi {
|
|
|
51272
51568
|
/**
|
|
51273
51569
|
* Textbots service.
|
|
51274
51570
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
51275
|
-
* @version
|
|
51571
|
+
* @version 160.0.0
|
|
51276
51572
|
*/
|
|
51277
51573
|
|
|
51278
51574
|
/**
|
|
@@ -51400,7 +51696,7 @@ class TokensApi {
|
|
|
51400
51696
|
/**
|
|
51401
51697
|
* Tokens service.
|
|
51402
51698
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
51403
|
-
* @version
|
|
51699
|
+
* @version 160.0.0
|
|
51404
51700
|
*/
|
|
51405
51701
|
|
|
51406
51702
|
/**
|
|
@@ -51506,7 +51802,7 @@ class UploadsApi {
|
|
|
51506
51802
|
/**
|
|
51507
51803
|
* Uploads service.
|
|
51508
51804
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
51509
|
-
* @version
|
|
51805
|
+
* @version 160.0.0
|
|
51510
51806
|
*/
|
|
51511
51807
|
|
|
51512
51808
|
/**
|
|
@@ -51682,7 +51978,7 @@ class UsageApi {
|
|
|
51682
51978
|
/**
|
|
51683
51979
|
* Usage service.
|
|
51684
51980
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
51685
|
-
* @version
|
|
51981
|
+
* @version 160.0.0
|
|
51686
51982
|
*/
|
|
51687
51983
|
|
|
51688
51984
|
/**
|
|
@@ -51753,7 +52049,7 @@ class UserRecordingsApi {
|
|
|
51753
52049
|
/**
|
|
51754
52050
|
* UserRecordings service.
|
|
51755
52051
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51756
|
-
* @version
|
|
52052
|
+
* @version 160.0.0
|
|
51757
52053
|
*/
|
|
51758
52054
|
|
|
51759
52055
|
/**
|
|
@@ -51938,7 +52234,7 @@ class UsersApi {
|
|
|
51938
52234
|
/**
|
|
51939
52235
|
* Users service.
|
|
51940
52236
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51941
|
-
* @version
|
|
52237
|
+
* @version 160.0.0
|
|
51942
52238
|
*/
|
|
51943
52239
|
|
|
51944
52240
|
/**
|
|
@@ -52867,6 +53163,37 @@ class UsersApi {
|
|
|
52867
53163
|
);
|
|
52868
53164
|
}
|
|
52869
53165
|
|
|
53166
|
+
/**
|
|
53167
|
+
* Get skill groups for a user
|
|
53168
|
+
*
|
|
53169
|
+
* @param {String} userId User ID
|
|
53170
|
+
* @param {Object} opts Optional parameters
|
|
53171
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
53172
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
53173
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
53174
|
+
*/
|
|
53175
|
+
getUserSkillgroups(userId, opts) {
|
|
53176
|
+
opts = opts || {};
|
|
53177
|
+
|
|
53178
|
+
// verify the required parameter 'userId' is set
|
|
53179
|
+
if (userId === undefined || userId === null) {
|
|
53180
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
53181
|
+
}
|
|
53182
|
+
|
|
53183
|
+
return this.apiClient.callApi(
|
|
53184
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
53185
|
+
'GET',
|
|
53186
|
+
{ 'userId': userId },
|
|
53187
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
53188
|
+
{ },
|
|
53189
|
+
{ },
|
|
53190
|
+
null,
|
|
53191
|
+
['PureCloud OAuth'],
|
|
53192
|
+
['application/json'],
|
|
53193
|
+
['application/json']
|
|
53194
|
+
);
|
|
53195
|
+
}
|
|
53196
|
+
|
|
52870
53197
|
/**
|
|
52871
53198
|
* Get user state information.
|
|
52872
53199
|
*
|
|
@@ -54295,7 +54622,7 @@ class UtilitiesApi {
|
|
|
54295
54622
|
/**
|
|
54296
54623
|
* Utilities service.
|
|
54297
54624
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
54298
|
-
* @version
|
|
54625
|
+
* @version 160.0.0
|
|
54299
54626
|
*/
|
|
54300
54627
|
|
|
54301
54628
|
/**
|
|
@@ -54406,7 +54733,7 @@ class VoicemailApi {
|
|
|
54406
54733
|
/**
|
|
54407
54734
|
* Voicemail service.
|
|
54408
54735
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
54409
|
-
* @version
|
|
54736
|
+
* @version 160.0.0
|
|
54410
54737
|
*/
|
|
54411
54738
|
|
|
54412
54739
|
/**
|
|
@@ -55073,7 +55400,7 @@ class WebChatApi {
|
|
|
55073
55400
|
/**
|
|
55074
55401
|
* WebChat service.
|
|
55075
55402
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
55076
|
-
* @version
|
|
55403
|
+
* @version 160.0.0
|
|
55077
55404
|
*/
|
|
55078
55405
|
|
|
55079
55406
|
/**
|
|
@@ -55617,7 +55944,7 @@ class WebDeploymentsApi {
|
|
|
55617
55944
|
/**
|
|
55618
55945
|
* WebDeployments service.
|
|
55619
55946
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
55620
|
-
* @version
|
|
55947
|
+
* @version 160.0.0
|
|
55621
55948
|
*/
|
|
55622
55949
|
|
|
55623
55950
|
/**
|
|
@@ -56139,7 +56466,7 @@ class WebMessagingApi {
|
|
|
56139
56466
|
/**
|
|
56140
56467
|
* WebMessaging service.
|
|
56141
56468
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
56142
|
-
* @version
|
|
56469
|
+
* @version 160.0.0
|
|
56143
56470
|
*/
|
|
56144
56471
|
|
|
56145
56472
|
/**
|
|
@@ -56185,7 +56512,7 @@ class WidgetsApi {
|
|
|
56185
56512
|
/**
|
|
56186
56513
|
* Widgets service.
|
|
56187
56514
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
56188
|
-
* @version
|
|
56515
|
+
* @version 160.0.0
|
|
56189
56516
|
*/
|
|
56190
56517
|
|
|
56191
56518
|
/**
|
|
@@ -56331,7 +56658,7 @@ class WorkforceManagementApi {
|
|
|
56331
56658
|
/**
|
|
56332
56659
|
* WorkforceManagement service.
|
|
56333
56660
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
56334
|
-
* @version
|
|
56661
|
+
* @version 160.0.0
|
|
56335
56662
|
*/
|
|
56336
56663
|
|
|
56337
56664
|
/**
|
|
@@ -59366,6 +59693,31 @@ class WorkforceManagementApi {
|
|
|
59366
59693
|
);
|
|
59367
59694
|
}
|
|
59368
59695
|
|
|
59696
|
+
/**
|
|
59697
|
+
* Get agent possible work shifts for requested time frame
|
|
59698
|
+
*
|
|
59699
|
+
* @param {Object} body body
|
|
59700
|
+
*/
|
|
59701
|
+
postWorkforcemanagementAgentsMePossibleworkshifts(body) {
|
|
59702
|
+
// verify the required parameter 'body' is set
|
|
59703
|
+
if (body === undefined || body === null) {
|
|
59704
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
|
|
59705
|
+
}
|
|
59706
|
+
|
|
59707
|
+
return this.apiClient.callApi(
|
|
59708
|
+
'/api/v2/workforcemanagement/agents/me/possibleworkshifts',
|
|
59709
|
+
'POST',
|
|
59710
|
+
{ },
|
|
59711
|
+
{ },
|
|
59712
|
+
{ },
|
|
59713
|
+
{ },
|
|
59714
|
+
body,
|
|
59715
|
+
['PureCloud OAuth'],
|
|
59716
|
+
['application/json'],
|
|
59717
|
+
['application/json']
|
|
59718
|
+
);
|
|
59719
|
+
}
|
|
59720
|
+
|
|
59369
59721
|
/**
|
|
59370
59722
|
* Get published schedule for the current user
|
|
59371
59723
|
*
|
|
@@ -61050,7 +61402,7 @@ class WorkforceManagementApi {
|
|
|
61050
61402
|
* </pre>
|
|
61051
61403
|
* </p>
|
|
61052
61404
|
* @module purecloud-platform-client-v2/index
|
|
61053
|
-
* @version
|
|
61405
|
+
* @version 160.0.0
|
|
61054
61406
|
*/
|
|
61055
61407
|
class platformClient {
|
|
61056
61408
|
constructor() {
|
|
@@ -61174,6 +61526,11 @@ class platformClient {
|
|
|
61174
61526
|
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
|
|
61175
61527
|
*/
|
|
61176
61528
|
this.IdentityProviderApi = IdentityProviderApi;
|
|
61529
|
+
/**
|
|
61530
|
+
* The InfrastructureAsCodeApi service constructor.
|
|
61531
|
+
* @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
|
|
61532
|
+
*/
|
|
61533
|
+
this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
|
|
61177
61534
|
/**
|
|
61178
61535
|
* The IntegrationsApi service constructor.
|
|
61179
61536
|
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi}
|