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
|
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* @module purecloud-platform-client-v2/ApiClient
|
|
402
|
-
* @version
|
|
402
|
+
* @version 165.0.0
|
|
403
403
|
*/
|
|
404
404
|
class ApiClient {
|
|
405
405
|
/**
|
|
@@ -1485,7 +1485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Alerting service.
|
|
1487
1487
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1488
|
-
* @version
|
|
1488
|
+
* @version 165.0.0
|
|
1489
1489
|
*/
|
|
1490
1490
|
|
|
1491
1491
|
/**
|
|
@@ -1799,7 +1799,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Analytics service.
|
|
1801
1801
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1802
|
-
* @version
|
|
1802
|
+
* @version 165.0.0
|
|
1803
1803
|
*/
|
|
1804
1804
|
|
|
1805
1805
|
/**
|
|
@@ -3053,7 +3053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3053
3053
|
/**
|
|
3054
3054
|
* Architect service.
|
|
3055
3055
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3056
|
-
* @version
|
|
3056
|
+
* @version 165.0.0
|
|
3057
3057
|
*/
|
|
3058
3058
|
|
|
3059
3059
|
/**
|
|
@@ -6101,7 +6101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6101
6101
|
/**
|
|
6102
6102
|
* Audit service.
|
|
6103
6103
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6104
|
-
* @version
|
|
6104
|
+
* @version 165.0.0
|
|
6105
6105
|
*/
|
|
6106
6106
|
|
|
6107
6107
|
/**
|
|
@@ -6187,7 +6187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6187
6187
|
* @param {String} transactionId Transaction ID
|
|
6188
6188
|
* @param {Object} opts Optional parameters
|
|
6189
6189
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
6190
|
-
* @param {Number} opts.pageSize
|
|
6190
|
+
* @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)
|
|
6191
6191
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6192
6192
|
*/
|
|
6193
6193
|
getAuditsQueryTransactionIdResults(transactionId, opts) {
|
|
@@ -6272,7 +6272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6272
6272
|
/**
|
|
6273
6273
|
* Authorization service.
|
|
6274
6274
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6275
|
-
* @version
|
|
6275
|
+
* @version 165.0.0
|
|
6276
6276
|
*/
|
|
6277
6277
|
|
|
6278
6278
|
/**
|
|
@@ -7501,7 +7501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7501
7501
|
/**
|
|
7502
7502
|
* Billing service.
|
|
7503
7503
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7504
|
-
* @version
|
|
7504
|
+
* @version 165.0.0
|
|
7505
7505
|
*/
|
|
7506
7506
|
|
|
7507
7507
|
/**
|
|
@@ -7581,7 +7581,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7581
7581
|
/**
|
|
7582
7582
|
* Chat service.
|
|
7583
7583
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7584
|
-
* @version
|
|
7584
|
+
* @version 165.0.0
|
|
7585
7585
|
*/
|
|
7586
7586
|
|
|
7587
7587
|
/**
|
|
@@ -7742,7 +7742,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7742
7742
|
/**
|
|
7743
7743
|
* Coaching service.
|
|
7744
7744
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7745
|
-
* @version
|
|
7745
|
+
* @version 165.0.0
|
|
7746
7746
|
*/
|
|
7747
7747
|
|
|
7748
7748
|
/**
|
|
@@ -8319,7 +8319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8319
8319
|
/**
|
|
8320
8320
|
* ContentManagement service.
|
|
8321
8321
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8322
|
-
* @version
|
|
8322
|
+
* @version 165.0.0
|
|
8323
8323
|
*/
|
|
8324
8324
|
|
|
8325
8325
|
/**
|
|
@@ -9459,7 +9459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9459
9459
|
/**
|
|
9460
9460
|
* Conversations service.
|
|
9461
9461
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9462
|
-
* @version
|
|
9462
|
+
* @version 165.0.0
|
|
9463
9463
|
*/
|
|
9464
9464
|
|
|
9465
9465
|
/**
|
|
@@ -12036,6 +12036,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12036
12036
|
);
|
|
12037
12037
|
}
|
|
12038
12038
|
|
|
12039
|
+
/**
|
|
12040
|
+
* Update after-call work for this conversation communication.
|
|
12041
|
+
*
|
|
12042
|
+
* @param {String} conversationId conversationId
|
|
12043
|
+
* @param {String} participantId participantId
|
|
12044
|
+
* @param {String} communicationId communicationId
|
|
12045
|
+
* @param {Object} body AfterCallWorkUpdate
|
|
12046
|
+
*/
|
|
12047
|
+
patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
|
|
12048
|
+
// verify the required parameter 'conversationId' is set
|
|
12049
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12050
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12051
|
+
}
|
|
12052
|
+
// verify the required parameter 'participantId' is set
|
|
12053
|
+
if (participantId === undefined || participantId === null) {
|
|
12054
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12055
|
+
}
|
|
12056
|
+
// verify the required parameter 'communicationId' is set
|
|
12057
|
+
if (communicationId === undefined || communicationId === null) {
|
|
12058
|
+
throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12059
|
+
}
|
|
12060
|
+
// verify the required parameter 'body' is set
|
|
12061
|
+
if (body === undefined || body === null) {
|
|
12062
|
+
throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
12063
|
+
}
|
|
12064
|
+
|
|
12065
|
+
return this.apiClient.callApi(
|
|
12066
|
+
'/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
12067
|
+
'PATCH',
|
|
12068
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
12069
|
+
{ },
|
|
12070
|
+
{ },
|
|
12071
|
+
{ },
|
|
12072
|
+
body,
|
|
12073
|
+
['PureCloud OAuth'],
|
|
12074
|
+
['application/json'],
|
|
12075
|
+
['application/json']
|
|
12076
|
+
);
|
|
12077
|
+
}
|
|
12078
|
+
|
|
12039
12079
|
/**
|
|
12040
12080
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
12041
12081
|
*
|
|
@@ -15479,7 +15519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15479
15519
|
/**
|
|
15480
15520
|
* DataExtensions service.
|
|
15481
15521
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15482
|
-
* @version
|
|
15522
|
+
* @version 165.0.0
|
|
15483
15523
|
*/
|
|
15484
15524
|
|
|
15485
15525
|
/**
|
|
@@ -15565,7 +15605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15565
15605
|
/**
|
|
15566
15606
|
* Downloads service.
|
|
15567
15607
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
15568
|
-
* @version
|
|
15608
|
+
* @version 165.0.0
|
|
15569
15609
|
*/
|
|
15570
15610
|
|
|
15571
15611
|
/**
|
|
@@ -15617,7 +15657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15617
15657
|
/**
|
|
15618
15658
|
* Events service.
|
|
15619
15659
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
15620
|
-
* @version
|
|
15660
|
+
* @version 165.0.0
|
|
15621
15661
|
*/
|
|
15622
15662
|
|
|
15623
15663
|
/**
|
|
@@ -15713,7 +15753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15713
15753
|
/**
|
|
15714
15754
|
* ExternalContacts service.
|
|
15715
15755
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15716
|
-
* @version
|
|
15756
|
+
* @version 165.0.0
|
|
15717
15757
|
*/
|
|
15718
15758
|
|
|
15719
15759
|
/**
|
|
@@ -17671,7 +17711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17671
17711
|
/**
|
|
17672
17712
|
* Fax service.
|
|
17673
17713
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17674
|
-
* @version
|
|
17714
|
+
* @version 165.0.0
|
|
17675
17715
|
*/
|
|
17676
17716
|
|
|
17677
17717
|
/**
|
|
@@ -17842,7 +17882,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17842
17882
|
/**
|
|
17843
17883
|
* Flows service.
|
|
17844
17884
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17845
|
-
* @version
|
|
17885
|
+
* @version 165.0.0
|
|
17846
17886
|
*/
|
|
17847
17887
|
|
|
17848
17888
|
/**
|
|
@@ -17913,7 +17953,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17913
17953
|
/**
|
|
17914
17954
|
* Gamification service.
|
|
17915
17955
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17916
|
-
* @version
|
|
17956
|
+
* @version 165.0.0
|
|
17917
17957
|
*/
|
|
17918
17958
|
|
|
17919
17959
|
/**
|
|
@@ -19530,7 +19570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19530
19570
|
/**
|
|
19531
19571
|
* GeneralDataProtectionRegulation service.
|
|
19532
19572
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19533
|
-
* @version
|
|
19573
|
+
* @version 165.0.0
|
|
19534
19574
|
*/
|
|
19535
19575
|
|
|
19536
19576
|
/**
|
|
@@ -19660,7 +19700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19660
19700
|
/**
|
|
19661
19701
|
* Geolocation service.
|
|
19662
19702
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19663
|
-
* @version
|
|
19703
|
+
* @version 165.0.0
|
|
19664
19704
|
*/
|
|
19665
19705
|
|
|
19666
19706
|
/**
|
|
@@ -19791,7 +19831,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19791
19831
|
/**
|
|
19792
19832
|
* Greetings service.
|
|
19793
19833
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19794
|
-
* @version
|
|
19834
|
+
* @version 165.0.0
|
|
19795
19835
|
*/
|
|
19796
19836
|
|
|
19797
19837
|
/**
|
|
@@ -20246,7 +20286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20246
20286
|
/**
|
|
20247
20287
|
* Groups service.
|
|
20248
20288
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20249
|
-
* @version
|
|
20289
|
+
* @version 165.0.0
|
|
20250
20290
|
*/
|
|
20251
20291
|
|
|
20252
20292
|
/**
|
|
@@ -20652,7 +20692,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20652
20692
|
/**
|
|
20653
20693
|
* IdentityProvider service.
|
|
20654
20694
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20655
|
-
* @version
|
|
20695
|
+
* @version 165.0.0
|
|
20656
20696
|
*/
|
|
20657
20697
|
|
|
20658
20698
|
/**
|
|
@@ -21408,7 +21448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21408
21448
|
/**
|
|
21409
21449
|
* InfrastructureAsCode service.
|
|
21410
21450
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
21411
|
-
* @version
|
|
21451
|
+
* @version 165.0.0
|
|
21412
21452
|
*/
|
|
21413
21453
|
|
|
21414
21454
|
/**
|
|
@@ -21510,7 +21550,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21510
21550
|
/**
|
|
21511
21551
|
* Integrations service.
|
|
21512
21552
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21513
|
-
* @version
|
|
21553
|
+
* @version 165.0.0
|
|
21514
21554
|
*/
|
|
21515
21555
|
|
|
21516
21556
|
/**
|
|
@@ -23110,7 +23150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23110
23150
|
/**
|
|
23111
23151
|
* Journey service.
|
|
23112
23152
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23113
|
-
* @version
|
|
23153
|
+
* @version 165.0.0
|
|
23114
23154
|
*/
|
|
23115
23155
|
|
|
23116
23156
|
/**
|
|
@@ -23990,7 +24030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23990
24030
|
/**
|
|
23991
24031
|
* Knowledge service.
|
|
23992
24032
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23993
|
-
* @version
|
|
24033
|
+
* @version 165.0.0
|
|
23994
24034
|
*/
|
|
23995
24035
|
|
|
23996
24036
|
/**
|
|
@@ -26422,7 +26462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26422
26462
|
/**
|
|
26423
26463
|
* LanguageUnderstanding service.
|
|
26424
26464
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
26425
|
-
* @version
|
|
26465
|
+
* @version 165.0.0
|
|
26426
26466
|
*/
|
|
26427
26467
|
|
|
26428
26468
|
/**
|
|
@@ -27435,7 +27475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27435
27475
|
/**
|
|
27436
27476
|
* Languages service.
|
|
27437
27477
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
27438
|
-
* @version
|
|
27478
|
+
* @version 165.0.0
|
|
27439
27479
|
*/
|
|
27440
27480
|
|
|
27441
27481
|
/**
|
|
@@ -27653,7 +27693,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27653
27693
|
/**
|
|
27654
27694
|
* Learning service.
|
|
27655
27695
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
27656
|
-
* @version
|
|
27696
|
+
* @version 165.0.0
|
|
27657
27697
|
*/
|
|
27658
27698
|
|
|
27659
27699
|
/**
|
|
@@ -28468,7 +28508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28468
28508
|
/**
|
|
28469
28509
|
* License service.
|
|
28470
28510
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
28471
|
-
* @version
|
|
28511
|
+
* @version 165.0.0
|
|
28472
28512
|
*/
|
|
28473
28513
|
|
|
28474
28514
|
/**
|
|
@@ -28706,7 +28746,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28706
28746
|
/**
|
|
28707
28747
|
* Locations service.
|
|
28708
28748
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
28709
|
-
* @version
|
|
28749
|
+
* @version 165.0.0
|
|
28710
28750
|
*/
|
|
28711
28751
|
|
|
28712
28752
|
/**
|
|
@@ -28942,7 +28982,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28942
28982
|
/**
|
|
28943
28983
|
* Messaging service.
|
|
28944
28984
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
28945
|
-
* @version
|
|
28985
|
+
* @version 165.0.0
|
|
28946
28986
|
*/
|
|
28947
28987
|
|
|
28948
28988
|
/**
|
|
@@ -29093,7 +29133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29093
29133
|
/**
|
|
29094
29134
|
* MobileDevices service.
|
|
29095
29135
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29096
|
-
* @version
|
|
29136
|
+
* @version 165.0.0
|
|
29097
29137
|
*/
|
|
29098
29138
|
|
|
29099
29139
|
/**
|
|
@@ -29244,7 +29284,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29244
29284
|
/**
|
|
29245
29285
|
* Notifications service.
|
|
29246
29286
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29247
|
-
* @version
|
|
29287
|
+
* @version 165.0.0
|
|
29248
29288
|
*/
|
|
29249
29289
|
|
|
29250
29290
|
/**
|
|
@@ -29477,7 +29517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29477
29517
|
/**
|
|
29478
29518
|
* OAuth service.
|
|
29479
29519
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
29480
|
-
* @version
|
|
29520
|
+
* @version 165.0.0
|
|
29481
29521
|
*/
|
|
29482
29522
|
|
|
29483
29523
|
/**
|
|
@@ -29843,7 +29883,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29843
29883
|
/**
|
|
29844
29884
|
* Objects service.
|
|
29845
29885
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
29846
|
-
* @version
|
|
29886
|
+
* @version 165.0.0
|
|
29847
29887
|
*/
|
|
29848
29888
|
|
|
29849
29889
|
/**
|
|
@@ -30114,7 +30154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30114
30154
|
/**
|
|
30115
30155
|
* Organization service.
|
|
30116
30156
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30117
|
-
* @version
|
|
30157
|
+
* @version 165.0.0
|
|
30118
30158
|
*/
|
|
30119
30159
|
|
|
30120
30160
|
/**
|
|
@@ -30517,7 +30557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30517
30557
|
/**
|
|
30518
30558
|
* OrganizationAuthorization service.
|
|
30519
30559
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
30520
|
-
* @version
|
|
30560
|
+
* @version 165.0.0
|
|
30521
30561
|
*/
|
|
30522
30562
|
|
|
30523
30563
|
/**
|
|
@@ -31812,7 +31852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31812
31852
|
/**
|
|
31813
31853
|
* Outbound service.
|
|
31814
31854
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
31815
|
-
* @version
|
|
31855
|
+
* @version 165.0.0
|
|
31816
31856
|
*/
|
|
31817
31857
|
|
|
31818
31858
|
/**
|
|
@@ -35408,7 +35448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35408
35448
|
/**
|
|
35409
35449
|
* Presence service.
|
|
35410
35450
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35411
|
-
* @version
|
|
35451
|
+
* @version 165.0.0
|
|
35412
35452
|
*/
|
|
35413
35453
|
|
|
35414
35454
|
/**
|
|
@@ -35959,7 +35999,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35959
35999
|
/**
|
|
35960
36000
|
* ProcessAutomation service.
|
|
35961
36001
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
35962
|
-
* @version
|
|
36002
|
+
* @version 165.0.0
|
|
35963
36003
|
*/
|
|
35964
36004
|
|
|
35965
36005
|
/**
|
|
@@ -36198,7 +36238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36198
36238
|
/**
|
|
36199
36239
|
* Quality service.
|
|
36200
36240
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36201
|
-
* @version
|
|
36241
|
+
* @version 165.0.0
|
|
36202
36242
|
*/
|
|
36203
36243
|
|
|
36204
36244
|
/**
|
|
@@ -37777,7 +37817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37777
37817
|
/**
|
|
37778
37818
|
* Recording service.
|
|
37779
37819
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37780
|
-
* @version
|
|
37820
|
+
* @version 165.0.0
|
|
37781
37821
|
*/
|
|
37782
37822
|
|
|
37783
37823
|
/**
|
|
@@ -39414,7 +39454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39414
39454
|
/**
|
|
39415
39455
|
* ResponseManagement service.
|
|
39416
39456
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39417
|
-
* @version
|
|
39457
|
+
* @version 165.0.0
|
|
39418
39458
|
*/
|
|
39419
39459
|
|
|
39420
39460
|
/**
|
|
@@ -39898,7 +39938,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39898
39938
|
/**
|
|
39899
39939
|
* Routing service.
|
|
39900
39940
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39901
|
-
* @version
|
|
39941
|
+
* @version 165.0.0
|
|
39902
39942
|
*/
|
|
39903
39943
|
|
|
39904
39944
|
/**
|
|
@@ -41841,6 +41881,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41841
41881
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41842
41882
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
41843
41883
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
41884
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
41844
41885
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
41845
41886
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
41846
41887
|
*/
|
|
@@ -41852,7 +41893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41852
41893
|
'/api/v2/routing/wrapupcodes',
|
|
41853
41894
|
'GET',
|
|
41854
41895
|
{ },
|
|
41855
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
41896
|
+
{ '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') },
|
|
41856
41897
|
{ },
|
|
41857
41898
|
{ },
|
|
41858
41899
|
null,
|
|
@@ -43404,7 +43445,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43404
43445
|
/**
|
|
43405
43446
|
* SCIM service.
|
|
43406
43447
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43407
|
-
* @version
|
|
43448
|
+
* @version 165.0.0
|
|
43408
43449
|
*/
|
|
43409
43450
|
|
|
43410
43451
|
/**
|
|
@@ -44281,7 +44322,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44281
44322
|
/**
|
|
44282
44323
|
* Scripts service.
|
|
44283
44324
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44284
|
-
* @version
|
|
44325
|
+
* @version 165.0.0
|
|
44285
44326
|
*/
|
|
44286
44327
|
|
|
44287
44328
|
/**
|
|
@@ -44700,7 +44741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44700
44741
|
/**
|
|
44701
44742
|
* Search service.
|
|
44702
44743
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44703
|
-
* @version
|
|
44744
|
+
* @version 165.0.0
|
|
44704
44745
|
*/
|
|
44705
44746
|
|
|
44706
44747
|
/**
|
|
@@ -45310,7 +45351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45310
45351
|
/**
|
|
45311
45352
|
* SpeechTextAnalytics service.
|
|
45312
45353
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45313
|
-
* @version
|
|
45354
|
+
* @version 165.0.0
|
|
45314
45355
|
*/
|
|
45315
45356
|
|
|
45316
45357
|
/**
|
|
@@ -46239,7 +46280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46239
46280
|
/**
|
|
46240
46281
|
* Stations service.
|
|
46241
46282
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46242
|
-
* @version
|
|
46283
|
+
* @version 165.0.0
|
|
46243
46284
|
*/
|
|
46244
46285
|
|
|
46245
46286
|
/**
|
|
@@ -46386,7 +46427,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46386
46427
|
/**
|
|
46387
46428
|
* Suggest service.
|
|
46388
46429
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46389
|
-
* @version
|
|
46430
|
+
* @version 165.0.0
|
|
46390
46431
|
*/
|
|
46391
46432
|
|
|
46392
46433
|
/**
|
|
@@ -46525,7 +46566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46525
46566
|
/**
|
|
46526
46567
|
* Teams service.
|
|
46527
46568
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46528
|
-
* @version
|
|
46569
|
+
* @version 165.0.0
|
|
46529
46570
|
*/
|
|
46530
46571
|
|
|
46531
46572
|
/**
|
|
@@ -46796,7 +46837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46796
46837
|
/**
|
|
46797
46838
|
* Telephony service.
|
|
46798
46839
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46799
|
-
* @version
|
|
46840
|
+
* @version 165.0.0
|
|
46800
46841
|
*/
|
|
46801
46842
|
|
|
46802
46843
|
/**
|
|
@@ -46924,7 +46965,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46924
46965
|
/**
|
|
46925
46966
|
* TelephonyProvidersEdge service.
|
|
46926
46967
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46927
|
-
* @version
|
|
46968
|
+
* @version 165.0.0
|
|
46928
46969
|
*/
|
|
46929
46970
|
|
|
46930
46971
|
/**
|
|
@@ -47577,66 +47618,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47577
47618
|
);
|
|
47578
47619
|
}
|
|
47579
47620
|
|
|
47580
|
-
/**
|
|
47581
|
-
* Get line
|
|
47582
|
-
*
|
|
47583
|
-
* @param {String} edgeId Edge ID
|
|
47584
|
-
* @param {String} lineId Line ID
|
|
47585
|
-
*/
|
|
47586
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
47587
|
-
// verify the required parameter 'edgeId' is set
|
|
47588
|
-
if (edgeId === undefined || edgeId === null) {
|
|
47589
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
47590
|
-
}
|
|
47591
|
-
// verify the required parameter 'lineId' is set
|
|
47592
|
-
if (lineId === undefined || lineId === null) {
|
|
47593
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
47594
|
-
}
|
|
47595
|
-
|
|
47596
|
-
return this.apiClient.callApi(
|
|
47597
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
47598
|
-
'GET',
|
|
47599
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
47600
|
-
{ },
|
|
47601
|
-
{ },
|
|
47602
|
-
{ },
|
|
47603
|
-
null,
|
|
47604
|
-
['PureCloud OAuth'],
|
|
47605
|
-
['application/json'],
|
|
47606
|
-
['application/json']
|
|
47607
|
-
);
|
|
47608
|
-
}
|
|
47609
|
-
|
|
47610
|
-
/**
|
|
47611
|
-
* Get the list of lines.
|
|
47612
|
-
*
|
|
47613
|
-
* @param {String} edgeId Edge ID
|
|
47614
|
-
* @param {Object} opts Optional parameters
|
|
47615
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
47616
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47617
|
-
*/
|
|
47618
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
47619
|
-
opts = opts || {};
|
|
47620
|
-
|
|
47621
|
-
// verify the required parameter 'edgeId' is set
|
|
47622
|
-
if (edgeId === undefined || edgeId === null) {
|
|
47623
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
47624
|
-
}
|
|
47625
|
-
|
|
47626
|
-
return this.apiClient.callApi(
|
|
47627
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
47628
|
-
'GET',
|
|
47629
|
-
{ 'edgeId': edgeId },
|
|
47630
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
47631
|
-
{ },
|
|
47632
|
-
{ },
|
|
47633
|
-
null,
|
|
47634
|
-
['PureCloud OAuth'],
|
|
47635
|
-
['application/json'],
|
|
47636
|
-
['application/json']
|
|
47637
|
-
);
|
|
47638
|
-
}
|
|
47639
|
-
|
|
47640
47621
|
/**
|
|
47641
47622
|
* Get an edge logical interface
|
|
47642
47623
|
*
|
|
@@ -48474,7 +48455,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48474
48455
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
48475
48456
|
* @param {String} opts.name Name
|
|
48476
48457
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
48477
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
48458
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
48478
48459
|
*/
|
|
48479
48460
|
getTelephonyProvidersEdgesLines(opts) {
|
|
48480
48461
|
opts = opts || {};
|
|
@@ -50027,41 +50008,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50027
50008
|
);
|
|
50028
50009
|
}
|
|
50029
50010
|
|
|
50030
|
-
/**
|
|
50031
|
-
* Update a line.
|
|
50032
|
-
*
|
|
50033
|
-
* @param {String} edgeId Edge ID
|
|
50034
|
-
* @param {String} lineId Line ID
|
|
50035
|
-
* @param {Object} body Line
|
|
50036
|
-
*/
|
|
50037
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
50038
|
-
// verify the required parameter 'edgeId' is set
|
|
50039
|
-
if (edgeId === undefined || edgeId === null) {
|
|
50040
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
50041
|
-
}
|
|
50042
|
-
// verify the required parameter 'lineId' is set
|
|
50043
|
-
if (lineId === undefined || lineId === null) {
|
|
50044
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
50045
|
-
}
|
|
50046
|
-
// verify the required parameter 'body' is set
|
|
50047
|
-
if (body === undefined || body === null) {
|
|
50048
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
50049
|
-
}
|
|
50050
|
-
|
|
50051
|
-
return this.apiClient.callApi(
|
|
50052
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
50053
|
-
'PUT',
|
|
50054
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
50055
|
-
{ },
|
|
50056
|
-
{ },
|
|
50057
|
-
{ },
|
|
50058
|
-
body,
|
|
50059
|
-
['PureCloud OAuth'],
|
|
50060
|
-
['application/json'],
|
|
50061
|
-
['application/json']
|
|
50062
|
-
);
|
|
50063
|
-
}
|
|
50064
|
-
|
|
50065
50011
|
/**
|
|
50066
50012
|
* Update an edge logical interface.
|
|
50067
50013
|
*
|
|
@@ -50533,7 +50479,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50533
50479
|
/**
|
|
50534
50480
|
* Textbots service.
|
|
50535
50481
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50536
|
-
* @version
|
|
50482
|
+
* @version 165.0.0
|
|
50537
50483
|
*/
|
|
50538
50484
|
|
|
50539
50485
|
/**
|
|
@@ -50661,7 +50607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50661
50607
|
/**
|
|
50662
50608
|
* Tokens service.
|
|
50663
50609
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50664
|
-
* @version
|
|
50610
|
+
* @version 165.0.0
|
|
50665
50611
|
*/
|
|
50666
50612
|
|
|
50667
50613
|
/**
|
|
@@ -50767,7 +50713,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50767
50713
|
/**
|
|
50768
50714
|
* Uploads service.
|
|
50769
50715
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50770
|
-
* @version
|
|
50716
|
+
* @version 165.0.0
|
|
50771
50717
|
*/
|
|
50772
50718
|
|
|
50773
50719
|
/**
|
|
@@ -50943,7 +50889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50943
50889
|
/**
|
|
50944
50890
|
* Usage service.
|
|
50945
50891
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50946
|
-
* @version
|
|
50892
|
+
* @version 165.0.0
|
|
50947
50893
|
*/
|
|
50948
50894
|
|
|
50949
50895
|
/**
|
|
@@ -50958,6 +50904,65 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50958
50904
|
}
|
|
50959
50905
|
|
|
50960
50906
|
|
|
50907
|
+
/**
|
|
50908
|
+
* Get the results of a usage query
|
|
50909
|
+
*
|
|
50910
|
+
* @param {String} executionId ID of the query execution
|
|
50911
|
+
* @param {String} clientId Client ID
|
|
50912
|
+
*/
|
|
50913
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
50914
|
+
// verify the required parameter 'executionId' is set
|
|
50915
|
+
if (executionId === undefined || executionId === null) {
|
|
50916
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
50917
|
+
}
|
|
50918
|
+
// verify the required parameter 'clientId' is set
|
|
50919
|
+
if (clientId === undefined || clientId === null) {
|
|
50920
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
50921
|
+
}
|
|
50922
|
+
|
|
50923
|
+
return this.apiClient.callApi(
|
|
50924
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
50925
|
+
'GET',
|
|
50926
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
50927
|
+
{ },
|
|
50928
|
+
{ },
|
|
50929
|
+
{ },
|
|
50930
|
+
null,
|
|
50931
|
+
['PureCloud OAuth'],
|
|
50932
|
+
['application/json'],
|
|
50933
|
+
['application/json']
|
|
50934
|
+
);
|
|
50935
|
+
}
|
|
50936
|
+
|
|
50937
|
+
/**
|
|
50938
|
+
* Get a summary of OAuth client API usage
|
|
50939
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
50940
|
+
* @param {String} clientId Client ID
|
|
50941
|
+
* @param {Object} opts Optional parameters
|
|
50942
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
50943
|
+
*/
|
|
50944
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
50945
|
+
opts = opts || {};
|
|
50946
|
+
|
|
50947
|
+
// verify the required parameter 'clientId' is set
|
|
50948
|
+
if (clientId === undefined || clientId === null) {
|
|
50949
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
50950
|
+
}
|
|
50951
|
+
|
|
50952
|
+
return this.apiClient.callApi(
|
|
50953
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
50954
|
+
'GET',
|
|
50955
|
+
{ 'clientId': clientId },
|
|
50956
|
+
{ 'days': opts['days'] },
|
|
50957
|
+
{ },
|
|
50958
|
+
{ },
|
|
50959
|
+
null,
|
|
50960
|
+
['PureCloud OAuth'],
|
|
50961
|
+
['application/json'],
|
|
50962
|
+
['application/json']
|
|
50963
|
+
);
|
|
50964
|
+
}
|
|
50965
|
+
|
|
50961
50966
|
/**
|
|
50962
50967
|
* Get the results of a usage query
|
|
50963
50968
|
*
|
|
@@ -50983,6 +50988,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50983
50988
|
);
|
|
50984
50989
|
}
|
|
50985
50990
|
|
|
50991
|
+
/**
|
|
50992
|
+
* Query for OAuth client API usage
|
|
50993
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
50994
|
+
* @param {String} clientId Client ID
|
|
50995
|
+
* @param {Object} body Query
|
|
50996
|
+
*/
|
|
50997
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
50998
|
+
// verify the required parameter 'clientId' is set
|
|
50999
|
+
if (clientId === undefined || clientId === null) {
|
|
51000
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
51001
|
+
}
|
|
51002
|
+
// verify the required parameter 'body' is set
|
|
51003
|
+
if (body === undefined || body === null) {
|
|
51004
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
51005
|
+
}
|
|
51006
|
+
|
|
51007
|
+
return this.apiClient.callApi(
|
|
51008
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
51009
|
+
'POST',
|
|
51010
|
+
{ 'clientId': clientId },
|
|
51011
|
+
{ },
|
|
51012
|
+
{ },
|
|
51013
|
+
{ },
|
|
51014
|
+
body,
|
|
51015
|
+
['PureCloud OAuth'],
|
|
51016
|
+
['application/json'],
|
|
51017
|
+
['application/json']
|
|
51018
|
+
);
|
|
51019
|
+
}
|
|
51020
|
+
|
|
50986
51021
|
/**
|
|
50987
51022
|
* Query organization API Usage -
|
|
50988
51023
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -51014,7 +51049,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51014
51049
|
/**
|
|
51015
51050
|
* UserRecordings service.
|
|
51016
51051
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51017
|
-
* @version
|
|
51052
|
+
* @version 165.0.0
|
|
51018
51053
|
*/
|
|
51019
51054
|
|
|
51020
51055
|
/**
|
|
@@ -51199,7 +51234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51199
51234
|
/**
|
|
51200
51235
|
* Users service.
|
|
51201
51236
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51202
|
-
* @version
|
|
51237
|
+
* @version 165.0.0
|
|
51203
51238
|
*/
|
|
51204
51239
|
|
|
51205
51240
|
/**
|
|
@@ -52308,6 +52343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52308
52343
|
* @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
|
|
52309
52344
|
* @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
|
|
52310
52345
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
52346
|
+
* @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)
|
|
52311
52347
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52312
52348
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
52313
52349
|
* @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)
|
|
@@ -52323,7 +52359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52323
52359
|
'/api/v2/users/development/activities',
|
|
52324
52360
|
'GET',
|
|
52325
52361
|
{ },
|
|
52326
|
-
{ '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') },
|
|
52362
|
+
{ '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') },
|
|
52327
52363
|
{ },
|
|
52328
52364
|
{ },
|
|
52329
52365
|
null,
|
|
@@ -52341,6 +52377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52341
52377
|
* @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
|
|
52342
52378
|
* @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
|
|
52343
52379
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
52380
|
+
* @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)
|
|
52344
52381
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52345
52382
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
52346
52383
|
* @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)
|
|
@@ -52356,7 +52393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52356
52393
|
'/api/v2/users/development/activities/me',
|
|
52357
52394
|
'GET',
|
|
52358
52395
|
{ },
|
|
52359
|
-
{ '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') },
|
|
52396
|
+
{ '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') },
|
|
52360
52397
|
{ },
|
|
52361
52398
|
{ },
|
|
52362
52399
|
null,
|
|
@@ -53587,7 +53624,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53587
53624
|
/**
|
|
53588
53625
|
* Utilities service.
|
|
53589
53626
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53590
|
-
* @version
|
|
53627
|
+
* @version 165.0.0
|
|
53591
53628
|
*/
|
|
53592
53629
|
|
|
53593
53630
|
/**
|
|
@@ -53698,7 +53735,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53698
53735
|
/**
|
|
53699
53736
|
* Voicemail service.
|
|
53700
53737
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53701
|
-
* @version
|
|
53738
|
+
* @version 165.0.0
|
|
53702
53739
|
*/
|
|
53703
53740
|
|
|
53704
53741
|
/**
|
|
@@ -54365,7 +54402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54365
54402
|
/**
|
|
54366
54403
|
* WebChat service.
|
|
54367
54404
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54368
|
-
* @version
|
|
54405
|
+
* @version 165.0.0
|
|
54369
54406
|
*/
|
|
54370
54407
|
|
|
54371
54408
|
/**
|
|
@@ -54909,7 +54946,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54909
54946
|
/**
|
|
54910
54947
|
* WebDeployments service.
|
|
54911
54948
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54912
|
-
* @version
|
|
54949
|
+
* @version 165.0.0
|
|
54913
54950
|
*/
|
|
54914
54951
|
|
|
54915
54952
|
/**
|
|
@@ -55431,7 +55468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55431
55468
|
/**
|
|
55432
55469
|
* WebMessaging service.
|
|
55433
55470
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55434
|
-
* @version
|
|
55471
|
+
* @version 165.0.0
|
|
55435
55472
|
*/
|
|
55436
55473
|
|
|
55437
55474
|
/**
|
|
@@ -55477,7 +55514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55477
55514
|
/**
|
|
55478
55515
|
* Widgets service.
|
|
55479
55516
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55480
|
-
* @version
|
|
55517
|
+
* @version 165.0.0
|
|
55481
55518
|
*/
|
|
55482
55519
|
|
|
55483
55520
|
/**
|
|
@@ -55623,7 +55660,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55623
55660
|
/**
|
|
55624
55661
|
* WorkforceManagement service.
|
|
55625
55662
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55626
|
-
* @version
|
|
55663
|
+
* @version 165.0.0
|
|
55627
55664
|
*/
|
|
55628
55665
|
|
|
55629
55666
|
/**
|
|
@@ -60367,7 +60404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60367
60404
|
* </pre>
|
|
60368
60405
|
* </p>
|
|
60369
60406
|
* @module purecloud-platform-client-v2/index
|
|
60370
|
-
* @version
|
|
60407
|
+
* @version 165.0.0
|
|
60371
60408
|
*/
|
|
60372
60409
|
class platformClient {
|
|
60373
60410
|
constructor() {
|