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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -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
|
var global$1 = (typeof global !== "undefined" ? global :
|
|
@@ -2278,7 +2279,7 @@ class Configuration {
|
|
|
2278
2279
|
|
|
2279
2280
|
/**
|
|
2280
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2281
|
-
* @version
|
|
2282
|
+
* @version 145.0.0
|
|
2282
2283
|
*/
|
|
2283
2284
|
class ApiClient {
|
|
2284
2285
|
/**
|
|
@@ -3350,7 +3351,7 @@ class AlertingApi {
|
|
|
3350
3351
|
/**
|
|
3351
3352
|
* Alerting service.
|
|
3352
3353
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3353
|
-
* @version
|
|
3354
|
+
* @version 145.0.0
|
|
3354
3355
|
*/
|
|
3355
3356
|
|
|
3356
3357
|
/**
|
|
@@ -3664,7 +3665,7 @@ class AnalyticsApi {
|
|
|
3664
3665
|
/**
|
|
3665
3666
|
* Analytics service.
|
|
3666
3667
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3667
|
-
* @version
|
|
3668
|
+
* @version 145.0.0
|
|
3668
3669
|
*/
|
|
3669
3670
|
|
|
3670
3671
|
/**
|
|
@@ -4846,7 +4847,7 @@ class ArchitectApi {
|
|
|
4846
4847
|
/**
|
|
4847
4848
|
* Architect service.
|
|
4848
4849
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4849
|
-
* @version
|
|
4850
|
+
* @version 145.0.0
|
|
4850
4851
|
*/
|
|
4851
4852
|
|
|
4852
4853
|
/**
|
|
@@ -7891,7 +7892,7 @@ class AuditApi {
|
|
|
7891
7892
|
/**
|
|
7892
7893
|
* Audit service.
|
|
7893
7894
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7894
|
-
* @version
|
|
7895
|
+
* @version 145.0.0
|
|
7895
7896
|
*/
|
|
7896
7897
|
|
|
7897
7898
|
/**
|
|
@@ -8062,7 +8063,7 @@ class AuthorizationApi {
|
|
|
8062
8063
|
/**
|
|
8063
8064
|
* Authorization service.
|
|
8064
8065
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8065
|
-
* @version
|
|
8066
|
+
* @version 145.0.0
|
|
8066
8067
|
*/
|
|
8067
8068
|
|
|
8068
8069
|
/**
|
|
@@ -9245,7 +9246,7 @@ class BillingApi {
|
|
|
9245
9246
|
/**
|
|
9246
9247
|
* Billing service.
|
|
9247
9248
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9248
|
-
* @version
|
|
9249
|
+
* @version 145.0.0
|
|
9249
9250
|
*/
|
|
9250
9251
|
|
|
9251
9252
|
/**
|
|
@@ -9325,7 +9326,7 @@ class ChatApi {
|
|
|
9325
9326
|
/**
|
|
9326
9327
|
* Chat service.
|
|
9327
9328
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9328
|
-
* @version
|
|
9329
|
+
* @version 145.0.0
|
|
9329
9330
|
*/
|
|
9330
9331
|
|
|
9331
9332
|
/**
|
|
@@ -9416,7 +9417,7 @@ class CoachingApi {
|
|
|
9416
9417
|
/**
|
|
9417
9418
|
* Coaching service.
|
|
9418
9419
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9419
|
-
* @version
|
|
9420
|
+
* @version 145.0.0
|
|
9420
9421
|
*/
|
|
9421
9422
|
|
|
9422
9423
|
/**
|
|
@@ -9993,7 +9994,7 @@ class ContentManagementApi {
|
|
|
9993
9994
|
/**
|
|
9994
9995
|
* ContentManagement service.
|
|
9995
9996
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9996
|
-
* @version
|
|
9997
|
+
* @version 145.0.0
|
|
9997
9998
|
*/
|
|
9998
9999
|
|
|
9999
10000
|
/**
|
|
@@ -11133,7 +11134,7 @@ class ConversationsApi {
|
|
|
11133
11134
|
/**
|
|
11134
11135
|
* Conversations service.
|
|
11135
11136
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11136
|
-
* @version
|
|
11137
|
+
* @version 145.0.0
|
|
11137
11138
|
*/
|
|
11138
11139
|
|
|
11139
11140
|
/**
|
|
@@ -11726,6 +11727,31 @@ class ConversationsApi {
|
|
|
11726
11727
|
);
|
|
11727
11728
|
}
|
|
11728
11729
|
|
|
11730
|
+
/**
|
|
11731
|
+
* Get the secure attributes on a conversation.
|
|
11732
|
+
*
|
|
11733
|
+
* @param {String} conversationId conversation ID
|
|
11734
|
+
*/
|
|
11735
|
+
getConversationSecureattributes(conversationId) {
|
|
11736
|
+
// verify the required parameter 'conversationId' is set
|
|
11737
|
+
if (conversationId === undefined || conversationId === null) {
|
|
11738
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSecureattributes';
|
|
11739
|
+
}
|
|
11740
|
+
|
|
11741
|
+
return this.apiClient.callApi(
|
|
11742
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
11743
|
+
'GET',
|
|
11744
|
+
{ 'conversationId': conversationId },
|
|
11745
|
+
{ },
|
|
11746
|
+
{ },
|
|
11747
|
+
{ },
|
|
11748
|
+
null,
|
|
11749
|
+
['PureCloud OAuth'],
|
|
11750
|
+
['application/json'],
|
|
11751
|
+
['application/json']
|
|
11752
|
+
);
|
|
11753
|
+
}
|
|
11754
|
+
|
|
11729
11755
|
/**
|
|
11730
11756
|
* Get active conversations for the logged in user
|
|
11731
11757
|
*
|
|
@@ -12509,6 +12535,51 @@ class ConversationsApi {
|
|
|
12509
12535
|
);
|
|
12510
12536
|
}
|
|
12511
12537
|
|
|
12538
|
+
/**
|
|
12539
|
+
* Get the encryption key configurations
|
|
12540
|
+
*
|
|
12541
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
12542
|
+
*/
|
|
12543
|
+
getConversationsKeyconfiguration(keyconfigurationsId) {
|
|
12544
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
12545
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
12546
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';
|
|
12547
|
+
}
|
|
12548
|
+
|
|
12549
|
+
return this.apiClient.callApi(
|
|
12550
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
12551
|
+
'GET',
|
|
12552
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
12553
|
+
{ },
|
|
12554
|
+
{ },
|
|
12555
|
+
{ },
|
|
12556
|
+
null,
|
|
12557
|
+
['PureCloud OAuth'],
|
|
12558
|
+
['application/json'],
|
|
12559
|
+
['application/json']
|
|
12560
|
+
);
|
|
12561
|
+
}
|
|
12562
|
+
|
|
12563
|
+
/**
|
|
12564
|
+
* Get a list of key configurations data
|
|
12565
|
+
*
|
|
12566
|
+
*/
|
|
12567
|
+
getConversationsKeyconfigurations() {
|
|
12568
|
+
|
|
12569
|
+
return this.apiClient.callApi(
|
|
12570
|
+
'/api/v2/conversations/keyconfigurations',
|
|
12571
|
+
'GET',
|
|
12572
|
+
{ },
|
|
12573
|
+
{ },
|
|
12574
|
+
{ },
|
|
12575
|
+
{ },
|
|
12576
|
+
null,
|
|
12577
|
+
['PureCloud OAuth'],
|
|
12578
|
+
['application/json'],
|
|
12579
|
+
['application/json']
|
|
12580
|
+
);
|
|
12581
|
+
}
|
|
12582
|
+
|
|
12512
12583
|
/**
|
|
12513
12584
|
* Get message conversation
|
|
12514
12585
|
*
|
|
@@ -13225,6 +13296,36 @@ class ConversationsApi {
|
|
|
13225
13296
|
);
|
|
13226
13297
|
}
|
|
13227
13298
|
|
|
13299
|
+
/**
|
|
13300
|
+
* Update the secure attributes on a conversation.
|
|
13301
|
+
*
|
|
13302
|
+
* @param {String} conversationId conversation ID
|
|
13303
|
+
* @param {Object} body Conversation Secure Attributes
|
|
13304
|
+
*/
|
|
13305
|
+
patchConversationSecureattributes(conversationId, body) {
|
|
13306
|
+
// verify the required parameter 'conversationId' is set
|
|
13307
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13308
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';
|
|
13309
|
+
}
|
|
13310
|
+
// verify the required parameter 'body' is set
|
|
13311
|
+
if (body === undefined || body === null) {
|
|
13312
|
+
throw 'Missing the required parameter "body" when calling patchConversationSecureattributes';
|
|
13313
|
+
}
|
|
13314
|
+
|
|
13315
|
+
return this.apiClient.callApi(
|
|
13316
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
13317
|
+
'PATCH',
|
|
13318
|
+
{ 'conversationId': conversationId },
|
|
13319
|
+
{ },
|
|
13320
|
+
{ },
|
|
13321
|
+
{ },
|
|
13322
|
+
body,
|
|
13323
|
+
['PureCloud OAuth'],
|
|
13324
|
+
['application/json'],
|
|
13325
|
+
['application/json']
|
|
13326
|
+
);
|
|
13327
|
+
}
|
|
13328
|
+
|
|
13228
13329
|
/**
|
|
13229
13330
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
13230
13331
|
*
|
|
@@ -15227,6 +15328,56 @@ class ConversationsApi {
|
|
|
15227
15328
|
);
|
|
15228
15329
|
}
|
|
15229
15330
|
|
|
15331
|
+
/**
|
|
15332
|
+
* Setup configurations for encryption key creation
|
|
15333
|
+
*
|
|
15334
|
+
* @param {Object} body Encryption Configuration
|
|
15335
|
+
*/
|
|
15336
|
+
postConversationsKeyconfigurations(body) {
|
|
15337
|
+
// verify the required parameter 'body' is set
|
|
15338
|
+
if (body === undefined || body === null) {
|
|
15339
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurations';
|
|
15340
|
+
}
|
|
15341
|
+
|
|
15342
|
+
return this.apiClient.callApi(
|
|
15343
|
+
'/api/v2/conversations/keyconfigurations',
|
|
15344
|
+
'POST',
|
|
15345
|
+
{ },
|
|
15346
|
+
{ },
|
|
15347
|
+
{ },
|
|
15348
|
+
{ },
|
|
15349
|
+
body,
|
|
15350
|
+
['PureCloud OAuth'],
|
|
15351
|
+
['application/json'],
|
|
15352
|
+
['application/json']
|
|
15353
|
+
);
|
|
15354
|
+
}
|
|
15355
|
+
|
|
15356
|
+
/**
|
|
15357
|
+
* Validate encryption key configurations without saving it
|
|
15358
|
+
*
|
|
15359
|
+
* @param {Object} body Encryption Configuration
|
|
15360
|
+
*/
|
|
15361
|
+
postConversationsKeyconfigurationsValidate(body) {
|
|
15362
|
+
// verify the required parameter 'body' is set
|
|
15363
|
+
if (body === undefined || body === null) {
|
|
15364
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';
|
|
15365
|
+
}
|
|
15366
|
+
|
|
15367
|
+
return this.apiClient.callApi(
|
|
15368
|
+
'/api/v2/conversations/keyconfigurations/validate',
|
|
15369
|
+
'POST',
|
|
15370
|
+
{ },
|
|
15371
|
+
{ },
|
|
15372
|
+
{ },
|
|
15373
|
+
{ },
|
|
15374
|
+
body,
|
|
15375
|
+
['PureCloud OAuth'],
|
|
15376
|
+
['application/json'],
|
|
15377
|
+
['application/json']
|
|
15378
|
+
);
|
|
15379
|
+
}
|
|
15380
|
+
|
|
15230
15381
|
/**
|
|
15231
15382
|
* Send message
|
|
15232
15383
|
* 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.
|
|
@@ -15611,6 +15762,36 @@ class ConversationsApi {
|
|
|
15611
15762
|
);
|
|
15612
15763
|
}
|
|
15613
15764
|
|
|
15765
|
+
/**
|
|
15766
|
+
* Set the secure attributes on a conversation.
|
|
15767
|
+
*
|
|
15768
|
+
* @param {String} conversationId conversation ID
|
|
15769
|
+
* @param {Object} body Conversation Secure Attributes
|
|
15770
|
+
*/
|
|
15771
|
+
putConversationSecureattributes(conversationId, body) {
|
|
15772
|
+
// verify the required parameter 'conversationId' is set
|
|
15773
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15774
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationSecureattributes';
|
|
15775
|
+
}
|
|
15776
|
+
// verify the required parameter 'body' is set
|
|
15777
|
+
if (body === undefined || body === null) {
|
|
15778
|
+
throw 'Missing the required parameter "body" when calling putConversationSecureattributes';
|
|
15779
|
+
}
|
|
15780
|
+
|
|
15781
|
+
return this.apiClient.callApi(
|
|
15782
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
15783
|
+
'PUT',
|
|
15784
|
+
{ 'conversationId': conversationId },
|
|
15785
|
+
{ },
|
|
15786
|
+
{ },
|
|
15787
|
+
{ },
|
|
15788
|
+
body,
|
|
15789
|
+
['PureCloud OAuth'],
|
|
15790
|
+
['application/json'],
|
|
15791
|
+
['application/json']
|
|
15792
|
+
);
|
|
15793
|
+
}
|
|
15794
|
+
|
|
15614
15795
|
/**
|
|
15615
15796
|
* Update the tags on a conversation.
|
|
15616
15797
|
*
|
|
@@ -15861,6 +16042,36 @@ class ConversationsApi {
|
|
|
15861
16042
|
);
|
|
15862
16043
|
}
|
|
15863
16044
|
|
|
16045
|
+
/**
|
|
16046
|
+
* Update the encryption key configurations
|
|
16047
|
+
*
|
|
16048
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
16049
|
+
* @param {Object} body Encryption key configuration metadata
|
|
16050
|
+
*/
|
|
16051
|
+
putConversationsKeyconfiguration(keyconfigurationsId, body) {
|
|
16052
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
16053
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
16054
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';
|
|
16055
|
+
}
|
|
16056
|
+
// verify the required parameter 'body' is set
|
|
16057
|
+
if (body === undefined || body === null) {
|
|
16058
|
+
throw 'Missing the required parameter "body" when calling putConversationsKeyconfiguration';
|
|
16059
|
+
}
|
|
16060
|
+
|
|
16061
|
+
return this.apiClient.callApi(
|
|
16062
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
16063
|
+
'PUT',
|
|
16064
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
16065
|
+
{ },
|
|
16066
|
+
{ },
|
|
16067
|
+
{ },
|
|
16068
|
+
body,
|
|
16069
|
+
['PureCloud OAuth'],
|
|
16070
|
+
['application/json'],
|
|
16071
|
+
['application/json']
|
|
16072
|
+
);
|
|
16073
|
+
}
|
|
16074
|
+
|
|
15864
16075
|
/**
|
|
15865
16076
|
* Update a conversation by setting its recording state
|
|
15866
16077
|
*
|
|
@@ -16067,7 +16278,7 @@ class DataExtensionsApi {
|
|
|
16067
16278
|
/**
|
|
16068
16279
|
* DataExtensions service.
|
|
16069
16280
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16070
|
-
* @version
|
|
16281
|
+
* @version 145.0.0
|
|
16071
16282
|
*/
|
|
16072
16283
|
|
|
16073
16284
|
/**
|
|
@@ -16153,7 +16364,7 @@ class ExternalContactsApi {
|
|
|
16153
16364
|
/**
|
|
16154
16365
|
* ExternalContacts service.
|
|
16155
16366
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16156
|
-
* @version
|
|
16367
|
+
* @version 145.0.0
|
|
16157
16368
|
*/
|
|
16158
16369
|
|
|
16159
16370
|
/**
|
|
@@ -17896,7 +18107,7 @@ class FaxApi {
|
|
|
17896
18107
|
/**
|
|
17897
18108
|
* Fax service.
|
|
17898
18109
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17899
|
-
* @version
|
|
18110
|
+
* @version 145.0.0
|
|
17900
18111
|
*/
|
|
17901
18112
|
|
|
17902
18113
|
/**
|
|
@@ -18067,7 +18278,7 @@ class FlowsApi {
|
|
|
18067
18278
|
/**
|
|
18068
18279
|
* Flows service.
|
|
18069
18280
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18070
|
-
* @version
|
|
18281
|
+
* @version 145.0.0
|
|
18071
18282
|
*/
|
|
18072
18283
|
|
|
18073
18284
|
/**
|
|
@@ -18138,7 +18349,7 @@ class GamificationApi {
|
|
|
18138
18349
|
/**
|
|
18139
18350
|
* Gamification service.
|
|
18140
18351
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18141
|
-
* @version
|
|
18352
|
+
* @version 145.0.0
|
|
18142
18353
|
*/
|
|
18143
18354
|
|
|
18144
18355
|
/**
|
|
@@ -18153,6 +18364,81 @@ class GamificationApi {
|
|
|
18153
18364
|
}
|
|
18154
18365
|
|
|
18155
18366
|
|
|
18367
|
+
/**
|
|
18368
|
+
* Delete an External Metric Definition
|
|
18369
|
+
*
|
|
18370
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
18371
|
+
*/
|
|
18372
|
+
deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
18373
|
+
// verify the required parameter 'metricId' is set
|
|
18374
|
+
if (metricId === undefined || metricId === null) {
|
|
18375
|
+
throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
|
|
18376
|
+
}
|
|
18377
|
+
|
|
18378
|
+
return this.apiClient.callApi(
|
|
18379
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
18380
|
+
'DELETE',
|
|
18381
|
+
{ 'metricId': metricId },
|
|
18382
|
+
{ },
|
|
18383
|
+
{ },
|
|
18384
|
+
{ },
|
|
18385
|
+
null,
|
|
18386
|
+
['PureCloud OAuth'],
|
|
18387
|
+
['application/json'],
|
|
18388
|
+
['application/json']
|
|
18389
|
+
);
|
|
18390
|
+
}
|
|
18391
|
+
|
|
18392
|
+
/**
|
|
18393
|
+
* Get an External Metric Definition
|
|
18394
|
+
*
|
|
18395
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
18396
|
+
*/
|
|
18397
|
+
getEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
18398
|
+
// verify the required parameter 'metricId' is set
|
|
18399
|
+
if (metricId === undefined || metricId === null) {
|
|
18400
|
+
throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
|
|
18401
|
+
}
|
|
18402
|
+
|
|
18403
|
+
return this.apiClient.callApi(
|
|
18404
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
18405
|
+
'GET',
|
|
18406
|
+
{ 'metricId': metricId },
|
|
18407
|
+
{ },
|
|
18408
|
+
{ },
|
|
18409
|
+
{ },
|
|
18410
|
+
null,
|
|
18411
|
+
['PureCloud OAuth'],
|
|
18412
|
+
['application/json'],
|
|
18413
|
+
['application/json']
|
|
18414
|
+
);
|
|
18415
|
+
}
|
|
18416
|
+
|
|
18417
|
+
/**
|
|
18418
|
+
* Get a list of External Metric Definitions of an organization, sorted by name in ascending order
|
|
18419
|
+
*
|
|
18420
|
+
* @param {Object} opts Optional parameters
|
|
18421
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
18422
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18423
|
+
*/
|
|
18424
|
+
getEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
18425
|
+
opts = opts || {};
|
|
18426
|
+
|
|
18427
|
+
|
|
18428
|
+
return this.apiClient.callApi(
|
|
18429
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
18430
|
+
'GET',
|
|
18431
|
+
{ },
|
|
18432
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
18433
|
+
{ },
|
|
18434
|
+
{ },
|
|
18435
|
+
null,
|
|
18436
|
+
['PureCloud OAuth'],
|
|
18437
|
+
['application/json'],
|
|
18438
|
+
['application/json']
|
|
18439
|
+
);
|
|
18440
|
+
}
|
|
18441
|
+
|
|
18156
18442
|
/**
|
|
18157
18443
|
* Leaderboard of the requesting user's division or performance profile
|
|
18158
18444
|
*
|
|
@@ -18817,14 +19103,14 @@ class GamificationApi {
|
|
|
18817
19103
|
* @param {String} profileId performanceProfileId
|
|
18818
19104
|
* @param {String} metricId metricId
|
|
18819
19105
|
* @param {Object} filterType Filter type for the query request.
|
|
18820
|
-
* @param {String} filterId ID for the filter type. For example, division Id
|
|
18821
19106
|
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18822
19107
|
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18823
19108
|
* @param {Object} opts Optional parameters
|
|
19109
|
+
* @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
|
|
18824
19110
|
* @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
|
|
18825
19111
|
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
18826
19112
|
*/
|
|
18827
|
-
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType,
|
|
19113
|
+
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
|
|
18828
19114
|
opts = opts || {};
|
|
18829
19115
|
|
|
18830
19116
|
// verify the required parameter 'profileId' is set
|
|
@@ -18839,10 +19125,6 @@ class GamificationApi {
|
|
|
18839
19125
|
if (filterType === undefined || filterType === null) {
|
|
18840
19126
|
throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
18841
19127
|
}
|
|
18842
|
-
// verify the required parameter 'filterId' is set
|
|
18843
|
-
if (filterId === undefined || filterId === null) {
|
|
18844
|
-
throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
18845
|
-
}
|
|
18846
19128
|
// verify the required parameter 'startWorkday' is set
|
|
18847
19129
|
if (startWorkday === undefined || startWorkday === null) {
|
|
18848
19130
|
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
@@ -18856,7 +19138,7 @@ class GamificationApi {
|
|
|
18856
19138
|
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
|
|
18857
19139
|
'GET',
|
|
18858
19140
|
{ 'profileId': profileId,'metricId': metricId },
|
|
18859
|
-
{ 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
19141
|
+
{ 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
18860
19142
|
{ },
|
|
18861
19143
|
{ },
|
|
18862
19144
|
null,
|
|
@@ -19362,6 +19644,84 @@ class GamificationApi {
|
|
|
19362
19644
|
);
|
|
19363
19645
|
}
|
|
19364
19646
|
|
|
19647
|
+
/**
|
|
19648
|
+
* Update External Metric Definition
|
|
19649
|
+
*
|
|
19650
|
+
* @param {String} metricId Specifies the metric definition ID
|
|
19651
|
+
* @param {Object} body The External Metric Definition parameters to be updated
|
|
19652
|
+
*/
|
|
19653
|
+
patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
|
|
19654
|
+
// verify the required parameter 'metricId' is set
|
|
19655
|
+
if (metricId === undefined || metricId === null) {
|
|
19656
|
+
throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
19657
|
+
}
|
|
19658
|
+
// verify the required parameter 'body' is set
|
|
19659
|
+
if (body === undefined || body === null) {
|
|
19660
|
+
throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
19661
|
+
}
|
|
19662
|
+
|
|
19663
|
+
return this.apiClient.callApi(
|
|
19664
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
19665
|
+
'PATCH',
|
|
19666
|
+
{ 'metricId': metricId },
|
|
19667
|
+
{ },
|
|
19668
|
+
{ },
|
|
19669
|
+
{ },
|
|
19670
|
+
body,
|
|
19671
|
+
['PureCloud OAuth'],
|
|
19672
|
+
['application/json'],
|
|
19673
|
+
['application/json']
|
|
19674
|
+
);
|
|
19675
|
+
}
|
|
19676
|
+
|
|
19677
|
+
/**
|
|
19678
|
+
* Write External Metric Data
|
|
19679
|
+
*
|
|
19680
|
+
* @param {Object} opts Optional parameters
|
|
19681
|
+
* @param {Object} opts.body The External Metric Data to be added
|
|
19682
|
+
*/
|
|
19683
|
+
postEmployeeperformanceExternalmetricsData(opts) {
|
|
19684
|
+
opts = opts || {};
|
|
19685
|
+
|
|
19686
|
+
|
|
19687
|
+
return this.apiClient.callApi(
|
|
19688
|
+
'/api/v2/employeeperformance/externalmetrics/data',
|
|
19689
|
+
'POST',
|
|
19690
|
+
{ },
|
|
19691
|
+
{ },
|
|
19692
|
+
{ },
|
|
19693
|
+
{ },
|
|
19694
|
+
opts['body'],
|
|
19695
|
+
['PureCloud OAuth'],
|
|
19696
|
+
['application/json'],
|
|
19697
|
+
['application/json']
|
|
19698
|
+
);
|
|
19699
|
+
}
|
|
19700
|
+
|
|
19701
|
+
/**
|
|
19702
|
+
* Create External Metric Definition
|
|
19703
|
+
*
|
|
19704
|
+
* @param {Object} opts Optional parameters
|
|
19705
|
+
* @param {Object} opts.body The External Metric Definition to be created
|
|
19706
|
+
*/
|
|
19707
|
+
postEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
19708
|
+
opts = opts || {};
|
|
19709
|
+
|
|
19710
|
+
|
|
19711
|
+
return this.apiClient.callApi(
|
|
19712
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
19713
|
+
'POST',
|
|
19714
|
+
{ },
|
|
19715
|
+
{ },
|
|
19716
|
+
{ },
|
|
19717
|
+
{ },
|
|
19718
|
+
opts['body'],
|
|
19719
|
+
['PureCloud OAuth'],
|
|
19720
|
+
['application/json'],
|
|
19721
|
+
['application/json']
|
|
19722
|
+
);
|
|
19723
|
+
}
|
|
19724
|
+
|
|
19365
19725
|
/**
|
|
19366
19726
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
19367
19727
|
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
@@ -19720,7 +20080,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19720
20080
|
/**
|
|
19721
20081
|
* GeneralDataProtectionRegulation service.
|
|
19722
20082
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19723
|
-
* @version
|
|
20083
|
+
* @version 145.0.0
|
|
19724
20084
|
*/
|
|
19725
20085
|
|
|
19726
20086
|
/**
|
|
@@ -19850,7 +20210,7 @@ class GeolocationApi {
|
|
|
19850
20210
|
/**
|
|
19851
20211
|
* Geolocation service.
|
|
19852
20212
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19853
|
-
* @version
|
|
20213
|
+
* @version 145.0.0
|
|
19854
20214
|
*/
|
|
19855
20215
|
|
|
19856
20216
|
/**
|
|
@@ -19981,7 +20341,7 @@ class GreetingsApi {
|
|
|
19981
20341
|
/**
|
|
19982
20342
|
* Greetings service.
|
|
19983
20343
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19984
|
-
* @version
|
|
20344
|
+
* @version 145.0.0
|
|
19985
20345
|
*/
|
|
19986
20346
|
|
|
19987
20347
|
/**
|
|
@@ -20436,7 +20796,7 @@ class GroupsApi {
|
|
|
20436
20796
|
/**
|
|
20437
20797
|
* Groups service.
|
|
20438
20798
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20439
|
-
* @version
|
|
20799
|
+
* @version 145.0.0
|
|
20440
20800
|
*/
|
|
20441
20801
|
|
|
20442
20802
|
/**
|
|
@@ -20841,7 +21201,7 @@ class IdentityProviderApi {
|
|
|
20841
21201
|
/**
|
|
20842
21202
|
* IdentityProvider service.
|
|
20843
21203
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20844
|
-
* @version
|
|
21204
|
+
* @version 145.0.0
|
|
20845
21205
|
*/
|
|
20846
21206
|
|
|
20847
21207
|
/**
|
|
@@ -21597,7 +21957,7 @@ class IntegrationsApi {
|
|
|
21597
21957
|
/**
|
|
21598
21958
|
* Integrations service.
|
|
21599
21959
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21600
|
-
* @version
|
|
21960
|
+
* @version 145.0.0
|
|
21601
21961
|
*/
|
|
21602
21962
|
|
|
21603
21963
|
/**
|
|
@@ -23274,7 +23634,7 @@ class JourneyApi {
|
|
|
23274
23634
|
/**
|
|
23275
23635
|
* Journey service.
|
|
23276
23636
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23277
|
-
* @version
|
|
23637
|
+
* @version 145.0.0
|
|
23278
23638
|
*/
|
|
23279
23639
|
|
|
23280
23640
|
/**
|
|
@@ -23985,7 +24345,7 @@ class KnowledgeApi {
|
|
|
23985
24345
|
/**
|
|
23986
24346
|
* Knowledge service.
|
|
23987
24347
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23988
|
-
* @version
|
|
24348
|
+
* @version 145.0.0
|
|
23989
24349
|
*/
|
|
23990
24350
|
|
|
23991
24351
|
/**
|
|
@@ -24885,7 +25245,7 @@ class LanguageUnderstandingApi {
|
|
|
24885
25245
|
/**
|
|
24886
25246
|
* LanguageUnderstanding service.
|
|
24887
25247
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24888
|
-
* @version
|
|
25248
|
+
* @version 145.0.0
|
|
24889
25249
|
*/
|
|
24890
25250
|
|
|
24891
25251
|
/**
|
|
@@ -25789,7 +26149,7 @@ class LanguagesApi {
|
|
|
25789
26149
|
/**
|
|
25790
26150
|
* Languages service.
|
|
25791
26151
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25792
|
-
* @version
|
|
26152
|
+
* @version 145.0.0
|
|
25793
26153
|
*/
|
|
25794
26154
|
|
|
25795
26155
|
/**
|
|
@@ -26057,7 +26417,7 @@ class LearningApi {
|
|
|
26057
26417
|
/**
|
|
26058
26418
|
* Learning service.
|
|
26059
26419
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26060
|
-
* @version
|
|
26420
|
+
* @version 145.0.0
|
|
26061
26421
|
*/
|
|
26062
26422
|
|
|
26063
26423
|
/**
|
|
@@ -26410,6 +26770,31 @@ class LearningApi {
|
|
|
26410
26770
|
);
|
|
26411
26771
|
}
|
|
26412
26772
|
|
|
26773
|
+
/**
|
|
26774
|
+
* Get a specific Learning Module cover art using ID
|
|
26775
|
+
*
|
|
26776
|
+
* @param {String} coverArtId Key identifier for the cover art
|
|
26777
|
+
*/
|
|
26778
|
+
getLearningModulesCoverartCoverArtId(coverArtId) {
|
|
26779
|
+
// verify the required parameter 'coverArtId' is set
|
|
26780
|
+
if (coverArtId === undefined || coverArtId === null) {
|
|
26781
|
+
throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
|
|
26782
|
+
}
|
|
26783
|
+
|
|
26784
|
+
return this.apiClient.callApi(
|
|
26785
|
+
'/api/v2/learning/modules/coverart/{coverArtId}',
|
|
26786
|
+
'GET',
|
|
26787
|
+
{ 'coverArtId': coverArtId },
|
|
26788
|
+
{ },
|
|
26789
|
+
{ },
|
|
26790
|
+
{ },
|
|
26791
|
+
null,
|
|
26792
|
+
['PureCloud OAuth'],
|
|
26793
|
+
['application/json'],
|
|
26794
|
+
['application/json']
|
|
26795
|
+
);
|
|
26796
|
+
}
|
|
26797
|
+
|
|
26413
26798
|
/**
|
|
26414
26799
|
* Update Learning Assignment
|
|
26415
26800
|
*
|
|
@@ -26792,7 +27177,7 @@ class LicenseApi {
|
|
|
26792
27177
|
/**
|
|
26793
27178
|
* License service.
|
|
26794
27179
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26795
|
-
* @version
|
|
27180
|
+
* @version 145.0.0
|
|
26796
27181
|
*/
|
|
26797
27182
|
|
|
26798
27183
|
/**
|
|
@@ -27030,7 +27415,7 @@ class LocationsApi {
|
|
|
27030
27415
|
/**
|
|
27031
27416
|
* Locations service.
|
|
27032
27417
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27033
|
-
* @version
|
|
27418
|
+
* @version 145.0.0
|
|
27034
27419
|
*/
|
|
27035
27420
|
|
|
27036
27421
|
/**
|
|
@@ -27266,7 +27651,7 @@ class MessagingApi {
|
|
|
27266
27651
|
/**
|
|
27267
27652
|
* Messaging service.
|
|
27268
27653
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27269
|
-
* @version
|
|
27654
|
+
* @version 145.0.0
|
|
27270
27655
|
*/
|
|
27271
27656
|
|
|
27272
27657
|
/**
|
|
@@ -27417,7 +27802,7 @@ class MobileDevicesApi {
|
|
|
27417
27802
|
/**
|
|
27418
27803
|
* MobileDevices service.
|
|
27419
27804
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27420
|
-
* @version
|
|
27805
|
+
* @version 145.0.0
|
|
27421
27806
|
*/
|
|
27422
27807
|
|
|
27423
27808
|
/**
|
|
@@ -27568,7 +27953,7 @@ class NotificationsApi {
|
|
|
27568
27953
|
/**
|
|
27569
27954
|
* Notifications service.
|
|
27570
27955
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
27571
|
-
* @version
|
|
27956
|
+
* @version 145.0.0
|
|
27572
27957
|
*/
|
|
27573
27958
|
|
|
27574
27959
|
/**
|
|
@@ -27793,7 +28178,7 @@ class OAuthApi {
|
|
|
27793
28178
|
/**
|
|
27794
28179
|
* OAuth service.
|
|
27795
28180
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27796
|
-
* @version
|
|
28181
|
+
* @version 145.0.0
|
|
27797
28182
|
*/
|
|
27798
28183
|
|
|
27799
28184
|
/**
|
|
@@ -28159,7 +28544,7 @@ class ObjectsApi {
|
|
|
28159
28544
|
/**
|
|
28160
28545
|
* Objects service.
|
|
28161
28546
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28162
|
-
* @version
|
|
28547
|
+
* @version 145.0.0
|
|
28163
28548
|
*/
|
|
28164
28549
|
|
|
28165
28550
|
/**
|
|
@@ -28430,7 +28815,7 @@ class OrganizationApi {
|
|
|
28430
28815
|
/**
|
|
28431
28816
|
* Organization service.
|
|
28432
28817
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28433
|
-
* @version
|
|
28818
|
+
* @version 145.0.0
|
|
28434
28819
|
*/
|
|
28435
28820
|
|
|
28436
28821
|
/**
|
|
@@ -28833,7 +29218,7 @@ class OrganizationAuthorizationApi {
|
|
|
28833
29218
|
/**
|
|
28834
29219
|
* OrganizationAuthorization service.
|
|
28835
29220
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28836
|
-
* @version
|
|
29221
|
+
* @version 145.0.0
|
|
28837
29222
|
*/
|
|
28838
29223
|
|
|
28839
29224
|
/**
|
|
@@ -29758,7 +30143,7 @@ class OutboundApi {
|
|
|
29758
30143
|
/**
|
|
29759
30144
|
* Outbound service.
|
|
29760
30145
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29761
|
-
* @version
|
|
30146
|
+
* @version 145.0.0
|
|
29762
30147
|
*/
|
|
29763
30148
|
|
|
29764
30149
|
/**
|
|
@@ -33013,7 +33398,7 @@ class PresenceApi {
|
|
|
33013
33398
|
/**
|
|
33014
33399
|
* Presence service.
|
|
33015
33400
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33016
|
-
* @version
|
|
33401
|
+
* @version 145.0.0
|
|
33017
33402
|
*/
|
|
33018
33403
|
|
|
33019
33404
|
/**
|
|
@@ -33335,7 +33720,7 @@ class QualityApi {
|
|
|
33335
33720
|
/**
|
|
33336
33721
|
* Quality service.
|
|
33337
33722
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
33338
|
-
* @version
|
|
33723
|
+
* @version 145.0.0
|
|
33339
33724
|
*/
|
|
33340
33725
|
|
|
33341
33726
|
/**
|
|
@@ -34913,7 +35298,7 @@ class RecordingApi {
|
|
|
34913
35298
|
/**
|
|
34914
35299
|
* Recording service.
|
|
34915
35300
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
34916
|
-
* @version
|
|
35301
|
+
* @version 145.0.0
|
|
34917
35302
|
*/
|
|
34918
35303
|
|
|
34919
35304
|
/**
|
|
@@ -36566,7 +36951,7 @@ class ResponseManagementApi {
|
|
|
36566
36951
|
/**
|
|
36567
36952
|
* ResponseManagement service.
|
|
36568
36953
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
36569
|
-
* @version
|
|
36954
|
+
* @version 145.0.0
|
|
36570
36955
|
*/
|
|
36571
36956
|
|
|
36572
36957
|
/**
|
|
@@ -37050,7 +37435,7 @@ class RoutingApi {
|
|
|
37050
37435
|
/**
|
|
37051
37436
|
* Routing service.
|
|
37052
37437
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
37053
|
-
* @version
|
|
37438
|
+
* @version 145.0.0
|
|
37054
37439
|
*/
|
|
37055
37440
|
|
|
37056
37441
|
/**
|
|
@@ -37616,6 +38001,26 @@ class RoutingApi {
|
|
|
37616
38001
|
);
|
|
37617
38002
|
}
|
|
37618
38003
|
|
|
38004
|
+
/**
|
|
38005
|
+
* Get available media types
|
|
38006
|
+
*
|
|
38007
|
+
*/
|
|
38008
|
+
getRoutingAvailablemediatypes() {
|
|
38009
|
+
|
|
38010
|
+
return this.apiClient.callApi(
|
|
38011
|
+
'/api/v2/routing/availablemediatypes',
|
|
38012
|
+
'GET',
|
|
38013
|
+
{ },
|
|
38014
|
+
{ },
|
|
38015
|
+
{ },
|
|
38016
|
+
{ },
|
|
38017
|
+
null,
|
|
38018
|
+
['PureCloud OAuth'],
|
|
38019
|
+
['application/json'],
|
|
38020
|
+
['application/json']
|
|
38021
|
+
);
|
|
38022
|
+
}
|
|
38023
|
+
|
|
37619
38024
|
/**
|
|
37620
38025
|
* Get domain
|
|
37621
38026
|
*
|
|
@@ -39971,7 +40376,7 @@ class SCIMApi {
|
|
|
39971
40376
|
/**
|
|
39972
40377
|
* SCIM service.
|
|
39973
40378
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
39974
|
-
* @version
|
|
40379
|
+
* @version 145.0.0
|
|
39975
40380
|
*/
|
|
39976
40381
|
|
|
39977
40382
|
/**
|
|
@@ -40848,7 +41253,7 @@ class ScriptsApi {
|
|
|
40848
41253
|
/**
|
|
40849
41254
|
* Scripts service.
|
|
40850
41255
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
40851
|
-
* @version
|
|
41256
|
+
* @version 145.0.0
|
|
40852
41257
|
*/
|
|
40853
41258
|
|
|
40854
41259
|
/**
|
|
@@ -41267,7 +41672,7 @@ class SearchApi {
|
|
|
41267
41672
|
/**
|
|
41268
41673
|
* Search service.
|
|
41269
41674
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
41270
|
-
* @version
|
|
41675
|
+
* @version 145.0.0
|
|
41271
41676
|
*/
|
|
41272
41677
|
|
|
41273
41678
|
/**
|
|
@@ -41827,7 +42232,7 @@ class SpeechTextAnalyticsApi {
|
|
|
41827
42232
|
/**
|
|
41828
42233
|
* SpeechTextAnalytics service.
|
|
41829
42234
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
41830
|
-
* @version
|
|
42235
|
+
* @version 145.0.0
|
|
41831
42236
|
*/
|
|
41832
42237
|
|
|
41833
42238
|
/**
|
|
@@ -42681,7 +43086,7 @@ class StationsApi {
|
|
|
42681
43086
|
/**
|
|
42682
43087
|
* Stations service.
|
|
42683
43088
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42684
|
-
* @version
|
|
43089
|
+
* @version 145.0.0
|
|
42685
43090
|
*/
|
|
42686
43091
|
|
|
42687
43092
|
/**
|
|
@@ -42828,7 +43233,7 @@ class SuggestApi {
|
|
|
42828
43233
|
/**
|
|
42829
43234
|
* Suggest service.
|
|
42830
43235
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
42831
|
-
* @version
|
|
43236
|
+
* @version 145.0.0
|
|
42832
43237
|
*/
|
|
42833
43238
|
|
|
42834
43239
|
/**
|
|
@@ -42967,7 +43372,7 @@ class TeamsApi {
|
|
|
42967
43372
|
/**
|
|
42968
43373
|
* Teams service.
|
|
42969
43374
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
42970
|
-
* @version
|
|
43375
|
+
* @version 145.0.0
|
|
42971
43376
|
*/
|
|
42972
43377
|
|
|
42973
43378
|
/**
|
|
@@ -43146,7 +43551,7 @@ class TelephonyApi {
|
|
|
43146
43551
|
/**
|
|
43147
43552
|
* Telephony service.
|
|
43148
43553
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
43149
|
-
* @version
|
|
43554
|
+
* @version 145.0.0
|
|
43150
43555
|
*/
|
|
43151
43556
|
|
|
43152
43557
|
/**
|
|
@@ -43254,7 +43659,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
43254
43659
|
/**
|
|
43255
43660
|
* TelephonyProvidersEdge service.
|
|
43256
43661
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
43257
|
-
* @version
|
|
43662
|
+
* @version 145.0.0
|
|
43258
43663
|
*/
|
|
43259
43664
|
|
|
43260
43665
|
/**
|
|
@@ -46887,7 +47292,7 @@ class TextbotsApi {
|
|
|
46887
47292
|
/**
|
|
46888
47293
|
* Textbots service.
|
|
46889
47294
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
46890
|
-
* @version
|
|
47295
|
+
* @version 145.0.0
|
|
46891
47296
|
*/
|
|
46892
47297
|
|
|
46893
47298
|
/**
|
|
@@ -47015,7 +47420,7 @@ class TokensApi {
|
|
|
47015
47420
|
/**
|
|
47016
47421
|
* Tokens service.
|
|
47017
47422
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
47018
|
-
* @version
|
|
47423
|
+
* @version 145.0.0
|
|
47019
47424
|
*/
|
|
47020
47425
|
|
|
47021
47426
|
/**
|
|
@@ -47121,7 +47526,7 @@ class UploadsApi {
|
|
|
47121
47526
|
/**
|
|
47122
47527
|
* Uploads service.
|
|
47123
47528
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
47124
|
-
* @version
|
|
47529
|
+
* @version 145.0.0
|
|
47125
47530
|
*/
|
|
47126
47531
|
|
|
47127
47532
|
/**
|
|
@@ -47191,6 +47596,31 @@ class UploadsApi {
|
|
|
47191
47596
|
);
|
|
47192
47597
|
}
|
|
47193
47598
|
|
|
47599
|
+
/**
|
|
47600
|
+
* Generates pre-signed URL to upload cover art for learning modules
|
|
47601
|
+
*
|
|
47602
|
+
* @param {Object} body query
|
|
47603
|
+
*/
|
|
47604
|
+
postUploadsLearningCoverart(body) {
|
|
47605
|
+
// verify the required parameter 'body' is set
|
|
47606
|
+
if (body === undefined || body === null) {
|
|
47607
|
+
throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
|
|
47608
|
+
}
|
|
47609
|
+
|
|
47610
|
+
return this.apiClient.callApi(
|
|
47611
|
+
'/api/v2/uploads/learning/coverart',
|
|
47612
|
+
'POST',
|
|
47613
|
+
{ },
|
|
47614
|
+
{ },
|
|
47615
|
+
{ },
|
|
47616
|
+
{ },
|
|
47617
|
+
body,
|
|
47618
|
+
['PureCloud OAuth'],
|
|
47619
|
+
['application/json'],
|
|
47620
|
+
['application/json']
|
|
47621
|
+
);
|
|
47622
|
+
}
|
|
47623
|
+
|
|
47194
47624
|
/**
|
|
47195
47625
|
* Creates presigned url for uploading a public asset image
|
|
47196
47626
|
*
|
|
@@ -47272,7 +47702,7 @@ class UsageApi {
|
|
|
47272
47702
|
/**
|
|
47273
47703
|
* Usage service.
|
|
47274
47704
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
47275
|
-
* @version
|
|
47705
|
+
* @version 145.0.0
|
|
47276
47706
|
*/
|
|
47277
47707
|
|
|
47278
47708
|
/**
|
|
@@ -47343,7 +47773,7 @@ class UserRecordingsApi {
|
|
|
47343
47773
|
/**
|
|
47344
47774
|
* UserRecordings service.
|
|
47345
47775
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
47346
|
-
* @version
|
|
47776
|
+
* @version 145.0.0
|
|
47347
47777
|
*/
|
|
47348
47778
|
|
|
47349
47779
|
/**
|
|
@@ -47527,7 +47957,7 @@ class UsersApi {
|
|
|
47527
47957
|
/**
|
|
47528
47958
|
* Users service.
|
|
47529
47959
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
47530
|
-
* @version
|
|
47960
|
+
* @version 145.0.0
|
|
47531
47961
|
*/
|
|
47532
47962
|
|
|
47533
47963
|
/**
|
|
@@ -49829,7 +50259,7 @@ class UtilitiesApi {
|
|
|
49829
50259
|
/**
|
|
49830
50260
|
* Utilities service.
|
|
49831
50261
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
49832
|
-
* @version
|
|
50262
|
+
* @version 145.0.0
|
|
49833
50263
|
*/
|
|
49834
50264
|
|
|
49835
50265
|
/**
|
|
@@ -49940,7 +50370,7 @@ class VoicemailApi {
|
|
|
49940
50370
|
/**
|
|
49941
50371
|
* Voicemail service.
|
|
49942
50372
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
49943
|
-
* @version
|
|
50373
|
+
* @version 145.0.0
|
|
49944
50374
|
*/
|
|
49945
50375
|
|
|
49946
50376
|
/**
|
|
@@ -50607,7 +51037,7 @@ class WebChatApi {
|
|
|
50607
51037
|
/**
|
|
50608
51038
|
* WebChat service.
|
|
50609
51039
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
50610
|
-
* @version
|
|
51040
|
+
* @version 145.0.0
|
|
50611
51041
|
*/
|
|
50612
51042
|
|
|
50613
51043
|
/**
|
|
@@ -51151,7 +51581,7 @@ class WebDeploymentsApi {
|
|
|
51151
51581
|
/**
|
|
51152
51582
|
* WebDeployments service.
|
|
51153
51583
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
51154
|
-
* @version
|
|
51584
|
+
* @version 145.0.0
|
|
51155
51585
|
*/
|
|
51156
51586
|
|
|
51157
51587
|
/**
|
|
@@ -51506,7 +51936,7 @@ class WebMessagingApi {
|
|
|
51506
51936
|
/**
|
|
51507
51937
|
* WebMessaging service.
|
|
51508
51938
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
51509
|
-
* @version
|
|
51939
|
+
* @version 145.0.0
|
|
51510
51940
|
*/
|
|
51511
51941
|
|
|
51512
51942
|
/**
|
|
@@ -51552,7 +51982,7 @@ class WidgetsApi {
|
|
|
51552
51982
|
/**
|
|
51553
51983
|
* Widgets service.
|
|
51554
51984
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
51555
|
-
* @version
|
|
51985
|
+
* @version 145.0.0
|
|
51556
51986
|
*/
|
|
51557
51987
|
|
|
51558
51988
|
/**
|
|
@@ -51698,7 +52128,7 @@ class WorkforceManagementApi {
|
|
|
51698
52128
|
/**
|
|
51699
52129
|
* WorkforceManagement service.
|
|
51700
52130
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
51701
|
-
* @version
|
|
52131
|
+
* @version 145.0.0
|
|
51702
52132
|
*/
|
|
51703
52133
|
|
|
51704
52134
|
/**
|
|
@@ -55974,7 +56404,7 @@ class WorkforceManagementApi {
|
|
|
55974
56404
|
* </pre>
|
|
55975
56405
|
* </p>
|
|
55976
56406
|
* @module purecloud-platform-client-v2/index
|
|
55977
|
-
* @version
|
|
56407
|
+
* @version 145.0.0
|
|
55978
56408
|
*/
|
|
55979
56409
|
class platformClient {
|
|
55980
56410
|
constructor() {
|