purecloud-platform-client-v2 204.1.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 +1344 -85
- package/dist/web-amd/purecloud-platform-client-v2.js +1344 -85
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +410 -87
- package/dist/web-cjs/purecloud-platform-client-v2.js +410 -87
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +986 -7
- 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 +33 -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 +516 -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 +31 -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 +58 -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 +70 -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 +3 -3
- 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
|
/**
|
|
@@ -14813,6 +14813,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14813
14813
|
);
|
|
14814
14814
|
}
|
|
14815
14815
|
|
|
14816
|
+
/**
|
|
14817
|
+
* Get the summaries of the conversation.
|
|
14818
|
+
*
|
|
14819
|
+
* @param {String} conversationId Conversation ID
|
|
14820
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14821
|
+
*/
|
|
14822
|
+
getConversationSummaries(conversationId) {
|
|
14823
|
+
// verify the required parameter 'conversationId' is set
|
|
14824
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14825
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSummaries';
|
|
14826
|
+
}
|
|
14827
|
+
|
|
14828
|
+
return this.apiClient.callApi(
|
|
14829
|
+
'/api/v2/conversations/{conversationId}/summaries',
|
|
14830
|
+
'GET',
|
|
14831
|
+
{ 'conversationId': conversationId },
|
|
14832
|
+
{ },
|
|
14833
|
+
{ },
|
|
14834
|
+
{ },
|
|
14835
|
+
null,
|
|
14836
|
+
['PureCloud OAuth'],
|
|
14837
|
+
['application/json'],
|
|
14838
|
+
['application/json']
|
|
14839
|
+
);
|
|
14840
|
+
}
|
|
14841
|
+
|
|
14816
14842
|
/**
|
|
14817
14843
|
* Get active conversations for the logged in user
|
|
14818
14844
|
*
|
|
@@ -17751,7 +17777,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17751
17777
|
* @param {String} conversationId conversationId
|
|
17752
17778
|
* @param {String} participantId participantId
|
|
17753
17779
|
* @param {Object} body Parking update request
|
|
17754
|
-
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17755
17780
|
*/
|
|
17756
17781
|
patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
|
|
17757
17782
|
// verify the required parameter 'conversationId' is set
|
|
@@ -19991,8 +20016,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19991
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.
|
|
19992
20017
|
* @param {String} integrationId integrationId
|
|
19993
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)
|
|
19994
20021
|
*/
|
|
19995
|
-
postConversationsMessageInboundOpenMessage(integrationId, body) {
|
|
20022
|
+
postConversationsMessageInboundOpenMessage(integrationId, body, opts) {
|
|
20023
|
+
opts = opts || {};
|
|
20024
|
+
|
|
19996
20025
|
// verify the required parameter 'integrationId' is set
|
|
19997
20026
|
if (integrationId === undefined || integrationId === null) {
|
|
19998
20027
|
throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';
|
|
@@ -20006,7 +20035,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20006
20035
|
'/api/v2/conversations/messages/{integrationId}/inbound/open/message',
|
|
20007
20036
|
'POST',
|
|
20008
20037
|
{ 'integrationId': integrationId },
|
|
20009
|
-
{
|
|
20038
|
+
{ 'prefetchConversationId': opts['prefetchConversationId'] },
|
|
20010
20039
|
{ },
|
|
20011
20040
|
{ },
|
|
20012
20041
|
body,
|
|
@@ -21143,7 +21172,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21143
21172
|
/**
|
|
21144
21173
|
* DataExtensions service.
|
|
21145
21174
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21146
|
-
* @version
|
|
21175
|
+
* @version 206.0.0
|
|
21147
21176
|
*/
|
|
21148
21177
|
|
|
21149
21178
|
/**
|
|
@@ -21229,7 +21258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21229
21258
|
/**
|
|
21230
21259
|
* Downloads service.
|
|
21231
21260
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21232
|
-
* @version
|
|
21261
|
+
* @version 206.0.0
|
|
21233
21262
|
*/
|
|
21234
21263
|
|
|
21235
21264
|
/**
|
|
@@ -21281,7 +21310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21281
21310
|
/**
|
|
21282
21311
|
* Emails service.
|
|
21283
21312
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21284
|
-
* @version
|
|
21313
|
+
* @version 206.0.0
|
|
21285
21314
|
*/
|
|
21286
21315
|
|
|
21287
21316
|
/**
|
|
@@ -21346,7 +21375,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21346
21375
|
/**
|
|
21347
21376
|
* EmployeeEngagement service.
|
|
21348
21377
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21349
|
-
* @version
|
|
21378
|
+
* @version 206.0.0
|
|
21350
21379
|
*/
|
|
21351
21380
|
|
|
21352
21381
|
/**
|
|
@@ -21497,7 +21526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21497
21526
|
/**
|
|
21498
21527
|
* Events service.
|
|
21499
21528
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21500
|
-
* @version
|
|
21529
|
+
* @version 206.0.0
|
|
21501
21530
|
*/
|
|
21502
21531
|
|
|
21503
21532
|
/**
|
|
@@ -21593,7 +21622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21593
21622
|
/**
|
|
21594
21623
|
* ExternalContacts service.
|
|
21595
21624
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21596
|
-
* @version
|
|
21625
|
+
* @version 206.0.0
|
|
21597
21626
|
*/
|
|
21598
21627
|
|
|
21599
21628
|
/**
|
|
@@ -23692,7 +23721,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23692
23721
|
/**
|
|
23693
23722
|
* Fax service.
|
|
23694
23723
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23695
|
-
* @version
|
|
23724
|
+
* @version 206.0.0
|
|
23696
23725
|
*/
|
|
23697
23726
|
|
|
23698
23727
|
/**
|
|
@@ -23907,7 +23936,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23907
23936
|
/**
|
|
23908
23937
|
* Flows service.
|
|
23909
23938
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23910
|
-
* @version
|
|
23939
|
+
* @version 206.0.0
|
|
23911
23940
|
*/
|
|
23912
23941
|
|
|
23913
23942
|
/**
|
|
@@ -24090,7 +24119,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24090
24119
|
/**
|
|
24091
24120
|
* Gamification service.
|
|
24092
24121
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24093
|
-
* @version
|
|
24122
|
+
* @version 206.0.0
|
|
24094
24123
|
*/
|
|
24095
24124
|
|
|
24096
24125
|
/**
|
|
@@ -26176,7 +26205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26176
26205
|
/**
|
|
26177
26206
|
* GeneralDataProtectionRegulation service.
|
|
26178
26207
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26179
|
-
* @version
|
|
26208
|
+
* @version 206.0.0
|
|
26180
26209
|
*/
|
|
26181
26210
|
|
|
26182
26211
|
/**
|
|
@@ -26306,7 +26335,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26306
26335
|
/**
|
|
26307
26336
|
* Geolocation service.
|
|
26308
26337
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26309
|
-
* @version
|
|
26338
|
+
* @version 206.0.0
|
|
26310
26339
|
*/
|
|
26311
26340
|
|
|
26312
26341
|
/**
|
|
@@ -26437,7 +26466,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26437
26466
|
/**
|
|
26438
26467
|
* Greetings service.
|
|
26439
26468
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26440
|
-
* @version
|
|
26469
|
+
* @version 206.0.0
|
|
26441
26470
|
*/
|
|
26442
26471
|
|
|
26443
26472
|
/**
|
|
@@ -26892,7 +26921,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26892
26921
|
/**
|
|
26893
26922
|
* Groups service.
|
|
26894
26923
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26895
|
-
* @version
|
|
26924
|
+
* @version 206.0.0
|
|
26896
26925
|
*/
|
|
26897
26926
|
|
|
26898
26927
|
/**
|
|
@@ -27411,7 +27440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27411
27440
|
/**
|
|
27412
27441
|
* IdentityProvider service.
|
|
27413
27442
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27414
|
-
* @version
|
|
27443
|
+
* @version 206.0.0
|
|
27415
27444
|
*/
|
|
27416
27445
|
|
|
27417
27446
|
/**
|
|
@@ -28272,7 +28301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28272
28301
|
/**
|
|
28273
28302
|
* InfrastructureAsCode service.
|
|
28274
28303
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28275
|
-
* @version
|
|
28304
|
+
* @version 206.0.0
|
|
28276
28305
|
*/
|
|
28277
28306
|
|
|
28278
28307
|
/**
|
|
@@ -28439,7 +28468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28439
28468
|
/**
|
|
28440
28469
|
* Integrations service.
|
|
28441
28470
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28442
|
-
* @version
|
|
28471
|
+
* @version 206.0.0
|
|
28443
28472
|
*/
|
|
28444
28473
|
|
|
28445
28474
|
/**
|
|
@@ -30861,7 +30890,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30861
30890
|
/**
|
|
30862
30891
|
* Journey service.
|
|
30863
30892
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30864
|
-
* @version
|
|
30893
|
+
* @version 206.0.0
|
|
30865
30894
|
*/
|
|
30866
30895
|
|
|
30867
30896
|
/**
|
|
@@ -31708,6 +31737,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31708
31737
|
);
|
|
31709
31738
|
}
|
|
31710
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
|
+
|
|
31711
31815
|
/**
|
|
31712
31816
|
* Get the job for a journey view version.
|
|
31713
31817
|
* used for long descriptions
|
|
@@ -31778,6 +31882,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31778
31882
|
);
|
|
31779
31883
|
}
|
|
31780
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
|
+
|
|
31781
31925
|
/**
|
|
31782
31926
|
* Get the latest job of a journey view version.
|
|
31783
31927
|
* used for long descriptions
|
|
@@ -32055,6 +32199,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32055
32199
|
);
|
|
32056
32200
|
}
|
|
32057
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
|
+
|
|
32058
32242
|
/**
|
|
32059
32243
|
* Query for journey aggregates asynchronously
|
|
32060
32244
|
*
|
|
@@ -32498,13 +32682,48 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32498
32682
|
);
|
|
32499
32683
|
}
|
|
32500
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
|
+
|
|
32501
32720
|
}
|
|
32502
32721
|
|
|
32503
32722
|
class KnowledgeApi {
|
|
32504
32723
|
/**
|
|
32505
32724
|
* Knowledge service.
|
|
32506
32725
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32507
|
-
* @version
|
|
32726
|
+
* @version 206.0.0
|
|
32508
32727
|
*/
|
|
32509
32728
|
|
|
32510
32729
|
/**
|
|
@@ -32837,6 +33056,99 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32837
33056
|
);
|
|
32838
33057
|
}
|
|
32839
33058
|
|
|
33059
|
+
/**
|
|
33060
|
+
* Delete Salesforce Knowledge integration source
|
|
33061
|
+
*
|
|
33062
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33063
|
+
* @param {String} sourceId Source ID
|
|
33064
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33065
|
+
*/
|
|
33066
|
+
deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId) {
|
|
33067
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33068
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33069
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
33070
|
+
}
|
|
33071
|
+
// verify the required parameter 'sourceId' is set
|
|
33072
|
+
if (sourceId === undefined || sourceId === null) {
|
|
33073
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
33074
|
+
}
|
|
33075
|
+
|
|
33076
|
+
return this.apiClient.callApi(
|
|
33077
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
33078
|
+
'DELETE',
|
|
33079
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
33080
|
+
{ },
|
|
33081
|
+
{ },
|
|
33082
|
+
{ },
|
|
33083
|
+
null,
|
|
33084
|
+
['PureCloud OAuth'],
|
|
33085
|
+
['application/json'],
|
|
33086
|
+
['application/json']
|
|
33087
|
+
);
|
|
33088
|
+
}
|
|
33089
|
+
|
|
33090
|
+
/**
|
|
33091
|
+
* Delete ServiceNow Knowledge integration source
|
|
33092
|
+
*
|
|
33093
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33094
|
+
* @param {String} sourceId Source ID
|
|
33095
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33096
|
+
*/
|
|
33097
|
+
deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId) {
|
|
33098
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33099
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33100
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
33101
|
+
}
|
|
33102
|
+
// verify the required parameter 'sourceId' is set
|
|
33103
|
+
if (sourceId === undefined || sourceId === null) {
|
|
33104
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
33105
|
+
}
|
|
33106
|
+
|
|
33107
|
+
return this.apiClient.callApi(
|
|
33108
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
33109
|
+
'DELETE',
|
|
33110
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
33111
|
+
{ },
|
|
33112
|
+
{ },
|
|
33113
|
+
{ },
|
|
33114
|
+
null,
|
|
33115
|
+
['PureCloud OAuth'],
|
|
33116
|
+
['application/json'],
|
|
33117
|
+
['application/json']
|
|
33118
|
+
);
|
|
33119
|
+
}
|
|
33120
|
+
|
|
33121
|
+
/**
|
|
33122
|
+
* Delete synchronization job
|
|
33123
|
+
*
|
|
33124
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33125
|
+
* @param {String} syncJobId Synchronization job ID
|
|
33126
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33127
|
+
*/
|
|
33128
|
+
deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
33129
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33130
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33131
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
33132
|
+
}
|
|
33133
|
+
// verify the required parameter 'syncJobId' is set
|
|
33134
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
33135
|
+
throw 'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
33136
|
+
}
|
|
33137
|
+
|
|
33138
|
+
return this.apiClient.callApi(
|
|
33139
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
33140
|
+
'DELETE',
|
|
33141
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
33142
|
+
{ },
|
|
33143
|
+
{ },
|
|
33144
|
+
{ },
|
|
33145
|
+
null,
|
|
33146
|
+
['PureCloud OAuth'],
|
|
33147
|
+
['application/json'],
|
|
33148
|
+
['application/json']
|
|
33149
|
+
);
|
|
33150
|
+
}
|
|
33151
|
+
|
|
32840
33152
|
/**
|
|
32841
33153
|
* Get categories
|
|
32842
33154
|
*
|
|
@@ -32934,6 +33246,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32934
33246
|
);
|
|
32935
33247
|
}
|
|
32936
33248
|
|
|
33249
|
+
/**
|
|
33250
|
+
* Get sync options available for a knowledge-connect integration
|
|
33251
|
+
*
|
|
33252
|
+
* @param {String} integrationId Integration ID
|
|
33253
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33254
|
+
*/
|
|
33255
|
+
getKnowledgeIntegrationOptions(integrationId) {
|
|
33256
|
+
// verify the required parameter 'integrationId' is set
|
|
33257
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33258
|
+
throw 'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';
|
|
33259
|
+
}
|
|
33260
|
+
|
|
33261
|
+
return this.apiClient.callApi(
|
|
33262
|
+
'/api/v2/knowledge/integrations/{integrationId}/options',
|
|
33263
|
+
'GET',
|
|
33264
|
+
{ 'integrationId': integrationId },
|
|
33265
|
+
{ },
|
|
33266
|
+
{ },
|
|
33267
|
+
{ },
|
|
33268
|
+
null,
|
|
33269
|
+
['PureCloud OAuth'],
|
|
33270
|
+
['application/json'],
|
|
33271
|
+
['application/json']
|
|
33272
|
+
);
|
|
33273
|
+
}
|
|
33274
|
+
|
|
32937
33275
|
/**
|
|
32938
33276
|
* Get knowledge base
|
|
32939
33277
|
*
|
|
@@ -33944,6 +34282,139 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33944
34282
|
);
|
|
33945
34283
|
}
|
|
33946
34284
|
|
|
34285
|
+
/**
|
|
34286
|
+
* Get Knowledge integration sources
|
|
34287
|
+
*
|
|
34288
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34289
|
+
* @param {Object} opts Optional parameters
|
|
34290
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
34291
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34292
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
34293
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34294
|
+
*/
|
|
34295
|
+
getKnowledgeKnowledgebaseSources(knowledgeBaseId, opts) {
|
|
34296
|
+
opts = opts || {};
|
|
34297
|
+
|
|
34298
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34299
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34300
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';
|
|
34301
|
+
}
|
|
34302
|
+
|
|
34303
|
+
return this.apiClient.callApi(
|
|
34304
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources',
|
|
34305
|
+
'GET',
|
|
34306
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
34307
|
+
{ 'type': opts['type'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
|
|
34308
|
+
{ },
|
|
34309
|
+
{ },
|
|
34310
|
+
null,
|
|
34311
|
+
['PureCloud OAuth'],
|
|
34312
|
+
['application/json'],
|
|
34313
|
+
['application/json']
|
|
34314
|
+
);
|
|
34315
|
+
}
|
|
34316
|
+
|
|
34317
|
+
/**
|
|
34318
|
+
* Get Salesforce Knowledge integration source
|
|
34319
|
+
*
|
|
34320
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34321
|
+
* @param {String} sourceId Source ID
|
|
34322
|
+
* @param {Object} opts Optional parameters
|
|
34323
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34324
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34325
|
+
*/
|
|
34326
|
+
getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34327
|
+
opts = opts || {};
|
|
34328
|
+
|
|
34329
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34330
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34331
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34332
|
+
}
|
|
34333
|
+
// verify the required parameter 'sourceId' is set
|
|
34334
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34335
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34336
|
+
}
|
|
34337
|
+
|
|
34338
|
+
return this.apiClient.callApi(
|
|
34339
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
34340
|
+
'GET',
|
|
34341
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34342
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34343
|
+
{ },
|
|
34344
|
+
{ },
|
|
34345
|
+
null,
|
|
34346
|
+
['PureCloud OAuth'],
|
|
34347
|
+
['application/json'],
|
|
34348
|
+
['application/json']
|
|
34349
|
+
);
|
|
34350
|
+
}
|
|
34351
|
+
|
|
34352
|
+
/**
|
|
34353
|
+
* Get ServiceNow Knowledge integration source
|
|
34354
|
+
*
|
|
34355
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34356
|
+
* @param {String} sourceId Source ID
|
|
34357
|
+
* @param {Object} opts Optional parameters
|
|
34358
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34359
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34360
|
+
*/
|
|
34361
|
+
getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34362
|
+
opts = opts || {};
|
|
34363
|
+
|
|
34364
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34365
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34366
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34367
|
+
}
|
|
34368
|
+
// verify the required parameter 'sourceId' is set
|
|
34369
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34370
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34371
|
+
}
|
|
34372
|
+
|
|
34373
|
+
return this.apiClient.callApi(
|
|
34374
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
34375
|
+
'GET',
|
|
34376
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34377
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34378
|
+
{ },
|
|
34379
|
+
{ },
|
|
34380
|
+
null,
|
|
34381
|
+
['PureCloud OAuth'],
|
|
34382
|
+
['application/json'],
|
|
34383
|
+
['application/json']
|
|
34384
|
+
);
|
|
34385
|
+
}
|
|
34386
|
+
|
|
34387
|
+
/**
|
|
34388
|
+
* Get synchronization job report
|
|
34389
|
+
*
|
|
34390
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34391
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34392
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34393
|
+
*/
|
|
34394
|
+
getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
34395
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34396
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34397
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34398
|
+
}
|
|
34399
|
+
// verify the required parameter 'syncJobId' is set
|
|
34400
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34401
|
+
throw 'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34402
|
+
}
|
|
34403
|
+
|
|
34404
|
+
return this.apiClient.callApi(
|
|
34405
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34406
|
+
'GET',
|
|
34407
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34408
|
+
{ },
|
|
34409
|
+
{ },
|
|
34410
|
+
{ },
|
|
34411
|
+
null,
|
|
34412
|
+
['PureCloud OAuth'],
|
|
34413
|
+
['application/json'],
|
|
34414
|
+
['application/json']
|
|
34415
|
+
);
|
|
34416
|
+
}
|
|
34417
|
+
|
|
33947
34418
|
/**
|
|
33948
34419
|
* Get knowledge base unanswered group for a particular groupId
|
|
33949
34420
|
*
|
|
@@ -34628,6 +35099,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34628
35099
|
);
|
|
34629
35100
|
}
|
|
34630
35101
|
|
|
35102
|
+
/**
|
|
35103
|
+
* Update synchronization job
|
|
35104
|
+
*
|
|
35105
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
35106
|
+
* @param {String} syncJobId Synchronization job ID
|
|
35107
|
+
* @param {Object} body
|
|
35108
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35109
|
+
*/
|
|
35110
|
+
patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId, body) {
|
|
35111
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
35112
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
35113
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35114
|
+
}
|
|
35115
|
+
// verify the required parameter 'syncJobId' is set
|
|
35116
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
35117
|
+
throw 'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35118
|
+
}
|
|
35119
|
+
// verify the required parameter 'body' is set
|
|
35120
|
+
if (body === undefined || body === null) {
|
|
35121
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35122
|
+
}
|
|
35123
|
+
|
|
35124
|
+
return this.apiClient.callApi(
|
|
35125
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
35126
|
+
'PATCH',
|
|
35127
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
35128
|
+
{ },
|
|
35129
|
+
{ },
|
|
35130
|
+
{ },
|
|
35131
|
+
body,
|
|
35132
|
+
['PureCloud OAuth'],
|
|
35133
|
+
['application/json'],
|
|
35134
|
+
['application/json']
|
|
35135
|
+
);
|
|
35136
|
+
}
|
|
35137
|
+
|
|
34631
35138
|
/**
|
|
34632
35139
|
* Update a Knowledge base unanswered phrase group
|
|
34633
35140
|
*
|
|
@@ -35815,6 +36322,161 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35815
36322
|
);
|
|
35816
36323
|
}
|
|
35817
36324
|
|
|
36325
|
+
/**
|
|
36326
|
+
* Create Salesforce Knowledge integration source
|
|
36327
|
+
*
|
|
36328
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36329
|
+
* @param {Object} body
|
|
36330
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36331
|
+
*/
|
|
36332
|
+
postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId, body) {
|
|
36333
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36334
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36335
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36336
|
+
}
|
|
36337
|
+
// verify the required parameter 'body' is set
|
|
36338
|
+
if (body === undefined || body === null) {
|
|
36339
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36340
|
+
}
|
|
36341
|
+
|
|
36342
|
+
return this.apiClient.callApi(
|
|
36343
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce',
|
|
36344
|
+
'POST',
|
|
36345
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36346
|
+
{ },
|
|
36347
|
+
{ },
|
|
36348
|
+
{ },
|
|
36349
|
+
body,
|
|
36350
|
+
['PureCloud OAuth'],
|
|
36351
|
+
['application/json'],
|
|
36352
|
+
['application/json']
|
|
36353
|
+
);
|
|
36354
|
+
}
|
|
36355
|
+
|
|
36356
|
+
/**
|
|
36357
|
+
* Start sync on Salesforce Knowledge integration source
|
|
36358
|
+
*
|
|
36359
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36360
|
+
* @param {String} sourceId Source ID
|
|
36361
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36362
|
+
*/
|
|
36363
|
+
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36364
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36365
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36366
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36367
|
+
}
|
|
36368
|
+
// verify the required parameter 'sourceId' is set
|
|
36369
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36370
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36371
|
+
}
|
|
36372
|
+
|
|
36373
|
+
return this.apiClient.callApi(
|
|
36374
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync',
|
|
36375
|
+
'POST',
|
|
36376
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36377
|
+
{ },
|
|
36378
|
+
{ },
|
|
36379
|
+
{ },
|
|
36380
|
+
null,
|
|
36381
|
+
['PureCloud OAuth'],
|
|
36382
|
+
['application/json'],
|
|
36383
|
+
['application/json']
|
|
36384
|
+
);
|
|
36385
|
+
}
|
|
36386
|
+
|
|
36387
|
+
/**
|
|
36388
|
+
* Create ServiceNow Knowledge integration source
|
|
36389
|
+
*
|
|
36390
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36391
|
+
* @param {Object} body
|
|
36392
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36393
|
+
*/
|
|
36394
|
+
postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId, body) {
|
|
36395
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36396
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36397
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36398
|
+
}
|
|
36399
|
+
// verify the required parameter 'body' is set
|
|
36400
|
+
if (body === undefined || body === null) {
|
|
36401
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36402
|
+
}
|
|
36403
|
+
|
|
36404
|
+
return this.apiClient.callApi(
|
|
36405
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow',
|
|
36406
|
+
'POST',
|
|
36407
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36408
|
+
{ },
|
|
36409
|
+
{ },
|
|
36410
|
+
{ },
|
|
36411
|
+
body,
|
|
36412
|
+
['PureCloud OAuth'],
|
|
36413
|
+
['application/json'],
|
|
36414
|
+
['application/json']
|
|
36415
|
+
);
|
|
36416
|
+
}
|
|
36417
|
+
|
|
36418
|
+
/**
|
|
36419
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
36420
|
+
*
|
|
36421
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36422
|
+
* @param {String} sourceId Source ID
|
|
36423
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36424
|
+
*/
|
|
36425
|
+
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36426
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36427
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36428
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36429
|
+
}
|
|
36430
|
+
// verify the required parameter 'sourceId' is set
|
|
36431
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36432
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36433
|
+
}
|
|
36434
|
+
|
|
36435
|
+
return this.apiClient.callApi(
|
|
36436
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync',
|
|
36437
|
+
'POST',
|
|
36438
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36439
|
+
{ },
|
|
36440
|
+
{ },
|
|
36441
|
+
{ },
|
|
36442
|
+
null,
|
|
36443
|
+
['PureCloud OAuth'],
|
|
36444
|
+
['application/json'],
|
|
36445
|
+
['application/json']
|
|
36446
|
+
);
|
|
36447
|
+
}
|
|
36448
|
+
|
|
36449
|
+
/**
|
|
36450
|
+
* Create synchronization job
|
|
36451
|
+
*
|
|
36452
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36453
|
+
* @param {Object} body
|
|
36454
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36455
|
+
*/
|
|
36456
|
+
postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId, body) {
|
|
36457
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36458
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36459
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36460
|
+
}
|
|
36461
|
+
// verify the required parameter 'body' is set
|
|
36462
|
+
if (body === undefined || body === null) {
|
|
36463
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36464
|
+
}
|
|
36465
|
+
|
|
36466
|
+
return this.apiClient.callApi(
|
|
36467
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs',
|
|
36468
|
+
'POST',
|
|
36469
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36470
|
+
{ },
|
|
36471
|
+
{ },
|
|
36472
|
+
{ },
|
|
36473
|
+
body,
|
|
36474
|
+
['PureCloud OAuth'],
|
|
36475
|
+
['application/json'],
|
|
36476
|
+
['application/json']
|
|
36477
|
+
);
|
|
36478
|
+
}
|
|
36479
|
+
|
|
35818
36480
|
/**
|
|
35819
36481
|
* Create content upload from URL job
|
|
35820
36482
|
*
|
|
@@ -35871,13 +36533,85 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35871
36533
|
);
|
|
35872
36534
|
}
|
|
35873
36535
|
|
|
36536
|
+
/**
|
|
36537
|
+
* Update Salesforce Knowledge integration source
|
|
36538
|
+
*
|
|
36539
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36540
|
+
* @param {String} sourceId Source ID
|
|
36541
|
+
* @param {Object} body
|
|
36542
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36543
|
+
*/
|
|
36544
|
+
putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, body) {
|
|
36545
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36546
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36547
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36548
|
+
}
|
|
36549
|
+
// verify the required parameter 'sourceId' is set
|
|
36550
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36551
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36552
|
+
}
|
|
36553
|
+
// verify the required parameter 'body' is set
|
|
36554
|
+
if (body === undefined || body === null) {
|
|
36555
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36556
|
+
}
|
|
36557
|
+
|
|
36558
|
+
return this.apiClient.callApi(
|
|
36559
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
36560
|
+
'PUT',
|
|
36561
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36562
|
+
{ },
|
|
36563
|
+
{ },
|
|
36564
|
+
{ },
|
|
36565
|
+
body,
|
|
36566
|
+
['PureCloud OAuth'],
|
|
36567
|
+
['application/json'],
|
|
36568
|
+
['application/json']
|
|
36569
|
+
);
|
|
36570
|
+
}
|
|
36571
|
+
|
|
36572
|
+
/**
|
|
36573
|
+
* Update ServiceNow Knowledge integration source
|
|
36574
|
+
*
|
|
36575
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36576
|
+
* @param {String} sourceId Source ID
|
|
36577
|
+
* @param {Object} body
|
|
36578
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36579
|
+
*/
|
|
36580
|
+
putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, body) {
|
|
36581
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36582
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36583
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36584
|
+
}
|
|
36585
|
+
// verify the required parameter 'sourceId' is set
|
|
36586
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36587
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36588
|
+
}
|
|
36589
|
+
// verify the required parameter 'body' is set
|
|
36590
|
+
if (body === undefined || body === null) {
|
|
36591
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36592
|
+
}
|
|
36593
|
+
|
|
36594
|
+
return this.apiClient.callApi(
|
|
36595
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
36596
|
+
'PUT',
|
|
36597
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36598
|
+
{ },
|
|
36599
|
+
{ },
|
|
36600
|
+
{ },
|
|
36601
|
+
body,
|
|
36602
|
+
['PureCloud OAuth'],
|
|
36603
|
+
['application/json'],
|
|
36604
|
+
['application/json']
|
|
36605
|
+
);
|
|
36606
|
+
}
|
|
36607
|
+
|
|
35874
36608
|
}
|
|
35875
36609
|
|
|
35876
36610
|
class LanguageUnderstandingApi {
|
|
35877
36611
|
/**
|
|
35878
36612
|
* LanguageUnderstanding service.
|
|
35879
36613
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35880
|
-
* @version
|
|
36614
|
+
* @version 206.0.0
|
|
35881
36615
|
*/
|
|
35882
36616
|
|
|
35883
36617
|
/**
|
|
@@ -36911,7 +37645,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36911
37645
|
/**
|
|
36912
37646
|
* Languages service.
|
|
36913
37647
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36914
|
-
* @version
|
|
37648
|
+
* @version 206.0.0
|
|
36915
37649
|
*/
|
|
36916
37650
|
|
|
36917
37651
|
/**
|
|
@@ -37133,7 +37867,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37133
37867
|
/**
|
|
37134
37868
|
* Learning service.
|
|
37135
37869
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37136
|
-
* @version
|
|
37870
|
+
* @version 206.0.0
|
|
37137
37871
|
*/
|
|
37138
37872
|
|
|
37139
37873
|
/**
|
|
@@ -38162,7 +38896,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38162
38896
|
/**
|
|
38163
38897
|
* License service.
|
|
38164
38898
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38165
|
-
* @version
|
|
38899
|
+
* @version 206.0.0
|
|
38166
38900
|
*/
|
|
38167
38901
|
|
|
38168
38902
|
/**
|
|
@@ -38400,7 +39134,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38400
39134
|
/**
|
|
38401
39135
|
* Locations service.
|
|
38402
39136
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38403
|
-
* @version
|
|
39137
|
+
* @version 206.0.0
|
|
38404
39138
|
*/
|
|
38405
39139
|
|
|
38406
39140
|
/**
|
|
@@ -38636,7 +39370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38636
39370
|
/**
|
|
38637
39371
|
* LogCapture service.
|
|
38638
39372
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
38639
|
-
* @version
|
|
39373
|
+
* @version 206.0.0
|
|
38640
39374
|
*/
|
|
38641
39375
|
|
|
38642
39376
|
/**
|
|
@@ -38836,7 +39570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38836
39570
|
/**
|
|
38837
39571
|
* Messaging service.
|
|
38838
39572
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38839
|
-
* @version
|
|
39573
|
+
* @version 206.0.0
|
|
38840
39574
|
*/
|
|
38841
39575
|
|
|
38842
39576
|
/**
|
|
@@ -39195,7 +39929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39195
39929
|
/**
|
|
39196
39930
|
* MobileDevices service.
|
|
39197
39931
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39198
|
-
* @version
|
|
39932
|
+
* @version 206.0.0
|
|
39199
39933
|
*/
|
|
39200
39934
|
|
|
39201
39935
|
/**
|
|
@@ -39346,7 +40080,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39346
40080
|
/**
|
|
39347
40081
|
* Notifications service.
|
|
39348
40082
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39349
|
-
* @version
|
|
40083
|
+
* @version 206.0.0
|
|
39350
40084
|
*/
|
|
39351
40085
|
|
|
39352
40086
|
/**
|
|
@@ -39579,7 +40313,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39579
40313
|
/**
|
|
39580
40314
|
* OAuth service.
|
|
39581
40315
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
39582
|
-
* @version
|
|
40316
|
+
* @version 206.0.0
|
|
39583
40317
|
*/
|
|
39584
40318
|
|
|
39585
40319
|
/**
|
|
@@ -39945,7 +40679,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39945
40679
|
/**
|
|
39946
40680
|
* Objects service.
|
|
39947
40681
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39948
|
-
* @version
|
|
40682
|
+
* @version 206.0.0
|
|
39949
40683
|
*/
|
|
39950
40684
|
|
|
39951
40685
|
/**
|
|
@@ -40215,7 +40949,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40215
40949
|
/**
|
|
40216
40950
|
* OperationalEvents service.
|
|
40217
40951
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40218
|
-
* @version
|
|
40952
|
+
* @version 206.0.0
|
|
40219
40953
|
*/
|
|
40220
40954
|
|
|
40221
40955
|
/**
|
|
@@ -40281,7 +41015,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40281
41015
|
/**
|
|
40282
41016
|
* Organization service.
|
|
40283
41017
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40284
|
-
* @version
|
|
41018
|
+
* @version 206.0.0
|
|
40285
41019
|
*/
|
|
40286
41020
|
|
|
40287
41021
|
/**
|
|
@@ -40823,7 +41557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40823
41557
|
/**
|
|
40824
41558
|
* OrganizationAuthorization service.
|
|
40825
41559
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
40826
|
-
* @version
|
|
41560
|
+
* @version 206.0.0
|
|
40827
41561
|
*/
|
|
40828
41562
|
|
|
40829
41563
|
/**
|
|
@@ -42170,7 +42904,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42170
42904
|
/**
|
|
42171
42905
|
* Outbound service.
|
|
42172
42906
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42173
|
-
* @version
|
|
42907
|
+
* @version 206.0.0
|
|
42174
42908
|
*/
|
|
42175
42909
|
|
|
42176
42910
|
/**
|
|
@@ -43281,6 +44015,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43281
44015
|
);
|
|
43282
44016
|
}
|
|
43283
44017
|
|
|
44018
|
+
/**
|
|
44019
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
44020
|
+
*
|
|
44021
|
+
* @param {String} campaignId Campaign ID
|
|
44022
|
+
* @param {Object} opts Optional parameters
|
|
44023
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
44024
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
44025
|
+
*/
|
|
44026
|
+
getOutboundCampaignSkillcombinations(campaignId, opts) {
|
|
44027
|
+
opts = opts || {};
|
|
44028
|
+
|
|
44029
|
+
// verify the required parameter 'campaignId' is set
|
|
44030
|
+
if (campaignId === undefined || campaignId === null) {
|
|
44031
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';
|
|
44032
|
+
}
|
|
44033
|
+
|
|
44034
|
+
return this.apiClient.callApi(
|
|
44035
|
+
'/api/v2/outbound/campaigns/{campaignId}/skillcombinations',
|
|
44036
|
+
'GET',
|
|
44037
|
+
{ 'campaignId': campaignId },
|
|
44038
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
44039
|
+
{ },
|
|
44040
|
+
{ },
|
|
44041
|
+
null,
|
|
44042
|
+
['PureCloud OAuth'],
|
|
44043
|
+
['application/json'],
|
|
44044
|
+
['application/json']
|
|
44045
|
+
);
|
|
44046
|
+
}
|
|
44047
|
+
|
|
43284
44048
|
/**
|
|
43285
44049
|
* Get statistics about a Dialer Campaign
|
|
43286
44050
|
*
|
|
@@ -46587,7 +47351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46587
47351
|
/**
|
|
46588
47352
|
* Presence service.
|
|
46589
47353
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
46590
|
-
* @version
|
|
47354
|
+
* @version 206.0.0
|
|
46591
47355
|
*/
|
|
46592
47356
|
|
|
46593
47357
|
/**
|
|
@@ -47331,7 +48095,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47331
48095
|
/**
|
|
47332
48096
|
* ProcessAutomation service.
|
|
47333
48097
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47334
|
-
* @version
|
|
48098
|
+
* @version 206.0.0
|
|
47335
48099
|
*/
|
|
47336
48100
|
|
|
47337
48101
|
/**
|
|
@@ -47570,7 +48334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47570
48334
|
/**
|
|
47571
48335
|
* Quality service.
|
|
47572
48336
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
47573
|
-
* @version
|
|
48337
|
+
* @version 206.0.0
|
|
47574
48338
|
*/
|
|
47575
48339
|
|
|
47576
48340
|
/**
|
|
@@ -49356,7 +50120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49356
50120
|
/**
|
|
49357
50121
|
* Recording service.
|
|
49358
50122
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49359
|
-
* @version
|
|
50123
|
+
* @version 206.0.0
|
|
49360
50124
|
*/
|
|
49361
50125
|
|
|
49362
50126
|
/**
|
|
@@ -51015,7 +51779,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51015
51779
|
/**
|
|
51016
51780
|
* ResponseManagement service.
|
|
51017
51781
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51018
|
-
* @version
|
|
51782
|
+
* @version 206.0.0
|
|
51019
51783
|
*/
|
|
51020
51784
|
|
|
51021
51785
|
/**
|
|
@@ -51525,7 +52289,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51525
52289
|
/**
|
|
51526
52290
|
* Routing service.
|
|
51527
52291
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
51528
|
-
* @version
|
|
52292
|
+
* @version 206.0.0
|
|
51529
52293
|
*/
|
|
51530
52294
|
|
|
51531
52295
|
/**
|
|
@@ -55673,7 +56437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55673
56437
|
/**
|
|
55674
56438
|
* SCIM service.
|
|
55675
56439
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
55676
|
-
* @version
|
|
56440
|
+
* @version 206.0.0
|
|
55677
56441
|
*/
|
|
55678
56442
|
|
|
55679
56443
|
/**
|
|
@@ -56550,7 +57314,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56550
57314
|
/**
|
|
56551
57315
|
* ScreenRecording service.
|
|
56552
57316
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
56553
|
-
* @version
|
|
57317
|
+
* @version 206.0.0
|
|
56554
57318
|
*/
|
|
56555
57319
|
|
|
56556
57320
|
/**
|
|
@@ -56595,7 +57359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56595
57359
|
/**
|
|
56596
57360
|
* Scripts service.
|
|
56597
57361
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
56598
|
-
* @version
|
|
57362
|
+
* @version 206.0.0
|
|
56599
57363
|
*/
|
|
56600
57364
|
|
|
56601
57365
|
/**
|
|
@@ -57039,7 +57803,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57039
57803
|
/**
|
|
57040
57804
|
* Search service.
|
|
57041
57805
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57042
|
-
* @version
|
|
57806
|
+
* @version 206.0.0
|
|
57043
57807
|
*/
|
|
57044
57808
|
|
|
57045
57809
|
/**
|
|
@@ -57728,7 +58492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57728
58492
|
/**
|
|
57729
58493
|
* Settings service.
|
|
57730
58494
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
57731
|
-
* @version
|
|
58495
|
+
* @version 206.0.0
|
|
57732
58496
|
*/
|
|
57733
58497
|
|
|
57734
58498
|
/**
|
|
@@ -57948,7 +58712,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57948
58712
|
/**
|
|
57949
58713
|
* SpeechTextAnalytics service.
|
|
57950
58714
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57951
|
-
* @version
|
|
58715
|
+
* @version 206.0.0
|
|
57952
58716
|
*/
|
|
57953
58717
|
|
|
57954
58718
|
/**
|
|
@@ -58766,6 +59530,63 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58766
59530
|
);
|
|
58767
59531
|
}
|
|
58768
59532
|
|
|
59533
|
+
/**
|
|
59534
|
+
* Translate all communication(s) for an interaction.
|
|
59535
|
+
*
|
|
59536
|
+
* @param {String} languageId Target translation language
|
|
59537
|
+
* @param {String} conversationId Conversation id
|
|
59538
|
+
* @param {Object} opts Optional parameters
|
|
59539
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
59540
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
59541
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59542
|
+
*/
|
|
59543
|
+
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
59544
|
+
opts = opts || {};
|
|
59545
|
+
|
|
59546
|
+
// verify the required parameter 'languageId' is set
|
|
59547
|
+
if (languageId === undefined || languageId === null) {
|
|
59548
|
+
throw 'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59549
|
+
}
|
|
59550
|
+
// verify the required parameter 'conversationId' is set
|
|
59551
|
+
if (conversationId === undefined || conversationId === null) {
|
|
59552
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59553
|
+
}
|
|
59554
|
+
|
|
59555
|
+
return this.apiClient.callApi(
|
|
59556
|
+
'/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}',
|
|
59557
|
+
'GET',
|
|
59558
|
+
{ 'languageId': languageId,'conversationId': conversationId },
|
|
59559
|
+
{ 'communicationId': opts['communicationId'],'recordingId': opts['recordingId'] },
|
|
59560
|
+
{ },
|
|
59561
|
+
{ },
|
|
59562
|
+
null,
|
|
59563
|
+
['PureCloud OAuth'],
|
|
59564
|
+
['application/json'],
|
|
59565
|
+
['application/json']
|
|
59566
|
+
);
|
|
59567
|
+
}
|
|
59568
|
+
|
|
59569
|
+
/**
|
|
59570
|
+
* Get supported translation languages
|
|
59571
|
+
*
|
|
59572
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59573
|
+
*/
|
|
59574
|
+
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
59575
|
+
|
|
59576
|
+
return this.apiClient.callApi(
|
|
59577
|
+
'/api/v2/speechandtextanalytics/translations/languages',
|
|
59578
|
+
'GET',
|
|
59579
|
+
{ },
|
|
59580
|
+
{ },
|
|
59581
|
+
{ },
|
|
59582
|
+
{ },
|
|
59583
|
+
null,
|
|
59584
|
+
['PureCloud OAuth'],
|
|
59585
|
+
['application/json'],
|
|
59586
|
+
['application/json']
|
|
59587
|
+
);
|
|
59588
|
+
}
|
|
59589
|
+
|
|
58769
59590
|
/**
|
|
58770
59591
|
* Patch Speech And Text Analytics Settings
|
|
58771
59592
|
*
|
|
@@ -59226,7 +60047,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59226
60047
|
/**
|
|
59227
60048
|
* Stations service.
|
|
59228
60049
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59229
|
-
* @version
|
|
60050
|
+
* @version 206.0.0
|
|
59230
60051
|
*/
|
|
59231
60052
|
|
|
59232
60053
|
/**
|
|
@@ -59328,7 +60149,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59328
60149
|
/**
|
|
59329
60150
|
* Suggest service.
|
|
59330
60151
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59331
|
-
* @version
|
|
60152
|
+
* @version 206.0.0
|
|
59332
60153
|
*/
|
|
59333
60154
|
|
|
59334
60155
|
/**
|
|
@@ -59467,7 +60288,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59467
60288
|
/**
|
|
59468
60289
|
* TaskManagement service.
|
|
59469
60290
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
59470
|
-
* @version
|
|
60291
|
+
* @version 206.0.0
|
|
59471
60292
|
*/
|
|
59472
60293
|
|
|
59473
60294
|
/**
|
|
@@ -59582,6 +60403,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59582
60403
|
);
|
|
59583
60404
|
}
|
|
59584
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
|
+
|
|
59585
60466
|
/**
|
|
59586
60467
|
* Delete a status
|
|
59587
60468
|
*
|
|
@@ -60104,6 +60985,126 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60104
60985
|
);
|
|
60105
60986
|
}
|
|
60106
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
|
+
|
|
60107
61108
|
/**
|
|
60108
61109
|
* Get a listing of a worktype's attribute change history
|
|
60109
61110
|
*
|
|
@@ -60440,6 +61441,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60440
61441
|
);
|
|
60441
61442
|
}
|
|
60442
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
|
+
|
|
60443
61514
|
/**
|
|
60444
61515
|
* Update the attributes of a status
|
|
60445
61516
|
*
|
|
@@ -60705,6 +61776,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60705
61776
|
);
|
|
60706
61777
|
}
|
|
60707
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
|
+
|
|
60708
61839
|
/**
|
|
60709
61840
|
* Add a status to a worktype
|
|
60710
61841
|
*
|
|
@@ -60821,7 +61952,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60821
61952
|
/**
|
|
60822
61953
|
* Teams service.
|
|
60823
61954
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60824
|
-
* @version
|
|
61955
|
+
* @version 206.0.0
|
|
60825
61956
|
*/
|
|
60826
61957
|
|
|
60827
61958
|
/**
|
|
@@ -61122,7 +62253,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61122
62253
|
/**
|
|
61123
62254
|
* Telephony service.
|
|
61124
62255
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61125
|
-
* @version
|
|
62256
|
+
* @version 206.0.0
|
|
61126
62257
|
*/
|
|
61127
62258
|
|
|
61128
62259
|
/**
|
|
@@ -61304,7 +62435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61304
62435
|
/**
|
|
61305
62436
|
* TelephonyProvidersEdge service.
|
|
61306
62437
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61307
|
-
* @version
|
|
62438
|
+
* @version 206.0.0
|
|
61308
62439
|
*/
|
|
61309
62440
|
|
|
61310
62441
|
/**
|
|
@@ -61399,6 +62530,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61399
62530
|
);
|
|
61400
62531
|
}
|
|
61401
62532
|
|
|
62533
|
+
/**
|
|
62534
|
+
* Deletes alertable presences overrides.
|
|
62535
|
+
*
|
|
62536
|
+
*/
|
|
62537
|
+
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
62538
|
+
|
|
62539
|
+
return this.apiClient.callApi(
|
|
62540
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62541
|
+
'DELETE',
|
|
62542
|
+
{ },
|
|
62543
|
+
{ },
|
|
62544
|
+
{ },
|
|
62545
|
+
{ },
|
|
62546
|
+
null,
|
|
62547
|
+
['PureCloud OAuth'],
|
|
62548
|
+
['application/json'],
|
|
62549
|
+
['application/json']
|
|
62550
|
+
);
|
|
62551
|
+
}
|
|
62552
|
+
|
|
61402
62553
|
/**
|
|
61403
62554
|
* Delete a certificate authority.
|
|
61404
62555
|
*
|
|
@@ -62071,6 +63222,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62071
63222
|
);
|
|
62072
63223
|
}
|
|
62073
63224
|
|
|
63225
|
+
/**
|
|
63226
|
+
* Get the list alertable presences. The 'type' query parameter can be used to If there are any overrides, this is the list of overrides; if there are no overrides, it is the default list.
|
|
63227
|
+
*
|
|
63228
|
+
* @param {Object} opts Optional parameters
|
|
63229
|
+
* @param {Object} opts.type
|
|
63230
|
+
*/
|
|
63231
|
+
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
63232
|
+
opts = opts || {};
|
|
63233
|
+
|
|
63234
|
+
|
|
63235
|
+
return this.apiClient.callApi(
|
|
63236
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
63237
|
+
'GET',
|
|
63238
|
+
{ },
|
|
63239
|
+
{ 'type': opts['type'] },
|
|
63240
|
+
{ },
|
|
63241
|
+
{ },
|
|
63242
|
+
null,
|
|
63243
|
+
['PureCloud OAuth'],
|
|
63244
|
+
['application/json'],
|
|
63245
|
+
['application/json']
|
|
63246
|
+
);
|
|
63247
|
+
}
|
|
63248
|
+
|
|
62074
63249
|
/**
|
|
62075
63250
|
* Get the list of certificate authorities.
|
|
62076
63251
|
*
|
|
@@ -64256,6 +65431,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64256
65431
|
);
|
|
64257
65432
|
}
|
|
64258
65433
|
|
|
65434
|
+
/**
|
|
65435
|
+
* Creates or updates alertable presences overrides.
|
|
65436
|
+
*
|
|
65437
|
+
* @param {Object} body Alertable Presences Overrides
|
|
65438
|
+
*/
|
|
65439
|
+
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
65440
|
+
// verify the required parameter 'body' is set
|
|
65441
|
+
if (body === undefined || body === null) {
|
|
65442
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
65443
|
+
}
|
|
65444
|
+
|
|
65445
|
+
return this.apiClient.callApi(
|
|
65446
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
65447
|
+
'PUT',
|
|
65448
|
+
{ },
|
|
65449
|
+
{ },
|
|
65450
|
+
{ },
|
|
65451
|
+
{ },
|
|
65452
|
+
body,
|
|
65453
|
+
['PureCloud OAuth'],
|
|
65454
|
+
['application/json'],
|
|
65455
|
+
['application/json']
|
|
65456
|
+
);
|
|
65457
|
+
}
|
|
65458
|
+
|
|
64259
65459
|
/**
|
|
64260
65460
|
* Update a certificate authority.
|
|
64261
65461
|
*
|
|
@@ -64632,7 +65832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64632
65832
|
/**
|
|
64633
65833
|
* Textbots service.
|
|
64634
65834
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
64635
|
-
* @version
|
|
65835
|
+
* @version 206.0.0
|
|
64636
65836
|
*/
|
|
64637
65837
|
|
|
64638
65838
|
/**
|
|
@@ -64760,7 +65960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64760
65960
|
/**
|
|
64761
65961
|
* Tokens service.
|
|
64762
65962
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
64763
|
-
* @version
|
|
65963
|
+
* @version 206.0.0
|
|
64764
65964
|
*/
|
|
64765
65965
|
|
|
64766
65966
|
/**
|
|
@@ -64914,7 +66114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64914
66114
|
/**
|
|
64915
66115
|
* Uploads service.
|
|
64916
66116
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
64917
|
-
* @version
|
|
66117
|
+
* @version 206.0.0
|
|
64918
66118
|
*/
|
|
64919
66119
|
|
|
64920
66120
|
/**
|
|
@@ -65183,7 +66383,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65183
66383
|
/**
|
|
65184
66384
|
* Usage service.
|
|
65185
66385
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65186
|
-
* @version
|
|
66386
|
+
* @version 206.0.0
|
|
65187
66387
|
*/
|
|
65188
66388
|
|
|
65189
66389
|
/**
|
|
@@ -65398,7 +66598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65398
66598
|
/**
|
|
65399
66599
|
* UserRecordings service.
|
|
65400
66600
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
65401
|
-
* @version
|
|
66601
|
+
* @version 206.0.0
|
|
65402
66602
|
*/
|
|
65403
66603
|
|
|
65404
66604
|
/**
|
|
@@ -65613,7 +66813,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65613
66813
|
/**
|
|
65614
66814
|
* Users service.
|
|
65615
66815
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
65616
|
-
* @version
|
|
66816
|
+
* @version 206.0.0
|
|
65617
66817
|
*/
|
|
65618
66818
|
|
|
65619
66819
|
/**
|
|
@@ -68416,7 +69616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68416
69616
|
/**
|
|
68417
69617
|
* Utilities service.
|
|
68418
69618
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
68419
|
-
* @version
|
|
69619
|
+
* @version 206.0.0
|
|
68420
69620
|
*/
|
|
68421
69621
|
|
|
68422
69622
|
/**
|
|
@@ -68527,7 +69727,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68527
69727
|
/**
|
|
68528
69728
|
* Voicemail service.
|
|
68529
69729
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
68530
|
-
* @version
|
|
69730
|
+
* @version 206.0.0
|
|
68531
69731
|
*/
|
|
68532
69732
|
|
|
68533
69733
|
/**
|
|
@@ -69194,7 +70394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69194
70394
|
/**
|
|
69195
70395
|
* WebChat service.
|
|
69196
70396
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69197
|
-
* @version
|
|
70397
|
+
* @version 206.0.0
|
|
69198
70398
|
*/
|
|
69199
70399
|
|
|
69200
70400
|
/**
|
|
@@ -69745,7 +70945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69745
70945
|
/**
|
|
69746
70946
|
* WebDeployments service.
|
|
69747
70947
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
69748
|
-
* @version
|
|
70948
|
+
* @version 206.0.0
|
|
69749
70949
|
*/
|
|
69750
70950
|
|
|
69751
70951
|
/**
|
|
@@ -69949,7 +71149,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69949
71149
|
* View configuration drafts
|
|
69950
71150
|
*
|
|
69951
71151
|
* @param {Object} opts Optional parameters
|
|
69952
|
-
* @param {Boolean} opts.showOnlyPublished
|
|
71152
|
+
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
69953
71153
|
*/
|
|
69954
71154
|
getWebdeploymentsConfigurations(opts) {
|
|
69955
71155
|
opts = opts || {};
|
|
@@ -70062,7 +71262,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70062
71262
|
* Get deployments
|
|
70063
71263
|
*
|
|
70064
71264
|
* @param {Object} opts Optional parameters
|
|
70065
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
71265
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70066
71266
|
*/
|
|
70067
71267
|
getWebdeploymentsDeployments(opts) {
|
|
70068
71268
|
opts = opts || {};
|
|
@@ -70272,7 +71472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70272
71472
|
/**
|
|
70273
71473
|
* WebMessaging service.
|
|
70274
71474
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70275
|
-
* @version
|
|
71475
|
+
* @version 206.0.0
|
|
70276
71476
|
*/
|
|
70277
71477
|
|
|
70278
71478
|
/**
|
|
@@ -70318,7 +71518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70318
71518
|
/**
|
|
70319
71519
|
* Widgets service.
|
|
70320
71520
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
70321
|
-
* @version
|
|
71521
|
+
* @version 206.0.0
|
|
70322
71522
|
*/
|
|
70323
71523
|
|
|
70324
71524
|
/**
|
|
@@ -70464,7 +71664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70464
71664
|
/**
|
|
70465
71665
|
* WorkforceManagement service.
|
|
70466
71666
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
70467
|
-
* @version
|
|
71667
|
+
* @version 206.0.0
|
|
70468
71668
|
*/
|
|
70469
71669
|
|
|
70470
71670
|
/**
|
|
@@ -74547,6 +75747,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74547
75747
|
);
|
|
74548
75748
|
}
|
|
74549
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
|
+
|
|
74550
75779
|
/**
|
|
74551
75780
|
* Updates a time off limit object.
|
|
74552
75781
|
* Updates time off limit object properties, but not daily values.
|
|
@@ -76467,6 +77696,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
76467
77696
|
);
|
|
76468
77697
|
}
|
|
76469
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
|
+
|
|
76470
77729
|
/**
|
|
76471
77730
|
* Query published schedules for given given time range for set of users
|
|
76472
77731
|
*
|
|
@@ -77619,7 +78878,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
77619
78878
|
* </pre>
|
|
77620
78879
|
* </p>
|
|
77621
78880
|
* @module purecloud-platform-client-v2/index
|
|
77622
|
-
* @version
|
|
78881
|
+
* @version 206.0.0
|
|
77623
78882
|
*/
|
|
77624
78883
|
class platformClient {
|
|
77625
78884
|
constructor() {
|