purecloud-platform-client-v2 137.1.0 → 139.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 +382 -120
- package/dist/web-amd/purecloud-platform-client-v2.js +382 -120
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +382 -120
- package/dist/web-cjs/purecloud-platform-client-v2.js +382 -120
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +653 -238
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +5 -2
- 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 +271 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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 +24 -23
- 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 +5 -5
- 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/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 +9 -21
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +4 -4
- 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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -7
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -7248,7 +7248,7 @@ class Configuration {
|
|
|
7248
7248
|
|
|
7249
7249
|
/**
|
|
7250
7250
|
* @module purecloud-platform-client-v2/ApiClient
|
|
7251
|
-
* @version
|
|
7251
|
+
* @version 139.0.0
|
|
7252
7252
|
*/
|
|
7253
7253
|
class ApiClient {
|
|
7254
7254
|
/**
|
|
@@ -8001,7 +8001,7 @@ class ApiClient {
|
|
|
8001
8001
|
serialize(obj) {
|
|
8002
8002
|
var result = {};
|
|
8003
8003
|
for (var p in obj) {
|
|
8004
|
-
if (obj.hasOwnProperty(p)) {
|
|
8004
|
+
if (obj.hasOwnProperty(p) && obj[p] !== undefined) {
|
|
8005
8005
|
result[encodeURIComponent(p)] = Array.isArray(obj[p]) ? obj[p].join(",") : this.paramToString(obj[p]);
|
|
8006
8006
|
}
|
|
8007
8007
|
}
|
|
@@ -8131,6 +8131,9 @@ class ApiClient {
|
|
|
8131
8131
|
*/
|
|
8132
8132
|
buildCollectionParam(param, collectionFormat) {
|
|
8133
8133
|
if (!param) return;
|
|
8134
|
+
if (!Array.isArray(param)) {
|
|
8135
|
+
param = [param];
|
|
8136
|
+
}
|
|
8134
8137
|
|
|
8135
8138
|
switch (collectionFormat) {
|
|
8136
8139
|
case 'csv':
|
|
@@ -8316,7 +8319,7 @@ class AlertingApi {
|
|
|
8316
8319
|
/**
|
|
8317
8320
|
* Alerting service.
|
|
8318
8321
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
8319
|
-
* @version
|
|
8322
|
+
* @version 139.0.0
|
|
8320
8323
|
*/
|
|
8321
8324
|
|
|
8322
8325
|
/**
|
|
@@ -8630,7 +8633,7 @@ class AnalyticsApi {
|
|
|
8630
8633
|
/**
|
|
8631
8634
|
* Analytics service.
|
|
8632
8635
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8633
|
-
* @version
|
|
8636
|
+
* @version 139.0.0
|
|
8634
8637
|
*/
|
|
8635
8638
|
|
|
8636
8639
|
/**
|
|
@@ -9812,7 +9815,7 @@ class ArchitectApi {
|
|
|
9812
9815
|
/**
|
|
9813
9816
|
* Architect service.
|
|
9814
9817
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
9815
|
-
* @version
|
|
9818
|
+
* @version 139.0.0
|
|
9816
9819
|
*/
|
|
9817
9820
|
|
|
9818
9821
|
/**
|
|
@@ -12857,7 +12860,7 @@ class AuditApi {
|
|
|
12857
12860
|
/**
|
|
12858
12861
|
* Audit service.
|
|
12859
12862
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
12860
|
-
* @version
|
|
12863
|
+
* @version 139.0.0
|
|
12861
12864
|
*/
|
|
12862
12865
|
|
|
12863
12866
|
/**
|
|
@@ -13028,7 +13031,7 @@ class AuthorizationApi {
|
|
|
13028
13031
|
/**
|
|
13029
13032
|
* Authorization service.
|
|
13030
13033
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
13031
|
-
* @version
|
|
13034
|
+
* @version 139.0.0
|
|
13032
13035
|
*/
|
|
13033
13036
|
|
|
13034
13037
|
/**
|
|
@@ -14211,7 +14214,7 @@ class BillingApi {
|
|
|
14211
14214
|
/**
|
|
14212
14215
|
* Billing service.
|
|
14213
14216
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
14214
|
-
* @version
|
|
14217
|
+
* @version 139.0.0
|
|
14215
14218
|
*/
|
|
14216
14219
|
|
|
14217
14220
|
/**
|
|
@@ -14291,7 +14294,7 @@ class ChatApi {
|
|
|
14291
14294
|
/**
|
|
14292
14295
|
* Chat service.
|
|
14293
14296
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
14294
|
-
* @version
|
|
14297
|
+
* @version 139.0.0
|
|
14295
14298
|
*/
|
|
14296
14299
|
|
|
14297
14300
|
/**
|
|
@@ -14382,7 +14385,7 @@ class CoachingApi {
|
|
|
14382
14385
|
/**
|
|
14383
14386
|
* Coaching service.
|
|
14384
14387
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
14385
|
-
* @version
|
|
14388
|
+
* @version 139.0.0
|
|
14386
14389
|
*/
|
|
14387
14390
|
|
|
14388
14391
|
/**
|
|
@@ -14959,7 +14962,7 @@ class ContentManagementApi {
|
|
|
14959
14962
|
/**
|
|
14960
14963
|
* ContentManagement service.
|
|
14961
14964
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
14962
|
-
* @version
|
|
14965
|
+
* @version 139.0.0
|
|
14963
14966
|
*/
|
|
14964
14967
|
|
|
14965
14968
|
/**
|
|
@@ -16099,7 +16102,7 @@ class ConversationsApi {
|
|
|
16099
16102
|
/**
|
|
16100
16103
|
* Conversations service.
|
|
16101
16104
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
16102
|
-
* @version
|
|
16105
|
+
* @version 139.0.0
|
|
16103
16106
|
*/
|
|
16104
16107
|
|
|
16105
16108
|
/**
|
|
@@ -20647,6 +20650,126 @@ class ConversationsApi {
|
|
|
20647
20650
|
);
|
|
20648
20651
|
}
|
|
20649
20652
|
|
|
20653
|
+
/**
|
|
20654
|
+
* Update a conversation by setting its recording state
|
|
20655
|
+
*
|
|
20656
|
+
* @param {String} conversationId conversationId
|
|
20657
|
+
* @param {Object} body SetRecordingState
|
|
20658
|
+
*/
|
|
20659
|
+
putConversationsCallRecordingstate(conversationId, body) {
|
|
20660
|
+
// verify the required parameter 'conversationId' is set
|
|
20661
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20662
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';
|
|
20663
|
+
}
|
|
20664
|
+
// verify the required parameter 'body' is set
|
|
20665
|
+
if (body === undefined || body === null) {
|
|
20666
|
+
throw 'Missing the required parameter "body" when calling putConversationsCallRecordingstate';
|
|
20667
|
+
}
|
|
20668
|
+
|
|
20669
|
+
return this.apiClient.callApi(
|
|
20670
|
+
'/api/v2/conversations/calls/{conversationId}/recordingstate',
|
|
20671
|
+
'PUT',
|
|
20672
|
+
{ 'conversationId': conversationId },
|
|
20673
|
+
{ },
|
|
20674
|
+
{ },
|
|
20675
|
+
{ },
|
|
20676
|
+
body,
|
|
20677
|
+
['PureCloud OAuth'],
|
|
20678
|
+
['application/json'],
|
|
20679
|
+
['application/json']
|
|
20680
|
+
);
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20683
|
+
/**
|
|
20684
|
+
* Update a conversation by setting its recording state
|
|
20685
|
+
*
|
|
20686
|
+
* @param {String} conversationId conversationId
|
|
20687
|
+
* @param {Object} body SetRecordingState
|
|
20688
|
+
*/
|
|
20689
|
+
putConversationsCallbackRecordingstate(conversationId, body) {
|
|
20690
|
+
// verify the required parameter 'conversationId' is set
|
|
20691
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20692
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';
|
|
20693
|
+
}
|
|
20694
|
+
// verify the required parameter 'body' is set
|
|
20695
|
+
if (body === undefined || body === null) {
|
|
20696
|
+
throw 'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';
|
|
20697
|
+
}
|
|
20698
|
+
|
|
20699
|
+
return this.apiClient.callApi(
|
|
20700
|
+
'/api/v2/conversations/callbacks/{conversationId}/recordingstate',
|
|
20701
|
+
'PUT',
|
|
20702
|
+
{ 'conversationId': conversationId },
|
|
20703
|
+
{ },
|
|
20704
|
+
{ },
|
|
20705
|
+
{ },
|
|
20706
|
+
body,
|
|
20707
|
+
['PureCloud OAuth'],
|
|
20708
|
+
['application/json'],
|
|
20709
|
+
['application/json']
|
|
20710
|
+
);
|
|
20711
|
+
}
|
|
20712
|
+
|
|
20713
|
+
/**
|
|
20714
|
+
* Update a conversation by setting its recording state
|
|
20715
|
+
*
|
|
20716
|
+
* @param {String} conversationId conversationId
|
|
20717
|
+
* @param {Object} body SetRecordingState
|
|
20718
|
+
*/
|
|
20719
|
+
putConversationsChatRecordingstate(conversationId, body) {
|
|
20720
|
+
// verify the required parameter 'conversationId' is set
|
|
20721
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20722
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';
|
|
20723
|
+
}
|
|
20724
|
+
// verify the required parameter 'body' is set
|
|
20725
|
+
if (body === undefined || body === null) {
|
|
20726
|
+
throw 'Missing the required parameter "body" when calling putConversationsChatRecordingstate';
|
|
20727
|
+
}
|
|
20728
|
+
|
|
20729
|
+
return this.apiClient.callApi(
|
|
20730
|
+
'/api/v2/conversations/chats/{conversationId}/recordingstate',
|
|
20731
|
+
'PUT',
|
|
20732
|
+
{ 'conversationId': conversationId },
|
|
20733
|
+
{ },
|
|
20734
|
+
{ },
|
|
20735
|
+
{ },
|
|
20736
|
+
body,
|
|
20737
|
+
['PureCloud OAuth'],
|
|
20738
|
+
['application/json'],
|
|
20739
|
+
['application/json']
|
|
20740
|
+
);
|
|
20741
|
+
}
|
|
20742
|
+
|
|
20743
|
+
/**
|
|
20744
|
+
* Update a conversation by setting its recording state
|
|
20745
|
+
*
|
|
20746
|
+
* @param {String} conversationId conversationId
|
|
20747
|
+
* @param {Object} body SetRecordingState
|
|
20748
|
+
*/
|
|
20749
|
+
putConversationsCobrowsesessionRecordingstate(conversationId, body) {
|
|
20750
|
+
// verify the required parameter 'conversationId' is set
|
|
20751
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20752
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';
|
|
20753
|
+
}
|
|
20754
|
+
// verify the required parameter 'body' is set
|
|
20755
|
+
if (body === undefined || body === null) {
|
|
20756
|
+
throw 'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';
|
|
20757
|
+
}
|
|
20758
|
+
|
|
20759
|
+
return this.apiClient.callApi(
|
|
20760
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate',
|
|
20761
|
+
'PUT',
|
|
20762
|
+
{ 'conversationId': conversationId },
|
|
20763
|
+
{ },
|
|
20764
|
+
{ },
|
|
20765
|
+
{ },
|
|
20766
|
+
body,
|
|
20767
|
+
['PureCloud OAuth'],
|
|
20768
|
+
['application/json'],
|
|
20769
|
+
['application/json']
|
|
20770
|
+
);
|
|
20771
|
+
}
|
|
20772
|
+
|
|
20650
20773
|
/**
|
|
20651
20774
|
* Update conversation draft reply
|
|
20652
20775
|
*
|
|
@@ -20677,6 +20800,66 @@ class ConversationsApi {
|
|
|
20677
20800
|
);
|
|
20678
20801
|
}
|
|
20679
20802
|
|
|
20803
|
+
/**
|
|
20804
|
+
* Update a conversation by setting its recording state
|
|
20805
|
+
*
|
|
20806
|
+
* @param {String} conversationId conversationId
|
|
20807
|
+
* @param {Object} body SetRecordingState
|
|
20808
|
+
*/
|
|
20809
|
+
putConversationsEmailRecordingstate(conversationId, body) {
|
|
20810
|
+
// verify the required parameter 'conversationId' is set
|
|
20811
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20812
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';
|
|
20813
|
+
}
|
|
20814
|
+
// verify the required parameter 'body' is set
|
|
20815
|
+
if (body === undefined || body === null) {
|
|
20816
|
+
throw 'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';
|
|
20817
|
+
}
|
|
20818
|
+
|
|
20819
|
+
return this.apiClient.callApi(
|
|
20820
|
+
'/api/v2/conversations/emails/{conversationId}/recordingstate',
|
|
20821
|
+
'PUT',
|
|
20822
|
+
{ 'conversationId': conversationId },
|
|
20823
|
+
{ },
|
|
20824
|
+
{ },
|
|
20825
|
+
{ },
|
|
20826
|
+
body,
|
|
20827
|
+
['PureCloud OAuth'],
|
|
20828
|
+
['application/json'],
|
|
20829
|
+
['application/json']
|
|
20830
|
+
);
|
|
20831
|
+
}
|
|
20832
|
+
|
|
20833
|
+
/**
|
|
20834
|
+
* Update a conversation by setting its recording state
|
|
20835
|
+
*
|
|
20836
|
+
* @param {String} conversationId conversationId
|
|
20837
|
+
* @param {Object} body SetRecordingState
|
|
20838
|
+
*/
|
|
20839
|
+
putConversationsMessageRecordingstate(conversationId, body) {
|
|
20840
|
+
// verify the required parameter 'conversationId' is set
|
|
20841
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20842
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';
|
|
20843
|
+
}
|
|
20844
|
+
// verify the required parameter 'body' is set
|
|
20845
|
+
if (body === undefined || body === null) {
|
|
20846
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';
|
|
20847
|
+
}
|
|
20848
|
+
|
|
20849
|
+
return this.apiClient.callApi(
|
|
20850
|
+
'/api/v2/conversations/messages/{conversationId}/recordingstate',
|
|
20851
|
+
'PUT',
|
|
20852
|
+
{ 'conversationId': conversationId },
|
|
20853
|
+
{ },
|
|
20854
|
+
{ },
|
|
20855
|
+
{ },
|
|
20856
|
+
body,
|
|
20857
|
+
['PureCloud OAuth'],
|
|
20858
|
+
['application/json'],
|
|
20859
|
+
['application/json']
|
|
20860
|
+
);
|
|
20861
|
+
}
|
|
20862
|
+
|
|
20680
20863
|
/**
|
|
20681
20864
|
* Update a LINE messenger integration
|
|
20682
20865
|
*
|
|
@@ -20757,13 +20940,103 @@ class ConversationsApi {
|
|
|
20757
20940
|
);
|
|
20758
20941
|
}
|
|
20759
20942
|
|
|
20943
|
+
/**
|
|
20944
|
+
* Update a conversation by setting its recording state
|
|
20945
|
+
*
|
|
20946
|
+
* @param {String} conversationId conversationId
|
|
20947
|
+
* @param {Object} body SetRecordingState
|
|
20948
|
+
*/
|
|
20949
|
+
putConversationsScreenshareRecordingstate(conversationId, body) {
|
|
20950
|
+
// verify the required parameter 'conversationId' is set
|
|
20951
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20952
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';
|
|
20953
|
+
}
|
|
20954
|
+
// verify the required parameter 'body' is set
|
|
20955
|
+
if (body === undefined || body === null) {
|
|
20956
|
+
throw 'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';
|
|
20957
|
+
}
|
|
20958
|
+
|
|
20959
|
+
return this.apiClient.callApi(
|
|
20960
|
+
'/api/v2/conversations/screenshares/{conversationId}/recordingstate',
|
|
20961
|
+
'PUT',
|
|
20962
|
+
{ 'conversationId': conversationId },
|
|
20963
|
+
{ },
|
|
20964
|
+
{ },
|
|
20965
|
+
{ },
|
|
20966
|
+
body,
|
|
20967
|
+
['PureCloud OAuth'],
|
|
20968
|
+
['application/json'],
|
|
20969
|
+
['application/json']
|
|
20970
|
+
);
|
|
20971
|
+
}
|
|
20972
|
+
|
|
20973
|
+
/**
|
|
20974
|
+
* Update a conversation by setting its recording state
|
|
20975
|
+
*
|
|
20976
|
+
* @param {String} conversationId conversationId
|
|
20977
|
+
* @param {Object} body SetRecordingState
|
|
20978
|
+
*/
|
|
20979
|
+
putConversationsSocialRecordingstate(conversationId, body) {
|
|
20980
|
+
// verify the required parameter 'conversationId' is set
|
|
20981
|
+
if (conversationId === undefined || conversationId === null) {
|
|
20982
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';
|
|
20983
|
+
}
|
|
20984
|
+
// verify the required parameter 'body' is set
|
|
20985
|
+
if (body === undefined || body === null) {
|
|
20986
|
+
throw 'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';
|
|
20987
|
+
}
|
|
20988
|
+
|
|
20989
|
+
return this.apiClient.callApi(
|
|
20990
|
+
'/api/v2/conversations/socials/{conversationId}/recordingstate',
|
|
20991
|
+
'PUT',
|
|
20992
|
+
{ 'conversationId': conversationId },
|
|
20993
|
+
{ },
|
|
20994
|
+
{ },
|
|
20995
|
+
{ },
|
|
20996
|
+
body,
|
|
20997
|
+
['PureCloud OAuth'],
|
|
20998
|
+
['application/json'],
|
|
20999
|
+
['application/json']
|
|
21000
|
+
);
|
|
21001
|
+
}
|
|
21002
|
+
|
|
21003
|
+
/**
|
|
21004
|
+
* Update a conversation by setting its recording state
|
|
21005
|
+
*
|
|
21006
|
+
* @param {String} conversationId conversationId
|
|
21007
|
+
* @param {Object} body SetRecordingState
|
|
21008
|
+
*/
|
|
21009
|
+
putConversationsVideoRecordingstate(conversationId, body) {
|
|
21010
|
+
// verify the required parameter 'conversationId' is set
|
|
21011
|
+
if (conversationId === undefined || conversationId === null) {
|
|
21012
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';
|
|
21013
|
+
}
|
|
21014
|
+
// verify the required parameter 'body' is set
|
|
21015
|
+
if (body === undefined || body === null) {
|
|
21016
|
+
throw 'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';
|
|
21017
|
+
}
|
|
21018
|
+
|
|
21019
|
+
return this.apiClient.callApi(
|
|
21020
|
+
'/api/v2/conversations/videos/{conversationId}/recordingstate',
|
|
21021
|
+
'PUT',
|
|
21022
|
+
{ 'conversationId': conversationId },
|
|
21023
|
+
{ },
|
|
21024
|
+
{ },
|
|
21025
|
+
{ },
|
|
21026
|
+
body,
|
|
21027
|
+
['PureCloud OAuth'],
|
|
21028
|
+
['application/json'],
|
|
21029
|
+
['application/json']
|
|
21030
|
+
);
|
|
21031
|
+
}
|
|
21032
|
+
|
|
20760
21033
|
}
|
|
20761
21034
|
|
|
20762
21035
|
class DataExtensionsApi {
|
|
20763
21036
|
/**
|
|
20764
21037
|
* DataExtensions service.
|
|
20765
21038
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20766
|
-
* @version
|
|
21039
|
+
* @version 139.0.0
|
|
20767
21040
|
*/
|
|
20768
21041
|
|
|
20769
21042
|
/**
|
|
@@ -20849,7 +21122,7 @@ class ExternalContactsApi {
|
|
|
20849
21122
|
/**
|
|
20850
21123
|
* ExternalContacts service.
|
|
20851
21124
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20852
|
-
* @version
|
|
21125
|
+
* @version 139.0.0
|
|
20853
21126
|
*/
|
|
20854
21127
|
|
|
20855
21128
|
/**
|
|
@@ -22592,7 +22865,7 @@ class FaxApi {
|
|
|
22592
22865
|
/**
|
|
22593
22866
|
* Fax service.
|
|
22594
22867
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
22595
|
-
* @version
|
|
22868
|
+
* @version 139.0.0
|
|
22596
22869
|
*/
|
|
22597
22870
|
|
|
22598
22871
|
/**
|
|
@@ -22763,7 +23036,7 @@ class FlowsApi {
|
|
|
22763
23036
|
/**
|
|
22764
23037
|
* Flows service.
|
|
22765
23038
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
22766
|
-
* @version
|
|
23039
|
+
* @version 139.0.0
|
|
22767
23040
|
*/
|
|
22768
23041
|
|
|
22769
23042
|
/**
|
|
@@ -22834,7 +23107,7 @@ class GamificationApi {
|
|
|
22834
23107
|
/**
|
|
22835
23108
|
* Gamification service.
|
|
22836
23109
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
22837
|
-
* @version
|
|
23110
|
+
* @version 139.0.0
|
|
22838
23111
|
*/
|
|
22839
23112
|
|
|
22840
23113
|
/**
|
|
@@ -23105,18 +23378,18 @@ class GamificationApi {
|
|
|
23105
23378
|
/**
|
|
23106
23379
|
* Members of a given performance profile
|
|
23107
23380
|
*
|
|
23108
|
-
* @param {String}
|
|
23381
|
+
* @param {String} profileId Profile Id
|
|
23109
23382
|
*/
|
|
23110
|
-
getGamificationProfileMembers(
|
|
23111
|
-
// verify the required parameter '
|
|
23112
|
-
if (
|
|
23113
|
-
throw 'Missing the required parameter "
|
|
23383
|
+
getGamificationProfileMembers(profileId) {
|
|
23384
|
+
// verify the required parameter 'profileId' is set
|
|
23385
|
+
if (profileId === undefined || profileId === null) {
|
|
23386
|
+
throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
|
|
23114
23387
|
}
|
|
23115
23388
|
|
|
23116
23389
|
return this.apiClient.callApi(
|
|
23117
|
-
'/api/v2/gamification/profiles/{
|
|
23390
|
+
'/api/v2/gamification/profiles/{profileId}/members',
|
|
23118
23391
|
'GET',
|
|
23119
|
-
{ '
|
|
23392
|
+
{ 'profileId': profileId },
|
|
23120
23393
|
{ },
|
|
23121
23394
|
{ },
|
|
23122
23395
|
{ },
|
|
@@ -23168,6 +23441,7 @@ class GamificationApi {
|
|
|
23168
23441
|
* @param {Object} opts Optional parameters
|
|
23169
23442
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
23170
23443
|
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
23444
|
+
* @param {String} opts.metricIds List of metric ids to filter the response (Optional, comma-separated).
|
|
23171
23445
|
*/
|
|
23172
23446
|
getGamificationProfileMetrics(profileId, opts) {
|
|
23173
23447
|
opts = opts || {};
|
|
@@ -23181,7 +23455,7 @@ class GamificationApi {
|
|
|
23181
23455
|
'/api/v2/gamification/profiles/{profileId}/metrics',
|
|
23182
23456
|
'GET',
|
|
23183
23457
|
{ 'profileId': profileId },
|
|
23184
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
|
|
23458
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'],'metricIds': opts['metricIds'] },
|
|
23185
23459
|
{ },
|
|
23186
23460
|
{ },
|
|
23187
23461
|
null,
|
|
@@ -23984,13 +24258,13 @@ class GamificationApi {
|
|
|
23984
24258
|
/**
|
|
23985
24259
|
* Assign members to a given performance profile
|
|
23986
24260
|
*
|
|
23987
|
-
* @param {String}
|
|
24261
|
+
* @param {String} profileId Profile Id
|
|
23988
24262
|
* @param {Object} body assignUsers
|
|
23989
24263
|
*/
|
|
23990
|
-
postGamificationProfileMembers(
|
|
23991
|
-
// verify the required parameter '
|
|
23992
|
-
if (
|
|
23993
|
-
throw 'Missing the required parameter "
|
|
24264
|
+
postGamificationProfileMembers(profileId, body) {
|
|
24265
|
+
// verify the required parameter 'profileId' is set
|
|
24266
|
+
if (profileId === undefined || profileId === null) {
|
|
24267
|
+
throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
|
|
23994
24268
|
}
|
|
23995
24269
|
// verify the required parameter 'body' is set
|
|
23996
24270
|
if (body === undefined || body === null) {
|
|
@@ -23998,9 +24272,9 @@ class GamificationApi {
|
|
|
23998
24272
|
}
|
|
23999
24273
|
|
|
24000
24274
|
return this.apiClient.callApi(
|
|
24001
|
-
'/api/v2/gamification/profiles/{
|
|
24275
|
+
'/api/v2/gamification/profiles/{profileId}/members',
|
|
24002
24276
|
'POST',
|
|
24003
|
-
{ '
|
|
24277
|
+
{ 'profileId': profileId },
|
|
24004
24278
|
{ },
|
|
24005
24279
|
{ },
|
|
24006
24280
|
{ },
|
|
@@ -24014,13 +24288,13 @@ class GamificationApi {
|
|
|
24014
24288
|
/**
|
|
24015
24289
|
* Validate member assignment
|
|
24016
24290
|
*
|
|
24017
|
-
* @param {String}
|
|
24291
|
+
* @param {String} profileId Profile Id
|
|
24018
24292
|
* @param {Object} body memberAssignments
|
|
24019
24293
|
*/
|
|
24020
|
-
postGamificationProfileMembersValidate(
|
|
24021
|
-
// verify the required parameter '
|
|
24022
|
-
if (
|
|
24023
|
-
throw 'Missing the required parameter "
|
|
24294
|
+
postGamificationProfileMembersValidate(profileId, body) {
|
|
24295
|
+
// verify the required parameter 'profileId' is set
|
|
24296
|
+
if (profileId === undefined || profileId === null) {
|
|
24297
|
+
throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
|
|
24024
24298
|
}
|
|
24025
24299
|
// verify the required parameter 'body' is set
|
|
24026
24300
|
if (body === undefined || body === null) {
|
|
@@ -24028,9 +24302,9 @@ class GamificationApi {
|
|
|
24028
24302
|
}
|
|
24029
24303
|
|
|
24030
24304
|
return this.apiClient.callApi(
|
|
24031
|
-
'/api/v2/gamification/profiles/{
|
|
24305
|
+
'/api/v2/gamification/profiles/{profileId}/members/validate',
|
|
24032
24306
|
'POST',
|
|
24033
|
-
{ '
|
|
24307
|
+
{ 'profileId': profileId },
|
|
24034
24308
|
{ },
|
|
24035
24309
|
{ },
|
|
24036
24310
|
{ },
|
|
@@ -24264,7 +24538,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
24264
24538
|
/**
|
|
24265
24539
|
* GeneralDataProtectionRegulation service.
|
|
24266
24540
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
24267
|
-
* @version
|
|
24541
|
+
* @version 139.0.0
|
|
24268
24542
|
*/
|
|
24269
24543
|
|
|
24270
24544
|
/**
|
|
@@ -24394,7 +24668,7 @@ class GeolocationApi {
|
|
|
24394
24668
|
/**
|
|
24395
24669
|
* Geolocation service.
|
|
24396
24670
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
24397
|
-
* @version
|
|
24671
|
+
* @version 139.0.0
|
|
24398
24672
|
*/
|
|
24399
24673
|
|
|
24400
24674
|
/**
|
|
@@ -24525,7 +24799,7 @@ class GreetingsApi {
|
|
|
24525
24799
|
/**
|
|
24526
24800
|
* Greetings service.
|
|
24527
24801
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
24528
|
-
* @version
|
|
24802
|
+
* @version 139.0.0
|
|
24529
24803
|
*/
|
|
24530
24804
|
|
|
24531
24805
|
/**
|
|
@@ -24980,7 +25254,7 @@ class GroupsApi {
|
|
|
24980
25254
|
/**
|
|
24981
25255
|
* Groups service.
|
|
24982
25256
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
24983
|
-
* @version
|
|
25257
|
+
* @version 139.0.0
|
|
24984
25258
|
*/
|
|
24985
25259
|
|
|
24986
25260
|
/**
|
|
@@ -25385,7 +25659,7 @@ class IdentityProviderApi {
|
|
|
25385
25659
|
/**
|
|
25386
25660
|
* IdentityProvider service.
|
|
25387
25661
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
25388
|
-
* @version
|
|
25662
|
+
* @version 139.0.0
|
|
25389
25663
|
*/
|
|
25390
25664
|
|
|
25391
25665
|
/**
|
|
@@ -26141,7 +26415,7 @@ class IntegrationsApi {
|
|
|
26141
26415
|
/**
|
|
26142
26416
|
* Integrations service.
|
|
26143
26417
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
26144
|
-
* @version
|
|
26418
|
+
* @version 139.0.0
|
|
26145
26419
|
*/
|
|
26146
26420
|
|
|
26147
26421
|
/**
|
|
@@ -27818,7 +28092,7 @@ class JourneyApi {
|
|
|
27818
28092
|
/**
|
|
27819
28093
|
* Journey service.
|
|
27820
28094
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
27821
|
-
* @version
|
|
28095
|
+
* @version 139.0.0
|
|
27822
28096
|
*/
|
|
27823
28097
|
|
|
27824
28098
|
/**
|
|
@@ -28529,7 +28803,7 @@ class KnowledgeApi {
|
|
|
28529
28803
|
/**
|
|
28530
28804
|
* Knowledge service.
|
|
28531
28805
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
28532
|
-
* @version
|
|
28806
|
+
* @version 139.0.0
|
|
28533
28807
|
*/
|
|
28534
28808
|
|
|
28535
28809
|
/**
|
|
@@ -28707,7 +28981,7 @@ class KnowledgeApi {
|
|
|
28707
28981
|
* @param {Object} opts Optional parameters
|
|
28708
28982
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
28709
28983
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
28710
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
28984
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
28711
28985
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
28712
28986
|
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
28713
28987
|
*/
|
|
@@ -28815,7 +29089,7 @@ class KnowledgeApi {
|
|
|
28815
29089
|
* @param {Object} opts Optional parameters
|
|
28816
29090
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
28817
29091
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
28818
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
29092
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
28819
29093
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
28820
29094
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
28821
29095
|
* @param {String} opts.title Filter by document title.
|
|
@@ -28927,7 +29201,7 @@ class KnowledgeApi {
|
|
|
28927
29201
|
* @param {Object} opts Optional parameters
|
|
28928
29202
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
28929
29203
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
28930
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
29204
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
28931
29205
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
28932
29206
|
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
28933
29207
|
*/
|
|
@@ -28963,7 +29237,7 @@ class KnowledgeApi {
|
|
|
28963
29237
|
* @param {Object} opts Optional parameters
|
|
28964
29238
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
28965
29239
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
28966
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
29240
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
28967
29241
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
28968
29242
|
* @param {String} opts.name Filter by Name.
|
|
28969
29243
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
@@ -29429,7 +29703,7 @@ class LanguageUnderstandingApi {
|
|
|
29429
29703
|
/**
|
|
29430
29704
|
* LanguageUnderstanding service.
|
|
29431
29705
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
29432
|
-
* @version
|
|
29706
|
+
* @version 139.0.0
|
|
29433
29707
|
*/
|
|
29434
29708
|
|
|
29435
29709
|
/**
|
|
@@ -30333,7 +30607,7 @@ class LanguagesApi {
|
|
|
30333
30607
|
/**
|
|
30334
30608
|
* Languages service.
|
|
30335
30609
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
30336
|
-
* @version
|
|
30610
|
+
* @version 139.0.0
|
|
30337
30611
|
*/
|
|
30338
30612
|
|
|
30339
30613
|
/**
|
|
@@ -30601,7 +30875,7 @@ class LearningApi {
|
|
|
30601
30875
|
/**
|
|
30602
30876
|
* Learning service.
|
|
30603
30877
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
30604
|
-
* @version
|
|
30878
|
+
* @version 139.0.0
|
|
30605
30879
|
*/
|
|
30606
30880
|
|
|
30607
30881
|
/**
|
|
@@ -31192,7 +31466,7 @@ class LicenseApi {
|
|
|
31192
31466
|
/**
|
|
31193
31467
|
* License service.
|
|
31194
31468
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
31195
|
-
* @version
|
|
31469
|
+
* @version 139.0.0
|
|
31196
31470
|
*/
|
|
31197
31471
|
|
|
31198
31472
|
/**
|
|
@@ -31430,7 +31704,7 @@ class LocationsApi {
|
|
|
31430
31704
|
/**
|
|
31431
31705
|
* Locations service.
|
|
31432
31706
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
31433
|
-
* @version
|
|
31707
|
+
* @version 139.0.0
|
|
31434
31708
|
*/
|
|
31435
31709
|
|
|
31436
31710
|
/**
|
|
@@ -31666,7 +31940,7 @@ class MessagingApi {
|
|
|
31666
31940
|
/**
|
|
31667
31941
|
* Messaging service.
|
|
31668
31942
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
31669
|
-
* @version
|
|
31943
|
+
* @version 139.0.0
|
|
31670
31944
|
*/
|
|
31671
31945
|
|
|
31672
31946
|
/**
|
|
@@ -31817,7 +32091,7 @@ class MobileDevicesApi {
|
|
|
31817
32091
|
/**
|
|
31818
32092
|
* MobileDevices service.
|
|
31819
32093
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
31820
|
-
* @version
|
|
32094
|
+
* @version 139.0.0
|
|
31821
32095
|
*/
|
|
31822
32096
|
|
|
31823
32097
|
/**
|
|
@@ -31968,7 +32242,7 @@ class NotificationsApi {
|
|
|
31968
32242
|
/**
|
|
31969
32243
|
* Notifications service.
|
|
31970
32244
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
31971
|
-
* @version
|
|
32245
|
+
* @version 139.0.0
|
|
31972
32246
|
*/
|
|
31973
32247
|
|
|
31974
32248
|
/**
|
|
@@ -32193,7 +32467,7 @@ class OAuthApi {
|
|
|
32193
32467
|
/**
|
|
32194
32468
|
* OAuth service.
|
|
32195
32469
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
32196
|
-
* @version
|
|
32470
|
+
* @version 139.0.0
|
|
32197
32471
|
*/
|
|
32198
32472
|
|
|
32199
32473
|
/**
|
|
@@ -32559,7 +32833,7 @@ class ObjectsApi {
|
|
|
32559
32833
|
/**
|
|
32560
32834
|
* Objects service.
|
|
32561
32835
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
32562
|
-
* @version
|
|
32836
|
+
* @version 139.0.0
|
|
32563
32837
|
*/
|
|
32564
32838
|
|
|
32565
32839
|
/**
|
|
@@ -32830,7 +33104,7 @@ class OrganizationApi {
|
|
|
32830
33104
|
/**
|
|
32831
33105
|
* Organization service.
|
|
32832
33106
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
32833
|
-
* @version
|
|
33107
|
+
* @version 139.0.0
|
|
32834
33108
|
*/
|
|
32835
33109
|
|
|
32836
33110
|
/**
|
|
@@ -33233,7 +33507,7 @@ class OrganizationAuthorizationApi {
|
|
|
33233
33507
|
/**
|
|
33234
33508
|
* OrganizationAuthorization service.
|
|
33235
33509
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
33236
|
-
* @version
|
|
33510
|
+
* @version 139.0.0
|
|
33237
33511
|
*/
|
|
33238
33512
|
|
|
33239
33513
|
/**
|
|
@@ -34158,7 +34432,7 @@ class OutboundApi {
|
|
|
34158
34432
|
/**
|
|
34159
34433
|
* Outbound service.
|
|
34160
34434
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
34161
|
-
* @version
|
|
34435
|
+
* @version 139.0.0
|
|
34162
34436
|
*/
|
|
34163
34437
|
|
|
34164
34438
|
/**
|
|
@@ -37413,7 +37687,7 @@ class PresenceApi {
|
|
|
37413
37687
|
/**
|
|
37414
37688
|
* Presence service.
|
|
37415
37689
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
37416
|
-
* @version
|
|
37690
|
+
* @version 139.0.0
|
|
37417
37691
|
*/
|
|
37418
37692
|
|
|
37419
37693
|
/**
|
|
@@ -37735,7 +38009,7 @@ class QualityApi {
|
|
|
37735
38009
|
/**
|
|
37736
38010
|
* Quality service.
|
|
37737
38011
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
37738
|
-
* @version
|
|
38012
|
+
* @version 139.0.0
|
|
37739
38013
|
*/
|
|
37740
38014
|
|
|
37741
38015
|
/**
|
|
@@ -39313,7 +39587,7 @@ class RecordingApi {
|
|
|
39313
39587
|
/**
|
|
39314
39588
|
* Recording service.
|
|
39315
39589
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
39316
|
-
* @version
|
|
39590
|
+
* @version 139.0.0
|
|
39317
39591
|
*/
|
|
39318
39592
|
|
|
39319
39593
|
/**
|
|
@@ -40966,7 +41240,7 @@ class ResponseManagementApi {
|
|
|
40966
41240
|
/**
|
|
40967
41241
|
* ResponseManagement service.
|
|
40968
41242
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
40969
|
-
* @version
|
|
41243
|
+
* @version 139.0.0
|
|
40970
41244
|
*/
|
|
40971
41245
|
|
|
40972
41246
|
/**
|
|
@@ -41450,7 +41724,7 @@ class RoutingApi {
|
|
|
41450
41724
|
/**
|
|
41451
41725
|
* Routing service.
|
|
41452
41726
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
41453
|
-
* @version
|
|
41727
|
+
* @version 139.0.0
|
|
41454
41728
|
*/
|
|
41455
41729
|
|
|
41456
41730
|
/**
|
|
@@ -41763,12 +42037,8 @@ class RoutingApi {
|
|
|
41763
42037
|
* Delete a phone number provisioned for SMS.
|
|
41764
42038
|
*
|
|
41765
42039
|
* @param {String} addressId Address ID
|
|
41766
|
-
* @param {Object} opts Optional parameters
|
|
41767
|
-
* @param {Boolean} opts.async Delete a phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the deletion of a provisioned phone number. (default to false)
|
|
41768
42040
|
*/
|
|
41769
|
-
deleteRoutingSmsPhonenumber(addressId
|
|
41770
|
-
opts = opts || {};
|
|
41771
|
-
|
|
42041
|
+
deleteRoutingSmsPhonenumber(addressId) {
|
|
41772
42042
|
// verify the required parameter 'addressId' is set
|
|
41773
42043
|
if (addressId === undefined || addressId === null) {
|
|
41774
42044
|
throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';
|
|
@@ -41778,7 +42048,7 @@ class RoutingApi {
|
|
|
41778
42048
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
41779
42049
|
'DELETE',
|
|
41780
42050
|
{ 'addressId': addressId },
|
|
41781
|
-
{
|
|
42051
|
+
{ },
|
|
41782
42052
|
{ },
|
|
41783
42053
|
{ },
|
|
41784
42054
|
null,
|
|
@@ -41949,7 +42219,7 @@ class RoutingApi {
|
|
|
41949
42219
|
* @param {Object} opts Optional parameters
|
|
41950
42220
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41951
42221
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41952
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
42222
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41953
42223
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41954
42224
|
* @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
|
|
41955
42225
|
*/
|
|
@@ -42260,7 +42530,7 @@ class RoutingApi {
|
|
|
42260
42530
|
* @param {Object} opts Optional parameters
|
|
42261
42531
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
42262
42532
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
42263
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
42533
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
42264
42534
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
42265
42535
|
* @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
|
|
42266
42536
|
*/
|
|
@@ -43932,12 +44202,8 @@ class RoutingApi {
|
|
|
43932
44202
|
* Provision a phone number for SMS
|
|
43933
44203
|
*
|
|
43934
44204
|
* @param {Object} body SmsPhoneNumber
|
|
43935
|
-
* @param {Object} opts Optional parameters
|
|
43936
|
-
* @param {Boolean} opts.async Provision a new phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the provisioning of a new phone number. Check the phoneNumber's provisioningStatus for completion of this request. (default to false)
|
|
43937
44205
|
*/
|
|
43938
|
-
postRoutingSmsPhonenumbers(body
|
|
43939
|
-
opts = opts || {};
|
|
43940
|
-
|
|
44206
|
+
postRoutingSmsPhonenumbers(body) {
|
|
43941
44207
|
// verify the required parameter 'body' is set
|
|
43942
44208
|
if (body === undefined || body === null) {
|
|
43943
44209
|
throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
|
|
@@ -43947,7 +44213,7 @@ class RoutingApi {
|
|
|
43947
44213
|
'/api/v2/routing/sms/phonenumbers',
|
|
43948
44214
|
'POST',
|
|
43949
44215
|
{ },
|
|
43950
|
-
{
|
|
44216
|
+
{ },
|
|
43951
44217
|
{ },
|
|
43952
44218
|
{ },
|
|
43953
44219
|
body,
|
|
@@ -44192,12 +44458,8 @@ class RoutingApi {
|
|
|
44192
44458
|
*
|
|
44193
44459
|
* @param {String} addressId Address ID
|
|
44194
44460
|
* @param {Object} body SmsPhoneNumber
|
|
44195
|
-
* @param {Object} opts Optional parameters
|
|
44196
|
-
* @param {Boolean} opts.async Update an existing phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the update of a provisioned phone number. Check the phoneNumber's provisioningStatus for the progress of this request. (default to false)
|
|
44197
44461
|
*/
|
|
44198
|
-
putRoutingSmsPhonenumber(addressId, body
|
|
44199
|
-
opts = opts || {};
|
|
44200
|
-
|
|
44462
|
+
putRoutingSmsPhonenumber(addressId, body) {
|
|
44201
44463
|
// verify the required parameter 'addressId' is set
|
|
44202
44464
|
if (addressId === undefined || addressId === null) {
|
|
44203
44465
|
throw 'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';
|
|
@@ -44211,7 +44473,7 @@ class RoutingApi {
|
|
|
44211
44473
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
44212
44474
|
'PUT',
|
|
44213
44475
|
{ 'addressId': addressId },
|
|
44214
|
-
{
|
|
44476
|
+
{ },
|
|
44215
44477
|
{ },
|
|
44216
44478
|
{ },
|
|
44217
44479
|
body,
|
|
@@ -44377,7 +44639,7 @@ class SCIMApi {
|
|
|
44377
44639
|
/**
|
|
44378
44640
|
* SCIM service.
|
|
44379
44641
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
44380
|
-
* @version
|
|
44642
|
+
* @version 139.0.0
|
|
44381
44643
|
*/
|
|
44382
44644
|
|
|
44383
44645
|
/**
|
|
@@ -45254,7 +45516,7 @@ class ScriptsApi {
|
|
|
45254
45516
|
/**
|
|
45255
45517
|
* Scripts service.
|
|
45256
45518
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
45257
|
-
* @version
|
|
45519
|
+
* @version 139.0.0
|
|
45258
45520
|
*/
|
|
45259
45521
|
|
|
45260
45522
|
/**
|
|
@@ -45582,9 +45844,9 @@ class ScriptsApi {
|
|
|
45582
45844
|
*
|
|
45583
45845
|
* @param {String} scriptId Script ID
|
|
45584
45846
|
* @param {Object} opts Optional parameters
|
|
45585
|
-
* @param {
|
|
45586
|
-
* @param {
|
|
45587
|
-
* @param {
|
|
45847
|
+
* @param {Object} opts.input input
|
|
45848
|
+
* @param {Object} opts.output output
|
|
45849
|
+
* @param {Object} opts.type type
|
|
45588
45850
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
45589
45851
|
*/
|
|
45590
45852
|
getScriptsPublishedScriptIdVariables(scriptId, opts) {
|
|
@@ -45673,7 +45935,7 @@ class SearchApi {
|
|
|
45673
45935
|
/**
|
|
45674
45936
|
* Search service.
|
|
45675
45937
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
45676
|
-
* @version
|
|
45938
|
+
* @version 139.0.0
|
|
45677
45939
|
*/
|
|
45678
45940
|
|
|
45679
45941
|
/**
|
|
@@ -46208,7 +46470,7 @@ class SpeechTextAnalyticsApi {
|
|
|
46208
46470
|
/**
|
|
46209
46471
|
* SpeechTextAnalytics service.
|
|
46210
46472
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
46211
|
-
* @version
|
|
46473
|
+
* @version 139.0.0
|
|
46212
46474
|
*/
|
|
46213
46475
|
|
|
46214
46476
|
/**
|
|
@@ -47061,7 +47323,7 @@ class StationsApi {
|
|
|
47061
47323
|
/**
|
|
47062
47324
|
* Stations service.
|
|
47063
47325
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
47064
|
-
* @version
|
|
47326
|
+
* @version 139.0.0
|
|
47065
47327
|
*/
|
|
47066
47328
|
|
|
47067
47329
|
/**
|
|
@@ -47208,7 +47470,7 @@ class SuggestApi {
|
|
|
47208
47470
|
/**
|
|
47209
47471
|
* Suggest service.
|
|
47210
47472
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
47211
|
-
* @version
|
|
47473
|
+
* @version 139.0.0
|
|
47212
47474
|
*/
|
|
47213
47475
|
|
|
47214
47476
|
/**
|
|
@@ -47347,7 +47609,7 @@ class TelephonyApi {
|
|
|
47347
47609
|
/**
|
|
47348
47610
|
* Telephony service.
|
|
47349
47611
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
47350
|
-
* @version
|
|
47612
|
+
* @version 139.0.0
|
|
47351
47613
|
*/
|
|
47352
47614
|
|
|
47353
47615
|
/**
|
|
@@ -47455,7 +47717,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
47455
47717
|
/**
|
|
47456
47718
|
* TelephonyProvidersEdge service.
|
|
47457
47719
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
47458
|
-
* @version
|
|
47720
|
+
* @version 139.0.0
|
|
47459
47721
|
*/
|
|
47460
47722
|
|
|
47461
47723
|
/**
|
|
@@ -51088,7 +51350,7 @@ class TextbotsApi {
|
|
|
51088
51350
|
/**
|
|
51089
51351
|
* Textbots service.
|
|
51090
51352
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
51091
|
-
* @version
|
|
51353
|
+
* @version 139.0.0
|
|
51092
51354
|
*/
|
|
51093
51355
|
|
|
51094
51356
|
/**
|
|
@@ -51216,7 +51478,7 @@ class TokensApi {
|
|
|
51216
51478
|
/**
|
|
51217
51479
|
* Tokens service.
|
|
51218
51480
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
51219
|
-
* @version
|
|
51481
|
+
* @version 139.0.0
|
|
51220
51482
|
*/
|
|
51221
51483
|
|
|
51222
51484
|
/**
|
|
@@ -51322,7 +51584,7 @@ class UploadsApi {
|
|
|
51322
51584
|
/**
|
|
51323
51585
|
* Uploads service.
|
|
51324
51586
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
51325
|
-
* @version
|
|
51587
|
+
* @version 139.0.0
|
|
51326
51588
|
*/
|
|
51327
51589
|
|
|
51328
51590
|
/**
|
|
@@ -51473,7 +51735,7 @@ class UsageApi {
|
|
|
51473
51735
|
/**
|
|
51474
51736
|
* Usage service.
|
|
51475
51737
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
51476
|
-
* @version
|
|
51738
|
+
* @version 139.0.0
|
|
51477
51739
|
*/
|
|
51478
51740
|
|
|
51479
51741
|
/**
|
|
@@ -51544,7 +51806,7 @@ class UserRecordingsApi {
|
|
|
51544
51806
|
/**
|
|
51545
51807
|
* UserRecordings service.
|
|
51546
51808
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
51547
|
-
* @version
|
|
51809
|
+
* @version 139.0.0
|
|
51548
51810
|
*/
|
|
51549
51811
|
|
|
51550
51812
|
/**
|
|
@@ -51728,7 +51990,7 @@ class UsersApi {
|
|
|
51728
51990
|
/**
|
|
51729
51991
|
* Users service.
|
|
51730
51992
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51731
|
-
* @version
|
|
51993
|
+
* @version 139.0.0
|
|
51732
51994
|
*/
|
|
51733
51995
|
|
|
51734
51996
|
/**
|
|
@@ -54030,7 +54292,7 @@ class UtilitiesApi {
|
|
|
54030
54292
|
/**
|
|
54031
54293
|
* Utilities service.
|
|
54032
54294
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
54033
|
-
* @version
|
|
54295
|
+
* @version 139.0.0
|
|
54034
54296
|
*/
|
|
54035
54297
|
|
|
54036
54298
|
/**
|
|
@@ -54141,7 +54403,7 @@ class VoicemailApi {
|
|
|
54141
54403
|
/**
|
|
54142
54404
|
* Voicemail service.
|
|
54143
54405
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
54144
|
-
* @version
|
|
54406
|
+
* @version 139.0.0
|
|
54145
54407
|
*/
|
|
54146
54408
|
|
|
54147
54409
|
/**
|
|
@@ -54808,7 +55070,7 @@ class WebChatApi {
|
|
|
54808
55070
|
/**
|
|
54809
55071
|
* WebChat service.
|
|
54810
55072
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54811
|
-
* @version
|
|
55073
|
+
* @version 139.0.0
|
|
54812
55074
|
*/
|
|
54813
55075
|
|
|
54814
55076
|
/**
|
|
@@ -55352,7 +55614,7 @@ class WebDeploymentsApi {
|
|
|
55352
55614
|
/**
|
|
55353
55615
|
* WebDeployments service.
|
|
55354
55616
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
55355
|
-
* @version
|
|
55617
|
+
* @version 139.0.0
|
|
55356
55618
|
*/
|
|
55357
55619
|
|
|
55358
55620
|
/**
|
|
@@ -55707,7 +55969,7 @@ class WebMessagingApi {
|
|
|
55707
55969
|
/**
|
|
55708
55970
|
* WebMessaging service.
|
|
55709
55971
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55710
|
-
* @version
|
|
55972
|
+
* @version 139.0.0
|
|
55711
55973
|
*/
|
|
55712
55974
|
|
|
55713
55975
|
/**
|
|
@@ -55753,7 +56015,7 @@ class WidgetsApi {
|
|
|
55753
56015
|
/**
|
|
55754
56016
|
* Widgets service.
|
|
55755
56017
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55756
|
-
* @version
|
|
56018
|
+
* @version 139.0.0
|
|
55757
56019
|
*/
|
|
55758
56020
|
|
|
55759
56021
|
/**
|
|
@@ -55899,7 +56161,7 @@ class WorkforceManagementApi {
|
|
|
55899
56161
|
/**
|
|
55900
56162
|
* WorkforceManagement service.
|
|
55901
56163
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55902
|
-
* @version
|
|
56164
|
+
* @version 139.0.0
|
|
55903
56165
|
*/
|
|
55904
56166
|
|
|
55905
56167
|
/**
|
|
@@ -58658,8 +58920,8 @@ class WorkforceManagementApi {
|
|
|
58658
58920
|
*
|
|
58659
58921
|
* @param {String} businessUnitId The ID of the business unit
|
|
58660
58922
|
* @param {Object} opts Optional parameters
|
|
58661
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
58662
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
58923
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
58924
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
58663
58925
|
* @param {Object} opts.body body
|
|
58664
58926
|
*/
|
|
58665
58927
|
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
@@ -58780,8 +59042,8 @@ class WorkforceManagementApi {
|
|
|
58780
59042
|
* @param {String} scheduleId The ID of the schedule
|
|
58781
59043
|
* @param {Object} body body
|
|
58782
59044
|
* @param {Object} opts Optional parameters
|
|
58783
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
58784
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
59045
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
59046
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
58785
59047
|
*/
|
|
58786
59048
|
postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
|
|
58787
59049
|
opts = opts || {};
|
|
@@ -59367,8 +59629,8 @@ class WorkforceManagementApi {
|
|
|
59367
59629
|
*
|
|
59368
59630
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
59369
59631
|
* @param {Object} opts Optional parameters
|
|
59370
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
59371
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
59632
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
59633
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
59372
59634
|
* @param {Object} opts.body body
|
|
59373
59635
|
*/
|
|
59374
59636
|
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|
|
@@ -60150,7 +60412,7 @@ class WorkforceManagementApi {
|
|
|
60150
60412
|
* </pre>
|
|
60151
60413
|
* </p>
|
|
60152
60414
|
* @module purecloud-platform-client-v2/index
|
|
60153
|
-
* @version
|
|
60415
|
+
* @version 139.0.0
|
|
60154
60416
|
*/
|
|
60155
60417
|
class platformClient {
|
|
60156
60418
|
constructor() {
|