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
|
@@ -402,7 +402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 205.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1824,7 +1824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1824
1824
|
/**
|
|
1825
1825
|
* AgentAssistants service.
|
|
1826
1826
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1827
|
-
* @version
|
|
1827
|
+
* @version 205.0.0
|
|
1828
1828
|
*/
|
|
1829
1829
|
|
|
1830
1830
|
/**
|
|
@@ -2200,7 +2200,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2200
2200
|
/**
|
|
2201
2201
|
* AgentCopilot service.
|
|
2202
2202
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2203
|
-
* @version
|
|
2203
|
+
* @version 205.0.0
|
|
2204
2204
|
*/
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
@@ -2276,7 +2276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2276
2276
|
/**
|
|
2277
2277
|
* AgentUI service.
|
|
2278
2278
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2279
|
-
* @version
|
|
2279
|
+
* @version 205.0.0
|
|
2280
2280
|
*/
|
|
2281
2281
|
|
|
2282
2282
|
/**
|
|
@@ -2407,7 +2407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Alerting service.
|
|
2409
2409
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2410
|
-
* @version
|
|
2410
|
+
* @version 205.0.0
|
|
2411
2411
|
*/
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
@@ -3068,7 +3068,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3068
3068
|
/**
|
|
3069
3069
|
* Analytics service.
|
|
3070
3070
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3071
|
-
* @version
|
|
3071
|
+
* @version 205.0.0
|
|
3072
3072
|
*/
|
|
3073
3073
|
|
|
3074
3074
|
/**
|
|
@@ -5680,7 +5680,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5680
5680
|
/**
|
|
5681
5681
|
* Architect service.
|
|
5682
5682
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5683
|
-
* @version
|
|
5683
|
+
* @version 205.0.0
|
|
5684
5684
|
*/
|
|
5685
5685
|
|
|
5686
5686
|
/**
|
|
@@ -9802,7 +9802,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9802
9802
|
/**
|
|
9803
9803
|
* Audit service.
|
|
9804
9804
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9805
|
-
* @version
|
|
9805
|
+
* @version 205.0.0
|
|
9806
9806
|
*/
|
|
9807
9807
|
|
|
9808
9808
|
/**
|
|
@@ -10003,7 +10003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10003
10003
|
/**
|
|
10004
10004
|
* Authorization service.
|
|
10005
10005
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10006
|
-
* @version
|
|
10006
|
+
* @version 205.0.0
|
|
10007
10007
|
*/
|
|
10008
10008
|
|
|
10009
10009
|
/**
|
|
@@ -11286,7 +11286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11286
11286
|
/**
|
|
11287
11287
|
* Billing service.
|
|
11288
11288
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11289
|
-
* @version
|
|
11289
|
+
* @version 205.0.0
|
|
11290
11290
|
*/
|
|
11291
11291
|
|
|
11292
11292
|
/**
|
|
@@ -11366,7 +11366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11366
11366
|
/**
|
|
11367
11367
|
* CarrierServices service.
|
|
11368
11368
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11369
|
-
* @version
|
|
11369
|
+
* @version 205.0.0
|
|
11370
11370
|
*/
|
|
11371
11371
|
|
|
11372
11372
|
/**
|
|
@@ -11436,7 +11436,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11436
11436
|
/**
|
|
11437
11437
|
* Chat service.
|
|
11438
11438
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11439
|
-
* @version
|
|
11439
|
+
* @version 205.0.0
|
|
11440
11440
|
*/
|
|
11441
11441
|
|
|
11442
11442
|
/**
|
|
@@ -12372,7 +12372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12372
12372
|
/**
|
|
12373
12373
|
* Coaching service.
|
|
12374
12374
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12375
|
-
* @version
|
|
12375
|
+
* @version 205.0.0
|
|
12376
12376
|
*/
|
|
12377
12377
|
|
|
12378
12378
|
/**
|
|
@@ -12949,7 +12949,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12949
12949
|
/**
|
|
12950
12950
|
* ContentManagement service.
|
|
12951
12951
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12952
|
-
* @version
|
|
12952
|
+
* @version 205.0.0
|
|
12953
12953
|
*/
|
|
12954
12954
|
|
|
12955
12955
|
/**
|
|
@@ -14031,7 +14031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14031
14031
|
/**
|
|
14032
14032
|
* Conversations service.
|
|
14033
14033
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14034
|
-
* @version
|
|
14034
|
+
* @version 205.0.0
|
|
14035
14035
|
*/
|
|
14036
14036
|
|
|
14037
14037
|
/**
|
|
@@ -14813,6 +14813,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14813
14813
|
);
|
|
14814
14814
|
}
|
|
14815
14815
|
|
|
14816
|
+
/**
|
|
14817
|
+
* Get the summaries of the conversation.
|
|
14818
|
+
*
|
|
14819
|
+
* @param {String} conversationId Conversation ID
|
|
14820
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14821
|
+
*/
|
|
14822
|
+
getConversationSummaries(conversationId) {
|
|
14823
|
+
// verify the required parameter 'conversationId' is set
|
|
14824
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14825
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSummaries';
|
|
14826
|
+
}
|
|
14827
|
+
|
|
14828
|
+
return this.apiClient.callApi(
|
|
14829
|
+
'/api/v2/conversations/{conversationId}/summaries',
|
|
14830
|
+
'GET',
|
|
14831
|
+
{ 'conversationId': conversationId },
|
|
14832
|
+
{ },
|
|
14833
|
+
{ },
|
|
14834
|
+
{ },
|
|
14835
|
+
null,
|
|
14836
|
+
['PureCloud OAuth'],
|
|
14837
|
+
['application/json'],
|
|
14838
|
+
['application/json']
|
|
14839
|
+
);
|
|
14840
|
+
}
|
|
14841
|
+
|
|
14816
14842
|
/**
|
|
14817
14843
|
* Get active conversations for the logged in user
|
|
14818
14844
|
*
|
|
@@ -21143,7 +21169,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21143
21169
|
/**
|
|
21144
21170
|
* DataExtensions service.
|
|
21145
21171
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21146
|
-
* @version
|
|
21172
|
+
* @version 205.0.0
|
|
21147
21173
|
*/
|
|
21148
21174
|
|
|
21149
21175
|
/**
|
|
@@ -21229,7 +21255,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21229
21255
|
/**
|
|
21230
21256
|
* Downloads service.
|
|
21231
21257
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21232
|
-
* @version
|
|
21258
|
+
* @version 205.0.0
|
|
21233
21259
|
*/
|
|
21234
21260
|
|
|
21235
21261
|
/**
|
|
@@ -21281,7 +21307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21281
21307
|
/**
|
|
21282
21308
|
* Emails service.
|
|
21283
21309
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21284
|
-
* @version
|
|
21310
|
+
* @version 205.0.0
|
|
21285
21311
|
*/
|
|
21286
21312
|
|
|
21287
21313
|
/**
|
|
@@ -21346,7 +21372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21346
21372
|
/**
|
|
21347
21373
|
* EmployeeEngagement service.
|
|
21348
21374
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21349
|
-
* @version
|
|
21375
|
+
* @version 205.0.0
|
|
21350
21376
|
*/
|
|
21351
21377
|
|
|
21352
21378
|
/**
|
|
@@ -21497,7 +21523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21497
21523
|
/**
|
|
21498
21524
|
* Events service.
|
|
21499
21525
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21500
|
-
* @version
|
|
21526
|
+
* @version 205.0.0
|
|
21501
21527
|
*/
|
|
21502
21528
|
|
|
21503
21529
|
/**
|
|
@@ -21593,7 +21619,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21593
21619
|
/**
|
|
21594
21620
|
* ExternalContacts service.
|
|
21595
21621
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21596
|
-
* @version
|
|
21622
|
+
* @version 205.0.0
|
|
21597
21623
|
*/
|
|
21598
21624
|
|
|
21599
21625
|
/**
|
|
@@ -23692,7 +23718,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23692
23718
|
/**
|
|
23693
23719
|
* Fax service.
|
|
23694
23720
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23695
|
-
* @version
|
|
23721
|
+
* @version 205.0.0
|
|
23696
23722
|
*/
|
|
23697
23723
|
|
|
23698
23724
|
/**
|
|
@@ -23907,7 +23933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23907
23933
|
/**
|
|
23908
23934
|
* Flows service.
|
|
23909
23935
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23910
|
-
* @version
|
|
23936
|
+
* @version 205.0.0
|
|
23911
23937
|
*/
|
|
23912
23938
|
|
|
23913
23939
|
/**
|
|
@@ -24090,7 +24116,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24090
24116
|
/**
|
|
24091
24117
|
* Gamification service.
|
|
24092
24118
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24093
|
-
* @version
|
|
24119
|
+
* @version 205.0.0
|
|
24094
24120
|
*/
|
|
24095
24121
|
|
|
24096
24122
|
/**
|
|
@@ -26176,7 +26202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26176
26202
|
/**
|
|
26177
26203
|
* GeneralDataProtectionRegulation service.
|
|
26178
26204
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26179
|
-
* @version
|
|
26205
|
+
* @version 205.0.0
|
|
26180
26206
|
*/
|
|
26181
26207
|
|
|
26182
26208
|
/**
|
|
@@ -26306,7 +26332,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26306
26332
|
/**
|
|
26307
26333
|
* Geolocation service.
|
|
26308
26334
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26309
|
-
* @version
|
|
26335
|
+
* @version 205.0.0
|
|
26310
26336
|
*/
|
|
26311
26337
|
|
|
26312
26338
|
/**
|
|
@@ -26437,7 +26463,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26437
26463
|
/**
|
|
26438
26464
|
* Greetings service.
|
|
26439
26465
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26440
|
-
* @version
|
|
26466
|
+
* @version 205.0.0
|
|
26441
26467
|
*/
|
|
26442
26468
|
|
|
26443
26469
|
/**
|
|
@@ -26892,7 +26918,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26892
26918
|
/**
|
|
26893
26919
|
* Groups service.
|
|
26894
26920
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26895
|
-
* @version
|
|
26921
|
+
* @version 205.0.0
|
|
26896
26922
|
*/
|
|
26897
26923
|
|
|
26898
26924
|
/**
|
|
@@ -27411,7 +27437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27411
27437
|
/**
|
|
27412
27438
|
* IdentityProvider service.
|
|
27413
27439
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27414
|
-
* @version
|
|
27440
|
+
* @version 205.0.0
|
|
27415
27441
|
*/
|
|
27416
27442
|
|
|
27417
27443
|
/**
|
|
@@ -28272,7 +28298,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28272
28298
|
/**
|
|
28273
28299
|
* InfrastructureAsCode service.
|
|
28274
28300
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28275
|
-
* @version
|
|
28301
|
+
* @version 205.0.0
|
|
28276
28302
|
*/
|
|
28277
28303
|
|
|
28278
28304
|
/**
|
|
@@ -28439,7 +28465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28439
28465
|
/**
|
|
28440
28466
|
* Integrations service.
|
|
28441
28467
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28442
|
-
* @version
|
|
28468
|
+
* @version 205.0.0
|
|
28443
28469
|
*/
|
|
28444
28470
|
|
|
28445
28471
|
/**
|
|
@@ -30861,7 +30887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30861
30887
|
/**
|
|
30862
30888
|
* Journey service.
|
|
30863
30889
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30864
|
-
* @version
|
|
30890
|
+
* @version 205.0.0
|
|
30865
30891
|
*/
|
|
30866
30892
|
|
|
30867
30893
|
/**
|
|
@@ -32504,7 +32530,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32504
32530
|
/**
|
|
32505
32531
|
* Knowledge service.
|
|
32506
32532
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32507
|
-
* @version
|
|
32533
|
+
* @version 205.0.0
|
|
32508
32534
|
*/
|
|
32509
32535
|
|
|
32510
32536
|
/**
|
|
@@ -32837,6 +32863,99 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32837
32863
|
);
|
|
32838
32864
|
}
|
|
32839
32865
|
|
|
32866
|
+
/**
|
|
32867
|
+
* Delete Salesforce Knowledge integration source
|
|
32868
|
+
*
|
|
32869
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32870
|
+
* @param {String} sourceId Source ID
|
|
32871
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32872
|
+
*/
|
|
32873
|
+
deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId) {
|
|
32874
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32875
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32876
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
32877
|
+
}
|
|
32878
|
+
// verify the required parameter 'sourceId' is set
|
|
32879
|
+
if (sourceId === undefined || sourceId === null) {
|
|
32880
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
32881
|
+
}
|
|
32882
|
+
|
|
32883
|
+
return this.apiClient.callApi(
|
|
32884
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
32885
|
+
'DELETE',
|
|
32886
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
32887
|
+
{ },
|
|
32888
|
+
{ },
|
|
32889
|
+
{ },
|
|
32890
|
+
null,
|
|
32891
|
+
['PureCloud OAuth'],
|
|
32892
|
+
['application/json'],
|
|
32893
|
+
['application/json']
|
|
32894
|
+
);
|
|
32895
|
+
}
|
|
32896
|
+
|
|
32897
|
+
/**
|
|
32898
|
+
* Delete ServiceNow Knowledge integration source
|
|
32899
|
+
*
|
|
32900
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32901
|
+
* @param {String} sourceId Source ID
|
|
32902
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32903
|
+
*/
|
|
32904
|
+
deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId) {
|
|
32905
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32906
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32907
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
32908
|
+
}
|
|
32909
|
+
// verify the required parameter 'sourceId' is set
|
|
32910
|
+
if (sourceId === undefined || sourceId === null) {
|
|
32911
|
+
throw 'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
32912
|
+
}
|
|
32913
|
+
|
|
32914
|
+
return this.apiClient.callApi(
|
|
32915
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
32916
|
+
'DELETE',
|
|
32917
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
32918
|
+
{ },
|
|
32919
|
+
{ },
|
|
32920
|
+
{ },
|
|
32921
|
+
null,
|
|
32922
|
+
['PureCloud OAuth'],
|
|
32923
|
+
['application/json'],
|
|
32924
|
+
['application/json']
|
|
32925
|
+
);
|
|
32926
|
+
}
|
|
32927
|
+
|
|
32928
|
+
/**
|
|
32929
|
+
* Delete synchronization job
|
|
32930
|
+
*
|
|
32931
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32932
|
+
* @param {String} syncJobId Synchronization job ID
|
|
32933
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32934
|
+
*/
|
|
32935
|
+
deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
32936
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32937
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32938
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
32939
|
+
}
|
|
32940
|
+
// verify the required parameter 'syncJobId' is set
|
|
32941
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
32942
|
+
throw 'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';
|
|
32943
|
+
}
|
|
32944
|
+
|
|
32945
|
+
return this.apiClient.callApi(
|
|
32946
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
32947
|
+
'DELETE',
|
|
32948
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
32949
|
+
{ },
|
|
32950
|
+
{ },
|
|
32951
|
+
{ },
|
|
32952
|
+
null,
|
|
32953
|
+
['PureCloud OAuth'],
|
|
32954
|
+
['application/json'],
|
|
32955
|
+
['application/json']
|
|
32956
|
+
);
|
|
32957
|
+
}
|
|
32958
|
+
|
|
32840
32959
|
/**
|
|
32841
32960
|
* Get categories
|
|
32842
32961
|
*
|
|
@@ -32934,6 +33053,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32934
33053
|
);
|
|
32935
33054
|
}
|
|
32936
33055
|
|
|
33056
|
+
/**
|
|
33057
|
+
* Get sync options available for a knowledge-connect integration
|
|
33058
|
+
*
|
|
33059
|
+
* @param {String} integrationId Integration ID
|
|
33060
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33061
|
+
*/
|
|
33062
|
+
getKnowledgeIntegrationOptions(integrationId) {
|
|
33063
|
+
// verify the required parameter 'integrationId' is set
|
|
33064
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33065
|
+
throw 'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';
|
|
33066
|
+
}
|
|
33067
|
+
|
|
33068
|
+
return this.apiClient.callApi(
|
|
33069
|
+
'/api/v2/knowledge/integrations/{integrationId}/options',
|
|
33070
|
+
'GET',
|
|
33071
|
+
{ 'integrationId': integrationId },
|
|
33072
|
+
{ },
|
|
33073
|
+
{ },
|
|
33074
|
+
{ },
|
|
33075
|
+
null,
|
|
33076
|
+
['PureCloud OAuth'],
|
|
33077
|
+
['application/json'],
|
|
33078
|
+
['application/json']
|
|
33079
|
+
);
|
|
33080
|
+
}
|
|
33081
|
+
|
|
32937
33082
|
/**
|
|
32938
33083
|
* Get knowledge base
|
|
32939
33084
|
*
|
|
@@ -33944,6 +34089,139 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33944
34089
|
);
|
|
33945
34090
|
}
|
|
33946
34091
|
|
|
34092
|
+
/**
|
|
34093
|
+
* Get Knowledge integration sources
|
|
34094
|
+
*
|
|
34095
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34096
|
+
* @param {Object} opts Optional parameters
|
|
34097
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
34098
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34099
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
34100
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34101
|
+
*/
|
|
34102
|
+
getKnowledgeKnowledgebaseSources(knowledgeBaseId, opts) {
|
|
34103
|
+
opts = opts || {};
|
|
34104
|
+
|
|
34105
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34106
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34107
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';
|
|
34108
|
+
}
|
|
34109
|
+
|
|
34110
|
+
return this.apiClient.callApi(
|
|
34111
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources',
|
|
34112
|
+
'GET',
|
|
34113
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
34114
|
+
{ 'type': opts['type'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
|
|
34115
|
+
{ },
|
|
34116
|
+
{ },
|
|
34117
|
+
null,
|
|
34118
|
+
['PureCloud OAuth'],
|
|
34119
|
+
['application/json'],
|
|
34120
|
+
['application/json']
|
|
34121
|
+
);
|
|
34122
|
+
}
|
|
34123
|
+
|
|
34124
|
+
/**
|
|
34125
|
+
* Get Salesforce Knowledge integration source
|
|
34126
|
+
*
|
|
34127
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34128
|
+
* @param {String} sourceId Source ID
|
|
34129
|
+
* @param {Object} opts Optional parameters
|
|
34130
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34131
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34132
|
+
*/
|
|
34133
|
+
getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34134
|
+
opts = opts || {};
|
|
34135
|
+
|
|
34136
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34137
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34138
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34139
|
+
}
|
|
34140
|
+
// verify the required parameter 'sourceId' is set
|
|
34141
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34142
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
34143
|
+
}
|
|
34144
|
+
|
|
34145
|
+
return this.apiClient.callApi(
|
|
34146
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
34147
|
+
'GET',
|
|
34148
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34149
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34150
|
+
{ },
|
|
34151
|
+
{ },
|
|
34152
|
+
null,
|
|
34153
|
+
['PureCloud OAuth'],
|
|
34154
|
+
['application/json'],
|
|
34155
|
+
['application/json']
|
|
34156
|
+
);
|
|
34157
|
+
}
|
|
34158
|
+
|
|
34159
|
+
/**
|
|
34160
|
+
* Get ServiceNow Knowledge integration source
|
|
34161
|
+
*
|
|
34162
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34163
|
+
* @param {String} sourceId Source ID
|
|
34164
|
+
* @param {Object} opts Optional parameters
|
|
34165
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
34166
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34167
|
+
*/
|
|
34168
|
+
getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, opts) {
|
|
34169
|
+
opts = opts || {};
|
|
34170
|
+
|
|
34171
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34172
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34173
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34174
|
+
}
|
|
34175
|
+
// verify the required parameter 'sourceId' is set
|
|
34176
|
+
if (sourceId === undefined || sourceId === null) {
|
|
34177
|
+
throw 'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
34178
|
+
}
|
|
34179
|
+
|
|
34180
|
+
return this.apiClient.callApi(
|
|
34181
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
34182
|
+
'GET',
|
|
34183
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
34184
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
34185
|
+
{ },
|
|
34186
|
+
{ },
|
|
34187
|
+
null,
|
|
34188
|
+
['PureCloud OAuth'],
|
|
34189
|
+
['application/json'],
|
|
34190
|
+
['application/json']
|
|
34191
|
+
);
|
|
34192
|
+
}
|
|
34193
|
+
|
|
34194
|
+
/**
|
|
34195
|
+
* Get synchronization job report
|
|
34196
|
+
*
|
|
34197
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34198
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34199
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34200
|
+
*/
|
|
34201
|
+
getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
|
|
34202
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34203
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34204
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34205
|
+
}
|
|
34206
|
+
// verify the required parameter 'syncJobId' is set
|
|
34207
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34208
|
+
throw 'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';
|
|
34209
|
+
}
|
|
34210
|
+
|
|
34211
|
+
return this.apiClient.callApi(
|
|
34212
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34213
|
+
'GET',
|
|
34214
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34215
|
+
{ },
|
|
34216
|
+
{ },
|
|
34217
|
+
{ },
|
|
34218
|
+
null,
|
|
34219
|
+
['PureCloud OAuth'],
|
|
34220
|
+
['application/json'],
|
|
34221
|
+
['application/json']
|
|
34222
|
+
);
|
|
34223
|
+
}
|
|
34224
|
+
|
|
33947
34225
|
/**
|
|
33948
34226
|
* Get knowledge base unanswered group for a particular groupId
|
|
33949
34227
|
*
|
|
@@ -34628,6 +34906,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34628
34906
|
);
|
|
34629
34907
|
}
|
|
34630
34908
|
|
|
34909
|
+
/**
|
|
34910
|
+
* Update synchronization job
|
|
34911
|
+
*
|
|
34912
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
34913
|
+
* @param {String} syncJobId Synchronization job ID
|
|
34914
|
+
* @param {Object} body
|
|
34915
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
34916
|
+
*/
|
|
34917
|
+
patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId, body) {
|
|
34918
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34919
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34920
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34921
|
+
}
|
|
34922
|
+
// verify the required parameter 'syncJobId' is set
|
|
34923
|
+
if (syncJobId === undefined || syncJobId === null) {
|
|
34924
|
+
throw 'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34925
|
+
}
|
|
34926
|
+
// verify the required parameter 'body' is set
|
|
34927
|
+
if (body === undefined || body === null) {
|
|
34928
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';
|
|
34929
|
+
}
|
|
34930
|
+
|
|
34931
|
+
return this.apiClient.callApi(
|
|
34932
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}',
|
|
34933
|
+
'PATCH',
|
|
34934
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'syncJobId': syncJobId },
|
|
34935
|
+
{ },
|
|
34936
|
+
{ },
|
|
34937
|
+
{ },
|
|
34938
|
+
body,
|
|
34939
|
+
['PureCloud OAuth'],
|
|
34940
|
+
['application/json'],
|
|
34941
|
+
['application/json']
|
|
34942
|
+
);
|
|
34943
|
+
}
|
|
34944
|
+
|
|
34631
34945
|
/**
|
|
34632
34946
|
* Update a Knowledge base unanswered phrase group
|
|
34633
34947
|
*
|
|
@@ -35815,6 +36129,161 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35815
36129
|
);
|
|
35816
36130
|
}
|
|
35817
36131
|
|
|
36132
|
+
/**
|
|
36133
|
+
* Create Salesforce Knowledge integration source
|
|
36134
|
+
*
|
|
36135
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36136
|
+
* @param {Object} body
|
|
36137
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36138
|
+
*/
|
|
36139
|
+
postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId, body) {
|
|
36140
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36141
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36142
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36143
|
+
}
|
|
36144
|
+
// verify the required parameter 'body' is set
|
|
36145
|
+
if (body === undefined || body === null) {
|
|
36146
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';
|
|
36147
|
+
}
|
|
36148
|
+
|
|
36149
|
+
return this.apiClient.callApi(
|
|
36150
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce',
|
|
36151
|
+
'POST',
|
|
36152
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36153
|
+
{ },
|
|
36154
|
+
{ },
|
|
36155
|
+
{ },
|
|
36156
|
+
body,
|
|
36157
|
+
['PureCloud OAuth'],
|
|
36158
|
+
['application/json'],
|
|
36159
|
+
['application/json']
|
|
36160
|
+
);
|
|
36161
|
+
}
|
|
36162
|
+
|
|
36163
|
+
/**
|
|
36164
|
+
* Start sync on Salesforce Knowledge integration source
|
|
36165
|
+
*
|
|
36166
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36167
|
+
* @param {String} sourceId Source ID
|
|
36168
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36169
|
+
*/
|
|
36170
|
+
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36171
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36172
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36173
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36174
|
+
}
|
|
36175
|
+
// verify the required parameter 'sourceId' is set
|
|
36176
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36177
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
36178
|
+
}
|
|
36179
|
+
|
|
36180
|
+
return this.apiClient.callApi(
|
|
36181
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync',
|
|
36182
|
+
'POST',
|
|
36183
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36184
|
+
{ },
|
|
36185
|
+
{ },
|
|
36186
|
+
{ },
|
|
36187
|
+
null,
|
|
36188
|
+
['PureCloud OAuth'],
|
|
36189
|
+
['application/json'],
|
|
36190
|
+
['application/json']
|
|
36191
|
+
);
|
|
36192
|
+
}
|
|
36193
|
+
|
|
36194
|
+
/**
|
|
36195
|
+
* Create ServiceNow Knowledge integration source
|
|
36196
|
+
*
|
|
36197
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36198
|
+
* @param {Object} body
|
|
36199
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36200
|
+
*/
|
|
36201
|
+
postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId, body) {
|
|
36202
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36203
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36204
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36205
|
+
}
|
|
36206
|
+
// verify the required parameter 'body' is set
|
|
36207
|
+
if (body === undefined || body === null) {
|
|
36208
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';
|
|
36209
|
+
}
|
|
36210
|
+
|
|
36211
|
+
return this.apiClient.callApi(
|
|
36212
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow',
|
|
36213
|
+
'POST',
|
|
36214
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36215
|
+
{ },
|
|
36216
|
+
{ },
|
|
36217
|
+
{ },
|
|
36218
|
+
body,
|
|
36219
|
+
['PureCloud OAuth'],
|
|
36220
|
+
['application/json'],
|
|
36221
|
+
['application/json']
|
|
36222
|
+
);
|
|
36223
|
+
}
|
|
36224
|
+
|
|
36225
|
+
/**
|
|
36226
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
36227
|
+
*
|
|
36228
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36229
|
+
* @param {String} sourceId Source ID
|
|
36230
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36231
|
+
*/
|
|
36232
|
+
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
|
|
36233
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36234
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36235
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36236
|
+
}
|
|
36237
|
+
// verify the required parameter 'sourceId' is set
|
|
36238
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36239
|
+
throw 'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
36240
|
+
}
|
|
36241
|
+
|
|
36242
|
+
return this.apiClient.callApi(
|
|
36243
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync',
|
|
36244
|
+
'POST',
|
|
36245
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36246
|
+
{ },
|
|
36247
|
+
{ },
|
|
36248
|
+
{ },
|
|
36249
|
+
null,
|
|
36250
|
+
['PureCloud OAuth'],
|
|
36251
|
+
['application/json'],
|
|
36252
|
+
['application/json']
|
|
36253
|
+
);
|
|
36254
|
+
}
|
|
36255
|
+
|
|
36256
|
+
/**
|
|
36257
|
+
* Create synchronization job
|
|
36258
|
+
*
|
|
36259
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36260
|
+
* @param {Object} body
|
|
36261
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36262
|
+
*/
|
|
36263
|
+
postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId, body) {
|
|
36264
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36265
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36266
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36267
|
+
}
|
|
36268
|
+
// verify the required parameter 'body' is set
|
|
36269
|
+
if (body === undefined || body === null) {
|
|
36270
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';
|
|
36271
|
+
}
|
|
36272
|
+
|
|
36273
|
+
return this.apiClient.callApi(
|
|
36274
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs',
|
|
36275
|
+
'POST',
|
|
36276
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
36277
|
+
{ },
|
|
36278
|
+
{ },
|
|
36279
|
+
{ },
|
|
36280
|
+
body,
|
|
36281
|
+
['PureCloud OAuth'],
|
|
36282
|
+
['application/json'],
|
|
36283
|
+
['application/json']
|
|
36284
|
+
);
|
|
36285
|
+
}
|
|
36286
|
+
|
|
35818
36287
|
/**
|
|
35819
36288
|
* Create content upload from URL job
|
|
35820
36289
|
*
|
|
@@ -35871,13 +36340,85 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35871
36340
|
);
|
|
35872
36341
|
}
|
|
35873
36342
|
|
|
36343
|
+
/**
|
|
36344
|
+
* Update Salesforce Knowledge integration source
|
|
36345
|
+
*
|
|
36346
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36347
|
+
* @param {String} sourceId Source ID
|
|
36348
|
+
* @param {Object} body
|
|
36349
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36350
|
+
*/
|
|
36351
|
+
putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, body) {
|
|
36352
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36353
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36354
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36355
|
+
}
|
|
36356
|
+
// verify the required parameter 'sourceId' is set
|
|
36357
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36358
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36359
|
+
}
|
|
36360
|
+
// verify the required parameter 'body' is set
|
|
36361
|
+
if (body === undefined || body === null) {
|
|
36362
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';
|
|
36363
|
+
}
|
|
36364
|
+
|
|
36365
|
+
return this.apiClient.callApi(
|
|
36366
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}',
|
|
36367
|
+
'PUT',
|
|
36368
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36369
|
+
{ },
|
|
36370
|
+
{ },
|
|
36371
|
+
{ },
|
|
36372
|
+
body,
|
|
36373
|
+
['PureCloud OAuth'],
|
|
36374
|
+
['application/json'],
|
|
36375
|
+
['application/json']
|
|
36376
|
+
);
|
|
36377
|
+
}
|
|
36378
|
+
|
|
36379
|
+
/**
|
|
36380
|
+
* Update ServiceNow Knowledge integration source
|
|
36381
|
+
*
|
|
36382
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36383
|
+
* @param {String} sourceId Source ID
|
|
36384
|
+
* @param {Object} body
|
|
36385
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36386
|
+
*/
|
|
36387
|
+
putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, body) {
|
|
36388
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
36389
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
36390
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36391
|
+
}
|
|
36392
|
+
// verify the required parameter 'sourceId' is set
|
|
36393
|
+
if (sourceId === undefined || sourceId === null) {
|
|
36394
|
+
throw 'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36395
|
+
}
|
|
36396
|
+
// verify the required parameter 'body' is set
|
|
36397
|
+
if (body === undefined || body === null) {
|
|
36398
|
+
throw 'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';
|
|
36399
|
+
}
|
|
36400
|
+
|
|
36401
|
+
return this.apiClient.callApi(
|
|
36402
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}',
|
|
36403
|
+
'PUT',
|
|
36404
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'sourceId': sourceId },
|
|
36405
|
+
{ },
|
|
36406
|
+
{ },
|
|
36407
|
+
{ },
|
|
36408
|
+
body,
|
|
36409
|
+
['PureCloud OAuth'],
|
|
36410
|
+
['application/json'],
|
|
36411
|
+
['application/json']
|
|
36412
|
+
);
|
|
36413
|
+
}
|
|
36414
|
+
|
|
35874
36415
|
}
|
|
35875
36416
|
|
|
35876
36417
|
class LanguageUnderstandingApi {
|
|
35877
36418
|
/**
|
|
35878
36419
|
* LanguageUnderstanding service.
|
|
35879
36420
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35880
|
-
* @version
|
|
36421
|
+
* @version 205.0.0
|
|
35881
36422
|
*/
|
|
35882
36423
|
|
|
35883
36424
|
/**
|
|
@@ -36911,7 +37452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36911
37452
|
/**
|
|
36912
37453
|
* Languages service.
|
|
36913
37454
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36914
|
-
* @version
|
|
37455
|
+
* @version 205.0.0
|
|
36915
37456
|
*/
|
|
36916
37457
|
|
|
36917
37458
|
/**
|
|
@@ -37133,7 +37674,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37133
37674
|
/**
|
|
37134
37675
|
* Learning service.
|
|
37135
37676
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
37136
|
-
* @version
|
|
37677
|
+
* @version 205.0.0
|
|
37137
37678
|
*/
|
|
37138
37679
|
|
|
37139
37680
|
/**
|
|
@@ -38162,7 +38703,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38162
38703
|
/**
|
|
38163
38704
|
* License service.
|
|
38164
38705
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
38165
|
-
* @version
|
|
38706
|
+
* @version 205.0.0
|
|
38166
38707
|
*/
|
|
38167
38708
|
|
|
38168
38709
|
/**
|
|
@@ -38400,7 +38941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38400
38941
|
/**
|
|
38401
38942
|
* Locations service.
|
|
38402
38943
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
38403
|
-
* @version
|
|
38944
|
+
* @version 205.0.0
|
|
38404
38945
|
*/
|
|
38405
38946
|
|
|
38406
38947
|
/**
|
|
@@ -38636,7 +39177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38636
39177
|
/**
|
|
38637
39178
|
* LogCapture service.
|
|
38638
39179
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
38639
|
-
* @version
|
|
39180
|
+
* @version 205.0.0
|
|
38640
39181
|
*/
|
|
38641
39182
|
|
|
38642
39183
|
/**
|
|
@@ -38836,7 +39377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38836
39377
|
/**
|
|
38837
39378
|
* Messaging service.
|
|
38838
39379
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38839
|
-
* @version
|
|
39380
|
+
* @version 205.0.0
|
|
38840
39381
|
*/
|
|
38841
39382
|
|
|
38842
39383
|
/**
|
|
@@ -39195,7 +39736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39195
39736
|
/**
|
|
39196
39737
|
* MobileDevices service.
|
|
39197
39738
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
39198
|
-
* @version
|
|
39739
|
+
* @version 205.0.0
|
|
39199
39740
|
*/
|
|
39200
39741
|
|
|
39201
39742
|
/**
|
|
@@ -39346,7 +39887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39346
39887
|
/**
|
|
39347
39888
|
* Notifications service.
|
|
39348
39889
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
39349
|
-
* @version
|
|
39890
|
+
* @version 205.0.0
|
|
39350
39891
|
*/
|
|
39351
39892
|
|
|
39352
39893
|
/**
|
|
@@ -39579,7 +40120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39579
40120
|
/**
|
|
39580
40121
|
* OAuth service.
|
|
39581
40122
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
39582
|
-
* @version
|
|
40123
|
+
* @version 205.0.0
|
|
39583
40124
|
*/
|
|
39584
40125
|
|
|
39585
40126
|
/**
|
|
@@ -39945,7 +40486,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39945
40486
|
/**
|
|
39946
40487
|
* Objects service.
|
|
39947
40488
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39948
|
-
* @version
|
|
40489
|
+
* @version 205.0.0
|
|
39949
40490
|
*/
|
|
39950
40491
|
|
|
39951
40492
|
/**
|
|
@@ -40215,7 +40756,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40215
40756
|
/**
|
|
40216
40757
|
* OperationalEvents service.
|
|
40217
40758
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
40218
|
-
* @version
|
|
40759
|
+
* @version 205.0.0
|
|
40219
40760
|
*/
|
|
40220
40761
|
|
|
40221
40762
|
/**
|
|
@@ -40281,7 +40822,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40281
40822
|
/**
|
|
40282
40823
|
* Organization service.
|
|
40283
40824
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
40284
|
-
* @version
|
|
40825
|
+
* @version 205.0.0
|
|
40285
40826
|
*/
|
|
40286
40827
|
|
|
40287
40828
|
/**
|
|
@@ -40823,7 +41364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40823
41364
|
/**
|
|
40824
41365
|
* OrganizationAuthorization service.
|
|
40825
41366
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
40826
|
-
* @version
|
|
41367
|
+
* @version 205.0.0
|
|
40827
41368
|
*/
|
|
40828
41369
|
|
|
40829
41370
|
/**
|
|
@@ -42170,7 +42711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42170
42711
|
/**
|
|
42171
42712
|
* Outbound service.
|
|
42172
42713
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
42173
|
-
* @version
|
|
42714
|
+
* @version 205.0.0
|
|
42174
42715
|
*/
|
|
42175
42716
|
|
|
42176
42717
|
/**
|
|
@@ -43281,6 +43822,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43281
43822
|
);
|
|
43282
43823
|
}
|
|
43283
43824
|
|
|
43825
|
+
/**
|
|
43826
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
43827
|
+
*
|
|
43828
|
+
* @param {String} campaignId Campaign ID
|
|
43829
|
+
* @param {Object} opts Optional parameters
|
|
43830
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
43831
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
43832
|
+
*/
|
|
43833
|
+
getOutboundCampaignSkillcombinations(campaignId, opts) {
|
|
43834
|
+
opts = opts || {};
|
|
43835
|
+
|
|
43836
|
+
// verify the required parameter 'campaignId' is set
|
|
43837
|
+
if (campaignId === undefined || campaignId === null) {
|
|
43838
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';
|
|
43839
|
+
}
|
|
43840
|
+
|
|
43841
|
+
return this.apiClient.callApi(
|
|
43842
|
+
'/api/v2/outbound/campaigns/{campaignId}/skillcombinations',
|
|
43843
|
+
'GET',
|
|
43844
|
+
{ 'campaignId': campaignId },
|
|
43845
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
43846
|
+
{ },
|
|
43847
|
+
{ },
|
|
43848
|
+
null,
|
|
43849
|
+
['PureCloud OAuth'],
|
|
43850
|
+
['application/json'],
|
|
43851
|
+
['application/json']
|
|
43852
|
+
);
|
|
43853
|
+
}
|
|
43854
|
+
|
|
43284
43855
|
/**
|
|
43285
43856
|
* Get statistics about a Dialer Campaign
|
|
43286
43857
|
*
|
|
@@ -46587,7 +47158,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46587
47158
|
/**
|
|
46588
47159
|
* Presence service.
|
|
46589
47160
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
46590
|
-
* @version
|
|
47161
|
+
* @version 205.0.0
|
|
46591
47162
|
*/
|
|
46592
47163
|
|
|
46593
47164
|
/**
|
|
@@ -47331,7 +47902,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47331
47902
|
/**
|
|
47332
47903
|
* ProcessAutomation service.
|
|
47333
47904
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
47334
|
-
* @version
|
|
47905
|
+
* @version 205.0.0
|
|
47335
47906
|
*/
|
|
47336
47907
|
|
|
47337
47908
|
/**
|
|
@@ -47570,7 +48141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47570
48141
|
/**
|
|
47571
48142
|
* Quality service.
|
|
47572
48143
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
47573
|
-
* @version
|
|
48144
|
+
* @version 205.0.0
|
|
47574
48145
|
*/
|
|
47575
48146
|
|
|
47576
48147
|
/**
|
|
@@ -49356,7 +49927,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49356
49927
|
/**
|
|
49357
49928
|
* Recording service.
|
|
49358
49929
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
49359
|
-
* @version
|
|
49930
|
+
* @version 205.0.0
|
|
49360
49931
|
*/
|
|
49361
49932
|
|
|
49362
49933
|
/**
|
|
@@ -51015,7 +51586,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51015
51586
|
/**
|
|
51016
51587
|
* ResponseManagement service.
|
|
51017
51588
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
51018
|
-
* @version
|
|
51589
|
+
* @version 205.0.0
|
|
51019
51590
|
*/
|
|
51020
51591
|
|
|
51021
51592
|
/**
|
|
@@ -51525,7 +52096,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51525
52096
|
/**
|
|
51526
52097
|
* Routing service.
|
|
51527
52098
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
51528
|
-
* @version
|
|
52099
|
+
* @version 205.0.0
|
|
51529
52100
|
*/
|
|
51530
52101
|
|
|
51531
52102
|
/**
|
|
@@ -55673,7 +56244,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55673
56244
|
/**
|
|
55674
56245
|
* SCIM service.
|
|
55675
56246
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
55676
|
-
* @version
|
|
56247
|
+
* @version 205.0.0
|
|
55677
56248
|
*/
|
|
55678
56249
|
|
|
55679
56250
|
/**
|
|
@@ -56550,7 +57121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56550
57121
|
/**
|
|
56551
57122
|
* ScreenRecording service.
|
|
56552
57123
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
56553
|
-
* @version
|
|
57124
|
+
* @version 205.0.0
|
|
56554
57125
|
*/
|
|
56555
57126
|
|
|
56556
57127
|
/**
|
|
@@ -56595,7 +57166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56595
57166
|
/**
|
|
56596
57167
|
* Scripts service.
|
|
56597
57168
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
56598
|
-
* @version
|
|
57169
|
+
* @version 205.0.0
|
|
56599
57170
|
*/
|
|
56600
57171
|
|
|
56601
57172
|
/**
|
|
@@ -57039,7 +57610,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57039
57610
|
/**
|
|
57040
57611
|
* Search service.
|
|
57041
57612
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
57042
|
-
* @version
|
|
57613
|
+
* @version 205.0.0
|
|
57043
57614
|
*/
|
|
57044
57615
|
|
|
57045
57616
|
/**
|
|
@@ -57728,7 +58299,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57728
58299
|
/**
|
|
57729
58300
|
* Settings service.
|
|
57730
58301
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
57731
|
-
* @version
|
|
58302
|
+
* @version 205.0.0
|
|
57732
58303
|
*/
|
|
57733
58304
|
|
|
57734
58305
|
/**
|
|
@@ -57948,7 +58519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57948
58519
|
/**
|
|
57949
58520
|
* SpeechTextAnalytics service.
|
|
57950
58521
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57951
|
-
* @version
|
|
58522
|
+
* @version 205.0.0
|
|
57952
58523
|
*/
|
|
57953
58524
|
|
|
57954
58525
|
/**
|
|
@@ -58766,6 +59337,63 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58766
59337
|
);
|
|
58767
59338
|
}
|
|
58768
59339
|
|
|
59340
|
+
/**
|
|
59341
|
+
* Translate all communication(s) for an interaction.
|
|
59342
|
+
*
|
|
59343
|
+
* @param {String} languageId Target translation language
|
|
59344
|
+
* @param {String} conversationId Conversation id
|
|
59345
|
+
* @param {Object} opts Optional parameters
|
|
59346
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
59347
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
59348
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59349
|
+
*/
|
|
59350
|
+
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
59351
|
+
opts = opts || {};
|
|
59352
|
+
|
|
59353
|
+
// verify the required parameter 'languageId' is set
|
|
59354
|
+
if (languageId === undefined || languageId === null) {
|
|
59355
|
+
throw 'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59356
|
+
}
|
|
59357
|
+
// verify the required parameter 'conversationId' is set
|
|
59358
|
+
if (conversationId === undefined || conversationId === null) {
|
|
59359
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
59360
|
+
}
|
|
59361
|
+
|
|
59362
|
+
return this.apiClient.callApi(
|
|
59363
|
+
'/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}',
|
|
59364
|
+
'GET',
|
|
59365
|
+
{ 'languageId': languageId,'conversationId': conversationId },
|
|
59366
|
+
{ 'communicationId': opts['communicationId'],'recordingId': opts['recordingId'] },
|
|
59367
|
+
{ },
|
|
59368
|
+
{ },
|
|
59369
|
+
null,
|
|
59370
|
+
['PureCloud OAuth'],
|
|
59371
|
+
['application/json'],
|
|
59372
|
+
['application/json']
|
|
59373
|
+
);
|
|
59374
|
+
}
|
|
59375
|
+
|
|
59376
|
+
/**
|
|
59377
|
+
* Get supported translation languages
|
|
59378
|
+
*
|
|
59379
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59380
|
+
*/
|
|
59381
|
+
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
59382
|
+
|
|
59383
|
+
return this.apiClient.callApi(
|
|
59384
|
+
'/api/v2/speechandtextanalytics/translations/languages',
|
|
59385
|
+
'GET',
|
|
59386
|
+
{ },
|
|
59387
|
+
{ },
|
|
59388
|
+
{ },
|
|
59389
|
+
{ },
|
|
59390
|
+
null,
|
|
59391
|
+
['PureCloud OAuth'],
|
|
59392
|
+
['application/json'],
|
|
59393
|
+
['application/json']
|
|
59394
|
+
);
|
|
59395
|
+
}
|
|
59396
|
+
|
|
58769
59397
|
/**
|
|
58770
59398
|
* Patch Speech And Text Analytics Settings
|
|
58771
59399
|
*
|
|
@@ -59226,7 +59854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59226
59854
|
/**
|
|
59227
59855
|
* Stations service.
|
|
59228
59856
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
59229
|
-
* @version
|
|
59857
|
+
* @version 205.0.0
|
|
59230
59858
|
*/
|
|
59231
59859
|
|
|
59232
59860
|
/**
|
|
@@ -59328,7 +59956,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59328
59956
|
/**
|
|
59329
59957
|
* Suggest service.
|
|
59330
59958
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
59331
|
-
* @version
|
|
59959
|
+
* @version 205.0.0
|
|
59332
59960
|
*/
|
|
59333
59961
|
|
|
59334
59962
|
/**
|
|
@@ -59467,7 +60095,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59467
60095
|
/**
|
|
59468
60096
|
* TaskManagement service.
|
|
59469
60097
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
59470
|
-
* @version
|
|
60098
|
+
* @version 205.0.0
|
|
59471
60099
|
*/
|
|
59472
60100
|
|
|
59473
60101
|
/**
|
|
@@ -60821,7 +61449,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60821
61449
|
/**
|
|
60822
61450
|
* Teams service.
|
|
60823
61451
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60824
|
-
* @version
|
|
61452
|
+
* @version 205.0.0
|
|
60825
61453
|
*/
|
|
60826
61454
|
|
|
60827
61455
|
/**
|
|
@@ -61122,7 +61750,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61122
61750
|
/**
|
|
61123
61751
|
* Telephony service.
|
|
61124
61752
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61125
|
-
* @version
|
|
61753
|
+
* @version 205.0.0
|
|
61126
61754
|
*/
|
|
61127
61755
|
|
|
61128
61756
|
/**
|
|
@@ -61304,7 +61932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61304
61932
|
/**
|
|
61305
61933
|
* TelephonyProvidersEdge service.
|
|
61306
61934
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61307
|
-
* @version
|
|
61935
|
+
* @version 205.0.0
|
|
61308
61936
|
*/
|
|
61309
61937
|
|
|
61310
61938
|
/**
|
|
@@ -61399,6 +62027,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61399
62027
|
);
|
|
61400
62028
|
}
|
|
61401
62029
|
|
|
62030
|
+
/**
|
|
62031
|
+
* Deletes alertable presences overrides.
|
|
62032
|
+
*
|
|
62033
|
+
*/
|
|
62034
|
+
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
62035
|
+
|
|
62036
|
+
return this.apiClient.callApi(
|
|
62037
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62038
|
+
'DELETE',
|
|
62039
|
+
{ },
|
|
62040
|
+
{ },
|
|
62041
|
+
{ },
|
|
62042
|
+
{ },
|
|
62043
|
+
null,
|
|
62044
|
+
['PureCloud OAuth'],
|
|
62045
|
+
['application/json'],
|
|
62046
|
+
['application/json']
|
|
62047
|
+
);
|
|
62048
|
+
}
|
|
62049
|
+
|
|
61402
62050
|
/**
|
|
61403
62051
|
* Delete a certificate authority.
|
|
61404
62052
|
*
|
|
@@ -62071,6 +62719,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62071
62719
|
);
|
|
62072
62720
|
}
|
|
62073
62721
|
|
|
62722
|
+
/**
|
|
62723
|
+
* 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.
|
|
62724
|
+
*
|
|
62725
|
+
* @param {Object} opts Optional parameters
|
|
62726
|
+
* @param {Object} opts.type
|
|
62727
|
+
*/
|
|
62728
|
+
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
62729
|
+
opts = opts || {};
|
|
62730
|
+
|
|
62731
|
+
|
|
62732
|
+
return this.apiClient.callApi(
|
|
62733
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
62734
|
+
'GET',
|
|
62735
|
+
{ },
|
|
62736
|
+
{ 'type': opts['type'] },
|
|
62737
|
+
{ },
|
|
62738
|
+
{ },
|
|
62739
|
+
null,
|
|
62740
|
+
['PureCloud OAuth'],
|
|
62741
|
+
['application/json'],
|
|
62742
|
+
['application/json']
|
|
62743
|
+
);
|
|
62744
|
+
}
|
|
62745
|
+
|
|
62074
62746
|
/**
|
|
62075
62747
|
* Get the list of certificate authorities.
|
|
62076
62748
|
*
|
|
@@ -64256,6 +64928,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64256
64928
|
);
|
|
64257
64929
|
}
|
|
64258
64930
|
|
|
64931
|
+
/**
|
|
64932
|
+
* Creates or updates alertable presences overrides.
|
|
64933
|
+
*
|
|
64934
|
+
* @param {Object} body Alertable Presences Overrides
|
|
64935
|
+
*/
|
|
64936
|
+
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
64937
|
+
// verify the required parameter 'body' is set
|
|
64938
|
+
if (body === undefined || body === null) {
|
|
64939
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
64940
|
+
}
|
|
64941
|
+
|
|
64942
|
+
return this.apiClient.callApi(
|
|
64943
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
64944
|
+
'PUT',
|
|
64945
|
+
{ },
|
|
64946
|
+
{ },
|
|
64947
|
+
{ },
|
|
64948
|
+
{ },
|
|
64949
|
+
body,
|
|
64950
|
+
['PureCloud OAuth'],
|
|
64951
|
+
['application/json'],
|
|
64952
|
+
['application/json']
|
|
64953
|
+
);
|
|
64954
|
+
}
|
|
64955
|
+
|
|
64259
64956
|
/**
|
|
64260
64957
|
* Update a certificate authority.
|
|
64261
64958
|
*
|
|
@@ -64632,7 +65329,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64632
65329
|
/**
|
|
64633
65330
|
* Textbots service.
|
|
64634
65331
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
64635
|
-
* @version
|
|
65332
|
+
* @version 205.0.0
|
|
64636
65333
|
*/
|
|
64637
65334
|
|
|
64638
65335
|
/**
|
|
@@ -64760,7 +65457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64760
65457
|
/**
|
|
64761
65458
|
* Tokens service.
|
|
64762
65459
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
64763
|
-
* @version
|
|
65460
|
+
* @version 205.0.0
|
|
64764
65461
|
*/
|
|
64765
65462
|
|
|
64766
65463
|
/**
|
|
@@ -64914,7 +65611,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64914
65611
|
/**
|
|
64915
65612
|
* Uploads service.
|
|
64916
65613
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
64917
|
-
* @version
|
|
65614
|
+
* @version 205.0.0
|
|
64918
65615
|
*/
|
|
64919
65616
|
|
|
64920
65617
|
/**
|
|
@@ -65183,7 +65880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65183
65880
|
/**
|
|
65184
65881
|
* Usage service.
|
|
65185
65882
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65186
|
-
* @version
|
|
65883
|
+
* @version 205.0.0
|
|
65187
65884
|
*/
|
|
65188
65885
|
|
|
65189
65886
|
/**
|
|
@@ -65398,7 +66095,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65398
66095
|
/**
|
|
65399
66096
|
* UserRecordings service.
|
|
65400
66097
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
65401
|
-
* @version
|
|
66098
|
+
* @version 205.0.0
|
|
65402
66099
|
*/
|
|
65403
66100
|
|
|
65404
66101
|
/**
|
|
@@ -65613,7 +66310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65613
66310
|
/**
|
|
65614
66311
|
* Users service.
|
|
65615
66312
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
65616
|
-
* @version
|
|
66313
|
+
* @version 205.0.0
|
|
65617
66314
|
*/
|
|
65618
66315
|
|
|
65619
66316
|
/**
|
|
@@ -68416,7 +69113,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68416
69113
|
/**
|
|
68417
69114
|
* Utilities service.
|
|
68418
69115
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
68419
|
-
* @version
|
|
69116
|
+
* @version 205.0.0
|
|
68420
69117
|
*/
|
|
68421
69118
|
|
|
68422
69119
|
/**
|
|
@@ -68527,7 +69224,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68527
69224
|
/**
|
|
68528
69225
|
* Voicemail service.
|
|
68529
69226
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
68530
|
-
* @version
|
|
69227
|
+
* @version 205.0.0
|
|
68531
69228
|
*/
|
|
68532
69229
|
|
|
68533
69230
|
/**
|
|
@@ -69194,7 +69891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69194
69891
|
/**
|
|
69195
69892
|
* WebChat service.
|
|
69196
69893
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
69197
|
-
* @version
|
|
69894
|
+
* @version 205.0.0
|
|
69198
69895
|
*/
|
|
69199
69896
|
|
|
69200
69897
|
/**
|
|
@@ -69745,7 +70442,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69745
70442
|
/**
|
|
69746
70443
|
* WebDeployments service.
|
|
69747
70444
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
69748
|
-
* @version
|
|
70445
|
+
* @version 205.0.0
|
|
69749
70446
|
*/
|
|
69750
70447
|
|
|
69751
70448
|
/**
|
|
@@ -70062,7 +70759,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70062
70759
|
* Get deployments
|
|
70063
70760
|
*
|
|
70064
70761
|
* @param {Object} opts Optional parameters
|
|
70065
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70762
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
70066
70763
|
*/
|
|
70067
70764
|
getWebdeploymentsDeployments(opts) {
|
|
70068
70765
|
opts = opts || {};
|
|
@@ -70272,7 +70969,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70272
70969
|
/**
|
|
70273
70970
|
* WebMessaging service.
|
|
70274
70971
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
70275
|
-
* @version
|
|
70972
|
+
* @version 205.0.0
|
|
70276
70973
|
*/
|
|
70277
70974
|
|
|
70278
70975
|
/**
|
|
@@ -70318,7 +71015,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70318
71015
|
/**
|
|
70319
71016
|
* Widgets service.
|
|
70320
71017
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
70321
|
-
* @version
|
|
71018
|
+
* @version 205.0.0
|
|
70322
71019
|
*/
|
|
70323
71020
|
|
|
70324
71021
|
/**
|
|
@@ -70464,7 +71161,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70464
71161
|
/**
|
|
70465
71162
|
* WorkforceManagement service.
|
|
70466
71163
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
70467
|
-
* @version
|
|
71164
|
+
* @version 205.0.0
|
|
70468
71165
|
*/
|
|
70469
71166
|
|
|
70470
71167
|
/**
|
|
@@ -77619,7 +78316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
77619
78316
|
* </pre>
|
|
77620
78317
|
* </p>
|
|
77621
78318
|
* @module purecloud-platform-client-v2/index
|
|
77622
|
-
* @version
|
|
78319
|
+
* @version 205.0.0
|
|
77623
78320
|
*/
|
|
77624
78321
|
class platformClient {
|
|
77625
78322
|
constructor() {
|