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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 165.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1488,7 +1488,7 @@ class AlertingApi {
|
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Alerting service.
|
|
1490
1490
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1491
|
-
* @version
|
|
1491
|
+
* @version 165.0.0
|
|
1492
1492
|
*/
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
@@ -1802,7 +1802,7 @@ class AnalyticsApi {
|
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Analytics service.
|
|
1804
1804
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1805
|
-
* @version
|
|
1805
|
+
* @version 165.0.0
|
|
1806
1806
|
*/
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
@@ -3056,7 +3056,7 @@ class ArchitectApi {
|
|
|
3056
3056
|
/**
|
|
3057
3057
|
* Architect service.
|
|
3058
3058
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3059
|
-
* @version
|
|
3059
|
+
* @version 165.0.0
|
|
3060
3060
|
*/
|
|
3061
3061
|
|
|
3062
3062
|
/**
|
|
@@ -6104,7 +6104,7 @@ class AuditApi {
|
|
|
6104
6104
|
/**
|
|
6105
6105
|
* Audit service.
|
|
6106
6106
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6107
|
-
* @version
|
|
6107
|
+
* @version 165.0.0
|
|
6108
6108
|
*/
|
|
6109
6109
|
|
|
6110
6110
|
/**
|
|
@@ -6190,7 +6190,7 @@ class AuditApi {
|
|
|
6190
6190
|
* @param {String} transactionId Transaction ID
|
|
6191
6191
|
* @param {Object} opts Optional parameters
|
|
6192
6192
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
6193
|
-
* @param {Number} opts.pageSize
|
|
6193
|
+
* @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)
|
|
6194
6194
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6195
6195
|
*/
|
|
6196
6196
|
getAuditsQueryTransactionIdResults(transactionId, opts) {
|
|
@@ -6275,7 +6275,7 @@ class AuthorizationApi {
|
|
|
6275
6275
|
/**
|
|
6276
6276
|
* Authorization service.
|
|
6277
6277
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6278
|
-
* @version
|
|
6278
|
+
* @version 165.0.0
|
|
6279
6279
|
*/
|
|
6280
6280
|
|
|
6281
6281
|
/**
|
|
@@ -7504,7 +7504,7 @@ class BillingApi {
|
|
|
7504
7504
|
/**
|
|
7505
7505
|
* Billing service.
|
|
7506
7506
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7507
|
-
* @version
|
|
7507
|
+
* @version 165.0.0
|
|
7508
7508
|
*/
|
|
7509
7509
|
|
|
7510
7510
|
/**
|
|
@@ -7584,7 +7584,7 @@ class ChatApi {
|
|
|
7584
7584
|
/**
|
|
7585
7585
|
* Chat service.
|
|
7586
7586
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7587
|
-
* @version
|
|
7587
|
+
* @version 165.0.0
|
|
7588
7588
|
*/
|
|
7589
7589
|
|
|
7590
7590
|
/**
|
|
@@ -7745,7 +7745,7 @@ class CoachingApi {
|
|
|
7745
7745
|
/**
|
|
7746
7746
|
* Coaching service.
|
|
7747
7747
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7748
|
-
* @version
|
|
7748
|
+
* @version 165.0.0
|
|
7749
7749
|
*/
|
|
7750
7750
|
|
|
7751
7751
|
/**
|
|
@@ -8322,7 +8322,7 @@ class ContentManagementApi {
|
|
|
8322
8322
|
/**
|
|
8323
8323
|
* ContentManagement service.
|
|
8324
8324
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8325
|
-
* @version
|
|
8325
|
+
* @version 165.0.0
|
|
8326
8326
|
*/
|
|
8327
8327
|
|
|
8328
8328
|
/**
|
|
@@ -9462,7 +9462,7 @@ class ConversationsApi {
|
|
|
9462
9462
|
/**
|
|
9463
9463
|
* Conversations service.
|
|
9464
9464
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9465
|
-
* @version
|
|
9465
|
+
* @version 165.0.0
|
|
9466
9466
|
*/
|
|
9467
9467
|
|
|
9468
9468
|
/**
|
|
@@ -12039,6 +12039,46 @@ class ConversationsApi {
|
|
|
12039
12039
|
);
|
|
12040
12040
|
}
|
|
12041
12041
|
|
|
12042
|
+
/**
|
|
12043
|
+
* Update after-call work for this conversation communication.
|
|
12044
|
+
*
|
|
12045
|
+
* @param {String} conversationId conversationId
|
|
12046
|
+
* @param {String} participantId participantId
|
|
12047
|
+
* @param {String} communicationId communicationId
|
|
12048
|
+
* @param {Object} body AfterCallWorkUpdate
|
|
12049
|
+
*/
|
|
12050
|
+
patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
|
|
12051
|
+
// verify the required parameter 'conversationId' is set
|
|
12052
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12053
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12054
|
+
}
|
|
12055
|
+
// verify the required parameter 'participantId' is set
|
|
12056
|
+
if (participantId === undefined || participantId === null) {
|
|
12057
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12058
|
+
}
|
|
12059
|
+
// verify the required parameter 'communicationId' is set
|
|
12060
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12061
|
+
throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12062
|
+
}
|
|
12063
|
+
// verify the required parameter 'body' is set
|
|
12064
|
+
if (body === undefined || body === null) {
|
|
12065
|
+
throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12066
|
+
}
|
|
12067
|
+
|
|
12068
|
+
return this.apiClient.callApi(
|
|
12069
|
+
'/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
12070
|
+
'PATCH',
|
|
12071
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12072
|
+
{ },
|
|
12073
|
+
{ },
|
|
12074
|
+
{ },
|
|
12075
|
+
body,
|
|
12076
|
+
['PureCloud OAuth'],
|
|
12077
|
+
['application/json'],
|
|
12078
|
+
['application/json']
|
|
12079
|
+
);
|
|
12080
|
+
}
|
|
12081
|
+
|
|
12042
12082
|
/**
|
|
12043
12083
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
12044
12084
|
*
|
|
@@ -15482,7 +15522,7 @@ class DataExtensionsApi {
|
|
|
15482
15522
|
/**
|
|
15483
15523
|
* DataExtensions service.
|
|
15484
15524
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15485
|
-
* @version
|
|
15525
|
+
* @version 165.0.0
|
|
15486
15526
|
*/
|
|
15487
15527
|
|
|
15488
15528
|
/**
|
|
@@ -15568,7 +15608,7 @@ class DownloadsApi {
|
|
|
15568
15608
|
/**
|
|
15569
15609
|
* Downloads service.
|
|
15570
15610
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
15571
|
-
* @version
|
|
15611
|
+
* @version 165.0.0
|
|
15572
15612
|
*/
|
|
15573
15613
|
|
|
15574
15614
|
/**
|
|
@@ -15620,7 +15660,7 @@ class EventsApi {
|
|
|
15620
15660
|
/**
|
|
15621
15661
|
* Events service.
|
|
15622
15662
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
15623
|
-
* @version
|
|
15663
|
+
* @version 165.0.0
|
|
15624
15664
|
*/
|
|
15625
15665
|
|
|
15626
15666
|
/**
|
|
@@ -15716,7 +15756,7 @@ class ExternalContactsApi {
|
|
|
15716
15756
|
/**
|
|
15717
15757
|
* ExternalContacts service.
|
|
15718
15758
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15719
|
-
* @version
|
|
15759
|
+
* @version 165.0.0
|
|
15720
15760
|
*/
|
|
15721
15761
|
|
|
15722
15762
|
/**
|
|
@@ -17674,7 +17714,7 @@ class FaxApi {
|
|
|
17674
17714
|
/**
|
|
17675
17715
|
* Fax service.
|
|
17676
17716
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17677
|
-
* @version
|
|
17717
|
+
* @version 165.0.0
|
|
17678
17718
|
*/
|
|
17679
17719
|
|
|
17680
17720
|
/**
|
|
@@ -17845,7 +17885,7 @@ class FlowsApi {
|
|
|
17845
17885
|
/**
|
|
17846
17886
|
* Flows service.
|
|
17847
17887
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17848
|
-
* @version
|
|
17888
|
+
* @version 165.0.0
|
|
17849
17889
|
*/
|
|
17850
17890
|
|
|
17851
17891
|
/**
|
|
@@ -17916,7 +17956,7 @@ class GamificationApi {
|
|
|
17916
17956
|
/**
|
|
17917
17957
|
* Gamification service.
|
|
17918
17958
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17919
|
-
* @version
|
|
17959
|
+
* @version 165.0.0
|
|
17920
17960
|
*/
|
|
17921
17961
|
|
|
17922
17962
|
/**
|
|
@@ -19533,7 +19573,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19533
19573
|
/**
|
|
19534
19574
|
* GeneralDataProtectionRegulation service.
|
|
19535
19575
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19536
|
-
* @version
|
|
19576
|
+
* @version 165.0.0
|
|
19537
19577
|
*/
|
|
19538
19578
|
|
|
19539
19579
|
/**
|
|
@@ -19663,7 +19703,7 @@ class GeolocationApi {
|
|
|
19663
19703
|
/**
|
|
19664
19704
|
* Geolocation service.
|
|
19665
19705
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19666
|
-
* @version
|
|
19706
|
+
* @version 165.0.0
|
|
19667
19707
|
*/
|
|
19668
19708
|
|
|
19669
19709
|
/**
|
|
@@ -19794,7 +19834,7 @@ class GreetingsApi {
|
|
|
19794
19834
|
/**
|
|
19795
19835
|
* Greetings service.
|
|
19796
19836
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19797
|
-
* @version
|
|
19837
|
+
* @version 165.0.0
|
|
19798
19838
|
*/
|
|
19799
19839
|
|
|
19800
19840
|
/**
|
|
@@ -20249,7 +20289,7 @@ class GroupsApi {
|
|
|
20249
20289
|
/**
|
|
20250
20290
|
* Groups service.
|
|
20251
20291
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20252
|
-
* @version
|
|
20292
|
+
* @version 165.0.0
|
|
20253
20293
|
*/
|
|
20254
20294
|
|
|
20255
20295
|
/**
|
|
@@ -20655,7 +20695,7 @@ class IdentityProviderApi {
|
|
|
20655
20695
|
/**
|
|
20656
20696
|
* IdentityProvider service.
|
|
20657
20697
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20658
|
-
* @version
|
|
20698
|
+
* @version 165.0.0
|
|
20659
20699
|
*/
|
|
20660
20700
|
|
|
20661
20701
|
/**
|
|
@@ -21411,7 +21451,7 @@ class InfrastructureAsCodeApi {
|
|
|
21411
21451
|
/**
|
|
21412
21452
|
* InfrastructureAsCode service.
|
|
21413
21453
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
21414
|
-
* @version
|
|
21454
|
+
* @version 165.0.0
|
|
21415
21455
|
*/
|
|
21416
21456
|
|
|
21417
21457
|
/**
|
|
@@ -21513,7 +21553,7 @@ class IntegrationsApi {
|
|
|
21513
21553
|
/**
|
|
21514
21554
|
* Integrations service.
|
|
21515
21555
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21516
|
-
* @version
|
|
21556
|
+
* @version 165.0.0
|
|
21517
21557
|
*/
|
|
21518
21558
|
|
|
21519
21559
|
/**
|
|
@@ -23113,7 +23153,7 @@ class JourneyApi {
|
|
|
23113
23153
|
/**
|
|
23114
23154
|
* Journey service.
|
|
23115
23155
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23116
|
-
* @version
|
|
23156
|
+
* @version 165.0.0
|
|
23117
23157
|
*/
|
|
23118
23158
|
|
|
23119
23159
|
/**
|
|
@@ -23993,7 +24033,7 @@ class KnowledgeApi {
|
|
|
23993
24033
|
/**
|
|
23994
24034
|
* Knowledge service.
|
|
23995
24035
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23996
|
-
* @version
|
|
24036
|
+
* @version 165.0.0
|
|
23997
24037
|
*/
|
|
23998
24038
|
|
|
23999
24039
|
/**
|
|
@@ -26425,7 +26465,7 @@ class LanguageUnderstandingApi {
|
|
|
26425
26465
|
/**
|
|
26426
26466
|
* LanguageUnderstanding service.
|
|
26427
26467
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
26428
|
-
* @version
|
|
26468
|
+
* @version 165.0.0
|
|
26429
26469
|
*/
|
|
26430
26470
|
|
|
26431
26471
|
/**
|
|
@@ -27438,7 +27478,7 @@ class LanguagesApi {
|
|
|
27438
27478
|
/**
|
|
27439
27479
|
* Languages service.
|
|
27440
27480
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
27441
|
-
* @version
|
|
27481
|
+
* @version 165.0.0
|
|
27442
27482
|
*/
|
|
27443
27483
|
|
|
27444
27484
|
/**
|
|
@@ -27656,7 +27696,7 @@ class LearningApi {
|
|
|
27656
27696
|
/**
|
|
27657
27697
|
* Learning service.
|
|
27658
27698
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
27659
|
-
* @version
|
|
27699
|
+
* @version 165.0.0
|
|
27660
27700
|
*/
|
|
27661
27701
|
|
|
27662
27702
|
/**
|
|
@@ -28471,7 +28511,7 @@ class LicenseApi {
|
|
|
28471
28511
|
/**
|
|
28472
28512
|
* License service.
|
|
28473
28513
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
28474
|
-
* @version
|
|
28514
|
+
* @version 165.0.0
|
|
28475
28515
|
*/
|
|
28476
28516
|
|
|
28477
28517
|
/**
|
|
@@ -28709,7 +28749,7 @@ class LocationsApi {
|
|
|
28709
28749
|
/**
|
|
28710
28750
|
* Locations service.
|
|
28711
28751
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
28712
|
-
* @version
|
|
28752
|
+
* @version 165.0.0
|
|
28713
28753
|
*/
|
|
28714
28754
|
|
|
28715
28755
|
/**
|
|
@@ -28945,7 +28985,7 @@ class MessagingApi {
|
|
|
28945
28985
|
/**
|
|
28946
28986
|
* Messaging service.
|
|
28947
28987
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
28948
|
-
* @version
|
|
28988
|
+
* @version 165.0.0
|
|
28949
28989
|
*/
|
|
28950
28990
|
|
|
28951
28991
|
/**
|
|
@@ -29096,7 +29136,7 @@ class MobileDevicesApi {
|
|
|
29096
29136
|
/**
|
|
29097
29137
|
* MobileDevices service.
|
|
29098
29138
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29099
|
-
* @version
|
|
29139
|
+
* @version 165.0.0
|
|
29100
29140
|
*/
|
|
29101
29141
|
|
|
29102
29142
|
/**
|
|
@@ -29247,7 +29287,7 @@ class NotificationsApi {
|
|
|
29247
29287
|
/**
|
|
29248
29288
|
* Notifications service.
|
|
29249
29289
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29250
|
-
* @version
|
|
29290
|
+
* @version 165.0.0
|
|
29251
29291
|
*/
|
|
29252
29292
|
|
|
29253
29293
|
/**
|
|
@@ -29480,7 +29520,7 @@ class OAuthApi {
|
|
|
29480
29520
|
/**
|
|
29481
29521
|
* OAuth service.
|
|
29482
29522
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
29483
|
-
* @version
|
|
29523
|
+
* @version 165.0.0
|
|
29484
29524
|
*/
|
|
29485
29525
|
|
|
29486
29526
|
/**
|
|
@@ -29846,7 +29886,7 @@ class ObjectsApi {
|
|
|
29846
29886
|
/**
|
|
29847
29887
|
* Objects service.
|
|
29848
29888
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
29849
|
-
* @version
|
|
29889
|
+
* @version 165.0.0
|
|
29850
29890
|
*/
|
|
29851
29891
|
|
|
29852
29892
|
/**
|
|
@@ -30117,7 +30157,7 @@ class OrganizationApi {
|
|
|
30117
30157
|
/**
|
|
30118
30158
|
* Organization service.
|
|
30119
30159
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30120
|
-
* @version
|
|
30160
|
+
* @version 165.0.0
|
|
30121
30161
|
*/
|
|
30122
30162
|
|
|
30123
30163
|
/**
|
|
@@ -30520,7 +30560,7 @@ class OrganizationAuthorizationApi {
|
|
|
30520
30560
|
/**
|
|
30521
30561
|
* OrganizationAuthorization service.
|
|
30522
30562
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
30523
|
-
* @version
|
|
30563
|
+
* @version 165.0.0
|
|
30524
30564
|
*/
|
|
30525
30565
|
|
|
30526
30566
|
/**
|
|
@@ -31815,7 +31855,7 @@ class OutboundApi {
|
|
|
31815
31855
|
/**
|
|
31816
31856
|
* Outbound service.
|
|
31817
31857
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
31818
|
-
* @version
|
|
31858
|
+
* @version 165.0.0
|
|
31819
31859
|
*/
|
|
31820
31860
|
|
|
31821
31861
|
/**
|
|
@@ -35411,7 +35451,7 @@ class PresenceApi {
|
|
|
35411
35451
|
/**
|
|
35412
35452
|
* Presence service.
|
|
35413
35453
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35414
|
-
* @version
|
|
35454
|
+
* @version 165.0.0
|
|
35415
35455
|
*/
|
|
35416
35456
|
|
|
35417
35457
|
/**
|
|
@@ -35962,7 +36002,7 @@ class ProcessAutomationApi {
|
|
|
35962
36002
|
/**
|
|
35963
36003
|
* ProcessAutomation service.
|
|
35964
36004
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
35965
|
-
* @version
|
|
36005
|
+
* @version 165.0.0
|
|
35966
36006
|
*/
|
|
35967
36007
|
|
|
35968
36008
|
/**
|
|
@@ -36201,7 +36241,7 @@ class QualityApi {
|
|
|
36201
36241
|
/**
|
|
36202
36242
|
* Quality service.
|
|
36203
36243
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36204
|
-
* @version
|
|
36244
|
+
* @version 165.0.0
|
|
36205
36245
|
*/
|
|
36206
36246
|
|
|
36207
36247
|
/**
|
|
@@ -37780,7 +37820,7 @@ class RecordingApi {
|
|
|
37780
37820
|
/**
|
|
37781
37821
|
* Recording service.
|
|
37782
37822
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37783
|
-
* @version
|
|
37823
|
+
* @version 165.0.0
|
|
37784
37824
|
*/
|
|
37785
37825
|
|
|
37786
37826
|
/**
|
|
@@ -39417,7 +39457,7 @@ class ResponseManagementApi {
|
|
|
39417
39457
|
/**
|
|
39418
39458
|
* ResponseManagement service.
|
|
39419
39459
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39420
|
-
* @version
|
|
39460
|
+
* @version 165.0.0
|
|
39421
39461
|
*/
|
|
39422
39462
|
|
|
39423
39463
|
/**
|
|
@@ -39901,7 +39941,7 @@ class RoutingApi {
|
|
|
39901
39941
|
/**
|
|
39902
39942
|
* Routing service.
|
|
39903
39943
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39904
|
-
* @version
|
|
39944
|
+
* @version 165.0.0
|
|
39905
39945
|
*/
|
|
39906
39946
|
|
|
39907
39947
|
/**
|
|
@@ -41844,6 +41884,7 @@ class RoutingApi {
|
|
|
41844
41884
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41845
41885
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
41846
41886
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
41887
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
41847
41888
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
41848
41889
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
41849
41890
|
*/
|
|
@@ -41855,7 +41896,7 @@ class RoutingApi {
|
|
|
41855
41896
|
'/api/v2/routing/wrapupcodes',
|
|
41856
41897
|
'GET',
|
|
41857
41898
|
{ },
|
|
41858
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
41899
|
+
{ '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') },
|
|
41859
41900
|
{ },
|
|
41860
41901
|
{ },
|
|
41861
41902
|
null,
|
|
@@ -43407,7 +43448,7 @@ class SCIMApi {
|
|
|
43407
43448
|
/**
|
|
43408
43449
|
* SCIM service.
|
|
43409
43450
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43410
|
-
* @version
|
|
43451
|
+
* @version 165.0.0
|
|
43411
43452
|
*/
|
|
43412
43453
|
|
|
43413
43454
|
/**
|
|
@@ -44284,7 +44325,7 @@ class ScriptsApi {
|
|
|
44284
44325
|
/**
|
|
44285
44326
|
* Scripts service.
|
|
44286
44327
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44287
|
-
* @version
|
|
44328
|
+
* @version 165.0.0
|
|
44288
44329
|
*/
|
|
44289
44330
|
|
|
44290
44331
|
/**
|
|
@@ -44703,7 +44744,7 @@ class SearchApi {
|
|
|
44703
44744
|
/**
|
|
44704
44745
|
* Search service.
|
|
44705
44746
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44706
|
-
* @version
|
|
44747
|
+
* @version 165.0.0
|
|
44707
44748
|
*/
|
|
44708
44749
|
|
|
44709
44750
|
/**
|
|
@@ -45313,7 +45354,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45313
45354
|
/**
|
|
45314
45355
|
* SpeechTextAnalytics service.
|
|
45315
45356
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45316
|
-
* @version
|
|
45357
|
+
* @version 165.0.0
|
|
45317
45358
|
*/
|
|
45318
45359
|
|
|
45319
45360
|
/**
|
|
@@ -46242,7 +46283,7 @@ class StationsApi {
|
|
|
46242
46283
|
/**
|
|
46243
46284
|
* Stations service.
|
|
46244
46285
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46245
|
-
* @version
|
|
46286
|
+
* @version 165.0.0
|
|
46246
46287
|
*/
|
|
46247
46288
|
|
|
46248
46289
|
/**
|
|
@@ -46389,7 +46430,7 @@ class SuggestApi {
|
|
|
46389
46430
|
/**
|
|
46390
46431
|
* Suggest service.
|
|
46391
46432
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46392
|
-
* @version
|
|
46433
|
+
* @version 165.0.0
|
|
46393
46434
|
*/
|
|
46394
46435
|
|
|
46395
46436
|
/**
|
|
@@ -46528,7 +46569,7 @@ class TeamsApi {
|
|
|
46528
46569
|
/**
|
|
46529
46570
|
* Teams service.
|
|
46530
46571
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46531
|
-
* @version
|
|
46572
|
+
* @version 165.0.0
|
|
46532
46573
|
*/
|
|
46533
46574
|
|
|
46534
46575
|
/**
|
|
@@ -46799,7 +46840,7 @@ class TelephonyApi {
|
|
|
46799
46840
|
/**
|
|
46800
46841
|
* Telephony service.
|
|
46801
46842
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46802
|
-
* @version
|
|
46843
|
+
* @version 165.0.0
|
|
46803
46844
|
*/
|
|
46804
46845
|
|
|
46805
46846
|
/**
|
|
@@ -46927,7 +46968,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46927
46968
|
/**
|
|
46928
46969
|
* TelephonyProvidersEdge service.
|
|
46929
46970
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46930
|
-
* @version
|
|
46971
|
+
* @version 165.0.0
|
|
46931
46972
|
*/
|
|
46932
46973
|
|
|
46933
46974
|
/**
|
|
@@ -47580,66 +47621,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
47580
47621
|
);
|
|
47581
47622
|
}
|
|
47582
47623
|
|
|
47583
|
-
/**
|
|
47584
|
-
* Get line
|
|
47585
|
-
*
|
|
47586
|
-
* @param {String} edgeId Edge ID
|
|
47587
|
-
* @param {String} lineId Line ID
|
|
47588
|
-
*/
|
|
47589
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
47590
|
-
// verify the required parameter 'edgeId' is set
|
|
47591
|
-
if (edgeId === undefined || edgeId === null) {
|
|
47592
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
47593
|
-
}
|
|
47594
|
-
// verify the required parameter 'lineId' is set
|
|
47595
|
-
if (lineId === undefined || lineId === null) {
|
|
47596
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
47597
|
-
}
|
|
47598
|
-
|
|
47599
|
-
return this.apiClient.callApi(
|
|
47600
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
47601
|
-
'GET',
|
|
47602
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
47603
|
-
{ },
|
|
47604
|
-
{ },
|
|
47605
|
-
{ },
|
|
47606
|
-
null,
|
|
47607
|
-
['PureCloud OAuth'],
|
|
47608
|
-
['application/json'],
|
|
47609
|
-
['application/json']
|
|
47610
|
-
);
|
|
47611
|
-
}
|
|
47612
|
-
|
|
47613
|
-
/**
|
|
47614
|
-
* Get the list of lines.
|
|
47615
|
-
*
|
|
47616
|
-
* @param {String} edgeId Edge ID
|
|
47617
|
-
* @param {Object} opts Optional parameters
|
|
47618
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
47619
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47620
|
-
*/
|
|
47621
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
47622
|
-
opts = opts || {};
|
|
47623
|
-
|
|
47624
|
-
// verify the required parameter 'edgeId' is set
|
|
47625
|
-
if (edgeId === undefined || edgeId === null) {
|
|
47626
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
47627
|
-
}
|
|
47628
|
-
|
|
47629
|
-
return this.apiClient.callApi(
|
|
47630
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
47631
|
-
'GET',
|
|
47632
|
-
{ 'edgeId': edgeId },
|
|
47633
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
47634
|
-
{ },
|
|
47635
|
-
{ },
|
|
47636
|
-
null,
|
|
47637
|
-
['PureCloud OAuth'],
|
|
47638
|
-
['application/json'],
|
|
47639
|
-
['application/json']
|
|
47640
|
-
);
|
|
47641
|
-
}
|
|
47642
|
-
|
|
47643
47624
|
/**
|
|
47644
47625
|
* Get an edge logical interface
|
|
47645
47626
|
*
|
|
@@ -48477,7 +48458,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
48477
48458
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
48478
48459
|
* @param {String} opts.name Name
|
|
48479
48460
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
48480
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
48461
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
48481
48462
|
*/
|
|
48482
48463
|
getTelephonyProvidersEdgesLines(opts) {
|
|
48483
48464
|
opts = opts || {};
|
|
@@ -50030,41 +50011,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
50030
50011
|
);
|
|
50031
50012
|
}
|
|
50032
50013
|
|
|
50033
|
-
/**
|
|
50034
|
-
* Update a line.
|
|
50035
|
-
*
|
|
50036
|
-
* @param {String} edgeId Edge ID
|
|
50037
|
-
* @param {String} lineId Line ID
|
|
50038
|
-
* @param {Object} body Line
|
|
50039
|
-
*/
|
|
50040
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
50041
|
-
// verify the required parameter 'edgeId' is set
|
|
50042
|
-
if (edgeId === undefined || edgeId === null) {
|
|
50043
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
50044
|
-
}
|
|
50045
|
-
// verify the required parameter 'lineId' is set
|
|
50046
|
-
if (lineId === undefined || lineId === null) {
|
|
50047
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
50048
|
-
}
|
|
50049
|
-
// verify the required parameter 'body' is set
|
|
50050
|
-
if (body === undefined || body === null) {
|
|
50051
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
50052
|
-
}
|
|
50053
|
-
|
|
50054
|
-
return this.apiClient.callApi(
|
|
50055
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
50056
|
-
'PUT',
|
|
50057
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
50058
|
-
{ },
|
|
50059
|
-
{ },
|
|
50060
|
-
{ },
|
|
50061
|
-
body,
|
|
50062
|
-
['PureCloud OAuth'],
|
|
50063
|
-
['application/json'],
|
|
50064
|
-
['application/json']
|
|
50065
|
-
);
|
|
50066
|
-
}
|
|
50067
|
-
|
|
50068
50014
|
/**
|
|
50069
50015
|
* Update an edge logical interface.
|
|
50070
50016
|
*
|
|
@@ -50536,7 +50482,7 @@ class TextbotsApi {
|
|
|
50536
50482
|
/**
|
|
50537
50483
|
* Textbots service.
|
|
50538
50484
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50539
|
-
* @version
|
|
50485
|
+
* @version 165.0.0
|
|
50540
50486
|
*/
|
|
50541
50487
|
|
|
50542
50488
|
/**
|
|
@@ -50664,7 +50610,7 @@ class TokensApi {
|
|
|
50664
50610
|
/**
|
|
50665
50611
|
* Tokens service.
|
|
50666
50612
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50667
|
-
* @version
|
|
50613
|
+
* @version 165.0.0
|
|
50668
50614
|
*/
|
|
50669
50615
|
|
|
50670
50616
|
/**
|
|
@@ -50770,7 +50716,7 @@ class UploadsApi {
|
|
|
50770
50716
|
/**
|
|
50771
50717
|
* Uploads service.
|
|
50772
50718
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50773
|
-
* @version
|
|
50719
|
+
* @version 165.0.0
|
|
50774
50720
|
*/
|
|
50775
50721
|
|
|
50776
50722
|
/**
|
|
@@ -50946,7 +50892,7 @@ class UsageApi {
|
|
|
50946
50892
|
/**
|
|
50947
50893
|
* Usage service.
|
|
50948
50894
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50949
|
-
* @version
|
|
50895
|
+
* @version 165.0.0
|
|
50950
50896
|
*/
|
|
50951
50897
|
|
|
50952
50898
|
/**
|
|
@@ -50961,6 +50907,65 @@ class UsageApi {
|
|
|
50961
50907
|
}
|
|
50962
50908
|
|
|
50963
50909
|
|
|
50910
|
+
/**
|
|
50911
|
+
* Get the results of a usage query
|
|
50912
|
+
*
|
|
50913
|
+
* @param {String} executionId ID of the query execution
|
|
50914
|
+
* @param {String} clientId Client ID
|
|
50915
|
+
*/
|
|
50916
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
50917
|
+
// verify the required parameter 'executionId' is set
|
|
50918
|
+
if (executionId === undefined || executionId === null) {
|
|
50919
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
50920
|
+
}
|
|
50921
|
+
// verify the required parameter 'clientId' is set
|
|
50922
|
+
if (clientId === undefined || clientId === null) {
|
|
50923
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
50924
|
+
}
|
|
50925
|
+
|
|
50926
|
+
return this.apiClient.callApi(
|
|
50927
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
50928
|
+
'GET',
|
|
50929
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
50930
|
+
{ },
|
|
50931
|
+
{ },
|
|
50932
|
+
{ },
|
|
50933
|
+
null,
|
|
50934
|
+
['PureCloud OAuth'],
|
|
50935
|
+
['application/json'],
|
|
50936
|
+
['application/json']
|
|
50937
|
+
);
|
|
50938
|
+
}
|
|
50939
|
+
|
|
50940
|
+
/**
|
|
50941
|
+
* Get a summary of OAuth client API usage
|
|
50942
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
50943
|
+
* @param {String} clientId Client ID
|
|
50944
|
+
* @param {Object} opts Optional parameters
|
|
50945
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
50946
|
+
*/
|
|
50947
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
50948
|
+
opts = opts || {};
|
|
50949
|
+
|
|
50950
|
+
// verify the required parameter 'clientId' is set
|
|
50951
|
+
if (clientId === undefined || clientId === null) {
|
|
50952
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
50953
|
+
}
|
|
50954
|
+
|
|
50955
|
+
return this.apiClient.callApi(
|
|
50956
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
50957
|
+
'GET',
|
|
50958
|
+
{ 'clientId': clientId },
|
|
50959
|
+
{ 'days': opts['days'] },
|
|
50960
|
+
{ },
|
|
50961
|
+
{ },
|
|
50962
|
+
null,
|
|
50963
|
+
['PureCloud OAuth'],
|
|
50964
|
+
['application/json'],
|
|
50965
|
+
['application/json']
|
|
50966
|
+
);
|
|
50967
|
+
}
|
|
50968
|
+
|
|
50964
50969
|
/**
|
|
50965
50970
|
* Get the results of a usage query
|
|
50966
50971
|
*
|
|
@@ -50986,6 +50991,36 @@ class UsageApi {
|
|
|
50986
50991
|
);
|
|
50987
50992
|
}
|
|
50988
50993
|
|
|
50994
|
+
/**
|
|
50995
|
+
* Query for OAuth client API usage
|
|
50996
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
50997
|
+
* @param {String} clientId Client ID
|
|
50998
|
+
* @param {Object} body Query
|
|
50999
|
+
*/
|
|
51000
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
51001
|
+
// verify the required parameter 'clientId' is set
|
|
51002
|
+
if (clientId === undefined || clientId === null) {
|
|
51003
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
51004
|
+
}
|
|
51005
|
+
// verify the required parameter 'body' is set
|
|
51006
|
+
if (body === undefined || body === null) {
|
|
51007
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
51008
|
+
}
|
|
51009
|
+
|
|
51010
|
+
return this.apiClient.callApi(
|
|
51011
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
51012
|
+
'POST',
|
|
51013
|
+
{ 'clientId': clientId },
|
|
51014
|
+
{ },
|
|
51015
|
+
{ },
|
|
51016
|
+
{ },
|
|
51017
|
+
body,
|
|
51018
|
+
['PureCloud OAuth'],
|
|
51019
|
+
['application/json'],
|
|
51020
|
+
['application/json']
|
|
51021
|
+
);
|
|
51022
|
+
}
|
|
51023
|
+
|
|
50989
51024
|
/**
|
|
50990
51025
|
* Query organization API Usage -
|
|
50991
51026
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -51017,7 +51052,7 @@ class UserRecordingsApi {
|
|
|
51017
51052
|
/**
|
|
51018
51053
|
* UserRecordings service.
|
|
51019
51054
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51020
|
-
* @version
|
|
51055
|
+
* @version 165.0.0
|
|
51021
51056
|
*/
|
|
51022
51057
|
|
|
51023
51058
|
/**
|
|
@@ -51202,7 +51237,7 @@ class UsersApi {
|
|
|
51202
51237
|
/**
|
|
51203
51238
|
* Users service.
|
|
51204
51239
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51205
|
-
* @version
|
|
51240
|
+
* @version 165.0.0
|
|
51206
51241
|
*/
|
|
51207
51242
|
|
|
51208
51243
|
/**
|
|
@@ -52311,6 +52346,7 @@ class UsersApi {
|
|
|
52311
52346
|
* @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
|
|
52312
52347
|
* @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
|
|
52313
52348
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
52349
|
+
* @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)
|
|
52314
52350
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52315
52351
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
52316
52352
|
* @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)
|
|
@@ -52326,7 +52362,7 @@ class UsersApi {
|
|
|
52326
52362
|
'/api/v2/users/development/activities',
|
|
52327
52363
|
'GET',
|
|
52328
52364
|
{ },
|
|
52329
|
-
{ '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') },
|
|
52365
|
+
{ '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') },
|
|
52330
52366
|
{ },
|
|
52331
52367
|
{ },
|
|
52332
52368
|
null,
|
|
@@ -52344,6 +52380,7 @@ class UsersApi {
|
|
|
52344
52380
|
* @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
|
|
52345
52381
|
* @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
|
|
52346
52382
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
52383
|
+
* @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)
|
|
52347
52384
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52348
52385
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
52349
52386
|
* @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)
|
|
@@ -52359,7 +52396,7 @@ class UsersApi {
|
|
|
52359
52396
|
'/api/v2/users/development/activities/me',
|
|
52360
52397
|
'GET',
|
|
52361
52398
|
{ },
|
|
52362
|
-
{ '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') },
|
|
52399
|
+
{ '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') },
|
|
52363
52400
|
{ },
|
|
52364
52401
|
{ },
|
|
52365
52402
|
null,
|
|
@@ -53590,7 +53627,7 @@ class UtilitiesApi {
|
|
|
53590
53627
|
/**
|
|
53591
53628
|
* Utilities service.
|
|
53592
53629
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53593
|
-
* @version
|
|
53630
|
+
* @version 165.0.0
|
|
53594
53631
|
*/
|
|
53595
53632
|
|
|
53596
53633
|
/**
|
|
@@ -53701,7 +53738,7 @@ class VoicemailApi {
|
|
|
53701
53738
|
/**
|
|
53702
53739
|
* Voicemail service.
|
|
53703
53740
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53704
|
-
* @version
|
|
53741
|
+
* @version 165.0.0
|
|
53705
53742
|
*/
|
|
53706
53743
|
|
|
53707
53744
|
/**
|
|
@@ -54368,7 +54405,7 @@ class WebChatApi {
|
|
|
54368
54405
|
/**
|
|
54369
54406
|
* WebChat service.
|
|
54370
54407
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54371
|
-
* @version
|
|
54408
|
+
* @version 165.0.0
|
|
54372
54409
|
*/
|
|
54373
54410
|
|
|
54374
54411
|
/**
|
|
@@ -54912,7 +54949,7 @@ class WebDeploymentsApi {
|
|
|
54912
54949
|
/**
|
|
54913
54950
|
* WebDeployments service.
|
|
54914
54951
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54915
|
-
* @version
|
|
54952
|
+
* @version 165.0.0
|
|
54916
54953
|
*/
|
|
54917
54954
|
|
|
54918
54955
|
/**
|
|
@@ -55434,7 +55471,7 @@ class WebMessagingApi {
|
|
|
55434
55471
|
/**
|
|
55435
55472
|
* WebMessaging service.
|
|
55436
55473
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55437
|
-
* @version
|
|
55474
|
+
* @version 165.0.0
|
|
55438
55475
|
*/
|
|
55439
55476
|
|
|
55440
55477
|
/**
|
|
@@ -55480,7 +55517,7 @@ class WidgetsApi {
|
|
|
55480
55517
|
/**
|
|
55481
55518
|
* Widgets service.
|
|
55482
55519
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55483
|
-
* @version
|
|
55520
|
+
* @version 165.0.0
|
|
55484
55521
|
*/
|
|
55485
55522
|
|
|
55486
55523
|
/**
|
|
@@ -55626,7 +55663,7 @@ class WorkforceManagementApi {
|
|
|
55626
55663
|
/**
|
|
55627
55664
|
* WorkforceManagement service.
|
|
55628
55665
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55629
|
-
* @version
|
|
55666
|
+
* @version 165.0.0
|
|
55630
55667
|
*/
|
|
55631
55668
|
|
|
55632
55669
|
/**
|
|
@@ -60370,7 +60407,7 @@ class WorkforceManagementApi {
|
|
|
60370
60407
|
* </pre>
|
|
60371
60408
|
* </p>
|
|
60372
60409
|
* @module purecloud-platform-client-v2/index
|
|
60373
|
-
* @version
|
|
60410
|
+
* @version 165.0.0
|
|
60374
60411
|
*/
|
|
60375
60412
|
class platformClient {
|
|
60376
60413
|
constructor() {
|