purecloud-platform-client-v2 142.0.0 → 145.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 +502 -72
- package/dist/web-amd/purecloud-platform-client-v2.js +502 -72
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +502 -72
- package/dist/web-cjs/purecloud-platform-client-v2.js +502 -72
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +450 -210
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +1 -0
- 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/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 +211 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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 +157 -8
- 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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- 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 +26 -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/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/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/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 +21 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.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/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/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 +26 -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 +1 -1
|
@@ -17,6 +17,7 @@ define(['axios', 'qs'], (function (axios, qs) { 'use strict';
|
|
|
17
17
|
eu_west_2: 'euw2.pure.cloud',
|
|
18
18
|
ap_south_1: 'aps1.pure.cloud',
|
|
19
19
|
us_east_2: 'use2.us-gov-pure.cloud',
|
|
20
|
+
sa_east_1: 'sae1.pure.cloud',
|
|
20
21
|
};
|
|
21
22
|
|
|
22
23
|
const logLevels = {
|
|
@@ -398,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
398
399
|
|
|
399
400
|
/**
|
|
400
401
|
* @module purecloud-platform-client-v2/ApiClient
|
|
401
|
-
* @version
|
|
402
|
+
* @version 145.0.0
|
|
402
403
|
*/
|
|
403
404
|
class ApiClient {
|
|
404
405
|
/**
|
|
@@ -1477,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1477
1478
|
/**
|
|
1478
1479
|
* Alerting service.
|
|
1479
1480
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1480
|
-
* @version
|
|
1481
|
+
* @version 145.0.0
|
|
1481
1482
|
*/
|
|
1482
1483
|
|
|
1483
1484
|
/**
|
|
@@ -1791,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1791
1792
|
/**
|
|
1792
1793
|
* Analytics service.
|
|
1793
1794
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1794
|
-
* @version
|
|
1795
|
+
* @version 145.0.0
|
|
1795
1796
|
*/
|
|
1796
1797
|
|
|
1797
1798
|
/**
|
|
@@ -2973,7 +2974,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2973
2974
|
/**
|
|
2974
2975
|
* Architect service.
|
|
2975
2976
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2976
|
-
* @version
|
|
2977
|
+
* @version 145.0.0
|
|
2977
2978
|
*/
|
|
2978
2979
|
|
|
2979
2980
|
/**
|
|
@@ -6018,7 +6019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6018
6019
|
/**
|
|
6019
6020
|
* Audit service.
|
|
6020
6021
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6021
|
-
* @version
|
|
6022
|
+
* @version 145.0.0
|
|
6022
6023
|
*/
|
|
6023
6024
|
|
|
6024
6025
|
/**
|
|
@@ -6189,7 +6190,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6189
6190
|
/**
|
|
6190
6191
|
* Authorization service.
|
|
6191
6192
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6192
|
-
* @version
|
|
6193
|
+
* @version 145.0.0
|
|
6193
6194
|
*/
|
|
6194
6195
|
|
|
6195
6196
|
/**
|
|
@@ -7372,7 +7373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7372
7373
|
/**
|
|
7373
7374
|
* Billing service.
|
|
7374
7375
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7375
|
-
* @version
|
|
7376
|
+
* @version 145.0.0
|
|
7376
7377
|
*/
|
|
7377
7378
|
|
|
7378
7379
|
/**
|
|
@@ -7452,7 +7453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7452
7453
|
/**
|
|
7453
7454
|
* Chat service.
|
|
7454
7455
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7455
|
-
* @version
|
|
7456
|
+
* @version 145.0.0
|
|
7456
7457
|
*/
|
|
7457
7458
|
|
|
7458
7459
|
/**
|
|
@@ -7543,7 +7544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7543
7544
|
/**
|
|
7544
7545
|
* Coaching service.
|
|
7545
7546
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7546
|
-
* @version
|
|
7547
|
+
* @version 145.0.0
|
|
7547
7548
|
*/
|
|
7548
7549
|
|
|
7549
7550
|
/**
|
|
@@ -8120,7 +8121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8120
8121
|
/**
|
|
8121
8122
|
* ContentManagement service.
|
|
8122
8123
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8123
|
-
* @version
|
|
8124
|
+
* @version 145.0.0
|
|
8124
8125
|
*/
|
|
8125
8126
|
|
|
8126
8127
|
/**
|
|
@@ -9260,7 +9261,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9260
9261
|
/**
|
|
9261
9262
|
* Conversations service.
|
|
9262
9263
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9263
|
-
* @version
|
|
9264
|
+
* @version 145.0.0
|
|
9264
9265
|
*/
|
|
9265
9266
|
|
|
9266
9267
|
/**
|
|
@@ -9853,6 +9854,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9853
9854
|
);
|
|
9854
9855
|
}
|
|
9855
9856
|
|
|
9857
|
+
/**
|
|
9858
|
+
* Get the secure attributes on a conversation.
|
|
9859
|
+
*
|
|
9860
|
+
* @param {String} conversationId conversation ID
|
|
9861
|
+
*/
|
|
9862
|
+
getConversationSecureattributes(conversationId) {
|
|
9863
|
+
// verify the required parameter 'conversationId' is set
|
|
9864
|
+
if (conversationId === undefined || conversationId === null) {
|
|
9865
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSecureattributes';
|
|
9866
|
+
}
|
|
9867
|
+
|
|
9868
|
+
return this.apiClient.callApi(
|
|
9869
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
9870
|
+
'GET',
|
|
9871
|
+
{ 'conversationId': conversationId },
|
|
9872
|
+
{ },
|
|
9873
|
+
{ },
|
|
9874
|
+
{ },
|
|
9875
|
+
null,
|
|
9876
|
+
['PureCloud OAuth'],
|
|
9877
|
+
['application/json'],
|
|
9878
|
+
['application/json']
|
|
9879
|
+
);
|
|
9880
|
+
}
|
|
9881
|
+
|
|
9856
9882
|
/**
|
|
9857
9883
|
* Get active conversations for the logged in user
|
|
9858
9884
|
*
|
|
@@ -10636,6 +10662,51 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10636
10662
|
);
|
|
10637
10663
|
}
|
|
10638
10664
|
|
|
10665
|
+
/**
|
|
10666
|
+
* Get the encryption key configurations
|
|
10667
|
+
*
|
|
10668
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
10669
|
+
*/
|
|
10670
|
+
getConversationsKeyconfiguration(keyconfigurationsId) {
|
|
10671
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
10672
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
10673
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';
|
|
10674
|
+
}
|
|
10675
|
+
|
|
10676
|
+
return this.apiClient.callApi(
|
|
10677
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
10678
|
+
'GET',
|
|
10679
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
10680
|
+
{ },
|
|
10681
|
+
{ },
|
|
10682
|
+
{ },
|
|
10683
|
+
null,
|
|
10684
|
+
['PureCloud OAuth'],
|
|
10685
|
+
['application/json'],
|
|
10686
|
+
['application/json']
|
|
10687
|
+
);
|
|
10688
|
+
}
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* Get a list of key configurations data
|
|
10692
|
+
*
|
|
10693
|
+
*/
|
|
10694
|
+
getConversationsKeyconfigurations() {
|
|
10695
|
+
|
|
10696
|
+
return this.apiClient.callApi(
|
|
10697
|
+
'/api/v2/conversations/keyconfigurations',
|
|
10698
|
+
'GET',
|
|
10699
|
+
{ },
|
|
10700
|
+
{ },
|
|
10701
|
+
{ },
|
|
10702
|
+
{ },
|
|
10703
|
+
null,
|
|
10704
|
+
['PureCloud OAuth'],
|
|
10705
|
+
['application/json'],
|
|
10706
|
+
['application/json']
|
|
10707
|
+
);
|
|
10708
|
+
}
|
|
10709
|
+
|
|
10639
10710
|
/**
|
|
10640
10711
|
* Get message conversation
|
|
10641
10712
|
*
|
|
@@ -11352,6 +11423,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11352
11423
|
);
|
|
11353
11424
|
}
|
|
11354
11425
|
|
|
11426
|
+
/**
|
|
11427
|
+
* Update the secure attributes on a conversation.
|
|
11428
|
+
*
|
|
11429
|
+
* @param {String} conversationId conversation ID
|
|
11430
|
+
* @param {Object} body Conversation Secure Attributes
|
|
11431
|
+
*/
|
|
11432
|
+
patchConversationSecureattributes(conversationId, body) {
|
|
11433
|
+
// verify the required parameter 'conversationId' is set
|
|
11434
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11435
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';
|
|
11436
|
+
}
|
|
11437
|
+
// verify the required parameter 'body' is set
|
|
11438
|
+
if (body === undefined || body === null) {
|
|
11439
|
+
throw 'Missing the required parameter "body" when calling patchConversationSecureattributes';
|
|
11440
|
+
}
|
|
11441
|
+
|
|
11442
|
+
return this.apiClient.callApi(
|
|
11443
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
11444
|
+
'PATCH',
|
|
11445
|
+
{ 'conversationId': conversationId },
|
|
11446
|
+
{ },
|
|
11447
|
+
{ },
|
|
11448
|
+
{ },
|
|
11449
|
+
body,
|
|
11450
|
+
['PureCloud OAuth'],
|
|
11451
|
+
['application/json'],
|
|
11452
|
+
['application/json']
|
|
11453
|
+
);
|
|
11454
|
+
}
|
|
11455
|
+
|
|
11355
11456
|
/**
|
|
11356
11457
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
11357
11458
|
*
|
|
@@ -13354,6 +13455,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13354
13455
|
);
|
|
13355
13456
|
}
|
|
13356
13457
|
|
|
13458
|
+
/**
|
|
13459
|
+
* Setup configurations for encryption key creation
|
|
13460
|
+
*
|
|
13461
|
+
* @param {Object} body Encryption Configuration
|
|
13462
|
+
*/
|
|
13463
|
+
postConversationsKeyconfigurations(body) {
|
|
13464
|
+
// verify the required parameter 'body' is set
|
|
13465
|
+
if (body === undefined || body === null) {
|
|
13466
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurations';
|
|
13467
|
+
}
|
|
13468
|
+
|
|
13469
|
+
return this.apiClient.callApi(
|
|
13470
|
+
'/api/v2/conversations/keyconfigurations',
|
|
13471
|
+
'POST',
|
|
13472
|
+
{ },
|
|
13473
|
+
{ },
|
|
13474
|
+
{ },
|
|
13475
|
+
{ },
|
|
13476
|
+
body,
|
|
13477
|
+
['PureCloud OAuth'],
|
|
13478
|
+
['application/json'],
|
|
13479
|
+
['application/json']
|
|
13480
|
+
);
|
|
13481
|
+
}
|
|
13482
|
+
|
|
13483
|
+
/**
|
|
13484
|
+
* Validate encryption key configurations without saving it
|
|
13485
|
+
*
|
|
13486
|
+
* @param {Object} body Encryption Configuration
|
|
13487
|
+
*/
|
|
13488
|
+
postConversationsKeyconfigurationsValidate(body) {
|
|
13489
|
+
// verify the required parameter 'body' is set
|
|
13490
|
+
if (body === undefined || body === null) {
|
|
13491
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';
|
|
13492
|
+
}
|
|
13493
|
+
|
|
13494
|
+
return this.apiClient.callApi(
|
|
13495
|
+
'/api/v2/conversations/keyconfigurations/validate',
|
|
13496
|
+
'POST',
|
|
13497
|
+
{ },
|
|
13498
|
+
{ },
|
|
13499
|
+
{ },
|
|
13500
|
+
{ },
|
|
13501
|
+
body,
|
|
13502
|
+
['PureCloud OAuth'],
|
|
13503
|
+
['application/json'],
|
|
13504
|
+
['application/json']
|
|
13505
|
+
);
|
|
13506
|
+
}
|
|
13507
|
+
|
|
13357
13508
|
/**
|
|
13358
13509
|
* Send message
|
|
13359
13510
|
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, 1 stickerId, or 1 messageTemplate.
|
|
@@ -13738,6 +13889,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13738
13889
|
);
|
|
13739
13890
|
}
|
|
13740
13891
|
|
|
13892
|
+
/**
|
|
13893
|
+
* Set the secure attributes on a conversation.
|
|
13894
|
+
*
|
|
13895
|
+
* @param {String} conversationId conversation ID
|
|
13896
|
+
* @param {Object} body Conversation Secure Attributes
|
|
13897
|
+
*/
|
|
13898
|
+
putConversationSecureattributes(conversationId, body) {
|
|
13899
|
+
// verify the required parameter 'conversationId' is set
|
|
13900
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13901
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationSecureattributes';
|
|
13902
|
+
}
|
|
13903
|
+
// verify the required parameter 'body' is set
|
|
13904
|
+
if (body === undefined || body === null) {
|
|
13905
|
+
throw 'Missing the required parameter "body" when calling putConversationSecureattributes';
|
|
13906
|
+
}
|
|
13907
|
+
|
|
13908
|
+
return this.apiClient.callApi(
|
|
13909
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
13910
|
+
'PUT',
|
|
13911
|
+
{ 'conversationId': conversationId },
|
|
13912
|
+
{ },
|
|
13913
|
+
{ },
|
|
13914
|
+
{ },
|
|
13915
|
+
body,
|
|
13916
|
+
['PureCloud OAuth'],
|
|
13917
|
+
['application/json'],
|
|
13918
|
+
['application/json']
|
|
13919
|
+
);
|
|
13920
|
+
}
|
|
13921
|
+
|
|
13741
13922
|
/**
|
|
13742
13923
|
* Update the tags on a conversation.
|
|
13743
13924
|
*
|
|
@@ -13988,6 +14169,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13988
14169
|
);
|
|
13989
14170
|
}
|
|
13990
14171
|
|
|
14172
|
+
/**
|
|
14173
|
+
* Update the encryption key configurations
|
|
14174
|
+
*
|
|
14175
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
14176
|
+
* @param {Object} body Encryption key configuration metadata
|
|
14177
|
+
*/
|
|
14178
|
+
putConversationsKeyconfiguration(keyconfigurationsId, body) {
|
|
14179
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
14180
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
14181
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';
|
|
14182
|
+
}
|
|
14183
|
+
// verify the required parameter 'body' is set
|
|
14184
|
+
if (body === undefined || body === null) {
|
|
14185
|
+
throw 'Missing the required parameter "body" when calling putConversationsKeyconfiguration';
|
|
14186
|
+
}
|
|
14187
|
+
|
|
14188
|
+
return this.apiClient.callApi(
|
|
14189
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
14190
|
+
'PUT',
|
|
14191
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
14192
|
+
{ },
|
|
14193
|
+
{ },
|
|
14194
|
+
{ },
|
|
14195
|
+
body,
|
|
14196
|
+
['PureCloud OAuth'],
|
|
14197
|
+
['application/json'],
|
|
14198
|
+
['application/json']
|
|
14199
|
+
);
|
|
14200
|
+
}
|
|
14201
|
+
|
|
13991
14202
|
/**
|
|
13992
14203
|
* Update a conversation by setting its recording state
|
|
13993
14204
|
*
|
|
@@ -14194,7 +14405,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14194
14405
|
/**
|
|
14195
14406
|
* DataExtensions service.
|
|
14196
14407
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14197
|
-
* @version
|
|
14408
|
+
* @version 145.0.0
|
|
14198
14409
|
*/
|
|
14199
14410
|
|
|
14200
14411
|
/**
|
|
@@ -14280,7 +14491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14280
14491
|
/**
|
|
14281
14492
|
* ExternalContacts service.
|
|
14282
14493
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14283
|
-
* @version
|
|
14494
|
+
* @version 145.0.0
|
|
14284
14495
|
*/
|
|
14285
14496
|
|
|
14286
14497
|
/**
|
|
@@ -16023,7 +16234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16023
16234
|
/**
|
|
16024
16235
|
* Fax service.
|
|
16025
16236
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16026
|
-
* @version
|
|
16237
|
+
* @version 145.0.0
|
|
16027
16238
|
*/
|
|
16028
16239
|
|
|
16029
16240
|
/**
|
|
@@ -16194,7 +16405,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16194
16405
|
/**
|
|
16195
16406
|
* Flows service.
|
|
16196
16407
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16197
|
-
* @version
|
|
16408
|
+
* @version 145.0.0
|
|
16198
16409
|
*/
|
|
16199
16410
|
|
|
16200
16411
|
/**
|
|
@@ -16265,7 +16476,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16265
16476
|
/**
|
|
16266
16477
|
* Gamification service.
|
|
16267
16478
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16268
|
-
* @version
|
|
16479
|
+
* @version 145.0.0
|
|
16269
16480
|
*/
|
|
16270
16481
|
|
|
16271
16482
|
/**
|
|
@@ -16280,6 +16491,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16280
16491
|
}
|
|
16281
16492
|
|
|
16282
16493
|
|
|
16494
|
+
/**
|
|
16495
|
+
* Delete an External Metric Definition
|
|
16496
|
+
*
|
|
16497
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16498
|
+
*/
|
|
16499
|
+
deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16500
|
+
// verify the required parameter 'metricId' is set
|
|
16501
|
+
if (metricId === undefined || metricId === null) {
|
|
16502
|
+
throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
|
|
16503
|
+
}
|
|
16504
|
+
|
|
16505
|
+
return this.apiClient.callApi(
|
|
16506
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16507
|
+
'DELETE',
|
|
16508
|
+
{ 'metricId': metricId },
|
|
16509
|
+
{ },
|
|
16510
|
+
{ },
|
|
16511
|
+
{ },
|
|
16512
|
+
null,
|
|
16513
|
+
['PureCloud OAuth'],
|
|
16514
|
+
['application/json'],
|
|
16515
|
+
['application/json']
|
|
16516
|
+
);
|
|
16517
|
+
}
|
|
16518
|
+
|
|
16519
|
+
/**
|
|
16520
|
+
* Get an External Metric Definition
|
|
16521
|
+
*
|
|
16522
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16523
|
+
*/
|
|
16524
|
+
getEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16525
|
+
// verify the required parameter 'metricId' is set
|
|
16526
|
+
if (metricId === undefined || metricId === null) {
|
|
16527
|
+
throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
|
|
16528
|
+
}
|
|
16529
|
+
|
|
16530
|
+
return this.apiClient.callApi(
|
|
16531
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16532
|
+
'GET',
|
|
16533
|
+
{ 'metricId': metricId },
|
|
16534
|
+
{ },
|
|
16535
|
+
{ },
|
|
16536
|
+
{ },
|
|
16537
|
+
null,
|
|
16538
|
+
['PureCloud OAuth'],
|
|
16539
|
+
['application/json'],
|
|
16540
|
+
['application/json']
|
|
16541
|
+
);
|
|
16542
|
+
}
|
|
16543
|
+
|
|
16544
|
+
/**
|
|
16545
|
+
* Get a list of External Metric Definitions of an organization, sorted by name in ascending order
|
|
16546
|
+
*
|
|
16547
|
+
* @param {Object} opts Optional parameters
|
|
16548
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16549
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16550
|
+
*/
|
|
16551
|
+
getEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
16552
|
+
opts = opts || {};
|
|
16553
|
+
|
|
16554
|
+
|
|
16555
|
+
return this.apiClient.callApi(
|
|
16556
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
16557
|
+
'GET',
|
|
16558
|
+
{ },
|
|
16559
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
16560
|
+
{ },
|
|
16561
|
+
{ },
|
|
16562
|
+
null,
|
|
16563
|
+
['PureCloud OAuth'],
|
|
16564
|
+
['application/json'],
|
|
16565
|
+
['application/json']
|
|
16566
|
+
);
|
|
16567
|
+
}
|
|
16568
|
+
|
|
16283
16569
|
/**
|
|
16284
16570
|
* Leaderboard of the requesting user's division or performance profile
|
|
16285
16571
|
*
|
|
@@ -16944,14 +17230,14 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16944
17230
|
* @param {String} profileId performanceProfileId
|
|
16945
17231
|
* @param {String} metricId metricId
|
|
16946
17232
|
* @param {Object} filterType Filter type for the query request.
|
|
16947
|
-
* @param {String} filterId ID for the filter type. For example, division Id
|
|
16948
17233
|
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16949
17234
|
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16950
17235
|
* @param {Object} opts Optional parameters
|
|
17236
|
+
* @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
|
|
16951
17237
|
* @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16952
17238
|
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
16953
17239
|
*/
|
|
16954
|
-
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType,
|
|
17240
|
+
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
|
|
16955
17241
|
opts = opts || {};
|
|
16956
17242
|
|
|
16957
17243
|
// verify the required parameter 'profileId' is set
|
|
@@ -16966,10 +17252,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16966
17252
|
if (filterType === undefined || filterType === null) {
|
|
16967
17253
|
throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16968
17254
|
}
|
|
16969
|
-
// verify the required parameter 'filterId' is set
|
|
16970
|
-
if (filterId === undefined || filterId === null) {
|
|
16971
|
-
throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16972
|
-
}
|
|
16973
17255
|
// verify the required parameter 'startWorkday' is set
|
|
16974
17256
|
if (startWorkday === undefined || startWorkday === null) {
|
|
16975
17257
|
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
@@ -16983,7 +17265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16983
17265
|
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
|
|
16984
17266
|
'GET',
|
|
16985
17267
|
{ 'profileId': profileId,'metricId': metricId },
|
|
16986
|
-
{ 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
17268
|
+
{ 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
16987
17269
|
{ },
|
|
16988
17270
|
{ },
|
|
16989
17271
|
null,
|
|
@@ -17489,6 +17771,84 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17489
17771
|
);
|
|
17490
17772
|
}
|
|
17491
17773
|
|
|
17774
|
+
/**
|
|
17775
|
+
* Update External Metric Definition
|
|
17776
|
+
*
|
|
17777
|
+
* @param {String} metricId Specifies the metric definition ID
|
|
17778
|
+
* @param {Object} body The External Metric Definition parameters to be updated
|
|
17779
|
+
*/
|
|
17780
|
+
patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
|
|
17781
|
+
// verify the required parameter 'metricId' is set
|
|
17782
|
+
if (metricId === undefined || metricId === null) {
|
|
17783
|
+
throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17784
|
+
}
|
|
17785
|
+
// verify the required parameter 'body' is set
|
|
17786
|
+
if (body === undefined || body === null) {
|
|
17787
|
+
throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17788
|
+
}
|
|
17789
|
+
|
|
17790
|
+
return this.apiClient.callApi(
|
|
17791
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
17792
|
+
'PATCH',
|
|
17793
|
+
{ 'metricId': metricId },
|
|
17794
|
+
{ },
|
|
17795
|
+
{ },
|
|
17796
|
+
{ },
|
|
17797
|
+
body,
|
|
17798
|
+
['PureCloud OAuth'],
|
|
17799
|
+
['application/json'],
|
|
17800
|
+
['application/json']
|
|
17801
|
+
);
|
|
17802
|
+
}
|
|
17803
|
+
|
|
17804
|
+
/**
|
|
17805
|
+
* Write External Metric Data
|
|
17806
|
+
*
|
|
17807
|
+
* @param {Object} opts Optional parameters
|
|
17808
|
+
* @param {Object} opts.body The External Metric Data to be added
|
|
17809
|
+
*/
|
|
17810
|
+
postEmployeeperformanceExternalmetricsData(opts) {
|
|
17811
|
+
opts = opts || {};
|
|
17812
|
+
|
|
17813
|
+
|
|
17814
|
+
return this.apiClient.callApi(
|
|
17815
|
+
'/api/v2/employeeperformance/externalmetrics/data',
|
|
17816
|
+
'POST',
|
|
17817
|
+
{ },
|
|
17818
|
+
{ },
|
|
17819
|
+
{ },
|
|
17820
|
+
{ },
|
|
17821
|
+
opts['body'],
|
|
17822
|
+
['PureCloud OAuth'],
|
|
17823
|
+
['application/json'],
|
|
17824
|
+
['application/json']
|
|
17825
|
+
);
|
|
17826
|
+
}
|
|
17827
|
+
|
|
17828
|
+
/**
|
|
17829
|
+
* Create External Metric Definition
|
|
17830
|
+
*
|
|
17831
|
+
* @param {Object} opts Optional parameters
|
|
17832
|
+
* @param {Object} opts.body The External Metric Definition to be created
|
|
17833
|
+
*/
|
|
17834
|
+
postEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
17835
|
+
opts = opts || {};
|
|
17836
|
+
|
|
17837
|
+
|
|
17838
|
+
return this.apiClient.callApi(
|
|
17839
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
17840
|
+
'POST',
|
|
17841
|
+
{ },
|
|
17842
|
+
{ },
|
|
17843
|
+
{ },
|
|
17844
|
+
{ },
|
|
17845
|
+
opts['body'],
|
|
17846
|
+
['PureCloud OAuth'],
|
|
17847
|
+
['application/json'],
|
|
17848
|
+
['application/json']
|
|
17849
|
+
);
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17492
17852
|
/**
|
|
17493
17853
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
17494
17854
|
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
@@ -17847,7 +18207,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17847
18207
|
/**
|
|
17848
18208
|
* GeneralDataProtectionRegulation service.
|
|
17849
18209
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17850
|
-
* @version
|
|
18210
|
+
* @version 145.0.0
|
|
17851
18211
|
*/
|
|
17852
18212
|
|
|
17853
18213
|
/**
|
|
@@ -17977,7 +18337,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17977
18337
|
/**
|
|
17978
18338
|
* Geolocation service.
|
|
17979
18339
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17980
|
-
* @version
|
|
18340
|
+
* @version 145.0.0
|
|
17981
18341
|
*/
|
|
17982
18342
|
|
|
17983
18343
|
/**
|
|
@@ -18108,7 +18468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18108
18468
|
/**
|
|
18109
18469
|
* Greetings service.
|
|
18110
18470
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18111
|
-
* @version
|
|
18471
|
+
* @version 145.0.0
|
|
18112
18472
|
*/
|
|
18113
18473
|
|
|
18114
18474
|
/**
|
|
@@ -18563,7 +18923,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18563
18923
|
/**
|
|
18564
18924
|
* Groups service.
|
|
18565
18925
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18566
|
-
* @version
|
|
18926
|
+
* @version 145.0.0
|
|
18567
18927
|
*/
|
|
18568
18928
|
|
|
18569
18929
|
/**
|
|
@@ -18968,7 +19328,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18968
19328
|
/**
|
|
18969
19329
|
* IdentityProvider service.
|
|
18970
19330
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18971
|
-
* @version
|
|
19331
|
+
* @version 145.0.0
|
|
18972
19332
|
*/
|
|
18973
19333
|
|
|
18974
19334
|
/**
|
|
@@ -19724,7 +20084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19724
20084
|
/**
|
|
19725
20085
|
* Integrations service.
|
|
19726
20086
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19727
|
-
* @version
|
|
20087
|
+
* @version 145.0.0
|
|
19728
20088
|
*/
|
|
19729
20089
|
|
|
19730
20090
|
/**
|
|
@@ -21401,7 +21761,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21401
21761
|
/**
|
|
21402
21762
|
* Journey service.
|
|
21403
21763
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21404
|
-
* @version
|
|
21764
|
+
* @version 145.0.0
|
|
21405
21765
|
*/
|
|
21406
21766
|
|
|
21407
21767
|
/**
|
|
@@ -22112,7 +22472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22112
22472
|
/**
|
|
22113
22473
|
* Knowledge service.
|
|
22114
22474
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22115
|
-
* @version
|
|
22475
|
+
* @version 145.0.0
|
|
22116
22476
|
*/
|
|
22117
22477
|
|
|
22118
22478
|
/**
|
|
@@ -23012,7 +23372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23012
23372
|
/**
|
|
23013
23373
|
* LanguageUnderstanding service.
|
|
23014
23374
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
23015
|
-
* @version
|
|
23375
|
+
* @version 145.0.0
|
|
23016
23376
|
*/
|
|
23017
23377
|
|
|
23018
23378
|
/**
|
|
@@ -23916,7 +24276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23916
24276
|
/**
|
|
23917
24277
|
* Languages service.
|
|
23918
24278
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23919
|
-
* @version
|
|
24279
|
+
* @version 145.0.0
|
|
23920
24280
|
*/
|
|
23921
24281
|
|
|
23922
24282
|
/**
|
|
@@ -24184,7 +24544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24184
24544
|
/**
|
|
24185
24545
|
* Learning service.
|
|
24186
24546
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
24187
|
-
* @version
|
|
24547
|
+
* @version 145.0.0
|
|
24188
24548
|
*/
|
|
24189
24549
|
|
|
24190
24550
|
/**
|
|
@@ -24537,6 +24897,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24537
24897
|
);
|
|
24538
24898
|
}
|
|
24539
24899
|
|
|
24900
|
+
/**
|
|
24901
|
+
* Get a specific Learning Module cover art using ID
|
|
24902
|
+
*
|
|
24903
|
+
* @param {String} coverArtId Key identifier for the cover art
|
|
24904
|
+
*/
|
|
24905
|
+
getLearningModulesCoverartCoverArtId(coverArtId) {
|
|
24906
|
+
// verify the required parameter 'coverArtId' is set
|
|
24907
|
+
if (coverArtId === undefined || coverArtId === null) {
|
|
24908
|
+
throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
|
|
24909
|
+
}
|
|
24910
|
+
|
|
24911
|
+
return this.apiClient.callApi(
|
|
24912
|
+
'/api/v2/learning/modules/coverart/{coverArtId}',
|
|
24913
|
+
'GET',
|
|
24914
|
+
{ 'coverArtId': coverArtId },
|
|
24915
|
+
{ },
|
|
24916
|
+
{ },
|
|
24917
|
+
{ },
|
|
24918
|
+
null,
|
|
24919
|
+
['PureCloud OAuth'],
|
|
24920
|
+
['application/json'],
|
|
24921
|
+
['application/json']
|
|
24922
|
+
);
|
|
24923
|
+
}
|
|
24924
|
+
|
|
24540
24925
|
/**
|
|
24541
24926
|
* Update Learning Assignment
|
|
24542
24927
|
*
|
|
@@ -24919,7 +25304,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24919
25304
|
/**
|
|
24920
25305
|
* License service.
|
|
24921
25306
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24922
|
-
* @version
|
|
25307
|
+
* @version 145.0.0
|
|
24923
25308
|
*/
|
|
24924
25309
|
|
|
24925
25310
|
/**
|
|
@@ -25157,7 +25542,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25157
25542
|
/**
|
|
25158
25543
|
* Locations service.
|
|
25159
25544
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
25160
|
-
* @version
|
|
25545
|
+
* @version 145.0.0
|
|
25161
25546
|
*/
|
|
25162
25547
|
|
|
25163
25548
|
/**
|
|
@@ -25393,7 +25778,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25393
25778
|
/**
|
|
25394
25779
|
* Messaging service.
|
|
25395
25780
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
25396
|
-
* @version
|
|
25781
|
+
* @version 145.0.0
|
|
25397
25782
|
*/
|
|
25398
25783
|
|
|
25399
25784
|
/**
|
|
@@ -25544,7 +25929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25544
25929
|
/**
|
|
25545
25930
|
* MobileDevices service.
|
|
25546
25931
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
25547
|
-
* @version
|
|
25932
|
+
* @version 145.0.0
|
|
25548
25933
|
*/
|
|
25549
25934
|
|
|
25550
25935
|
/**
|
|
@@ -25695,7 +26080,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25695
26080
|
/**
|
|
25696
26081
|
* Notifications service.
|
|
25697
26082
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
25698
|
-
* @version
|
|
26083
|
+
* @version 145.0.0
|
|
25699
26084
|
*/
|
|
25700
26085
|
|
|
25701
26086
|
/**
|
|
@@ -25920,7 +26305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25920
26305
|
/**
|
|
25921
26306
|
* OAuth service.
|
|
25922
26307
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25923
|
-
* @version
|
|
26308
|
+
* @version 145.0.0
|
|
25924
26309
|
*/
|
|
25925
26310
|
|
|
25926
26311
|
/**
|
|
@@ -26286,7 +26671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26286
26671
|
/**
|
|
26287
26672
|
* Objects service.
|
|
26288
26673
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26289
|
-
* @version
|
|
26674
|
+
* @version 145.0.0
|
|
26290
26675
|
*/
|
|
26291
26676
|
|
|
26292
26677
|
/**
|
|
@@ -26557,7 +26942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26557
26942
|
/**
|
|
26558
26943
|
* Organization service.
|
|
26559
26944
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
26560
|
-
* @version
|
|
26945
|
+
* @version 145.0.0
|
|
26561
26946
|
*/
|
|
26562
26947
|
|
|
26563
26948
|
/**
|
|
@@ -26960,7 +27345,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26960
27345
|
/**
|
|
26961
27346
|
* OrganizationAuthorization service.
|
|
26962
27347
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26963
|
-
* @version
|
|
27348
|
+
* @version 145.0.0
|
|
26964
27349
|
*/
|
|
26965
27350
|
|
|
26966
27351
|
/**
|
|
@@ -27885,7 +28270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27885
28270
|
/**
|
|
27886
28271
|
* Outbound service.
|
|
27887
28272
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27888
|
-
* @version
|
|
28273
|
+
* @version 145.0.0
|
|
27889
28274
|
*/
|
|
27890
28275
|
|
|
27891
28276
|
/**
|
|
@@ -31140,7 +31525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31140
31525
|
/**
|
|
31141
31526
|
* Presence service.
|
|
31142
31527
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31143
|
-
* @version
|
|
31528
|
+
* @version 145.0.0
|
|
31144
31529
|
*/
|
|
31145
31530
|
|
|
31146
31531
|
/**
|
|
@@ -31462,7 +31847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31462
31847
|
/**
|
|
31463
31848
|
* Quality service.
|
|
31464
31849
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31465
|
-
* @version
|
|
31850
|
+
* @version 145.0.0
|
|
31466
31851
|
*/
|
|
31467
31852
|
|
|
31468
31853
|
/**
|
|
@@ -33040,7 +33425,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33040
33425
|
/**
|
|
33041
33426
|
* Recording service.
|
|
33042
33427
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33043
|
-
* @version
|
|
33428
|
+
* @version 145.0.0
|
|
33044
33429
|
*/
|
|
33045
33430
|
|
|
33046
33431
|
/**
|
|
@@ -34693,7 +35078,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34693
35078
|
/**
|
|
34694
35079
|
* ResponseManagement service.
|
|
34695
35080
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34696
|
-
* @version
|
|
35081
|
+
* @version 145.0.0
|
|
34697
35082
|
*/
|
|
34698
35083
|
|
|
34699
35084
|
/**
|
|
@@ -35177,7 +35562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35177
35562
|
/**
|
|
35178
35563
|
* Routing service.
|
|
35179
35564
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35180
|
-
* @version
|
|
35565
|
+
* @version 145.0.0
|
|
35181
35566
|
*/
|
|
35182
35567
|
|
|
35183
35568
|
/**
|
|
@@ -35743,6 +36128,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35743
36128
|
);
|
|
35744
36129
|
}
|
|
35745
36130
|
|
|
36131
|
+
/**
|
|
36132
|
+
* Get available media types
|
|
36133
|
+
*
|
|
36134
|
+
*/
|
|
36135
|
+
getRoutingAvailablemediatypes() {
|
|
36136
|
+
|
|
36137
|
+
return this.apiClient.callApi(
|
|
36138
|
+
'/api/v2/routing/availablemediatypes',
|
|
36139
|
+
'GET',
|
|
36140
|
+
{ },
|
|
36141
|
+
{ },
|
|
36142
|
+
{ },
|
|
36143
|
+
{ },
|
|
36144
|
+
null,
|
|
36145
|
+
['PureCloud OAuth'],
|
|
36146
|
+
['application/json'],
|
|
36147
|
+
['application/json']
|
|
36148
|
+
);
|
|
36149
|
+
}
|
|
36150
|
+
|
|
35746
36151
|
/**
|
|
35747
36152
|
* Get domain
|
|
35748
36153
|
*
|
|
@@ -38098,7 +38503,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38098
38503
|
/**
|
|
38099
38504
|
* SCIM service.
|
|
38100
38505
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38101
|
-
* @version
|
|
38506
|
+
* @version 145.0.0
|
|
38102
38507
|
*/
|
|
38103
38508
|
|
|
38104
38509
|
/**
|
|
@@ -38975,7 +39380,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38975
39380
|
/**
|
|
38976
39381
|
* Scripts service.
|
|
38977
39382
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
38978
|
-
* @version
|
|
39383
|
+
* @version 145.0.0
|
|
38979
39384
|
*/
|
|
38980
39385
|
|
|
38981
39386
|
/**
|
|
@@ -39394,7 +39799,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39394
39799
|
/**
|
|
39395
39800
|
* Search service.
|
|
39396
39801
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39397
|
-
* @version
|
|
39802
|
+
* @version 145.0.0
|
|
39398
39803
|
*/
|
|
39399
39804
|
|
|
39400
39805
|
/**
|
|
@@ -39954,7 +40359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39954
40359
|
/**
|
|
39955
40360
|
* SpeechTextAnalytics service.
|
|
39956
40361
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39957
|
-
* @version
|
|
40362
|
+
* @version 145.0.0
|
|
39958
40363
|
*/
|
|
39959
40364
|
|
|
39960
40365
|
/**
|
|
@@ -40808,7 +41213,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40808
41213
|
/**
|
|
40809
41214
|
* Stations service.
|
|
40810
41215
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40811
|
-
* @version
|
|
41216
|
+
* @version 145.0.0
|
|
40812
41217
|
*/
|
|
40813
41218
|
|
|
40814
41219
|
/**
|
|
@@ -40955,7 +41360,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40955
41360
|
/**
|
|
40956
41361
|
* Suggest service.
|
|
40957
41362
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40958
|
-
* @version
|
|
41363
|
+
* @version 145.0.0
|
|
40959
41364
|
*/
|
|
40960
41365
|
|
|
40961
41366
|
/**
|
|
@@ -41094,7 +41499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41094
41499
|
/**
|
|
41095
41500
|
* Teams service.
|
|
41096
41501
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
41097
|
-
* @version
|
|
41502
|
+
* @version 145.0.0
|
|
41098
41503
|
*/
|
|
41099
41504
|
|
|
41100
41505
|
/**
|
|
@@ -41273,7 +41678,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41273
41678
|
/**
|
|
41274
41679
|
* Telephony service.
|
|
41275
41680
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41276
|
-
* @version
|
|
41681
|
+
* @version 145.0.0
|
|
41277
41682
|
*/
|
|
41278
41683
|
|
|
41279
41684
|
/**
|
|
@@ -41381,7 +41786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41381
41786
|
/**
|
|
41382
41787
|
* TelephonyProvidersEdge service.
|
|
41383
41788
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41384
|
-
* @version
|
|
41789
|
+
* @version 145.0.0
|
|
41385
41790
|
*/
|
|
41386
41791
|
|
|
41387
41792
|
/**
|
|
@@ -45014,7 +45419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45014
45419
|
/**
|
|
45015
45420
|
* Textbots service.
|
|
45016
45421
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
45017
|
-
* @version
|
|
45422
|
+
* @version 145.0.0
|
|
45018
45423
|
*/
|
|
45019
45424
|
|
|
45020
45425
|
/**
|
|
@@ -45142,7 +45547,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45142
45547
|
/**
|
|
45143
45548
|
* Tokens service.
|
|
45144
45549
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
45145
|
-
* @version
|
|
45550
|
+
* @version 145.0.0
|
|
45146
45551
|
*/
|
|
45147
45552
|
|
|
45148
45553
|
/**
|
|
@@ -45248,7 +45653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45248
45653
|
/**
|
|
45249
45654
|
* Uploads service.
|
|
45250
45655
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
45251
|
-
* @version
|
|
45656
|
+
* @version 145.0.0
|
|
45252
45657
|
*/
|
|
45253
45658
|
|
|
45254
45659
|
/**
|
|
@@ -45318,6 +45723,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45318
45723
|
);
|
|
45319
45724
|
}
|
|
45320
45725
|
|
|
45726
|
+
/**
|
|
45727
|
+
* Generates pre-signed URL to upload cover art for learning modules
|
|
45728
|
+
*
|
|
45729
|
+
* @param {Object} body query
|
|
45730
|
+
*/
|
|
45731
|
+
postUploadsLearningCoverart(body) {
|
|
45732
|
+
// verify the required parameter 'body' is set
|
|
45733
|
+
if (body === undefined || body === null) {
|
|
45734
|
+
throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
|
|
45735
|
+
}
|
|
45736
|
+
|
|
45737
|
+
return this.apiClient.callApi(
|
|
45738
|
+
'/api/v2/uploads/learning/coverart',
|
|
45739
|
+
'POST',
|
|
45740
|
+
{ },
|
|
45741
|
+
{ },
|
|
45742
|
+
{ },
|
|
45743
|
+
{ },
|
|
45744
|
+
body,
|
|
45745
|
+
['PureCloud OAuth'],
|
|
45746
|
+
['application/json'],
|
|
45747
|
+
['application/json']
|
|
45748
|
+
);
|
|
45749
|
+
}
|
|
45750
|
+
|
|
45321
45751
|
/**
|
|
45322
45752
|
* Creates presigned url for uploading a public asset image
|
|
45323
45753
|
*
|
|
@@ -45399,7 +45829,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45399
45829
|
/**
|
|
45400
45830
|
* Usage service.
|
|
45401
45831
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45402
|
-
* @version
|
|
45832
|
+
* @version 145.0.0
|
|
45403
45833
|
*/
|
|
45404
45834
|
|
|
45405
45835
|
/**
|
|
@@ -45470,7 +45900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45470
45900
|
/**
|
|
45471
45901
|
* UserRecordings service.
|
|
45472
45902
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45473
|
-
* @version
|
|
45903
|
+
* @version 145.0.0
|
|
45474
45904
|
*/
|
|
45475
45905
|
|
|
45476
45906
|
/**
|
|
@@ -45654,7 +46084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45654
46084
|
/**
|
|
45655
46085
|
* Users service.
|
|
45656
46086
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45657
|
-
* @version
|
|
46087
|
+
* @version 145.0.0
|
|
45658
46088
|
*/
|
|
45659
46089
|
|
|
45660
46090
|
/**
|
|
@@ -47956,7 +48386,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47956
48386
|
/**
|
|
47957
48387
|
* Utilities service.
|
|
47958
48388
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47959
|
-
* @version
|
|
48389
|
+
* @version 145.0.0
|
|
47960
48390
|
*/
|
|
47961
48391
|
|
|
47962
48392
|
/**
|
|
@@ -48067,7 +48497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48067
48497
|
/**
|
|
48068
48498
|
* Voicemail service.
|
|
48069
48499
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
48070
|
-
* @version
|
|
48500
|
+
* @version 145.0.0
|
|
48071
48501
|
*/
|
|
48072
48502
|
|
|
48073
48503
|
/**
|
|
@@ -48734,7 +49164,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48734
49164
|
/**
|
|
48735
49165
|
* WebChat service.
|
|
48736
49166
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48737
|
-
* @version
|
|
49167
|
+
* @version 145.0.0
|
|
48738
49168
|
*/
|
|
48739
49169
|
|
|
48740
49170
|
/**
|
|
@@ -49278,7 +49708,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49278
49708
|
/**
|
|
49279
49709
|
* WebDeployments service.
|
|
49280
49710
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49281
|
-
* @version
|
|
49711
|
+
* @version 145.0.0
|
|
49282
49712
|
*/
|
|
49283
49713
|
|
|
49284
49714
|
/**
|
|
@@ -49633,7 +50063,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49633
50063
|
/**
|
|
49634
50064
|
* WebMessaging service.
|
|
49635
50065
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49636
|
-
* @version
|
|
50066
|
+
* @version 145.0.0
|
|
49637
50067
|
*/
|
|
49638
50068
|
|
|
49639
50069
|
/**
|
|
@@ -49679,7 +50109,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49679
50109
|
/**
|
|
49680
50110
|
* Widgets service.
|
|
49681
50111
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49682
|
-
* @version
|
|
50112
|
+
* @version 145.0.0
|
|
49683
50113
|
*/
|
|
49684
50114
|
|
|
49685
50115
|
/**
|
|
@@ -49825,7 +50255,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49825
50255
|
/**
|
|
49826
50256
|
* WorkforceManagement service.
|
|
49827
50257
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49828
|
-
* @version
|
|
50258
|
+
* @version 145.0.0
|
|
49829
50259
|
*/
|
|
49830
50260
|
|
|
49831
50261
|
/**
|
|
@@ -54101,7 +54531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54101
54531
|
* </pre>
|
|
54102
54532
|
* </p>
|
|
54103
54533
|
* @module purecloud-platform-client-v2/index
|
|
54104
|
-
* @version
|
|
54534
|
+
* @version 145.0.0
|
|
54105
54535
|
*/
|
|
54106
54536
|
class platformClient {
|
|
54107
54537
|
constructor() {
|