purecloud-platform-client-v2 205.0.0 → 206.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 +5 -3
- package/dist/node/purecloud-platform-client-v2.js +646 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +646 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +228 -85
- package/dist/web-cjs/purecloud-platform-client-v2.js +228 -85
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +467 -5
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +7 -4
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +191 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +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 +311 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- 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 +60 -1
- 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 206.0.0
|
|
409
409
|
*/
|
|
410
410
|
class ApiClient {
|
|
411
411
|
/**
|
|
@@ -1827,7 +1827,7 @@ class AgentAssistantsApi {
|
|
|
1827
1827
|
/**
|
|
1828
1828
|
* AgentAssistants service.
|
|
1829
1829
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1830
|
-
* @version
|
|
1830
|
+
* @version 206.0.0
|
|
1831
1831
|
*/
|
|
1832
1832
|
|
|
1833
1833
|
/**
|
|
@@ -2203,7 +2203,7 @@ class AgentCopilotApi {
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* AgentCopilot service.
|
|
2205
2205
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2206
|
-
* @version
|
|
2206
|
+
* @version 206.0.0
|
|
2207
2207
|
*/
|
|
2208
2208
|
|
|
2209
2209
|
/**
|
|
@@ -2279,7 +2279,7 @@ class AgentUIApi {
|
|
|
2279
2279
|
/**
|
|
2280
2280
|
* AgentUI service.
|
|
2281
2281
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 206.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
|
|
2285
2285
|
/**
|
|
@@ -2410,7 +2410,7 @@ class AlertingApi {
|
|
|
2410
2410
|
/**
|
|
2411
2411
|
* Alerting service.
|
|
2412
2412
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2413
|
-
* @version
|
|
2413
|
+
* @version 206.0.0
|
|
2414
2414
|
*/
|
|
2415
2415
|
|
|
2416
2416
|
/**
|
|
@@ -3071,7 +3071,7 @@ class AnalyticsApi {
|
|
|
3071
3071
|
/**
|
|
3072
3072
|
* Analytics service.
|
|
3073
3073
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3074
|
-
* @version
|
|
3074
|
+
* @version 206.0.0
|
|
3075
3075
|
*/
|
|
3076
3076
|
|
|
3077
3077
|
/**
|
|
@@ -5683,7 +5683,7 @@ class ArchitectApi {
|
|
|
5683
5683
|
/**
|
|
5684
5684
|
* Architect service.
|
|
5685
5685
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5686
|
-
* @version
|
|
5686
|
+
* @version 206.0.0
|
|
5687
5687
|
*/
|
|
5688
5688
|
|
|
5689
5689
|
/**
|
|
@@ -9805,7 +9805,7 @@ class AuditApi {
|
|
|
9805
9805
|
/**
|
|
9806
9806
|
* Audit service.
|
|
9807
9807
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9808
|
-
* @version
|
|
9808
|
+
* @version 206.0.0
|
|
9809
9809
|
*/
|
|
9810
9810
|
|
|
9811
9811
|
/**
|
|
@@ -10006,7 +10006,7 @@ class AuthorizationApi {
|
|
|
10006
10006
|
/**
|
|
10007
10007
|
* Authorization service.
|
|
10008
10008
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10009
|
-
* @version
|
|
10009
|
+
* @version 206.0.0
|
|
10010
10010
|
*/
|
|
10011
10011
|
|
|
10012
10012
|
/**
|
|
@@ -11289,7 +11289,7 @@ class BillingApi {
|
|
|
11289
11289
|
/**
|
|
11290
11290
|
* Billing service.
|
|
11291
11291
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11292
|
-
* @version
|
|
11292
|
+
* @version 206.0.0
|
|
11293
11293
|
*/
|
|
11294
11294
|
|
|
11295
11295
|
/**
|
|
@@ -11369,7 +11369,7 @@ class CarrierServicesApi {
|
|
|
11369
11369
|
/**
|
|
11370
11370
|
* CarrierServices service.
|
|
11371
11371
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11372
|
-
* @version
|
|
11372
|
+
* @version 206.0.0
|
|
11373
11373
|
*/
|
|
11374
11374
|
|
|
11375
11375
|
/**
|
|
@@ -11439,7 +11439,7 @@ class ChatApi {
|
|
|
11439
11439
|
/**
|
|
11440
11440
|
* Chat service.
|
|
11441
11441
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11442
|
-
* @version
|
|
11442
|
+
* @version 206.0.0
|
|
11443
11443
|
*/
|
|
11444
11444
|
|
|
11445
11445
|
/**
|
|
@@ -12375,7 +12375,7 @@ class CoachingApi {
|
|
|
12375
12375
|
/**
|
|
12376
12376
|
* Coaching service.
|
|
12377
12377
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12378
|
-
* @version
|
|
12378
|
+
* @version 206.0.0
|
|
12379
12379
|
*/
|
|
12380
12380
|
|
|
12381
12381
|
/**
|
|
@@ -12952,7 +12952,7 @@ class ContentManagementApi {
|
|
|
12952
12952
|
/**
|
|
12953
12953
|
* ContentManagement service.
|
|
12954
12954
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12955
|
-
* @version
|
|
12955
|
+
* @version 206.0.0
|
|
12956
12956
|
*/
|
|
12957
12957
|
|
|
12958
12958
|
/**
|
|
@@ -14034,7 +14034,7 @@ class ConversationsApi {
|
|
|
14034
14034
|
/**
|
|
14035
14035
|
* Conversations service.
|
|
14036
14036
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14037
|
-
* @version
|
|
14037
|
+
* @version 206.0.0
|
|
14038
14038
|
*/
|
|
14039
14039
|
|
|
14040
14040
|
/**
|
|
@@ -17780,7 +17780,6 @@ class ConversationsApi {
|
|
|
17780
17780
|
* @param {String} conversationId conversationId
|
|
17781
17781
|
* @param {String} participantId participantId
|
|
17782
17782
|
* @param {Object} body Parking update request
|
|
17783
|
-
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17784
17783
|
*/
|
|
17785
17784
|
patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
|
|
17786
17785
|
// verify the required parameter 'conversationId' is set
|
|
@@ -20020,8 +20019,12 @@ class ConversationsApi {
|
|
|
20020
20019
|
* Send an inbound message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
20021
20020
|
* @param {String} integrationId integrationId
|
|
20022
20021
|
* @param {Object} body NormalizedMessage
|
|
20022
|
+
* @param {Object} opts Optional parameters
|
|
20023
|
+
* @param {Boolean} opts.prefetchConversationId Indicates whether or not to prefetch conversationId (default to false)
|
|
20023
20024
|
*/
|
|
20024
|
-
postConversationsMessageInboundOpenMessage(integrationId, body) {
|
|
20025
|
+
postConversationsMessageInboundOpenMessage(integrationId, body, opts) {
|
|
20026
|
+
opts = opts || {};
|
|
20027
|
+
|
|
20025
20028
|
// verify the required parameter 'integrationId' is set
|
|
20026
20029
|
if (integrationId === undefined || integrationId === null) {
|
|
20027
20030
|
throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';
|
|
@@ -20035,7 +20038,7 @@ class ConversationsApi {
|
|
|
20035
20038
|
'/api/v2/conversations/messages/{integrationId}/inbound/open/message',
|
|
20036
20039
|
'POST',
|
|
20037
20040
|
{ 'integrationId': integrationId },
|
|
20038
|
-
{
|
|
20041
|
+
{ 'prefetchConversationId': opts['prefetchConversationId'] },
|
|
20039
20042
|
{ },
|
|
20040
20043
|
{ },
|
|
20041
20044
|
body,
|
|
@@ -21172,7 +21175,7 @@ class DataExtensionsApi {
|
|
|
21172
21175
|
/**
|
|
21173
21176
|
* DataExtensions service.
|
|
21174
21177
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21175
|
-
* @version
|
|
21178
|
+
* @version 206.0.0
|
|
21176
21179
|
*/
|
|
21177
21180
|
|
|
21178
21181
|
/**
|
|
@@ -21258,7 +21261,7 @@ class DownloadsApi {
|
|
|
21258
21261
|
/**
|
|
21259
21262
|
* Downloads service.
|
|
21260
21263
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21261
|
-
* @version
|
|
21264
|
+
* @version 206.0.0
|
|
21262
21265
|
*/
|
|
21263
21266
|
|
|
21264
21267
|
/**
|
|
@@ -21310,7 +21313,7 @@ class EmailsApi {
|
|
|
21310
21313
|
/**
|
|
21311
21314
|
* Emails service.
|
|
21312
21315
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21313
|
-
* @version
|
|
21316
|
+
* @version 206.0.0
|
|
21314
21317
|
*/
|
|
21315
21318
|
|
|
21316
21319
|
/**
|
|
@@ -21375,7 +21378,7 @@ class EmployeeEngagementApi {
|
|
|
21375
21378
|
/**
|
|
21376
21379
|
* EmployeeEngagement service.
|
|
21377
21380
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21378
|
-
* @version
|
|
21381
|
+
* @version 206.0.0
|
|
21379
21382
|
*/
|
|
21380
21383
|
|
|
21381
21384
|
/**
|
|
@@ -21526,7 +21529,7 @@ class EventsApi {
|
|
|
21526
21529
|
/**
|
|
21527
21530
|
* Events service.
|
|
21528
21531
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21529
|
-
* @version
|
|
21532
|
+
* @version 206.0.0
|
|
21530
21533
|
*/
|
|
21531
21534
|
|
|
21532
21535
|
/**
|
|
@@ -21622,7 +21625,7 @@ class ExternalContactsApi {
|
|
|
21622
21625
|
/**
|
|
21623
21626
|
* ExternalContacts service.
|
|
21624
21627
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21625
|
-
* @version
|
|
21628
|
+
* @version 206.0.0
|
|
21626
21629
|
*/
|
|
21627
21630
|
|
|
21628
21631
|
/**
|
|
@@ -23721,7 +23724,7 @@ class FaxApi {
|
|
|
23721
23724
|
/**
|
|
23722
23725
|
* Fax service.
|
|
23723
23726
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23724
|
-
* @version
|
|
23727
|
+
* @version 206.0.0
|
|
23725
23728
|
*/
|
|
23726
23729
|
|
|
23727
23730
|
/**
|
|
@@ -23936,7 +23939,7 @@ class FlowsApi {
|
|
|
23936
23939
|
/**
|
|
23937
23940
|
* Flows service.
|
|
23938
23941
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23939
|
-
* @version
|
|
23942
|
+
* @version 206.0.0
|
|
23940
23943
|
*/
|
|
23941
23944
|
|
|
23942
23945
|
/**
|
|
@@ -24119,7 +24122,7 @@ class GamificationApi {
|
|
|
24119
24122
|
/**
|
|
24120
24123
|
* Gamification service.
|
|
24121
24124
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24122
|
-
* @version
|
|
24125
|
+
* @version 206.0.0
|
|
24123
24126
|
*/
|
|
24124
24127
|
|
|
24125
24128
|
/**
|
|
@@ -26205,7 +26208,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26205
26208
|
/**
|
|
26206
26209
|
* GeneralDataProtectionRegulation service.
|
|
26207
26210
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26208
|
-
* @version
|
|
26211
|
+
* @version 206.0.0
|
|
26209
26212
|
*/
|
|
26210
26213
|
|
|
26211
26214
|
/**
|
|
@@ -26335,7 +26338,7 @@ class GeolocationApi {
|
|
|
26335
26338
|
/**
|
|
26336
26339
|
* Geolocation service.
|
|
26337
26340
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26338
|
-
* @version
|
|
26341
|
+
* @version 206.0.0
|
|
26339
26342
|
*/
|
|
26340
26343
|
|
|
26341
26344
|
/**
|
|
@@ -26466,7 +26469,7 @@ class GreetingsApi {
|
|
|
26466
26469
|
/**
|
|
26467
26470
|
* Greetings service.
|
|
26468
26471
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26469
|
-
* @version
|
|
26472
|
+
* @version 206.0.0
|
|
26470
26473
|
*/
|
|
26471
26474
|
|
|
26472
26475
|
/**
|
|
@@ -26921,7 +26924,7 @@ class GroupsApi {
|
|
|
26921
26924
|
/**
|
|
26922
26925
|
* Groups service.
|
|
26923
26926
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26924
|
-
* @version
|
|
26927
|
+
* @version 206.0.0
|
|
26925
26928
|
*/
|
|
26926
26929
|
|
|
26927
26930
|
/**
|
|
@@ -27440,7 +27443,7 @@ class IdentityProviderApi {
|
|
|
27440
27443
|
/**
|
|
27441
27444
|
* IdentityProvider service.
|
|
27442
27445
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27443
|
-
* @version
|
|
27446
|
+
* @version 206.0.0
|
|
27444
27447
|
*/
|
|
27445
27448
|
|
|
27446
27449
|
/**
|
|
@@ -28301,7 +28304,7 @@ class InfrastructureAsCodeApi {
|
|
|
28301
28304
|
/**
|
|
28302
28305
|
* InfrastructureAsCode service.
|
|
28303
28306
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28304
|
-
* @version
|
|
28307
|
+
* @version 206.0.0
|
|
28305
28308
|
*/
|
|
28306
28309
|
|
|
28307
28310
|
/**
|
|
@@ -28468,7 +28471,7 @@ class IntegrationsApi {
|
|
|
28468
28471
|
/**
|
|
28469
28472
|
* Integrations service.
|
|
28470
28473
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28471
|
-
* @version
|
|
28474
|
+
* @version 206.0.0
|
|
28472
28475
|
*/
|
|
28473
28476
|
|
|
28474
28477
|
/**
|
|
@@ -30890,7 +30893,7 @@ class JourneyApi {
|
|
|
30890
30893
|
/**
|
|
30891
30894
|
* Journey service.
|
|
30892
30895
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30893
|
-
* @version
|
|
30896
|
+
* @version 206.0.0
|
|
30894
30897
|
*/
|
|
30895
30898
|
|
|
30896
30899
|
/**
|
|
@@ -31737,6 +31740,81 @@ class JourneyApi {
|
|
|
31737
31740
|
);
|
|
31738
31741
|
}
|
|
31739
31742
|
|
|
31743
|
+
/**
|
|
31744
|
+
* Get a Chart by ID
|
|
31745
|
+
* returns the latest version
|
|
31746
|
+
* @param {String} viewId viewId
|
|
31747
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31748
|
+
* @param {String} chartId chartId
|
|
31749
|
+
*/
|
|
31750
|
+
getJourneyViewVersionChart(viewId, journeyViewVersion, chartId) {
|
|
31751
|
+
// verify the required parameter 'viewId' is set
|
|
31752
|
+
if (viewId === undefined || viewId === null) {
|
|
31753
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';
|
|
31754
|
+
}
|
|
31755
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31756
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31757
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';
|
|
31758
|
+
}
|
|
31759
|
+
// verify the required parameter 'chartId' is set
|
|
31760
|
+
if (chartId === undefined || chartId === null) {
|
|
31761
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';
|
|
31762
|
+
}
|
|
31763
|
+
|
|
31764
|
+
return this.apiClient.callApi(
|
|
31765
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}',
|
|
31766
|
+
'GET',
|
|
31767
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId },
|
|
31768
|
+
{ },
|
|
31769
|
+
{ },
|
|
31770
|
+
{ },
|
|
31771
|
+
null,
|
|
31772
|
+
['PureCloud OAuth'],
|
|
31773
|
+
['application/json'],
|
|
31774
|
+
['application/json']
|
|
31775
|
+
);
|
|
31776
|
+
}
|
|
31777
|
+
|
|
31778
|
+
/**
|
|
31779
|
+
* Get a Chart by ID and version
|
|
31780
|
+
*
|
|
31781
|
+
* @param {String} viewId viewId
|
|
31782
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31783
|
+
* @param {String} chartId chartId
|
|
31784
|
+
* @param {String} chartVersion chartVersion
|
|
31785
|
+
*/
|
|
31786
|
+
getJourneyViewVersionChartVersion(viewId, journeyViewVersion, chartId, chartVersion) {
|
|
31787
|
+
// verify the required parameter 'viewId' is set
|
|
31788
|
+
if (viewId === undefined || viewId === null) {
|
|
31789
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';
|
|
31790
|
+
}
|
|
31791
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31792
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31793
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';
|
|
31794
|
+
}
|
|
31795
|
+
// verify the required parameter 'chartId' is set
|
|
31796
|
+
if (chartId === undefined || chartId === null) {
|
|
31797
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';
|
|
31798
|
+
}
|
|
31799
|
+
// verify the required parameter 'chartVersion' is set
|
|
31800
|
+
if (chartVersion === undefined || chartVersion === null) {
|
|
31801
|
+
throw 'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';
|
|
31802
|
+
}
|
|
31803
|
+
|
|
31804
|
+
return this.apiClient.callApi(
|
|
31805
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}',
|
|
31806
|
+
'GET',
|
|
31807
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId,'chartVersion': chartVersion },
|
|
31808
|
+
{ },
|
|
31809
|
+
{ },
|
|
31810
|
+
{ },
|
|
31811
|
+
null,
|
|
31812
|
+
['PureCloud OAuth'],
|
|
31813
|
+
['application/json'],
|
|
31814
|
+
['application/json']
|
|
31815
|
+
);
|
|
31816
|
+
}
|
|
31817
|
+
|
|
31740
31818
|
/**
|
|
31741
31819
|
* Get the job for a journey view version.
|
|
31742
31820
|
* used for long descriptions
|
|
@@ -31807,6 +31885,46 @@ class JourneyApi {
|
|
|
31807
31885
|
);
|
|
31808
31886
|
}
|
|
31809
31887
|
|
|
31888
|
+
/**
|
|
31889
|
+
* Get the chart result associated with a journey view job.
|
|
31890
|
+
*
|
|
31891
|
+
* @param {String} viewId Journey View Id
|
|
31892
|
+
* @param {String} journeyVersionId Journey View Version
|
|
31893
|
+
* @param {String} jobId JobId
|
|
31894
|
+
* @param {String} chartId ChartId
|
|
31895
|
+
*/
|
|
31896
|
+
getJourneyViewVersionJobResultsChart(viewId, journeyVersionId, jobId, chartId) {
|
|
31897
|
+
// verify the required parameter 'viewId' is set
|
|
31898
|
+
if (viewId === undefined || viewId === null) {
|
|
31899
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';
|
|
31900
|
+
}
|
|
31901
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
31902
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
31903
|
+
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';
|
|
31904
|
+
}
|
|
31905
|
+
// verify the required parameter 'jobId' is set
|
|
31906
|
+
if (jobId === undefined || jobId === null) {
|
|
31907
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';
|
|
31908
|
+
}
|
|
31909
|
+
// verify the required parameter 'chartId' is set
|
|
31910
|
+
if (chartId === undefined || chartId === null) {
|
|
31911
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';
|
|
31912
|
+
}
|
|
31913
|
+
|
|
31914
|
+
return this.apiClient.callApi(
|
|
31915
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}',
|
|
31916
|
+
'GET',
|
|
31917
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId,'chartId': chartId },
|
|
31918
|
+
{ },
|
|
31919
|
+
{ },
|
|
31920
|
+
{ },
|
|
31921
|
+
null,
|
|
31922
|
+
['PureCloud OAuth'],
|
|
31923
|
+
['application/json'],
|
|
31924
|
+
['application/json']
|
|
31925
|
+
);
|
|
31926
|
+
}
|
|
31927
|
+
|
|
31810
31928
|
/**
|
|
31811
31929
|
* Get the latest job of a journey view version.
|
|
31812
31930
|
* used for long descriptions
|
|
@@ -32084,6 +32202,46 @@ class JourneyApi {
|
|
|
32084
32202
|
);
|
|
32085
32203
|
}
|
|
32086
32204
|
|
|
32205
|
+
/**
|
|
32206
|
+
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
32207
|
+
* used for long descriptions
|
|
32208
|
+
* @param {String} viewId Journey View Id
|
|
32209
|
+
* @param {String} journeyVersionId Journey View Version
|
|
32210
|
+
* @param {String} jobId JobId
|
|
32211
|
+
* @param {Object} body journeyViewJob
|
|
32212
|
+
*/
|
|
32213
|
+
patchJourneyViewVersionJob(viewId, journeyVersionId, jobId, body) {
|
|
32214
|
+
// verify the required parameter 'viewId' is set
|
|
32215
|
+
if (viewId === undefined || viewId === null) {
|
|
32216
|
+
throw 'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';
|
|
32217
|
+
}
|
|
32218
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
32219
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
32220
|
+
throw 'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';
|
|
32221
|
+
}
|
|
32222
|
+
// verify the required parameter 'jobId' is set
|
|
32223
|
+
if (jobId === undefined || jobId === null) {
|
|
32224
|
+
throw 'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';
|
|
32225
|
+
}
|
|
32226
|
+
// verify the required parameter 'body' is set
|
|
32227
|
+
if (body === undefined || body === null) {
|
|
32228
|
+
throw 'Missing the required parameter "body" when calling patchJourneyViewVersionJob';
|
|
32229
|
+
}
|
|
32230
|
+
|
|
32231
|
+
return this.apiClient.callApi(
|
|
32232
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}',
|
|
32233
|
+
'PATCH',
|
|
32234
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId },
|
|
32235
|
+
{ },
|
|
32236
|
+
{ },
|
|
32237
|
+
{ },
|
|
32238
|
+
body,
|
|
32239
|
+
['PureCloud OAuth'],
|
|
32240
|
+
['application/json'],
|
|
32241
|
+
['application/json']
|
|
32242
|
+
);
|
|
32243
|
+
}
|
|
32244
|
+
|
|
32087
32245
|
/**
|
|
32088
32246
|
* Query for journey aggregates asynchronously
|
|
32089
32247
|
*
|
|
@@ -32527,13 +32685,48 @@ class JourneyApi {
|
|
|
32527
32685
|
);
|
|
32528
32686
|
}
|
|
32529
32687
|
|
|
32688
|
+
/**
|
|
32689
|
+
* Update a Journey View by ID and version
|
|
32690
|
+
* does not create a new version
|
|
32691
|
+
* @param {String} viewId viewId
|
|
32692
|
+
* @param {String} versionId versionId
|
|
32693
|
+
* @param {Object} body JourneyView
|
|
32694
|
+
*/
|
|
32695
|
+
putJourneyViewVersion(viewId, versionId, body) {
|
|
32696
|
+
// verify the required parameter 'viewId' is set
|
|
32697
|
+
if (viewId === undefined || viewId === null) {
|
|
32698
|
+
throw 'Missing the required parameter "viewId" when calling putJourneyViewVersion';
|
|
32699
|
+
}
|
|
32700
|
+
// verify the required parameter 'versionId' is set
|
|
32701
|
+
if (versionId === undefined || versionId === null) {
|
|
32702
|
+
throw 'Missing the required parameter "versionId" when calling putJourneyViewVersion';
|
|
32703
|
+
}
|
|
32704
|
+
// verify the required parameter 'body' is set
|
|
32705
|
+
if (body === undefined || body === null) {
|
|
32706
|
+
throw 'Missing the required parameter "body" when calling putJourneyViewVersion';
|
|
32707
|
+
}
|
|
32708
|
+
|
|
32709
|
+
return this.apiClient.callApi(
|
|
32710
|
+
'/api/v2/journey/views/{viewId}/versions/{versionId}',
|
|
32711
|
+
'PUT',
|
|
32712
|
+
{ 'viewId': viewId,'versionId': versionId },
|
|
32713
|
+
{ },
|
|
32714
|
+
{ },
|
|
32715
|
+
{ },
|
|
32716
|
+
body,
|
|
32717
|
+
['PureCloud OAuth'],
|
|
32718
|
+
['application/json'],
|
|
32719
|
+
['application/json']
|
|
32720
|
+
);
|
|
32721
|
+
}
|
|
32722
|
+
|
|
32530
32723
|
}
|
|
32531
32724
|
|
|
32532
32725
|
class KnowledgeApi {
|
|
32533
32726
|
/**
|
|
32534
32727
|
* Knowledge service.
|
|
32535
32728
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32536
|
-
* @version
|
|
32729
|
+
* @version 206.0.0
|
|
32537
32730
|
*/
|
|
32538
32731
|
|
|
32539
32732
|
/**
|
|
@@ -36421,7 +36614,7 @@ class LanguageUnderstandingApi {
|
|
|
36421
36614
|
/**
|
|
36422
36615
|
* LanguageUnderstanding service.
|
|
36423
36616
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
36424
|
-
* @version
|
|
36617
|
+
* @version 206.0.0
|
|
36425
36618
|
*/
|
|
36426
36619
|
|
|
36427
36620
|
/**
|
|
@@ -37455,7 +37648,7 @@ class LanguagesApi {
|
|
|
37455
37648
|
/**
|
|
37456
37649
|
* Languages service.
|
|
37457
37650
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
37458
|
-
* @version
|
|
37651
|
+
* @version 206.0.0
|
|
37459
37652
|
*/
|
|
37460
37653
|
|
|
37461
37654
|
/**
|
|
@@ -37677,7 +37870,7 @@ class LearningApi {
|
|
|
37677
37870
|
/**
|
|
37678
37871
|
* Learning service.
|
|
37679
37872
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37680
|
-
* @version
|
|
37873
|
+
* @version 206.0.0
|
|
37681
37874
|
*/
|
|
37682
37875
|
|
|
37683
37876
|
/**
|
|
@@ -38706,7 +38899,7 @@ class LicenseApi {
|
|
|
38706
38899
|
/**
|
|
38707
38900
|
* License service.
|
|
38708
38901
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38709
|
-
* @version
|
|
38902
|
+
* @version 206.0.0
|
|
38710
38903
|
*/
|
|
38711
38904
|
|
|
38712
38905
|
/**
|
|
@@ -38944,7 +39137,7 @@ class LocationsApi {
|
|
|
38944
39137
|
/**
|
|
38945
39138
|
* Locations service.
|
|
38946
39139
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38947
|
-
* @version
|
|
39140
|
+
* @version 206.0.0
|
|
38948
39141
|
*/
|
|
38949
39142
|
|
|
38950
39143
|
/**
|
|
@@ -39180,7 +39373,7 @@ class LogCaptureApi {
|
|
|
39180
39373
|
/**
|
|
39181
39374
|
* LogCapture service.
|
|
39182
39375
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
39183
|
-
* @version
|
|
39376
|
+
* @version 206.0.0
|
|
39184
39377
|
*/
|
|
39185
39378
|
|
|
39186
39379
|
/**
|
|
@@ -39380,7 +39573,7 @@ class MessagingApi {
|
|
|
39380
39573
|
/**
|
|
39381
39574
|
* Messaging service.
|
|
39382
39575
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
39383
|
-
* @version
|
|
39576
|
+
* @version 206.0.0
|
|
39384
39577
|
*/
|
|
39385
39578
|
|
|
39386
39579
|
/**
|
|
@@ -39739,7 +39932,7 @@ class MobileDevicesApi {
|
|
|
39739
39932
|
/**
|
|
39740
39933
|
* MobileDevices service.
|
|
39741
39934
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39742
|
-
* @version
|
|
39935
|
+
* @version 206.0.0
|
|
39743
39936
|
*/
|
|
39744
39937
|
|
|
39745
39938
|
/**
|
|
@@ -39890,7 +40083,7 @@ class NotificationsApi {
|
|
|
39890
40083
|
/**
|
|
39891
40084
|
* Notifications service.
|
|
39892
40085
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39893
|
-
* @version
|
|
40086
|
+
* @version 206.0.0
|
|
39894
40087
|
*/
|
|
39895
40088
|
|
|
39896
40089
|
/**
|
|
@@ -40123,7 +40316,7 @@ class OAuthApi {
|
|
|
40123
40316
|
/**
|
|
40124
40317
|
* OAuth service.
|
|
40125
40318
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
40126
|
-
* @version
|
|
40319
|
+
* @version 206.0.0
|
|
40127
40320
|
*/
|
|
40128
40321
|
|
|
40129
40322
|
/**
|
|
@@ -40489,7 +40682,7 @@ class ObjectsApi {
|
|
|
40489
40682
|
/**
|
|
40490
40683
|
* Objects service.
|
|
40491
40684
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
40492
|
-
* @version
|
|
40685
|
+
* @version 206.0.0
|
|
40493
40686
|
*/
|
|
40494
40687
|
|
|
40495
40688
|
/**
|
|
@@ -40759,7 +40952,7 @@ class OperationalEventsApi {
|
|
|
40759
40952
|
/**
|
|
40760
40953
|
* OperationalEvents service.
|
|
40761
40954
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40762
|
-
* @version
|
|
40955
|
+
* @version 206.0.0
|
|
40763
40956
|
*/
|
|
40764
40957
|
|
|
40765
40958
|
/**
|
|
@@ -40825,7 +41018,7 @@ class OrganizationApi {
|
|
|
40825
41018
|
/**
|
|
40826
41019
|
* Organization service.
|
|
40827
41020
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40828
|
-
* @version
|
|
41021
|
+
* @version 206.0.0
|
|
40829
41022
|
*/
|
|
40830
41023
|
|
|
40831
41024
|
/**
|
|
@@ -41367,7 +41560,7 @@ class OrganizationAuthorizationApi {
|
|
|
41367
41560
|
/**
|
|
41368
41561
|
* OrganizationAuthorization service.
|
|
41369
41562
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
41370
|
-
* @version
|
|
41563
|
+
* @version 206.0.0
|
|
41371
41564
|
*/
|
|
41372
41565
|
|
|
41373
41566
|
/**
|
|
@@ -42714,7 +42907,7 @@ class OutboundApi {
|
|
|
42714
42907
|
/**
|
|
42715
42908
|
* Outbound service.
|
|
42716
42909
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42717
|
-
* @version
|
|
42910
|
+
* @version 206.0.0
|
|
42718
42911
|
*/
|
|
42719
42912
|
|
|
42720
42913
|
/**
|
|
@@ -47161,7 +47354,7 @@ class PresenceApi {
|
|
|
47161
47354
|
/**
|
|
47162
47355
|
* Presence service.
|
|
47163
47356
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
47164
|
-
* @version
|
|
47357
|
+
* @version 206.0.0
|
|
47165
47358
|
*/
|
|
47166
47359
|
|
|
47167
47360
|
/**
|
|
@@ -47905,7 +48098,7 @@ class ProcessAutomationApi {
|
|
|
47905
48098
|
/**
|
|
47906
48099
|
* ProcessAutomation service.
|
|
47907
48100
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47908
|
-
* @version
|
|
48101
|
+
* @version 206.0.0
|
|
47909
48102
|
*/
|
|
47910
48103
|
|
|
47911
48104
|
/**
|
|
@@ -48144,7 +48337,7 @@ class QualityApi {
|
|
|
48144
48337
|
/**
|
|
48145
48338
|
* Quality service.
|
|
48146
48339
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
48147
|
-
* @version
|
|
48340
|
+
* @version 206.0.0
|
|
48148
48341
|
*/
|
|
48149
48342
|
|
|
48150
48343
|
/**
|
|
@@ -49930,7 +50123,7 @@ class RecordingApi {
|
|
|
49930
50123
|
/**
|
|
49931
50124
|
* Recording service.
|
|
49932
50125
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49933
|
-
* @version
|
|
50126
|
+
* @version 206.0.0
|
|
49934
50127
|
*/
|
|
49935
50128
|
|
|
49936
50129
|
/**
|
|
@@ -51589,7 +51782,7 @@ class ResponseManagementApi {
|
|
|
51589
51782
|
/**
|
|
51590
51783
|
* ResponseManagement service.
|
|
51591
51784
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51592
|
-
* @version
|
|
51785
|
+
* @version 206.0.0
|
|
51593
51786
|
*/
|
|
51594
51787
|
|
|
51595
51788
|
/**
|
|
@@ -52099,7 +52292,7 @@ class RoutingApi {
|
|
|
52099
52292
|
/**
|
|
52100
52293
|
* Routing service.
|
|
52101
52294
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
52102
|
-
* @version
|
|
52295
|
+
* @version 206.0.0
|
|
52103
52296
|
*/
|
|
52104
52297
|
|
|
52105
52298
|
/**
|
|
@@ -56247,7 +56440,7 @@ class SCIMApi {
|
|
|
56247
56440
|
/**
|
|
56248
56441
|
* SCIM service.
|
|
56249
56442
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
56250
|
-
* @version
|
|
56443
|
+
* @version 206.0.0
|
|
56251
56444
|
*/
|
|
56252
56445
|
|
|
56253
56446
|
/**
|
|
@@ -57124,7 +57317,7 @@ class ScreenRecordingApi {
|
|
|
57124
57317
|
/**
|
|
57125
57318
|
* ScreenRecording service.
|
|
57126
57319
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
57127
|
-
* @version
|
|
57320
|
+
* @version 206.0.0
|
|
57128
57321
|
*/
|
|
57129
57322
|
|
|
57130
57323
|
/**
|
|
@@ -57169,7 +57362,7 @@ class ScriptsApi {
|
|
|
57169
57362
|
/**
|
|
57170
57363
|
* Scripts service.
|
|
57171
57364
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
57172
|
-
* @version
|
|
57365
|
+
* @version 206.0.0
|
|
57173
57366
|
*/
|
|
57174
57367
|
|
|
57175
57368
|
/**
|
|
@@ -57613,7 +57806,7 @@ class SearchApi {
|
|
|
57613
57806
|
/**
|
|
57614
57807
|
* Search service.
|
|
57615
57808
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57616
|
-
* @version
|
|
57809
|
+
* @version 206.0.0
|
|
57617
57810
|
*/
|
|
57618
57811
|
|
|
57619
57812
|
/**
|
|
@@ -58302,7 +58495,7 @@ class SettingsApi {
|
|
|
58302
58495
|
/**
|
|
58303
58496
|
* Settings service.
|
|
58304
58497
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
58305
|
-
* @version
|
|
58498
|
+
* @version 206.0.0
|
|
58306
58499
|
*/
|
|
58307
58500
|
|
|
58308
58501
|
/**
|
|
@@ -58522,7 +58715,7 @@ class SpeechTextAnalyticsApi {
|
|
|
58522
58715
|
/**
|
|
58523
58716
|
* SpeechTextAnalytics service.
|
|
58524
58717
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
58525
|
-
* @version
|
|
58718
|
+
* @version 206.0.0
|
|
58526
58719
|
*/
|
|
58527
58720
|
|
|
58528
58721
|
/**
|
|
@@ -59857,7 +60050,7 @@ class StationsApi {
|
|
|
59857
60050
|
/**
|
|
59858
60051
|
* Stations service.
|
|
59859
60052
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59860
|
-
* @version
|
|
60053
|
+
* @version 206.0.0
|
|
59861
60054
|
*/
|
|
59862
60055
|
|
|
59863
60056
|
/**
|
|
@@ -59959,7 +60152,7 @@ class SuggestApi {
|
|
|
59959
60152
|
/**
|
|
59960
60153
|
* Suggest service.
|
|
59961
60154
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59962
|
-
* @version
|
|
60155
|
+
* @version 206.0.0
|
|
59963
60156
|
*/
|
|
59964
60157
|
|
|
59965
60158
|
/**
|
|
@@ -60098,7 +60291,7 @@ class TaskManagementApi {
|
|
|
60098
60291
|
/**
|
|
60099
60292
|
* TaskManagement service.
|
|
60100
60293
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
60101
|
-
* @version
|
|
60294
|
+
* @version 206.0.0
|
|
60102
60295
|
*/
|
|
60103
60296
|
|
|
60104
60297
|
/**
|
|
@@ -60213,6 +60406,66 @@ class TaskManagementApi {
|
|
|
60213
60406
|
);
|
|
60214
60407
|
}
|
|
60215
60408
|
|
|
60409
|
+
/**
|
|
60410
|
+
* Delete a rule
|
|
60411
|
+
*
|
|
60412
|
+
* @param {String} worktypeId Worktype id
|
|
60413
|
+
* @param {String} ruleId ruleId
|
|
60414
|
+
*/
|
|
60415
|
+
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60416
|
+
// verify the required parameter 'worktypeId' is set
|
|
60417
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60418
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60419
|
+
}
|
|
60420
|
+
// verify the required parameter 'ruleId' is set
|
|
60421
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60422
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60423
|
+
}
|
|
60424
|
+
|
|
60425
|
+
return this.apiClient.callApi(
|
|
60426
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
60427
|
+
'DELETE',
|
|
60428
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60429
|
+
{ },
|
|
60430
|
+
{ },
|
|
60431
|
+
{ },
|
|
60432
|
+
null,
|
|
60433
|
+
['PureCloud OAuth'],
|
|
60434
|
+
['application/json'],
|
|
60435
|
+
['application/json']
|
|
60436
|
+
);
|
|
60437
|
+
}
|
|
60438
|
+
|
|
60439
|
+
/**
|
|
60440
|
+
* Delete a rule
|
|
60441
|
+
*
|
|
60442
|
+
* @param {String} worktypeId Worktype id
|
|
60443
|
+
* @param {String} ruleId ruleId
|
|
60444
|
+
*/
|
|
60445
|
+
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
60446
|
+
// verify the required parameter 'worktypeId' is set
|
|
60447
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60448
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60449
|
+
}
|
|
60450
|
+
// verify the required parameter 'ruleId' is set
|
|
60451
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60452
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60453
|
+
}
|
|
60454
|
+
|
|
60455
|
+
return this.apiClient.callApi(
|
|
60456
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
60457
|
+
'DELETE',
|
|
60458
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60459
|
+
{ },
|
|
60460
|
+
{ },
|
|
60461
|
+
{ },
|
|
60462
|
+
null,
|
|
60463
|
+
['PureCloud OAuth'],
|
|
60464
|
+
['application/json'],
|
|
60465
|
+
['application/json']
|
|
60466
|
+
);
|
|
60467
|
+
}
|
|
60468
|
+
|
|
60216
60469
|
/**
|
|
60217
60470
|
* Delete a status
|
|
60218
60471
|
*
|
|
@@ -60735,6 +60988,126 @@ class TaskManagementApi {
|
|
|
60735
60988
|
);
|
|
60736
60989
|
}
|
|
60737
60990
|
|
|
60991
|
+
/**
|
|
60992
|
+
* Get an attribute change rule
|
|
60993
|
+
*
|
|
60994
|
+
* @param {String} worktypeId Worktype id
|
|
60995
|
+
* @param {String} ruleId ruleId
|
|
60996
|
+
*/
|
|
60997
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60998
|
+
// verify the required parameter 'worktypeId' is set
|
|
60999
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61000
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61001
|
+
}
|
|
61002
|
+
// verify the required parameter 'ruleId' is set
|
|
61003
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61004
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61005
|
+
}
|
|
61006
|
+
|
|
61007
|
+
return this.apiClient.callApi(
|
|
61008
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61009
|
+
'GET',
|
|
61010
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61011
|
+
{ },
|
|
61012
|
+
{ },
|
|
61013
|
+
{ },
|
|
61014
|
+
null,
|
|
61015
|
+
['PureCloud OAuth'],
|
|
61016
|
+
['application/json'],
|
|
61017
|
+
['application/json']
|
|
61018
|
+
);
|
|
61019
|
+
}
|
|
61020
|
+
|
|
61021
|
+
/**
|
|
61022
|
+
* Get all attribute-change rules for a worktype
|
|
61023
|
+
*
|
|
61024
|
+
* @param {String} worktypeId Worktype id
|
|
61025
|
+
* @param {Object} opts Optional parameters
|
|
61026
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61027
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
61028
|
+
*/
|
|
61029
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, opts) {
|
|
61030
|
+
opts = opts || {};
|
|
61031
|
+
|
|
61032
|
+
// verify the required parameter 'worktypeId' is set
|
|
61033
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61034
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61035
|
+
}
|
|
61036
|
+
|
|
61037
|
+
return this.apiClient.callApi(
|
|
61038
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61039
|
+
'GET',
|
|
61040
|
+
{ 'worktypeId': worktypeId },
|
|
61041
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61042
|
+
{ },
|
|
61043
|
+
{ },
|
|
61044
|
+
null,
|
|
61045
|
+
['PureCloud OAuth'],
|
|
61046
|
+
['application/json'],
|
|
61047
|
+
['application/json']
|
|
61048
|
+
);
|
|
61049
|
+
}
|
|
61050
|
+
|
|
61051
|
+
/**
|
|
61052
|
+
* Get an on-create rule
|
|
61053
|
+
*
|
|
61054
|
+
* @param {String} worktypeId Worktype id
|
|
61055
|
+
* @param {String} ruleId ruleId
|
|
61056
|
+
*/
|
|
61057
|
+
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
61058
|
+
// verify the required parameter 'worktypeId' is set
|
|
61059
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61060
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61061
|
+
}
|
|
61062
|
+
// verify the required parameter 'ruleId' is set
|
|
61063
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61064
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61065
|
+
}
|
|
61066
|
+
|
|
61067
|
+
return this.apiClient.callApi(
|
|
61068
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61069
|
+
'GET',
|
|
61070
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61071
|
+
{ },
|
|
61072
|
+
{ },
|
|
61073
|
+
{ },
|
|
61074
|
+
null,
|
|
61075
|
+
['PureCloud OAuth'],
|
|
61076
|
+
['application/json'],
|
|
61077
|
+
['application/json']
|
|
61078
|
+
);
|
|
61079
|
+
}
|
|
61080
|
+
|
|
61081
|
+
/**
|
|
61082
|
+
* Get all on-create rules for a worktype
|
|
61083
|
+
*
|
|
61084
|
+
* @param {String} worktypeId Worktype id
|
|
61085
|
+
* @param {Object} opts Optional parameters
|
|
61086
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61087
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
61088
|
+
*/
|
|
61089
|
+
getTaskmanagementWorktypeFlowsOncreateRules(worktypeId, opts) {
|
|
61090
|
+
opts = opts || {};
|
|
61091
|
+
|
|
61092
|
+
// verify the required parameter 'worktypeId' is set
|
|
61093
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61094
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';
|
|
61095
|
+
}
|
|
61096
|
+
|
|
61097
|
+
return this.apiClient.callApi(
|
|
61098
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61099
|
+
'GET',
|
|
61100
|
+
{ 'worktypeId': worktypeId },
|
|
61101
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61102
|
+
{ },
|
|
61103
|
+
{ },
|
|
61104
|
+
null,
|
|
61105
|
+
['PureCloud OAuth'],
|
|
61106
|
+
['application/json'],
|
|
61107
|
+
['application/json']
|
|
61108
|
+
);
|
|
61109
|
+
}
|
|
61110
|
+
|
|
60738
61111
|
/**
|
|
60739
61112
|
* Get a listing of a worktype's attribute change history
|
|
60740
61113
|
*
|
|
@@ -61071,6 +61444,76 @@ class TaskManagementApi {
|
|
|
61071
61444
|
);
|
|
61072
61445
|
}
|
|
61073
61446
|
|
|
61447
|
+
/**
|
|
61448
|
+
* Update the attributes of a rule
|
|
61449
|
+
*
|
|
61450
|
+
* @param {String} worktypeId Worktype id
|
|
61451
|
+
* @param {String} ruleId ruleId
|
|
61452
|
+
* @param {Object} body Rule
|
|
61453
|
+
*/
|
|
61454
|
+
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
|
|
61455
|
+
// verify the required parameter 'worktypeId' is set
|
|
61456
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61457
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61458
|
+
}
|
|
61459
|
+
// verify the required parameter 'ruleId' is set
|
|
61460
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61461
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61462
|
+
}
|
|
61463
|
+
// verify the required parameter 'body' is set
|
|
61464
|
+
if (body === undefined || body === null) {
|
|
61465
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61466
|
+
}
|
|
61467
|
+
|
|
61468
|
+
return this.apiClient.callApi(
|
|
61469
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61470
|
+
'PATCH',
|
|
61471
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61472
|
+
{ },
|
|
61473
|
+
{ },
|
|
61474
|
+
{ },
|
|
61475
|
+
body,
|
|
61476
|
+
['PureCloud OAuth'],
|
|
61477
|
+
['application/json'],
|
|
61478
|
+
['application/json']
|
|
61479
|
+
);
|
|
61480
|
+
}
|
|
61481
|
+
|
|
61482
|
+
/**
|
|
61483
|
+
* Update the attributes of a rule
|
|
61484
|
+
*
|
|
61485
|
+
* @param {String} worktypeId Worktype id
|
|
61486
|
+
* @param {String} ruleId ruleId
|
|
61487
|
+
* @param {Object} body Rule
|
|
61488
|
+
*/
|
|
61489
|
+
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
|
|
61490
|
+
// verify the required parameter 'worktypeId' is set
|
|
61491
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61492
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61493
|
+
}
|
|
61494
|
+
// verify the required parameter 'ruleId' is set
|
|
61495
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61496
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61497
|
+
}
|
|
61498
|
+
// verify the required parameter 'body' is set
|
|
61499
|
+
if (body === undefined || body === null) {
|
|
61500
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61501
|
+
}
|
|
61502
|
+
|
|
61503
|
+
return this.apiClient.callApi(
|
|
61504
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61505
|
+
'PATCH',
|
|
61506
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61507
|
+
{ },
|
|
61508
|
+
{ },
|
|
61509
|
+
{ },
|
|
61510
|
+
body,
|
|
61511
|
+
['PureCloud OAuth'],
|
|
61512
|
+
['application/json'],
|
|
61513
|
+
['application/json']
|
|
61514
|
+
);
|
|
61515
|
+
}
|
|
61516
|
+
|
|
61074
61517
|
/**
|
|
61075
61518
|
* Update the attributes of a status
|
|
61076
61519
|
*
|
|
@@ -61336,6 +61779,66 @@ class TaskManagementApi {
|
|
|
61336
61779
|
);
|
|
61337
61780
|
}
|
|
61338
61781
|
|
|
61782
|
+
/**
|
|
61783
|
+
* Add an attribute-change rule to a worktype
|
|
61784
|
+
*
|
|
61785
|
+
* @param {String} worktypeId Worktype id
|
|
61786
|
+
* @param {Object} body Rule
|
|
61787
|
+
*/
|
|
61788
|
+
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
|
|
61789
|
+
// verify the required parameter 'worktypeId' is set
|
|
61790
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61791
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61792
|
+
}
|
|
61793
|
+
// verify the required parameter 'body' is set
|
|
61794
|
+
if (body === undefined || body === null) {
|
|
61795
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61796
|
+
}
|
|
61797
|
+
|
|
61798
|
+
return this.apiClient.callApi(
|
|
61799
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61800
|
+
'POST',
|
|
61801
|
+
{ 'worktypeId': worktypeId },
|
|
61802
|
+
{ },
|
|
61803
|
+
{ },
|
|
61804
|
+
{ },
|
|
61805
|
+
body,
|
|
61806
|
+
['PureCloud OAuth'],
|
|
61807
|
+
['application/json'],
|
|
61808
|
+
['application/json']
|
|
61809
|
+
);
|
|
61810
|
+
}
|
|
61811
|
+
|
|
61812
|
+
/**
|
|
61813
|
+
* Add an on-create rule to a worktype
|
|
61814
|
+
*
|
|
61815
|
+
* @param {String} worktypeId Worktype id
|
|
61816
|
+
* @param {Object} body Rule
|
|
61817
|
+
*/
|
|
61818
|
+
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
|
|
61819
|
+
// verify the required parameter 'worktypeId' is set
|
|
61820
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61821
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61822
|
+
}
|
|
61823
|
+
// verify the required parameter 'body' is set
|
|
61824
|
+
if (body === undefined || body === null) {
|
|
61825
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61826
|
+
}
|
|
61827
|
+
|
|
61828
|
+
return this.apiClient.callApi(
|
|
61829
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61830
|
+
'POST',
|
|
61831
|
+
{ 'worktypeId': worktypeId },
|
|
61832
|
+
{ },
|
|
61833
|
+
{ },
|
|
61834
|
+
{ },
|
|
61835
|
+
body,
|
|
61836
|
+
['PureCloud OAuth'],
|
|
61837
|
+
['application/json'],
|
|
61838
|
+
['application/json']
|
|
61839
|
+
);
|
|
61840
|
+
}
|
|
61841
|
+
|
|
61339
61842
|
/**
|
|
61340
61843
|
* Add a status to a worktype
|
|
61341
61844
|
*
|
|
@@ -61452,7 +61955,7 @@ class TeamsApi {
|
|
|
61452
61955
|
/**
|
|
61453
61956
|
* Teams service.
|
|
61454
61957
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
61455
|
-
* @version
|
|
61958
|
+
* @version 206.0.0
|
|
61456
61959
|
*/
|
|
61457
61960
|
|
|
61458
61961
|
/**
|
|
@@ -61753,7 +62256,7 @@ class TelephonyApi {
|
|
|
61753
62256
|
/**
|
|
61754
62257
|
* Telephony service.
|
|
61755
62258
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61756
|
-
* @version
|
|
62259
|
+
* @version 206.0.0
|
|
61757
62260
|
*/
|
|
61758
62261
|
|
|
61759
62262
|
/**
|
|
@@ -61935,7 +62438,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
61935
62438
|
/**
|
|
61936
62439
|
* TelephonyProvidersEdge service.
|
|
61937
62440
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61938
|
-
* @version
|
|
62441
|
+
* @version 206.0.0
|
|
61939
62442
|
*/
|
|
61940
62443
|
|
|
61941
62444
|
/**
|
|
@@ -65332,7 +65835,7 @@ class TextbotsApi {
|
|
|
65332
65835
|
/**
|
|
65333
65836
|
* Textbots service.
|
|
65334
65837
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
65335
|
-
* @version
|
|
65838
|
+
* @version 206.0.0
|
|
65336
65839
|
*/
|
|
65337
65840
|
|
|
65338
65841
|
/**
|
|
@@ -65460,7 +65963,7 @@ class TokensApi {
|
|
|
65460
65963
|
/**
|
|
65461
65964
|
* Tokens service.
|
|
65462
65965
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
65463
|
-
* @version
|
|
65966
|
+
* @version 206.0.0
|
|
65464
65967
|
*/
|
|
65465
65968
|
|
|
65466
65969
|
/**
|
|
@@ -65614,7 +66117,7 @@ class UploadsApi {
|
|
|
65614
66117
|
/**
|
|
65615
66118
|
* Uploads service.
|
|
65616
66119
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
65617
|
-
* @version
|
|
66120
|
+
* @version 206.0.0
|
|
65618
66121
|
*/
|
|
65619
66122
|
|
|
65620
66123
|
/**
|
|
@@ -65883,7 +66386,7 @@ class UsageApi {
|
|
|
65883
66386
|
/**
|
|
65884
66387
|
* Usage service.
|
|
65885
66388
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65886
|
-
* @version
|
|
66389
|
+
* @version 206.0.0
|
|
65887
66390
|
*/
|
|
65888
66391
|
|
|
65889
66392
|
/**
|
|
@@ -66098,7 +66601,7 @@ class UserRecordingsApi {
|
|
|
66098
66601
|
/**
|
|
66099
66602
|
* UserRecordings service.
|
|
66100
66603
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
66101
|
-
* @version
|
|
66604
|
+
* @version 206.0.0
|
|
66102
66605
|
*/
|
|
66103
66606
|
|
|
66104
66607
|
/**
|
|
@@ -66313,7 +66816,7 @@ class UsersApi {
|
|
|
66313
66816
|
/**
|
|
66314
66817
|
* Users service.
|
|
66315
66818
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
66316
|
-
* @version
|
|
66819
|
+
* @version 206.0.0
|
|
66317
66820
|
*/
|
|
66318
66821
|
|
|
66319
66822
|
/**
|
|
@@ -69116,7 +69619,7 @@ class UtilitiesApi {
|
|
|
69116
69619
|
/**
|
|
69117
69620
|
* Utilities service.
|
|
69118
69621
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
69119
|
-
* @version
|
|
69622
|
+
* @version 206.0.0
|
|
69120
69623
|
*/
|
|
69121
69624
|
|
|
69122
69625
|
/**
|
|
@@ -69227,7 +69730,7 @@ class VoicemailApi {
|
|
|
69227
69730
|
/**
|
|
69228
69731
|
* Voicemail service.
|
|
69229
69732
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
69230
|
-
* @version
|
|
69733
|
+
* @version 206.0.0
|
|
69231
69734
|
*/
|
|
69232
69735
|
|
|
69233
69736
|
/**
|
|
@@ -69894,7 +70397,7 @@ class WebChatApi {
|
|
|
69894
70397
|
/**
|
|
69895
70398
|
* WebChat service.
|
|
69896
70399
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69897
|
-
* @version
|
|
70400
|
+
* @version 206.0.0
|
|
69898
70401
|
*/
|
|
69899
70402
|
|
|
69900
70403
|
/**
|
|
@@ -70445,7 +70948,7 @@ class WebDeploymentsApi {
|
|
|
70445
70948
|
/**
|
|
70446
70949
|
* WebDeployments service.
|
|
70447
70950
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
70448
|
-
* @version
|
|
70951
|
+
* @version 206.0.0
|
|
70449
70952
|
*/
|
|
70450
70953
|
|
|
70451
70954
|
/**
|
|
@@ -70649,7 +71152,7 @@ class WebDeploymentsApi {
|
|
|
70649
71152
|
* View configuration drafts
|
|
70650
71153
|
*
|
|
70651
71154
|
* @param {Object} opts Optional parameters
|
|
70652
|
-
* @param {Boolean} opts.showOnlyPublished
|
|
71155
|
+
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
70653
71156
|
*/
|
|
70654
71157
|
getWebdeploymentsConfigurations(opts) {
|
|
70655
71158
|
opts = opts || {};
|
|
@@ -70972,7 +71475,7 @@ class WebMessagingApi {
|
|
|
70972
71475
|
/**
|
|
70973
71476
|
* WebMessaging service.
|
|
70974
71477
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70975
|
-
* @version
|
|
71478
|
+
* @version 206.0.0
|
|
70976
71479
|
*/
|
|
70977
71480
|
|
|
70978
71481
|
/**
|
|
@@ -71018,7 +71521,7 @@ class WidgetsApi {
|
|
|
71018
71521
|
/**
|
|
71019
71522
|
* Widgets service.
|
|
71020
71523
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
71021
|
-
* @version
|
|
71524
|
+
* @version 206.0.0
|
|
71022
71525
|
*/
|
|
71023
71526
|
|
|
71024
71527
|
/**
|
|
@@ -71164,7 +71667,7 @@ class WorkforceManagementApi {
|
|
|
71164
71667
|
/**
|
|
71165
71668
|
* WorkforceManagement service.
|
|
71166
71669
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
71167
|
-
* @version
|
|
71670
|
+
* @version 206.0.0
|
|
71168
71671
|
*/
|
|
71169
71672
|
|
|
71170
71673
|
/**
|
|
@@ -75247,6 +75750,35 @@ class WorkforceManagementApi {
|
|
|
75247
75750
|
);
|
|
75248
75751
|
}
|
|
75249
75752
|
|
|
75753
|
+
/**
|
|
75754
|
+
* Updates agent work plan configuration
|
|
75755
|
+
*
|
|
75756
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
75757
|
+
* @param {Object} opts Optional parameters
|
|
75758
|
+
* @param {Object} opts.body body
|
|
75759
|
+
*/
|
|
75760
|
+
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, opts) {
|
|
75761
|
+
opts = opts || {};
|
|
75762
|
+
|
|
75763
|
+
// verify the required parameter 'managementUnitId' is set
|
|
75764
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
75765
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
75766
|
+
}
|
|
75767
|
+
|
|
75768
|
+
return this.apiClient.callApi(
|
|
75769
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
|
|
75770
|
+
'PATCH',
|
|
75771
|
+
{ 'managementUnitId': managementUnitId },
|
|
75772
|
+
{ },
|
|
75773
|
+
{ },
|
|
75774
|
+
{ },
|
|
75775
|
+
opts['body'],
|
|
75776
|
+
['PureCloud OAuth'],
|
|
75777
|
+
['application/json'],
|
|
75778
|
+
['application/json']
|
|
75779
|
+
);
|
|
75780
|
+
}
|
|
75781
|
+
|
|
75250
75782
|
/**
|
|
75251
75783
|
* Updates a time off limit object.
|
|
75252
75784
|
* Updates time off limit object properties, but not daily values.
|
|
@@ -77167,6 +77699,36 @@ class WorkforceManagementApi {
|
|
|
77167
77699
|
);
|
|
77168
77700
|
}
|
|
77169
77701
|
|
|
77702
|
+
/**
|
|
77703
|
+
* Get agents work plans configuration
|
|
77704
|
+
*
|
|
77705
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77706
|
+
* @param {Object} opts Optional parameters
|
|
77707
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
77708
|
+
* @param {Object} opts.body body
|
|
77709
|
+
*/
|
|
77710
|
+
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
|
|
77711
|
+
opts = opts || {};
|
|
77712
|
+
|
|
77713
|
+
// verify the required parameter 'managementUnitId' is set
|
|
77714
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
77715
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
77716
|
+
}
|
|
77717
|
+
|
|
77718
|
+
return this.apiClient.callApi(
|
|
77719
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
|
|
77720
|
+
'POST',
|
|
77721
|
+
{ 'managementUnitId': managementUnitId },
|
|
77722
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77723
|
+
{ },
|
|
77724
|
+
{ },
|
|
77725
|
+
opts['body'],
|
|
77726
|
+
['PureCloud OAuth'],
|
|
77727
|
+
['application/json'],
|
|
77728
|
+
['application/json']
|
|
77729
|
+
);
|
|
77730
|
+
}
|
|
77731
|
+
|
|
77170
77732
|
/**
|
|
77171
77733
|
* Query published schedules for given given time range for set of users
|
|
77172
77734
|
*
|
|
@@ -78319,7 +78881,7 @@ class WorkforceManagementApi {
|
|
|
78319
78881
|
* </pre>
|
|
78320
78882
|
* </p>
|
|
78321
78883
|
* @module purecloud-platform-client-v2/index
|
|
78322
|
-
* @version
|
|
78884
|
+
* @version 206.0.0
|
|
78323
78885
|
*/
|
|
78324
78886
|
class platformClient {
|
|
78325
78887
|
constructor() {
|