purecloud-platform-client-v2 160.0.0 → 160.1.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 +816 -69
- package/dist/web-amd/purecloud-platform-client-v2.js +816 -69
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +816 -69
- package/dist/web-cjs/purecloud-platform-client-v2.js +1169 -395
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +84 -0
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +789 -42
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version 160.
|
|
8
|
+
* @version 160.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -672,6 +672,45 @@ class ConversationsApi {
|
|
|
672
672
|
);
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
+
/**
|
|
676
|
+
* Get the wrap-up for this conversation communication.
|
|
677
|
+
*
|
|
678
|
+
* @param {String} conversationId conversationId
|
|
679
|
+
* @param {String} participantId participantId
|
|
680
|
+
* @param {String} communicationId communicationId
|
|
681
|
+
* @param {Object} opts Optional parameters
|
|
682
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
683
|
+
*/
|
|
684
|
+
getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
685
|
+
opts = opts || {};
|
|
686
|
+
|
|
687
|
+
// verify the required parameter 'conversationId' is set
|
|
688
|
+
if (conversationId === undefined || conversationId === null) {
|
|
689
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
690
|
+
}
|
|
691
|
+
// verify the required parameter 'participantId' is set
|
|
692
|
+
if (participantId === undefined || participantId === null) {
|
|
693
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
694
|
+
}
|
|
695
|
+
// verify the required parameter 'communicationId' is set
|
|
696
|
+
if (communicationId === undefined || communicationId === null) {
|
|
697
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
return this.apiClient.callApi(
|
|
701
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
702
|
+
'GET',
|
|
703
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
704
|
+
{ 'provisional': opts['provisional'] },
|
|
705
|
+
{ },
|
|
706
|
+
{ },
|
|
707
|
+
null,
|
|
708
|
+
['PureCloud OAuth'],
|
|
709
|
+
['application/json'],
|
|
710
|
+
['application/json']
|
|
711
|
+
);
|
|
712
|
+
}
|
|
713
|
+
|
|
675
714
|
/**
|
|
676
715
|
* Get the wrap-up for this conversation participant.
|
|
677
716
|
*
|
|
@@ -761,6 +800,45 @@ class ConversationsApi {
|
|
|
761
800
|
);
|
|
762
801
|
}
|
|
763
802
|
|
|
803
|
+
/**
|
|
804
|
+
* Get the wrap-up for this conversation communication.
|
|
805
|
+
*
|
|
806
|
+
* @param {String} conversationId conversationId
|
|
807
|
+
* @param {String} participantId participantId
|
|
808
|
+
* @param {String} communicationId communicationId
|
|
809
|
+
* @param {Object} opts Optional parameters
|
|
810
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
811
|
+
*/
|
|
812
|
+
getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
813
|
+
opts = opts || {};
|
|
814
|
+
|
|
815
|
+
// verify the required parameter 'conversationId' is set
|
|
816
|
+
if (conversationId === undefined || conversationId === null) {
|
|
817
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
818
|
+
}
|
|
819
|
+
// verify the required parameter 'participantId' is set
|
|
820
|
+
if (participantId === undefined || participantId === null) {
|
|
821
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
822
|
+
}
|
|
823
|
+
// verify the required parameter 'communicationId' is set
|
|
824
|
+
if (communicationId === undefined || communicationId === null) {
|
|
825
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
return this.apiClient.callApi(
|
|
829
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
830
|
+
'GET',
|
|
831
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
832
|
+
{ 'provisional': opts['provisional'] },
|
|
833
|
+
{ },
|
|
834
|
+
{ },
|
|
835
|
+
null,
|
|
836
|
+
['PureCloud OAuth'],
|
|
837
|
+
['application/json'],
|
|
838
|
+
['application/json']
|
|
839
|
+
);
|
|
840
|
+
}
|
|
841
|
+
|
|
764
842
|
/**
|
|
765
843
|
* Get the wrap-up for this conversation participant.
|
|
766
844
|
*
|
|
@@ -999,6 +1077,45 @@ class ConversationsApi {
|
|
|
999
1077
|
);
|
|
1000
1078
|
}
|
|
1001
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* Get the wrap-up for this conversation communication.
|
|
1082
|
+
*
|
|
1083
|
+
* @param {String} conversationId conversationId
|
|
1084
|
+
* @param {String} participantId participantId
|
|
1085
|
+
* @param {String} communicationId communicationId
|
|
1086
|
+
* @param {Object} opts Optional parameters
|
|
1087
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1088
|
+
*/
|
|
1089
|
+
getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
1090
|
+
opts = opts || {};
|
|
1091
|
+
|
|
1092
|
+
// verify the required parameter 'conversationId' is set
|
|
1093
|
+
if (conversationId === undefined || conversationId === null) {
|
|
1094
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
1095
|
+
}
|
|
1096
|
+
// verify the required parameter 'participantId' is set
|
|
1097
|
+
if (participantId === undefined || participantId === null) {
|
|
1098
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
1099
|
+
}
|
|
1100
|
+
// verify the required parameter 'communicationId' is set
|
|
1101
|
+
if (communicationId === undefined || communicationId === null) {
|
|
1102
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
return this.apiClient.callApi(
|
|
1106
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
1107
|
+
'GET',
|
|
1108
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
1109
|
+
{ 'provisional': opts['provisional'] },
|
|
1110
|
+
{ },
|
|
1111
|
+
{ },
|
|
1112
|
+
null,
|
|
1113
|
+
['PureCloud OAuth'],
|
|
1114
|
+
['application/json'],
|
|
1115
|
+
['application/json']
|
|
1116
|
+
);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1002
1119
|
/**
|
|
1003
1120
|
* Get the wrap-up for this conversation participant.
|
|
1004
1121
|
*
|
|
@@ -1108,6 +1225,45 @@ class ConversationsApi {
|
|
|
1108
1225
|
);
|
|
1109
1226
|
}
|
|
1110
1227
|
|
|
1228
|
+
/**
|
|
1229
|
+
* Get the wrap-up for this conversation communication.
|
|
1230
|
+
*
|
|
1231
|
+
* @param {String} conversationId conversationId
|
|
1232
|
+
* @param {String} participantId participantId
|
|
1233
|
+
* @param {String} communicationId communicationId
|
|
1234
|
+
* @param {Object} opts Optional parameters
|
|
1235
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1236
|
+
*/
|
|
1237
|
+
getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
1238
|
+
opts = opts || {};
|
|
1239
|
+
|
|
1240
|
+
// verify the required parameter 'conversationId' is set
|
|
1241
|
+
if (conversationId === undefined || conversationId === null) {
|
|
1242
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
1243
|
+
}
|
|
1244
|
+
// verify the required parameter 'participantId' is set
|
|
1245
|
+
if (participantId === undefined || participantId === null) {
|
|
1246
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
1247
|
+
}
|
|
1248
|
+
// verify the required parameter 'communicationId' is set
|
|
1249
|
+
if (communicationId === undefined || communicationId === null) {
|
|
1250
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
return this.apiClient.callApi(
|
|
1254
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
1255
|
+
'GET',
|
|
1256
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
1257
|
+
{ 'provisional': opts['provisional'] },
|
|
1258
|
+
{ },
|
|
1259
|
+
{ },
|
|
1260
|
+
null,
|
|
1261
|
+
['PureCloud OAuth'],
|
|
1262
|
+
['application/json'],
|
|
1263
|
+
['application/json']
|
|
1264
|
+
);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1111
1267
|
/**
|
|
1112
1268
|
* Get the wrap-up for this conversation participant.
|
|
1113
1269
|
*
|
|
@@ -1297,6 +1453,45 @@ class ConversationsApi {
|
|
|
1297
1453
|
);
|
|
1298
1454
|
}
|
|
1299
1455
|
|
|
1456
|
+
/**
|
|
1457
|
+
* Get the wrap-up for this conversation communication.
|
|
1458
|
+
*
|
|
1459
|
+
* @param {String} conversationId conversationId
|
|
1460
|
+
* @param {String} participantId participantId
|
|
1461
|
+
* @param {String} communicationId communicationId
|
|
1462
|
+
* @param {Object} opts Optional parameters
|
|
1463
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1464
|
+
*/
|
|
1465
|
+
getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
1466
|
+
opts = opts || {};
|
|
1467
|
+
|
|
1468
|
+
// verify the required parameter 'conversationId' is set
|
|
1469
|
+
if (conversationId === undefined || conversationId === null) {
|
|
1470
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
1471
|
+
}
|
|
1472
|
+
// verify the required parameter 'participantId' is set
|
|
1473
|
+
if (participantId === undefined || participantId === null) {
|
|
1474
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
1475
|
+
}
|
|
1476
|
+
// verify the required parameter 'communicationId' is set
|
|
1477
|
+
if (communicationId === undefined || communicationId === null) {
|
|
1478
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
return this.apiClient.callApi(
|
|
1482
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
1483
|
+
'GET',
|
|
1484
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
1485
|
+
{ 'provisional': opts['provisional'] },
|
|
1486
|
+
{ },
|
|
1487
|
+
{ },
|
|
1488
|
+
null,
|
|
1489
|
+
['PureCloud OAuth'],
|
|
1490
|
+
['application/json'],
|
|
1491
|
+
['application/json']
|
|
1492
|
+
);
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1300
1495
|
/**
|
|
1301
1496
|
* Get the wrap-up for this conversation participant.
|
|
1302
1497
|
*
|
|
@@ -1574,6 +1769,45 @@ class ConversationsApi {
|
|
|
1574
1769
|
);
|
|
1575
1770
|
}
|
|
1576
1771
|
|
|
1772
|
+
/**
|
|
1773
|
+
* Get the wrap-up for this conversation communication.
|
|
1774
|
+
*
|
|
1775
|
+
* @param {String} conversationId conversationId
|
|
1776
|
+
* @param {String} participantId participantId
|
|
1777
|
+
* @param {String} communicationId communicationId
|
|
1778
|
+
* @param {Object} opts Optional parameters
|
|
1779
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1780
|
+
*/
|
|
1781
|
+
getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
1782
|
+
opts = opts || {};
|
|
1783
|
+
|
|
1784
|
+
// verify the required parameter 'conversationId' is set
|
|
1785
|
+
if (conversationId === undefined || conversationId === null) {
|
|
1786
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
1787
|
+
}
|
|
1788
|
+
// verify the required parameter 'participantId' is set
|
|
1789
|
+
if (participantId === undefined || participantId === null) {
|
|
1790
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
1791
|
+
}
|
|
1792
|
+
// verify the required parameter 'communicationId' is set
|
|
1793
|
+
if (communicationId === undefined || communicationId === null) {
|
|
1794
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
return this.apiClient.callApi(
|
|
1798
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
1799
|
+
'GET',
|
|
1800
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
1801
|
+
{ 'provisional': opts['provisional'] },
|
|
1802
|
+
{ },
|
|
1803
|
+
{ },
|
|
1804
|
+
null,
|
|
1805
|
+
['PureCloud OAuth'],
|
|
1806
|
+
['application/json'],
|
|
1807
|
+
['application/json']
|
|
1808
|
+
);
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1577
1811
|
/**
|
|
1578
1812
|
* Get the wrap-up for this conversation participant.
|
|
1579
1813
|
*
|
|
@@ -2112,34 +2346,38 @@ class ConversationsApi {
|
|
|
2112
2346
|
}
|
|
2113
2347
|
|
|
2114
2348
|
/**
|
|
2115
|
-
*
|
|
2116
|
-
*
|
|
2117
|
-
* @param {String} conversationId
|
|
2118
|
-
* @param {String} participantId
|
|
2119
|
-
* @param {
|
|
2349
|
+
* Get the wrap-up for this conversation communication.
|
|
2350
|
+
*
|
|
2351
|
+
* @param {String} conversationId conversationId
|
|
2352
|
+
* @param {String} participantId participantId
|
|
2353
|
+
* @param {String} communicationId communicationId
|
|
2354
|
+
* @param {Object} opts Optional parameters
|
|
2355
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
2120
2356
|
*/
|
|
2121
|
-
|
|
2357
|
+
getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
2358
|
+
opts = opts || {};
|
|
2359
|
+
|
|
2122
2360
|
// verify the required parameter 'conversationId' is set
|
|
2123
2361
|
if (conversationId === undefined || conversationId === null) {
|
|
2124
|
-
throw 'Missing the required parameter "conversationId" when calling
|
|
2362
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
2125
2363
|
}
|
|
2126
2364
|
// verify the required parameter 'participantId' is set
|
|
2127
2365
|
if (participantId === undefined || participantId === null) {
|
|
2128
|
-
throw 'Missing the required parameter "participantId" when calling
|
|
2366
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
2129
2367
|
}
|
|
2130
|
-
// verify the required parameter '
|
|
2131
|
-
if (
|
|
2132
|
-
throw 'Missing the required parameter "
|
|
2368
|
+
// verify the required parameter 'communicationId' is set
|
|
2369
|
+
if (communicationId === undefined || communicationId === null) {
|
|
2370
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
2133
2371
|
}
|
|
2134
2372
|
|
|
2135
2373
|
return this.apiClient.callApi(
|
|
2136
|
-
'/api/v2/conversations/{conversationId}/participants/{participantId}',
|
|
2137
|
-
'
|
|
2138
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2139
|
-
{
|
|
2374
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
2375
|
+
'GET',
|
|
2376
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2377
|
+
{ 'provisional': opts['provisional'] },
|
|
2140
2378
|
{ },
|
|
2141
2379
|
{ },
|
|
2142
|
-
|
|
2380
|
+
null,
|
|
2143
2381
|
['PureCloud OAuth'],
|
|
2144
2382
|
['application/json'],
|
|
2145
2383
|
['application/json']
|
|
@@ -2147,34 +2385,19 @@ class ConversationsApi {
|
|
|
2147
2385
|
}
|
|
2148
2386
|
|
|
2149
2387
|
/**
|
|
2150
|
-
*
|
|
2388
|
+
* Get Settings
|
|
2151
2389
|
*
|
|
2152
|
-
* @param {String} conversationId conversation ID
|
|
2153
|
-
* @param {String} participantId participant ID
|
|
2154
|
-
* @param {Object} body Participant attributes
|
|
2155
2390
|
*/
|
|
2156
|
-
|
|
2157
|
-
// verify the required parameter 'conversationId' is set
|
|
2158
|
-
if (conversationId === undefined || conversationId === null) {
|
|
2159
|
-
throw 'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';
|
|
2160
|
-
}
|
|
2161
|
-
// verify the required parameter 'participantId' is set
|
|
2162
|
-
if (participantId === undefined || participantId === null) {
|
|
2163
|
-
throw 'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';
|
|
2164
|
-
}
|
|
2165
|
-
// verify the required parameter 'body' is set
|
|
2166
|
-
if (body === undefined || body === null) {
|
|
2167
|
-
throw 'Missing the required parameter "body" when calling patchConversationParticipantAttributes';
|
|
2168
|
-
}
|
|
2391
|
+
getConversationsSettings() {
|
|
2169
2392
|
|
|
2170
2393
|
return this.apiClient.callApi(
|
|
2171
|
-
'/api/v2/conversations/
|
|
2172
|
-
'
|
|
2173
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2394
|
+
'/api/v2/conversations/settings',
|
|
2395
|
+
'GET',
|
|
2174
2396
|
{ },
|
|
2175
2397
|
{ },
|
|
2176
2398
|
{ },
|
|
2177
|
-
|
|
2399
|
+
{ },
|
|
2400
|
+
null,
|
|
2178
2401
|
['PureCloud OAuth'],
|
|
2179
2402
|
['application/json'],
|
|
2180
2403
|
['application/json']
|
|
@@ -2182,11 +2405,159 @@ class ConversationsApi {
|
|
|
2182
2405
|
}
|
|
2183
2406
|
|
|
2184
2407
|
/**
|
|
2185
|
-
*
|
|
2408
|
+
* Get the wrap-up for this conversation communication.
|
|
2186
2409
|
*
|
|
2187
|
-
* @param {String} conversationId
|
|
2188
|
-
* @param {
|
|
2189
|
-
|
|
2410
|
+
* @param {String} conversationId conversationId
|
|
2411
|
+
* @param {String} participantId participantId
|
|
2412
|
+
* @param {String} communicationId communicationId
|
|
2413
|
+
* @param {Object} opts Optional parameters
|
|
2414
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
2415
|
+
*/
|
|
2416
|
+
getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
2417
|
+
opts = opts || {};
|
|
2418
|
+
|
|
2419
|
+
// verify the required parameter 'conversationId' is set
|
|
2420
|
+
if (conversationId === undefined || conversationId === null) {
|
|
2421
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
2422
|
+
}
|
|
2423
|
+
// verify the required parameter 'participantId' is set
|
|
2424
|
+
if (participantId === undefined || participantId === null) {
|
|
2425
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
2426
|
+
}
|
|
2427
|
+
// verify the required parameter 'communicationId' is set
|
|
2428
|
+
if (communicationId === undefined || communicationId === null) {
|
|
2429
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
return this.apiClient.callApi(
|
|
2433
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
2434
|
+
'GET',
|
|
2435
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2436
|
+
{ 'provisional': opts['provisional'] },
|
|
2437
|
+
{ },
|
|
2438
|
+
{ },
|
|
2439
|
+
null,
|
|
2440
|
+
['PureCloud OAuth'],
|
|
2441
|
+
['application/json'],
|
|
2442
|
+
['application/json']
|
|
2443
|
+
);
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Get the wrap-up for this conversation communication.
|
|
2448
|
+
*
|
|
2449
|
+
* @param {String} conversationId conversationId
|
|
2450
|
+
* @param {String} participantId participantId
|
|
2451
|
+
* @param {String} communicationId communicationId
|
|
2452
|
+
* @param {Object} opts Optional parameters
|
|
2453
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
2454
|
+
*/
|
|
2455
|
+
getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
2456
|
+
opts = opts || {};
|
|
2457
|
+
|
|
2458
|
+
// verify the required parameter 'conversationId' is set
|
|
2459
|
+
if (conversationId === undefined || conversationId === null) {
|
|
2460
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
2461
|
+
}
|
|
2462
|
+
// verify the required parameter 'participantId' is set
|
|
2463
|
+
if (participantId === undefined || participantId === null) {
|
|
2464
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
2465
|
+
}
|
|
2466
|
+
// verify the required parameter 'communicationId' is set
|
|
2467
|
+
if (communicationId === undefined || communicationId === null) {
|
|
2468
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
return this.apiClient.callApi(
|
|
2472
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
2473
|
+
'GET',
|
|
2474
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2475
|
+
{ 'provisional': opts['provisional'] },
|
|
2476
|
+
{ },
|
|
2477
|
+
{ },
|
|
2478
|
+
null,
|
|
2479
|
+
['PureCloud OAuth'],
|
|
2480
|
+
['application/json'],
|
|
2481
|
+
['application/json']
|
|
2482
|
+
);
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* Update a participant.
|
|
2487
|
+
* Update conversation participant.
|
|
2488
|
+
* @param {String} conversationId conversation ID
|
|
2489
|
+
* @param {String} participantId participant ID
|
|
2490
|
+
* @param {Object} body Update request
|
|
2491
|
+
*/
|
|
2492
|
+
patchConversationParticipant(conversationId, participantId, body) {
|
|
2493
|
+
// verify the required parameter 'conversationId' is set
|
|
2494
|
+
if (conversationId === undefined || conversationId === null) {
|
|
2495
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationParticipant';
|
|
2496
|
+
}
|
|
2497
|
+
// verify the required parameter 'participantId' is set
|
|
2498
|
+
if (participantId === undefined || participantId === null) {
|
|
2499
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationParticipant';
|
|
2500
|
+
}
|
|
2501
|
+
// verify the required parameter 'body' is set
|
|
2502
|
+
if (body === undefined || body === null) {
|
|
2503
|
+
throw 'Missing the required parameter "body" when calling patchConversationParticipant';
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
return this.apiClient.callApi(
|
|
2507
|
+
'/api/v2/conversations/{conversationId}/participants/{participantId}',
|
|
2508
|
+
'PATCH',
|
|
2509
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2510
|
+
{ },
|
|
2511
|
+
{ },
|
|
2512
|
+
{ },
|
|
2513
|
+
body,
|
|
2514
|
+
['PureCloud OAuth'],
|
|
2515
|
+
['application/json'],
|
|
2516
|
+
['application/json']
|
|
2517
|
+
);
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* Update the attributes on a conversation participant.
|
|
2522
|
+
*
|
|
2523
|
+
* @param {String} conversationId conversation ID
|
|
2524
|
+
* @param {String} participantId participant ID
|
|
2525
|
+
* @param {Object} body Participant attributes
|
|
2526
|
+
*/
|
|
2527
|
+
patchConversationParticipantAttributes(conversationId, participantId, body) {
|
|
2528
|
+
// verify the required parameter 'conversationId' is set
|
|
2529
|
+
if (conversationId === undefined || conversationId === null) {
|
|
2530
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';
|
|
2531
|
+
}
|
|
2532
|
+
// verify the required parameter 'participantId' is set
|
|
2533
|
+
if (participantId === undefined || participantId === null) {
|
|
2534
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';
|
|
2535
|
+
}
|
|
2536
|
+
// verify the required parameter 'body' is set
|
|
2537
|
+
if (body === undefined || body === null) {
|
|
2538
|
+
throw 'Missing the required parameter "body" when calling patchConversationParticipantAttributes';
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
return this.apiClient.callApi(
|
|
2542
|
+
'/api/v2/conversations/{conversationId}/participants/{participantId}/attributes',
|
|
2543
|
+
'PATCH',
|
|
2544
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2545
|
+
{ },
|
|
2546
|
+
{ },
|
|
2547
|
+
{ },
|
|
2548
|
+
body,
|
|
2549
|
+
['PureCloud OAuth'],
|
|
2550
|
+
['application/json'],
|
|
2551
|
+
['application/json']
|
|
2552
|
+
);
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Update the secure attributes on a conversation.
|
|
2557
|
+
*
|
|
2558
|
+
* @param {String} conversationId conversation ID
|
|
2559
|
+
* @param {Object} body Conversation Secure Attributes
|
|
2560
|
+
*/
|
|
2190
2561
|
patchConversationSecureattributes(conversationId, body) {
|
|
2191
2562
|
// verify the required parameter 'conversationId' is set
|
|
2192
2563
|
if (conversationId === undefined || conversationId === null) {
|
|
@@ -3257,6 +3628,31 @@ class ConversationsApi {
|
|
|
3257
3628
|
);
|
|
3258
3629
|
}
|
|
3259
3630
|
|
|
3631
|
+
/**
|
|
3632
|
+
* Update Settings
|
|
3633
|
+
*
|
|
3634
|
+
* @param {Object} body Settings
|
|
3635
|
+
*/
|
|
3636
|
+
patchConversationsSettings(body) {
|
|
3637
|
+
// verify the required parameter 'body' is set
|
|
3638
|
+
if (body === undefined || body === null) {
|
|
3639
|
+
throw 'Missing the required parameter "body" when calling patchConversationsSettings';
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
return this.apiClient.callApi(
|
|
3643
|
+
'/api/v2/conversations/settings',
|
|
3644
|
+
'PATCH',
|
|
3645
|
+
{ },
|
|
3646
|
+
{ },
|
|
3647
|
+
{ },
|
|
3648
|
+
{ },
|
|
3649
|
+
body,
|
|
3650
|
+
['PureCloud OAuth'],
|
|
3651
|
+
['application/json'],
|
|
3652
|
+
['application/json']
|
|
3653
|
+
);
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3260
3656
|
/**
|
|
3261
3657
|
* Index conversation properties
|
|
3262
3658
|
*
|
|
@@ -3639,6 +4035,45 @@ class ConversationsApi {
|
|
|
3639
4035
|
);
|
|
3640
4036
|
}
|
|
3641
4037
|
|
|
4038
|
+
/**
|
|
4039
|
+
* Apply wrap-up for this conversation communication
|
|
4040
|
+
*
|
|
4041
|
+
* @param {String} conversationId conversationId
|
|
4042
|
+
* @param {String} participantId participantId
|
|
4043
|
+
* @param {String} communicationId communicationId
|
|
4044
|
+
* @param {Object} opts Optional parameters
|
|
4045
|
+
* @param {Object} opts.body Wrap-up
|
|
4046
|
+
*/
|
|
4047
|
+
postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
4048
|
+
opts = opts || {};
|
|
4049
|
+
|
|
4050
|
+
// verify the required parameter 'conversationId' is set
|
|
4051
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4052
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
4053
|
+
}
|
|
4054
|
+
// verify the required parameter 'participantId' is set
|
|
4055
|
+
if (participantId === undefined || participantId === null) {
|
|
4056
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
4057
|
+
}
|
|
4058
|
+
// verify the required parameter 'communicationId' is set
|
|
4059
|
+
if (communicationId === undefined || communicationId === null) {
|
|
4060
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
return this.apiClient.callApi(
|
|
4064
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
4065
|
+
'POST',
|
|
4066
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4067
|
+
{ },
|
|
4068
|
+
{ },
|
|
4069
|
+
{ },
|
|
4070
|
+
opts['body'],
|
|
4071
|
+
['PureCloud OAuth'],
|
|
4072
|
+
['application/json'],
|
|
4073
|
+
['application/json']
|
|
4074
|
+
);
|
|
4075
|
+
}
|
|
4076
|
+
|
|
3642
4077
|
/**
|
|
3643
4078
|
* Initiate and update consult transfer
|
|
3644
4079
|
*
|
|
@@ -3769,6 +4204,45 @@ class ConversationsApi {
|
|
|
3769
4204
|
);
|
|
3770
4205
|
}
|
|
3771
4206
|
|
|
4207
|
+
/**
|
|
4208
|
+
* Apply wrap-up for this conversation communication
|
|
4209
|
+
*
|
|
4210
|
+
* @param {String} conversationId conversationId
|
|
4211
|
+
* @param {String} participantId participantId
|
|
4212
|
+
* @param {String} communicationId communicationId
|
|
4213
|
+
* @param {Object} opts Optional parameters
|
|
4214
|
+
* @param {Object} opts.body Wrap-up
|
|
4215
|
+
*/
|
|
4216
|
+
postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
4217
|
+
opts = opts || {};
|
|
4218
|
+
|
|
4219
|
+
// verify the required parameter 'conversationId' is set
|
|
4220
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4221
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
4222
|
+
}
|
|
4223
|
+
// verify the required parameter 'participantId' is set
|
|
4224
|
+
if (participantId === undefined || participantId === null) {
|
|
4225
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
4226
|
+
}
|
|
4227
|
+
// verify the required parameter 'communicationId' is set
|
|
4228
|
+
if (communicationId === undefined || communicationId === null) {
|
|
4229
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
return this.apiClient.callApi(
|
|
4233
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
4234
|
+
'POST',
|
|
4235
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4236
|
+
{ },
|
|
4237
|
+
{ },
|
|
4238
|
+
{ },
|
|
4239
|
+
opts['body'],
|
|
4240
|
+
['PureCloud OAuth'],
|
|
4241
|
+
['application/json'],
|
|
4242
|
+
['application/json']
|
|
4243
|
+
);
|
|
4244
|
+
}
|
|
4245
|
+
|
|
3772
4246
|
/**
|
|
3773
4247
|
* Replace this participant with the specified user and/or address
|
|
3774
4248
|
*
|
|
@@ -3969,6 +4443,45 @@ class ConversationsApi {
|
|
|
3969
4443
|
);
|
|
3970
4444
|
}
|
|
3971
4445
|
|
|
4446
|
+
/**
|
|
4447
|
+
* Apply wrap-up for this conversation communication
|
|
4448
|
+
*
|
|
4449
|
+
* @param {String} conversationId conversationId
|
|
4450
|
+
* @param {String} participantId participantId
|
|
4451
|
+
* @param {String} communicationId communicationId
|
|
4452
|
+
* @param {Object} opts Optional parameters
|
|
4453
|
+
* @param {Object} opts.body Wrap-up
|
|
4454
|
+
*/
|
|
4455
|
+
postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
4456
|
+
opts = opts || {};
|
|
4457
|
+
|
|
4458
|
+
// verify the required parameter 'conversationId' is set
|
|
4459
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4460
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
4461
|
+
}
|
|
4462
|
+
// verify the required parameter 'participantId' is set
|
|
4463
|
+
if (participantId === undefined || participantId === null) {
|
|
4464
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
4465
|
+
}
|
|
4466
|
+
// verify the required parameter 'communicationId' is set
|
|
4467
|
+
if (communicationId === undefined || communicationId === null) {
|
|
4468
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
4469
|
+
}
|
|
4470
|
+
|
|
4471
|
+
return this.apiClient.callApi(
|
|
4472
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
4473
|
+
'POST',
|
|
4474
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4475
|
+
{ },
|
|
4476
|
+
{ },
|
|
4477
|
+
{ },
|
|
4478
|
+
opts['body'],
|
|
4479
|
+
['PureCloud OAuth'],
|
|
4480
|
+
['application/json'],
|
|
4481
|
+
['application/json']
|
|
4482
|
+
);
|
|
4483
|
+
}
|
|
4484
|
+
|
|
3972
4485
|
/**
|
|
3973
4486
|
* Replace this participant with the specified user and/or address
|
|
3974
4487
|
*
|
|
@@ -4029,6 +4542,45 @@ class ConversationsApi {
|
|
|
4029
4542
|
);
|
|
4030
4543
|
}
|
|
4031
4544
|
|
|
4545
|
+
/**
|
|
4546
|
+
* Apply wrap-up for this conversation communication
|
|
4547
|
+
*
|
|
4548
|
+
* @param {String} conversationId conversationId
|
|
4549
|
+
* @param {String} participantId participantId
|
|
4550
|
+
* @param {String} communicationId communicationId
|
|
4551
|
+
* @param {Object} opts Optional parameters
|
|
4552
|
+
* @param {Object} opts.body Wrap-up
|
|
4553
|
+
*/
|
|
4554
|
+
postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
4555
|
+
opts = opts || {};
|
|
4556
|
+
|
|
4557
|
+
// verify the required parameter 'conversationId' is set
|
|
4558
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4559
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
4560
|
+
}
|
|
4561
|
+
// verify the required parameter 'participantId' is set
|
|
4562
|
+
if (participantId === undefined || participantId === null) {
|
|
4563
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
4564
|
+
}
|
|
4565
|
+
// verify the required parameter 'communicationId' is set
|
|
4566
|
+
if (communicationId === undefined || communicationId === null) {
|
|
4567
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4570
|
+
return this.apiClient.callApi(
|
|
4571
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
4572
|
+
'POST',
|
|
4573
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4574
|
+
{ },
|
|
4575
|
+
{ },
|
|
4576
|
+
{ },
|
|
4577
|
+
opts['body'],
|
|
4578
|
+
['PureCloud OAuth'],
|
|
4579
|
+
['application/json'],
|
|
4580
|
+
['application/json']
|
|
4581
|
+
);
|
|
4582
|
+
}
|
|
4583
|
+
|
|
4032
4584
|
/**
|
|
4033
4585
|
* Replace this participant with the specified user and/or address
|
|
4034
4586
|
*
|
|
@@ -4153,6 +4705,45 @@ class ConversationsApi {
|
|
|
4153
4705
|
);
|
|
4154
4706
|
}
|
|
4155
4707
|
|
|
4708
|
+
/**
|
|
4709
|
+
* Apply wrap-up for this conversation communication
|
|
4710
|
+
*
|
|
4711
|
+
* @param {String} conversationId conversationId
|
|
4712
|
+
* @param {String} participantId participantId
|
|
4713
|
+
* @param {String} communicationId communicationId
|
|
4714
|
+
* @param {Object} opts Optional parameters
|
|
4715
|
+
* @param {Object} opts.body Wrap-up
|
|
4716
|
+
*/
|
|
4717
|
+
postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
4718
|
+
opts = opts || {};
|
|
4719
|
+
|
|
4720
|
+
// verify the required parameter 'conversationId' is set
|
|
4721
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4722
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
4723
|
+
}
|
|
4724
|
+
// verify the required parameter 'participantId' is set
|
|
4725
|
+
if (participantId === undefined || participantId === null) {
|
|
4726
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
4727
|
+
}
|
|
4728
|
+
// verify the required parameter 'communicationId' is set
|
|
4729
|
+
if (communicationId === undefined || communicationId === null) {
|
|
4730
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
return this.apiClient.callApi(
|
|
4734
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
4735
|
+
'POST',
|
|
4736
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4737
|
+
{ },
|
|
4738
|
+
{ },
|
|
4739
|
+
{ },
|
|
4740
|
+
opts['body'],
|
|
4741
|
+
['PureCloud OAuth'],
|
|
4742
|
+
['application/json'],
|
|
4743
|
+
['application/json']
|
|
4744
|
+
);
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4156
4747
|
/**
|
|
4157
4748
|
* Replace this participant with the specified user and/or address
|
|
4158
4749
|
*
|
|
@@ -4447,6 +5038,45 @@ class ConversationsApi {
|
|
|
4447
5038
|
);
|
|
4448
5039
|
}
|
|
4449
5040
|
|
|
5041
|
+
/**
|
|
5042
|
+
* Apply wrap-up for this conversation communication
|
|
5043
|
+
*
|
|
5044
|
+
* @param {String} conversationId conversationId
|
|
5045
|
+
* @param {String} participantId participantId
|
|
5046
|
+
* @param {String} communicationId communicationId
|
|
5047
|
+
* @param {Object} opts Optional parameters
|
|
5048
|
+
* @param {Object} opts.body Wrap-up
|
|
5049
|
+
*/
|
|
5050
|
+
postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
5051
|
+
opts = opts || {};
|
|
5052
|
+
|
|
5053
|
+
// verify the required parameter 'conversationId' is set
|
|
5054
|
+
if (conversationId === undefined || conversationId === null) {
|
|
5055
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
5056
|
+
}
|
|
5057
|
+
// verify the required parameter 'participantId' is set
|
|
5058
|
+
if (participantId === undefined || participantId === null) {
|
|
5059
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
5060
|
+
}
|
|
5061
|
+
// verify the required parameter 'communicationId' is set
|
|
5062
|
+
if (communicationId === undefined || communicationId === null) {
|
|
5063
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
return this.apiClient.callApi(
|
|
5067
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
5068
|
+
'POST',
|
|
5069
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
5070
|
+
{ },
|
|
5071
|
+
{ },
|
|
5072
|
+
{ },
|
|
5073
|
+
opts['body'],
|
|
5074
|
+
['PureCloud OAuth'],
|
|
5075
|
+
['application/json'],
|
|
5076
|
+
['application/json']
|
|
5077
|
+
);
|
|
5078
|
+
}
|
|
5079
|
+
|
|
4450
5080
|
/**
|
|
4451
5081
|
* Replace this participant with the specified user and/or address
|
|
4452
5082
|
*
|
|
@@ -4732,6 +5362,123 @@ class ConversationsApi {
|
|
|
4732
5362
|
);
|
|
4733
5363
|
}
|
|
4734
5364
|
|
|
5365
|
+
/**
|
|
5366
|
+
* Apply wrap-up for this conversation communication
|
|
5367
|
+
*
|
|
5368
|
+
* @param {String} conversationId conversationId
|
|
5369
|
+
* @param {String} participantId participantId
|
|
5370
|
+
* @param {String} communicationId communicationId
|
|
5371
|
+
* @param {Object} opts Optional parameters
|
|
5372
|
+
* @param {Object} opts.body Wrap-up
|
|
5373
|
+
*/
|
|
5374
|
+
postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
5375
|
+
opts = opts || {};
|
|
5376
|
+
|
|
5377
|
+
// verify the required parameter 'conversationId' is set
|
|
5378
|
+
if (conversationId === undefined || conversationId === null) {
|
|
5379
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
5380
|
+
}
|
|
5381
|
+
// verify the required parameter 'participantId' is set
|
|
5382
|
+
if (participantId === undefined || participantId === null) {
|
|
5383
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
5384
|
+
}
|
|
5385
|
+
// verify the required parameter 'communicationId' is set
|
|
5386
|
+
if (communicationId === undefined || communicationId === null) {
|
|
5387
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
5388
|
+
}
|
|
5389
|
+
|
|
5390
|
+
return this.apiClient.callApi(
|
|
5391
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
5392
|
+
'POST',
|
|
5393
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
5394
|
+
{ },
|
|
5395
|
+
{ },
|
|
5396
|
+
{ },
|
|
5397
|
+
opts['body'],
|
|
5398
|
+
['PureCloud OAuth'],
|
|
5399
|
+
['application/json'],
|
|
5400
|
+
['application/json']
|
|
5401
|
+
);
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5404
|
+
/**
|
|
5405
|
+
* Apply wrap-up for this conversation communication
|
|
5406
|
+
*
|
|
5407
|
+
* @param {String} conversationId conversationId
|
|
5408
|
+
* @param {String} participantId participantId
|
|
5409
|
+
* @param {String} communicationId communicationId
|
|
5410
|
+
* @param {Object} opts Optional parameters
|
|
5411
|
+
* @param {Object} opts.body Wrap-up
|
|
5412
|
+
*/
|
|
5413
|
+
postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
5414
|
+
opts = opts || {};
|
|
5415
|
+
|
|
5416
|
+
// verify the required parameter 'conversationId' is set
|
|
5417
|
+
if (conversationId === undefined || conversationId === null) {
|
|
5418
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
5419
|
+
}
|
|
5420
|
+
// verify the required parameter 'participantId' is set
|
|
5421
|
+
if (participantId === undefined || participantId === null) {
|
|
5422
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
5423
|
+
}
|
|
5424
|
+
// verify the required parameter 'communicationId' is set
|
|
5425
|
+
if (communicationId === undefined || communicationId === null) {
|
|
5426
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
5427
|
+
}
|
|
5428
|
+
|
|
5429
|
+
return this.apiClient.callApi(
|
|
5430
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
5431
|
+
'POST',
|
|
5432
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
5433
|
+
{ },
|
|
5434
|
+
{ },
|
|
5435
|
+
{ },
|
|
5436
|
+
opts['body'],
|
|
5437
|
+
['PureCloud OAuth'],
|
|
5438
|
+
['application/json'],
|
|
5439
|
+
['application/json']
|
|
5440
|
+
);
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
/**
|
|
5444
|
+
* Apply wrap-up for this conversation communication
|
|
5445
|
+
*
|
|
5446
|
+
* @param {String} conversationId conversationId
|
|
5447
|
+
* @param {String} participantId participantId
|
|
5448
|
+
* @param {String} communicationId communicationId
|
|
5449
|
+
* @param {Object} opts Optional parameters
|
|
5450
|
+
* @param {Object} opts.body Wrap-up
|
|
5451
|
+
*/
|
|
5452
|
+
postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
5453
|
+
opts = opts || {};
|
|
5454
|
+
|
|
5455
|
+
// verify the required parameter 'conversationId' is set
|
|
5456
|
+
if (conversationId === undefined || conversationId === null) {
|
|
5457
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
5458
|
+
}
|
|
5459
|
+
// verify the required parameter 'participantId' is set
|
|
5460
|
+
if (participantId === undefined || participantId === null) {
|
|
5461
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
5462
|
+
}
|
|
5463
|
+
// verify the required parameter 'communicationId' is set
|
|
5464
|
+
if (communicationId === undefined || communicationId === null) {
|
|
5465
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
return this.apiClient.callApi(
|
|
5469
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
5470
|
+
'POST',
|
|
5471
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
5472
|
+
{ },
|
|
5473
|
+
{ },
|
|
5474
|
+
{ },
|
|
5475
|
+
opts['body'],
|
|
5476
|
+
['PureCloud OAuth'],
|
|
5477
|
+
['application/json'],
|
|
5478
|
+
['application/json']
|
|
5479
|
+
);
|
|
5480
|
+
}
|
|
5481
|
+
|
|
4735
5482
|
/**
|
|
4736
5483
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
4737
5484
|
*
|