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
|
@@ -405,7 +405,7 @@ class Configuration {
|
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* @module purecloud-platform-client-v2/ApiClient
|
|
408
|
-
* @version
|
|
408
|
+
* @version 206.0.0
|
|
409
409
|
*/
|
|
410
410
|
class ApiClient {
|
|
411
411
|
/**
|
|
@@ -1827,7 +1827,7 @@ class AgentAssistantsApi {
|
|
|
1827
1827
|
/**
|
|
1828
1828
|
* AgentAssistants service.
|
|
1829
1829
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1830
|
-
* @version
|
|
1830
|
+
* @version 206.0.0
|
|
1831
1831
|
*/
|
|
1832
1832
|
|
|
1833
1833
|
/**
|
|
@@ -2203,7 +2203,7 @@ class AgentCopilotApi {
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* AgentCopilot service.
|
|
2205
2205
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2206
|
-
* @version
|
|
2206
|
+
* @version 206.0.0
|
|
2207
2207
|
*/
|
|
2208
2208
|
|
|
2209
2209
|
/**
|
|
@@ -2279,7 +2279,7 @@ class AgentUIApi {
|
|
|
2279
2279
|
/**
|
|
2280
2280
|
* AgentUI service.
|
|
2281
2281
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 206.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
|
|
2285
2285
|
/**
|
|
@@ -2410,7 +2410,7 @@ class AlertingApi {
|
|
|
2410
2410
|
/**
|
|
2411
2411
|
* Alerting service.
|
|
2412
2412
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2413
|
-
* @version
|
|
2413
|
+
* @version 206.0.0
|
|
2414
2414
|
*/
|
|
2415
2415
|
|
|
2416
2416
|
/**
|
|
@@ -3071,7 +3071,7 @@ class AnalyticsApi {
|
|
|
3071
3071
|
/**
|
|
3072
3072
|
* Analytics service.
|
|
3073
3073
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3074
|
-
* @version
|
|
3074
|
+
* @version 206.0.0
|
|
3075
3075
|
*/
|
|
3076
3076
|
|
|
3077
3077
|
/**
|
|
@@ -5683,7 +5683,7 @@ class ArchitectApi {
|
|
|
5683
5683
|
/**
|
|
5684
5684
|
* Architect service.
|
|
5685
5685
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5686
|
-
* @version
|
|
5686
|
+
* @version 206.0.0
|
|
5687
5687
|
*/
|
|
5688
5688
|
|
|
5689
5689
|
/**
|
|
@@ -9805,7 +9805,7 @@ class AuditApi {
|
|
|
9805
9805
|
/**
|
|
9806
9806
|
* Audit service.
|
|
9807
9807
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9808
|
-
* @version
|
|
9808
|
+
* @version 206.0.0
|
|
9809
9809
|
*/
|
|
9810
9810
|
|
|
9811
9811
|
/**
|
|
@@ -10006,7 +10006,7 @@ class AuthorizationApi {
|
|
|
10006
10006
|
/**
|
|
10007
10007
|
* Authorization service.
|
|
10008
10008
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10009
|
-
* @version
|
|
10009
|
+
* @version 206.0.0
|
|
10010
10010
|
*/
|
|
10011
10011
|
|
|
10012
10012
|
/**
|
|
@@ -11289,7 +11289,7 @@ class BillingApi {
|
|
|
11289
11289
|
/**
|
|
11290
11290
|
* Billing service.
|
|
11291
11291
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11292
|
-
* @version
|
|
11292
|
+
* @version 206.0.0
|
|
11293
11293
|
*/
|
|
11294
11294
|
|
|
11295
11295
|
/**
|
|
@@ -11369,7 +11369,7 @@ class CarrierServicesApi {
|
|
|
11369
11369
|
/**
|
|
11370
11370
|
* CarrierServices service.
|
|
11371
11371
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11372
|
-
* @version
|
|
11372
|
+
* @version 206.0.0
|
|
11373
11373
|
*/
|
|
11374
11374
|
|
|
11375
11375
|
/**
|
|
@@ -11439,7 +11439,7 @@ class ChatApi {
|
|
|
11439
11439
|
/**
|
|
11440
11440
|
* Chat service.
|
|
11441
11441
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11442
|
-
* @version
|
|
11442
|
+
* @version 206.0.0
|
|
11443
11443
|
*/
|
|
11444
11444
|
|
|
11445
11445
|
/**
|
|
@@ -12375,7 +12375,7 @@ class CoachingApi {
|
|
|
12375
12375
|
/**
|
|
12376
12376
|
* Coaching service.
|
|
12377
12377
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12378
|
-
* @version
|
|
12378
|
+
* @version 206.0.0
|
|
12379
12379
|
*/
|
|
12380
12380
|
|
|
12381
12381
|
/**
|
|
@@ -12952,7 +12952,7 @@ class ContentManagementApi {
|
|
|
12952
12952
|
/**
|
|
12953
12953
|
* ContentManagement service.
|
|
12954
12954
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12955
|
-
* @version
|
|
12955
|
+
* @version 206.0.0
|
|
12956
12956
|
*/
|
|
12957
12957
|
|
|
12958
12958
|
/**
|
|
@@ -14034,7 +14034,7 @@ class ConversationsApi {
|
|
|
14034
14034
|
/**
|
|
14035
14035
|
* Conversations service.
|
|
14036
14036
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14037
|
-
* @version
|
|
14037
|
+
* @version 206.0.0
|
|
14038
14038
|
*/
|
|
14039
14039
|
|
|
14040
14040
|
/**
|
|
@@ -14816,6 +14816,32 @@ class ConversationsApi {
|
|
|
14816
14816
|
);
|
|
14817
14817
|
}
|
|
14818
14818
|
|
|
14819
|
+
/**
|
|
14820
|
+
* Get the summaries of the conversation.
|
|
14821
|
+
*
|
|
14822
|
+
* @param {String} conversationId Conversation ID
|
|
14823
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14824
|
+
*/
|
|
14825
|
+
getConversationSummaries(conversationId) {
|
|
14826
|
+
// verify the required parameter 'conversationId' is set
|
|
14827
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14828
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSummaries';
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
return this.apiClient.callApi(
|
|
14832
|
+
'/api/v2/conversations/{conversationId}/summaries',
|
|
14833
|
+
'GET',
|
|
14834
|
+
{ 'conversationId': conversationId },
|
|
14835
|
+
{ },
|
|
14836
|
+
{ },
|
|
14837
|
+
{ },
|
|
14838
|
+
null,
|
|
14839
|
+
['PureCloud OAuth'],
|
|
14840
|
+
['application/json'],
|
|
14841
|
+
['application/json']
|
|
14842
|
+
);
|
|
14843
|
+
}
|
|
14844
|
+
|
|
14819
14845
|
/**
|
|
14820
14846
|
* Get active conversations for the logged in user
|
|
14821
14847
|
*
|
|
@@ -17754,7 +17780,6 @@ class ConversationsApi {
|
|
|
17754
17780
|
* @param {String} conversationId conversationId
|
|
17755
17781
|
* @param {String} participantId participantId
|
|
17756
17782
|
* @param {Object} body Parking update request
|
|
17757
|
-
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17758
17783
|
*/
|
|
17759
17784
|
patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
|
|
17760
17785
|
// verify the required parameter 'conversationId' is set
|
|
@@ -19994,8 +20019,12 @@ class ConversationsApi {
|
|
|
19994
20019
|
* Send an inbound message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
19995
20020
|
* @param {String} integrationId integrationId
|
|
19996
20021
|
* @param {Object} body NormalizedMessage
|
|
20022
|
+
* @param {Object} opts Optional parameters
|
|
20023
|
+
* @param {Boolean} opts.prefetchConversationId Indicates whether or not to prefetch conversationId (default to false)
|
|
19997
20024
|
*/
|
|
19998
|
-
postConversationsMessageInboundOpenMessage(integrationId, body) {
|
|
20025
|
+
postConversationsMessageInboundOpenMessage(integrationId, body, opts) {
|
|
20026
|
+
opts = opts || {};
|
|
20027
|
+
|
|
19999
20028
|
// verify the required parameter 'integrationId' is set
|
|
20000
20029
|
if (integrationId === undefined || integrationId === null) {
|
|
20001
20030
|
throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';
|
|
@@ -20009,7 +20038,7 @@ class ConversationsApi {
|
|
|
20009
20038
|
'/api/v2/conversations/messages/{integrationId}/inbound/open/message',
|
|
20010
20039
|
'POST',
|
|
20011
20040
|
{ 'integrationId': integrationId },
|
|
20012
|
-
{
|
|
20041
|
+
{ 'prefetchConversationId': opts['prefetchConversationId'] },
|
|
20013
20042
|
{ },
|
|
20014
20043
|
{ },
|
|
20015
20044
|
body,
|
|
@@ -21146,7 +21175,7 @@ class DataExtensionsApi {
|
|
|
21146
21175
|
/**
|
|
21147
21176
|
* DataExtensions service.
|
|
21148
21177
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21149
|
-
* @version
|
|
21178
|
+
* @version 206.0.0
|
|
21150
21179
|
*/
|
|
21151
21180
|
|
|
21152
21181
|
/**
|
|
@@ -21232,7 +21261,7 @@ class DownloadsApi {
|
|
|
21232
21261
|
/**
|
|
21233
21262
|
* Downloads service.
|
|
21234
21263
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21235
|
-
* @version
|
|
21264
|
+
* @version 206.0.0
|
|
21236
21265
|
*/
|
|
21237
21266
|
|
|
21238
21267
|
/**
|
|
@@ -21284,7 +21313,7 @@ class EmailsApi {
|
|
|
21284
21313
|
/**
|
|
21285
21314
|
* Emails service.
|
|
21286
21315
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21287
|
-
* @version
|
|
21316
|
+
* @version 206.0.0
|
|
21288
21317
|
*/
|
|
21289
21318
|
|
|
21290
21319
|
/**
|
|
@@ -21349,7 +21378,7 @@ class EmployeeEngagementApi {
|
|
|
21349
21378
|
/**
|
|
21350
21379
|
* EmployeeEngagement service.
|
|
21351
21380
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21352
|
-
* @version
|
|
21381
|
+
* @version 206.0.0
|
|
21353
21382
|
*/
|
|
21354
21383
|
|
|
21355
21384
|
/**
|
|
@@ -21500,7 +21529,7 @@ class EventsApi {
|
|
|
21500
21529
|
/**
|
|
21501
21530
|
* Events service.
|
|
21502
21531
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21503
|
-
* @version
|
|
21532
|
+
* @version 206.0.0
|
|
21504
21533
|
*/
|
|
21505
21534
|
|
|
21506
21535
|
/**
|
|
@@ -21596,7 +21625,7 @@ class ExternalContactsApi {
|
|
|
21596
21625
|
/**
|
|
21597
21626
|
* ExternalContacts service.
|
|
21598
21627
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21599
|
-
* @version
|
|
21628
|
+
* @version 206.0.0
|
|
21600
21629
|
*/
|
|
21601
21630
|
|
|
21602
21631
|
/**
|
|
@@ -23695,7 +23724,7 @@ class FaxApi {
|
|
|
23695
23724
|
/**
|
|
23696
23725
|
* Fax service.
|
|
23697
23726
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23698
|
-
* @version
|
|
23727
|
+
* @version 206.0.0
|
|
23699
23728
|
*/
|
|
23700
23729
|
|
|
23701
23730
|
/**
|
|
@@ -23910,7 +23939,7 @@ class FlowsApi {
|
|
|
23910
23939
|
/**
|
|
23911
23940
|
* Flows service.
|
|
23912
23941
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23913
|
-
* @version
|
|
23942
|
+
* @version 206.0.0
|
|
23914
23943
|
*/
|
|
23915
23944
|
|
|
23916
23945
|
/**
|
|
@@ -24093,7 +24122,7 @@ class GamificationApi {
|
|
|
24093
24122
|
/**
|
|
24094
24123
|
* Gamification service.
|
|
24095
24124
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24096
|
-
* @version
|
|
24125
|
+
* @version 206.0.0
|
|
24097
24126
|
*/
|
|
24098
24127
|
|
|
24099
24128
|
/**
|
|
@@ -26179,7 +26208,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26179
26208
|
/**
|
|
26180
26209
|
* GeneralDataProtectionRegulation service.
|
|
26181
26210
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26182
|
-
* @version
|
|
26211
|
+
* @version 206.0.0
|
|
26183
26212
|
*/
|
|
26184
26213
|
|
|
26185
26214
|
/**
|
|
@@ -26309,7 +26338,7 @@ class GeolocationApi {
|
|
|
26309
26338
|
/**
|
|
26310
26339
|
* Geolocation service.
|
|
26311
26340
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26312
|
-
* @version
|
|
26341
|
+
* @version 206.0.0
|
|
26313
26342
|
*/
|
|
26314
26343
|
|
|
26315
26344
|
/**
|
|
@@ -26440,7 +26469,7 @@ class GreetingsApi {
|
|
|
26440
26469
|
/**
|
|
26441
26470
|
* Greetings service.
|
|
26442
26471
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26443
|
-
* @version
|
|
26472
|
+
* @version 206.0.0
|
|
26444
26473
|
*/
|
|
26445
26474
|
|
|
26446
26475
|
/**
|
|
@@ -26895,7 +26924,7 @@ class GroupsApi {
|
|
|
26895
26924
|
/**
|
|
26896
26925
|
* Groups service.
|
|
26897
26926
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26898
|
-
* @version
|
|
26927
|
+
* @version 206.0.0
|
|
26899
26928
|
*/
|
|
26900
26929
|
|
|
26901
26930
|
/**
|
|
@@ -27414,7 +27443,7 @@ class IdentityProviderApi {
|
|
|
27414
27443
|
/**
|
|
27415
27444
|
* IdentityProvider service.
|
|
27416
27445
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27417
|
-
* @version
|
|
27446
|
+
* @version 206.0.0
|
|
27418
27447
|
*/
|
|
27419
27448
|
|
|
27420
27449
|
/**
|
|
@@ -28275,7 +28304,7 @@ class InfrastructureAsCodeApi {
|
|
|
28275
28304
|
/**
|
|
28276
28305
|
* InfrastructureAsCode service.
|
|
28277
28306
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28278
|
-
* @version
|
|
28307
|
+
* @version 206.0.0
|
|
28279
28308
|
*/
|
|
28280
28309
|
|
|
28281
28310
|
/**
|
|
@@ -28442,7 +28471,7 @@ class IntegrationsApi {
|
|
|
28442
28471
|
/**
|
|
28443
28472
|
* Integrations service.
|
|
28444
28473
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28445
|
-
* @version
|
|
28474
|
+
* @version 206.0.0
|
|
28446
28475
|
*/
|
|
28447
28476
|
|
|
28448
28477
|
/**
|
|
@@ -30864,7 +30893,7 @@ class JourneyApi {
|
|
|
30864
30893
|
/**
|
|
30865
30894
|
* Journey service.
|
|
30866
30895
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30867
|
-
* @version
|
|
30896
|
+
* @version 206.0.0
|
|
30868
30897
|
*/
|
|
30869
30898
|
|
|
30870
30899
|
/**
|
|
@@ -31711,6 +31740,81 @@ class JourneyApi {
|
|
|
31711
31740
|
);
|
|
31712
31741
|
}
|
|
31713
31742
|
|
|
31743
|
+
/**
|
|
31744
|
+
* Get a Chart by ID
|
|
31745
|
+
* returns the latest version
|
|
31746
|
+
* @param {String} viewId viewId
|
|
31747
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31748
|
+
* @param {String} chartId chartId
|
|
31749
|
+
*/
|
|
31750
|
+
getJourneyViewVersionChart(viewId, journeyViewVersion, chartId) {
|
|
31751
|
+
// verify the required parameter 'viewId' is set
|
|
31752
|
+
if (viewId === undefined || viewId === null) {
|
|
31753
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';
|
|
31754
|
+
}
|
|
31755
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31756
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31757
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';
|
|
31758
|
+
}
|
|
31759
|
+
// verify the required parameter 'chartId' is set
|
|
31760
|
+
if (chartId === undefined || chartId === null) {
|
|
31761
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';
|
|
31762
|
+
}
|
|
31763
|
+
|
|
31764
|
+
return this.apiClient.callApi(
|
|
31765
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}',
|
|
31766
|
+
'GET',
|
|
31767
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId },
|
|
31768
|
+
{ },
|
|
31769
|
+
{ },
|
|
31770
|
+
{ },
|
|
31771
|
+
null,
|
|
31772
|
+
['PureCloud OAuth'],
|
|
31773
|
+
['application/json'],
|
|
31774
|
+
['application/json']
|
|
31775
|
+
);
|
|
31776
|
+
}
|
|
31777
|
+
|
|
31778
|
+
/**
|
|
31779
|
+
* Get a Chart by ID and version
|
|
31780
|
+
*
|
|
31781
|
+
* @param {String} viewId viewId
|
|
31782
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
31783
|
+
* @param {String} chartId chartId
|
|
31784
|
+
* @param {String} chartVersion chartVersion
|
|
31785
|
+
*/
|
|
31786
|
+
getJourneyViewVersionChartVersion(viewId, journeyViewVersion, chartId, chartVersion) {
|
|
31787
|
+
// verify the required parameter 'viewId' is set
|
|
31788
|
+
if (viewId === undefined || viewId === null) {
|
|
31789
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';
|
|
31790
|
+
}
|
|
31791
|
+
// verify the required parameter 'journeyViewVersion' is set
|
|
31792
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
31793
|
+
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';
|
|
31794
|
+
}
|
|
31795
|
+
// verify the required parameter 'chartId' is set
|
|
31796
|
+
if (chartId === undefined || chartId === null) {
|
|
31797
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';
|
|
31798
|
+
}
|
|
31799
|
+
// verify the required parameter 'chartVersion' is set
|
|
31800
|
+
if (chartVersion === undefined || chartVersion === null) {
|
|
31801
|
+
throw 'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';
|
|
31802
|
+
}
|
|
31803
|
+
|
|
31804
|
+
return this.apiClient.callApi(
|
|
31805
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}',
|
|
31806
|
+
'GET',
|
|
31807
|
+
{ 'viewId': viewId,'journeyViewVersion': journeyViewVersion,'chartId': chartId,'chartVersion': chartVersion },
|
|
31808
|
+
{ },
|
|
31809
|
+
{ },
|
|
31810
|
+
{ },
|
|
31811
|
+
null,
|
|
31812
|
+
['PureCloud OAuth'],
|
|
31813
|
+
['application/json'],
|
|
31814
|
+
['application/json']
|
|
31815
|
+
);
|
|
31816
|
+
}
|
|
31817
|
+
|
|
31714
31818
|
/**
|
|
31715
31819
|
* Get the job for a journey view version.
|
|
31716
31820
|
* used for long descriptions
|
|
@@ -31781,6 +31885,46 @@ class JourneyApi {
|
|
|
31781
31885
|
);
|
|
31782
31886
|
}
|
|
31783
31887
|
|
|
31888
|
+
/**
|
|
31889
|
+
* Get the chart result associated with a journey view job.
|
|
31890
|
+
*
|
|
31891
|
+
* @param {String} viewId Journey View Id
|
|
31892
|
+
* @param {String} journeyVersionId Journey View Version
|
|
31893
|
+
* @param {String} jobId JobId
|
|
31894
|
+
* @param {String} chartId ChartId
|
|
31895
|
+
*/
|
|
31896
|
+
getJourneyViewVersionJobResultsChart(viewId, journeyVersionId, jobId, chartId) {
|
|
31897
|
+
// verify the required parameter 'viewId' is set
|
|
31898
|
+
if (viewId === undefined || viewId === null) {
|
|
31899
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';
|
|
31900
|
+
}
|
|
31901
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
31902
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
31903
|
+
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';
|
|
31904
|
+
}
|
|
31905
|
+
// verify the required parameter 'jobId' is set
|
|
31906
|
+
if (jobId === undefined || jobId === null) {
|
|
31907
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';
|
|
31908
|
+
}
|
|
31909
|
+
// verify the required parameter 'chartId' is set
|
|
31910
|
+
if (chartId === undefined || chartId === null) {
|
|
31911
|
+
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';
|
|
31912
|
+
}
|
|
31913
|
+
|
|
31914
|
+
return this.apiClient.callApi(
|
|
31915
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}',
|
|
31916
|
+
'GET',
|
|
31917
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId,'chartId': chartId },
|
|
31918
|
+
{ },
|
|
31919
|
+
{ },
|
|
31920
|
+
{ },
|
|
31921
|
+
null,
|
|
31922
|
+
['PureCloud OAuth'],
|
|
31923
|
+
['application/json'],
|
|
31924
|
+
['application/json']
|
|
31925
|
+
);
|
|
31926
|
+
}
|
|
31927
|
+
|
|
31784
31928
|
/**
|
|
31785
31929
|
* Get the latest job of a journey view version.
|
|
31786
31930
|
* used for long descriptions
|
|
@@ -32058,6 +32202,46 @@ class JourneyApi {
|
|
|
32058
32202
|
);
|
|
32059
32203
|
}
|
|
32060
32204
|
|
|
32205
|
+
/**
|
|
32206
|
+
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
32207
|
+
* used for long descriptions
|
|
32208
|
+
* @param {String} viewId Journey View Id
|
|
32209
|
+
* @param {String} journeyVersionId Journey View Version
|
|
32210
|
+
* @param {String} jobId JobId
|
|
32211
|
+
* @param {Object} body journeyViewJob
|
|
32212
|
+
*/
|
|
32213
|
+
patchJourneyViewVersionJob(viewId, journeyVersionId, jobId, body) {
|
|
32214
|
+
// verify the required parameter 'viewId' is set
|
|
32215
|
+
if (viewId === undefined || viewId === null) {
|
|
32216
|
+
throw 'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';
|
|
32217
|
+
}
|
|
32218
|
+
// verify the required parameter 'journeyVersionId' is set
|
|
32219
|
+
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
32220
|
+
throw 'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';
|
|
32221
|
+
}
|
|
32222
|
+
// verify the required parameter 'jobId' is set
|
|
32223
|
+
if (jobId === undefined || jobId === null) {
|
|
32224
|
+
throw 'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';
|
|
32225
|
+
}
|
|
32226
|
+
// verify the required parameter 'body' is set
|
|
32227
|
+
if (body === undefined || body === null) {
|
|
32228
|
+
throw 'Missing the required parameter "body" when calling patchJourneyViewVersionJob';
|
|
32229
|
+
}
|
|
32230
|
+
|
|
32231
|
+
return this.apiClient.callApi(
|
|
32232
|
+
'/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}',
|
|
32233
|
+
'PATCH',
|
|
32234
|
+
{ 'viewId': viewId,'journeyVersionId': journeyVersionId,'jobId': jobId },
|
|
32235
|
+
{ },
|
|
32236
|
+
{ },
|
|
32237
|
+
{ },
|
|
32238
|
+
body,
|
|
32239
|
+
['PureCloud OAuth'],
|
|
32240
|
+
['application/json'],
|
|
32241
|
+
['application/json']
|
|
32242
|
+
);
|
|
32243
|
+
}
|
|
32244
|
+
|
|
32061
32245
|
/**
|
|
32062
32246
|
* Query for journey aggregates asynchronously
|
|
32063
32247
|
*
|
|
@@ -32501,13 +32685,48 @@ class JourneyApi {
|
|
|
32501
32685
|
);
|
|
32502
32686
|
}
|
|
32503
32687
|
|
|
32688
|
+
/**
|
|
32689
|
+
* Update a Journey View by ID and version
|
|
32690
|
+
* does not create a new version
|
|
32691
|
+
* @param {String} viewId viewId
|
|
32692
|
+
* @param {String} versionId versionId
|
|
32693
|
+
* @param {Object} body JourneyView
|
|
32694
|
+
*/
|
|
32695
|
+
putJourneyViewVersion(viewId, versionId, body) {
|
|
32696
|
+
// verify the required parameter 'viewId' is set
|
|
32697
|
+
if (viewId === undefined || viewId === null) {
|
|
32698
|
+
throw 'Missing the required parameter "viewId" when calling putJourneyViewVersion';
|
|
32699
|
+
}
|
|
32700
|
+
// verify the required parameter 'versionId' is set
|
|
32701
|
+
if (versionId === undefined || versionId === null) {
|
|
32702
|
+
throw 'Missing the required parameter "versionId" when calling putJourneyViewVersion';
|
|
32703
|
+
}
|
|
32704
|
+
// verify the required parameter 'body' is set
|
|
32705
|
+
if (body === undefined || body === null) {
|
|
32706
|
+
throw 'Missing the required parameter "body" when calling putJourneyViewVersion';
|
|
32707
|
+
}
|
|
32708
|
+
|
|
32709
|
+
return this.apiClient.callApi(
|
|
32710
|
+
'/api/v2/journey/views/{viewId}/versions/{versionId}',
|
|
32711
|
+
'PUT',
|
|
32712
|
+
{ 'viewId': viewId,'versionId': versionId },
|
|
32713
|
+
{ },
|
|
32714
|
+
{ },
|
|
32715
|
+
{ },
|
|
32716
|
+
body,
|
|
32717
|
+
['PureCloud OAuth'],
|
|
32718
|
+
['application/json'],
|
|
32719
|
+
['application/json']
|
|
32720
|
+
);
|
|
32721
|
+
}
|
|
32722
|
+
|
|
32504
32723
|
}
|
|
32505
32724
|
|
|
32506
32725
|
class KnowledgeApi {
|
|
32507
32726
|
/**
|
|
32508
32727
|
* Knowledge service.
|
|
32509
32728
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32510
|
-
* @version
|
|
32729
|
+
* @version 206.0.0
|
|
32511
32730
|
*/
|
|
32512
32731
|
|
|
32513
32732
|
/**
|
|
@@ -32840,6 +33059,99 @@ class KnowledgeApi {
|
|
|
32840
33059
|
);
|
|
32841
33060
|
}
|
|
32842
33061
|
|
|
33062
|
+
/**
|
|
33063
|
+
* Delete Salesforce Knowledge integration source
|
|
33064
|
+
*
|
|
33065
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33066
|
+
* @param {String} sourceId Source ID
|
|
33067
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33068
|
+
*/
|
|
33069
|
+
deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId) {
|
|
33070
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33071
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33072
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
33073
|
+
}
|
|
33074
|
+
// verify the required parameter 'sourceId' is set
|
|
33075
|
+
if (sourceId === undefined || sourceId === null) {
|
|
33076
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
33077
|
+
}
|
|
33078
|
+
|
|
33079
|
+
return this.apiClient.callApi(
|
|
33080
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
33081
|
+
'DELETE',
|
|
33082
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
33083
|
+
{ },
|
|
33084
|
+
{ },
|
|
33085
|
+
{ },
|
|
33086
|
+
null,
|
|
33087
|
+
['PureCloud OAuth'],
|
|
33088
|
+
['application/json'],
|
|
33089
|
+
['application/json']
|
|
33090
|
+
);
|
|
33091
|
+
}
|
|
33092
|
+
|
|
33093
|
+
/**
|
|
33094
|
+
* Delete ServiceNow Knowledge integration source
|
|
33095
|
+
*
|
|
33096
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33097
|
+
* @param {String} sourceId Source ID
|
|
33098
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33099
|
+
*/
|
|
33100
|
+
deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId) {
|
|
33101
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33102
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33103
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
33104
|
+
}
|
|
33105
|
+
// verify the required parameter 'sourceId' is set
|
|
33106
|
+
if (sourceId === undefined || sourceId === null) {
|
|
33107
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
33108
|
+
}
|
|
33109
|
+
|
|
33110
|
+
return this.apiClient.callApi(
|
|
33111
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
33112
|
+
'DELETE',
|
|
33113
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
33114
|
+
{ },
|
|
33115
|
+
{ },
|
|
33116
|
+
{ },
|
|
33117
|
+
null,
|
|
33118
|
+
['PureCloud OAuth'],
|
|
33119
|
+
['application/json'],
|
|
33120
|
+
['application/json']
|
|
33121
|
+
);
|
|
33122
|
+
}
|
|
33123
|
+
|
|
33124
|
+
/**
|
|
33125
|
+
* Delete synchronization job
|
|
33126
|
+
*
|
|
33127
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33128
|
+
* @param {String} syncJobId Synchronization job ID
|
|
33129
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33130
|
+
*/
|
|
33131
|
+
deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
33132
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33133
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33134
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
33135
|
+
}
|
|
33136
|
+
// verify the required parameter 'syncJobId' is set
|
|
33137
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
33138
|
+
throw 'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
33139
|
+
}
|
|
33140
|
+
|
|
33141
|
+
return this.apiClient.callApi(
|
|
33142
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
33143
|
+
'DELETE',
|
|
33144
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
33145
|
+
{ },
|
|
33146
|
+
{ },
|
|
33147
|
+
{ },
|
|
33148
|
+
null,
|
|
33149
|
+
['PureCloud OAuth'],
|
|
33150
|
+
['application/json'],
|
|
33151
|
+
['application/json']
|
|
33152
|
+
);
|
|
33153
|
+
}
|
|
33154
|
+
|
|
32843
33155
|
/**
|
|
32844
33156
|
* Get categories
|
|
32845
33157
|
*
|
|
@@ -32937,6 +33249,32 @@ class KnowledgeApi {
|
|
|
32937
33249
|
);
|
|
32938
33250
|
}
|
|
32939
33251
|
|
|
33252
|
+
/**
|
|
33253
|
+
* Get sync options available for a knowledge-connect integration
|
|
33254
|
+
*
|
|
33255
|
+
* @param {String} integrationId Integration ID
|
|
33256
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33257
|
+
*/
|
|
33258
|
+
getKnowledgeIntegrationOptions(integrationId) {
|
|
33259
|
+
// verify the required parameter 'integrationId' is set
|
|
33260
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33261
|
+
throw 'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';
|
|
33262
|
+
}
|
|
33263
|
+
|
|
33264
|
+
return this.apiClient.callApi(
|
|
33265
|
+
'/api/v2/knowledge/integrations/{integrationId}/options',
|
|
33266
|
+
'GET',
|
|
33267
|
+
{ 'integrationId': integrationId },
|
|
33268
|
+
{ },
|
|
33269
|
+
{ },
|
|
33270
|
+
{ },
|
|
33271
|
+
null,
|
|
33272
|
+
['PureCloud OAuth'],
|
|
33273
|
+
['application/json'],
|
|
33274
|
+
['application/json']
|
|
33275
|
+
);
|
|
33276
|
+
}
|
|
33277
|
+
|
|
32940
33278
|
/**
|
|
32941
33279
|
* Get knowledge base
|
|
32942
33280
|
*
|
|
@@ -33947,6 +34285,139 @@ class KnowledgeApi {
|
|
|
33947
34285
|
);
|
|
33948
34286
|
}
|
|
33949
34287
|
|
|
34288
|
+
/**
|
|
34289
|
+
* Get Knowledge integration sources
|
|
34290
|
+
*
|
|
34291
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34292
|
+
* @param {Object} opts Optional parameters
|
|
34293
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
34294
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34295
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
34296
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34297
|
+
*/
|
|
34298
|
+
getKnowledgeKnowledgebaseSources(knowledgeBaseId, opts) {
|
|
34299
|
+
opts = opts || {};
|
|
34300
|
+
|
|
34301
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34302
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34303
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';
|
|
34304
|
+
}
|
|
34305
|
+
|
|
34306
|
+
return this.apiClient.callApi(
|
|
34307
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources',
|
|
34308
|
+
'GET',
|
|
34309
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
34310
|
+
{ 'type': opts['type'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
|
|
34311
|
+
{ },
|
|
34312
|
+
{ },
|
|
34313
|
+
null,
|
|
34314
|
+
['PureCloud OAuth'],
|
|
34315
|
+
['application/json'],
|
|
34316
|
+
['application/json']
|
|
34317
|
+
);
|
|
34318
|
+
}
|
|
34319
|
+
|
|
34320
|
+
/**
|
|
34321
|
+
* Get Salesforce Knowledge integration source
|
|
34322
|
+
*
|
|
34323
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34324
|
+
* @param {String} sourceId Source ID
|
|
34325
|
+
* @param {Object} opts Optional parameters
|
|
34326
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34327
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34328
|
+
*/
|
|
34329
|
+
getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34330
|
+
opts = opts || {};
|
|
34331
|
+
|
|
34332
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34333
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34334
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34335
|
+
}
|
|
34336
|
+
// verify the required parameter 'sourceId' is set
|
|
34337
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34338
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34339
|
+
}
|
|
34340
|
+
|
|
34341
|
+
return this.apiClient.callApi(
|
|
34342
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
34343
|
+
'GET',
|
|
34344
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34345
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34346
|
+
{ },
|
|
34347
|
+
{ },
|
|
34348
|
+
null,
|
|
34349
|
+
['PureCloud OAuth'],
|
|
34350
|
+
['application/json'],
|
|
34351
|
+
['application/json']
|
|
34352
|
+
);
|
|
34353
|
+
}
|
|
34354
|
+
|
|
34355
|
+
/**
|
|
34356
|
+
* Get ServiceNow Knowledge integration source
|
|
34357
|
+
*
|
|
34358
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34359
|
+
* @param {String} sourceId Source ID
|
|
34360
|
+
* @param {Object} opts Optional parameters
|
|
34361
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34362
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34363
|
+
*/
|
|
34364
|
+
getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34365
|
+
opts = opts || {};
|
|
34366
|
+
|
|
34367
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34368
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34369
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34370
|
+
}
|
|
34371
|
+
// verify the required parameter 'sourceId' is set
|
|
34372
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34373
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34374
|
+
}
|
|
34375
|
+
|
|
34376
|
+
return this.apiClient.callApi(
|
|
34377
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
34378
|
+
'GET',
|
|
34379
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34380
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34381
|
+
{ },
|
|
34382
|
+
{ },
|
|
34383
|
+
null,
|
|
34384
|
+
['PureCloud OAuth'],
|
|
34385
|
+
['application/json'],
|
|
34386
|
+
['application/json']
|
|
34387
|
+
);
|
|
34388
|
+
}
|
|
34389
|
+
|
|
34390
|
+
/**
|
|
34391
|
+
* Get synchronization job report
|
|
34392
|
+
*
|
|
34393
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34394
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34395
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34396
|
+
*/
|
|
34397
|
+
getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
34398
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34399
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34400
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34401
|
+
}
|
|
34402
|
+
// verify the required parameter 'syncJobId' is set
|
|
34403
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34404
|
+
throw 'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34405
|
+
}
|
|
34406
|
+
|
|
34407
|
+
return this.apiClient.callApi(
|
|
34408
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34409
|
+
'GET',
|
|
34410
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34411
|
+
{ },
|
|
34412
|
+
{ },
|
|
34413
|
+
{ },
|
|
34414
|
+
null,
|
|
34415
|
+
['PureCloud OAuth'],
|
|
34416
|
+
['application/json'],
|
|
34417
|
+
['application/json']
|
|
34418
|
+
);
|
|
34419
|
+
}
|
|
34420
|
+
|
|
33950
34421
|
/**
|
|
33951
34422
|
* Get knowledge base unanswered group for a particular groupId
|
|
33952
34423
|
*
|
|
@@ -34631,6 +35102,42 @@ class KnowledgeApi {
|
|
|
34631
35102
|
);
|
|
34632
35103
|
}
|
|
34633
35104
|
|
|
35105
|
+
/**
|
|
35106
|
+
* Update synchronization job
|
|
35107
|
+
*
|
|
35108
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
35109
|
+
* @param {String} syncJobId Synchronization job ID
|
|
35110
|
+
* @param {Object} body
|
|
35111
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35112
|
+
*/
|
|
35113
|
+
patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId, body) {
|
|
35114
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
35115
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
35116
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35117
|
+
}
|
|
35118
|
+
// verify the required parameter 'syncJobId' is set
|
|
35119
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
35120
|
+
throw 'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35121
|
+
}
|
|
35122
|
+
// verify the required parameter 'body' is set
|
|
35123
|
+
if (body === undefined || body === null) {
|
|
35124
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
35125
|
+
}
|
|
35126
|
+
|
|
35127
|
+
return this.apiClient.callApi(
|
|
35128
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
35129
|
+
'PATCH',
|
|
35130
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
35131
|
+
{ },
|
|
35132
|
+
{ },
|
|
35133
|
+
{ },
|
|
35134
|
+
body,
|
|
35135
|
+
['PureCloud OAuth'],
|
|
35136
|
+
['application/json'],
|
|
35137
|
+
['application/json']
|
|
35138
|
+
);
|
|
35139
|
+
}
|
|
35140
|
+
|
|
34634
35141
|
/**
|
|
34635
35142
|
* Update a Knowledge base unanswered phrase group
|
|
34636
35143
|
*
|
|
@@ -35818,6 +36325,161 @@ class KnowledgeApi {
|
|
|
35818
36325
|
);
|
|
35819
36326
|
}
|
|
35820
36327
|
|
|
36328
|
+
/**
|
|
36329
|
+
* Create Salesforce Knowledge integration source
|
|
36330
|
+
*
|
|
36331
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36332
|
+
* @param {Object} body
|
|
36333
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36334
|
+
*/
|
|
36335
|
+
postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId, body) {
|
|
36336
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36337
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36338
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36339
|
+
}
|
|
36340
|
+
// verify the required parameter 'body' is set
|
|
36341
|
+
if (body === undefined || body === null) {
|
|
36342
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36343
|
+
}
|
|
36344
|
+
|
|
36345
|
+
return this.apiClient.callApi(
|
|
36346
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce',
|
|
36347
|
+
'POST',
|
|
36348
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36349
|
+
{ },
|
|
36350
|
+
{ },
|
|
36351
|
+
{ },
|
|
36352
|
+
body,
|
|
36353
|
+
['PureCloud OAuth'],
|
|
36354
|
+
['application/json'],
|
|
36355
|
+
['application/json']
|
|
36356
|
+
);
|
|
36357
|
+
}
|
|
36358
|
+
|
|
36359
|
+
/**
|
|
36360
|
+
* Start sync on Salesforce Knowledge integration source
|
|
36361
|
+
*
|
|
36362
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36363
|
+
* @param {String} sourceId Source ID
|
|
36364
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36365
|
+
*/
|
|
36366
|
+
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36367
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36368
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36369
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36370
|
+
}
|
|
36371
|
+
// verify the required parameter 'sourceId' is set
|
|
36372
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36373
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36374
|
+
}
|
|
36375
|
+
|
|
36376
|
+
return this.apiClient.callApi(
|
|
36377
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync',
|
|
36378
|
+
'POST',
|
|
36379
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36380
|
+
{ },
|
|
36381
|
+
{ },
|
|
36382
|
+
{ },
|
|
36383
|
+
null,
|
|
36384
|
+
['PureCloud OAuth'],
|
|
36385
|
+
['application/json'],
|
|
36386
|
+
['application/json']
|
|
36387
|
+
);
|
|
36388
|
+
}
|
|
36389
|
+
|
|
36390
|
+
/**
|
|
36391
|
+
* Create ServiceNow Knowledge integration source
|
|
36392
|
+
*
|
|
36393
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36394
|
+
* @param {Object} body
|
|
36395
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36396
|
+
*/
|
|
36397
|
+
postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId, body) {
|
|
36398
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36399
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36400
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36401
|
+
}
|
|
36402
|
+
// verify the required parameter 'body' is set
|
|
36403
|
+
if (body === undefined || body === null) {
|
|
36404
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36405
|
+
}
|
|
36406
|
+
|
|
36407
|
+
return this.apiClient.callApi(
|
|
36408
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow',
|
|
36409
|
+
'POST',
|
|
36410
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36411
|
+
{ },
|
|
36412
|
+
{ },
|
|
36413
|
+
{ },
|
|
36414
|
+
body,
|
|
36415
|
+
['PureCloud OAuth'],
|
|
36416
|
+
['application/json'],
|
|
36417
|
+
['application/json']
|
|
36418
|
+
);
|
|
36419
|
+
}
|
|
36420
|
+
|
|
36421
|
+
/**
|
|
36422
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
36423
|
+
*
|
|
36424
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36425
|
+
* @param {String} sourceId Source ID
|
|
36426
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36427
|
+
*/
|
|
36428
|
+
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36429
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36430
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36431
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36432
|
+
}
|
|
36433
|
+
// verify the required parameter 'sourceId' is set
|
|
36434
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36435
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36436
|
+
}
|
|
36437
|
+
|
|
36438
|
+
return this.apiClient.callApi(
|
|
36439
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync',
|
|
36440
|
+
'POST',
|
|
36441
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36442
|
+
{ },
|
|
36443
|
+
{ },
|
|
36444
|
+
{ },
|
|
36445
|
+
null,
|
|
36446
|
+
['PureCloud OAuth'],
|
|
36447
|
+
['application/json'],
|
|
36448
|
+
['application/json']
|
|
36449
|
+
);
|
|
36450
|
+
}
|
|
36451
|
+
|
|
36452
|
+
/**
|
|
36453
|
+
* Create synchronization job
|
|
36454
|
+
*
|
|
36455
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36456
|
+
* @param {Object} body
|
|
36457
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36458
|
+
*/
|
|
36459
|
+
postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId, body) {
|
|
36460
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36461
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36462
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36463
|
+
}
|
|
36464
|
+
// verify the required parameter 'body' is set
|
|
36465
|
+
if (body === undefined || body === null) {
|
|
36466
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36467
|
+
}
|
|
36468
|
+
|
|
36469
|
+
return this.apiClient.callApi(
|
|
36470
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs',
|
|
36471
|
+
'POST',
|
|
36472
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36473
|
+
{ },
|
|
36474
|
+
{ },
|
|
36475
|
+
{ },
|
|
36476
|
+
body,
|
|
36477
|
+
['PureCloud OAuth'],
|
|
36478
|
+
['application/json'],
|
|
36479
|
+
['application/json']
|
|
36480
|
+
);
|
|
36481
|
+
}
|
|
36482
|
+
|
|
35821
36483
|
/**
|
|
35822
36484
|
* Create content upload from URL job
|
|
35823
36485
|
*
|
|
@@ -35874,13 +36536,85 @@ class KnowledgeApi {
|
|
|
35874
36536
|
);
|
|
35875
36537
|
}
|
|
35876
36538
|
|
|
36539
|
+
/**
|
|
36540
|
+
* Update Salesforce Knowledge integration source
|
|
36541
|
+
*
|
|
36542
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36543
|
+
* @param {String} sourceId Source ID
|
|
36544
|
+
* @param {Object} body
|
|
36545
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36546
|
+
*/
|
|
36547
|
+
putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, body) {
|
|
36548
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36549
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36550
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36551
|
+
}
|
|
36552
|
+
// verify the required parameter 'sourceId' is set
|
|
36553
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36554
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36555
|
+
}
|
|
36556
|
+
// verify the required parameter 'body' is set
|
|
36557
|
+
if (body === undefined || body === null) {
|
|
36558
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36559
|
+
}
|
|
36560
|
+
|
|
36561
|
+
return this.apiClient.callApi(
|
|
36562
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
36563
|
+
'PUT',
|
|
36564
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36565
|
+
{ },
|
|
36566
|
+
{ },
|
|
36567
|
+
{ },
|
|
36568
|
+
body,
|
|
36569
|
+
['PureCloud OAuth'],
|
|
36570
|
+
['application/json'],
|
|
36571
|
+
['application/json']
|
|
36572
|
+
);
|
|
36573
|
+
}
|
|
36574
|
+
|
|
36575
|
+
/**
|
|
36576
|
+
* Update ServiceNow Knowledge integration source
|
|
36577
|
+
*
|
|
36578
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36579
|
+
* @param {String} sourceId Source ID
|
|
36580
|
+
* @param {Object} body
|
|
36581
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36582
|
+
*/
|
|
36583
|
+
putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, body) {
|
|
36584
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36585
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36586
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36587
|
+
}
|
|
36588
|
+
// verify the required parameter 'sourceId' is set
|
|
36589
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36590
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36591
|
+
}
|
|
36592
|
+
// verify the required parameter 'body' is set
|
|
36593
|
+
if (body === undefined || body === null) {
|
|
36594
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36595
|
+
}
|
|
36596
|
+
|
|
36597
|
+
return this.apiClient.callApi(
|
|
36598
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
36599
|
+
'PUT',
|
|
36600
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36601
|
+
{ },
|
|
36602
|
+
{ },
|
|
36603
|
+
{ },
|
|
36604
|
+
body,
|
|
36605
|
+
['PureCloud OAuth'],
|
|
36606
|
+
['application/json'],
|
|
36607
|
+
['application/json']
|
|
36608
|
+
);
|
|
36609
|
+
}
|
|
36610
|
+
|
|
35877
36611
|
}
|
|
35878
36612
|
|
|
35879
36613
|
class LanguageUnderstandingApi {
|
|
35880
36614
|
/**
|
|
35881
36615
|
* LanguageUnderstanding service.
|
|
35882
36616
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35883
|
-
* @version
|
|
36617
|
+
* @version 206.0.0
|
|
35884
36618
|
*/
|
|
35885
36619
|
|
|
35886
36620
|
/**
|
|
@@ -36914,7 +37648,7 @@ class LanguagesApi {
|
|
|
36914
37648
|
/**
|
|
36915
37649
|
* Languages service.
|
|
36916
37650
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36917
|
-
* @version
|
|
37651
|
+
* @version 206.0.0
|
|
36918
37652
|
*/
|
|
36919
37653
|
|
|
36920
37654
|
/**
|
|
@@ -37136,7 +37870,7 @@ class LearningApi {
|
|
|
37136
37870
|
/**
|
|
37137
37871
|
* Learning service.
|
|
37138
37872
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37139
|
-
* @version
|
|
37873
|
+
* @version 206.0.0
|
|
37140
37874
|
*/
|
|
37141
37875
|
|
|
37142
37876
|
/**
|
|
@@ -38165,7 +38899,7 @@ class LicenseApi {
|
|
|
38165
38899
|
/**
|
|
38166
38900
|
* License service.
|
|
38167
38901
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38168
|
-
* @version
|
|
38902
|
+
* @version 206.0.0
|
|
38169
38903
|
*/
|
|
38170
38904
|
|
|
38171
38905
|
/**
|
|
@@ -38403,7 +39137,7 @@ class LocationsApi {
|
|
|
38403
39137
|
/**
|
|
38404
39138
|
* Locations service.
|
|
38405
39139
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38406
|
-
* @version
|
|
39140
|
+
* @version 206.0.0
|
|
38407
39141
|
*/
|
|
38408
39142
|
|
|
38409
39143
|
/**
|
|
@@ -38639,7 +39373,7 @@ class LogCaptureApi {
|
|
|
38639
39373
|
/**
|
|
38640
39374
|
* LogCapture service.
|
|
38641
39375
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
38642
|
-
* @version
|
|
39376
|
+
* @version 206.0.0
|
|
38643
39377
|
*/
|
|
38644
39378
|
|
|
38645
39379
|
/**
|
|
@@ -38839,7 +39573,7 @@ class MessagingApi {
|
|
|
38839
39573
|
/**
|
|
38840
39574
|
* Messaging service.
|
|
38841
39575
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38842
|
-
* @version
|
|
39576
|
+
* @version 206.0.0
|
|
38843
39577
|
*/
|
|
38844
39578
|
|
|
38845
39579
|
/**
|
|
@@ -39198,7 +39932,7 @@ class MobileDevicesApi {
|
|
|
39198
39932
|
/**
|
|
39199
39933
|
* MobileDevices service.
|
|
39200
39934
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39201
|
-
* @version
|
|
39935
|
+
* @version 206.0.0
|
|
39202
39936
|
*/
|
|
39203
39937
|
|
|
39204
39938
|
/**
|
|
@@ -39349,7 +40083,7 @@ class NotificationsApi {
|
|
|
39349
40083
|
/**
|
|
39350
40084
|
* Notifications service.
|
|
39351
40085
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39352
|
-
* @version
|
|
40086
|
+
* @version 206.0.0
|
|
39353
40087
|
*/
|
|
39354
40088
|
|
|
39355
40089
|
/**
|
|
@@ -39582,7 +40316,7 @@ class OAuthApi {
|
|
|
39582
40316
|
/**
|
|
39583
40317
|
* OAuth service.
|
|
39584
40318
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
39585
|
-
* @version
|
|
40319
|
+
* @version 206.0.0
|
|
39586
40320
|
*/
|
|
39587
40321
|
|
|
39588
40322
|
/**
|
|
@@ -39948,7 +40682,7 @@ class ObjectsApi {
|
|
|
39948
40682
|
/**
|
|
39949
40683
|
* Objects service.
|
|
39950
40684
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39951
|
-
* @version
|
|
40685
|
+
* @version 206.0.0
|
|
39952
40686
|
*/
|
|
39953
40687
|
|
|
39954
40688
|
/**
|
|
@@ -40218,7 +40952,7 @@ class OperationalEventsApi {
|
|
|
40218
40952
|
/**
|
|
40219
40953
|
* OperationalEvents service.
|
|
40220
40954
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40221
|
-
* @version
|
|
40955
|
+
* @version 206.0.0
|
|
40222
40956
|
*/
|
|
40223
40957
|
|
|
40224
40958
|
/**
|
|
@@ -40284,7 +41018,7 @@ class OrganizationApi {
|
|
|
40284
41018
|
/**
|
|
40285
41019
|
* Organization service.
|
|
40286
41020
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40287
|
-
* @version
|
|
41021
|
+
* @version 206.0.0
|
|
40288
41022
|
*/
|
|
40289
41023
|
|
|
40290
41024
|
/**
|
|
@@ -40826,7 +41560,7 @@ class OrganizationAuthorizationApi {
|
|
|
40826
41560
|
/**
|
|
40827
41561
|
* OrganizationAuthorization service.
|
|
40828
41562
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
40829
|
-
* @version
|
|
41563
|
+
* @version 206.0.0
|
|
40830
41564
|
*/
|
|
40831
41565
|
|
|
40832
41566
|
/**
|
|
@@ -42173,7 +42907,7 @@ class OutboundApi {
|
|
|
42173
42907
|
/**
|
|
42174
42908
|
* Outbound service.
|
|
42175
42909
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42176
|
-
* @version
|
|
42910
|
+
* @version 206.0.0
|
|
42177
42911
|
*/
|
|
42178
42912
|
|
|
42179
42913
|
/**
|
|
@@ -43284,6 +44018,36 @@ class OutboundApi {
|
|
|
43284
44018
|
);
|
|
43285
44019
|
}
|
|
43286
44020
|
|
|
44021
|
+
/**
|
|
44022
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
44023
|
+
*
|
|
44024
|
+
* @param {String} campaignId Campaign ID
|
|
44025
|
+
* @param {Object} opts Optional parameters
|
|
44026
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
44027
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
44028
|
+
*/
|
|
44029
|
+
getOutboundCampaignSkillcombinations(campaignId, opts) {
|
|
44030
|
+
opts = opts || {};
|
|
44031
|
+
|
|
44032
|
+
// verify the required parameter 'campaignId' is set
|
|
44033
|
+
if (campaignId === undefined || campaignId === null) {
|
|
44034
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';
|
|
44035
|
+
}
|
|
44036
|
+
|
|
44037
|
+
return this.apiClient.callApi(
|
|
44038
|
+
'/api/v2/outbound/campaigns/{campaignId}/skillcombinations',
|
|
44039
|
+
'GET',
|
|
44040
|
+
{ 'campaignId': campaignId },
|
|
44041
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
44042
|
+
{ },
|
|
44043
|
+
{ },
|
|
44044
|
+
null,
|
|
44045
|
+
['PureCloud OAuth'],
|
|
44046
|
+
['application/json'],
|
|
44047
|
+
['application/json']
|
|
44048
|
+
);
|
|
44049
|
+
}
|
|
44050
|
+
|
|
43287
44051
|
/**
|
|
43288
44052
|
* Get statistics about a Dialer Campaign
|
|
43289
44053
|
*
|
|
@@ -46590,7 +47354,7 @@ class PresenceApi {
|
|
|
46590
47354
|
/**
|
|
46591
47355
|
* Presence service.
|
|
46592
47356
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
46593
|
-
* @version
|
|
47357
|
+
* @version 206.0.0
|
|
46594
47358
|
*/
|
|
46595
47359
|
|
|
46596
47360
|
/**
|
|
@@ -47334,7 +48098,7 @@ class ProcessAutomationApi {
|
|
|
47334
48098
|
/**
|
|
47335
48099
|
* ProcessAutomation service.
|
|
47336
48100
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47337
|
-
* @version
|
|
48101
|
+
* @version 206.0.0
|
|
47338
48102
|
*/
|
|
47339
48103
|
|
|
47340
48104
|
/**
|
|
@@ -47573,7 +48337,7 @@ class QualityApi {
|
|
|
47573
48337
|
/**
|
|
47574
48338
|
* Quality service.
|
|
47575
48339
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
47576
|
-
* @version
|
|
48340
|
+
* @version 206.0.0
|
|
47577
48341
|
*/
|
|
47578
48342
|
|
|
47579
48343
|
/**
|
|
@@ -49359,7 +50123,7 @@ class RecordingApi {
|
|
|
49359
50123
|
/**
|
|
49360
50124
|
* Recording service.
|
|
49361
50125
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49362
|
-
* @version
|
|
50126
|
+
* @version 206.0.0
|
|
49363
50127
|
*/
|
|
49364
50128
|
|
|
49365
50129
|
/**
|
|
@@ -51018,7 +51782,7 @@ class ResponseManagementApi {
|
|
|
51018
51782
|
/**
|
|
51019
51783
|
* ResponseManagement service.
|
|
51020
51784
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51021
|
-
* @version
|
|
51785
|
+
* @version 206.0.0
|
|
51022
51786
|
*/
|
|
51023
51787
|
|
|
51024
51788
|
/**
|
|
@@ -51528,7 +52292,7 @@ class RoutingApi {
|
|
|
51528
52292
|
/**
|
|
51529
52293
|
* Routing service.
|
|
51530
52294
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
51531
|
-
* @version
|
|
52295
|
+
* @version 206.0.0
|
|
51532
52296
|
*/
|
|
51533
52297
|
|
|
51534
52298
|
/**
|
|
@@ -55676,7 +56440,7 @@ class SCIMApi {
|
|
|
55676
56440
|
/**
|
|
55677
56441
|
* SCIM service.
|
|
55678
56442
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
55679
|
-
* @version
|
|
56443
|
+
* @version 206.0.0
|
|
55680
56444
|
*/
|
|
55681
56445
|
|
|
55682
56446
|
/**
|
|
@@ -56553,7 +57317,7 @@ class ScreenRecordingApi {
|
|
|
56553
57317
|
/**
|
|
56554
57318
|
* ScreenRecording service.
|
|
56555
57319
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
56556
|
-
* @version
|
|
57320
|
+
* @version 206.0.0
|
|
56557
57321
|
*/
|
|
56558
57322
|
|
|
56559
57323
|
/**
|
|
@@ -56598,7 +57362,7 @@ class ScriptsApi {
|
|
|
56598
57362
|
/**
|
|
56599
57363
|
* Scripts service.
|
|
56600
57364
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
56601
|
-
* @version
|
|
57365
|
+
* @version 206.0.0
|
|
56602
57366
|
*/
|
|
56603
57367
|
|
|
56604
57368
|
/**
|
|
@@ -57042,7 +57806,7 @@ class SearchApi {
|
|
|
57042
57806
|
/**
|
|
57043
57807
|
* Search service.
|
|
57044
57808
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57045
|
-
* @version
|
|
57809
|
+
* @version 206.0.0
|
|
57046
57810
|
*/
|
|
57047
57811
|
|
|
57048
57812
|
/**
|
|
@@ -57731,7 +58495,7 @@ class SettingsApi {
|
|
|
57731
58495
|
/**
|
|
57732
58496
|
* Settings service.
|
|
57733
58497
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
57734
|
-
* @version
|
|
58498
|
+
* @version 206.0.0
|
|
57735
58499
|
*/
|
|
57736
58500
|
|
|
57737
58501
|
/**
|
|
@@ -57951,7 +58715,7 @@ class SpeechTextAnalyticsApi {
|
|
|
57951
58715
|
/**
|
|
57952
58716
|
* SpeechTextAnalytics service.
|
|
57953
58717
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57954
|
-
* @version
|
|
58718
|
+
* @version 206.0.0
|
|
57955
58719
|
*/
|
|
57956
58720
|
|
|
57957
58721
|
/**
|
|
@@ -58769,6 +59533,63 @@ class SpeechTextAnalyticsApi {
|
|
|
58769
59533
|
);
|
|
58770
59534
|
}
|
|
58771
59535
|
|
|
59536
|
+
/**
|
|
59537
|
+
* Translate all communication(s) for an interaction.
|
|
59538
|
+
*
|
|
59539
|
+
* @param {String} languageId Target translation language
|
|
59540
|
+
* @param {String} conversationId Conversation id
|
|
59541
|
+
* @param {Object} opts Optional parameters
|
|
59542
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
59543
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
59544
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59545
|
+
*/
|
|
59546
|
+
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
59547
|
+
opts = opts || {};
|
|
59548
|
+
|
|
59549
|
+
// verify the required parameter 'languageId' is set
|
|
59550
|
+
if (languageId === undefined || languageId === null) {
|
|
59551
|
+
throw 'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59552
|
+
}
|
|
59553
|
+
// verify the required parameter 'conversationId' is set
|
|
59554
|
+
if (conversationId === undefined || conversationId === null) {
|
|
59555
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59556
|
+
}
|
|
59557
|
+
|
|
59558
|
+
return this.apiClient.callApi(
|
|
59559
|
+
'/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}',
|
|
59560
|
+
'GET',
|
|
59561
|
+
{ 'languageId': languageId,'conversationId': conversationId },
|
|
59562
|
+
{ 'communicationId': opts['communicationId'],'recordingId': opts['recordingId'] },
|
|
59563
|
+
{ },
|
|
59564
|
+
{ },
|
|
59565
|
+
null,
|
|
59566
|
+
['PureCloud OAuth'],
|
|
59567
|
+
['application/json'],
|
|
59568
|
+
['application/json']
|
|
59569
|
+
);
|
|
59570
|
+
}
|
|
59571
|
+
|
|
59572
|
+
/**
|
|
59573
|
+
* Get supported translation languages
|
|
59574
|
+
*
|
|
59575
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59576
|
+
*/
|
|
59577
|
+
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
59578
|
+
|
|
59579
|
+
return this.apiClient.callApi(
|
|
59580
|
+
'/api/v2/speechandtextanalytics/translations/languages',
|
|
59581
|
+
'GET',
|
|
59582
|
+
{ },
|
|
59583
|
+
{ },
|
|
59584
|
+
{ },
|
|
59585
|
+
{ },
|
|
59586
|
+
null,
|
|
59587
|
+
['PureCloud OAuth'],
|
|
59588
|
+
['application/json'],
|
|
59589
|
+
['application/json']
|
|
59590
|
+
);
|
|
59591
|
+
}
|
|
59592
|
+
|
|
58772
59593
|
/**
|
|
58773
59594
|
* Patch Speech And Text Analytics Settings
|
|
58774
59595
|
*
|
|
@@ -59229,7 +60050,7 @@ class StationsApi {
|
|
|
59229
60050
|
/**
|
|
59230
60051
|
* Stations service.
|
|
59231
60052
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59232
|
-
* @version
|
|
60053
|
+
* @version 206.0.0
|
|
59233
60054
|
*/
|
|
59234
60055
|
|
|
59235
60056
|
/**
|
|
@@ -59331,7 +60152,7 @@ class SuggestApi {
|
|
|
59331
60152
|
/**
|
|
59332
60153
|
* Suggest service.
|
|
59333
60154
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59334
|
-
* @version
|
|
60155
|
+
* @version 206.0.0
|
|
59335
60156
|
*/
|
|
59336
60157
|
|
|
59337
60158
|
/**
|
|
@@ -59470,7 +60291,7 @@ class TaskManagementApi {
|
|
|
59470
60291
|
/**
|
|
59471
60292
|
* TaskManagement service.
|
|
59472
60293
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
59473
|
-
* @version
|
|
60294
|
+
* @version 206.0.0
|
|
59474
60295
|
*/
|
|
59475
60296
|
|
|
59476
60297
|
/**
|
|
@@ -59585,6 +60406,66 @@ class TaskManagementApi {
|
|
|
59585
60406
|
);
|
|
59586
60407
|
}
|
|
59587
60408
|
|
|
60409
|
+
/**
|
|
60410
|
+
* Delete a rule
|
|
60411
|
+
*
|
|
60412
|
+
* @param {String} worktypeId Worktype id
|
|
60413
|
+
* @param {String} ruleId ruleId
|
|
60414
|
+
*/
|
|
60415
|
+
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60416
|
+
// verify the required parameter 'worktypeId' is set
|
|
60417
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60418
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60419
|
+
}
|
|
60420
|
+
// verify the required parameter 'ruleId' is set
|
|
60421
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60422
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
60423
|
+
}
|
|
60424
|
+
|
|
60425
|
+
return this.apiClient.callApi(
|
|
60426
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
60427
|
+
'DELETE',
|
|
60428
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60429
|
+
{ },
|
|
60430
|
+
{ },
|
|
60431
|
+
{ },
|
|
60432
|
+
null,
|
|
60433
|
+
['PureCloud OAuth'],
|
|
60434
|
+
['application/json'],
|
|
60435
|
+
['application/json']
|
|
60436
|
+
);
|
|
60437
|
+
}
|
|
60438
|
+
|
|
60439
|
+
/**
|
|
60440
|
+
* Delete a rule
|
|
60441
|
+
*
|
|
60442
|
+
* @param {String} worktypeId Worktype id
|
|
60443
|
+
* @param {String} ruleId ruleId
|
|
60444
|
+
*/
|
|
60445
|
+
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
60446
|
+
// verify the required parameter 'worktypeId' is set
|
|
60447
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
60448
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60449
|
+
}
|
|
60450
|
+
// verify the required parameter 'ruleId' is set
|
|
60451
|
+
if (ruleId === undefined || ruleId === null) {
|
|
60452
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
60453
|
+
}
|
|
60454
|
+
|
|
60455
|
+
return this.apiClient.callApi(
|
|
60456
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
60457
|
+
'DELETE',
|
|
60458
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
60459
|
+
{ },
|
|
60460
|
+
{ },
|
|
60461
|
+
{ },
|
|
60462
|
+
null,
|
|
60463
|
+
['PureCloud OAuth'],
|
|
60464
|
+
['application/json'],
|
|
60465
|
+
['application/json']
|
|
60466
|
+
);
|
|
60467
|
+
}
|
|
60468
|
+
|
|
59588
60469
|
/**
|
|
59589
60470
|
* Delete a status
|
|
59590
60471
|
*
|
|
@@ -60107,6 +60988,126 @@ class TaskManagementApi {
|
|
|
60107
60988
|
);
|
|
60108
60989
|
}
|
|
60109
60990
|
|
|
60991
|
+
/**
|
|
60992
|
+
* Get an attribute change rule
|
|
60993
|
+
*
|
|
60994
|
+
* @param {String} worktypeId Worktype id
|
|
60995
|
+
* @param {String} ruleId ruleId
|
|
60996
|
+
*/
|
|
60997
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
60998
|
+
// verify the required parameter 'worktypeId' is set
|
|
60999
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61000
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61001
|
+
}
|
|
61002
|
+
// verify the required parameter 'ruleId' is set
|
|
61003
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61004
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61005
|
+
}
|
|
61006
|
+
|
|
61007
|
+
return this.apiClient.callApi(
|
|
61008
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61009
|
+
'GET',
|
|
61010
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61011
|
+
{ },
|
|
61012
|
+
{ },
|
|
61013
|
+
{ },
|
|
61014
|
+
null,
|
|
61015
|
+
['PureCloud OAuth'],
|
|
61016
|
+
['application/json'],
|
|
61017
|
+
['application/json']
|
|
61018
|
+
);
|
|
61019
|
+
}
|
|
61020
|
+
|
|
61021
|
+
/**
|
|
61022
|
+
* Get all attribute-change rules for a worktype
|
|
61023
|
+
*
|
|
61024
|
+
* @param {String} worktypeId Worktype id
|
|
61025
|
+
* @param {Object} opts Optional parameters
|
|
61026
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61027
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
61028
|
+
*/
|
|
61029
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, opts) {
|
|
61030
|
+
opts = opts || {};
|
|
61031
|
+
|
|
61032
|
+
// verify the required parameter 'worktypeId' is set
|
|
61033
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61034
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61035
|
+
}
|
|
61036
|
+
|
|
61037
|
+
return this.apiClient.callApi(
|
|
61038
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61039
|
+
'GET',
|
|
61040
|
+
{ 'worktypeId': worktypeId },
|
|
61041
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61042
|
+
{ },
|
|
61043
|
+
{ },
|
|
61044
|
+
null,
|
|
61045
|
+
['PureCloud OAuth'],
|
|
61046
|
+
['application/json'],
|
|
61047
|
+
['application/json']
|
|
61048
|
+
);
|
|
61049
|
+
}
|
|
61050
|
+
|
|
61051
|
+
/**
|
|
61052
|
+
* Get an on-create rule
|
|
61053
|
+
*
|
|
61054
|
+
* @param {String} worktypeId Worktype id
|
|
61055
|
+
* @param {String} ruleId ruleId
|
|
61056
|
+
*/
|
|
61057
|
+
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
61058
|
+
// verify the required parameter 'worktypeId' is set
|
|
61059
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61060
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61061
|
+
}
|
|
61062
|
+
// verify the required parameter 'ruleId' is set
|
|
61063
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61064
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
61065
|
+
}
|
|
61066
|
+
|
|
61067
|
+
return this.apiClient.callApi(
|
|
61068
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61069
|
+
'GET',
|
|
61070
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61071
|
+
{ },
|
|
61072
|
+
{ },
|
|
61073
|
+
{ },
|
|
61074
|
+
null,
|
|
61075
|
+
['PureCloud OAuth'],
|
|
61076
|
+
['application/json'],
|
|
61077
|
+
['application/json']
|
|
61078
|
+
);
|
|
61079
|
+
}
|
|
61080
|
+
|
|
61081
|
+
/**
|
|
61082
|
+
* Get all on-create rules for a worktype
|
|
61083
|
+
*
|
|
61084
|
+
* @param {String} worktypeId Worktype id
|
|
61085
|
+
* @param {Object} opts Optional parameters
|
|
61086
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
61087
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
61088
|
+
*/
|
|
61089
|
+
getTaskmanagementWorktypeFlowsOncreateRules(worktypeId, opts) {
|
|
61090
|
+
opts = opts || {};
|
|
61091
|
+
|
|
61092
|
+
// verify the required parameter 'worktypeId' is set
|
|
61093
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61094
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';
|
|
61095
|
+
}
|
|
61096
|
+
|
|
61097
|
+
return this.apiClient.callApi(
|
|
61098
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61099
|
+
'GET',
|
|
61100
|
+
{ 'worktypeId': worktypeId },
|
|
61101
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
61102
|
+
{ },
|
|
61103
|
+
{ },
|
|
61104
|
+
null,
|
|
61105
|
+
['PureCloud OAuth'],
|
|
61106
|
+
['application/json'],
|
|
61107
|
+
['application/json']
|
|
61108
|
+
);
|
|
61109
|
+
}
|
|
61110
|
+
|
|
60110
61111
|
/**
|
|
60111
61112
|
* Get a listing of a worktype's attribute change history
|
|
60112
61113
|
*
|
|
@@ -60443,6 +61444,76 @@ class TaskManagementApi {
|
|
|
60443
61444
|
);
|
|
60444
61445
|
}
|
|
60445
61446
|
|
|
61447
|
+
/**
|
|
61448
|
+
* Update the attributes of a rule
|
|
61449
|
+
*
|
|
61450
|
+
* @param {String} worktypeId Worktype id
|
|
61451
|
+
* @param {String} ruleId ruleId
|
|
61452
|
+
* @param {Object} body Rule
|
|
61453
|
+
*/
|
|
61454
|
+
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
|
|
61455
|
+
// verify the required parameter 'worktypeId' is set
|
|
61456
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61457
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61458
|
+
}
|
|
61459
|
+
// verify the required parameter 'ruleId' is set
|
|
61460
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61461
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61462
|
+
}
|
|
61463
|
+
// verify the required parameter 'body' is set
|
|
61464
|
+
if (body === undefined || body === null) {
|
|
61465
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
61466
|
+
}
|
|
61467
|
+
|
|
61468
|
+
return this.apiClient.callApi(
|
|
61469
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
|
|
61470
|
+
'PATCH',
|
|
61471
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61472
|
+
{ },
|
|
61473
|
+
{ },
|
|
61474
|
+
{ },
|
|
61475
|
+
body,
|
|
61476
|
+
['PureCloud OAuth'],
|
|
61477
|
+
['application/json'],
|
|
61478
|
+
['application/json']
|
|
61479
|
+
);
|
|
61480
|
+
}
|
|
61481
|
+
|
|
61482
|
+
/**
|
|
61483
|
+
* Update the attributes of a rule
|
|
61484
|
+
*
|
|
61485
|
+
* @param {String} worktypeId Worktype id
|
|
61486
|
+
* @param {String} ruleId ruleId
|
|
61487
|
+
* @param {Object} body Rule
|
|
61488
|
+
*/
|
|
61489
|
+
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
|
|
61490
|
+
// verify the required parameter 'worktypeId' is set
|
|
61491
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61492
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61493
|
+
}
|
|
61494
|
+
// verify the required parameter 'ruleId' is set
|
|
61495
|
+
if (ruleId === undefined || ruleId === null) {
|
|
61496
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61497
|
+
}
|
|
61498
|
+
// verify the required parameter 'body' is set
|
|
61499
|
+
if (body === undefined || body === null) {
|
|
61500
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
61501
|
+
}
|
|
61502
|
+
|
|
61503
|
+
return this.apiClient.callApi(
|
|
61504
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
|
|
61505
|
+
'PATCH',
|
|
61506
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
61507
|
+
{ },
|
|
61508
|
+
{ },
|
|
61509
|
+
{ },
|
|
61510
|
+
body,
|
|
61511
|
+
['PureCloud OAuth'],
|
|
61512
|
+
['application/json'],
|
|
61513
|
+
['application/json']
|
|
61514
|
+
);
|
|
61515
|
+
}
|
|
61516
|
+
|
|
60446
61517
|
/**
|
|
60447
61518
|
* Update the attributes of a status
|
|
60448
61519
|
*
|
|
@@ -60708,6 +61779,66 @@ class TaskManagementApi {
|
|
|
60708
61779
|
);
|
|
60709
61780
|
}
|
|
60710
61781
|
|
|
61782
|
+
/**
|
|
61783
|
+
* Add an attribute-change rule to a worktype
|
|
61784
|
+
*
|
|
61785
|
+
* @param {String} worktypeId Worktype id
|
|
61786
|
+
* @param {Object} body Rule
|
|
61787
|
+
*/
|
|
61788
|
+
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
|
|
61789
|
+
// verify the required parameter 'worktypeId' is set
|
|
61790
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61791
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61792
|
+
}
|
|
61793
|
+
// verify the required parameter 'body' is set
|
|
61794
|
+
if (body === undefined || body === null) {
|
|
61795
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
61796
|
+
}
|
|
61797
|
+
|
|
61798
|
+
return this.apiClient.callApi(
|
|
61799
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
|
|
61800
|
+
'POST',
|
|
61801
|
+
{ 'worktypeId': worktypeId },
|
|
61802
|
+
{ },
|
|
61803
|
+
{ },
|
|
61804
|
+
{ },
|
|
61805
|
+
body,
|
|
61806
|
+
['PureCloud OAuth'],
|
|
61807
|
+
['application/json'],
|
|
61808
|
+
['application/json']
|
|
61809
|
+
);
|
|
61810
|
+
}
|
|
61811
|
+
|
|
61812
|
+
/**
|
|
61813
|
+
* Add an on-create rule to a worktype
|
|
61814
|
+
*
|
|
61815
|
+
* @param {String} worktypeId Worktype id
|
|
61816
|
+
* @param {Object} body Rule
|
|
61817
|
+
*/
|
|
61818
|
+
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
|
|
61819
|
+
// verify the required parameter 'worktypeId' is set
|
|
61820
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
61821
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61822
|
+
}
|
|
61823
|
+
// verify the required parameter 'body' is set
|
|
61824
|
+
if (body === undefined || body === null) {
|
|
61825
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
61826
|
+
}
|
|
61827
|
+
|
|
61828
|
+
return this.apiClient.callApi(
|
|
61829
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
|
|
61830
|
+
'POST',
|
|
61831
|
+
{ 'worktypeId': worktypeId },
|
|
61832
|
+
{ },
|
|
61833
|
+
{ },
|
|
61834
|
+
{ },
|
|
61835
|
+
body,
|
|
61836
|
+
['PureCloud OAuth'],
|
|
61837
|
+
['application/json'],
|
|
61838
|
+
['application/json']
|
|
61839
|
+
);
|
|
61840
|
+
}
|
|
61841
|
+
|
|
60711
61842
|
/**
|
|
60712
61843
|
* Add a status to a worktype
|
|
60713
61844
|
*
|
|
@@ -60824,7 +61955,7 @@ class TeamsApi {
|
|
|
60824
61955
|
/**
|
|
60825
61956
|
* Teams service.
|
|
60826
61957
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60827
|
-
* @version
|
|
61958
|
+
* @version 206.0.0
|
|
60828
61959
|
*/
|
|
60829
61960
|
|
|
60830
61961
|
/**
|
|
@@ -61125,7 +62256,7 @@ class TelephonyApi {
|
|
|
61125
62256
|
/**
|
|
61126
62257
|
* Telephony service.
|
|
61127
62258
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61128
|
-
* @version
|
|
62259
|
+
* @version 206.0.0
|
|
61129
62260
|
*/
|
|
61130
62261
|
|
|
61131
62262
|
/**
|
|
@@ -61307,7 +62438,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
61307
62438
|
/**
|
|
61308
62439
|
* TelephonyProvidersEdge service.
|
|
61309
62440
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61310
|
-
* @version
|
|
62441
|
+
* @version 206.0.0
|
|
61311
62442
|
*/
|
|
61312
62443
|
|
|
61313
62444
|
/**
|
|
@@ -61402,6 +62533,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
61402
62533
|
);
|
|
61403
62534
|
}
|
|
61404
62535
|
|
|
62536
|
+
/**
|
|
62537
|
+
* Deletes alertable presences overrides.
|
|
62538
|
+
*
|
|
62539
|
+
*/
|
|
62540
|
+
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
62541
|
+
|
|
62542
|
+
return this.apiClient.callApi(
|
|
62543
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62544
|
+
'DELETE',
|
|
62545
|
+
{ },
|
|
62546
|
+
{ },
|
|
62547
|
+
{ },
|
|
62548
|
+
{ },
|
|
62549
|
+
null,
|
|
62550
|
+
['PureCloud OAuth'],
|
|
62551
|
+
['application/json'],
|
|
62552
|
+
['application/json']
|
|
62553
|
+
);
|
|
62554
|
+
}
|
|
62555
|
+
|
|
61405
62556
|
/**
|
|
61406
62557
|
* Delete a certificate authority.
|
|
61407
62558
|
*
|
|
@@ -62074,6 +63225,30 @@ class TelephonyProvidersEdgeApi {
|
|
|
62074
63225
|
);
|
|
62075
63226
|
}
|
|
62076
63227
|
|
|
63228
|
+
/**
|
|
63229
|
+
* 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.
|
|
63230
|
+
*
|
|
63231
|
+
* @param {Object} opts Optional parameters
|
|
63232
|
+
* @param {Object} opts.type
|
|
63233
|
+
*/
|
|
63234
|
+
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
63235
|
+
opts = opts || {};
|
|
63236
|
+
|
|
63237
|
+
|
|
63238
|
+
return this.apiClient.callApi(
|
|
63239
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
63240
|
+
'GET',
|
|
63241
|
+
{ },
|
|
63242
|
+
{ 'type': opts['type'] },
|
|
63243
|
+
{ },
|
|
63244
|
+
{ },
|
|
63245
|
+
null,
|
|
63246
|
+
['PureCloud OAuth'],
|
|
63247
|
+
['application/json'],
|
|
63248
|
+
['application/json']
|
|
63249
|
+
);
|
|
63250
|
+
}
|
|
63251
|
+
|
|
62077
63252
|
/**
|
|
62078
63253
|
* Get the list of certificate authorities.
|
|
62079
63254
|
*
|
|
@@ -64259,6 +65434,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
64259
65434
|
);
|
|
64260
65435
|
}
|
|
64261
65436
|
|
|
65437
|
+
/**
|
|
65438
|
+
* Creates or updates alertable presences overrides.
|
|
65439
|
+
*
|
|
65440
|
+
* @param {Object} body Alertable Presences Overrides
|
|
65441
|
+
*/
|
|
65442
|
+
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
65443
|
+
// verify the required parameter 'body' is set
|
|
65444
|
+
if (body === undefined || body === null) {
|
|
65445
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
65446
|
+
}
|
|
65447
|
+
|
|
65448
|
+
return this.apiClient.callApi(
|
|
65449
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
65450
|
+
'PUT',
|
|
65451
|
+
{ },
|
|
65452
|
+
{ },
|
|
65453
|
+
{ },
|
|
65454
|
+
{ },
|
|
65455
|
+
body,
|
|
65456
|
+
['PureCloud OAuth'],
|
|
65457
|
+
['application/json'],
|
|
65458
|
+
['application/json']
|
|
65459
|
+
);
|
|
65460
|
+
}
|
|
65461
|
+
|
|
64262
65462
|
/**
|
|
64263
65463
|
* Update a certificate authority.
|
|
64264
65464
|
*
|
|
@@ -64635,7 +65835,7 @@ class TextbotsApi {
|
|
|
64635
65835
|
/**
|
|
64636
65836
|
* Textbots service.
|
|
64637
65837
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
64638
|
-
* @version
|
|
65838
|
+
* @version 206.0.0
|
|
64639
65839
|
*/
|
|
64640
65840
|
|
|
64641
65841
|
/**
|
|
@@ -64763,7 +65963,7 @@ class TokensApi {
|
|
|
64763
65963
|
/**
|
|
64764
65964
|
* Tokens service.
|
|
64765
65965
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
64766
|
-
* @version
|
|
65966
|
+
* @version 206.0.0
|
|
64767
65967
|
*/
|
|
64768
65968
|
|
|
64769
65969
|
/**
|
|
@@ -64917,7 +66117,7 @@ class UploadsApi {
|
|
|
64917
66117
|
/**
|
|
64918
66118
|
* Uploads service.
|
|
64919
66119
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
64920
|
-
* @version
|
|
66120
|
+
* @version 206.0.0
|
|
64921
66121
|
*/
|
|
64922
66122
|
|
|
64923
66123
|
/**
|
|
@@ -65186,7 +66386,7 @@ class UsageApi {
|
|
|
65186
66386
|
/**
|
|
65187
66387
|
* Usage service.
|
|
65188
66388
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65189
|
-
* @version
|
|
66389
|
+
* @version 206.0.0
|
|
65190
66390
|
*/
|
|
65191
66391
|
|
|
65192
66392
|
/**
|
|
@@ -65401,7 +66601,7 @@ class UserRecordingsApi {
|
|
|
65401
66601
|
/**
|
|
65402
66602
|
* UserRecordings service.
|
|
65403
66603
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
65404
|
-
* @version
|
|
66604
|
+
* @version 206.0.0
|
|
65405
66605
|
*/
|
|
65406
66606
|
|
|
65407
66607
|
/**
|
|
@@ -65616,7 +66816,7 @@ class UsersApi {
|
|
|
65616
66816
|
/**
|
|
65617
66817
|
* Users service.
|
|
65618
66818
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
65619
|
-
* @version
|
|
66819
|
+
* @version 206.0.0
|
|
65620
66820
|
*/
|
|
65621
66821
|
|
|
65622
66822
|
/**
|
|
@@ -68419,7 +69619,7 @@ class UtilitiesApi {
|
|
|
68419
69619
|
/**
|
|
68420
69620
|
* Utilities service.
|
|
68421
69621
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
68422
|
-
* @version
|
|
69622
|
+
* @version 206.0.0
|
|
68423
69623
|
*/
|
|
68424
69624
|
|
|
68425
69625
|
/**
|
|
@@ -68530,7 +69730,7 @@ class VoicemailApi {
|
|
|
68530
69730
|
/**
|
|
68531
69731
|
* Voicemail service.
|
|
68532
69732
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
68533
|
-
* @version
|
|
69733
|
+
* @version 206.0.0
|
|
68534
69734
|
*/
|
|
68535
69735
|
|
|
68536
69736
|
/**
|
|
@@ -69197,7 +70397,7 @@ class WebChatApi {
|
|
|
69197
70397
|
/**
|
|
69198
70398
|
* WebChat service.
|
|
69199
70399
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69200
|
-
* @version
|
|
70400
|
+
* @version 206.0.0
|
|
69201
70401
|
*/
|
|
69202
70402
|
|
|
69203
70403
|
/**
|
|
@@ -69748,7 +70948,7 @@ class WebDeploymentsApi {
|
|
|
69748
70948
|
/**
|
|
69749
70949
|
* WebDeployments service.
|
|
69750
70950
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
69751
|
-
* @version
|
|
70951
|
+
* @version 206.0.0
|
|
69752
70952
|
*/
|
|
69753
70953
|
|
|
69754
70954
|
/**
|
|
@@ -69952,7 +71152,7 @@ class WebDeploymentsApi {
|
|
|
69952
71152
|
* View configuration drafts
|
|
69953
71153
|
*
|
|
69954
71154
|
* @param {Object} opts Optional parameters
|
|
69955
|
-
* @param {Boolean} opts.showOnlyPublished
|
|
71155
|
+
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
69956
71156
|
*/
|
|
69957
71157
|
getWebdeploymentsConfigurations(opts) {
|
|
69958
71158
|
opts = opts || {};
|
|
@@ -70065,7 +71265,7 @@ class WebDeploymentsApi {
|
|
|
70065
71265
|
* Get deployments
|
|
70066
71266
|
*
|
|
70067
71267
|
* @param {Object} opts Optional parameters
|
|
70068
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
71268
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70069
71269
|
*/
|
|
70070
71270
|
getWebdeploymentsDeployments(opts) {
|
|
70071
71271
|
opts = opts || {};
|
|
@@ -70275,7 +71475,7 @@ class WebMessagingApi {
|
|
|
70275
71475
|
/**
|
|
70276
71476
|
* WebMessaging service.
|
|
70277
71477
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70278
|
-
* @version
|
|
71478
|
+
* @version 206.0.0
|
|
70279
71479
|
*/
|
|
70280
71480
|
|
|
70281
71481
|
/**
|
|
@@ -70321,7 +71521,7 @@ class WidgetsApi {
|
|
|
70321
71521
|
/**
|
|
70322
71522
|
* Widgets service.
|
|
70323
71523
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
70324
|
-
* @version
|
|
71524
|
+
* @version 206.0.0
|
|
70325
71525
|
*/
|
|
70326
71526
|
|
|
70327
71527
|
/**
|
|
@@ -70467,7 +71667,7 @@ class WorkforceManagementApi {
|
|
|
70467
71667
|
/**
|
|
70468
71668
|
* WorkforceManagement service.
|
|
70469
71669
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
70470
|
-
* @version
|
|
71670
|
+
* @version 206.0.0
|
|
70471
71671
|
*/
|
|
70472
71672
|
|
|
70473
71673
|
/**
|
|
@@ -74550,6 +75750,35 @@ class WorkforceManagementApi {
|
|
|
74550
75750
|
);
|
|
74551
75751
|
}
|
|
74552
75752
|
|
|
75753
|
+
/**
|
|
75754
|
+
* Updates agent work plan configuration
|
|
75755
|
+
*
|
|
75756
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
75757
|
+
* @param {Object} opts Optional parameters
|
|
75758
|
+
* @param {Object} opts.body body
|
|
75759
|
+
*/
|
|
75760
|
+
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, opts) {
|
|
75761
|
+
opts = opts || {};
|
|
75762
|
+
|
|
75763
|
+
// verify the required parameter 'managementUnitId' is set
|
|
75764
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
75765
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
75766
|
+
}
|
|
75767
|
+
|
|
75768
|
+
return this.apiClient.callApi(
|
|
75769
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
|
|
75770
|
+
'PATCH',
|
|
75771
|
+
{ 'managementUnitId': managementUnitId },
|
|
75772
|
+
{ },
|
|
75773
|
+
{ },
|
|
75774
|
+
{ },
|
|
75775
|
+
opts['body'],
|
|
75776
|
+
['PureCloud OAuth'],
|
|
75777
|
+
['application/json'],
|
|
75778
|
+
['application/json']
|
|
75779
|
+
);
|
|
75780
|
+
}
|
|
75781
|
+
|
|
74553
75782
|
/**
|
|
74554
75783
|
* Updates a time off limit object.
|
|
74555
75784
|
* Updates time off limit object properties, but not daily values.
|
|
@@ -76470,6 +77699,36 @@ class WorkforceManagementApi {
|
|
|
76470
77699
|
);
|
|
76471
77700
|
}
|
|
76472
77701
|
|
|
77702
|
+
/**
|
|
77703
|
+
* Get agents work plans configuration
|
|
77704
|
+
*
|
|
77705
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77706
|
+
* @param {Object} opts Optional parameters
|
|
77707
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
77708
|
+
* @param {Object} opts.body body
|
|
77709
|
+
*/
|
|
77710
|
+
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
|
|
77711
|
+
opts = opts || {};
|
|
77712
|
+
|
|
77713
|
+
// verify the required parameter 'managementUnitId' is set
|
|
77714
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
77715
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
77716
|
+
}
|
|
77717
|
+
|
|
77718
|
+
return this.apiClient.callApi(
|
|
77719
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
|
|
77720
|
+
'POST',
|
|
77721
|
+
{ 'managementUnitId': managementUnitId },
|
|
77722
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77723
|
+
{ },
|
|
77724
|
+
{ },
|
|
77725
|
+
opts['body'],
|
|
77726
|
+
['PureCloud OAuth'],
|
|
77727
|
+
['application/json'],
|
|
77728
|
+
['application/json']
|
|
77729
|
+
);
|
|
77730
|
+
}
|
|
77731
|
+
|
|
76473
77732
|
/**
|
|
76474
77733
|
* Query published schedules for given given time range for set of users
|
|
76475
77734
|
*
|
|
@@ -77622,7 +78881,7 @@ class WorkforceManagementApi {
|
|
|
77622
78881
|
* </pre>
|
|
77623
78882
|
* </p>
|
|
77624
78883
|
* @module purecloud-platform-client-v2/index
|
|
77625
|
-
* @version
|
|
78884
|
+
* @version 206.0.0
|
|
77626
78885
|
*/
|
|
77627
78886
|
class platformClient {
|
|
77628
78887
|
constructor() {
|