purecloud-platform-client-v2 155.0.1 → 157.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 +298 -124
- package/dist/web-amd/purecloud-platform-client-v2.js +298 -124
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +298 -124
- package/dist/web-cjs/purecloud-platform-client-v2.js +308 -130
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +372 -201
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -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/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 +6 -56
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +75 -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 +50 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5704,16 +5704,20 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5704
5704
|
}
|
|
5705
5705
|
if (isMap(obj)) {
|
|
5706
5706
|
var mapParts = [];
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5707
|
+
if (mapForEach) {
|
|
5708
|
+
mapForEach.call(obj, function (value, key) {
|
|
5709
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
|
5710
|
+
});
|
|
5711
|
+
}
|
|
5710
5712
|
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
|
5711
5713
|
}
|
|
5712
5714
|
if (isSet(obj)) {
|
|
5713
5715
|
var setParts = [];
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5716
|
+
if (setForEach) {
|
|
5717
|
+
setForEach.call(obj, function (value) {
|
|
5718
|
+
setParts.push(inspect(value, obj));
|
|
5719
|
+
});
|
|
5720
|
+
}
|
|
5717
5721
|
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
|
5718
5722
|
}
|
|
5719
5723
|
if (isWeakMap(obj)) {
|
|
@@ -9307,7 +9311,7 @@ class Configuration {
|
|
|
9307
9311
|
|
|
9308
9312
|
/**
|
|
9309
9313
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9310
|
-
* @version
|
|
9314
|
+
* @version 157.0.0
|
|
9311
9315
|
*/
|
|
9312
9316
|
class ApiClient {
|
|
9313
9317
|
/**
|
|
@@ -10379,7 +10383,7 @@ class AlertingApi {
|
|
|
10379
10383
|
/**
|
|
10380
10384
|
* Alerting service.
|
|
10381
10385
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10382
|
-
* @version
|
|
10386
|
+
* @version 157.0.0
|
|
10383
10387
|
*/
|
|
10384
10388
|
|
|
10385
10389
|
/**
|
|
@@ -10693,7 +10697,7 @@ class AnalyticsApi {
|
|
|
10693
10697
|
/**
|
|
10694
10698
|
* Analytics service.
|
|
10695
10699
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10696
|
-
* @version
|
|
10700
|
+
* @version 157.0.0
|
|
10697
10701
|
*/
|
|
10698
10702
|
|
|
10699
10703
|
/**
|
|
@@ -11947,7 +11951,7 @@ class ArchitectApi {
|
|
|
11947
11951
|
/**
|
|
11948
11952
|
* Architect service.
|
|
11949
11953
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11950
|
-
* @version
|
|
11954
|
+
* @version 157.0.0
|
|
11951
11955
|
*/
|
|
11952
11956
|
|
|
11953
11957
|
/**
|
|
@@ -14995,7 +14999,7 @@ class AuditApi {
|
|
|
14995
14999
|
/**
|
|
14996
15000
|
* Audit service.
|
|
14997
15001
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14998
|
-
* @version
|
|
15002
|
+
* @version 157.0.0
|
|
14999
15003
|
*/
|
|
15000
15004
|
|
|
15001
15005
|
/**
|
|
@@ -15166,7 +15170,7 @@ class AuthorizationApi {
|
|
|
15166
15170
|
/**
|
|
15167
15171
|
* Authorization service.
|
|
15168
15172
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15169
|
-
* @version
|
|
15173
|
+
* @version 157.0.0
|
|
15170
15174
|
*/
|
|
15171
15175
|
|
|
15172
15176
|
/**
|
|
@@ -16394,7 +16398,7 @@ class BillingApi {
|
|
|
16394
16398
|
/**
|
|
16395
16399
|
* Billing service.
|
|
16396
16400
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16397
|
-
* @version
|
|
16401
|
+
* @version 157.0.0
|
|
16398
16402
|
*/
|
|
16399
16403
|
|
|
16400
16404
|
/**
|
|
@@ -16474,7 +16478,7 @@ class ChatApi {
|
|
|
16474
16478
|
/**
|
|
16475
16479
|
* Chat service.
|
|
16476
16480
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16477
|
-
* @version
|
|
16481
|
+
* @version 157.0.0
|
|
16478
16482
|
*/
|
|
16479
16483
|
|
|
16480
16484
|
/**
|
|
@@ -16565,7 +16569,7 @@ class CoachingApi {
|
|
|
16565
16569
|
/**
|
|
16566
16570
|
* Coaching service.
|
|
16567
16571
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16568
|
-
* @version
|
|
16572
|
+
* @version 157.0.0
|
|
16569
16573
|
*/
|
|
16570
16574
|
|
|
16571
16575
|
/**
|
|
@@ -17142,7 +17146,7 @@ class ContentManagementApi {
|
|
|
17142
17146
|
/**
|
|
17143
17147
|
* ContentManagement service.
|
|
17144
17148
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17145
|
-
* @version
|
|
17149
|
+
* @version 157.0.0
|
|
17146
17150
|
*/
|
|
17147
17151
|
|
|
17148
17152
|
/**
|
|
@@ -18282,7 +18286,7 @@ class ConversationsApi {
|
|
|
18282
18286
|
/**
|
|
18283
18287
|
* Conversations service.
|
|
18284
18288
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18285
|
-
* @version
|
|
18289
|
+
* @version 157.0.0
|
|
18286
18290
|
*/
|
|
18287
18291
|
|
|
18288
18292
|
/**
|
|
@@ -23505,7 +23509,7 @@ class DataExtensionsApi {
|
|
|
23505
23509
|
/**
|
|
23506
23510
|
* DataExtensions service.
|
|
23507
23511
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23508
|
-
* @version
|
|
23512
|
+
* @version 157.0.0
|
|
23509
23513
|
*/
|
|
23510
23514
|
|
|
23511
23515
|
/**
|
|
@@ -23591,7 +23595,7 @@ class DownloadsApi {
|
|
|
23591
23595
|
/**
|
|
23592
23596
|
* Downloads service.
|
|
23593
23597
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23594
|
-
* @version
|
|
23598
|
+
* @version 157.0.0
|
|
23595
23599
|
*/
|
|
23596
23600
|
|
|
23597
23601
|
/**
|
|
@@ -23643,7 +23647,7 @@ class EventsApi {
|
|
|
23643
23647
|
/**
|
|
23644
23648
|
* Events service.
|
|
23645
23649
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
23646
|
-
* @version
|
|
23650
|
+
* @version 157.0.0
|
|
23647
23651
|
*/
|
|
23648
23652
|
|
|
23649
23653
|
/**
|
|
@@ -23739,7 +23743,7 @@ class ExternalContactsApi {
|
|
|
23739
23743
|
/**
|
|
23740
23744
|
* ExternalContacts service.
|
|
23741
23745
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23742
|
-
* @version
|
|
23746
|
+
* @version 157.0.0
|
|
23743
23747
|
*/
|
|
23744
23748
|
|
|
23745
23749
|
/**
|
|
@@ -25697,7 +25701,7 @@ class FaxApi {
|
|
|
25697
25701
|
/**
|
|
25698
25702
|
* Fax service.
|
|
25699
25703
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25700
|
-
* @version
|
|
25704
|
+
* @version 157.0.0
|
|
25701
25705
|
*/
|
|
25702
25706
|
|
|
25703
25707
|
/**
|
|
@@ -25868,7 +25872,7 @@ class FlowsApi {
|
|
|
25868
25872
|
/**
|
|
25869
25873
|
* Flows service.
|
|
25870
25874
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25871
|
-
* @version
|
|
25875
|
+
* @version 157.0.0
|
|
25872
25876
|
*/
|
|
25873
25877
|
|
|
25874
25878
|
/**
|
|
@@ -25939,7 +25943,7 @@ class GamificationApi {
|
|
|
25939
25943
|
/**
|
|
25940
25944
|
* Gamification service.
|
|
25941
25945
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25942
|
-
* @version
|
|
25946
|
+
* @version 157.0.0
|
|
25943
25947
|
*/
|
|
25944
25948
|
|
|
25945
25949
|
/**
|
|
@@ -27556,7 +27560,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27556
27560
|
/**
|
|
27557
27561
|
* GeneralDataProtectionRegulation service.
|
|
27558
27562
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27559
|
-
* @version
|
|
27563
|
+
* @version 157.0.0
|
|
27560
27564
|
*/
|
|
27561
27565
|
|
|
27562
27566
|
/**
|
|
@@ -27686,7 +27690,7 @@ class GeolocationApi {
|
|
|
27686
27690
|
/**
|
|
27687
27691
|
* Geolocation service.
|
|
27688
27692
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27689
|
-
* @version
|
|
27693
|
+
* @version 157.0.0
|
|
27690
27694
|
*/
|
|
27691
27695
|
|
|
27692
27696
|
/**
|
|
@@ -27817,7 +27821,7 @@ class GreetingsApi {
|
|
|
27817
27821
|
/**
|
|
27818
27822
|
* Greetings service.
|
|
27819
27823
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27820
|
-
* @version
|
|
27824
|
+
* @version 157.0.0
|
|
27821
27825
|
*/
|
|
27822
27826
|
|
|
27823
27827
|
/**
|
|
@@ -28272,7 +28276,7 @@ class GroupsApi {
|
|
|
28272
28276
|
/**
|
|
28273
28277
|
* Groups service.
|
|
28274
28278
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28275
|
-
* @version
|
|
28279
|
+
* @version 157.0.0
|
|
28276
28280
|
*/
|
|
28277
28281
|
|
|
28278
28282
|
/**
|
|
@@ -28678,7 +28682,7 @@ class IdentityProviderApi {
|
|
|
28678
28682
|
/**
|
|
28679
28683
|
* IdentityProvider service.
|
|
28680
28684
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28681
|
-
* @version
|
|
28685
|
+
* @version 157.0.0
|
|
28682
28686
|
*/
|
|
28683
28687
|
|
|
28684
28688
|
/**
|
|
@@ -29434,7 +29438,7 @@ class IntegrationsApi {
|
|
|
29434
29438
|
/**
|
|
29435
29439
|
* Integrations service.
|
|
29436
29440
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29437
|
-
* @version
|
|
29441
|
+
* @version 157.0.0
|
|
29438
29442
|
*/
|
|
29439
29443
|
|
|
29440
29444
|
/**
|
|
@@ -31034,7 +31038,7 @@ class JourneyApi {
|
|
|
31034
31038
|
/**
|
|
31035
31039
|
* Journey service.
|
|
31036
31040
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31037
|
-
* @version
|
|
31041
|
+
* @version 157.0.0
|
|
31038
31042
|
*/
|
|
31039
31043
|
|
|
31040
31044
|
/**
|
|
@@ -31820,7 +31824,7 @@ class KnowledgeApi {
|
|
|
31820
31824
|
/**
|
|
31821
31825
|
* Knowledge service.
|
|
31822
31826
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31823
|
-
* @version
|
|
31827
|
+
* @version 157.0.0
|
|
31824
31828
|
*/
|
|
31825
31829
|
|
|
31826
31830
|
/**
|
|
@@ -34253,7 +34257,7 @@ class LanguageUnderstandingApi {
|
|
|
34253
34257
|
/**
|
|
34254
34258
|
* LanguageUnderstanding service.
|
|
34255
34259
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
34256
|
-
* @version
|
|
34260
|
+
* @version 157.0.0
|
|
34257
34261
|
*/
|
|
34258
34262
|
|
|
34259
34263
|
/**
|
|
@@ -35265,7 +35269,7 @@ class LanguagesApi {
|
|
|
35265
35269
|
/**
|
|
35266
35270
|
* Languages service.
|
|
35267
35271
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
35268
|
-
* @version
|
|
35272
|
+
* @version 157.0.0
|
|
35269
35273
|
*/
|
|
35270
35274
|
|
|
35271
35275
|
/**
|
|
@@ -35282,7 +35286,7 @@ class LanguagesApi {
|
|
|
35282
35286
|
|
|
35283
35287
|
/**
|
|
35284
35288
|
* Delete Language (Deprecated)
|
|
35285
|
-
* This endpoint is deprecated.
|
|
35289
|
+
* This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
|
|
35286
35290
|
* @param {String} languageId Language ID
|
|
35287
35291
|
*/
|
|
35288
35292
|
deleteLanguage(languageId) {
|
|
@@ -35306,33 +35310,8 @@ class LanguagesApi {
|
|
|
35306
35310
|
}
|
|
35307
35311
|
|
|
35308
35312
|
/**
|
|
35309
|
-
*
|
|
35310
|
-
*
|
|
35311
|
-
* @param {String} languageId Language ID
|
|
35312
|
-
*/
|
|
35313
|
-
deleteRoutingLanguage(languageId) {
|
|
35314
|
-
// verify the required parameter 'languageId' is set
|
|
35315
|
-
if (languageId === undefined || languageId === null) {
|
|
35316
|
-
throw 'Missing the required parameter "languageId" when calling deleteRoutingLanguage';
|
|
35317
|
-
}
|
|
35318
|
-
|
|
35319
|
-
return this.apiClient.callApi(
|
|
35320
|
-
'/api/v2/routing/languages/{languageId}',
|
|
35321
|
-
'DELETE',
|
|
35322
|
-
{ 'languageId': languageId },
|
|
35323
|
-
{ },
|
|
35324
|
-
{ },
|
|
35325
|
-
{ },
|
|
35326
|
-
null,
|
|
35327
|
-
['PureCloud OAuth'],
|
|
35328
|
-
['application/json'],
|
|
35329
|
-
['application/json']
|
|
35330
|
-
);
|
|
35331
|
-
}
|
|
35332
|
-
|
|
35333
|
-
/**
|
|
35334
|
-
* Get language (Deprecated)
|
|
35335
|
-
* This endpoint is deprecated. It has been moved to /routing/languages/{languageId}
|
|
35313
|
+
* Get Language (Deprecated)
|
|
35314
|
+
* This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
|
|
35336
35315
|
* @param {String} languageId Language ID
|
|
35337
35316
|
*/
|
|
35338
35317
|
getLanguage(languageId) {
|
|
@@ -35357,7 +35336,7 @@ class LanguagesApi {
|
|
|
35357
35336
|
|
|
35358
35337
|
/**
|
|
35359
35338
|
* Get the list of supported languages. (Deprecated)
|
|
35360
|
-
* This endpoint is deprecated.
|
|
35339
|
+
* This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages)
|
|
35361
35340
|
* @param {Object} opts Optional parameters
|
|
35362
35341
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
35363
35342
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
@@ -35477,34 +35456,9 @@ class LanguagesApi {
|
|
|
35477
35456
|
);
|
|
35478
35457
|
}
|
|
35479
35458
|
|
|
35480
|
-
/**
|
|
35481
|
-
* Get language
|
|
35482
|
-
*
|
|
35483
|
-
* @param {String} languageId Language ID
|
|
35484
|
-
*/
|
|
35485
|
-
getRoutingLanguage(languageId) {
|
|
35486
|
-
// verify the required parameter 'languageId' is set
|
|
35487
|
-
if (languageId === undefined || languageId === null) {
|
|
35488
|
-
throw 'Missing the required parameter "languageId" when calling getRoutingLanguage';
|
|
35489
|
-
}
|
|
35490
|
-
|
|
35491
|
-
return this.apiClient.callApi(
|
|
35492
|
-
'/api/v2/routing/languages/{languageId}',
|
|
35493
|
-
'GET',
|
|
35494
|
-
{ 'languageId': languageId },
|
|
35495
|
-
{ },
|
|
35496
|
-
{ },
|
|
35497
|
-
{ },
|
|
35498
|
-
null,
|
|
35499
|
-
['PureCloud OAuth'],
|
|
35500
|
-
['application/json'],
|
|
35501
|
-
['application/json']
|
|
35502
|
-
);
|
|
35503
|
-
}
|
|
35504
|
-
|
|
35505
35459
|
/**
|
|
35506
35460
|
* Create Language (Deprecated)
|
|
35507
|
-
* This endpoint is deprecated.
|
|
35461
|
+
* This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages
|
|
35508
35462
|
* @param {Object} body Language
|
|
35509
35463
|
*/
|
|
35510
35464
|
postLanguages(body) {
|
|
@@ -35533,7 +35487,7 @@ class LearningApi {
|
|
|
35533
35487
|
/**
|
|
35534
35488
|
* Learning service.
|
|
35535
35489
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35536
|
-
* @version
|
|
35490
|
+
* @version 157.0.0
|
|
35537
35491
|
*/
|
|
35538
35492
|
|
|
35539
35493
|
/**
|
|
@@ -36294,7 +36248,7 @@ class LicenseApi {
|
|
|
36294
36248
|
/**
|
|
36295
36249
|
* License service.
|
|
36296
36250
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
36297
|
-
* @version
|
|
36251
|
+
* @version 157.0.0
|
|
36298
36252
|
*/
|
|
36299
36253
|
|
|
36300
36254
|
/**
|
|
@@ -36532,7 +36486,7 @@ class LocationsApi {
|
|
|
36532
36486
|
/**
|
|
36533
36487
|
* Locations service.
|
|
36534
36488
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36535
|
-
* @version
|
|
36489
|
+
* @version 157.0.0
|
|
36536
36490
|
*/
|
|
36537
36491
|
|
|
36538
36492
|
/**
|
|
@@ -36768,7 +36722,7 @@ class MessagingApi {
|
|
|
36768
36722
|
/**
|
|
36769
36723
|
* Messaging service.
|
|
36770
36724
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36771
|
-
* @version
|
|
36725
|
+
* @version 157.0.0
|
|
36772
36726
|
*/
|
|
36773
36727
|
|
|
36774
36728
|
/**
|
|
@@ -36919,7 +36873,7 @@ class MobileDevicesApi {
|
|
|
36919
36873
|
/**
|
|
36920
36874
|
* MobileDevices service.
|
|
36921
36875
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36922
|
-
* @version
|
|
36876
|
+
* @version 157.0.0
|
|
36923
36877
|
*/
|
|
36924
36878
|
|
|
36925
36879
|
/**
|
|
@@ -37070,7 +37024,7 @@ class NotificationsApi {
|
|
|
37070
37024
|
/**
|
|
37071
37025
|
* Notifications service.
|
|
37072
37026
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
37073
|
-
* @version
|
|
37027
|
+
* @version 157.0.0
|
|
37074
37028
|
*/
|
|
37075
37029
|
|
|
37076
37030
|
/**
|
|
@@ -37295,7 +37249,7 @@ class OAuthApi {
|
|
|
37295
37249
|
/**
|
|
37296
37250
|
* OAuth service.
|
|
37297
37251
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
37298
|
-
* @version
|
|
37252
|
+
* @version 157.0.0
|
|
37299
37253
|
*/
|
|
37300
37254
|
|
|
37301
37255
|
/**
|
|
@@ -37661,7 +37615,7 @@ class ObjectsApi {
|
|
|
37661
37615
|
/**
|
|
37662
37616
|
* Objects service.
|
|
37663
37617
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37664
|
-
* @version
|
|
37618
|
+
* @version 157.0.0
|
|
37665
37619
|
*/
|
|
37666
37620
|
|
|
37667
37621
|
/**
|
|
@@ -37932,7 +37886,7 @@ class OrganizationApi {
|
|
|
37932
37886
|
/**
|
|
37933
37887
|
* Organization service.
|
|
37934
37888
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37935
|
-
* @version
|
|
37889
|
+
* @version 157.0.0
|
|
37936
37890
|
*/
|
|
37937
37891
|
|
|
37938
37892
|
/**
|
|
@@ -38335,7 +38289,7 @@ class OrganizationAuthorizationApi {
|
|
|
38335
38289
|
/**
|
|
38336
38290
|
* OrganizationAuthorization service.
|
|
38337
38291
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
38338
|
-
* @version
|
|
38292
|
+
* @version 157.0.0
|
|
38339
38293
|
*/
|
|
38340
38294
|
|
|
38341
38295
|
/**
|
|
@@ -39260,7 +39214,7 @@ class OutboundApi {
|
|
|
39260
39214
|
/**
|
|
39261
39215
|
* Outbound service.
|
|
39262
39216
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39263
|
-
* @version
|
|
39217
|
+
* @version 157.0.0
|
|
39264
39218
|
*/
|
|
39265
39219
|
|
|
39266
39220
|
/**
|
|
@@ -42797,7 +42751,7 @@ class PresenceApi {
|
|
|
42797
42751
|
/**
|
|
42798
42752
|
* Presence service.
|
|
42799
42753
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42800
|
-
* @version
|
|
42754
|
+
* @version 157.0.0
|
|
42801
42755
|
*/
|
|
42802
42756
|
|
|
42803
42757
|
/**
|
|
@@ -43303,7 +43257,7 @@ class ProcessAutomationApi {
|
|
|
43303
43257
|
/**
|
|
43304
43258
|
* ProcessAutomation service.
|
|
43305
43259
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43306
|
-
* @version
|
|
43260
|
+
* @version 157.0.0
|
|
43307
43261
|
*/
|
|
43308
43262
|
|
|
43309
43263
|
/**
|
|
@@ -43377,6 +43331,7 @@ class ProcessAutomationApi {
|
|
|
43377
43331
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
43378
43332
|
* @param {String} opts.topicName Topic name(s). Separated by commas
|
|
43379
43333
|
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
43334
|
+
* @param {Boolean} opts.hasDelayBy Boolean to filter based on delayBySeconds being set in triggers. Default returns all, true returns only those with delayBySeconds set, false returns those without delayBySeconds set.
|
|
43380
43335
|
*/
|
|
43381
43336
|
getProcessautomationTriggers(opts) {
|
|
43382
43337
|
opts = opts || {};
|
|
@@ -43386,7 +43341,7 @@ class ProcessAutomationApi {
|
|
|
43386
43341
|
'/api/v2/processautomation/triggers',
|
|
43387
43342
|
'GET',
|
|
43388
43343
|
{ },
|
|
43389
|
-
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
43344
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'],'hasDelayBy': opts['hasDelayBy'] },
|
|
43390
43345
|
{ },
|
|
43391
43346
|
{ },
|
|
43392
43347
|
null,
|
|
@@ -43541,7 +43496,7 @@ class QualityApi {
|
|
|
43541
43496
|
/**
|
|
43542
43497
|
* Quality service.
|
|
43543
43498
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43544
|
-
* @version
|
|
43499
|
+
* @version 157.0.0
|
|
43545
43500
|
*/
|
|
43546
43501
|
|
|
43547
43502
|
/**
|
|
@@ -45119,7 +45074,7 @@ class RecordingApi {
|
|
|
45119
45074
|
/**
|
|
45120
45075
|
* Recording service.
|
|
45121
45076
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
45122
|
-
* @version
|
|
45077
|
+
* @version 157.0.0
|
|
45123
45078
|
*/
|
|
45124
45079
|
|
|
45125
45080
|
/**
|
|
@@ -45993,6 +45948,31 @@ class RecordingApi {
|
|
|
45993
45948
|
);
|
|
45994
45949
|
}
|
|
45995
45950
|
|
|
45951
|
+
/**
|
|
45952
|
+
* Get the status of a recording upload status report
|
|
45953
|
+
*
|
|
45954
|
+
* @param {String} reportId reportId
|
|
45955
|
+
*/
|
|
45956
|
+
getRecordingUploadsReport(reportId) {
|
|
45957
|
+
// verify the required parameter 'reportId' is set
|
|
45958
|
+
if (reportId === undefined || reportId === null) {
|
|
45959
|
+
throw 'Missing the required parameter "reportId" when calling getRecordingUploadsReport';
|
|
45960
|
+
}
|
|
45961
|
+
|
|
45962
|
+
return this.apiClient.callApi(
|
|
45963
|
+
'/api/v2/recording/uploads/reports/{reportId}',
|
|
45964
|
+
'GET',
|
|
45965
|
+
{ 'reportId': reportId },
|
|
45966
|
+
{ },
|
|
45967
|
+
{ },
|
|
45968
|
+
{ },
|
|
45969
|
+
null,
|
|
45970
|
+
['PureCloud OAuth'],
|
|
45971
|
+
['application/json'],
|
|
45972
|
+
['application/json']
|
|
45973
|
+
);
|
|
45974
|
+
}
|
|
45975
|
+
|
|
45996
45976
|
/**
|
|
45997
45977
|
* Query for recording retention data
|
|
45998
45978
|
*
|
|
@@ -46392,6 +46372,31 @@ class RecordingApi {
|
|
|
46392
46372
|
);
|
|
46393
46373
|
}
|
|
46394
46374
|
|
|
46375
|
+
/**
|
|
46376
|
+
* Creates a recording upload status report
|
|
46377
|
+
*
|
|
46378
|
+
* @param {Object} body Report parameters
|
|
46379
|
+
*/
|
|
46380
|
+
postRecordingUploadsReports(body) {
|
|
46381
|
+
// verify the required parameter 'body' is set
|
|
46382
|
+
if (body === undefined || body === null) {
|
|
46383
|
+
throw 'Missing the required parameter "body" when calling postRecordingUploadsReports';
|
|
46384
|
+
}
|
|
46385
|
+
|
|
46386
|
+
return this.apiClient.callApi(
|
|
46387
|
+
'/api/v2/recording/uploads/reports',
|
|
46388
|
+
'POST',
|
|
46389
|
+
{ },
|
|
46390
|
+
{ },
|
|
46391
|
+
{ },
|
|
46392
|
+
{ },
|
|
46393
|
+
body,
|
|
46394
|
+
['PureCloud OAuth'],
|
|
46395
|
+
['application/json'],
|
|
46396
|
+
['application/json']
|
|
46397
|
+
);
|
|
46398
|
+
}
|
|
46399
|
+
|
|
46395
46400
|
/**
|
|
46396
46401
|
* Get a list of conversations with protected recordings
|
|
46397
46402
|
*
|
|
@@ -46806,7 +46811,7 @@ class ResponseManagementApi {
|
|
|
46806
46811
|
/**
|
|
46807
46812
|
* ResponseManagement service.
|
|
46808
46813
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
46809
|
-
* @version
|
|
46814
|
+
* @version 157.0.0
|
|
46810
46815
|
*/
|
|
46811
46816
|
|
|
46812
46817
|
/**
|
|
@@ -47290,7 +47295,7 @@ class RoutingApi {
|
|
|
47290
47295
|
/**
|
|
47291
47296
|
* Routing service.
|
|
47292
47297
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47293
|
-
* @version
|
|
47298
|
+
* @version 157.0.0
|
|
47294
47299
|
*/
|
|
47295
47300
|
|
|
47296
47301
|
/**
|
|
@@ -47410,6 +47415,31 @@ class RoutingApi {
|
|
|
47410
47415
|
);
|
|
47411
47416
|
}
|
|
47412
47417
|
|
|
47418
|
+
/**
|
|
47419
|
+
* Delete a routing language
|
|
47420
|
+
*
|
|
47421
|
+
* @param {String} languageId Language ID
|
|
47422
|
+
*/
|
|
47423
|
+
deleteRoutingLanguage(languageId) {
|
|
47424
|
+
// verify the required parameter 'languageId' is set
|
|
47425
|
+
if (languageId === undefined || languageId === null) {
|
|
47426
|
+
throw 'Missing the required parameter "languageId" when calling deleteRoutingLanguage';
|
|
47427
|
+
}
|
|
47428
|
+
|
|
47429
|
+
return this.apiClient.callApi(
|
|
47430
|
+
'/api/v2/routing/languages/{languageId}',
|
|
47431
|
+
'DELETE',
|
|
47432
|
+
{ 'languageId': languageId },
|
|
47433
|
+
{ },
|
|
47434
|
+
{ },
|
|
47435
|
+
{ },
|
|
47436
|
+
null,
|
|
47437
|
+
['PureCloud OAuth'],
|
|
47438
|
+
['application/json'],
|
|
47439
|
+
['application/json']
|
|
47440
|
+
);
|
|
47441
|
+
}
|
|
47442
|
+
|
|
47413
47443
|
/**
|
|
47414
47444
|
* Delete single predictor.
|
|
47415
47445
|
*
|
|
@@ -48153,6 +48183,31 @@ class RoutingApi {
|
|
|
48153
48183
|
);
|
|
48154
48184
|
}
|
|
48155
48185
|
|
|
48186
|
+
/**
|
|
48187
|
+
* Get a routing language
|
|
48188
|
+
*
|
|
48189
|
+
* @param {String} languageId Language ID
|
|
48190
|
+
*/
|
|
48191
|
+
getRoutingLanguage(languageId) {
|
|
48192
|
+
// verify the required parameter 'languageId' is set
|
|
48193
|
+
if (languageId === undefined || languageId === null) {
|
|
48194
|
+
throw 'Missing the required parameter "languageId" when calling getRoutingLanguage';
|
|
48195
|
+
}
|
|
48196
|
+
|
|
48197
|
+
return this.apiClient.callApi(
|
|
48198
|
+
'/api/v2/routing/languages/{languageId}',
|
|
48199
|
+
'GET',
|
|
48200
|
+
{ 'languageId': languageId },
|
|
48201
|
+
{ },
|
|
48202
|
+
{ },
|
|
48203
|
+
{ },
|
|
48204
|
+
null,
|
|
48205
|
+
['PureCloud OAuth'],
|
|
48206
|
+
['application/json'],
|
|
48207
|
+
['application/json']
|
|
48208
|
+
);
|
|
48209
|
+
}
|
|
48210
|
+
|
|
48156
48211
|
/**
|
|
48157
48212
|
* Get the list of supported languages.
|
|
48158
48213
|
*
|
|
@@ -50705,7 +50760,7 @@ class SCIMApi {
|
|
|
50705
50760
|
/**
|
|
50706
50761
|
* SCIM service.
|
|
50707
50762
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
50708
|
-
* @version
|
|
50763
|
+
* @version 157.0.0
|
|
50709
50764
|
*/
|
|
50710
50765
|
|
|
50711
50766
|
/**
|
|
@@ -51582,7 +51637,7 @@ class ScriptsApi {
|
|
|
51582
51637
|
/**
|
|
51583
51638
|
* Scripts service.
|
|
51584
51639
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
51585
|
-
* @version
|
|
51640
|
+
* @version 157.0.0
|
|
51586
51641
|
*/
|
|
51587
51642
|
|
|
51588
51643
|
/**
|
|
@@ -52001,7 +52056,7 @@ class SearchApi {
|
|
|
52001
52056
|
/**
|
|
52002
52057
|
* Search service.
|
|
52003
52058
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
52004
|
-
* @version
|
|
52059
|
+
* @version 157.0.0
|
|
52005
52060
|
*/
|
|
52006
52061
|
|
|
52007
52062
|
/**
|
|
@@ -52586,7 +52641,7 @@ class SpeechTextAnalyticsApi {
|
|
|
52586
52641
|
/**
|
|
52587
52642
|
* SpeechTextAnalytics service.
|
|
52588
52643
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
52589
|
-
* @version
|
|
52644
|
+
* @version 157.0.0
|
|
52590
52645
|
*/
|
|
52591
52646
|
|
|
52592
52647
|
/**
|
|
@@ -53440,7 +53495,7 @@ class StationsApi {
|
|
|
53440
53495
|
/**
|
|
53441
53496
|
* Stations service.
|
|
53442
53497
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
53443
|
-
* @version
|
|
53498
|
+
* @version 157.0.0
|
|
53444
53499
|
*/
|
|
53445
53500
|
|
|
53446
53501
|
/**
|
|
@@ -53587,7 +53642,7 @@ class SuggestApi {
|
|
|
53587
53642
|
/**
|
|
53588
53643
|
* Suggest service.
|
|
53589
53644
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
53590
|
-
* @version
|
|
53645
|
+
* @version 157.0.0
|
|
53591
53646
|
*/
|
|
53592
53647
|
|
|
53593
53648
|
/**
|
|
@@ -53726,7 +53781,7 @@ class TeamsApi {
|
|
|
53726
53781
|
/**
|
|
53727
53782
|
* Teams service.
|
|
53728
53783
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
53729
|
-
* @version
|
|
53784
|
+
* @version 157.0.0
|
|
53730
53785
|
*/
|
|
53731
53786
|
|
|
53732
53787
|
/**
|
|
@@ -53997,7 +54052,7 @@ class TelephonyApi {
|
|
|
53997
54052
|
/**
|
|
53998
54053
|
* Telephony service.
|
|
53999
54054
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
54000
|
-
* @version
|
|
54055
|
+
* @version 157.0.0
|
|
54001
54056
|
*/
|
|
54002
54057
|
|
|
54003
54058
|
/**
|
|
@@ -54125,7 +54180,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
54125
54180
|
/**
|
|
54126
54181
|
* TelephonyProvidersEdge service.
|
|
54127
54182
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
54128
|
-
* @version
|
|
54183
|
+
* @version 157.0.0
|
|
54129
54184
|
*/
|
|
54130
54185
|
|
|
54131
54186
|
/**
|
|
@@ -57758,7 +57813,7 @@ class TextbotsApi {
|
|
|
57758
57813
|
/**
|
|
57759
57814
|
* Textbots service.
|
|
57760
57815
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
57761
|
-
* @version
|
|
57816
|
+
* @version 157.0.0
|
|
57762
57817
|
*/
|
|
57763
57818
|
|
|
57764
57819
|
/**
|
|
@@ -57886,7 +57941,7 @@ class TokensApi {
|
|
|
57886
57941
|
/**
|
|
57887
57942
|
* Tokens service.
|
|
57888
57943
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
57889
|
-
* @version
|
|
57944
|
+
* @version 157.0.0
|
|
57890
57945
|
*/
|
|
57891
57946
|
|
|
57892
57947
|
/**
|
|
@@ -57992,7 +58047,7 @@ class UploadsApi {
|
|
|
57992
58047
|
/**
|
|
57993
58048
|
* Uploads service.
|
|
57994
58049
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
57995
|
-
* @version
|
|
58050
|
+
* @version 157.0.0
|
|
57996
58051
|
*/
|
|
57997
58052
|
|
|
57998
58053
|
/**
|
|
@@ -58168,7 +58223,7 @@ class UsageApi {
|
|
|
58168
58223
|
/**
|
|
58169
58224
|
* Usage service.
|
|
58170
58225
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
58171
|
-
* @version
|
|
58226
|
+
* @version 157.0.0
|
|
58172
58227
|
*/
|
|
58173
58228
|
|
|
58174
58229
|
/**
|
|
@@ -58239,7 +58294,7 @@ class UserRecordingsApi {
|
|
|
58239
58294
|
/**
|
|
58240
58295
|
* UserRecordings service.
|
|
58241
58296
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
58242
|
-
* @version
|
|
58297
|
+
* @version 157.0.0
|
|
58243
58298
|
*/
|
|
58244
58299
|
|
|
58245
58300
|
/**
|
|
@@ -58424,7 +58479,7 @@ class UsersApi {
|
|
|
58424
58479
|
/**
|
|
58425
58480
|
* Users service.
|
|
58426
58481
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
58427
|
-
* @version
|
|
58482
|
+
* @version 157.0.0
|
|
58428
58483
|
*/
|
|
58429
58484
|
|
|
58430
58485
|
/**
|
|
@@ -60781,7 +60836,7 @@ class UtilitiesApi {
|
|
|
60781
60836
|
/**
|
|
60782
60837
|
* Utilities service.
|
|
60783
60838
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
60784
|
-
* @version
|
|
60839
|
+
* @version 157.0.0
|
|
60785
60840
|
*/
|
|
60786
60841
|
|
|
60787
60842
|
/**
|
|
@@ -60892,7 +60947,7 @@ class VoicemailApi {
|
|
|
60892
60947
|
/**
|
|
60893
60948
|
* Voicemail service.
|
|
60894
60949
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
60895
|
-
* @version
|
|
60950
|
+
* @version 157.0.0
|
|
60896
60951
|
*/
|
|
60897
60952
|
|
|
60898
60953
|
/**
|
|
@@ -61559,7 +61614,7 @@ class WebChatApi {
|
|
|
61559
61614
|
/**
|
|
61560
61615
|
* WebChat service.
|
|
61561
61616
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
61562
|
-
* @version
|
|
61617
|
+
* @version 157.0.0
|
|
61563
61618
|
*/
|
|
61564
61619
|
|
|
61565
61620
|
/**
|
|
@@ -62103,7 +62158,7 @@ class WebDeploymentsApi {
|
|
|
62103
62158
|
/**
|
|
62104
62159
|
* WebDeployments service.
|
|
62105
62160
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
62106
|
-
* @version
|
|
62161
|
+
* @version 157.0.0
|
|
62107
62162
|
*/
|
|
62108
62163
|
|
|
62109
62164
|
/**
|
|
@@ -62168,6 +62223,31 @@ class WebDeploymentsApi {
|
|
|
62168
62223
|
);
|
|
62169
62224
|
}
|
|
62170
62225
|
|
|
62226
|
+
/**
|
|
62227
|
+
* Invalidate JWT
|
|
62228
|
+
*
|
|
62229
|
+
* @param {Object} opts Optional parameters
|
|
62230
|
+
* @param {String} opts.xJourneySessionId The Customer's journey sessionId.
|
|
62231
|
+
* @param {String} opts.xJourneySessionType The Customer's journey session type.
|
|
62232
|
+
*/
|
|
62233
|
+
deleteWebdeploymentsTokenRevoke(opts) {
|
|
62234
|
+
opts = opts || {};
|
|
62235
|
+
|
|
62236
|
+
|
|
62237
|
+
return this.apiClient.callApi(
|
|
62238
|
+
'/api/v2/webdeployments/token/revoke',
|
|
62239
|
+
'DELETE',
|
|
62240
|
+
{ },
|
|
62241
|
+
{ },
|
|
62242
|
+
{ 'X-Journey-Session-Id': opts['xJourneySessionId'],'X-Journey-Session-Type': opts['xJourneySessionType'] },
|
|
62243
|
+
{ },
|
|
62244
|
+
null,
|
|
62245
|
+
['PureCloud OAuth'],
|
|
62246
|
+
['application/json'],
|
|
62247
|
+
['application/json']
|
|
62248
|
+
);
|
|
62249
|
+
}
|
|
62250
|
+
|
|
62171
62251
|
/**
|
|
62172
62252
|
* Get a configuration version
|
|
62173
62253
|
*
|
|
@@ -62425,6 +62505,55 @@ class WebDeploymentsApi {
|
|
|
62425
62505
|
);
|
|
62426
62506
|
}
|
|
62427
62507
|
|
|
62508
|
+
/**
|
|
62509
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
62510
|
+
*
|
|
62511
|
+
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
62512
|
+
*/
|
|
62513
|
+
postWebdeploymentsTokenOauthcodegrantjwtexchange(body) {
|
|
62514
|
+
// verify the required parameter 'body' is set
|
|
62515
|
+
if (body === undefined || body === null) {
|
|
62516
|
+
throw 'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';
|
|
62517
|
+
}
|
|
62518
|
+
|
|
62519
|
+
return this.apiClient.callApi(
|
|
62520
|
+
'/api/v2/webdeployments/token/oauthcodegrantjwtexchange',
|
|
62521
|
+
'POST',
|
|
62522
|
+
{ },
|
|
62523
|
+
{ },
|
|
62524
|
+
{ },
|
|
62525
|
+
{ },
|
|
62526
|
+
body,
|
|
62527
|
+
['PureCloud OAuth'],
|
|
62528
|
+
['application/json'],
|
|
62529
|
+
['application/json']
|
|
62530
|
+
);
|
|
62531
|
+
}
|
|
62532
|
+
|
|
62533
|
+
/**
|
|
62534
|
+
* Refresh a JWT.
|
|
62535
|
+
*
|
|
62536
|
+
* @param {Object} opts Optional parameters
|
|
62537
|
+
* @param {Object} opts.body
|
|
62538
|
+
*/
|
|
62539
|
+
postWebdeploymentsTokenRefresh(opts) {
|
|
62540
|
+
opts = opts || {};
|
|
62541
|
+
|
|
62542
|
+
|
|
62543
|
+
return this.apiClient.callApi(
|
|
62544
|
+
'/api/v2/webdeployments/token/refresh',
|
|
62545
|
+
'POST',
|
|
62546
|
+
{ },
|
|
62547
|
+
{ },
|
|
62548
|
+
{ },
|
|
62549
|
+
{ },
|
|
62550
|
+
opts['body'],
|
|
62551
|
+
['PureCloud OAuth'],
|
|
62552
|
+
['application/json'],
|
|
62553
|
+
['application/json']
|
|
62554
|
+
);
|
|
62555
|
+
}
|
|
62556
|
+
|
|
62428
62557
|
/**
|
|
62429
62558
|
* Update the configuration draft
|
|
62430
62559
|
*
|
|
@@ -62491,7 +62620,7 @@ class WebMessagingApi {
|
|
|
62491
62620
|
/**
|
|
62492
62621
|
* WebMessaging service.
|
|
62493
62622
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
62494
|
-
* @version
|
|
62623
|
+
* @version 157.0.0
|
|
62495
62624
|
*/
|
|
62496
62625
|
|
|
62497
62626
|
/**
|
|
@@ -62537,7 +62666,7 @@ class WidgetsApi {
|
|
|
62537
62666
|
/**
|
|
62538
62667
|
* Widgets service.
|
|
62539
62668
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
62540
|
-
* @version
|
|
62669
|
+
* @version 157.0.0
|
|
62541
62670
|
*/
|
|
62542
62671
|
|
|
62543
62672
|
/**
|
|
@@ -62683,7 +62812,7 @@ class WorkforceManagementApi {
|
|
|
62683
62812
|
/**
|
|
62684
62813
|
* WorkforceManagement service.
|
|
62685
62814
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
62686
|
-
* @version
|
|
62815
|
+
* @version 157.0.0
|
|
62687
62816
|
*/
|
|
62688
62817
|
|
|
62689
62818
|
/**
|
|
@@ -63153,6 +63282,31 @@ class WorkforceManagementApi {
|
|
|
63153
63282
|
);
|
|
63154
63283
|
}
|
|
63155
63284
|
|
|
63285
|
+
/**
|
|
63286
|
+
* Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status
|
|
63287
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
63288
|
+
* @param {String} jobId ID of the job to get
|
|
63289
|
+
*/
|
|
63290
|
+
getWorkforcemanagementAdherenceHistoricalBulkJob(jobId) {
|
|
63291
|
+
// verify the required parameter 'jobId' is set
|
|
63292
|
+
if (jobId === undefined || jobId === null) {
|
|
63293
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';
|
|
63294
|
+
}
|
|
63295
|
+
|
|
63296
|
+
return this.apiClient.callApi(
|
|
63297
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}',
|
|
63298
|
+
'GET',
|
|
63299
|
+
{ 'jobId': jobId },
|
|
63300
|
+
{ },
|
|
63301
|
+
{ },
|
|
63302
|
+
{ },
|
|
63303
|
+
null,
|
|
63304
|
+
['PureCloud OAuth'],
|
|
63305
|
+
['application/json'],
|
|
63306
|
+
['application/json']
|
|
63307
|
+
);
|
|
63308
|
+
}
|
|
63309
|
+
|
|
63156
63310
|
/**
|
|
63157
63311
|
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
63158
63312
|
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
@@ -65604,6 +65758,30 @@ class WorkforceManagementApi {
|
|
|
65604
65758
|
);
|
|
65605
65759
|
}
|
|
65606
65760
|
|
|
65761
|
+
/**
|
|
65762
|
+
* Request a historical adherence report in bulk
|
|
65763
|
+
*
|
|
65764
|
+
* @param {Object} opts Optional parameters
|
|
65765
|
+
* @param {Object} opts.body body
|
|
65766
|
+
*/
|
|
65767
|
+
postWorkforcemanagementAdherenceHistoricalBulk(opts) {
|
|
65768
|
+
opts = opts || {};
|
|
65769
|
+
|
|
65770
|
+
|
|
65771
|
+
return this.apiClient.callApi(
|
|
65772
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk',
|
|
65773
|
+
'POST',
|
|
65774
|
+
{ },
|
|
65775
|
+
{ },
|
|
65776
|
+
{ },
|
|
65777
|
+
{ },
|
|
65778
|
+
opts['body'],
|
|
65779
|
+
['PureCloud OAuth'],
|
|
65780
|
+
['application/json'],
|
|
65781
|
+
['application/json']
|
|
65782
|
+
);
|
|
65783
|
+
}
|
|
65784
|
+
|
|
65607
65785
|
/**
|
|
65608
65786
|
* Add an adherence explanation for the requested user
|
|
65609
65787
|
*
|
|
@@ -67353,7 +67531,7 @@ class WorkforceManagementApi {
|
|
|
67353
67531
|
* </pre>
|
|
67354
67532
|
* </p>
|
|
67355
67533
|
* @module purecloud-platform-client-v2/index
|
|
67356
|
-
* @version
|
|
67534
|
+
* @version 157.0.0
|
|
67357
67535
|
*/
|
|
67358
67536
|
class platformClient {
|
|
67359
67537
|
constructor() {
|