purecloud-platform-client-v2 209.0.0 → 210.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.js +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +191 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +260 -160
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +892 -702
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +175 -0
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +240 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +9 -9
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +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 +5 -13
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -486,7 +486,7 @@ class Configuration {
|
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* @module purecloud-platform-client-v2/ApiClient
|
|
489
|
-
* @version
|
|
489
|
+
* @version 210.0.0
|
|
490
490
|
*/
|
|
491
491
|
class ApiClient {
|
|
492
492
|
/**
|
|
@@ -1930,7 +1930,7 @@ class AgentAssistantsApi {
|
|
|
1930
1930
|
/**
|
|
1931
1931
|
* AgentAssistants service.
|
|
1932
1932
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1933
|
-
* @version
|
|
1933
|
+
* @version 210.0.0
|
|
1934
1934
|
*/
|
|
1935
1935
|
|
|
1936
1936
|
/**
|
|
@@ -2306,7 +2306,7 @@ class AgentCopilotApi {
|
|
|
2306
2306
|
/**
|
|
2307
2307
|
* AgentCopilot service.
|
|
2308
2308
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2309
|
-
* @version
|
|
2309
|
+
* @version 210.0.0
|
|
2310
2310
|
*/
|
|
2311
2311
|
|
|
2312
2312
|
/**
|
|
@@ -2382,7 +2382,7 @@ class AgentUIApi {
|
|
|
2382
2382
|
/**
|
|
2383
2383
|
* AgentUI service.
|
|
2384
2384
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2385
|
-
* @version
|
|
2385
|
+
* @version 210.0.0
|
|
2386
2386
|
*/
|
|
2387
2387
|
|
|
2388
2388
|
/**
|
|
@@ -2513,7 +2513,7 @@ class AlertingApi {
|
|
|
2513
2513
|
/**
|
|
2514
2514
|
* Alerting service.
|
|
2515
2515
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2516
|
-
* @version
|
|
2516
|
+
* @version 210.0.0
|
|
2517
2517
|
*/
|
|
2518
2518
|
|
|
2519
2519
|
/**
|
|
@@ -3174,7 +3174,7 @@ class AnalyticsApi {
|
|
|
3174
3174
|
/**
|
|
3175
3175
|
* Analytics service.
|
|
3176
3176
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3177
|
-
* @version
|
|
3177
|
+
* @version 210.0.0
|
|
3178
3178
|
*/
|
|
3179
3179
|
|
|
3180
3180
|
/**
|
|
@@ -5787,7 +5787,7 @@ class ArchitectApi {
|
|
|
5787
5787
|
/**
|
|
5788
5788
|
* Architect service.
|
|
5789
5789
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5790
|
-
* @version
|
|
5790
|
+
* @version 210.0.0
|
|
5791
5791
|
*/
|
|
5792
5792
|
|
|
5793
5793
|
/**
|
|
@@ -9909,7 +9909,7 @@ class AuditApi {
|
|
|
9909
9909
|
/**
|
|
9910
9910
|
* Audit service.
|
|
9911
9911
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9912
|
-
* @version
|
|
9912
|
+
* @version 210.0.0
|
|
9913
9913
|
*/
|
|
9914
9914
|
|
|
9915
9915
|
/**
|
|
@@ -10110,7 +10110,7 @@ class AuthorizationApi {
|
|
|
10110
10110
|
/**
|
|
10111
10111
|
* Authorization service.
|
|
10112
10112
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10113
|
-
* @version
|
|
10113
|
+
* @version 210.0.0
|
|
10114
10114
|
*/
|
|
10115
10115
|
|
|
10116
10116
|
/**
|
|
@@ -11393,7 +11393,7 @@ class BillingApi {
|
|
|
11393
11393
|
/**
|
|
11394
11394
|
* Billing service.
|
|
11395
11395
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11396
|
-
* @version
|
|
11396
|
+
* @version 210.0.0
|
|
11397
11397
|
*/
|
|
11398
11398
|
|
|
11399
11399
|
/**
|
|
@@ -11473,7 +11473,7 @@ class CarrierServicesApi {
|
|
|
11473
11473
|
/**
|
|
11474
11474
|
* CarrierServices service.
|
|
11475
11475
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11476
|
-
* @version
|
|
11476
|
+
* @version 210.0.0
|
|
11477
11477
|
*/
|
|
11478
11478
|
|
|
11479
11479
|
/**
|
|
@@ -11543,7 +11543,7 @@ class ChatApi {
|
|
|
11543
11543
|
/**
|
|
11544
11544
|
* Chat service.
|
|
11545
11545
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11546
|
-
* @version
|
|
11546
|
+
* @version 210.0.0
|
|
11547
11547
|
*/
|
|
11548
11548
|
|
|
11549
11549
|
/**
|
|
@@ -12479,7 +12479,7 @@ class CoachingApi {
|
|
|
12479
12479
|
/**
|
|
12480
12480
|
* Coaching service.
|
|
12481
12481
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12482
|
-
* @version
|
|
12482
|
+
* @version 210.0.0
|
|
12483
12483
|
*/
|
|
12484
12484
|
|
|
12485
12485
|
/**
|
|
@@ -13056,7 +13056,7 @@ class ContentManagementApi {
|
|
|
13056
13056
|
/**
|
|
13057
13057
|
* ContentManagement service.
|
|
13058
13058
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13059
|
-
* @version
|
|
13059
|
+
* @version 210.0.0
|
|
13060
13060
|
*/
|
|
13061
13061
|
|
|
13062
13062
|
/**
|
|
@@ -14137,7 +14137,7 @@ class ConversationsApi {
|
|
|
14137
14137
|
/**
|
|
14138
14138
|
* Conversations service.
|
|
14139
14139
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14140
|
-
* @version
|
|
14140
|
+
* @version 210.0.0
|
|
14141
14141
|
*/
|
|
14142
14142
|
|
|
14143
14143
|
/**
|
|
@@ -21278,7 +21278,7 @@ class DataExtensionsApi {
|
|
|
21278
21278
|
/**
|
|
21279
21279
|
* DataExtensions service.
|
|
21280
21280
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21281
|
-
* @version
|
|
21281
|
+
* @version 210.0.0
|
|
21282
21282
|
*/
|
|
21283
21283
|
|
|
21284
21284
|
/**
|
|
@@ -21360,11 +21360,181 @@ class DataExtensionsApi {
|
|
|
21360
21360
|
|
|
21361
21361
|
}
|
|
21362
21362
|
|
|
21363
|
+
class DataPrivacyApi {
|
|
21364
|
+
/**
|
|
21365
|
+
* DataPrivacy service.
|
|
21366
|
+
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21367
|
+
* @version 210.0.0
|
|
21368
|
+
*/
|
|
21369
|
+
|
|
21370
|
+
/**
|
|
21371
|
+
* Constructs a new DataPrivacyApi.
|
|
21372
|
+
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21373
|
+
* @class
|
|
21374
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21375
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21376
|
+
*/
|
|
21377
|
+
constructor(apiClient) {
|
|
21378
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
21379
|
+
}
|
|
21380
|
+
|
|
21381
|
+
|
|
21382
|
+
/**
|
|
21383
|
+
* Delete a masking rule.
|
|
21384
|
+
*
|
|
21385
|
+
* @param {String} ruleId ruleId
|
|
21386
|
+
*/
|
|
21387
|
+
deleteDataprivacyMaskingrule(ruleId) {
|
|
21388
|
+
// verify the required parameter 'ruleId' is set
|
|
21389
|
+
if (ruleId === undefined || ruleId === null) {
|
|
21390
|
+
throw 'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';
|
|
21391
|
+
}
|
|
21392
|
+
|
|
21393
|
+
return this.apiClient.callApi(
|
|
21394
|
+
'/api/v2/dataprivacy/maskingrules/{ruleId}',
|
|
21395
|
+
'DELETE',
|
|
21396
|
+
{ 'ruleId': ruleId },
|
|
21397
|
+
{ },
|
|
21398
|
+
{ },
|
|
21399
|
+
{ },
|
|
21400
|
+
null,
|
|
21401
|
+
['PureCloud OAuth'],
|
|
21402
|
+
['application/json'],
|
|
21403
|
+
['application/json']
|
|
21404
|
+
);
|
|
21405
|
+
}
|
|
21406
|
+
|
|
21407
|
+
/**
|
|
21408
|
+
* Fetch details about a masking rule.
|
|
21409
|
+
*
|
|
21410
|
+
* @param {String} ruleId ruleId
|
|
21411
|
+
*/
|
|
21412
|
+
getDataprivacyMaskingrule(ruleId) {
|
|
21413
|
+
// verify the required parameter 'ruleId' is set
|
|
21414
|
+
if (ruleId === undefined || ruleId === null) {
|
|
21415
|
+
throw 'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';
|
|
21416
|
+
}
|
|
21417
|
+
|
|
21418
|
+
return this.apiClient.callApi(
|
|
21419
|
+
'/api/v2/dataprivacy/maskingrules/{ruleId}',
|
|
21420
|
+
'GET',
|
|
21421
|
+
{ 'ruleId': ruleId },
|
|
21422
|
+
{ },
|
|
21423
|
+
{ },
|
|
21424
|
+
{ },
|
|
21425
|
+
null,
|
|
21426
|
+
['PureCloud OAuth'],
|
|
21427
|
+
['application/json'],
|
|
21428
|
+
['application/json']
|
|
21429
|
+
);
|
|
21430
|
+
}
|
|
21431
|
+
|
|
21432
|
+
/**
|
|
21433
|
+
* Retrieve the list of masking rules.
|
|
21434
|
+
*
|
|
21435
|
+
*/
|
|
21436
|
+
getDataprivacyMaskingrules() {
|
|
21437
|
+
|
|
21438
|
+
return this.apiClient.callApi(
|
|
21439
|
+
'/api/v2/dataprivacy/maskingrules',
|
|
21440
|
+
'GET',
|
|
21441
|
+
{ },
|
|
21442
|
+
{ },
|
|
21443
|
+
{ },
|
|
21444
|
+
{ },
|
|
21445
|
+
null,
|
|
21446
|
+
['PureCloud OAuth'],
|
|
21447
|
+
['application/json'],
|
|
21448
|
+
['application/json']
|
|
21449
|
+
);
|
|
21450
|
+
}
|
|
21451
|
+
|
|
21452
|
+
/**
|
|
21453
|
+
* Update information about a masking rule.
|
|
21454
|
+
*
|
|
21455
|
+
* @param {String} ruleId ruleId
|
|
21456
|
+
* @param {Object} opts Optional parameters
|
|
21457
|
+
* @param {Object} opts.body
|
|
21458
|
+
*/
|
|
21459
|
+
patchDataprivacyMaskingrule(ruleId, opts) {
|
|
21460
|
+
opts = opts || {};
|
|
21461
|
+
|
|
21462
|
+
// verify the required parameter 'ruleId' is set
|
|
21463
|
+
if (ruleId === undefined || ruleId === null) {
|
|
21464
|
+
throw 'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';
|
|
21465
|
+
}
|
|
21466
|
+
|
|
21467
|
+
return this.apiClient.callApi(
|
|
21468
|
+
'/api/v2/dataprivacy/maskingrules/{ruleId}',
|
|
21469
|
+
'PATCH',
|
|
21470
|
+
{ 'ruleId': ruleId },
|
|
21471
|
+
{ },
|
|
21472
|
+
{ },
|
|
21473
|
+
{ },
|
|
21474
|
+
opts['body'],
|
|
21475
|
+
['PureCloud OAuth'],
|
|
21476
|
+
['application/json'],
|
|
21477
|
+
['application/json']
|
|
21478
|
+
);
|
|
21479
|
+
}
|
|
21480
|
+
|
|
21481
|
+
/**
|
|
21482
|
+
* Create a new masking rule resource.
|
|
21483
|
+
*
|
|
21484
|
+
* @param {Object} body Details for creating masking rule resource
|
|
21485
|
+
*/
|
|
21486
|
+
postDataprivacyMaskingrules(body) {
|
|
21487
|
+
// verify the required parameter 'body' is set
|
|
21488
|
+
if (body === undefined || body === null) {
|
|
21489
|
+
throw 'Missing the required parameter "body" when calling postDataprivacyMaskingrules';
|
|
21490
|
+
}
|
|
21491
|
+
|
|
21492
|
+
return this.apiClient.callApi(
|
|
21493
|
+
'/api/v2/dataprivacy/maskingrules',
|
|
21494
|
+
'POST',
|
|
21495
|
+
{ },
|
|
21496
|
+
{ },
|
|
21497
|
+
{ },
|
|
21498
|
+
{ },
|
|
21499
|
+
body,
|
|
21500
|
+
['PureCloud OAuth'],
|
|
21501
|
+
['application/json'],
|
|
21502
|
+
['application/json']
|
|
21503
|
+
);
|
|
21504
|
+
}
|
|
21505
|
+
|
|
21506
|
+
/**
|
|
21507
|
+
* Validate masking before creating.
|
|
21508
|
+
*
|
|
21509
|
+
* @param {Object} body Text to be masked
|
|
21510
|
+
*/
|
|
21511
|
+
postDataprivacyMaskingrulesValidate(body) {
|
|
21512
|
+
// verify the required parameter 'body' is set
|
|
21513
|
+
if (body === undefined || body === null) {
|
|
21514
|
+
throw 'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';
|
|
21515
|
+
}
|
|
21516
|
+
|
|
21517
|
+
return this.apiClient.callApi(
|
|
21518
|
+
'/api/v2/dataprivacy/maskingrules/validate',
|
|
21519
|
+
'POST',
|
|
21520
|
+
{ },
|
|
21521
|
+
{ },
|
|
21522
|
+
{ },
|
|
21523
|
+
{ },
|
|
21524
|
+
body,
|
|
21525
|
+
['PureCloud OAuth'],
|
|
21526
|
+
['application/json'],
|
|
21527
|
+
['application/json']
|
|
21528
|
+
);
|
|
21529
|
+
}
|
|
21530
|
+
|
|
21531
|
+
}
|
|
21532
|
+
|
|
21363
21533
|
class DownloadsApi {
|
|
21364
21534
|
/**
|
|
21365
21535
|
* Downloads service.
|
|
21366
21536
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21367
|
-
* @version
|
|
21537
|
+
* @version 210.0.0
|
|
21368
21538
|
*/
|
|
21369
21539
|
|
|
21370
21540
|
/**
|
|
@@ -21416,7 +21586,7 @@ class EmailsApi {
|
|
|
21416
21586
|
/**
|
|
21417
21587
|
* Emails service.
|
|
21418
21588
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21419
|
-
* @version
|
|
21589
|
+
* @version 210.0.0
|
|
21420
21590
|
*/
|
|
21421
21591
|
|
|
21422
21592
|
/**
|
|
@@ -21481,7 +21651,7 @@ class EmployeeEngagementApi {
|
|
|
21481
21651
|
/**
|
|
21482
21652
|
* EmployeeEngagement service.
|
|
21483
21653
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21484
|
-
* @version
|
|
21654
|
+
* @version 210.0.0
|
|
21485
21655
|
*/
|
|
21486
21656
|
|
|
21487
21657
|
/**
|
|
@@ -21632,7 +21802,7 @@ class EventsApi {
|
|
|
21632
21802
|
/**
|
|
21633
21803
|
* Events service.
|
|
21634
21804
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21635
|
-
* @version
|
|
21805
|
+
* @version 210.0.0
|
|
21636
21806
|
*/
|
|
21637
21807
|
|
|
21638
21808
|
/**
|
|
@@ -21728,7 +21898,7 @@ class ExternalContactsApi {
|
|
|
21728
21898
|
/**
|
|
21729
21899
|
* ExternalContacts service.
|
|
21730
21900
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21731
|
-
* @version
|
|
21901
|
+
* @version 210.0.0
|
|
21732
21902
|
*/
|
|
21733
21903
|
|
|
21734
21904
|
/**
|
|
@@ -21873,6 +22043,31 @@ class ExternalContactsApi {
|
|
|
21873
22043
|
);
|
|
21874
22044
|
}
|
|
21875
22045
|
|
|
22046
|
+
/**
|
|
22047
|
+
* Delete Settings
|
|
22048
|
+
*
|
|
22049
|
+
* @param {String} settingsId Settings id
|
|
22050
|
+
*/
|
|
22051
|
+
deleteExternalcontactsImportSetting(settingsId) {
|
|
22052
|
+
// verify the required parameter 'settingsId' is set
|
|
22053
|
+
if (settingsId === undefined || settingsId === null) {
|
|
22054
|
+
throw 'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';
|
|
22055
|
+
}
|
|
22056
|
+
|
|
22057
|
+
return this.apiClient.callApi(
|
|
22058
|
+
'/api/v2/externalcontacts/import/settings/{settingsId}',
|
|
22059
|
+
'DELETE',
|
|
22060
|
+
{ 'settingsId': settingsId },
|
|
22061
|
+
{ },
|
|
22062
|
+
{ },
|
|
22063
|
+
{ },
|
|
22064
|
+
null,
|
|
22065
|
+
['PureCloud OAuth'],
|
|
22066
|
+
['application/json'],
|
|
22067
|
+
['application/json']
|
|
22068
|
+
);
|
|
22069
|
+
}
|
|
22070
|
+
|
|
21876
22071
|
/**
|
|
21877
22072
|
* Delete an external organization
|
|
21878
22073
|
*
|
|
@@ -22439,6 +22634,110 @@ class ExternalContactsApi {
|
|
|
22439
22634
|
);
|
|
22440
22635
|
}
|
|
22441
22636
|
|
|
22637
|
+
/**
|
|
22638
|
+
* Get job based on id
|
|
22639
|
+
*
|
|
22640
|
+
* @param {String} jobId Job id
|
|
22641
|
+
*/
|
|
22642
|
+
getExternalcontactsImportJob(jobId) {
|
|
22643
|
+
// verify the required parameter 'jobId' is set
|
|
22644
|
+
if (jobId === undefined || jobId === null) {
|
|
22645
|
+
throw 'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';
|
|
22646
|
+
}
|
|
22647
|
+
|
|
22648
|
+
return this.apiClient.callApi(
|
|
22649
|
+
'/api/v2/externalcontacts/import/jobs/{jobId}',
|
|
22650
|
+
'GET',
|
|
22651
|
+
{ 'jobId': jobId },
|
|
22652
|
+
{ },
|
|
22653
|
+
{ },
|
|
22654
|
+
{ },
|
|
22655
|
+
null,
|
|
22656
|
+
['PureCloud OAuth'],
|
|
22657
|
+
['application/json'],
|
|
22658
|
+
['application/json']
|
|
22659
|
+
);
|
|
22660
|
+
}
|
|
22661
|
+
|
|
22662
|
+
/**
|
|
22663
|
+
* List jobs for organization
|
|
22664
|
+
*
|
|
22665
|
+
* @param {Object} opts Optional parameters
|
|
22666
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
22667
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
22668
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
22669
|
+
* @param {Object} opts.jobStatus Search term to filter by jobStatus
|
|
22670
|
+
*/
|
|
22671
|
+
getExternalcontactsImportJobs(opts) {
|
|
22672
|
+
opts = opts || {};
|
|
22673
|
+
|
|
22674
|
+
|
|
22675
|
+
return this.apiClient.callApi(
|
|
22676
|
+
'/api/v2/externalcontacts/import/jobs',
|
|
22677
|
+
'GET',
|
|
22678
|
+
{ },
|
|
22679
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
|
|
22680
|
+
{ },
|
|
22681
|
+
{ },
|
|
22682
|
+
null,
|
|
22683
|
+
['PureCloud OAuth'],
|
|
22684
|
+
['application/json'],
|
|
22685
|
+
['application/json']
|
|
22686
|
+
);
|
|
22687
|
+
}
|
|
22688
|
+
|
|
22689
|
+
/**
|
|
22690
|
+
* Get setting based on id
|
|
22691
|
+
*
|
|
22692
|
+
* @param {String} settingsId Settings id
|
|
22693
|
+
*/
|
|
22694
|
+
getExternalcontactsImportSetting(settingsId) {
|
|
22695
|
+
// verify the required parameter 'settingsId' is set
|
|
22696
|
+
if (settingsId === undefined || settingsId === null) {
|
|
22697
|
+
throw 'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';
|
|
22698
|
+
}
|
|
22699
|
+
|
|
22700
|
+
return this.apiClient.callApi(
|
|
22701
|
+
'/api/v2/externalcontacts/import/settings/{settingsId}',
|
|
22702
|
+
'GET',
|
|
22703
|
+
{ 'settingsId': settingsId },
|
|
22704
|
+
{ },
|
|
22705
|
+
{ },
|
|
22706
|
+
{ },
|
|
22707
|
+
null,
|
|
22708
|
+
['PureCloud OAuth'],
|
|
22709
|
+
['application/json'],
|
|
22710
|
+
['application/json']
|
|
22711
|
+
);
|
|
22712
|
+
}
|
|
22713
|
+
|
|
22714
|
+
/**
|
|
22715
|
+
* List settings for organization
|
|
22716
|
+
*
|
|
22717
|
+
* @param {Object} opts Optional parameters
|
|
22718
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
22719
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
22720
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
22721
|
+
* @param {String} opts.name Search term to filter by settings name
|
|
22722
|
+
*/
|
|
22723
|
+
getExternalcontactsImportSettings(opts) {
|
|
22724
|
+
opts = opts || {};
|
|
22725
|
+
|
|
22726
|
+
|
|
22727
|
+
return this.apiClient.callApi(
|
|
22728
|
+
'/api/v2/externalcontacts/import/settings',
|
|
22729
|
+
'GET',
|
|
22730
|
+
{ },
|
|
22731
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
22732
|
+
{ },
|
|
22733
|
+
{ },
|
|
22734
|
+
null,
|
|
22735
|
+
['PureCloud OAuth'],
|
|
22736
|
+
['application/json'],
|
|
22737
|
+
['application/json']
|
|
22738
|
+
);
|
|
22739
|
+
}
|
|
22740
|
+
|
|
22442
22741
|
/**
|
|
22443
22742
|
* Fetch an external organization
|
|
22444
22743
|
*
|
|
@@ -23577,6 +23876,56 @@ class ExternalContactsApi {
|
|
|
23577
23876
|
);
|
|
23578
23877
|
}
|
|
23579
23878
|
|
|
23879
|
+
/**
|
|
23880
|
+
* Create a new job
|
|
23881
|
+
*
|
|
23882
|
+
* @param {Object} body Job
|
|
23883
|
+
*/
|
|
23884
|
+
postExternalcontactsImportJobs(body) {
|
|
23885
|
+
// verify the required parameter 'body' is set
|
|
23886
|
+
if (body === undefined || body === null) {
|
|
23887
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsImportJobs';
|
|
23888
|
+
}
|
|
23889
|
+
|
|
23890
|
+
return this.apiClient.callApi(
|
|
23891
|
+
'/api/v2/externalcontacts/import/jobs',
|
|
23892
|
+
'POST',
|
|
23893
|
+
{ },
|
|
23894
|
+
{ },
|
|
23895
|
+
{ },
|
|
23896
|
+
{ },
|
|
23897
|
+
body,
|
|
23898
|
+
['PureCloud OAuth'],
|
|
23899
|
+
['application/json'],
|
|
23900
|
+
['application/json']
|
|
23901
|
+
);
|
|
23902
|
+
}
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* Create a new settings
|
|
23906
|
+
*
|
|
23907
|
+
* @param {Object} body Setting
|
|
23908
|
+
*/
|
|
23909
|
+
postExternalcontactsImportSettings(body) {
|
|
23910
|
+
// verify the required parameter 'body' is set
|
|
23911
|
+
if (body === undefined || body === null) {
|
|
23912
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsImportSettings';
|
|
23913
|
+
}
|
|
23914
|
+
|
|
23915
|
+
return this.apiClient.callApi(
|
|
23916
|
+
'/api/v2/externalcontacts/import/settings',
|
|
23917
|
+
'POST',
|
|
23918
|
+
{ },
|
|
23919
|
+
{ },
|
|
23920
|
+
{ },
|
|
23921
|
+
{ },
|
|
23922
|
+
body,
|
|
23923
|
+
['PureCloud OAuth'],
|
|
23924
|
+
['application/json'],
|
|
23925
|
+
['application/json']
|
|
23926
|
+
);
|
|
23927
|
+
}
|
|
23928
|
+
|
|
23580
23929
|
/**
|
|
23581
23930
|
* Merge two contacts into a new contact record
|
|
23582
23931
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
@@ -23892,6 +24241,66 @@ class ExternalContactsApi {
|
|
|
23892
24241
|
);
|
|
23893
24242
|
}
|
|
23894
24243
|
|
|
24244
|
+
/**
|
|
24245
|
+
* Update Job's workflow status
|
|
24246
|
+
*
|
|
24247
|
+
* @param {String} jobId Job id
|
|
24248
|
+
* @param {Object} body Status of the Job's workflow
|
|
24249
|
+
*/
|
|
24250
|
+
putExternalcontactsImportJob(jobId, body) {
|
|
24251
|
+
// verify the required parameter 'jobId' is set
|
|
24252
|
+
if (jobId === undefined || jobId === null) {
|
|
24253
|
+
throw 'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';
|
|
24254
|
+
}
|
|
24255
|
+
// verify the required parameter 'body' is set
|
|
24256
|
+
if (body === undefined || body === null) {
|
|
24257
|
+
throw 'Missing the required parameter "body" when calling putExternalcontactsImportJob';
|
|
24258
|
+
}
|
|
24259
|
+
|
|
24260
|
+
return this.apiClient.callApi(
|
|
24261
|
+
'/api/v2/externalcontacts/import/jobs/{jobId}',
|
|
24262
|
+
'PUT',
|
|
24263
|
+
{ 'jobId': jobId },
|
|
24264
|
+
{ },
|
|
24265
|
+
{ },
|
|
24266
|
+
{ },
|
|
24267
|
+
body,
|
|
24268
|
+
['PureCloud OAuth'],
|
|
24269
|
+
['application/json'],
|
|
24270
|
+
['application/json']
|
|
24271
|
+
);
|
|
24272
|
+
}
|
|
24273
|
+
|
|
24274
|
+
/**
|
|
24275
|
+
* Update settings
|
|
24276
|
+
*
|
|
24277
|
+
* @param {String} settingsId Settings id
|
|
24278
|
+
* @param {Object} body Setting
|
|
24279
|
+
*/
|
|
24280
|
+
putExternalcontactsImportSetting(settingsId, body) {
|
|
24281
|
+
// verify the required parameter 'settingsId' is set
|
|
24282
|
+
if (settingsId === undefined || settingsId === null) {
|
|
24283
|
+
throw 'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';
|
|
24284
|
+
}
|
|
24285
|
+
// verify the required parameter 'body' is set
|
|
24286
|
+
if (body === undefined || body === null) {
|
|
24287
|
+
throw 'Missing the required parameter "body" when calling putExternalcontactsImportSetting';
|
|
24288
|
+
}
|
|
24289
|
+
|
|
24290
|
+
return this.apiClient.callApi(
|
|
24291
|
+
'/api/v2/externalcontacts/import/settings/{settingsId}',
|
|
24292
|
+
'PUT',
|
|
24293
|
+
{ 'settingsId': settingsId },
|
|
24294
|
+
{ },
|
|
24295
|
+
{ },
|
|
24296
|
+
{ },
|
|
24297
|
+
body,
|
|
24298
|
+
['PureCloud OAuth'],
|
|
24299
|
+
['application/json'],
|
|
24300
|
+
['application/json']
|
|
24301
|
+
);
|
|
24302
|
+
}
|
|
24303
|
+
|
|
23895
24304
|
/**
|
|
23896
24305
|
* Update an external organization
|
|
23897
24306
|
*
|
|
@@ -24053,7 +24462,7 @@ class FaxApi {
|
|
|
24053
24462
|
/**
|
|
24054
24463
|
* Fax service.
|
|
24055
24464
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
24056
|
-
* @version
|
|
24465
|
+
* @version 210.0.0
|
|
24057
24466
|
*/
|
|
24058
24467
|
|
|
24059
24468
|
/**
|
|
@@ -24268,7 +24677,7 @@ class FlowsApi {
|
|
|
24268
24677
|
/**
|
|
24269
24678
|
* Flows service.
|
|
24270
24679
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
24271
|
-
* @version
|
|
24680
|
+
* @version 210.0.0
|
|
24272
24681
|
*/
|
|
24273
24682
|
|
|
24274
24683
|
/**
|
|
@@ -24451,7 +24860,7 @@ class GamificationApi {
|
|
|
24451
24860
|
/**
|
|
24452
24861
|
* Gamification service.
|
|
24453
24862
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
24454
|
-
* @version
|
|
24863
|
+
* @version 210.0.0
|
|
24455
24864
|
*/
|
|
24456
24865
|
|
|
24457
24866
|
/**
|
|
@@ -26537,7 +26946,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26537
26946
|
/**
|
|
26538
26947
|
* GeneralDataProtectionRegulation service.
|
|
26539
26948
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26540
|
-
* @version
|
|
26949
|
+
* @version 210.0.0
|
|
26541
26950
|
*/
|
|
26542
26951
|
|
|
26543
26952
|
/**
|
|
@@ -26667,7 +27076,7 @@ class GeolocationApi {
|
|
|
26667
27076
|
/**
|
|
26668
27077
|
* Geolocation service.
|
|
26669
27078
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26670
|
-
* @version
|
|
27079
|
+
* @version 210.0.0
|
|
26671
27080
|
*/
|
|
26672
27081
|
|
|
26673
27082
|
/**
|
|
@@ -26798,7 +27207,7 @@ class GreetingsApi {
|
|
|
26798
27207
|
/**
|
|
26799
27208
|
* Greetings service.
|
|
26800
27209
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26801
|
-
* @version
|
|
27210
|
+
* @version 210.0.0
|
|
26802
27211
|
*/
|
|
26803
27212
|
|
|
26804
27213
|
/**
|
|
@@ -27253,7 +27662,7 @@ class GroupsApi {
|
|
|
27253
27662
|
/**
|
|
27254
27663
|
* Groups service.
|
|
27255
27664
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27256
|
-
* @version
|
|
27665
|
+
* @version 210.0.0
|
|
27257
27666
|
*/
|
|
27258
27667
|
|
|
27259
27668
|
/**
|
|
@@ -27772,7 +28181,7 @@ class IdentityProviderApi {
|
|
|
27772
28181
|
/**
|
|
27773
28182
|
* IdentityProvider service.
|
|
27774
28183
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27775
|
-
* @version
|
|
28184
|
+
* @version 210.0.0
|
|
27776
28185
|
*/
|
|
27777
28186
|
|
|
27778
28187
|
/**
|
|
@@ -28633,7 +29042,7 @@ class InfrastructureAsCodeApi {
|
|
|
28633
29042
|
/**
|
|
28634
29043
|
* InfrastructureAsCode service.
|
|
28635
29044
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
28636
|
-
* @version
|
|
29045
|
+
* @version 210.0.0
|
|
28637
29046
|
*/
|
|
28638
29047
|
|
|
28639
29048
|
/**
|
|
@@ -28800,7 +29209,7 @@ class IntegrationsApi {
|
|
|
28800
29209
|
/**
|
|
28801
29210
|
* Integrations service.
|
|
28802
29211
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28803
|
-
* @version
|
|
29212
|
+
* @version 210.0.0
|
|
28804
29213
|
*/
|
|
28805
29214
|
|
|
28806
29215
|
/**
|
|
@@ -31242,7 +31651,7 @@ class JourneyApi {
|
|
|
31242
31651
|
/**
|
|
31243
31652
|
* Journey service.
|
|
31244
31653
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31245
|
-
* @version
|
|
31654
|
+
* @version 210.0.0
|
|
31246
31655
|
*/
|
|
31247
31656
|
|
|
31248
31657
|
/**
|
|
@@ -31413,7 +31822,7 @@ class JourneyApi {
|
|
|
31413
31822
|
|
|
31414
31823
|
/**
|
|
31415
31824
|
* Delete the Schedule of a JourneyView
|
|
31416
|
-
*
|
|
31825
|
+
*
|
|
31417
31826
|
* @param {String} viewId Journey View Id
|
|
31418
31827
|
*/
|
|
31419
31828
|
deleteJourneyViewSchedules(viewId) {
|
|
@@ -32086,7 +32495,7 @@ class JourneyApi {
|
|
|
32086
32495
|
|
|
32087
32496
|
/**
|
|
32088
32497
|
* Get the Schedule for a JourneyView
|
|
32089
|
-
*
|
|
32498
|
+
*
|
|
32090
32499
|
* @param {String} viewId Journey View Id
|
|
32091
32500
|
*/
|
|
32092
32501
|
getJourneyViewSchedules(viewId) {
|
|
@@ -32216,7 +32625,7 @@ class JourneyApi {
|
|
|
32216
32625
|
|
|
32217
32626
|
/**
|
|
32218
32627
|
* Get the job for a journey view version.
|
|
32219
|
-
*
|
|
32628
|
+
*
|
|
32220
32629
|
* @param {String} viewId Journey View Id
|
|
32221
32630
|
* @param {String} journeyVersionId Journey View Version
|
|
32222
32631
|
* @param {String} jobId JobId
|
|
@@ -32251,7 +32660,7 @@ class JourneyApi {
|
|
|
32251
32660
|
|
|
32252
32661
|
/**
|
|
32253
32662
|
* Get the result of a job for a journey view version.
|
|
32254
|
-
*
|
|
32663
|
+
*
|
|
32255
32664
|
* @param {String} viewId JourneyViewResult id
|
|
32256
32665
|
* @param {String} journeyViewVersion Journey View Version
|
|
32257
32666
|
* @param {String} jobId Id of the executing job
|
|
@@ -32326,7 +32735,7 @@ class JourneyApi {
|
|
|
32326
32735
|
|
|
32327
32736
|
/**
|
|
32328
32737
|
* Get the latest job of a journey view version.
|
|
32329
|
-
*
|
|
32738
|
+
*
|
|
32330
32739
|
* @param {String} viewId Journey View Id
|
|
32331
32740
|
* @param {String} journeyVersionId Journey View Version
|
|
32332
32741
|
*/
|
|
@@ -32626,7 +33035,7 @@ class JourneyApi {
|
|
|
32626
33035
|
|
|
32627
33036
|
/**
|
|
32628
33037
|
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
32629
|
-
*
|
|
33038
|
+
*
|
|
32630
33039
|
* @param {String} viewId Journey View Id
|
|
32631
33040
|
* @param {String} journeyVersionId Journey View Version
|
|
32632
33041
|
* @param {String} jobId JobId
|
|
@@ -33029,7 +33438,7 @@ class JourneyApi {
|
|
|
33029
33438
|
|
|
33030
33439
|
/**
|
|
33031
33440
|
* Submit a job request for a journey view version.
|
|
33032
|
-
*
|
|
33441
|
+
*
|
|
33033
33442
|
* @param {String} viewId Journey View Id
|
|
33034
33443
|
* @param {String} journeyVersionId Journey View Version
|
|
33035
33444
|
*/
|
|
@@ -33138,7 +33547,7 @@ class JourneyApi {
|
|
|
33138
33547
|
|
|
33139
33548
|
/**
|
|
33140
33549
|
* Update the Schedule for a JourneyView
|
|
33141
|
-
*
|
|
33550
|
+
*
|
|
33142
33551
|
* @param {String} viewId Journey View Id
|
|
33143
33552
|
* @param {Object} body journeyViewSchedule
|
|
33144
33553
|
*/
|
|
@@ -33207,7 +33616,7 @@ class KnowledgeApi {
|
|
|
33207
33616
|
/**
|
|
33208
33617
|
* Knowledge service.
|
|
33209
33618
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
33210
|
-
* @version
|
|
33619
|
+
* @version 210.0.0
|
|
33211
33620
|
*/
|
|
33212
33621
|
|
|
33213
33622
|
/**
|
|
@@ -37083,7 +37492,7 @@ class LanguageUnderstandingApi {
|
|
|
37083
37492
|
/**
|
|
37084
37493
|
* LanguageUnderstanding service.
|
|
37085
37494
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
37086
|
-
* @version
|
|
37495
|
+
* @version 210.0.0
|
|
37087
37496
|
*/
|
|
37088
37497
|
|
|
37089
37498
|
/**
|
|
@@ -38117,7 +38526,7 @@ class LanguagesApi {
|
|
|
38117
38526
|
/**
|
|
38118
38527
|
* Languages service.
|
|
38119
38528
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
38120
|
-
* @version
|
|
38529
|
+
* @version 210.0.0
|
|
38121
38530
|
*/
|
|
38122
38531
|
|
|
38123
38532
|
/**
|
|
@@ -38339,7 +38748,7 @@ class LearningApi {
|
|
|
38339
38748
|
/**
|
|
38340
38749
|
* Learning service.
|
|
38341
38750
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
38342
|
-
* @version
|
|
38751
|
+
* @version 210.0.0
|
|
38343
38752
|
*/
|
|
38344
38753
|
|
|
38345
38754
|
/**
|
|
@@ -39368,7 +39777,7 @@ class LicenseApi {
|
|
|
39368
39777
|
/**
|
|
39369
39778
|
* License service.
|
|
39370
39779
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
39371
|
-
* @version
|
|
39780
|
+
* @version 210.0.0
|
|
39372
39781
|
*/
|
|
39373
39782
|
|
|
39374
39783
|
/**
|
|
@@ -39606,7 +40015,7 @@ class LocationsApi {
|
|
|
39606
40015
|
/**
|
|
39607
40016
|
* Locations service.
|
|
39608
40017
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
39609
|
-
* @version
|
|
40018
|
+
* @version 210.0.0
|
|
39610
40019
|
*/
|
|
39611
40020
|
|
|
39612
40021
|
/**
|
|
@@ -39842,7 +40251,7 @@ class LogCaptureApi {
|
|
|
39842
40251
|
/**
|
|
39843
40252
|
* LogCapture service.
|
|
39844
40253
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
39845
|
-
* @version
|
|
40254
|
+
* @version 210.0.0
|
|
39846
40255
|
*/
|
|
39847
40256
|
|
|
39848
40257
|
/**
|
|
@@ -40042,7 +40451,7 @@ class MessagingApi {
|
|
|
40042
40451
|
/**
|
|
40043
40452
|
* Messaging service.
|
|
40044
40453
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
40045
|
-
* @version
|
|
40454
|
+
* @version 210.0.0
|
|
40046
40455
|
*/
|
|
40047
40456
|
|
|
40048
40457
|
/**
|
|
@@ -40401,7 +40810,7 @@ class MobileDevicesApi {
|
|
|
40401
40810
|
/**
|
|
40402
40811
|
* MobileDevices service.
|
|
40403
40812
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
40404
|
-
* @version
|
|
40813
|
+
* @version 210.0.0
|
|
40405
40814
|
*/
|
|
40406
40815
|
|
|
40407
40816
|
/**
|
|
@@ -40552,7 +40961,7 @@ class NotificationsApi {
|
|
|
40552
40961
|
/**
|
|
40553
40962
|
* Notifications service.
|
|
40554
40963
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
40555
|
-
* @version
|
|
40964
|
+
* @version 210.0.0
|
|
40556
40965
|
*/
|
|
40557
40966
|
|
|
40558
40967
|
/**
|
|
@@ -40785,7 +41194,7 @@ class OAuthApi {
|
|
|
40785
41194
|
/**
|
|
40786
41195
|
* OAuth service.
|
|
40787
41196
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
40788
|
-
* @version
|
|
41197
|
+
* @version 210.0.0
|
|
40789
41198
|
*/
|
|
40790
41199
|
|
|
40791
41200
|
/**
|
|
@@ -41151,7 +41560,7 @@ class ObjectsApi {
|
|
|
41151
41560
|
/**
|
|
41152
41561
|
* Objects service.
|
|
41153
41562
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
41154
|
-
* @version
|
|
41563
|
+
* @version 210.0.0
|
|
41155
41564
|
*/
|
|
41156
41565
|
|
|
41157
41566
|
/**
|
|
@@ -41421,7 +41830,7 @@ class OperationalEventsApi {
|
|
|
41421
41830
|
/**
|
|
41422
41831
|
* OperationalEvents service.
|
|
41423
41832
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
41424
|
-
* @version
|
|
41833
|
+
* @version 210.0.0
|
|
41425
41834
|
*/
|
|
41426
41835
|
|
|
41427
41836
|
/**
|
|
@@ -41538,7 +41947,7 @@ class OrganizationApi {
|
|
|
41538
41947
|
/**
|
|
41539
41948
|
* Organization service.
|
|
41540
41949
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
41541
|
-
* @version
|
|
41950
|
+
* @version 210.0.0
|
|
41542
41951
|
*/
|
|
41543
41952
|
|
|
41544
41953
|
/**
|
|
@@ -42080,7 +42489,7 @@ class OrganizationAuthorizationApi {
|
|
|
42080
42489
|
/**
|
|
42081
42490
|
* OrganizationAuthorization service.
|
|
42082
42491
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
42083
|
-
* @version
|
|
42492
|
+
* @version 210.0.0
|
|
42084
42493
|
*/
|
|
42085
42494
|
|
|
42086
42495
|
/**
|
|
@@ -43474,7 +43883,7 @@ class OutboundApi {
|
|
|
43474
43883
|
/**
|
|
43475
43884
|
* Outbound service.
|
|
43476
43885
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
43477
|
-
* @version
|
|
43886
|
+
* @version 210.0.0
|
|
43478
43887
|
*/
|
|
43479
43888
|
|
|
43480
43889
|
/**
|
|
@@ -48021,7 +48430,7 @@ class PresenceApi {
|
|
|
48021
48430
|
/**
|
|
48022
48431
|
* Presence service.
|
|
48023
48432
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
48024
|
-
* @version
|
|
48433
|
+
* @version 210.0.0
|
|
48025
48434
|
*/
|
|
48026
48435
|
|
|
48027
48436
|
/**
|
|
@@ -48765,7 +49174,7 @@ class ProcessAutomationApi {
|
|
|
48765
49174
|
/**
|
|
48766
49175
|
* ProcessAutomation service.
|
|
48767
49176
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
48768
|
-
* @version
|
|
49177
|
+
* @version 210.0.0
|
|
48769
49178
|
*/
|
|
48770
49179
|
|
|
48771
49180
|
/**
|
|
@@ -49004,7 +49413,7 @@ class QualityApi {
|
|
|
49004
49413
|
/**
|
|
49005
49414
|
* Quality service.
|
|
49006
49415
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
49007
|
-
* @version
|
|
49416
|
+
* @version 210.0.0
|
|
49008
49417
|
*/
|
|
49009
49418
|
|
|
49010
49419
|
/**
|
|
@@ -50792,7 +51201,7 @@ class RecordingApi {
|
|
|
50792
51201
|
/**
|
|
50793
51202
|
* Recording service.
|
|
50794
51203
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
50795
|
-
* @version
|
|
51204
|
+
* @version 210.0.0
|
|
50796
51205
|
*/
|
|
50797
51206
|
|
|
50798
51207
|
/**
|
|
@@ -52451,7 +52860,7 @@ class ResponseManagementApi {
|
|
|
52451
52860
|
/**
|
|
52452
52861
|
* ResponseManagement service.
|
|
52453
52862
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
52454
|
-
* @version
|
|
52863
|
+
* @version 210.0.0
|
|
52455
52864
|
*/
|
|
52456
52865
|
|
|
52457
52866
|
/**
|
|
@@ -52961,7 +53370,7 @@ class RoutingApi {
|
|
|
52961
53370
|
/**
|
|
52962
53371
|
* Routing service.
|
|
52963
53372
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
52964
|
-
* @version
|
|
53373
|
+
* @version 210.0.0
|
|
52965
53374
|
*/
|
|
52966
53375
|
|
|
52967
53376
|
/**
|
|
@@ -57113,7 +57522,7 @@ class SCIMApi {
|
|
|
57113
57522
|
/**
|
|
57114
57523
|
* SCIM service.
|
|
57115
57524
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
57116
|
-
* @version
|
|
57525
|
+
* @version 210.0.0
|
|
57117
57526
|
*/
|
|
57118
57527
|
|
|
57119
57528
|
/**
|
|
@@ -57990,7 +58399,7 @@ class ScreenRecordingApi {
|
|
|
57990
58399
|
/**
|
|
57991
58400
|
* ScreenRecording service.
|
|
57992
58401
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
57993
|
-
* @version
|
|
58402
|
+
* @version 210.0.0
|
|
57994
58403
|
*/
|
|
57995
58404
|
|
|
57996
58405
|
/**
|
|
@@ -58035,7 +58444,7 @@ class ScriptsApi {
|
|
|
58035
58444
|
/**
|
|
58036
58445
|
* Scripts service.
|
|
58037
58446
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
58038
|
-
* @version
|
|
58447
|
+
* @version 210.0.0
|
|
58039
58448
|
*/
|
|
58040
58449
|
|
|
58041
58450
|
/**
|
|
@@ -58479,7 +58888,7 @@ class SearchApi {
|
|
|
58479
58888
|
/**
|
|
58480
58889
|
* Search service.
|
|
58481
58890
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
58482
|
-
* @version
|
|
58891
|
+
* @version 210.0.0
|
|
58483
58892
|
*/
|
|
58484
58893
|
|
|
58485
58894
|
/**
|
|
@@ -59222,7 +59631,7 @@ class SettingsApi {
|
|
|
59222
59631
|
/**
|
|
59223
59632
|
* Settings service.
|
|
59224
59633
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
59225
|
-
* @version
|
|
59634
|
+
* @version 210.0.0
|
|
59226
59635
|
*/
|
|
59227
59636
|
|
|
59228
59637
|
/**
|
|
@@ -59442,7 +59851,7 @@ class SocialMediaApi {
|
|
|
59442
59851
|
/**
|
|
59443
59852
|
* SocialMedia service.
|
|
59444
59853
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
59445
|
-
* @version
|
|
59854
|
+
* @version 210.0.0
|
|
59446
59855
|
*/
|
|
59447
59856
|
|
|
59448
59857
|
/**
|
|
@@ -60347,7 +60756,7 @@ class SpeechTextAnalyticsApi {
|
|
|
60347
60756
|
/**
|
|
60348
60757
|
* SpeechTextAnalytics service.
|
|
60349
60758
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
60350
|
-
* @version
|
|
60759
|
+
* @version 210.0.0
|
|
60351
60760
|
*/
|
|
60352
60761
|
|
|
60353
60762
|
/**
|
|
@@ -61682,7 +62091,7 @@ class StationsApi {
|
|
|
61682
62091
|
/**
|
|
61683
62092
|
* Stations service.
|
|
61684
62093
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
61685
|
-
* @version
|
|
62094
|
+
* @version 210.0.0
|
|
61686
62095
|
*/
|
|
61687
62096
|
|
|
61688
62097
|
/**
|
|
@@ -61784,7 +62193,7 @@ class SuggestApi {
|
|
|
61784
62193
|
/**
|
|
61785
62194
|
* Suggest service.
|
|
61786
62195
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
61787
|
-
* @version
|
|
62196
|
+
* @version 210.0.0
|
|
61788
62197
|
*/
|
|
61789
62198
|
|
|
61790
62199
|
/**
|
|
@@ -61923,7 +62332,7 @@ class TaskManagementApi {
|
|
|
61923
62332
|
/**
|
|
61924
62333
|
* TaskManagement service.
|
|
61925
62334
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
61926
|
-
* @version
|
|
62335
|
+
* @version 210.0.0
|
|
61927
62336
|
*/
|
|
61928
62337
|
|
|
61929
62338
|
/**
|
|
@@ -63587,7 +63996,7 @@ class TeamsApi {
|
|
|
63587
63996
|
/**
|
|
63588
63997
|
* Teams service.
|
|
63589
63998
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
63590
|
-
* @version
|
|
63999
|
+
* @version 210.0.0
|
|
63591
64000
|
*/
|
|
63592
64001
|
|
|
63593
64002
|
/**
|
|
@@ -63892,7 +64301,7 @@ class TelephonyApi {
|
|
|
63892
64301
|
/**
|
|
63893
64302
|
* Telephony service.
|
|
63894
64303
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
63895
|
-
* @version
|
|
64304
|
+
* @version 210.0.0
|
|
63896
64305
|
*/
|
|
63897
64306
|
|
|
63898
64307
|
/**
|
|
@@ -64074,7 +64483,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
64074
64483
|
/**
|
|
64075
64484
|
* TelephonyProvidersEdge service.
|
|
64076
64485
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
64077
|
-
* @version
|
|
64486
|
+
* @version 210.0.0
|
|
64078
64487
|
*/
|
|
64079
64488
|
|
|
64080
64489
|
/**
|
|
@@ -67525,7 +67934,7 @@ class TextbotsApi {
|
|
|
67525
67934
|
/**
|
|
67526
67935
|
* Textbots service.
|
|
67527
67936
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
67528
|
-
* @version
|
|
67937
|
+
* @version 210.0.0
|
|
67529
67938
|
*/
|
|
67530
67939
|
|
|
67531
67940
|
/**
|
|
@@ -67653,7 +68062,7 @@ class TokensApi {
|
|
|
67653
68062
|
/**
|
|
67654
68063
|
* Tokens service.
|
|
67655
68064
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
67656
|
-
* @version
|
|
68065
|
+
* @version 210.0.0
|
|
67657
68066
|
*/
|
|
67658
68067
|
|
|
67659
68068
|
/**
|
|
@@ -67807,7 +68216,7 @@ class UploadsApi {
|
|
|
67807
68216
|
/**
|
|
67808
68217
|
* Uploads service.
|
|
67809
68218
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
67810
|
-
* @version
|
|
68219
|
+
* @version 210.0.0
|
|
67811
68220
|
*/
|
|
67812
68221
|
|
|
67813
68222
|
/**
|
|
@@ -68076,7 +68485,7 @@ class UsageApi {
|
|
|
68076
68485
|
/**
|
|
68077
68486
|
* Usage service.
|
|
68078
68487
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
68079
|
-
* @version
|
|
68488
|
+
* @version 210.0.0
|
|
68080
68489
|
*/
|
|
68081
68490
|
|
|
68082
68491
|
/**
|
|
@@ -68291,7 +68700,7 @@ class UserRecordingsApi {
|
|
|
68291
68700
|
/**
|
|
68292
68701
|
* UserRecordings service.
|
|
68293
68702
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
68294
|
-
* @version
|
|
68703
|
+
* @version 210.0.0
|
|
68295
68704
|
*/
|
|
68296
68705
|
|
|
68297
68706
|
/**
|
|
@@ -68506,7 +68915,7 @@ class UsersApi {
|
|
|
68506
68915
|
/**
|
|
68507
68916
|
* Users service.
|
|
68508
68917
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
68509
|
-
* @version
|
|
68918
|
+
* @version 210.0.0
|
|
68510
68919
|
*/
|
|
68511
68920
|
|
|
68512
68921
|
/**
|
|
@@ -71335,7 +71744,7 @@ class UtilitiesApi {
|
|
|
71335
71744
|
/**
|
|
71336
71745
|
* Utilities service.
|
|
71337
71746
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
71338
|
-
* @version
|
|
71747
|
+
* @version 210.0.0
|
|
71339
71748
|
*/
|
|
71340
71749
|
|
|
71341
71750
|
/**
|
|
@@ -71446,7 +71855,7 @@ class VoicemailApi {
|
|
|
71446
71855
|
/**
|
|
71447
71856
|
* Voicemail service.
|
|
71448
71857
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
71449
|
-
* @version
|
|
71858
|
+
* @version 210.0.0
|
|
71450
71859
|
*/
|
|
71451
71860
|
|
|
71452
71861
|
/**
|
|
@@ -72168,7 +72577,7 @@ class WebChatApi {
|
|
|
72168
72577
|
/**
|
|
72169
72578
|
* WebChat service.
|
|
72170
72579
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
72171
|
-
* @version
|
|
72580
|
+
* @version 210.0.0
|
|
72172
72581
|
*/
|
|
72173
72582
|
|
|
72174
72583
|
/**
|
|
@@ -72719,7 +73128,7 @@ class WebDeploymentsApi {
|
|
|
72719
73128
|
/**
|
|
72720
73129
|
* WebDeployments service.
|
|
72721
73130
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
72722
|
-
* @version
|
|
73131
|
+
* @version 210.0.0
|
|
72723
73132
|
*/
|
|
72724
73133
|
|
|
72725
73134
|
/**
|
|
@@ -73246,7 +73655,7 @@ class WebMessagingApi {
|
|
|
73246
73655
|
/**
|
|
73247
73656
|
* WebMessaging service.
|
|
73248
73657
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
73249
|
-
* @version
|
|
73658
|
+
* @version 210.0.0
|
|
73250
73659
|
*/
|
|
73251
73660
|
|
|
73252
73661
|
/**
|
|
@@ -73292,7 +73701,7 @@ class WidgetsApi {
|
|
|
73292
73701
|
/**
|
|
73293
73702
|
* Widgets service.
|
|
73294
73703
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
73295
|
-
* @version
|
|
73704
|
+
* @version 210.0.0
|
|
73296
73705
|
*/
|
|
73297
73706
|
|
|
73298
73707
|
/**
|
|
@@ -73438,7 +73847,7 @@ class WorkforceManagementApi {
|
|
|
73438
73847
|
/**
|
|
73439
73848
|
* WorkforceManagement service.
|
|
73440
73849
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
73441
|
-
* @version
|
|
73850
|
+
* @version 210.0.0
|
|
73442
73851
|
*/
|
|
73443
73852
|
|
|
73444
73853
|
/**
|
|
@@ -76338,12 +76747,8 @@ class WorkforceManagementApi {
|
|
|
76338
76747
|
*
|
|
76339
76748
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
76340
76749
|
* @param {String} userId The userId to whom the Time Off Request applies.
|
|
76341
|
-
* @param {Object} opts Optional parameters
|
|
76342
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
76343
76750
|
*/
|
|
76344
|
-
getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId, userId
|
|
76345
|
-
opts = opts || {};
|
|
76346
|
-
|
|
76751
|
+
getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId, userId) {
|
|
76347
76752
|
// verify the required parameter 'managementUnitId' is set
|
|
76348
76753
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
76349
76754
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';
|
|
@@ -76357,7 +76762,7 @@ class WorkforceManagementApi {
|
|
|
76357
76762
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests',
|
|
76358
76763
|
'GET',
|
|
76359
76764
|
{ 'managementUnitId': managementUnitId,'userId': userId },
|
|
76360
|
-
{
|
|
76765
|
+
{ },
|
|
76361
76766
|
{ },
|
|
76362
76767
|
{ },
|
|
76363
76768
|
null,
|
|
@@ -76848,18 +77253,14 @@ class WorkforceManagementApi {
|
|
|
76848
77253
|
/**
|
|
76849
77254
|
* Get a list of time off requests for the current user
|
|
76850
77255
|
*
|
|
76851
|
-
* @param {Object} opts Optional parameters
|
|
76852
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
76853
77256
|
*/
|
|
76854
|
-
getWorkforcemanagementTimeoffrequests(
|
|
76855
|
-
opts = opts || {};
|
|
76856
|
-
|
|
77257
|
+
getWorkforcemanagementTimeoffrequests() {
|
|
76857
77258
|
|
|
76858
77259
|
return this.apiClient.callApi(
|
|
76859
77260
|
'/api/v2/workforcemanagement/timeoffrequests',
|
|
76860
77261
|
'GET',
|
|
76861
77262
|
{ },
|
|
76862
|
-
{
|
|
77263
|
+
{ },
|
|
76863
77264
|
{ },
|
|
76864
77265
|
{ },
|
|
76865
77266
|
null,
|
|
@@ -80652,7 +81053,7 @@ class WorkforceManagementApi {
|
|
|
80652
81053
|
* </pre>
|
|
80653
81054
|
* </p>
|
|
80654
81055
|
* @module purecloud-platform-client-v2/index
|
|
80655
|
-
* @version
|
|
81056
|
+
* @version 210.0.0
|
|
80656
81057
|
*/
|
|
80657
81058
|
class platformClient {
|
|
80658
81059
|
constructor() {
|
|
@@ -80741,6 +81142,11 @@ class platformClient {
|
|
|
80741
81142
|
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
|
|
80742
81143
|
*/
|
|
80743
81144
|
this.DataExtensionsApi = DataExtensionsApi;
|
|
81145
|
+
/**
|
|
81146
|
+
* The DataPrivacyApi service constructor.
|
|
81147
|
+
* @property {module:purecloud-platform-client-v2/api/DataPrivacyApi}
|
|
81148
|
+
*/
|
|
81149
|
+
this.DataPrivacyApi = DataPrivacyApi;
|
|
80744
81150
|
/**
|
|
80745
81151
|
* The DownloadsApi service constructor.
|
|
80746
81152
|
* @property {module:purecloud-platform-client-v2/api/DownloadsApi}
|