purecloud-platform-client-v2 163.0.0 → 165.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 +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.js +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +84 -66
- 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 +2 -97
- 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 +5 -3
- 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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.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 165.0.0
|
|
55837
55878
|
*/
|
|
55838
55879
|
|
|
55839
55880
|
/**
|
|
@@ -56486,66 +56527,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
56486
56527
|
);
|
|
56487
56528
|
}
|
|
56488
56529
|
|
|
56489
|
-
/**
|
|
56490
|
-
* Get line
|
|
56491
|
-
*
|
|
56492
|
-
* @param {String} edgeId Edge ID
|
|
56493
|
-
* @param {String} lineId Line ID
|
|
56494
|
-
*/
|
|
56495
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
56496
|
-
// verify the required parameter 'edgeId' is set
|
|
56497
|
-
if (edgeId === undefined || edgeId === null) {
|
|
56498
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
56499
|
-
}
|
|
56500
|
-
// verify the required parameter 'lineId' is set
|
|
56501
|
-
if (lineId === undefined || lineId === null) {
|
|
56502
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
56503
|
-
}
|
|
56504
|
-
|
|
56505
|
-
return this.apiClient.callApi(
|
|
56506
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
56507
|
-
'GET',
|
|
56508
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
56509
|
-
{ },
|
|
56510
|
-
{ },
|
|
56511
|
-
{ },
|
|
56512
|
-
null,
|
|
56513
|
-
['PureCloud OAuth'],
|
|
56514
|
-
['application/json'],
|
|
56515
|
-
['application/json']
|
|
56516
|
-
);
|
|
56517
|
-
}
|
|
56518
|
-
|
|
56519
|
-
/**
|
|
56520
|
-
* Get the list of lines.
|
|
56521
|
-
*
|
|
56522
|
-
* @param {String} edgeId Edge ID
|
|
56523
|
-
* @param {Object} opts Optional parameters
|
|
56524
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
56525
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
56526
|
-
*/
|
|
56527
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
56528
|
-
opts = opts || {};
|
|
56529
|
-
|
|
56530
|
-
// verify the required parameter 'edgeId' is set
|
|
56531
|
-
if (edgeId === undefined || edgeId === null) {
|
|
56532
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
56533
|
-
}
|
|
56534
|
-
|
|
56535
|
-
return this.apiClient.callApi(
|
|
56536
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
56537
|
-
'GET',
|
|
56538
|
-
{ 'edgeId': edgeId },
|
|
56539
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
56540
|
-
{ },
|
|
56541
|
-
{ },
|
|
56542
|
-
null,
|
|
56543
|
-
['PureCloud OAuth'],
|
|
56544
|
-
['application/json'],
|
|
56545
|
-
['application/json']
|
|
56546
|
-
);
|
|
56547
|
-
}
|
|
56548
|
-
|
|
56549
56530
|
/**
|
|
56550
56531
|
* Get an edge logical interface
|
|
56551
56532
|
*
|
|
@@ -57383,7 +57364,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
57383
57364
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
57384
57365
|
* @param {String} opts.name Name
|
|
57385
57366
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
57386
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
57367
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
57387
57368
|
*/
|
|
57388
57369
|
getTelephonyProvidersEdgesLines(opts) {
|
|
57389
57370
|
opts = opts || {};
|
|
@@ -58936,41 +58917,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
58936
58917
|
);
|
|
58937
58918
|
}
|
|
58938
58919
|
|
|
58939
|
-
/**
|
|
58940
|
-
* Update a line.
|
|
58941
|
-
*
|
|
58942
|
-
* @param {String} edgeId Edge ID
|
|
58943
|
-
* @param {String} lineId Line ID
|
|
58944
|
-
* @param {Object} body Line
|
|
58945
|
-
*/
|
|
58946
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
58947
|
-
// verify the required parameter 'edgeId' is set
|
|
58948
|
-
if (edgeId === undefined || edgeId === null) {
|
|
58949
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
58950
|
-
}
|
|
58951
|
-
// verify the required parameter 'lineId' is set
|
|
58952
|
-
if (lineId === undefined || lineId === null) {
|
|
58953
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
58954
|
-
}
|
|
58955
|
-
// verify the required parameter 'body' is set
|
|
58956
|
-
if (body === undefined || body === null) {
|
|
58957
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
58958
|
-
}
|
|
58959
|
-
|
|
58960
|
-
return this.apiClient.callApi(
|
|
58961
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
58962
|
-
'PUT',
|
|
58963
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
58964
|
-
{ },
|
|
58965
|
-
{ },
|
|
58966
|
-
{ },
|
|
58967
|
-
body,
|
|
58968
|
-
['PureCloud OAuth'],
|
|
58969
|
-
['application/json'],
|
|
58970
|
-
['application/json']
|
|
58971
|
-
);
|
|
58972
|
-
}
|
|
58973
|
-
|
|
58974
58920
|
/**
|
|
58975
58921
|
* Update an edge logical interface.
|
|
58976
58922
|
*
|
|
@@ -59442,7 +59388,7 @@ class TextbotsApi {
|
|
|
59442
59388
|
/**
|
|
59443
59389
|
* Textbots service.
|
|
59444
59390
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
59445
|
-
* @version
|
|
59391
|
+
* @version 165.0.0
|
|
59446
59392
|
*/
|
|
59447
59393
|
|
|
59448
59394
|
/**
|
|
@@ -59570,7 +59516,7 @@ class TokensApi {
|
|
|
59570
59516
|
/**
|
|
59571
59517
|
* Tokens service.
|
|
59572
59518
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
59573
|
-
* @version
|
|
59519
|
+
* @version 165.0.0
|
|
59574
59520
|
*/
|
|
59575
59521
|
|
|
59576
59522
|
/**
|
|
@@ -59676,7 +59622,7 @@ class UploadsApi {
|
|
|
59676
59622
|
/**
|
|
59677
59623
|
* Uploads service.
|
|
59678
59624
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
59679
|
-
* @version
|
|
59625
|
+
* @version 165.0.0
|
|
59680
59626
|
*/
|
|
59681
59627
|
|
|
59682
59628
|
/**
|
|
@@ -59852,7 +59798,7 @@ class UsageApi {
|
|
|
59852
59798
|
/**
|
|
59853
59799
|
* Usage service.
|
|
59854
59800
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
59855
|
-
* @version
|
|
59801
|
+
* @version 165.0.0
|
|
59856
59802
|
*/
|
|
59857
59803
|
|
|
59858
59804
|
/**
|
|
@@ -59867,6 +59813,65 @@ class UsageApi {
|
|
|
59867
59813
|
}
|
|
59868
59814
|
|
|
59869
59815
|
|
|
59816
|
+
/**
|
|
59817
|
+
* Get the results of a usage query
|
|
59818
|
+
*
|
|
59819
|
+
* @param {String} executionId ID of the query execution
|
|
59820
|
+
* @param {String} clientId Client ID
|
|
59821
|
+
*/
|
|
59822
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
59823
|
+
// verify the required parameter 'executionId' is set
|
|
59824
|
+
if (executionId === undefined || executionId === null) {
|
|
59825
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
59826
|
+
}
|
|
59827
|
+
// verify the required parameter 'clientId' is set
|
|
59828
|
+
if (clientId === undefined || clientId === null) {
|
|
59829
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
59830
|
+
}
|
|
59831
|
+
|
|
59832
|
+
return this.apiClient.callApi(
|
|
59833
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
59834
|
+
'GET',
|
|
59835
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
59836
|
+
{ },
|
|
59837
|
+
{ },
|
|
59838
|
+
{ },
|
|
59839
|
+
null,
|
|
59840
|
+
['PureCloud OAuth'],
|
|
59841
|
+
['application/json'],
|
|
59842
|
+
['application/json']
|
|
59843
|
+
);
|
|
59844
|
+
}
|
|
59845
|
+
|
|
59846
|
+
/**
|
|
59847
|
+
* Get a summary of OAuth client API usage
|
|
59848
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
59849
|
+
* @param {String} clientId Client ID
|
|
59850
|
+
* @param {Object} opts Optional parameters
|
|
59851
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
59852
|
+
*/
|
|
59853
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
59854
|
+
opts = opts || {};
|
|
59855
|
+
|
|
59856
|
+
// verify the required parameter 'clientId' is set
|
|
59857
|
+
if (clientId === undefined || clientId === null) {
|
|
59858
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
59859
|
+
}
|
|
59860
|
+
|
|
59861
|
+
return this.apiClient.callApi(
|
|
59862
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
59863
|
+
'GET',
|
|
59864
|
+
{ 'clientId': clientId },
|
|
59865
|
+
{ 'days': opts['days'] },
|
|
59866
|
+
{ },
|
|
59867
|
+
{ },
|
|
59868
|
+
null,
|
|
59869
|
+
['PureCloud OAuth'],
|
|
59870
|
+
['application/json'],
|
|
59871
|
+
['application/json']
|
|
59872
|
+
);
|
|
59873
|
+
}
|
|
59874
|
+
|
|
59870
59875
|
/**
|
|
59871
59876
|
* Get the results of a usage query
|
|
59872
59877
|
*
|
|
@@ -59892,6 +59897,36 @@ class UsageApi {
|
|
|
59892
59897
|
);
|
|
59893
59898
|
}
|
|
59894
59899
|
|
|
59900
|
+
/**
|
|
59901
|
+
* Query for OAuth client API usage
|
|
59902
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
59903
|
+
* @param {String} clientId Client ID
|
|
59904
|
+
* @param {Object} body Query
|
|
59905
|
+
*/
|
|
59906
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
59907
|
+
// verify the required parameter 'clientId' is set
|
|
59908
|
+
if (clientId === undefined || clientId === null) {
|
|
59909
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
59910
|
+
}
|
|
59911
|
+
// verify the required parameter 'body' is set
|
|
59912
|
+
if (body === undefined || body === null) {
|
|
59913
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
59914
|
+
}
|
|
59915
|
+
|
|
59916
|
+
return this.apiClient.callApi(
|
|
59917
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
59918
|
+
'POST',
|
|
59919
|
+
{ 'clientId': clientId },
|
|
59920
|
+
{ },
|
|
59921
|
+
{ },
|
|
59922
|
+
{ },
|
|
59923
|
+
body,
|
|
59924
|
+
['PureCloud OAuth'],
|
|
59925
|
+
['application/json'],
|
|
59926
|
+
['application/json']
|
|
59927
|
+
);
|
|
59928
|
+
}
|
|
59929
|
+
|
|
59895
59930
|
/**
|
|
59896
59931
|
* Query organization API Usage -
|
|
59897
59932
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -59923,7 +59958,7 @@ class UserRecordingsApi {
|
|
|
59923
59958
|
/**
|
|
59924
59959
|
* UserRecordings service.
|
|
59925
59960
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
59926
|
-
* @version
|
|
59961
|
+
* @version 165.0.0
|
|
59927
59962
|
*/
|
|
59928
59963
|
|
|
59929
59964
|
/**
|
|
@@ -60108,7 +60143,7 @@ class UsersApi {
|
|
|
60108
60143
|
/**
|
|
60109
60144
|
* Users service.
|
|
60110
60145
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
60111
|
-
* @version
|
|
60146
|
+
* @version 165.0.0
|
|
60112
60147
|
*/
|
|
60113
60148
|
|
|
60114
60149
|
/**
|
|
@@ -61217,6 +61252,7 @@ class UsersApi {
|
|
|
61217
61252
|
* @param {String} opts.interval Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
61218
61253
|
* @param {String} opts.completionInterval Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
61219
61254
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
61255
|
+
* @param {Object} opts.pass Specifies if only the failed (pass is False) or passed (pass is True) activities are returned. If pass is Any or if the pass parameter is not supplied, all activities are returned (default to Any)
|
|
61220
61256
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
61221
61257
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
61222
61258
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
@@ -61232,7 +61268,7 @@ class UsersApi {
|
|
|
61232
61268
|
'/api/v2/users/development/activities',
|
|
61233
61269
|
'GET',
|
|
61234
61270
|
{ },
|
|
61235
|
-
{ 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
61271
|
+
{ 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pass': opts['pass'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
61236
61272
|
{ },
|
|
61237
61273
|
{ },
|
|
61238
61274
|
null,
|
|
@@ -61250,6 +61286,7 @@ class UsersApi {
|
|
|
61250
61286
|
* @param {String} opts.interval Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
61251
61287
|
* @param {String} opts.completionInterval Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
61252
61288
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
61289
|
+
* @param {Object} opts.pass Specifies if only the failed (pass is False) or passed (pass is True) activities are returned. If pass is Any or if the pass parameter is not supplied, all activities are returned (default to Any)
|
|
61253
61290
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
61254
61291
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
61255
61292
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
@@ -61265,7 +61302,7 @@ class UsersApi {
|
|
|
61265
61302
|
'/api/v2/users/development/activities/me',
|
|
61266
61303
|
'GET',
|
|
61267
61304
|
{ },
|
|
61268
|
-
{ 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
61305
|
+
{ 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pass': opts['pass'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
61269
61306
|
{ },
|
|
61270
61307
|
{ },
|
|
61271
61308
|
null,
|
|
@@ -62496,7 +62533,7 @@ class UtilitiesApi {
|
|
|
62496
62533
|
/**
|
|
62497
62534
|
* Utilities service.
|
|
62498
62535
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
62499
|
-
* @version
|
|
62536
|
+
* @version 165.0.0
|
|
62500
62537
|
*/
|
|
62501
62538
|
|
|
62502
62539
|
/**
|
|
@@ -62607,7 +62644,7 @@ class VoicemailApi {
|
|
|
62607
62644
|
/**
|
|
62608
62645
|
* Voicemail service.
|
|
62609
62646
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
62610
|
-
* @version
|
|
62647
|
+
* @version 165.0.0
|
|
62611
62648
|
*/
|
|
62612
62649
|
|
|
62613
62650
|
/**
|
|
@@ -63274,7 +63311,7 @@ class WebChatApi {
|
|
|
63274
63311
|
/**
|
|
63275
63312
|
* WebChat service.
|
|
63276
63313
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
63277
|
-
* @version
|
|
63314
|
+
* @version 165.0.0
|
|
63278
63315
|
*/
|
|
63279
63316
|
|
|
63280
63317
|
/**
|
|
@@ -63818,7 +63855,7 @@ class WebDeploymentsApi {
|
|
|
63818
63855
|
/**
|
|
63819
63856
|
* WebDeployments service.
|
|
63820
63857
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
63821
|
-
* @version
|
|
63858
|
+
* @version 165.0.0
|
|
63822
63859
|
*/
|
|
63823
63860
|
|
|
63824
63861
|
/**
|
|
@@ -64340,7 +64377,7 @@ class WebMessagingApi {
|
|
|
64340
64377
|
/**
|
|
64341
64378
|
* WebMessaging service.
|
|
64342
64379
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
64343
|
-
* @version
|
|
64380
|
+
* @version 165.0.0
|
|
64344
64381
|
*/
|
|
64345
64382
|
|
|
64346
64383
|
/**
|
|
@@ -64386,7 +64423,7 @@ class WidgetsApi {
|
|
|
64386
64423
|
/**
|
|
64387
64424
|
* Widgets service.
|
|
64388
64425
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
64389
|
-
* @version
|
|
64426
|
+
* @version 165.0.0
|
|
64390
64427
|
*/
|
|
64391
64428
|
|
|
64392
64429
|
/**
|
|
@@ -64532,7 +64569,7 @@ class WorkforceManagementApi {
|
|
|
64532
64569
|
/**
|
|
64533
64570
|
* WorkforceManagement service.
|
|
64534
64571
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
64535
|
-
* @version
|
|
64572
|
+
* @version 165.0.0
|
|
64536
64573
|
*/
|
|
64537
64574
|
|
|
64538
64575
|
/**
|
|
@@ -69276,7 +69313,7 @@ class WorkforceManagementApi {
|
|
|
69276
69313
|
* </pre>
|
|
69277
69314
|
* </p>
|
|
69278
69315
|
* @module purecloud-platform-client-v2/index
|
|
69279
|
-
* @version
|
|
69316
|
+
* @version 165.0.0
|
|
69280
69317
|
*/
|
|
69281
69318
|
class platformClient {
|
|
69282
69319
|
constructor() {
|