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
|
@@ -402,7 +402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 206.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1824,7 +1824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1824
1824
|
/**
|
|
1825
1825
|
* AgentAssistants service.
|
|
1826
1826
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1827
|
-
* @version
|
|
1827
|
+
* @version 206.0.0
|
|
1828
1828
|
*/
|
|
1829
1829
|
|
|
1830
1830
|
/**
|
|
@@ -2200,7 +2200,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2200
2200
|
/**
|
|
2201
2201
|
* AgentCopilot service.
|
|
2202
2202
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2203
|
-
* @version
|
|
2203
|
+
* @version 206.0.0
|
|
2204
2204
|
*/
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
@@ -2276,7 +2276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2276
2276
|
/**
|
|
2277
2277
|
* AgentUI service.
|
|
2278
2278
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2279
|
-
* @version
|
|
2279
|
+
* @version 206.0.0
|
|
2280
2280
|
*/
|
|
2281
2281
|
|
|
2282
2282
|
/**
|
|
@@ -2407,7 +2407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Alerting service.
|
|
2409
2409
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2410
|
-
* @version
|
|
2410
|
+
* @version 206.0.0
|
|
2411
2411
|
*/
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
@@ -3068,7 +3068,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3068
3068
|
/**
|
|
3069
3069
|
* Analytics service.
|
|
3070
3070
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3071
|
-
* @version
|
|
3071
|
+
* @version 206.0.0
|
|
3072
3072
|
*/
|
|
3073
3073
|
|
|
3074
3074
|
/**
|
|
@@ -5680,7 +5680,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5680
5680
|
/**
|
|
5681
5681
|
* Architect service.
|
|
5682
5682
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5683
|
-
* @version
|
|
5683
|
+
* @version 206.0.0
|
|
5684
5684
|
*/
|
|
5685
5685
|
|
|
5686
5686
|
/**
|
|
@@ -9802,7 +9802,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9802
9802
|
/**
|
|
9803
9803
|
* Audit service.
|
|
9804
9804
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9805
|
-
* @version
|
|
9805
|
+
* @version 206.0.0
|
|
9806
9806
|
*/
|
|
9807
9807
|
|
|
9808
9808
|
/**
|
|
@@ -10003,7 +10003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10003
10003
|
/**
|
|
10004
10004
|
* Authorization service.
|
|
10005
10005
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10006
|
-
* @version
|
|
10006
|
+
* @version 206.0.0
|
|
10007
10007
|
*/
|
|
10008
10008
|
|
|
10009
10009
|
/**
|
|
@@ -11286,7 +11286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11286
11286
|
/**
|
|
11287
11287
|
* Billing service.
|
|
11288
11288
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11289
|
-
* @version
|
|
11289
|
+
* @version 206.0.0
|
|
11290
11290
|
*/
|
|
11291
11291
|
|
|
11292
11292
|
/**
|
|
@@ -11366,7 +11366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11366
11366
|
/**
|
|
11367
11367
|
* CarrierServices service.
|
|
11368
11368
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11369
|
-
* @version
|
|
11369
|
+
* @version 206.0.0
|
|
11370
11370
|
*/
|
|
11371
11371
|
|
|
11372
11372
|
/**
|
|
@@ -11436,7 +11436,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11436
11436
|
/**
|
|
11437
11437
|
* Chat service.
|
|
11438
11438
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11439
|
-
* @version
|
|
11439
|
+
* @version 206.0.0
|
|
11440
11440
|
*/
|
|
11441
11441
|
|
|
11442
11442
|
/**
|
|
@@ -12372,7 +12372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12372
12372
|
/**
|
|
12373
12373
|
* Coaching service.
|
|
12374
12374
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12375
|
-
* @version
|
|
12375
|
+
* @version 206.0.0
|
|
12376
12376
|
*/
|
|
12377
12377
|
|
|
12378
12378
|
/**
|
|
@@ -12949,7 +12949,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12949
12949
|
/**
|
|
12950
12950
|
* ContentManagement service.
|
|
12951
12951
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12952
|
-
* @version
|
|
12952
|
+
* @version 206.0.0
|
|
12953
12953
|
*/
|
|
12954
12954
|
|
|
12955
12955
|
/**
|
|
@@ -14031,7 +14031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14031
14031
|
/**
|
|
14032
14032
|
* Conversations service.
|
|
14033
14033
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14034
|
-
* @version
|
|
14034
|
+
* @version 206.0.0
|
|
14035
14035
|
*/
|
|
14036
14036
|
|
|
14037
14037
|
/**
|
|
@@ -17777,7 +17777,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17777
17777
|
* @param {String} conversationId conversationId
|
|
17778
17778
|
* @param {String} participantId participantId
|
|
17779
17779
|
* @param {Object} body Parking update request
|
|
17780
|
-
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17781
17780
|
*/
|
|
17782
17781
|
patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
|
|
17783
17782
|
// verify the required parameter 'conversationId' is set
|
|
@@ -20017,8 +20016,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20017
20016
|
* 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.
|
|
20018
20017
|
* @param {String} integrationId integrationId
|
|
20019
20018
|
* @param {Object} body NormalizedMessage
|
|
20019
|
+
* @param {Object} opts Optional parameters
|
|
20020
|
+
* @param {Boolean} opts.prefetchConversationId Indicates whether or not to prefetch conversationId (default to false)
|
|
20020
20021
|
*/
|
|
20021
|
-
postConversationsMessageInboundOpenMessage(integrationId, body) {
|
|
20022
|
+
postConversationsMessageInboundOpenMessage(integrationId, body, opts) {
|
|
20023
|
+
opts = opts || {};
|
|
20024
|
+
|
|
20022
20025
|
// verify the required parameter 'integrationId' is set
|
|
20023
20026
|
if (integrationId === undefined || integrationId === null) {
|
|
20024
20027
|
throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';
|
|
@@ -20032,7 +20035,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20032
20035
|
'/api/v2/conversations/messages/{integrationId}/inbound/open/message',
|
|
20033
20036
|
'POST',
|
|
20034
20037
|
{ 'integrationId': integrationId },
|
|
20035
|
-
{
|
|
20038
|
+
{ 'prefetchConversationId': opts['prefetchConversationId'] },
|
|
20036
20039
|
{ },
|
|
20037
20040
|
{ },
|
|
20038
20041
|
body,
|
|
@@ -21169,7 +21172,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21169
21172
|
/**
|
|
21170
21173
|
* DataExtensions service.
|
|
21171
21174
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21172
|
-
* @version
|
|
21175
|
+
* @version 206.0.0
|
|
21173
21176
|
*/
|
|
21174
21177
|
|
|
21175
21178
|
/**
|
|
@@ -21255,7 +21258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21255
21258
|
/**
|
|
21256
21259
|
* Downloads service.
|
|
21257
21260
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21258
|
-
* @version
|
|
21261
|
+
* @version 206.0.0
|
|
21259
21262
|
*/
|
|
21260
21263
|
|
|
21261
21264
|
/**
|
|
@@ -21307,7 +21310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21307
21310
|
/**
|
|
21308
21311
|
* Emails service.
|
|
21309
21312
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21310
|
-
* @version
|
|
21313
|
+
* @version 206.0.0
|
|
21311
21314
|
*/
|
|
21312
21315
|
|
|
21313
21316
|
/**
|
|
@@ -21372,7 +21375,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21372
21375
|
/**
|
|
21373
21376
|
* EmployeeEngagement service.
|
|
21374
21377
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21375
|
-
* @version
|
|
21378
|
+
* @version 206.0.0
|
|
21376
21379
|
*/
|
|
21377
21380
|
|
|
21378
21381
|
/**
|
|
@@ -21523,7 +21526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21523
21526
|
/**
|
|
21524
21527
|
* Events service.
|
|
21525
21528
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21526
|
-
* @version
|
|
21529
|
+
* @version 206.0.0
|
|
21527
21530
|
*/
|
|
21528
21531
|
|
|
21529
21532
|
/**
|
|
@@ -21619,7 +21622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21619
21622
|
/**
|
|
21620
21623
|
* ExternalContacts service.
|
|
21621
21624
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21622
|
-
* @version
|
|
21625
|
+
* @version 206.0.0
|
|
21623
21626
|
*/
|
|
21624
21627
|
|
|
21625
21628
|
/**
|
|
@@ -23718,7 +23721,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23718
23721
|
/**
|
|
23719
23722
|
* Fax service.
|
|
23720
23723
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23721
|
-
* @version
|
|
23724
|
+
* @version 206.0.0
|
|
23722
23725
|
*/
|
|
23723
23726
|
|
|
23724
23727
|
/**
|
|
@@ -23933,7 +23936,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23933
23936
|
/**
|
|
23934
23937
|
* Flows service.
|
|
23935
23938
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23936
|
-
* @version
|
|
23939
|
+
* @version 206.0.0
|
|
23937
23940
|
*/
|
|
23938
23941
|
|
|
23939
23942
|
/**
|
|
@@ -24116,7 +24119,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24116
24119
|
/**
|
|
24117
24120
|
* Gamification service.
|
|
24118
24121
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24119
|
-
* @version
|
|
24122
|
+
* @version 206.0.0
|
|
24120
24123
|
*/
|
|
24121
24124
|
|
|
24122
24125
|
/**
|
|
@@ -26202,7 +26205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26202
26205
|
/**
|
|
26203
26206
|
* GeneralDataProtectionRegulation service.
|
|
26204
26207
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26205
|
-
* @version
|
|
26208
|
+
* @version 206.0.0
|
|
26206
26209
|
*/
|
|
26207
26210
|
|
|
26208
26211
|
/**
|
|
@@ -26332,7 +26335,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26332
26335
|
/**
|
|
26333
26336
|
* Geolocation service.
|
|
26334
26337
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26335
|
-
* @version
|
|
26338
|
+
* @version 206.0.0
|
|
26336
26339
|
*/
|
|
26337
26340
|
|
|
26338
26341
|
/**
|
|
@@ -26463,7 +26466,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26463
26466
|
/**
|
|
26464
26467
|
* Greetings service.
|
|
26465
26468
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26466
|
-
* @version
|
|
26469
|
+
* @version 206.0.0
|
|
26467
26470
|
*/
|
|
26468
26471
|
|
|
26469
26472
|
/**
|
|
@@ -26918,7 +26921,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26918
26921
|
/**
|
|
26919
26922
|
* Groups service.
|
|
26920
26923
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26921
|
-
* @version
|
|
26924
|
+
* @version 206.0.0
|
|
26922
26925
|
*/
|
|
26923
26926
|
|
|
26924
26927
|
/**
|
|
@@ -27437,7 +27440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27437
27440
|
/**
|
|
27438
27441
|
* IdentityProvider service.
|
|
27439
27442
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27440
|
-
* @version
|
|
27443
|
+
* @version 206.0.0
|
|
27441
27444
|
*/
|
|
27442
27445
|
|
|
27443
27446
|
/**
|
|
@@ -28298,7 +28301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28298
28301
|
/**
|
|
28299
28302
|
* InfrastructureAsCode service.
|
|
28300
28303
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28301
|
-
* @version
|
|
28304
|
+
* @version 206.0.0
|
|
28302
28305
|
*/
|
|
28303
28306
|
|
|
28304
28307
|
/**
|
|
@@ -28465,7 +28468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28465
28468
|
/**
|
|
28466
28469
|
* Integrations service.
|
|
28467
28470
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28468
|
-
* @version
|
|
28471
|
+
* @version 206.0.0
|
|
28469
28472
|
*/
|
|
28470
28473
|
|
|
28471
28474
|
/**
|
|
@@ -30887,7 +30890,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30887
30890
|
/**
|
|
30888
30891
|
* Journey service.
|
|
30889
30892
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30890
|
-
* @version
|
|
30893
|
+
* @version 206.0.0
|
|
30891
30894
|
*/
|
|
30892
30895
|
|
|
30893
30896
|
/**
|
|
@@ -31734,6 +31737,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31734
31737
|
);
|
|
31735
31738
|
}
|
|
31736
31739
|
|
|
31740
|
+
/**
|
|
31741
|
+
* Get a Chart by ID
|
|
31742
|
+
* returns the latest version
|
|
31743
|
+
* @param {String} viewId viewId
|
|
31744
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31745
|
+
* @param {String} chartId chartId
|
|
31746
|
+
*/
|
|
31747
|
+
getJourneyViewVersionChart(viewId, journeyViewVersion, chartId) {
|
|
31748
|
+
// verify the required parameter 'viewId' is set
|
|
31749
|
+
if (viewId === undefined || viewId === null) {
|
|
31750
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';
|
|
31751
|
+
}
|
|
31752
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31753
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31754
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';
|
|
31755
|
+
}
|
|
31756
|
+
// verify the required parameter 'chartId' is set
|
|
31757
|
+
if (chartId === undefined || chartId === null) {
|
|
31758
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';
|
|
31759
|
+
}
|
|
31760
|
+
|
|
31761
|
+
return this.apiClient.callApi(
|
|
31762
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}',
|
|
31763
|
+
'GET',
|
|
31764
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId },
|
|
31765
|
+
{ },
|
|
31766
|
+
{ },
|
|
31767
|
+
{ },
|
|
31768
|
+
null,
|
|
31769
|
+
['PureCloud OAuth'],
|
|
31770
|
+
['application/json'],
|
|
31771
|
+
['application/json']
|
|
31772
|
+
);
|
|
31773
|
+
}
|
|
31774
|
+
|
|
31775
|
+
/**
|
|
31776
|
+
* Get a Chart by ID and version
|
|
31777
|
+
*
|
|
31778
|
+
* @param {String} viewId viewId
|
|
31779
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31780
|
+
* @param {String} chartId chartId
|
|
31781
|
+
* @param {String} chartVersion chartVersion
|
|
31782
|
+
*/
|
|
31783
|
+
getJourneyViewVersionChartVersion(viewId, journeyViewVersion, chartId, chartVersion) {
|
|
31784
|
+
// verify the required parameter 'viewId' is set
|
|
31785
|
+
if (viewId === undefined || viewId === null) {
|
|
31786
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';
|
|
31787
|
+
}
|
|
31788
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31789
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31790
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';
|
|
31791
|
+
}
|
|
31792
|
+
// verify the required parameter 'chartId' is set
|
|
31793
|
+
if (chartId === undefined || chartId === null) {
|
|
31794
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';
|
|
31795
|
+
}
|
|
31796
|
+
// verify the required parameter 'chartVersion' is set
|
|
31797
|
+
if (chartVersion === undefined || chartVersion === null) {
|
|
31798
|
+
throw 'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';
|
|
31799
|
+
}
|
|
31800
|
+
|
|
31801
|
+
return this.apiClient.callApi(
|
|
31802
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}',
|
|
31803
|
+
'GET',
|
|
31804
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId,'chartVersion': chartVersion },
|
|
31805
|
+
{ },
|
|
31806
|
+
{ },
|
|
31807
|
+
{ },
|
|
31808
|
+
null,
|
|
31809
|
+
['PureCloud OAuth'],
|
|
31810
|
+
['application/json'],
|
|
31811
|
+
['application/json']
|
|
31812
|
+
);
|
|
31813
|
+
}
|
|
31814
|
+
|
|
31737
31815
|
/**
|
|
31738
31816
|
* Get the job for a journey view version.
|
|
31739
31817
|
* used for long descriptions
|
|
@@ -31804,6 +31882,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31804
31882
|
);
|
|
31805
31883
|
}
|
|
31806
31884
|
|
|
31885
|
+
/**
|
|
31886
|
+
* Get the chart result associated with a journey view job.
|
|
31887
|
+
*
|
|
31888
|
+
* @param {String} viewId Journey View Id
|
|
31889
|
+
* @param {String} journeyVersionId Journey View Version
|
|
31890
|
+
* @param {String} jobId JobId
|
|
31891
|
+
* @param {String} chartId ChartId
|
|
31892
|
+
*/
|
|
31893
|
+
getJourneyViewVersionJobResultsChart(viewId, journeyVersionId, jobId, chartId) {
|
|
31894
|
+
// verify the required parameter 'viewId' is set
|
|
31895
|
+
if (viewId === undefined || viewId === null) {
|
|
31896
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';
|
|
31897
|
+
}
|
|
31898
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
31899
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
31900
|
+
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';
|
|
31901
|
+
}
|
|
31902
|
+
// verify the required parameter 'jobId' is set
|
|
31903
|
+
if (jobId === undefined || jobId === null) {
|
|
31904
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';
|
|
31905
|
+
}
|
|
31906
|
+
// verify the required parameter 'chartId' is set
|
|
31907
|
+
if (chartId === undefined || chartId === null) {
|
|
31908
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';
|
|
31909
|
+
}
|
|
31910
|
+
|
|
31911
|
+
return this.apiClient.callApi(
|
|
31912
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}',
|
|
31913
|
+
'GET',
|
|
31914
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId,'chartId': chartId },
|
|
31915
|
+
{ },
|
|
31916
|
+
{ },
|
|
31917
|
+
{ },
|
|
31918
|
+
null,
|
|
31919
|
+
['PureCloud OAuth'],
|
|
31920
|
+
['application/json'],
|
|
31921
|
+
['application/json']
|
|
31922
|
+
);
|
|
31923
|
+
}
|
|
31924
|
+
|
|
31807
31925
|
/**
|
|
31808
31926
|
* Get the latest job of a journey view version.
|
|
31809
31927
|
* used for long descriptions
|
|
@@ -32081,6 +32199,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32081
32199
|
);
|
|
32082
32200
|
}
|
|
32083
32201
|
|
|
32202
|
+
/**
|
|
32203
|
+
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
32204
|
+
* used for long descriptions
|
|
32205
|
+
* @param {String} viewId Journey View Id
|
|
32206
|
+
* @param {String} journeyVersionId Journey View Version
|
|
32207
|
+
* @param {String} jobId JobId
|
|
32208
|
+
* @param {Object} body journeyViewJob
|
|
32209
|
+
*/
|
|
32210
|
+
patchJourneyViewVersionJob(viewId, journeyVersionId, jobId, body) {
|
|
32211
|
+
// verify the required parameter 'viewId' is set
|
|
32212
|
+
if (viewId === undefined || viewId === null) {
|
|
32213
|
+
throw 'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';
|
|
32214
|
+
}
|
|
32215
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
32216
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
32217
|
+
throw 'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';
|
|
32218
|
+
}
|
|
32219
|
+
// verify the required parameter 'jobId' is set
|
|
32220
|
+
if (jobId === undefined || jobId === null) {
|
|
32221
|
+
throw 'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';
|
|
32222
|
+
}
|
|
32223
|
+
// verify the required parameter 'body' is set
|
|
32224
|
+
if (body === undefined || body === null) {
|
|
32225
|
+
throw 'Missing the required parameter "body" when calling patchJourneyViewVersionJob';
|
|
32226
|
+
}
|
|
32227
|
+
|
|
32228
|
+
return this.apiClient.callApi(
|
|
32229
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}',
|
|
32230
|
+
'PATCH',
|
|
32231
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId },
|
|
32232
|
+
{ },
|
|
32233
|
+
{ },
|
|
32234
|
+
{ },
|
|
32235
|
+
body,
|
|
32236
|
+
['PureCloud OAuth'],
|
|
32237
|
+
['application/json'],
|
|
32238
|
+
['application/json']
|
|
32239
|
+
);
|
|
32240
|
+
}
|
|
32241
|
+
|
|
32084
32242
|
/**
|
|
32085
32243
|
* Query for journey aggregates asynchronously
|
|
32086
32244
|
*
|
|
@@ -32524,13 +32682,48 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32524
32682
|
);
|
|
32525
32683
|
}
|
|
32526
32684
|
|
|
32685
|
+
/**
|
|
32686
|
+
* Update a Journey View by ID and version
|
|
32687
|
+
* does not create a new version
|
|
32688
|
+
* @param {String} viewId viewId
|
|
32689
|
+
* @param {String} versionId versionId
|
|
32690
|
+
* @param {Object} body JourneyView
|
|
32691
|
+
*/
|
|
32692
|
+
putJourneyViewVersion(viewId, versionId, body) {
|
|
32693
|
+
// verify the required parameter 'viewId' is set
|
|
32694
|
+
if (viewId === undefined || viewId === null) {
|
|
32695
|
+
throw 'Missing the required parameter "viewId" when calling putJourneyViewVersion';
|
|
32696
|
+
}
|
|
32697
|
+
// verify the required parameter 'versionId' is set
|
|
32698
|
+
if (versionId === undefined || versionId === null) {
|
|
32699
|
+
throw 'Missing the required parameter "versionId" when calling putJourneyViewVersion';
|
|
32700
|
+
}
|
|
32701
|
+
// verify the required parameter 'body' is set
|
|
32702
|
+
if (body === undefined || body === null) {
|
|
32703
|
+
throw 'Missing the required parameter "body" when calling putJourneyViewVersion';
|
|
32704
|
+
}
|
|
32705
|
+
|
|
32706
|
+
return this.apiClient.callApi(
|
|
32707
|
+
'/api/v2/journey/views/{viewId}/versions/{versionId}',
|
|
32708
|
+
'PUT',
|
|
32709
|
+
{ 'viewId': viewId,'versionId': versionId },
|
|
32710
|
+
{ },
|
|
32711
|
+
{ },
|
|
32712
|
+
{ },
|
|
32713
|
+
body,
|
|
32714
|
+
['PureCloud OAuth'],
|
|
32715
|
+
['application/json'],
|
|
32716
|
+
['application/json']
|
|
32717
|
+
);
|
|
32718
|
+
}
|
|
32719
|
+
|
|
32527
32720
|
}
|
|
32528
32721
|
|
|
32529
32722
|
class KnowledgeApi {
|
|
32530
32723
|
/**
|
|
32531
32724
|
* Knowledge service.
|
|
32532
32725
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32533
|
-
* @version
|
|
32726
|
+
* @version 206.0.0
|
|
32534
32727
|
*/
|
|
32535
32728
|
|
|
32536
32729
|
/**
|
|
@@ -36418,7 +36611,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36418
36611
|
/**
|
|
36419
36612
|
* LanguageUnderstanding service.
|
|
36420
36613
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
36421
|
-
* @version
|
|
36614
|
+
* @version 206.0.0
|
|
36422
36615
|
*/
|
|
36423
36616
|
|
|
36424
36617
|
/**
|
|
@@ -37452,7 +37645,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37452
37645
|
/**
|
|
37453
37646
|
* Languages service.
|
|
37454
37647
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
37455
|
-
* @version
|
|
37648
|
+
* @version 206.0.0
|
|
37456
37649
|
*/
|
|
37457
37650
|
|
|
37458
37651
|
/**
|
|
@@ -37674,7 +37867,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37674
37867
|
/**
|
|
37675
37868
|
* Learning service.
|
|
37676
37869
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37677
|
-
* @version
|
|
37870
|
+
* @version 206.0.0
|
|
37678
37871
|
*/
|
|
37679
37872
|
|
|
37680
37873
|
/**
|
|
@@ -38703,7 +38896,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38703
38896
|
/**
|
|
38704
38897
|
* License service.
|
|
38705
38898
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38706
|
-
* @version
|
|
38899
|
+
* @version 206.0.0
|
|
38707
38900
|
*/
|
|
38708
38901
|
|
|
38709
38902
|
/**
|
|
@@ -38941,7 +39134,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38941
39134
|
/**
|
|
38942
39135
|
* Locations service.
|
|
38943
39136
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38944
|
-
* @version
|
|
39137
|
+
* @version 206.0.0
|
|
38945
39138
|
*/
|
|
38946
39139
|
|
|
38947
39140
|
/**
|
|
@@ -39177,7 +39370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39177
39370
|
/**
|
|
39178
39371
|
* LogCapture service.
|
|
39179
39372
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
39180
|
-
* @version
|
|
39373
|
+
* @version 206.0.0
|
|
39181
39374
|
*/
|
|
39182
39375
|
|
|
39183
39376
|
/**
|
|
@@ -39377,7 +39570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39377
39570
|
/**
|
|
39378
39571
|
* Messaging service.
|
|
39379
39572
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
39380
|
-
* @version
|
|
39573
|
+
* @version 206.0.0
|
|
39381
39574
|
*/
|
|
39382
39575
|
|
|
39383
39576
|
/**
|
|
@@ -39736,7 +39929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39736
39929
|
/**
|
|
39737
39930
|
* MobileDevices service.
|
|
39738
39931
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39739
|
-
* @version
|
|
39932
|
+
* @version 206.0.0
|
|
39740
39933
|
*/
|
|
39741
39934
|
|
|
39742
39935
|
/**
|
|
@@ -39887,7 +40080,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39887
40080
|
/**
|
|
39888
40081
|
* Notifications service.
|
|
39889
40082
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39890
|
-
* @version
|
|
40083
|
+
* @version 206.0.0
|
|
39891
40084
|
*/
|
|
39892
40085
|
|
|
39893
40086
|
/**
|
|
@@ -40120,7 +40313,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40120
40313
|
/**
|
|
40121
40314
|
* OAuth service.
|
|
40122
40315
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
40123
|
-
* @version
|
|
40316
|
+
* @version 206.0.0
|
|
40124
40317
|
*/
|
|
40125
40318
|
|
|
40126
40319
|
/**
|
|
@@ -40486,7 +40679,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40486
40679
|
/**
|
|
40487
40680
|
* Objects service.
|
|
40488
40681
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
40489
|
-
* @version
|
|
40682
|
+
* @version 206.0.0
|
|
40490
40683
|
*/
|
|
40491
40684
|
|
|
40492
40685
|
/**
|
|
@@ -40756,7 +40949,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40756
40949
|
/**
|
|
40757
40950
|
* OperationalEvents service.
|
|
40758
40951
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40759
|
-
* @version
|
|
40952
|
+
* @version 206.0.0
|
|
40760
40953
|
*/
|
|
40761
40954
|
|
|
40762
40955
|
/**
|
|
@@ -40822,7 +41015,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40822
41015
|
/**
|
|
40823
41016
|
* Organization service.
|
|
40824
41017
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40825
|
-
* @version
|
|
41018
|
+
* @version 206.0.0
|
|
40826
41019
|
*/
|
|
40827
41020
|
|
|
40828
41021
|
/**
|
|
@@ -41364,7 +41557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41364
41557
|
/**
|
|
41365
41558
|
* OrganizationAuthorization service.
|
|
41366
41559
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
41367
|
-
* @version
|
|
41560
|
+
* @version 206.0.0
|
|
41368
41561
|
*/
|
|
41369
41562
|
|
|
41370
41563
|
/**
|
|
@@ -42711,7 +42904,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42711
42904
|
/**
|
|
42712
42905
|
* Outbound service.
|
|
42713
42906
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42714
|
-
* @version
|
|
42907
|
+
* @version 206.0.0
|
|
42715
42908
|
*/
|
|
42716
42909
|
|
|
42717
42910
|
/**
|
|
@@ -47158,7 +47351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47158
47351
|
/**
|
|
47159
47352
|
* Presence service.
|
|
47160
47353
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
47161
|
-
* @version
|
|
47354
|
+
* @version 206.0.0
|
|
47162
47355
|
*/
|
|
47163
47356
|
|
|
47164
47357
|
/**
|
|
@@ -47902,7 +48095,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47902
48095
|
/**
|
|
47903
48096
|
* ProcessAutomation service.
|
|
47904
48097
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47905
|
-
* @version
|
|
48098
|
+
* @version 206.0.0
|
|
47906
48099
|
*/
|
|
47907
48100
|
|
|
47908
48101
|
/**
|
|
@@ -48141,7 +48334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48141
48334
|
/**
|
|
48142
48335
|
* Quality service.
|
|
48143
48336
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
48144
|
-
* @version
|
|
48337
|
+
* @version 206.0.0
|
|
48145
48338
|
*/
|
|
48146
48339
|
|
|
48147
48340
|
/**
|
|
@@ -49927,7 +50120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49927
50120
|
/**
|
|
49928
50121
|
* Recording service.
|
|
49929
50122
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49930
|
-
* @version
|
|
50123
|
+
* @version 206.0.0
|
|
49931
50124
|
*/
|
|
49932
50125
|
|
|
49933
50126
|
/**
|
|
@@ -51586,7 +51779,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51586
51779
|
/**
|
|
51587
51780
|
* ResponseManagement service.
|
|
51588
51781
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51589
|
-
* @version
|
|
51782
|
+
* @version 206.0.0
|
|
51590
51783
|
*/
|
|
51591
51784
|
|
|
51592
51785
|
/**
|
|
@@ -52096,7 +52289,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52096
52289
|
/**
|
|
52097
52290
|
* Routing service.
|
|
52098
52291
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
52099
|
-
* @version
|
|
52292
|
+
* @version 206.0.0
|
|
52100
52293
|
*/
|
|
52101
52294
|
|
|
52102
52295
|
/**
|
|
@@ -56244,7 +56437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56244
56437
|
/**
|
|
56245
56438
|
* SCIM service.
|
|
56246
56439
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
56247
|
-
* @version
|
|
56440
|
+
* @version 206.0.0
|
|
56248
56441
|
*/
|
|
56249
56442
|
|
|
56250
56443
|
/**
|
|
@@ -57121,7 +57314,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57121
57314
|
/**
|
|
57122
57315
|
* ScreenRecording service.
|
|
57123
57316
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
57124
|
-
* @version
|
|
57317
|
+
* @version 206.0.0
|
|
57125
57318
|
*/
|
|
57126
57319
|
|
|
57127
57320
|
/**
|
|
@@ -57166,7 +57359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57166
57359
|
/**
|
|
57167
57360
|
* Scripts service.
|
|
57168
57361
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
57169
|
-
* @version
|
|
57362
|
+
* @version 206.0.0
|
|
57170
57363
|
*/
|
|
57171
57364
|
|
|
57172
57365
|
/**
|
|
@@ -57610,7 +57803,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57610
57803
|
/**
|
|
57611
57804
|
* Search service.
|
|
57612
57805
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57613
|
-
* @version
|
|
57806
|
+
* @version 206.0.0
|
|
57614
57807
|
*/
|
|
57615
57808
|
|
|
57616
57809
|
/**
|
|
@@ -58299,7 +58492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58299
58492
|
/**
|
|
58300
58493
|
* Settings service.
|
|
58301
58494
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
58302
|
-
* @version
|
|
58495
|
+
* @version 206.0.0
|
|
58303
58496
|
*/
|
|
58304
58497
|
|
|
58305
58498
|
/**
|
|
@@ -58519,7 +58712,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58519
58712
|
/**
|
|
58520
58713
|
* SpeechTextAnalytics service.
|
|
58521
58714
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
58522
|
-
* @version
|
|
58715
|
+
* @version 206.0.0
|
|
58523
58716
|
*/
|
|
58524
58717
|
|
|
58525
58718
|
/**
|
|
@@ -59854,7 +60047,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59854
60047
|
/**
|
|
59855
60048
|
* Stations service.
|
|
59856
60049
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59857
|
-
* @version
|
|
60050
|
+
* @version 206.0.0
|
|
59858
60051
|
*/
|
|
59859
60052
|
|
|
59860
60053
|
/**
|
|
@@ -59956,7 +60149,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59956
60149
|
/**
|
|
59957
60150
|
* Suggest service.
|
|
59958
60151
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59959
|
-
* @version
|
|
60152
|
+
* @version 206.0.0
|
|
59960
60153
|
*/
|
|
59961
60154
|
|
|
59962
60155
|
/**
|
|
@@ -60095,7 +60288,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60095
60288
|
/**
|
|
60096
60289
|
* TaskManagement service.
|
|
60097
60290
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
60098
|
-
* @version
|
|
60291
|
+
* @version 206.0.0
|
|
60099
60292
|
*/
|
|
60100
60293
|
|
|
60101
60294
|
/**
|
|
@@ -60210,6 +60403,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60210
60403
|
);
|
|
60211
60404
|
}
|
|
60212
60405
|
|
|
60406
|
+
/**
|
|
60407
|
+
* Delete a rule
|
|
60408
|
+
*
|
|
60409
|
+
* @param {String} worktypeId Worktype id
|
|
60410
|
+
* @param {String} ruleId ruleId
|
|
60411
|
+
*/
|
|
60412
|
+
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60413
|
+
// verify the required parameter 'worktypeId' is set
|
|
60414
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60415
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60416
|
+
}
|
|
60417
|
+
// verify the required parameter 'ruleId' is set
|
|
60418
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60419
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60420
|
+
}
|
|
60421
|
+
|
|
60422
|
+
return this.apiClient.callApi(
|
|
60423
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
60424
|
+
'DELETE',
|
|
60425
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60426
|
+
{ },
|
|
60427
|
+
{ },
|
|
60428
|
+
{ },
|
|
60429
|
+
null,
|
|
60430
|
+
['PureCloud OAuth'],
|
|
60431
|
+
['application/json'],
|
|
60432
|
+
['application/json']
|
|
60433
|
+
);
|
|
60434
|
+
}
|
|
60435
|
+
|
|
60436
|
+
/**
|
|
60437
|
+
* Delete a rule
|
|
60438
|
+
*
|
|
60439
|
+
* @param {String} worktypeId Worktype id
|
|
60440
|
+
* @param {String} ruleId ruleId
|
|
60441
|
+
*/
|
|
60442
|
+
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
60443
|
+
// verify the required parameter 'worktypeId' is set
|
|
60444
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60445
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60446
|
+
}
|
|
60447
|
+
// verify the required parameter 'ruleId' is set
|
|
60448
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60449
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60450
|
+
}
|
|
60451
|
+
|
|
60452
|
+
return this.apiClient.callApi(
|
|
60453
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
60454
|
+
'DELETE',
|
|
60455
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60456
|
+
{ },
|
|
60457
|
+
{ },
|
|
60458
|
+
{ },
|
|
60459
|
+
null,
|
|
60460
|
+
['PureCloud OAuth'],
|
|
60461
|
+
['application/json'],
|
|
60462
|
+
['application/json']
|
|
60463
|
+
);
|
|
60464
|
+
}
|
|
60465
|
+
|
|
60213
60466
|
/**
|
|
60214
60467
|
* Delete a status
|
|
60215
60468
|
*
|
|
@@ -60732,6 +60985,126 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60732
60985
|
);
|
|
60733
60986
|
}
|
|
60734
60987
|
|
|
60988
|
+
/**
|
|
60989
|
+
* Get an attribute change rule
|
|
60990
|
+
*
|
|
60991
|
+
* @param {String} worktypeId Worktype id
|
|
60992
|
+
* @param {String} ruleId ruleId
|
|
60993
|
+
*/
|
|
60994
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60995
|
+
// verify the required parameter 'worktypeId' is set
|
|
60996
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60997
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60998
|
+
}
|
|
60999
|
+
// verify the required parameter 'ruleId' is set
|
|
61000
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61001
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61002
|
+
}
|
|
61003
|
+
|
|
61004
|
+
return this.apiClient.callApi(
|
|
61005
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61006
|
+
'GET',
|
|
61007
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61008
|
+
{ },
|
|
61009
|
+
{ },
|
|
61010
|
+
{ },
|
|
61011
|
+
null,
|
|
61012
|
+
['PureCloud OAuth'],
|
|
61013
|
+
['application/json'],
|
|
61014
|
+
['application/json']
|
|
61015
|
+
);
|
|
61016
|
+
}
|
|
61017
|
+
|
|
61018
|
+
/**
|
|
61019
|
+
* Get all attribute-change rules for a worktype
|
|
61020
|
+
*
|
|
61021
|
+
* @param {String} worktypeId Worktype id
|
|
61022
|
+
* @param {Object} opts Optional parameters
|
|
61023
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61024
|
+
* @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)
|
|
61025
|
+
*/
|
|
61026
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, opts) {
|
|
61027
|
+
opts = opts || {};
|
|
61028
|
+
|
|
61029
|
+
// verify the required parameter 'worktypeId' is set
|
|
61030
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61031
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61032
|
+
}
|
|
61033
|
+
|
|
61034
|
+
return this.apiClient.callApi(
|
|
61035
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61036
|
+
'GET',
|
|
61037
|
+
{ 'worktypeId': worktypeId },
|
|
61038
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61039
|
+
{ },
|
|
61040
|
+
{ },
|
|
61041
|
+
null,
|
|
61042
|
+
['PureCloud OAuth'],
|
|
61043
|
+
['application/json'],
|
|
61044
|
+
['application/json']
|
|
61045
|
+
);
|
|
61046
|
+
}
|
|
61047
|
+
|
|
61048
|
+
/**
|
|
61049
|
+
* Get an on-create rule
|
|
61050
|
+
*
|
|
61051
|
+
* @param {String} worktypeId Worktype id
|
|
61052
|
+
* @param {String} ruleId ruleId
|
|
61053
|
+
*/
|
|
61054
|
+
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
61055
|
+
// verify the required parameter 'worktypeId' is set
|
|
61056
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61057
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61058
|
+
}
|
|
61059
|
+
// verify the required parameter 'ruleId' is set
|
|
61060
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61061
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61062
|
+
}
|
|
61063
|
+
|
|
61064
|
+
return this.apiClient.callApi(
|
|
61065
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61066
|
+
'GET',
|
|
61067
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61068
|
+
{ },
|
|
61069
|
+
{ },
|
|
61070
|
+
{ },
|
|
61071
|
+
null,
|
|
61072
|
+
['PureCloud OAuth'],
|
|
61073
|
+
['application/json'],
|
|
61074
|
+
['application/json']
|
|
61075
|
+
);
|
|
61076
|
+
}
|
|
61077
|
+
|
|
61078
|
+
/**
|
|
61079
|
+
* Get all on-create rules for a worktype
|
|
61080
|
+
*
|
|
61081
|
+
* @param {String} worktypeId Worktype id
|
|
61082
|
+
* @param {Object} opts Optional parameters
|
|
61083
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61084
|
+
* @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)
|
|
61085
|
+
*/
|
|
61086
|
+
getTaskmanagementWorktypeFlowsOncreateRules(worktypeId, opts) {
|
|
61087
|
+
opts = opts || {};
|
|
61088
|
+
|
|
61089
|
+
// verify the required parameter 'worktypeId' is set
|
|
61090
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61091
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';
|
|
61092
|
+
}
|
|
61093
|
+
|
|
61094
|
+
return this.apiClient.callApi(
|
|
61095
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61096
|
+
'GET',
|
|
61097
|
+
{ 'worktypeId': worktypeId },
|
|
61098
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61099
|
+
{ },
|
|
61100
|
+
{ },
|
|
61101
|
+
null,
|
|
61102
|
+
['PureCloud OAuth'],
|
|
61103
|
+
['application/json'],
|
|
61104
|
+
['application/json']
|
|
61105
|
+
);
|
|
61106
|
+
}
|
|
61107
|
+
|
|
60735
61108
|
/**
|
|
60736
61109
|
* Get a listing of a worktype's attribute change history
|
|
60737
61110
|
*
|
|
@@ -61068,6 +61441,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61068
61441
|
);
|
|
61069
61442
|
}
|
|
61070
61443
|
|
|
61444
|
+
/**
|
|
61445
|
+
* Update the attributes of a rule
|
|
61446
|
+
*
|
|
61447
|
+
* @param {String} worktypeId Worktype id
|
|
61448
|
+
* @param {String} ruleId ruleId
|
|
61449
|
+
* @param {Object} body Rule
|
|
61450
|
+
*/
|
|
61451
|
+
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
|
|
61452
|
+
// verify the required parameter 'worktypeId' is set
|
|
61453
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61454
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61455
|
+
}
|
|
61456
|
+
// verify the required parameter 'ruleId' is set
|
|
61457
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61458
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61459
|
+
}
|
|
61460
|
+
// verify the required parameter 'body' is set
|
|
61461
|
+
if (body === undefined || body === null) {
|
|
61462
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61463
|
+
}
|
|
61464
|
+
|
|
61465
|
+
return this.apiClient.callApi(
|
|
61466
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61467
|
+
'PATCH',
|
|
61468
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61469
|
+
{ },
|
|
61470
|
+
{ },
|
|
61471
|
+
{ },
|
|
61472
|
+
body,
|
|
61473
|
+
['PureCloud OAuth'],
|
|
61474
|
+
['application/json'],
|
|
61475
|
+
['application/json']
|
|
61476
|
+
);
|
|
61477
|
+
}
|
|
61478
|
+
|
|
61479
|
+
/**
|
|
61480
|
+
* Update the attributes of a rule
|
|
61481
|
+
*
|
|
61482
|
+
* @param {String} worktypeId Worktype id
|
|
61483
|
+
* @param {String} ruleId ruleId
|
|
61484
|
+
* @param {Object} body Rule
|
|
61485
|
+
*/
|
|
61486
|
+
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
|
|
61487
|
+
// verify the required parameter 'worktypeId' is set
|
|
61488
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61489
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61490
|
+
}
|
|
61491
|
+
// verify the required parameter 'ruleId' is set
|
|
61492
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61493
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61494
|
+
}
|
|
61495
|
+
// verify the required parameter 'body' is set
|
|
61496
|
+
if (body === undefined || body === null) {
|
|
61497
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61498
|
+
}
|
|
61499
|
+
|
|
61500
|
+
return this.apiClient.callApi(
|
|
61501
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61502
|
+
'PATCH',
|
|
61503
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61504
|
+
{ },
|
|
61505
|
+
{ },
|
|
61506
|
+
{ },
|
|
61507
|
+
body,
|
|
61508
|
+
['PureCloud OAuth'],
|
|
61509
|
+
['application/json'],
|
|
61510
|
+
['application/json']
|
|
61511
|
+
);
|
|
61512
|
+
}
|
|
61513
|
+
|
|
61071
61514
|
/**
|
|
61072
61515
|
* Update the attributes of a status
|
|
61073
61516
|
*
|
|
@@ -61333,6 +61776,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61333
61776
|
);
|
|
61334
61777
|
}
|
|
61335
61778
|
|
|
61779
|
+
/**
|
|
61780
|
+
* Add an attribute-change rule to a worktype
|
|
61781
|
+
*
|
|
61782
|
+
* @param {String} worktypeId Worktype id
|
|
61783
|
+
* @param {Object} body Rule
|
|
61784
|
+
*/
|
|
61785
|
+
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
|
|
61786
|
+
// verify the required parameter 'worktypeId' is set
|
|
61787
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61788
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61789
|
+
}
|
|
61790
|
+
// verify the required parameter 'body' is set
|
|
61791
|
+
if (body === undefined || body === null) {
|
|
61792
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61793
|
+
}
|
|
61794
|
+
|
|
61795
|
+
return this.apiClient.callApi(
|
|
61796
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61797
|
+
'POST',
|
|
61798
|
+
{ 'worktypeId': worktypeId },
|
|
61799
|
+
{ },
|
|
61800
|
+
{ },
|
|
61801
|
+
{ },
|
|
61802
|
+
body,
|
|
61803
|
+
['PureCloud OAuth'],
|
|
61804
|
+
['application/json'],
|
|
61805
|
+
['application/json']
|
|
61806
|
+
);
|
|
61807
|
+
}
|
|
61808
|
+
|
|
61809
|
+
/**
|
|
61810
|
+
* Add an on-create rule to a worktype
|
|
61811
|
+
*
|
|
61812
|
+
* @param {String} worktypeId Worktype id
|
|
61813
|
+
* @param {Object} body Rule
|
|
61814
|
+
*/
|
|
61815
|
+
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
|
|
61816
|
+
// verify the required parameter 'worktypeId' is set
|
|
61817
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61818
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61819
|
+
}
|
|
61820
|
+
// verify the required parameter 'body' is set
|
|
61821
|
+
if (body === undefined || body === null) {
|
|
61822
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61823
|
+
}
|
|
61824
|
+
|
|
61825
|
+
return this.apiClient.callApi(
|
|
61826
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61827
|
+
'POST',
|
|
61828
|
+
{ 'worktypeId': worktypeId },
|
|
61829
|
+
{ },
|
|
61830
|
+
{ },
|
|
61831
|
+
{ },
|
|
61832
|
+
body,
|
|
61833
|
+
['PureCloud OAuth'],
|
|
61834
|
+
['application/json'],
|
|
61835
|
+
['application/json']
|
|
61836
|
+
);
|
|
61837
|
+
}
|
|
61838
|
+
|
|
61336
61839
|
/**
|
|
61337
61840
|
* Add a status to a worktype
|
|
61338
61841
|
*
|
|
@@ -61449,7 +61952,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61449
61952
|
/**
|
|
61450
61953
|
* Teams service.
|
|
61451
61954
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
61452
|
-
* @version
|
|
61955
|
+
* @version 206.0.0
|
|
61453
61956
|
*/
|
|
61454
61957
|
|
|
61455
61958
|
/**
|
|
@@ -61750,7 +62253,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61750
62253
|
/**
|
|
61751
62254
|
* Telephony service.
|
|
61752
62255
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61753
|
-
* @version
|
|
62256
|
+
* @version 206.0.0
|
|
61754
62257
|
*/
|
|
61755
62258
|
|
|
61756
62259
|
/**
|
|
@@ -61932,7 +62435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61932
62435
|
/**
|
|
61933
62436
|
* TelephonyProvidersEdge service.
|
|
61934
62437
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61935
|
-
* @version
|
|
62438
|
+
* @version 206.0.0
|
|
61936
62439
|
*/
|
|
61937
62440
|
|
|
61938
62441
|
/**
|
|
@@ -65329,7 +65832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65329
65832
|
/**
|
|
65330
65833
|
* Textbots service.
|
|
65331
65834
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
65332
|
-
* @version
|
|
65835
|
+
* @version 206.0.0
|
|
65333
65836
|
*/
|
|
65334
65837
|
|
|
65335
65838
|
/**
|
|
@@ -65457,7 +65960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65457
65960
|
/**
|
|
65458
65961
|
* Tokens service.
|
|
65459
65962
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
65460
|
-
* @version
|
|
65963
|
+
* @version 206.0.0
|
|
65461
65964
|
*/
|
|
65462
65965
|
|
|
65463
65966
|
/**
|
|
@@ -65611,7 +66114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65611
66114
|
/**
|
|
65612
66115
|
* Uploads service.
|
|
65613
66116
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
65614
|
-
* @version
|
|
66117
|
+
* @version 206.0.0
|
|
65615
66118
|
*/
|
|
65616
66119
|
|
|
65617
66120
|
/**
|
|
@@ -65880,7 +66383,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65880
66383
|
/**
|
|
65881
66384
|
* Usage service.
|
|
65882
66385
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65883
|
-
* @version
|
|
66386
|
+
* @version 206.0.0
|
|
65884
66387
|
*/
|
|
65885
66388
|
|
|
65886
66389
|
/**
|
|
@@ -66095,7 +66598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66095
66598
|
/**
|
|
66096
66599
|
* UserRecordings service.
|
|
66097
66600
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
66098
|
-
* @version
|
|
66601
|
+
* @version 206.0.0
|
|
66099
66602
|
*/
|
|
66100
66603
|
|
|
66101
66604
|
/**
|
|
@@ -66310,7 +66813,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66310
66813
|
/**
|
|
66311
66814
|
* Users service.
|
|
66312
66815
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
66313
|
-
* @version
|
|
66816
|
+
* @version 206.0.0
|
|
66314
66817
|
*/
|
|
66315
66818
|
|
|
66316
66819
|
/**
|
|
@@ -69113,7 +69616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69113
69616
|
/**
|
|
69114
69617
|
* Utilities service.
|
|
69115
69618
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
69116
|
-
* @version
|
|
69619
|
+
* @version 206.0.0
|
|
69117
69620
|
*/
|
|
69118
69621
|
|
|
69119
69622
|
/**
|
|
@@ -69224,7 +69727,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69224
69727
|
/**
|
|
69225
69728
|
* Voicemail service.
|
|
69226
69729
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
69227
|
-
* @version
|
|
69730
|
+
* @version 206.0.0
|
|
69228
69731
|
*/
|
|
69229
69732
|
|
|
69230
69733
|
/**
|
|
@@ -69891,7 +70394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69891
70394
|
/**
|
|
69892
70395
|
* WebChat service.
|
|
69893
70396
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69894
|
-
* @version
|
|
70397
|
+
* @version 206.0.0
|
|
69895
70398
|
*/
|
|
69896
70399
|
|
|
69897
70400
|
/**
|
|
@@ -70442,7 +70945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70442
70945
|
/**
|
|
70443
70946
|
* WebDeployments service.
|
|
70444
70947
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
70445
|
-
* @version
|
|
70948
|
+
* @version 206.0.0
|
|
70446
70949
|
*/
|
|
70447
70950
|
|
|
70448
70951
|
/**
|
|
@@ -70646,7 +71149,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70646
71149
|
* View configuration drafts
|
|
70647
71150
|
*
|
|
70648
71151
|
* @param {Object} opts Optional parameters
|
|
70649
|
-
* @param {Boolean} opts.showOnlyPublished
|
|
71152
|
+
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
70650
71153
|
*/
|
|
70651
71154
|
getWebdeploymentsConfigurations(opts) {
|
|
70652
71155
|
opts = opts || {};
|
|
@@ -70969,7 +71472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70969
71472
|
/**
|
|
70970
71473
|
* WebMessaging service.
|
|
70971
71474
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70972
|
-
* @version
|
|
71475
|
+
* @version 206.0.0
|
|
70973
71476
|
*/
|
|
70974
71477
|
|
|
70975
71478
|
/**
|
|
@@ -71015,7 +71518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
71015
71518
|
/**
|
|
71016
71519
|
* Widgets service.
|
|
71017
71520
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
71018
|
-
* @version
|
|
71521
|
+
* @version 206.0.0
|
|
71019
71522
|
*/
|
|
71020
71523
|
|
|
71021
71524
|
/**
|
|
@@ -71161,7 +71664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
71161
71664
|
/**
|
|
71162
71665
|
* WorkforceManagement service.
|
|
71163
71666
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
71164
|
-
* @version
|
|
71667
|
+
* @version 206.0.0
|
|
71165
71668
|
*/
|
|
71166
71669
|
|
|
71167
71670
|
/**
|
|
@@ -75244,6 +75747,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
75244
75747
|
);
|
|
75245
75748
|
}
|
|
75246
75749
|
|
|
75750
|
+
/**
|
|
75751
|
+
* Updates agent work plan configuration
|
|
75752
|
+
*
|
|
75753
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
75754
|
+
* @param {Object} opts Optional parameters
|
|
75755
|
+
* @param {Object} opts.body body
|
|
75756
|
+
*/
|
|
75757
|
+
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, opts) {
|
|
75758
|
+
opts = opts || {};
|
|
75759
|
+
|
|
75760
|
+
// verify the required parameter 'managementUnitId' is set
|
|
75761
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
75762
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
75763
|
+
}
|
|
75764
|
+
|
|
75765
|
+
return this.apiClient.callApi(
|
|
75766
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
|
|
75767
|
+
'PATCH',
|
|
75768
|
+
{ 'managementUnitId': managementUnitId },
|
|
75769
|
+
{ },
|
|
75770
|
+
{ },
|
|
75771
|
+
{ },
|
|
75772
|
+
opts['body'],
|
|
75773
|
+
['PureCloud OAuth'],
|
|
75774
|
+
['application/json'],
|
|
75775
|
+
['application/json']
|
|
75776
|
+
);
|
|
75777
|
+
}
|
|
75778
|
+
|
|
75247
75779
|
/**
|
|
75248
75780
|
* Updates a time off limit object.
|
|
75249
75781
|
* Updates time off limit object properties, but not daily values.
|
|
@@ -77164,6 +77696,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
77164
77696
|
);
|
|
77165
77697
|
}
|
|
77166
77698
|
|
|
77699
|
+
/**
|
|
77700
|
+
* Get agents work plans configuration
|
|
77701
|
+
*
|
|
77702
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77703
|
+
* @param {Object} opts Optional parameters
|
|
77704
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
77705
|
+
* @param {Object} opts.body body
|
|
77706
|
+
*/
|
|
77707
|
+
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
|
|
77708
|
+
opts = opts || {};
|
|
77709
|
+
|
|
77710
|
+
// verify the required parameter 'managementUnitId' is set
|
|
77711
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
77712
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
77713
|
+
}
|
|
77714
|
+
|
|
77715
|
+
return this.apiClient.callApi(
|
|
77716
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
|
|
77717
|
+
'POST',
|
|
77718
|
+
{ 'managementUnitId': managementUnitId },
|
|
77719
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77720
|
+
{ },
|
|
77721
|
+
{ },
|
|
77722
|
+
opts['body'],
|
|
77723
|
+
['PureCloud OAuth'],
|
|
77724
|
+
['application/json'],
|
|
77725
|
+
['application/json']
|
|
77726
|
+
);
|
|
77727
|
+
}
|
|
77728
|
+
|
|
77167
77729
|
/**
|
|
77168
77730
|
* Query published schedules for given given time range for set of users
|
|
77169
77731
|
*
|
|
@@ -78316,7 +78878,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78316
78878
|
* </pre>
|
|
78317
78879
|
* </p>
|
|
78318
78880
|
* @module purecloud-platform-client-v2/index
|
|
78319
|
-
* @version
|
|
78881
|
+
* @version 206.0.0
|
|
78320
78882
|
*/
|
|
78321
78883
|
class platformClient {
|
|
78322
78884
|
constructor() {
|