purecloud-platform-client-v2 163.0.0 → 164.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 +201 -71
- package/dist/web-amd/purecloud-platform-client-v2.js +201 -71
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +201 -71
- package/dist/web-cjs/purecloud-platform-client-v2.js +201 -71
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +275 -220
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +2 -2
- 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 +41 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +90 -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
|
@@ -9315,7 +9315,7 @@ class Configuration {
|
|
|
9315
9315
|
|
|
9316
9316
|
/**
|
|
9317
9317
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9318
|
-
* @version
|
|
9318
|
+
* @version 164.0.0
|
|
9319
9319
|
*/
|
|
9320
9320
|
class ApiClient {
|
|
9321
9321
|
/**
|
|
@@ -10394,7 +10394,7 @@ class AlertingApi {
|
|
|
10394
10394
|
/**
|
|
10395
10395
|
* Alerting service.
|
|
10396
10396
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10397
|
-
* @version
|
|
10397
|
+
* @version 164.0.0
|
|
10398
10398
|
*/
|
|
10399
10399
|
|
|
10400
10400
|
/**
|
|
@@ -10708,7 +10708,7 @@ class AnalyticsApi {
|
|
|
10708
10708
|
/**
|
|
10709
10709
|
* Analytics service.
|
|
10710
10710
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10711
|
-
* @version
|
|
10711
|
+
* @version 164.0.0
|
|
10712
10712
|
*/
|
|
10713
10713
|
|
|
10714
10714
|
/**
|
|
@@ -11962,7 +11962,7 @@ class ArchitectApi {
|
|
|
11962
11962
|
/**
|
|
11963
11963
|
* Architect service.
|
|
11964
11964
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11965
|
-
* @version
|
|
11965
|
+
* @version 164.0.0
|
|
11966
11966
|
*/
|
|
11967
11967
|
|
|
11968
11968
|
/**
|
|
@@ -15010,7 +15010,7 @@ class AuditApi {
|
|
|
15010
15010
|
/**
|
|
15011
15011
|
* Audit service.
|
|
15012
15012
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
15013
|
-
* @version
|
|
15013
|
+
* @version 164.0.0
|
|
15014
15014
|
*/
|
|
15015
15015
|
|
|
15016
15016
|
/**
|
|
@@ -15096,7 +15096,7 @@ class AuditApi {
|
|
|
15096
15096
|
* @param {String} transactionId Transaction ID
|
|
15097
15097
|
* @param {Object} opts Optional parameters
|
|
15098
15098
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
15099
|
-
* @param {Number} opts.pageSize
|
|
15099
|
+
* @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
|
|
15100
15100
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
15101
15101
|
*/
|
|
15102
15102
|
getAuditsQueryTransactionIdResults(transactionId, opts) {
|
|
@@ -15181,7 +15181,7 @@ class AuthorizationApi {
|
|
|
15181
15181
|
/**
|
|
15182
15182
|
* Authorization service.
|
|
15183
15183
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15184
|
-
* @version
|
|
15184
|
+
* @version 164.0.0
|
|
15185
15185
|
*/
|
|
15186
15186
|
|
|
15187
15187
|
/**
|
|
@@ -16410,7 +16410,7 @@ class BillingApi {
|
|
|
16410
16410
|
/**
|
|
16411
16411
|
* Billing service.
|
|
16412
16412
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16413
|
-
* @version
|
|
16413
|
+
* @version 164.0.0
|
|
16414
16414
|
*/
|
|
16415
16415
|
|
|
16416
16416
|
/**
|
|
@@ -16490,7 +16490,7 @@ class ChatApi {
|
|
|
16490
16490
|
/**
|
|
16491
16491
|
* Chat service.
|
|
16492
16492
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16493
|
-
* @version
|
|
16493
|
+
* @version 164.0.0
|
|
16494
16494
|
*/
|
|
16495
16495
|
|
|
16496
16496
|
/**
|
|
@@ -16651,7 +16651,7 @@ class CoachingApi {
|
|
|
16651
16651
|
/**
|
|
16652
16652
|
* Coaching service.
|
|
16653
16653
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16654
|
-
* @version
|
|
16654
|
+
* @version 164.0.0
|
|
16655
16655
|
*/
|
|
16656
16656
|
|
|
16657
16657
|
/**
|
|
@@ -17228,7 +17228,7 @@ class ContentManagementApi {
|
|
|
17228
17228
|
/**
|
|
17229
17229
|
* ContentManagement service.
|
|
17230
17230
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17231
|
-
* @version
|
|
17231
|
+
* @version 164.0.0
|
|
17232
17232
|
*/
|
|
17233
17233
|
|
|
17234
17234
|
/**
|
|
@@ -18368,7 +18368,7 @@ class ConversationsApi {
|
|
|
18368
18368
|
/**
|
|
18369
18369
|
* Conversations service.
|
|
18370
18370
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18371
|
-
* @version
|
|
18371
|
+
* @version 164.0.0
|
|
18372
18372
|
*/
|
|
18373
18373
|
|
|
18374
18374
|
/**
|
|
@@ -20945,6 +20945,46 @@ class ConversationsApi {
|
|
|
20945
20945
|
);
|
|
20946
20946
|
}
|
|
20947
20947
|
|
|
20948
|
+
/**
|
|
20949
|
+
* Update after-call work for this conversation communication.
|
|
20950
|
+
*
|
|
20951
|
+
* @param {String} conversationId conversationId
|
|
20952
|
+
* @param {String} participantId participantId
|
|
20953
|
+
* @param {String} communicationId communicationId
|
|
20954
|
+
* @param {Object} body AfterCallWorkUpdate
|
|
20955
|
+
*/
|
|
20956
|
+
patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
|
|
20957
|
+
// verify the required parameter 'conversationId' is set
|
|
20958
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20959
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
20960
|
+
}
|
|
20961
|
+
// verify the required parameter 'participantId' is set
|
|
20962
|
+
if (participantId === undefined || participantId === null) {
|
|
20963
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
20964
|
+
}
|
|
20965
|
+
// verify the required parameter 'communicationId' is set
|
|
20966
|
+
if (communicationId === undefined || communicationId === null) {
|
|
20967
|
+
throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
20968
|
+
}
|
|
20969
|
+
// verify the required parameter 'body' is set
|
|
20970
|
+
if (body === undefined || body === null) {
|
|
20971
|
+
throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
20972
|
+
}
|
|
20973
|
+
|
|
20974
|
+
return this.apiClient.callApi(
|
|
20975
|
+
'/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
20976
|
+
'PATCH',
|
|
20977
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
20978
|
+
{ },
|
|
20979
|
+
{ },
|
|
20980
|
+
{ },
|
|
20981
|
+
body,
|
|
20982
|
+
['PureCloud OAuth'],
|
|
20983
|
+
['application/json'],
|
|
20984
|
+
['application/json']
|
|
20985
|
+
);
|
|
20986
|
+
}
|
|
20987
|
+
|
|
20948
20988
|
/**
|
|
20949
20989
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
20950
20990
|
*
|
|
@@ -24388,7 +24428,7 @@ class DataExtensionsApi {
|
|
|
24388
24428
|
/**
|
|
24389
24429
|
* DataExtensions service.
|
|
24390
24430
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
24391
|
-
* @version
|
|
24431
|
+
* @version 164.0.0
|
|
24392
24432
|
*/
|
|
24393
24433
|
|
|
24394
24434
|
/**
|
|
@@ -24474,7 +24514,7 @@ class DownloadsApi {
|
|
|
24474
24514
|
/**
|
|
24475
24515
|
* Downloads service.
|
|
24476
24516
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
24477
|
-
* @version
|
|
24517
|
+
* @version 164.0.0
|
|
24478
24518
|
*/
|
|
24479
24519
|
|
|
24480
24520
|
/**
|
|
@@ -24526,7 +24566,7 @@ class EventsApi {
|
|
|
24526
24566
|
/**
|
|
24527
24567
|
* Events service.
|
|
24528
24568
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
24529
|
-
* @version
|
|
24569
|
+
* @version 164.0.0
|
|
24530
24570
|
*/
|
|
24531
24571
|
|
|
24532
24572
|
/**
|
|
@@ -24622,7 +24662,7 @@ class ExternalContactsApi {
|
|
|
24622
24662
|
/**
|
|
24623
24663
|
* ExternalContacts service.
|
|
24624
24664
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
24625
|
-
* @version
|
|
24665
|
+
* @version 164.0.0
|
|
24626
24666
|
*/
|
|
24627
24667
|
|
|
24628
24668
|
/**
|
|
@@ -26580,7 +26620,7 @@ class FaxApi {
|
|
|
26580
26620
|
/**
|
|
26581
26621
|
* Fax service.
|
|
26582
26622
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
26583
|
-
* @version
|
|
26623
|
+
* @version 164.0.0
|
|
26584
26624
|
*/
|
|
26585
26625
|
|
|
26586
26626
|
/**
|
|
@@ -26751,7 +26791,7 @@ class FlowsApi {
|
|
|
26751
26791
|
/**
|
|
26752
26792
|
* Flows service.
|
|
26753
26793
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
26754
|
-
* @version
|
|
26794
|
+
* @version 164.0.0
|
|
26755
26795
|
*/
|
|
26756
26796
|
|
|
26757
26797
|
/**
|
|
@@ -26822,7 +26862,7 @@ class GamificationApi {
|
|
|
26822
26862
|
/**
|
|
26823
26863
|
* Gamification service.
|
|
26824
26864
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
26825
|
-
* @version
|
|
26865
|
+
* @version 164.0.0
|
|
26826
26866
|
*/
|
|
26827
26867
|
|
|
26828
26868
|
/**
|
|
@@ -28439,7 +28479,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
28439
28479
|
/**
|
|
28440
28480
|
* GeneralDataProtectionRegulation service.
|
|
28441
28481
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
28442
|
-
* @version
|
|
28482
|
+
* @version 164.0.0
|
|
28443
28483
|
*/
|
|
28444
28484
|
|
|
28445
28485
|
/**
|
|
@@ -28569,7 +28609,7 @@ class GeolocationApi {
|
|
|
28569
28609
|
/**
|
|
28570
28610
|
* Geolocation service.
|
|
28571
28611
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
28572
|
-
* @version
|
|
28612
|
+
* @version 164.0.0
|
|
28573
28613
|
*/
|
|
28574
28614
|
|
|
28575
28615
|
/**
|
|
@@ -28700,7 +28740,7 @@ class GreetingsApi {
|
|
|
28700
28740
|
/**
|
|
28701
28741
|
* Greetings service.
|
|
28702
28742
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
28703
|
-
* @version
|
|
28743
|
+
* @version 164.0.0
|
|
28704
28744
|
*/
|
|
28705
28745
|
|
|
28706
28746
|
/**
|
|
@@ -29155,7 +29195,7 @@ class GroupsApi {
|
|
|
29155
29195
|
/**
|
|
29156
29196
|
* Groups service.
|
|
29157
29197
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
29158
|
-
* @version
|
|
29198
|
+
* @version 164.0.0
|
|
29159
29199
|
*/
|
|
29160
29200
|
|
|
29161
29201
|
/**
|
|
@@ -29561,7 +29601,7 @@ class IdentityProviderApi {
|
|
|
29561
29601
|
/**
|
|
29562
29602
|
* IdentityProvider service.
|
|
29563
29603
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
29564
|
-
* @version
|
|
29604
|
+
* @version 164.0.0
|
|
29565
29605
|
*/
|
|
29566
29606
|
|
|
29567
29607
|
/**
|
|
@@ -30317,7 +30357,7 @@ class InfrastructureAsCodeApi {
|
|
|
30317
30357
|
/**
|
|
30318
30358
|
* InfrastructureAsCode service.
|
|
30319
30359
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
30320
|
-
* @version
|
|
30360
|
+
* @version 164.0.0
|
|
30321
30361
|
*/
|
|
30322
30362
|
|
|
30323
30363
|
/**
|
|
@@ -30419,7 +30459,7 @@ class IntegrationsApi {
|
|
|
30419
30459
|
/**
|
|
30420
30460
|
* Integrations service.
|
|
30421
30461
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
30422
|
-
* @version
|
|
30462
|
+
* @version 164.0.0
|
|
30423
30463
|
*/
|
|
30424
30464
|
|
|
30425
30465
|
/**
|
|
@@ -32019,7 +32059,7 @@ class JourneyApi {
|
|
|
32019
32059
|
/**
|
|
32020
32060
|
* Journey service.
|
|
32021
32061
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
32022
|
-
* @version
|
|
32062
|
+
* @version 164.0.0
|
|
32023
32063
|
*/
|
|
32024
32064
|
|
|
32025
32065
|
/**
|
|
@@ -32899,7 +32939,7 @@ class KnowledgeApi {
|
|
|
32899
32939
|
/**
|
|
32900
32940
|
* Knowledge service.
|
|
32901
32941
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32902
|
-
* @version
|
|
32942
|
+
* @version 164.0.0
|
|
32903
32943
|
*/
|
|
32904
32944
|
|
|
32905
32945
|
/**
|
|
@@ -35331,7 +35371,7 @@ class LanguageUnderstandingApi {
|
|
|
35331
35371
|
/**
|
|
35332
35372
|
* LanguageUnderstanding service.
|
|
35333
35373
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35334
|
-
* @version
|
|
35374
|
+
* @version 164.0.0
|
|
35335
35375
|
*/
|
|
35336
35376
|
|
|
35337
35377
|
/**
|
|
@@ -36344,7 +36384,7 @@ class LanguagesApi {
|
|
|
36344
36384
|
/**
|
|
36345
36385
|
* Languages service.
|
|
36346
36386
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36347
|
-
* @version
|
|
36387
|
+
* @version 164.0.0
|
|
36348
36388
|
*/
|
|
36349
36389
|
|
|
36350
36390
|
/**
|
|
@@ -36562,7 +36602,7 @@ class LearningApi {
|
|
|
36562
36602
|
/**
|
|
36563
36603
|
* Learning service.
|
|
36564
36604
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
36565
|
-
* @version
|
|
36605
|
+
* @version 164.0.0
|
|
36566
36606
|
*/
|
|
36567
36607
|
|
|
36568
36608
|
/**
|
|
@@ -37377,7 +37417,7 @@ class LicenseApi {
|
|
|
37377
37417
|
/**
|
|
37378
37418
|
* License service.
|
|
37379
37419
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
37380
|
-
* @version
|
|
37420
|
+
* @version 164.0.0
|
|
37381
37421
|
*/
|
|
37382
37422
|
|
|
37383
37423
|
/**
|
|
@@ -37615,7 +37655,7 @@ class LocationsApi {
|
|
|
37615
37655
|
/**
|
|
37616
37656
|
* Locations service.
|
|
37617
37657
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
37618
|
-
* @version
|
|
37658
|
+
* @version 164.0.0
|
|
37619
37659
|
*/
|
|
37620
37660
|
|
|
37621
37661
|
/**
|
|
@@ -37851,7 +37891,7 @@ class MessagingApi {
|
|
|
37851
37891
|
/**
|
|
37852
37892
|
* Messaging service.
|
|
37853
37893
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
37854
|
-
* @version
|
|
37894
|
+
* @version 164.0.0
|
|
37855
37895
|
*/
|
|
37856
37896
|
|
|
37857
37897
|
/**
|
|
@@ -38002,7 +38042,7 @@ class MobileDevicesApi {
|
|
|
38002
38042
|
/**
|
|
38003
38043
|
* MobileDevices service.
|
|
38004
38044
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
38005
|
-
* @version
|
|
38045
|
+
* @version 164.0.0
|
|
38006
38046
|
*/
|
|
38007
38047
|
|
|
38008
38048
|
/**
|
|
@@ -38153,7 +38193,7 @@ class NotificationsApi {
|
|
|
38153
38193
|
/**
|
|
38154
38194
|
* Notifications service.
|
|
38155
38195
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
38156
|
-
* @version
|
|
38196
|
+
* @version 164.0.0
|
|
38157
38197
|
*/
|
|
38158
38198
|
|
|
38159
38199
|
/**
|
|
@@ -38386,7 +38426,7 @@ class OAuthApi {
|
|
|
38386
38426
|
/**
|
|
38387
38427
|
* OAuth service.
|
|
38388
38428
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
38389
|
-
* @version
|
|
38429
|
+
* @version 164.0.0
|
|
38390
38430
|
*/
|
|
38391
38431
|
|
|
38392
38432
|
/**
|
|
@@ -38752,7 +38792,7 @@ class ObjectsApi {
|
|
|
38752
38792
|
/**
|
|
38753
38793
|
* Objects service.
|
|
38754
38794
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
38755
|
-
* @version
|
|
38795
|
+
* @version 164.0.0
|
|
38756
38796
|
*/
|
|
38757
38797
|
|
|
38758
38798
|
/**
|
|
@@ -39023,7 +39063,7 @@ class OrganizationApi {
|
|
|
39023
39063
|
/**
|
|
39024
39064
|
* Organization service.
|
|
39025
39065
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
39026
|
-
* @version
|
|
39066
|
+
* @version 164.0.0
|
|
39027
39067
|
*/
|
|
39028
39068
|
|
|
39029
39069
|
/**
|
|
@@ -39426,7 +39466,7 @@ class OrganizationAuthorizationApi {
|
|
|
39426
39466
|
/**
|
|
39427
39467
|
* OrganizationAuthorization service.
|
|
39428
39468
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
39429
|
-
* @version
|
|
39469
|
+
* @version 164.0.0
|
|
39430
39470
|
*/
|
|
39431
39471
|
|
|
39432
39472
|
/**
|
|
@@ -40721,7 +40761,7 @@ class OutboundApi {
|
|
|
40721
40761
|
/**
|
|
40722
40762
|
* Outbound service.
|
|
40723
40763
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
40724
|
-
* @version
|
|
40764
|
+
* @version 164.0.0
|
|
40725
40765
|
*/
|
|
40726
40766
|
|
|
40727
40767
|
/**
|
|
@@ -44317,7 +44357,7 @@ class PresenceApi {
|
|
|
44317
44357
|
/**
|
|
44318
44358
|
* Presence service.
|
|
44319
44359
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
44320
|
-
* @version
|
|
44360
|
+
* @version 164.0.0
|
|
44321
44361
|
*/
|
|
44322
44362
|
|
|
44323
44363
|
/**
|
|
@@ -44868,7 +44908,7 @@ class ProcessAutomationApi {
|
|
|
44868
44908
|
/**
|
|
44869
44909
|
* ProcessAutomation service.
|
|
44870
44910
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
44871
|
-
* @version
|
|
44911
|
+
* @version 164.0.0
|
|
44872
44912
|
*/
|
|
44873
44913
|
|
|
44874
44914
|
/**
|
|
@@ -45107,7 +45147,7 @@ class QualityApi {
|
|
|
45107
45147
|
/**
|
|
45108
45148
|
* Quality service.
|
|
45109
45149
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
45110
|
-
* @version
|
|
45150
|
+
* @version 164.0.0
|
|
45111
45151
|
*/
|
|
45112
45152
|
|
|
45113
45153
|
/**
|
|
@@ -46686,7 +46726,7 @@ class RecordingApi {
|
|
|
46686
46726
|
/**
|
|
46687
46727
|
* Recording service.
|
|
46688
46728
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
46689
|
-
* @version
|
|
46729
|
+
* @version 164.0.0
|
|
46690
46730
|
*/
|
|
46691
46731
|
|
|
46692
46732
|
/**
|
|
@@ -48323,7 +48363,7 @@ class ResponseManagementApi {
|
|
|
48323
48363
|
/**
|
|
48324
48364
|
* ResponseManagement service.
|
|
48325
48365
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
48326
|
-
* @version
|
|
48366
|
+
* @version 164.0.0
|
|
48327
48367
|
*/
|
|
48328
48368
|
|
|
48329
48369
|
/**
|
|
@@ -48807,7 +48847,7 @@ class RoutingApi {
|
|
|
48807
48847
|
/**
|
|
48808
48848
|
* Routing service.
|
|
48809
48849
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
48810
|
-
* @version
|
|
48850
|
+
* @version 164.0.0
|
|
48811
48851
|
*/
|
|
48812
48852
|
|
|
48813
48853
|
/**
|
|
@@ -50750,6 +50790,7 @@ class RoutingApi {
|
|
|
50750
50790
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
50751
50791
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
50752
50792
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
50793
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
50753
50794
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
50754
50795
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
50755
50796
|
*/
|
|
@@ -50761,7 +50802,7 @@ class RoutingApi {
|
|
|
50761
50802
|
'/api/v2/routing/wrapupcodes',
|
|
50762
50803
|
'GET',
|
|
50763
50804
|
{ },
|
|
50764
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
50805
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
50765
50806
|
{ },
|
|
50766
50807
|
{ },
|
|
50767
50808
|
null,
|
|
@@ -52313,7 +52354,7 @@ class SCIMApi {
|
|
|
52313
52354
|
/**
|
|
52314
52355
|
* SCIM service.
|
|
52315
52356
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
52316
|
-
* @version
|
|
52357
|
+
* @version 164.0.0
|
|
52317
52358
|
*/
|
|
52318
52359
|
|
|
52319
52360
|
/**
|
|
@@ -53190,7 +53231,7 @@ class ScriptsApi {
|
|
|
53190
53231
|
/**
|
|
53191
53232
|
* Scripts service.
|
|
53192
53233
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
53193
|
-
* @version
|
|
53234
|
+
* @version 164.0.0
|
|
53194
53235
|
*/
|
|
53195
53236
|
|
|
53196
53237
|
/**
|
|
@@ -53609,7 +53650,7 @@ class SearchApi {
|
|
|
53609
53650
|
/**
|
|
53610
53651
|
* Search service.
|
|
53611
53652
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
53612
|
-
* @version
|
|
53653
|
+
* @version 164.0.0
|
|
53613
53654
|
*/
|
|
53614
53655
|
|
|
53615
53656
|
/**
|
|
@@ -54219,7 +54260,7 @@ class SpeechTextAnalyticsApi {
|
|
|
54219
54260
|
/**
|
|
54220
54261
|
* SpeechTextAnalytics service.
|
|
54221
54262
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
54222
|
-
* @version
|
|
54263
|
+
* @version 164.0.0
|
|
54223
54264
|
*/
|
|
54224
54265
|
|
|
54225
54266
|
/**
|
|
@@ -55148,7 +55189,7 @@ class StationsApi {
|
|
|
55148
55189
|
/**
|
|
55149
55190
|
* Stations service.
|
|
55150
55191
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
55151
|
-
* @version
|
|
55192
|
+
* @version 164.0.0
|
|
55152
55193
|
*/
|
|
55153
55194
|
|
|
55154
55195
|
/**
|
|
@@ -55295,7 +55336,7 @@ class SuggestApi {
|
|
|
55295
55336
|
/**
|
|
55296
55337
|
* Suggest service.
|
|
55297
55338
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
55298
|
-
* @version
|
|
55339
|
+
* @version 164.0.0
|
|
55299
55340
|
*/
|
|
55300
55341
|
|
|
55301
55342
|
/**
|
|
@@ -55434,7 +55475,7 @@ class TeamsApi {
|
|
|
55434
55475
|
/**
|
|
55435
55476
|
* Teams service.
|
|
55436
55477
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
55437
|
-
* @version
|
|
55478
|
+
* @version 164.0.0
|
|
55438
55479
|
*/
|
|
55439
55480
|
|
|
55440
55481
|
/**
|
|
@@ -55705,7 +55746,7 @@ class TelephonyApi {
|
|
|
55705
55746
|
/**
|
|
55706
55747
|
* Telephony service.
|
|
55707
55748
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
55708
|
-
* @version
|
|
55749
|
+
* @version 164.0.0
|
|
55709
55750
|
*/
|
|
55710
55751
|
|
|
55711
55752
|
/**
|
|
@@ -55833,7 +55874,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
55833
55874
|
/**
|
|
55834
55875
|
* TelephonyProvidersEdge service.
|
|
55835
55876
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
55836
|
-
* @version
|
|
55877
|
+
* @version 164.0.0
|
|
55837
55878
|
*/
|
|
55838
55879
|
|
|
55839
55880
|
/**
|
|
@@ -59442,7 +59483,7 @@ class TextbotsApi {
|
|
|
59442
59483
|
/**
|
|
59443
59484
|
* Textbots service.
|
|
59444
59485
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
59445
|
-
* @version
|
|
59486
|
+
* @version 164.0.0
|
|
59446
59487
|
*/
|
|
59447
59488
|
|
|
59448
59489
|
/**
|
|
@@ -59570,7 +59611,7 @@ class TokensApi {
|
|
|
59570
59611
|
/**
|
|
59571
59612
|
* Tokens service.
|
|
59572
59613
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
59573
|
-
* @version
|
|
59614
|
+
* @version 164.0.0
|
|
59574
59615
|
*/
|
|
59575
59616
|
|
|
59576
59617
|
/**
|
|
@@ -59676,7 +59717,7 @@ class UploadsApi {
|
|
|
59676
59717
|
/**
|
|
59677
59718
|
* Uploads service.
|
|
59678
59719
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
59679
|
-
* @version
|
|
59720
|
+
* @version 164.0.0
|
|
59680
59721
|
*/
|
|
59681
59722
|
|
|
59682
59723
|
/**
|
|
@@ -59852,7 +59893,7 @@ class UsageApi {
|
|
|
59852
59893
|
/**
|
|
59853
59894
|
* Usage service.
|
|
59854
59895
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
59855
|
-
* @version
|
|
59896
|
+
* @version 164.0.0
|
|
59856
59897
|
*/
|
|
59857
59898
|
|
|
59858
59899
|
/**
|
|
@@ -59867,6 +59908,65 @@ class UsageApi {
|
|
|
59867
59908
|
}
|
|
59868
59909
|
|
|
59869
59910
|
|
|
59911
|
+
/**
|
|
59912
|
+
* Get the results of a usage query
|
|
59913
|
+
*
|
|
59914
|
+
* @param {String} executionId ID of the query execution
|
|
59915
|
+
* @param {String} clientId Client ID
|
|
59916
|
+
*/
|
|
59917
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
59918
|
+
// verify the required parameter 'executionId' is set
|
|
59919
|
+
if (executionId === undefined || executionId === null) {
|
|
59920
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
59921
|
+
}
|
|
59922
|
+
// verify the required parameter 'clientId' is set
|
|
59923
|
+
if (clientId === undefined || clientId === null) {
|
|
59924
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
59925
|
+
}
|
|
59926
|
+
|
|
59927
|
+
return this.apiClient.callApi(
|
|
59928
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
59929
|
+
'GET',
|
|
59930
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
59931
|
+
{ },
|
|
59932
|
+
{ },
|
|
59933
|
+
{ },
|
|
59934
|
+
null,
|
|
59935
|
+
['PureCloud OAuth'],
|
|
59936
|
+
['application/json'],
|
|
59937
|
+
['application/json']
|
|
59938
|
+
);
|
|
59939
|
+
}
|
|
59940
|
+
|
|
59941
|
+
/**
|
|
59942
|
+
* Get a summary of OAuth client API usage
|
|
59943
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
59944
|
+
* @param {String} clientId Client ID
|
|
59945
|
+
* @param {Object} opts Optional parameters
|
|
59946
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
59947
|
+
*/
|
|
59948
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
59949
|
+
opts = opts || {};
|
|
59950
|
+
|
|
59951
|
+
// verify the required parameter 'clientId' is set
|
|
59952
|
+
if (clientId === undefined || clientId === null) {
|
|
59953
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
59954
|
+
}
|
|
59955
|
+
|
|
59956
|
+
return this.apiClient.callApi(
|
|
59957
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
59958
|
+
'GET',
|
|
59959
|
+
{ 'clientId': clientId },
|
|
59960
|
+
{ 'days': opts['days'] },
|
|
59961
|
+
{ },
|
|
59962
|
+
{ },
|
|
59963
|
+
null,
|
|
59964
|
+
['PureCloud OAuth'],
|
|
59965
|
+
['application/json'],
|
|
59966
|
+
['application/json']
|
|
59967
|
+
);
|
|
59968
|
+
}
|
|
59969
|
+
|
|
59870
59970
|
/**
|
|
59871
59971
|
* Get the results of a usage query
|
|
59872
59972
|
*
|
|
@@ -59892,6 +59992,36 @@ class UsageApi {
|
|
|
59892
59992
|
);
|
|
59893
59993
|
}
|
|
59894
59994
|
|
|
59995
|
+
/**
|
|
59996
|
+
* Query for OAuth client API usage
|
|
59997
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
59998
|
+
* @param {String} clientId Client ID
|
|
59999
|
+
* @param {Object} body Query
|
|
60000
|
+
*/
|
|
60001
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
60002
|
+
// verify the required parameter 'clientId' is set
|
|
60003
|
+
if (clientId === undefined || clientId === null) {
|
|
60004
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
60005
|
+
}
|
|
60006
|
+
// verify the required parameter 'body' is set
|
|
60007
|
+
if (body === undefined || body === null) {
|
|
60008
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
60009
|
+
}
|
|
60010
|
+
|
|
60011
|
+
return this.apiClient.callApi(
|
|
60012
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
60013
|
+
'POST',
|
|
60014
|
+
{ 'clientId': clientId },
|
|
60015
|
+
{ },
|
|
60016
|
+
{ },
|
|
60017
|
+
{ },
|
|
60018
|
+
body,
|
|
60019
|
+
['PureCloud OAuth'],
|
|
60020
|
+
['application/json'],
|
|
60021
|
+
['application/json']
|
|
60022
|
+
);
|
|
60023
|
+
}
|
|
60024
|
+
|
|
59895
60025
|
/**
|
|
59896
60026
|
* Query organization API Usage -
|
|
59897
60027
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -59923,7 +60053,7 @@ class UserRecordingsApi {
|
|
|
59923
60053
|
/**
|
|
59924
60054
|
* UserRecordings service.
|
|
59925
60055
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
59926
|
-
* @version
|
|
60056
|
+
* @version 164.0.0
|
|
59927
60057
|
*/
|
|
59928
60058
|
|
|
59929
60059
|
/**
|
|
@@ -60108,7 +60238,7 @@ class UsersApi {
|
|
|
60108
60238
|
/**
|
|
60109
60239
|
* Users service.
|
|
60110
60240
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
60111
|
-
* @version
|
|
60241
|
+
* @version 164.0.0
|
|
60112
60242
|
*/
|
|
60113
60243
|
|
|
60114
60244
|
/**
|
|
@@ -62496,7 +62626,7 @@ class UtilitiesApi {
|
|
|
62496
62626
|
/**
|
|
62497
62627
|
* Utilities service.
|
|
62498
62628
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
62499
|
-
* @version
|
|
62629
|
+
* @version 164.0.0
|
|
62500
62630
|
*/
|
|
62501
62631
|
|
|
62502
62632
|
/**
|
|
@@ -62607,7 +62737,7 @@ class VoicemailApi {
|
|
|
62607
62737
|
/**
|
|
62608
62738
|
* Voicemail service.
|
|
62609
62739
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
62610
|
-
* @version
|
|
62740
|
+
* @version 164.0.0
|
|
62611
62741
|
*/
|
|
62612
62742
|
|
|
62613
62743
|
/**
|
|
@@ -63274,7 +63404,7 @@ class WebChatApi {
|
|
|
63274
63404
|
/**
|
|
63275
63405
|
* WebChat service.
|
|
63276
63406
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
63277
|
-
* @version
|
|
63407
|
+
* @version 164.0.0
|
|
63278
63408
|
*/
|
|
63279
63409
|
|
|
63280
63410
|
/**
|
|
@@ -63818,7 +63948,7 @@ class WebDeploymentsApi {
|
|
|
63818
63948
|
/**
|
|
63819
63949
|
* WebDeployments service.
|
|
63820
63950
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
63821
|
-
* @version
|
|
63951
|
+
* @version 164.0.0
|
|
63822
63952
|
*/
|
|
63823
63953
|
|
|
63824
63954
|
/**
|
|
@@ -64340,7 +64470,7 @@ class WebMessagingApi {
|
|
|
64340
64470
|
/**
|
|
64341
64471
|
* WebMessaging service.
|
|
64342
64472
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
64343
|
-
* @version
|
|
64473
|
+
* @version 164.0.0
|
|
64344
64474
|
*/
|
|
64345
64475
|
|
|
64346
64476
|
/**
|
|
@@ -64386,7 +64516,7 @@ class WidgetsApi {
|
|
|
64386
64516
|
/**
|
|
64387
64517
|
* Widgets service.
|
|
64388
64518
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
64389
|
-
* @version
|
|
64519
|
+
* @version 164.0.0
|
|
64390
64520
|
*/
|
|
64391
64521
|
|
|
64392
64522
|
/**
|
|
@@ -64532,7 +64662,7 @@ class WorkforceManagementApi {
|
|
|
64532
64662
|
/**
|
|
64533
64663
|
* WorkforceManagement service.
|
|
64534
64664
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
64535
|
-
* @version
|
|
64665
|
+
* @version 164.0.0
|
|
64536
64666
|
*/
|
|
64537
64667
|
|
|
64538
64668
|
/**
|
|
@@ -69276,7 +69406,7 @@ class WorkforceManagementApi {
|
|
|
69276
69406
|
* </pre>
|
|
69277
69407
|
* </p>
|
|
69278
69408
|
* @module purecloud-platform-client-v2/index
|
|
69279
|
-
* @version
|
|
69409
|
+
* @version 164.0.0
|
|
69280
69410
|
*/
|
|
69281
69411
|
class platformClient {
|
|
69282
69412
|
constructor() {
|