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
|
@@ -20,6 +20,7 @@ var PureCloudRegionHosts = {
|
|
|
20
20
|
eu_west_2: 'euw2.pure.cloud',
|
|
21
21
|
ap_south_1: 'aps1.pure.cloud',
|
|
22
22
|
us_east_2: 'use2.us-gov-pure.cloud',
|
|
23
|
+
sa_east_1: 'sae1.pure.cloud',
|
|
23
24
|
};
|
|
24
25
|
|
|
25
26
|
const logLevels = {
|
|
@@ -401,7 +402,7 @@ class Configuration {
|
|
|
401
402
|
|
|
402
403
|
/**
|
|
403
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
404
|
-
* @version
|
|
405
|
+
* @version 145.0.0
|
|
405
406
|
*/
|
|
406
407
|
class ApiClient {
|
|
407
408
|
/**
|
|
@@ -1480,7 +1481,7 @@ class AlertingApi {
|
|
|
1480
1481
|
/**
|
|
1481
1482
|
* Alerting service.
|
|
1482
1483
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1483
|
-
* @version
|
|
1484
|
+
* @version 145.0.0
|
|
1484
1485
|
*/
|
|
1485
1486
|
|
|
1486
1487
|
/**
|
|
@@ -1794,7 +1795,7 @@ class AnalyticsApi {
|
|
|
1794
1795
|
/**
|
|
1795
1796
|
* Analytics service.
|
|
1796
1797
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1797
|
-
* @version
|
|
1798
|
+
* @version 145.0.0
|
|
1798
1799
|
*/
|
|
1799
1800
|
|
|
1800
1801
|
/**
|
|
@@ -2976,7 +2977,7 @@ class ArchitectApi {
|
|
|
2976
2977
|
/**
|
|
2977
2978
|
* Architect service.
|
|
2978
2979
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2979
|
-
* @version
|
|
2980
|
+
* @version 145.0.0
|
|
2980
2981
|
*/
|
|
2981
2982
|
|
|
2982
2983
|
/**
|
|
@@ -6021,7 +6022,7 @@ class AuditApi {
|
|
|
6021
6022
|
/**
|
|
6022
6023
|
* Audit service.
|
|
6023
6024
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6024
|
-
* @version
|
|
6025
|
+
* @version 145.0.0
|
|
6025
6026
|
*/
|
|
6026
6027
|
|
|
6027
6028
|
/**
|
|
@@ -6192,7 +6193,7 @@ class AuthorizationApi {
|
|
|
6192
6193
|
/**
|
|
6193
6194
|
* Authorization service.
|
|
6194
6195
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6195
|
-
* @version
|
|
6196
|
+
* @version 145.0.0
|
|
6196
6197
|
*/
|
|
6197
6198
|
|
|
6198
6199
|
/**
|
|
@@ -7375,7 +7376,7 @@ class BillingApi {
|
|
|
7375
7376
|
/**
|
|
7376
7377
|
* Billing service.
|
|
7377
7378
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7378
|
-
* @version
|
|
7379
|
+
* @version 145.0.0
|
|
7379
7380
|
*/
|
|
7380
7381
|
|
|
7381
7382
|
/**
|
|
@@ -7455,7 +7456,7 @@ class ChatApi {
|
|
|
7455
7456
|
/**
|
|
7456
7457
|
* Chat service.
|
|
7457
7458
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7458
|
-
* @version
|
|
7459
|
+
* @version 145.0.0
|
|
7459
7460
|
*/
|
|
7460
7461
|
|
|
7461
7462
|
/**
|
|
@@ -7546,7 +7547,7 @@ class CoachingApi {
|
|
|
7546
7547
|
/**
|
|
7547
7548
|
* Coaching service.
|
|
7548
7549
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7549
|
-
* @version
|
|
7550
|
+
* @version 145.0.0
|
|
7550
7551
|
*/
|
|
7551
7552
|
|
|
7552
7553
|
/**
|
|
@@ -8123,7 +8124,7 @@ class ContentManagementApi {
|
|
|
8123
8124
|
/**
|
|
8124
8125
|
* ContentManagement service.
|
|
8125
8126
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8126
|
-
* @version
|
|
8127
|
+
* @version 145.0.0
|
|
8127
8128
|
*/
|
|
8128
8129
|
|
|
8129
8130
|
/**
|
|
@@ -9263,7 +9264,7 @@ class ConversationsApi {
|
|
|
9263
9264
|
/**
|
|
9264
9265
|
* Conversations service.
|
|
9265
9266
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9266
|
-
* @version
|
|
9267
|
+
* @version 145.0.0
|
|
9267
9268
|
*/
|
|
9268
9269
|
|
|
9269
9270
|
/**
|
|
@@ -9856,6 +9857,31 @@ class ConversationsApi {
|
|
|
9856
9857
|
);
|
|
9857
9858
|
}
|
|
9858
9859
|
|
|
9860
|
+
/**
|
|
9861
|
+
* Get the secure attributes on a conversation.
|
|
9862
|
+
*
|
|
9863
|
+
* @param {String} conversationId conversation ID
|
|
9864
|
+
*/
|
|
9865
|
+
getConversationSecureattributes(conversationId) {
|
|
9866
|
+
// verify the required parameter 'conversationId' is set
|
|
9867
|
+
if (conversationId === undefined || conversationId === null) {
|
|
9868
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSecureattributes';
|
|
9869
|
+
}
|
|
9870
|
+
|
|
9871
|
+
return this.apiClient.callApi(
|
|
9872
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
9873
|
+
'GET',
|
|
9874
|
+
{ 'conversationId': conversationId },
|
|
9875
|
+
{ },
|
|
9876
|
+
{ },
|
|
9877
|
+
{ },
|
|
9878
|
+
null,
|
|
9879
|
+
['PureCloud OAuth'],
|
|
9880
|
+
['application/json'],
|
|
9881
|
+
['application/json']
|
|
9882
|
+
);
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9859
9885
|
/**
|
|
9860
9886
|
* Get active conversations for the logged in user
|
|
9861
9887
|
*
|
|
@@ -10639,6 +10665,51 @@ class ConversationsApi {
|
|
|
10639
10665
|
);
|
|
10640
10666
|
}
|
|
10641
10667
|
|
|
10668
|
+
/**
|
|
10669
|
+
* Get the encryption key configurations
|
|
10670
|
+
*
|
|
10671
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
10672
|
+
*/
|
|
10673
|
+
getConversationsKeyconfiguration(keyconfigurationsId) {
|
|
10674
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
10675
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
10676
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
return this.apiClient.callApi(
|
|
10680
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
10681
|
+
'GET',
|
|
10682
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
10683
|
+
{ },
|
|
10684
|
+
{ },
|
|
10685
|
+
{ },
|
|
10686
|
+
null,
|
|
10687
|
+
['PureCloud OAuth'],
|
|
10688
|
+
['application/json'],
|
|
10689
|
+
['application/json']
|
|
10690
|
+
);
|
|
10691
|
+
}
|
|
10692
|
+
|
|
10693
|
+
/**
|
|
10694
|
+
* Get a list of key configurations data
|
|
10695
|
+
*
|
|
10696
|
+
*/
|
|
10697
|
+
getConversationsKeyconfigurations() {
|
|
10698
|
+
|
|
10699
|
+
return this.apiClient.callApi(
|
|
10700
|
+
'/api/v2/conversations/keyconfigurations',
|
|
10701
|
+
'GET',
|
|
10702
|
+
{ },
|
|
10703
|
+
{ },
|
|
10704
|
+
{ },
|
|
10705
|
+
{ },
|
|
10706
|
+
null,
|
|
10707
|
+
['PureCloud OAuth'],
|
|
10708
|
+
['application/json'],
|
|
10709
|
+
['application/json']
|
|
10710
|
+
);
|
|
10711
|
+
}
|
|
10712
|
+
|
|
10642
10713
|
/**
|
|
10643
10714
|
* Get message conversation
|
|
10644
10715
|
*
|
|
@@ -11355,6 +11426,36 @@ class ConversationsApi {
|
|
|
11355
11426
|
);
|
|
11356
11427
|
}
|
|
11357
11428
|
|
|
11429
|
+
/**
|
|
11430
|
+
* Update the secure attributes on a conversation.
|
|
11431
|
+
*
|
|
11432
|
+
* @param {String} conversationId conversation ID
|
|
11433
|
+
* @param {Object} body Conversation Secure Attributes
|
|
11434
|
+
*/
|
|
11435
|
+
patchConversationSecureattributes(conversationId, body) {
|
|
11436
|
+
// verify the required parameter 'conversationId' is set
|
|
11437
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11438
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';
|
|
11439
|
+
}
|
|
11440
|
+
// verify the required parameter 'body' is set
|
|
11441
|
+
if (body === undefined || body === null) {
|
|
11442
|
+
throw 'Missing the required parameter "body" when calling patchConversationSecureattributes';
|
|
11443
|
+
}
|
|
11444
|
+
|
|
11445
|
+
return this.apiClient.callApi(
|
|
11446
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
11447
|
+
'PATCH',
|
|
11448
|
+
{ 'conversationId': conversationId },
|
|
11449
|
+
{ },
|
|
11450
|
+
{ },
|
|
11451
|
+
{ },
|
|
11452
|
+
body,
|
|
11453
|
+
['PureCloud OAuth'],
|
|
11454
|
+
['application/json'],
|
|
11455
|
+
['application/json']
|
|
11456
|
+
);
|
|
11457
|
+
}
|
|
11458
|
+
|
|
11358
11459
|
/**
|
|
11359
11460
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
11360
11461
|
*
|
|
@@ -13357,6 +13458,56 @@ class ConversationsApi {
|
|
|
13357
13458
|
);
|
|
13358
13459
|
}
|
|
13359
13460
|
|
|
13461
|
+
/**
|
|
13462
|
+
* Setup configurations for encryption key creation
|
|
13463
|
+
*
|
|
13464
|
+
* @param {Object} body Encryption Configuration
|
|
13465
|
+
*/
|
|
13466
|
+
postConversationsKeyconfigurations(body) {
|
|
13467
|
+
// verify the required parameter 'body' is set
|
|
13468
|
+
if (body === undefined || body === null) {
|
|
13469
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurations';
|
|
13470
|
+
}
|
|
13471
|
+
|
|
13472
|
+
return this.apiClient.callApi(
|
|
13473
|
+
'/api/v2/conversations/keyconfigurations',
|
|
13474
|
+
'POST',
|
|
13475
|
+
{ },
|
|
13476
|
+
{ },
|
|
13477
|
+
{ },
|
|
13478
|
+
{ },
|
|
13479
|
+
body,
|
|
13480
|
+
['PureCloud OAuth'],
|
|
13481
|
+
['application/json'],
|
|
13482
|
+
['application/json']
|
|
13483
|
+
);
|
|
13484
|
+
}
|
|
13485
|
+
|
|
13486
|
+
/**
|
|
13487
|
+
* Validate encryption key configurations without saving it
|
|
13488
|
+
*
|
|
13489
|
+
* @param {Object} body Encryption Configuration
|
|
13490
|
+
*/
|
|
13491
|
+
postConversationsKeyconfigurationsValidate(body) {
|
|
13492
|
+
// verify the required parameter 'body' is set
|
|
13493
|
+
if (body === undefined || body === null) {
|
|
13494
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';
|
|
13495
|
+
}
|
|
13496
|
+
|
|
13497
|
+
return this.apiClient.callApi(
|
|
13498
|
+
'/api/v2/conversations/keyconfigurations/validate',
|
|
13499
|
+
'POST',
|
|
13500
|
+
{ },
|
|
13501
|
+
{ },
|
|
13502
|
+
{ },
|
|
13503
|
+
{ },
|
|
13504
|
+
body,
|
|
13505
|
+
['PureCloud OAuth'],
|
|
13506
|
+
['application/json'],
|
|
13507
|
+
['application/json']
|
|
13508
|
+
);
|
|
13509
|
+
}
|
|
13510
|
+
|
|
13360
13511
|
/**
|
|
13361
13512
|
* Send message
|
|
13362
13513
|
* 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.
|
|
@@ -13741,6 +13892,36 @@ class ConversationsApi {
|
|
|
13741
13892
|
);
|
|
13742
13893
|
}
|
|
13743
13894
|
|
|
13895
|
+
/**
|
|
13896
|
+
* Set the secure attributes on a conversation.
|
|
13897
|
+
*
|
|
13898
|
+
* @param {String} conversationId conversation ID
|
|
13899
|
+
* @param {Object} body Conversation Secure Attributes
|
|
13900
|
+
*/
|
|
13901
|
+
putConversationSecureattributes(conversationId, body) {
|
|
13902
|
+
// verify the required parameter 'conversationId' is set
|
|
13903
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13904
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationSecureattributes';
|
|
13905
|
+
}
|
|
13906
|
+
// verify the required parameter 'body' is set
|
|
13907
|
+
if (body === undefined || body === null) {
|
|
13908
|
+
throw 'Missing the required parameter "body" when calling putConversationSecureattributes';
|
|
13909
|
+
}
|
|
13910
|
+
|
|
13911
|
+
return this.apiClient.callApi(
|
|
13912
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
13913
|
+
'PUT',
|
|
13914
|
+
{ 'conversationId': conversationId },
|
|
13915
|
+
{ },
|
|
13916
|
+
{ },
|
|
13917
|
+
{ },
|
|
13918
|
+
body,
|
|
13919
|
+
['PureCloud OAuth'],
|
|
13920
|
+
['application/json'],
|
|
13921
|
+
['application/json']
|
|
13922
|
+
);
|
|
13923
|
+
}
|
|
13924
|
+
|
|
13744
13925
|
/**
|
|
13745
13926
|
* Update the tags on a conversation.
|
|
13746
13927
|
*
|
|
@@ -13991,6 +14172,36 @@ class ConversationsApi {
|
|
|
13991
14172
|
);
|
|
13992
14173
|
}
|
|
13993
14174
|
|
|
14175
|
+
/**
|
|
14176
|
+
* Update the encryption key configurations
|
|
14177
|
+
*
|
|
14178
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
14179
|
+
* @param {Object} body Encryption key configuration metadata
|
|
14180
|
+
*/
|
|
14181
|
+
putConversationsKeyconfiguration(keyconfigurationsId, body) {
|
|
14182
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
14183
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
14184
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';
|
|
14185
|
+
}
|
|
14186
|
+
// verify the required parameter 'body' is set
|
|
14187
|
+
if (body === undefined || body === null) {
|
|
14188
|
+
throw 'Missing the required parameter "body" when calling putConversationsKeyconfiguration';
|
|
14189
|
+
}
|
|
14190
|
+
|
|
14191
|
+
return this.apiClient.callApi(
|
|
14192
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
14193
|
+
'PUT',
|
|
14194
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
14195
|
+
{ },
|
|
14196
|
+
{ },
|
|
14197
|
+
{ },
|
|
14198
|
+
body,
|
|
14199
|
+
['PureCloud OAuth'],
|
|
14200
|
+
['application/json'],
|
|
14201
|
+
['application/json']
|
|
14202
|
+
);
|
|
14203
|
+
}
|
|
14204
|
+
|
|
13994
14205
|
/**
|
|
13995
14206
|
* Update a conversation by setting its recording state
|
|
13996
14207
|
*
|
|
@@ -14197,7 +14408,7 @@ class DataExtensionsApi {
|
|
|
14197
14408
|
/**
|
|
14198
14409
|
* DataExtensions service.
|
|
14199
14410
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14200
|
-
* @version
|
|
14411
|
+
* @version 145.0.0
|
|
14201
14412
|
*/
|
|
14202
14413
|
|
|
14203
14414
|
/**
|
|
@@ -14283,7 +14494,7 @@ class ExternalContactsApi {
|
|
|
14283
14494
|
/**
|
|
14284
14495
|
* ExternalContacts service.
|
|
14285
14496
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14286
|
-
* @version
|
|
14497
|
+
* @version 145.0.0
|
|
14287
14498
|
*/
|
|
14288
14499
|
|
|
14289
14500
|
/**
|
|
@@ -16026,7 +16237,7 @@ class FaxApi {
|
|
|
16026
16237
|
/**
|
|
16027
16238
|
* Fax service.
|
|
16028
16239
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16029
|
-
* @version
|
|
16240
|
+
* @version 145.0.0
|
|
16030
16241
|
*/
|
|
16031
16242
|
|
|
16032
16243
|
/**
|
|
@@ -16197,7 +16408,7 @@ class FlowsApi {
|
|
|
16197
16408
|
/**
|
|
16198
16409
|
* Flows service.
|
|
16199
16410
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16200
|
-
* @version
|
|
16411
|
+
* @version 145.0.0
|
|
16201
16412
|
*/
|
|
16202
16413
|
|
|
16203
16414
|
/**
|
|
@@ -16268,7 +16479,7 @@ class GamificationApi {
|
|
|
16268
16479
|
/**
|
|
16269
16480
|
* Gamification service.
|
|
16270
16481
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16271
|
-
* @version
|
|
16482
|
+
* @version 145.0.0
|
|
16272
16483
|
*/
|
|
16273
16484
|
|
|
16274
16485
|
/**
|
|
@@ -16283,6 +16494,81 @@ class GamificationApi {
|
|
|
16283
16494
|
}
|
|
16284
16495
|
|
|
16285
16496
|
|
|
16497
|
+
/**
|
|
16498
|
+
* Delete an External Metric Definition
|
|
16499
|
+
*
|
|
16500
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16501
|
+
*/
|
|
16502
|
+
deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16503
|
+
// verify the required parameter 'metricId' is set
|
|
16504
|
+
if (metricId === undefined || metricId === null) {
|
|
16505
|
+
throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
|
|
16506
|
+
}
|
|
16507
|
+
|
|
16508
|
+
return this.apiClient.callApi(
|
|
16509
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16510
|
+
'DELETE',
|
|
16511
|
+
{ 'metricId': metricId },
|
|
16512
|
+
{ },
|
|
16513
|
+
{ },
|
|
16514
|
+
{ },
|
|
16515
|
+
null,
|
|
16516
|
+
['PureCloud OAuth'],
|
|
16517
|
+
['application/json'],
|
|
16518
|
+
['application/json']
|
|
16519
|
+
);
|
|
16520
|
+
}
|
|
16521
|
+
|
|
16522
|
+
/**
|
|
16523
|
+
* Get an External Metric Definition
|
|
16524
|
+
*
|
|
16525
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16526
|
+
*/
|
|
16527
|
+
getEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16528
|
+
// verify the required parameter 'metricId' is set
|
|
16529
|
+
if (metricId === undefined || metricId === null) {
|
|
16530
|
+
throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
|
|
16531
|
+
}
|
|
16532
|
+
|
|
16533
|
+
return this.apiClient.callApi(
|
|
16534
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16535
|
+
'GET',
|
|
16536
|
+
{ 'metricId': metricId },
|
|
16537
|
+
{ },
|
|
16538
|
+
{ },
|
|
16539
|
+
{ },
|
|
16540
|
+
null,
|
|
16541
|
+
['PureCloud OAuth'],
|
|
16542
|
+
['application/json'],
|
|
16543
|
+
['application/json']
|
|
16544
|
+
);
|
|
16545
|
+
}
|
|
16546
|
+
|
|
16547
|
+
/**
|
|
16548
|
+
* Get a list of External Metric Definitions of an organization, sorted by name in ascending order
|
|
16549
|
+
*
|
|
16550
|
+
* @param {Object} opts Optional parameters
|
|
16551
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16552
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16553
|
+
*/
|
|
16554
|
+
getEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
16555
|
+
opts = opts || {};
|
|
16556
|
+
|
|
16557
|
+
|
|
16558
|
+
return this.apiClient.callApi(
|
|
16559
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
16560
|
+
'GET',
|
|
16561
|
+
{ },
|
|
16562
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
16563
|
+
{ },
|
|
16564
|
+
{ },
|
|
16565
|
+
null,
|
|
16566
|
+
['PureCloud OAuth'],
|
|
16567
|
+
['application/json'],
|
|
16568
|
+
['application/json']
|
|
16569
|
+
);
|
|
16570
|
+
}
|
|
16571
|
+
|
|
16286
16572
|
/**
|
|
16287
16573
|
* Leaderboard of the requesting user's division or performance profile
|
|
16288
16574
|
*
|
|
@@ -16947,14 +17233,14 @@ class GamificationApi {
|
|
|
16947
17233
|
* @param {String} profileId performanceProfileId
|
|
16948
17234
|
* @param {String} metricId metricId
|
|
16949
17235
|
* @param {Object} filterType Filter type for the query request.
|
|
16950
|
-
* @param {String} filterId ID for the filter type. For example, division Id
|
|
16951
17236
|
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16952
17237
|
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16953
17238
|
* @param {Object} opts Optional parameters
|
|
17239
|
+
* @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
|
|
16954
17240
|
* @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
|
|
16955
17241
|
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
16956
17242
|
*/
|
|
16957
|
-
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType,
|
|
17243
|
+
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
|
|
16958
17244
|
opts = opts || {};
|
|
16959
17245
|
|
|
16960
17246
|
// verify the required parameter 'profileId' is set
|
|
@@ -16969,10 +17255,6 @@ class GamificationApi {
|
|
|
16969
17255
|
if (filterType === undefined || filterType === null) {
|
|
16970
17256
|
throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16971
17257
|
}
|
|
16972
|
-
// verify the required parameter 'filterId' is set
|
|
16973
|
-
if (filterId === undefined || filterId === null) {
|
|
16974
|
-
throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16975
|
-
}
|
|
16976
17258
|
// verify the required parameter 'startWorkday' is set
|
|
16977
17259
|
if (startWorkday === undefined || startWorkday === null) {
|
|
16978
17260
|
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
@@ -16986,7 +17268,7 @@ class GamificationApi {
|
|
|
16986
17268
|
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
|
|
16987
17269
|
'GET',
|
|
16988
17270
|
{ 'profileId': profileId,'metricId': metricId },
|
|
16989
|
-
{ 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
17271
|
+
{ 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
16990
17272
|
{ },
|
|
16991
17273
|
{ },
|
|
16992
17274
|
null,
|
|
@@ -17492,6 +17774,84 @@ class GamificationApi {
|
|
|
17492
17774
|
);
|
|
17493
17775
|
}
|
|
17494
17776
|
|
|
17777
|
+
/**
|
|
17778
|
+
* Update External Metric Definition
|
|
17779
|
+
*
|
|
17780
|
+
* @param {String} metricId Specifies the metric definition ID
|
|
17781
|
+
* @param {Object} body The External Metric Definition parameters to be updated
|
|
17782
|
+
*/
|
|
17783
|
+
patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
|
|
17784
|
+
// verify the required parameter 'metricId' is set
|
|
17785
|
+
if (metricId === undefined || metricId === null) {
|
|
17786
|
+
throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17787
|
+
}
|
|
17788
|
+
// verify the required parameter 'body' is set
|
|
17789
|
+
if (body === undefined || body === null) {
|
|
17790
|
+
throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17791
|
+
}
|
|
17792
|
+
|
|
17793
|
+
return this.apiClient.callApi(
|
|
17794
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
17795
|
+
'PATCH',
|
|
17796
|
+
{ 'metricId': metricId },
|
|
17797
|
+
{ },
|
|
17798
|
+
{ },
|
|
17799
|
+
{ },
|
|
17800
|
+
body,
|
|
17801
|
+
['PureCloud OAuth'],
|
|
17802
|
+
['application/json'],
|
|
17803
|
+
['application/json']
|
|
17804
|
+
);
|
|
17805
|
+
}
|
|
17806
|
+
|
|
17807
|
+
/**
|
|
17808
|
+
* Write External Metric Data
|
|
17809
|
+
*
|
|
17810
|
+
* @param {Object} opts Optional parameters
|
|
17811
|
+
* @param {Object} opts.body The External Metric Data to be added
|
|
17812
|
+
*/
|
|
17813
|
+
postEmployeeperformanceExternalmetricsData(opts) {
|
|
17814
|
+
opts = opts || {};
|
|
17815
|
+
|
|
17816
|
+
|
|
17817
|
+
return this.apiClient.callApi(
|
|
17818
|
+
'/api/v2/employeeperformance/externalmetrics/data',
|
|
17819
|
+
'POST',
|
|
17820
|
+
{ },
|
|
17821
|
+
{ },
|
|
17822
|
+
{ },
|
|
17823
|
+
{ },
|
|
17824
|
+
opts['body'],
|
|
17825
|
+
['PureCloud OAuth'],
|
|
17826
|
+
['application/json'],
|
|
17827
|
+
['application/json']
|
|
17828
|
+
);
|
|
17829
|
+
}
|
|
17830
|
+
|
|
17831
|
+
/**
|
|
17832
|
+
* Create External Metric Definition
|
|
17833
|
+
*
|
|
17834
|
+
* @param {Object} opts Optional parameters
|
|
17835
|
+
* @param {Object} opts.body The External Metric Definition to be created
|
|
17836
|
+
*/
|
|
17837
|
+
postEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
17838
|
+
opts = opts || {};
|
|
17839
|
+
|
|
17840
|
+
|
|
17841
|
+
return this.apiClient.callApi(
|
|
17842
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
17843
|
+
'POST',
|
|
17844
|
+
{ },
|
|
17845
|
+
{ },
|
|
17846
|
+
{ },
|
|
17847
|
+
{ },
|
|
17848
|
+
opts['body'],
|
|
17849
|
+
['PureCloud OAuth'],
|
|
17850
|
+
['application/json'],
|
|
17851
|
+
['application/json']
|
|
17852
|
+
);
|
|
17853
|
+
}
|
|
17854
|
+
|
|
17495
17855
|
/**
|
|
17496
17856
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
17497
17857
|
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
@@ -17850,7 +18210,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
17850
18210
|
/**
|
|
17851
18211
|
* GeneralDataProtectionRegulation service.
|
|
17852
18212
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17853
|
-
* @version
|
|
18213
|
+
* @version 145.0.0
|
|
17854
18214
|
*/
|
|
17855
18215
|
|
|
17856
18216
|
/**
|
|
@@ -17980,7 +18340,7 @@ class GeolocationApi {
|
|
|
17980
18340
|
/**
|
|
17981
18341
|
* Geolocation service.
|
|
17982
18342
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17983
|
-
* @version
|
|
18343
|
+
* @version 145.0.0
|
|
17984
18344
|
*/
|
|
17985
18345
|
|
|
17986
18346
|
/**
|
|
@@ -18111,7 +18471,7 @@ class GreetingsApi {
|
|
|
18111
18471
|
/**
|
|
18112
18472
|
* Greetings service.
|
|
18113
18473
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18114
|
-
* @version
|
|
18474
|
+
* @version 145.0.0
|
|
18115
18475
|
*/
|
|
18116
18476
|
|
|
18117
18477
|
/**
|
|
@@ -18566,7 +18926,7 @@ class GroupsApi {
|
|
|
18566
18926
|
/**
|
|
18567
18927
|
* Groups service.
|
|
18568
18928
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18569
|
-
* @version
|
|
18929
|
+
* @version 145.0.0
|
|
18570
18930
|
*/
|
|
18571
18931
|
|
|
18572
18932
|
/**
|
|
@@ -18971,7 +19331,7 @@ class IdentityProviderApi {
|
|
|
18971
19331
|
/**
|
|
18972
19332
|
* IdentityProvider service.
|
|
18973
19333
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18974
|
-
* @version
|
|
19334
|
+
* @version 145.0.0
|
|
18975
19335
|
*/
|
|
18976
19336
|
|
|
18977
19337
|
/**
|
|
@@ -19727,7 +20087,7 @@ class IntegrationsApi {
|
|
|
19727
20087
|
/**
|
|
19728
20088
|
* Integrations service.
|
|
19729
20089
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19730
|
-
* @version
|
|
20090
|
+
* @version 145.0.0
|
|
19731
20091
|
*/
|
|
19732
20092
|
|
|
19733
20093
|
/**
|
|
@@ -21404,7 +21764,7 @@ class JourneyApi {
|
|
|
21404
21764
|
/**
|
|
21405
21765
|
* Journey service.
|
|
21406
21766
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21407
|
-
* @version
|
|
21767
|
+
* @version 145.0.0
|
|
21408
21768
|
*/
|
|
21409
21769
|
|
|
21410
21770
|
/**
|
|
@@ -22115,7 +22475,7 @@ class KnowledgeApi {
|
|
|
22115
22475
|
/**
|
|
22116
22476
|
* Knowledge service.
|
|
22117
22477
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22118
|
-
* @version
|
|
22478
|
+
* @version 145.0.0
|
|
22119
22479
|
*/
|
|
22120
22480
|
|
|
22121
22481
|
/**
|
|
@@ -23015,7 +23375,7 @@ class LanguageUnderstandingApi {
|
|
|
23015
23375
|
/**
|
|
23016
23376
|
* LanguageUnderstanding service.
|
|
23017
23377
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
23018
|
-
* @version
|
|
23378
|
+
* @version 145.0.0
|
|
23019
23379
|
*/
|
|
23020
23380
|
|
|
23021
23381
|
/**
|
|
@@ -23919,7 +24279,7 @@ class LanguagesApi {
|
|
|
23919
24279
|
/**
|
|
23920
24280
|
* Languages service.
|
|
23921
24281
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23922
|
-
* @version
|
|
24282
|
+
* @version 145.0.0
|
|
23923
24283
|
*/
|
|
23924
24284
|
|
|
23925
24285
|
/**
|
|
@@ -24187,7 +24547,7 @@ class LearningApi {
|
|
|
24187
24547
|
/**
|
|
24188
24548
|
* Learning service.
|
|
24189
24549
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
24190
|
-
* @version
|
|
24550
|
+
* @version 145.0.0
|
|
24191
24551
|
*/
|
|
24192
24552
|
|
|
24193
24553
|
/**
|
|
@@ -24540,6 +24900,31 @@ class LearningApi {
|
|
|
24540
24900
|
);
|
|
24541
24901
|
}
|
|
24542
24902
|
|
|
24903
|
+
/**
|
|
24904
|
+
* Get a specific Learning Module cover art using ID
|
|
24905
|
+
*
|
|
24906
|
+
* @param {String} coverArtId Key identifier for the cover art
|
|
24907
|
+
*/
|
|
24908
|
+
getLearningModulesCoverartCoverArtId(coverArtId) {
|
|
24909
|
+
// verify the required parameter 'coverArtId' is set
|
|
24910
|
+
if (coverArtId === undefined || coverArtId === null) {
|
|
24911
|
+
throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
|
|
24912
|
+
}
|
|
24913
|
+
|
|
24914
|
+
return this.apiClient.callApi(
|
|
24915
|
+
'/api/v2/learning/modules/coverart/{coverArtId}',
|
|
24916
|
+
'GET',
|
|
24917
|
+
{ 'coverArtId': coverArtId },
|
|
24918
|
+
{ },
|
|
24919
|
+
{ },
|
|
24920
|
+
{ },
|
|
24921
|
+
null,
|
|
24922
|
+
['PureCloud OAuth'],
|
|
24923
|
+
['application/json'],
|
|
24924
|
+
['application/json']
|
|
24925
|
+
);
|
|
24926
|
+
}
|
|
24927
|
+
|
|
24543
24928
|
/**
|
|
24544
24929
|
* Update Learning Assignment
|
|
24545
24930
|
*
|
|
@@ -24922,7 +25307,7 @@ class LicenseApi {
|
|
|
24922
25307
|
/**
|
|
24923
25308
|
* License service.
|
|
24924
25309
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24925
|
-
* @version
|
|
25310
|
+
* @version 145.0.0
|
|
24926
25311
|
*/
|
|
24927
25312
|
|
|
24928
25313
|
/**
|
|
@@ -25160,7 +25545,7 @@ class LocationsApi {
|
|
|
25160
25545
|
/**
|
|
25161
25546
|
* Locations service.
|
|
25162
25547
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
25163
|
-
* @version
|
|
25548
|
+
* @version 145.0.0
|
|
25164
25549
|
*/
|
|
25165
25550
|
|
|
25166
25551
|
/**
|
|
@@ -25396,7 +25781,7 @@ class MessagingApi {
|
|
|
25396
25781
|
/**
|
|
25397
25782
|
* Messaging service.
|
|
25398
25783
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
25399
|
-
* @version
|
|
25784
|
+
* @version 145.0.0
|
|
25400
25785
|
*/
|
|
25401
25786
|
|
|
25402
25787
|
/**
|
|
@@ -25547,7 +25932,7 @@ class MobileDevicesApi {
|
|
|
25547
25932
|
/**
|
|
25548
25933
|
* MobileDevices service.
|
|
25549
25934
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
25550
|
-
* @version
|
|
25935
|
+
* @version 145.0.0
|
|
25551
25936
|
*/
|
|
25552
25937
|
|
|
25553
25938
|
/**
|
|
@@ -25698,7 +26083,7 @@ class NotificationsApi {
|
|
|
25698
26083
|
/**
|
|
25699
26084
|
* Notifications service.
|
|
25700
26085
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
25701
|
-
* @version
|
|
26086
|
+
* @version 145.0.0
|
|
25702
26087
|
*/
|
|
25703
26088
|
|
|
25704
26089
|
/**
|
|
@@ -25923,7 +26308,7 @@ class OAuthApi {
|
|
|
25923
26308
|
/**
|
|
25924
26309
|
* OAuth service.
|
|
25925
26310
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25926
|
-
* @version
|
|
26311
|
+
* @version 145.0.0
|
|
25927
26312
|
*/
|
|
25928
26313
|
|
|
25929
26314
|
/**
|
|
@@ -26289,7 +26674,7 @@ class ObjectsApi {
|
|
|
26289
26674
|
/**
|
|
26290
26675
|
* Objects service.
|
|
26291
26676
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26292
|
-
* @version
|
|
26677
|
+
* @version 145.0.0
|
|
26293
26678
|
*/
|
|
26294
26679
|
|
|
26295
26680
|
/**
|
|
@@ -26560,7 +26945,7 @@ class OrganizationApi {
|
|
|
26560
26945
|
/**
|
|
26561
26946
|
* Organization service.
|
|
26562
26947
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
26563
|
-
* @version
|
|
26948
|
+
* @version 145.0.0
|
|
26564
26949
|
*/
|
|
26565
26950
|
|
|
26566
26951
|
/**
|
|
@@ -26963,7 +27348,7 @@ class OrganizationAuthorizationApi {
|
|
|
26963
27348
|
/**
|
|
26964
27349
|
* OrganizationAuthorization service.
|
|
26965
27350
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26966
|
-
* @version
|
|
27351
|
+
* @version 145.0.0
|
|
26967
27352
|
*/
|
|
26968
27353
|
|
|
26969
27354
|
/**
|
|
@@ -27888,7 +28273,7 @@ class OutboundApi {
|
|
|
27888
28273
|
/**
|
|
27889
28274
|
* Outbound service.
|
|
27890
28275
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27891
|
-
* @version
|
|
28276
|
+
* @version 145.0.0
|
|
27892
28277
|
*/
|
|
27893
28278
|
|
|
27894
28279
|
/**
|
|
@@ -31143,7 +31528,7 @@ class PresenceApi {
|
|
|
31143
31528
|
/**
|
|
31144
31529
|
* Presence service.
|
|
31145
31530
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31146
|
-
* @version
|
|
31531
|
+
* @version 145.0.0
|
|
31147
31532
|
*/
|
|
31148
31533
|
|
|
31149
31534
|
/**
|
|
@@ -31465,7 +31850,7 @@ class QualityApi {
|
|
|
31465
31850
|
/**
|
|
31466
31851
|
* Quality service.
|
|
31467
31852
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31468
|
-
* @version
|
|
31853
|
+
* @version 145.0.0
|
|
31469
31854
|
*/
|
|
31470
31855
|
|
|
31471
31856
|
/**
|
|
@@ -33043,7 +33428,7 @@ class RecordingApi {
|
|
|
33043
33428
|
/**
|
|
33044
33429
|
* Recording service.
|
|
33045
33430
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33046
|
-
* @version
|
|
33431
|
+
* @version 145.0.0
|
|
33047
33432
|
*/
|
|
33048
33433
|
|
|
33049
33434
|
/**
|
|
@@ -34696,7 +35081,7 @@ class ResponseManagementApi {
|
|
|
34696
35081
|
/**
|
|
34697
35082
|
* ResponseManagement service.
|
|
34698
35083
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34699
|
-
* @version
|
|
35084
|
+
* @version 145.0.0
|
|
34700
35085
|
*/
|
|
34701
35086
|
|
|
34702
35087
|
/**
|
|
@@ -35180,7 +35565,7 @@ class RoutingApi {
|
|
|
35180
35565
|
/**
|
|
35181
35566
|
* Routing service.
|
|
35182
35567
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35183
|
-
* @version
|
|
35568
|
+
* @version 145.0.0
|
|
35184
35569
|
*/
|
|
35185
35570
|
|
|
35186
35571
|
/**
|
|
@@ -35746,6 +36131,26 @@ class RoutingApi {
|
|
|
35746
36131
|
);
|
|
35747
36132
|
}
|
|
35748
36133
|
|
|
36134
|
+
/**
|
|
36135
|
+
* Get available media types
|
|
36136
|
+
*
|
|
36137
|
+
*/
|
|
36138
|
+
getRoutingAvailablemediatypes() {
|
|
36139
|
+
|
|
36140
|
+
return this.apiClient.callApi(
|
|
36141
|
+
'/api/v2/routing/availablemediatypes',
|
|
36142
|
+
'GET',
|
|
36143
|
+
{ },
|
|
36144
|
+
{ },
|
|
36145
|
+
{ },
|
|
36146
|
+
{ },
|
|
36147
|
+
null,
|
|
36148
|
+
['PureCloud OAuth'],
|
|
36149
|
+
['application/json'],
|
|
36150
|
+
['application/json']
|
|
36151
|
+
);
|
|
36152
|
+
}
|
|
36153
|
+
|
|
35749
36154
|
/**
|
|
35750
36155
|
* Get domain
|
|
35751
36156
|
*
|
|
@@ -38101,7 +38506,7 @@ class SCIMApi {
|
|
|
38101
38506
|
/**
|
|
38102
38507
|
* SCIM service.
|
|
38103
38508
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38104
|
-
* @version
|
|
38509
|
+
* @version 145.0.0
|
|
38105
38510
|
*/
|
|
38106
38511
|
|
|
38107
38512
|
/**
|
|
@@ -38978,7 +39383,7 @@ class ScriptsApi {
|
|
|
38978
39383
|
/**
|
|
38979
39384
|
* Scripts service.
|
|
38980
39385
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
38981
|
-
* @version
|
|
39386
|
+
* @version 145.0.0
|
|
38982
39387
|
*/
|
|
38983
39388
|
|
|
38984
39389
|
/**
|
|
@@ -39397,7 +39802,7 @@ class SearchApi {
|
|
|
39397
39802
|
/**
|
|
39398
39803
|
* Search service.
|
|
39399
39804
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39400
|
-
* @version
|
|
39805
|
+
* @version 145.0.0
|
|
39401
39806
|
*/
|
|
39402
39807
|
|
|
39403
39808
|
/**
|
|
@@ -39957,7 +40362,7 @@ class SpeechTextAnalyticsApi {
|
|
|
39957
40362
|
/**
|
|
39958
40363
|
* SpeechTextAnalytics service.
|
|
39959
40364
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39960
|
-
* @version
|
|
40365
|
+
* @version 145.0.0
|
|
39961
40366
|
*/
|
|
39962
40367
|
|
|
39963
40368
|
/**
|
|
@@ -40811,7 +41216,7 @@ class StationsApi {
|
|
|
40811
41216
|
/**
|
|
40812
41217
|
* Stations service.
|
|
40813
41218
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40814
|
-
* @version
|
|
41219
|
+
* @version 145.0.0
|
|
40815
41220
|
*/
|
|
40816
41221
|
|
|
40817
41222
|
/**
|
|
@@ -40958,7 +41363,7 @@ class SuggestApi {
|
|
|
40958
41363
|
/**
|
|
40959
41364
|
* Suggest service.
|
|
40960
41365
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40961
|
-
* @version
|
|
41366
|
+
* @version 145.0.0
|
|
40962
41367
|
*/
|
|
40963
41368
|
|
|
40964
41369
|
/**
|
|
@@ -41097,7 +41502,7 @@ class TeamsApi {
|
|
|
41097
41502
|
/**
|
|
41098
41503
|
* Teams service.
|
|
41099
41504
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
41100
|
-
* @version
|
|
41505
|
+
* @version 145.0.0
|
|
41101
41506
|
*/
|
|
41102
41507
|
|
|
41103
41508
|
/**
|
|
@@ -41276,7 +41681,7 @@ class TelephonyApi {
|
|
|
41276
41681
|
/**
|
|
41277
41682
|
* Telephony service.
|
|
41278
41683
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41279
|
-
* @version
|
|
41684
|
+
* @version 145.0.0
|
|
41280
41685
|
*/
|
|
41281
41686
|
|
|
41282
41687
|
/**
|
|
@@ -41384,7 +41789,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
41384
41789
|
/**
|
|
41385
41790
|
* TelephonyProvidersEdge service.
|
|
41386
41791
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41387
|
-
* @version
|
|
41792
|
+
* @version 145.0.0
|
|
41388
41793
|
*/
|
|
41389
41794
|
|
|
41390
41795
|
/**
|
|
@@ -45017,7 +45422,7 @@ class TextbotsApi {
|
|
|
45017
45422
|
/**
|
|
45018
45423
|
* Textbots service.
|
|
45019
45424
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
45020
|
-
* @version
|
|
45425
|
+
* @version 145.0.0
|
|
45021
45426
|
*/
|
|
45022
45427
|
|
|
45023
45428
|
/**
|
|
@@ -45145,7 +45550,7 @@ class TokensApi {
|
|
|
45145
45550
|
/**
|
|
45146
45551
|
* Tokens service.
|
|
45147
45552
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
45148
|
-
* @version
|
|
45553
|
+
* @version 145.0.0
|
|
45149
45554
|
*/
|
|
45150
45555
|
|
|
45151
45556
|
/**
|
|
@@ -45251,7 +45656,7 @@ class UploadsApi {
|
|
|
45251
45656
|
/**
|
|
45252
45657
|
* Uploads service.
|
|
45253
45658
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
45254
|
-
* @version
|
|
45659
|
+
* @version 145.0.0
|
|
45255
45660
|
*/
|
|
45256
45661
|
|
|
45257
45662
|
/**
|
|
@@ -45321,6 +45726,31 @@ class UploadsApi {
|
|
|
45321
45726
|
);
|
|
45322
45727
|
}
|
|
45323
45728
|
|
|
45729
|
+
/**
|
|
45730
|
+
* Generates pre-signed URL to upload cover art for learning modules
|
|
45731
|
+
*
|
|
45732
|
+
* @param {Object} body query
|
|
45733
|
+
*/
|
|
45734
|
+
postUploadsLearningCoverart(body) {
|
|
45735
|
+
// verify the required parameter 'body' is set
|
|
45736
|
+
if (body === undefined || body === null) {
|
|
45737
|
+
throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
|
|
45738
|
+
}
|
|
45739
|
+
|
|
45740
|
+
return this.apiClient.callApi(
|
|
45741
|
+
'/api/v2/uploads/learning/coverart',
|
|
45742
|
+
'POST',
|
|
45743
|
+
{ },
|
|
45744
|
+
{ },
|
|
45745
|
+
{ },
|
|
45746
|
+
{ },
|
|
45747
|
+
body,
|
|
45748
|
+
['PureCloud OAuth'],
|
|
45749
|
+
['application/json'],
|
|
45750
|
+
['application/json']
|
|
45751
|
+
);
|
|
45752
|
+
}
|
|
45753
|
+
|
|
45324
45754
|
/**
|
|
45325
45755
|
* Creates presigned url for uploading a public asset image
|
|
45326
45756
|
*
|
|
@@ -45402,7 +45832,7 @@ class UsageApi {
|
|
|
45402
45832
|
/**
|
|
45403
45833
|
* Usage service.
|
|
45404
45834
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45405
|
-
* @version
|
|
45835
|
+
* @version 145.0.0
|
|
45406
45836
|
*/
|
|
45407
45837
|
|
|
45408
45838
|
/**
|
|
@@ -45473,7 +45903,7 @@ class UserRecordingsApi {
|
|
|
45473
45903
|
/**
|
|
45474
45904
|
* UserRecordings service.
|
|
45475
45905
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45476
|
-
* @version
|
|
45906
|
+
* @version 145.0.0
|
|
45477
45907
|
*/
|
|
45478
45908
|
|
|
45479
45909
|
/**
|
|
@@ -45657,7 +46087,7 @@ class UsersApi {
|
|
|
45657
46087
|
/**
|
|
45658
46088
|
* Users service.
|
|
45659
46089
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45660
|
-
* @version
|
|
46090
|
+
* @version 145.0.0
|
|
45661
46091
|
*/
|
|
45662
46092
|
|
|
45663
46093
|
/**
|
|
@@ -47959,7 +48389,7 @@ class UtilitiesApi {
|
|
|
47959
48389
|
/**
|
|
47960
48390
|
* Utilities service.
|
|
47961
48391
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47962
|
-
* @version
|
|
48392
|
+
* @version 145.0.0
|
|
47963
48393
|
*/
|
|
47964
48394
|
|
|
47965
48395
|
/**
|
|
@@ -48070,7 +48500,7 @@ class VoicemailApi {
|
|
|
48070
48500
|
/**
|
|
48071
48501
|
* Voicemail service.
|
|
48072
48502
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
48073
|
-
* @version
|
|
48503
|
+
* @version 145.0.0
|
|
48074
48504
|
*/
|
|
48075
48505
|
|
|
48076
48506
|
/**
|
|
@@ -48737,7 +49167,7 @@ class WebChatApi {
|
|
|
48737
49167
|
/**
|
|
48738
49168
|
* WebChat service.
|
|
48739
49169
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48740
|
-
* @version
|
|
49170
|
+
* @version 145.0.0
|
|
48741
49171
|
*/
|
|
48742
49172
|
|
|
48743
49173
|
/**
|
|
@@ -49281,7 +49711,7 @@ class WebDeploymentsApi {
|
|
|
49281
49711
|
/**
|
|
49282
49712
|
* WebDeployments service.
|
|
49283
49713
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49284
|
-
* @version
|
|
49714
|
+
* @version 145.0.0
|
|
49285
49715
|
*/
|
|
49286
49716
|
|
|
49287
49717
|
/**
|
|
@@ -49636,7 +50066,7 @@ class WebMessagingApi {
|
|
|
49636
50066
|
/**
|
|
49637
50067
|
* WebMessaging service.
|
|
49638
50068
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49639
|
-
* @version
|
|
50069
|
+
* @version 145.0.0
|
|
49640
50070
|
*/
|
|
49641
50071
|
|
|
49642
50072
|
/**
|
|
@@ -49682,7 +50112,7 @@ class WidgetsApi {
|
|
|
49682
50112
|
/**
|
|
49683
50113
|
* Widgets service.
|
|
49684
50114
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49685
|
-
* @version
|
|
50115
|
+
* @version 145.0.0
|
|
49686
50116
|
*/
|
|
49687
50117
|
|
|
49688
50118
|
/**
|
|
@@ -49828,7 +50258,7 @@ class WorkforceManagementApi {
|
|
|
49828
50258
|
/**
|
|
49829
50259
|
* WorkforceManagement service.
|
|
49830
50260
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49831
|
-
* @version
|
|
50261
|
+
* @version 145.0.0
|
|
49832
50262
|
*/
|
|
49833
50263
|
|
|
49834
50264
|
/**
|
|
@@ -54104,7 +54534,7 @@ class WorkforceManagementApi {
|
|
|
54104
54534
|
* </pre>
|
|
54105
54535
|
* </p>
|
|
54106
54536
|
* @module purecloud-platform-client-v2/index
|
|
54107
|
-
* @version
|
|
54537
|
+
* @version 145.0.0
|
|
54108
54538
|
*/
|
|
54109
54539
|
class platformClient {
|
|
54110
54540
|
constructor() {
|