purecloud-platform-client-v2 204.1.0 → 205.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.js +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +519 -2
- 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 +27 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -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 +1 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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 205.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
|
*
|
|
@@ -21146,7 +21172,7 @@ class DataExtensionsApi {
|
|
|
21146
21172
|
/**
|
|
21147
21173
|
* DataExtensions service.
|
|
21148
21174
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21149
|
-
* @version
|
|
21175
|
+
* @version 205.0.0
|
|
21150
21176
|
*/
|
|
21151
21177
|
|
|
21152
21178
|
/**
|
|
@@ -21232,7 +21258,7 @@ class DownloadsApi {
|
|
|
21232
21258
|
/**
|
|
21233
21259
|
* Downloads service.
|
|
21234
21260
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21235
|
-
* @version
|
|
21261
|
+
* @version 205.0.0
|
|
21236
21262
|
*/
|
|
21237
21263
|
|
|
21238
21264
|
/**
|
|
@@ -21284,7 +21310,7 @@ class EmailsApi {
|
|
|
21284
21310
|
/**
|
|
21285
21311
|
* Emails service.
|
|
21286
21312
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21287
|
-
* @version
|
|
21313
|
+
* @version 205.0.0
|
|
21288
21314
|
*/
|
|
21289
21315
|
|
|
21290
21316
|
/**
|
|
@@ -21349,7 +21375,7 @@ class EmployeeEngagementApi {
|
|
|
21349
21375
|
/**
|
|
21350
21376
|
* EmployeeEngagement service.
|
|
21351
21377
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21352
|
-
* @version
|
|
21378
|
+
* @version 205.0.0
|
|
21353
21379
|
*/
|
|
21354
21380
|
|
|
21355
21381
|
/**
|
|
@@ -21500,7 +21526,7 @@ class EventsApi {
|
|
|
21500
21526
|
/**
|
|
21501
21527
|
* Events service.
|
|
21502
21528
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21503
|
-
* @version
|
|
21529
|
+
* @version 205.0.0
|
|
21504
21530
|
*/
|
|
21505
21531
|
|
|
21506
21532
|
/**
|
|
@@ -21596,7 +21622,7 @@ class ExternalContactsApi {
|
|
|
21596
21622
|
/**
|
|
21597
21623
|
* ExternalContacts service.
|
|
21598
21624
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21599
|
-
* @version
|
|
21625
|
+
* @version 205.0.0
|
|
21600
21626
|
*/
|
|
21601
21627
|
|
|
21602
21628
|
/**
|
|
@@ -23695,7 +23721,7 @@ class FaxApi {
|
|
|
23695
23721
|
/**
|
|
23696
23722
|
* Fax service.
|
|
23697
23723
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23698
|
-
* @version
|
|
23724
|
+
* @version 205.0.0
|
|
23699
23725
|
*/
|
|
23700
23726
|
|
|
23701
23727
|
/**
|
|
@@ -23910,7 +23936,7 @@ class FlowsApi {
|
|
|
23910
23936
|
/**
|
|
23911
23937
|
* Flows service.
|
|
23912
23938
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23913
|
-
* @version
|
|
23939
|
+
* @version 205.0.0
|
|
23914
23940
|
*/
|
|
23915
23941
|
|
|
23916
23942
|
/**
|
|
@@ -24093,7 +24119,7 @@ class GamificationApi {
|
|
|
24093
24119
|
/**
|
|
24094
24120
|
* Gamification service.
|
|
24095
24121
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24096
|
-
* @version
|
|
24122
|
+
* @version 205.0.0
|
|
24097
24123
|
*/
|
|
24098
24124
|
|
|
24099
24125
|
/**
|
|
@@ -26179,7 +26205,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26179
26205
|
/**
|
|
26180
26206
|
* GeneralDataProtectionRegulation service.
|
|
26181
26207
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26182
|
-
* @version
|
|
26208
|
+
* @version 205.0.0
|
|
26183
26209
|
*/
|
|
26184
26210
|
|
|
26185
26211
|
/**
|
|
@@ -26309,7 +26335,7 @@ class GeolocationApi {
|
|
|
26309
26335
|
/**
|
|
26310
26336
|
* Geolocation service.
|
|
26311
26337
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26312
|
-
* @version
|
|
26338
|
+
* @version 205.0.0
|
|
26313
26339
|
*/
|
|
26314
26340
|
|
|
26315
26341
|
/**
|
|
@@ -26440,7 +26466,7 @@ class GreetingsApi {
|
|
|
26440
26466
|
/**
|
|
26441
26467
|
* Greetings service.
|
|
26442
26468
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26443
|
-
* @version
|
|
26469
|
+
* @version 205.0.0
|
|
26444
26470
|
*/
|
|
26445
26471
|
|
|
26446
26472
|
/**
|
|
@@ -26895,7 +26921,7 @@ class GroupsApi {
|
|
|
26895
26921
|
/**
|
|
26896
26922
|
* Groups service.
|
|
26897
26923
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26898
|
-
* @version
|
|
26924
|
+
* @version 205.0.0
|
|
26899
26925
|
*/
|
|
26900
26926
|
|
|
26901
26927
|
/**
|
|
@@ -27414,7 +27440,7 @@ class IdentityProviderApi {
|
|
|
27414
27440
|
/**
|
|
27415
27441
|
* IdentityProvider service.
|
|
27416
27442
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27417
|
-
* @version
|
|
27443
|
+
* @version 205.0.0
|
|
27418
27444
|
*/
|
|
27419
27445
|
|
|
27420
27446
|
/**
|
|
@@ -28275,7 +28301,7 @@ class InfrastructureAsCodeApi {
|
|
|
28275
28301
|
/**
|
|
28276
28302
|
* InfrastructureAsCode service.
|
|
28277
28303
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28278
|
-
* @version
|
|
28304
|
+
* @version 205.0.0
|
|
28279
28305
|
*/
|
|
28280
28306
|
|
|
28281
28307
|
/**
|
|
@@ -28442,7 +28468,7 @@ class IntegrationsApi {
|
|
|
28442
28468
|
/**
|
|
28443
28469
|
* Integrations service.
|
|
28444
28470
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28445
|
-
* @version
|
|
28471
|
+
* @version 205.0.0
|
|
28446
28472
|
*/
|
|
28447
28473
|
|
|
28448
28474
|
/**
|
|
@@ -30864,7 +30890,7 @@ class JourneyApi {
|
|
|
30864
30890
|
/**
|
|
30865
30891
|
* Journey service.
|
|
30866
30892
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30867
|
-
* @version
|
|
30893
|
+
* @version 205.0.0
|
|
30868
30894
|
*/
|
|
30869
30895
|
|
|
30870
30896
|
/**
|
|
@@ -32507,7 +32533,7 @@ class KnowledgeApi {
|
|
|
32507
32533
|
/**
|
|
32508
32534
|
* Knowledge service.
|
|
32509
32535
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32510
|
-
* @version
|
|
32536
|
+
* @version 205.0.0
|
|
32511
32537
|
*/
|
|
32512
32538
|
|
|
32513
32539
|
/**
|
|
@@ -32840,6 +32866,99 @@ class KnowledgeApi {
|
|
|
32840
32866
|
);
|
|
32841
32867
|
}
|
|
32842
32868
|
|
|
32869
|
+
/**
|
|
32870
|
+
* Delete Salesforce Knowledge integration source
|
|
32871
|
+
*
|
|
32872
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32873
|
+
* @param {String} sourceId Source ID
|
|
32874
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32875
|
+
*/
|
|
32876
|
+
deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId) {
|
|
32877
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32878
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32879
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
32880
|
+
}
|
|
32881
|
+
// verify the required parameter 'sourceId' is set
|
|
32882
|
+
if (sourceId === undefined || sourceId === null) {
|
|
32883
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
32884
|
+
}
|
|
32885
|
+
|
|
32886
|
+
return this.apiClient.callApi(
|
|
32887
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
32888
|
+
'DELETE',
|
|
32889
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
32890
|
+
{ },
|
|
32891
|
+
{ },
|
|
32892
|
+
{ },
|
|
32893
|
+
null,
|
|
32894
|
+
['PureCloud OAuth'],
|
|
32895
|
+
['application/json'],
|
|
32896
|
+
['application/json']
|
|
32897
|
+
);
|
|
32898
|
+
}
|
|
32899
|
+
|
|
32900
|
+
/**
|
|
32901
|
+
* Delete ServiceNow Knowledge integration source
|
|
32902
|
+
*
|
|
32903
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32904
|
+
* @param {String} sourceId Source ID
|
|
32905
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32906
|
+
*/
|
|
32907
|
+
deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId) {
|
|
32908
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32909
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32910
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
32911
|
+
}
|
|
32912
|
+
// verify the required parameter 'sourceId' is set
|
|
32913
|
+
if (sourceId === undefined || sourceId === null) {
|
|
32914
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
32915
|
+
}
|
|
32916
|
+
|
|
32917
|
+
return this.apiClient.callApi(
|
|
32918
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
32919
|
+
'DELETE',
|
|
32920
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
32921
|
+
{ },
|
|
32922
|
+
{ },
|
|
32923
|
+
{ },
|
|
32924
|
+
null,
|
|
32925
|
+
['PureCloud OAuth'],
|
|
32926
|
+
['application/json'],
|
|
32927
|
+
['application/json']
|
|
32928
|
+
);
|
|
32929
|
+
}
|
|
32930
|
+
|
|
32931
|
+
/**
|
|
32932
|
+
* Delete synchronization job
|
|
32933
|
+
*
|
|
32934
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32935
|
+
* @param {String} syncJobId Synchronization job ID
|
|
32936
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32937
|
+
*/
|
|
32938
|
+
deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
32939
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32940
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32941
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
32942
|
+
}
|
|
32943
|
+
// verify the required parameter 'syncJobId' is set
|
|
32944
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
32945
|
+
throw 'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
32946
|
+
}
|
|
32947
|
+
|
|
32948
|
+
return this.apiClient.callApi(
|
|
32949
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
32950
|
+
'DELETE',
|
|
32951
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
32952
|
+
{ },
|
|
32953
|
+
{ },
|
|
32954
|
+
{ },
|
|
32955
|
+
null,
|
|
32956
|
+
['PureCloud OAuth'],
|
|
32957
|
+
['application/json'],
|
|
32958
|
+
['application/json']
|
|
32959
|
+
);
|
|
32960
|
+
}
|
|
32961
|
+
|
|
32843
32962
|
/**
|
|
32844
32963
|
* Get categories
|
|
32845
32964
|
*
|
|
@@ -32937,6 +33056,32 @@ class KnowledgeApi {
|
|
|
32937
33056
|
);
|
|
32938
33057
|
}
|
|
32939
33058
|
|
|
33059
|
+
/**
|
|
33060
|
+
* Get sync options available for a knowledge-connect integration
|
|
33061
|
+
*
|
|
33062
|
+
* @param {String} integrationId Integration ID
|
|
33063
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33064
|
+
*/
|
|
33065
|
+
getKnowledgeIntegrationOptions(integrationId) {
|
|
33066
|
+
// verify the required parameter 'integrationId' is set
|
|
33067
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33068
|
+
throw 'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';
|
|
33069
|
+
}
|
|
33070
|
+
|
|
33071
|
+
return this.apiClient.callApi(
|
|
33072
|
+
'/api/v2/knowledge/integrations/{integrationId}/options',
|
|
33073
|
+
'GET',
|
|
33074
|
+
{ 'integrationId': integrationId },
|
|
33075
|
+
{ },
|
|
33076
|
+
{ },
|
|
33077
|
+
{ },
|
|
33078
|
+
null,
|
|
33079
|
+
['PureCloud OAuth'],
|
|
33080
|
+
['application/json'],
|
|
33081
|
+
['application/json']
|
|
33082
|
+
);
|
|
33083
|
+
}
|
|
33084
|
+
|
|
32940
33085
|
/**
|
|
32941
33086
|
* Get knowledge base
|
|
32942
33087
|
*
|
|
@@ -33947,6 +34092,139 @@ class KnowledgeApi {
|
|
|
33947
34092
|
);
|
|
33948
34093
|
}
|
|
33949
34094
|
|
|
34095
|
+
/**
|
|
34096
|
+
* Get Knowledge integration sources
|
|
34097
|
+
*
|
|
34098
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34099
|
+
* @param {Object} opts Optional parameters
|
|
34100
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
34101
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34102
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
34103
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34104
|
+
*/
|
|
34105
|
+
getKnowledgeKnowledgebaseSources(knowledgeBaseId, opts) {
|
|
34106
|
+
opts = opts || {};
|
|
34107
|
+
|
|
34108
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34109
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34110
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';
|
|
34111
|
+
}
|
|
34112
|
+
|
|
34113
|
+
return this.apiClient.callApi(
|
|
34114
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources',
|
|
34115
|
+
'GET',
|
|
34116
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
34117
|
+
{ 'type': opts['type'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
|
|
34118
|
+
{ },
|
|
34119
|
+
{ },
|
|
34120
|
+
null,
|
|
34121
|
+
['PureCloud OAuth'],
|
|
34122
|
+
['application/json'],
|
|
34123
|
+
['application/json']
|
|
34124
|
+
);
|
|
34125
|
+
}
|
|
34126
|
+
|
|
34127
|
+
/**
|
|
34128
|
+
* Get Salesforce Knowledge integration source
|
|
34129
|
+
*
|
|
34130
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34131
|
+
* @param {String} sourceId Source ID
|
|
34132
|
+
* @param {Object} opts Optional parameters
|
|
34133
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34134
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34135
|
+
*/
|
|
34136
|
+
getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34137
|
+
opts = opts || {};
|
|
34138
|
+
|
|
34139
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34140
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34141
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34142
|
+
}
|
|
34143
|
+
// verify the required parameter 'sourceId' is set
|
|
34144
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34145
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34146
|
+
}
|
|
34147
|
+
|
|
34148
|
+
return this.apiClient.callApi(
|
|
34149
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
34150
|
+
'GET',
|
|
34151
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34152
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34153
|
+
{ },
|
|
34154
|
+
{ },
|
|
34155
|
+
null,
|
|
34156
|
+
['PureCloud OAuth'],
|
|
34157
|
+
['application/json'],
|
|
34158
|
+
['application/json']
|
|
34159
|
+
);
|
|
34160
|
+
}
|
|
34161
|
+
|
|
34162
|
+
/**
|
|
34163
|
+
* Get ServiceNow Knowledge integration source
|
|
34164
|
+
*
|
|
34165
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34166
|
+
* @param {String} sourceId Source ID
|
|
34167
|
+
* @param {Object} opts Optional parameters
|
|
34168
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34169
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34170
|
+
*/
|
|
34171
|
+
getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34172
|
+
opts = opts || {};
|
|
34173
|
+
|
|
34174
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34175
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34176
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34177
|
+
}
|
|
34178
|
+
// verify the required parameter 'sourceId' is set
|
|
34179
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34180
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34181
|
+
}
|
|
34182
|
+
|
|
34183
|
+
return this.apiClient.callApi(
|
|
34184
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
34185
|
+
'GET',
|
|
34186
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34187
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34188
|
+
{ },
|
|
34189
|
+
{ },
|
|
34190
|
+
null,
|
|
34191
|
+
['PureCloud OAuth'],
|
|
34192
|
+
['application/json'],
|
|
34193
|
+
['application/json']
|
|
34194
|
+
);
|
|
34195
|
+
}
|
|
34196
|
+
|
|
34197
|
+
/**
|
|
34198
|
+
* Get synchronization job report
|
|
34199
|
+
*
|
|
34200
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34201
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34202
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34203
|
+
*/
|
|
34204
|
+
getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
34205
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34206
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34207
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34208
|
+
}
|
|
34209
|
+
// verify the required parameter 'syncJobId' is set
|
|
34210
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34211
|
+
throw 'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34212
|
+
}
|
|
34213
|
+
|
|
34214
|
+
return this.apiClient.callApi(
|
|
34215
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34216
|
+
'GET',
|
|
34217
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34218
|
+
{ },
|
|
34219
|
+
{ },
|
|
34220
|
+
{ },
|
|
34221
|
+
null,
|
|
34222
|
+
['PureCloud OAuth'],
|
|
34223
|
+
['application/json'],
|
|
34224
|
+
['application/json']
|
|
34225
|
+
);
|
|
34226
|
+
}
|
|
34227
|
+
|
|
33950
34228
|
/**
|
|
33951
34229
|
* Get knowledge base unanswered group for a particular groupId
|
|
33952
34230
|
*
|
|
@@ -34631,6 +34909,42 @@ class KnowledgeApi {
|
|
|
34631
34909
|
);
|
|
34632
34910
|
}
|
|
34633
34911
|
|
|
34912
|
+
/**
|
|
34913
|
+
* Update synchronization job
|
|
34914
|
+
*
|
|
34915
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34916
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34917
|
+
* @param {Object} body
|
|
34918
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34919
|
+
*/
|
|
34920
|
+
patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId, body) {
|
|
34921
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34922
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34923
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34924
|
+
}
|
|
34925
|
+
// verify the required parameter 'syncJobId' is set
|
|
34926
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34927
|
+
throw 'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34928
|
+
}
|
|
34929
|
+
// verify the required parameter 'body' is set
|
|
34930
|
+
if (body === undefined || body === null) {
|
|
34931
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34932
|
+
}
|
|
34933
|
+
|
|
34934
|
+
return this.apiClient.callApi(
|
|
34935
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34936
|
+
'PATCH',
|
|
34937
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34938
|
+
{ },
|
|
34939
|
+
{ },
|
|
34940
|
+
{ },
|
|
34941
|
+
body,
|
|
34942
|
+
['PureCloud OAuth'],
|
|
34943
|
+
['application/json'],
|
|
34944
|
+
['application/json']
|
|
34945
|
+
);
|
|
34946
|
+
}
|
|
34947
|
+
|
|
34634
34948
|
/**
|
|
34635
34949
|
* Update a Knowledge base unanswered phrase group
|
|
34636
34950
|
*
|
|
@@ -35818,6 +36132,161 @@ class KnowledgeApi {
|
|
|
35818
36132
|
);
|
|
35819
36133
|
}
|
|
35820
36134
|
|
|
36135
|
+
/**
|
|
36136
|
+
* Create Salesforce Knowledge integration source
|
|
36137
|
+
*
|
|
36138
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36139
|
+
* @param {Object} body
|
|
36140
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36141
|
+
*/
|
|
36142
|
+
postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId, body) {
|
|
36143
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36144
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36145
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36146
|
+
}
|
|
36147
|
+
// verify the required parameter 'body' is set
|
|
36148
|
+
if (body === undefined || body === null) {
|
|
36149
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36150
|
+
}
|
|
36151
|
+
|
|
36152
|
+
return this.apiClient.callApi(
|
|
36153
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce',
|
|
36154
|
+
'POST',
|
|
36155
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36156
|
+
{ },
|
|
36157
|
+
{ },
|
|
36158
|
+
{ },
|
|
36159
|
+
body,
|
|
36160
|
+
['PureCloud OAuth'],
|
|
36161
|
+
['application/json'],
|
|
36162
|
+
['application/json']
|
|
36163
|
+
);
|
|
36164
|
+
}
|
|
36165
|
+
|
|
36166
|
+
/**
|
|
36167
|
+
* Start sync on Salesforce Knowledge integration source
|
|
36168
|
+
*
|
|
36169
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36170
|
+
* @param {String} sourceId Source ID
|
|
36171
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36172
|
+
*/
|
|
36173
|
+
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36174
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36175
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36176
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36177
|
+
}
|
|
36178
|
+
// verify the required parameter 'sourceId' is set
|
|
36179
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36180
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36181
|
+
}
|
|
36182
|
+
|
|
36183
|
+
return this.apiClient.callApi(
|
|
36184
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync',
|
|
36185
|
+
'POST',
|
|
36186
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36187
|
+
{ },
|
|
36188
|
+
{ },
|
|
36189
|
+
{ },
|
|
36190
|
+
null,
|
|
36191
|
+
['PureCloud OAuth'],
|
|
36192
|
+
['application/json'],
|
|
36193
|
+
['application/json']
|
|
36194
|
+
);
|
|
36195
|
+
}
|
|
36196
|
+
|
|
36197
|
+
/**
|
|
36198
|
+
* Create ServiceNow Knowledge integration source
|
|
36199
|
+
*
|
|
36200
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36201
|
+
* @param {Object} body
|
|
36202
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36203
|
+
*/
|
|
36204
|
+
postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId, body) {
|
|
36205
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36206
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36207
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36208
|
+
}
|
|
36209
|
+
// verify the required parameter 'body' is set
|
|
36210
|
+
if (body === undefined || body === null) {
|
|
36211
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36212
|
+
}
|
|
36213
|
+
|
|
36214
|
+
return this.apiClient.callApi(
|
|
36215
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow',
|
|
36216
|
+
'POST',
|
|
36217
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36218
|
+
{ },
|
|
36219
|
+
{ },
|
|
36220
|
+
{ },
|
|
36221
|
+
body,
|
|
36222
|
+
['PureCloud OAuth'],
|
|
36223
|
+
['application/json'],
|
|
36224
|
+
['application/json']
|
|
36225
|
+
);
|
|
36226
|
+
}
|
|
36227
|
+
|
|
36228
|
+
/**
|
|
36229
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
36230
|
+
*
|
|
36231
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36232
|
+
* @param {String} sourceId Source ID
|
|
36233
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36234
|
+
*/
|
|
36235
|
+
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36236
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36237
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36238
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36239
|
+
}
|
|
36240
|
+
// verify the required parameter 'sourceId' is set
|
|
36241
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36242
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36243
|
+
}
|
|
36244
|
+
|
|
36245
|
+
return this.apiClient.callApi(
|
|
36246
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync',
|
|
36247
|
+
'POST',
|
|
36248
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36249
|
+
{ },
|
|
36250
|
+
{ },
|
|
36251
|
+
{ },
|
|
36252
|
+
null,
|
|
36253
|
+
['PureCloud OAuth'],
|
|
36254
|
+
['application/json'],
|
|
36255
|
+
['application/json']
|
|
36256
|
+
);
|
|
36257
|
+
}
|
|
36258
|
+
|
|
36259
|
+
/**
|
|
36260
|
+
* Create synchronization job
|
|
36261
|
+
*
|
|
36262
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36263
|
+
* @param {Object} body
|
|
36264
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36265
|
+
*/
|
|
36266
|
+
postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId, body) {
|
|
36267
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36268
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36269
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36270
|
+
}
|
|
36271
|
+
// verify the required parameter 'body' is set
|
|
36272
|
+
if (body === undefined || body === null) {
|
|
36273
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36274
|
+
}
|
|
36275
|
+
|
|
36276
|
+
return this.apiClient.callApi(
|
|
36277
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs',
|
|
36278
|
+
'POST',
|
|
36279
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36280
|
+
{ },
|
|
36281
|
+
{ },
|
|
36282
|
+
{ },
|
|
36283
|
+
body,
|
|
36284
|
+
['PureCloud OAuth'],
|
|
36285
|
+
['application/json'],
|
|
36286
|
+
['application/json']
|
|
36287
|
+
);
|
|
36288
|
+
}
|
|
36289
|
+
|
|
35821
36290
|
/**
|
|
35822
36291
|
* Create content upload from URL job
|
|
35823
36292
|
*
|
|
@@ -35874,13 +36343,85 @@ class KnowledgeApi {
|
|
|
35874
36343
|
);
|
|
35875
36344
|
}
|
|
35876
36345
|
|
|
36346
|
+
/**
|
|
36347
|
+
* Update Salesforce Knowledge integration source
|
|
36348
|
+
*
|
|
36349
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36350
|
+
* @param {String} sourceId Source ID
|
|
36351
|
+
* @param {Object} body
|
|
36352
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36353
|
+
*/
|
|
36354
|
+
putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, body) {
|
|
36355
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36356
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36357
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36358
|
+
}
|
|
36359
|
+
// verify the required parameter 'sourceId' is set
|
|
36360
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36361
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36362
|
+
}
|
|
36363
|
+
// verify the required parameter 'body' is set
|
|
36364
|
+
if (body === undefined || body === null) {
|
|
36365
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36366
|
+
}
|
|
36367
|
+
|
|
36368
|
+
return this.apiClient.callApi(
|
|
36369
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
36370
|
+
'PUT',
|
|
36371
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36372
|
+
{ },
|
|
36373
|
+
{ },
|
|
36374
|
+
{ },
|
|
36375
|
+
body,
|
|
36376
|
+
['PureCloud OAuth'],
|
|
36377
|
+
['application/json'],
|
|
36378
|
+
['application/json']
|
|
36379
|
+
);
|
|
36380
|
+
}
|
|
36381
|
+
|
|
36382
|
+
/**
|
|
36383
|
+
* Update ServiceNow Knowledge integration source
|
|
36384
|
+
*
|
|
36385
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36386
|
+
* @param {String} sourceId Source ID
|
|
36387
|
+
* @param {Object} body
|
|
36388
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36389
|
+
*/
|
|
36390
|
+
putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, body) {
|
|
36391
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36392
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36393
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36394
|
+
}
|
|
36395
|
+
// verify the required parameter 'sourceId' is set
|
|
36396
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36397
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36398
|
+
}
|
|
36399
|
+
// verify the required parameter 'body' is set
|
|
36400
|
+
if (body === undefined || body === null) {
|
|
36401
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36402
|
+
}
|
|
36403
|
+
|
|
36404
|
+
return this.apiClient.callApi(
|
|
36405
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
36406
|
+
'PUT',
|
|
36407
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36408
|
+
{ },
|
|
36409
|
+
{ },
|
|
36410
|
+
{ },
|
|
36411
|
+
body,
|
|
36412
|
+
['PureCloud OAuth'],
|
|
36413
|
+
['application/json'],
|
|
36414
|
+
['application/json']
|
|
36415
|
+
);
|
|
36416
|
+
}
|
|
36417
|
+
|
|
35877
36418
|
}
|
|
35878
36419
|
|
|
35879
36420
|
class LanguageUnderstandingApi {
|
|
35880
36421
|
/**
|
|
35881
36422
|
* LanguageUnderstanding service.
|
|
35882
36423
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35883
|
-
* @version
|
|
36424
|
+
* @version 205.0.0
|
|
35884
36425
|
*/
|
|
35885
36426
|
|
|
35886
36427
|
/**
|
|
@@ -36914,7 +37455,7 @@ class LanguagesApi {
|
|
|
36914
37455
|
/**
|
|
36915
37456
|
* Languages service.
|
|
36916
37457
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36917
|
-
* @version
|
|
37458
|
+
* @version 205.0.0
|
|
36918
37459
|
*/
|
|
36919
37460
|
|
|
36920
37461
|
/**
|
|
@@ -37136,7 +37677,7 @@ class LearningApi {
|
|
|
37136
37677
|
/**
|
|
37137
37678
|
* Learning service.
|
|
37138
37679
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37139
|
-
* @version
|
|
37680
|
+
* @version 205.0.0
|
|
37140
37681
|
*/
|
|
37141
37682
|
|
|
37142
37683
|
/**
|
|
@@ -38165,7 +38706,7 @@ class LicenseApi {
|
|
|
38165
38706
|
/**
|
|
38166
38707
|
* License service.
|
|
38167
38708
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38168
|
-
* @version
|
|
38709
|
+
* @version 205.0.0
|
|
38169
38710
|
*/
|
|
38170
38711
|
|
|
38171
38712
|
/**
|
|
@@ -38403,7 +38944,7 @@ class LocationsApi {
|
|
|
38403
38944
|
/**
|
|
38404
38945
|
* Locations service.
|
|
38405
38946
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38406
|
-
* @version
|
|
38947
|
+
* @version 205.0.0
|
|
38407
38948
|
*/
|
|
38408
38949
|
|
|
38409
38950
|
/**
|
|
@@ -38639,7 +39180,7 @@ class LogCaptureApi {
|
|
|
38639
39180
|
/**
|
|
38640
39181
|
* LogCapture service.
|
|
38641
39182
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
38642
|
-
* @version
|
|
39183
|
+
* @version 205.0.0
|
|
38643
39184
|
*/
|
|
38644
39185
|
|
|
38645
39186
|
/**
|
|
@@ -38839,7 +39380,7 @@ class MessagingApi {
|
|
|
38839
39380
|
/**
|
|
38840
39381
|
* Messaging service.
|
|
38841
39382
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38842
|
-
* @version
|
|
39383
|
+
* @version 205.0.0
|
|
38843
39384
|
*/
|
|
38844
39385
|
|
|
38845
39386
|
/**
|
|
@@ -39198,7 +39739,7 @@ class MobileDevicesApi {
|
|
|
39198
39739
|
/**
|
|
39199
39740
|
* MobileDevices service.
|
|
39200
39741
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39201
|
-
* @version
|
|
39742
|
+
* @version 205.0.0
|
|
39202
39743
|
*/
|
|
39203
39744
|
|
|
39204
39745
|
/**
|
|
@@ -39349,7 +39890,7 @@ class NotificationsApi {
|
|
|
39349
39890
|
/**
|
|
39350
39891
|
* Notifications service.
|
|
39351
39892
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39352
|
-
* @version
|
|
39893
|
+
* @version 205.0.0
|
|
39353
39894
|
*/
|
|
39354
39895
|
|
|
39355
39896
|
/**
|
|
@@ -39582,7 +40123,7 @@ class OAuthApi {
|
|
|
39582
40123
|
/**
|
|
39583
40124
|
* OAuth service.
|
|
39584
40125
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
39585
|
-
* @version
|
|
40126
|
+
* @version 205.0.0
|
|
39586
40127
|
*/
|
|
39587
40128
|
|
|
39588
40129
|
/**
|
|
@@ -39948,7 +40489,7 @@ class ObjectsApi {
|
|
|
39948
40489
|
/**
|
|
39949
40490
|
* Objects service.
|
|
39950
40491
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39951
|
-
* @version
|
|
40492
|
+
* @version 205.0.0
|
|
39952
40493
|
*/
|
|
39953
40494
|
|
|
39954
40495
|
/**
|
|
@@ -40218,7 +40759,7 @@ class OperationalEventsApi {
|
|
|
40218
40759
|
/**
|
|
40219
40760
|
* OperationalEvents service.
|
|
40220
40761
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40221
|
-
* @version
|
|
40762
|
+
* @version 205.0.0
|
|
40222
40763
|
*/
|
|
40223
40764
|
|
|
40224
40765
|
/**
|
|
@@ -40284,7 +40825,7 @@ class OrganizationApi {
|
|
|
40284
40825
|
/**
|
|
40285
40826
|
* Organization service.
|
|
40286
40827
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40287
|
-
* @version
|
|
40828
|
+
* @version 205.0.0
|
|
40288
40829
|
*/
|
|
40289
40830
|
|
|
40290
40831
|
/**
|
|
@@ -40826,7 +41367,7 @@ class OrganizationAuthorizationApi {
|
|
|
40826
41367
|
/**
|
|
40827
41368
|
* OrganizationAuthorization service.
|
|
40828
41369
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
40829
|
-
* @version
|
|
41370
|
+
* @version 205.0.0
|
|
40830
41371
|
*/
|
|
40831
41372
|
|
|
40832
41373
|
/**
|
|
@@ -42173,7 +42714,7 @@ class OutboundApi {
|
|
|
42173
42714
|
/**
|
|
42174
42715
|
* Outbound service.
|
|
42175
42716
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42176
|
-
* @version
|
|
42717
|
+
* @version 205.0.0
|
|
42177
42718
|
*/
|
|
42178
42719
|
|
|
42179
42720
|
/**
|
|
@@ -43284,6 +43825,36 @@ class OutboundApi {
|
|
|
43284
43825
|
);
|
|
43285
43826
|
}
|
|
43286
43827
|
|
|
43828
|
+
/**
|
|
43829
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
43830
|
+
*
|
|
43831
|
+
* @param {String} campaignId Campaign ID
|
|
43832
|
+
* @param {Object} opts Optional parameters
|
|
43833
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
43834
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
43835
|
+
*/
|
|
43836
|
+
getOutboundCampaignSkillcombinations(campaignId, opts) {
|
|
43837
|
+
opts = opts || {};
|
|
43838
|
+
|
|
43839
|
+
// verify the required parameter 'campaignId' is set
|
|
43840
|
+
if (campaignId === undefined || campaignId === null) {
|
|
43841
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';
|
|
43842
|
+
}
|
|
43843
|
+
|
|
43844
|
+
return this.apiClient.callApi(
|
|
43845
|
+
'/api/v2/outbound/campaigns/{campaignId}/skillcombinations',
|
|
43846
|
+
'GET',
|
|
43847
|
+
{ 'campaignId': campaignId },
|
|
43848
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
43849
|
+
{ },
|
|
43850
|
+
{ },
|
|
43851
|
+
null,
|
|
43852
|
+
['PureCloud OAuth'],
|
|
43853
|
+
['application/json'],
|
|
43854
|
+
['application/json']
|
|
43855
|
+
);
|
|
43856
|
+
}
|
|
43857
|
+
|
|
43287
43858
|
/**
|
|
43288
43859
|
* Get statistics about a Dialer Campaign
|
|
43289
43860
|
*
|
|
@@ -46590,7 +47161,7 @@ class PresenceApi {
|
|
|
46590
47161
|
/**
|
|
46591
47162
|
* Presence service.
|
|
46592
47163
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
46593
|
-
* @version
|
|
47164
|
+
* @version 205.0.0
|
|
46594
47165
|
*/
|
|
46595
47166
|
|
|
46596
47167
|
/**
|
|
@@ -47334,7 +47905,7 @@ class ProcessAutomationApi {
|
|
|
47334
47905
|
/**
|
|
47335
47906
|
* ProcessAutomation service.
|
|
47336
47907
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47337
|
-
* @version
|
|
47908
|
+
* @version 205.0.0
|
|
47338
47909
|
*/
|
|
47339
47910
|
|
|
47340
47911
|
/**
|
|
@@ -47573,7 +48144,7 @@ class QualityApi {
|
|
|
47573
48144
|
/**
|
|
47574
48145
|
* Quality service.
|
|
47575
48146
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
47576
|
-
* @version
|
|
48147
|
+
* @version 205.0.0
|
|
47577
48148
|
*/
|
|
47578
48149
|
|
|
47579
48150
|
/**
|
|
@@ -49359,7 +49930,7 @@ class RecordingApi {
|
|
|
49359
49930
|
/**
|
|
49360
49931
|
* Recording service.
|
|
49361
49932
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49362
|
-
* @version
|
|
49933
|
+
* @version 205.0.0
|
|
49363
49934
|
*/
|
|
49364
49935
|
|
|
49365
49936
|
/**
|
|
@@ -51018,7 +51589,7 @@ class ResponseManagementApi {
|
|
|
51018
51589
|
/**
|
|
51019
51590
|
* ResponseManagement service.
|
|
51020
51591
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51021
|
-
* @version
|
|
51592
|
+
* @version 205.0.0
|
|
51022
51593
|
*/
|
|
51023
51594
|
|
|
51024
51595
|
/**
|
|
@@ -51528,7 +52099,7 @@ class RoutingApi {
|
|
|
51528
52099
|
/**
|
|
51529
52100
|
* Routing service.
|
|
51530
52101
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
51531
|
-
* @version
|
|
52102
|
+
* @version 205.0.0
|
|
51532
52103
|
*/
|
|
51533
52104
|
|
|
51534
52105
|
/**
|
|
@@ -55676,7 +56247,7 @@ class SCIMApi {
|
|
|
55676
56247
|
/**
|
|
55677
56248
|
* SCIM service.
|
|
55678
56249
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
55679
|
-
* @version
|
|
56250
|
+
* @version 205.0.0
|
|
55680
56251
|
*/
|
|
55681
56252
|
|
|
55682
56253
|
/**
|
|
@@ -56553,7 +57124,7 @@ class ScreenRecordingApi {
|
|
|
56553
57124
|
/**
|
|
56554
57125
|
* ScreenRecording service.
|
|
56555
57126
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
56556
|
-
* @version
|
|
57127
|
+
* @version 205.0.0
|
|
56557
57128
|
*/
|
|
56558
57129
|
|
|
56559
57130
|
/**
|
|
@@ -56598,7 +57169,7 @@ class ScriptsApi {
|
|
|
56598
57169
|
/**
|
|
56599
57170
|
* Scripts service.
|
|
56600
57171
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
56601
|
-
* @version
|
|
57172
|
+
* @version 205.0.0
|
|
56602
57173
|
*/
|
|
56603
57174
|
|
|
56604
57175
|
/**
|
|
@@ -57042,7 +57613,7 @@ class SearchApi {
|
|
|
57042
57613
|
/**
|
|
57043
57614
|
* Search service.
|
|
57044
57615
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57045
|
-
* @version
|
|
57616
|
+
* @version 205.0.0
|
|
57046
57617
|
*/
|
|
57047
57618
|
|
|
57048
57619
|
/**
|
|
@@ -57731,7 +58302,7 @@ class SettingsApi {
|
|
|
57731
58302
|
/**
|
|
57732
58303
|
* Settings service.
|
|
57733
58304
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
57734
|
-
* @version
|
|
58305
|
+
* @version 205.0.0
|
|
57735
58306
|
*/
|
|
57736
58307
|
|
|
57737
58308
|
/**
|
|
@@ -57951,7 +58522,7 @@ class SpeechTextAnalyticsApi {
|
|
|
57951
58522
|
/**
|
|
57952
58523
|
* SpeechTextAnalytics service.
|
|
57953
58524
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57954
|
-
* @version
|
|
58525
|
+
* @version 205.0.0
|
|
57955
58526
|
*/
|
|
57956
58527
|
|
|
57957
58528
|
/**
|
|
@@ -58769,6 +59340,63 @@ class SpeechTextAnalyticsApi {
|
|
|
58769
59340
|
);
|
|
58770
59341
|
}
|
|
58771
59342
|
|
|
59343
|
+
/**
|
|
59344
|
+
* Translate all communication(s) for an interaction.
|
|
59345
|
+
*
|
|
59346
|
+
* @param {String} languageId Target translation language
|
|
59347
|
+
* @param {String} conversationId Conversation id
|
|
59348
|
+
* @param {Object} opts Optional parameters
|
|
59349
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
59350
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
59351
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59352
|
+
*/
|
|
59353
|
+
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
59354
|
+
opts = opts || {};
|
|
59355
|
+
|
|
59356
|
+
// verify the required parameter 'languageId' is set
|
|
59357
|
+
if (languageId === undefined || languageId === null) {
|
|
59358
|
+
throw 'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59359
|
+
}
|
|
59360
|
+
// verify the required parameter 'conversationId' is set
|
|
59361
|
+
if (conversationId === undefined || conversationId === null) {
|
|
59362
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59363
|
+
}
|
|
59364
|
+
|
|
59365
|
+
return this.apiClient.callApi(
|
|
59366
|
+
'/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}',
|
|
59367
|
+
'GET',
|
|
59368
|
+
{ 'languageId': languageId,'conversationId': conversationId },
|
|
59369
|
+
{ 'communicationId': opts['communicationId'],'recordingId': opts['recordingId'] },
|
|
59370
|
+
{ },
|
|
59371
|
+
{ },
|
|
59372
|
+
null,
|
|
59373
|
+
['PureCloud OAuth'],
|
|
59374
|
+
['application/json'],
|
|
59375
|
+
['application/json']
|
|
59376
|
+
);
|
|
59377
|
+
}
|
|
59378
|
+
|
|
59379
|
+
/**
|
|
59380
|
+
* Get supported translation languages
|
|
59381
|
+
*
|
|
59382
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59383
|
+
*/
|
|
59384
|
+
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
59385
|
+
|
|
59386
|
+
return this.apiClient.callApi(
|
|
59387
|
+
'/api/v2/speechandtextanalytics/translations/languages',
|
|
59388
|
+
'GET',
|
|
59389
|
+
{ },
|
|
59390
|
+
{ },
|
|
59391
|
+
{ },
|
|
59392
|
+
{ },
|
|
59393
|
+
null,
|
|
59394
|
+
['PureCloud OAuth'],
|
|
59395
|
+
['application/json'],
|
|
59396
|
+
['application/json']
|
|
59397
|
+
);
|
|
59398
|
+
}
|
|
59399
|
+
|
|
58772
59400
|
/**
|
|
58773
59401
|
* Patch Speech And Text Analytics Settings
|
|
58774
59402
|
*
|
|
@@ -59229,7 +59857,7 @@ class StationsApi {
|
|
|
59229
59857
|
/**
|
|
59230
59858
|
* Stations service.
|
|
59231
59859
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59232
|
-
* @version
|
|
59860
|
+
* @version 205.0.0
|
|
59233
59861
|
*/
|
|
59234
59862
|
|
|
59235
59863
|
/**
|
|
@@ -59331,7 +59959,7 @@ class SuggestApi {
|
|
|
59331
59959
|
/**
|
|
59332
59960
|
* Suggest service.
|
|
59333
59961
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59334
|
-
* @version
|
|
59962
|
+
* @version 205.0.0
|
|
59335
59963
|
*/
|
|
59336
59964
|
|
|
59337
59965
|
/**
|
|
@@ -59470,7 +60098,7 @@ class TaskManagementApi {
|
|
|
59470
60098
|
/**
|
|
59471
60099
|
* TaskManagement service.
|
|
59472
60100
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
59473
|
-
* @version
|
|
60101
|
+
* @version 205.0.0
|
|
59474
60102
|
*/
|
|
59475
60103
|
|
|
59476
60104
|
/**
|
|
@@ -60824,7 +61452,7 @@ class TeamsApi {
|
|
|
60824
61452
|
/**
|
|
60825
61453
|
* Teams service.
|
|
60826
61454
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60827
|
-
* @version
|
|
61455
|
+
* @version 205.0.0
|
|
60828
61456
|
*/
|
|
60829
61457
|
|
|
60830
61458
|
/**
|
|
@@ -61125,7 +61753,7 @@ class TelephonyApi {
|
|
|
61125
61753
|
/**
|
|
61126
61754
|
* Telephony service.
|
|
61127
61755
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61128
|
-
* @version
|
|
61756
|
+
* @version 205.0.0
|
|
61129
61757
|
*/
|
|
61130
61758
|
|
|
61131
61759
|
/**
|
|
@@ -61307,7 +61935,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
61307
61935
|
/**
|
|
61308
61936
|
* TelephonyProvidersEdge service.
|
|
61309
61937
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61310
|
-
* @version
|
|
61938
|
+
* @version 205.0.0
|
|
61311
61939
|
*/
|
|
61312
61940
|
|
|
61313
61941
|
/**
|
|
@@ -61402,6 +62030,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
61402
62030
|
);
|
|
61403
62031
|
}
|
|
61404
62032
|
|
|
62033
|
+
/**
|
|
62034
|
+
* Deletes alertable presences overrides.
|
|
62035
|
+
*
|
|
62036
|
+
*/
|
|
62037
|
+
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
62038
|
+
|
|
62039
|
+
return this.apiClient.callApi(
|
|
62040
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62041
|
+
'DELETE',
|
|
62042
|
+
{ },
|
|
62043
|
+
{ },
|
|
62044
|
+
{ },
|
|
62045
|
+
{ },
|
|
62046
|
+
null,
|
|
62047
|
+
['PureCloud OAuth'],
|
|
62048
|
+
['application/json'],
|
|
62049
|
+
['application/json']
|
|
62050
|
+
);
|
|
62051
|
+
}
|
|
62052
|
+
|
|
61405
62053
|
/**
|
|
61406
62054
|
* Delete a certificate authority.
|
|
61407
62055
|
*
|
|
@@ -62074,6 +62722,30 @@ class TelephonyProvidersEdgeApi {
|
|
|
62074
62722
|
);
|
|
62075
62723
|
}
|
|
62076
62724
|
|
|
62725
|
+
/**
|
|
62726
|
+
* 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.
|
|
62727
|
+
*
|
|
62728
|
+
* @param {Object} opts Optional parameters
|
|
62729
|
+
* @param {Object} opts.type
|
|
62730
|
+
*/
|
|
62731
|
+
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
62732
|
+
opts = opts || {};
|
|
62733
|
+
|
|
62734
|
+
|
|
62735
|
+
return this.apiClient.callApi(
|
|
62736
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62737
|
+
'GET',
|
|
62738
|
+
{ },
|
|
62739
|
+
{ 'type': opts['type'] },
|
|
62740
|
+
{ },
|
|
62741
|
+
{ },
|
|
62742
|
+
null,
|
|
62743
|
+
['PureCloud OAuth'],
|
|
62744
|
+
['application/json'],
|
|
62745
|
+
['application/json']
|
|
62746
|
+
);
|
|
62747
|
+
}
|
|
62748
|
+
|
|
62077
62749
|
/**
|
|
62078
62750
|
* Get the list of certificate authorities.
|
|
62079
62751
|
*
|
|
@@ -64259,6 +64931,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
64259
64931
|
);
|
|
64260
64932
|
}
|
|
64261
64933
|
|
|
64934
|
+
/**
|
|
64935
|
+
* Creates or updates alertable presences overrides.
|
|
64936
|
+
*
|
|
64937
|
+
* @param {Object} body Alertable Presences Overrides
|
|
64938
|
+
*/
|
|
64939
|
+
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
64940
|
+
// verify the required parameter 'body' is set
|
|
64941
|
+
if (body === undefined || body === null) {
|
|
64942
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
64943
|
+
}
|
|
64944
|
+
|
|
64945
|
+
return this.apiClient.callApi(
|
|
64946
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
64947
|
+
'PUT',
|
|
64948
|
+
{ },
|
|
64949
|
+
{ },
|
|
64950
|
+
{ },
|
|
64951
|
+
{ },
|
|
64952
|
+
body,
|
|
64953
|
+
['PureCloud OAuth'],
|
|
64954
|
+
['application/json'],
|
|
64955
|
+
['application/json']
|
|
64956
|
+
);
|
|
64957
|
+
}
|
|
64958
|
+
|
|
64262
64959
|
/**
|
|
64263
64960
|
* Update a certificate authority.
|
|
64264
64961
|
*
|
|
@@ -64635,7 +65332,7 @@ class TextbotsApi {
|
|
|
64635
65332
|
/**
|
|
64636
65333
|
* Textbots service.
|
|
64637
65334
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
64638
|
-
* @version
|
|
65335
|
+
* @version 205.0.0
|
|
64639
65336
|
*/
|
|
64640
65337
|
|
|
64641
65338
|
/**
|
|
@@ -64763,7 +65460,7 @@ class TokensApi {
|
|
|
64763
65460
|
/**
|
|
64764
65461
|
* Tokens service.
|
|
64765
65462
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
64766
|
-
* @version
|
|
65463
|
+
* @version 205.0.0
|
|
64767
65464
|
*/
|
|
64768
65465
|
|
|
64769
65466
|
/**
|
|
@@ -64917,7 +65614,7 @@ class UploadsApi {
|
|
|
64917
65614
|
/**
|
|
64918
65615
|
* Uploads service.
|
|
64919
65616
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
64920
|
-
* @version
|
|
65617
|
+
* @version 205.0.0
|
|
64921
65618
|
*/
|
|
64922
65619
|
|
|
64923
65620
|
/**
|
|
@@ -65186,7 +65883,7 @@ class UsageApi {
|
|
|
65186
65883
|
/**
|
|
65187
65884
|
* Usage service.
|
|
65188
65885
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65189
|
-
* @version
|
|
65886
|
+
* @version 205.0.0
|
|
65190
65887
|
*/
|
|
65191
65888
|
|
|
65192
65889
|
/**
|
|
@@ -65401,7 +66098,7 @@ class UserRecordingsApi {
|
|
|
65401
66098
|
/**
|
|
65402
66099
|
* UserRecordings service.
|
|
65403
66100
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
65404
|
-
* @version
|
|
66101
|
+
* @version 205.0.0
|
|
65405
66102
|
*/
|
|
65406
66103
|
|
|
65407
66104
|
/**
|
|
@@ -65616,7 +66313,7 @@ class UsersApi {
|
|
|
65616
66313
|
/**
|
|
65617
66314
|
* Users service.
|
|
65618
66315
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
65619
|
-
* @version
|
|
66316
|
+
* @version 205.0.0
|
|
65620
66317
|
*/
|
|
65621
66318
|
|
|
65622
66319
|
/**
|
|
@@ -68419,7 +69116,7 @@ class UtilitiesApi {
|
|
|
68419
69116
|
/**
|
|
68420
69117
|
* Utilities service.
|
|
68421
69118
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
68422
|
-
* @version
|
|
69119
|
+
* @version 205.0.0
|
|
68423
69120
|
*/
|
|
68424
69121
|
|
|
68425
69122
|
/**
|
|
@@ -68530,7 +69227,7 @@ class VoicemailApi {
|
|
|
68530
69227
|
/**
|
|
68531
69228
|
* Voicemail service.
|
|
68532
69229
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
68533
|
-
* @version
|
|
69230
|
+
* @version 205.0.0
|
|
68534
69231
|
*/
|
|
68535
69232
|
|
|
68536
69233
|
/**
|
|
@@ -69197,7 +69894,7 @@ class WebChatApi {
|
|
|
69197
69894
|
/**
|
|
69198
69895
|
* WebChat service.
|
|
69199
69896
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69200
|
-
* @version
|
|
69897
|
+
* @version 205.0.0
|
|
69201
69898
|
*/
|
|
69202
69899
|
|
|
69203
69900
|
/**
|
|
@@ -69748,7 +70445,7 @@ class WebDeploymentsApi {
|
|
|
69748
70445
|
/**
|
|
69749
70446
|
* WebDeployments service.
|
|
69750
70447
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
69751
|
-
* @version
|
|
70448
|
+
* @version 205.0.0
|
|
69752
70449
|
*/
|
|
69753
70450
|
|
|
69754
70451
|
/**
|
|
@@ -70065,7 +70762,7 @@ class WebDeploymentsApi {
|
|
|
70065
70762
|
* Get deployments
|
|
70066
70763
|
*
|
|
70067
70764
|
* @param {Object} opts Optional parameters
|
|
70068
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70765
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70069
70766
|
*/
|
|
70070
70767
|
getWebdeploymentsDeployments(opts) {
|
|
70071
70768
|
opts = opts || {};
|
|
@@ -70275,7 +70972,7 @@ class WebMessagingApi {
|
|
|
70275
70972
|
/**
|
|
70276
70973
|
* WebMessaging service.
|
|
70277
70974
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70278
|
-
* @version
|
|
70975
|
+
* @version 205.0.0
|
|
70279
70976
|
*/
|
|
70280
70977
|
|
|
70281
70978
|
/**
|
|
@@ -70321,7 +71018,7 @@ class WidgetsApi {
|
|
|
70321
71018
|
/**
|
|
70322
71019
|
* Widgets service.
|
|
70323
71020
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
70324
|
-
* @version
|
|
71021
|
+
* @version 205.0.0
|
|
70325
71022
|
*/
|
|
70326
71023
|
|
|
70327
71024
|
/**
|
|
@@ -70467,7 +71164,7 @@ class WorkforceManagementApi {
|
|
|
70467
71164
|
/**
|
|
70468
71165
|
* WorkforceManagement service.
|
|
70469
71166
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
70470
|
-
* @version
|
|
71167
|
+
* @version 205.0.0
|
|
70471
71168
|
*/
|
|
70472
71169
|
|
|
70473
71170
|
/**
|
|
@@ -77622,7 +78319,7 @@ class WorkforceManagementApi {
|
|
|
77622
78319
|
* </pre>
|
|
77623
78320
|
* </p>
|
|
77624
78321
|
* @module purecloud-platform-client-v2/index
|
|
77625
|
-
* @version
|
|
78322
|
+
* @version 205.0.0
|
|
77626
78323
|
*/
|
|
77627
78324
|
class platformClient {
|
|
77628
78325
|
constructor() {
|