purecloud-platform-client-v2 150.0.0 → 151.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 +351 -73
- package/dist/web-amd/purecloud-platform-client-v2.js +351 -73
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +351 -73
- package/dist/web-cjs/purecloud-platform-client-v2.js +351 -73
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +297 -201
- 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 +1 -1
- 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 +36 -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 +32 -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/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 +3 -3
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
- 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 +1 -1
- 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 +26 -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 +93 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +26 -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 +71 -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 151.0.0
|
|
403
403
|
*/
|
|
404
404
|
class ApiClient {
|
|
405
405
|
/**
|
|
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Alerting service.
|
|
1480
1480
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1481
|
-
* @version
|
|
1481
|
+
* @version 151.0.0
|
|
1482
1482
|
*/
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Analytics service.
|
|
1794
1794
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1795
|
-
* @version
|
|
1795
|
+
* @version 151.0.0
|
|
1796
1796
|
*/
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
@@ -3019,7 +3019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3019
3019
|
/**
|
|
3020
3020
|
* Architect service.
|
|
3021
3021
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3022
|
-
* @version
|
|
3022
|
+
* @version 151.0.0
|
|
3023
3023
|
*/
|
|
3024
3024
|
|
|
3025
3025
|
/**
|
|
@@ -6065,7 +6065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6065
6065
|
/**
|
|
6066
6066
|
* Audit service.
|
|
6067
6067
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6068
|
-
* @version
|
|
6068
|
+
* @version 151.0.0
|
|
6069
6069
|
*/
|
|
6070
6070
|
|
|
6071
6071
|
/**
|
|
@@ -6236,7 +6236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6236
6236
|
/**
|
|
6237
6237
|
* Authorization service.
|
|
6238
6238
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6239
|
-
* @version
|
|
6239
|
+
* @version 151.0.0
|
|
6240
6240
|
*/
|
|
6241
6241
|
|
|
6242
6242
|
/**
|
|
@@ -7419,7 +7419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7419
7419
|
/**
|
|
7420
7420
|
* Billing service.
|
|
7421
7421
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7422
|
-
* @version
|
|
7422
|
+
* @version 151.0.0
|
|
7423
7423
|
*/
|
|
7424
7424
|
|
|
7425
7425
|
/**
|
|
@@ -7499,7 +7499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7499
7499
|
/**
|
|
7500
7500
|
* Chat service.
|
|
7501
7501
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7502
|
-
* @version
|
|
7502
|
+
* @version 151.0.0
|
|
7503
7503
|
*/
|
|
7504
7504
|
|
|
7505
7505
|
/**
|
|
@@ -7590,7 +7590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7590
7590
|
/**
|
|
7591
7591
|
* Coaching service.
|
|
7592
7592
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7593
|
-
* @version
|
|
7593
|
+
* @version 151.0.0
|
|
7594
7594
|
*/
|
|
7595
7595
|
|
|
7596
7596
|
/**
|
|
@@ -8167,7 +8167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8167
8167
|
/**
|
|
8168
8168
|
* ContentManagement service.
|
|
8169
8169
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8170
|
-
* @version
|
|
8170
|
+
* @version 151.0.0
|
|
8171
8171
|
*/
|
|
8172
8172
|
|
|
8173
8173
|
/**
|
|
@@ -9307,7 +9307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9307
9307
|
/**
|
|
9308
9308
|
* Conversations service.
|
|
9309
9309
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9310
|
-
* @version
|
|
9310
|
+
* @version 151.0.0
|
|
9311
9311
|
*/
|
|
9312
9312
|
|
|
9313
9313
|
/**
|
|
@@ -13653,6 +13653,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13653
13653
|
);
|
|
13654
13654
|
}
|
|
13655
13655
|
|
|
13656
|
+
/**
|
|
13657
|
+
* Send message typing event
|
|
13658
|
+
* Send message typing event for existing conversation/communication.
|
|
13659
|
+
* @param {String} conversationId conversationId
|
|
13660
|
+
* @param {String} communicationId communicationId
|
|
13661
|
+
* @param {Object} body MessageTypingEvent
|
|
13662
|
+
*/
|
|
13663
|
+
postConversationsMessageCommunicationTyping(conversationId, communicationId, body) {
|
|
13664
|
+
// verify the required parameter 'conversationId' is set
|
|
13665
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13666
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';
|
|
13667
|
+
}
|
|
13668
|
+
// verify the required parameter 'communicationId' is set
|
|
13669
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13670
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';
|
|
13671
|
+
}
|
|
13672
|
+
// verify the required parameter 'body' is set
|
|
13673
|
+
if (body === undefined || body === null) {
|
|
13674
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationTyping';
|
|
13675
|
+
}
|
|
13676
|
+
|
|
13677
|
+
return this.apiClient.callApi(
|
|
13678
|
+
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/typing',
|
|
13679
|
+
'POST',
|
|
13680
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
13681
|
+
{ },
|
|
13682
|
+
{ },
|
|
13683
|
+
{ },
|
|
13684
|
+
body,
|
|
13685
|
+
['PureCloud OAuth'],
|
|
13686
|
+
['application/json'],
|
|
13687
|
+
['application/json']
|
|
13688
|
+
);
|
|
13689
|
+
}
|
|
13690
|
+
|
|
13656
13691
|
/**
|
|
13657
13692
|
* Get messages in batch
|
|
13658
13693
|
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
|
|
@@ -14489,7 +14524,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14489
14524
|
/**
|
|
14490
14525
|
* DataExtensions service.
|
|
14491
14526
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14492
|
-
* @version
|
|
14527
|
+
* @version 151.0.0
|
|
14493
14528
|
*/
|
|
14494
14529
|
|
|
14495
14530
|
/**
|
|
@@ -14575,7 +14610,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14575
14610
|
/**
|
|
14576
14611
|
* Downloads service.
|
|
14577
14612
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14578
|
-
* @version
|
|
14613
|
+
* @version 151.0.0
|
|
14579
14614
|
*/
|
|
14580
14615
|
|
|
14581
14616
|
/**
|
|
@@ -14627,7 +14662,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14627
14662
|
/**
|
|
14628
14663
|
* Events service.
|
|
14629
14664
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14630
|
-
* @version
|
|
14665
|
+
* @version 151.0.0
|
|
14631
14666
|
*/
|
|
14632
14667
|
|
|
14633
14668
|
/**
|
|
@@ -14723,7 +14758,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14723
14758
|
/**
|
|
14724
14759
|
* ExternalContacts service.
|
|
14725
14760
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14726
|
-
* @version
|
|
14761
|
+
* @version 151.0.0
|
|
14727
14762
|
*/
|
|
14728
14763
|
|
|
14729
14764
|
/**
|
|
@@ -14977,6 +15012,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14977
15012
|
);
|
|
14978
15013
|
}
|
|
14979
15014
|
|
|
15015
|
+
/**
|
|
15016
|
+
* Retrieve all sessions for a given external contact.
|
|
15017
|
+
*
|
|
15018
|
+
* @param {String} contactId ExternalContact ID
|
|
15019
|
+
* @param {Object} opts Optional parameters
|
|
15020
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
15021
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
15022
|
+
* @param {Boolean} opts.includeMerged Indicates whether to return sessions from all external contacts in the merge-set of the given one.
|
|
15023
|
+
*/
|
|
15024
|
+
getExternalcontactsContactJourneySessions(contactId, opts) {
|
|
15025
|
+
opts = opts || {};
|
|
15026
|
+
|
|
15027
|
+
// verify the required parameter 'contactId' is set
|
|
15028
|
+
if (contactId === undefined || contactId === null) {
|
|
15029
|
+
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';
|
|
15030
|
+
}
|
|
15031
|
+
|
|
15032
|
+
return this.apiClient.callApi(
|
|
15033
|
+
'/api/v2/externalcontacts/contacts/{contactId}/journey/sessions',
|
|
15034
|
+
'GET',
|
|
15035
|
+
{ 'contactId': contactId },
|
|
15036
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'includeMerged': opts['includeMerged'] },
|
|
15037
|
+
{ },
|
|
15038
|
+
{ },
|
|
15039
|
+
null,
|
|
15040
|
+
['PureCloud OAuth'],
|
|
15041
|
+
['application/json'],
|
|
15042
|
+
['application/json']
|
|
15043
|
+
);
|
|
15044
|
+
}
|
|
15045
|
+
|
|
14980
15046
|
/**
|
|
14981
15047
|
* Fetch a note for an external contact
|
|
14982
15048
|
*
|
|
@@ -16650,7 +16716,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16650
16716
|
/**
|
|
16651
16717
|
* Fax service.
|
|
16652
16718
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16653
|
-
* @version
|
|
16719
|
+
* @version 151.0.0
|
|
16654
16720
|
*/
|
|
16655
16721
|
|
|
16656
16722
|
/**
|
|
@@ -16821,7 +16887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16821
16887
|
/**
|
|
16822
16888
|
* Flows service.
|
|
16823
16889
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16824
|
-
* @version
|
|
16890
|
+
* @version 151.0.0
|
|
16825
16891
|
*/
|
|
16826
16892
|
|
|
16827
16893
|
/**
|
|
@@ -16892,7 +16958,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16892
16958
|
/**
|
|
16893
16959
|
* Gamification service.
|
|
16894
16960
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16895
|
-
* @version
|
|
16961
|
+
* @version 151.0.0
|
|
16896
16962
|
*/
|
|
16897
16963
|
|
|
16898
16964
|
/**
|
|
@@ -18573,7 +18639,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18573
18639
|
/**
|
|
18574
18640
|
* GeneralDataProtectionRegulation service.
|
|
18575
18641
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18576
|
-
* @version
|
|
18642
|
+
* @version 151.0.0
|
|
18577
18643
|
*/
|
|
18578
18644
|
|
|
18579
18645
|
/**
|
|
@@ -18703,7 +18769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18703
18769
|
/**
|
|
18704
18770
|
* Geolocation service.
|
|
18705
18771
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18706
|
-
* @version
|
|
18772
|
+
* @version 151.0.0
|
|
18707
18773
|
*/
|
|
18708
18774
|
|
|
18709
18775
|
/**
|
|
@@ -18834,7 +18900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18834
18900
|
/**
|
|
18835
18901
|
* Greetings service.
|
|
18836
18902
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18837
|
-
* @version
|
|
18903
|
+
* @version 151.0.0
|
|
18838
18904
|
*/
|
|
18839
18905
|
|
|
18840
18906
|
/**
|
|
@@ -19289,7 +19355,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19289
19355
|
/**
|
|
19290
19356
|
* Groups service.
|
|
19291
19357
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19292
|
-
* @version
|
|
19358
|
+
* @version 151.0.0
|
|
19293
19359
|
*/
|
|
19294
19360
|
|
|
19295
19361
|
/**
|
|
@@ -19695,7 +19761,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19695
19761
|
/**
|
|
19696
19762
|
* IdentityProvider service.
|
|
19697
19763
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19698
|
-
* @version
|
|
19764
|
+
* @version 151.0.0
|
|
19699
19765
|
*/
|
|
19700
19766
|
|
|
19701
19767
|
/**
|
|
@@ -20451,7 +20517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20451
20517
|
/**
|
|
20452
20518
|
* Integrations service.
|
|
20453
20519
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20454
|
-
* @version
|
|
20520
|
+
* @version 151.0.0
|
|
20455
20521
|
*/
|
|
20456
20522
|
|
|
20457
20523
|
/**
|
|
@@ -22051,7 +22117,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22051
22117
|
/**
|
|
22052
22118
|
* Journey service.
|
|
22053
22119
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22054
|
-
* @version
|
|
22120
|
+
* @version 151.0.0
|
|
22055
22121
|
*/
|
|
22056
22122
|
|
|
22057
22123
|
/**
|
|
@@ -22837,7 +22903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22837
22903
|
/**
|
|
22838
22904
|
* Knowledge service.
|
|
22839
22905
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22840
|
-
* @version
|
|
22906
|
+
* @version 151.0.0
|
|
22841
22907
|
*/
|
|
22842
22908
|
|
|
22843
22909
|
/**
|
|
@@ -25270,7 +25336,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25270
25336
|
/**
|
|
25271
25337
|
* LanguageUnderstanding service.
|
|
25272
25338
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25273
|
-
* @version
|
|
25339
|
+
* @version 151.0.0
|
|
25274
25340
|
*/
|
|
25275
25341
|
|
|
25276
25342
|
/**
|
|
@@ -26174,7 +26240,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26174
26240
|
/**
|
|
26175
26241
|
* Languages service.
|
|
26176
26242
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26177
|
-
* @version
|
|
26243
|
+
* @version 151.0.0
|
|
26178
26244
|
*/
|
|
26179
26245
|
|
|
26180
26246
|
/**
|
|
@@ -26442,7 +26508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26442
26508
|
/**
|
|
26443
26509
|
* Learning service.
|
|
26444
26510
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26445
|
-
* @version
|
|
26511
|
+
* @version 151.0.0
|
|
26446
26512
|
*/
|
|
26447
26513
|
|
|
26448
26514
|
/**
|
|
@@ -27202,7 +27268,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27202
27268
|
/**
|
|
27203
27269
|
* License service.
|
|
27204
27270
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27205
|
-
* @version
|
|
27271
|
+
* @version 151.0.0
|
|
27206
27272
|
*/
|
|
27207
27273
|
|
|
27208
27274
|
/**
|
|
@@ -27440,7 +27506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27440
27506
|
/**
|
|
27441
27507
|
* Locations service.
|
|
27442
27508
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27443
|
-
* @version
|
|
27509
|
+
* @version 151.0.0
|
|
27444
27510
|
*/
|
|
27445
27511
|
|
|
27446
27512
|
/**
|
|
@@ -27676,7 +27742,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27676
27742
|
/**
|
|
27677
27743
|
* Messaging service.
|
|
27678
27744
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27679
|
-
* @version
|
|
27745
|
+
* @version 151.0.0
|
|
27680
27746
|
*/
|
|
27681
27747
|
|
|
27682
27748
|
/**
|
|
@@ -27827,7 +27893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27827
27893
|
/**
|
|
27828
27894
|
* MobileDevices service.
|
|
27829
27895
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27830
|
-
* @version
|
|
27896
|
+
* @version 151.0.0
|
|
27831
27897
|
*/
|
|
27832
27898
|
|
|
27833
27899
|
/**
|
|
@@ -27978,7 +28044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27978
28044
|
/**
|
|
27979
28045
|
* Notifications service.
|
|
27980
28046
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
27981
|
-
* @version
|
|
28047
|
+
* @version 151.0.0
|
|
27982
28048
|
*/
|
|
27983
28049
|
|
|
27984
28050
|
/**
|
|
@@ -28203,7 +28269,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28203
28269
|
/**
|
|
28204
28270
|
* OAuth service.
|
|
28205
28271
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28206
|
-
* @version
|
|
28272
|
+
* @version 151.0.0
|
|
28207
28273
|
*/
|
|
28208
28274
|
|
|
28209
28275
|
/**
|
|
@@ -28569,7 +28635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28569
28635
|
/**
|
|
28570
28636
|
* Objects service.
|
|
28571
28637
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28572
|
-
* @version
|
|
28638
|
+
* @version 151.0.0
|
|
28573
28639
|
*/
|
|
28574
28640
|
|
|
28575
28641
|
/**
|
|
@@ -28840,7 +28906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28840
28906
|
/**
|
|
28841
28907
|
* Organization service.
|
|
28842
28908
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28843
|
-
* @version
|
|
28909
|
+
* @version 151.0.0
|
|
28844
28910
|
*/
|
|
28845
28911
|
|
|
28846
28912
|
/**
|
|
@@ -29243,7 +29309,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29243
29309
|
/**
|
|
29244
29310
|
* OrganizationAuthorization service.
|
|
29245
29311
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29246
|
-
* @version
|
|
29312
|
+
* @version 151.0.0
|
|
29247
29313
|
*/
|
|
29248
29314
|
|
|
29249
29315
|
/**
|
|
@@ -30168,7 +30234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30168
30234
|
/**
|
|
30169
30235
|
* Outbound service.
|
|
30170
30236
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30171
|
-
* @version
|
|
30237
|
+
* @version 151.0.0
|
|
30172
30238
|
*/
|
|
30173
30239
|
|
|
30174
30240
|
/**
|
|
@@ -33557,7 +33623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33557
33623
|
/**
|
|
33558
33624
|
* Presence service.
|
|
33559
33625
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33560
|
-
* @version
|
|
33626
|
+
* @version 151.0.0
|
|
33561
33627
|
*/
|
|
33562
33628
|
|
|
33563
33629
|
/**
|
|
@@ -33651,7 +33717,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33651
33717
|
* Get a list of Presence Sources
|
|
33652
33718
|
*
|
|
33653
33719
|
* @param {Object} opts Optional parameters
|
|
33654
|
-
* @param {String} opts.
|
|
33720
|
+
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
33655
33721
|
*/
|
|
33656
33722
|
getPresenceSources(opts) {
|
|
33657
33723
|
opts = opts || {};
|
|
@@ -33661,7 +33727,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33661
33727
|
'/api/v2/presence/sources',
|
|
33662
33728
|
'GET',
|
|
33663
33729
|
{ },
|
|
33664
|
-
{ '
|
|
33730
|
+
{ 'deactivated': opts['deactivated'] },
|
|
33665
33731
|
{ },
|
|
33666
33732
|
{ },
|
|
33667
33733
|
null,
|
|
@@ -34063,7 +34129,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34063
34129
|
/**
|
|
34064
34130
|
* ProcessAutomation service.
|
|
34065
34131
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34066
|
-
* @version
|
|
34132
|
+
* @version 151.0.0
|
|
34067
34133
|
*/
|
|
34068
34134
|
|
|
34069
34135
|
/**
|
|
@@ -34104,7 +34170,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34104
34170
|
}
|
|
34105
34171
|
|
|
34106
34172
|
/**
|
|
34107
|
-
* Retrieve a single Trigger matching id
|
|
34173
|
+
* Retrieve a single Trigger matching id
|
|
34108
34174
|
*
|
|
34109
34175
|
* @param {String} triggerId triggerId
|
|
34110
34176
|
*/
|
|
@@ -34129,13 +34195,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34129
34195
|
}
|
|
34130
34196
|
|
|
34131
34197
|
/**
|
|
34132
|
-
* Retrieves all triggers
|
|
34198
|
+
* Retrieves all triggers, optionally filtered by query parameters.
|
|
34133
34199
|
*
|
|
34134
34200
|
* @param {Object} opts Optional parameters
|
|
34135
34201
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
34136
34202
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
34137
34203
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
34138
|
-
* @param {String} opts.topicName Topic name
|
|
34204
|
+
* @param {String} opts.topicName Topic name(s). Separated by commas
|
|
34139
34205
|
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
34140
34206
|
*/
|
|
34141
34207
|
getProcessautomationTriggers(opts) {
|
|
@@ -34301,7 +34367,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34301
34367
|
/**
|
|
34302
34368
|
* Quality service.
|
|
34303
34369
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
34304
|
-
* @version
|
|
34370
|
+
* @version 151.0.0
|
|
34305
34371
|
*/
|
|
34306
34372
|
|
|
34307
34373
|
/**
|
|
@@ -35879,7 +35945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35879
35945
|
/**
|
|
35880
35946
|
* Recording service.
|
|
35881
35947
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
35882
|
-
* @version
|
|
35948
|
+
* @version 151.0.0
|
|
35883
35949
|
*/
|
|
35884
35950
|
|
|
35885
35951
|
/**
|
|
@@ -37566,7 +37632,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37566
37632
|
/**
|
|
37567
37633
|
* ResponseManagement service.
|
|
37568
37634
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
37569
|
-
* @version
|
|
37635
|
+
* @version 151.0.0
|
|
37570
37636
|
*/
|
|
37571
37637
|
|
|
37572
37638
|
/**
|
|
@@ -38050,7 +38116,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38050
38116
|
/**
|
|
38051
38117
|
* Routing service.
|
|
38052
38118
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38053
|
-
* @version
|
|
38119
|
+
* @version 151.0.0
|
|
38054
38120
|
*/
|
|
38055
38121
|
|
|
38056
38122
|
/**
|
|
@@ -41241,7 +41307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41241
41307
|
/**
|
|
41242
41308
|
* SCIM service.
|
|
41243
41309
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
41244
|
-
* @version
|
|
41310
|
+
* @version 151.0.0
|
|
41245
41311
|
*/
|
|
41246
41312
|
|
|
41247
41313
|
/**
|
|
@@ -42118,7 +42184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42118
42184
|
/**
|
|
42119
42185
|
* Scripts service.
|
|
42120
42186
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42121
|
-
* @version
|
|
42187
|
+
* @version 151.0.0
|
|
42122
42188
|
*/
|
|
42123
42189
|
|
|
42124
42190
|
/**
|
|
@@ -42537,7 +42603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42537
42603
|
/**
|
|
42538
42604
|
* Search service.
|
|
42539
42605
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
42540
|
-
* @version
|
|
42606
|
+
* @version 151.0.0
|
|
42541
42607
|
*/
|
|
42542
42608
|
|
|
42543
42609
|
/**
|
|
@@ -43066,6 +43132,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43066
43132
|
);
|
|
43067
43133
|
}
|
|
43068
43134
|
|
|
43135
|
+
/**
|
|
43136
|
+
* Search users assigned to teams
|
|
43137
|
+
*
|
|
43138
|
+
* @param {Object} body Search request options
|
|
43139
|
+
*/
|
|
43140
|
+
postUsersSearchTeamsAssign(body) {
|
|
43141
|
+
// verify the required parameter 'body' is set
|
|
43142
|
+
if (body === undefined || body === null) {
|
|
43143
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
|
|
43144
|
+
}
|
|
43145
|
+
|
|
43146
|
+
return this.apiClient.callApi(
|
|
43147
|
+
'/api/v2/users/search/teams/assign',
|
|
43148
|
+
'POST',
|
|
43149
|
+
{ },
|
|
43150
|
+
{ },
|
|
43151
|
+
{ },
|
|
43152
|
+
{ },
|
|
43153
|
+
body,
|
|
43154
|
+
['PureCloud OAuth'],
|
|
43155
|
+
['application/json'],
|
|
43156
|
+
['application/json']
|
|
43157
|
+
);
|
|
43158
|
+
}
|
|
43159
|
+
|
|
43069
43160
|
/**
|
|
43070
43161
|
* Search voicemails
|
|
43071
43162
|
*
|
|
@@ -43097,7 +43188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43097
43188
|
/**
|
|
43098
43189
|
* SpeechTextAnalytics service.
|
|
43099
43190
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43100
|
-
* @version
|
|
43191
|
+
* @version 151.0.0
|
|
43101
43192
|
*/
|
|
43102
43193
|
|
|
43103
43194
|
/**
|
|
@@ -43951,7 +44042,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43951
44042
|
/**
|
|
43952
44043
|
* Stations service.
|
|
43953
44044
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
43954
|
-
* @version
|
|
44045
|
+
* @version 151.0.0
|
|
43955
44046
|
*/
|
|
43956
44047
|
|
|
43957
44048
|
/**
|
|
@@ -44098,7 +44189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44098
44189
|
/**
|
|
44099
44190
|
* Suggest service.
|
|
44100
44191
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44101
|
-
* @version
|
|
44192
|
+
* @version 151.0.0
|
|
44102
44193
|
*/
|
|
44103
44194
|
|
|
44104
44195
|
/**
|
|
@@ -44237,7 +44328,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44237
44328
|
/**
|
|
44238
44329
|
* Teams service.
|
|
44239
44330
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
44240
|
-
* @version
|
|
44331
|
+
* @version 151.0.0
|
|
44241
44332
|
*/
|
|
44242
44333
|
|
|
44243
44334
|
/**
|
|
@@ -44277,6 +44368,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44277
44368
|
);
|
|
44278
44369
|
}
|
|
44279
44370
|
|
|
44371
|
+
/**
|
|
44372
|
+
* Delete team members
|
|
44373
|
+
*
|
|
44374
|
+
* @param {String} teamId Team ID
|
|
44375
|
+
* @param {String} id Comma separated list of member ids to remove
|
|
44376
|
+
*/
|
|
44377
|
+
deleteTeamMembers(teamId, id) {
|
|
44378
|
+
// verify the required parameter 'teamId' is set
|
|
44379
|
+
if (teamId === undefined || teamId === null) {
|
|
44380
|
+
throw 'Missing the required parameter "teamId" when calling deleteTeamMembers';
|
|
44381
|
+
}
|
|
44382
|
+
// verify the required parameter 'id' is set
|
|
44383
|
+
if (id === undefined || id === null) {
|
|
44384
|
+
throw 'Missing the required parameter "id" when calling deleteTeamMembers';
|
|
44385
|
+
}
|
|
44386
|
+
|
|
44387
|
+
return this.apiClient.callApi(
|
|
44388
|
+
'/api/v2/teams/{teamId}/members',
|
|
44389
|
+
'DELETE',
|
|
44390
|
+
{ 'teamId': teamId },
|
|
44391
|
+
{ 'id': id },
|
|
44392
|
+
{ },
|
|
44393
|
+
{ },
|
|
44394
|
+
null,
|
|
44395
|
+
['PureCloud OAuth'],
|
|
44396
|
+
['application/json'],
|
|
44397
|
+
['application/json']
|
|
44398
|
+
);
|
|
44399
|
+
}
|
|
44400
|
+
|
|
44280
44401
|
/**
|
|
44281
44402
|
* Get team
|
|
44282
44403
|
*
|
|
@@ -44302,6 +44423,38 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44302
44423
|
);
|
|
44303
44424
|
}
|
|
44304
44425
|
|
|
44426
|
+
/**
|
|
44427
|
+
* Get team membership
|
|
44428
|
+
*
|
|
44429
|
+
* @param {String} teamId Team ID
|
|
44430
|
+
* @param {Object} opts Optional parameters
|
|
44431
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
44432
|
+
* @param {String} opts.before The cursor that points to the previous item in the complete list of teams
|
|
44433
|
+
* @param {String} opts.after The cursor that points to the next item in the complete list of teams
|
|
44434
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
44435
|
+
*/
|
|
44436
|
+
getTeamMembers(teamId, opts) {
|
|
44437
|
+
opts = opts || {};
|
|
44438
|
+
|
|
44439
|
+
// verify the required parameter 'teamId' is set
|
|
44440
|
+
if (teamId === undefined || teamId === null) {
|
|
44441
|
+
throw 'Missing the required parameter "teamId" when calling getTeamMembers';
|
|
44442
|
+
}
|
|
44443
|
+
|
|
44444
|
+
return this.apiClient.callApi(
|
|
44445
|
+
'/api/v2/teams/{teamId}/members',
|
|
44446
|
+
'GET',
|
|
44447
|
+
{ 'teamId': teamId },
|
|
44448
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': opts['expand'] },
|
|
44449
|
+
{ },
|
|
44450
|
+
{ },
|
|
44451
|
+
null,
|
|
44452
|
+
['PureCloud OAuth'],
|
|
44453
|
+
['application/json'],
|
|
44454
|
+
['application/json']
|
|
44455
|
+
);
|
|
44456
|
+
}
|
|
44457
|
+
|
|
44305
44458
|
/**
|
|
44306
44459
|
* Get Team listing
|
|
44307
44460
|
*
|
|
@@ -44360,6 +44513,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44360
44513
|
);
|
|
44361
44514
|
}
|
|
44362
44515
|
|
|
44516
|
+
/**
|
|
44517
|
+
* Add team members
|
|
44518
|
+
*
|
|
44519
|
+
* @param {String} teamId Team ID
|
|
44520
|
+
* @param {Object} body TeamMembers
|
|
44521
|
+
*/
|
|
44522
|
+
postTeamMembers(teamId, body) {
|
|
44523
|
+
// verify the required parameter 'teamId' is set
|
|
44524
|
+
if (teamId === undefined || teamId === null) {
|
|
44525
|
+
throw 'Missing the required parameter "teamId" when calling postTeamMembers';
|
|
44526
|
+
}
|
|
44527
|
+
// verify the required parameter 'body' is set
|
|
44528
|
+
if (body === undefined || body === null) {
|
|
44529
|
+
throw 'Missing the required parameter "body" when calling postTeamMembers';
|
|
44530
|
+
}
|
|
44531
|
+
|
|
44532
|
+
return this.apiClient.callApi(
|
|
44533
|
+
'/api/v2/teams/{teamId}/members',
|
|
44534
|
+
'POST',
|
|
44535
|
+
{ 'teamId': teamId },
|
|
44536
|
+
{ },
|
|
44537
|
+
{ },
|
|
44538
|
+
{ },
|
|
44539
|
+
body,
|
|
44540
|
+
['PureCloud OAuth'],
|
|
44541
|
+
['application/json'],
|
|
44542
|
+
['application/json']
|
|
44543
|
+
);
|
|
44544
|
+
}
|
|
44545
|
+
|
|
44363
44546
|
/**
|
|
44364
44547
|
* Create a team
|
|
44365
44548
|
*
|
|
@@ -44416,7 +44599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44416
44599
|
/**
|
|
44417
44600
|
* Telephony service.
|
|
44418
44601
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
44419
|
-
* @version
|
|
44602
|
+
* @version 151.0.0
|
|
44420
44603
|
*/
|
|
44421
44604
|
|
|
44422
44605
|
/**
|
|
@@ -44524,7 +44707,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44524
44707
|
/**
|
|
44525
44708
|
* TelephonyProvidersEdge service.
|
|
44526
44709
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
44527
|
-
* @version
|
|
44710
|
+
* @version 151.0.0
|
|
44528
44711
|
*/
|
|
44529
44712
|
|
|
44530
44713
|
/**
|
|
@@ -48157,7 +48340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48157
48340
|
/**
|
|
48158
48341
|
* Textbots service.
|
|
48159
48342
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
48160
|
-
* @version
|
|
48343
|
+
* @version 151.0.0
|
|
48161
48344
|
*/
|
|
48162
48345
|
|
|
48163
48346
|
/**
|
|
@@ -48285,7 +48468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48285
48468
|
/**
|
|
48286
48469
|
* Tokens service.
|
|
48287
48470
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
48288
|
-
* @version
|
|
48471
|
+
* @version 151.0.0
|
|
48289
48472
|
*/
|
|
48290
48473
|
|
|
48291
48474
|
/**
|
|
@@ -48391,7 +48574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48391
48574
|
/**
|
|
48392
48575
|
* Uploads service.
|
|
48393
48576
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
48394
|
-
* @version
|
|
48577
|
+
* @version 151.0.0
|
|
48395
48578
|
*/
|
|
48396
48579
|
|
|
48397
48580
|
/**
|
|
@@ -48567,7 +48750,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48567
48750
|
/**
|
|
48568
48751
|
* Usage service.
|
|
48569
48752
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
48570
|
-
* @version
|
|
48753
|
+
* @version 151.0.0
|
|
48571
48754
|
*/
|
|
48572
48755
|
|
|
48573
48756
|
/**
|
|
@@ -48638,7 +48821,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48638
48821
|
/**
|
|
48639
48822
|
* UserRecordings service.
|
|
48640
48823
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
48641
|
-
* @version
|
|
48824
|
+
* @version 151.0.0
|
|
48642
48825
|
*/
|
|
48643
48826
|
|
|
48644
48827
|
/**
|
|
@@ -48823,7 +49006,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48823
49006
|
/**
|
|
48824
49007
|
* Users service.
|
|
48825
49008
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
48826
|
-
* @version
|
|
49009
|
+
* @version 151.0.0
|
|
48827
49010
|
*/
|
|
48828
49011
|
|
|
48829
49012
|
/**
|
|
@@ -50814,6 +50997,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50814
50997
|
);
|
|
50815
50998
|
}
|
|
50816
50999
|
|
|
51000
|
+
/**
|
|
51001
|
+
* Search users assigned to teams
|
|
51002
|
+
*
|
|
51003
|
+
* @param {Object} body Search request options
|
|
51004
|
+
*/
|
|
51005
|
+
postUsersSearchTeamsAssign(body) {
|
|
51006
|
+
// verify the required parameter 'body' is set
|
|
51007
|
+
if (body === undefined || body === null) {
|
|
51008
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
|
|
51009
|
+
}
|
|
51010
|
+
|
|
51011
|
+
return this.apiClient.callApi(
|
|
51012
|
+
'/api/v2/users/search/teams/assign',
|
|
51013
|
+
'POST',
|
|
51014
|
+
{ },
|
|
51015
|
+
{ },
|
|
51016
|
+
{ },
|
|
51017
|
+
{ },
|
|
51018
|
+
body,
|
|
51019
|
+
['PureCloud OAuth'],
|
|
51020
|
+
['application/json'],
|
|
51021
|
+
['application/json']
|
|
51022
|
+
);
|
|
51023
|
+
}
|
|
51024
|
+
|
|
50817
51025
|
/**
|
|
50818
51026
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
50819
51027
|
*
|
|
@@ -51155,7 +51363,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51155
51363
|
/**
|
|
51156
51364
|
* Utilities service.
|
|
51157
51365
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
51158
|
-
* @version
|
|
51366
|
+
* @version 151.0.0
|
|
51159
51367
|
*/
|
|
51160
51368
|
|
|
51161
51369
|
/**
|
|
@@ -51266,7 +51474,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51266
51474
|
/**
|
|
51267
51475
|
* Voicemail service.
|
|
51268
51476
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
51269
|
-
* @version
|
|
51477
|
+
* @version 151.0.0
|
|
51270
51478
|
*/
|
|
51271
51479
|
|
|
51272
51480
|
/**
|
|
@@ -51933,7 +52141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51933
52141
|
/**
|
|
51934
52142
|
* WebChat service.
|
|
51935
52143
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
51936
|
-
* @version
|
|
52144
|
+
* @version 151.0.0
|
|
51937
52145
|
*/
|
|
51938
52146
|
|
|
51939
52147
|
/**
|
|
@@ -52477,7 +52685,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52477
52685
|
/**
|
|
52478
52686
|
* WebDeployments service.
|
|
52479
52687
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
52480
|
-
* @version
|
|
52688
|
+
* @version 151.0.0
|
|
52481
52689
|
*/
|
|
52482
52690
|
|
|
52483
52691
|
/**
|
|
@@ -52865,7 +53073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52865
53073
|
/**
|
|
52866
53074
|
* WebMessaging service.
|
|
52867
53075
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
52868
|
-
* @version
|
|
53076
|
+
* @version 151.0.0
|
|
52869
53077
|
*/
|
|
52870
53078
|
|
|
52871
53079
|
/**
|
|
@@ -52911,7 +53119,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52911
53119
|
/**
|
|
52912
53120
|
* Widgets service.
|
|
52913
53121
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
52914
|
-
* @version
|
|
53122
|
+
* @version 151.0.0
|
|
52915
53123
|
*/
|
|
52916
53124
|
|
|
52917
53125
|
/**
|
|
@@ -53057,7 +53265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53057
53265
|
/**
|
|
53058
53266
|
* WorkforceManagement service.
|
|
53059
53267
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53060
|
-
* @version
|
|
53268
|
+
* @version 151.0.0
|
|
53061
53269
|
*/
|
|
53062
53270
|
|
|
53063
53271
|
/**
|
|
@@ -56837,6 +57045,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56837
57045
|
);
|
|
56838
57046
|
}
|
|
56839
57047
|
|
|
57048
|
+
/**
|
|
57049
|
+
* Query time off balances for a given user for specified activity code and dates
|
|
57050
|
+
*
|
|
57051
|
+
* @param {String} managementUnitId The ID of the management unit
|
|
57052
|
+
* @param {String} userId The ID of the user
|
|
57053
|
+
* @param {Object} body The request body
|
|
57054
|
+
*/
|
|
57055
|
+
postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
|
|
57056
|
+
// verify the required parameter 'managementUnitId' is set
|
|
57057
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
57058
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
57059
|
+
}
|
|
57060
|
+
// verify the required parameter 'userId' is set
|
|
57061
|
+
if (userId === undefined || userId === null) {
|
|
57062
|
+
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
57063
|
+
}
|
|
57064
|
+
// verify the required parameter 'body' is set
|
|
57065
|
+
if (body === undefined || body === null) {
|
|
57066
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
57067
|
+
}
|
|
57068
|
+
|
|
57069
|
+
return this.apiClient.callApi(
|
|
57070
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs',
|
|
57071
|
+
'POST',
|
|
57072
|
+
{ 'managementUnitId': managementUnitId,'userId': userId },
|
|
57073
|
+
{ },
|
|
57074
|
+
{ },
|
|
57075
|
+
{ },
|
|
57076
|
+
body,
|
|
57077
|
+
['PureCloud OAuth'],
|
|
57078
|
+
['application/json'],
|
|
57079
|
+
['application/json']
|
|
57080
|
+
);
|
|
57081
|
+
}
|
|
57082
|
+
|
|
57083
|
+
/**
|
|
57084
|
+
* Query time off balances for dates spanned by a given time off request
|
|
57085
|
+
*
|
|
57086
|
+
* @param {String} managementUnitId The ID of the management unit.
|
|
57087
|
+
* @param {String} userId The userId to whom the time off request applies.
|
|
57088
|
+
* @param {String} timeOffRequestId The time off request id.
|
|
57089
|
+
*/
|
|
57090
|
+
postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
|
|
57091
|
+
// verify the required parameter 'managementUnitId' is set
|
|
57092
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
57093
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
57094
|
+
}
|
|
57095
|
+
// verify the required parameter 'userId' is set
|
|
57096
|
+
if (userId === undefined || userId === null) {
|
|
57097
|
+
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
57098
|
+
}
|
|
57099
|
+
// verify the required parameter 'timeOffRequestId' is set
|
|
57100
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
57101
|
+
throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
57102
|
+
}
|
|
57103
|
+
|
|
57104
|
+
return this.apiClient.callApi(
|
|
57105
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs',
|
|
57106
|
+
'POST',
|
|
57107
|
+
{ 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
|
|
57108
|
+
{ },
|
|
57109
|
+
{ },
|
|
57110
|
+
{ },
|
|
57111
|
+
null,
|
|
57112
|
+
['PureCloud OAuth'],
|
|
57113
|
+
['application/json'],
|
|
57114
|
+
['application/json']
|
|
57115
|
+
);
|
|
57116
|
+
}
|
|
57117
|
+
|
|
56840
57118
|
/**
|
|
56841
57119
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
56842
57120
|
*
|
|
@@ -57333,7 +57611,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57333
57611
|
* </pre>
|
|
57334
57612
|
* </p>
|
|
57335
57613
|
* @module purecloud-platform-client-v2/index
|
|
57336
|
-
* @version
|
|
57614
|
+
* @version 151.0.0
|
|
57337
57615
|
*/
|
|
57338
57616
|
class platformClient {
|
|
57339
57617
|
constructor() {
|