purecloud-platform-client-v2 157.0.0 → 159.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 +631 -80
- package/dist/web-amd/purecloud-platform-client-v2.js +631 -80
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +631 -80
- package/dist/web-cjs/purecloud-platform-client-v2.js +641 -80
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +214 -3
- 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 +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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -3
- 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 +371 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +3 -3
- 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 +3 -2
- 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 +61 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5162,6 +5162,8 @@ var INTRINSICS = {
|
|
|
5162
5162
|
'%AsyncIteratorPrototype%': needsEval,
|
|
5163
5163
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
5164
5164
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
5165
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
5166
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
5165
5167
|
'%Boolean%': Boolean,
|
|
5166
5168
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
5167
5169
|
'%Date%': Date,
|
|
@@ -5217,6 +5219,14 @@ var INTRINSICS = {
|
|
|
5217
5219
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
5218
5220
|
};
|
|
5219
5221
|
|
|
5222
|
+
try {
|
|
5223
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
5224
|
+
} catch (e) {
|
|
5225
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
5226
|
+
var errorProto = getProto(getProto(e));
|
|
5227
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
5228
|
+
}
|
|
5229
|
+
|
|
5220
5230
|
var doEval = function doEval(name) {
|
|
5221
5231
|
var value;
|
|
5222
5232
|
if (name === '%AsyncFunction%') {
|
|
@@ -9311,7 +9321,7 @@ class Configuration {
|
|
|
9311
9321
|
|
|
9312
9322
|
/**
|
|
9313
9323
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9314
|
-
* @version
|
|
9324
|
+
* @version 159.0.0
|
|
9315
9325
|
*/
|
|
9316
9326
|
class ApiClient {
|
|
9317
9327
|
/**
|
|
@@ -10383,7 +10393,7 @@ class AlertingApi {
|
|
|
10383
10393
|
/**
|
|
10384
10394
|
* Alerting service.
|
|
10385
10395
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10386
|
-
* @version
|
|
10396
|
+
* @version 159.0.0
|
|
10387
10397
|
*/
|
|
10388
10398
|
|
|
10389
10399
|
/**
|
|
@@ -10697,7 +10707,7 @@ class AnalyticsApi {
|
|
|
10697
10707
|
/**
|
|
10698
10708
|
* Analytics service.
|
|
10699
10709
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10700
|
-
* @version
|
|
10710
|
+
* @version 159.0.0
|
|
10701
10711
|
*/
|
|
10702
10712
|
|
|
10703
10713
|
/**
|
|
@@ -11951,7 +11961,7 @@ class ArchitectApi {
|
|
|
11951
11961
|
/**
|
|
11952
11962
|
* Architect service.
|
|
11953
11963
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11954
|
-
* @version
|
|
11964
|
+
* @version 159.0.0
|
|
11955
11965
|
*/
|
|
11956
11966
|
|
|
11957
11967
|
/**
|
|
@@ -14999,7 +15009,7 @@ class AuditApi {
|
|
|
14999
15009
|
/**
|
|
15000
15010
|
* Audit service.
|
|
15001
15011
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
15002
|
-
* @version
|
|
15012
|
+
* @version 159.0.0
|
|
15003
15013
|
*/
|
|
15004
15014
|
|
|
15005
15015
|
/**
|
|
@@ -15170,7 +15180,7 @@ class AuthorizationApi {
|
|
|
15170
15180
|
/**
|
|
15171
15181
|
* Authorization service.
|
|
15172
15182
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15173
|
-
* @version
|
|
15183
|
+
* @version 159.0.0
|
|
15174
15184
|
*/
|
|
15175
15185
|
|
|
15176
15186
|
/**
|
|
@@ -16398,7 +16408,7 @@ class BillingApi {
|
|
|
16398
16408
|
/**
|
|
16399
16409
|
* Billing service.
|
|
16400
16410
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16401
|
-
* @version
|
|
16411
|
+
* @version 159.0.0
|
|
16402
16412
|
*/
|
|
16403
16413
|
|
|
16404
16414
|
/**
|
|
@@ -16478,7 +16488,7 @@ class ChatApi {
|
|
|
16478
16488
|
/**
|
|
16479
16489
|
* Chat service.
|
|
16480
16490
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16481
|
-
* @version
|
|
16491
|
+
* @version 159.0.0
|
|
16482
16492
|
*/
|
|
16483
16493
|
|
|
16484
16494
|
/**
|
|
@@ -16569,7 +16579,7 @@ class CoachingApi {
|
|
|
16569
16579
|
/**
|
|
16570
16580
|
* Coaching service.
|
|
16571
16581
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16572
|
-
* @version
|
|
16582
|
+
* @version 159.0.0
|
|
16573
16583
|
*/
|
|
16574
16584
|
|
|
16575
16585
|
/**
|
|
@@ -17146,7 +17156,7 @@ class ContentManagementApi {
|
|
|
17146
17156
|
/**
|
|
17147
17157
|
* ContentManagement service.
|
|
17148
17158
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17149
|
-
* @version
|
|
17159
|
+
* @version 159.0.0
|
|
17150
17160
|
*/
|
|
17151
17161
|
|
|
17152
17162
|
/**
|
|
@@ -18286,7 +18296,7 @@ class ConversationsApi {
|
|
|
18286
18296
|
/**
|
|
18287
18297
|
* Conversations service.
|
|
18288
18298
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18289
|
-
* @version
|
|
18299
|
+
* @version 159.0.0
|
|
18290
18300
|
*/
|
|
18291
18301
|
|
|
18292
18302
|
/**
|
|
@@ -21673,6 +21683,31 @@ class ConversationsApi {
|
|
|
21673
21683
|
);
|
|
21674
21684
|
}
|
|
21675
21685
|
|
|
21686
|
+
/**
|
|
21687
|
+
* Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
|
|
21688
|
+
*
|
|
21689
|
+
* @param {String} conversationId Conversation ID
|
|
21690
|
+
*/
|
|
21691
|
+
postConversationCobrowse(conversationId) {
|
|
21692
|
+
// verify the required parameter 'conversationId' is set
|
|
21693
|
+
if (conversationId === undefined || conversationId === null) {
|
|
21694
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
|
|
21695
|
+
}
|
|
21696
|
+
|
|
21697
|
+
return this.apiClient.callApi(
|
|
21698
|
+
'/api/v2/conversations/{conversationId}/cobrowse',
|
|
21699
|
+
'POST',
|
|
21700
|
+
{ 'conversationId': conversationId },
|
|
21701
|
+
{ },
|
|
21702
|
+
{ },
|
|
21703
|
+
{ },
|
|
21704
|
+
null,
|
|
21705
|
+
['PureCloud OAuth'],
|
|
21706
|
+
['application/json'],
|
|
21707
|
+
['application/json']
|
|
21708
|
+
);
|
|
21709
|
+
}
|
|
21710
|
+
|
|
21676
21711
|
/**
|
|
21677
21712
|
* Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
|
|
21678
21713
|
*
|
|
@@ -23509,7 +23544,7 @@ class DataExtensionsApi {
|
|
|
23509
23544
|
/**
|
|
23510
23545
|
* DataExtensions service.
|
|
23511
23546
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23512
|
-
* @version
|
|
23547
|
+
* @version 159.0.0
|
|
23513
23548
|
*/
|
|
23514
23549
|
|
|
23515
23550
|
/**
|
|
@@ -23595,7 +23630,7 @@ class DownloadsApi {
|
|
|
23595
23630
|
/**
|
|
23596
23631
|
* Downloads service.
|
|
23597
23632
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23598
|
-
* @version
|
|
23633
|
+
* @version 159.0.0
|
|
23599
23634
|
*/
|
|
23600
23635
|
|
|
23601
23636
|
/**
|
|
@@ -23647,7 +23682,7 @@ class EventsApi {
|
|
|
23647
23682
|
/**
|
|
23648
23683
|
* Events service.
|
|
23649
23684
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
23650
|
-
* @version
|
|
23685
|
+
* @version 159.0.0
|
|
23651
23686
|
*/
|
|
23652
23687
|
|
|
23653
23688
|
/**
|
|
@@ -23743,7 +23778,7 @@ class ExternalContactsApi {
|
|
|
23743
23778
|
/**
|
|
23744
23779
|
* ExternalContacts service.
|
|
23745
23780
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23746
|
-
* @version
|
|
23781
|
+
* @version 159.0.0
|
|
23747
23782
|
*/
|
|
23748
23783
|
|
|
23749
23784
|
/**
|
|
@@ -25701,7 +25736,7 @@ class FaxApi {
|
|
|
25701
25736
|
/**
|
|
25702
25737
|
* Fax service.
|
|
25703
25738
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25704
|
-
* @version
|
|
25739
|
+
* @version 159.0.0
|
|
25705
25740
|
*/
|
|
25706
25741
|
|
|
25707
25742
|
/**
|
|
@@ -25872,7 +25907,7 @@ class FlowsApi {
|
|
|
25872
25907
|
/**
|
|
25873
25908
|
* Flows service.
|
|
25874
25909
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25875
|
-
* @version
|
|
25910
|
+
* @version 159.0.0
|
|
25876
25911
|
*/
|
|
25877
25912
|
|
|
25878
25913
|
/**
|
|
@@ -25943,7 +25978,7 @@ class GamificationApi {
|
|
|
25943
25978
|
/**
|
|
25944
25979
|
* Gamification service.
|
|
25945
25980
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25946
|
-
* @version
|
|
25981
|
+
* @version 159.0.0
|
|
25947
25982
|
*/
|
|
25948
25983
|
|
|
25949
25984
|
/**
|
|
@@ -27560,7 +27595,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27560
27595
|
/**
|
|
27561
27596
|
* GeneralDataProtectionRegulation service.
|
|
27562
27597
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27563
|
-
* @version
|
|
27598
|
+
* @version 159.0.0
|
|
27564
27599
|
*/
|
|
27565
27600
|
|
|
27566
27601
|
/**
|
|
@@ -27690,7 +27725,7 @@ class GeolocationApi {
|
|
|
27690
27725
|
/**
|
|
27691
27726
|
* Geolocation service.
|
|
27692
27727
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27693
|
-
* @version
|
|
27728
|
+
* @version 159.0.0
|
|
27694
27729
|
*/
|
|
27695
27730
|
|
|
27696
27731
|
/**
|
|
@@ -27821,7 +27856,7 @@ class GreetingsApi {
|
|
|
27821
27856
|
/**
|
|
27822
27857
|
* Greetings service.
|
|
27823
27858
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27824
|
-
* @version
|
|
27859
|
+
* @version 159.0.0
|
|
27825
27860
|
*/
|
|
27826
27861
|
|
|
27827
27862
|
/**
|
|
@@ -28276,7 +28311,7 @@ class GroupsApi {
|
|
|
28276
28311
|
/**
|
|
28277
28312
|
* Groups service.
|
|
28278
28313
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28279
|
-
* @version
|
|
28314
|
+
* @version 159.0.0
|
|
28280
28315
|
*/
|
|
28281
28316
|
|
|
28282
28317
|
/**
|
|
@@ -28682,7 +28717,7 @@ class IdentityProviderApi {
|
|
|
28682
28717
|
/**
|
|
28683
28718
|
* IdentityProvider service.
|
|
28684
28719
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28685
|
-
* @version
|
|
28720
|
+
* @version 159.0.0
|
|
28686
28721
|
*/
|
|
28687
28722
|
|
|
28688
28723
|
/**
|
|
@@ -29438,7 +29473,7 @@ class IntegrationsApi {
|
|
|
29438
29473
|
/**
|
|
29439
29474
|
* Integrations service.
|
|
29440
29475
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29441
|
-
* @version
|
|
29476
|
+
* @version 159.0.0
|
|
29442
29477
|
*/
|
|
29443
29478
|
|
|
29444
29479
|
/**
|
|
@@ -31038,7 +31073,7 @@ class JourneyApi {
|
|
|
31038
31073
|
/**
|
|
31039
31074
|
* Journey service.
|
|
31040
31075
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31041
|
-
* @version
|
|
31076
|
+
* @version 159.0.0
|
|
31042
31077
|
*/
|
|
31043
31078
|
|
|
31044
31079
|
/**
|
|
@@ -31132,6 +31167,31 @@ class JourneyApi {
|
|
|
31132
31167
|
);
|
|
31133
31168
|
}
|
|
31134
31169
|
|
|
31170
|
+
/**
|
|
31171
|
+
* Delete an outcome predictor.
|
|
31172
|
+
*
|
|
31173
|
+
* @param {String} predictorId ID of predictor
|
|
31174
|
+
*/
|
|
31175
|
+
deleteJourneyOutcomesPredictor(predictorId) {
|
|
31176
|
+
// verify the required parameter 'predictorId' is set
|
|
31177
|
+
if (predictorId === undefined || predictorId === null) {
|
|
31178
|
+
throw 'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';
|
|
31179
|
+
}
|
|
31180
|
+
|
|
31181
|
+
return this.apiClient.callApi(
|
|
31182
|
+
'/api/v2/journey/outcomes/predictors/{predictorId}',
|
|
31183
|
+
'DELETE',
|
|
31184
|
+
{ 'predictorId': predictorId },
|
|
31185
|
+
{ },
|
|
31186
|
+
{ },
|
|
31187
|
+
{ },
|
|
31188
|
+
null,
|
|
31189
|
+
['PureCloud OAuth'],
|
|
31190
|
+
['application/json'],
|
|
31191
|
+
['application/json']
|
|
31192
|
+
);
|
|
31193
|
+
}
|
|
31194
|
+
|
|
31135
31195
|
/**
|
|
31136
31196
|
* Delete a segment.
|
|
31137
31197
|
*
|
|
@@ -31422,6 +31482,51 @@ class JourneyApi {
|
|
|
31422
31482
|
);
|
|
31423
31483
|
}
|
|
31424
31484
|
|
|
31485
|
+
/**
|
|
31486
|
+
* Retrieve a single outcome predictor.
|
|
31487
|
+
*
|
|
31488
|
+
* @param {String} predictorId ID of predictor
|
|
31489
|
+
*/
|
|
31490
|
+
getJourneyOutcomesPredictor(predictorId) {
|
|
31491
|
+
// verify the required parameter 'predictorId' is set
|
|
31492
|
+
if (predictorId === undefined || predictorId === null) {
|
|
31493
|
+
throw 'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';
|
|
31494
|
+
}
|
|
31495
|
+
|
|
31496
|
+
return this.apiClient.callApi(
|
|
31497
|
+
'/api/v2/journey/outcomes/predictors/{predictorId}',
|
|
31498
|
+
'GET',
|
|
31499
|
+
{ 'predictorId': predictorId },
|
|
31500
|
+
{ },
|
|
31501
|
+
{ },
|
|
31502
|
+
{ },
|
|
31503
|
+
null,
|
|
31504
|
+
['PureCloud OAuth'],
|
|
31505
|
+
['application/json'],
|
|
31506
|
+
['application/json']
|
|
31507
|
+
);
|
|
31508
|
+
}
|
|
31509
|
+
|
|
31510
|
+
/**
|
|
31511
|
+
* Retrieve all outcome predictors.
|
|
31512
|
+
*
|
|
31513
|
+
*/
|
|
31514
|
+
getJourneyOutcomesPredictors() {
|
|
31515
|
+
|
|
31516
|
+
return this.apiClient.callApi(
|
|
31517
|
+
'/api/v2/journey/outcomes/predictors',
|
|
31518
|
+
'GET',
|
|
31519
|
+
{ },
|
|
31520
|
+
{ },
|
|
31521
|
+
{ },
|
|
31522
|
+
{ },
|
|
31523
|
+
null,
|
|
31524
|
+
['PureCloud OAuth'],
|
|
31525
|
+
['application/json'],
|
|
31526
|
+
['application/json']
|
|
31527
|
+
);
|
|
31528
|
+
}
|
|
31529
|
+
|
|
31425
31530
|
/**
|
|
31426
31531
|
* Retrieve a single segment.
|
|
31427
31532
|
*
|
|
@@ -31794,6 +31899,30 @@ class JourneyApi {
|
|
|
31794
31899
|
);
|
|
31795
31900
|
}
|
|
31796
31901
|
|
|
31902
|
+
/**
|
|
31903
|
+
* Create an outcome predictor.
|
|
31904
|
+
*
|
|
31905
|
+
* @param {Object} opts Optional parameters
|
|
31906
|
+
* @param {Object} opts.body
|
|
31907
|
+
*/
|
|
31908
|
+
postJourneyOutcomesPredictors(opts) {
|
|
31909
|
+
opts = opts || {};
|
|
31910
|
+
|
|
31911
|
+
|
|
31912
|
+
return this.apiClient.callApi(
|
|
31913
|
+
'/api/v2/journey/outcomes/predictors',
|
|
31914
|
+
'POST',
|
|
31915
|
+
{ },
|
|
31916
|
+
{ },
|
|
31917
|
+
{ },
|
|
31918
|
+
{ },
|
|
31919
|
+
opts['body'],
|
|
31920
|
+
['PureCloud OAuth'],
|
|
31921
|
+
['application/json'],
|
|
31922
|
+
['application/json']
|
|
31923
|
+
);
|
|
31924
|
+
}
|
|
31925
|
+
|
|
31797
31926
|
/**
|
|
31798
31927
|
* Create a segment.
|
|
31799
31928
|
*
|
|
@@ -31824,7 +31953,7 @@ class KnowledgeApi {
|
|
|
31824
31953
|
/**
|
|
31825
31954
|
* Knowledge service.
|
|
31826
31955
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31827
|
-
* @version
|
|
31956
|
+
* @version 159.0.0
|
|
31828
31957
|
*/
|
|
31829
31958
|
|
|
31830
31959
|
/**
|
|
@@ -32227,7 +32356,6 @@ class KnowledgeApi {
|
|
|
32227
32356
|
* @param {String} sessionId Knowledge guest session ID.
|
|
32228
32357
|
* @param {Object} opts Optional parameters
|
|
32229
32358
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
32230
|
-
* @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
32231
32359
|
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
|
|
32232
32360
|
*/
|
|
32233
32361
|
getKnowledgeGuestSessionDocuments(sessionId, opts) {
|
|
@@ -32242,7 +32370,7 @@ class KnowledgeApi {
|
|
|
32242
32370
|
'/api/v2/knowledge/guest/sessions/{sessionId}/documents',
|
|
32243
32371
|
'GET',
|
|
32244
32372
|
{ 'sessionId': sessionId },
|
|
32245
|
-
{ 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'
|
|
32373
|
+
{ 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
32246
32374
|
{ },
|
|
32247
32375
|
{ },
|
|
32248
32376
|
null,
|
|
@@ -34257,7 +34385,7 @@ class LanguageUnderstandingApi {
|
|
|
34257
34385
|
/**
|
|
34258
34386
|
* LanguageUnderstanding service.
|
|
34259
34387
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
34260
|
-
* @version
|
|
34388
|
+
* @version 159.0.0
|
|
34261
34389
|
*/
|
|
34262
34390
|
|
|
34263
34391
|
/**
|
|
@@ -34451,6 +34579,7 @@ class LanguageUnderstandingApi {
|
|
|
34451
34579
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
34452
34580
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
34453
34581
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
34582
|
+
* @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
|
|
34454
34583
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. This is considered only when enableCursorPagination=true
|
|
34455
34584
|
* @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
|
|
34456
34585
|
*/
|
|
@@ -34466,7 +34595,7 @@ class LanguageUnderstandingApi {
|
|
|
34466
34595
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
34467
34596
|
'GET',
|
|
34468
34597
|
{ 'domainId': domainId },
|
|
34469
|
-
{ 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
|
|
34598
|
+
{ 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'includeTrainingUtterances': opts['includeTrainingUtterances'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
|
|
34470
34599
|
{ },
|
|
34471
34600
|
{ },
|
|
34472
34601
|
null,
|
|
@@ -35269,7 +35398,7 @@ class LanguagesApi {
|
|
|
35269
35398
|
/**
|
|
35270
35399
|
* Languages service.
|
|
35271
35400
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
35272
|
-
* @version
|
|
35401
|
+
* @version 159.0.0
|
|
35273
35402
|
*/
|
|
35274
35403
|
|
|
35275
35404
|
/**
|
|
@@ -35487,7 +35616,7 @@ class LearningApi {
|
|
|
35487
35616
|
/**
|
|
35488
35617
|
* Learning service.
|
|
35489
35618
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35490
|
-
* @version
|
|
35619
|
+
* @version 159.0.0
|
|
35491
35620
|
*/
|
|
35492
35621
|
|
|
35493
35622
|
/**
|
|
@@ -35597,7 +35726,7 @@ class LearningApi {
|
|
|
35597
35726
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
35598
35727
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
35599
35728
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
35600
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
35729
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
35601
35730
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
35602
35731
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
35603
35732
|
*/
|
|
@@ -35634,7 +35763,7 @@ class LearningApi {
|
|
|
35634
35763
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
35635
35764
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
35636
35765
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
35637
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
35766
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
35638
35767
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
35639
35768
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
35640
35769
|
*/
|
|
@@ -36248,7 +36377,7 @@ class LicenseApi {
|
|
|
36248
36377
|
/**
|
|
36249
36378
|
* License service.
|
|
36250
36379
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
36251
|
-
* @version
|
|
36380
|
+
* @version 159.0.0
|
|
36252
36381
|
*/
|
|
36253
36382
|
|
|
36254
36383
|
/**
|
|
@@ -36486,7 +36615,7 @@ class LocationsApi {
|
|
|
36486
36615
|
/**
|
|
36487
36616
|
* Locations service.
|
|
36488
36617
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36489
|
-
* @version
|
|
36618
|
+
* @version 159.0.0
|
|
36490
36619
|
*/
|
|
36491
36620
|
|
|
36492
36621
|
/**
|
|
@@ -36722,7 +36851,7 @@ class MessagingApi {
|
|
|
36722
36851
|
/**
|
|
36723
36852
|
* Messaging service.
|
|
36724
36853
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36725
|
-
* @version
|
|
36854
|
+
* @version 159.0.0
|
|
36726
36855
|
*/
|
|
36727
36856
|
|
|
36728
36857
|
/**
|
|
@@ -36873,7 +37002,7 @@ class MobileDevicesApi {
|
|
|
36873
37002
|
/**
|
|
36874
37003
|
* MobileDevices service.
|
|
36875
37004
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36876
|
-
* @version
|
|
37005
|
+
* @version 159.0.0
|
|
36877
37006
|
*/
|
|
36878
37007
|
|
|
36879
37008
|
/**
|
|
@@ -37024,7 +37153,7 @@ class NotificationsApi {
|
|
|
37024
37153
|
/**
|
|
37025
37154
|
* Notifications service.
|
|
37026
37155
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
37027
|
-
* @version
|
|
37156
|
+
* @version 159.0.0
|
|
37028
37157
|
*/
|
|
37029
37158
|
|
|
37030
37159
|
/**
|
|
@@ -37249,7 +37378,7 @@ class OAuthApi {
|
|
|
37249
37378
|
/**
|
|
37250
37379
|
* OAuth service.
|
|
37251
37380
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
37252
|
-
* @version
|
|
37381
|
+
* @version 159.0.0
|
|
37253
37382
|
*/
|
|
37254
37383
|
|
|
37255
37384
|
/**
|
|
@@ -37615,7 +37744,7 @@ class ObjectsApi {
|
|
|
37615
37744
|
/**
|
|
37616
37745
|
* Objects service.
|
|
37617
37746
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37618
|
-
* @version
|
|
37747
|
+
* @version 159.0.0
|
|
37619
37748
|
*/
|
|
37620
37749
|
|
|
37621
37750
|
/**
|
|
@@ -37886,7 +38015,7 @@ class OrganizationApi {
|
|
|
37886
38015
|
/**
|
|
37887
38016
|
* Organization service.
|
|
37888
38017
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37889
|
-
* @version
|
|
38018
|
+
* @version 159.0.0
|
|
37890
38019
|
*/
|
|
37891
38020
|
|
|
37892
38021
|
/**
|
|
@@ -38289,7 +38418,7 @@ class OrganizationAuthorizationApi {
|
|
|
38289
38418
|
/**
|
|
38290
38419
|
* OrganizationAuthorization service.
|
|
38291
38420
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
38292
|
-
* @version
|
|
38421
|
+
* @version 159.0.0
|
|
38293
38422
|
*/
|
|
38294
38423
|
|
|
38295
38424
|
/**
|
|
@@ -38359,6 +38488,66 @@ class OrganizationAuthorizationApi {
|
|
|
38359
38488
|
);
|
|
38360
38489
|
}
|
|
38361
38490
|
|
|
38491
|
+
/**
|
|
38492
|
+
* Delete Trustee Group
|
|
38493
|
+
*
|
|
38494
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38495
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38496
|
+
*/
|
|
38497
|
+
deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
38498
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38499
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38500
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
38501
|
+
}
|
|
38502
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38503
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38504
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
38505
|
+
}
|
|
38506
|
+
|
|
38507
|
+
return this.apiClient.callApi(
|
|
38508
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
38509
|
+
'DELETE',
|
|
38510
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38511
|
+
{ },
|
|
38512
|
+
{ },
|
|
38513
|
+
{ },
|
|
38514
|
+
null,
|
|
38515
|
+
['PureCloud OAuth'],
|
|
38516
|
+
['application/json'],
|
|
38517
|
+
['application/json']
|
|
38518
|
+
);
|
|
38519
|
+
}
|
|
38520
|
+
|
|
38521
|
+
/**
|
|
38522
|
+
* Delete Trustee Group Roles
|
|
38523
|
+
*
|
|
38524
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38525
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38526
|
+
*/
|
|
38527
|
+
deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
38528
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38529
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38530
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
38531
|
+
}
|
|
38532
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38533
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38534
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
38535
|
+
}
|
|
38536
|
+
|
|
38537
|
+
return this.apiClient.callApi(
|
|
38538
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
38539
|
+
'DELETE',
|
|
38540
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38541
|
+
{ },
|
|
38542
|
+
{ },
|
|
38543
|
+
{ },
|
|
38544
|
+
null,
|
|
38545
|
+
['PureCloud OAuth'],
|
|
38546
|
+
['application/json'],
|
|
38547
|
+
['application/json']
|
|
38548
|
+
);
|
|
38549
|
+
}
|
|
38550
|
+
|
|
38362
38551
|
/**
|
|
38363
38552
|
* Delete Trustee User
|
|
38364
38553
|
*
|
|
@@ -38474,6 +38663,36 @@ class OrganizationAuthorizationApi {
|
|
|
38474
38663
|
);
|
|
38475
38664
|
}
|
|
38476
38665
|
|
|
38666
|
+
/**
|
|
38667
|
+
* Delete Trustee Group
|
|
38668
|
+
*
|
|
38669
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
38670
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
38671
|
+
*/
|
|
38672
|
+
deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
38673
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
38674
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
38675
|
+
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
|
|
38676
|
+
}
|
|
38677
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
38678
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
38679
|
+
throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
|
|
38680
|
+
}
|
|
38681
|
+
|
|
38682
|
+
return this.apiClient.callApi(
|
|
38683
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
38684
|
+
'DELETE',
|
|
38685
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
38686
|
+
{ },
|
|
38687
|
+
{ },
|
|
38688
|
+
{ },
|
|
38689
|
+
null,
|
|
38690
|
+
['PureCloud OAuth'],
|
|
38691
|
+
['application/json'],
|
|
38692
|
+
['application/json']
|
|
38693
|
+
);
|
|
38694
|
+
}
|
|
38695
|
+
|
|
38477
38696
|
/**
|
|
38478
38697
|
* Delete Trustee User
|
|
38479
38698
|
*
|
|
@@ -38579,6 +38798,96 @@ class OrganizationAuthorizationApi {
|
|
|
38579
38798
|
);
|
|
38580
38799
|
}
|
|
38581
38800
|
|
|
38801
|
+
/**
|
|
38802
|
+
* Get Trustee Group
|
|
38803
|
+
*
|
|
38804
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38805
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38806
|
+
*/
|
|
38807
|
+
getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
38808
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38809
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38810
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
|
|
38811
|
+
}
|
|
38812
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38813
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38814
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
|
|
38815
|
+
}
|
|
38816
|
+
|
|
38817
|
+
return this.apiClient.callApi(
|
|
38818
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
38819
|
+
'GET',
|
|
38820
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38821
|
+
{ },
|
|
38822
|
+
{ },
|
|
38823
|
+
{ },
|
|
38824
|
+
null,
|
|
38825
|
+
['PureCloud OAuth'],
|
|
38826
|
+
['application/json'],
|
|
38827
|
+
['application/json']
|
|
38828
|
+
);
|
|
38829
|
+
}
|
|
38830
|
+
|
|
38831
|
+
/**
|
|
38832
|
+
* Get Trustee Group Roles
|
|
38833
|
+
*
|
|
38834
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38835
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38836
|
+
*/
|
|
38837
|
+
getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
38838
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38839
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38840
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
38841
|
+
}
|
|
38842
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38843
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38844
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
38845
|
+
}
|
|
38846
|
+
|
|
38847
|
+
return this.apiClient.callApi(
|
|
38848
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
38849
|
+
'GET',
|
|
38850
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38851
|
+
{ },
|
|
38852
|
+
{ },
|
|
38853
|
+
{ },
|
|
38854
|
+
null,
|
|
38855
|
+
['PureCloud OAuth'],
|
|
38856
|
+
['application/json'],
|
|
38857
|
+
['application/json']
|
|
38858
|
+
);
|
|
38859
|
+
}
|
|
38860
|
+
|
|
38861
|
+
/**
|
|
38862
|
+
* The list of trustee groups for this organization (i.e. groups granted access to this organization).
|
|
38863
|
+
*
|
|
38864
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38865
|
+
* @param {Object} opts Optional parameters
|
|
38866
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
38867
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
38868
|
+
*/
|
|
38869
|
+
getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
|
|
38870
|
+
opts = opts || {};
|
|
38871
|
+
|
|
38872
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38873
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38874
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
|
|
38875
|
+
}
|
|
38876
|
+
|
|
38877
|
+
return this.apiClient.callApi(
|
|
38878
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
38879
|
+
'GET',
|
|
38880
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
38881
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
38882
|
+
{ },
|
|
38883
|
+
{ },
|
|
38884
|
+
null,
|
|
38885
|
+
['PureCloud OAuth'],
|
|
38886
|
+
['application/json'],
|
|
38887
|
+
['application/json']
|
|
38888
|
+
);
|
|
38889
|
+
}
|
|
38890
|
+
|
|
38582
38891
|
/**
|
|
38583
38892
|
* Get Trustee User
|
|
38584
38893
|
*
|
|
@@ -38794,6 +39103,66 @@ class OrganizationAuthorizationApi {
|
|
|
38794
39103
|
);
|
|
38795
39104
|
}
|
|
38796
39105
|
|
|
39106
|
+
/**
|
|
39107
|
+
* Get Trustee Group
|
|
39108
|
+
*
|
|
39109
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
39110
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
39111
|
+
*/
|
|
39112
|
+
getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
39113
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39114
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39115
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
|
|
39116
|
+
}
|
|
39117
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
39118
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
39119
|
+
throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
|
|
39120
|
+
}
|
|
39121
|
+
|
|
39122
|
+
return this.apiClient.callApi(
|
|
39123
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
39124
|
+
'GET',
|
|
39125
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
39126
|
+
{ },
|
|
39127
|
+
{ },
|
|
39128
|
+
{ },
|
|
39129
|
+
null,
|
|
39130
|
+
['PureCloud OAuth'],
|
|
39131
|
+
['application/json'],
|
|
39132
|
+
['application/json']
|
|
39133
|
+
);
|
|
39134
|
+
}
|
|
39135
|
+
|
|
39136
|
+
/**
|
|
39137
|
+
* The list of groups in the trustor organization (i.e. groups granted access).
|
|
39138
|
+
*
|
|
39139
|
+
* @param {String} trustorOrgId Trustee Organization Id
|
|
39140
|
+
* @param {Object} opts Optional parameters
|
|
39141
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
39142
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
39143
|
+
*/
|
|
39144
|
+
getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
|
|
39145
|
+
opts = opts || {};
|
|
39146
|
+
|
|
39147
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39148
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39149
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
|
|
39150
|
+
}
|
|
39151
|
+
|
|
39152
|
+
return this.apiClient.callApi(
|
|
39153
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
|
|
39154
|
+
'GET',
|
|
39155
|
+
{ 'trustorOrgId': trustorOrgId },
|
|
39156
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
39157
|
+
{ },
|
|
39158
|
+
{ },
|
|
39159
|
+
null,
|
|
39160
|
+
['PureCloud OAuth'],
|
|
39161
|
+
['application/json'],
|
|
39162
|
+
['application/json']
|
|
39163
|
+
);
|
|
39164
|
+
}
|
|
39165
|
+
|
|
38797
39166
|
/**
|
|
38798
39167
|
* Get Trustee User
|
|
38799
39168
|
*
|
|
@@ -38904,6 +39273,36 @@ class OrganizationAuthorizationApi {
|
|
|
38904
39273
|
);
|
|
38905
39274
|
}
|
|
38906
39275
|
|
|
39276
|
+
/**
|
|
39277
|
+
* Add a group to the trust.
|
|
39278
|
+
*
|
|
39279
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39280
|
+
* @param {Object} body Trust
|
|
39281
|
+
*/
|
|
39282
|
+
postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
|
|
39283
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39284
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39285
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
|
|
39286
|
+
}
|
|
39287
|
+
// verify the required parameter 'body' is set
|
|
39288
|
+
if (body === undefined || body === null) {
|
|
39289
|
+
throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
|
|
39290
|
+
}
|
|
39291
|
+
|
|
39292
|
+
return this.apiClient.callApi(
|
|
39293
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
39294
|
+
'POST',
|
|
39295
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
39296
|
+
{ },
|
|
39297
|
+
{ },
|
|
39298
|
+
{ },
|
|
39299
|
+
body,
|
|
39300
|
+
['PureCloud OAuth'],
|
|
39301
|
+
['application/json'],
|
|
39302
|
+
['application/json']
|
|
39303
|
+
);
|
|
39304
|
+
}
|
|
39305
|
+
|
|
38907
39306
|
/**
|
|
38908
39307
|
* Add a user to the trust.
|
|
38909
39308
|
*
|
|
@@ -39078,6 +39477,76 @@ class OrganizationAuthorizationApi {
|
|
|
39078
39477
|
);
|
|
39079
39478
|
}
|
|
39080
39479
|
|
|
39480
|
+
/**
|
|
39481
|
+
* Update Trustee Group Roles
|
|
39482
|
+
*
|
|
39483
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39484
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
39485
|
+
* @param {Object} body Set of roles with corresponding divisions to apply
|
|
39486
|
+
*/
|
|
39487
|
+
putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
|
|
39488
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39489
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39490
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39491
|
+
}
|
|
39492
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
39493
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
39494
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39495
|
+
}
|
|
39496
|
+
// verify the required parameter 'body' is set
|
|
39497
|
+
if (body === undefined || body === null) {
|
|
39498
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39499
|
+
}
|
|
39500
|
+
|
|
39501
|
+
return this.apiClient.callApi(
|
|
39502
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
|
|
39503
|
+
'PUT',
|
|
39504
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
39505
|
+
{ },
|
|
39506
|
+
{ },
|
|
39507
|
+
{ },
|
|
39508
|
+
body,
|
|
39509
|
+
['PureCloud OAuth'],
|
|
39510
|
+
['application/json'],
|
|
39511
|
+
['application/json']
|
|
39512
|
+
);
|
|
39513
|
+
}
|
|
39514
|
+
|
|
39515
|
+
/**
|
|
39516
|
+
* Update Trustee Group Roles
|
|
39517
|
+
*
|
|
39518
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39519
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
39520
|
+
* @param {Array.<String>} body List of roles
|
|
39521
|
+
*/
|
|
39522
|
+
putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
|
|
39523
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39524
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39525
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39526
|
+
}
|
|
39527
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
39528
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
39529
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39530
|
+
}
|
|
39531
|
+
// verify the required parameter 'body' is set
|
|
39532
|
+
if (body === undefined || body === null) {
|
|
39533
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39534
|
+
}
|
|
39535
|
+
|
|
39536
|
+
return this.apiClient.callApi(
|
|
39537
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
39538
|
+
'PUT',
|
|
39539
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
39540
|
+
{ },
|
|
39541
|
+
{ },
|
|
39542
|
+
{ },
|
|
39543
|
+
body,
|
|
39544
|
+
['PureCloud OAuth'],
|
|
39545
|
+
['application/json'],
|
|
39546
|
+
['application/json']
|
|
39547
|
+
);
|
|
39548
|
+
}
|
|
39549
|
+
|
|
39081
39550
|
/**
|
|
39082
39551
|
* Update Trustee User Roles
|
|
39083
39552
|
*
|
|
@@ -39178,6 +39647,36 @@ class OrganizationAuthorizationApi {
|
|
|
39178
39647
|
);
|
|
39179
39648
|
}
|
|
39180
39649
|
|
|
39650
|
+
/**
|
|
39651
|
+
* Add a Trustee Group to the trust.
|
|
39652
|
+
*
|
|
39653
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
39654
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
39655
|
+
*/
|
|
39656
|
+
putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
39657
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39658
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39659
|
+
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
|
|
39660
|
+
}
|
|
39661
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
39662
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
39663
|
+
throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
|
|
39664
|
+
}
|
|
39665
|
+
|
|
39666
|
+
return this.apiClient.callApi(
|
|
39667
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
39668
|
+
'PUT',
|
|
39669
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
39670
|
+
{ },
|
|
39671
|
+
{ },
|
|
39672
|
+
{ },
|
|
39673
|
+
null,
|
|
39674
|
+
['PureCloud OAuth'],
|
|
39675
|
+
['application/json'],
|
|
39676
|
+
['application/json']
|
|
39677
|
+
);
|
|
39678
|
+
}
|
|
39679
|
+
|
|
39181
39680
|
/**
|
|
39182
39681
|
* Add a Trustee user to the trust.
|
|
39183
39682
|
*
|
|
@@ -39214,7 +39713,7 @@ class OutboundApi {
|
|
|
39214
39713
|
/**
|
|
39215
39714
|
* Outbound service.
|
|
39216
39715
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39217
|
-
* @version
|
|
39716
|
+
* @version 159.0.0
|
|
39218
39717
|
*/
|
|
39219
39718
|
|
|
39220
39719
|
/**
|
|
@@ -42751,7 +43250,7 @@ class PresenceApi {
|
|
|
42751
43250
|
/**
|
|
42752
43251
|
* Presence service.
|
|
42753
43252
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42754
|
-
* @version
|
|
43253
|
+
* @version 159.0.0
|
|
42755
43254
|
*/
|
|
42756
43255
|
|
|
42757
43256
|
/**
|
|
@@ -43257,7 +43756,7 @@ class ProcessAutomationApi {
|
|
|
43257
43756
|
/**
|
|
43258
43757
|
* ProcessAutomation service.
|
|
43259
43758
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43260
|
-
* @version
|
|
43759
|
+
* @version 159.0.0
|
|
43261
43760
|
*/
|
|
43262
43761
|
|
|
43263
43762
|
/**
|
|
@@ -43496,7 +43995,7 @@ class QualityApi {
|
|
|
43496
43995
|
/**
|
|
43497
43996
|
* Quality service.
|
|
43498
43997
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43499
|
-
* @version
|
|
43998
|
+
* @version 159.0.0
|
|
43500
43999
|
*/
|
|
43501
44000
|
|
|
43502
44001
|
/**
|
|
@@ -43758,7 +44257,7 @@ class QualityApi {
|
|
|
43758
44257
|
* @param {String} conversationId conversationId
|
|
43759
44258
|
* @param {String} evaluationId evaluationId
|
|
43760
44259
|
* @param {Object} opts Optional parameters
|
|
43761
|
-
* @param {String} opts.expand agent, evaluator, evaluationForm
|
|
44260
|
+
* @param {String} opts.expand agent, assignee, evaluator, evaluationForm
|
|
43762
44261
|
*/
|
|
43763
44262
|
getQualityConversationEvaluation(conversationId, evaluationId, opts) {
|
|
43764
44263
|
opts = opts || {};
|
|
@@ -43869,7 +44368,7 @@ class QualityApi {
|
|
|
43869
44368
|
|
|
43870
44369
|
/**
|
|
43871
44370
|
* Queries Evaluations and returns a paged list
|
|
43872
|
-
* Query params must include one of conversationId, evaluatorUserId, or
|
|
44371
|
+
* Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
|
|
43873
44372
|
* @param {Object} opts Optional parameters
|
|
43874
44373
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
43875
44374
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -43880,6 +44379,7 @@ class QualityApi {
|
|
|
43880
44379
|
* @param {String} opts.conversationId conversationId specified
|
|
43881
44380
|
* @param {String} opts.agentUserId user id of the agent
|
|
43882
44381
|
* @param {String} opts.evaluatorUserId evaluator user id
|
|
44382
|
+
* @param {String} opts.assigneeUserId assignee user id
|
|
43883
44383
|
* @param {String} opts.queueId queue id
|
|
43884
44384
|
* @param {String} opts.startTime start time of the evaluation query
|
|
43885
44385
|
* @param {String} opts.endTime end time of the evaluation query
|
|
@@ -43898,7 +44398,7 @@ class QualityApi {
|
|
|
43898
44398
|
'/api/v2/quality/evaluations/query',
|
|
43899
44399
|
'GET',
|
|
43900
44400
|
{ },
|
|
43901
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
44401
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
43902
44402
|
{ },
|
|
43903
44403
|
{ },
|
|
43904
44404
|
null,
|
|
@@ -45074,7 +45574,7 @@ class RecordingApi {
|
|
|
45074
45574
|
/**
|
|
45075
45575
|
* Recording service.
|
|
45076
45576
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
45077
|
-
* @version
|
|
45577
|
+
* @version 159.0.0
|
|
45078
45578
|
*/
|
|
45079
45579
|
|
|
45080
45580
|
/**
|
|
@@ -46204,7 +46704,7 @@ class RecordingApi {
|
|
|
46204
46704
|
|
|
46205
46705
|
/**
|
|
46206
46706
|
* Create a recording bulk job.
|
|
46207
|
-
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
46707
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
46208
46708
|
* @param {Object} body query
|
|
46209
46709
|
*/
|
|
46210
46710
|
postRecordingJobs(body) {
|
|
@@ -46811,7 +47311,7 @@ class ResponseManagementApi {
|
|
|
46811
47311
|
/**
|
|
46812
47312
|
* ResponseManagement service.
|
|
46813
47313
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
46814
|
-
* @version
|
|
47314
|
+
* @version 159.0.0
|
|
46815
47315
|
*/
|
|
46816
47316
|
|
|
46817
47317
|
/**
|
|
@@ -47295,7 +47795,7 @@ class RoutingApi {
|
|
|
47295
47795
|
/**
|
|
47296
47796
|
* Routing service.
|
|
47297
47797
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47298
|
-
* @version
|
|
47798
|
+
* @version 159.0.0
|
|
47299
47799
|
*/
|
|
47300
47800
|
|
|
47301
47801
|
/**
|
|
@@ -50760,7 +51260,7 @@ class SCIMApi {
|
|
|
50760
51260
|
/**
|
|
50761
51261
|
* SCIM service.
|
|
50762
51262
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
50763
|
-
* @version
|
|
51263
|
+
* @version 159.0.0
|
|
50764
51264
|
*/
|
|
50765
51265
|
|
|
50766
51266
|
/**
|
|
@@ -51637,7 +52137,7 @@ class ScriptsApi {
|
|
|
51637
52137
|
/**
|
|
51638
52138
|
* Scripts service.
|
|
51639
52139
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
51640
|
-
* @version
|
|
52140
|
+
* @version 159.0.0
|
|
51641
52141
|
*/
|
|
51642
52142
|
|
|
51643
52143
|
/**
|
|
@@ -52056,7 +52556,7 @@ class SearchApi {
|
|
|
52056
52556
|
/**
|
|
52057
52557
|
* Search service.
|
|
52058
52558
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
52059
|
-
* @version
|
|
52559
|
+
* @version 159.0.0
|
|
52060
52560
|
*/
|
|
52061
52561
|
|
|
52062
52562
|
/**
|
|
@@ -52641,7 +53141,7 @@ class SpeechTextAnalyticsApi {
|
|
|
52641
53141
|
/**
|
|
52642
53142
|
* SpeechTextAnalytics service.
|
|
52643
53143
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
52644
|
-
* @version
|
|
53144
|
+
* @version 159.0.0
|
|
52645
53145
|
*/
|
|
52646
53146
|
|
|
52647
53147
|
/**
|
|
@@ -53495,7 +53995,7 @@ class StationsApi {
|
|
|
53495
53995
|
/**
|
|
53496
53996
|
* Stations service.
|
|
53497
53997
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
53498
|
-
* @version
|
|
53998
|
+
* @version 159.0.0
|
|
53499
53999
|
*/
|
|
53500
54000
|
|
|
53501
54001
|
/**
|
|
@@ -53593,7 +54093,7 @@ class StationsApi {
|
|
|
53593
54093
|
|
|
53594
54094
|
/**
|
|
53595
54095
|
* Get an organization's StationSettings
|
|
53596
|
-
*
|
|
54096
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
53597
54097
|
*/
|
|
53598
54098
|
getStationsSettings() {
|
|
53599
54099
|
|
|
@@ -53613,7 +54113,7 @@ class StationsApi {
|
|
|
53613
54113
|
|
|
53614
54114
|
/**
|
|
53615
54115
|
* Patch an organization's StationSettings
|
|
53616
|
-
*
|
|
54116
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
53617
54117
|
* @param {Object} body Station settings
|
|
53618
54118
|
*/
|
|
53619
54119
|
patchStationsSettings(body) {
|
|
@@ -53642,7 +54142,7 @@ class SuggestApi {
|
|
|
53642
54142
|
/**
|
|
53643
54143
|
* Suggest service.
|
|
53644
54144
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
53645
|
-
* @version
|
|
54145
|
+
* @version 159.0.0
|
|
53646
54146
|
*/
|
|
53647
54147
|
|
|
53648
54148
|
/**
|
|
@@ -53781,7 +54281,7 @@ class TeamsApi {
|
|
|
53781
54281
|
/**
|
|
53782
54282
|
* Teams service.
|
|
53783
54283
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
53784
|
-
* @version
|
|
54284
|
+
* @version 159.0.0
|
|
53785
54285
|
*/
|
|
53786
54286
|
|
|
53787
54287
|
/**
|
|
@@ -54052,7 +54552,7 @@ class TelephonyApi {
|
|
|
54052
54552
|
/**
|
|
54053
54553
|
* Telephony service.
|
|
54054
54554
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
54055
|
-
* @version
|
|
54555
|
+
* @version 159.0.0
|
|
54056
54556
|
*/
|
|
54057
54557
|
|
|
54058
54558
|
/**
|
|
@@ -54180,7 +54680,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
54180
54680
|
/**
|
|
54181
54681
|
* TelephonyProvidersEdge service.
|
|
54182
54682
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
54183
|
-
* @version
|
|
54683
|
+
* @version 159.0.0
|
|
54184
54684
|
*/
|
|
54185
54685
|
|
|
54186
54686
|
/**
|
|
@@ -55186,6 +55686,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
55186
55686
|
* @param {String} opts.edgeGroupId Filter by edgeGroup.id
|
|
55187
55687
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
55188
55688
|
* @param {Boolean} opts.managed Filter by managed
|
|
55689
|
+
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
55189
55690
|
*/
|
|
55190
55691
|
getTelephonyProvidersEdges(opts) {
|
|
55191
55692
|
opts = opts || {};
|
|
@@ -55195,7 +55696,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
55195
55696
|
'/api/v2/telephony/providers/edges',
|
|
55196
55697
|
'GET',
|
|
55197
55698
|
{ },
|
|
55198
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'] },
|
|
55699
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'],'showCloudMedia': opts['showCloudMedia'] },
|
|
55199
55700
|
{ },
|
|
55200
55701
|
{ },
|
|
55201
55702
|
null,
|
|
@@ -57813,7 +58314,7 @@ class TextbotsApi {
|
|
|
57813
58314
|
/**
|
|
57814
58315
|
* Textbots service.
|
|
57815
58316
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
57816
|
-
* @version
|
|
58317
|
+
* @version 159.0.0
|
|
57817
58318
|
*/
|
|
57818
58319
|
|
|
57819
58320
|
/**
|
|
@@ -57941,7 +58442,7 @@ class TokensApi {
|
|
|
57941
58442
|
/**
|
|
57942
58443
|
* Tokens service.
|
|
57943
58444
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
57944
|
-
* @version
|
|
58445
|
+
* @version 159.0.0
|
|
57945
58446
|
*/
|
|
57946
58447
|
|
|
57947
58448
|
/**
|
|
@@ -58047,7 +58548,7 @@ class UploadsApi {
|
|
|
58047
58548
|
/**
|
|
58048
58549
|
* Uploads service.
|
|
58049
58550
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
58050
|
-
* @version
|
|
58551
|
+
* @version 159.0.0
|
|
58051
58552
|
*/
|
|
58052
58553
|
|
|
58053
58554
|
/**
|
|
@@ -58223,7 +58724,7 @@ class UsageApi {
|
|
|
58223
58724
|
/**
|
|
58224
58725
|
* Usage service.
|
|
58225
58726
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
58226
|
-
* @version
|
|
58727
|
+
* @version 159.0.0
|
|
58227
58728
|
*/
|
|
58228
58729
|
|
|
58229
58730
|
/**
|
|
@@ -58294,7 +58795,7 @@ class UserRecordingsApi {
|
|
|
58294
58795
|
/**
|
|
58295
58796
|
* UserRecordings service.
|
|
58296
58797
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
58297
|
-
* @version
|
|
58798
|
+
* @version 159.0.0
|
|
58298
58799
|
*/
|
|
58299
58800
|
|
|
58300
58801
|
/**
|
|
@@ -58479,7 +58980,7 @@ class UsersApi {
|
|
|
58479
58980
|
/**
|
|
58480
58981
|
* Users service.
|
|
58481
58982
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
58482
|
-
* @version
|
|
58983
|
+
* @version 159.0.0
|
|
58483
58984
|
*/
|
|
58484
58985
|
|
|
58485
58986
|
/**
|
|
@@ -60836,7 +61337,7 @@ class UtilitiesApi {
|
|
|
60836
61337
|
/**
|
|
60837
61338
|
* Utilities service.
|
|
60838
61339
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
60839
|
-
* @version
|
|
61340
|
+
* @version 159.0.0
|
|
60840
61341
|
*/
|
|
60841
61342
|
|
|
60842
61343
|
/**
|
|
@@ -60947,7 +61448,7 @@ class VoicemailApi {
|
|
|
60947
61448
|
/**
|
|
60948
61449
|
* Voicemail service.
|
|
60949
61450
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
60950
|
-
* @version
|
|
61451
|
+
* @version 159.0.0
|
|
60951
61452
|
*/
|
|
60952
61453
|
|
|
60953
61454
|
/**
|
|
@@ -61614,7 +62115,7 @@ class WebChatApi {
|
|
|
61614
62115
|
/**
|
|
61615
62116
|
* WebChat service.
|
|
61616
62117
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
61617
|
-
* @version
|
|
62118
|
+
* @version 159.0.0
|
|
61618
62119
|
*/
|
|
61619
62120
|
|
|
61620
62121
|
/**
|
|
@@ -62158,7 +62659,7 @@ class WebDeploymentsApi {
|
|
|
62158
62659
|
/**
|
|
62159
62660
|
* WebDeployments service.
|
|
62160
62661
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
62161
|
-
* @version
|
|
62662
|
+
* @version 159.0.0
|
|
62162
62663
|
*/
|
|
62163
62664
|
|
|
62164
62665
|
/**
|
|
@@ -62223,6 +62724,36 @@ class WebDeploymentsApi {
|
|
|
62223
62724
|
);
|
|
62224
62725
|
}
|
|
62225
62726
|
|
|
62727
|
+
/**
|
|
62728
|
+
* Deletes a cobrowse session
|
|
62729
|
+
*
|
|
62730
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
62731
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
62732
|
+
*/
|
|
62733
|
+
deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
62734
|
+
// verify the required parameter 'deploymentId' is set
|
|
62735
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
62736
|
+
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
62737
|
+
}
|
|
62738
|
+
// verify the required parameter 'sessionId' is set
|
|
62739
|
+
if (sessionId === undefined || sessionId === null) {
|
|
62740
|
+
throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
62741
|
+
}
|
|
62742
|
+
|
|
62743
|
+
return this.apiClient.callApi(
|
|
62744
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
62745
|
+
'DELETE',
|
|
62746
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
62747
|
+
{ },
|
|
62748
|
+
{ },
|
|
62749
|
+
{ },
|
|
62750
|
+
null,
|
|
62751
|
+
['PureCloud OAuth'],
|
|
62752
|
+
['application/json'],
|
|
62753
|
+
['application/json']
|
|
62754
|
+
);
|
|
62755
|
+
}
|
|
62756
|
+
|
|
62226
62757
|
/**
|
|
62227
62758
|
* Invalidate JWT
|
|
62228
62759
|
*
|
|
@@ -62377,6 +62908,36 @@ class WebDeploymentsApi {
|
|
|
62377
62908
|
);
|
|
62378
62909
|
}
|
|
62379
62910
|
|
|
62911
|
+
/**
|
|
62912
|
+
* Retrieves a cobrowse session
|
|
62913
|
+
*
|
|
62914
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
62915
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
62916
|
+
*/
|
|
62917
|
+
getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
62918
|
+
// verify the required parameter 'deploymentId' is set
|
|
62919
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
62920
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
62921
|
+
}
|
|
62922
|
+
// verify the required parameter 'sessionId' is set
|
|
62923
|
+
if (sessionId === undefined || sessionId === null) {
|
|
62924
|
+
throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
62925
|
+
}
|
|
62926
|
+
|
|
62927
|
+
return this.apiClient.callApi(
|
|
62928
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
62929
|
+
'GET',
|
|
62930
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
62931
|
+
{ },
|
|
62932
|
+
{ },
|
|
62933
|
+
{ },
|
|
62934
|
+
null,
|
|
62935
|
+
['PureCloud OAuth'],
|
|
62936
|
+
['application/json'],
|
|
62937
|
+
['application/json']
|
|
62938
|
+
);
|
|
62939
|
+
}
|
|
62940
|
+
|
|
62380
62941
|
/**
|
|
62381
62942
|
* Get active configuration for a given deployment
|
|
62382
62943
|
*
|
|
@@ -62620,7 +63181,7 @@ class WebMessagingApi {
|
|
|
62620
63181
|
/**
|
|
62621
63182
|
* WebMessaging service.
|
|
62622
63183
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
62623
|
-
* @version
|
|
63184
|
+
* @version 159.0.0
|
|
62624
63185
|
*/
|
|
62625
63186
|
|
|
62626
63187
|
/**
|
|
@@ -62666,7 +63227,7 @@ class WidgetsApi {
|
|
|
62666
63227
|
/**
|
|
62667
63228
|
* Widgets service.
|
|
62668
63229
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
62669
|
-
* @version
|
|
63230
|
+
* @version 159.0.0
|
|
62670
63231
|
*/
|
|
62671
63232
|
|
|
62672
63233
|
/**
|
|
@@ -62812,7 +63373,7 @@ class WorkforceManagementApi {
|
|
|
62812
63373
|
/**
|
|
62813
63374
|
* WorkforceManagement service.
|
|
62814
63375
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
62815
|
-
* @version
|
|
63376
|
+
* @version 159.0.0
|
|
62816
63377
|
*/
|
|
62817
63378
|
|
|
62818
63379
|
/**
|
|
@@ -67531,7 +68092,7 @@ class WorkforceManagementApi {
|
|
|
67531
68092
|
* </pre>
|
|
67532
68093
|
* </p>
|
|
67533
68094
|
* @module purecloud-platform-client-v2/index
|
|
67534
|
-
* @version
|
|
68095
|
+
* @version 159.0.0
|
|
67535
68096
|
*/
|
|
67536
68097
|
class platformClient {
|
|
67537
68098
|
constructor() {
|