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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.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 164.0.0
|
|
46931
46972
|
*/
|
|
46932
46973
|
|
|
46933
46974
|
/**
|
|
@@ -50536,7 +50577,7 @@ class TextbotsApi {
|
|
|
50536
50577
|
/**
|
|
50537
50578
|
* Textbots service.
|
|
50538
50579
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50539
|
-
* @version
|
|
50580
|
+
* @version 164.0.0
|
|
50540
50581
|
*/
|
|
50541
50582
|
|
|
50542
50583
|
/**
|
|
@@ -50664,7 +50705,7 @@ class TokensApi {
|
|
|
50664
50705
|
/**
|
|
50665
50706
|
* Tokens service.
|
|
50666
50707
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50667
|
-
* @version
|
|
50708
|
+
* @version 164.0.0
|
|
50668
50709
|
*/
|
|
50669
50710
|
|
|
50670
50711
|
/**
|
|
@@ -50770,7 +50811,7 @@ class UploadsApi {
|
|
|
50770
50811
|
/**
|
|
50771
50812
|
* Uploads service.
|
|
50772
50813
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50773
|
-
* @version
|
|
50814
|
+
* @version 164.0.0
|
|
50774
50815
|
*/
|
|
50775
50816
|
|
|
50776
50817
|
/**
|
|
@@ -50946,7 +50987,7 @@ class UsageApi {
|
|
|
50946
50987
|
/**
|
|
50947
50988
|
* Usage service.
|
|
50948
50989
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50949
|
-
* @version
|
|
50990
|
+
* @version 164.0.0
|
|
50950
50991
|
*/
|
|
50951
50992
|
|
|
50952
50993
|
/**
|
|
@@ -50961,6 +51002,65 @@ class UsageApi {
|
|
|
50961
51002
|
}
|
|
50962
51003
|
|
|
50963
51004
|
|
|
51005
|
+
/**
|
|
51006
|
+
* Get the results of a usage query
|
|
51007
|
+
*
|
|
51008
|
+
* @param {String} executionId ID of the query execution
|
|
51009
|
+
* @param {String} clientId Client ID
|
|
51010
|
+
*/
|
|
51011
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
51012
|
+
// verify the required parameter 'executionId' is set
|
|
51013
|
+
if (executionId === undefined || executionId === null) {
|
|
51014
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
51015
|
+
}
|
|
51016
|
+
// verify the required parameter 'clientId' is set
|
|
51017
|
+
if (clientId === undefined || clientId === null) {
|
|
51018
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
51019
|
+
}
|
|
51020
|
+
|
|
51021
|
+
return this.apiClient.callApi(
|
|
51022
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
51023
|
+
'GET',
|
|
51024
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
51025
|
+
{ },
|
|
51026
|
+
{ },
|
|
51027
|
+
{ },
|
|
51028
|
+
null,
|
|
51029
|
+
['PureCloud OAuth'],
|
|
51030
|
+
['application/json'],
|
|
51031
|
+
['application/json']
|
|
51032
|
+
);
|
|
51033
|
+
}
|
|
51034
|
+
|
|
51035
|
+
/**
|
|
51036
|
+
* Get a summary of OAuth client API usage
|
|
51037
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
51038
|
+
* @param {String} clientId Client ID
|
|
51039
|
+
* @param {Object} opts Optional parameters
|
|
51040
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
51041
|
+
*/
|
|
51042
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
51043
|
+
opts = opts || {};
|
|
51044
|
+
|
|
51045
|
+
// verify the required parameter 'clientId' is set
|
|
51046
|
+
if (clientId === undefined || clientId === null) {
|
|
51047
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
51048
|
+
}
|
|
51049
|
+
|
|
51050
|
+
return this.apiClient.callApi(
|
|
51051
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
51052
|
+
'GET',
|
|
51053
|
+
{ 'clientId': clientId },
|
|
51054
|
+
{ 'days': opts['days'] },
|
|
51055
|
+
{ },
|
|
51056
|
+
{ },
|
|
51057
|
+
null,
|
|
51058
|
+
['PureCloud OAuth'],
|
|
51059
|
+
['application/json'],
|
|
51060
|
+
['application/json']
|
|
51061
|
+
);
|
|
51062
|
+
}
|
|
51063
|
+
|
|
50964
51064
|
/**
|
|
50965
51065
|
* Get the results of a usage query
|
|
50966
51066
|
*
|
|
@@ -50986,6 +51086,36 @@ class UsageApi {
|
|
|
50986
51086
|
);
|
|
50987
51087
|
}
|
|
50988
51088
|
|
|
51089
|
+
/**
|
|
51090
|
+
* Query for OAuth client API usage
|
|
51091
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
51092
|
+
* @param {String} clientId Client ID
|
|
51093
|
+
* @param {Object} body Query
|
|
51094
|
+
*/
|
|
51095
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
51096
|
+
// verify the required parameter 'clientId' is set
|
|
51097
|
+
if (clientId === undefined || clientId === null) {
|
|
51098
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
51099
|
+
}
|
|
51100
|
+
// verify the required parameter 'body' is set
|
|
51101
|
+
if (body === undefined || body === null) {
|
|
51102
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
51103
|
+
}
|
|
51104
|
+
|
|
51105
|
+
return this.apiClient.callApi(
|
|
51106
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
51107
|
+
'POST',
|
|
51108
|
+
{ 'clientId': clientId },
|
|
51109
|
+
{ },
|
|
51110
|
+
{ },
|
|
51111
|
+
{ },
|
|
51112
|
+
body,
|
|
51113
|
+
['PureCloud OAuth'],
|
|
51114
|
+
['application/json'],
|
|
51115
|
+
['application/json']
|
|
51116
|
+
);
|
|
51117
|
+
}
|
|
51118
|
+
|
|
50989
51119
|
/**
|
|
50990
51120
|
* Query organization API Usage -
|
|
50991
51121
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -51017,7 +51147,7 @@ class UserRecordingsApi {
|
|
|
51017
51147
|
/**
|
|
51018
51148
|
* UserRecordings service.
|
|
51019
51149
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51020
|
-
* @version
|
|
51150
|
+
* @version 164.0.0
|
|
51021
51151
|
*/
|
|
51022
51152
|
|
|
51023
51153
|
/**
|
|
@@ -51202,7 +51332,7 @@ class UsersApi {
|
|
|
51202
51332
|
/**
|
|
51203
51333
|
* Users service.
|
|
51204
51334
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51205
|
-
* @version
|
|
51335
|
+
* @version 164.0.0
|
|
51206
51336
|
*/
|
|
51207
51337
|
|
|
51208
51338
|
/**
|
|
@@ -53590,7 +53720,7 @@ class UtilitiesApi {
|
|
|
53590
53720
|
/**
|
|
53591
53721
|
* Utilities service.
|
|
53592
53722
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53593
|
-
* @version
|
|
53723
|
+
* @version 164.0.0
|
|
53594
53724
|
*/
|
|
53595
53725
|
|
|
53596
53726
|
/**
|
|
@@ -53701,7 +53831,7 @@ class VoicemailApi {
|
|
|
53701
53831
|
/**
|
|
53702
53832
|
* Voicemail service.
|
|
53703
53833
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53704
|
-
* @version
|
|
53834
|
+
* @version 164.0.0
|
|
53705
53835
|
*/
|
|
53706
53836
|
|
|
53707
53837
|
/**
|
|
@@ -54368,7 +54498,7 @@ class WebChatApi {
|
|
|
54368
54498
|
/**
|
|
54369
54499
|
* WebChat service.
|
|
54370
54500
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54371
|
-
* @version
|
|
54501
|
+
* @version 164.0.0
|
|
54372
54502
|
*/
|
|
54373
54503
|
|
|
54374
54504
|
/**
|
|
@@ -54912,7 +55042,7 @@ class WebDeploymentsApi {
|
|
|
54912
55042
|
/**
|
|
54913
55043
|
* WebDeployments service.
|
|
54914
55044
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54915
|
-
* @version
|
|
55045
|
+
* @version 164.0.0
|
|
54916
55046
|
*/
|
|
54917
55047
|
|
|
54918
55048
|
/**
|
|
@@ -55434,7 +55564,7 @@ class WebMessagingApi {
|
|
|
55434
55564
|
/**
|
|
55435
55565
|
* WebMessaging service.
|
|
55436
55566
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55437
|
-
* @version
|
|
55567
|
+
* @version 164.0.0
|
|
55438
55568
|
*/
|
|
55439
55569
|
|
|
55440
55570
|
/**
|
|
@@ -55480,7 +55610,7 @@ class WidgetsApi {
|
|
|
55480
55610
|
/**
|
|
55481
55611
|
* Widgets service.
|
|
55482
55612
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55483
|
-
* @version
|
|
55613
|
+
* @version 164.0.0
|
|
55484
55614
|
*/
|
|
55485
55615
|
|
|
55486
55616
|
/**
|
|
@@ -55626,7 +55756,7 @@ class WorkforceManagementApi {
|
|
|
55626
55756
|
/**
|
|
55627
55757
|
* WorkforceManagement service.
|
|
55628
55758
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55629
|
-
* @version
|
|
55759
|
+
* @version 164.0.0
|
|
55630
55760
|
*/
|
|
55631
55761
|
|
|
55632
55762
|
/**
|
|
@@ -60370,7 +60500,7 @@ class WorkforceManagementApi {
|
|
|
60370
60500
|
* </pre>
|
|
60371
60501
|
* </p>
|
|
60372
60502
|
* @module purecloud-platform-client-v2/index
|
|
60373
|
-
* @version
|
|
60503
|
+
* @version 164.0.0
|
|
60374
60504
|
*/
|
|
60375
60505
|
class platformClient {
|
|
60376
60506
|
constructor() {
|