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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 158.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3351,7 +3351,7 @@ class AlertingApi {
|
|
|
3351
3351
|
/**
|
|
3352
3352
|
* Alerting service.
|
|
3353
3353
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3354
|
-
* @version
|
|
3354
|
+
* @version 158.0.0
|
|
3355
3355
|
*/
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
|
|
|
3665
3665
|
/**
|
|
3666
3666
|
* Analytics service.
|
|
3667
3667
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3668
|
-
* @version
|
|
3668
|
+
* @version 158.0.0
|
|
3669
3669
|
*/
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
@@ -4919,7 +4919,7 @@ class ArchitectApi {
|
|
|
4919
4919
|
/**
|
|
4920
4920
|
* Architect service.
|
|
4921
4921
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4922
|
-
* @version
|
|
4922
|
+
* @version 158.0.0
|
|
4923
4923
|
*/
|
|
4924
4924
|
|
|
4925
4925
|
/**
|
|
@@ -7967,7 +7967,7 @@ class AuditApi {
|
|
|
7967
7967
|
/**
|
|
7968
7968
|
* Audit service.
|
|
7969
7969
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7970
|
-
* @version
|
|
7970
|
+
* @version 158.0.0
|
|
7971
7971
|
*/
|
|
7972
7972
|
|
|
7973
7973
|
/**
|
|
@@ -8138,7 +8138,7 @@ class AuthorizationApi {
|
|
|
8138
8138
|
/**
|
|
8139
8139
|
* Authorization service.
|
|
8140
8140
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8141
|
-
* @version
|
|
8141
|
+
* @version 158.0.0
|
|
8142
8142
|
*/
|
|
8143
8143
|
|
|
8144
8144
|
/**
|
|
@@ -9366,7 +9366,7 @@ class BillingApi {
|
|
|
9366
9366
|
/**
|
|
9367
9367
|
* Billing service.
|
|
9368
9368
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9369
|
-
* @version
|
|
9369
|
+
* @version 158.0.0
|
|
9370
9370
|
*/
|
|
9371
9371
|
|
|
9372
9372
|
/**
|
|
@@ -9446,7 +9446,7 @@ class ChatApi {
|
|
|
9446
9446
|
/**
|
|
9447
9447
|
* Chat service.
|
|
9448
9448
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9449
|
-
* @version
|
|
9449
|
+
* @version 158.0.0
|
|
9450
9450
|
*/
|
|
9451
9451
|
|
|
9452
9452
|
/**
|
|
@@ -9537,7 +9537,7 @@ class CoachingApi {
|
|
|
9537
9537
|
/**
|
|
9538
9538
|
* Coaching service.
|
|
9539
9539
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9540
|
-
* @version
|
|
9540
|
+
* @version 158.0.0
|
|
9541
9541
|
*/
|
|
9542
9542
|
|
|
9543
9543
|
/**
|
|
@@ -10114,7 +10114,7 @@ class ContentManagementApi {
|
|
|
10114
10114
|
/**
|
|
10115
10115
|
* ContentManagement service.
|
|
10116
10116
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10117
|
-
* @version
|
|
10117
|
+
* @version 158.0.0
|
|
10118
10118
|
*/
|
|
10119
10119
|
|
|
10120
10120
|
/**
|
|
@@ -11254,7 +11254,7 @@ class ConversationsApi {
|
|
|
11254
11254
|
/**
|
|
11255
11255
|
* Conversations service.
|
|
11256
11256
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11257
|
-
* @version
|
|
11257
|
+
* @version 158.0.0
|
|
11258
11258
|
*/
|
|
11259
11259
|
|
|
11260
11260
|
/**
|
|
@@ -14641,6 +14641,31 @@ class ConversationsApi {
|
|
|
14641
14641
|
);
|
|
14642
14642
|
}
|
|
14643
14643
|
|
|
14644
|
+
/**
|
|
14645
|
+
* Creates a cobrowse session
|
|
14646
|
+
*
|
|
14647
|
+
* @param {String} conversationId Conversation ID
|
|
14648
|
+
*/
|
|
14649
|
+
postConversationCobrowse(conversationId) {
|
|
14650
|
+
// verify the required parameter 'conversationId' is set
|
|
14651
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14652
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
|
|
14653
|
+
}
|
|
14654
|
+
|
|
14655
|
+
return this.apiClient.callApi(
|
|
14656
|
+
'/api/v2/conversations/{conversationId}/cobrowse',
|
|
14657
|
+
'POST',
|
|
14658
|
+
{ 'conversationId': conversationId },
|
|
14659
|
+
{ },
|
|
14660
|
+
{ },
|
|
14661
|
+
{ },
|
|
14662
|
+
null,
|
|
14663
|
+
['PureCloud OAuth'],
|
|
14664
|
+
['application/json'],
|
|
14665
|
+
['application/json']
|
|
14666
|
+
);
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14644
14669
|
/**
|
|
14645
14670
|
* 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.
|
|
14646
14671
|
*
|
|
@@ -16477,7 +16502,7 @@ class DataExtensionsApi {
|
|
|
16477
16502
|
/**
|
|
16478
16503
|
* DataExtensions service.
|
|
16479
16504
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16480
|
-
* @version
|
|
16505
|
+
* @version 158.0.0
|
|
16481
16506
|
*/
|
|
16482
16507
|
|
|
16483
16508
|
/**
|
|
@@ -16563,7 +16588,7 @@ class DownloadsApi {
|
|
|
16563
16588
|
/**
|
|
16564
16589
|
* Downloads service.
|
|
16565
16590
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16566
|
-
* @version
|
|
16591
|
+
* @version 158.0.0
|
|
16567
16592
|
*/
|
|
16568
16593
|
|
|
16569
16594
|
/**
|
|
@@ -16615,7 +16640,7 @@ class EventsApi {
|
|
|
16615
16640
|
/**
|
|
16616
16641
|
* Events service.
|
|
16617
16642
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16618
|
-
* @version
|
|
16643
|
+
* @version 158.0.0
|
|
16619
16644
|
*/
|
|
16620
16645
|
|
|
16621
16646
|
/**
|
|
@@ -16711,7 +16736,7 @@ class ExternalContactsApi {
|
|
|
16711
16736
|
/**
|
|
16712
16737
|
* ExternalContacts service.
|
|
16713
16738
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16714
|
-
* @version
|
|
16739
|
+
* @version 158.0.0
|
|
16715
16740
|
*/
|
|
16716
16741
|
|
|
16717
16742
|
/**
|
|
@@ -18669,7 +18694,7 @@ class FaxApi {
|
|
|
18669
18694
|
/**
|
|
18670
18695
|
* Fax service.
|
|
18671
18696
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18672
|
-
* @version
|
|
18697
|
+
* @version 158.0.0
|
|
18673
18698
|
*/
|
|
18674
18699
|
|
|
18675
18700
|
/**
|
|
@@ -18840,7 +18865,7 @@ class FlowsApi {
|
|
|
18840
18865
|
/**
|
|
18841
18866
|
* Flows service.
|
|
18842
18867
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18843
|
-
* @version
|
|
18868
|
+
* @version 158.0.0
|
|
18844
18869
|
*/
|
|
18845
18870
|
|
|
18846
18871
|
/**
|
|
@@ -18911,7 +18936,7 @@ class GamificationApi {
|
|
|
18911
18936
|
/**
|
|
18912
18937
|
* Gamification service.
|
|
18913
18938
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18914
|
-
* @version
|
|
18939
|
+
* @version 158.0.0
|
|
18915
18940
|
*/
|
|
18916
18941
|
|
|
18917
18942
|
/**
|
|
@@ -20528,7 +20553,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20528
20553
|
/**
|
|
20529
20554
|
* GeneralDataProtectionRegulation service.
|
|
20530
20555
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20531
|
-
* @version
|
|
20556
|
+
* @version 158.0.0
|
|
20532
20557
|
*/
|
|
20533
20558
|
|
|
20534
20559
|
/**
|
|
@@ -20658,7 +20683,7 @@ class GeolocationApi {
|
|
|
20658
20683
|
/**
|
|
20659
20684
|
* Geolocation service.
|
|
20660
20685
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20661
|
-
* @version
|
|
20686
|
+
* @version 158.0.0
|
|
20662
20687
|
*/
|
|
20663
20688
|
|
|
20664
20689
|
/**
|
|
@@ -20789,7 +20814,7 @@ class GreetingsApi {
|
|
|
20789
20814
|
/**
|
|
20790
20815
|
* Greetings service.
|
|
20791
20816
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20792
|
-
* @version
|
|
20817
|
+
* @version 158.0.0
|
|
20793
20818
|
*/
|
|
20794
20819
|
|
|
20795
20820
|
/**
|
|
@@ -21244,7 +21269,7 @@ class GroupsApi {
|
|
|
21244
21269
|
/**
|
|
21245
21270
|
* Groups service.
|
|
21246
21271
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21247
|
-
* @version
|
|
21272
|
+
* @version 158.0.0
|
|
21248
21273
|
*/
|
|
21249
21274
|
|
|
21250
21275
|
/**
|
|
@@ -21650,7 +21675,7 @@ class IdentityProviderApi {
|
|
|
21650
21675
|
/**
|
|
21651
21676
|
* IdentityProvider service.
|
|
21652
21677
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21653
|
-
* @version
|
|
21678
|
+
* @version 158.0.0
|
|
21654
21679
|
*/
|
|
21655
21680
|
|
|
21656
21681
|
/**
|
|
@@ -22406,7 +22431,7 @@ class IntegrationsApi {
|
|
|
22406
22431
|
/**
|
|
22407
22432
|
* Integrations service.
|
|
22408
22433
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22409
|
-
* @version
|
|
22434
|
+
* @version 158.0.0
|
|
22410
22435
|
*/
|
|
22411
22436
|
|
|
22412
22437
|
/**
|
|
@@ -24006,7 +24031,7 @@ class JourneyApi {
|
|
|
24006
24031
|
/**
|
|
24007
24032
|
* Journey service.
|
|
24008
24033
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
24009
|
-
* @version
|
|
24034
|
+
* @version 158.0.0
|
|
24010
24035
|
*/
|
|
24011
24036
|
|
|
24012
24037
|
/**
|
|
@@ -24792,7 +24817,7 @@ class KnowledgeApi {
|
|
|
24792
24817
|
/**
|
|
24793
24818
|
* Knowledge service.
|
|
24794
24819
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24795
|
-
* @version
|
|
24820
|
+
* @version 158.0.0
|
|
24796
24821
|
*/
|
|
24797
24822
|
|
|
24798
24823
|
/**
|
|
@@ -27225,7 +27250,7 @@ class LanguageUnderstandingApi {
|
|
|
27225
27250
|
/**
|
|
27226
27251
|
* LanguageUnderstanding service.
|
|
27227
27252
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27228
|
-
* @version
|
|
27253
|
+
* @version 158.0.0
|
|
27229
27254
|
*/
|
|
27230
27255
|
|
|
27231
27256
|
/**
|
|
@@ -27419,6 +27444,7 @@ class LanguageUnderstandingApi {
|
|
|
27419
27444
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
27420
27445
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
27421
27446
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
27447
|
+
* @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
|
|
27422
27448
|
* @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
|
|
27423
27449
|
* @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
|
|
27424
27450
|
*/
|
|
@@ -27434,7 +27460,7 @@ class LanguageUnderstandingApi {
|
|
|
27434
27460
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
27435
27461
|
'GET',
|
|
27436
27462
|
{ 'domainId': domainId },
|
|
27437
|
-
{ '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') },
|
|
27463
|
+
{ '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') },
|
|
27438
27464
|
{ },
|
|
27439
27465
|
{ },
|
|
27440
27466
|
null,
|
|
@@ -28237,7 +28263,7 @@ class LanguagesApi {
|
|
|
28237
28263
|
/**
|
|
28238
28264
|
* Languages service.
|
|
28239
28265
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28240
|
-
* @version
|
|
28266
|
+
* @version 158.0.0
|
|
28241
28267
|
*/
|
|
28242
28268
|
|
|
28243
28269
|
/**
|
|
@@ -28455,7 +28481,7 @@ class LearningApi {
|
|
|
28455
28481
|
/**
|
|
28456
28482
|
* Learning service.
|
|
28457
28483
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28458
|
-
* @version
|
|
28484
|
+
* @version 158.0.0
|
|
28459
28485
|
*/
|
|
28460
28486
|
|
|
28461
28487
|
/**
|
|
@@ -28565,7 +28591,7 @@ class LearningApi {
|
|
|
28565
28591
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
28566
28592
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
28567
28593
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
28568
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
28594
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
28569
28595
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
28570
28596
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
28571
28597
|
*/
|
|
@@ -28602,7 +28628,7 @@ class LearningApi {
|
|
|
28602
28628
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
28603
28629
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
28604
28630
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
28605
|
-
* @param {Array.<String>} opts.types Specifies the
|
|
28631
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
28606
28632
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
28607
28633
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
28608
28634
|
*/
|
|
@@ -29216,7 +29242,7 @@ class LicenseApi {
|
|
|
29216
29242
|
/**
|
|
29217
29243
|
* License service.
|
|
29218
29244
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29219
|
-
* @version
|
|
29245
|
+
* @version 158.0.0
|
|
29220
29246
|
*/
|
|
29221
29247
|
|
|
29222
29248
|
/**
|
|
@@ -29454,7 +29480,7 @@ class LocationsApi {
|
|
|
29454
29480
|
/**
|
|
29455
29481
|
* Locations service.
|
|
29456
29482
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29457
|
-
* @version
|
|
29483
|
+
* @version 158.0.0
|
|
29458
29484
|
*/
|
|
29459
29485
|
|
|
29460
29486
|
/**
|
|
@@ -29690,7 +29716,7 @@ class MessagingApi {
|
|
|
29690
29716
|
/**
|
|
29691
29717
|
* Messaging service.
|
|
29692
29718
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29693
|
-
* @version
|
|
29719
|
+
* @version 158.0.0
|
|
29694
29720
|
*/
|
|
29695
29721
|
|
|
29696
29722
|
/**
|
|
@@ -29841,7 +29867,7 @@ class MobileDevicesApi {
|
|
|
29841
29867
|
/**
|
|
29842
29868
|
* MobileDevices service.
|
|
29843
29869
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29844
|
-
* @version
|
|
29870
|
+
* @version 158.0.0
|
|
29845
29871
|
*/
|
|
29846
29872
|
|
|
29847
29873
|
/**
|
|
@@ -29992,7 +30018,7 @@ class NotificationsApi {
|
|
|
29992
30018
|
/**
|
|
29993
30019
|
* Notifications service.
|
|
29994
30020
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29995
|
-
* @version
|
|
30021
|
+
* @version 158.0.0
|
|
29996
30022
|
*/
|
|
29997
30023
|
|
|
29998
30024
|
/**
|
|
@@ -30217,7 +30243,7 @@ class OAuthApi {
|
|
|
30217
30243
|
/**
|
|
30218
30244
|
* OAuth service.
|
|
30219
30245
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30220
|
-
* @version
|
|
30246
|
+
* @version 158.0.0
|
|
30221
30247
|
*/
|
|
30222
30248
|
|
|
30223
30249
|
/**
|
|
@@ -30583,7 +30609,7 @@ class ObjectsApi {
|
|
|
30583
30609
|
/**
|
|
30584
30610
|
* Objects service.
|
|
30585
30611
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30586
|
-
* @version
|
|
30612
|
+
* @version 158.0.0
|
|
30587
30613
|
*/
|
|
30588
30614
|
|
|
30589
30615
|
/**
|
|
@@ -30854,7 +30880,7 @@ class OrganizationApi {
|
|
|
30854
30880
|
/**
|
|
30855
30881
|
* Organization service.
|
|
30856
30882
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30857
|
-
* @version
|
|
30883
|
+
* @version 158.0.0
|
|
30858
30884
|
*/
|
|
30859
30885
|
|
|
30860
30886
|
/**
|
|
@@ -31257,7 +31283,7 @@ class OrganizationAuthorizationApi {
|
|
|
31257
31283
|
/**
|
|
31258
31284
|
* OrganizationAuthorization service.
|
|
31259
31285
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31260
|
-
* @version
|
|
31286
|
+
* @version 158.0.0
|
|
31261
31287
|
*/
|
|
31262
31288
|
|
|
31263
31289
|
/**
|
|
@@ -31327,6 +31353,66 @@ class OrganizationAuthorizationApi {
|
|
|
31327
31353
|
);
|
|
31328
31354
|
}
|
|
31329
31355
|
|
|
31356
|
+
/**
|
|
31357
|
+
* Delete Trustee Group
|
|
31358
|
+
*
|
|
31359
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
31360
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
31361
|
+
*/
|
|
31362
|
+
deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
31363
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
31364
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
31365
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
31366
|
+
}
|
|
31367
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
31368
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
31369
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
31370
|
+
}
|
|
31371
|
+
|
|
31372
|
+
return this.apiClient.callApi(
|
|
31373
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
31374
|
+
'DELETE',
|
|
31375
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
31376
|
+
{ },
|
|
31377
|
+
{ },
|
|
31378
|
+
{ },
|
|
31379
|
+
null,
|
|
31380
|
+
['PureCloud OAuth'],
|
|
31381
|
+
['application/json'],
|
|
31382
|
+
['application/json']
|
|
31383
|
+
);
|
|
31384
|
+
}
|
|
31385
|
+
|
|
31386
|
+
/**
|
|
31387
|
+
* Delete Trustee Group Roles
|
|
31388
|
+
*
|
|
31389
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
31390
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
31391
|
+
*/
|
|
31392
|
+
deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
31393
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
31394
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
31395
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
31396
|
+
}
|
|
31397
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
31398
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
31399
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
31400
|
+
}
|
|
31401
|
+
|
|
31402
|
+
return this.apiClient.callApi(
|
|
31403
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
31404
|
+
'DELETE',
|
|
31405
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
31406
|
+
{ },
|
|
31407
|
+
{ },
|
|
31408
|
+
{ },
|
|
31409
|
+
null,
|
|
31410
|
+
['PureCloud OAuth'],
|
|
31411
|
+
['application/json'],
|
|
31412
|
+
['application/json']
|
|
31413
|
+
);
|
|
31414
|
+
}
|
|
31415
|
+
|
|
31330
31416
|
/**
|
|
31331
31417
|
* Delete Trustee User
|
|
31332
31418
|
*
|
|
@@ -31442,6 +31528,36 @@ class OrganizationAuthorizationApi {
|
|
|
31442
31528
|
);
|
|
31443
31529
|
}
|
|
31444
31530
|
|
|
31531
|
+
/**
|
|
31532
|
+
* Delete Trustee Group
|
|
31533
|
+
*
|
|
31534
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
31535
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
31536
|
+
*/
|
|
31537
|
+
deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
31538
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
31539
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
31540
|
+
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
|
|
31541
|
+
}
|
|
31542
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
31543
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
31544
|
+
throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
|
|
31545
|
+
}
|
|
31546
|
+
|
|
31547
|
+
return this.apiClient.callApi(
|
|
31548
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
31549
|
+
'DELETE',
|
|
31550
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
31551
|
+
{ },
|
|
31552
|
+
{ },
|
|
31553
|
+
{ },
|
|
31554
|
+
null,
|
|
31555
|
+
['PureCloud OAuth'],
|
|
31556
|
+
['application/json'],
|
|
31557
|
+
['application/json']
|
|
31558
|
+
);
|
|
31559
|
+
}
|
|
31560
|
+
|
|
31445
31561
|
/**
|
|
31446
31562
|
* Delete Trustee User
|
|
31447
31563
|
*
|
|
@@ -31547,6 +31663,96 @@ class OrganizationAuthorizationApi {
|
|
|
31547
31663
|
);
|
|
31548
31664
|
}
|
|
31549
31665
|
|
|
31666
|
+
/**
|
|
31667
|
+
* Get Trustee Group
|
|
31668
|
+
*
|
|
31669
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
31670
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
31671
|
+
*/
|
|
31672
|
+
getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
31673
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
31674
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
31675
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
|
|
31676
|
+
}
|
|
31677
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
31678
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
31679
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
|
|
31680
|
+
}
|
|
31681
|
+
|
|
31682
|
+
return this.apiClient.callApi(
|
|
31683
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
|
|
31684
|
+
'GET',
|
|
31685
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
31686
|
+
{ },
|
|
31687
|
+
{ },
|
|
31688
|
+
{ },
|
|
31689
|
+
null,
|
|
31690
|
+
['PureCloud OAuth'],
|
|
31691
|
+
['application/json'],
|
|
31692
|
+
['application/json']
|
|
31693
|
+
);
|
|
31694
|
+
}
|
|
31695
|
+
|
|
31696
|
+
/**
|
|
31697
|
+
* Get Trustee Group Roles
|
|
31698
|
+
*
|
|
31699
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
31700
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
31701
|
+
*/
|
|
31702
|
+
getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
31703
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
31704
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
31705
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
31706
|
+
}
|
|
31707
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
31708
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
31709
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
31710
|
+
}
|
|
31711
|
+
|
|
31712
|
+
return this.apiClient.callApi(
|
|
31713
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
31714
|
+
'GET',
|
|
31715
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
31716
|
+
{ },
|
|
31717
|
+
{ },
|
|
31718
|
+
{ },
|
|
31719
|
+
null,
|
|
31720
|
+
['PureCloud OAuth'],
|
|
31721
|
+
['application/json'],
|
|
31722
|
+
['application/json']
|
|
31723
|
+
);
|
|
31724
|
+
}
|
|
31725
|
+
|
|
31726
|
+
/**
|
|
31727
|
+
* The list of trustee groups for this organization (i.e. groups granted access to this organization).
|
|
31728
|
+
*
|
|
31729
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
31730
|
+
* @param {Object} opts Optional parameters
|
|
31731
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
31732
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
31733
|
+
*/
|
|
31734
|
+
getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
|
|
31735
|
+
opts = opts || {};
|
|
31736
|
+
|
|
31737
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
31738
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
31739
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
|
|
31740
|
+
}
|
|
31741
|
+
|
|
31742
|
+
return this.apiClient.callApi(
|
|
31743
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
31744
|
+
'GET',
|
|
31745
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
31746
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
31747
|
+
{ },
|
|
31748
|
+
{ },
|
|
31749
|
+
null,
|
|
31750
|
+
['PureCloud OAuth'],
|
|
31751
|
+
['application/json'],
|
|
31752
|
+
['application/json']
|
|
31753
|
+
);
|
|
31754
|
+
}
|
|
31755
|
+
|
|
31550
31756
|
/**
|
|
31551
31757
|
* Get Trustee User
|
|
31552
31758
|
*
|
|
@@ -31762,6 +31968,66 @@ class OrganizationAuthorizationApi {
|
|
|
31762
31968
|
);
|
|
31763
31969
|
}
|
|
31764
31970
|
|
|
31971
|
+
/**
|
|
31972
|
+
* Get Trustee Group
|
|
31973
|
+
*
|
|
31974
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
31975
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
31976
|
+
*/
|
|
31977
|
+
getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
31978
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
31979
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
31980
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
|
|
31981
|
+
}
|
|
31982
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
31983
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
31984
|
+
throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
|
|
31985
|
+
}
|
|
31986
|
+
|
|
31987
|
+
return this.apiClient.callApi(
|
|
31988
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
31989
|
+
'GET',
|
|
31990
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
31991
|
+
{ },
|
|
31992
|
+
{ },
|
|
31993
|
+
{ },
|
|
31994
|
+
null,
|
|
31995
|
+
['PureCloud OAuth'],
|
|
31996
|
+
['application/json'],
|
|
31997
|
+
['application/json']
|
|
31998
|
+
);
|
|
31999
|
+
}
|
|
32000
|
+
|
|
32001
|
+
/**
|
|
32002
|
+
* The list of groups in the trustor organization (i.e. groups granted access).
|
|
32003
|
+
*
|
|
32004
|
+
* @param {String} trustorOrgId Trustee Organization Id
|
|
32005
|
+
* @param {Object} opts Optional parameters
|
|
32006
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
32007
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
32008
|
+
*/
|
|
32009
|
+
getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
|
|
32010
|
+
opts = opts || {};
|
|
32011
|
+
|
|
32012
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
32013
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
32014
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
|
|
32015
|
+
}
|
|
32016
|
+
|
|
32017
|
+
return this.apiClient.callApi(
|
|
32018
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
|
|
32019
|
+
'GET',
|
|
32020
|
+
{ 'trustorOrgId': trustorOrgId },
|
|
32021
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
32022
|
+
{ },
|
|
32023
|
+
{ },
|
|
32024
|
+
null,
|
|
32025
|
+
['PureCloud OAuth'],
|
|
32026
|
+
['application/json'],
|
|
32027
|
+
['application/json']
|
|
32028
|
+
);
|
|
32029
|
+
}
|
|
32030
|
+
|
|
31765
32031
|
/**
|
|
31766
32032
|
* Get Trustee User
|
|
31767
32033
|
*
|
|
@@ -31872,6 +32138,36 @@ class OrganizationAuthorizationApi {
|
|
|
31872
32138
|
);
|
|
31873
32139
|
}
|
|
31874
32140
|
|
|
32141
|
+
/**
|
|
32142
|
+
* Add a group to the trust.
|
|
32143
|
+
*
|
|
32144
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
32145
|
+
* @param {Object} body Trust
|
|
32146
|
+
*/
|
|
32147
|
+
postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
|
|
32148
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
32149
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
32150
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
|
|
32151
|
+
}
|
|
32152
|
+
// verify the required parameter 'body' is set
|
|
32153
|
+
if (body === undefined || body === null) {
|
|
32154
|
+
throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
|
|
32155
|
+
}
|
|
32156
|
+
|
|
32157
|
+
return this.apiClient.callApi(
|
|
32158
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
|
|
32159
|
+
'POST',
|
|
32160
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
32161
|
+
{ },
|
|
32162
|
+
{ },
|
|
32163
|
+
{ },
|
|
32164
|
+
body,
|
|
32165
|
+
['PureCloud OAuth'],
|
|
32166
|
+
['application/json'],
|
|
32167
|
+
['application/json']
|
|
32168
|
+
);
|
|
32169
|
+
}
|
|
32170
|
+
|
|
31875
32171
|
/**
|
|
31876
32172
|
* Add a user to the trust.
|
|
31877
32173
|
*
|
|
@@ -32046,6 +32342,76 @@ class OrganizationAuthorizationApi {
|
|
|
32046
32342
|
);
|
|
32047
32343
|
}
|
|
32048
32344
|
|
|
32345
|
+
/**
|
|
32346
|
+
* Update Trustee Group Roles
|
|
32347
|
+
*
|
|
32348
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
32349
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
32350
|
+
* @param {Object} body Set of roles with corresponding divisions to apply
|
|
32351
|
+
*/
|
|
32352
|
+
putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
|
|
32353
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
32354
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
32355
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
32356
|
+
}
|
|
32357
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
32358
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
32359
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
32360
|
+
}
|
|
32361
|
+
// verify the required parameter 'body' is set
|
|
32362
|
+
if (body === undefined || body === null) {
|
|
32363
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
32364
|
+
}
|
|
32365
|
+
|
|
32366
|
+
return this.apiClient.callApi(
|
|
32367
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
|
|
32368
|
+
'PUT',
|
|
32369
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
32370
|
+
{ },
|
|
32371
|
+
{ },
|
|
32372
|
+
{ },
|
|
32373
|
+
body,
|
|
32374
|
+
['PureCloud OAuth'],
|
|
32375
|
+
['application/json'],
|
|
32376
|
+
['application/json']
|
|
32377
|
+
);
|
|
32378
|
+
}
|
|
32379
|
+
|
|
32380
|
+
/**
|
|
32381
|
+
* Update Trustee Group Roles
|
|
32382
|
+
*
|
|
32383
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
32384
|
+
* @param {String} trusteeGroupId Trustee Group Id
|
|
32385
|
+
* @param {Array.<String>} body List of roles
|
|
32386
|
+
*/
|
|
32387
|
+
putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
|
|
32388
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
32389
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
32390
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
32391
|
+
}
|
|
32392
|
+
// verify the required parameter 'trusteeGroupId' is set
|
|
32393
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
32394
|
+
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
32395
|
+
}
|
|
32396
|
+
// verify the required parameter 'body' is set
|
|
32397
|
+
if (body === undefined || body === null) {
|
|
32398
|
+
throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
32399
|
+
}
|
|
32400
|
+
|
|
32401
|
+
return this.apiClient.callApi(
|
|
32402
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
|
|
32403
|
+
'PUT',
|
|
32404
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
|
|
32405
|
+
{ },
|
|
32406
|
+
{ },
|
|
32407
|
+
{ },
|
|
32408
|
+
body,
|
|
32409
|
+
['PureCloud OAuth'],
|
|
32410
|
+
['application/json'],
|
|
32411
|
+
['application/json']
|
|
32412
|
+
);
|
|
32413
|
+
}
|
|
32414
|
+
|
|
32049
32415
|
/**
|
|
32050
32416
|
* Update Trustee User Roles
|
|
32051
32417
|
*
|
|
@@ -32146,6 +32512,36 @@ class OrganizationAuthorizationApi {
|
|
|
32146
32512
|
);
|
|
32147
32513
|
}
|
|
32148
32514
|
|
|
32515
|
+
/**
|
|
32516
|
+
* Add a Trustee Group to the trust.
|
|
32517
|
+
*
|
|
32518
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
32519
|
+
* @param {String} trustorGroupId Trustor Group Id
|
|
32520
|
+
*/
|
|
32521
|
+
putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
32522
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
32523
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
32524
|
+
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
|
|
32525
|
+
}
|
|
32526
|
+
// verify the required parameter 'trustorGroupId' is set
|
|
32527
|
+
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
32528
|
+
throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
|
|
32529
|
+
}
|
|
32530
|
+
|
|
32531
|
+
return this.apiClient.callApi(
|
|
32532
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
|
|
32533
|
+
'PUT',
|
|
32534
|
+
{ 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
|
|
32535
|
+
{ },
|
|
32536
|
+
{ },
|
|
32537
|
+
{ },
|
|
32538
|
+
null,
|
|
32539
|
+
['PureCloud OAuth'],
|
|
32540
|
+
['application/json'],
|
|
32541
|
+
['application/json']
|
|
32542
|
+
);
|
|
32543
|
+
}
|
|
32544
|
+
|
|
32149
32545
|
/**
|
|
32150
32546
|
* Add a Trustee user to the trust.
|
|
32151
32547
|
*
|
|
@@ -32182,7 +32578,7 @@ class OutboundApi {
|
|
|
32182
32578
|
/**
|
|
32183
32579
|
* Outbound service.
|
|
32184
32580
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32185
|
-
* @version
|
|
32581
|
+
* @version 158.0.0
|
|
32186
32582
|
*/
|
|
32187
32583
|
|
|
32188
32584
|
/**
|
|
@@ -35719,7 +36115,7 @@ class PresenceApi {
|
|
|
35719
36115
|
/**
|
|
35720
36116
|
* Presence service.
|
|
35721
36117
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35722
|
-
* @version
|
|
36118
|
+
* @version 158.0.0
|
|
35723
36119
|
*/
|
|
35724
36120
|
|
|
35725
36121
|
/**
|
|
@@ -36225,7 +36621,7 @@ class ProcessAutomationApi {
|
|
|
36225
36621
|
/**
|
|
36226
36622
|
* ProcessAutomation service.
|
|
36227
36623
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36228
|
-
* @version
|
|
36624
|
+
* @version 158.0.0
|
|
36229
36625
|
*/
|
|
36230
36626
|
|
|
36231
36627
|
/**
|
|
@@ -36464,7 +36860,7 @@ class QualityApi {
|
|
|
36464
36860
|
/**
|
|
36465
36861
|
* Quality service.
|
|
36466
36862
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36467
|
-
* @version
|
|
36863
|
+
* @version 158.0.0
|
|
36468
36864
|
*/
|
|
36469
36865
|
|
|
36470
36866
|
/**
|
|
@@ -38042,7 +38438,7 @@ class RecordingApi {
|
|
|
38042
38438
|
/**
|
|
38043
38439
|
* Recording service.
|
|
38044
38440
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
38045
|
-
* @version
|
|
38441
|
+
* @version 158.0.0
|
|
38046
38442
|
*/
|
|
38047
38443
|
|
|
38048
38444
|
/**
|
|
@@ -39779,7 +40175,7 @@ class ResponseManagementApi {
|
|
|
39779
40175
|
/**
|
|
39780
40176
|
* ResponseManagement service.
|
|
39781
40177
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39782
|
-
* @version
|
|
40178
|
+
* @version 158.0.0
|
|
39783
40179
|
*/
|
|
39784
40180
|
|
|
39785
40181
|
/**
|
|
@@ -40263,7 +40659,7 @@ class RoutingApi {
|
|
|
40263
40659
|
/**
|
|
40264
40660
|
* Routing service.
|
|
40265
40661
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
40266
|
-
* @version
|
|
40662
|
+
* @version 158.0.0
|
|
40267
40663
|
*/
|
|
40268
40664
|
|
|
40269
40665
|
/**
|
|
@@ -43728,7 +44124,7 @@ class SCIMApi {
|
|
|
43728
44124
|
/**
|
|
43729
44125
|
* SCIM service.
|
|
43730
44126
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43731
|
-
* @version
|
|
44127
|
+
* @version 158.0.0
|
|
43732
44128
|
*/
|
|
43733
44129
|
|
|
43734
44130
|
/**
|
|
@@ -44605,7 +45001,7 @@ class ScriptsApi {
|
|
|
44605
45001
|
/**
|
|
44606
45002
|
* Scripts service.
|
|
44607
45003
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44608
|
-
* @version
|
|
45004
|
+
* @version 158.0.0
|
|
44609
45005
|
*/
|
|
44610
45006
|
|
|
44611
45007
|
/**
|
|
@@ -45024,7 +45420,7 @@ class SearchApi {
|
|
|
45024
45420
|
/**
|
|
45025
45421
|
* Search service.
|
|
45026
45422
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
45027
|
-
* @version
|
|
45423
|
+
* @version 158.0.0
|
|
45028
45424
|
*/
|
|
45029
45425
|
|
|
45030
45426
|
/**
|
|
@@ -45609,7 +46005,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45609
46005
|
/**
|
|
45610
46006
|
* SpeechTextAnalytics service.
|
|
45611
46007
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45612
|
-
* @version
|
|
46008
|
+
* @version 158.0.0
|
|
45613
46009
|
*/
|
|
45614
46010
|
|
|
45615
46011
|
/**
|
|
@@ -46463,7 +46859,7 @@ class StationsApi {
|
|
|
46463
46859
|
/**
|
|
46464
46860
|
* Stations service.
|
|
46465
46861
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46466
|
-
* @version
|
|
46862
|
+
* @version 158.0.0
|
|
46467
46863
|
*/
|
|
46468
46864
|
|
|
46469
46865
|
/**
|
|
@@ -46561,7 +46957,7 @@ class StationsApi {
|
|
|
46561
46957
|
|
|
46562
46958
|
/**
|
|
46563
46959
|
* Get an organization's StationSettings
|
|
46564
|
-
*
|
|
46960
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
46565
46961
|
*/
|
|
46566
46962
|
getStationsSettings() {
|
|
46567
46963
|
|
|
@@ -46581,7 +46977,7 @@ class StationsApi {
|
|
|
46581
46977
|
|
|
46582
46978
|
/**
|
|
46583
46979
|
* Patch an organization's StationSettings
|
|
46584
|
-
*
|
|
46980
|
+
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
46585
46981
|
* @param {Object} body Station settings
|
|
46586
46982
|
*/
|
|
46587
46983
|
patchStationsSettings(body) {
|
|
@@ -46610,7 +47006,7 @@ class SuggestApi {
|
|
|
46610
47006
|
/**
|
|
46611
47007
|
* Suggest service.
|
|
46612
47008
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46613
|
-
* @version
|
|
47009
|
+
* @version 158.0.0
|
|
46614
47010
|
*/
|
|
46615
47011
|
|
|
46616
47012
|
/**
|
|
@@ -46749,7 +47145,7 @@ class TeamsApi {
|
|
|
46749
47145
|
/**
|
|
46750
47146
|
* Teams service.
|
|
46751
47147
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46752
|
-
* @version
|
|
47148
|
+
* @version 158.0.0
|
|
46753
47149
|
*/
|
|
46754
47150
|
|
|
46755
47151
|
/**
|
|
@@ -47020,7 +47416,7 @@ class TelephonyApi {
|
|
|
47020
47416
|
/**
|
|
47021
47417
|
* Telephony service.
|
|
47022
47418
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
47023
|
-
* @version
|
|
47419
|
+
* @version 158.0.0
|
|
47024
47420
|
*/
|
|
47025
47421
|
|
|
47026
47422
|
/**
|
|
@@ -47148,7 +47544,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
47148
47544
|
/**
|
|
47149
47545
|
* TelephonyProvidersEdge service.
|
|
47150
47546
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
47151
|
-
* @version
|
|
47547
|
+
* @version 158.0.0
|
|
47152
47548
|
*/
|
|
47153
47549
|
|
|
47154
47550
|
/**
|
|
@@ -50781,7 +51177,7 @@ class TextbotsApi {
|
|
|
50781
51177
|
/**
|
|
50782
51178
|
* Textbots service.
|
|
50783
51179
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50784
|
-
* @version
|
|
51180
|
+
* @version 158.0.0
|
|
50785
51181
|
*/
|
|
50786
51182
|
|
|
50787
51183
|
/**
|
|
@@ -50909,7 +51305,7 @@ class TokensApi {
|
|
|
50909
51305
|
/**
|
|
50910
51306
|
* Tokens service.
|
|
50911
51307
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50912
|
-
* @version
|
|
51308
|
+
* @version 158.0.0
|
|
50913
51309
|
*/
|
|
50914
51310
|
|
|
50915
51311
|
/**
|
|
@@ -51015,7 +51411,7 @@ class UploadsApi {
|
|
|
51015
51411
|
/**
|
|
51016
51412
|
* Uploads service.
|
|
51017
51413
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
51018
|
-
* @version
|
|
51414
|
+
* @version 158.0.0
|
|
51019
51415
|
*/
|
|
51020
51416
|
|
|
51021
51417
|
/**
|
|
@@ -51191,7 +51587,7 @@ class UsageApi {
|
|
|
51191
51587
|
/**
|
|
51192
51588
|
* Usage service.
|
|
51193
51589
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
51194
|
-
* @version
|
|
51590
|
+
* @version 158.0.0
|
|
51195
51591
|
*/
|
|
51196
51592
|
|
|
51197
51593
|
/**
|
|
@@ -51262,7 +51658,7 @@ class UserRecordingsApi {
|
|
|
51262
51658
|
/**
|
|
51263
51659
|
* UserRecordings service.
|
|
51264
51660
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51265
|
-
* @version
|
|
51661
|
+
* @version 158.0.0
|
|
51266
51662
|
*/
|
|
51267
51663
|
|
|
51268
51664
|
/**
|
|
@@ -51447,7 +51843,7 @@ class UsersApi {
|
|
|
51447
51843
|
/**
|
|
51448
51844
|
* Users service.
|
|
51449
51845
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51450
|
-
* @version
|
|
51846
|
+
* @version 158.0.0
|
|
51451
51847
|
*/
|
|
51452
51848
|
|
|
51453
51849
|
/**
|
|
@@ -53804,7 +54200,7 @@ class UtilitiesApi {
|
|
|
53804
54200
|
/**
|
|
53805
54201
|
* Utilities service.
|
|
53806
54202
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53807
|
-
* @version
|
|
54203
|
+
* @version 158.0.0
|
|
53808
54204
|
*/
|
|
53809
54205
|
|
|
53810
54206
|
/**
|
|
@@ -53915,7 +54311,7 @@ class VoicemailApi {
|
|
|
53915
54311
|
/**
|
|
53916
54312
|
* Voicemail service.
|
|
53917
54313
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53918
|
-
* @version
|
|
54314
|
+
* @version 158.0.0
|
|
53919
54315
|
*/
|
|
53920
54316
|
|
|
53921
54317
|
/**
|
|
@@ -54582,7 +54978,7 @@ class WebChatApi {
|
|
|
54582
54978
|
/**
|
|
54583
54979
|
* WebChat service.
|
|
54584
54980
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54585
|
-
* @version
|
|
54981
|
+
* @version 158.0.0
|
|
54586
54982
|
*/
|
|
54587
54983
|
|
|
54588
54984
|
/**
|
|
@@ -55126,7 +55522,7 @@ class WebDeploymentsApi {
|
|
|
55126
55522
|
/**
|
|
55127
55523
|
* WebDeployments service.
|
|
55128
55524
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
55129
|
-
* @version
|
|
55525
|
+
* @version 158.0.0
|
|
55130
55526
|
*/
|
|
55131
55527
|
|
|
55132
55528
|
/**
|
|
@@ -55191,6 +55587,61 @@ class WebDeploymentsApi {
|
|
|
55191
55587
|
);
|
|
55192
55588
|
}
|
|
55193
55589
|
|
|
55590
|
+
/**
|
|
55591
|
+
* Deletes a cobrowse session
|
|
55592
|
+
*
|
|
55593
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
55594
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
55595
|
+
*/
|
|
55596
|
+
deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
55597
|
+
// verify the required parameter 'deploymentId' is set
|
|
55598
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
55599
|
+
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
55600
|
+
}
|
|
55601
|
+
// verify the required parameter 'sessionId' is set
|
|
55602
|
+
if (sessionId === undefined || sessionId === null) {
|
|
55603
|
+
throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
55604
|
+
}
|
|
55605
|
+
|
|
55606
|
+
return this.apiClient.callApi(
|
|
55607
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
55608
|
+
'DELETE',
|
|
55609
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
55610
|
+
{ },
|
|
55611
|
+
{ },
|
|
55612
|
+
{ },
|
|
55613
|
+
null,
|
|
55614
|
+
['PureCloud OAuth'],
|
|
55615
|
+
['application/json'],
|
|
55616
|
+
['application/json']
|
|
55617
|
+
);
|
|
55618
|
+
}
|
|
55619
|
+
|
|
55620
|
+
/**
|
|
55621
|
+
* Invalidate JWT
|
|
55622
|
+
*
|
|
55623
|
+
* @param {Object} opts Optional parameters
|
|
55624
|
+
* @param {String} opts.xJourneySessionId The Customer's journey sessionId.
|
|
55625
|
+
* @param {String} opts.xJourneySessionType The Customer's journey session type.
|
|
55626
|
+
*/
|
|
55627
|
+
deleteWebdeploymentsTokenRevoke(opts) {
|
|
55628
|
+
opts = opts || {};
|
|
55629
|
+
|
|
55630
|
+
|
|
55631
|
+
return this.apiClient.callApi(
|
|
55632
|
+
'/api/v2/webdeployments/token/revoke',
|
|
55633
|
+
'DELETE',
|
|
55634
|
+
{ },
|
|
55635
|
+
{ },
|
|
55636
|
+
{ 'X-Journey-Session-Id': opts['xJourneySessionId'],'X-Journey-Session-Type': opts['xJourneySessionType'] },
|
|
55637
|
+
{ },
|
|
55638
|
+
null,
|
|
55639
|
+
['PureCloud OAuth'],
|
|
55640
|
+
['application/json'],
|
|
55641
|
+
['application/json']
|
|
55642
|
+
);
|
|
55643
|
+
}
|
|
55644
|
+
|
|
55194
55645
|
/**
|
|
55195
55646
|
* Get a configuration version
|
|
55196
55647
|
*
|
|
@@ -55320,6 +55771,36 @@ class WebDeploymentsApi {
|
|
|
55320
55771
|
);
|
|
55321
55772
|
}
|
|
55322
55773
|
|
|
55774
|
+
/**
|
|
55775
|
+
* Retrieves a cobrowse session
|
|
55776
|
+
*
|
|
55777
|
+
* @param {String} deploymentId WebMessaging deployment ID
|
|
55778
|
+
* @param {String} sessionId Cobrowse session id or join code
|
|
55779
|
+
*/
|
|
55780
|
+
getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
55781
|
+
// verify the required parameter 'deploymentId' is set
|
|
55782
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
55783
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
55784
|
+
}
|
|
55785
|
+
// verify the required parameter 'sessionId' is set
|
|
55786
|
+
if (sessionId === undefined || sessionId === null) {
|
|
55787
|
+
throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
55788
|
+
}
|
|
55789
|
+
|
|
55790
|
+
return this.apiClient.callApi(
|
|
55791
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
|
|
55792
|
+
'GET',
|
|
55793
|
+
{ 'deploymentId': deploymentId,'sessionId': sessionId },
|
|
55794
|
+
{ },
|
|
55795
|
+
{ },
|
|
55796
|
+
{ },
|
|
55797
|
+
null,
|
|
55798
|
+
['PureCloud OAuth'],
|
|
55799
|
+
['application/json'],
|
|
55800
|
+
['application/json']
|
|
55801
|
+
);
|
|
55802
|
+
}
|
|
55803
|
+
|
|
55323
55804
|
/**
|
|
55324
55805
|
* Get active configuration for a given deployment
|
|
55325
55806
|
*
|
|
@@ -55448,6 +55929,55 @@ class WebDeploymentsApi {
|
|
|
55448
55929
|
);
|
|
55449
55930
|
}
|
|
55450
55931
|
|
|
55932
|
+
/**
|
|
55933
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
55934
|
+
*
|
|
55935
|
+
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
55936
|
+
*/
|
|
55937
|
+
postWebdeploymentsTokenOauthcodegrantjwtexchange(body) {
|
|
55938
|
+
// verify the required parameter 'body' is set
|
|
55939
|
+
if (body === undefined || body === null) {
|
|
55940
|
+
throw 'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';
|
|
55941
|
+
}
|
|
55942
|
+
|
|
55943
|
+
return this.apiClient.callApi(
|
|
55944
|
+
'/api/v2/webdeployments/token/oauthcodegrantjwtexchange',
|
|
55945
|
+
'POST',
|
|
55946
|
+
{ },
|
|
55947
|
+
{ },
|
|
55948
|
+
{ },
|
|
55949
|
+
{ },
|
|
55950
|
+
body,
|
|
55951
|
+
['PureCloud OAuth'],
|
|
55952
|
+
['application/json'],
|
|
55953
|
+
['application/json']
|
|
55954
|
+
);
|
|
55955
|
+
}
|
|
55956
|
+
|
|
55957
|
+
/**
|
|
55958
|
+
* Refresh a JWT.
|
|
55959
|
+
*
|
|
55960
|
+
* @param {Object} opts Optional parameters
|
|
55961
|
+
* @param {Object} opts.body
|
|
55962
|
+
*/
|
|
55963
|
+
postWebdeploymentsTokenRefresh(opts) {
|
|
55964
|
+
opts = opts || {};
|
|
55965
|
+
|
|
55966
|
+
|
|
55967
|
+
return this.apiClient.callApi(
|
|
55968
|
+
'/api/v2/webdeployments/token/refresh',
|
|
55969
|
+
'POST',
|
|
55970
|
+
{ },
|
|
55971
|
+
{ },
|
|
55972
|
+
{ },
|
|
55973
|
+
{ },
|
|
55974
|
+
opts['body'],
|
|
55975
|
+
['PureCloud OAuth'],
|
|
55976
|
+
['application/json'],
|
|
55977
|
+
['application/json']
|
|
55978
|
+
);
|
|
55979
|
+
}
|
|
55980
|
+
|
|
55451
55981
|
/**
|
|
55452
55982
|
* Update the configuration draft
|
|
55453
55983
|
*
|
|
@@ -55514,7 +56044,7 @@ class WebMessagingApi {
|
|
|
55514
56044
|
/**
|
|
55515
56045
|
* WebMessaging service.
|
|
55516
56046
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55517
|
-
* @version
|
|
56047
|
+
* @version 158.0.0
|
|
55518
56048
|
*/
|
|
55519
56049
|
|
|
55520
56050
|
/**
|
|
@@ -55560,7 +56090,7 @@ class WidgetsApi {
|
|
|
55560
56090
|
/**
|
|
55561
56091
|
* Widgets service.
|
|
55562
56092
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55563
|
-
* @version
|
|
56093
|
+
* @version 158.0.0
|
|
55564
56094
|
*/
|
|
55565
56095
|
|
|
55566
56096
|
/**
|
|
@@ -55706,7 +56236,7 @@ class WorkforceManagementApi {
|
|
|
55706
56236
|
/**
|
|
55707
56237
|
* WorkforceManagement service.
|
|
55708
56238
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55709
|
-
* @version
|
|
56239
|
+
* @version 158.0.0
|
|
55710
56240
|
*/
|
|
55711
56241
|
|
|
55712
56242
|
/**
|
|
@@ -56176,6 +56706,31 @@ class WorkforceManagementApi {
|
|
|
56176
56706
|
);
|
|
56177
56707
|
}
|
|
56178
56708
|
|
|
56709
|
+
/**
|
|
56710
|
+
* Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status
|
|
56711
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
56712
|
+
* @param {String} jobId ID of the job to get
|
|
56713
|
+
*/
|
|
56714
|
+
getWorkforcemanagementAdherenceHistoricalBulkJob(jobId) {
|
|
56715
|
+
// verify the required parameter 'jobId' is set
|
|
56716
|
+
if (jobId === undefined || jobId === null) {
|
|
56717
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';
|
|
56718
|
+
}
|
|
56719
|
+
|
|
56720
|
+
return this.apiClient.callApi(
|
|
56721
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}',
|
|
56722
|
+
'GET',
|
|
56723
|
+
{ 'jobId': jobId },
|
|
56724
|
+
{ },
|
|
56725
|
+
{ },
|
|
56726
|
+
{ },
|
|
56727
|
+
null,
|
|
56728
|
+
['PureCloud OAuth'],
|
|
56729
|
+
['application/json'],
|
|
56730
|
+
['application/json']
|
|
56731
|
+
);
|
|
56732
|
+
}
|
|
56733
|
+
|
|
56179
56734
|
/**
|
|
56180
56735
|
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
56181
56736
|
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
@@ -58627,6 +59182,30 @@ class WorkforceManagementApi {
|
|
|
58627
59182
|
);
|
|
58628
59183
|
}
|
|
58629
59184
|
|
|
59185
|
+
/**
|
|
59186
|
+
* Request a historical adherence report in bulk
|
|
59187
|
+
*
|
|
59188
|
+
* @param {Object} opts Optional parameters
|
|
59189
|
+
* @param {Object} opts.body body
|
|
59190
|
+
*/
|
|
59191
|
+
postWorkforcemanagementAdherenceHistoricalBulk(opts) {
|
|
59192
|
+
opts = opts || {};
|
|
59193
|
+
|
|
59194
|
+
|
|
59195
|
+
return this.apiClient.callApi(
|
|
59196
|
+
'/api/v2/workforcemanagement/adherence/historical/bulk',
|
|
59197
|
+
'POST',
|
|
59198
|
+
{ },
|
|
59199
|
+
{ },
|
|
59200
|
+
{ },
|
|
59201
|
+
{ },
|
|
59202
|
+
opts['body'],
|
|
59203
|
+
['PureCloud OAuth'],
|
|
59204
|
+
['application/json'],
|
|
59205
|
+
['application/json']
|
|
59206
|
+
);
|
|
59207
|
+
}
|
|
59208
|
+
|
|
58630
59209
|
/**
|
|
58631
59210
|
* Add an adherence explanation for the requested user
|
|
58632
59211
|
*
|
|
@@ -60376,7 +60955,7 @@ class WorkforceManagementApi {
|
|
|
60376
60955
|
* </pre>
|
|
60377
60956
|
* </p>
|
|
60378
60957
|
* @module purecloud-platform-client-v2/index
|
|
60379
|
-
* @version
|
|
60958
|
+
* @version 158.0.0
|
|
60380
60959
|
*/
|
|
60381
60960
|
class platformClient {
|
|
60382
60961
|
constructor() {
|