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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 159.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1481,7 +1481,7 @@ class AlertingApi {
|
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Alerting service.
|
|
1483
1483
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1484
|
-
* @version
|
|
1484
|
+
* @version 159.0.0
|
|
1485
1485
|
*/
|
|
1486
1486
|
|
|
1487
1487
|
/**
|
|
@@ -1795,7 +1795,7 @@ class AnalyticsApi {
|
|
|
1795
1795
|
/**
|
|
1796
1796
|
* Analytics service.
|
|
1797
1797
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1798
|
-
* @version
|
|
1798
|
+
* @version 159.0.0
|
|
1799
1799
|
*/
|
|
1800
1800
|
|
|
1801
1801
|
/**
|
|
@@ -3049,7 +3049,7 @@ class ArchitectApi {
|
|
|
3049
3049
|
/**
|
|
3050
3050
|
* Architect service.
|
|
3051
3051
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3052
|
-
* @version
|
|
3052
|
+
* @version 159.0.0
|
|
3053
3053
|
*/
|
|
3054
3054
|
|
|
3055
3055
|
/**
|
|
@@ -6097,7 +6097,7 @@ class AuditApi {
|
|
|
6097
6097
|
/**
|
|
6098
6098
|
* Audit service.
|
|
6099
6099
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6100
|
-
* @version
|
|
6100
|
+
* @version 159.0.0
|
|
6101
6101
|
*/
|
|
6102
6102
|
|
|
6103
6103
|
/**
|
|
@@ -6268,7 +6268,7 @@ class AuthorizationApi {
|
|
|
6268
6268
|
/**
|
|
6269
6269
|
* Authorization service.
|
|
6270
6270
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6271
|
-
* @version
|
|
6271
|
+
* @version 159.0.0
|
|
6272
6272
|
*/
|
|
6273
6273
|
|
|
6274
6274
|
/**
|
|
@@ -7496,7 +7496,7 @@ class BillingApi {
|
|
|
7496
7496
|
/**
|
|
7497
7497
|
* Billing service.
|
|
7498
7498
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7499
|
-
* @version
|
|
7499
|
+
* @version 159.0.0
|
|
7500
7500
|
*/
|
|
7501
7501
|
|
|
7502
7502
|
/**
|
|
@@ -7576,7 +7576,7 @@ class ChatApi {
|
|
|
7576
7576
|
/**
|
|
7577
7577
|
* Chat service.
|
|
7578
7578
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7579
|
-
* @version
|
|
7579
|
+
* @version 159.0.0
|
|
7580
7580
|
*/
|
|
7581
7581
|
|
|
7582
7582
|
/**
|
|
@@ -7667,7 +7667,7 @@ class CoachingApi {
|
|
|
7667
7667
|
/**
|
|
7668
7668
|
* Coaching service.
|
|
7669
7669
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7670
|
-
* @version
|
|
7670
|
+
* @version 159.0.0
|
|
7671
7671
|
*/
|
|
7672
7672
|
|
|
7673
7673
|
/**
|
|
@@ -8244,7 +8244,7 @@ class ContentManagementApi {
|
|
|
8244
8244
|
/**
|
|
8245
8245
|
* ContentManagement service.
|
|
8246
8246
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8247
|
-
* @version
|
|
8247
|
+
* @version 159.0.0
|
|
8248
8248
|
*/
|
|
8249
8249
|
|
|
8250
8250
|
/**
|
|
@@ -9384,7 +9384,7 @@ class ConversationsApi {
|
|
|
9384
9384
|
/**
|
|
9385
9385
|
* Conversations service.
|
|
9386
9386
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9387
|
-
* @version
|
|
9387
|
+
* @version 159.0.0
|
|
9388
9388
|
*/
|
|
9389
9389
|
|
|
9390
9390
|
/**
|
|
@@ -12771,6 +12771,31 @@ class ConversationsApi {
|
|
|
12771
12771
|
);
|
|
12772
12772
|
}
|
|
12773
12773
|
|
|
12774
|
+
/**
|
|
12775
|
+
* Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
|
|
12776
|
+
*
|
|
12777
|
+
* @param {String} conversationId Conversation ID
|
|
12778
|
+
*/
|
|
12779
|
+
postConversationCobrowse(conversationId) {
|
|
12780
|
+
// verify the required parameter 'conversationId' is set
|
|
12781
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12782
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
|
|
12783
|
+
}
|
|
12784
|
+
|
|
12785
|
+
return this.apiClient.callApi(
|
|
12786
|
+
'/api/v2/conversations/{conversationId}/cobrowse',
|
|
12787
|
+
'POST',
|
|
12788
|
+
{ 'conversationId': conversationId },
|
|
12789
|
+
{ },
|
|
12790
|
+
{ },
|
|
12791
|
+
{ },
|
|
12792
|
+
null,
|
|
12793
|
+
['PureCloud OAuth'],
|
|
12794
|
+
['application/json'],
|
|
12795
|
+
['application/json']
|
|
12796
|
+
);
|
|
12797
|
+
}
|
|
12798
|
+
|
|
12774
12799
|
/**
|
|
12775
12800
|
* 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.
|
|
12776
12801
|
*
|
|
@@ -14607,7 +14632,7 @@ class DataExtensionsApi {
|
|
|
14607
14632
|
/**
|
|
14608
14633
|
* DataExtensions service.
|
|
14609
14634
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14610
|
-
* @version
|
|
14635
|
+
* @version 159.0.0
|
|
14611
14636
|
*/
|
|
14612
14637
|
|
|
14613
14638
|
/**
|
|
@@ -14693,7 +14718,7 @@ class DownloadsApi {
|
|
|
14693
14718
|
/**
|
|
14694
14719
|
* Downloads service.
|
|
14695
14720
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14696
|
-
* @version
|
|
14721
|
+
* @version 159.0.0
|
|
14697
14722
|
*/
|
|
14698
14723
|
|
|
14699
14724
|
/**
|
|
@@ -14745,7 +14770,7 @@ class EventsApi {
|
|
|
14745
14770
|
/**
|
|
14746
14771
|
* Events service.
|
|
14747
14772
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14748
|
-
* @version
|
|
14773
|
+
* @version 159.0.0
|
|
14749
14774
|
*/
|
|
14750
14775
|
|
|
14751
14776
|
/**
|
|
@@ -14841,7 +14866,7 @@ class ExternalContactsApi {
|
|
|
14841
14866
|
/**
|
|
14842
14867
|
* ExternalContacts service.
|
|
14843
14868
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14844
|
-
* @version
|
|
14869
|
+
* @version 159.0.0
|
|
14845
14870
|
*/
|
|
14846
14871
|
|
|
14847
14872
|
/**
|
|
@@ -16799,7 +16824,7 @@ class FaxApi {
|
|
|
16799
16824
|
/**
|
|
16800
16825
|
* Fax service.
|
|
16801
16826
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16802
|
-
* @version
|
|
16827
|
+
* @version 159.0.0
|
|
16803
16828
|
*/
|
|
16804
16829
|
|
|
16805
16830
|
/**
|
|
@@ -16970,7 +16995,7 @@ class FlowsApi {
|
|
|
16970
16995
|
/**
|
|
16971
16996
|
* Flows service.
|
|
16972
16997
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16973
|
-
* @version
|
|
16998
|
+
* @version 159.0.0
|
|
16974
16999
|
*/
|
|
16975
17000
|
|
|
16976
17001
|
/**
|
|
@@ -17041,7 +17066,7 @@ class GamificationApi {
|
|
|
17041
17066
|
/**
|
|
17042
17067
|
* Gamification service.
|
|
17043
17068
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17044
|
-
* @version
|
|
17069
|
+
* @version 159.0.0
|
|
17045
17070
|
*/
|
|
17046
17071
|
|
|
17047
17072
|
/**
|
|
@@ -18658,7 +18683,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18658
18683
|
/**
|
|
18659
18684
|
* GeneralDataProtectionRegulation service.
|
|
18660
18685
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18661
|
-
* @version
|
|
18686
|
+
* @version 159.0.0
|
|
18662
18687
|
*/
|
|
18663
18688
|
|
|
18664
18689
|
/**
|
|
@@ -18788,7 +18813,7 @@ class GeolocationApi {
|
|
|
18788
18813
|
/**
|
|
18789
18814
|
* Geolocation service.
|
|
18790
18815
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18791
|
-
* @version
|
|
18816
|
+
* @version 159.0.0
|
|
18792
18817
|
*/
|
|
18793
18818
|
|
|
18794
18819
|
/**
|
|
@@ -18919,7 +18944,7 @@ class GreetingsApi {
|
|
|
18919
18944
|
/**
|
|
18920
18945
|
* Greetings service.
|
|
18921
18946
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18922
|
-
* @version
|
|
18947
|
+
* @version 159.0.0
|
|
18923
18948
|
*/
|
|
18924
18949
|
|
|
18925
18950
|
/**
|
|
@@ -19374,7 +19399,7 @@ class GroupsApi {
|
|
|
19374
19399
|
/**
|
|
19375
19400
|
* Groups service.
|
|
19376
19401
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19377
|
-
* @version
|
|
19402
|
+
* @version 159.0.0
|
|
19378
19403
|
*/
|
|
19379
19404
|
|
|
19380
19405
|
/**
|
|
@@ -19780,7 +19805,7 @@ class IdentityProviderApi {
|
|
|
19780
19805
|
/**
|
|
19781
19806
|
* IdentityProvider service.
|
|
19782
19807
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19783
|
-
* @version
|
|
19808
|
+
* @version 159.0.0
|
|
19784
19809
|
*/
|
|
19785
19810
|
|
|
19786
19811
|
/**
|
|
@@ -20536,7 +20561,7 @@ class IntegrationsApi {
|
|
|
20536
20561
|
/**
|
|
20537
20562
|
* Integrations service.
|
|
20538
20563
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20539
|
-
* @version
|
|
20564
|
+
* @version 159.0.0
|
|
20540
20565
|
*/
|
|
20541
20566
|
|
|
20542
20567
|
/**
|
|
@@ -22136,7 +22161,7 @@ class JourneyApi {
|
|
|
22136
22161
|
/**
|
|
22137
22162
|
* Journey service.
|
|
22138
22163
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22139
|
-
* @version
|
|
22164
|
+
* @version 159.0.0
|
|
22140
22165
|
*/
|
|
22141
22166
|
|
|
22142
22167
|
/**
|
|
@@ -22230,6 +22255,31 @@ class JourneyApi {
|
|
|
22230
22255
|
);
|
|
22231
22256
|
}
|
|
22232
22257
|
|
|
22258
|
+
/**
|
|
22259
|
+
* Delete an outcome predictor.
|
|
22260
|
+
*
|
|
22261
|
+
* @param {String} predictorId ID of predictor
|
|
22262
|
+
*/
|
|
22263
|
+
deleteJourneyOutcomesPredictor(predictorId) {
|
|
22264
|
+
// verify the required parameter 'predictorId' is set
|
|
22265
|
+
if (predictorId === undefined || predictorId === null) {
|
|
22266
|
+
throw 'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';
|
|
22267
|
+
}
|
|
22268
|
+
|
|
22269
|
+
return this.apiClient.callApi(
|
|
22270
|
+
'/api/v2/journey/outcomes/predictors/{predictorId}',
|
|
22271
|
+
'DELETE',
|
|
22272
|
+
{ 'predictorId': predictorId },
|
|
22273
|
+
{ },
|
|
22274
|
+
{ },
|
|
22275
|
+
{ },
|
|
22276
|
+
null,
|
|
22277
|
+
['PureCloud OAuth'],
|
|
22278
|
+
['application/json'],
|
|
22279
|
+
['application/json']
|
|
22280
|
+
);
|
|
22281
|
+
}
|
|
22282
|
+
|
|
22233
22283
|
/**
|
|
22234
22284
|
* Delete a segment.
|
|
22235
22285
|
*
|
|
@@ -22520,6 +22570,51 @@ class JourneyApi {
|
|
|
22520
22570
|
);
|
|
22521
22571
|
}
|
|
22522
22572
|
|
|
22573
|
+
/**
|
|
22574
|
+
* Retrieve a single outcome predictor.
|
|
22575
|
+
*
|
|
22576
|
+
* @param {String} predictorId ID of predictor
|
|
22577
|
+
*/
|
|
22578
|
+
getJourneyOutcomesPredictor(predictorId) {
|
|
22579
|
+
// verify the required parameter 'predictorId' is set
|
|
22580
|
+
if (predictorId === undefined || predictorId === null) {
|
|
22581
|
+
throw 'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';
|
|
22582
|
+
}
|
|
22583
|
+
|
|
22584
|
+
return this.apiClient.callApi(
|
|
22585
|
+
'/api/v2/journey/outcomes/predictors/{predictorId}',
|
|
22586
|
+
'GET',
|
|
22587
|
+
{ 'predictorId': predictorId },
|
|
22588
|
+
{ },
|
|
22589
|
+
{ },
|
|
22590
|
+
{ },
|
|
22591
|
+
null,
|
|
22592
|
+
['PureCloud OAuth'],
|
|
22593
|
+
['application/json'],
|
|
22594
|
+
['application/json']
|
|
22595
|
+
);
|
|
22596
|
+
}
|
|
22597
|
+
|
|
22598
|
+
/**
|
|
22599
|
+
* Retrieve all outcome predictors.
|
|
22600
|
+
*
|
|
22601
|
+
*/
|
|
22602
|
+
getJourneyOutcomesPredictors() {
|
|
22603
|
+
|
|
22604
|
+
return this.apiClient.callApi(
|
|
22605
|
+
'/api/v2/journey/outcomes/predictors',
|
|
22606
|
+
'GET',
|
|
22607
|
+
{ },
|
|
22608
|
+
{ },
|
|
22609
|
+
{ },
|
|
22610
|
+
{ },
|
|
22611
|
+
null,
|
|
22612
|
+
['PureCloud OAuth'],
|
|
22613
|
+
['application/json'],
|
|
22614
|
+
['application/json']
|
|
22615
|
+
);
|
|
22616
|
+
}
|
|
22617
|
+
|
|
22523
22618
|
/**
|
|
22524
22619
|
* Retrieve a single segment.
|
|
22525
22620
|
*
|
|
@@ -22892,6 +22987,30 @@ class JourneyApi {
|
|
|
22892
22987
|
);
|
|
22893
22988
|
}
|
|
22894
22989
|
|
|
22990
|
+
/**
|
|
22991
|
+
* Create an outcome predictor.
|
|
22992
|
+
*
|
|
22993
|
+
* @param {Object} opts Optional parameters
|
|
22994
|
+
* @param {Object} opts.body
|
|
22995
|
+
*/
|
|
22996
|
+
postJourneyOutcomesPredictors(opts) {
|
|
22997
|
+
opts = opts || {};
|
|
22998
|
+
|
|
22999
|
+
|
|
23000
|
+
return this.apiClient.callApi(
|
|
23001
|
+
'/api/v2/journey/outcomes/predictors',
|
|
23002
|
+
'POST',
|
|
23003
|
+
{ },
|
|
23004
|
+
{ },
|
|
23005
|
+
{ },
|
|
23006
|
+
{ },
|
|
23007
|
+
opts['body'],
|
|
23008
|
+
['PureCloud OAuth'],
|
|
23009
|
+
['application/json'],
|
|
23010
|
+
['application/json']
|
|
23011
|
+
);
|
|
23012
|
+
}
|
|
23013
|
+
|
|
22895
23014
|
/**
|
|
22896
23015
|
* Create a segment.
|
|
22897
23016
|
*
|
|
@@ -22922,7 +23041,7 @@ class KnowledgeApi {
|
|
|
22922
23041
|
/**
|
|
22923
23042
|
* Knowledge service.
|
|
22924
23043
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22925
|
-
* @version
|
|
23044
|
+
* @version 159.0.0
|
|
22926
23045
|
*/
|
|
22927
23046
|
|
|
22928
23047
|
/**
|
|
@@ -23325,7 +23444,6 @@ class KnowledgeApi {
|
|
|
23325
23444
|
* @param {String} sessionId Knowledge guest session ID.
|
|
23326
23445
|
* @param {Object} opts Optional parameters
|
|
23327
23446
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
23328
|
-
* @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.
|
|
23329
23447
|
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
|
|
23330
23448
|
*/
|
|
23331
23449
|
getKnowledgeGuestSessionDocuments(sessionId, opts) {
|
|
@@ -23340,7 +23458,7 @@ class KnowledgeApi {
|
|
|
23340
23458
|
'/api/v2/knowledge/guest/sessions/{sessionId}/documents',
|
|
23341
23459
|
'GET',
|
|
23342
23460
|
{ 'sessionId': sessionId },
|
|
23343
|
-
{ 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'
|
|
23461
|
+
{ 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
23344
23462
|
{ },
|
|
23345
23463
|
{ },
|
|
23346
23464
|
null,
|
|
@@ -25355,7 +25473,7 @@ class LanguageUnderstandingApi {
|
|
|
25355
25473
|
/**
|
|
25356
25474
|
* LanguageUnderstanding service.
|
|
25357
25475
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25358
|
-
* @version
|
|
25476
|
+
* @version 159.0.0
|
|
25359
25477
|
*/
|
|
25360
25478
|
|
|
25361
25479
|
/**
|
|
@@ -25549,6 +25667,7 @@ class LanguageUnderstandingApi {
|
|
|
25549
25667
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25550
25668
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25551
25669
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
25670
|
+
* @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
|
|
25552
25671
|
* @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
|
|
25553
25672
|
* @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
|
|
25554
25673
|
*/
|
|
@@ -25564,7 +25683,7 @@ class LanguageUnderstandingApi {
|
|
|
25564
25683
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
25565
25684
|
'GET',
|
|
25566
25685
|
{ 'domainId': domainId },
|
|
25567
|
-
{ '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') },
|
|
25686
|
+
{ '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') },
|
|
25568
25687
|
{ },
|
|
25569
25688
|
{ },
|
|
25570
25689
|
null,
|
|
@@ -26367,7 +26486,7 @@ class LanguagesApi {
|
|
|
26367
26486
|
/**
|
|
26368
26487
|
* Languages service.
|
|
26369
26488
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26370
|
-
* @version
|
|
26489
|
+
* @version 159.0.0
|
|
26371
26490
|
*/
|
|
26372
26491
|
|
|
26373
26492
|
/**
|
|
@@ -26585,7 +26704,7 @@ class LearningApi {
|
|
|
26585
26704
|
/**
|
|
26586
26705
|
* Learning service.
|
|
26587
26706
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26588
|
-
* @version
|
|
26707
|
+
* @version 159.0.0
|
|
26589
26708
|
*/
|
|
26590
26709
|
|
|
26591
26710
|
/**
|
|
@@ -26695,7 +26814,7 @@ class LearningApi {
|
|
|
26695
26814
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
26696
26815
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
26697
26816
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
26698
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
26817
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
26699
26818
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
26700
26819
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
26701
26820
|
*/
|
|
@@ -26732,7 +26851,7 @@ class LearningApi {
|
|
|
26732
26851
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
26733
26852
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
26734
26853
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
26735
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
26854
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
26736
26855
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
26737
26856
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
26738
26857
|
*/
|
|
@@ -27346,7 +27465,7 @@ class LicenseApi {
|
|
|
27346
27465
|
/**
|
|
27347
27466
|
* License service.
|
|
27348
27467
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27349
|
-
* @version
|
|
27468
|
+
* @version 159.0.0
|
|
27350
27469
|
*/
|
|
27351
27470
|
|
|
27352
27471
|
/**
|
|
@@ -27584,7 +27703,7 @@ class LocationsApi {
|
|
|
27584
27703
|
/**
|
|
27585
27704
|
* Locations service.
|
|
27586
27705
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27587
|
-
* @version
|
|
27706
|
+
* @version 159.0.0
|
|
27588
27707
|
*/
|
|
27589
27708
|
|
|
27590
27709
|
/**
|
|
@@ -27820,7 +27939,7 @@ class MessagingApi {
|
|
|
27820
27939
|
/**
|
|
27821
27940
|
* Messaging service.
|
|
27822
27941
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27823
|
-
* @version
|
|
27942
|
+
* @version 159.0.0
|
|
27824
27943
|
*/
|
|
27825
27944
|
|
|
27826
27945
|
/**
|
|
@@ -27971,7 +28090,7 @@ class MobileDevicesApi {
|
|
|
27971
28090
|
/**
|
|
27972
28091
|
* MobileDevices service.
|
|
27973
28092
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27974
|
-
* @version
|
|
28093
|
+
* @version 159.0.0
|
|
27975
28094
|
*/
|
|
27976
28095
|
|
|
27977
28096
|
/**
|
|
@@ -28122,7 +28241,7 @@ class NotificationsApi {
|
|
|
28122
28241
|
/**
|
|
28123
28242
|
* Notifications service.
|
|
28124
28243
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
28125
|
-
* @version
|
|
28244
|
+
* @version 159.0.0
|
|
28126
28245
|
*/
|
|
28127
28246
|
|
|
28128
28247
|
/**
|
|
@@ -28347,7 +28466,7 @@ class OAuthApi {
|
|
|
28347
28466
|
/**
|
|
28348
28467
|
* OAuth service.
|
|
28349
28468
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28350
|
-
* @version
|
|
28469
|
+
* @version 159.0.0
|
|
28351
28470
|
*/
|
|
28352
28471
|
|
|
28353
28472
|
/**
|
|
@@ -28713,7 +28832,7 @@ class ObjectsApi {
|
|
|
28713
28832
|
/**
|
|
28714
28833
|
* Objects service.
|
|
28715
28834
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28716
|
-
* @version
|
|
28835
|
+
* @version 159.0.0
|
|
28717
28836
|
*/
|
|
28718
28837
|
|
|
28719
28838
|
/**
|
|
@@ -28984,7 +29103,7 @@ class OrganizationApi {
|
|
|
28984
29103
|
/**
|
|
28985
29104
|
* Organization service.
|
|
28986
29105
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28987
|
-
* @version
|
|
29106
|
+
* @version 159.0.0
|
|
28988
29107
|
*/
|
|
28989
29108
|
|
|
28990
29109
|
/**
|
|
@@ -29387,7 +29506,7 @@ class OrganizationAuthorizationApi {
|
|
|
29387
29506
|
/**
|
|
29388
29507
|
* OrganizationAuthorization service.
|
|
29389
29508
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29390
|
-
* @version
|
|
29509
|
+
* @version 159.0.0
|
|
29391
29510
|
*/
|
|
29392
29511
|
|
|
29393
29512
|
/**
|
|
@@ -29457,6 +29576,66 @@ class OrganizationAuthorizationApi {
|
|
|
29457
29576
|
);
|
|
29458
29577
|
}
|
|
29459
29578
|
|
|
29579
|
+
/**
|
|
29580
|
+
* Delete Trustee Group
|
|
29581
|
+
*
|
|
29582
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
29583
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
29584
|
+
*/
|
|
29585
|
+
deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
29586
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
29587
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
29588
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
29589
|
+
}
|
|
29590
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
29591
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
29592
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
29593
|
+
}
|
|
29594
|
+
|
|
29595
|
+
return this.apiClient.callApi(
|
|
29596
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
29597
|
+
'DELETE',
|
|
29598
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
29599
|
+
{ },
|
|
29600
|
+
{ },
|
|
29601
|
+
{ },
|
|
29602
|
+
null,
|
|
29603
|
+
['PureCloud OAuth'],
|
|
29604
|
+
['application/json'],
|
|
29605
|
+
['application/json']
|
|
29606
|
+
);
|
|
29607
|
+
}
|
|
29608
|
+
|
|
29609
|
+
/**
|
|
29610
|
+
* Delete Trustee Group Roles
|
|
29611
|
+
*
|
|
29612
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
29613
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
29614
|
+
*/
|
|
29615
|
+
deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
29616
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
29617
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
29618
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
29619
|
+
}
|
|
29620
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
29621
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
29622
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
29623
|
+
}
|
|
29624
|
+
|
|
29625
|
+
return this.apiClient.callApi(
|
|
29626
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
29627
|
+
'DELETE',
|
|
29628
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
29629
|
+
{ },
|
|
29630
|
+
{ },
|
|
29631
|
+
{ },
|
|
29632
|
+
null,
|
|
29633
|
+
['PureCloud OAuth'],
|
|
29634
|
+
['application/json'],
|
|
29635
|
+
['application/json']
|
|
29636
|
+
);
|
|
29637
|
+
}
|
|
29638
|
+
|
|
29460
29639
|
/**
|
|
29461
29640
|
* Delete Trustee User
|
|
29462
29641
|
*
|
|
@@ -29572,6 +29751,36 @@ class OrganizationAuthorizationApi {
|
|
|
29572
29751
|
);
|
|
29573
29752
|
}
|
|
29574
29753
|
|
|
29754
|
+
/**
|
|
29755
|
+
* Delete Trustee Group
|
|
29756
|
+
*
|
|
29757
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
29758
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
29759
|
+
*/
|
|
29760
|
+
deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
29761
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
29762
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
29763
|
+
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
|
|
29764
|
+
}
|
|
29765
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
29766
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
29767
|
+
throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
|
|
29768
|
+
}
|
|
29769
|
+
|
|
29770
|
+
return this.apiClient.callApi(
|
|
29771
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
29772
|
+
'DELETE',
|
|
29773
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
29774
|
+
{ },
|
|
29775
|
+
{ },
|
|
29776
|
+
{ },
|
|
29777
|
+
null,
|
|
29778
|
+
['PureCloud OAuth'],
|
|
29779
|
+
['application/json'],
|
|
29780
|
+
['application/json']
|
|
29781
|
+
);
|
|
29782
|
+
}
|
|
29783
|
+
|
|
29575
29784
|
/**
|
|
29576
29785
|
* Delete Trustee User
|
|
29577
29786
|
*
|
|
@@ -29677,6 +29886,96 @@ class OrganizationAuthorizationApi {
|
|
|
29677
29886
|
);
|
|
29678
29887
|
}
|
|
29679
29888
|
|
|
29889
|
+
/**
|
|
29890
|
+
* Get Trustee Group
|
|
29891
|
+
*
|
|
29892
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
29893
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
29894
|
+
*/
|
|
29895
|
+
getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
29896
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
29897
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
29898
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
|
|
29899
|
+
}
|
|
29900
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
29901
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
29902
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
|
|
29903
|
+
}
|
|
29904
|
+
|
|
29905
|
+
return this.apiClient.callApi(
|
|
29906
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
29907
|
+
'GET',
|
|
29908
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
29909
|
+
{ },
|
|
29910
|
+
{ },
|
|
29911
|
+
{ },
|
|
29912
|
+
null,
|
|
29913
|
+
['PureCloud OAuth'],
|
|
29914
|
+
['application/json'],
|
|
29915
|
+
['application/json']
|
|
29916
|
+
);
|
|
29917
|
+
}
|
|
29918
|
+
|
|
29919
|
+
/**
|
|
29920
|
+
* Get Trustee Group Roles
|
|
29921
|
+
*
|
|
29922
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
29923
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
29924
|
+
*/
|
|
29925
|
+
getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
29926
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
29927
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
29928
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
29929
|
+
}
|
|
29930
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
29931
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
29932
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
29933
|
+
}
|
|
29934
|
+
|
|
29935
|
+
return this.apiClient.callApi(
|
|
29936
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
29937
|
+
'GET',
|
|
29938
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
29939
|
+
{ },
|
|
29940
|
+
{ },
|
|
29941
|
+
{ },
|
|
29942
|
+
null,
|
|
29943
|
+
['PureCloud OAuth'],
|
|
29944
|
+
['application/json'],
|
|
29945
|
+
['application/json']
|
|
29946
|
+
);
|
|
29947
|
+
}
|
|
29948
|
+
|
|
29949
|
+
/**
|
|
29950
|
+
* The list of trustee groups for this organization (i.e. groups granted access to this organization).
|
|
29951
|
+
*
|
|
29952
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
29953
|
+
* @param {Object} opts Optional parameters
|
|
29954
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
29955
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
29956
|
+
*/
|
|
29957
|
+
getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
|
|
29958
|
+
opts = opts || {};
|
|
29959
|
+
|
|
29960
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
29961
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
29962
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
|
|
29963
|
+
}
|
|
29964
|
+
|
|
29965
|
+
return this.apiClient.callApi(
|
|
29966
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
29967
|
+
'GET',
|
|
29968
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
29969
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
29970
|
+
{ },
|
|
29971
|
+
{ },
|
|
29972
|
+
null,
|
|
29973
|
+
['PureCloud OAuth'],
|
|
29974
|
+
['application/json'],
|
|
29975
|
+
['application/json']
|
|
29976
|
+
);
|
|
29977
|
+
}
|
|
29978
|
+
|
|
29680
29979
|
/**
|
|
29681
29980
|
* Get Trustee User
|
|
29682
29981
|
*
|
|
@@ -29892,6 +30191,66 @@ class OrganizationAuthorizationApi {
|
|
|
29892
30191
|
);
|
|
29893
30192
|
}
|
|
29894
30193
|
|
|
30194
|
+
/**
|
|
30195
|
+
* Get Trustee Group
|
|
30196
|
+
*
|
|
30197
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
30198
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
30199
|
+
*/
|
|
30200
|
+
getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
30201
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
30202
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
30203
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
|
|
30204
|
+
}
|
|
30205
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
30206
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
30207
|
+
throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
|
|
30208
|
+
}
|
|
30209
|
+
|
|
30210
|
+
return this.apiClient.callApi(
|
|
30211
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
30212
|
+
'GET',
|
|
30213
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
30214
|
+
{ },
|
|
30215
|
+
{ },
|
|
30216
|
+
{ },
|
|
30217
|
+
null,
|
|
30218
|
+
['PureCloud OAuth'],
|
|
30219
|
+
['application/json'],
|
|
30220
|
+
['application/json']
|
|
30221
|
+
);
|
|
30222
|
+
}
|
|
30223
|
+
|
|
30224
|
+
/**
|
|
30225
|
+
* The list of groups in the trustor organization (i.e. groups granted access).
|
|
30226
|
+
*
|
|
30227
|
+
* @param {String} trustorOrgId Trustee Organization Id
|
|
30228
|
+
* @param {Object} opts Optional parameters
|
|
30229
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
30230
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
30231
|
+
*/
|
|
30232
|
+
getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
|
|
30233
|
+
opts = opts || {};
|
|
30234
|
+
|
|
30235
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
30236
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
30237
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
|
|
30238
|
+
}
|
|
30239
|
+
|
|
30240
|
+
return this.apiClient.callApi(
|
|
30241
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
|
|
30242
|
+
'GET',
|
|
30243
|
+
{ 'trustorOrgId': trustorOrgId },
|
|
30244
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
30245
|
+
{ },
|
|
30246
|
+
{ },
|
|
30247
|
+
null,
|
|
30248
|
+
['PureCloud OAuth'],
|
|
30249
|
+
['application/json'],
|
|
30250
|
+
['application/json']
|
|
30251
|
+
);
|
|
30252
|
+
}
|
|
30253
|
+
|
|
29895
30254
|
/**
|
|
29896
30255
|
* Get Trustee User
|
|
29897
30256
|
*
|
|
@@ -30002,6 +30361,36 @@ class OrganizationAuthorizationApi {
|
|
|
30002
30361
|
);
|
|
30003
30362
|
}
|
|
30004
30363
|
|
|
30364
|
+
/**
|
|
30365
|
+
* Add a group to the trust.
|
|
30366
|
+
*
|
|
30367
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
30368
|
+
* @param {Object} body Trust
|
|
30369
|
+
*/
|
|
30370
|
+
postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
|
|
30371
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
30372
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
30373
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
|
|
30374
|
+
}
|
|
30375
|
+
// verify the required parameter 'body' is set
|
|
30376
|
+
if (body === undefined || body === null) {
|
|
30377
|
+
throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
|
|
30378
|
+
}
|
|
30379
|
+
|
|
30380
|
+
return this.apiClient.callApi(
|
|
30381
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
30382
|
+
'POST',
|
|
30383
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
30384
|
+
{ },
|
|
30385
|
+
{ },
|
|
30386
|
+
{ },
|
|
30387
|
+
body,
|
|
30388
|
+
['PureCloud OAuth'],
|
|
30389
|
+
['application/json'],
|
|
30390
|
+
['application/json']
|
|
30391
|
+
);
|
|
30392
|
+
}
|
|
30393
|
+
|
|
30005
30394
|
/**
|
|
30006
30395
|
* Add a user to the trust.
|
|
30007
30396
|
*
|
|
@@ -30176,6 +30565,76 @@ class OrganizationAuthorizationApi {
|
|
|
30176
30565
|
);
|
|
30177
30566
|
}
|
|
30178
30567
|
|
|
30568
|
+
/**
|
|
30569
|
+
* Update Trustee Group Roles
|
|
30570
|
+
*
|
|
30571
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
30572
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
30573
|
+
* @param {Object} body Set of roles with corresponding divisions to apply
|
|
30574
|
+
*/
|
|
30575
|
+
putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
|
|
30576
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
30577
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
30578
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
30579
|
+
}
|
|
30580
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
30581
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
30582
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
30583
|
+
}
|
|
30584
|
+
// verify the required parameter 'body' is set
|
|
30585
|
+
if (body === undefined || body === null) {
|
|
30586
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
30587
|
+
}
|
|
30588
|
+
|
|
30589
|
+
return this.apiClient.callApi(
|
|
30590
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
|
|
30591
|
+
'PUT',
|
|
30592
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
30593
|
+
{ },
|
|
30594
|
+
{ },
|
|
30595
|
+
{ },
|
|
30596
|
+
body,
|
|
30597
|
+
['PureCloud OAuth'],
|
|
30598
|
+
['application/json'],
|
|
30599
|
+
['application/json']
|
|
30600
|
+
);
|
|
30601
|
+
}
|
|
30602
|
+
|
|
30603
|
+
/**
|
|
30604
|
+
* Update Trustee Group Roles
|
|
30605
|
+
*
|
|
30606
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
30607
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
30608
|
+
* @param {Array.<String>} body List of roles
|
|
30609
|
+
*/
|
|
30610
|
+
putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
|
|
30611
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
30612
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
30613
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
30614
|
+
}
|
|
30615
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
30616
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
30617
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
30618
|
+
}
|
|
30619
|
+
// verify the required parameter 'body' is set
|
|
30620
|
+
if (body === undefined || body === null) {
|
|
30621
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
30622
|
+
}
|
|
30623
|
+
|
|
30624
|
+
return this.apiClient.callApi(
|
|
30625
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
30626
|
+
'PUT',
|
|
30627
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
30628
|
+
{ },
|
|
30629
|
+
{ },
|
|
30630
|
+
{ },
|
|
30631
|
+
body,
|
|
30632
|
+
['PureCloud OAuth'],
|
|
30633
|
+
['application/json'],
|
|
30634
|
+
['application/json']
|
|
30635
|
+
);
|
|
30636
|
+
}
|
|
30637
|
+
|
|
30179
30638
|
/**
|
|
30180
30639
|
* Update Trustee User Roles
|
|
30181
30640
|
*
|
|
@@ -30276,6 +30735,36 @@ class OrganizationAuthorizationApi {
|
|
|
30276
30735
|
);
|
|
30277
30736
|
}
|
|
30278
30737
|
|
|
30738
|
+
/**
|
|
30739
|
+
* Add a Trustee Group to the trust.
|
|
30740
|
+
*
|
|
30741
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
30742
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
30743
|
+
*/
|
|
30744
|
+
putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
30745
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
30746
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
30747
|
+
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
|
|
30748
|
+
}
|
|
30749
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
30750
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
30751
|
+
throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
|
|
30752
|
+
}
|
|
30753
|
+
|
|
30754
|
+
return this.apiClient.callApi(
|
|
30755
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
30756
|
+
'PUT',
|
|
30757
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
30758
|
+
{ },
|
|
30759
|
+
{ },
|
|
30760
|
+
{ },
|
|
30761
|
+
null,
|
|
30762
|
+
['PureCloud OAuth'],
|
|
30763
|
+
['application/json'],
|
|
30764
|
+
['application/json']
|
|
30765
|
+
);
|
|
30766
|
+
}
|
|
30767
|
+
|
|
30279
30768
|
/**
|
|
30280
30769
|
* Add a Trustee user to the trust.
|
|
30281
30770
|
*
|
|
@@ -30312,7 +30801,7 @@ class OutboundApi {
|
|
|
30312
30801
|
/**
|
|
30313
30802
|
* Outbound service.
|
|
30314
30803
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30315
|
-
* @version
|
|
30804
|
+
* @version 159.0.0
|
|
30316
30805
|
*/
|
|
30317
30806
|
|
|
30318
30807
|
/**
|
|
@@ -33849,7 +34338,7 @@ class PresenceApi {
|
|
|
33849
34338
|
/**
|
|
33850
34339
|
* Presence service.
|
|
33851
34340
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33852
|
-
* @version
|
|
34341
|
+
* @version 159.0.0
|
|
33853
34342
|
*/
|
|
33854
34343
|
|
|
33855
34344
|
/**
|
|
@@ -34355,7 +34844,7 @@ class ProcessAutomationApi {
|
|
|
34355
34844
|
/**
|
|
34356
34845
|
* ProcessAutomation service.
|
|
34357
34846
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34358
|
-
* @version
|
|
34847
|
+
* @version 159.0.0
|
|
34359
34848
|
*/
|
|
34360
34849
|
|
|
34361
34850
|
/**
|
|
@@ -34594,7 +35083,7 @@ class QualityApi {
|
|
|
34594
35083
|
/**
|
|
34595
35084
|
* Quality service.
|
|
34596
35085
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
34597
|
-
* @version
|
|
35086
|
+
* @version 159.0.0
|
|
34598
35087
|
*/
|
|
34599
35088
|
|
|
34600
35089
|
/**
|
|
@@ -34856,7 +35345,7 @@ class QualityApi {
|
|
|
34856
35345
|
* @param {String} conversationId conversationId
|
|
34857
35346
|
* @param {String} evaluationId evaluationId
|
|
34858
35347
|
* @param {Object} opts Optional parameters
|
|
34859
|
-
* @param {String} opts.expand agent, evaluator, evaluationForm
|
|
35348
|
+
* @param {String} opts.expand agent, assignee, evaluator, evaluationForm
|
|
34860
35349
|
*/
|
|
34861
35350
|
getQualityConversationEvaluation(conversationId, evaluationId, opts) {
|
|
34862
35351
|
opts = opts || {};
|
|
@@ -34967,7 +35456,7 @@ class QualityApi {
|
|
|
34967
35456
|
|
|
34968
35457
|
/**
|
|
34969
35458
|
* Queries Evaluations and returns a paged list
|
|
34970
|
-
* Query params must include one of conversationId, evaluatorUserId, or
|
|
35459
|
+
* 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.
|
|
34971
35460
|
* @param {Object} opts Optional parameters
|
|
34972
35461
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
34973
35462
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -34978,6 +35467,7 @@ class QualityApi {
|
|
|
34978
35467
|
* @param {String} opts.conversationId conversationId specified
|
|
34979
35468
|
* @param {String} opts.agentUserId user id of the agent
|
|
34980
35469
|
* @param {String} opts.evaluatorUserId evaluator user id
|
|
35470
|
+
* @param {String} opts.assigneeUserId assignee user id
|
|
34981
35471
|
* @param {String} opts.queueId queue id
|
|
34982
35472
|
* @param {String} opts.startTime start time of the evaluation query
|
|
34983
35473
|
* @param {String} opts.endTime end time of the evaluation query
|
|
@@ -34996,7 +35486,7 @@ class QualityApi {
|
|
|
34996
35486
|
'/api/v2/quality/evaluations/query',
|
|
34997
35487
|
'GET',
|
|
34998
35488
|
{ },
|
|
34999
|
-
{ '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'] },
|
|
35489
|
+
{ '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'] },
|
|
35000
35490
|
{ },
|
|
35001
35491
|
{ },
|
|
35002
35492
|
null,
|
|
@@ -36172,7 +36662,7 @@ class RecordingApi {
|
|
|
36172
36662
|
/**
|
|
36173
36663
|
* Recording service.
|
|
36174
36664
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
36175
|
-
* @version
|
|
36665
|
+
* @version 159.0.0
|
|
36176
36666
|
*/
|
|
36177
36667
|
|
|
36178
36668
|
/**
|
|
@@ -37302,7 +37792,7 @@ class RecordingApi {
|
|
|
37302
37792
|
|
|
37303
37793
|
/**
|
|
37304
37794
|
* Create a recording bulk job.
|
|
37305
|
-
* 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.
|
|
37795
|
+
* 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.
|
|
37306
37796
|
* @param {Object} body query
|
|
37307
37797
|
*/
|
|
37308
37798
|
postRecordingJobs(body) {
|
|
@@ -37909,7 +38399,7 @@ class ResponseManagementApi {
|
|
|
37909
38399
|
/**
|
|
37910
38400
|
* ResponseManagement service.
|
|
37911
38401
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
37912
|
-
* @version
|
|
38402
|
+
* @version 159.0.0
|
|
37913
38403
|
*/
|
|
37914
38404
|
|
|
37915
38405
|
/**
|
|
@@ -38393,7 +38883,7 @@ class RoutingApi {
|
|
|
38393
38883
|
/**
|
|
38394
38884
|
* Routing service.
|
|
38395
38885
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38396
|
-
* @version
|
|
38886
|
+
* @version 159.0.0
|
|
38397
38887
|
*/
|
|
38398
38888
|
|
|
38399
38889
|
/**
|
|
@@ -41858,7 +42348,7 @@ class SCIMApi {
|
|
|
41858
42348
|
/**
|
|
41859
42349
|
* SCIM service.
|
|
41860
42350
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
41861
|
-
* @version
|
|
42351
|
+
* @version 159.0.0
|
|
41862
42352
|
*/
|
|
41863
42353
|
|
|
41864
42354
|
/**
|
|
@@ -42735,7 +43225,7 @@ class ScriptsApi {
|
|
|
42735
43225
|
/**
|
|
42736
43226
|
* Scripts service.
|
|
42737
43227
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42738
|
-
* @version
|
|
43228
|
+
* @version 159.0.0
|
|
42739
43229
|
*/
|
|
42740
43230
|
|
|
42741
43231
|
/**
|
|
@@ -43154,7 +43644,7 @@ class SearchApi {
|
|
|
43154
43644
|
/**
|
|
43155
43645
|
* Search service.
|
|
43156
43646
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
43157
|
-
* @version
|
|
43647
|
+
* @version 159.0.0
|
|
43158
43648
|
*/
|
|
43159
43649
|
|
|
43160
43650
|
/**
|
|
@@ -43739,7 +44229,7 @@ class SpeechTextAnalyticsApi {
|
|
|
43739
44229
|
/**
|
|
43740
44230
|
* SpeechTextAnalytics service.
|
|
43741
44231
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43742
|
-
* @version
|
|
44232
|
+
* @version 159.0.0
|
|
43743
44233
|
*/
|
|
43744
44234
|
|
|
43745
44235
|
/**
|
|
@@ -44593,7 +45083,7 @@ class StationsApi {
|
|
|
44593
45083
|
/**
|
|
44594
45084
|
* Stations service.
|
|
44595
45085
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
44596
|
-
* @version
|
|
45086
|
+
* @version 159.0.0
|
|
44597
45087
|
*/
|
|
44598
45088
|
|
|
44599
45089
|
/**
|
|
@@ -44691,7 +45181,7 @@ class StationsApi {
|
|
|
44691
45181
|
|
|
44692
45182
|
/**
|
|
44693
45183
|
* Get an organization's StationSettings
|
|
44694
|
-
*
|
|
45184
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
44695
45185
|
*/
|
|
44696
45186
|
getStationsSettings() {
|
|
44697
45187
|
|
|
@@ -44711,7 +45201,7 @@ class StationsApi {
|
|
|
44711
45201
|
|
|
44712
45202
|
/**
|
|
44713
45203
|
* Patch an organization's StationSettings
|
|
44714
|
-
*
|
|
45204
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
44715
45205
|
* @param {Object} body Station settings
|
|
44716
45206
|
*/
|
|
44717
45207
|
patchStationsSettings(body) {
|
|
@@ -44740,7 +45230,7 @@ class SuggestApi {
|
|
|
44740
45230
|
/**
|
|
44741
45231
|
* Suggest service.
|
|
44742
45232
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44743
|
-
* @version
|
|
45233
|
+
* @version 159.0.0
|
|
44744
45234
|
*/
|
|
44745
45235
|
|
|
44746
45236
|
/**
|
|
@@ -44879,7 +45369,7 @@ class TeamsApi {
|
|
|
44879
45369
|
/**
|
|
44880
45370
|
* Teams service.
|
|
44881
45371
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
44882
|
-
* @version
|
|
45372
|
+
* @version 159.0.0
|
|
44883
45373
|
*/
|
|
44884
45374
|
|
|
44885
45375
|
/**
|
|
@@ -45150,7 +45640,7 @@ class TelephonyApi {
|
|
|
45150
45640
|
/**
|
|
45151
45641
|
* Telephony service.
|
|
45152
45642
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
45153
|
-
* @version
|
|
45643
|
+
* @version 159.0.0
|
|
45154
45644
|
*/
|
|
45155
45645
|
|
|
45156
45646
|
/**
|
|
@@ -45278,7 +45768,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
45278
45768
|
/**
|
|
45279
45769
|
* TelephonyProvidersEdge service.
|
|
45280
45770
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
45281
|
-
* @version
|
|
45771
|
+
* @version 159.0.0
|
|
45282
45772
|
*/
|
|
45283
45773
|
|
|
45284
45774
|
/**
|
|
@@ -46284,6 +46774,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46284
46774
|
* @param {String} opts.edgeGroupId Filter by edgeGroup.id
|
|
46285
46775
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
46286
46776
|
* @param {Boolean} opts.managed Filter by managed
|
|
46777
|
+
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
46287
46778
|
*/
|
|
46288
46779
|
getTelephonyProvidersEdges(opts) {
|
|
46289
46780
|
opts = opts || {};
|
|
@@ -46293,7 +46784,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46293
46784
|
'/api/v2/telephony/providers/edges',
|
|
46294
46785
|
'GET',
|
|
46295
46786
|
{ },
|
|
46296
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'] },
|
|
46787
|
+
{ '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'] },
|
|
46297
46788
|
{ },
|
|
46298
46789
|
{ },
|
|
46299
46790
|
null,
|
|
@@ -48911,7 +49402,7 @@ class TextbotsApi {
|
|
|
48911
49402
|
/**
|
|
48912
49403
|
* Textbots service.
|
|
48913
49404
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
48914
|
-
* @version
|
|
49405
|
+
* @version 159.0.0
|
|
48915
49406
|
*/
|
|
48916
49407
|
|
|
48917
49408
|
/**
|
|
@@ -49039,7 +49530,7 @@ class TokensApi {
|
|
|
49039
49530
|
/**
|
|
49040
49531
|
* Tokens service.
|
|
49041
49532
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
49042
|
-
* @version
|
|
49533
|
+
* @version 159.0.0
|
|
49043
49534
|
*/
|
|
49044
49535
|
|
|
49045
49536
|
/**
|
|
@@ -49145,7 +49636,7 @@ class UploadsApi {
|
|
|
49145
49636
|
/**
|
|
49146
49637
|
* Uploads service.
|
|
49147
49638
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
49148
|
-
* @version
|
|
49639
|
+
* @version 159.0.0
|
|
49149
49640
|
*/
|
|
49150
49641
|
|
|
49151
49642
|
/**
|
|
@@ -49321,7 +49812,7 @@ class UsageApi {
|
|
|
49321
49812
|
/**
|
|
49322
49813
|
* Usage service.
|
|
49323
49814
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
49324
|
-
* @version
|
|
49815
|
+
* @version 159.0.0
|
|
49325
49816
|
*/
|
|
49326
49817
|
|
|
49327
49818
|
/**
|
|
@@ -49392,7 +49883,7 @@ class UserRecordingsApi {
|
|
|
49392
49883
|
/**
|
|
49393
49884
|
* UserRecordings service.
|
|
49394
49885
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49395
|
-
* @version
|
|
49886
|
+
* @version 159.0.0
|
|
49396
49887
|
*/
|
|
49397
49888
|
|
|
49398
49889
|
/**
|
|
@@ -49577,7 +50068,7 @@ class UsersApi {
|
|
|
49577
50068
|
/**
|
|
49578
50069
|
* Users service.
|
|
49579
50070
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
49580
|
-
* @version
|
|
50071
|
+
* @version 159.0.0
|
|
49581
50072
|
*/
|
|
49582
50073
|
|
|
49583
50074
|
/**
|
|
@@ -51934,7 +52425,7 @@ class UtilitiesApi {
|
|
|
51934
52425
|
/**
|
|
51935
52426
|
* Utilities service.
|
|
51936
52427
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
51937
|
-
* @version
|
|
52428
|
+
* @version 159.0.0
|
|
51938
52429
|
*/
|
|
51939
52430
|
|
|
51940
52431
|
/**
|
|
@@ -52045,7 +52536,7 @@ class VoicemailApi {
|
|
|
52045
52536
|
/**
|
|
52046
52537
|
* Voicemail service.
|
|
52047
52538
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
52048
|
-
* @version
|
|
52539
|
+
* @version 159.0.0
|
|
52049
52540
|
*/
|
|
52050
52541
|
|
|
52051
52542
|
/**
|
|
@@ -52712,7 +53203,7 @@ class WebChatApi {
|
|
|
52712
53203
|
/**
|
|
52713
53204
|
* WebChat service.
|
|
52714
53205
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
52715
|
-
* @version
|
|
53206
|
+
* @version 159.0.0
|
|
52716
53207
|
*/
|
|
52717
53208
|
|
|
52718
53209
|
/**
|
|
@@ -53256,7 +53747,7 @@ class WebDeploymentsApi {
|
|
|
53256
53747
|
/**
|
|
53257
53748
|
* WebDeployments service.
|
|
53258
53749
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
53259
|
-
* @version
|
|
53750
|
+
* @version 159.0.0
|
|
53260
53751
|
*/
|
|
53261
53752
|
|
|
53262
53753
|
/**
|
|
@@ -53321,6 +53812,36 @@ class WebDeploymentsApi {
|
|
|
53321
53812
|
);
|
|
53322
53813
|
}
|
|
53323
53814
|
|
|
53815
|
+
/**
|
|
53816
|
+
* Deletes a cobrowse session
|
|
53817
|
+
*
|
|
53818
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
53819
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
53820
|
+
*/
|
|
53821
|
+
deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
53822
|
+
// verify the required parameter 'deploymentId' is set
|
|
53823
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
53824
|
+
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
53825
|
+
}
|
|
53826
|
+
// verify the required parameter 'sessionId' is set
|
|
53827
|
+
if (sessionId === undefined || sessionId === null) {
|
|
53828
|
+
throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
53829
|
+
}
|
|
53830
|
+
|
|
53831
|
+
return this.apiClient.callApi(
|
|
53832
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
53833
|
+
'DELETE',
|
|
53834
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
53835
|
+
{ },
|
|
53836
|
+
{ },
|
|
53837
|
+
{ },
|
|
53838
|
+
null,
|
|
53839
|
+
['PureCloud OAuth'],
|
|
53840
|
+
['application/json'],
|
|
53841
|
+
['application/json']
|
|
53842
|
+
);
|
|
53843
|
+
}
|
|
53844
|
+
|
|
53324
53845
|
/**
|
|
53325
53846
|
* Invalidate JWT
|
|
53326
53847
|
*
|
|
@@ -53475,6 +53996,36 @@ class WebDeploymentsApi {
|
|
|
53475
53996
|
);
|
|
53476
53997
|
}
|
|
53477
53998
|
|
|
53999
|
+
/**
|
|
54000
|
+
* Retrieves a cobrowse session
|
|
54001
|
+
*
|
|
54002
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
54003
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
54004
|
+
*/
|
|
54005
|
+
getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
54006
|
+
// verify the required parameter 'deploymentId' is set
|
|
54007
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
54008
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
54009
|
+
}
|
|
54010
|
+
// verify the required parameter 'sessionId' is set
|
|
54011
|
+
if (sessionId === undefined || sessionId === null) {
|
|
54012
|
+
throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
54013
|
+
}
|
|
54014
|
+
|
|
54015
|
+
return this.apiClient.callApi(
|
|
54016
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
54017
|
+
'GET',
|
|
54018
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
54019
|
+
{ },
|
|
54020
|
+
{ },
|
|
54021
|
+
{ },
|
|
54022
|
+
null,
|
|
54023
|
+
['PureCloud OAuth'],
|
|
54024
|
+
['application/json'],
|
|
54025
|
+
['application/json']
|
|
54026
|
+
);
|
|
54027
|
+
}
|
|
54028
|
+
|
|
53478
54029
|
/**
|
|
53479
54030
|
* Get active configuration for a given deployment
|
|
53480
54031
|
*
|
|
@@ -53718,7 +54269,7 @@ class WebMessagingApi {
|
|
|
53718
54269
|
/**
|
|
53719
54270
|
* WebMessaging service.
|
|
53720
54271
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
53721
|
-
* @version
|
|
54272
|
+
* @version 159.0.0
|
|
53722
54273
|
*/
|
|
53723
54274
|
|
|
53724
54275
|
/**
|
|
@@ -53764,7 +54315,7 @@ class WidgetsApi {
|
|
|
53764
54315
|
/**
|
|
53765
54316
|
* Widgets service.
|
|
53766
54317
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
53767
|
-
* @version
|
|
54318
|
+
* @version 159.0.0
|
|
53768
54319
|
*/
|
|
53769
54320
|
|
|
53770
54321
|
/**
|
|
@@ -53910,7 +54461,7 @@ class WorkforceManagementApi {
|
|
|
53910
54461
|
/**
|
|
53911
54462
|
* WorkforceManagement service.
|
|
53912
54463
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53913
|
-
* @version
|
|
54464
|
+
* @version 159.0.0
|
|
53914
54465
|
*/
|
|
53915
54466
|
|
|
53916
54467
|
/**
|
|
@@ -58629,7 +59180,7 @@ class WorkforceManagementApi {
|
|
|
58629
59180
|
* </pre>
|
|
58630
59181
|
* </p>
|
|
58631
59182
|
* @module purecloud-platform-client-v2/index
|
|
58632
|
-
* @version
|
|
59183
|
+
* @version 159.0.0
|
|
58633
59184
|
*/
|
|
58634
59185
|
class platformClient {
|
|
58635
59186
|
constructor() {
|