purecloud-platform-client-v2 200.0.0 → 201.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 +1262 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +1262 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +410 -124
- package/dist/web-cjs/purecloud-platform-client-v2.js +526 -156
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +584 -21
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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 +1 -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/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.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/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +21 -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 +4 -4
- 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/LogCaptureApi.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/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +68 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SettingsApi.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/TaskManagementApi.js +36 -31
- 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 +4 -4
- 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 +1080 -26
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -405,7 +405,7 @@ class Configuration {
|
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* @module purecloud-platform-client-v2/ApiClient
|
|
408
|
-
* @version
|
|
408
|
+
* @version 201.0.0
|
|
409
409
|
*/
|
|
410
410
|
class ApiClient {
|
|
411
411
|
/**
|
|
@@ -1827,7 +1827,7 @@ class AgentUIApi {
|
|
|
1827
1827
|
/**
|
|
1828
1828
|
* AgentUI service.
|
|
1829
1829
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1830
|
-
* @version
|
|
1830
|
+
* @version 201.0.0
|
|
1831
1831
|
*/
|
|
1832
1832
|
|
|
1833
1833
|
/**
|
|
@@ -1958,7 +1958,7 @@ class AlertingApi {
|
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Alerting service.
|
|
1960
1960
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1961
|
-
* @version
|
|
1961
|
+
* @version 201.0.0
|
|
1962
1962
|
*/
|
|
1963
1963
|
|
|
1964
1964
|
/**
|
|
@@ -2619,7 +2619,7 @@ class AnalyticsApi {
|
|
|
2619
2619
|
/**
|
|
2620
2620
|
* Analytics service.
|
|
2621
2621
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2622
|
-
* @version
|
|
2622
|
+
* @version 201.0.0
|
|
2623
2623
|
*/
|
|
2624
2624
|
|
|
2625
2625
|
/**
|
|
@@ -4680,8 +4680,8 @@ class AnalyticsApi {
|
|
|
4680
4680
|
}
|
|
4681
4681
|
|
|
4682
4682
|
/**
|
|
4683
|
-
* Query for limits rate limit aggregates. Data populated when limits
|
|
4684
|
-
* The max property can be used to determine estimated rate limit value hit.
|
|
4683
|
+
* Query for limits rate limit aggregates. Data populated when limits reach 90% of the maximum. Not a source of truth for limits hit but a best effort estimate.
|
|
4684
|
+
* The max property can be used to determine estimated rate limit value hit. See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
4685
4685
|
* @param {Object} body query
|
|
4686
4686
|
*/
|
|
4687
4687
|
postAnalyticsRatelimitsAggregatesQuery(body) {
|
|
@@ -5231,7 +5231,7 @@ class ArchitectApi {
|
|
|
5231
5231
|
/**
|
|
5232
5232
|
* Architect service.
|
|
5233
5233
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5234
|
-
* @version
|
|
5234
|
+
* @version 201.0.0
|
|
5235
5235
|
*/
|
|
5236
5236
|
|
|
5237
5237
|
/**
|
|
@@ -9377,7 +9377,7 @@ class AuditApi {
|
|
|
9377
9377
|
/**
|
|
9378
9378
|
* Audit service.
|
|
9379
9379
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9380
|
-
* @version
|
|
9380
|
+
* @version 201.0.0
|
|
9381
9381
|
*/
|
|
9382
9382
|
|
|
9383
9383
|
/**
|
|
@@ -9578,7 +9578,7 @@ class AuthorizationApi {
|
|
|
9578
9578
|
/**
|
|
9579
9579
|
* Authorization service.
|
|
9580
9580
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9581
|
-
* @version
|
|
9581
|
+
* @version 201.0.0
|
|
9582
9582
|
*/
|
|
9583
9583
|
|
|
9584
9584
|
/**
|
|
@@ -10816,7 +10816,7 @@ class BillingApi {
|
|
|
10816
10816
|
/**
|
|
10817
10817
|
* Billing service.
|
|
10818
10818
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10819
|
-
* @version
|
|
10819
|
+
* @version 201.0.0
|
|
10820
10820
|
*/
|
|
10821
10821
|
|
|
10822
10822
|
/**
|
|
@@ -10896,7 +10896,7 @@ class CarrierServicesApi {
|
|
|
10896
10896
|
/**
|
|
10897
10897
|
* CarrierServices service.
|
|
10898
10898
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10899
|
-
* @version
|
|
10899
|
+
* @version 201.0.0
|
|
10900
10900
|
*/
|
|
10901
10901
|
|
|
10902
10902
|
/**
|
|
@@ -10966,7 +10966,7 @@ class ChatApi {
|
|
|
10966
10966
|
/**
|
|
10967
10967
|
* Chat service.
|
|
10968
10968
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10969
|
-
* @version
|
|
10969
|
+
* @version 201.0.0
|
|
10970
10970
|
*/
|
|
10971
10971
|
|
|
10972
10972
|
/**
|
|
@@ -11902,7 +11902,7 @@ class CoachingApi {
|
|
|
11902
11902
|
/**
|
|
11903
11903
|
* Coaching service.
|
|
11904
11904
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
11905
|
-
* @version
|
|
11905
|
+
* @version 201.0.0
|
|
11906
11906
|
*/
|
|
11907
11907
|
|
|
11908
11908
|
/**
|
|
@@ -12479,7 +12479,7 @@ class ContentManagementApi {
|
|
|
12479
12479
|
/**
|
|
12480
12480
|
* ContentManagement service.
|
|
12481
12481
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12482
|
-
* @version
|
|
12482
|
+
* @version 201.0.0
|
|
12483
12483
|
*/
|
|
12484
12484
|
|
|
12485
12485
|
/**
|
|
@@ -13561,7 +13561,7 @@ class ConversationsApi {
|
|
|
13561
13561
|
/**
|
|
13562
13562
|
* Conversations service.
|
|
13563
13563
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
13564
|
-
* @version
|
|
13564
|
+
* @version 201.0.0
|
|
13565
13565
|
*/
|
|
13566
13566
|
|
|
13567
13567
|
/**
|
|
@@ -20674,7 +20674,7 @@ class DataExtensionsApi {
|
|
|
20674
20674
|
/**
|
|
20675
20675
|
* DataExtensions service.
|
|
20676
20676
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20677
|
-
* @version
|
|
20677
|
+
* @version 201.0.0
|
|
20678
20678
|
*/
|
|
20679
20679
|
|
|
20680
20680
|
/**
|
|
@@ -20760,7 +20760,7 @@ class DownloadsApi {
|
|
|
20760
20760
|
/**
|
|
20761
20761
|
* Downloads service.
|
|
20762
20762
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
20763
|
-
* @version
|
|
20763
|
+
* @version 201.0.0
|
|
20764
20764
|
*/
|
|
20765
20765
|
|
|
20766
20766
|
/**
|
|
@@ -20812,7 +20812,7 @@ class EmailsApi {
|
|
|
20812
20812
|
/**
|
|
20813
20813
|
* Emails service.
|
|
20814
20814
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
20815
|
-
* @version
|
|
20815
|
+
* @version 201.0.0
|
|
20816
20816
|
*/
|
|
20817
20817
|
|
|
20818
20818
|
/**
|
|
@@ -20877,7 +20877,7 @@ class EmployeeEngagementApi {
|
|
|
20877
20877
|
/**
|
|
20878
20878
|
* EmployeeEngagement service.
|
|
20879
20879
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
20880
|
-
* @version
|
|
20880
|
+
* @version 201.0.0
|
|
20881
20881
|
*/
|
|
20882
20882
|
|
|
20883
20883
|
/**
|
|
@@ -21028,7 +21028,7 @@ class EventsApi {
|
|
|
21028
21028
|
/**
|
|
21029
21029
|
* Events service.
|
|
21030
21030
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21031
|
-
* @version
|
|
21031
|
+
* @version 201.0.0
|
|
21032
21032
|
*/
|
|
21033
21033
|
|
|
21034
21034
|
/**
|
|
@@ -21124,7 +21124,7 @@ class ExternalContactsApi {
|
|
|
21124
21124
|
/**
|
|
21125
21125
|
* ExternalContacts service.
|
|
21126
21126
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21127
|
-
* @version
|
|
21127
|
+
* @version 201.0.0
|
|
21128
21128
|
*/
|
|
21129
21129
|
|
|
21130
21130
|
/**
|
|
@@ -23086,7 +23086,7 @@ class FaxApi {
|
|
|
23086
23086
|
/**
|
|
23087
23087
|
* Fax service.
|
|
23088
23088
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23089
|
-
* @version
|
|
23089
|
+
* @version 201.0.0
|
|
23090
23090
|
*/
|
|
23091
23091
|
|
|
23092
23092
|
/**
|
|
@@ -23301,7 +23301,7 @@ class FlowsApi {
|
|
|
23301
23301
|
/**
|
|
23302
23302
|
* Flows service.
|
|
23303
23303
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23304
|
-
* @version
|
|
23304
|
+
* @version 201.0.0
|
|
23305
23305
|
*/
|
|
23306
23306
|
|
|
23307
23307
|
/**
|
|
@@ -23484,7 +23484,7 @@ class GamificationApi {
|
|
|
23484
23484
|
/**
|
|
23485
23485
|
* Gamification service.
|
|
23486
23486
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
23487
|
-
* @version
|
|
23487
|
+
* @version 201.0.0
|
|
23488
23488
|
*/
|
|
23489
23489
|
|
|
23490
23490
|
/**
|
|
@@ -25570,7 +25570,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
25570
25570
|
/**
|
|
25571
25571
|
* GeneralDataProtectionRegulation service.
|
|
25572
25572
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
25573
|
-
* @version
|
|
25573
|
+
* @version 201.0.0
|
|
25574
25574
|
*/
|
|
25575
25575
|
|
|
25576
25576
|
/**
|
|
@@ -25700,7 +25700,7 @@ class GeolocationApi {
|
|
|
25700
25700
|
/**
|
|
25701
25701
|
* Geolocation service.
|
|
25702
25702
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
25703
|
-
* @version
|
|
25703
|
+
* @version 201.0.0
|
|
25704
25704
|
*/
|
|
25705
25705
|
|
|
25706
25706
|
/**
|
|
@@ -25831,7 +25831,7 @@ class GreetingsApi {
|
|
|
25831
25831
|
/**
|
|
25832
25832
|
* Greetings service.
|
|
25833
25833
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
25834
|
-
* @version
|
|
25834
|
+
* @version 201.0.0
|
|
25835
25835
|
*/
|
|
25836
25836
|
|
|
25837
25837
|
/**
|
|
@@ -26286,7 +26286,7 @@ class GroupsApi {
|
|
|
26286
26286
|
/**
|
|
26287
26287
|
* Groups service.
|
|
26288
26288
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26289
|
-
* @version
|
|
26289
|
+
* @version 201.0.0
|
|
26290
26290
|
*/
|
|
26291
26291
|
|
|
26292
26292
|
/**
|
|
@@ -26805,7 +26805,7 @@ class IdentityProviderApi {
|
|
|
26805
26805
|
/**
|
|
26806
26806
|
* IdentityProvider service.
|
|
26807
26807
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
26808
|
-
* @version
|
|
26808
|
+
* @version 201.0.0
|
|
26809
26809
|
*/
|
|
26810
26810
|
|
|
26811
26811
|
/**
|
|
@@ -27666,7 +27666,7 @@ class InfrastructureAsCodeApi {
|
|
|
27666
27666
|
/**
|
|
27667
27667
|
* InfrastructureAsCode service.
|
|
27668
27668
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
27669
|
-
* @version
|
|
27669
|
+
* @version 201.0.0
|
|
27670
27670
|
*/
|
|
27671
27671
|
|
|
27672
27672
|
/**
|
|
@@ -27833,7 +27833,7 @@ class IntegrationsApi {
|
|
|
27833
27833
|
/**
|
|
27834
27834
|
* Integrations service.
|
|
27835
27835
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
27836
|
-
* @version
|
|
27836
|
+
* @version 201.0.0
|
|
27837
27837
|
*/
|
|
27838
27838
|
|
|
27839
27839
|
/**
|
|
@@ -28382,6 +28382,26 @@ class IntegrationsApi {
|
|
|
28382
28382
|
);
|
|
28383
28383
|
}
|
|
28384
28384
|
|
|
28385
|
+
/**
|
|
28386
|
+
* Retrieves basic info about trusted root CA certificates
|
|
28387
|
+
*
|
|
28388
|
+
*/
|
|
28389
|
+
getIntegrationsActionsCertificatesTruststore() {
|
|
28390
|
+
|
|
28391
|
+
return this.apiClient.callApi(
|
|
28392
|
+
'/api/v2/integrations/actions/certificates/truststore',
|
|
28393
|
+
'GET',
|
|
28394
|
+
{ },
|
|
28395
|
+
{ },
|
|
28396
|
+
{ },
|
|
28397
|
+
{ },
|
|
28398
|
+
null,
|
|
28399
|
+
['PureCloud OAuth'],
|
|
28400
|
+
['application/json'],
|
|
28401
|
+
['application/json']
|
|
28402
|
+
);
|
|
28403
|
+
}
|
|
28404
|
+
|
|
28385
28405
|
/**
|
|
28386
28406
|
* Retrieves all action drafts associated with the filters passed in via query param.
|
|
28387
28407
|
*
|
|
@@ -30185,7 +30205,7 @@ class JourneyApi {
|
|
|
30185
30205
|
/**
|
|
30186
30206
|
* Journey service.
|
|
30187
30207
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30188
|
-
* @version
|
|
30208
|
+
* @version 201.0.0
|
|
30189
30209
|
*/
|
|
30190
30210
|
|
|
30191
30211
|
/**
|
|
@@ -31838,7 +31858,7 @@ class KnowledgeApi {
|
|
|
31838
31858
|
/**
|
|
31839
31859
|
* Knowledge service.
|
|
31840
31860
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31841
|
-
* @version
|
|
31861
|
+
* @version 201.0.0
|
|
31842
31862
|
*/
|
|
31843
31863
|
|
|
31844
31864
|
/**
|
|
@@ -35082,7 +35102,7 @@ class LanguageUnderstandingApi {
|
|
|
35082
35102
|
/**
|
|
35083
35103
|
* LanguageUnderstanding service.
|
|
35084
35104
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35085
|
-
* @version
|
|
35105
|
+
* @version 201.0.0
|
|
35086
35106
|
*/
|
|
35087
35107
|
|
|
35088
35108
|
/**
|
|
@@ -36116,7 +36136,7 @@ class LanguagesApi {
|
|
|
36116
36136
|
/**
|
|
36117
36137
|
* Languages service.
|
|
36118
36138
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36119
|
-
* @version
|
|
36139
|
+
* @version 201.0.0
|
|
36120
36140
|
*/
|
|
36121
36141
|
|
|
36122
36142
|
/**
|
|
@@ -36338,7 +36358,7 @@ class LearningApi {
|
|
|
36338
36358
|
/**
|
|
36339
36359
|
* Learning service.
|
|
36340
36360
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
36341
|
-
* @version
|
|
36361
|
+
* @version 201.0.0
|
|
36342
36362
|
*/
|
|
36343
36363
|
|
|
36344
36364
|
/**
|
|
@@ -36484,7 +36504,7 @@ class LearningApi {
|
|
|
36484
36504
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
36485
36505
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
36486
36506
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
36487
|
-
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
36507
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
|
|
36488
36508
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
36489
36509
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
36490
36510
|
*/
|
|
@@ -36521,7 +36541,7 @@ class LearningApi {
|
|
|
36521
36541
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
36522
36542
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
36523
36543
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
36524
|
-
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
36544
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
|
|
36525
36545
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
36526
36546
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
36527
36547
|
*/
|
|
@@ -36691,7 +36711,7 @@ class LearningApi {
|
|
|
36691
36711
|
*
|
|
36692
36712
|
* @param {Object} opts Optional parameters
|
|
36693
36713
|
* @param {Boolean} opts.isArchived Archive status (default to false)
|
|
36694
|
-
* @param {Array.<String>} opts.types Specifies the module types.
|
|
36714
|
+
* @param {Array.<String>} opts.types Specifies the module types. Informational, AssessedContent and Assessment are deprecated
|
|
36695
36715
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
36696
36716
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
36697
36717
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
@@ -37367,7 +37387,7 @@ class LicenseApi {
|
|
|
37367
37387
|
/**
|
|
37368
37388
|
* License service.
|
|
37369
37389
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
37370
|
-
* @version
|
|
37390
|
+
* @version 201.0.0
|
|
37371
37391
|
*/
|
|
37372
37392
|
|
|
37373
37393
|
/**
|
|
@@ -37605,7 +37625,7 @@ class LocationsApi {
|
|
|
37605
37625
|
/**
|
|
37606
37626
|
* Locations service.
|
|
37607
37627
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
37608
|
-
* @version
|
|
37628
|
+
* @version 201.0.0
|
|
37609
37629
|
*/
|
|
37610
37630
|
|
|
37611
37631
|
/**
|
|
@@ -37841,7 +37861,7 @@ class LogCaptureApi {
|
|
|
37841
37861
|
/**
|
|
37842
37862
|
* LogCapture service.
|
|
37843
37863
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
37844
|
-
* @version
|
|
37864
|
+
* @version 201.0.0
|
|
37845
37865
|
*/
|
|
37846
37866
|
|
|
37847
37867
|
/**
|
|
@@ -38041,7 +38061,7 @@ class MessagingApi {
|
|
|
38041
38061
|
/**
|
|
38042
38062
|
* Messaging service.
|
|
38043
38063
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38044
|
-
* @version
|
|
38064
|
+
* @version 201.0.0
|
|
38045
38065
|
*/
|
|
38046
38066
|
|
|
38047
38067
|
/**
|
|
@@ -38400,7 +38420,7 @@ class MobileDevicesApi {
|
|
|
38400
38420
|
/**
|
|
38401
38421
|
* MobileDevices service.
|
|
38402
38422
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
38403
|
-
* @version
|
|
38423
|
+
* @version 201.0.0
|
|
38404
38424
|
*/
|
|
38405
38425
|
|
|
38406
38426
|
/**
|
|
@@ -38551,7 +38571,7 @@ class NotificationsApi {
|
|
|
38551
38571
|
/**
|
|
38552
38572
|
* Notifications service.
|
|
38553
38573
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
38554
|
-
* @version
|
|
38574
|
+
* @version 201.0.0
|
|
38555
38575
|
*/
|
|
38556
38576
|
|
|
38557
38577
|
/**
|
|
@@ -38784,7 +38804,7 @@ class OAuthApi {
|
|
|
38784
38804
|
/**
|
|
38785
38805
|
* OAuth service.
|
|
38786
38806
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
38787
|
-
* @version
|
|
38807
|
+
* @version 201.0.0
|
|
38788
38808
|
*/
|
|
38789
38809
|
|
|
38790
38810
|
/**
|
|
@@ -39150,7 +39170,7 @@ class ObjectsApi {
|
|
|
39150
39170
|
/**
|
|
39151
39171
|
* Objects service.
|
|
39152
39172
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39153
|
-
* @version
|
|
39173
|
+
* @version 201.0.0
|
|
39154
39174
|
*/
|
|
39155
39175
|
|
|
39156
39176
|
/**
|
|
@@ -39420,7 +39440,7 @@ class OperationalEventsApi {
|
|
|
39420
39440
|
/**
|
|
39421
39441
|
* OperationalEvents service.
|
|
39422
39442
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
39423
|
-
* @version
|
|
39443
|
+
* @version 201.0.0
|
|
39424
39444
|
*/
|
|
39425
39445
|
|
|
39426
39446
|
/**
|
|
@@ -39486,7 +39506,7 @@ class OrganizationApi {
|
|
|
39486
39506
|
/**
|
|
39487
39507
|
* Organization service.
|
|
39488
39508
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
39489
|
-
* @version
|
|
39509
|
+
* @version 201.0.0
|
|
39490
39510
|
*/
|
|
39491
39511
|
|
|
39492
39512
|
/**
|
|
@@ -39707,6 +39727,37 @@ class OrganizationApi {
|
|
|
39707
39727
|
);
|
|
39708
39728
|
}
|
|
39709
39729
|
|
|
39730
|
+
/**
|
|
39731
|
+
* Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
39732
|
+
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
39733
|
+
* @param {String} namespaceName The namespace to get
|
|
39734
|
+
* @param {Object} opts Optional parameters
|
|
39735
|
+
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
39736
|
+
* @param {String} opts.entityId entity id of the count
|
|
39737
|
+
* @param {String} opts.userId userid of the count
|
|
39738
|
+
*/
|
|
39739
|
+
getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
|
|
39740
|
+
opts = opts || {};
|
|
39741
|
+
|
|
39742
|
+
// verify the required parameter 'namespaceName' is set
|
|
39743
|
+
if (namespaceName === undefined || namespaceName === null) {
|
|
39744
|
+
throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';
|
|
39745
|
+
}
|
|
39746
|
+
|
|
39747
|
+
return this.apiClient.callApi(
|
|
39748
|
+
'/api/v2/organizations/limits/namespaces/{namespaceName}/counts',
|
|
39749
|
+
'GET',
|
|
39750
|
+
{ 'namespaceName': namespaceName },
|
|
39751
|
+
{ 'cursor': opts['cursor'],'entityId': opts['entityId'],'userId': opts['userId'] },
|
|
39752
|
+
{ },
|
|
39753
|
+
{ },
|
|
39754
|
+
null,
|
|
39755
|
+
['PureCloud OAuth'],
|
|
39756
|
+
['application/json'],
|
|
39757
|
+
['application/json']
|
|
39758
|
+
);
|
|
39759
|
+
}
|
|
39760
|
+
|
|
39710
39761
|
/**
|
|
39711
39762
|
* Get the default limits in a namespace for an organization
|
|
39712
39763
|
*
|
|
@@ -39732,6 +39783,42 @@ class OrganizationApi {
|
|
|
39732
39783
|
);
|
|
39733
39784
|
}
|
|
39734
39785
|
|
|
39786
|
+
/**
|
|
39787
|
+
* Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
39788
|
+
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
39789
|
+
* @param {String} namespaceName The namespace to get
|
|
39790
|
+
* @param {String} limitName The limit to get
|
|
39791
|
+
* @param {Object} opts Optional parameters
|
|
39792
|
+
* @param {String} opts.entityId entity id of the count
|
|
39793
|
+
* @param {String} opts.userId userid of the count
|
|
39794
|
+
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
39795
|
+
*/
|
|
39796
|
+
getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
|
|
39797
|
+
opts = opts || {};
|
|
39798
|
+
|
|
39799
|
+
// verify the required parameter 'namespaceName' is set
|
|
39800
|
+
if (namespaceName === undefined || namespaceName === null) {
|
|
39801
|
+
throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';
|
|
39802
|
+
}
|
|
39803
|
+
// verify the required parameter 'limitName' is set
|
|
39804
|
+
if (limitName === undefined || limitName === null) {
|
|
39805
|
+
throw 'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';
|
|
39806
|
+
}
|
|
39807
|
+
|
|
39808
|
+
return this.apiClient.callApi(
|
|
39809
|
+
'/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts',
|
|
39810
|
+
'GET',
|
|
39811
|
+
{ 'namespaceName': namespaceName,'limitName': limitName },
|
|
39812
|
+
{ 'entityId': opts['entityId'],'userId': opts['userId'],'cursor': opts['cursor'] },
|
|
39813
|
+
{ },
|
|
39814
|
+
{ },
|
|
39815
|
+
null,
|
|
39816
|
+
['PureCloud OAuth'],
|
|
39817
|
+
['application/json'],
|
|
39818
|
+
['application/json']
|
|
39819
|
+
);
|
|
39820
|
+
}
|
|
39821
|
+
|
|
39735
39822
|
/**
|
|
39736
39823
|
* Get the available limit namespaces
|
|
39737
39824
|
*
|
|
@@ -39961,7 +40048,7 @@ class OrganizationAuthorizationApi {
|
|
|
39961
40048
|
/**
|
|
39962
40049
|
* OrganizationAuthorization service.
|
|
39963
40050
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
39964
|
-
* @version
|
|
40051
|
+
* @version 201.0.0
|
|
39965
40052
|
*/
|
|
39966
40053
|
|
|
39967
40054
|
/**
|
|
@@ -41308,7 +41395,7 @@ class OutboundApi {
|
|
|
41308
41395
|
/**
|
|
41309
41396
|
* Outbound service.
|
|
41310
41397
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
41311
|
-
* @version
|
|
41398
|
+
* @version 201.0.0
|
|
41312
41399
|
*/
|
|
41313
41400
|
|
|
41314
41401
|
/**
|
|
@@ -45670,7 +45757,7 @@ class PresenceApi {
|
|
|
45670
45757
|
/**
|
|
45671
45758
|
* Presence service.
|
|
45672
45759
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
45673
|
-
* @version
|
|
45760
|
+
* @version 201.0.0
|
|
45674
45761
|
*/
|
|
45675
45762
|
|
|
45676
45763
|
/**
|
|
@@ -46414,7 +46501,7 @@ class ProcessAutomationApi {
|
|
|
46414
46501
|
/**
|
|
46415
46502
|
* ProcessAutomation service.
|
|
46416
46503
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
46417
|
-
* @version
|
|
46504
|
+
* @version 201.0.0
|
|
46418
46505
|
*/
|
|
46419
46506
|
|
|
46420
46507
|
/**
|
|
@@ -46653,7 +46740,7 @@ class QualityApi {
|
|
|
46653
46740
|
/**
|
|
46654
46741
|
* Quality service.
|
|
46655
46742
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
46656
|
-
* @version
|
|
46743
|
+
* @version 201.0.0
|
|
46657
46744
|
*/
|
|
46658
46745
|
|
|
46659
46746
|
/**
|
|
@@ -48439,7 +48526,7 @@ class RecordingApi {
|
|
|
48439
48526
|
/**
|
|
48440
48527
|
* Recording service.
|
|
48441
48528
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
48442
|
-
* @version
|
|
48529
|
+
* @version 201.0.0
|
|
48443
48530
|
*/
|
|
48444
48531
|
|
|
48445
48532
|
/**
|
|
@@ -50098,7 +50185,7 @@ class ResponseManagementApi {
|
|
|
50098
50185
|
/**
|
|
50099
50186
|
* ResponseManagement service.
|
|
50100
50187
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
50101
|
-
* @version
|
|
50188
|
+
* @version 201.0.0
|
|
50102
50189
|
*/
|
|
50103
50190
|
|
|
50104
50191
|
/**
|
|
@@ -50608,7 +50695,7 @@ class RoutingApi {
|
|
|
50608
50695
|
/**
|
|
50609
50696
|
* Routing service.
|
|
50610
50697
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
50611
|
-
* @version
|
|
50698
|
+
* @version 201.0.0
|
|
50612
50699
|
*/
|
|
50613
50700
|
|
|
50614
50701
|
/**
|
|
@@ -54727,7 +54814,7 @@ class SCIMApi {
|
|
|
54727
54814
|
/**
|
|
54728
54815
|
* SCIM service.
|
|
54729
54816
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
54730
|
-
* @version
|
|
54817
|
+
* @version 201.0.0
|
|
54731
54818
|
*/
|
|
54732
54819
|
|
|
54733
54820
|
/**
|
|
@@ -55604,7 +55691,7 @@ class ScreenRecordingApi {
|
|
|
55604
55691
|
/**
|
|
55605
55692
|
* ScreenRecording service.
|
|
55606
55693
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
55607
|
-
* @version
|
|
55694
|
+
* @version 201.0.0
|
|
55608
55695
|
*/
|
|
55609
55696
|
|
|
55610
55697
|
/**
|
|
@@ -55649,7 +55736,7 @@ class ScriptsApi {
|
|
|
55649
55736
|
/**
|
|
55650
55737
|
* Scripts service.
|
|
55651
55738
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
55652
|
-
* @version
|
|
55739
|
+
* @version 201.0.0
|
|
55653
55740
|
*/
|
|
55654
55741
|
|
|
55655
55742
|
/**
|
|
@@ -56093,7 +56180,7 @@ class SearchApi {
|
|
|
56093
56180
|
/**
|
|
56094
56181
|
* Search service.
|
|
56095
56182
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
56096
|
-
* @version
|
|
56183
|
+
* @version 201.0.0
|
|
56097
56184
|
*/
|
|
56098
56185
|
|
|
56099
56186
|
/**
|
|
@@ -56782,7 +56869,7 @@ class SettingsApi {
|
|
|
56782
56869
|
/**
|
|
56783
56870
|
* Settings service.
|
|
56784
56871
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
56785
|
-
* @version
|
|
56872
|
+
* @version 201.0.0
|
|
56786
56873
|
*/
|
|
56787
56874
|
|
|
56788
56875
|
/**
|
|
@@ -57004,7 +57091,7 @@ class SpeechTextAnalyticsApi {
|
|
|
57004
57091
|
/**
|
|
57005
57092
|
* SpeechTextAnalytics service.
|
|
57006
57093
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57007
|
-
* @version
|
|
57094
|
+
* @version 201.0.0
|
|
57008
57095
|
*/
|
|
57009
57096
|
|
|
57010
57097
|
/**
|
|
@@ -58282,7 +58369,7 @@ class StationsApi {
|
|
|
58282
58369
|
/**
|
|
58283
58370
|
* Stations service.
|
|
58284
58371
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
58285
|
-
* @version
|
|
58372
|
+
* @version 201.0.0
|
|
58286
58373
|
*/
|
|
58287
58374
|
|
|
58288
58375
|
/**
|
|
@@ -58384,7 +58471,7 @@ class SuggestApi {
|
|
|
58384
58471
|
/**
|
|
58385
58472
|
* Suggest service.
|
|
58386
58473
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
58387
|
-
* @version
|
|
58474
|
+
* @version 201.0.0
|
|
58388
58475
|
*/
|
|
58389
58476
|
|
|
58390
58477
|
/**
|
|
@@ -58523,7 +58610,7 @@ class TaskManagementApi {
|
|
|
58523
58610
|
/**
|
|
58524
58611
|
* TaskManagement service.
|
|
58525
58612
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
58526
|
-
* @version
|
|
58613
|
+
* @version 201.0.0
|
|
58527
58614
|
*/
|
|
58528
58615
|
|
|
58529
58616
|
/**
|
|
@@ -59470,16 +59557,17 @@ class TaskManagementApi {
|
|
|
59470
59557
|
* Update the attributes of a worktype
|
|
59471
59558
|
*
|
|
59472
59559
|
* @param {String} worktypeId Worktype id
|
|
59473
|
-
* @param {Object}
|
|
59474
|
-
* @param {Object} opts.body body
|
|
59560
|
+
* @param {Object} body Worktype
|
|
59475
59561
|
*/
|
|
59476
|
-
patchTaskmanagementWorktype(worktypeId,
|
|
59477
|
-
opts = opts || {};
|
|
59478
|
-
|
|
59562
|
+
patchTaskmanagementWorktype(worktypeId, body) {
|
|
59479
59563
|
// verify the required parameter 'worktypeId' is set
|
|
59480
59564
|
if (worktypeId === undefined || worktypeId === null) {
|
|
59481
59565
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';
|
|
59482
59566
|
}
|
|
59567
|
+
// verify the required parameter 'body' is set
|
|
59568
|
+
if (body === undefined || body === null) {
|
|
59569
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktype';
|
|
59570
|
+
}
|
|
59483
59571
|
|
|
59484
59572
|
return this.apiClient.callApi(
|
|
59485
59573
|
'/api/v2/taskmanagement/worktypes/{worktypeId}',
|
|
@@ -59488,7 +59576,7 @@ class TaskManagementApi {
|
|
|
59488
59576
|
{ },
|
|
59489
59577
|
{ },
|
|
59490
59578
|
{ },
|
|
59491
|
-
|
|
59579
|
+
body,
|
|
59492
59580
|
['PureCloud OAuth'],
|
|
59493
59581
|
['application/json'],
|
|
59494
59582
|
['application/json']
|
|
@@ -59500,12 +59588,9 @@ class TaskManagementApi {
|
|
|
59500
59588
|
*
|
|
59501
59589
|
* @param {String} worktypeId Worktype id
|
|
59502
59590
|
* @param {String} statusId Status id
|
|
59503
|
-
* @param {Object}
|
|
59504
|
-
* @param {Object} opts.body body
|
|
59591
|
+
* @param {Object} body Status
|
|
59505
59592
|
*/
|
|
59506
|
-
patchTaskmanagementWorktypeStatus(worktypeId, statusId,
|
|
59507
|
-
opts = opts || {};
|
|
59508
|
-
|
|
59593
|
+
patchTaskmanagementWorktypeStatus(worktypeId, statusId, body) {
|
|
59509
59594
|
// verify the required parameter 'worktypeId' is set
|
|
59510
59595
|
if (worktypeId === undefined || worktypeId === null) {
|
|
59511
59596
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';
|
|
@@ -59514,6 +59599,10 @@ class TaskManagementApi {
|
|
|
59514
59599
|
if (statusId === undefined || statusId === null) {
|
|
59515
59600
|
throw 'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';
|
|
59516
59601
|
}
|
|
59602
|
+
// verify the required parameter 'body' is set
|
|
59603
|
+
if (body === undefined || body === null) {
|
|
59604
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeStatus';
|
|
59605
|
+
}
|
|
59517
59606
|
|
|
59518
59607
|
return this.apiClient.callApi(
|
|
59519
59608
|
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}',
|
|
@@ -59522,7 +59611,7 @@ class TaskManagementApi {
|
|
|
59522
59611
|
{ },
|
|
59523
59612
|
{ },
|
|
59524
59613
|
{ },
|
|
59525
|
-
|
|
59614
|
+
body,
|
|
59526
59615
|
['PureCloud OAuth'],
|
|
59527
59616
|
['application/json'],
|
|
59528
59617
|
['application/json']
|
|
@@ -59532,12 +59621,13 @@ class TaskManagementApi {
|
|
|
59532
59621
|
/**
|
|
59533
59622
|
* Create a workbin
|
|
59534
59623
|
*
|
|
59535
|
-
* @param {Object}
|
|
59536
|
-
* @param {Object} opts.body body
|
|
59624
|
+
* @param {Object} body Workbin
|
|
59537
59625
|
*/
|
|
59538
|
-
postTaskmanagementWorkbins(
|
|
59539
|
-
|
|
59540
|
-
|
|
59626
|
+
postTaskmanagementWorkbins(body) {
|
|
59627
|
+
// verify the required parameter 'body' is set
|
|
59628
|
+
if (body === undefined || body === null) {
|
|
59629
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkbins';
|
|
59630
|
+
}
|
|
59541
59631
|
|
|
59542
59632
|
return this.apiClient.callApi(
|
|
59543
59633
|
'/api/v2/taskmanagement/workbins',
|
|
@@ -59546,7 +59636,7 @@ class TaskManagementApi {
|
|
|
59546
59636
|
{ },
|
|
59547
59637
|
{ },
|
|
59548
59638
|
{ },
|
|
59549
|
-
|
|
59639
|
+
body,
|
|
59550
59640
|
['PureCloud OAuth'],
|
|
59551
59641
|
['application/json'],
|
|
59552
59642
|
['application/json']
|
|
@@ -59762,16 +59852,17 @@ class TaskManagementApi {
|
|
|
59762
59852
|
* Add a status to a worktype
|
|
59763
59853
|
*
|
|
59764
59854
|
* @param {String} worktypeId Worktype id
|
|
59765
|
-
* @param {Object}
|
|
59766
|
-
* @param {Object} opts.body body
|
|
59855
|
+
* @param {Object} body Status
|
|
59767
59856
|
*/
|
|
59768
|
-
postTaskmanagementWorktypeStatuses(worktypeId,
|
|
59769
|
-
opts = opts || {};
|
|
59770
|
-
|
|
59857
|
+
postTaskmanagementWorktypeStatuses(worktypeId, body) {
|
|
59771
59858
|
// verify the required parameter 'worktypeId' is set
|
|
59772
59859
|
if (worktypeId === undefined || worktypeId === null) {
|
|
59773
59860
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';
|
|
59774
59861
|
}
|
|
59862
|
+
// verify the required parameter 'body' is set
|
|
59863
|
+
if (body === undefined || body === null) {
|
|
59864
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeStatuses';
|
|
59865
|
+
}
|
|
59775
59866
|
|
|
59776
59867
|
return this.apiClient.callApi(
|
|
59777
59868
|
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
|
|
@@ -59780,7 +59871,7 @@ class TaskManagementApi {
|
|
|
59780
59871
|
{ },
|
|
59781
59872
|
{ },
|
|
59782
59873
|
{ },
|
|
59783
|
-
|
|
59874
|
+
body,
|
|
59784
59875
|
['PureCloud OAuth'],
|
|
59785
59876
|
['application/json'],
|
|
59786
59877
|
['application/json']
|
|
@@ -59790,12 +59881,13 @@ class TaskManagementApi {
|
|
|
59790
59881
|
/**
|
|
59791
59882
|
* Create a worktype
|
|
59792
59883
|
*
|
|
59793
|
-
* @param {Object}
|
|
59794
|
-
* @param {Object} opts.body body
|
|
59884
|
+
* @param {Object} body Worktype
|
|
59795
59885
|
*/
|
|
59796
|
-
postTaskmanagementWorktypes(
|
|
59797
|
-
|
|
59798
|
-
|
|
59886
|
+
postTaskmanagementWorktypes(body) {
|
|
59887
|
+
// verify the required parameter 'body' is set
|
|
59888
|
+
if (body === undefined || body === null) {
|
|
59889
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypes';
|
|
59890
|
+
}
|
|
59799
59891
|
|
|
59800
59892
|
return this.apiClient.callApi(
|
|
59801
59893
|
'/api/v2/taskmanagement/worktypes',
|
|
@@ -59804,7 +59896,7 @@ class TaskManagementApi {
|
|
|
59804
59896
|
{ },
|
|
59805
59897
|
{ },
|
|
59806
59898
|
{ },
|
|
59807
|
-
|
|
59899
|
+
body,
|
|
59808
59900
|
['PureCloud OAuth'],
|
|
59809
59901
|
['application/json'],
|
|
59810
59902
|
['application/json']
|
|
@@ -59872,7 +59964,7 @@ class TeamsApi {
|
|
|
59872
59964
|
/**
|
|
59873
59965
|
* Teams service.
|
|
59874
59966
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
59875
|
-
* @version
|
|
59967
|
+
* @version 201.0.0
|
|
59876
59968
|
*/
|
|
59877
59969
|
|
|
59878
59970
|
/**
|
|
@@ -60173,7 +60265,7 @@ class TelephonyApi {
|
|
|
60173
60265
|
/**
|
|
60174
60266
|
* Telephony service.
|
|
60175
60267
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
60176
|
-
* @version
|
|
60268
|
+
* @version 201.0.0
|
|
60177
60269
|
*/
|
|
60178
60270
|
|
|
60179
60271
|
/**
|
|
@@ -60355,7 +60447,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
60355
60447
|
/**
|
|
60356
60448
|
* TelephonyProvidersEdge service.
|
|
60357
60449
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
60358
|
-
* @version
|
|
60450
|
+
* @version 201.0.0
|
|
60359
60451
|
*/
|
|
60360
60452
|
|
|
60361
60453
|
/**
|
|
@@ -63683,7 +63775,7 @@ class TextbotsApi {
|
|
|
63683
63775
|
/**
|
|
63684
63776
|
* Textbots service.
|
|
63685
63777
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
63686
|
-
* @version
|
|
63778
|
+
* @version 201.0.0
|
|
63687
63779
|
*/
|
|
63688
63780
|
|
|
63689
63781
|
/**
|
|
@@ -63811,7 +63903,7 @@ class TokensApi {
|
|
|
63811
63903
|
/**
|
|
63812
63904
|
* Tokens service.
|
|
63813
63905
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
63814
|
-
* @version
|
|
63906
|
+
* @version 201.0.0
|
|
63815
63907
|
*/
|
|
63816
63908
|
|
|
63817
63909
|
/**
|
|
@@ -63965,7 +64057,7 @@ class UploadsApi {
|
|
|
63965
64057
|
/**
|
|
63966
64058
|
* Uploads service.
|
|
63967
64059
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
63968
|
-
* @version
|
|
64060
|
+
* @version 201.0.0
|
|
63969
64061
|
*/
|
|
63970
64062
|
|
|
63971
64063
|
/**
|
|
@@ -64234,7 +64326,7 @@ class UsageApi {
|
|
|
64234
64326
|
/**
|
|
64235
64327
|
* Usage service.
|
|
64236
64328
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
64237
|
-
* @version
|
|
64329
|
+
* @version 201.0.0
|
|
64238
64330
|
*/
|
|
64239
64331
|
|
|
64240
64332
|
/**
|
|
@@ -64449,7 +64541,7 @@ class UserRecordingsApi {
|
|
|
64449
64541
|
/**
|
|
64450
64542
|
* UserRecordings service.
|
|
64451
64543
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
64452
|
-
* @version
|
|
64544
|
+
* @version 201.0.0
|
|
64453
64545
|
*/
|
|
64454
64546
|
|
|
64455
64547
|
/**
|
|
@@ -64634,7 +64726,7 @@ class UsersApi {
|
|
|
64634
64726
|
/**
|
|
64635
64727
|
* Users service.
|
|
64636
64728
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
64637
|
-
* @version
|
|
64729
|
+
* @version 201.0.0
|
|
64638
64730
|
*/
|
|
64639
64731
|
|
|
64640
64732
|
/**
|
|
@@ -65962,7 +66054,7 @@ class UsersApi {
|
|
|
65962
66054
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
65963
66055
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
65964
66056
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
65965
|
-
* @param {Array.<String>} opts.types Specifies the activity types.
|
|
66057
|
+
* @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
|
|
65966
66058
|
* @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
|
|
65967
66059
|
* @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
|
|
65968
66060
|
*/
|
|
@@ -65996,7 +66088,7 @@ class UsersApi {
|
|
|
65996
66088
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
65997
66089
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
65998
66090
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
65999
|
-
* @param {Array.<String>} opts.types Specifies the activity types.
|
|
66091
|
+
* @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
|
|
66000
66092
|
* @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
|
|
66001
66093
|
* @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
|
|
66002
66094
|
*/
|
|
@@ -66022,7 +66114,7 @@ class UsersApi {
|
|
|
66022
66114
|
* Get a Development Activity
|
|
66023
66115
|
* Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
|
|
66024
66116
|
* @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
|
|
66025
|
-
* @param {Object} type Specifies the activity type.
|
|
66117
|
+
* @param {Object} type Specifies the activity type. Informational, AssessedContent and Assessment are deprecated
|
|
66026
66118
|
*/
|
|
66027
66119
|
getUsersDevelopmentActivity(activityId, type) {
|
|
66028
66120
|
// verify the required parameter 'activityId' is set
|
|
@@ -67437,7 +67529,7 @@ class UtilitiesApi {
|
|
|
67437
67529
|
/**
|
|
67438
67530
|
* Utilities service.
|
|
67439
67531
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
67440
|
-
* @version
|
|
67532
|
+
* @version 201.0.0
|
|
67441
67533
|
*/
|
|
67442
67534
|
|
|
67443
67535
|
/**
|
|
@@ -67548,7 +67640,7 @@ class VoicemailApi {
|
|
|
67548
67640
|
/**
|
|
67549
67641
|
* Voicemail service.
|
|
67550
67642
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
67551
|
-
* @version
|
|
67643
|
+
* @version 201.0.0
|
|
67552
67644
|
*/
|
|
67553
67645
|
|
|
67554
67646
|
/**
|
|
@@ -68215,7 +68307,7 @@ class WebChatApi {
|
|
|
68215
68307
|
/**
|
|
68216
68308
|
* WebChat service.
|
|
68217
68309
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
68218
|
-
* @version
|
|
68310
|
+
* @version 201.0.0
|
|
68219
68311
|
*/
|
|
68220
68312
|
|
|
68221
68313
|
/**
|
|
@@ -68766,7 +68858,7 @@ class WebDeploymentsApi {
|
|
|
68766
68858
|
/**
|
|
68767
68859
|
* WebDeployments service.
|
|
68768
68860
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
68769
|
-
* @version
|
|
68861
|
+
* @version 201.0.0
|
|
68770
68862
|
*/
|
|
68771
68863
|
|
|
68772
68864
|
/**
|
|
@@ -69293,7 +69385,7 @@ class WebMessagingApi {
|
|
|
69293
69385
|
/**
|
|
69294
69386
|
* WebMessaging service.
|
|
69295
69387
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
69296
|
-
* @version
|
|
69388
|
+
* @version 201.0.0
|
|
69297
69389
|
*/
|
|
69298
69390
|
|
|
69299
69391
|
/**
|
|
@@ -69339,7 +69431,7 @@ class WidgetsApi {
|
|
|
69339
69431
|
/**
|
|
69340
69432
|
* Widgets service.
|
|
69341
69433
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
69342
|
-
* @version
|
|
69434
|
+
* @version 201.0.0
|
|
69343
69435
|
*/
|
|
69344
69436
|
|
|
69345
69437
|
/**
|
|
@@ -69485,7 +69577,7 @@ class WorkforceManagementApi {
|
|
|
69485
69577
|
/**
|
|
69486
69578
|
* WorkforceManagement service.
|
|
69487
69579
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
69488
|
-
* @version
|
|
69580
|
+
* @version 201.0.0
|
|
69489
69581
|
*/
|
|
69490
69582
|
|
|
69491
69583
|
/**
|
|
@@ -69805,6 +69897,71 @@ class WorkforceManagementApi {
|
|
|
69805
69897
|
);
|
|
69806
69898
|
}
|
|
69807
69899
|
|
|
69900
|
+
/**
|
|
69901
|
+
* Delete a work plan bid
|
|
69902
|
+
*
|
|
69903
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
69904
|
+
* @param {String} bidId The ID of the work plan bid
|
|
69905
|
+
*/
|
|
69906
|
+
deleteWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
|
|
69907
|
+
// verify the required parameter 'businessUnitId' is set
|
|
69908
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
69909
|
+
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
|
|
69910
|
+
}
|
|
69911
|
+
// verify the required parameter 'bidId' is set
|
|
69912
|
+
if (bidId === undefined || bidId === null) {
|
|
69913
|
+
throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
|
|
69914
|
+
}
|
|
69915
|
+
|
|
69916
|
+
return this.apiClient.callApi(
|
|
69917
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
|
|
69918
|
+
'DELETE',
|
|
69919
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
69920
|
+
{ },
|
|
69921
|
+
{ },
|
|
69922
|
+
{ },
|
|
69923
|
+
null,
|
|
69924
|
+
['PureCloud OAuth'],
|
|
69925
|
+
['application/json'],
|
|
69926
|
+
['application/json']
|
|
69927
|
+
);
|
|
69928
|
+
}
|
|
69929
|
+
|
|
69930
|
+
/**
|
|
69931
|
+
* Delete a bid group by bid group Id
|
|
69932
|
+
*
|
|
69933
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
69934
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
69935
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
69936
|
+
*/
|
|
69937
|
+
deleteWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
|
|
69938
|
+
// verify the required parameter 'businessUnitId' is set
|
|
69939
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
69940
|
+
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
69941
|
+
}
|
|
69942
|
+
// verify the required parameter 'bidId' is set
|
|
69943
|
+
if (bidId === undefined || bidId === null) {
|
|
69944
|
+
throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
69945
|
+
}
|
|
69946
|
+
// verify the required parameter 'bidGroupId' is set
|
|
69947
|
+
if (bidGroupId === undefined || bidGroupId === null) {
|
|
69948
|
+
throw 'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
69949
|
+
}
|
|
69950
|
+
|
|
69951
|
+
return this.apiClient.callApi(
|
|
69952
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
|
|
69953
|
+
'DELETE',
|
|
69954
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
|
|
69955
|
+
{ },
|
|
69956
|
+
{ },
|
|
69957
|
+
{ },
|
|
69958
|
+
null,
|
|
69959
|
+
['PureCloud OAuth'],
|
|
69960
|
+
['application/json'],
|
|
69961
|
+
['application/json']
|
|
69962
|
+
);
|
|
69963
|
+
}
|
|
69964
|
+
|
|
69808
69965
|
/**
|
|
69809
69966
|
* Disable generated calendar link for the current user
|
|
69810
69967
|
*
|
|
@@ -70170,6 +70327,175 @@ class WorkforceManagementApi {
|
|
|
70170
70327
|
);
|
|
70171
70328
|
}
|
|
70172
70329
|
|
|
70330
|
+
/**
|
|
70331
|
+
* Query the status of an alternative shift offers operation. Only the user who started the operation can query the status
|
|
70332
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
70333
|
+
* @param {String} jobId The ID of the job
|
|
70334
|
+
*/
|
|
70335
|
+
getWorkforcemanagementAlternativeshiftsOffersJob(jobId) {
|
|
70336
|
+
// verify the required parameter 'jobId' is set
|
|
70337
|
+
if (jobId === undefined || jobId === null) {
|
|
70338
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';
|
|
70339
|
+
}
|
|
70340
|
+
|
|
70341
|
+
return this.apiClient.callApi(
|
|
70342
|
+
'/api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId}',
|
|
70343
|
+
'GET',
|
|
70344
|
+
{ 'jobId': jobId },
|
|
70345
|
+
{ },
|
|
70346
|
+
{ },
|
|
70347
|
+
{ },
|
|
70348
|
+
null,
|
|
70349
|
+
['PureCloud OAuth'],
|
|
70350
|
+
['application/json'],
|
|
70351
|
+
['application/json']
|
|
70352
|
+
);
|
|
70353
|
+
}
|
|
70354
|
+
|
|
70355
|
+
/**
|
|
70356
|
+
* Query the status of an alternative shift search offers operation. Only the user who started the operation can query the status
|
|
70357
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
70358
|
+
* @param {String} jobId The ID of the job
|
|
70359
|
+
*/
|
|
70360
|
+
getWorkforcemanagementAlternativeshiftsOffersSearchJob(jobId) {
|
|
70361
|
+
// verify the required parameter 'jobId' is set
|
|
70362
|
+
if (jobId === undefined || jobId === null) {
|
|
70363
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';
|
|
70364
|
+
}
|
|
70365
|
+
|
|
70366
|
+
return this.apiClient.callApi(
|
|
70367
|
+
'/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId}',
|
|
70368
|
+
'GET',
|
|
70369
|
+
{ 'jobId': jobId },
|
|
70370
|
+
{ },
|
|
70371
|
+
{ },
|
|
70372
|
+
{ },
|
|
70373
|
+
null,
|
|
70374
|
+
['PureCloud OAuth'],
|
|
70375
|
+
['application/json'],
|
|
70376
|
+
['application/json']
|
|
70377
|
+
);
|
|
70378
|
+
}
|
|
70379
|
+
|
|
70380
|
+
/**
|
|
70381
|
+
* Get alternative shifts settings from the current logged in agent’s business unit
|
|
70382
|
+
*
|
|
70383
|
+
*/
|
|
70384
|
+
getWorkforcemanagementAlternativeshiftsSettings() {
|
|
70385
|
+
|
|
70386
|
+
return this.apiClient.callApi(
|
|
70387
|
+
'/api/v2/workforcemanagement/alternativeshifts/settings',
|
|
70388
|
+
'GET',
|
|
70389
|
+
{ },
|
|
70390
|
+
{ },
|
|
70391
|
+
{ },
|
|
70392
|
+
{ },
|
|
70393
|
+
null,
|
|
70394
|
+
['PureCloud OAuth'],
|
|
70395
|
+
['application/json'],
|
|
70396
|
+
['application/json']
|
|
70397
|
+
);
|
|
70398
|
+
}
|
|
70399
|
+
|
|
70400
|
+
/**
|
|
70401
|
+
* Get my alternative shift trade by trade ID
|
|
70402
|
+
*
|
|
70403
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
70404
|
+
*/
|
|
70405
|
+
getWorkforcemanagementAlternativeshiftsTrade(tradeId) {
|
|
70406
|
+
// verify the required parameter 'tradeId' is set
|
|
70407
|
+
if (tradeId === undefined || tradeId === null) {
|
|
70408
|
+
throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';
|
|
70409
|
+
}
|
|
70410
|
+
|
|
70411
|
+
return this.apiClient.callApi(
|
|
70412
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
|
|
70413
|
+
'GET',
|
|
70414
|
+
{ 'tradeId': tradeId },
|
|
70415
|
+
{ },
|
|
70416
|
+
{ },
|
|
70417
|
+
{ },
|
|
70418
|
+
null,
|
|
70419
|
+
['PureCloud OAuth'],
|
|
70420
|
+
['application/json'],
|
|
70421
|
+
['application/json']
|
|
70422
|
+
);
|
|
70423
|
+
}
|
|
70424
|
+
|
|
70425
|
+
/**
|
|
70426
|
+
* Get a list of my alternative shifts trades
|
|
70427
|
+
*
|
|
70428
|
+
* @param {Object} opts Optional parameters
|
|
70429
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
70430
|
+
*/
|
|
70431
|
+
getWorkforcemanagementAlternativeshiftsTrades(opts) {
|
|
70432
|
+
opts = opts || {};
|
|
70433
|
+
|
|
70434
|
+
|
|
70435
|
+
return this.apiClient.callApi(
|
|
70436
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades',
|
|
70437
|
+
'GET',
|
|
70438
|
+
{ },
|
|
70439
|
+
{ 'forceAsync': opts['forceAsync'] },
|
|
70440
|
+
{ },
|
|
70441
|
+
{ },
|
|
70442
|
+
null,
|
|
70443
|
+
['PureCloud OAuth'],
|
|
70444
|
+
['application/json'],
|
|
70445
|
+
['application/json']
|
|
70446
|
+
);
|
|
70447
|
+
}
|
|
70448
|
+
|
|
70449
|
+
/**
|
|
70450
|
+
* Query the status of an alternative shift trades operation. Only the user who started the operation can query the status
|
|
70451
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
70452
|
+
* @param {String} jobId The ID of the job
|
|
70453
|
+
*/
|
|
70454
|
+
getWorkforcemanagementAlternativeshiftsTradesJob(jobId) {
|
|
70455
|
+
// verify the required parameter 'jobId' is set
|
|
70456
|
+
if (jobId === undefined || jobId === null) {
|
|
70457
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';
|
|
70458
|
+
}
|
|
70459
|
+
|
|
70460
|
+
return this.apiClient.callApi(
|
|
70461
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades/jobs/{jobId}',
|
|
70462
|
+
'GET',
|
|
70463
|
+
{ 'jobId': jobId },
|
|
70464
|
+
{ },
|
|
70465
|
+
{ },
|
|
70466
|
+
{ },
|
|
70467
|
+
null,
|
|
70468
|
+
['PureCloud OAuth'],
|
|
70469
|
+
['application/json'],
|
|
70470
|
+
['application/json']
|
|
70471
|
+
);
|
|
70472
|
+
}
|
|
70473
|
+
|
|
70474
|
+
/**
|
|
70475
|
+
* Query the status of an alternative shift trade state operation. Only the user who started the operation can query the status
|
|
70476
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
70477
|
+
* @param {String} jobId The ID of the job
|
|
70478
|
+
*/
|
|
70479
|
+
getWorkforcemanagementAlternativeshiftsTradesStateJob(jobId) {
|
|
70480
|
+
// verify the required parameter 'jobId' is set
|
|
70481
|
+
if (jobId === undefined || jobId === null) {
|
|
70482
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';
|
|
70483
|
+
}
|
|
70484
|
+
|
|
70485
|
+
return this.apiClient.callApi(
|
|
70486
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId}',
|
|
70487
|
+
'GET',
|
|
70488
|
+
{ 'jobId': jobId },
|
|
70489
|
+
{ },
|
|
70490
|
+
{ },
|
|
70491
|
+
{ },
|
|
70492
|
+
null,
|
|
70493
|
+
['PureCloud OAuth'],
|
|
70494
|
+
['application/json'],
|
|
70495
|
+
['application/json']
|
|
70496
|
+
);
|
|
70497
|
+
}
|
|
70498
|
+
|
|
70173
70499
|
/**
|
|
70174
70500
|
* Get business unit
|
|
70175
70501
|
* Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
|
|
@@ -70381,6 +70707,91 @@ class WorkforceManagementApi {
|
|
|
70381
70707
|
);
|
|
70382
70708
|
}
|
|
70383
70709
|
|
|
70710
|
+
/**
|
|
70711
|
+
* Get alternative shifts settings for a business unit
|
|
70712
|
+
*
|
|
70713
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
70714
|
+
*/
|
|
70715
|
+
getWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId) {
|
|
70716
|
+
// verify the required parameter 'businessUnitId' is set
|
|
70717
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
70718
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
70719
|
+
}
|
|
70720
|
+
|
|
70721
|
+
return this.apiClient.callApi(
|
|
70722
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
|
|
70723
|
+
'GET',
|
|
70724
|
+
{ 'businessUnitId': businessUnitId },
|
|
70725
|
+
{ },
|
|
70726
|
+
{ },
|
|
70727
|
+
{ },
|
|
70728
|
+
null,
|
|
70729
|
+
['PureCloud OAuth'],
|
|
70730
|
+
['application/json'],
|
|
70731
|
+
['application/json']
|
|
70732
|
+
);
|
|
70733
|
+
}
|
|
70734
|
+
|
|
70735
|
+
/**
|
|
70736
|
+
* Get an alternative shifts trade in a business unit for a given trade ID
|
|
70737
|
+
*
|
|
70738
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
70739
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
70740
|
+
*/
|
|
70741
|
+
getWorkforcemanagementBusinessunitAlternativeshiftsTrade(businessUnitId, tradeId) {
|
|
70742
|
+
// verify the required parameter 'businessUnitId' is set
|
|
70743
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
70744
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
|
|
70745
|
+
}
|
|
70746
|
+
// verify the required parameter 'tradeId' is set
|
|
70747
|
+
if (tradeId === undefined || tradeId === null) {
|
|
70748
|
+
throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
|
|
70749
|
+
}
|
|
70750
|
+
|
|
70751
|
+
return this.apiClient.callApi(
|
|
70752
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId}',
|
|
70753
|
+
'GET',
|
|
70754
|
+
{ 'businessUnitId': businessUnitId,'tradeId': tradeId },
|
|
70755
|
+
{ },
|
|
70756
|
+
{ },
|
|
70757
|
+
{ },
|
|
70758
|
+
null,
|
|
70759
|
+
['PureCloud OAuth'],
|
|
70760
|
+
['application/json'],
|
|
70761
|
+
['application/json']
|
|
70762
|
+
);
|
|
70763
|
+
}
|
|
70764
|
+
|
|
70765
|
+
/**
|
|
70766
|
+
* Query the status of an alternative shift search trade operation. Only the user who started the operation can query the status
|
|
70767
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
70768
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
70769
|
+
* @param {String} jobId The ID of the job
|
|
70770
|
+
*/
|
|
70771
|
+
getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(businessUnitId, jobId) {
|
|
70772
|
+
// verify the required parameter 'businessUnitId' is set
|
|
70773
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
70774
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
|
|
70775
|
+
}
|
|
70776
|
+
// verify the required parameter 'jobId' is set
|
|
70777
|
+
if (jobId === undefined || jobId === null) {
|
|
70778
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
|
|
70779
|
+
}
|
|
70780
|
+
|
|
70781
|
+
return this.apiClient.callApi(
|
|
70782
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId}',
|
|
70783
|
+
'GET',
|
|
70784
|
+
{ 'businessUnitId': businessUnitId,'jobId': jobId },
|
|
70785
|
+
{ },
|
|
70786
|
+
{ },
|
|
70787
|
+
{ },
|
|
70788
|
+
null,
|
|
70789
|
+
['PureCloud OAuth'],
|
|
70790
|
+
['application/json'],
|
|
70791
|
+
['application/json']
|
|
70792
|
+
);
|
|
70793
|
+
}
|
|
70794
|
+
|
|
70384
70795
|
/**
|
|
70385
70796
|
* Get intraday planning groups for the given date
|
|
70386
70797
|
*
|
|
@@ -71352,6 +71763,161 @@ class WorkforceManagementApi {
|
|
|
71352
71763
|
);
|
|
71353
71764
|
}
|
|
71354
71765
|
|
|
71766
|
+
/**
|
|
71767
|
+
* Get a work plan bid
|
|
71768
|
+
*
|
|
71769
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
71770
|
+
* @param {String} bidId The id of the workplanbid
|
|
71771
|
+
*/
|
|
71772
|
+
getWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
|
|
71773
|
+
// verify the required parameter 'businessUnitId' is set
|
|
71774
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
71775
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
|
|
71776
|
+
}
|
|
71777
|
+
// verify the required parameter 'bidId' is set
|
|
71778
|
+
if (bidId === undefined || bidId === null) {
|
|
71779
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
|
|
71780
|
+
}
|
|
71781
|
+
|
|
71782
|
+
return this.apiClient.callApi(
|
|
71783
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
|
|
71784
|
+
'GET',
|
|
71785
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
71786
|
+
{ },
|
|
71787
|
+
{ },
|
|
71788
|
+
{ },
|
|
71789
|
+
null,
|
|
71790
|
+
['PureCloud OAuth'],
|
|
71791
|
+
['application/json'],
|
|
71792
|
+
['application/json']
|
|
71793
|
+
);
|
|
71794
|
+
}
|
|
71795
|
+
|
|
71796
|
+
/**
|
|
71797
|
+
* Get a bid group by bid group Id
|
|
71798
|
+
*
|
|
71799
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
71800
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
71801
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
71802
|
+
*/
|
|
71803
|
+
getWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
|
|
71804
|
+
// verify the required parameter 'businessUnitId' is set
|
|
71805
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
71806
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
71807
|
+
}
|
|
71808
|
+
// verify the required parameter 'bidId' is set
|
|
71809
|
+
if (bidId === undefined || bidId === null) {
|
|
71810
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
71811
|
+
}
|
|
71812
|
+
// verify the required parameter 'bidGroupId' is set
|
|
71813
|
+
if (bidGroupId === undefined || bidGroupId === null) {
|
|
71814
|
+
throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
71815
|
+
}
|
|
71816
|
+
|
|
71817
|
+
return this.apiClient.callApi(
|
|
71818
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
|
|
71819
|
+
'GET',
|
|
71820
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
|
|
71821
|
+
{ },
|
|
71822
|
+
{ },
|
|
71823
|
+
{ },
|
|
71824
|
+
null,
|
|
71825
|
+
['PureCloud OAuth'],
|
|
71826
|
+
['application/json'],
|
|
71827
|
+
['application/json']
|
|
71828
|
+
);
|
|
71829
|
+
}
|
|
71830
|
+
|
|
71831
|
+
/**
|
|
71832
|
+
* Gets the work plan preferences of all the agents in the work plan bid group
|
|
71833
|
+
*
|
|
71834
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
71835
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
71836
|
+
* @param {String} bidGroupId The ID of the work plan bid group
|
|
71837
|
+
*/
|
|
71838
|
+
getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId) {
|
|
71839
|
+
// verify the required parameter 'businessUnitId' is set
|
|
71840
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
71841
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
71842
|
+
}
|
|
71843
|
+
// verify the required parameter 'bidId' is set
|
|
71844
|
+
if (bidId === undefined || bidId === null) {
|
|
71845
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
71846
|
+
}
|
|
71847
|
+
// verify the required parameter 'bidGroupId' is set
|
|
71848
|
+
if (bidGroupId === undefined || bidGroupId === null) {
|
|
71849
|
+
throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
71850
|
+
}
|
|
71851
|
+
|
|
71852
|
+
return this.apiClient.callApi(
|
|
71853
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
|
|
71854
|
+
'GET',
|
|
71855
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
|
|
71856
|
+
{ },
|
|
71857
|
+
{ },
|
|
71858
|
+
{ },
|
|
71859
|
+
null,
|
|
71860
|
+
['PureCloud OAuth'],
|
|
71861
|
+
['application/json'],
|
|
71862
|
+
['application/json']
|
|
71863
|
+
);
|
|
71864
|
+
}
|
|
71865
|
+
|
|
71866
|
+
/**
|
|
71867
|
+
* Get summary of bid groups that belong to a work plan bid
|
|
71868
|
+
*
|
|
71869
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
71870
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
71871
|
+
*/
|
|
71872
|
+
getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(businessUnitId, bidId) {
|
|
71873
|
+
// verify the required parameter 'businessUnitId' is set
|
|
71874
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
71875
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
|
|
71876
|
+
}
|
|
71877
|
+
// verify the required parameter 'bidId' is set
|
|
71878
|
+
if (bidId === undefined || bidId === null) {
|
|
71879
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
|
|
71880
|
+
}
|
|
71881
|
+
|
|
71882
|
+
return this.apiClient.callApi(
|
|
71883
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/summary',
|
|
71884
|
+
'GET',
|
|
71885
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
71886
|
+
{ },
|
|
71887
|
+
{ },
|
|
71888
|
+
{ },
|
|
71889
|
+
null,
|
|
71890
|
+
['PureCloud OAuth'],
|
|
71891
|
+
['application/json'],
|
|
71892
|
+
['application/json']
|
|
71893
|
+
);
|
|
71894
|
+
}
|
|
71895
|
+
|
|
71896
|
+
/**
|
|
71897
|
+
* Get list of work plan bids
|
|
71898
|
+
*
|
|
71899
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
71900
|
+
*/
|
|
71901
|
+
getWorkforcemanagementBusinessunitWorkplanbids(businessUnitId) {
|
|
71902
|
+
// verify the required parameter 'businessUnitId' is set
|
|
71903
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
71904
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';
|
|
71905
|
+
}
|
|
71906
|
+
|
|
71907
|
+
return this.apiClient.callApi(
|
|
71908
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
|
|
71909
|
+
'GET',
|
|
71910
|
+
{ 'businessUnitId': businessUnitId },
|
|
71911
|
+
{ },
|
|
71912
|
+
{ },
|
|
71913
|
+
{ },
|
|
71914
|
+
null,
|
|
71915
|
+
['PureCloud OAuth'],
|
|
71916
|
+
['application/json'],
|
|
71917
|
+
['application/json']
|
|
71918
|
+
);
|
|
71919
|
+
}
|
|
71920
|
+
|
|
71355
71921
|
/**
|
|
71356
71922
|
* Get business units
|
|
71357
71923
|
*
|
|
@@ -72446,6 +73012,101 @@ class WorkforceManagementApi {
|
|
|
72446
73012
|
);
|
|
72447
73013
|
}
|
|
72448
73014
|
|
|
73015
|
+
/**
|
|
73016
|
+
* Get work plan bid ranks for a user
|
|
73017
|
+
*
|
|
73018
|
+
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
73019
|
+
*/
|
|
73020
|
+
getWorkforcemanagementUserWorkplanbidranks(userId) {
|
|
73021
|
+
// verify the required parameter 'userId' is set
|
|
73022
|
+
if (userId === undefined || userId === null) {
|
|
73023
|
+
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';
|
|
73024
|
+
}
|
|
73025
|
+
|
|
73026
|
+
return this.apiClient.callApi(
|
|
73027
|
+
'/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
|
|
73028
|
+
'GET',
|
|
73029
|
+
{ 'userId': userId },
|
|
73030
|
+
{ },
|
|
73031
|
+
{ },
|
|
73032
|
+
{ },
|
|
73033
|
+
null,
|
|
73034
|
+
['PureCloud OAuth'],
|
|
73035
|
+
['application/json'],
|
|
73036
|
+
['application/json']
|
|
73037
|
+
);
|
|
73038
|
+
}
|
|
73039
|
+
|
|
73040
|
+
/**
|
|
73041
|
+
* Gets an agent's work plan bidding preference
|
|
73042
|
+
*
|
|
73043
|
+
* @param {String} bidId The ID of the work plan bid
|
|
73044
|
+
*/
|
|
73045
|
+
getWorkforcemanagementWorkplanbidPreferences(bidId) {
|
|
73046
|
+
// verify the required parameter 'bidId' is set
|
|
73047
|
+
if (bidId === undefined || bidId === null) {
|
|
73048
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';
|
|
73049
|
+
}
|
|
73050
|
+
|
|
73051
|
+
return this.apiClient.callApi(
|
|
73052
|
+
'/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
|
|
73053
|
+
'GET',
|
|
73054
|
+
{ 'bidId': bidId },
|
|
73055
|
+
{ },
|
|
73056
|
+
{ },
|
|
73057
|
+
{ },
|
|
73058
|
+
null,
|
|
73059
|
+
['PureCloud OAuth'],
|
|
73060
|
+
['application/json'],
|
|
73061
|
+
['application/json']
|
|
73062
|
+
);
|
|
73063
|
+
}
|
|
73064
|
+
|
|
73065
|
+
/**
|
|
73066
|
+
* Gets an agent's work plans for a bid
|
|
73067
|
+
*
|
|
73068
|
+
* @param {String} bidId The ID of the work plan bid
|
|
73069
|
+
*/
|
|
73070
|
+
getWorkforcemanagementWorkplanbidWorkplans(bidId) {
|
|
73071
|
+
// verify the required parameter 'bidId' is set
|
|
73072
|
+
if (bidId === undefined || bidId === null) {
|
|
73073
|
+
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';
|
|
73074
|
+
}
|
|
73075
|
+
|
|
73076
|
+
return this.apiClient.callApi(
|
|
73077
|
+
'/api/v2/workforcemanagement/workplanbids/{bidId}/workplans',
|
|
73078
|
+
'GET',
|
|
73079
|
+
{ 'bidId': bidId },
|
|
73080
|
+
{ },
|
|
73081
|
+
{ },
|
|
73082
|
+
{ },
|
|
73083
|
+
null,
|
|
73084
|
+
['PureCloud OAuth'],
|
|
73085
|
+
['application/json'],
|
|
73086
|
+
['application/json']
|
|
73087
|
+
);
|
|
73088
|
+
}
|
|
73089
|
+
|
|
73090
|
+
/**
|
|
73091
|
+
* Gets the list of work plan bids that belong to an agent
|
|
73092
|
+
*
|
|
73093
|
+
*/
|
|
73094
|
+
getWorkforcemanagementWorkplanbids() {
|
|
73095
|
+
|
|
73096
|
+
return this.apiClient.callApi(
|
|
73097
|
+
'/api/v2/workforcemanagement/workplanbids',
|
|
73098
|
+
'GET',
|
|
73099
|
+
{ },
|
|
73100
|
+
{ },
|
|
73101
|
+
{ },
|
|
73102
|
+
{ },
|
|
73103
|
+
null,
|
|
73104
|
+
['PureCloud OAuth'],
|
|
73105
|
+
['application/json'],
|
|
73106
|
+
['application/json']
|
|
73107
|
+
);
|
|
73108
|
+
}
|
|
73109
|
+
|
|
72449
73110
|
/**
|
|
72450
73111
|
* Update an adherence explanation
|
|
72451
73112
|
*
|
|
@@ -72481,6 +73142,60 @@ class WorkforceManagementApi {
|
|
|
72481
73142
|
);
|
|
72482
73143
|
}
|
|
72483
73144
|
|
|
73145
|
+
/**
|
|
73146
|
+
* Update my alternative shifts trade by trade ID
|
|
73147
|
+
*
|
|
73148
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
73149
|
+
* @param {Object} opts Optional parameters
|
|
73150
|
+
* @param {Object} opts.body body
|
|
73151
|
+
*/
|
|
73152
|
+
patchWorkforcemanagementAlternativeshiftsTrade(tradeId, opts) {
|
|
73153
|
+
opts = opts || {};
|
|
73154
|
+
|
|
73155
|
+
// verify the required parameter 'tradeId' is set
|
|
73156
|
+
if (tradeId === undefined || tradeId === null) {
|
|
73157
|
+
throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
73158
|
+
}
|
|
73159
|
+
|
|
73160
|
+
return this.apiClient.callApi(
|
|
73161
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
|
|
73162
|
+
'PATCH',
|
|
73163
|
+
{ 'tradeId': tradeId },
|
|
73164
|
+
{ },
|
|
73165
|
+
{ },
|
|
73166
|
+
{ },
|
|
73167
|
+
opts['body'],
|
|
73168
|
+
['PureCloud OAuth'],
|
|
73169
|
+
['application/json'],
|
|
73170
|
+
['application/json']
|
|
73171
|
+
);
|
|
73172
|
+
}
|
|
73173
|
+
|
|
73174
|
+
/**
|
|
73175
|
+
* Bulk update alternative shift trade states
|
|
73176
|
+
*
|
|
73177
|
+
* @param {Object} body The request body
|
|
73178
|
+
*/
|
|
73179
|
+
patchWorkforcemanagementAlternativeshiftsTradesStateJobs(body) {
|
|
73180
|
+
// verify the required parameter 'body' is set
|
|
73181
|
+
if (body === undefined || body === null) {
|
|
73182
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTradesStateJobs';
|
|
73183
|
+
}
|
|
73184
|
+
|
|
73185
|
+
return this.apiClient.callApi(
|
|
73186
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs',
|
|
73187
|
+
'PATCH',
|
|
73188
|
+
{ },
|
|
73189
|
+
{ },
|
|
73190
|
+
{ },
|
|
73191
|
+
{ },
|
|
73192
|
+
body,
|
|
73193
|
+
['PureCloud OAuth'],
|
|
73194
|
+
['application/json'],
|
|
73195
|
+
['application/json']
|
|
73196
|
+
);
|
|
73197
|
+
}
|
|
73198
|
+
|
|
72484
73199
|
/**
|
|
72485
73200
|
* Update business unit
|
|
72486
73201
|
*
|
|
@@ -72580,6 +73295,35 @@ class WorkforceManagementApi {
|
|
|
72580
73295
|
);
|
|
72581
73296
|
}
|
|
72582
73297
|
|
|
73298
|
+
/**
|
|
73299
|
+
* Update alternative shifts settings for a business unit
|
|
73300
|
+
*
|
|
73301
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
73302
|
+
* @param {Object} opts Optional parameters
|
|
73303
|
+
* @param {Object} opts.body body
|
|
73304
|
+
*/
|
|
73305
|
+
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, opts) {
|
|
73306
|
+
opts = opts || {};
|
|
73307
|
+
|
|
73308
|
+
// verify the required parameter 'businessUnitId' is set
|
|
73309
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73310
|
+
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
73311
|
+
}
|
|
73312
|
+
|
|
73313
|
+
return this.apiClient.callApi(
|
|
73314
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
|
|
73315
|
+
'PATCH',
|
|
73316
|
+
{ 'businessUnitId': businessUnitId },
|
|
73317
|
+
{ },
|
|
73318
|
+
{ },
|
|
73319
|
+
{ },
|
|
73320
|
+
opts['body'],
|
|
73321
|
+
['PureCloud OAuth'],
|
|
73322
|
+
['application/json'],
|
|
73323
|
+
['application/json']
|
|
73324
|
+
);
|
|
73325
|
+
}
|
|
73326
|
+
|
|
72583
73327
|
/**
|
|
72584
73328
|
* Updates the planning group
|
|
72585
73329
|
*
|
|
@@ -72750,6 +73494,119 @@ class WorkforceManagementApi {
|
|
|
72750
73494
|
);
|
|
72751
73495
|
}
|
|
72752
73496
|
|
|
73497
|
+
/**
|
|
73498
|
+
* Update work plan bid
|
|
73499
|
+
*
|
|
73500
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
73501
|
+
* @param {String} bidId The id of the workplanbid
|
|
73502
|
+
* @param {Object} body The work plan bid to be updated
|
|
73503
|
+
*/
|
|
73504
|
+
patchWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId, body) {
|
|
73505
|
+
// verify the required parameter 'businessUnitId' is set
|
|
73506
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73507
|
+
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
|
|
73508
|
+
}
|
|
73509
|
+
// verify the required parameter 'bidId' is set
|
|
73510
|
+
if (bidId === undefined || bidId === null) {
|
|
73511
|
+
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
|
|
73512
|
+
}
|
|
73513
|
+
// verify the required parameter 'body' is set
|
|
73514
|
+
if (body === undefined || body === null) {
|
|
73515
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
|
|
73516
|
+
}
|
|
73517
|
+
|
|
73518
|
+
return this.apiClient.callApi(
|
|
73519
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
|
|
73520
|
+
'PATCH',
|
|
73521
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
73522
|
+
{ },
|
|
73523
|
+
{ },
|
|
73524
|
+
{ },
|
|
73525
|
+
body,
|
|
73526
|
+
['PureCloud OAuth'],
|
|
73527
|
+
['application/json'],
|
|
73528
|
+
['application/json']
|
|
73529
|
+
);
|
|
73530
|
+
}
|
|
73531
|
+
|
|
73532
|
+
/**
|
|
73533
|
+
* Update a bid group by bid group Id
|
|
73534
|
+
*
|
|
73535
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
73536
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
73537
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
73538
|
+
* @param {Object} opts Optional parameters
|
|
73539
|
+
* @param {Object} opts.body body
|
|
73540
|
+
*/
|
|
73541
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, opts) {
|
|
73542
|
+
opts = opts || {};
|
|
73543
|
+
|
|
73544
|
+
// verify the required parameter 'businessUnitId' is set
|
|
73545
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73546
|
+
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
73547
|
+
}
|
|
73548
|
+
// verify the required parameter 'bidId' is set
|
|
73549
|
+
if (bidId === undefined || bidId === null) {
|
|
73550
|
+
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
73551
|
+
}
|
|
73552
|
+
// verify the required parameter 'bidGroupId' is set
|
|
73553
|
+
if (bidGroupId === undefined || bidGroupId === null) {
|
|
73554
|
+
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
73555
|
+
}
|
|
73556
|
+
|
|
73557
|
+
return this.apiClient.callApi(
|
|
73558
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
|
|
73559
|
+
'PATCH',
|
|
73560
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
|
|
73561
|
+
{ },
|
|
73562
|
+
{ },
|
|
73563
|
+
{ },
|
|
73564
|
+
opts['body'],
|
|
73565
|
+
['PureCloud OAuth'],
|
|
73566
|
+
['application/json'],
|
|
73567
|
+
['application/json']
|
|
73568
|
+
);
|
|
73569
|
+
}
|
|
73570
|
+
|
|
73571
|
+
/**
|
|
73572
|
+
* Overrides the assigned work plan for the specified agents
|
|
73573
|
+
*
|
|
73574
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
73575
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
73576
|
+
* @param {String} bidGroupId The ID of the work plan bid group
|
|
73577
|
+
* @param {Object} opts Optional parameters
|
|
73578
|
+
* @param {Object} opts.body body
|
|
73579
|
+
*/
|
|
73580
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, opts) {
|
|
73581
|
+
opts = opts || {};
|
|
73582
|
+
|
|
73583
|
+
// verify the required parameter 'businessUnitId' is set
|
|
73584
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73585
|
+
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
73586
|
+
}
|
|
73587
|
+
// verify the required parameter 'bidId' is set
|
|
73588
|
+
if (bidId === undefined || bidId === null) {
|
|
73589
|
+
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
73590
|
+
}
|
|
73591
|
+
// verify the required parameter 'bidGroupId' is set
|
|
73592
|
+
if (bidGroupId === undefined || bidGroupId === null) {
|
|
73593
|
+
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
73594
|
+
}
|
|
73595
|
+
|
|
73596
|
+
return this.apiClient.callApi(
|
|
73597
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
|
|
73598
|
+
'PATCH',
|
|
73599
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
|
|
73600
|
+
{ },
|
|
73601
|
+
{ },
|
|
73602
|
+
{ },
|
|
73603
|
+
opts['body'],
|
|
73604
|
+
['PureCloud OAuth'],
|
|
73605
|
+
['application/json'],
|
|
73606
|
+
['application/json']
|
|
73607
|
+
);
|
|
73608
|
+
}
|
|
73609
|
+
|
|
72753
73610
|
/**
|
|
72754
73611
|
* Update the requested management unit
|
|
72755
73612
|
*
|
|
@@ -73092,6 +73949,89 @@ class WorkforceManagementApi {
|
|
|
73092
73949
|
);
|
|
73093
73950
|
}
|
|
73094
73951
|
|
|
73952
|
+
/**
|
|
73953
|
+
* Update work plan bid ranks for a user
|
|
73954
|
+
*
|
|
73955
|
+
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
73956
|
+
* @param {Object} opts Optional parameters
|
|
73957
|
+
* @param {Object} opts.body body
|
|
73958
|
+
*/
|
|
73959
|
+
patchWorkforcemanagementUserWorkplanbidranks(userId, opts) {
|
|
73960
|
+
opts = opts || {};
|
|
73961
|
+
|
|
73962
|
+
// verify the required parameter 'userId' is set
|
|
73963
|
+
if (userId === undefined || userId === null) {
|
|
73964
|
+
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
73965
|
+
}
|
|
73966
|
+
|
|
73967
|
+
return this.apiClient.callApi(
|
|
73968
|
+
'/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
|
|
73969
|
+
'PATCH',
|
|
73970
|
+
{ 'userId': userId },
|
|
73971
|
+
{ },
|
|
73972
|
+
{ },
|
|
73973
|
+
{ },
|
|
73974
|
+
opts['body'],
|
|
73975
|
+
['PureCloud OAuth'],
|
|
73976
|
+
['application/json'],
|
|
73977
|
+
['application/json']
|
|
73978
|
+
);
|
|
73979
|
+
}
|
|
73980
|
+
|
|
73981
|
+
/**
|
|
73982
|
+
* Update bulk work plan bid ranks on users. Max 50 users can be updated at a time.
|
|
73983
|
+
*
|
|
73984
|
+
* @param {Array.<Object>} body Users
|
|
73985
|
+
*/
|
|
73986
|
+
patchWorkforcemanagementUsersWorkplanbidranksBulk(body) {
|
|
73987
|
+
// verify the required parameter 'body' is set
|
|
73988
|
+
if (body === undefined || body === null) {
|
|
73989
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementUsersWorkplanbidranksBulk';
|
|
73990
|
+
}
|
|
73991
|
+
|
|
73992
|
+
return this.apiClient.callApi(
|
|
73993
|
+
'/api/v2/workforcemanagement/users/workplanbidranks/bulk',
|
|
73994
|
+
'PATCH',
|
|
73995
|
+
{ },
|
|
73996
|
+
{ },
|
|
73997
|
+
{ },
|
|
73998
|
+
{ },
|
|
73999
|
+
body,
|
|
74000
|
+
['PureCloud OAuth'],
|
|
74001
|
+
['application/json'],
|
|
74002
|
+
['application/json']
|
|
74003
|
+
);
|
|
74004
|
+
}
|
|
74005
|
+
|
|
74006
|
+
/**
|
|
74007
|
+
* Update an agent's work plan bidding preference
|
|
74008
|
+
*
|
|
74009
|
+
* @param {String} bidId The ID of the work plan bid
|
|
74010
|
+
* @param {Object} opts Optional parameters
|
|
74011
|
+
* @param {Object} opts.body body
|
|
74012
|
+
*/
|
|
74013
|
+
patchWorkforcemanagementWorkplanbidPreferences(bidId, opts) {
|
|
74014
|
+
opts = opts || {};
|
|
74015
|
+
|
|
74016
|
+
// verify the required parameter 'bidId' is set
|
|
74017
|
+
if (bidId === undefined || bidId === null) {
|
|
74018
|
+
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
74019
|
+
}
|
|
74020
|
+
|
|
74021
|
+
return this.apiClient.callApi(
|
|
74022
|
+
'/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
|
|
74023
|
+
'PATCH',
|
|
74024
|
+
{ 'bidId': bidId },
|
|
74025
|
+
{ },
|
|
74026
|
+
{ },
|
|
74027
|
+
{ },
|
|
74028
|
+
opts['body'],
|
|
74029
|
+
['PureCloud OAuth'],
|
|
74030
|
+
['application/json'],
|
|
74031
|
+
['application/json']
|
|
74032
|
+
);
|
|
74033
|
+
}
|
|
74034
|
+
|
|
73095
74035
|
/**
|
|
73096
74036
|
* Submit an adherence explanation for the current user
|
|
73097
74037
|
*
|
|
@@ -73358,6 +74298,81 @@ class WorkforceManagementApi {
|
|
|
73358
74298
|
);
|
|
73359
74299
|
}
|
|
73360
74300
|
|
|
74301
|
+
/**
|
|
74302
|
+
* Request a list of alternative shift offers for a given schedule
|
|
74303
|
+
*
|
|
74304
|
+
* @param {Object} body The request body
|
|
74305
|
+
*/
|
|
74306
|
+
postWorkforcemanagementAlternativeshiftsOffersJobs(body) {
|
|
74307
|
+
// verify the required parameter 'body' is set
|
|
74308
|
+
if (body === undefined || body === null) {
|
|
74309
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersJobs';
|
|
74310
|
+
}
|
|
74311
|
+
|
|
74312
|
+
return this.apiClient.callApi(
|
|
74313
|
+
'/api/v2/workforcemanagement/alternativeshifts/offers/jobs',
|
|
74314
|
+
'POST',
|
|
74315
|
+
{ },
|
|
74316
|
+
{ },
|
|
74317
|
+
{ },
|
|
74318
|
+
{ },
|
|
74319
|
+
body,
|
|
74320
|
+
['PureCloud OAuth'],
|
|
74321
|
+
['application/json'],
|
|
74322
|
+
['application/json']
|
|
74323
|
+
);
|
|
74324
|
+
}
|
|
74325
|
+
|
|
74326
|
+
/**
|
|
74327
|
+
* Request a search of alternative shift offers for a given shift
|
|
74328
|
+
*
|
|
74329
|
+
* @param {Object} body The request body
|
|
74330
|
+
*/
|
|
74331
|
+
postWorkforcemanagementAlternativeshiftsOffersSearchJobs(body) {
|
|
74332
|
+
// verify the required parameter 'body' is set
|
|
74333
|
+
if (body === undefined || body === null) {
|
|
74334
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersSearchJobs';
|
|
74335
|
+
}
|
|
74336
|
+
|
|
74337
|
+
return this.apiClient.callApi(
|
|
74338
|
+
'/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs',
|
|
74339
|
+
'POST',
|
|
74340
|
+
{ },
|
|
74341
|
+
{ },
|
|
74342
|
+
{ },
|
|
74343
|
+
{ },
|
|
74344
|
+
body,
|
|
74345
|
+
['PureCloud OAuth'],
|
|
74346
|
+
['application/json'],
|
|
74347
|
+
['application/json']
|
|
74348
|
+
);
|
|
74349
|
+
}
|
|
74350
|
+
|
|
74351
|
+
/**
|
|
74352
|
+
* Create my alternative shift trade using an existing offer's jobId
|
|
74353
|
+
*
|
|
74354
|
+
* @param {Object} body The request body
|
|
74355
|
+
*/
|
|
74356
|
+
postWorkforcemanagementAlternativeshiftsTrades(body) {
|
|
74357
|
+
// verify the required parameter 'body' is set
|
|
74358
|
+
if (body === undefined || body === null) {
|
|
74359
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsTrades';
|
|
74360
|
+
}
|
|
74361
|
+
|
|
74362
|
+
return this.apiClient.callApi(
|
|
74363
|
+
'/api/v2/workforcemanagement/alternativeshifts/trades',
|
|
74364
|
+
'POST',
|
|
74365
|
+
{ },
|
|
74366
|
+
{ },
|
|
74367
|
+
{ },
|
|
74368
|
+
{ },
|
|
74369
|
+
body,
|
|
74370
|
+
['PureCloud OAuth'],
|
|
74371
|
+
['application/json'],
|
|
74372
|
+
['application/json']
|
|
74373
|
+
);
|
|
74374
|
+
}
|
|
74375
|
+
|
|
73361
74376
|
/**
|
|
73362
74377
|
* Create a new activity code
|
|
73363
74378
|
*
|
|
@@ -73515,6 +74530,40 @@ class WorkforceManagementApi {
|
|
|
73515
74530
|
);
|
|
73516
74531
|
}
|
|
73517
74532
|
|
|
74533
|
+
/**
|
|
74534
|
+
* List alternative shifts trades for a given management unit or agent
|
|
74535
|
+
*
|
|
74536
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
74537
|
+
* @param {Object} body The request body
|
|
74538
|
+
* @param {Object} opts Optional parameters
|
|
74539
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
74540
|
+
*/
|
|
74541
|
+
postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch(businessUnitId, body, opts) {
|
|
74542
|
+
opts = opts || {};
|
|
74543
|
+
|
|
74544
|
+
// verify the required parameter 'businessUnitId' is set
|
|
74545
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
74546
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
|
|
74547
|
+
}
|
|
74548
|
+
// verify the required parameter 'body' is set
|
|
74549
|
+
if (body === undefined || body === null) {
|
|
74550
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
|
|
74551
|
+
}
|
|
74552
|
+
|
|
74553
|
+
return this.apiClient.callApi(
|
|
74554
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search',
|
|
74555
|
+
'POST',
|
|
74556
|
+
{ 'businessUnitId': businessUnitId },
|
|
74557
|
+
{ 'forceAsync': opts['forceAsync'] },
|
|
74558
|
+
{ },
|
|
74559
|
+
{ },
|
|
74560
|
+
body,
|
|
74561
|
+
['PureCloud OAuth'],
|
|
74562
|
+
['application/json'],
|
|
74563
|
+
['application/json']
|
|
74564
|
+
);
|
|
74565
|
+
}
|
|
74566
|
+
|
|
73518
74567
|
/**
|
|
73519
74568
|
* Get intraday data for the given date for the requested planningGroupIds
|
|
73520
74569
|
*
|
|
@@ -74324,6 +75373,103 @@ class WorkforceManagementApi {
|
|
|
74324
75373
|
);
|
|
74325
75374
|
}
|
|
74326
75375
|
|
|
75376
|
+
/**
|
|
75377
|
+
* Copy a work plan bid
|
|
75378
|
+
*
|
|
75379
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
75380
|
+
* @param {String} bidId The ID of the work plan bid to copy
|
|
75381
|
+
* @param {Object} opts Optional parameters
|
|
75382
|
+
* @param {Object} opts.body body
|
|
75383
|
+
*/
|
|
75384
|
+
postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, opts) {
|
|
75385
|
+
opts = opts || {};
|
|
75386
|
+
|
|
75387
|
+
// verify the required parameter 'businessUnitId' is set
|
|
75388
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
75389
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
75390
|
+
}
|
|
75391
|
+
// verify the required parameter 'bidId' is set
|
|
75392
|
+
if (bidId === undefined || bidId === null) {
|
|
75393
|
+
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
75394
|
+
}
|
|
75395
|
+
|
|
75396
|
+
return this.apiClient.callApi(
|
|
75397
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy',
|
|
75398
|
+
'POST',
|
|
75399
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
75400
|
+
{ },
|
|
75401
|
+
{ },
|
|
75402
|
+
{ },
|
|
75403
|
+
opts['body'],
|
|
75404
|
+
['PureCloud OAuth'],
|
|
75405
|
+
['application/json'],
|
|
75406
|
+
['application/json']
|
|
75407
|
+
);
|
|
75408
|
+
}
|
|
75409
|
+
|
|
75410
|
+
/**
|
|
75411
|
+
* Add a bid group in a given work plan bid
|
|
75412
|
+
*
|
|
75413
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
75414
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
75415
|
+
* @param {Object} opts Optional parameters
|
|
75416
|
+
* @param {Object} opts.body body
|
|
75417
|
+
*/
|
|
75418
|
+
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, opts) {
|
|
75419
|
+
opts = opts || {};
|
|
75420
|
+
|
|
75421
|
+
// verify the required parameter 'businessUnitId' is set
|
|
75422
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
75423
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
75424
|
+
}
|
|
75425
|
+
// verify the required parameter 'bidId' is set
|
|
75426
|
+
if (bidId === undefined || bidId === null) {
|
|
75427
|
+
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
75428
|
+
}
|
|
75429
|
+
|
|
75430
|
+
return this.apiClient.callApi(
|
|
75431
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups',
|
|
75432
|
+
'POST',
|
|
75433
|
+
{ 'businessUnitId': businessUnitId,'bidId': bidId },
|
|
75434
|
+
{ },
|
|
75435
|
+
{ },
|
|
75436
|
+
{ },
|
|
75437
|
+
opts['body'],
|
|
75438
|
+
['PureCloud OAuth'],
|
|
75439
|
+
['application/json'],
|
|
75440
|
+
['application/json']
|
|
75441
|
+
);
|
|
75442
|
+
}
|
|
75443
|
+
|
|
75444
|
+
/**
|
|
75445
|
+
* Create a new work plan bid
|
|
75446
|
+
*
|
|
75447
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
75448
|
+
* @param {Object} opts Optional parameters
|
|
75449
|
+
* @param {Object} opts.body The work plan bid to be created
|
|
75450
|
+
*/
|
|
75451
|
+
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, opts) {
|
|
75452
|
+
opts = opts || {};
|
|
75453
|
+
|
|
75454
|
+
// verify the required parameter 'businessUnitId' is set
|
|
75455
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
75456
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
75457
|
+
}
|
|
75458
|
+
|
|
75459
|
+
return this.apiClient.callApi(
|
|
75460
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
|
|
75461
|
+
'POST',
|
|
75462
|
+
{ 'businessUnitId': businessUnitId },
|
|
75463
|
+
{ },
|
|
75464
|
+
{ },
|
|
75465
|
+
{ },
|
|
75466
|
+
opts['body'],
|
|
75467
|
+
['PureCloud OAuth'],
|
|
75468
|
+
['application/json'],
|
|
75469
|
+
['application/json']
|
|
75470
|
+
);
|
|
75471
|
+
}
|
|
75472
|
+
|
|
74327
75473
|
/**
|
|
74328
75474
|
* Add a new business unit
|
|
74329
75475
|
* It may take a minute or two for a new business unit to be available for api operations
|
|
@@ -75593,7 +76739,7 @@ class WorkforceManagementApi {
|
|
|
75593
76739
|
* </pre>
|
|
75594
76740
|
* </p>
|
|
75595
76741
|
* @module purecloud-platform-client-v2/index
|
|
75596
|
-
* @version
|
|
76742
|
+
* @version 201.0.0
|
|
75597
76743
|
*/
|
|
75598
76744
|
class platformClient {
|
|
75599
76745
|
constructor() {
|