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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2276,7 +2276,7 @@ class Configuration {
|
|
|
2276
2276
|
|
|
2277
2277
|
/**
|
|
2278
2278
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2279
|
-
* @version
|
|
2279
|
+
* @version 139.0.0
|
|
2280
2280
|
*/
|
|
2281
2281
|
class ApiClient {
|
|
2282
2282
|
/**
|
|
@@ -3029,7 +3029,7 @@ class ApiClient {
|
|
|
3029
3029
|
serialize(obj) {
|
|
3030
3030
|
var result = {};
|
|
3031
3031
|
for (var p in obj) {
|
|
3032
|
-
if (obj.hasOwnProperty(p)) {
|
|
3032
|
+
if (obj.hasOwnProperty(p) && obj[p] !== undefined) {
|
|
3033
3033
|
result[encodeURIComponent(p)] = Array.isArray(obj[p]) ? obj[p].join(",") : this.paramToString(obj[p]);
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
@@ -3159,6 +3159,9 @@ class ApiClient {
|
|
|
3159
3159
|
*/
|
|
3160
3160
|
buildCollectionParam(param, collectionFormat) {
|
|
3161
3161
|
if (!param) return;
|
|
3162
|
+
if (!Array.isArray(param)) {
|
|
3163
|
+
param = [param];
|
|
3164
|
+
}
|
|
3162
3165
|
|
|
3163
3166
|
switch (collectionFormat) {
|
|
3164
3167
|
case 'csv':
|
|
@@ -3344,7 +3347,7 @@ class AlertingApi {
|
|
|
3344
3347
|
/**
|
|
3345
3348
|
* Alerting service.
|
|
3346
3349
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3347
|
-
* @version
|
|
3350
|
+
* @version 139.0.0
|
|
3348
3351
|
*/
|
|
3349
3352
|
|
|
3350
3353
|
/**
|
|
@@ -3658,7 +3661,7 @@ class AnalyticsApi {
|
|
|
3658
3661
|
/**
|
|
3659
3662
|
* Analytics service.
|
|
3660
3663
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3661
|
-
* @version
|
|
3664
|
+
* @version 139.0.0
|
|
3662
3665
|
*/
|
|
3663
3666
|
|
|
3664
3667
|
/**
|
|
@@ -4840,7 +4843,7 @@ class ArchitectApi {
|
|
|
4840
4843
|
/**
|
|
4841
4844
|
* Architect service.
|
|
4842
4845
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4843
|
-
* @version
|
|
4846
|
+
* @version 139.0.0
|
|
4844
4847
|
*/
|
|
4845
4848
|
|
|
4846
4849
|
/**
|
|
@@ -7885,7 +7888,7 @@ class AuditApi {
|
|
|
7885
7888
|
/**
|
|
7886
7889
|
* Audit service.
|
|
7887
7890
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7888
|
-
* @version
|
|
7891
|
+
* @version 139.0.0
|
|
7889
7892
|
*/
|
|
7890
7893
|
|
|
7891
7894
|
/**
|
|
@@ -8056,7 +8059,7 @@ class AuthorizationApi {
|
|
|
8056
8059
|
/**
|
|
8057
8060
|
* Authorization service.
|
|
8058
8061
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8059
|
-
* @version
|
|
8062
|
+
* @version 139.0.0
|
|
8060
8063
|
*/
|
|
8061
8064
|
|
|
8062
8065
|
/**
|
|
@@ -9239,7 +9242,7 @@ class BillingApi {
|
|
|
9239
9242
|
/**
|
|
9240
9243
|
* Billing service.
|
|
9241
9244
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9242
|
-
* @version
|
|
9245
|
+
* @version 139.0.0
|
|
9243
9246
|
*/
|
|
9244
9247
|
|
|
9245
9248
|
/**
|
|
@@ -9319,7 +9322,7 @@ class ChatApi {
|
|
|
9319
9322
|
/**
|
|
9320
9323
|
* Chat service.
|
|
9321
9324
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9322
|
-
* @version
|
|
9325
|
+
* @version 139.0.0
|
|
9323
9326
|
*/
|
|
9324
9327
|
|
|
9325
9328
|
/**
|
|
@@ -9410,7 +9413,7 @@ class CoachingApi {
|
|
|
9410
9413
|
/**
|
|
9411
9414
|
* Coaching service.
|
|
9412
9415
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9413
|
-
* @version
|
|
9416
|
+
* @version 139.0.0
|
|
9414
9417
|
*/
|
|
9415
9418
|
|
|
9416
9419
|
/**
|
|
@@ -9987,7 +9990,7 @@ class ContentManagementApi {
|
|
|
9987
9990
|
/**
|
|
9988
9991
|
* ContentManagement service.
|
|
9989
9992
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9990
|
-
* @version
|
|
9993
|
+
* @version 139.0.0
|
|
9991
9994
|
*/
|
|
9992
9995
|
|
|
9993
9996
|
/**
|
|
@@ -11127,7 +11130,7 @@ class ConversationsApi {
|
|
|
11127
11130
|
/**
|
|
11128
11131
|
* Conversations service.
|
|
11129
11132
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11130
|
-
* @version
|
|
11133
|
+
* @version 139.0.0
|
|
11131
11134
|
*/
|
|
11132
11135
|
|
|
11133
11136
|
/**
|
|
@@ -15675,6 +15678,126 @@ class ConversationsApi {
|
|
|
15675
15678
|
);
|
|
15676
15679
|
}
|
|
15677
15680
|
|
|
15681
|
+
/**
|
|
15682
|
+
* Update a conversation by setting its recording state
|
|
15683
|
+
*
|
|
15684
|
+
* @param {String} conversationId conversationId
|
|
15685
|
+
* @param {Object} body SetRecordingState
|
|
15686
|
+
*/
|
|
15687
|
+
putConversationsCallRecordingstate(conversationId, body) {
|
|
15688
|
+
// verify the required parameter 'conversationId' is set
|
|
15689
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15690
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';
|
|
15691
|
+
}
|
|
15692
|
+
// verify the required parameter 'body' is set
|
|
15693
|
+
if (body === undefined || body === null) {
|
|
15694
|
+
throw 'Missing the required parameter "body" when calling putConversationsCallRecordingstate';
|
|
15695
|
+
}
|
|
15696
|
+
|
|
15697
|
+
return this.apiClient.callApi(
|
|
15698
|
+
'/api/v2/conversations/calls/{conversationId}/recordingstate',
|
|
15699
|
+
'PUT',
|
|
15700
|
+
{ 'conversationId': conversationId },
|
|
15701
|
+
{ },
|
|
15702
|
+
{ },
|
|
15703
|
+
{ },
|
|
15704
|
+
body,
|
|
15705
|
+
['PureCloud OAuth'],
|
|
15706
|
+
['application/json'],
|
|
15707
|
+
['application/json']
|
|
15708
|
+
);
|
|
15709
|
+
}
|
|
15710
|
+
|
|
15711
|
+
/**
|
|
15712
|
+
* Update a conversation by setting its recording state
|
|
15713
|
+
*
|
|
15714
|
+
* @param {String} conversationId conversationId
|
|
15715
|
+
* @param {Object} body SetRecordingState
|
|
15716
|
+
*/
|
|
15717
|
+
putConversationsCallbackRecordingstate(conversationId, body) {
|
|
15718
|
+
// verify the required parameter 'conversationId' is set
|
|
15719
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15720
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';
|
|
15721
|
+
}
|
|
15722
|
+
// verify the required parameter 'body' is set
|
|
15723
|
+
if (body === undefined || body === null) {
|
|
15724
|
+
throw 'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';
|
|
15725
|
+
}
|
|
15726
|
+
|
|
15727
|
+
return this.apiClient.callApi(
|
|
15728
|
+
'/api/v2/conversations/callbacks/{conversationId}/recordingstate',
|
|
15729
|
+
'PUT',
|
|
15730
|
+
{ 'conversationId': conversationId },
|
|
15731
|
+
{ },
|
|
15732
|
+
{ },
|
|
15733
|
+
{ },
|
|
15734
|
+
body,
|
|
15735
|
+
['PureCloud OAuth'],
|
|
15736
|
+
['application/json'],
|
|
15737
|
+
['application/json']
|
|
15738
|
+
);
|
|
15739
|
+
}
|
|
15740
|
+
|
|
15741
|
+
/**
|
|
15742
|
+
* Update a conversation by setting its recording state
|
|
15743
|
+
*
|
|
15744
|
+
* @param {String} conversationId conversationId
|
|
15745
|
+
* @param {Object} body SetRecordingState
|
|
15746
|
+
*/
|
|
15747
|
+
putConversationsChatRecordingstate(conversationId, body) {
|
|
15748
|
+
// verify the required parameter 'conversationId' is set
|
|
15749
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15750
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';
|
|
15751
|
+
}
|
|
15752
|
+
// verify the required parameter 'body' is set
|
|
15753
|
+
if (body === undefined || body === null) {
|
|
15754
|
+
throw 'Missing the required parameter "body" when calling putConversationsChatRecordingstate';
|
|
15755
|
+
}
|
|
15756
|
+
|
|
15757
|
+
return this.apiClient.callApi(
|
|
15758
|
+
'/api/v2/conversations/chats/{conversationId}/recordingstate',
|
|
15759
|
+
'PUT',
|
|
15760
|
+
{ 'conversationId': conversationId },
|
|
15761
|
+
{ },
|
|
15762
|
+
{ },
|
|
15763
|
+
{ },
|
|
15764
|
+
body,
|
|
15765
|
+
['PureCloud OAuth'],
|
|
15766
|
+
['application/json'],
|
|
15767
|
+
['application/json']
|
|
15768
|
+
);
|
|
15769
|
+
}
|
|
15770
|
+
|
|
15771
|
+
/**
|
|
15772
|
+
* Update a conversation by setting its recording state
|
|
15773
|
+
*
|
|
15774
|
+
* @param {String} conversationId conversationId
|
|
15775
|
+
* @param {Object} body SetRecordingState
|
|
15776
|
+
*/
|
|
15777
|
+
putConversationsCobrowsesessionRecordingstate(conversationId, body) {
|
|
15778
|
+
// verify the required parameter 'conversationId' is set
|
|
15779
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15780
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';
|
|
15781
|
+
}
|
|
15782
|
+
// verify the required parameter 'body' is set
|
|
15783
|
+
if (body === undefined || body === null) {
|
|
15784
|
+
throw 'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';
|
|
15785
|
+
}
|
|
15786
|
+
|
|
15787
|
+
return this.apiClient.callApi(
|
|
15788
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate',
|
|
15789
|
+
'PUT',
|
|
15790
|
+
{ 'conversationId': conversationId },
|
|
15791
|
+
{ },
|
|
15792
|
+
{ },
|
|
15793
|
+
{ },
|
|
15794
|
+
body,
|
|
15795
|
+
['PureCloud OAuth'],
|
|
15796
|
+
['application/json'],
|
|
15797
|
+
['application/json']
|
|
15798
|
+
);
|
|
15799
|
+
}
|
|
15800
|
+
|
|
15678
15801
|
/**
|
|
15679
15802
|
* Update conversation draft reply
|
|
15680
15803
|
*
|
|
@@ -15705,6 +15828,66 @@ class ConversationsApi {
|
|
|
15705
15828
|
);
|
|
15706
15829
|
}
|
|
15707
15830
|
|
|
15831
|
+
/**
|
|
15832
|
+
* Update a conversation by setting its recording state
|
|
15833
|
+
*
|
|
15834
|
+
* @param {String} conversationId conversationId
|
|
15835
|
+
* @param {Object} body SetRecordingState
|
|
15836
|
+
*/
|
|
15837
|
+
putConversationsEmailRecordingstate(conversationId, body) {
|
|
15838
|
+
// verify the required parameter 'conversationId' is set
|
|
15839
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15840
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';
|
|
15841
|
+
}
|
|
15842
|
+
// verify the required parameter 'body' is set
|
|
15843
|
+
if (body === undefined || body === null) {
|
|
15844
|
+
throw 'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';
|
|
15845
|
+
}
|
|
15846
|
+
|
|
15847
|
+
return this.apiClient.callApi(
|
|
15848
|
+
'/api/v2/conversations/emails/{conversationId}/recordingstate',
|
|
15849
|
+
'PUT',
|
|
15850
|
+
{ 'conversationId': conversationId },
|
|
15851
|
+
{ },
|
|
15852
|
+
{ },
|
|
15853
|
+
{ },
|
|
15854
|
+
body,
|
|
15855
|
+
['PureCloud OAuth'],
|
|
15856
|
+
['application/json'],
|
|
15857
|
+
['application/json']
|
|
15858
|
+
);
|
|
15859
|
+
}
|
|
15860
|
+
|
|
15861
|
+
/**
|
|
15862
|
+
* Update a conversation by setting its recording state
|
|
15863
|
+
*
|
|
15864
|
+
* @param {String} conversationId conversationId
|
|
15865
|
+
* @param {Object} body SetRecordingState
|
|
15866
|
+
*/
|
|
15867
|
+
putConversationsMessageRecordingstate(conversationId, body) {
|
|
15868
|
+
// verify the required parameter 'conversationId' is set
|
|
15869
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15870
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';
|
|
15871
|
+
}
|
|
15872
|
+
// verify the required parameter 'body' is set
|
|
15873
|
+
if (body === undefined || body === null) {
|
|
15874
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';
|
|
15875
|
+
}
|
|
15876
|
+
|
|
15877
|
+
return this.apiClient.callApi(
|
|
15878
|
+
'/api/v2/conversations/messages/{conversationId}/recordingstate',
|
|
15879
|
+
'PUT',
|
|
15880
|
+
{ 'conversationId': conversationId },
|
|
15881
|
+
{ },
|
|
15882
|
+
{ },
|
|
15883
|
+
{ },
|
|
15884
|
+
body,
|
|
15885
|
+
['PureCloud OAuth'],
|
|
15886
|
+
['application/json'],
|
|
15887
|
+
['application/json']
|
|
15888
|
+
);
|
|
15889
|
+
}
|
|
15890
|
+
|
|
15708
15891
|
/**
|
|
15709
15892
|
* Update a LINE messenger integration
|
|
15710
15893
|
*
|
|
@@ -15785,13 +15968,103 @@ class ConversationsApi {
|
|
|
15785
15968
|
);
|
|
15786
15969
|
}
|
|
15787
15970
|
|
|
15971
|
+
/**
|
|
15972
|
+
* Update a conversation by setting its recording state
|
|
15973
|
+
*
|
|
15974
|
+
* @param {String} conversationId conversationId
|
|
15975
|
+
* @param {Object} body SetRecordingState
|
|
15976
|
+
*/
|
|
15977
|
+
putConversationsScreenshareRecordingstate(conversationId, body) {
|
|
15978
|
+
// verify the required parameter 'conversationId' is set
|
|
15979
|
+
if (conversationId === undefined || conversationId === null) {
|
|
15980
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';
|
|
15981
|
+
}
|
|
15982
|
+
// verify the required parameter 'body' is set
|
|
15983
|
+
if (body === undefined || body === null) {
|
|
15984
|
+
throw 'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';
|
|
15985
|
+
}
|
|
15986
|
+
|
|
15987
|
+
return this.apiClient.callApi(
|
|
15988
|
+
'/api/v2/conversations/screenshares/{conversationId}/recordingstate',
|
|
15989
|
+
'PUT',
|
|
15990
|
+
{ 'conversationId': conversationId },
|
|
15991
|
+
{ },
|
|
15992
|
+
{ },
|
|
15993
|
+
{ },
|
|
15994
|
+
body,
|
|
15995
|
+
['PureCloud OAuth'],
|
|
15996
|
+
['application/json'],
|
|
15997
|
+
['application/json']
|
|
15998
|
+
);
|
|
15999
|
+
}
|
|
16000
|
+
|
|
16001
|
+
/**
|
|
16002
|
+
* Update a conversation by setting its recording state
|
|
16003
|
+
*
|
|
16004
|
+
* @param {String} conversationId conversationId
|
|
16005
|
+
* @param {Object} body SetRecordingState
|
|
16006
|
+
*/
|
|
16007
|
+
putConversationsSocialRecordingstate(conversationId, body) {
|
|
16008
|
+
// verify the required parameter 'conversationId' is set
|
|
16009
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16010
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';
|
|
16011
|
+
}
|
|
16012
|
+
// verify the required parameter 'body' is set
|
|
16013
|
+
if (body === undefined || body === null) {
|
|
16014
|
+
throw 'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';
|
|
16015
|
+
}
|
|
16016
|
+
|
|
16017
|
+
return this.apiClient.callApi(
|
|
16018
|
+
'/api/v2/conversations/socials/{conversationId}/recordingstate',
|
|
16019
|
+
'PUT',
|
|
16020
|
+
{ 'conversationId': conversationId },
|
|
16021
|
+
{ },
|
|
16022
|
+
{ },
|
|
16023
|
+
{ },
|
|
16024
|
+
body,
|
|
16025
|
+
['PureCloud OAuth'],
|
|
16026
|
+
['application/json'],
|
|
16027
|
+
['application/json']
|
|
16028
|
+
);
|
|
16029
|
+
}
|
|
16030
|
+
|
|
16031
|
+
/**
|
|
16032
|
+
* Update a conversation by setting its recording state
|
|
16033
|
+
*
|
|
16034
|
+
* @param {String} conversationId conversationId
|
|
16035
|
+
* @param {Object} body SetRecordingState
|
|
16036
|
+
*/
|
|
16037
|
+
putConversationsVideoRecordingstate(conversationId, body) {
|
|
16038
|
+
// verify the required parameter 'conversationId' is set
|
|
16039
|
+
if (conversationId === undefined || conversationId === null) {
|
|
16040
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';
|
|
16041
|
+
}
|
|
16042
|
+
// verify the required parameter 'body' is set
|
|
16043
|
+
if (body === undefined || body === null) {
|
|
16044
|
+
throw 'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';
|
|
16045
|
+
}
|
|
16046
|
+
|
|
16047
|
+
return this.apiClient.callApi(
|
|
16048
|
+
'/api/v2/conversations/videos/{conversationId}/recordingstate',
|
|
16049
|
+
'PUT',
|
|
16050
|
+
{ 'conversationId': conversationId },
|
|
16051
|
+
{ },
|
|
16052
|
+
{ },
|
|
16053
|
+
{ },
|
|
16054
|
+
body,
|
|
16055
|
+
['PureCloud OAuth'],
|
|
16056
|
+
['application/json'],
|
|
16057
|
+
['application/json']
|
|
16058
|
+
);
|
|
16059
|
+
}
|
|
16060
|
+
|
|
15788
16061
|
}
|
|
15789
16062
|
|
|
15790
16063
|
class DataExtensionsApi {
|
|
15791
16064
|
/**
|
|
15792
16065
|
* DataExtensions service.
|
|
15793
16066
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15794
|
-
* @version
|
|
16067
|
+
* @version 139.0.0
|
|
15795
16068
|
*/
|
|
15796
16069
|
|
|
15797
16070
|
/**
|
|
@@ -15877,7 +16150,7 @@ class ExternalContactsApi {
|
|
|
15877
16150
|
/**
|
|
15878
16151
|
* ExternalContacts service.
|
|
15879
16152
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15880
|
-
* @version
|
|
16153
|
+
* @version 139.0.0
|
|
15881
16154
|
*/
|
|
15882
16155
|
|
|
15883
16156
|
/**
|
|
@@ -17620,7 +17893,7 @@ class FaxApi {
|
|
|
17620
17893
|
/**
|
|
17621
17894
|
* Fax service.
|
|
17622
17895
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17623
|
-
* @version
|
|
17896
|
+
* @version 139.0.0
|
|
17624
17897
|
*/
|
|
17625
17898
|
|
|
17626
17899
|
/**
|
|
@@ -17791,7 +18064,7 @@ class FlowsApi {
|
|
|
17791
18064
|
/**
|
|
17792
18065
|
* Flows service.
|
|
17793
18066
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17794
|
-
* @version
|
|
18067
|
+
* @version 139.0.0
|
|
17795
18068
|
*/
|
|
17796
18069
|
|
|
17797
18070
|
/**
|
|
@@ -17862,7 +18135,7 @@ class GamificationApi {
|
|
|
17862
18135
|
/**
|
|
17863
18136
|
* Gamification service.
|
|
17864
18137
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17865
|
-
* @version
|
|
18138
|
+
* @version 139.0.0
|
|
17866
18139
|
*/
|
|
17867
18140
|
|
|
17868
18141
|
/**
|
|
@@ -18133,18 +18406,18 @@ class GamificationApi {
|
|
|
18133
18406
|
/**
|
|
18134
18407
|
* Members of a given performance profile
|
|
18135
18408
|
*
|
|
18136
|
-
* @param {String}
|
|
18409
|
+
* @param {String} profileId Profile Id
|
|
18137
18410
|
*/
|
|
18138
|
-
getGamificationProfileMembers(
|
|
18139
|
-
// verify the required parameter '
|
|
18140
|
-
if (
|
|
18141
|
-
throw 'Missing the required parameter "
|
|
18411
|
+
getGamificationProfileMembers(profileId) {
|
|
18412
|
+
// verify the required parameter 'profileId' is set
|
|
18413
|
+
if (profileId === undefined || profileId === null) {
|
|
18414
|
+
throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
|
|
18142
18415
|
}
|
|
18143
18416
|
|
|
18144
18417
|
return this.apiClient.callApi(
|
|
18145
|
-
'/api/v2/gamification/profiles/{
|
|
18418
|
+
'/api/v2/gamification/profiles/{profileId}/members',
|
|
18146
18419
|
'GET',
|
|
18147
|
-
{ '
|
|
18420
|
+
{ 'profileId': profileId },
|
|
18148
18421
|
{ },
|
|
18149
18422
|
{ },
|
|
18150
18423
|
{ },
|
|
@@ -18196,6 +18469,7 @@ class GamificationApi {
|
|
|
18196
18469
|
* @param {Object} opts Optional parameters
|
|
18197
18470
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
18198
18471
|
* @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
|
|
18472
|
+
* @param {String} opts.metricIds List of metric ids to filter the response (Optional, comma-separated).
|
|
18199
18473
|
*/
|
|
18200
18474
|
getGamificationProfileMetrics(profileId, opts) {
|
|
18201
18475
|
opts = opts || {};
|
|
@@ -18209,7 +18483,7 @@ class GamificationApi {
|
|
|
18209
18483
|
'/api/v2/gamification/profiles/{profileId}/metrics',
|
|
18210
18484
|
'GET',
|
|
18211
18485
|
{ 'profileId': profileId },
|
|
18212
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
|
|
18486
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'],'metricIds': opts['metricIds'] },
|
|
18213
18487
|
{ },
|
|
18214
18488
|
{ },
|
|
18215
18489
|
null,
|
|
@@ -19012,13 +19286,13 @@ class GamificationApi {
|
|
|
19012
19286
|
/**
|
|
19013
19287
|
* Assign members to a given performance profile
|
|
19014
19288
|
*
|
|
19015
|
-
* @param {String}
|
|
19289
|
+
* @param {String} profileId Profile Id
|
|
19016
19290
|
* @param {Object} body assignUsers
|
|
19017
19291
|
*/
|
|
19018
|
-
postGamificationProfileMembers(
|
|
19019
|
-
// verify the required parameter '
|
|
19020
|
-
if (
|
|
19021
|
-
throw 'Missing the required parameter "
|
|
19292
|
+
postGamificationProfileMembers(profileId, body) {
|
|
19293
|
+
// verify the required parameter 'profileId' is set
|
|
19294
|
+
if (profileId === undefined || profileId === null) {
|
|
19295
|
+
throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
|
|
19022
19296
|
}
|
|
19023
19297
|
// verify the required parameter 'body' is set
|
|
19024
19298
|
if (body === undefined || body === null) {
|
|
@@ -19026,9 +19300,9 @@ class GamificationApi {
|
|
|
19026
19300
|
}
|
|
19027
19301
|
|
|
19028
19302
|
return this.apiClient.callApi(
|
|
19029
|
-
'/api/v2/gamification/profiles/{
|
|
19303
|
+
'/api/v2/gamification/profiles/{profileId}/members',
|
|
19030
19304
|
'POST',
|
|
19031
|
-
{ '
|
|
19305
|
+
{ 'profileId': profileId },
|
|
19032
19306
|
{ },
|
|
19033
19307
|
{ },
|
|
19034
19308
|
{ },
|
|
@@ -19042,13 +19316,13 @@ class GamificationApi {
|
|
|
19042
19316
|
/**
|
|
19043
19317
|
* Validate member assignment
|
|
19044
19318
|
*
|
|
19045
|
-
* @param {String}
|
|
19319
|
+
* @param {String} profileId Profile Id
|
|
19046
19320
|
* @param {Object} body memberAssignments
|
|
19047
19321
|
*/
|
|
19048
|
-
postGamificationProfileMembersValidate(
|
|
19049
|
-
// verify the required parameter '
|
|
19050
|
-
if (
|
|
19051
|
-
throw 'Missing the required parameter "
|
|
19322
|
+
postGamificationProfileMembersValidate(profileId, body) {
|
|
19323
|
+
// verify the required parameter 'profileId' is set
|
|
19324
|
+
if (profileId === undefined || profileId === null) {
|
|
19325
|
+
throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
|
|
19052
19326
|
}
|
|
19053
19327
|
// verify the required parameter 'body' is set
|
|
19054
19328
|
if (body === undefined || body === null) {
|
|
@@ -19056,9 +19330,9 @@ class GamificationApi {
|
|
|
19056
19330
|
}
|
|
19057
19331
|
|
|
19058
19332
|
return this.apiClient.callApi(
|
|
19059
|
-
'/api/v2/gamification/profiles/{
|
|
19333
|
+
'/api/v2/gamification/profiles/{profileId}/members/validate',
|
|
19060
19334
|
'POST',
|
|
19061
|
-
{ '
|
|
19335
|
+
{ 'profileId': profileId },
|
|
19062
19336
|
{ },
|
|
19063
19337
|
{ },
|
|
19064
19338
|
{ },
|
|
@@ -19292,7 +19566,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19292
19566
|
/**
|
|
19293
19567
|
* GeneralDataProtectionRegulation service.
|
|
19294
19568
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19295
|
-
* @version
|
|
19569
|
+
* @version 139.0.0
|
|
19296
19570
|
*/
|
|
19297
19571
|
|
|
19298
19572
|
/**
|
|
@@ -19422,7 +19696,7 @@ class GeolocationApi {
|
|
|
19422
19696
|
/**
|
|
19423
19697
|
* Geolocation service.
|
|
19424
19698
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19425
|
-
* @version
|
|
19699
|
+
* @version 139.0.0
|
|
19426
19700
|
*/
|
|
19427
19701
|
|
|
19428
19702
|
/**
|
|
@@ -19553,7 +19827,7 @@ class GreetingsApi {
|
|
|
19553
19827
|
/**
|
|
19554
19828
|
* Greetings service.
|
|
19555
19829
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19556
|
-
* @version
|
|
19830
|
+
* @version 139.0.0
|
|
19557
19831
|
*/
|
|
19558
19832
|
|
|
19559
19833
|
/**
|
|
@@ -20008,7 +20282,7 @@ class GroupsApi {
|
|
|
20008
20282
|
/**
|
|
20009
20283
|
* Groups service.
|
|
20010
20284
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20011
|
-
* @version
|
|
20285
|
+
* @version 139.0.0
|
|
20012
20286
|
*/
|
|
20013
20287
|
|
|
20014
20288
|
/**
|
|
@@ -20413,7 +20687,7 @@ class IdentityProviderApi {
|
|
|
20413
20687
|
/**
|
|
20414
20688
|
* IdentityProvider service.
|
|
20415
20689
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20416
|
-
* @version
|
|
20690
|
+
* @version 139.0.0
|
|
20417
20691
|
*/
|
|
20418
20692
|
|
|
20419
20693
|
/**
|
|
@@ -21169,7 +21443,7 @@ class IntegrationsApi {
|
|
|
21169
21443
|
/**
|
|
21170
21444
|
* Integrations service.
|
|
21171
21445
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21172
|
-
* @version
|
|
21446
|
+
* @version 139.0.0
|
|
21173
21447
|
*/
|
|
21174
21448
|
|
|
21175
21449
|
/**
|
|
@@ -22846,7 +23120,7 @@ class JourneyApi {
|
|
|
22846
23120
|
/**
|
|
22847
23121
|
* Journey service.
|
|
22848
23122
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22849
|
-
* @version
|
|
23123
|
+
* @version 139.0.0
|
|
22850
23124
|
*/
|
|
22851
23125
|
|
|
22852
23126
|
/**
|
|
@@ -23557,7 +23831,7 @@ class KnowledgeApi {
|
|
|
23557
23831
|
/**
|
|
23558
23832
|
* Knowledge service.
|
|
23559
23833
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23560
|
-
* @version
|
|
23834
|
+
* @version 139.0.0
|
|
23561
23835
|
*/
|
|
23562
23836
|
|
|
23563
23837
|
/**
|
|
@@ -23735,7 +24009,7 @@ class KnowledgeApi {
|
|
|
23735
24009
|
* @param {Object} opts Optional parameters
|
|
23736
24010
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
23737
24011
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23738
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
24012
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
23739
24013
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23740
24014
|
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
23741
24015
|
*/
|
|
@@ -23843,7 +24117,7 @@ class KnowledgeApi {
|
|
|
23843
24117
|
* @param {Object} opts Optional parameters
|
|
23844
24118
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
23845
24119
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23846
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
24120
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
23847
24121
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23848
24122
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
23849
24123
|
* @param {String} opts.title Filter by document title.
|
|
@@ -23955,7 +24229,7 @@ class KnowledgeApi {
|
|
|
23955
24229
|
* @param {Object} opts Optional parameters
|
|
23956
24230
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
23957
24231
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23958
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
24232
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
23959
24233
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23960
24234
|
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
23961
24235
|
*/
|
|
@@ -23991,7 +24265,7 @@ class KnowledgeApi {
|
|
|
23991
24265
|
* @param {Object} opts Optional parameters
|
|
23992
24266
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
23993
24267
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23994
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
24268
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
23995
24269
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23996
24270
|
* @param {String} opts.name Filter by Name.
|
|
23997
24271
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
@@ -24457,7 +24731,7 @@ class LanguageUnderstandingApi {
|
|
|
24457
24731
|
/**
|
|
24458
24732
|
* LanguageUnderstanding service.
|
|
24459
24733
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24460
|
-
* @version
|
|
24734
|
+
* @version 139.0.0
|
|
24461
24735
|
*/
|
|
24462
24736
|
|
|
24463
24737
|
/**
|
|
@@ -25361,7 +25635,7 @@ class LanguagesApi {
|
|
|
25361
25635
|
/**
|
|
25362
25636
|
* Languages service.
|
|
25363
25637
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25364
|
-
* @version
|
|
25638
|
+
* @version 139.0.0
|
|
25365
25639
|
*/
|
|
25366
25640
|
|
|
25367
25641
|
/**
|
|
@@ -25629,7 +25903,7 @@ class LearningApi {
|
|
|
25629
25903
|
/**
|
|
25630
25904
|
* Learning service.
|
|
25631
25905
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
25632
|
-
* @version
|
|
25906
|
+
* @version 139.0.0
|
|
25633
25907
|
*/
|
|
25634
25908
|
|
|
25635
25909
|
/**
|
|
@@ -26220,7 +26494,7 @@ class LicenseApi {
|
|
|
26220
26494
|
/**
|
|
26221
26495
|
* License service.
|
|
26222
26496
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26223
|
-
* @version
|
|
26497
|
+
* @version 139.0.0
|
|
26224
26498
|
*/
|
|
26225
26499
|
|
|
26226
26500
|
/**
|
|
@@ -26458,7 +26732,7 @@ class LocationsApi {
|
|
|
26458
26732
|
/**
|
|
26459
26733
|
* Locations service.
|
|
26460
26734
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
26461
|
-
* @version
|
|
26735
|
+
* @version 139.0.0
|
|
26462
26736
|
*/
|
|
26463
26737
|
|
|
26464
26738
|
/**
|
|
@@ -26694,7 +26968,7 @@ class MessagingApi {
|
|
|
26694
26968
|
/**
|
|
26695
26969
|
* Messaging service.
|
|
26696
26970
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
26697
|
-
* @version
|
|
26971
|
+
* @version 139.0.0
|
|
26698
26972
|
*/
|
|
26699
26973
|
|
|
26700
26974
|
/**
|
|
@@ -26845,7 +27119,7 @@ class MobileDevicesApi {
|
|
|
26845
27119
|
/**
|
|
26846
27120
|
* MobileDevices service.
|
|
26847
27121
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
26848
|
-
* @version
|
|
27122
|
+
* @version 139.0.0
|
|
26849
27123
|
*/
|
|
26850
27124
|
|
|
26851
27125
|
/**
|
|
@@ -26996,7 +27270,7 @@ class NotificationsApi {
|
|
|
26996
27270
|
/**
|
|
26997
27271
|
* Notifications service.
|
|
26998
27272
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
26999
|
-
* @version
|
|
27273
|
+
* @version 139.0.0
|
|
27000
27274
|
*/
|
|
27001
27275
|
|
|
27002
27276
|
/**
|
|
@@ -27221,7 +27495,7 @@ class OAuthApi {
|
|
|
27221
27495
|
/**
|
|
27222
27496
|
* OAuth service.
|
|
27223
27497
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27224
|
-
* @version
|
|
27498
|
+
* @version 139.0.0
|
|
27225
27499
|
*/
|
|
27226
27500
|
|
|
27227
27501
|
/**
|
|
@@ -27587,7 +27861,7 @@ class ObjectsApi {
|
|
|
27587
27861
|
/**
|
|
27588
27862
|
* Objects service.
|
|
27589
27863
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
27590
|
-
* @version
|
|
27864
|
+
* @version 139.0.0
|
|
27591
27865
|
*/
|
|
27592
27866
|
|
|
27593
27867
|
/**
|
|
@@ -27858,7 +28132,7 @@ class OrganizationApi {
|
|
|
27858
28132
|
/**
|
|
27859
28133
|
* Organization service.
|
|
27860
28134
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
27861
|
-
* @version
|
|
28135
|
+
* @version 139.0.0
|
|
27862
28136
|
*/
|
|
27863
28137
|
|
|
27864
28138
|
/**
|
|
@@ -28261,7 +28535,7 @@ class OrganizationAuthorizationApi {
|
|
|
28261
28535
|
/**
|
|
28262
28536
|
* OrganizationAuthorization service.
|
|
28263
28537
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28264
|
-
* @version
|
|
28538
|
+
* @version 139.0.0
|
|
28265
28539
|
*/
|
|
28266
28540
|
|
|
28267
28541
|
/**
|
|
@@ -29186,7 +29460,7 @@ class OutboundApi {
|
|
|
29186
29460
|
/**
|
|
29187
29461
|
* Outbound service.
|
|
29188
29462
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29189
|
-
* @version
|
|
29463
|
+
* @version 139.0.0
|
|
29190
29464
|
*/
|
|
29191
29465
|
|
|
29192
29466
|
/**
|
|
@@ -32441,7 +32715,7 @@ class PresenceApi {
|
|
|
32441
32715
|
/**
|
|
32442
32716
|
* Presence service.
|
|
32443
32717
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
32444
|
-
* @version
|
|
32718
|
+
* @version 139.0.0
|
|
32445
32719
|
*/
|
|
32446
32720
|
|
|
32447
32721
|
/**
|
|
@@ -32763,7 +33037,7 @@ class QualityApi {
|
|
|
32763
33037
|
/**
|
|
32764
33038
|
* Quality service.
|
|
32765
33039
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
32766
|
-
* @version
|
|
33040
|
+
* @version 139.0.0
|
|
32767
33041
|
*/
|
|
32768
33042
|
|
|
32769
33043
|
/**
|
|
@@ -34341,7 +34615,7 @@ class RecordingApi {
|
|
|
34341
34615
|
/**
|
|
34342
34616
|
* Recording service.
|
|
34343
34617
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
34344
|
-
* @version
|
|
34618
|
+
* @version 139.0.0
|
|
34345
34619
|
*/
|
|
34346
34620
|
|
|
34347
34621
|
/**
|
|
@@ -35994,7 +36268,7 @@ class ResponseManagementApi {
|
|
|
35994
36268
|
/**
|
|
35995
36269
|
* ResponseManagement service.
|
|
35996
36270
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
35997
|
-
* @version
|
|
36271
|
+
* @version 139.0.0
|
|
35998
36272
|
*/
|
|
35999
36273
|
|
|
36000
36274
|
/**
|
|
@@ -36478,7 +36752,7 @@ class RoutingApi {
|
|
|
36478
36752
|
/**
|
|
36479
36753
|
* Routing service.
|
|
36480
36754
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
36481
|
-
* @version
|
|
36755
|
+
* @version 139.0.0
|
|
36482
36756
|
*/
|
|
36483
36757
|
|
|
36484
36758
|
/**
|
|
@@ -36791,12 +37065,8 @@ class RoutingApi {
|
|
|
36791
37065
|
* Delete a phone number provisioned for SMS.
|
|
36792
37066
|
*
|
|
36793
37067
|
* @param {String} addressId Address ID
|
|
36794
|
-
* @param {Object} opts Optional parameters
|
|
36795
|
-
* @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)
|
|
36796
37068
|
*/
|
|
36797
|
-
deleteRoutingSmsPhonenumber(addressId
|
|
36798
|
-
opts = opts || {};
|
|
36799
|
-
|
|
37069
|
+
deleteRoutingSmsPhonenumber(addressId) {
|
|
36800
37070
|
// verify the required parameter 'addressId' is set
|
|
36801
37071
|
if (addressId === undefined || addressId === null) {
|
|
36802
37072
|
throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';
|
|
@@ -36806,7 +37076,7 @@ class RoutingApi {
|
|
|
36806
37076
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
36807
37077
|
'DELETE',
|
|
36808
37078
|
{ 'addressId': addressId },
|
|
36809
|
-
{
|
|
37079
|
+
{ },
|
|
36810
37080
|
{ },
|
|
36811
37081
|
{ },
|
|
36812
37082
|
null,
|
|
@@ -36977,7 +37247,7 @@ class RoutingApi {
|
|
|
36977
37247
|
* @param {Object} opts Optional parameters
|
|
36978
37248
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
36979
37249
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
36980
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
37250
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
36981
37251
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
36982
37252
|
* @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
|
|
36983
37253
|
*/
|
|
@@ -37288,7 +37558,7 @@ class RoutingApi {
|
|
|
37288
37558
|
* @param {Object} opts Optional parameters
|
|
37289
37559
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
37290
37560
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
37291
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
37561
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
37292
37562
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
37293
37563
|
* @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
|
|
37294
37564
|
*/
|
|
@@ -38960,12 +39230,8 @@ class RoutingApi {
|
|
|
38960
39230
|
* Provision a phone number for SMS
|
|
38961
39231
|
*
|
|
38962
39232
|
* @param {Object} body SmsPhoneNumber
|
|
38963
|
-
* @param {Object} opts Optional parameters
|
|
38964
|
-
* @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)
|
|
38965
39233
|
*/
|
|
38966
|
-
postRoutingSmsPhonenumbers(body
|
|
38967
|
-
opts = opts || {};
|
|
38968
|
-
|
|
39234
|
+
postRoutingSmsPhonenumbers(body) {
|
|
38969
39235
|
// verify the required parameter 'body' is set
|
|
38970
39236
|
if (body === undefined || body === null) {
|
|
38971
39237
|
throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
|
|
@@ -38975,7 +39241,7 @@ class RoutingApi {
|
|
|
38975
39241
|
'/api/v2/routing/sms/phonenumbers',
|
|
38976
39242
|
'POST',
|
|
38977
39243
|
{ },
|
|
38978
|
-
{
|
|
39244
|
+
{ },
|
|
38979
39245
|
{ },
|
|
38980
39246
|
{ },
|
|
38981
39247
|
body,
|
|
@@ -39220,12 +39486,8 @@ class RoutingApi {
|
|
|
39220
39486
|
*
|
|
39221
39487
|
* @param {String} addressId Address ID
|
|
39222
39488
|
* @param {Object} body SmsPhoneNumber
|
|
39223
|
-
* @param {Object} opts Optional parameters
|
|
39224
|
-
* @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)
|
|
39225
39489
|
*/
|
|
39226
|
-
putRoutingSmsPhonenumber(addressId, body
|
|
39227
|
-
opts = opts || {};
|
|
39228
|
-
|
|
39490
|
+
putRoutingSmsPhonenumber(addressId, body) {
|
|
39229
39491
|
// verify the required parameter 'addressId' is set
|
|
39230
39492
|
if (addressId === undefined || addressId === null) {
|
|
39231
39493
|
throw 'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';
|
|
@@ -39239,7 +39501,7 @@ class RoutingApi {
|
|
|
39239
39501
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
39240
39502
|
'PUT',
|
|
39241
39503
|
{ 'addressId': addressId },
|
|
39242
|
-
{
|
|
39504
|
+
{ },
|
|
39243
39505
|
{ },
|
|
39244
39506
|
{ },
|
|
39245
39507
|
body,
|
|
@@ -39405,7 +39667,7 @@ class SCIMApi {
|
|
|
39405
39667
|
/**
|
|
39406
39668
|
* SCIM service.
|
|
39407
39669
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
39408
|
-
* @version
|
|
39670
|
+
* @version 139.0.0
|
|
39409
39671
|
*/
|
|
39410
39672
|
|
|
39411
39673
|
/**
|
|
@@ -40282,7 +40544,7 @@ class ScriptsApi {
|
|
|
40282
40544
|
/**
|
|
40283
40545
|
* Scripts service.
|
|
40284
40546
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
40285
|
-
* @version
|
|
40547
|
+
* @version 139.0.0
|
|
40286
40548
|
*/
|
|
40287
40549
|
|
|
40288
40550
|
/**
|
|
@@ -40610,9 +40872,9 @@ class ScriptsApi {
|
|
|
40610
40872
|
*
|
|
40611
40873
|
* @param {String} scriptId Script ID
|
|
40612
40874
|
* @param {Object} opts Optional parameters
|
|
40613
|
-
* @param {
|
|
40614
|
-
* @param {
|
|
40615
|
-
* @param {
|
|
40875
|
+
* @param {Object} opts.input input
|
|
40876
|
+
* @param {Object} opts.output output
|
|
40877
|
+
* @param {Object} opts.type type
|
|
40616
40878
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
40617
40879
|
*/
|
|
40618
40880
|
getScriptsPublishedScriptIdVariables(scriptId, opts) {
|
|
@@ -40701,7 +40963,7 @@ class SearchApi {
|
|
|
40701
40963
|
/**
|
|
40702
40964
|
* Search service.
|
|
40703
40965
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
40704
|
-
* @version
|
|
40966
|
+
* @version 139.0.0
|
|
40705
40967
|
*/
|
|
40706
40968
|
|
|
40707
40969
|
/**
|
|
@@ -41236,7 +41498,7 @@ class SpeechTextAnalyticsApi {
|
|
|
41236
41498
|
/**
|
|
41237
41499
|
* SpeechTextAnalytics service.
|
|
41238
41500
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
41239
|
-
* @version
|
|
41501
|
+
* @version 139.0.0
|
|
41240
41502
|
*/
|
|
41241
41503
|
|
|
41242
41504
|
/**
|
|
@@ -42089,7 +42351,7 @@ class StationsApi {
|
|
|
42089
42351
|
/**
|
|
42090
42352
|
* Stations service.
|
|
42091
42353
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42092
|
-
* @version
|
|
42354
|
+
* @version 139.0.0
|
|
42093
42355
|
*/
|
|
42094
42356
|
|
|
42095
42357
|
/**
|
|
@@ -42236,7 +42498,7 @@ class SuggestApi {
|
|
|
42236
42498
|
/**
|
|
42237
42499
|
* Suggest service.
|
|
42238
42500
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
42239
|
-
* @version
|
|
42501
|
+
* @version 139.0.0
|
|
42240
42502
|
*/
|
|
42241
42503
|
|
|
42242
42504
|
/**
|
|
@@ -42375,7 +42637,7 @@ class TelephonyApi {
|
|
|
42375
42637
|
/**
|
|
42376
42638
|
* Telephony service.
|
|
42377
42639
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
42378
|
-
* @version
|
|
42640
|
+
* @version 139.0.0
|
|
42379
42641
|
*/
|
|
42380
42642
|
|
|
42381
42643
|
/**
|
|
@@ -42483,7 +42745,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
42483
42745
|
/**
|
|
42484
42746
|
* TelephonyProvidersEdge service.
|
|
42485
42747
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
42486
|
-
* @version
|
|
42748
|
+
* @version 139.0.0
|
|
42487
42749
|
*/
|
|
42488
42750
|
|
|
42489
42751
|
/**
|
|
@@ -46116,7 +46378,7 @@ class TextbotsApi {
|
|
|
46116
46378
|
/**
|
|
46117
46379
|
* Textbots service.
|
|
46118
46380
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
46119
|
-
* @version
|
|
46381
|
+
* @version 139.0.0
|
|
46120
46382
|
*/
|
|
46121
46383
|
|
|
46122
46384
|
/**
|
|
@@ -46244,7 +46506,7 @@ class TokensApi {
|
|
|
46244
46506
|
/**
|
|
46245
46507
|
* Tokens service.
|
|
46246
46508
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
46247
|
-
* @version
|
|
46509
|
+
* @version 139.0.0
|
|
46248
46510
|
*/
|
|
46249
46511
|
|
|
46250
46512
|
/**
|
|
@@ -46350,7 +46612,7 @@ class UploadsApi {
|
|
|
46350
46612
|
/**
|
|
46351
46613
|
* Uploads service.
|
|
46352
46614
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
46353
|
-
* @version
|
|
46615
|
+
* @version 139.0.0
|
|
46354
46616
|
*/
|
|
46355
46617
|
|
|
46356
46618
|
/**
|
|
@@ -46501,7 +46763,7 @@ class UsageApi {
|
|
|
46501
46763
|
/**
|
|
46502
46764
|
* Usage service.
|
|
46503
46765
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
46504
|
-
* @version
|
|
46766
|
+
* @version 139.0.0
|
|
46505
46767
|
*/
|
|
46506
46768
|
|
|
46507
46769
|
/**
|
|
@@ -46572,7 +46834,7 @@ class UserRecordingsApi {
|
|
|
46572
46834
|
/**
|
|
46573
46835
|
* UserRecordings service.
|
|
46574
46836
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
46575
|
-
* @version
|
|
46837
|
+
* @version 139.0.0
|
|
46576
46838
|
*/
|
|
46577
46839
|
|
|
46578
46840
|
/**
|
|
@@ -46756,7 +47018,7 @@ class UsersApi {
|
|
|
46756
47018
|
/**
|
|
46757
47019
|
* Users service.
|
|
46758
47020
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
46759
|
-
* @version
|
|
47021
|
+
* @version 139.0.0
|
|
46760
47022
|
*/
|
|
46761
47023
|
|
|
46762
47024
|
/**
|
|
@@ -49058,7 +49320,7 @@ class UtilitiesApi {
|
|
|
49058
49320
|
/**
|
|
49059
49321
|
* Utilities service.
|
|
49060
49322
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
49061
|
-
* @version
|
|
49323
|
+
* @version 139.0.0
|
|
49062
49324
|
*/
|
|
49063
49325
|
|
|
49064
49326
|
/**
|
|
@@ -49169,7 +49431,7 @@ class VoicemailApi {
|
|
|
49169
49431
|
/**
|
|
49170
49432
|
* Voicemail service.
|
|
49171
49433
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
49172
|
-
* @version
|
|
49434
|
+
* @version 139.0.0
|
|
49173
49435
|
*/
|
|
49174
49436
|
|
|
49175
49437
|
/**
|
|
@@ -49836,7 +50098,7 @@ class WebChatApi {
|
|
|
49836
50098
|
/**
|
|
49837
50099
|
* WebChat service.
|
|
49838
50100
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
49839
|
-
* @version
|
|
50101
|
+
* @version 139.0.0
|
|
49840
50102
|
*/
|
|
49841
50103
|
|
|
49842
50104
|
/**
|
|
@@ -50380,7 +50642,7 @@ class WebDeploymentsApi {
|
|
|
50380
50642
|
/**
|
|
50381
50643
|
* WebDeployments service.
|
|
50382
50644
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
50383
|
-
* @version
|
|
50645
|
+
* @version 139.0.0
|
|
50384
50646
|
*/
|
|
50385
50647
|
|
|
50386
50648
|
/**
|
|
@@ -50735,7 +50997,7 @@ class WebMessagingApi {
|
|
|
50735
50997
|
/**
|
|
50736
50998
|
* WebMessaging service.
|
|
50737
50999
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
50738
|
-
* @version
|
|
51000
|
+
* @version 139.0.0
|
|
50739
51001
|
*/
|
|
50740
51002
|
|
|
50741
51003
|
/**
|
|
@@ -50781,7 +51043,7 @@ class WidgetsApi {
|
|
|
50781
51043
|
/**
|
|
50782
51044
|
* Widgets service.
|
|
50783
51045
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
50784
|
-
* @version
|
|
51046
|
+
* @version 139.0.0
|
|
50785
51047
|
*/
|
|
50786
51048
|
|
|
50787
51049
|
/**
|
|
@@ -50927,7 +51189,7 @@ class WorkforceManagementApi {
|
|
|
50927
51189
|
/**
|
|
50928
51190
|
* WorkforceManagement service.
|
|
50929
51191
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
50930
|
-
* @version
|
|
51192
|
+
* @version 139.0.0
|
|
50931
51193
|
*/
|
|
50932
51194
|
|
|
50933
51195
|
/**
|
|
@@ -53686,8 +53948,8 @@ class WorkforceManagementApi {
|
|
|
53686
53948
|
*
|
|
53687
53949
|
* @param {String} businessUnitId The ID of the business unit
|
|
53688
53950
|
* @param {Object} opts Optional parameters
|
|
53689
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
53690
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
53951
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
53952
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
53691
53953
|
* @param {Object} opts.body body
|
|
53692
53954
|
*/
|
|
53693
53955
|
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
@@ -53808,8 +54070,8 @@ class WorkforceManagementApi {
|
|
|
53808
54070
|
* @param {String} scheduleId The ID of the schedule
|
|
53809
54071
|
* @param {Object} body body
|
|
53810
54072
|
* @param {Object} opts Optional parameters
|
|
53811
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
53812
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
54073
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
54074
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
53813
54075
|
*/
|
|
53814
54076
|
postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
|
|
53815
54077
|
opts = opts || {};
|
|
@@ -54395,8 +54657,8 @@ class WorkforceManagementApi {
|
|
|
54395
54657
|
*
|
|
54396
54658
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
54397
54659
|
* @param {Object} opts Optional parameters
|
|
54398
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
54399
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
54660
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
54661
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
54400
54662
|
* @param {Object} opts.body body
|
|
54401
54663
|
*/
|
|
54402
54664
|
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|
|
@@ -55178,7 +55440,7 @@ class WorkforceManagementApi {
|
|
|
55178
55440
|
* </pre>
|
|
55179
55441
|
* </p>
|
|
55180
55442
|
* @module purecloud-platform-client-v2/index
|
|
55181
|
-
* @version
|
|
55443
|
+
* @version 139.0.0
|
|
55182
55444
|
*/
|
|
55183
55445
|
class platformClient {
|
|
55184
55446
|
constructor() {
|