purecloud-platform-client-v2 152.0.0 → 153.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 +444 -73
- package/dist/web-amd/purecloud-platform-client-v2.js +444 -73
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +444 -73
- package/dist/web-cjs/purecloud-platform-client-v2.js +444 -73
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +212 -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 +3 -3
- 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 +46 -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 +3 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +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 +4 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -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 +325 -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 153.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 153.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 153.0.0
|
|
3669
3669
|
*/
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
@@ -3681,7 +3681,7 @@ class AnalyticsApi {
|
|
|
3681
3681
|
|
|
3682
3682
|
|
|
3683
3683
|
/**
|
|
3684
|
-
* Delete/cancel an async
|
|
3684
|
+
* Delete/cancel an async details job
|
|
3685
3685
|
*
|
|
3686
3686
|
* @param {String} jobId jobId
|
|
3687
3687
|
*/
|
|
@@ -3863,7 +3863,7 @@ class AnalyticsApi {
|
|
|
3863
3863
|
}
|
|
3864
3864
|
|
|
3865
3865
|
/**
|
|
3866
|
-
* Fetch a page of results for an async
|
|
3866
|
+
* Fetch a page of results for an async details job
|
|
3867
3867
|
*
|
|
3868
3868
|
* @param {String} jobId jobId
|
|
3869
3869
|
* @param {Object} opts Optional parameters
|
|
@@ -4918,7 +4918,7 @@ class ArchitectApi {
|
|
|
4918
4918
|
/**
|
|
4919
4919
|
* Architect service.
|
|
4920
4920
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4921
|
-
* @version
|
|
4921
|
+
* @version 153.0.0
|
|
4922
4922
|
*/
|
|
4923
4923
|
|
|
4924
4924
|
/**
|
|
@@ -7965,7 +7965,7 @@ class AuditApi {
|
|
|
7965
7965
|
/**
|
|
7966
7966
|
* Audit service.
|
|
7967
7967
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7968
|
-
* @version
|
|
7968
|
+
* @version 153.0.0
|
|
7969
7969
|
*/
|
|
7970
7970
|
|
|
7971
7971
|
/**
|
|
@@ -8136,7 +8136,7 @@ class AuthorizationApi {
|
|
|
8136
8136
|
/**
|
|
8137
8137
|
* Authorization service.
|
|
8138
8138
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8139
|
-
* @version
|
|
8139
|
+
* @version 153.0.0
|
|
8140
8140
|
*/
|
|
8141
8141
|
|
|
8142
8142
|
/**
|
|
@@ -8669,6 +8669,26 @@ class AuthorizationApi {
|
|
|
8669
8669
|
);
|
|
8670
8670
|
}
|
|
8671
8671
|
|
|
8672
|
+
/**
|
|
8673
|
+
* Get authorization settings
|
|
8674
|
+
*
|
|
8675
|
+
*/
|
|
8676
|
+
getAuthorizationSettings() {
|
|
8677
|
+
|
|
8678
|
+
return this.apiClient.callApi(
|
|
8679
|
+
'/api/v2/authorization/settings',
|
|
8680
|
+
'GET',
|
|
8681
|
+
{ },
|
|
8682
|
+
{ },
|
|
8683
|
+
{ },
|
|
8684
|
+
{ },
|
|
8685
|
+
null,
|
|
8686
|
+
['PureCloud OAuth'],
|
|
8687
|
+
['application/json'],
|
|
8688
|
+
['application/json']
|
|
8689
|
+
);
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8672
8692
|
/**
|
|
8673
8693
|
* Returns a listing of roles and permissions for a user.
|
|
8674
8694
|
*
|
|
@@ -8793,6 +8813,31 @@ class AuthorizationApi {
|
|
|
8793
8813
|
);
|
|
8794
8814
|
}
|
|
8795
8815
|
|
|
8816
|
+
/**
|
|
8817
|
+
* Change authorization settings
|
|
8818
|
+
* Change authorization settings
|
|
8819
|
+
* @param {Object} body Authorization Settings
|
|
8820
|
+
*/
|
|
8821
|
+
patchAuthorizationSettings(body) {
|
|
8822
|
+
// verify the required parameter 'body' is set
|
|
8823
|
+
if (body === undefined || body === null) {
|
|
8824
|
+
throw 'Missing the required parameter "body" when calling patchAuthorizationSettings';
|
|
8825
|
+
}
|
|
8826
|
+
|
|
8827
|
+
return this.apiClient.callApi(
|
|
8828
|
+
'/api/v2/authorization/settings',
|
|
8829
|
+
'PATCH',
|
|
8830
|
+
{ },
|
|
8831
|
+
{ },
|
|
8832
|
+
{ },
|
|
8833
|
+
{ },
|
|
8834
|
+
body,
|
|
8835
|
+
['PureCloud OAuth'],
|
|
8836
|
+
['application/json'],
|
|
8837
|
+
['application/json']
|
|
8838
|
+
);
|
|
8839
|
+
}
|
|
8840
|
+
|
|
8796
8841
|
/**
|
|
8797
8842
|
* Assign a list of objects to a division
|
|
8798
8843
|
* Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
|
|
@@ -9319,7 +9364,7 @@ class BillingApi {
|
|
|
9319
9364
|
/**
|
|
9320
9365
|
* Billing service.
|
|
9321
9366
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9322
|
-
* @version
|
|
9367
|
+
* @version 153.0.0
|
|
9323
9368
|
*/
|
|
9324
9369
|
|
|
9325
9370
|
/**
|
|
@@ -9399,7 +9444,7 @@ class ChatApi {
|
|
|
9399
9444
|
/**
|
|
9400
9445
|
* Chat service.
|
|
9401
9446
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9402
|
-
* @version
|
|
9447
|
+
* @version 153.0.0
|
|
9403
9448
|
*/
|
|
9404
9449
|
|
|
9405
9450
|
/**
|
|
@@ -9490,7 +9535,7 @@ class CoachingApi {
|
|
|
9490
9535
|
/**
|
|
9491
9536
|
* Coaching service.
|
|
9492
9537
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9493
|
-
* @version
|
|
9538
|
+
* @version 153.0.0
|
|
9494
9539
|
*/
|
|
9495
9540
|
|
|
9496
9541
|
/**
|
|
@@ -10067,7 +10112,7 @@ class ContentManagementApi {
|
|
|
10067
10112
|
/**
|
|
10068
10113
|
* ContentManagement service.
|
|
10069
10114
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10070
|
-
* @version
|
|
10115
|
+
* @version 153.0.0
|
|
10071
10116
|
*/
|
|
10072
10117
|
|
|
10073
10118
|
/**
|
|
@@ -11207,7 +11252,7 @@ class ConversationsApi {
|
|
|
11207
11252
|
/**
|
|
11208
11253
|
* Conversations service.
|
|
11209
11254
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11210
|
-
* @version
|
|
11255
|
+
* @version 153.0.0
|
|
11211
11256
|
*/
|
|
11212
11257
|
|
|
11213
11258
|
/**
|
|
@@ -11223,7 +11268,7 @@ class ConversationsApi {
|
|
|
11223
11268
|
|
|
11224
11269
|
|
|
11225
11270
|
/**
|
|
11226
|
-
* Delete/cancel an async
|
|
11271
|
+
* Delete/cancel an async details job
|
|
11227
11272
|
*
|
|
11228
11273
|
* @param {String} jobId jobId
|
|
11229
11274
|
*/
|
|
@@ -11597,7 +11642,7 @@ class ConversationsApi {
|
|
|
11597
11642
|
}
|
|
11598
11643
|
|
|
11599
11644
|
/**
|
|
11600
|
-
* Fetch a page of results for an async
|
|
11645
|
+
* Fetch a page of results for an async details job
|
|
11601
11646
|
*
|
|
11602
11647
|
* @param {String} jobId jobId
|
|
11603
11648
|
* @param {Object} opts Optional parameters
|
|
@@ -16430,7 +16475,7 @@ class DataExtensionsApi {
|
|
|
16430
16475
|
/**
|
|
16431
16476
|
* DataExtensions service.
|
|
16432
16477
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16433
|
-
* @version
|
|
16478
|
+
* @version 153.0.0
|
|
16434
16479
|
*/
|
|
16435
16480
|
|
|
16436
16481
|
/**
|
|
@@ -16516,7 +16561,7 @@ class DownloadsApi {
|
|
|
16516
16561
|
/**
|
|
16517
16562
|
* Downloads service.
|
|
16518
16563
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16519
|
-
* @version
|
|
16564
|
+
* @version 153.0.0
|
|
16520
16565
|
*/
|
|
16521
16566
|
|
|
16522
16567
|
/**
|
|
@@ -16568,7 +16613,7 @@ class EventsApi {
|
|
|
16568
16613
|
/**
|
|
16569
16614
|
* Events service.
|
|
16570
16615
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16571
|
-
* @version
|
|
16616
|
+
* @version 153.0.0
|
|
16572
16617
|
*/
|
|
16573
16618
|
|
|
16574
16619
|
/**
|
|
@@ -16664,7 +16709,7 @@ class ExternalContactsApi {
|
|
|
16664
16709
|
/**
|
|
16665
16710
|
* ExternalContacts service.
|
|
16666
16711
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16667
|
-
* @version
|
|
16712
|
+
* @version 153.0.0
|
|
16668
16713
|
*/
|
|
16669
16714
|
|
|
16670
16715
|
/**
|
|
@@ -18622,7 +18667,7 @@ class FaxApi {
|
|
|
18622
18667
|
/**
|
|
18623
18668
|
* Fax service.
|
|
18624
18669
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18625
|
-
* @version
|
|
18670
|
+
* @version 153.0.0
|
|
18626
18671
|
*/
|
|
18627
18672
|
|
|
18628
18673
|
/**
|
|
@@ -18793,7 +18838,7 @@ class FlowsApi {
|
|
|
18793
18838
|
/**
|
|
18794
18839
|
* Flows service.
|
|
18795
18840
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18796
|
-
* @version
|
|
18841
|
+
* @version 153.0.0
|
|
18797
18842
|
*/
|
|
18798
18843
|
|
|
18799
18844
|
/**
|
|
@@ -18864,7 +18909,7 @@ class GamificationApi {
|
|
|
18864
18909
|
/**
|
|
18865
18910
|
* Gamification service.
|
|
18866
18911
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18867
|
-
* @version
|
|
18912
|
+
* @version 153.0.0
|
|
18868
18913
|
*/
|
|
18869
18914
|
|
|
18870
18915
|
/**
|
|
@@ -20481,7 +20526,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20481
20526
|
/**
|
|
20482
20527
|
* GeneralDataProtectionRegulation service.
|
|
20483
20528
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20484
|
-
* @version
|
|
20529
|
+
* @version 153.0.0
|
|
20485
20530
|
*/
|
|
20486
20531
|
|
|
20487
20532
|
/**
|
|
@@ -20611,7 +20656,7 @@ class GeolocationApi {
|
|
|
20611
20656
|
/**
|
|
20612
20657
|
* Geolocation service.
|
|
20613
20658
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20614
|
-
* @version
|
|
20659
|
+
* @version 153.0.0
|
|
20615
20660
|
*/
|
|
20616
20661
|
|
|
20617
20662
|
/**
|
|
@@ -20742,7 +20787,7 @@ class GreetingsApi {
|
|
|
20742
20787
|
/**
|
|
20743
20788
|
* Greetings service.
|
|
20744
20789
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20745
|
-
* @version
|
|
20790
|
+
* @version 153.0.0
|
|
20746
20791
|
*/
|
|
20747
20792
|
|
|
20748
20793
|
/**
|
|
@@ -21197,7 +21242,7 @@ class GroupsApi {
|
|
|
21197
21242
|
/**
|
|
21198
21243
|
* Groups service.
|
|
21199
21244
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21200
|
-
* @version
|
|
21245
|
+
* @version 153.0.0
|
|
21201
21246
|
*/
|
|
21202
21247
|
|
|
21203
21248
|
/**
|
|
@@ -21603,7 +21648,7 @@ class IdentityProviderApi {
|
|
|
21603
21648
|
/**
|
|
21604
21649
|
* IdentityProvider service.
|
|
21605
21650
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21606
|
-
* @version
|
|
21651
|
+
* @version 153.0.0
|
|
21607
21652
|
*/
|
|
21608
21653
|
|
|
21609
21654
|
/**
|
|
@@ -22359,7 +22404,7 @@ class IntegrationsApi {
|
|
|
22359
22404
|
/**
|
|
22360
22405
|
* Integrations service.
|
|
22361
22406
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22362
|
-
* @version
|
|
22407
|
+
* @version 153.0.0
|
|
22363
22408
|
*/
|
|
22364
22409
|
|
|
22365
22410
|
/**
|
|
@@ -23959,7 +24004,7 @@ class JourneyApi {
|
|
|
23959
24004
|
/**
|
|
23960
24005
|
* Journey service.
|
|
23961
24006
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23962
|
-
* @version
|
|
24007
|
+
* @version 153.0.0
|
|
23963
24008
|
*/
|
|
23964
24009
|
|
|
23965
24010
|
/**
|
|
@@ -24745,7 +24790,7 @@ class KnowledgeApi {
|
|
|
24745
24790
|
/**
|
|
24746
24791
|
* Knowledge service.
|
|
24747
24792
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24748
|
-
* @version
|
|
24793
|
+
* @version 153.0.0
|
|
24749
24794
|
*/
|
|
24750
24795
|
|
|
24751
24796
|
/**
|
|
@@ -27178,7 +27223,7 @@ class LanguageUnderstandingApi {
|
|
|
27178
27223
|
/**
|
|
27179
27224
|
* LanguageUnderstanding service.
|
|
27180
27225
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27181
|
-
* @version
|
|
27226
|
+
* @version 153.0.0
|
|
27182
27227
|
*/
|
|
27183
27228
|
|
|
27184
27229
|
/**
|
|
@@ -28082,7 +28127,7 @@ class LanguagesApi {
|
|
|
28082
28127
|
/**
|
|
28083
28128
|
* Languages service.
|
|
28084
28129
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28085
|
-
* @version
|
|
28130
|
+
* @version 153.0.0
|
|
28086
28131
|
*/
|
|
28087
28132
|
|
|
28088
28133
|
/**
|
|
@@ -28350,7 +28395,7 @@ class LearningApi {
|
|
|
28350
28395
|
/**
|
|
28351
28396
|
* Learning service.
|
|
28352
28397
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28353
|
-
* @version
|
|
28398
|
+
* @version 153.0.0
|
|
28354
28399
|
*/
|
|
28355
28400
|
|
|
28356
28401
|
/**
|
|
@@ -29110,7 +29155,7 @@ class LicenseApi {
|
|
|
29110
29155
|
/**
|
|
29111
29156
|
* License service.
|
|
29112
29157
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29113
|
-
* @version
|
|
29158
|
+
* @version 153.0.0
|
|
29114
29159
|
*/
|
|
29115
29160
|
|
|
29116
29161
|
/**
|
|
@@ -29348,7 +29393,7 @@ class LocationsApi {
|
|
|
29348
29393
|
/**
|
|
29349
29394
|
* Locations service.
|
|
29350
29395
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29351
|
-
* @version
|
|
29396
|
+
* @version 153.0.0
|
|
29352
29397
|
*/
|
|
29353
29398
|
|
|
29354
29399
|
/**
|
|
@@ -29584,7 +29629,7 @@ class MessagingApi {
|
|
|
29584
29629
|
/**
|
|
29585
29630
|
* Messaging service.
|
|
29586
29631
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29587
|
-
* @version
|
|
29632
|
+
* @version 153.0.0
|
|
29588
29633
|
*/
|
|
29589
29634
|
|
|
29590
29635
|
/**
|
|
@@ -29735,7 +29780,7 @@ class MobileDevicesApi {
|
|
|
29735
29780
|
/**
|
|
29736
29781
|
* MobileDevices service.
|
|
29737
29782
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29738
|
-
* @version
|
|
29783
|
+
* @version 153.0.0
|
|
29739
29784
|
*/
|
|
29740
29785
|
|
|
29741
29786
|
/**
|
|
@@ -29886,7 +29931,7 @@ class NotificationsApi {
|
|
|
29886
29931
|
/**
|
|
29887
29932
|
* Notifications service.
|
|
29888
29933
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29889
|
-
* @version
|
|
29934
|
+
* @version 153.0.0
|
|
29890
29935
|
*/
|
|
29891
29936
|
|
|
29892
29937
|
/**
|
|
@@ -30111,7 +30156,7 @@ class OAuthApi {
|
|
|
30111
30156
|
/**
|
|
30112
30157
|
* OAuth service.
|
|
30113
30158
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30114
|
-
* @version
|
|
30159
|
+
* @version 153.0.0
|
|
30115
30160
|
*/
|
|
30116
30161
|
|
|
30117
30162
|
/**
|
|
@@ -30477,7 +30522,7 @@ class ObjectsApi {
|
|
|
30477
30522
|
/**
|
|
30478
30523
|
* Objects service.
|
|
30479
30524
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30480
|
-
* @version
|
|
30525
|
+
* @version 153.0.0
|
|
30481
30526
|
*/
|
|
30482
30527
|
|
|
30483
30528
|
/**
|
|
@@ -30748,7 +30793,7 @@ class OrganizationApi {
|
|
|
30748
30793
|
/**
|
|
30749
30794
|
* Organization service.
|
|
30750
30795
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30751
|
-
* @version
|
|
30796
|
+
* @version 153.0.0
|
|
30752
30797
|
*/
|
|
30753
30798
|
|
|
30754
30799
|
/**
|
|
@@ -31151,7 +31196,7 @@ class OrganizationAuthorizationApi {
|
|
|
31151
31196
|
/**
|
|
31152
31197
|
* OrganizationAuthorization service.
|
|
31153
31198
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31154
|
-
* @version
|
|
31199
|
+
* @version 153.0.0
|
|
31155
31200
|
*/
|
|
31156
31201
|
|
|
31157
31202
|
/**
|
|
@@ -32076,7 +32121,7 @@ class OutboundApi {
|
|
|
32076
32121
|
/**
|
|
32077
32122
|
* Outbound service.
|
|
32078
32123
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32079
|
-
* @version
|
|
32124
|
+
* @version 153.0.0
|
|
32080
32125
|
*/
|
|
32081
32126
|
|
|
32082
32127
|
/**
|
|
@@ -35465,7 +35510,7 @@ class PresenceApi {
|
|
|
35465
35510
|
/**
|
|
35466
35511
|
* Presence service.
|
|
35467
35512
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35468
|
-
* @version
|
|
35513
|
+
* @version 153.0.0
|
|
35469
35514
|
*/
|
|
35470
35515
|
|
|
35471
35516
|
/**
|
|
@@ -35971,7 +36016,7 @@ class ProcessAutomationApi {
|
|
|
35971
36016
|
/**
|
|
35972
36017
|
* ProcessAutomation service.
|
|
35973
36018
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
35974
|
-
* @version
|
|
36019
|
+
* @version 153.0.0
|
|
35975
36020
|
*/
|
|
35976
36021
|
|
|
35977
36022
|
/**
|
|
@@ -36209,7 +36254,7 @@ class QualityApi {
|
|
|
36209
36254
|
/**
|
|
36210
36255
|
* Quality service.
|
|
36211
36256
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36212
|
-
* @version
|
|
36257
|
+
* @version 153.0.0
|
|
36213
36258
|
*/
|
|
36214
36259
|
|
|
36215
36260
|
/**
|
|
@@ -37787,7 +37832,7 @@ class RecordingApi {
|
|
|
37787
37832
|
/**
|
|
37788
37833
|
* Recording service.
|
|
37789
37834
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37790
|
-
* @version
|
|
37835
|
+
* @version 153.0.0
|
|
37791
37836
|
*/
|
|
37792
37837
|
|
|
37793
37838
|
/**
|
|
@@ -39474,7 +39519,7 @@ class ResponseManagementApi {
|
|
|
39474
39519
|
/**
|
|
39475
39520
|
* ResponseManagement service.
|
|
39476
39521
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39477
|
-
* @version
|
|
39522
|
+
* @version 153.0.0
|
|
39478
39523
|
*/
|
|
39479
39524
|
|
|
39480
39525
|
/**
|
|
@@ -39958,7 +40003,7 @@ class RoutingApi {
|
|
|
39958
40003
|
/**
|
|
39959
40004
|
* Routing service.
|
|
39960
40005
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39961
|
-
* @version
|
|
40006
|
+
* @version 153.0.0
|
|
39962
40007
|
*/
|
|
39963
40008
|
|
|
39964
40009
|
/**
|
|
@@ -40684,6 +40729,8 @@ class RoutingApi {
|
|
|
40684
40729
|
* Get domains
|
|
40685
40730
|
*
|
|
40686
40731
|
* @param {Object} opts Optional parameters
|
|
40732
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
40733
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
40687
40734
|
* @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
|
|
40688
40735
|
*/
|
|
40689
40736
|
getRoutingEmailDomains(opts) {
|
|
@@ -40694,7 +40741,7 @@ class RoutingApi {
|
|
|
40694
40741
|
'/api/v2/routing/email/domains',
|
|
40695
40742
|
'GET',
|
|
40696
40743
|
{ },
|
|
40697
|
-
{ 'excludeStatus': opts['excludeStatus'] },
|
|
40744
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'] },
|
|
40698
40745
|
{ },
|
|
40699
40746
|
{ },
|
|
40700
40747
|
null,
|
|
@@ -43371,7 +43418,7 @@ class SCIMApi {
|
|
|
43371
43418
|
/**
|
|
43372
43419
|
* SCIM service.
|
|
43373
43420
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43374
|
-
* @version
|
|
43421
|
+
* @version 153.0.0
|
|
43375
43422
|
*/
|
|
43376
43423
|
|
|
43377
43424
|
/**
|
|
@@ -44248,7 +44295,7 @@ class ScriptsApi {
|
|
|
44248
44295
|
/**
|
|
44249
44296
|
* Scripts service.
|
|
44250
44297
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44251
|
-
* @version
|
|
44298
|
+
* @version 153.0.0
|
|
44252
44299
|
*/
|
|
44253
44300
|
|
|
44254
44301
|
/**
|
|
@@ -44667,7 +44714,7 @@ class SearchApi {
|
|
|
44667
44714
|
/**
|
|
44668
44715
|
* Search service.
|
|
44669
44716
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44670
|
-
* @version
|
|
44717
|
+
* @version 153.0.0
|
|
44671
44718
|
*/
|
|
44672
44719
|
|
|
44673
44720
|
/**
|
|
@@ -45252,7 +45299,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45252
45299
|
/**
|
|
45253
45300
|
* SpeechTextAnalytics service.
|
|
45254
45301
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45255
|
-
* @version
|
|
45302
|
+
* @version 153.0.0
|
|
45256
45303
|
*/
|
|
45257
45304
|
|
|
45258
45305
|
/**
|
|
@@ -46106,7 +46153,7 @@ class StationsApi {
|
|
|
46106
46153
|
/**
|
|
46107
46154
|
* Stations service.
|
|
46108
46155
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46109
|
-
* @version
|
|
46156
|
+
* @version 153.0.0
|
|
46110
46157
|
*/
|
|
46111
46158
|
|
|
46112
46159
|
/**
|
|
@@ -46253,7 +46300,7 @@ class SuggestApi {
|
|
|
46253
46300
|
/**
|
|
46254
46301
|
* Suggest service.
|
|
46255
46302
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46256
|
-
* @version
|
|
46303
|
+
* @version 153.0.0
|
|
46257
46304
|
*/
|
|
46258
46305
|
|
|
46259
46306
|
/**
|
|
@@ -46392,7 +46439,7 @@ class TeamsApi {
|
|
|
46392
46439
|
/**
|
|
46393
46440
|
* Teams service.
|
|
46394
46441
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46395
|
-
* @version
|
|
46442
|
+
* @version 153.0.0
|
|
46396
46443
|
*/
|
|
46397
46444
|
|
|
46398
46445
|
/**
|
|
@@ -46663,7 +46710,7 @@ class TelephonyApi {
|
|
|
46663
46710
|
/**
|
|
46664
46711
|
* Telephony service.
|
|
46665
46712
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46666
|
-
* @version
|
|
46713
|
+
* @version 153.0.0
|
|
46667
46714
|
*/
|
|
46668
46715
|
|
|
46669
46716
|
/**
|
|
@@ -46771,7 +46818,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46771
46818
|
/**
|
|
46772
46819
|
* TelephonyProvidersEdge service.
|
|
46773
46820
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46774
|
-
* @version
|
|
46821
|
+
* @version 153.0.0
|
|
46775
46822
|
*/
|
|
46776
46823
|
|
|
46777
46824
|
/**
|
|
@@ -50404,7 +50451,7 @@ class TextbotsApi {
|
|
|
50404
50451
|
/**
|
|
50405
50452
|
* Textbots service.
|
|
50406
50453
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50407
|
-
* @version
|
|
50454
|
+
* @version 153.0.0
|
|
50408
50455
|
*/
|
|
50409
50456
|
|
|
50410
50457
|
/**
|
|
@@ -50532,7 +50579,7 @@ class TokensApi {
|
|
|
50532
50579
|
/**
|
|
50533
50580
|
* Tokens service.
|
|
50534
50581
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50535
|
-
* @version
|
|
50582
|
+
* @version 153.0.0
|
|
50536
50583
|
*/
|
|
50537
50584
|
|
|
50538
50585
|
/**
|
|
@@ -50638,7 +50685,7 @@ class UploadsApi {
|
|
|
50638
50685
|
/**
|
|
50639
50686
|
* Uploads service.
|
|
50640
50687
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50641
|
-
* @version
|
|
50688
|
+
* @version 153.0.0
|
|
50642
50689
|
*/
|
|
50643
50690
|
|
|
50644
50691
|
/**
|
|
@@ -50814,7 +50861,7 @@ class UsageApi {
|
|
|
50814
50861
|
/**
|
|
50815
50862
|
* Usage service.
|
|
50816
50863
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50817
|
-
* @version
|
|
50864
|
+
* @version 153.0.0
|
|
50818
50865
|
*/
|
|
50819
50866
|
|
|
50820
50867
|
/**
|
|
@@ -50885,7 +50932,7 @@ class UserRecordingsApi {
|
|
|
50885
50932
|
/**
|
|
50886
50933
|
* UserRecordings service.
|
|
50887
50934
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
50888
|
-
* @version
|
|
50935
|
+
* @version 153.0.0
|
|
50889
50936
|
*/
|
|
50890
50937
|
|
|
50891
50938
|
/**
|
|
@@ -51070,7 +51117,7 @@ class UsersApi {
|
|
|
51070
51117
|
/**
|
|
51071
51118
|
* Users service.
|
|
51072
51119
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51073
|
-
* @version
|
|
51120
|
+
* @version 153.0.0
|
|
51074
51121
|
*/
|
|
51075
51122
|
|
|
51076
51123
|
/**
|
|
@@ -53427,7 +53474,7 @@ class UtilitiesApi {
|
|
|
53427
53474
|
/**
|
|
53428
53475
|
* Utilities service.
|
|
53429
53476
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53430
|
-
* @version
|
|
53477
|
+
* @version 153.0.0
|
|
53431
53478
|
*/
|
|
53432
53479
|
|
|
53433
53480
|
/**
|
|
@@ -53538,7 +53585,7 @@ class VoicemailApi {
|
|
|
53538
53585
|
/**
|
|
53539
53586
|
* Voicemail service.
|
|
53540
53587
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53541
|
-
* @version
|
|
53588
|
+
* @version 153.0.0
|
|
53542
53589
|
*/
|
|
53543
53590
|
|
|
53544
53591
|
/**
|
|
@@ -54205,7 +54252,7 @@ class WebChatApi {
|
|
|
54205
54252
|
/**
|
|
54206
54253
|
* WebChat service.
|
|
54207
54254
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54208
|
-
* @version
|
|
54255
|
+
* @version 153.0.0
|
|
54209
54256
|
*/
|
|
54210
54257
|
|
|
54211
54258
|
/**
|
|
@@ -54749,7 +54796,7 @@ class WebDeploymentsApi {
|
|
|
54749
54796
|
/**
|
|
54750
54797
|
* WebDeployments service.
|
|
54751
54798
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54752
|
-
* @version
|
|
54799
|
+
* @version 153.0.0
|
|
54753
54800
|
*/
|
|
54754
54801
|
|
|
54755
54802
|
/**
|
|
@@ -55137,7 +55184,7 @@ class WebMessagingApi {
|
|
|
55137
55184
|
/**
|
|
55138
55185
|
* WebMessaging service.
|
|
55139
55186
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55140
|
-
* @version
|
|
55187
|
+
* @version 153.0.0
|
|
55141
55188
|
*/
|
|
55142
55189
|
|
|
55143
55190
|
/**
|
|
@@ -55183,7 +55230,7 @@ class WidgetsApi {
|
|
|
55183
55230
|
/**
|
|
55184
55231
|
* Widgets service.
|
|
55185
55232
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55186
|
-
* @version
|
|
55233
|
+
* @version 153.0.0
|
|
55187
55234
|
*/
|
|
55188
55235
|
|
|
55189
55236
|
/**
|
|
@@ -55329,7 +55376,7 @@ class WorkforceManagementApi {
|
|
|
55329
55376
|
/**
|
|
55330
55377
|
* WorkforceManagement service.
|
|
55331
55378
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55332
|
-
* @version
|
|
55379
|
+
* @version 153.0.0
|
|
55333
55380
|
*/
|
|
55334
55381
|
|
|
55335
55382
|
/**
|
|
@@ -55749,6 +55796,56 @@ class WorkforceManagementApi {
|
|
|
55749
55796
|
);
|
|
55750
55797
|
}
|
|
55751
55798
|
|
|
55799
|
+
/**
|
|
55800
|
+
* Get an adherence explanation for the current user
|
|
55801
|
+
*
|
|
55802
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
55803
|
+
*/
|
|
55804
|
+
getWorkforcemanagementAdherenceExplanation(explanationId) {
|
|
55805
|
+
// verify the required parameter 'explanationId' is set
|
|
55806
|
+
if (explanationId === undefined || explanationId === null) {
|
|
55807
|
+
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAdherenceExplanation';
|
|
55808
|
+
}
|
|
55809
|
+
|
|
55810
|
+
return this.apiClient.callApi(
|
|
55811
|
+
'/api/v2/workforcemanagement/adherence/explanations/{explanationId}',
|
|
55812
|
+
'GET',
|
|
55813
|
+
{ 'explanationId': explanationId },
|
|
55814
|
+
{ },
|
|
55815
|
+
{ },
|
|
55816
|
+
{ },
|
|
55817
|
+
null,
|
|
55818
|
+
['PureCloud OAuth'],
|
|
55819
|
+
['application/json'],
|
|
55820
|
+
['application/json']
|
|
55821
|
+
);
|
|
55822
|
+
}
|
|
55823
|
+
|
|
55824
|
+
/**
|
|
55825
|
+
* Query the status of an adherence explanation operation. Only the user who started the operation can query the status
|
|
55826
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
55827
|
+
* @param {String} jobId The ID of the job
|
|
55828
|
+
*/
|
|
55829
|
+
getWorkforcemanagementAdherenceExplanationsJob(jobId) {
|
|
55830
|
+
// verify the required parameter 'jobId' is set
|
|
55831
|
+
if (jobId === undefined || jobId === null) {
|
|
55832
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceExplanationsJob';
|
|
55833
|
+
}
|
|
55834
|
+
|
|
55835
|
+
return this.apiClient.callApi(
|
|
55836
|
+
'/api/v2/workforcemanagement/adherence/explanations/jobs/{jobId}',
|
|
55837
|
+
'GET',
|
|
55838
|
+
{ 'jobId': jobId },
|
|
55839
|
+
{ },
|
|
55840
|
+
{ },
|
|
55841
|
+
{ },
|
|
55842
|
+
null,
|
|
55843
|
+
['PureCloud OAuth'],
|
|
55844
|
+
['application/json'],
|
|
55845
|
+
['application/json']
|
|
55846
|
+
);
|
|
55847
|
+
}
|
|
55848
|
+
|
|
55752
55849
|
/**
|
|
55753
55850
|
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
55754
55851
|
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
@@ -55799,6 +55896,36 @@ class WorkforceManagementApi {
|
|
|
55799
55896
|
);
|
|
55800
55897
|
}
|
|
55801
55898
|
|
|
55899
|
+
/**
|
|
55900
|
+
* Get an adherence explanation
|
|
55901
|
+
*
|
|
55902
|
+
* @param {String} agentId The ID of the agent to query
|
|
55903
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
55904
|
+
*/
|
|
55905
|
+
getWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId) {
|
|
55906
|
+
// verify the required parameter 'agentId' is set
|
|
55907
|
+
if (agentId === undefined || agentId === null) {
|
|
55908
|
+
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
55909
|
+
}
|
|
55910
|
+
// verify the required parameter 'explanationId' is set
|
|
55911
|
+
if (explanationId === undefined || explanationId === null) {
|
|
55912
|
+
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
55913
|
+
}
|
|
55914
|
+
|
|
55915
|
+
return this.apiClient.callApi(
|
|
55916
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}',
|
|
55917
|
+
'GET',
|
|
55918
|
+
{ 'agentId': agentId,'explanationId': explanationId },
|
|
55919
|
+
{ },
|
|
55920
|
+
{ },
|
|
55921
|
+
{ },
|
|
55922
|
+
null,
|
|
55923
|
+
['PureCloud OAuth'],
|
|
55924
|
+
['application/json'],
|
|
55925
|
+
['application/json']
|
|
55926
|
+
);
|
|
55927
|
+
}
|
|
55928
|
+
|
|
55802
55929
|
/**
|
|
55803
55930
|
* Get the management unit to which the agent belongs
|
|
55804
55931
|
*
|
|
@@ -57518,6 +57645,31 @@ class WorkforceManagementApi {
|
|
|
57518
57645
|
);
|
|
57519
57646
|
}
|
|
57520
57647
|
|
|
57648
|
+
/**
|
|
57649
|
+
* Request to fetch the status of the historical shrinkage query
|
|
57650
|
+
*
|
|
57651
|
+
* @param {String} jobId jobId
|
|
57652
|
+
*/
|
|
57653
|
+
getWorkforcemanagementShrinkageJob(jobId) {
|
|
57654
|
+
// verify the required parameter 'jobId' is set
|
|
57655
|
+
if (jobId === undefined || jobId === null) {
|
|
57656
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';
|
|
57657
|
+
}
|
|
57658
|
+
|
|
57659
|
+
return this.apiClient.callApi(
|
|
57660
|
+
'/api/v2/workforcemanagement/shrinkage/jobs/{jobId}',
|
|
57661
|
+
'GET',
|
|
57662
|
+
{ 'jobId': jobId },
|
|
57663
|
+
{ },
|
|
57664
|
+
{ },
|
|
57665
|
+
{ },
|
|
57666
|
+
null,
|
|
57667
|
+
['PureCloud OAuth'],
|
|
57668
|
+
['application/json'],
|
|
57669
|
+
['application/json']
|
|
57670
|
+
);
|
|
57671
|
+
}
|
|
57672
|
+
|
|
57521
57673
|
/**
|
|
57522
57674
|
* Get a time off request for the current user
|
|
57523
57675
|
*
|
|
@@ -57592,6 +57744,41 @@ class WorkforceManagementApi {
|
|
|
57592
57744
|
);
|
|
57593
57745
|
}
|
|
57594
57746
|
|
|
57747
|
+
/**
|
|
57748
|
+
* Update an adherence explanation
|
|
57749
|
+
*
|
|
57750
|
+
* @param {String} agentId The ID of the agent to query
|
|
57751
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
57752
|
+
* @param {Object} body The request body
|
|
57753
|
+
*/
|
|
57754
|
+
patchWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId, body) {
|
|
57755
|
+
// verify the required parameter 'agentId' is set
|
|
57756
|
+
if (agentId === undefined || agentId === null) {
|
|
57757
|
+
throw 'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
57758
|
+
}
|
|
57759
|
+
// verify the required parameter 'explanationId' is set
|
|
57760
|
+
if (explanationId === undefined || explanationId === null) {
|
|
57761
|
+
throw 'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
57762
|
+
}
|
|
57763
|
+
// verify the required parameter 'body' is set
|
|
57764
|
+
if (body === undefined || body === null) {
|
|
57765
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
57766
|
+
}
|
|
57767
|
+
|
|
57768
|
+
return this.apiClient.callApi(
|
|
57769
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}',
|
|
57770
|
+
'PATCH',
|
|
57771
|
+
{ 'agentId': agentId,'explanationId': explanationId },
|
|
57772
|
+
{ },
|
|
57773
|
+
{ },
|
|
57774
|
+
{ },
|
|
57775
|
+
body,
|
|
57776
|
+
['PureCloud OAuth'],
|
|
57777
|
+
['application/json'],
|
|
57778
|
+
['application/json']
|
|
57779
|
+
);
|
|
57780
|
+
}
|
|
57781
|
+
|
|
57595
57782
|
/**
|
|
57596
57783
|
* Update business unit
|
|
57597
57784
|
*
|
|
@@ -58031,6 +58218,61 @@ class WorkforceManagementApi {
|
|
|
58031
58218
|
);
|
|
58032
58219
|
}
|
|
58033
58220
|
|
|
58221
|
+
/**
|
|
58222
|
+
* Submit an adherence explanation for the current user
|
|
58223
|
+
*
|
|
58224
|
+
* @param {Object} body The request body
|
|
58225
|
+
*/
|
|
58226
|
+
postWorkforcemanagementAdherenceExplanations(body) {
|
|
58227
|
+
// verify the required parameter 'body' is set
|
|
58228
|
+
if (body === undefined || body === null) {
|
|
58229
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanations';
|
|
58230
|
+
}
|
|
58231
|
+
|
|
58232
|
+
return this.apiClient.callApi(
|
|
58233
|
+
'/api/v2/workforcemanagement/adherence/explanations',
|
|
58234
|
+
'POST',
|
|
58235
|
+
{ },
|
|
58236
|
+
{ },
|
|
58237
|
+
{ },
|
|
58238
|
+
{ },
|
|
58239
|
+
body,
|
|
58240
|
+
['PureCloud OAuth'],
|
|
58241
|
+
['application/json'],
|
|
58242
|
+
['application/json']
|
|
58243
|
+
);
|
|
58244
|
+
}
|
|
58245
|
+
|
|
58246
|
+
/**
|
|
58247
|
+
* Query adherence explanations for the current user
|
|
58248
|
+
*
|
|
58249
|
+
* @param {Object} body The request body
|
|
58250
|
+
* @param {Object} opts Optional parameters
|
|
58251
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
58252
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
58253
|
+
*/
|
|
58254
|
+
postWorkforcemanagementAdherenceExplanationsQuery(body, opts) {
|
|
58255
|
+
opts = opts || {};
|
|
58256
|
+
|
|
58257
|
+
// verify the required parameter 'body' is set
|
|
58258
|
+
if (body === undefined || body === null) {
|
|
58259
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanationsQuery';
|
|
58260
|
+
}
|
|
58261
|
+
|
|
58262
|
+
return this.apiClient.callApi(
|
|
58263
|
+
'/api/v2/workforcemanagement/adherence/explanations/query',
|
|
58264
|
+
'POST',
|
|
58265
|
+
{ },
|
|
58266
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
58267
|
+
{ },
|
|
58268
|
+
{ },
|
|
58269
|
+
body,
|
|
58270
|
+
['PureCloud OAuth'],
|
|
58271
|
+
['application/json'],
|
|
58272
|
+
['application/json']
|
|
58273
|
+
);
|
|
58274
|
+
}
|
|
58275
|
+
|
|
58034
58276
|
/**
|
|
58035
58277
|
* Request a historical adherence report for users across management units
|
|
58036
58278
|
*
|
|
@@ -58055,6 +58297,71 @@ class WorkforceManagementApi {
|
|
|
58055
58297
|
);
|
|
58056
58298
|
}
|
|
58057
58299
|
|
|
58300
|
+
/**
|
|
58301
|
+
* Add an adherence explanation for the requested user
|
|
58302
|
+
*
|
|
58303
|
+
* @param {String} agentId The ID of the agent to query
|
|
58304
|
+
* @param {Object} body The request body
|
|
58305
|
+
*/
|
|
58306
|
+
postWorkforcemanagementAgentAdherenceExplanations(agentId, body) {
|
|
58307
|
+
// verify the required parameter 'agentId' is set
|
|
58308
|
+
if (agentId === undefined || agentId === null) {
|
|
58309
|
+
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';
|
|
58310
|
+
}
|
|
58311
|
+
// verify the required parameter 'body' is set
|
|
58312
|
+
if (body === undefined || body === null) {
|
|
58313
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanations';
|
|
58314
|
+
}
|
|
58315
|
+
|
|
58316
|
+
return this.apiClient.callApi(
|
|
58317
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations',
|
|
58318
|
+
'POST',
|
|
58319
|
+
{ 'agentId': agentId },
|
|
58320
|
+
{ },
|
|
58321
|
+
{ },
|
|
58322
|
+
{ },
|
|
58323
|
+
body,
|
|
58324
|
+
['PureCloud OAuth'],
|
|
58325
|
+
['application/json'],
|
|
58326
|
+
['application/json']
|
|
58327
|
+
);
|
|
58328
|
+
}
|
|
58329
|
+
|
|
58330
|
+
/**
|
|
58331
|
+
* Query adherence explanations for the given agent across a specified range
|
|
58332
|
+
*
|
|
58333
|
+
* @param {String} agentId The ID of the agent to query
|
|
58334
|
+
* @param {Object} body The request body
|
|
58335
|
+
* @param {Object} opts Optional parameters
|
|
58336
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
58337
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
58338
|
+
*/
|
|
58339
|
+
postWorkforcemanagementAgentAdherenceExplanationsQuery(agentId, body, opts) {
|
|
58340
|
+
opts = opts || {};
|
|
58341
|
+
|
|
58342
|
+
// verify the required parameter 'agentId' is set
|
|
58343
|
+
if (agentId === undefined || agentId === null) {
|
|
58344
|
+
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
|
|
58345
|
+
}
|
|
58346
|
+
// verify the required parameter 'body' is set
|
|
58347
|
+
if (body === undefined || body === null) {
|
|
58348
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
|
|
58349
|
+
}
|
|
58350
|
+
|
|
58351
|
+
return this.apiClient.callApi(
|
|
58352
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/query',
|
|
58353
|
+
'POST',
|
|
58354
|
+
{ 'agentId': agentId },
|
|
58355
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
58356
|
+
{ },
|
|
58357
|
+
{ },
|
|
58358
|
+
body,
|
|
58359
|
+
['PureCloud OAuth'],
|
|
58360
|
+
['application/json'],
|
|
58361
|
+
['application/json']
|
|
58362
|
+
);
|
|
58363
|
+
}
|
|
58364
|
+
|
|
58058
58365
|
/**
|
|
58059
58366
|
* Get published schedule for the current user
|
|
58060
58367
|
*
|
|
@@ -58108,6 +58415,41 @@ class WorkforceManagementApi {
|
|
|
58108
58415
|
);
|
|
58109
58416
|
}
|
|
58110
58417
|
|
|
58418
|
+
/**
|
|
58419
|
+
* Query adherence explanations across an entire business unit for the requested period
|
|
58420
|
+
*
|
|
58421
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
58422
|
+
* @param {Object} body The request body
|
|
58423
|
+
* @param {Object} opts Optional parameters
|
|
58424
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
58425
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
58426
|
+
*/
|
|
58427
|
+
postWorkforcemanagementBusinessunitAdherenceExplanationsQuery(businessUnitId, body, opts) {
|
|
58428
|
+
opts = opts || {};
|
|
58429
|
+
|
|
58430
|
+
// verify the required parameter 'businessUnitId' is set
|
|
58431
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
58432
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
|
|
58433
|
+
}
|
|
58434
|
+
// verify the required parameter 'body' is set
|
|
58435
|
+
if (body === undefined || body === null) {
|
|
58436
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
|
|
58437
|
+
}
|
|
58438
|
+
|
|
58439
|
+
return this.apiClient.callApi(
|
|
58440
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/explanations/query',
|
|
58441
|
+
'POST',
|
|
58442
|
+
{ 'businessUnitId': businessUnitId },
|
|
58443
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
58444
|
+
{ },
|
|
58445
|
+
{ },
|
|
58446
|
+
body,
|
|
58447
|
+
['PureCloud OAuth'],
|
|
58448
|
+
['application/json'],
|
|
58449
|
+
['application/json']
|
|
58450
|
+
);
|
|
58451
|
+
}
|
|
58452
|
+
|
|
58111
58453
|
/**
|
|
58112
58454
|
* Search published schedules
|
|
58113
58455
|
*
|
|
@@ -58935,6 +59277,35 @@ class WorkforceManagementApi {
|
|
|
58935
59277
|
);
|
|
58936
59278
|
}
|
|
58937
59279
|
|
|
59280
|
+
/**
|
|
59281
|
+
* Request a historical shrinkage report
|
|
59282
|
+
* The maximum supported range for historical shrinkage queries is up to 32 days. Historical Shrinkage for a given date range can be queried in two modes - granular and aggregated. To see granular shrinkage information, provide granularity in the request body.
|
|
59283
|
+
* @param {String} managementUnitId The ID of the management unit
|
|
59284
|
+
* @param {Object} opts Optional parameters
|
|
59285
|
+
* @param {Object} opts.body body
|
|
59286
|
+
*/
|
|
59287
|
+
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, opts) {
|
|
59288
|
+
opts = opts || {};
|
|
59289
|
+
|
|
59290
|
+
// verify the required parameter 'managementUnitId' is set
|
|
59291
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
59292
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
59293
|
+
}
|
|
59294
|
+
|
|
59295
|
+
return this.apiClient.callApi(
|
|
59296
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs',
|
|
59297
|
+
'POST',
|
|
59298
|
+
{ 'managementUnitId': managementUnitId },
|
|
59299
|
+
{ },
|
|
59300
|
+
{ },
|
|
59301
|
+
{ },
|
|
59302
|
+
opts['body'],
|
|
59303
|
+
['PureCloud OAuth'],
|
|
59304
|
+
['application/json'],
|
|
59305
|
+
['application/json']
|
|
59306
|
+
);
|
|
59307
|
+
}
|
|
59308
|
+
|
|
58938
59309
|
/**
|
|
58939
59310
|
* Creates a new time off limit object under management unit.
|
|
58940
59311
|
* Only one limit object is allowed under management unit, so an attempt to create second object will fail.
|
|
@@ -59675,7 +60046,7 @@ class WorkforceManagementApi {
|
|
|
59675
60046
|
* </pre>
|
|
59676
60047
|
* </p>
|
|
59677
60048
|
* @module purecloud-platform-client-v2/index
|
|
59678
|
-
* @version
|
|
60049
|
+
* @version 153.0.0
|
|
59679
60050
|
*/
|
|
59680
60051
|
class platformClient {
|
|
59681
60052
|
constructor() {
|