purecloud-platform-client-v2 156.0.0 → 158.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 +652 -73
- package/dist/web-amd/purecloud-platform-client-v2.js +652 -73
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +652 -73
- package/dist/web-cjs/purecloud-platform-client-v2.js +672 -79
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +263 -5
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- 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 +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 +135 -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
|
@@ -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%') {
|
|
@@ -5704,16 +5714,20 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5704
5714
|
}
|
|
5705
5715
|
if (isMap(obj)) {
|
|
5706
5716
|
var mapParts = [];
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5717
|
+
if (mapForEach) {
|
|
5718
|
+
mapForEach.call(obj, function (value, key) {
|
|
5719
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
|
5720
|
+
});
|
|
5721
|
+
}
|
|
5710
5722
|
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
|
5711
5723
|
}
|
|
5712
5724
|
if (isSet(obj)) {
|
|
5713
5725
|
var setParts = [];
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5726
|
+
if (setForEach) {
|
|
5727
|
+
setForEach.call(obj, function (value) {
|
|
5728
|
+
setParts.push(inspect(value, obj));
|
|
5729
|
+
});
|
|
5730
|
+
}
|
|
5717
5731
|
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
|
5718
5732
|
}
|
|
5719
5733
|
if (isWeakMap(obj)) {
|
|
@@ -9307,7 +9321,7 @@ class Configuration {
|
|
|
9307
9321
|
|
|
9308
9322
|
/**
|
|
9309
9323
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9310
|
-
* @version
|
|
9324
|
+
* @version 158.0.0
|
|
9311
9325
|
*/
|
|
9312
9326
|
class ApiClient {
|
|
9313
9327
|
/**
|
|
@@ -10379,7 +10393,7 @@ class AlertingApi {
|
|
|
10379
10393
|
/**
|
|
10380
10394
|
* Alerting service.
|
|
10381
10395
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10382
|
-
* @version
|
|
10396
|
+
* @version 158.0.0
|
|
10383
10397
|
*/
|
|
10384
10398
|
|
|
10385
10399
|
/**
|
|
@@ -10693,7 +10707,7 @@ class AnalyticsApi {
|
|
|
10693
10707
|
/**
|
|
10694
10708
|
* Analytics service.
|
|
10695
10709
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10696
|
-
* @version
|
|
10710
|
+
* @version 158.0.0
|
|
10697
10711
|
*/
|
|
10698
10712
|
|
|
10699
10713
|
/**
|
|
@@ -11947,7 +11961,7 @@ class ArchitectApi {
|
|
|
11947
11961
|
/**
|
|
11948
11962
|
* Architect service.
|
|
11949
11963
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11950
|
-
* @version
|
|
11964
|
+
* @version 158.0.0
|
|
11951
11965
|
*/
|
|
11952
11966
|
|
|
11953
11967
|
/**
|
|
@@ -14995,7 +15009,7 @@ class AuditApi {
|
|
|
14995
15009
|
/**
|
|
14996
15010
|
* Audit service.
|
|
14997
15011
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14998
|
-
* @version
|
|
15012
|
+
* @version 158.0.0
|
|
14999
15013
|
*/
|
|
15000
15014
|
|
|
15001
15015
|
/**
|
|
@@ -15166,7 +15180,7 @@ class AuthorizationApi {
|
|
|
15166
15180
|
/**
|
|
15167
15181
|
* Authorization service.
|
|
15168
15182
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15169
|
-
* @version
|
|
15183
|
+
* @version 158.0.0
|
|
15170
15184
|
*/
|
|
15171
15185
|
|
|
15172
15186
|
/**
|
|
@@ -16394,7 +16408,7 @@ class BillingApi {
|
|
|
16394
16408
|
/**
|
|
16395
16409
|
* Billing service.
|
|
16396
16410
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16397
|
-
* @version
|
|
16411
|
+
* @version 158.0.0
|
|
16398
16412
|
*/
|
|
16399
16413
|
|
|
16400
16414
|
/**
|
|
@@ -16474,7 +16488,7 @@ class ChatApi {
|
|
|
16474
16488
|
/**
|
|
16475
16489
|
* Chat service.
|
|
16476
16490
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16477
|
-
* @version
|
|
16491
|
+
* @version 158.0.0
|
|
16478
16492
|
*/
|
|
16479
16493
|
|
|
16480
16494
|
/**
|
|
@@ -16565,7 +16579,7 @@ class CoachingApi {
|
|
|
16565
16579
|
/**
|
|
16566
16580
|
* Coaching service.
|
|
16567
16581
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16568
|
-
* @version
|
|
16582
|
+
* @version 158.0.0
|
|
16569
16583
|
*/
|
|
16570
16584
|
|
|
16571
16585
|
/**
|
|
@@ -17142,7 +17156,7 @@ class ContentManagementApi {
|
|
|
17142
17156
|
/**
|
|
17143
17157
|
* ContentManagement service.
|
|
17144
17158
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17145
|
-
* @version
|
|
17159
|
+
* @version 158.0.0
|
|
17146
17160
|
*/
|
|
17147
17161
|
|
|
17148
17162
|
/**
|
|
@@ -18282,7 +18296,7 @@ class ConversationsApi {
|
|
|
18282
18296
|
/**
|
|
18283
18297
|
* Conversations service.
|
|
18284
18298
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18285
|
-
* @version
|
|
18299
|
+
* @version 158.0.0
|
|
18286
18300
|
*/
|
|
18287
18301
|
|
|
18288
18302
|
/**
|
|
@@ -21669,6 +21683,31 @@ class ConversationsApi {
|
|
|
21669
21683
|
);
|
|
21670
21684
|
}
|
|
21671
21685
|
|
|
21686
|
+
/**
|
|
21687
|
+
* Creates a cobrowse session
|
|
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
|
+
|
|
21672
21711
|
/**
|
|
21673
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.
|
|
21674
21713
|
*
|
|
@@ -23505,7 +23544,7 @@ class DataExtensionsApi {
|
|
|
23505
23544
|
/**
|
|
23506
23545
|
* DataExtensions service.
|
|
23507
23546
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23508
|
-
* @version
|
|
23547
|
+
* @version 158.0.0
|
|
23509
23548
|
*/
|
|
23510
23549
|
|
|
23511
23550
|
/**
|
|
@@ -23591,7 +23630,7 @@ class DownloadsApi {
|
|
|
23591
23630
|
/**
|
|
23592
23631
|
* Downloads service.
|
|
23593
23632
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23594
|
-
* @version
|
|
23633
|
+
* @version 158.0.0
|
|
23595
23634
|
*/
|
|
23596
23635
|
|
|
23597
23636
|
/**
|
|
@@ -23643,7 +23682,7 @@ class EventsApi {
|
|
|
23643
23682
|
/**
|
|
23644
23683
|
* Events service.
|
|
23645
23684
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
23646
|
-
* @version
|
|
23685
|
+
* @version 158.0.0
|
|
23647
23686
|
*/
|
|
23648
23687
|
|
|
23649
23688
|
/**
|
|
@@ -23739,7 +23778,7 @@ class ExternalContactsApi {
|
|
|
23739
23778
|
/**
|
|
23740
23779
|
* ExternalContacts service.
|
|
23741
23780
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23742
|
-
* @version
|
|
23781
|
+
* @version 158.0.0
|
|
23743
23782
|
*/
|
|
23744
23783
|
|
|
23745
23784
|
/**
|
|
@@ -25697,7 +25736,7 @@ class FaxApi {
|
|
|
25697
25736
|
/**
|
|
25698
25737
|
* Fax service.
|
|
25699
25738
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25700
|
-
* @version
|
|
25739
|
+
* @version 158.0.0
|
|
25701
25740
|
*/
|
|
25702
25741
|
|
|
25703
25742
|
/**
|
|
@@ -25868,7 +25907,7 @@ class FlowsApi {
|
|
|
25868
25907
|
/**
|
|
25869
25908
|
* Flows service.
|
|
25870
25909
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25871
|
-
* @version
|
|
25910
|
+
* @version 158.0.0
|
|
25872
25911
|
*/
|
|
25873
25912
|
|
|
25874
25913
|
/**
|
|
@@ -25939,7 +25978,7 @@ class GamificationApi {
|
|
|
25939
25978
|
/**
|
|
25940
25979
|
* Gamification service.
|
|
25941
25980
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25942
|
-
* @version
|
|
25981
|
+
* @version 158.0.0
|
|
25943
25982
|
*/
|
|
25944
25983
|
|
|
25945
25984
|
/**
|
|
@@ -27556,7 +27595,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27556
27595
|
/**
|
|
27557
27596
|
* GeneralDataProtectionRegulation service.
|
|
27558
27597
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27559
|
-
* @version
|
|
27598
|
+
* @version 158.0.0
|
|
27560
27599
|
*/
|
|
27561
27600
|
|
|
27562
27601
|
/**
|
|
@@ -27686,7 +27725,7 @@ class GeolocationApi {
|
|
|
27686
27725
|
/**
|
|
27687
27726
|
* Geolocation service.
|
|
27688
27727
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27689
|
-
* @version
|
|
27728
|
+
* @version 158.0.0
|
|
27690
27729
|
*/
|
|
27691
27730
|
|
|
27692
27731
|
/**
|
|
@@ -27817,7 +27856,7 @@ class GreetingsApi {
|
|
|
27817
27856
|
/**
|
|
27818
27857
|
* Greetings service.
|
|
27819
27858
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27820
|
-
* @version
|
|
27859
|
+
* @version 158.0.0
|
|
27821
27860
|
*/
|
|
27822
27861
|
|
|
27823
27862
|
/**
|
|
@@ -28272,7 +28311,7 @@ class GroupsApi {
|
|
|
28272
28311
|
/**
|
|
28273
28312
|
* Groups service.
|
|
28274
28313
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28275
|
-
* @version
|
|
28314
|
+
* @version 158.0.0
|
|
28276
28315
|
*/
|
|
28277
28316
|
|
|
28278
28317
|
/**
|
|
@@ -28678,7 +28717,7 @@ class IdentityProviderApi {
|
|
|
28678
28717
|
/**
|
|
28679
28718
|
* IdentityProvider service.
|
|
28680
28719
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28681
|
-
* @version
|
|
28720
|
+
* @version 158.0.0
|
|
28682
28721
|
*/
|
|
28683
28722
|
|
|
28684
28723
|
/**
|
|
@@ -29434,7 +29473,7 @@ class IntegrationsApi {
|
|
|
29434
29473
|
/**
|
|
29435
29474
|
* Integrations service.
|
|
29436
29475
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29437
|
-
* @version
|
|
29476
|
+
* @version 158.0.0
|
|
29438
29477
|
*/
|
|
29439
29478
|
|
|
29440
29479
|
/**
|
|
@@ -31034,7 +31073,7 @@ class JourneyApi {
|
|
|
31034
31073
|
/**
|
|
31035
31074
|
* Journey service.
|
|
31036
31075
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31037
|
-
* @version
|
|
31076
|
+
* @version 158.0.0
|
|
31038
31077
|
*/
|
|
31039
31078
|
|
|
31040
31079
|
/**
|
|
@@ -31820,7 +31859,7 @@ class KnowledgeApi {
|
|
|
31820
31859
|
/**
|
|
31821
31860
|
* Knowledge service.
|
|
31822
31861
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31823
|
-
* @version
|
|
31862
|
+
* @version 158.0.0
|
|
31824
31863
|
*/
|
|
31825
31864
|
|
|
31826
31865
|
/**
|
|
@@ -34253,7 +34292,7 @@ class LanguageUnderstandingApi {
|
|
|
34253
34292
|
/**
|
|
34254
34293
|
* LanguageUnderstanding service.
|
|
34255
34294
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
34256
|
-
* @version
|
|
34295
|
+
* @version 158.0.0
|
|
34257
34296
|
*/
|
|
34258
34297
|
|
|
34259
34298
|
/**
|
|
@@ -34447,6 +34486,7 @@ class LanguageUnderstandingApi {
|
|
|
34447
34486
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
34448
34487
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
34449
34488
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
34489
|
+
* @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
|
|
34450
34490
|
* @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
|
|
34451
34491
|
* @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
|
|
34452
34492
|
*/
|
|
@@ -34462,7 +34502,7 @@ class LanguageUnderstandingApi {
|
|
|
34462
34502
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
34463
34503
|
'GET',
|
|
34464
34504
|
{ 'domainId': domainId },
|
|
34465
|
-
{ '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') },
|
|
34505
|
+
{ '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') },
|
|
34466
34506
|
{ },
|
|
34467
34507
|
{ },
|
|
34468
34508
|
null,
|
|
@@ -35265,7 +35305,7 @@ class LanguagesApi {
|
|
|
35265
35305
|
/**
|
|
35266
35306
|
* Languages service.
|
|
35267
35307
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
35268
|
-
* @version
|
|
35308
|
+
* @version 158.0.0
|
|
35269
35309
|
*/
|
|
35270
35310
|
|
|
35271
35311
|
/**
|
|
@@ -35483,7 +35523,7 @@ class LearningApi {
|
|
|
35483
35523
|
/**
|
|
35484
35524
|
* Learning service.
|
|
35485
35525
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35486
|
-
* @version
|
|
35526
|
+
* @version 158.0.0
|
|
35487
35527
|
*/
|
|
35488
35528
|
|
|
35489
35529
|
/**
|
|
@@ -35593,7 +35633,7 @@ class LearningApi {
|
|
|
35593
35633
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
35594
35634
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
35595
35635
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
35596
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
35636
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
35597
35637
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
35598
35638
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
35599
35639
|
*/
|
|
@@ -35630,7 +35670,7 @@ class LearningApi {
|
|
|
35630
35670
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
35631
35671
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
35632
35672
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
35633
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
35673
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
35634
35674
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
35635
35675
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
35636
35676
|
*/
|
|
@@ -36244,7 +36284,7 @@ class LicenseApi {
|
|
|
36244
36284
|
/**
|
|
36245
36285
|
* License service.
|
|
36246
36286
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
36247
|
-
* @version
|
|
36287
|
+
* @version 158.0.0
|
|
36248
36288
|
*/
|
|
36249
36289
|
|
|
36250
36290
|
/**
|
|
@@ -36482,7 +36522,7 @@ class LocationsApi {
|
|
|
36482
36522
|
/**
|
|
36483
36523
|
* Locations service.
|
|
36484
36524
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36485
|
-
* @version
|
|
36525
|
+
* @version 158.0.0
|
|
36486
36526
|
*/
|
|
36487
36527
|
|
|
36488
36528
|
/**
|
|
@@ -36718,7 +36758,7 @@ class MessagingApi {
|
|
|
36718
36758
|
/**
|
|
36719
36759
|
* Messaging service.
|
|
36720
36760
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36721
|
-
* @version
|
|
36761
|
+
* @version 158.0.0
|
|
36722
36762
|
*/
|
|
36723
36763
|
|
|
36724
36764
|
/**
|
|
@@ -36869,7 +36909,7 @@ class MobileDevicesApi {
|
|
|
36869
36909
|
/**
|
|
36870
36910
|
* MobileDevices service.
|
|
36871
36911
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36872
|
-
* @version
|
|
36912
|
+
* @version 158.0.0
|
|
36873
36913
|
*/
|
|
36874
36914
|
|
|
36875
36915
|
/**
|
|
@@ -37020,7 +37060,7 @@ class NotificationsApi {
|
|
|
37020
37060
|
/**
|
|
37021
37061
|
* Notifications service.
|
|
37022
37062
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
37023
|
-
* @version
|
|
37063
|
+
* @version 158.0.0
|
|
37024
37064
|
*/
|
|
37025
37065
|
|
|
37026
37066
|
/**
|
|
@@ -37245,7 +37285,7 @@ class OAuthApi {
|
|
|
37245
37285
|
/**
|
|
37246
37286
|
* OAuth service.
|
|
37247
37287
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
37248
|
-
* @version
|
|
37288
|
+
* @version 158.0.0
|
|
37249
37289
|
*/
|
|
37250
37290
|
|
|
37251
37291
|
/**
|
|
@@ -37611,7 +37651,7 @@ class ObjectsApi {
|
|
|
37611
37651
|
/**
|
|
37612
37652
|
* Objects service.
|
|
37613
37653
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37614
|
-
* @version
|
|
37654
|
+
* @version 158.0.0
|
|
37615
37655
|
*/
|
|
37616
37656
|
|
|
37617
37657
|
/**
|
|
@@ -37882,7 +37922,7 @@ class OrganizationApi {
|
|
|
37882
37922
|
/**
|
|
37883
37923
|
* Organization service.
|
|
37884
37924
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37885
|
-
* @version
|
|
37925
|
+
* @version 158.0.0
|
|
37886
37926
|
*/
|
|
37887
37927
|
|
|
37888
37928
|
/**
|
|
@@ -38285,7 +38325,7 @@ class OrganizationAuthorizationApi {
|
|
|
38285
38325
|
/**
|
|
38286
38326
|
* OrganizationAuthorization service.
|
|
38287
38327
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
38288
|
-
* @version
|
|
38328
|
+
* @version 158.0.0
|
|
38289
38329
|
*/
|
|
38290
38330
|
|
|
38291
38331
|
/**
|
|
@@ -38355,6 +38395,66 @@ class OrganizationAuthorizationApi {
|
|
|
38355
38395
|
);
|
|
38356
38396
|
}
|
|
38357
38397
|
|
|
38398
|
+
/**
|
|
38399
|
+
* Delete Trustee Group
|
|
38400
|
+
*
|
|
38401
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38402
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38403
|
+
*/
|
|
38404
|
+
deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
38405
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38406
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38407
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
38408
|
+
}
|
|
38409
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38410
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38411
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
38412
|
+
}
|
|
38413
|
+
|
|
38414
|
+
return this.apiClient.callApi(
|
|
38415
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
38416
|
+
'DELETE',
|
|
38417
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38418
|
+
{ },
|
|
38419
|
+
{ },
|
|
38420
|
+
{ },
|
|
38421
|
+
null,
|
|
38422
|
+
['PureCloud OAuth'],
|
|
38423
|
+
['application/json'],
|
|
38424
|
+
['application/json']
|
|
38425
|
+
);
|
|
38426
|
+
}
|
|
38427
|
+
|
|
38428
|
+
/**
|
|
38429
|
+
* Delete Trustee Group Roles
|
|
38430
|
+
*
|
|
38431
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38432
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38433
|
+
*/
|
|
38434
|
+
deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
38435
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38436
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38437
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
38438
|
+
}
|
|
38439
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38440
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38441
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
38442
|
+
}
|
|
38443
|
+
|
|
38444
|
+
return this.apiClient.callApi(
|
|
38445
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
38446
|
+
'DELETE',
|
|
38447
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38448
|
+
{ },
|
|
38449
|
+
{ },
|
|
38450
|
+
{ },
|
|
38451
|
+
null,
|
|
38452
|
+
['PureCloud OAuth'],
|
|
38453
|
+
['application/json'],
|
|
38454
|
+
['application/json']
|
|
38455
|
+
);
|
|
38456
|
+
}
|
|
38457
|
+
|
|
38358
38458
|
/**
|
|
38359
38459
|
* Delete Trustee User
|
|
38360
38460
|
*
|
|
@@ -38470,6 +38570,36 @@ class OrganizationAuthorizationApi {
|
|
|
38470
38570
|
);
|
|
38471
38571
|
}
|
|
38472
38572
|
|
|
38573
|
+
/**
|
|
38574
|
+
* Delete Trustee Group
|
|
38575
|
+
*
|
|
38576
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
38577
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
38578
|
+
*/
|
|
38579
|
+
deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
38580
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
38581
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
38582
|
+
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
|
|
38583
|
+
}
|
|
38584
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
38585
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
38586
|
+
throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
|
|
38587
|
+
}
|
|
38588
|
+
|
|
38589
|
+
return this.apiClient.callApi(
|
|
38590
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
38591
|
+
'DELETE',
|
|
38592
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
38593
|
+
{ },
|
|
38594
|
+
{ },
|
|
38595
|
+
{ },
|
|
38596
|
+
null,
|
|
38597
|
+
['PureCloud OAuth'],
|
|
38598
|
+
['application/json'],
|
|
38599
|
+
['application/json']
|
|
38600
|
+
);
|
|
38601
|
+
}
|
|
38602
|
+
|
|
38473
38603
|
/**
|
|
38474
38604
|
* Delete Trustee User
|
|
38475
38605
|
*
|
|
@@ -38575,6 +38705,96 @@ class OrganizationAuthorizationApi {
|
|
|
38575
38705
|
);
|
|
38576
38706
|
}
|
|
38577
38707
|
|
|
38708
|
+
/**
|
|
38709
|
+
* Get Trustee Group
|
|
38710
|
+
*
|
|
38711
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38712
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38713
|
+
*/
|
|
38714
|
+
getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
38715
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38716
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38717
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
|
|
38718
|
+
}
|
|
38719
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38720
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38721
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
|
|
38722
|
+
}
|
|
38723
|
+
|
|
38724
|
+
return this.apiClient.callApi(
|
|
38725
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
38726
|
+
'GET',
|
|
38727
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38728
|
+
{ },
|
|
38729
|
+
{ },
|
|
38730
|
+
{ },
|
|
38731
|
+
null,
|
|
38732
|
+
['PureCloud OAuth'],
|
|
38733
|
+
['application/json'],
|
|
38734
|
+
['application/json']
|
|
38735
|
+
);
|
|
38736
|
+
}
|
|
38737
|
+
|
|
38738
|
+
/**
|
|
38739
|
+
* Get Trustee Group Roles
|
|
38740
|
+
*
|
|
38741
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38742
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
38743
|
+
*/
|
|
38744
|
+
getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
38745
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38746
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38747
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
38748
|
+
}
|
|
38749
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
38750
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
38751
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
38752
|
+
}
|
|
38753
|
+
|
|
38754
|
+
return this.apiClient.callApi(
|
|
38755
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
38756
|
+
'GET',
|
|
38757
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
38758
|
+
{ },
|
|
38759
|
+
{ },
|
|
38760
|
+
{ },
|
|
38761
|
+
null,
|
|
38762
|
+
['PureCloud OAuth'],
|
|
38763
|
+
['application/json'],
|
|
38764
|
+
['application/json']
|
|
38765
|
+
);
|
|
38766
|
+
}
|
|
38767
|
+
|
|
38768
|
+
/**
|
|
38769
|
+
* The list of trustee groups for this organization (i.e. groups granted access to this organization).
|
|
38770
|
+
*
|
|
38771
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
38772
|
+
* @param {Object} opts Optional parameters
|
|
38773
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
38774
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
38775
|
+
*/
|
|
38776
|
+
getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
|
|
38777
|
+
opts = opts || {};
|
|
38778
|
+
|
|
38779
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
38780
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
38781
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
|
|
38782
|
+
}
|
|
38783
|
+
|
|
38784
|
+
return this.apiClient.callApi(
|
|
38785
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
38786
|
+
'GET',
|
|
38787
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
38788
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
38789
|
+
{ },
|
|
38790
|
+
{ },
|
|
38791
|
+
null,
|
|
38792
|
+
['PureCloud OAuth'],
|
|
38793
|
+
['application/json'],
|
|
38794
|
+
['application/json']
|
|
38795
|
+
);
|
|
38796
|
+
}
|
|
38797
|
+
|
|
38578
38798
|
/**
|
|
38579
38799
|
* Get Trustee User
|
|
38580
38800
|
*
|
|
@@ -38790,6 +39010,66 @@ class OrganizationAuthorizationApi {
|
|
|
38790
39010
|
);
|
|
38791
39011
|
}
|
|
38792
39012
|
|
|
39013
|
+
/**
|
|
39014
|
+
* Get Trustee Group
|
|
39015
|
+
*
|
|
39016
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
39017
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
39018
|
+
*/
|
|
39019
|
+
getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
39020
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39021
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39022
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
|
|
39023
|
+
}
|
|
39024
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
39025
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
39026
|
+
throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
|
|
39027
|
+
}
|
|
39028
|
+
|
|
39029
|
+
return this.apiClient.callApi(
|
|
39030
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
39031
|
+
'GET',
|
|
39032
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
39033
|
+
{ },
|
|
39034
|
+
{ },
|
|
39035
|
+
{ },
|
|
39036
|
+
null,
|
|
39037
|
+
['PureCloud OAuth'],
|
|
39038
|
+
['application/json'],
|
|
39039
|
+
['application/json']
|
|
39040
|
+
);
|
|
39041
|
+
}
|
|
39042
|
+
|
|
39043
|
+
/**
|
|
39044
|
+
* The list of groups in the trustor organization (i.e. groups granted access).
|
|
39045
|
+
*
|
|
39046
|
+
* @param {String} trustorOrgId Trustee Organization Id
|
|
39047
|
+
* @param {Object} opts Optional parameters
|
|
39048
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
39049
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
39050
|
+
*/
|
|
39051
|
+
getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
|
|
39052
|
+
opts = opts || {};
|
|
39053
|
+
|
|
39054
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39055
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39056
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
|
|
39057
|
+
}
|
|
39058
|
+
|
|
39059
|
+
return this.apiClient.callApi(
|
|
39060
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
|
|
39061
|
+
'GET',
|
|
39062
|
+
{ 'trustorOrgId': trustorOrgId },
|
|
39063
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
39064
|
+
{ },
|
|
39065
|
+
{ },
|
|
39066
|
+
null,
|
|
39067
|
+
['PureCloud OAuth'],
|
|
39068
|
+
['application/json'],
|
|
39069
|
+
['application/json']
|
|
39070
|
+
);
|
|
39071
|
+
}
|
|
39072
|
+
|
|
38793
39073
|
/**
|
|
38794
39074
|
* Get Trustee User
|
|
38795
39075
|
*
|
|
@@ -38900,6 +39180,36 @@ class OrganizationAuthorizationApi {
|
|
|
38900
39180
|
);
|
|
38901
39181
|
}
|
|
38902
39182
|
|
|
39183
|
+
/**
|
|
39184
|
+
* Add a group to the trust.
|
|
39185
|
+
*
|
|
39186
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39187
|
+
* @param {Object} body Trust
|
|
39188
|
+
*/
|
|
39189
|
+
postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
|
|
39190
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39191
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39192
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
|
|
39193
|
+
}
|
|
39194
|
+
// verify the required parameter 'body' is set
|
|
39195
|
+
if (body === undefined || body === null) {
|
|
39196
|
+
throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
|
|
39197
|
+
}
|
|
39198
|
+
|
|
39199
|
+
return this.apiClient.callApi(
|
|
39200
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
39201
|
+
'POST',
|
|
39202
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
39203
|
+
{ },
|
|
39204
|
+
{ },
|
|
39205
|
+
{ },
|
|
39206
|
+
body,
|
|
39207
|
+
['PureCloud OAuth'],
|
|
39208
|
+
['application/json'],
|
|
39209
|
+
['application/json']
|
|
39210
|
+
);
|
|
39211
|
+
}
|
|
39212
|
+
|
|
38903
39213
|
/**
|
|
38904
39214
|
* Add a user to the trust.
|
|
38905
39215
|
*
|
|
@@ -39074,6 +39384,76 @@ class OrganizationAuthorizationApi {
|
|
|
39074
39384
|
);
|
|
39075
39385
|
}
|
|
39076
39386
|
|
|
39387
|
+
/**
|
|
39388
|
+
* Update Trustee Group Roles
|
|
39389
|
+
*
|
|
39390
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39391
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
39392
|
+
* @param {Object} body Set of roles with corresponding divisions to apply
|
|
39393
|
+
*/
|
|
39394
|
+
putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
|
|
39395
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39396
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39397
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39398
|
+
}
|
|
39399
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
39400
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
39401
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39402
|
+
}
|
|
39403
|
+
// verify the required parameter 'body' is set
|
|
39404
|
+
if (body === undefined || body === null) {
|
|
39405
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
39406
|
+
}
|
|
39407
|
+
|
|
39408
|
+
return this.apiClient.callApi(
|
|
39409
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
|
|
39410
|
+
'PUT',
|
|
39411
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
39412
|
+
{ },
|
|
39413
|
+
{ },
|
|
39414
|
+
{ },
|
|
39415
|
+
body,
|
|
39416
|
+
['PureCloud OAuth'],
|
|
39417
|
+
['application/json'],
|
|
39418
|
+
['application/json']
|
|
39419
|
+
);
|
|
39420
|
+
}
|
|
39421
|
+
|
|
39422
|
+
/**
|
|
39423
|
+
* Update Trustee Group Roles
|
|
39424
|
+
*
|
|
39425
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
39426
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
39427
|
+
* @param {Array.<String>} body List of roles
|
|
39428
|
+
*/
|
|
39429
|
+
putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
|
|
39430
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
39431
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
39432
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39433
|
+
}
|
|
39434
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
39435
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
39436
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39437
|
+
}
|
|
39438
|
+
// verify the required parameter 'body' is set
|
|
39439
|
+
if (body === undefined || body === null) {
|
|
39440
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
39441
|
+
}
|
|
39442
|
+
|
|
39443
|
+
return this.apiClient.callApi(
|
|
39444
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
39445
|
+
'PUT',
|
|
39446
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
39447
|
+
{ },
|
|
39448
|
+
{ },
|
|
39449
|
+
{ },
|
|
39450
|
+
body,
|
|
39451
|
+
['PureCloud OAuth'],
|
|
39452
|
+
['application/json'],
|
|
39453
|
+
['application/json']
|
|
39454
|
+
);
|
|
39455
|
+
}
|
|
39456
|
+
|
|
39077
39457
|
/**
|
|
39078
39458
|
* Update Trustee User Roles
|
|
39079
39459
|
*
|
|
@@ -39174,6 +39554,36 @@ class OrganizationAuthorizationApi {
|
|
|
39174
39554
|
);
|
|
39175
39555
|
}
|
|
39176
39556
|
|
|
39557
|
+
/**
|
|
39558
|
+
* Add a Trustee Group to the trust.
|
|
39559
|
+
*
|
|
39560
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
39561
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
39562
|
+
*/
|
|
39563
|
+
putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
39564
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
39565
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
39566
|
+
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
|
|
39567
|
+
}
|
|
39568
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
39569
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
39570
|
+
throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
|
|
39571
|
+
}
|
|
39572
|
+
|
|
39573
|
+
return this.apiClient.callApi(
|
|
39574
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
39575
|
+
'PUT',
|
|
39576
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
39577
|
+
{ },
|
|
39578
|
+
{ },
|
|
39579
|
+
{ },
|
|
39580
|
+
null,
|
|
39581
|
+
['PureCloud OAuth'],
|
|
39582
|
+
['application/json'],
|
|
39583
|
+
['application/json']
|
|
39584
|
+
);
|
|
39585
|
+
}
|
|
39586
|
+
|
|
39177
39587
|
/**
|
|
39178
39588
|
* Add a Trustee user to the trust.
|
|
39179
39589
|
*
|
|
@@ -39210,7 +39620,7 @@ class OutboundApi {
|
|
|
39210
39620
|
/**
|
|
39211
39621
|
* Outbound service.
|
|
39212
39622
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39213
|
-
* @version
|
|
39623
|
+
* @version 158.0.0
|
|
39214
39624
|
*/
|
|
39215
39625
|
|
|
39216
39626
|
/**
|
|
@@ -42747,7 +43157,7 @@ class PresenceApi {
|
|
|
42747
43157
|
/**
|
|
42748
43158
|
* Presence service.
|
|
42749
43159
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42750
|
-
* @version
|
|
43160
|
+
* @version 158.0.0
|
|
42751
43161
|
*/
|
|
42752
43162
|
|
|
42753
43163
|
/**
|
|
@@ -43253,7 +43663,7 @@ class ProcessAutomationApi {
|
|
|
43253
43663
|
/**
|
|
43254
43664
|
* ProcessAutomation service.
|
|
43255
43665
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43256
|
-
* @version
|
|
43666
|
+
* @version 158.0.0
|
|
43257
43667
|
*/
|
|
43258
43668
|
|
|
43259
43669
|
/**
|
|
@@ -43492,7 +43902,7 @@ class QualityApi {
|
|
|
43492
43902
|
/**
|
|
43493
43903
|
* Quality service.
|
|
43494
43904
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43495
|
-
* @version
|
|
43905
|
+
* @version 158.0.0
|
|
43496
43906
|
*/
|
|
43497
43907
|
|
|
43498
43908
|
/**
|
|
@@ -45070,7 +45480,7 @@ class RecordingApi {
|
|
|
45070
45480
|
/**
|
|
45071
45481
|
* Recording service.
|
|
45072
45482
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
45073
|
-
* @version
|
|
45483
|
+
* @version 158.0.0
|
|
45074
45484
|
*/
|
|
45075
45485
|
|
|
45076
45486
|
/**
|
|
@@ -46807,7 +47217,7 @@ class ResponseManagementApi {
|
|
|
46807
47217
|
/**
|
|
46808
47218
|
* ResponseManagement service.
|
|
46809
47219
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
46810
|
-
* @version
|
|
47220
|
+
* @version 158.0.0
|
|
46811
47221
|
*/
|
|
46812
47222
|
|
|
46813
47223
|
/**
|
|
@@ -47291,7 +47701,7 @@ class RoutingApi {
|
|
|
47291
47701
|
/**
|
|
47292
47702
|
* Routing service.
|
|
47293
47703
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47294
|
-
* @version
|
|
47704
|
+
* @version 158.0.0
|
|
47295
47705
|
*/
|
|
47296
47706
|
|
|
47297
47707
|
/**
|
|
@@ -50756,7 +51166,7 @@ class SCIMApi {
|
|
|
50756
51166
|
/**
|
|
50757
51167
|
* SCIM service.
|
|
50758
51168
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
50759
|
-
* @version
|
|
51169
|
+
* @version 158.0.0
|
|
50760
51170
|
*/
|
|
50761
51171
|
|
|
50762
51172
|
/**
|
|
@@ -51633,7 +52043,7 @@ class ScriptsApi {
|
|
|
51633
52043
|
/**
|
|
51634
52044
|
* Scripts service.
|
|
51635
52045
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
51636
|
-
* @version
|
|
52046
|
+
* @version 158.0.0
|
|
51637
52047
|
*/
|
|
51638
52048
|
|
|
51639
52049
|
/**
|
|
@@ -52052,7 +52462,7 @@ class SearchApi {
|
|
|
52052
52462
|
/**
|
|
52053
52463
|
* Search service.
|
|
52054
52464
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
52055
|
-
* @version
|
|
52465
|
+
* @version 158.0.0
|
|
52056
52466
|
*/
|
|
52057
52467
|
|
|
52058
52468
|
/**
|
|
@@ -52637,7 +53047,7 @@ class SpeechTextAnalyticsApi {
|
|
|
52637
53047
|
/**
|
|
52638
53048
|
* SpeechTextAnalytics service.
|
|
52639
53049
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
52640
|
-
* @version
|
|
53050
|
+
* @version 158.0.0
|
|
52641
53051
|
*/
|
|
52642
53052
|
|
|
52643
53053
|
/**
|
|
@@ -53491,7 +53901,7 @@ class StationsApi {
|
|
|
53491
53901
|
/**
|
|
53492
53902
|
* Stations service.
|
|
53493
53903
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
53494
|
-
* @version
|
|
53904
|
+
* @version 158.0.0
|
|
53495
53905
|
*/
|
|
53496
53906
|
|
|
53497
53907
|
/**
|
|
@@ -53589,7 +53999,7 @@ class StationsApi {
|
|
|
53589
53999
|
|
|
53590
54000
|
/**
|
|
53591
54001
|
* Get an organization's StationSettings
|
|
53592
|
-
*
|
|
54002
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
53593
54003
|
*/
|
|
53594
54004
|
getStationsSettings() {
|
|
53595
54005
|
|
|
@@ -53609,7 +54019,7 @@ class StationsApi {
|
|
|
53609
54019
|
|
|
53610
54020
|
/**
|
|
53611
54021
|
* Patch an organization's StationSettings
|
|
53612
|
-
*
|
|
54022
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
53613
54023
|
* @param {Object} body Station settings
|
|
53614
54024
|
*/
|
|
53615
54025
|
patchStationsSettings(body) {
|
|
@@ -53638,7 +54048,7 @@ class SuggestApi {
|
|
|
53638
54048
|
/**
|
|
53639
54049
|
* Suggest service.
|
|
53640
54050
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
53641
|
-
* @version
|
|
54051
|
+
* @version 158.0.0
|
|
53642
54052
|
*/
|
|
53643
54053
|
|
|
53644
54054
|
/**
|
|
@@ -53777,7 +54187,7 @@ class TeamsApi {
|
|
|
53777
54187
|
/**
|
|
53778
54188
|
* Teams service.
|
|
53779
54189
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
53780
|
-
* @version
|
|
54190
|
+
* @version 158.0.0
|
|
53781
54191
|
*/
|
|
53782
54192
|
|
|
53783
54193
|
/**
|
|
@@ -54048,7 +54458,7 @@ class TelephonyApi {
|
|
|
54048
54458
|
/**
|
|
54049
54459
|
* Telephony service.
|
|
54050
54460
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
54051
|
-
* @version
|
|
54461
|
+
* @version 158.0.0
|
|
54052
54462
|
*/
|
|
54053
54463
|
|
|
54054
54464
|
/**
|
|
@@ -54176,7 +54586,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
54176
54586
|
/**
|
|
54177
54587
|
* TelephonyProvidersEdge service.
|
|
54178
54588
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
54179
|
-
* @version
|
|
54589
|
+
* @version 158.0.0
|
|
54180
54590
|
*/
|
|
54181
54591
|
|
|
54182
54592
|
/**
|
|
@@ -57809,7 +58219,7 @@ class TextbotsApi {
|
|
|
57809
58219
|
/**
|
|
57810
58220
|
* Textbots service.
|
|
57811
58221
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
57812
|
-
* @version
|
|
58222
|
+
* @version 158.0.0
|
|
57813
58223
|
*/
|
|
57814
58224
|
|
|
57815
58225
|
/**
|
|
@@ -57937,7 +58347,7 @@ class TokensApi {
|
|
|
57937
58347
|
/**
|
|
57938
58348
|
* Tokens service.
|
|
57939
58349
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
57940
|
-
* @version
|
|
58350
|
+
* @version 158.0.0
|
|
57941
58351
|
*/
|
|
57942
58352
|
|
|
57943
58353
|
/**
|
|
@@ -58043,7 +58453,7 @@ class UploadsApi {
|
|
|
58043
58453
|
/**
|
|
58044
58454
|
* Uploads service.
|
|
58045
58455
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
58046
|
-
* @version
|
|
58456
|
+
* @version 158.0.0
|
|
58047
58457
|
*/
|
|
58048
58458
|
|
|
58049
58459
|
/**
|
|
@@ -58219,7 +58629,7 @@ class UsageApi {
|
|
|
58219
58629
|
/**
|
|
58220
58630
|
* Usage service.
|
|
58221
58631
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
58222
|
-
* @version
|
|
58632
|
+
* @version 158.0.0
|
|
58223
58633
|
*/
|
|
58224
58634
|
|
|
58225
58635
|
/**
|
|
@@ -58290,7 +58700,7 @@ class UserRecordingsApi {
|
|
|
58290
58700
|
/**
|
|
58291
58701
|
* UserRecordings service.
|
|
58292
58702
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
58293
|
-
* @version
|
|
58703
|
+
* @version 158.0.0
|
|
58294
58704
|
*/
|
|
58295
58705
|
|
|
58296
58706
|
/**
|
|
@@ -58475,7 +58885,7 @@ class UsersApi {
|
|
|
58475
58885
|
/**
|
|
58476
58886
|
* Users service.
|
|
58477
58887
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
58478
|
-
* @version
|
|
58888
|
+
* @version 158.0.0
|
|
58479
58889
|
*/
|
|
58480
58890
|
|
|
58481
58891
|
/**
|
|
@@ -60832,7 +61242,7 @@ class UtilitiesApi {
|
|
|
60832
61242
|
/**
|
|
60833
61243
|
* Utilities service.
|
|
60834
61244
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
60835
|
-
* @version
|
|
61245
|
+
* @version 158.0.0
|
|
60836
61246
|
*/
|
|
60837
61247
|
|
|
60838
61248
|
/**
|
|
@@ -60943,7 +61353,7 @@ class VoicemailApi {
|
|
|
60943
61353
|
/**
|
|
60944
61354
|
* Voicemail service.
|
|
60945
61355
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
60946
|
-
* @version
|
|
61356
|
+
* @version 158.0.0
|
|
60947
61357
|
*/
|
|
60948
61358
|
|
|
60949
61359
|
/**
|
|
@@ -61610,7 +62020,7 @@ class WebChatApi {
|
|
|
61610
62020
|
/**
|
|
61611
62021
|
* WebChat service.
|
|
61612
62022
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
61613
|
-
* @version
|
|
62023
|
+
* @version 158.0.0
|
|
61614
62024
|
*/
|
|
61615
62025
|
|
|
61616
62026
|
/**
|
|
@@ -62154,7 +62564,7 @@ class WebDeploymentsApi {
|
|
|
62154
62564
|
/**
|
|
62155
62565
|
* WebDeployments service.
|
|
62156
62566
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
62157
|
-
* @version
|
|
62567
|
+
* @version 158.0.0
|
|
62158
62568
|
*/
|
|
62159
62569
|
|
|
62160
62570
|
/**
|
|
@@ -62219,6 +62629,61 @@ class WebDeploymentsApi {
|
|
|
62219
62629
|
);
|
|
62220
62630
|
}
|
|
62221
62631
|
|
|
62632
|
+
/**
|
|
62633
|
+
* Deletes a cobrowse session
|
|
62634
|
+
*
|
|
62635
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
62636
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
62637
|
+
*/
|
|
62638
|
+
deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
62639
|
+
// verify the required parameter 'deploymentId' is set
|
|
62640
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
62641
|
+
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
62642
|
+
}
|
|
62643
|
+
// verify the required parameter 'sessionId' is set
|
|
62644
|
+
if (sessionId === undefined || sessionId === null) {
|
|
62645
|
+
throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
62646
|
+
}
|
|
62647
|
+
|
|
62648
|
+
return this.apiClient.callApi(
|
|
62649
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
62650
|
+
'DELETE',
|
|
62651
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
62652
|
+
{ },
|
|
62653
|
+
{ },
|
|
62654
|
+
{ },
|
|
62655
|
+
null,
|
|
62656
|
+
['PureCloud OAuth'],
|
|
62657
|
+
['application/json'],
|
|
62658
|
+
['application/json']
|
|
62659
|
+
);
|
|
62660
|
+
}
|
|
62661
|
+
|
|
62662
|
+
/**
|
|
62663
|
+
* Invalidate JWT
|
|
62664
|
+
*
|
|
62665
|
+
* @param {Object} opts Optional parameters
|
|
62666
|
+
* @param {String} opts.xJourneySessionId The Customer's journey sessionId.
|
|
62667
|
+
* @param {String} opts.xJourneySessionType The Customer's journey session type.
|
|
62668
|
+
*/
|
|
62669
|
+
deleteWebdeploymentsTokenRevoke(opts) {
|
|
62670
|
+
opts = opts || {};
|
|
62671
|
+
|
|
62672
|
+
|
|
62673
|
+
return this.apiClient.callApi(
|
|
62674
|
+
'/api/v2/webdeployments/token/revoke',
|
|
62675
|
+
'DELETE',
|
|
62676
|
+
{ },
|
|
62677
|
+
{ },
|
|
62678
|
+
{ 'X-Journey-Session-Id': opts['xJourneySessionId'],'X-Journey-Session-Type': opts['xJourneySessionType'] },
|
|
62679
|
+
{ },
|
|
62680
|
+
null,
|
|
62681
|
+
['PureCloud OAuth'],
|
|
62682
|
+
['application/json'],
|
|
62683
|
+
['application/json']
|
|
62684
|
+
);
|
|
62685
|
+
}
|
|
62686
|
+
|
|
62222
62687
|
/**
|
|
62223
62688
|
* Get a configuration version
|
|
62224
62689
|
*
|
|
@@ -62348,6 +62813,36 @@ class WebDeploymentsApi {
|
|
|
62348
62813
|
);
|
|
62349
62814
|
}
|
|
62350
62815
|
|
|
62816
|
+
/**
|
|
62817
|
+
* Retrieves a cobrowse session
|
|
62818
|
+
*
|
|
62819
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
62820
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
62821
|
+
*/
|
|
62822
|
+
getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
62823
|
+
// verify the required parameter 'deploymentId' is set
|
|
62824
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
62825
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
62826
|
+
}
|
|
62827
|
+
// verify the required parameter 'sessionId' is set
|
|
62828
|
+
if (sessionId === undefined || sessionId === null) {
|
|
62829
|
+
throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
62830
|
+
}
|
|
62831
|
+
|
|
62832
|
+
return this.apiClient.callApi(
|
|
62833
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
62834
|
+
'GET',
|
|
62835
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
62836
|
+
{ },
|
|
62837
|
+
{ },
|
|
62838
|
+
{ },
|
|
62839
|
+
null,
|
|
62840
|
+
['PureCloud OAuth'],
|
|
62841
|
+
['application/json'],
|
|
62842
|
+
['application/json']
|
|
62843
|
+
);
|
|
62844
|
+
}
|
|
62845
|
+
|
|
62351
62846
|
/**
|
|
62352
62847
|
* Get active configuration for a given deployment
|
|
62353
62848
|
*
|
|
@@ -62476,6 +62971,55 @@ class WebDeploymentsApi {
|
|
|
62476
62971
|
);
|
|
62477
62972
|
}
|
|
62478
62973
|
|
|
62974
|
+
/**
|
|
62975
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
62976
|
+
*
|
|
62977
|
+
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
62978
|
+
*/
|
|
62979
|
+
postWebdeploymentsTokenOauthcodegrantjwtexchange(body) {
|
|
62980
|
+
// verify the required parameter 'body' is set
|
|
62981
|
+
if (body === undefined || body === null) {
|
|
62982
|
+
throw 'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';
|
|
62983
|
+
}
|
|
62984
|
+
|
|
62985
|
+
return this.apiClient.callApi(
|
|
62986
|
+
'/api/v2/webdeployments/token/oauthcodegrantjwtexchange',
|
|
62987
|
+
'POST',
|
|
62988
|
+
{ },
|
|
62989
|
+
{ },
|
|
62990
|
+
{ },
|
|
62991
|
+
{ },
|
|
62992
|
+
body,
|
|
62993
|
+
['PureCloud OAuth'],
|
|
62994
|
+
['application/json'],
|
|
62995
|
+
['application/json']
|
|
62996
|
+
);
|
|
62997
|
+
}
|
|
62998
|
+
|
|
62999
|
+
/**
|
|
63000
|
+
* Refresh a JWT.
|
|
63001
|
+
*
|
|
63002
|
+
* @param {Object} opts Optional parameters
|
|
63003
|
+
* @param {Object} opts.body
|
|
63004
|
+
*/
|
|
63005
|
+
postWebdeploymentsTokenRefresh(opts) {
|
|
63006
|
+
opts = opts || {};
|
|
63007
|
+
|
|
63008
|
+
|
|
63009
|
+
return this.apiClient.callApi(
|
|
63010
|
+
'/api/v2/webdeployments/token/refresh',
|
|
63011
|
+
'POST',
|
|
63012
|
+
{ },
|
|
63013
|
+
{ },
|
|
63014
|
+
{ },
|
|
63015
|
+
{ },
|
|
63016
|
+
opts['body'],
|
|
63017
|
+
['PureCloud OAuth'],
|
|
63018
|
+
['application/json'],
|
|
63019
|
+
['application/json']
|
|
63020
|
+
);
|
|
63021
|
+
}
|
|
63022
|
+
|
|
62479
63023
|
/**
|
|
62480
63024
|
* Update the configuration draft
|
|
62481
63025
|
*
|
|
@@ -62542,7 +63086,7 @@ class WebMessagingApi {
|
|
|
62542
63086
|
/**
|
|
62543
63087
|
* WebMessaging service.
|
|
62544
63088
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
62545
|
-
* @version
|
|
63089
|
+
* @version 158.0.0
|
|
62546
63090
|
*/
|
|
62547
63091
|
|
|
62548
63092
|
/**
|
|
@@ -62588,7 +63132,7 @@ class WidgetsApi {
|
|
|
62588
63132
|
/**
|
|
62589
63133
|
* Widgets service.
|
|
62590
63134
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
62591
|
-
* @version
|
|
63135
|
+
* @version 158.0.0
|
|
62592
63136
|
*/
|
|
62593
63137
|
|
|
62594
63138
|
/**
|
|
@@ -62734,7 +63278,7 @@ class WorkforceManagementApi {
|
|
|
62734
63278
|
/**
|
|
62735
63279
|
* WorkforceManagement service.
|
|
62736
63280
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
62737
|
-
* @version
|
|
63281
|
+
* @version 158.0.0
|
|
62738
63282
|
*/
|
|
62739
63283
|
|
|
62740
63284
|
/**
|
|
@@ -63204,6 +63748,31 @@ class WorkforceManagementApi {
|
|
|
63204
63748
|
);
|
|
63205
63749
|
}
|
|
63206
63750
|
|
|
63751
|
+
/**
|
|
63752
|
+
* Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status
|
|
63753
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
63754
|
+
* @param {String} jobId ID of the job to get
|
|
63755
|
+
*/
|
|
63756
|
+
getWorkforcemanagementAdherenceHistoricalBulkJob(jobId) {
|
|
63757
|
+
// verify the required parameter 'jobId' is set
|
|
63758
|
+
if (jobId === undefined || jobId === null) {
|
|
63759
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';
|
|
63760
|
+
}
|
|
63761
|
+
|
|
63762
|
+
return this.apiClient.callApi(
|
|
63763
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}',
|
|
63764
|
+
'GET',
|
|
63765
|
+
{ 'jobId': jobId },
|
|
63766
|
+
{ },
|
|
63767
|
+
{ },
|
|
63768
|
+
{ },
|
|
63769
|
+
null,
|
|
63770
|
+
['PureCloud OAuth'],
|
|
63771
|
+
['application/json'],
|
|
63772
|
+
['application/json']
|
|
63773
|
+
);
|
|
63774
|
+
}
|
|
63775
|
+
|
|
63207
63776
|
/**
|
|
63208
63777
|
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
63209
63778
|
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
@@ -65655,6 +66224,30 @@ class WorkforceManagementApi {
|
|
|
65655
66224
|
);
|
|
65656
66225
|
}
|
|
65657
66226
|
|
|
66227
|
+
/**
|
|
66228
|
+
* Request a historical adherence report in bulk
|
|
66229
|
+
*
|
|
66230
|
+
* @param {Object} opts Optional parameters
|
|
66231
|
+
* @param {Object} opts.body body
|
|
66232
|
+
*/
|
|
66233
|
+
postWorkforcemanagementAdherenceHistoricalBulk(opts) {
|
|
66234
|
+
opts = opts || {};
|
|
66235
|
+
|
|
66236
|
+
|
|
66237
|
+
return this.apiClient.callApi(
|
|
66238
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk',
|
|
66239
|
+
'POST',
|
|
66240
|
+
{ },
|
|
66241
|
+
{ },
|
|
66242
|
+
{ },
|
|
66243
|
+
{ },
|
|
66244
|
+
opts['body'],
|
|
66245
|
+
['PureCloud OAuth'],
|
|
66246
|
+
['application/json'],
|
|
66247
|
+
['application/json']
|
|
66248
|
+
);
|
|
66249
|
+
}
|
|
66250
|
+
|
|
65658
66251
|
/**
|
|
65659
66252
|
* Add an adherence explanation for the requested user
|
|
65660
66253
|
*
|
|
@@ -67404,7 +67997,7 @@ class WorkforceManagementApi {
|
|
|
67404
67997
|
* </pre>
|
|
67405
67998
|
* </p>
|
|
67406
67999
|
* @module purecloud-platform-client-v2/index
|
|
67407
|
-
* @version
|
|
68000
|
+
* @version 158.0.0
|
|
67408
68001
|
*/
|
|
67409
68002
|
class platformClient {
|
|
67410
68003
|
constructor() {
|