purecloud-platform-client-v2 186.0.1 → 188.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +367 -151
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +899 -240
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- 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 +4 -22
- 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 +40 -12
- 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/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 +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +263 -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 +3 -2
- 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 +219 -4
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- 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 +50 -0
- 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 +3 -2
- 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 +1 -27
- 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 +94 -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 +1 -1
- 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 +7 -1
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 188.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1821,7 +1821,7 @@ class AlertingApi {
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Alerting service.
|
|
1823
1823
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1824
|
-
* @version
|
|
1824
|
+
* @version 188.0.0
|
|
1825
1825
|
*/
|
|
1826
1826
|
|
|
1827
1827
|
/**
|
|
@@ -2482,7 +2482,7 @@ class AnalyticsApi {
|
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Analytics service.
|
|
2484
2484
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2485
|
-
* @version
|
|
2485
|
+
* @version 188.0.0
|
|
2486
2486
|
*/
|
|
2487
2487
|
|
|
2488
2488
|
/**
|
|
@@ -4277,7 +4277,6 @@ class AnalyticsApi {
|
|
|
4277
4277
|
* Query for flow execution aggregates
|
|
4278
4278
|
*
|
|
4279
4279
|
* @param {Object} body query
|
|
4280
|
-
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4281
4280
|
*/
|
|
4282
4281
|
postAnalyticsFlowexecutionsAggregatesQuery(body) {
|
|
4283
4282
|
// verify the required parameter 'body' is set
|
|
@@ -4534,6 +4533,31 @@ class AnalyticsApi {
|
|
|
4534
4533
|
);
|
|
4535
4534
|
}
|
|
4536
4535
|
|
|
4536
|
+
/**
|
|
4537
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
4538
|
+
*
|
|
4539
|
+
* @param {Object} body query
|
|
4540
|
+
*/
|
|
4541
|
+
postAnalyticsRatelimitsAggregatesQuery(body) {
|
|
4542
|
+
// verify the required parameter 'body' is set
|
|
4543
|
+
if (body === undefined || body === null) {
|
|
4544
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
return this.apiClient.callApi(
|
|
4548
|
+
'/api/v2/analytics/ratelimits/aggregates/query',
|
|
4549
|
+
'POST',
|
|
4550
|
+
{ },
|
|
4551
|
+
{ },
|
|
4552
|
+
{ },
|
|
4553
|
+
{ },
|
|
4554
|
+
body,
|
|
4555
|
+
['PureCloud OAuth'],
|
|
4556
|
+
['application/json'],
|
|
4557
|
+
['application/json']
|
|
4558
|
+
);
|
|
4559
|
+
}
|
|
4560
|
+
|
|
4537
4561
|
/**
|
|
4538
4562
|
* Generate a view export request
|
|
4539
4563
|
* This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
|
|
@@ -5072,7 +5096,7 @@ class ArchitectApi {
|
|
|
5072
5096
|
/**
|
|
5073
5097
|
* Architect service.
|
|
5074
5098
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5075
|
-
* @version
|
|
5099
|
+
* @version 188.0.0
|
|
5076
5100
|
*/
|
|
5077
5101
|
|
|
5078
5102
|
/**
|
|
@@ -6128,8 +6152,14 @@ class ArchitectApi {
|
|
|
6128
6152
|
* Get specified user prompt
|
|
6129
6153
|
*
|
|
6130
6154
|
* @param {String} promptId Prompt ID
|
|
6155
|
+
* @param {Object} opts Optional parameters
|
|
6156
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
6157
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
6158
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
6131
6159
|
*/
|
|
6132
|
-
getArchitectPrompt(promptId) {
|
|
6160
|
+
getArchitectPrompt(promptId, opts) {
|
|
6161
|
+
opts = opts || {};
|
|
6162
|
+
|
|
6133
6163
|
// verify the required parameter 'promptId' is set
|
|
6134
6164
|
if (promptId === undefined || promptId === null) {
|
|
6135
6165
|
throw 'Missing the required parameter "promptId" when calling getArchitectPrompt';
|
|
@@ -6139,7 +6169,7 @@ class ArchitectApi {
|
|
|
6139
6169
|
'/api/v2/architect/prompts/{promptId}',
|
|
6140
6170
|
'GET',
|
|
6141
6171
|
{ 'promptId': promptId },
|
|
6142
|
-
{
|
|
6172
|
+
{ 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
6143
6173
|
{ },
|
|
6144
6174
|
{ },
|
|
6145
6175
|
null,
|
|
@@ -6258,6 +6288,9 @@ class ArchitectApi {
|
|
|
6258
6288
|
* @param {String} opts.nameOrDescription Name or description
|
|
6259
6289
|
* @param {String} opts.sortBy Sort by (default to id)
|
|
6260
6290
|
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
6291
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
6292
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
6293
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
6261
6294
|
*/
|
|
6262
6295
|
getArchitectPrompts(opts) {
|
|
6263
6296
|
opts = opts || {};
|
|
@@ -6267,7 +6300,7 @@ class ArchitectApi {
|
|
|
6267
6300
|
'/api/v2/architect/prompts',
|
|
6268
6301
|
'GET',
|
|
6269
6302
|
{ },
|
|
6270
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
6303
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
6271
6304
|
{ },
|
|
6272
6305
|
{ },
|
|
6273
6306
|
null,
|
|
@@ -6450,8 +6483,14 @@ class ArchitectApi {
|
|
|
6450
6483
|
* Get a system prompt
|
|
6451
6484
|
*
|
|
6452
6485
|
* @param {String} promptId promptId
|
|
6486
|
+
* @param {Object} opts Optional parameters
|
|
6487
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
6488
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
6489
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
6453
6490
|
*/
|
|
6454
|
-
getArchitectSystemprompt(promptId) {
|
|
6491
|
+
getArchitectSystemprompt(promptId, opts) {
|
|
6492
|
+
opts = opts || {};
|
|
6493
|
+
|
|
6455
6494
|
// verify the required parameter 'promptId' is set
|
|
6456
6495
|
if (promptId === undefined || promptId === null) {
|
|
6457
6496
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystemprompt';
|
|
@@ -6461,7 +6500,7 @@ class ArchitectApi {
|
|
|
6461
6500
|
'/api/v2/architect/systemprompts/{promptId}',
|
|
6462
6501
|
'GET',
|
|
6463
6502
|
{ 'promptId': promptId },
|
|
6464
|
-
{
|
|
6503
|
+
{ 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
6465
6504
|
{ },
|
|
6466
6505
|
{ },
|
|
6467
6506
|
null,
|
|
@@ -6582,6 +6621,9 @@ class ArchitectApi {
|
|
|
6582
6621
|
* @param {String} opts.name Name
|
|
6583
6622
|
* @param {String} opts.description Description
|
|
6584
6623
|
* @param {String} opts.nameOrDescription Name or description
|
|
6624
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
6625
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
6626
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
6585
6627
|
*/
|
|
6586
6628
|
getArchitectSystemprompts(opts) {
|
|
6587
6629
|
opts = opts || {};
|
|
@@ -6591,7 +6633,7 @@ class ArchitectApi {
|
|
|
6591
6633
|
'/api/v2/architect/systemprompts',
|
|
6592
6634
|
'GET',
|
|
6593
6635
|
{ },
|
|
6594
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'] },
|
|
6636
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
6595
6637
|
{ },
|
|
6596
6638
|
{ },
|
|
6597
6639
|
null,
|
|
@@ -8433,6 +8475,7 @@ class ArchitectApi {
|
|
|
8433
8475
|
* @param {Object} body query
|
|
8434
8476
|
* @param {Object} opts Optional parameters
|
|
8435
8477
|
* @param {Boolean} opts.indexOnly indexes only
|
|
8478
|
+
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
8436
8479
|
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8437
8480
|
*/
|
|
8438
8481
|
postFlowsInstancesQuery(body, opts) {
|
|
@@ -8447,7 +8490,7 @@ class ArchitectApi {
|
|
|
8447
8490
|
'/api/v2/flows/instances/query',
|
|
8448
8491
|
'POST',
|
|
8449
8492
|
{ },
|
|
8450
|
-
{ 'indexOnly': opts['indexOnly'] },
|
|
8493
|
+
{ 'indexOnly': opts['indexOnly'],'pageSize': opts['pageSize'] },
|
|
8451
8494
|
{ },
|
|
8452
8495
|
{ },
|
|
8453
8496
|
body,
|
|
@@ -8907,7 +8950,7 @@ class AuditApi {
|
|
|
8907
8950
|
/**
|
|
8908
8951
|
* Audit service.
|
|
8909
8952
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8910
|
-
* @version
|
|
8953
|
+
* @version 188.0.0
|
|
8911
8954
|
*/
|
|
8912
8955
|
|
|
8913
8956
|
/**
|
|
@@ -9078,7 +9121,7 @@ class AuthorizationApi {
|
|
|
9078
9121
|
/**
|
|
9079
9122
|
* Authorization service.
|
|
9080
9123
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9081
|
-
* @version
|
|
9124
|
+
* @version 188.0.0
|
|
9082
9125
|
*/
|
|
9083
9126
|
|
|
9084
9127
|
/**
|
|
@@ -9252,6 +9295,7 @@ class AuthorizationApi {
|
|
|
9252
9295
|
* @param {String} opts.nextPage next page token
|
|
9253
9296
|
* @param {String} opts.previousPage Previous page token
|
|
9254
9297
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
9298
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
9255
9299
|
* @param {String} opts.name Search term to filter by division name
|
|
9256
9300
|
*/
|
|
9257
9301
|
getAuthorizationDivisions(opts) {
|
|
@@ -9262,7 +9306,7 @@ class AuthorizationApi {
|
|
|
9262
9306
|
'/api/v2/authorization/divisions',
|
|
9263
9307
|
'GET',
|
|
9264
9308
|
{ },
|
|
9265
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
|
|
9309
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
9266
9310
|
{ },
|
|
9267
9311
|
{ },
|
|
9268
9312
|
null,
|
|
@@ -10307,7 +10351,7 @@ class BillingApi {
|
|
|
10307
10351
|
/**
|
|
10308
10352
|
* Billing service.
|
|
10309
10353
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10310
|
-
* @version
|
|
10354
|
+
* @version 188.0.0
|
|
10311
10355
|
*/
|
|
10312
10356
|
|
|
10313
10357
|
/**
|
|
@@ -10387,7 +10431,7 @@ class CarrierServicesApi {
|
|
|
10387
10431
|
/**
|
|
10388
10432
|
* CarrierServices service.
|
|
10389
10433
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10390
|
-
* @version
|
|
10434
|
+
* @version 188.0.0
|
|
10391
10435
|
*/
|
|
10392
10436
|
|
|
10393
10437
|
/**
|
|
@@ -10457,7 +10501,7 @@ class ChatApi {
|
|
|
10457
10501
|
/**
|
|
10458
10502
|
* Chat service.
|
|
10459
10503
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10460
|
-
* @version
|
|
10504
|
+
* @version 188.0.0
|
|
10461
10505
|
*/
|
|
10462
10506
|
|
|
10463
10507
|
/**
|
|
@@ -10684,12 +10728,6 @@ class ChatApi {
|
|
|
10684
10728
|
*
|
|
10685
10729
|
* @param {String} roomJid roomJid
|
|
10686
10730
|
* @param {Object} opts Optional parameters
|
|
10687
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10688
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10689
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
10690
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10691
|
-
* @param {String} opts.nextPage next page token
|
|
10692
|
-
* @param {String} opts.previousPage Previous page token
|
|
10693
10731
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10694
10732
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10695
10733
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -10707,7 +10745,7 @@ class ChatApi {
|
|
|
10707
10745
|
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
10708
10746
|
'GET',
|
|
10709
10747
|
{ 'roomJid': roomJid },
|
|
10710
|
-
{ '
|
|
10748
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
10711
10749
|
{ },
|
|
10712
10750
|
{ },
|
|
10713
10751
|
null,
|
|
@@ -10742,12 +10780,6 @@ class ChatApi {
|
|
|
10742
10780
|
*
|
|
10743
10781
|
* @param {String} threadId threadId
|
|
10744
10782
|
* @param {Object} opts Optional parameters
|
|
10745
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10746
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10747
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
10748
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10749
|
-
* @param {String} opts.nextPage next page token
|
|
10750
|
-
* @param {String} opts.previousPage Previous page token
|
|
10751
10783
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10752
10784
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10753
10785
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -10765,7 +10797,7 @@ class ChatApi {
|
|
|
10765
10797
|
'/api/v2/chats/threads/{threadId}/messages',
|
|
10766
10798
|
'GET',
|
|
10767
10799
|
{ 'threadId': threadId },
|
|
10768
|
-
{ '
|
|
10800
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
10769
10801
|
{ },
|
|
10770
10802
|
{ },
|
|
10771
10803
|
null,
|
|
@@ -10811,12 +10843,6 @@ class ChatApi {
|
|
|
10811
10843
|
*
|
|
10812
10844
|
* @param {String} userId userId
|
|
10813
10845
|
* @param {Object} opts Optional parameters
|
|
10814
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10815
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10816
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
10817
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10818
|
-
* @param {String} opts.nextPage next page token
|
|
10819
|
-
* @param {String} opts.previousPage Previous page token
|
|
10820
10846
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10821
10847
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10822
10848
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -10834,7 +10860,7 @@ class ChatApi {
|
|
|
10834
10860
|
'/api/v2/chats/users/{userId}/messages',
|
|
10835
10861
|
'GET',
|
|
10836
10862
|
{ 'userId': userId },
|
|
10837
|
-
{ '
|
|
10863
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
10838
10864
|
{ },
|
|
10839
10865
|
{ },
|
|
10840
10866
|
null,
|
|
@@ -11210,7 +11236,7 @@ class CoachingApi {
|
|
|
11210
11236
|
/**
|
|
11211
11237
|
* Coaching service.
|
|
11212
11238
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
11213
|
-
* @version
|
|
11239
|
+
* @version 188.0.0
|
|
11214
11240
|
*/
|
|
11215
11241
|
|
|
11216
11242
|
/**
|
|
@@ -11787,7 +11813,7 @@ class ContentManagementApi {
|
|
|
11787
11813
|
/**
|
|
11788
11814
|
* ContentManagement service.
|
|
11789
11815
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
11790
|
-
* @version
|
|
11816
|
+
* @version 188.0.0
|
|
11791
11817
|
*/
|
|
11792
11818
|
|
|
11793
11819
|
/**
|
|
@@ -12869,7 +12895,7 @@ class ConversationsApi {
|
|
|
12869
12895
|
/**
|
|
12870
12896
|
* Conversations service.
|
|
12871
12897
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
12872
|
-
* @version
|
|
12898
|
+
* @version 188.0.0
|
|
12873
12899
|
*/
|
|
12874
12900
|
|
|
12875
12901
|
/**
|
|
@@ -16945,8 +16971,8 @@ class ConversationsApi {
|
|
|
16945
16971
|
}
|
|
16946
16972
|
|
|
16947
16973
|
/**
|
|
16948
|
-
* Update
|
|
16949
|
-
*
|
|
16974
|
+
* Update a WhatsApp messaging integration
|
|
16975
|
+
*
|
|
16950
16976
|
* @param {String} integrationId Integration ID
|
|
16951
16977
|
* @param {Object} body WhatsAppIntegrationUpdateRequest
|
|
16952
16978
|
*/
|
|
@@ -17436,7 +17462,6 @@ class ConversationsApi {
|
|
|
17436
17462
|
* @param {String} conversationId conversation ID
|
|
17437
17463
|
* @param {String} participantId participant ID
|
|
17438
17464
|
* @param {Object} body Transfer request
|
|
17439
|
-
* postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17440
17465
|
*/
|
|
17441
17466
|
postConversationParticipantReplaceAgent(conversationId, participantId, body) {
|
|
17442
17467
|
// verify the required parameter 'conversationId' is set
|
|
@@ -17472,7 +17497,6 @@ class ConversationsApi {
|
|
|
17472
17497
|
* @param {String} conversationId conversation ID
|
|
17473
17498
|
* @param {String} participantId participant ID
|
|
17474
17499
|
* @param {Object} body Transfer request
|
|
17475
|
-
* postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17476
17500
|
*/
|
|
17477
17501
|
postConversationParticipantReplaceExternal(conversationId, participantId, body) {
|
|
17478
17502
|
// verify the required parameter 'conversationId' is set
|
|
@@ -17508,7 +17532,6 @@ class ConversationsApi {
|
|
|
17508
17532
|
* @param {String} conversationId conversation ID
|
|
17509
17533
|
* @param {String} participantId participant ID
|
|
17510
17534
|
* @param {Object} body Transfer request
|
|
17511
|
-
* postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17512
17535
|
*/
|
|
17513
17536
|
postConversationParticipantReplaceQueue(conversationId, participantId, body) {
|
|
17514
17537
|
// verify the required parameter 'conversationId' is set
|
|
@@ -17572,6 +17595,40 @@ class ConversationsApi {
|
|
|
17572
17595
|
);
|
|
17573
17596
|
}
|
|
17574
17597
|
|
|
17598
|
+
/**
|
|
17599
|
+
* Submit feedback for the summary.
|
|
17600
|
+
*
|
|
17601
|
+
* @param {String} conversationId Conversation ID
|
|
17602
|
+
* @param {String} summaryId Summary ID
|
|
17603
|
+
* @param {Object} opts Optional parameters
|
|
17604
|
+
* @param {Object} opts.body
|
|
17605
|
+
*/
|
|
17606
|
+
postConversationSummaryFeedback(conversationId, summaryId, opts) {
|
|
17607
|
+
opts = opts || {};
|
|
17608
|
+
|
|
17609
|
+
// verify the required parameter 'conversationId' is set
|
|
17610
|
+
if (conversationId === undefined || conversationId === null) {
|
|
17611
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';
|
|
17612
|
+
}
|
|
17613
|
+
// verify the required parameter 'summaryId' is set
|
|
17614
|
+
if (summaryId === undefined || summaryId === null) {
|
|
17615
|
+
throw 'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';
|
|
17616
|
+
}
|
|
17617
|
+
|
|
17618
|
+
return this.apiClient.callApi(
|
|
17619
|
+
'/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback',
|
|
17620
|
+
'POST',
|
|
17621
|
+
{ 'conversationId': conversationId,'summaryId': summaryId },
|
|
17622
|
+
{ },
|
|
17623
|
+
{ },
|
|
17624
|
+
{ },
|
|
17625
|
+
opts['body'],
|
|
17626
|
+
['PureCloud OAuth'],
|
|
17627
|
+
['application/json'],
|
|
17628
|
+
['application/json']
|
|
17629
|
+
);
|
|
17630
|
+
}
|
|
17631
|
+
|
|
17575
17632
|
/**
|
|
17576
17633
|
* Place a new call as part of a callback conversation.
|
|
17577
17634
|
*
|
|
@@ -17743,7 +17800,6 @@ class ConversationsApi {
|
|
|
17743
17800
|
* @param {String} conversationId conversationId
|
|
17744
17801
|
* @param {String} participantId participantId
|
|
17745
17802
|
* @param {Object} body Destination agent and initial speak to
|
|
17746
|
-
* postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17747
17803
|
*/
|
|
17748
17804
|
postConversationsCallParticipantConsultAgent(conversationId, participantId, body) {
|
|
17749
17805
|
// verify the required parameter 'conversationId' is set
|
|
@@ -17779,7 +17835,6 @@ class ConversationsApi {
|
|
|
17779
17835
|
* @param {String} conversationId conversationId
|
|
17780
17836
|
* @param {String} participantId participantId
|
|
17781
17837
|
* @param {Object} body Destination address and initial speak to
|
|
17782
|
-
* postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17783
17838
|
*/
|
|
17784
17839
|
postConversationsCallParticipantConsultExternal(conversationId, participantId, body) {
|
|
17785
17840
|
// verify the required parameter 'conversationId' is set
|
|
@@ -17815,7 +17870,6 @@ class ConversationsApi {
|
|
|
17815
17870
|
* @param {String} conversationId conversationId
|
|
17816
17871
|
* @param {String} participantId participantId
|
|
17817
17872
|
* @param {Object} body Destination queue and initial speak to
|
|
17818
|
-
* postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17819
17873
|
*/
|
|
17820
17874
|
postConversationsCallParticipantConsultQueue(conversationId, participantId, body) {
|
|
17821
17875
|
// verify the required parameter 'conversationId' is set
|
|
@@ -18908,7 +18962,6 @@ class ConversationsApi {
|
|
|
18908
18962
|
*
|
|
18909
18963
|
* @param {String} conversationId conversationId
|
|
18910
18964
|
* @param {String} participantId participantId
|
|
18911
|
-
* postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18912
18965
|
*/
|
|
18913
18966
|
postConversationsMessageParticipantMonitor(conversationId, participantId) {
|
|
18914
18967
|
// verify the required parameter 'conversationId' is set
|
|
@@ -19095,9 +19148,10 @@ class ConversationsApi {
|
|
|
19095
19148
|
}
|
|
19096
19149
|
|
|
19097
19150
|
/**
|
|
19098
|
-
* Create a LINE messenger Integration
|
|
19099
|
-
*
|
|
19151
|
+
* Create a LINE messenger Integration (Deprecated)
|
|
19152
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
19100
19153
|
* @param {Object} body LineIntegrationRequest
|
|
19154
|
+
* @deprecated
|
|
19101
19155
|
*/
|
|
19102
19156
|
postConversationsMessagingIntegrationsLine(body) {
|
|
19103
19157
|
// verify the required parameter 'body' is set
|
|
@@ -20009,7 +20063,7 @@ class DataExtensionsApi {
|
|
|
20009
20063
|
/**
|
|
20010
20064
|
* DataExtensions service.
|
|
20011
20065
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20012
|
-
* @version
|
|
20066
|
+
* @version 188.0.0
|
|
20013
20067
|
*/
|
|
20014
20068
|
|
|
20015
20069
|
/**
|
|
@@ -20095,7 +20149,7 @@ class DownloadsApi {
|
|
|
20095
20149
|
/**
|
|
20096
20150
|
* Downloads service.
|
|
20097
20151
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
20098
|
-
* @version
|
|
20152
|
+
* @version 188.0.0
|
|
20099
20153
|
*/
|
|
20100
20154
|
|
|
20101
20155
|
/**
|
|
@@ -20147,7 +20201,7 @@ class EmailsApi {
|
|
|
20147
20201
|
/**
|
|
20148
20202
|
* Emails service.
|
|
20149
20203
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
20150
|
-
* @version
|
|
20204
|
+
* @version 188.0.0
|
|
20151
20205
|
*/
|
|
20152
20206
|
|
|
20153
20207
|
/**
|
|
@@ -20212,7 +20266,7 @@ class EventsApi {
|
|
|
20212
20266
|
/**
|
|
20213
20267
|
* Events service.
|
|
20214
20268
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
20215
|
-
* @version
|
|
20269
|
+
* @version 188.0.0
|
|
20216
20270
|
*/
|
|
20217
20271
|
|
|
20218
20272
|
/**
|
|
@@ -20308,7 +20362,7 @@ class ExternalContactsApi {
|
|
|
20308
20362
|
/**
|
|
20309
20363
|
* ExternalContacts service.
|
|
20310
20364
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20311
|
-
* @version
|
|
20365
|
+
* @version 188.0.0
|
|
20312
20366
|
*/
|
|
20313
20367
|
|
|
20314
20368
|
/**
|
|
@@ -22266,7 +22320,7 @@ class FaxApi {
|
|
|
22266
22320
|
/**
|
|
22267
22321
|
* Fax service.
|
|
22268
22322
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
22269
|
-
* @version
|
|
22323
|
+
* @version 188.0.0
|
|
22270
22324
|
*/
|
|
22271
22325
|
|
|
22272
22326
|
/**
|
|
@@ -22437,7 +22491,7 @@ class FlowsApi {
|
|
|
22437
22491
|
/**
|
|
22438
22492
|
* Flows service.
|
|
22439
22493
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
22440
|
-
* @version
|
|
22494
|
+
* @version 188.0.0
|
|
22441
22495
|
*/
|
|
22442
22496
|
|
|
22443
22497
|
/**
|
|
@@ -22621,7 +22675,7 @@ class GamificationApi {
|
|
|
22621
22675
|
/**
|
|
22622
22676
|
* Gamification service.
|
|
22623
22677
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
22624
|
-
* @version
|
|
22678
|
+
* @version 188.0.0
|
|
22625
22679
|
*/
|
|
22626
22680
|
|
|
22627
22681
|
/**
|
|
@@ -24707,7 +24761,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
24707
24761
|
/**
|
|
24708
24762
|
* GeneralDataProtectionRegulation service.
|
|
24709
24763
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
24710
|
-
* @version
|
|
24764
|
+
* @version 188.0.0
|
|
24711
24765
|
*/
|
|
24712
24766
|
|
|
24713
24767
|
/**
|
|
@@ -24837,7 +24891,7 @@ class GeolocationApi {
|
|
|
24837
24891
|
/**
|
|
24838
24892
|
* Geolocation service.
|
|
24839
24893
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
24840
|
-
* @version
|
|
24894
|
+
* @version 188.0.0
|
|
24841
24895
|
*/
|
|
24842
24896
|
|
|
24843
24897
|
/**
|
|
@@ -24968,7 +25022,7 @@ class GreetingsApi {
|
|
|
24968
25022
|
/**
|
|
24969
25023
|
* Greetings service.
|
|
24970
25024
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
24971
|
-
* @version
|
|
25025
|
+
* @version 188.0.0
|
|
24972
25026
|
*/
|
|
24973
25027
|
|
|
24974
25028
|
/**
|
|
@@ -25423,7 +25477,7 @@ class GroupsApi {
|
|
|
25423
25477
|
/**
|
|
25424
25478
|
* Groups service.
|
|
25425
25479
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
25426
|
-
* @version
|
|
25480
|
+
* @version 188.0.0
|
|
25427
25481
|
*/
|
|
25428
25482
|
|
|
25429
25483
|
/**
|
|
@@ -25942,7 +25996,7 @@ class IdentityProviderApi {
|
|
|
25942
25996
|
/**
|
|
25943
25997
|
* IdentityProvider service.
|
|
25944
25998
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
25945
|
-
* @version
|
|
25999
|
+
* @version 188.0.0
|
|
25946
26000
|
*/
|
|
25947
26001
|
|
|
25948
26002
|
/**
|
|
@@ -25957,6 +26011,31 @@ class IdentityProviderApi {
|
|
|
25957
26011
|
}
|
|
25958
26012
|
|
|
25959
26013
|
|
|
26014
|
+
/**
|
|
26015
|
+
* Delete Identity Provider
|
|
26016
|
+
*
|
|
26017
|
+
* @param {String} providerId Provider ID
|
|
26018
|
+
*/
|
|
26019
|
+
deleteIdentityprovider(providerId) {
|
|
26020
|
+
// verify the required parameter 'providerId' is set
|
|
26021
|
+
if (providerId === undefined || providerId === null) {
|
|
26022
|
+
throw 'Missing the required parameter "providerId" when calling deleteIdentityprovider';
|
|
26023
|
+
}
|
|
26024
|
+
|
|
26025
|
+
return this.apiClient.callApi(
|
|
26026
|
+
'/api/v2/identityproviders/{providerId}',
|
|
26027
|
+
'DELETE',
|
|
26028
|
+
{ 'providerId': providerId },
|
|
26029
|
+
{ },
|
|
26030
|
+
{ },
|
|
26031
|
+
{ },
|
|
26032
|
+
null,
|
|
26033
|
+
['PureCloud OAuth'],
|
|
26034
|
+
['application/json'],
|
|
26035
|
+
['application/json']
|
|
26036
|
+
);
|
|
26037
|
+
}
|
|
26038
|
+
|
|
25960
26039
|
/**
|
|
25961
26040
|
* Delete ADFS Identity Provider
|
|
25962
26041
|
*
|
|
@@ -26177,6 +26256,31 @@ class IdentityProviderApi {
|
|
|
26177
26256
|
);
|
|
26178
26257
|
}
|
|
26179
26258
|
|
|
26259
|
+
/**
|
|
26260
|
+
* Get Identity Provider
|
|
26261
|
+
*
|
|
26262
|
+
* @param {String} providerId Provider ID
|
|
26263
|
+
*/
|
|
26264
|
+
getIdentityprovider(providerId) {
|
|
26265
|
+
// verify the required parameter 'providerId' is set
|
|
26266
|
+
if (providerId === undefined || providerId === null) {
|
|
26267
|
+
throw 'Missing the required parameter "providerId" when calling getIdentityprovider';
|
|
26268
|
+
}
|
|
26269
|
+
|
|
26270
|
+
return this.apiClient.callApi(
|
|
26271
|
+
'/api/v2/identityproviders/{providerId}',
|
|
26272
|
+
'GET',
|
|
26273
|
+
{ 'providerId': providerId },
|
|
26274
|
+
{ },
|
|
26275
|
+
{ },
|
|
26276
|
+
{ },
|
|
26277
|
+
null,
|
|
26278
|
+
['PureCloud OAuth'],
|
|
26279
|
+
['application/json'],
|
|
26280
|
+
['application/json']
|
|
26281
|
+
);
|
|
26282
|
+
}
|
|
26283
|
+
|
|
26180
26284
|
/**
|
|
26181
26285
|
* The list of identity providers
|
|
26182
26286
|
*
|
|
@@ -26417,6 +26521,61 @@ class IdentityProviderApi {
|
|
|
26417
26521
|
);
|
|
26418
26522
|
}
|
|
26419
26523
|
|
|
26524
|
+
/**
|
|
26525
|
+
* Create Identity Provider
|
|
26526
|
+
*
|
|
26527
|
+
* @param {Object} body Provider
|
|
26528
|
+
*/
|
|
26529
|
+
postIdentityproviders(body) {
|
|
26530
|
+
// verify the required parameter 'body' is set
|
|
26531
|
+
if (body === undefined || body === null) {
|
|
26532
|
+
throw 'Missing the required parameter "body" when calling postIdentityproviders';
|
|
26533
|
+
}
|
|
26534
|
+
|
|
26535
|
+
return this.apiClient.callApi(
|
|
26536
|
+
'/api/v2/identityproviders',
|
|
26537
|
+
'POST',
|
|
26538
|
+
{ },
|
|
26539
|
+
{ },
|
|
26540
|
+
{ },
|
|
26541
|
+
{ },
|
|
26542
|
+
body,
|
|
26543
|
+
['PureCloud OAuth'],
|
|
26544
|
+
['application/json'],
|
|
26545
|
+
['application/json']
|
|
26546
|
+
);
|
|
26547
|
+
}
|
|
26548
|
+
|
|
26549
|
+
/**
|
|
26550
|
+
* Update Identity Provider
|
|
26551
|
+
*
|
|
26552
|
+
* @param {String} providerId Provider ID
|
|
26553
|
+
* @param {Object} body Provider
|
|
26554
|
+
*/
|
|
26555
|
+
putIdentityprovider(providerId, body) {
|
|
26556
|
+
// verify the required parameter 'providerId' is set
|
|
26557
|
+
if (providerId === undefined || providerId === null) {
|
|
26558
|
+
throw 'Missing the required parameter "providerId" when calling putIdentityprovider';
|
|
26559
|
+
}
|
|
26560
|
+
// verify the required parameter 'body' is set
|
|
26561
|
+
if (body === undefined || body === null) {
|
|
26562
|
+
throw 'Missing the required parameter "body" when calling putIdentityprovider';
|
|
26563
|
+
}
|
|
26564
|
+
|
|
26565
|
+
return this.apiClient.callApi(
|
|
26566
|
+
'/api/v2/identityproviders/{providerId}',
|
|
26567
|
+
'PUT',
|
|
26568
|
+
{ 'providerId': providerId },
|
|
26569
|
+
{ },
|
|
26570
|
+
{ },
|
|
26571
|
+
{ },
|
|
26572
|
+
body,
|
|
26573
|
+
['PureCloud OAuth'],
|
|
26574
|
+
['application/json'],
|
|
26575
|
+
['application/json']
|
|
26576
|
+
);
|
|
26577
|
+
}
|
|
26578
|
+
|
|
26420
26579
|
/**
|
|
26421
26580
|
* Update/Create ADFS Identity Provider
|
|
26422
26581
|
*
|
|
@@ -26698,7 +26857,7 @@ class InfrastructureAsCodeApi {
|
|
|
26698
26857
|
/**
|
|
26699
26858
|
* InfrastructureAsCode service.
|
|
26700
26859
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
26701
|
-
* @version
|
|
26860
|
+
* @version 188.0.0
|
|
26702
26861
|
*/
|
|
26703
26862
|
|
|
26704
26863
|
/**
|
|
@@ -26865,7 +27024,7 @@ class IntegrationsApi {
|
|
|
26865
27024
|
/**
|
|
26866
27025
|
* Integrations service.
|
|
26867
27026
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
26868
|
-
* @version
|
|
27027
|
+
* @version 188.0.0
|
|
26869
27028
|
*/
|
|
26870
27029
|
|
|
26871
27030
|
/**
|
|
@@ -27128,6 +27287,32 @@ class IntegrationsApi {
|
|
|
27128
27287
|
);
|
|
27129
27288
|
}
|
|
27130
27289
|
|
|
27290
|
+
/**
|
|
27291
|
+
* Get draft function settings for Action
|
|
27292
|
+
*
|
|
27293
|
+
* @param {String} actionId actionId
|
|
27294
|
+
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
27295
|
+
*/
|
|
27296
|
+
getIntegrationsActionDraftFunction(actionId) {
|
|
27297
|
+
// verify the required parameter 'actionId' is set
|
|
27298
|
+
if (actionId === undefined || actionId === null) {
|
|
27299
|
+
throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';
|
|
27300
|
+
}
|
|
27301
|
+
|
|
27302
|
+
return this.apiClient.callApi(
|
|
27303
|
+
'/api/v2/integrations/actions/{actionId}/draft/function',
|
|
27304
|
+
'GET',
|
|
27305
|
+
{ 'actionId': actionId },
|
|
27306
|
+
{ },
|
|
27307
|
+
{ },
|
|
27308
|
+
{ },
|
|
27309
|
+
null,
|
|
27310
|
+
['PureCloud OAuth'],
|
|
27311
|
+
['application/json'],
|
|
27312
|
+
['application/json']
|
|
27313
|
+
);
|
|
27314
|
+
}
|
|
27315
|
+
|
|
27131
27316
|
/**
|
|
27132
27317
|
* Retrieve schema for a Draft based on filename.
|
|
27133
27318
|
*
|
|
@@ -27213,6 +27398,32 @@ class IntegrationsApi {
|
|
|
27213
27398
|
);
|
|
27214
27399
|
}
|
|
27215
27400
|
|
|
27401
|
+
/**
|
|
27402
|
+
* Get published function settings for Action
|
|
27403
|
+
*
|
|
27404
|
+
* @param {String} actionId actionId
|
|
27405
|
+
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
27406
|
+
*/
|
|
27407
|
+
getIntegrationsActionFunction(actionId) {
|
|
27408
|
+
// verify the required parameter 'actionId' is set
|
|
27409
|
+
if (actionId === undefined || actionId === null) {
|
|
27410
|
+
throw 'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';
|
|
27411
|
+
}
|
|
27412
|
+
|
|
27413
|
+
return this.apiClient.callApi(
|
|
27414
|
+
'/api/v2/integrations/actions/{actionId}/function',
|
|
27415
|
+
'GET',
|
|
27416
|
+
{ 'actionId': actionId },
|
|
27417
|
+
{ },
|
|
27418
|
+
{ },
|
|
27419
|
+
{ },
|
|
27420
|
+
null,
|
|
27421
|
+
['PureCloud OAuth'],
|
|
27422
|
+
['application/json'],
|
|
27423
|
+
['application/json']
|
|
27424
|
+
);
|
|
27425
|
+
}
|
|
27426
|
+
|
|
27216
27427
|
/**
|
|
27217
27428
|
* Retrieve schema for an action based on filename.
|
|
27218
27429
|
*
|
|
@@ -27396,6 +27607,27 @@ class IntegrationsApi {
|
|
|
27396
27607
|
);
|
|
27397
27608
|
}
|
|
27398
27609
|
|
|
27610
|
+
/**
|
|
27611
|
+
* Get action function settings for Action
|
|
27612
|
+
*
|
|
27613
|
+
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
27614
|
+
*/
|
|
27615
|
+
getIntegrationsActionsFunctionsRuntimes() {
|
|
27616
|
+
|
|
27617
|
+
return this.apiClient.callApi(
|
|
27618
|
+
'/api/v2/integrations/actions/functions/runtimes',
|
|
27619
|
+
'GET',
|
|
27620
|
+
{ },
|
|
27621
|
+
{ },
|
|
27622
|
+
{ },
|
|
27623
|
+
{ },
|
|
27624
|
+
null,
|
|
27625
|
+
['PureCloud OAuth'],
|
|
27626
|
+
['application/json'],
|
|
27627
|
+
['application/json']
|
|
27628
|
+
);
|
|
27629
|
+
}
|
|
27630
|
+
|
|
27399
27631
|
/**
|
|
27400
27632
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
27401
27633
|
*
|
|
@@ -28379,6 +28611,37 @@ class IntegrationsApi {
|
|
|
28379
28611
|
);
|
|
28380
28612
|
}
|
|
28381
28613
|
|
|
28614
|
+
/**
|
|
28615
|
+
* Create upload presigned URL for draft function package file.
|
|
28616
|
+
*
|
|
28617
|
+
* @param {String} actionId actionId
|
|
28618
|
+
* @param {Object} body Input used to request URL upload.
|
|
28619
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28620
|
+
*/
|
|
28621
|
+
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
28622
|
+
// verify the required parameter 'actionId' is set
|
|
28623
|
+
if (actionId === undefined || actionId === null) {
|
|
28624
|
+
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
|
|
28625
|
+
}
|
|
28626
|
+
// verify the required parameter 'body' is set
|
|
28627
|
+
if (body === undefined || body === null) {
|
|
28628
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
|
|
28629
|
+
}
|
|
28630
|
+
|
|
28631
|
+
return this.apiClient.callApi(
|
|
28632
|
+
'/api/v2/integrations/actions/{actionId}/draft/function/upload',
|
|
28633
|
+
'POST',
|
|
28634
|
+
{ 'actionId': actionId },
|
|
28635
|
+
{ },
|
|
28636
|
+
{ },
|
|
28637
|
+
{ },
|
|
28638
|
+
body,
|
|
28639
|
+
['PureCloud OAuth'],
|
|
28640
|
+
['application/json'],
|
|
28641
|
+
['application/json']
|
|
28642
|
+
);
|
|
28643
|
+
}
|
|
28644
|
+
|
|
28382
28645
|
/**
|
|
28383
28646
|
* Publish a Draft and make it the active Action configuration
|
|
28384
28647
|
*
|
|
@@ -28701,6 +28964,37 @@ class IntegrationsApi {
|
|
|
28701
28964
|
);
|
|
28702
28965
|
}
|
|
28703
28966
|
|
|
28967
|
+
/**
|
|
28968
|
+
* Update draft function settings.
|
|
28969
|
+
*
|
|
28970
|
+
* @param {String} actionId actionId
|
|
28971
|
+
* @param {Object} body Input used to update function settings.
|
|
28972
|
+
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28973
|
+
*/
|
|
28974
|
+
putIntegrationsActionDraftFunction(actionId, body) {
|
|
28975
|
+
// verify the required parameter 'actionId' is set
|
|
28976
|
+
if (actionId === undefined || actionId === null) {
|
|
28977
|
+
throw 'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';
|
|
28978
|
+
}
|
|
28979
|
+
// verify the required parameter 'body' is set
|
|
28980
|
+
if (body === undefined || body === null) {
|
|
28981
|
+
throw 'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';
|
|
28982
|
+
}
|
|
28983
|
+
|
|
28984
|
+
return this.apiClient.callApi(
|
|
28985
|
+
'/api/v2/integrations/actions/{actionId}/draft/function',
|
|
28986
|
+
'PUT',
|
|
28987
|
+
{ 'actionId': actionId },
|
|
28988
|
+
{ },
|
|
28989
|
+
{ },
|
|
28990
|
+
{ },
|
|
28991
|
+
body,
|
|
28992
|
+
['PureCloud OAuth'],
|
|
28993
|
+
['application/json'],
|
|
28994
|
+
['application/json']
|
|
28995
|
+
);
|
|
28996
|
+
}
|
|
28997
|
+
|
|
28704
28998
|
/**
|
|
28705
28999
|
* Set a list of botConnector bots plus versions for this integration
|
|
28706
29000
|
*
|
|
@@ -28852,7 +29146,7 @@ class JourneyApi {
|
|
|
28852
29146
|
/**
|
|
28853
29147
|
* Journey service.
|
|
28854
29148
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
28855
|
-
* @version
|
|
29149
|
+
* @version 188.0.0
|
|
28856
29150
|
*/
|
|
28857
29151
|
|
|
28858
29152
|
/**
|
|
@@ -29619,39 +29913,6 @@ class JourneyApi {
|
|
|
29619
29913
|
);
|
|
29620
29914
|
}
|
|
29621
29915
|
|
|
29622
|
-
/**
|
|
29623
|
-
* Retrieve segment assignments by session ID.
|
|
29624
|
-
*
|
|
29625
|
-
* @param {String} sessionId ID of the session to query for segment assignments.
|
|
29626
|
-
* @param {Object} opts Optional parameters
|
|
29627
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
29628
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
29629
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
29630
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
29631
|
-
* getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
29632
|
-
*/
|
|
29633
|
-
getJourneySessionSegments(sessionId, opts) {
|
|
29634
|
-
opts = opts || {};
|
|
29635
|
-
|
|
29636
|
-
// verify the required parameter 'sessionId' is set
|
|
29637
|
-
if (sessionId === undefined || sessionId === null) {
|
|
29638
|
-
throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
|
|
29639
|
-
}
|
|
29640
|
-
|
|
29641
|
-
return this.apiClient.callApi(
|
|
29642
|
-
'/api/v2/journey/sessions/{sessionId}/segments',
|
|
29643
|
-
'GET',
|
|
29644
|
-
{ 'sessionId': sessionId },
|
|
29645
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
29646
|
-
{ },
|
|
29647
|
-
{ },
|
|
29648
|
-
null,
|
|
29649
|
-
['PureCloud OAuth'],
|
|
29650
|
-
['application/json'],
|
|
29651
|
-
['application/json']
|
|
29652
|
-
);
|
|
29653
|
-
}
|
|
29654
|
-
|
|
29655
29916
|
/**
|
|
29656
29917
|
* Update single action map.
|
|
29657
29918
|
*
|
|
@@ -30083,7 +30344,7 @@ class KnowledgeApi {
|
|
|
30083
30344
|
/**
|
|
30084
30345
|
* Knowledge service.
|
|
30085
30346
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
30086
|
-
* @version
|
|
30347
|
+
* @version 188.0.0
|
|
30087
30348
|
*/
|
|
30088
30349
|
|
|
30089
30350
|
/**
|
|
@@ -31425,6 +31686,103 @@ class KnowledgeApi {
|
|
|
31425
31686
|
);
|
|
31426
31687
|
}
|
|
31427
31688
|
|
|
31689
|
+
/**
|
|
31690
|
+
* Get operations
|
|
31691
|
+
*
|
|
31692
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
31693
|
+
* @param {Object} opts Optional parameters
|
|
31694
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
31695
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
31696
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
31697
|
+
* @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
|
|
31698
|
+
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
31699
|
+
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
31700
|
+
* @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
31701
|
+
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31702
|
+
*/
|
|
31703
|
+
getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
|
|
31704
|
+
opts = opts || {};
|
|
31705
|
+
|
|
31706
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
31707
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
31708
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';
|
|
31709
|
+
}
|
|
31710
|
+
|
|
31711
|
+
return this.apiClient.callApi(
|
|
31712
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations',
|
|
31713
|
+
'GET',
|
|
31714
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
31715
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'] },
|
|
31716
|
+
{ },
|
|
31717
|
+
{ },
|
|
31718
|
+
null,
|
|
31719
|
+
['PureCloud OAuth'],
|
|
31720
|
+
['application/json'],
|
|
31721
|
+
['application/json']
|
|
31722
|
+
);
|
|
31723
|
+
}
|
|
31724
|
+
|
|
31725
|
+
/**
|
|
31726
|
+
* Get ids of operation creator users and oauth clients
|
|
31727
|
+
*
|
|
31728
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
31729
|
+
* getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31730
|
+
*/
|
|
31731
|
+
getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId) {
|
|
31732
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
31733
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
31734
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';
|
|
31735
|
+
}
|
|
31736
|
+
|
|
31737
|
+
return this.apiClient.callApi(
|
|
31738
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query',
|
|
31739
|
+
'GET',
|
|
31740
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
31741
|
+
{ },
|
|
31742
|
+
{ },
|
|
31743
|
+
{ },
|
|
31744
|
+
null,
|
|
31745
|
+
['PureCloud OAuth'],
|
|
31746
|
+
['application/json'],
|
|
31747
|
+
['application/json']
|
|
31748
|
+
);
|
|
31749
|
+
}
|
|
31750
|
+
|
|
31751
|
+
/**
|
|
31752
|
+
* Get parse job report
|
|
31753
|
+
*
|
|
31754
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
31755
|
+
* @param {String} parseJobId Parse job ID
|
|
31756
|
+
* @param {Object} opts Optional parameters
|
|
31757
|
+
* @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
|
|
31758
|
+
* getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31759
|
+
*/
|
|
31760
|
+
getKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, opts) {
|
|
31761
|
+
opts = opts || {};
|
|
31762
|
+
|
|
31763
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
31764
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
31765
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';
|
|
31766
|
+
}
|
|
31767
|
+
// verify the required parameter 'parseJobId' is set
|
|
31768
|
+
if (parseJobId === undefined || parseJobId === null) {
|
|
31769
|
+
throw 'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';
|
|
31770
|
+
}
|
|
31771
|
+
|
|
31772
|
+
return this.apiClient.callApi(
|
|
31773
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}',
|
|
31774
|
+
'GET',
|
|
31775
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'parseJobId': parseJobId },
|
|
31776
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
31777
|
+
{ },
|
|
31778
|
+
{ },
|
|
31779
|
+
null,
|
|
31780
|
+
['PureCloud OAuth'],
|
|
31781
|
+
['application/json'],
|
|
31782
|
+
['application/json']
|
|
31783
|
+
);
|
|
31784
|
+
}
|
|
31785
|
+
|
|
31428
31786
|
/**
|
|
31429
31787
|
* Get knowledge base unanswered group for a particular groupId
|
|
31430
31788
|
*
|
|
@@ -31533,6 +31891,37 @@ class KnowledgeApi {
|
|
|
31533
31891
|
);
|
|
31534
31892
|
}
|
|
31535
31893
|
|
|
31894
|
+
/**
|
|
31895
|
+
* Get content upload from URL job status
|
|
31896
|
+
*
|
|
31897
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
31898
|
+
* @param {String} jobId Upload job ID
|
|
31899
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31900
|
+
*/
|
|
31901
|
+
getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
|
|
31902
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
31903
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
31904
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
31905
|
+
}
|
|
31906
|
+
// verify the required parameter 'jobId' is set
|
|
31907
|
+
if (jobId === undefined || jobId === null) {
|
|
31908
|
+
throw 'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
31909
|
+
}
|
|
31910
|
+
|
|
31911
|
+
return this.apiClient.callApi(
|
|
31912
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}',
|
|
31913
|
+
'GET',
|
|
31914
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'jobId': jobId },
|
|
31915
|
+
{ },
|
|
31916
|
+
{ },
|
|
31917
|
+
{ },
|
|
31918
|
+
null,
|
|
31919
|
+
['PureCloud OAuth'],
|
|
31920
|
+
['application/json'],
|
|
31921
|
+
['application/json']
|
|
31922
|
+
);
|
|
31923
|
+
}
|
|
31924
|
+
|
|
31536
31925
|
/**
|
|
31537
31926
|
* Get knowledge bases
|
|
31538
31927
|
*
|
|
@@ -32003,6 +32392,42 @@ class KnowledgeApi {
|
|
|
32003
32392
|
);
|
|
32004
32393
|
}
|
|
32005
32394
|
|
|
32395
|
+
/**
|
|
32396
|
+
* Send update to the parse operation
|
|
32397
|
+
*
|
|
32398
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
32399
|
+
* @param {String} parseJobId Parse job ID
|
|
32400
|
+
* @param {Object} body
|
|
32401
|
+
* patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
32402
|
+
*/
|
|
32403
|
+
patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, body) {
|
|
32404
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
32405
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
32406
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';
|
|
32407
|
+
}
|
|
32408
|
+
// verify the required parameter 'parseJobId' is set
|
|
32409
|
+
if (parseJobId === undefined || parseJobId === null) {
|
|
32410
|
+
throw 'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';
|
|
32411
|
+
}
|
|
32412
|
+
// verify the required parameter 'body' is set
|
|
32413
|
+
if (body === undefined || body === null) {
|
|
32414
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';
|
|
32415
|
+
}
|
|
32416
|
+
|
|
32417
|
+
return this.apiClient.callApi(
|
|
32418
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}',
|
|
32419
|
+
'PATCH',
|
|
32420
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'parseJobId': parseJobId },
|
|
32421
|
+
{ },
|
|
32422
|
+
{ },
|
|
32423
|
+
{ },
|
|
32424
|
+
body,
|
|
32425
|
+
['PureCloud OAuth'],
|
|
32426
|
+
['application/json'],
|
|
32427
|
+
['application/json']
|
|
32428
|
+
);
|
|
32429
|
+
}
|
|
32430
|
+
|
|
32006
32431
|
/**
|
|
32007
32432
|
* Update a Knowledge base unanswered phrase group
|
|
32008
32433
|
*
|
|
@@ -32843,6 +33268,73 @@ class KnowledgeApi {
|
|
|
32843
33268
|
);
|
|
32844
33269
|
}
|
|
32845
33270
|
|
|
33271
|
+
/**
|
|
33272
|
+
* Import the parsed articles
|
|
33273
|
+
*
|
|
33274
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33275
|
+
* @param {String} parseJobId Parse job ID
|
|
33276
|
+
* @param {Object} body
|
|
33277
|
+
* postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33278
|
+
*/
|
|
33279
|
+
postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId, parseJobId, body) {
|
|
33280
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33281
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33282
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';
|
|
33283
|
+
}
|
|
33284
|
+
// verify the required parameter 'parseJobId' is set
|
|
33285
|
+
if (parseJobId === undefined || parseJobId === null) {
|
|
33286
|
+
throw 'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';
|
|
33287
|
+
}
|
|
33288
|
+
// verify the required parameter 'body' is set
|
|
33289
|
+
if (body === undefined || body === null) {
|
|
33290
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';
|
|
33291
|
+
}
|
|
33292
|
+
|
|
33293
|
+
return this.apiClient.callApi(
|
|
33294
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import',
|
|
33295
|
+
'POST',
|
|
33296
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'parseJobId': parseJobId },
|
|
33297
|
+
{ },
|
|
33298
|
+
{ },
|
|
33299
|
+
{ },
|
|
33300
|
+
body,
|
|
33301
|
+
['PureCloud OAuth'],
|
|
33302
|
+
['application/json'],
|
|
33303
|
+
['application/json']
|
|
33304
|
+
);
|
|
33305
|
+
}
|
|
33306
|
+
|
|
33307
|
+
/**
|
|
33308
|
+
* Create parse job
|
|
33309
|
+
*
|
|
33310
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33311
|
+
* @param {Object} body
|
|
33312
|
+
* postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33313
|
+
*/
|
|
33314
|
+
postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId, body) {
|
|
33315
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33316
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33317
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';
|
|
33318
|
+
}
|
|
33319
|
+
// verify the required parameter 'body' is set
|
|
33320
|
+
if (body === undefined || body === null) {
|
|
33321
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';
|
|
33322
|
+
}
|
|
33323
|
+
|
|
33324
|
+
return this.apiClient.callApi(
|
|
33325
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs',
|
|
33326
|
+
'POST',
|
|
33327
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
33328
|
+
{ },
|
|
33329
|
+
{ },
|
|
33330
|
+
{ },
|
|
33331
|
+
body,
|
|
33332
|
+
['PureCloud OAuth'],
|
|
33333
|
+
['application/json'],
|
|
33334
|
+
['application/json']
|
|
33335
|
+
);
|
|
33336
|
+
}
|
|
33337
|
+
|
|
32846
33338
|
/**
|
|
32847
33339
|
* Search Documents
|
|
32848
33340
|
*
|
|
@@ -32873,6 +33365,37 @@ class KnowledgeApi {
|
|
|
32873
33365
|
);
|
|
32874
33366
|
}
|
|
32875
33367
|
|
|
33368
|
+
/**
|
|
33369
|
+
* Create content upload from URL job
|
|
33370
|
+
*
|
|
33371
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
33372
|
+
* @param {Object} body uploadRequest
|
|
33373
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33374
|
+
*/
|
|
33375
|
+
postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
|
|
33376
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
33377
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
33378
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
33379
|
+
}
|
|
33380
|
+
// verify the required parameter 'body' is set
|
|
33381
|
+
if (body === undefined || body === null) {
|
|
33382
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
33383
|
+
}
|
|
33384
|
+
|
|
33385
|
+
return this.apiClient.callApi(
|
|
33386
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs',
|
|
33387
|
+
'POST',
|
|
33388
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
33389
|
+
{ },
|
|
33390
|
+
{ },
|
|
33391
|
+
{ },
|
|
33392
|
+
body,
|
|
33393
|
+
['PureCloud OAuth'],
|
|
33394
|
+
['application/json'],
|
|
33395
|
+
['application/json']
|
|
33396
|
+
);
|
|
33397
|
+
}
|
|
33398
|
+
|
|
32876
33399
|
/**
|
|
32877
33400
|
* Create new knowledge base
|
|
32878
33401
|
*
|
|
@@ -32904,7 +33427,7 @@ class LanguageUnderstandingApi {
|
|
|
32904
33427
|
/**
|
|
32905
33428
|
* LanguageUnderstanding service.
|
|
32906
33429
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
32907
|
-
* @version
|
|
33430
|
+
* @version 188.0.0
|
|
32908
33431
|
*/
|
|
32909
33432
|
|
|
32910
33433
|
/**
|
|
@@ -33917,7 +34440,7 @@ class LanguagesApi {
|
|
|
33917
34440
|
/**
|
|
33918
34441
|
* Languages service.
|
|
33919
34442
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
33920
|
-
* @version
|
|
34443
|
+
* @version 188.0.0
|
|
33921
34444
|
*/
|
|
33922
34445
|
|
|
33923
34446
|
/**
|
|
@@ -34139,7 +34662,7 @@ class LearningApi {
|
|
|
34139
34662
|
/**
|
|
34140
34663
|
* Learning service.
|
|
34141
34664
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
34142
|
-
* @version
|
|
34665
|
+
* @version 188.0.0
|
|
34143
34666
|
*/
|
|
34144
34667
|
|
|
34145
34668
|
/**
|
|
@@ -34995,7 +35518,7 @@ class LicenseApi {
|
|
|
34995
35518
|
/**
|
|
34996
35519
|
* License service.
|
|
34997
35520
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
34998
|
-
* @version
|
|
35521
|
+
* @version 188.0.0
|
|
34999
35522
|
*/
|
|
35000
35523
|
|
|
35001
35524
|
/**
|
|
@@ -35233,7 +35756,7 @@ class LocationsApi {
|
|
|
35233
35756
|
/**
|
|
35234
35757
|
* Locations service.
|
|
35235
35758
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
35236
|
-
* @version
|
|
35759
|
+
* @version 188.0.0
|
|
35237
35760
|
*/
|
|
35238
35761
|
|
|
35239
35762
|
/**
|
|
@@ -35469,7 +35992,7 @@ class LogCaptureApi {
|
|
|
35469
35992
|
/**
|
|
35470
35993
|
* LogCapture service.
|
|
35471
35994
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
35472
|
-
* @version
|
|
35995
|
+
* @version 188.0.0
|
|
35473
35996
|
*/
|
|
35474
35997
|
|
|
35475
35998
|
/**
|
|
@@ -35669,7 +36192,7 @@ class MessagingApi {
|
|
|
35669
36192
|
/**
|
|
35670
36193
|
* Messaging service.
|
|
35671
36194
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
35672
|
-
* @version
|
|
36195
|
+
* @version 188.0.0
|
|
35673
36196
|
*/
|
|
35674
36197
|
|
|
35675
36198
|
/**
|
|
@@ -36028,7 +36551,7 @@ class MobileDevicesApi {
|
|
|
36028
36551
|
/**
|
|
36029
36552
|
* MobileDevices service.
|
|
36030
36553
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36031
|
-
* @version
|
|
36554
|
+
* @version 188.0.0
|
|
36032
36555
|
*/
|
|
36033
36556
|
|
|
36034
36557
|
/**
|
|
@@ -36179,7 +36702,7 @@ class NotificationsApi {
|
|
|
36179
36702
|
/**
|
|
36180
36703
|
* Notifications service.
|
|
36181
36704
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
36182
|
-
* @version
|
|
36705
|
+
* @version 188.0.0
|
|
36183
36706
|
*/
|
|
36184
36707
|
|
|
36185
36708
|
/**
|
|
@@ -36412,7 +36935,7 @@ class OAuthApi {
|
|
|
36412
36935
|
/**
|
|
36413
36936
|
* OAuth service.
|
|
36414
36937
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
36415
|
-
* @version
|
|
36938
|
+
* @version 188.0.0
|
|
36416
36939
|
*/
|
|
36417
36940
|
|
|
36418
36941
|
/**
|
|
@@ -36778,7 +37301,7 @@ class ObjectsApi {
|
|
|
36778
37301
|
/**
|
|
36779
37302
|
* Objects service.
|
|
36780
37303
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
36781
|
-
* @version
|
|
37304
|
+
* @version 188.0.0
|
|
36782
37305
|
*/
|
|
36783
37306
|
|
|
36784
37307
|
/**
|
|
@@ -36862,6 +37385,7 @@ class ObjectsApi {
|
|
|
36862
37385
|
* @param {String} opts.nextPage next page token
|
|
36863
37386
|
* @param {String} opts.previousPage Previous page token
|
|
36864
37387
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
37388
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
36865
37389
|
* @param {String} opts.name Search term to filter by division name
|
|
36866
37390
|
*/
|
|
36867
37391
|
getAuthorizationDivisions(opts) {
|
|
@@ -36872,7 +37396,7 @@ class ObjectsApi {
|
|
|
36872
37396
|
'/api/v2/authorization/divisions',
|
|
36873
37397
|
'GET',
|
|
36874
37398
|
{ },
|
|
36875
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
|
|
37399
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
36876
37400
|
{ },
|
|
36877
37401
|
{ },
|
|
36878
37402
|
null,
|
|
@@ -37047,7 +37571,7 @@ class OperationalEventsApi {
|
|
|
37047
37571
|
/**
|
|
37048
37572
|
* OperationalEvents service.
|
|
37049
37573
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
37050
|
-
* @version
|
|
37574
|
+
* @version 188.0.0
|
|
37051
37575
|
*/
|
|
37052
37576
|
|
|
37053
37577
|
/**
|
|
@@ -37113,7 +37637,7 @@ class OrganizationApi {
|
|
|
37113
37637
|
/**
|
|
37114
37638
|
* Organization service.
|
|
37115
37639
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37116
|
-
* @version
|
|
37640
|
+
* @version 188.0.0
|
|
37117
37641
|
*/
|
|
37118
37642
|
|
|
37119
37643
|
/**
|
|
@@ -37568,7 +38092,7 @@ class OrganizationAuthorizationApi {
|
|
|
37568
38092
|
/**
|
|
37569
38093
|
* OrganizationAuthorization service.
|
|
37570
38094
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
37571
|
-
* @version
|
|
38095
|
+
* @version 188.0.0
|
|
37572
38096
|
*/
|
|
37573
38097
|
|
|
37574
38098
|
/**
|
|
@@ -38915,7 +39439,7 @@ class OutboundApi {
|
|
|
38915
39439
|
/**
|
|
38916
39440
|
* Outbound service.
|
|
38917
39441
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
38918
|
-
* @version
|
|
39442
|
+
* @version 188.0.0
|
|
38919
39443
|
*/
|
|
38920
39444
|
|
|
38921
39445
|
/**
|
|
@@ -39402,6 +39926,56 @@ class OutboundApi {
|
|
|
39402
39926
|
);
|
|
39403
39927
|
}
|
|
39404
39928
|
|
|
39929
|
+
/**
|
|
39930
|
+
* Delete File Specification Template
|
|
39931
|
+
*
|
|
39932
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
39933
|
+
*/
|
|
39934
|
+
deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
|
|
39935
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
39936
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
39937
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';
|
|
39938
|
+
}
|
|
39939
|
+
|
|
39940
|
+
return this.apiClient.callApi(
|
|
39941
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
39942
|
+
'DELETE',
|
|
39943
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
39944
|
+
{ },
|
|
39945
|
+
{ },
|
|
39946
|
+
{ },
|
|
39947
|
+
null,
|
|
39948
|
+
['PureCloud OAuth'],
|
|
39949
|
+
['application/json'],
|
|
39950
|
+
['application/json']
|
|
39951
|
+
);
|
|
39952
|
+
}
|
|
39953
|
+
|
|
39954
|
+
/**
|
|
39955
|
+
* Delete multiple file specification templates.
|
|
39956
|
+
*
|
|
39957
|
+
* @param {Array.<String>} id File Specification template id(s) to delete
|
|
39958
|
+
*/
|
|
39959
|
+
deleteOutboundFilespecificationtemplatesBulk(id) {
|
|
39960
|
+
// verify the required parameter 'id' is set
|
|
39961
|
+
if (id === undefined || id === null) {
|
|
39962
|
+
throw 'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';
|
|
39963
|
+
}
|
|
39964
|
+
|
|
39965
|
+
return this.apiClient.callApi(
|
|
39966
|
+
'/api/v2/outbound/filespecificationtemplates/bulk',
|
|
39967
|
+
'DELETE',
|
|
39968
|
+
{ },
|
|
39969
|
+
{ 'id': this.apiClient.buildCollectionParam(id, 'multi') },
|
|
39970
|
+
{ },
|
|
39971
|
+
{ },
|
|
39972
|
+
null,
|
|
39973
|
+
['PureCloud OAuth'],
|
|
39974
|
+
['application/json'],
|
|
39975
|
+
['application/json']
|
|
39976
|
+
);
|
|
39977
|
+
}
|
|
39978
|
+
|
|
39405
39979
|
/**
|
|
39406
39980
|
* Delete Import Template
|
|
39407
39981
|
*
|
|
@@ -40809,12 +41383,71 @@ class OutboundApi {
|
|
|
40809
41383
|
);
|
|
40810
41384
|
}
|
|
40811
41385
|
|
|
41386
|
+
/**
|
|
41387
|
+
* Get File Specification Template
|
|
41388
|
+
*
|
|
41389
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
41390
|
+
*/
|
|
41391
|
+
getOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
|
|
41392
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
41393
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
41394
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';
|
|
41395
|
+
}
|
|
41396
|
+
|
|
41397
|
+
return this.apiClient.callApi(
|
|
41398
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
41399
|
+
'GET',
|
|
41400
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
41401
|
+
{ },
|
|
41402
|
+
{ },
|
|
41403
|
+
{ },
|
|
41404
|
+
null,
|
|
41405
|
+
['PureCloud OAuth'],
|
|
41406
|
+
['application/json'],
|
|
41407
|
+
['application/json']
|
|
41408
|
+
);
|
|
41409
|
+
}
|
|
41410
|
+
|
|
41411
|
+
/**
|
|
41412
|
+
* Query File Specification Templates
|
|
41413
|
+
*
|
|
41414
|
+
* @param {Object} opts Optional parameters
|
|
41415
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
41416
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41417
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
41418
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
41419
|
+
* @param {String} opts.name Name
|
|
41420
|
+
* @param {String} opts.sortBy Sort by
|
|
41421
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
41422
|
+
*/
|
|
41423
|
+
getOutboundFilespecificationtemplates(opts) {
|
|
41424
|
+
opts = opts || {};
|
|
41425
|
+
|
|
41426
|
+
|
|
41427
|
+
return this.apiClient.callApi(
|
|
41428
|
+
'/api/v2/outbound/filespecificationtemplates',
|
|
41429
|
+
'GET',
|
|
41430
|
+
{ },
|
|
41431
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
41432
|
+
{ },
|
|
41433
|
+
{ },
|
|
41434
|
+
null,
|
|
41435
|
+
['PureCloud OAuth'],
|
|
41436
|
+
['application/json'],
|
|
41437
|
+
['application/json']
|
|
41438
|
+
);
|
|
41439
|
+
}
|
|
41440
|
+
|
|
40812
41441
|
/**
|
|
40813
41442
|
* Get Import Template
|
|
40814
41443
|
*
|
|
40815
41444
|
* @param {String} importTemplateId Import Template ID
|
|
41445
|
+
* @param {Object} opts Optional parameters
|
|
41446
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
40816
41447
|
*/
|
|
40817
|
-
getOutboundImporttemplate(importTemplateId) {
|
|
41448
|
+
getOutboundImporttemplate(importTemplateId, opts) {
|
|
41449
|
+
opts = opts || {};
|
|
41450
|
+
|
|
40818
41451
|
// verify the required parameter 'importTemplateId' is set
|
|
40819
41452
|
if (importTemplateId === undefined || importTemplateId === null) {
|
|
40820
41453
|
throw 'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';
|
|
@@ -40824,7 +41457,7 @@ class OutboundApi {
|
|
|
40824
41457
|
'/api/v2/outbound/importtemplates/{importTemplateId}',
|
|
40825
41458
|
'GET',
|
|
40826
41459
|
{ 'importTemplateId': importTemplateId },
|
|
40827
|
-
{
|
|
41460
|
+
{ 'includeImportStatus': opts['includeImportStatus'] },
|
|
40828
41461
|
{ },
|
|
40829
41462
|
{ },
|
|
40830
41463
|
null,
|
|
@@ -40867,6 +41500,7 @@ class OutboundApi {
|
|
|
40867
41500
|
* Query Import Templates
|
|
40868
41501
|
*
|
|
40869
41502
|
* @param {Object} opts Optional parameters
|
|
41503
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
40870
41504
|
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
40871
41505
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
40872
41506
|
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
@@ -40884,7 +41518,7 @@ class OutboundApi {
|
|
|
40884
41518
|
'/api/v2/outbound/importtemplates',
|
|
40885
41519
|
'GET',
|
|
40886
41520
|
{ },
|
|
40887
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'contactListTemplateId': opts['contactListTemplateId'] },
|
|
41521
|
+
{ 'includeImportStatus': opts['includeImportStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'contactListTemplateId': opts['contactListTemplateId'] },
|
|
40888
41522
|
{ },
|
|
40889
41523
|
{ },
|
|
40890
41524
|
null,
|
|
@@ -41882,6 +42516,31 @@ class OutboundApi {
|
|
|
41882
42516
|
);
|
|
41883
42517
|
}
|
|
41884
42518
|
|
|
42519
|
+
/**
|
|
42520
|
+
* Retrieve multiple contact list filters
|
|
42521
|
+
*
|
|
42522
|
+
* @param {Object} body The contact list filters to retrieve
|
|
42523
|
+
*/
|
|
42524
|
+
postOutboundContactlistfiltersBulkRetrieve(body) {
|
|
42525
|
+
// verify the required parameter 'body' is set
|
|
42526
|
+
if (body === undefined || body === null) {
|
|
42527
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';
|
|
42528
|
+
}
|
|
42529
|
+
|
|
42530
|
+
return this.apiClient.callApi(
|
|
42531
|
+
'/api/v2/outbound/contactlistfilters/bulk/retrieve',
|
|
42532
|
+
'POST',
|
|
42533
|
+
{ },
|
|
42534
|
+
{ },
|
|
42535
|
+
{ },
|
|
42536
|
+
{ },
|
|
42537
|
+
body,
|
|
42538
|
+
['PureCloud OAuth'],
|
|
42539
|
+
['application/json'],
|
|
42540
|
+
['application/json']
|
|
42541
|
+
);
|
|
42542
|
+
}
|
|
42543
|
+
|
|
41885
42544
|
/**
|
|
41886
42545
|
* Get a preview of the output of a contact list filter
|
|
41887
42546
|
*
|
|
@@ -41982,6 +42641,31 @@ class OutboundApi {
|
|
|
41982
42641
|
);
|
|
41983
42642
|
}
|
|
41984
42643
|
|
|
42644
|
+
/**
|
|
42645
|
+
* Get multiple contact list templates
|
|
42646
|
+
*
|
|
42647
|
+
* @param {Object} body contact list templates to get
|
|
42648
|
+
*/
|
|
42649
|
+
postOutboundContactlisttemplatesBulkRetrieve(body) {
|
|
42650
|
+
// verify the required parameter 'body' is set
|
|
42651
|
+
if (body === undefined || body === null) {
|
|
42652
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';
|
|
42653
|
+
}
|
|
42654
|
+
|
|
42655
|
+
return this.apiClient.callApi(
|
|
42656
|
+
'/api/v2/outbound/contactlisttemplates/bulk/retrieve',
|
|
42657
|
+
'POST',
|
|
42658
|
+
{ },
|
|
42659
|
+
{ },
|
|
42660
|
+
{ },
|
|
42661
|
+
{ },
|
|
42662
|
+
body,
|
|
42663
|
+
['PureCloud OAuth'],
|
|
42664
|
+
['application/json'],
|
|
42665
|
+
['application/json']
|
|
42666
|
+
);
|
|
42667
|
+
}
|
|
42668
|
+
|
|
41985
42669
|
/**
|
|
41986
42670
|
* Add phone numbers to a Dialer DNC list.
|
|
41987
42671
|
*
|
|
@@ -42146,6 +42830,31 @@ class OutboundApi {
|
|
|
42146
42830
|
);
|
|
42147
42831
|
}
|
|
42148
42832
|
|
|
42833
|
+
/**
|
|
42834
|
+
* Create File Specification Template
|
|
42835
|
+
*
|
|
42836
|
+
* @param {Object} body FileSpecificationTemplate
|
|
42837
|
+
*/
|
|
42838
|
+
postOutboundFilespecificationtemplates(body) {
|
|
42839
|
+
// verify the required parameter 'body' is set
|
|
42840
|
+
if (body === undefined || body === null) {
|
|
42841
|
+
throw 'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';
|
|
42842
|
+
}
|
|
42843
|
+
|
|
42844
|
+
return this.apiClient.callApi(
|
|
42845
|
+
'/api/v2/outbound/filespecificationtemplates',
|
|
42846
|
+
'POST',
|
|
42847
|
+
{ },
|
|
42848
|
+
{ },
|
|
42849
|
+
{ },
|
|
42850
|
+
{ },
|
|
42851
|
+
body,
|
|
42852
|
+
['PureCloud OAuth'],
|
|
42853
|
+
['application/json'],
|
|
42854
|
+
['application/json']
|
|
42855
|
+
);
|
|
42856
|
+
}
|
|
42857
|
+
|
|
42149
42858
|
/**
|
|
42150
42859
|
* Create Import Template
|
|
42151
42860
|
*
|
|
@@ -42666,6 +43375,36 @@ class OutboundApi {
|
|
|
42666
43375
|
);
|
|
42667
43376
|
}
|
|
42668
43377
|
|
|
43378
|
+
/**
|
|
43379
|
+
* Update File Specification Template
|
|
43380
|
+
*
|
|
43381
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
43382
|
+
* @param {Object} body fileSpecificationTemplate
|
|
43383
|
+
*/
|
|
43384
|
+
putOutboundFilespecificationtemplate(fileSpecificationTemplateId, body) {
|
|
43385
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
43386
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
43387
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';
|
|
43388
|
+
}
|
|
43389
|
+
// verify the required parameter 'body' is set
|
|
43390
|
+
if (body === undefined || body === null) {
|
|
43391
|
+
throw 'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';
|
|
43392
|
+
}
|
|
43393
|
+
|
|
43394
|
+
return this.apiClient.callApi(
|
|
43395
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
43396
|
+
'PUT',
|
|
43397
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
43398
|
+
{ },
|
|
43399
|
+
{ },
|
|
43400
|
+
{ },
|
|
43401
|
+
body,
|
|
43402
|
+
['PureCloud OAuth'],
|
|
43403
|
+
['application/json'],
|
|
43404
|
+
['application/json']
|
|
43405
|
+
);
|
|
43406
|
+
}
|
|
43407
|
+
|
|
42669
43408
|
/**
|
|
42670
43409
|
* Update Import Template
|
|
42671
43410
|
*
|
|
@@ -42937,7 +43676,7 @@ class PresenceApi {
|
|
|
42937
43676
|
/**
|
|
42938
43677
|
* Presence service.
|
|
42939
43678
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42940
|
-
* @version
|
|
43679
|
+
* @version 188.0.0
|
|
42941
43680
|
*/
|
|
42942
43681
|
|
|
42943
43682
|
/**
|
|
@@ -43003,9 +43742,10 @@ class PresenceApi {
|
|
|
43003
43742
|
}
|
|
43004
43743
|
|
|
43005
43744
|
/**
|
|
43006
|
-
* Delete a Presence Definition
|
|
43745
|
+
* Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
|
|
43007
43746
|
*
|
|
43008
43747
|
* @param {String} presenceId Organization Presence ID
|
|
43748
|
+
* @deprecated
|
|
43009
43749
|
*/
|
|
43010
43750
|
deletePresencedefinition(presenceId) {
|
|
43011
43751
|
// verify the required parameter 'presenceId' is set
|
|
@@ -43177,11 +43917,12 @@ class PresenceApi {
|
|
|
43177
43917
|
}
|
|
43178
43918
|
|
|
43179
43919
|
/**
|
|
43180
|
-
* Get a Presence Definition
|
|
43920
|
+
* Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
|
|
43181
43921
|
*
|
|
43182
43922
|
* @param {String} presenceId Organization Presence ID
|
|
43183
43923
|
* @param {Object} opts Optional parameters
|
|
43184
43924
|
* @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
43925
|
+
* @deprecated
|
|
43185
43926
|
*/
|
|
43186
43927
|
getPresencedefinition(presenceId, opts) {
|
|
43187
43928
|
opts = opts || {};
|
|
@@ -43206,13 +43947,14 @@ class PresenceApi {
|
|
|
43206
43947
|
}
|
|
43207
43948
|
|
|
43208
43949
|
/**
|
|
43209
|
-
* Get an Organization's list of Presence Definitions
|
|
43950
|
+
* Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
|
|
43210
43951
|
*
|
|
43211
43952
|
* @param {Object} opts Optional parameters
|
|
43212
43953
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
43213
43954
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
43214
43955
|
* @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
|
|
43215
43956
|
* @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
|
|
43957
|
+
* @deprecated
|
|
43216
43958
|
*/
|
|
43217
43959
|
getPresencedefinitions(opts) {
|
|
43218
43960
|
opts = opts || {};
|
|
@@ -43476,9 +44218,10 @@ class PresenceApi {
|
|
|
43476
44218
|
}
|
|
43477
44219
|
|
|
43478
44220
|
/**
|
|
43479
|
-
* Create a Presence Definition
|
|
44221
|
+
* Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
|
|
43480
44222
|
*
|
|
43481
44223
|
* @param {Object} body The Presence Definition to create
|
|
44224
|
+
* @deprecated
|
|
43482
44225
|
*/
|
|
43483
44226
|
postPresencedefinitions(body) {
|
|
43484
44227
|
// verify the required parameter 'body' is set
|
|
@@ -43616,10 +44359,11 @@ class PresenceApi {
|
|
|
43616
44359
|
}
|
|
43617
44360
|
|
|
43618
44361
|
/**
|
|
43619
|
-
* Update a Presence Definition
|
|
44362
|
+
* Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
|
|
43620
44363
|
*
|
|
43621
44364
|
* @param {String} presenceId Organization Presence ID
|
|
43622
44365
|
* @param {Object} body The OrganizationPresence to update
|
|
44366
|
+
* @deprecated
|
|
43623
44367
|
*/
|
|
43624
44368
|
putPresencedefinition(presenceId, body) {
|
|
43625
44369
|
// verify the required parameter 'presenceId' is set
|
|
@@ -43676,7 +44420,7 @@ class ProcessAutomationApi {
|
|
|
43676
44420
|
/**
|
|
43677
44421
|
* ProcessAutomation service.
|
|
43678
44422
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43679
|
-
* @version
|
|
44423
|
+
* @version 188.0.0
|
|
43680
44424
|
*/
|
|
43681
44425
|
|
|
43682
44426
|
/**
|
|
@@ -43915,7 +44659,7 @@ class QualityApi {
|
|
|
43915
44659
|
/**
|
|
43916
44660
|
* Quality service.
|
|
43917
44661
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43918
|
-
* @version
|
|
44662
|
+
* @version 188.0.0
|
|
43919
44663
|
*/
|
|
43920
44664
|
|
|
43921
44665
|
/**
|
|
@@ -45672,7 +46416,7 @@ class RecordingApi {
|
|
|
45672
46416
|
/**
|
|
45673
46417
|
* Recording service.
|
|
45674
46418
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
45675
|
-
* @version
|
|
46419
|
+
* @version 188.0.0
|
|
45676
46420
|
*/
|
|
45677
46421
|
|
|
45678
46422
|
/**
|
|
@@ -47309,7 +48053,7 @@ class ResponseManagementApi {
|
|
|
47309
48053
|
/**
|
|
47310
48054
|
* ResponseManagement service.
|
|
47311
48055
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
47312
|
-
* @version
|
|
48056
|
+
* @version 188.0.0
|
|
47313
48057
|
*/
|
|
47314
48058
|
|
|
47315
48059
|
/**
|
|
@@ -47794,7 +48538,7 @@ class RoutingApi {
|
|
|
47794
48538
|
/**
|
|
47795
48539
|
* Routing service.
|
|
47796
48540
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47797
|
-
* @version
|
|
48541
|
+
* @version 188.0.0
|
|
47798
48542
|
*/
|
|
47799
48543
|
|
|
47800
48544
|
/**
|
|
@@ -51747,7 +52491,7 @@ class SCIMApi {
|
|
|
51747
52491
|
/**
|
|
51748
52492
|
* SCIM service.
|
|
51749
52493
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
51750
|
-
* @version
|
|
52494
|
+
* @version 188.0.0
|
|
51751
52495
|
*/
|
|
51752
52496
|
|
|
51753
52497
|
/**
|
|
@@ -52620,11 +53364,56 @@ class SCIMApi {
|
|
|
52620
53364
|
|
|
52621
53365
|
}
|
|
52622
53366
|
|
|
53367
|
+
class ScreenRecordingApi {
|
|
53368
|
+
/**
|
|
53369
|
+
* ScreenRecording service.
|
|
53370
|
+
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
53371
|
+
* @version 188.0.0
|
|
53372
|
+
*/
|
|
53373
|
+
|
|
53374
|
+
/**
|
|
53375
|
+
* Constructs a new ScreenRecordingApi.
|
|
53376
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
53377
|
+
* @class
|
|
53378
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
53379
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
53380
|
+
*/
|
|
53381
|
+
constructor(apiClient) {
|
|
53382
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
53383
|
+
}
|
|
53384
|
+
|
|
53385
|
+
|
|
53386
|
+
/**
|
|
53387
|
+
* Sign identifying information for screen recording
|
|
53388
|
+
*
|
|
53389
|
+
* @param {Object} opts Optional parameters
|
|
53390
|
+
* @param {Object} opts.body
|
|
53391
|
+
*/
|
|
53392
|
+
postScreenrecordingToken(opts) {
|
|
53393
|
+
opts = opts || {};
|
|
53394
|
+
|
|
53395
|
+
|
|
53396
|
+
return this.apiClient.callApi(
|
|
53397
|
+
'/api/v2/screenrecording/token',
|
|
53398
|
+
'POST',
|
|
53399
|
+
{ },
|
|
53400
|
+
{ },
|
|
53401
|
+
{ },
|
|
53402
|
+
{ },
|
|
53403
|
+
opts['body'],
|
|
53404
|
+
['PureCloud OAuth'],
|
|
53405
|
+
['application/json'],
|
|
53406
|
+
['application/json']
|
|
53407
|
+
);
|
|
53408
|
+
}
|
|
53409
|
+
|
|
53410
|
+
}
|
|
53411
|
+
|
|
52623
53412
|
class ScriptsApi {
|
|
52624
53413
|
/**
|
|
52625
53414
|
* Scripts service.
|
|
52626
53415
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
52627
|
-
* @version
|
|
53416
|
+
* @version 188.0.0
|
|
52628
53417
|
*/
|
|
52629
53418
|
|
|
52630
53419
|
/**
|
|
@@ -53068,7 +53857,7 @@ class SearchApi {
|
|
|
53068
53857
|
/**
|
|
53069
53858
|
* Search service.
|
|
53070
53859
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
53071
|
-
* @version
|
|
53860
|
+
* @version 188.0.0
|
|
53072
53861
|
*/
|
|
53073
53862
|
|
|
53074
53863
|
/**
|
|
@@ -53757,7 +54546,7 @@ class SettingsApi {
|
|
|
53757
54546
|
/**
|
|
53758
54547
|
* Settings service.
|
|
53759
54548
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
53760
|
-
* @version
|
|
54549
|
+
* @version 188.0.0
|
|
53761
54550
|
*/
|
|
53762
54551
|
|
|
53763
54552
|
/**
|
|
@@ -53822,7 +54611,7 @@ class SpeechTextAnalyticsApi {
|
|
|
53822
54611
|
/**
|
|
53823
54612
|
* SpeechTextAnalytics service.
|
|
53824
54613
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
53825
|
-
* @version
|
|
54614
|
+
* @version 188.0.0
|
|
53826
54615
|
*/
|
|
53827
54616
|
|
|
53828
54617
|
/**
|
|
@@ -54416,6 +55205,7 @@ class SpeechTextAnalyticsApi {
|
|
|
54416
55205
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
54417
55206
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
54418
55207
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
55208
|
+
* @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
|
|
54419
55209
|
* @param {Object} opts.sortBy Sort results by. Defaults to name
|
|
54420
55210
|
* @param {Object} opts.sortOrder Sort order. Defaults to asc
|
|
54421
55211
|
*/
|
|
@@ -54427,7 +55217,7 @@ class SpeechTextAnalyticsApi {
|
|
|
54427
55217
|
'/api/v2/speechandtextanalytics/topics',
|
|
54428
55218
|
'GET',
|
|
54429
55219
|
{ },
|
|
54430
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
55220
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
54431
55221
|
{ },
|
|
54432
55222
|
{ },
|
|
54433
55223
|
null,
|
|
@@ -54935,7 +55725,7 @@ class StationsApi {
|
|
|
54935
55725
|
/**
|
|
54936
55726
|
* Stations service.
|
|
54937
55727
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
54938
|
-
* @version
|
|
55728
|
+
* @version 188.0.0
|
|
54939
55729
|
*/
|
|
54940
55730
|
|
|
54941
55731
|
/**
|
|
@@ -55037,7 +55827,7 @@ class SuggestApi {
|
|
|
55037
55827
|
/**
|
|
55038
55828
|
* Suggest service.
|
|
55039
55829
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
55040
|
-
* @version
|
|
55830
|
+
* @version 188.0.0
|
|
55041
55831
|
*/
|
|
55042
55832
|
|
|
55043
55833
|
/**
|
|
@@ -55176,7 +55966,7 @@ class TaskManagementApi {
|
|
|
55176
55966
|
/**
|
|
55177
55967
|
* TaskManagement service.
|
|
55178
55968
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
55179
|
-
* @version
|
|
55969
|
+
* @version 188.0.0
|
|
55180
55970
|
*/
|
|
55181
55971
|
|
|
55182
55972
|
/**
|
|
@@ -56457,7 +57247,7 @@ class TeamsApi {
|
|
|
56457
57247
|
/**
|
|
56458
57248
|
* Teams service.
|
|
56459
57249
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
56460
|
-
* @version
|
|
57250
|
+
* @version 188.0.0
|
|
56461
57251
|
*/
|
|
56462
57252
|
|
|
56463
57253
|
/**
|
|
@@ -56759,7 +57549,7 @@ class TelephonyApi {
|
|
|
56759
57549
|
/**
|
|
56760
57550
|
* Telephony service.
|
|
56761
57551
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
56762
|
-
* @version
|
|
57552
|
+
* @version 188.0.0
|
|
56763
57553
|
*/
|
|
56764
57554
|
|
|
56765
57555
|
/**
|
|
@@ -56941,7 +57731,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
56941
57731
|
/**
|
|
56942
57732
|
* TelephonyProvidersEdge service.
|
|
56943
57733
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
56944
|
-
* @version
|
|
57734
|
+
* @version 188.0.0
|
|
56945
57735
|
*/
|
|
56946
57736
|
|
|
56947
57737
|
/**
|
|
@@ -58419,32 +59209,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
58419
59209
|
);
|
|
58420
59210
|
}
|
|
58421
59211
|
|
|
58422
|
-
/**
|
|
58423
|
-
* Get outbound route
|
|
58424
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
58425
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
58426
|
-
* @deprecated
|
|
58427
|
-
*/
|
|
58428
|
-
getTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
|
|
58429
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
58430
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
58431
|
-
throw 'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';
|
|
58432
|
-
}
|
|
58433
|
-
|
|
58434
|
-
return this.apiClient.callApi(
|
|
58435
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
58436
|
-
'GET',
|
|
58437
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
58438
|
-
{ },
|
|
58439
|
-
{ },
|
|
58440
|
-
{ },
|
|
58441
|
-
null,
|
|
58442
|
-
['PureCloud OAuth'],
|
|
58443
|
-
['application/json'],
|
|
58444
|
-
['application/json']
|
|
58445
|
-
);
|
|
58446
|
-
}
|
|
58447
|
-
|
|
58448
59212
|
/**
|
|
58449
59213
|
* Get outbound routes
|
|
58450
59214
|
*
|
|
@@ -60316,7 +61080,7 @@ class TextbotsApi {
|
|
|
60316
61080
|
/**
|
|
60317
61081
|
* Textbots service.
|
|
60318
61082
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
60319
|
-
* @version
|
|
61083
|
+
* @version 188.0.0
|
|
60320
61084
|
*/
|
|
60321
61085
|
|
|
60322
61086
|
/**
|
|
@@ -60444,7 +61208,7 @@ class TokensApi {
|
|
|
60444
61208
|
/**
|
|
60445
61209
|
* Tokens service.
|
|
60446
61210
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
60447
|
-
* @version
|
|
61211
|
+
* @version 188.0.0
|
|
60448
61212
|
*/
|
|
60449
61213
|
|
|
60450
61214
|
/**
|
|
@@ -60600,7 +61364,7 @@ class UploadsApi {
|
|
|
60600
61364
|
/**
|
|
60601
61365
|
* Uploads service.
|
|
60602
61366
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
60603
|
-
* @version
|
|
61367
|
+
* @version 188.0.0
|
|
60604
61368
|
*/
|
|
60605
61369
|
|
|
60606
61370
|
/**
|
|
@@ -60615,6 +61379,68 @@ class UploadsApi {
|
|
|
60615
61379
|
}
|
|
60616
61380
|
|
|
60617
61381
|
|
|
61382
|
+
/**
|
|
61383
|
+
* Get content upload from URL job status
|
|
61384
|
+
*
|
|
61385
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
61386
|
+
* @param {String} jobId Upload job ID
|
|
61387
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
61388
|
+
*/
|
|
61389
|
+
getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
|
|
61390
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
61391
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
61392
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
61393
|
+
}
|
|
61394
|
+
// verify the required parameter 'jobId' is set
|
|
61395
|
+
if (jobId === undefined || jobId === null) {
|
|
61396
|
+
throw 'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
|
|
61397
|
+
}
|
|
61398
|
+
|
|
61399
|
+
return this.apiClient.callApi(
|
|
61400
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}',
|
|
61401
|
+
'GET',
|
|
61402
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'jobId': jobId },
|
|
61403
|
+
{ },
|
|
61404
|
+
{ },
|
|
61405
|
+
{ },
|
|
61406
|
+
null,
|
|
61407
|
+
['PureCloud OAuth'],
|
|
61408
|
+
['application/json'],
|
|
61409
|
+
['application/json']
|
|
61410
|
+
);
|
|
61411
|
+
}
|
|
61412
|
+
|
|
61413
|
+
/**
|
|
61414
|
+
* Create upload presigned URL for draft function package file.
|
|
61415
|
+
*
|
|
61416
|
+
* @param {String} actionId actionId
|
|
61417
|
+
* @param {Object} body Input used to request URL upload.
|
|
61418
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
61419
|
+
*/
|
|
61420
|
+
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
61421
|
+
// verify the required parameter 'actionId' is set
|
|
61422
|
+
if (actionId === undefined || actionId === null) {
|
|
61423
|
+
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
|
|
61424
|
+
}
|
|
61425
|
+
// verify the required parameter 'body' is set
|
|
61426
|
+
if (body === undefined || body === null) {
|
|
61427
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
|
|
61428
|
+
}
|
|
61429
|
+
|
|
61430
|
+
return this.apiClient.callApi(
|
|
61431
|
+
'/api/v2/integrations/actions/{actionId}/draft/function/upload',
|
|
61432
|
+
'POST',
|
|
61433
|
+
{ 'actionId': actionId },
|
|
61434
|
+
{ },
|
|
61435
|
+
{ },
|
|
61436
|
+
{ },
|
|
61437
|
+
body,
|
|
61438
|
+
['PureCloud OAuth'],
|
|
61439
|
+
['application/json'],
|
|
61440
|
+
['application/json']
|
|
61441
|
+
);
|
|
61442
|
+
}
|
|
61443
|
+
|
|
60618
61444
|
/**
|
|
60619
61445
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
60620
61446
|
*
|
|
@@ -60640,6 +61466,37 @@ class UploadsApi {
|
|
|
60640
61466
|
);
|
|
60641
61467
|
}
|
|
60642
61468
|
|
|
61469
|
+
/**
|
|
61470
|
+
* Create content upload from URL job
|
|
61471
|
+
*
|
|
61472
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
61473
|
+
* @param {Object} body uploadRequest
|
|
61474
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
61475
|
+
*/
|
|
61476
|
+
postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
|
|
61477
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
61478
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
61479
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
61480
|
+
}
|
|
61481
|
+
// verify the required parameter 'body' is set
|
|
61482
|
+
if (body === undefined || body === null) {
|
|
61483
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
|
|
61484
|
+
}
|
|
61485
|
+
|
|
61486
|
+
return this.apiClient.callApi(
|
|
61487
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs',
|
|
61488
|
+
'POST',
|
|
61489
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
61490
|
+
{ },
|
|
61491
|
+
{ },
|
|
61492
|
+
{ },
|
|
61493
|
+
body,
|
|
61494
|
+
['PureCloud OAuth'],
|
|
61495
|
+
['application/json'],
|
|
61496
|
+
['application/json']
|
|
61497
|
+
);
|
|
61498
|
+
}
|
|
61499
|
+
|
|
60643
61500
|
/**
|
|
60644
61501
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
60645
61502
|
*
|
|
@@ -60776,7 +61633,7 @@ class UsageApi {
|
|
|
60776
61633
|
/**
|
|
60777
61634
|
* Usage service.
|
|
60778
61635
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
60779
|
-
* @version
|
|
61636
|
+
* @version 188.0.0
|
|
60780
61637
|
*/
|
|
60781
61638
|
|
|
60782
61639
|
/**
|
|
@@ -60986,7 +61843,7 @@ class UserRecordingsApi {
|
|
|
60986
61843
|
/**
|
|
60987
61844
|
* UserRecordings service.
|
|
60988
61845
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
60989
|
-
* @version
|
|
61846
|
+
* @version 188.0.0
|
|
60990
61847
|
*/
|
|
60991
61848
|
|
|
60992
61849
|
/**
|
|
@@ -61171,7 +62028,7 @@ class UsersApi {
|
|
|
61171
62028
|
/**
|
|
61172
62029
|
* Users service.
|
|
61173
62030
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
61174
|
-
* @version
|
|
62031
|
+
* @version 188.0.0
|
|
61175
62032
|
*/
|
|
61176
62033
|
|
|
61177
62034
|
/**
|
|
@@ -63822,7 +64679,7 @@ class UtilitiesApi {
|
|
|
63822
64679
|
/**
|
|
63823
64680
|
* Utilities service.
|
|
63824
64681
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
63825
|
-
* @version
|
|
64682
|
+
* @version 188.0.0
|
|
63826
64683
|
*/
|
|
63827
64684
|
|
|
63828
64685
|
/**
|
|
@@ -63933,7 +64790,7 @@ class VoicemailApi {
|
|
|
63933
64790
|
/**
|
|
63934
64791
|
* Voicemail service.
|
|
63935
64792
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
63936
|
-
* @version
|
|
64793
|
+
* @version 188.0.0
|
|
63937
64794
|
*/
|
|
63938
64795
|
|
|
63939
64796
|
/**
|
|
@@ -64600,7 +65457,7 @@ class WebChatApi {
|
|
|
64600
65457
|
/**
|
|
64601
65458
|
* WebChat service.
|
|
64602
65459
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
64603
|
-
* @version
|
|
65460
|
+
* @version 188.0.0
|
|
64604
65461
|
*/
|
|
64605
65462
|
|
|
64606
65463
|
/**
|
|
@@ -65149,7 +66006,7 @@ class WebDeploymentsApi {
|
|
|
65149
66006
|
/**
|
|
65150
66007
|
* WebDeployments service.
|
|
65151
66008
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
65152
|
-
* @version
|
|
66009
|
+
* @version 188.0.0
|
|
65153
66010
|
*/
|
|
65154
66011
|
|
|
65155
66012
|
/**
|
|
@@ -65676,7 +66533,7 @@ class WebMessagingApi {
|
|
|
65676
66533
|
/**
|
|
65677
66534
|
* WebMessaging service.
|
|
65678
66535
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
65679
|
-
* @version
|
|
66536
|
+
* @version 188.0.0
|
|
65680
66537
|
*/
|
|
65681
66538
|
|
|
65682
66539
|
/**
|
|
@@ -65722,7 +66579,7 @@ class WidgetsApi {
|
|
|
65722
66579
|
/**
|
|
65723
66580
|
* Widgets service.
|
|
65724
66581
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
65725
|
-
* @version
|
|
66582
|
+
* @version 188.0.0
|
|
65726
66583
|
*/
|
|
65727
66584
|
|
|
65728
66585
|
/**
|
|
@@ -65868,7 +66725,7 @@ class WorkforceManagementApi {
|
|
|
65868
66725
|
/**
|
|
65869
66726
|
* WorkforceManagement service.
|
|
65870
66727
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
65871
|
-
* @version
|
|
66728
|
+
* @version 188.0.0
|
|
65872
66729
|
*/
|
|
65873
66730
|
|
|
65874
66731
|
/**
|
|
@@ -71263,7 +72120,7 @@ class WorkforceManagementApi {
|
|
|
71263
72120
|
* </pre>
|
|
71264
72121
|
* </p>
|
|
71265
72122
|
* @module purecloud-platform-client-v2/index
|
|
71266
|
-
* @version
|
|
72123
|
+
* @version 188.0.0
|
|
71267
72124
|
*/
|
|
71268
72125
|
class platformClient {
|
|
71269
72126
|
constructor() {
|
|
@@ -71527,6 +72384,11 @@ class platformClient {
|
|
|
71527
72384
|
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
71528
72385
|
*/
|
|
71529
72386
|
this.SCIMApi = SCIMApi;
|
|
72387
|
+
/**
|
|
72388
|
+
* The ScreenRecordingApi service constructor.
|
|
72389
|
+
* @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
|
|
72390
|
+
*/
|
|
72391
|
+
this.ScreenRecordingApi = ScreenRecordingApi;
|
|
71530
72392
|
/**
|
|
71531
72393
|
* The ScriptsApi service constructor.
|
|
71532
72394
|
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|