purecloud-platform-client-v2 136.1.0 → 137.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 +9 -12
- package/dist/node/purecloud-platform-client-v2.js +9667 -9635
- package/dist/web-amd/purecloud-platform-client-v2.js +9667 -9635
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9674 -9635
- package/dist/web-cjs/purecloud-platform-client-v2.js +11469 -13867
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +92 -76
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +197 -169
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +534 -534
- package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +808 -808
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
- package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +246 -246
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +311 -311
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
- package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +608 -608
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
- package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +302 -302
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
- package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
- package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
- package/src/purecloud-platform-client-v2/index.js +2 -1
- package/src/purecloud-platform-client-v2/logger.js +17 -13
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -34,13 +34,13 @@ class ConversationsApi {
|
|
|
34
34
|
return this.apiClient.callApi(
|
|
35
35
|
'/api/v2/analytics/conversations/details/jobs/{jobId}',
|
|
36
36
|
'DELETE',
|
|
37
|
-
{ 'jobId': jobId },
|
|
38
|
-
{ },
|
|
39
|
-
{ },
|
|
40
|
-
{ },
|
|
37
|
+
{ 'jobId': jobId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
41
|
null,
|
|
42
42
|
['PureCloud OAuth'],
|
|
43
|
-
['application/json'],
|
|
43
|
+
['application/json'],
|
|
44
44
|
['application/json']
|
|
45
45
|
);
|
|
46
46
|
}
|
|
@@ -69,13 +69,13 @@ class ConversationsApi {
|
|
|
69
69
|
return this.apiClient.callApi(
|
|
70
70
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/codes/{addCommunicationCode}',
|
|
71
71
|
'DELETE',
|
|
72
|
-
{ 'conversationId': conversationId,'participantId': participantId,'addCommunicationCode': addCommunicationCode },
|
|
73
|
-
{ },
|
|
74
|
-
{ },
|
|
75
|
-
{ },
|
|
72
|
+
{ 'conversationId': conversationId,'participantId': participantId,'addCommunicationCode': addCommunicationCode },
|
|
73
|
+
{ },
|
|
74
|
+
{ },
|
|
75
|
+
{ },
|
|
76
76
|
null,
|
|
77
77
|
['PureCloud OAuth'],
|
|
78
|
-
['application/json'],
|
|
78
|
+
['application/json'],
|
|
79
79
|
['application/json']
|
|
80
80
|
);
|
|
81
81
|
}
|
|
@@ -99,13 +99,13 @@ class ConversationsApi {
|
|
|
99
99
|
return this.apiClient.callApi(
|
|
100
100
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason',
|
|
101
101
|
'DELETE',
|
|
102
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
103
|
-
{ },
|
|
104
|
-
{ },
|
|
105
|
-
{ },
|
|
102
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
103
|
+
{ },
|
|
104
|
+
{ },
|
|
105
|
+
{ },
|
|
106
106
|
null,
|
|
107
107
|
['PureCloud OAuth'],
|
|
108
|
-
['application/json'],
|
|
108
|
+
['application/json'],
|
|
109
109
|
['application/json']
|
|
110
110
|
);
|
|
111
111
|
}
|
|
@@ -129,13 +129,13 @@ class ConversationsApi {
|
|
|
129
129
|
return this.apiClient.callApi(
|
|
130
130
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult',
|
|
131
131
|
'DELETE',
|
|
132
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
133
|
-
{ },
|
|
134
|
-
{ },
|
|
135
|
-
{ },
|
|
132
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
133
|
+
{ },
|
|
134
|
+
{ },
|
|
135
|
+
{ },
|
|
136
136
|
null,
|
|
137
137
|
['PureCloud OAuth'],
|
|
138
|
-
['application/json'],
|
|
138
|
+
['application/json'],
|
|
139
139
|
['application/json']
|
|
140
140
|
);
|
|
141
141
|
}
|
|
@@ -159,13 +159,13 @@ class ConversationsApi {
|
|
|
159
159
|
return this.apiClient.callApi(
|
|
160
160
|
'/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/{attachmentId}',
|
|
161
161
|
'DELETE',
|
|
162
|
-
{ 'conversationId': conversationId,'attachmentId': attachmentId },
|
|
163
|
-
{ },
|
|
164
|
-
{ },
|
|
165
|
-
{ },
|
|
162
|
+
{ 'conversationId': conversationId,'attachmentId': attachmentId },
|
|
163
|
+
{ },
|
|
164
|
+
{ },
|
|
165
|
+
{ },
|
|
166
166
|
null,
|
|
167
167
|
['PureCloud OAuth'],
|
|
168
|
-
['application/json'],
|
|
168
|
+
['application/json'],
|
|
169
169
|
['application/json']
|
|
170
170
|
);
|
|
171
171
|
}
|
|
@@ -184,13 +184,13 @@ class ConversationsApi {
|
|
|
184
184
|
return this.apiClient.callApi(
|
|
185
185
|
'/api/v2/conversations/messaging/integrations/facebook/{integrationId}',
|
|
186
186
|
'DELETE',
|
|
187
|
-
{ 'integrationId': integrationId },
|
|
188
|
-
{ },
|
|
189
|
-
{ },
|
|
190
|
-
{ },
|
|
187
|
+
{ 'integrationId': integrationId },
|
|
188
|
+
{ },
|
|
189
|
+
{ },
|
|
190
|
+
{ },
|
|
191
191
|
null,
|
|
192
192
|
['PureCloud OAuth'],
|
|
193
|
-
['application/json'],
|
|
193
|
+
['application/json'],
|
|
194
194
|
['application/json']
|
|
195
195
|
);
|
|
196
196
|
}
|
|
@@ -209,13 +209,13 @@ class ConversationsApi {
|
|
|
209
209
|
return this.apiClient.callApi(
|
|
210
210
|
'/api/v2/conversations/messaging/integrations/line/{integrationId}',
|
|
211
211
|
'DELETE',
|
|
212
|
-
{ 'integrationId': integrationId },
|
|
213
|
-
{ },
|
|
214
|
-
{ },
|
|
215
|
-
{ },
|
|
212
|
+
{ 'integrationId': integrationId },
|
|
213
|
+
{ },
|
|
214
|
+
{ },
|
|
215
|
+
{ },
|
|
216
216
|
null,
|
|
217
217
|
['PureCloud OAuth'],
|
|
218
|
-
['application/json'],
|
|
218
|
+
['application/json'],
|
|
219
219
|
['application/json']
|
|
220
220
|
);
|
|
221
221
|
}
|
|
@@ -234,13 +234,13 @@ class ConversationsApi {
|
|
|
234
234
|
return this.apiClient.callApi(
|
|
235
235
|
'/api/v2/conversations/messaging/integrations/open/{integrationId}',
|
|
236
236
|
'DELETE',
|
|
237
|
-
{ 'integrationId': integrationId },
|
|
238
|
-
{ },
|
|
239
|
-
{ },
|
|
240
|
-
{ },
|
|
237
|
+
{ 'integrationId': integrationId },
|
|
238
|
+
{ },
|
|
239
|
+
{ },
|
|
240
|
+
{ },
|
|
241
241
|
null,
|
|
242
242
|
['PureCloud OAuth'],
|
|
243
|
-
['application/json'],
|
|
243
|
+
['application/json'],
|
|
244
244
|
['application/json']
|
|
245
245
|
);
|
|
246
246
|
}
|
|
@@ -259,13 +259,13 @@ class ConversationsApi {
|
|
|
259
259
|
return this.apiClient.callApi(
|
|
260
260
|
'/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
|
|
261
261
|
'DELETE',
|
|
262
|
-
{ 'integrationId': integrationId },
|
|
263
|
-
{ },
|
|
264
|
-
{ },
|
|
265
|
-
{ },
|
|
262
|
+
{ 'integrationId': integrationId },
|
|
263
|
+
{ },
|
|
264
|
+
{ },
|
|
265
|
+
{ },
|
|
266
266
|
null,
|
|
267
267
|
['PureCloud OAuth'],
|
|
268
|
-
['application/json'],
|
|
268
|
+
['application/json'],
|
|
269
269
|
['application/json']
|
|
270
270
|
);
|
|
271
271
|
}
|
|
@@ -284,13 +284,13 @@ class ConversationsApi {
|
|
|
284
284
|
return this.apiClient.callApi(
|
|
285
285
|
'/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}',
|
|
286
286
|
'DELETE',
|
|
287
|
-
{ 'integrationId': integrationId },
|
|
288
|
-
{ },
|
|
289
|
-
{ },
|
|
290
|
-
{ },
|
|
287
|
+
{ 'integrationId': integrationId },
|
|
288
|
+
{ },
|
|
289
|
+
{ },
|
|
290
|
+
{ },
|
|
291
291
|
null,
|
|
292
292
|
['PureCloud OAuth'],
|
|
293
|
-
['application/json'],
|
|
293
|
+
['application/json'],
|
|
294
294
|
['application/json']
|
|
295
295
|
);
|
|
296
296
|
}
|
|
@@ -309,13 +309,13 @@ class ConversationsApi {
|
|
|
309
309
|
return this.apiClient.callApi(
|
|
310
310
|
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
311
311
|
'DELETE',
|
|
312
|
-
{ 'supportedContentId': supportedContentId },
|
|
313
|
-
{ },
|
|
314
|
-
{ },
|
|
315
|
-
{ },
|
|
312
|
+
{ 'supportedContentId': supportedContentId },
|
|
313
|
+
{ },
|
|
314
|
+
{ },
|
|
315
|
+
{ },
|
|
316
316
|
null,
|
|
317
317
|
['PureCloud OAuth'],
|
|
318
|
-
['application/json'],
|
|
318
|
+
['application/json'],
|
|
319
319
|
['application/json']
|
|
320
320
|
);
|
|
321
321
|
}
|
|
@@ -334,13 +334,13 @@ class ConversationsApi {
|
|
|
334
334
|
return this.apiClient.callApi(
|
|
335
335
|
'/api/v2/analytics/conversations/{conversationId}/details',
|
|
336
336
|
'GET',
|
|
337
|
-
{ 'conversationId': conversationId },
|
|
338
|
-
{ },
|
|
339
|
-
{ },
|
|
340
|
-
{ },
|
|
337
|
+
{ 'conversationId': conversationId },
|
|
338
|
+
{ },
|
|
339
|
+
{ },
|
|
340
|
+
{ },
|
|
341
341
|
null,
|
|
342
342
|
['PureCloud OAuth'],
|
|
343
|
-
['application/json'],
|
|
343
|
+
['application/json'],
|
|
344
344
|
['application/json']
|
|
345
345
|
);
|
|
346
346
|
}
|
|
@@ -358,13 +358,13 @@ class ConversationsApi {
|
|
|
358
358
|
return this.apiClient.callApi(
|
|
359
359
|
'/api/v2/analytics/conversations/details',
|
|
360
360
|
'GET',
|
|
361
|
-
{ },
|
|
362
|
-
{ 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
363
|
-
{ },
|
|
364
|
-
{ },
|
|
361
|
+
{ },
|
|
362
|
+
{ 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
363
|
+
{ },
|
|
364
|
+
{ },
|
|
365
365
|
null,
|
|
366
366
|
['PureCloud OAuth'],
|
|
367
|
-
['application/json'],
|
|
367
|
+
['application/json'],
|
|
368
368
|
['application/json']
|
|
369
369
|
);
|
|
370
370
|
}
|
|
@@ -383,13 +383,13 @@ class ConversationsApi {
|
|
|
383
383
|
return this.apiClient.callApi(
|
|
384
384
|
'/api/v2/analytics/conversations/details/jobs/{jobId}',
|
|
385
385
|
'GET',
|
|
386
|
-
{ 'jobId': jobId },
|
|
387
|
-
{ },
|
|
388
|
-
{ },
|
|
389
|
-
{ },
|
|
386
|
+
{ 'jobId': jobId },
|
|
387
|
+
{ },
|
|
388
|
+
{ },
|
|
389
|
+
{ },
|
|
390
390
|
null,
|
|
391
391
|
['PureCloud OAuth'],
|
|
392
|
-
['application/json'],
|
|
392
|
+
['application/json'],
|
|
393
393
|
['application/json']
|
|
394
394
|
);
|
|
395
395
|
}
|
|
@@ -413,13 +413,13 @@ class ConversationsApi {
|
|
|
413
413
|
return this.apiClient.callApi(
|
|
414
414
|
'/api/v2/analytics/conversations/details/jobs/{jobId}/results',
|
|
415
415
|
'GET',
|
|
416
|
-
{ 'jobId': jobId },
|
|
417
|
-
{ 'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
|
|
418
|
-
{ },
|
|
419
|
-
{ },
|
|
416
|
+
{ 'jobId': jobId },
|
|
417
|
+
{ 'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
|
|
418
|
+
{ },
|
|
419
|
+
{ },
|
|
420
420
|
null,
|
|
421
421
|
['PureCloud OAuth'],
|
|
422
|
-
['application/json'],
|
|
422
|
+
['application/json'],
|
|
423
423
|
['application/json']
|
|
424
424
|
);
|
|
425
425
|
}
|
|
@@ -433,13 +433,13 @@ class ConversationsApi {
|
|
|
433
433
|
return this.apiClient.callApi(
|
|
434
434
|
'/api/v2/analytics/conversations/details/jobs/availability',
|
|
435
435
|
'GET',
|
|
436
|
-
{ },
|
|
437
|
-
{ },
|
|
438
|
-
{ },
|
|
439
|
-
{ },
|
|
436
|
+
{ },
|
|
437
|
+
{ },
|
|
438
|
+
{ },
|
|
439
|
+
{ },
|
|
440
440
|
null,
|
|
441
441
|
['PureCloud OAuth'],
|
|
442
|
-
['application/json'],
|
|
442
|
+
['application/json'],
|
|
443
443
|
['application/json']
|
|
444
444
|
);
|
|
445
445
|
}
|
|
@@ -458,13 +458,13 @@ class ConversationsApi {
|
|
|
458
458
|
return this.apiClient.callApi(
|
|
459
459
|
'/api/v2/conversations/{conversationId}',
|
|
460
460
|
'GET',
|
|
461
|
-
{ 'conversationId': conversationId },
|
|
462
|
-
{ },
|
|
463
|
-
{ },
|
|
464
|
-
{ },
|
|
461
|
+
{ 'conversationId': conversationId },
|
|
462
|
+
{ },
|
|
463
|
+
{ },
|
|
464
|
+
{ },
|
|
465
465
|
null,
|
|
466
466
|
['PureCloud OAuth'],
|
|
467
|
-
['application/json'],
|
|
467
|
+
['application/json'],
|
|
468
468
|
['application/json']
|
|
469
469
|
);
|
|
470
470
|
}
|
|
@@ -493,13 +493,13 @@ class ConversationsApi {
|
|
|
493
493
|
return this.apiClient.callApi(
|
|
494
494
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions/{secureSessionId}',
|
|
495
495
|
'GET',
|
|
496
|
-
{ 'conversationId': conversationId,'participantId': participantId,'secureSessionId': secureSessionId },
|
|
497
|
-
{ },
|
|
498
|
-
{ },
|
|
499
|
-
{ },
|
|
496
|
+
{ 'conversationId': conversationId,'participantId': participantId,'secureSessionId': secureSessionId },
|
|
497
|
+
{ },
|
|
498
|
+
{ },
|
|
499
|
+
{ },
|
|
500
500
|
null,
|
|
501
501
|
['PureCloud OAuth'],
|
|
502
|
-
['application/json'],
|
|
502
|
+
['application/json'],
|
|
503
503
|
['application/json']
|
|
504
504
|
);
|
|
505
505
|
}
|
|
@@ -523,13 +523,13 @@ class ConversationsApi {
|
|
|
523
523
|
return this.apiClient.callApi(
|
|
524
524
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions',
|
|
525
525
|
'GET',
|
|
526
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
527
|
-
{ },
|
|
528
|
-
{ },
|
|
529
|
-
{ },
|
|
526
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
527
|
+
{ },
|
|
528
|
+
{ },
|
|
529
|
+
{ },
|
|
530
530
|
null,
|
|
531
531
|
['PureCloud OAuth'],
|
|
532
|
-
['application/json'],
|
|
532
|
+
['application/json'],
|
|
533
533
|
['application/json']
|
|
534
534
|
);
|
|
535
535
|
}
|
|
@@ -557,13 +557,13 @@ class ConversationsApi {
|
|
|
557
557
|
return this.apiClient.callApi(
|
|
558
558
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup',
|
|
559
559
|
'GET',
|
|
560
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
561
|
-
{ 'provisional': opts['provisional'] },
|
|
562
|
-
{ },
|
|
563
|
-
{ },
|
|
560
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
561
|
+
{ 'provisional': opts['provisional'] },
|
|
562
|
+
{ },
|
|
563
|
+
{ },
|
|
564
564
|
null,
|
|
565
565
|
['PureCloud OAuth'],
|
|
566
|
-
['application/json'],
|
|
566
|
+
['application/json'],
|
|
567
567
|
['application/json']
|
|
568
568
|
);
|
|
569
569
|
}
|
|
@@ -587,13 +587,13 @@ class ConversationsApi {
|
|
|
587
587
|
return this.apiClient.callApi(
|
|
588
588
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
589
589
|
'GET',
|
|
590
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
591
|
-
{ },
|
|
592
|
-
{ },
|
|
593
|
-
{ },
|
|
590
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
591
|
+
{ },
|
|
592
|
+
{ },
|
|
593
|
+
{ },
|
|
594
594
|
null,
|
|
595
595
|
['PureCloud OAuth'],
|
|
596
|
-
['application/json'],
|
|
596
|
+
['application/json'],
|
|
597
597
|
['application/json']
|
|
598
598
|
);
|
|
599
599
|
}
|
|
@@ -611,13 +611,13 @@ class ConversationsApi {
|
|
|
611
611
|
return this.apiClient.callApi(
|
|
612
612
|
'/api/v2/conversations',
|
|
613
613
|
'GET',
|
|
614
|
-
{ },
|
|
615
|
-
{ 'communicationType': opts['communicationType'] },
|
|
616
|
-
{ },
|
|
617
|
-
{ },
|
|
614
|
+
{ },
|
|
615
|
+
{ 'communicationType': opts['communicationType'] },
|
|
616
|
+
{ },
|
|
617
|
+
{ },
|
|
618
618
|
null,
|
|
619
619
|
['PureCloud OAuth'],
|
|
620
|
-
['application/json'],
|
|
620
|
+
['application/json'],
|
|
621
621
|
['application/json']
|
|
622
622
|
);
|
|
623
623
|
}
|
|
@@ -636,13 +636,13 @@ class ConversationsApi {
|
|
|
636
636
|
return this.apiClient.callApi(
|
|
637
637
|
'/api/v2/conversations/calls/{conversationId}',
|
|
638
638
|
'GET',
|
|
639
|
-
{ 'conversationId': conversationId },
|
|
640
|
-
{ },
|
|
641
|
-
{ },
|
|
642
|
-
{ },
|
|
639
|
+
{ 'conversationId': conversationId },
|
|
640
|
+
{ },
|
|
641
|
+
{ },
|
|
642
|
+
{ },
|
|
643
643
|
null,
|
|
644
644
|
['PureCloud OAuth'],
|
|
645
|
-
['application/json'],
|
|
645
|
+
['application/json'],
|
|
646
646
|
['application/json']
|
|
647
647
|
);
|
|
648
648
|
}
|
|
@@ -670,13 +670,13 @@ class ConversationsApi {
|
|
|
670
670
|
return this.apiClient.callApi(
|
|
671
671
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapup',
|
|
672
672
|
'GET',
|
|
673
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
674
|
-
{ 'provisional': opts['provisional'] },
|
|
675
|
-
{ },
|
|
676
|
-
{ },
|
|
673
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
674
|
+
{ 'provisional': opts['provisional'] },
|
|
675
|
+
{ },
|
|
676
|
+
{ },
|
|
677
677
|
null,
|
|
678
678
|
['PureCloud OAuth'],
|
|
679
|
-
['application/json'],
|
|
679
|
+
['application/json'],
|
|
680
680
|
['application/json']
|
|
681
681
|
);
|
|
682
682
|
}
|
|
@@ -700,13 +700,13 @@ class ConversationsApi {
|
|
|
700
700
|
return this.apiClient.callApi(
|
|
701
701
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
702
702
|
'GET',
|
|
703
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
704
|
-
{ },
|
|
705
|
-
{ },
|
|
706
|
-
{ },
|
|
703
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
704
|
+
{ },
|
|
705
|
+
{ },
|
|
706
|
+
{ },
|
|
707
707
|
null,
|
|
708
708
|
['PureCloud OAuth'],
|
|
709
|
-
['application/json'],
|
|
709
|
+
['application/json'],
|
|
710
710
|
['application/json']
|
|
711
711
|
);
|
|
712
712
|
}
|
|
@@ -725,13 +725,13 @@ class ConversationsApi {
|
|
|
725
725
|
return this.apiClient.callApi(
|
|
726
726
|
'/api/v2/conversations/callbacks/{conversationId}',
|
|
727
727
|
'GET',
|
|
728
|
-
{ 'conversationId': conversationId },
|
|
729
|
-
{ },
|
|
730
|
-
{ },
|
|
731
|
-
{ },
|
|
728
|
+
{ 'conversationId': conversationId },
|
|
729
|
+
{ },
|
|
730
|
+
{ },
|
|
731
|
+
{ },
|
|
732
732
|
null,
|
|
733
733
|
['PureCloud OAuth'],
|
|
734
|
-
['application/json'],
|
|
734
|
+
['application/json'],
|
|
735
735
|
['application/json']
|
|
736
736
|
);
|
|
737
737
|
}
|
|
@@ -759,13 +759,13 @@ class ConversationsApi {
|
|
|
759
759
|
return this.apiClient.callApi(
|
|
760
760
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup',
|
|
761
761
|
'GET',
|
|
762
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
763
|
-
{ 'provisional': opts['provisional'] },
|
|
764
|
-
{ },
|
|
765
|
-
{ },
|
|
762
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
763
|
+
{ 'provisional': opts['provisional'] },
|
|
764
|
+
{ },
|
|
765
|
+
{ },
|
|
766
766
|
null,
|
|
767
767
|
['PureCloud OAuth'],
|
|
768
|
-
['application/json'],
|
|
768
|
+
['application/json'],
|
|
769
769
|
['application/json']
|
|
770
770
|
);
|
|
771
771
|
}
|
|
@@ -789,13 +789,13 @@ class ConversationsApi {
|
|
|
789
789
|
return this.apiClient.callApi(
|
|
790
790
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
791
791
|
'GET',
|
|
792
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
793
|
-
{ },
|
|
794
|
-
{ },
|
|
795
|
-
{ },
|
|
792
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
793
|
+
{ },
|
|
794
|
+
{ },
|
|
795
|
+
{ },
|
|
796
796
|
null,
|
|
797
797
|
['PureCloud OAuth'],
|
|
798
|
-
['application/json'],
|
|
798
|
+
['application/json'],
|
|
799
799
|
['application/json']
|
|
800
800
|
);
|
|
801
801
|
}
|
|
@@ -809,13 +809,13 @@ class ConversationsApi {
|
|
|
809
809
|
return this.apiClient.callApi(
|
|
810
810
|
'/api/v2/conversations/callbacks',
|
|
811
811
|
'GET',
|
|
812
|
-
{ },
|
|
813
|
-
{ },
|
|
814
|
-
{ },
|
|
815
|
-
{ },
|
|
812
|
+
{ },
|
|
813
|
+
{ },
|
|
814
|
+
{ },
|
|
815
|
+
{ },
|
|
816
816
|
null,
|
|
817
817
|
['PureCloud OAuth'],
|
|
818
|
-
['application/json'],
|
|
818
|
+
['application/json'],
|
|
819
819
|
['application/json']
|
|
820
820
|
);
|
|
821
821
|
}
|
|
@@ -829,13 +829,13 @@ class ConversationsApi {
|
|
|
829
829
|
return this.apiClient.callApi(
|
|
830
830
|
'/api/v2/conversations/calls',
|
|
831
831
|
'GET',
|
|
832
|
-
{ },
|
|
833
|
-
{ },
|
|
834
|
-
{ },
|
|
835
|
-
{ },
|
|
832
|
+
{ },
|
|
833
|
+
{ },
|
|
834
|
+
{ },
|
|
835
|
+
{ },
|
|
836
836
|
null,
|
|
837
837
|
['PureCloud OAuth'],
|
|
838
|
-
['application/json'],
|
|
838
|
+
['application/json'],
|
|
839
839
|
['application/json']
|
|
840
840
|
);
|
|
841
841
|
}
|
|
@@ -846,7 +846,7 @@ class ConversationsApi {
|
|
|
846
846
|
* @param {Object} opts Optional parameters
|
|
847
847
|
* @param {Number} opts.pageSize Page size, maximum 50 (default to 25)
|
|
848
848
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
849
|
-
* @param {String} opts.interval Interval string; format is ISO-8601. Separate start and end times with forward slash
|
|
849
|
+
* @param {String} opts.interval Interval string; format is ISO-8601. Separate start and end times with forward slash '/'
|
|
850
850
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
851
851
|
*/
|
|
852
852
|
getConversationsCallsHistory(opts) {
|
|
@@ -856,13 +856,13 @@ class ConversationsApi {
|
|
|
856
856
|
return this.apiClient.callApi(
|
|
857
857
|
'/api/v2/conversations/calls/history',
|
|
858
858
|
'GET',
|
|
859
|
-
{ },
|
|
860
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'interval': opts['interval'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
861
|
-
{ },
|
|
862
|
-
{ },
|
|
859
|
+
{ },
|
|
860
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'interval': opts['interval'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
861
|
+
{ },
|
|
862
|
+
{ },
|
|
863
863
|
null,
|
|
864
864
|
['PureCloud OAuth'],
|
|
865
|
-
['application/json'],
|
|
865
|
+
['application/json'],
|
|
866
866
|
['application/json']
|
|
867
867
|
);
|
|
868
868
|
}
|
|
@@ -876,13 +876,13 @@ class ConversationsApi {
|
|
|
876
876
|
return this.apiClient.callApi(
|
|
877
877
|
'/api/v2/conversations/calls/maximumconferenceparties',
|
|
878
878
|
'GET',
|
|
879
|
-
{ },
|
|
880
|
-
{ },
|
|
881
|
-
{ },
|
|
882
|
-
{ },
|
|
879
|
+
{ },
|
|
880
|
+
{ },
|
|
881
|
+
{ },
|
|
882
|
+
{ },
|
|
883
883
|
null,
|
|
884
884
|
['PureCloud OAuth'],
|
|
885
|
-
['application/json'],
|
|
885
|
+
['application/json'],
|
|
886
886
|
['application/json']
|
|
887
887
|
);
|
|
888
888
|
}
|
|
@@ -901,13 +901,13 @@ class ConversationsApi {
|
|
|
901
901
|
return this.apiClient.callApi(
|
|
902
902
|
'/api/v2/conversations/chats/{conversationId}',
|
|
903
903
|
'GET',
|
|
904
|
-
{ 'conversationId': conversationId },
|
|
905
|
-
{ },
|
|
906
|
-
{ },
|
|
907
|
-
{ },
|
|
904
|
+
{ 'conversationId': conversationId },
|
|
905
|
+
{ },
|
|
906
|
+
{ },
|
|
907
|
+
{ },
|
|
908
908
|
null,
|
|
909
909
|
['PureCloud OAuth'],
|
|
910
|
-
['application/json'],
|
|
910
|
+
['application/json'],
|
|
911
911
|
['application/json']
|
|
912
912
|
);
|
|
913
913
|
}
|
|
@@ -931,13 +931,13 @@ class ConversationsApi {
|
|
|
931
931
|
return this.apiClient.callApi(
|
|
932
932
|
'/api/v2/conversations/chats/{conversationId}/messages/{messageId}',
|
|
933
933
|
'GET',
|
|
934
|
-
{ 'conversationId': conversationId,'messageId': messageId },
|
|
935
|
-
{ },
|
|
936
|
-
{ },
|
|
937
|
-
{ },
|
|
934
|
+
{ 'conversationId': conversationId,'messageId': messageId },
|
|
935
|
+
{ },
|
|
936
|
+
{ },
|
|
937
|
+
{ },
|
|
938
938
|
null,
|
|
939
939
|
['PureCloud OAuth'],
|
|
940
|
-
['application/json'],
|
|
940
|
+
['application/json'],
|
|
941
941
|
['application/json']
|
|
942
942
|
);
|
|
943
943
|
}
|
|
@@ -963,13 +963,13 @@ class ConversationsApi {
|
|
|
963
963
|
return this.apiClient.callApi(
|
|
964
964
|
'/api/v2/conversations/chats/{conversationId}/messages',
|
|
965
965
|
'GET',
|
|
966
|
-
{ 'conversationId': conversationId },
|
|
967
|
-
{ 'after': opts['after'],'before': opts['before'],'sortOrder': opts['sortOrder'],'maxResults': opts['maxResults'] },
|
|
968
|
-
{ },
|
|
969
|
-
{ },
|
|
966
|
+
{ 'conversationId': conversationId },
|
|
967
|
+
{ 'after': opts['after'],'before': opts['before'],'sortOrder': opts['sortOrder'],'maxResults': opts['maxResults'] },
|
|
968
|
+
{ },
|
|
969
|
+
{ },
|
|
970
970
|
null,
|
|
971
971
|
['PureCloud OAuth'],
|
|
972
|
-
['application/json'],
|
|
972
|
+
['application/json'],
|
|
973
973
|
['application/json']
|
|
974
974
|
);
|
|
975
975
|
}
|
|
@@ -997,13 +997,13 @@ class ConversationsApi {
|
|
|
997
997
|
return this.apiClient.callApi(
|
|
998
998
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapup',
|
|
999
999
|
'GET',
|
|
1000
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1001
|
-
{ 'provisional': opts['provisional'] },
|
|
1002
|
-
{ },
|
|
1003
|
-
{ },
|
|
1000
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1001
|
+
{ 'provisional': opts['provisional'] },
|
|
1002
|
+
{ },
|
|
1003
|
+
{ },
|
|
1004
1004
|
null,
|
|
1005
1005
|
['PureCloud OAuth'],
|
|
1006
|
-
['application/json'],
|
|
1006
|
+
['application/json'],
|
|
1007
1007
|
['application/json']
|
|
1008
1008
|
);
|
|
1009
1009
|
}
|
|
@@ -1027,13 +1027,13 @@ class ConversationsApi {
|
|
|
1027
1027
|
return this.apiClient.callApi(
|
|
1028
1028
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
1029
1029
|
'GET',
|
|
1030
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1031
|
-
{ },
|
|
1032
|
-
{ },
|
|
1033
|
-
{ },
|
|
1030
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1031
|
+
{ },
|
|
1032
|
+
{ },
|
|
1033
|
+
{ },
|
|
1034
1034
|
null,
|
|
1035
1035
|
['PureCloud OAuth'],
|
|
1036
|
-
['application/json'],
|
|
1036
|
+
['application/json'],
|
|
1037
1037
|
['application/json']
|
|
1038
1038
|
);
|
|
1039
1039
|
}
|
|
@@ -1047,13 +1047,13 @@ class ConversationsApi {
|
|
|
1047
1047
|
return this.apiClient.callApi(
|
|
1048
1048
|
'/api/v2/conversations/chats',
|
|
1049
1049
|
'GET',
|
|
1050
|
-
{ },
|
|
1051
|
-
{ },
|
|
1052
|
-
{ },
|
|
1053
|
-
{ },
|
|
1050
|
+
{ },
|
|
1051
|
+
{ },
|
|
1052
|
+
{ },
|
|
1053
|
+
{ },
|
|
1054
1054
|
null,
|
|
1055
1055
|
['PureCloud OAuth'],
|
|
1056
|
-
['application/json'],
|
|
1056
|
+
['application/json'],
|
|
1057
1057
|
['application/json']
|
|
1058
1058
|
);
|
|
1059
1059
|
}
|
|
@@ -1072,13 +1072,13 @@ class ConversationsApi {
|
|
|
1072
1072
|
return this.apiClient.callApi(
|
|
1073
1073
|
'/api/v2/conversations/cobrowsesessions/{conversationId}',
|
|
1074
1074
|
'GET',
|
|
1075
|
-
{ 'conversationId': conversationId },
|
|
1076
|
-
{ },
|
|
1077
|
-
{ },
|
|
1078
|
-
{ },
|
|
1075
|
+
{ 'conversationId': conversationId },
|
|
1076
|
+
{ },
|
|
1077
|
+
{ },
|
|
1078
|
+
{ },
|
|
1079
1079
|
null,
|
|
1080
1080
|
['PureCloud OAuth'],
|
|
1081
|
-
['application/json'],
|
|
1081
|
+
['application/json'],
|
|
1082
1082
|
['application/json']
|
|
1083
1083
|
);
|
|
1084
1084
|
}
|
|
@@ -1106,13 +1106,13 @@ class ConversationsApi {
|
|
|
1106
1106
|
return this.apiClient.callApi(
|
|
1107
1107
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapup',
|
|
1108
1108
|
'GET',
|
|
1109
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1110
|
-
{ 'provisional': opts['provisional'] },
|
|
1111
|
-
{ },
|
|
1112
|
-
{ },
|
|
1109
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1110
|
+
{ 'provisional': opts['provisional'] },
|
|
1111
|
+
{ },
|
|
1112
|
+
{ },
|
|
1113
1113
|
null,
|
|
1114
1114
|
['PureCloud OAuth'],
|
|
1115
|
-
['application/json'],
|
|
1115
|
+
['application/json'],
|
|
1116
1116
|
['application/json']
|
|
1117
1117
|
);
|
|
1118
1118
|
}
|
|
@@ -1136,13 +1136,13 @@ class ConversationsApi {
|
|
|
1136
1136
|
return this.apiClient.callApi(
|
|
1137
1137
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
1138
1138
|
'GET',
|
|
1139
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1140
|
-
{ },
|
|
1141
|
-
{ },
|
|
1142
|
-
{ },
|
|
1139
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1140
|
+
{ },
|
|
1141
|
+
{ },
|
|
1142
|
+
{ },
|
|
1143
1143
|
null,
|
|
1144
1144
|
['PureCloud OAuth'],
|
|
1145
|
-
['application/json'],
|
|
1145
|
+
['application/json'],
|
|
1146
1146
|
['application/json']
|
|
1147
1147
|
);
|
|
1148
1148
|
}
|
|
@@ -1156,13 +1156,13 @@ class ConversationsApi {
|
|
|
1156
1156
|
return this.apiClient.callApi(
|
|
1157
1157
|
'/api/v2/conversations/cobrowsesessions',
|
|
1158
1158
|
'GET',
|
|
1159
|
-
{ },
|
|
1160
|
-
{ },
|
|
1161
|
-
{ },
|
|
1162
|
-
{ },
|
|
1159
|
+
{ },
|
|
1160
|
+
{ },
|
|
1161
|
+
{ },
|
|
1162
|
+
{ },
|
|
1163
1163
|
null,
|
|
1164
1164
|
['PureCloud OAuth'],
|
|
1165
|
-
['application/json'],
|
|
1165
|
+
['application/json'],
|
|
1166
1166
|
['application/json']
|
|
1167
1167
|
);
|
|
1168
1168
|
}
|
|
@@ -1181,13 +1181,13 @@ class ConversationsApi {
|
|
|
1181
1181
|
return this.apiClient.callApi(
|
|
1182
1182
|
'/api/v2/conversations/emails/{conversationId}',
|
|
1183
1183
|
'GET',
|
|
1184
|
-
{ 'conversationId': conversationId },
|
|
1185
|
-
{ },
|
|
1186
|
-
{ },
|
|
1187
|
-
{ },
|
|
1184
|
+
{ 'conversationId': conversationId },
|
|
1185
|
+
{ },
|
|
1186
|
+
{ },
|
|
1187
|
+
{ },
|
|
1188
1188
|
null,
|
|
1189
1189
|
['PureCloud OAuth'],
|
|
1190
|
-
['application/json'],
|
|
1190
|
+
['application/json'],
|
|
1191
1191
|
['application/json']
|
|
1192
1192
|
);
|
|
1193
1193
|
}
|
|
@@ -1211,13 +1211,13 @@ class ConversationsApi {
|
|
|
1211
1211
|
return this.apiClient.callApi(
|
|
1212
1212
|
'/api/v2/conversations/emails/{conversationId}/messages/{messageId}',
|
|
1213
1213
|
'GET',
|
|
1214
|
-
{ 'conversationId': conversationId,'messageId': messageId },
|
|
1215
|
-
{ },
|
|
1216
|
-
{ },
|
|
1217
|
-
{ },
|
|
1214
|
+
{ 'conversationId': conversationId,'messageId': messageId },
|
|
1215
|
+
{ },
|
|
1216
|
+
{ },
|
|
1217
|
+
{ },
|
|
1218
1218
|
null,
|
|
1219
1219
|
['PureCloud OAuth'],
|
|
1220
|
-
['application/json'],
|
|
1220
|
+
['application/json'],
|
|
1221
1221
|
['application/json']
|
|
1222
1222
|
);
|
|
1223
1223
|
}
|
|
@@ -1236,13 +1236,13 @@ class ConversationsApi {
|
|
|
1236
1236
|
return this.apiClient.callApi(
|
|
1237
1237
|
'/api/v2/conversations/emails/{conversationId}/messages',
|
|
1238
1238
|
'GET',
|
|
1239
|
-
{ 'conversationId': conversationId },
|
|
1240
|
-
{ },
|
|
1241
|
-
{ },
|
|
1242
|
-
{ },
|
|
1239
|
+
{ 'conversationId': conversationId },
|
|
1240
|
+
{ },
|
|
1241
|
+
{ },
|
|
1242
|
+
{ },
|
|
1243
1243
|
null,
|
|
1244
1244
|
['PureCloud OAuth'],
|
|
1245
|
-
['application/json'],
|
|
1245
|
+
['application/json'],
|
|
1246
1246
|
['application/json']
|
|
1247
1247
|
);
|
|
1248
1248
|
}
|
|
@@ -1261,13 +1261,13 @@ class ConversationsApi {
|
|
|
1261
1261
|
return this.apiClient.callApi(
|
|
1262
1262
|
'/api/v2/conversations/emails/{conversationId}/messages/draft',
|
|
1263
1263
|
'GET',
|
|
1264
|
-
{ 'conversationId': conversationId },
|
|
1265
|
-
{ },
|
|
1266
|
-
{ },
|
|
1267
|
-
{ },
|
|
1264
|
+
{ 'conversationId': conversationId },
|
|
1265
|
+
{ },
|
|
1266
|
+
{ },
|
|
1267
|
+
{ },
|
|
1268
1268
|
null,
|
|
1269
1269
|
['PureCloud OAuth'],
|
|
1270
|
-
['application/json'],
|
|
1270
|
+
['application/json'],
|
|
1271
1271
|
['application/json']
|
|
1272
1272
|
);
|
|
1273
1273
|
}
|
|
@@ -1295,13 +1295,13 @@ class ConversationsApi {
|
|
|
1295
1295
|
return this.apiClient.callApi(
|
|
1296
1296
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapup',
|
|
1297
1297
|
'GET',
|
|
1298
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1299
|
-
{ 'provisional': opts['provisional'] },
|
|
1300
|
-
{ },
|
|
1301
|
-
{ },
|
|
1298
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1299
|
+
{ 'provisional': opts['provisional'] },
|
|
1300
|
+
{ },
|
|
1301
|
+
{ },
|
|
1302
1302
|
null,
|
|
1303
1303
|
['PureCloud OAuth'],
|
|
1304
|
-
['application/json'],
|
|
1304
|
+
['application/json'],
|
|
1305
1305
|
['application/json']
|
|
1306
1306
|
);
|
|
1307
1307
|
}
|
|
@@ -1325,13 +1325,13 @@ class ConversationsApi {
|
|
|
1325
1325
|
return this.apiClient.callApi(
|
|
1326
1326
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
1327
1327
|
'GET',
|
|
1328
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1329
|
-
{ },
|
|
1330
|
-
{ },
|
|
1331
|
-
{ },
|
|
1328
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1329
|
+
{ },
|
|
1330
|
+
{ },
|
|
1331
|
+
{ },
|
|
1332
1332
|
null,
|
|
1333
1333
|
['PureCloud OAuth'],
|
|
1334
|
-
['application/json'],
|
|
1334
|
+
['application/json'],
|
|
1335
1335
|
['application/json']
|
|
1336
1336
|
);
|
|
1337
1337
|
}
|
|
@@ -1350,13 +1350,13 @@ class ConversationsApi {
|
|
|
1350
1350
|
return this.apiClient.callApi(
|
|
1351
1351
|
'/api/v2/conversations/emails/{conversationId}/settings',
|
|
1352
1352
|
'GET',
|
|
1353
|
-
{ 'conversationId': conversationId },
|
|
1354
|
-
{ },
|
|
1355
|
-
{ },
|
|
1356
|
-
{ },
|
|
1353
|
+
{ 'conversationId': conversationId },
|
|
1354
|
+
{ },
|
|
1355
|
+
{ },
|
|
1356
|
+
{ },
|
|
1357
1357
|
null,
|
|
1358
1358
|
['PureCloud OAuth'],
|
|
1359
|
-
['application/json'],
|
|
1359
|
+
['application/json'],
|
|
1360
1360
|
['application/json']
|
|
1361
1361
|
);
|
|
1362
1362
|
}
|
|
@@ -1370,13 +1370,13 @@ class ConversationsApi {
|
|
|
1370
1370
|
return this.apiClient.callApi(
|
|
1371
1371
|
'/api/v2/conversations/emails',
|
|
1372
1372
|
'GET',
|
|
1373
|
-
{ },
|
|
1374
|
-
{ },
|
|
1375
|
-
{ },
|
|
1376
|
-
{ },
|
|
1373
|
+
{ },
|
|
1374
|
+
{ },
|
|
1375
|
+
{ },
|
|
1376
|
+
{ },
|
|
1377
1377
|
null,
|
|
1378
1378
|
['PureCloud OAuth'],
|
|
1379
|
-
['application/json'],
|
|
1379
|
+
['application/json'],
|
|
1380
1380
|
['application/json']
|
|
1381
1381
|
);
|
|
1382
1382
|
}
|
|
@@ -1395,13 +1395,13 @@ class ConversationsApi {
|
|
|
1395
1395
|
return this.apiClient.callApi(
|
|
1396
1396
|
'/api/v2/conversations/messages/{conversationId}',
|
|
1397
1397
|
'GET',
|
|
1398
|
-
{ 'conversationId': conversationId },
|
|
1399
|
-
{ },
|
|
1400
|
-
{ },
|
|
1401
|
-
{ },
|
|
1398
|
+
{ 'conversationId': conversationId },
|
|
1399
|
+
{ },
|
|
1400
|
+
{ },
|
|
1401
|
+
{ },
|
|
1402
1402
|
null,
|
|
1403
1403
|
['PureCloud OAuth'],
|
|
1404
|
-
['application/json'],
|
|
1404
|
+
['application/json'],
|
|
1405
1405
|
['application/json']
|
|
1406
1406
|
);
|
|
1407
1407
|
}
|
|
@@ -1430,13 +1430,13 @@ class ConversationsApi {
|
|
|
1430
1430
|
return this.apiClient.callApi(
|
|
1431
1431
|
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/{mediaId}',
|
|
1432
1432
|
'GET',
|
|
1433
|
-
{ 'conversationId': conversationId,'communicationId': communicationId,'mediaId': mediaId },
|
|
1434
|
-
{ },
|
|
1435
|
-
{ },
|
|
1436
|
-
{ },
|
|
1433
|
+
{ 'conversationId': conversationId,'communicationId': communicationId,'mediaId': mediaId },
|
|
1434
|
+
{ },
|
|
1435
|
+
{ },
|
|
1436
|
+
{ },
|
|
1437
1437
|
null,
|
|
1438
1438
|
['PureCloud OAuth'],
|
|
1439
|
-
['application/json'],
|
|
1439
|
+
['application/json'],
|
|
1440
1440
|
['application/json']
|
|
1441
1441
|
);
|
|
1442
1442
|
}
|
|
@@ -1455,13 +1455,13 @@ class ConversationsApi {
|
|
|
1455
1455
|
return this.apiClient.callApi(
|
|
1456
1456
|
'/api/v2/conversations/messages/{messageId}/details',
|
|
1457
1457
|
'GET',
|
|
1458
|
-
{ 'messageId': messageId },
|
|
1459
|
-
{ },
|
|
1460
|
-
{ },
|
|
1461
|
-
{ },
|
|
1458
|
+
{ 'messageId': messageId },
|
|
1459
|
+
{ },
|
|
1460
|
+
{ },
|
|
1461
|
+
{ },
|
|
1462
1462
|
null,
|
|
1463
1463
|
['PureCloud OAuth'],
|
|
1464
|
-
['application/json'],
|
|
1464
|
+
['application/json'],
|
|
1465
1465
|
['application/json']
|
|
1466
1466
|
);
|
|
1467
1467
|
}
|
|
@@ -1485,13 +1485,13 @@ class ConversationsApi {
|
|
|
1485
1485
|
return this.apiClient.callApi(
|
|
1486
1486
|
'/api/v2/conversations/messages/{conversationId}/messages/{messageId}',
|
|
1487
1487
|
'GET',
|
|
1488
|
-
{ 'conversationId': conversationId,'messageId': messageId },
|
|
1489
|
-
{ },
|
|
1490
|
-
{ },
|
|
1491
|
-
{ },
|
|
1488
|
+
{ 'conversationId': conversationId,'messageId': messageId },
|
|
1489
|
+
{ },
|
|
1490
|
+
{ },
|
|
1491
|
+
{ },
|
|
1492
1492
|
null,
|
|
1493
1493
|
['PureCloud OAuth'],
|
|
1494
|
-
['application/json'],
|
|
1494
|
+
['application/json'],
|
|
1495
1495
|
['application/json']
|
|
1496
1496
|
);
|
|
1497
1497
|
}
|
|
@@ -1519,13 +1519,13 @@ class ConversationsApi {
|
|
|
1519
1519
|
return this.apiClient.callApi(
|
|
1520
1520
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapup',
|
|
1521
1521
|
'GET',
|
|
1522
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1523
|
-
{ 'provisional': opts['provisional'] },
|
|
1524
|
-
{ },
|
|
1525
|
-
{ },
|
|
1522
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1523
|
+
{ 'provisional': opts['provisional'] },
|
|
1524
|
+
{ },
|
|
1525
|
+
{ },
|
|
1526
1526
|
null,
|
|
1527
1527
|
['PureCloud OAuth'],
|
|
1528
|
-
['application/json'],
|
|
1528
|
+
['application/json'],
|
|
1529
1529
|
['application/json']
|
|
1530
1530
|
);
|
|
1531
1531
|
}
|
|
@@ -1549,13 +1549,13 @@ class ConversationsApi {
|
|
|
1549
1549
|
return this.apiClient.callApi(
|
|
1550
1550
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes',
|
|
1551
1551
|
'GET',
|
|
1552
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1553
|
-
{ },
|
|
1554
|
-
{ },
|
|
1555
|
-
{ },
|
|
1552
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
1553
|
+
{ },
|
|
1554
|
+
{ },
|
|
1555
|
+
{ },
|
|
1556
1556
|
null,
|
|
1557
1557
|
['PureCloud OAuth'],
|
|
1558
|
-
['application/json'],
|
|
1558
|
+
['application/json'],
|
|
1559
1559
|
['application/json']
|
|
1560
1560
|
);
|
|
1561
1561
|
}
|
|
@@ -1569,13 +1569,13 @@ class ConversationsApi {
|
|
|
1569
1569
|
return this.apiClient.callApi(
|
|
1570
1570
|
'/api/v2/conversations/messages',
|
|
1571
1571
|
'GET',
|
|
1572
|
-
{ },
|
|
1573
|
-
{ },
|
|
1574
|
-
{ },
|
|
1575
|
-
{ },
|
|
1572
|
+
{ },
|
|
1573
|
+
{ },
|
|
1574
|
+
{ },
|
|
1575
|
+
{ },
|
|
1576
1576
|
null,
|
|
1577
1577
|
['PureCloud OAuth'],
|
|
1578
|
-
['application/json'],
|
|
1578
|
+
['application/json'],
|
|
1579
1579
|
['application/json']
|
|
1580
1580
|
);
|
|
1581
1581
|
}
|
|
@@ -1589,13 +1589,13 @@ class ConversationsApi {
|
|
|
1589
1589
|
return this.apiClient.callApi(
|
|
1590
1590
|
'/api/v2/conversations/messaging/facebook/app',
|
|
1591
1591
|
'GET',
|
|
1592
|
-
{ },
|
|
1593
|
-
{ },
|
|
1594
|
-
{ },
|
|
1595
|
-
{ },
|
|
1592
|
+
{ },
|
|
1593
|
+
{ },
|
|
1594
|
+
{ },
|
|
1595
|
+
{ },
|
|
1596
1596
|
null,
|
|
1597
1597
|
['PureCloud OAuth'],
|
|
1598
|
-
['application/json'],
|
|
1598
|
+
['application/json'],
|
|
1599
1599
|
['application/json']
|
|
1600
1600
|
);
|
|
1601
1601
|
}
|
|
@@ -1616,13 +1616,13 @@ class ConversationsApi {
|
|
|
1616
1616
|
return this.apiClient.callApi(
|
|
1617
1617
|
'/api/v2/conversations/messaging/integrations',
|
|
1618
1618
|
'GET',
|
|
1619
|
-
{ },
|
|
1620
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1621
|
-
{ },
|
|
1622
|
-
{ },
|
|
1619
|
+
{ },
|
|
1620
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1621
|
+
{ },
|
|
1622
|
+
{ },
|
|
1623
1623
|
null,
|
|
1624
1624
|
['PureCloud OAuth'],
|
|
1625
|
-
['application/json'],
|
|
1625
|
+
['application/json'],
|
|
1626
1626
|
['application/json']
|
|
1627
1627
|
);
|
|
1628
1628
|
}
|
|
@@ -1643,13 +1643,13 @@ class ConversationsApi {
|
|
|
1643
1643
|
return this.apiClient.callApi(
|
|
1644
1644
|
'/api/v2/conversations/messaging/integrations/facebook',
|
|
1645
1645
|
'GET',
|
|
1646
|
-
{ },
|
|
1647
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1648
|
-
{ },
|
|
1649
|
-
{ },
|
|
1646
|
+
{ },
|
|
1647
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1648
|
+
{ },
|
|
1649
|
+
{ },
|
|
1650
1650
|
null,
|
|
1651
1651
|
['PureCloud OAuth'],
|
|
1652
|
-
['application/json'],
|
|
1652
|
+
['application/json'],
|
|
1653
1653
|
['application/json']
|
|
1654
1654
|
);
|
|
1655
1655
|
}
|
|
@@ -1672,13 +1672,13 @@ class ConversationsApi {
|
|
|
1672
1672
|
return this.apiClient.callApi(
|
|
1673
1673
|
'/api/v2/conversations/messaging/integrations/facebook/{integrationId}',
|
|
1674
1674
|
'GET',
|
|
1675
|
-
{ 'integrationId': integrationId },
|
|
1676
|
-
{ 'expand': opts['expand'] },
|
|
1677
|
-
{ },
|
|
1678
|
-
{ },
|
|
1675
|
+
{ 'integrationId': integrationId },
|
|
1676
|
+
{ 'expand': opts['expand'] },
|
|
1677
|
+
{ },
|
|
1678
|
+
{ },
|
|
1679
1679
|
null,
|
|
1680
1680
|
['PureCloud OAuth'],
|
|
1681
|
-
['application/json'],
|
|
1681
|
+
['application/json'],
|
|
1682
1682
|
['application/json']
|
|
1683
1683
|
);
|
|
1684
1684
|
}
|
|
@@ -1699,13 +1699,13 @@ class ConversationsApi {
|
|
|
1699
1699
|
return this.apiClient.callApi(
|
|
1700
1700
|
'/api/v2/conversations/messaging/integrations/line',
|
|
1701
1701
|
'GET',
|
|
1702
|
-
{ },
|
|
1703
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1704
|
-
{ },
|
|
1705
|
-
{ },
|
|
1702
|
+
{ },
|
|
1703
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1704
|
+
{ },
|
|
1705
|
+
{ },
|
|
1706
1706
|
null,
|
|
1707
1707
|
['PureCloud OAuth'],
|
|
1708
|
-
['application/json'],
|
|
1708
|
+
['application/json'],
|
|
1709
1709
|
['application/json']
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
@@ -1728,13 +1728,13 @@ class ConversationsApi {
|
|
|
1728
1728
|
return this.apiClient.callApi(
|
|
1729
1729
|
'/api/v2/conversations/messaging/integrations/line/{integrationId}',
|
|
1730
1730
|
'GET',
|
|
1731
|
-
{ 'integrationId': integrationId },
|
|
1732
|
-
{ 'expand': opts['expand'] },
|
|
1733
|
-
{ },
|
|
1734
|
-
{ },
|
|
1731
|
+
{ 'integrationId': integrationId },
|
|
1732
|
+
{ 'expand': opts['expand'] },
|
|
1733
|
+
{ },
|
|
1734
|
+
{ },
|
|
1735
1735
|
null,
|
|
1736
1736
|
['PureCloud OAuth'],
|
|
1737
|
-
['application/json'],
|
|
1737
|
+
['application/json'],
|
|
1738
1738
|
['application/json']
|
|
1739
1739
|
);
|
|
1740
1740
|
}
|
|
@@ -1755,13 +1755,13 @@ class ConversationsApi {
|
|
|
1755
1755
|
return this.apiClient.callApi(
|
|
1756
1756
|
'/api/v2/conversations/messaging/integrations/open',
|
|
1757
1757
|
'GET',
|
|
1758
|
-
{ },
|
|
1759
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1760
|
-
{ },
|
|
1761
|
-
{ },
|
|
1758
|
+
{ },
|
|
1759
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1760
|
+
{ },
|
|
1761
|
+
{ },
|
|
1762
1762
|
null,
|
|
1763
1763
|
['PureCloud OAuth'],
|
|
1764
|
-
['application/json'],
|
|
1764
|
+
['application/json'],
|
|
1765
1765
|
['application/json']
|
|
1766
1766
|
);
|
|
1767
1767
|
}
|
|
@@ -1784,13 +1784,13 @@ class ConversationsApi {
|
|
|
1784
1784
|
return this.apiClient.callApi(
|
|
1785
1785
|
'/api/v2/conversations/messaging/integrations/open/{integrationId}',
|
|
1786
1786
|
'GET',
|
|
1787
|
-
{ 'integrationId': integrationId },
|
|
1788
|
-
{ 'expand': opts['expand'] },
|
|
1789
|
-
{ },
|
|
1790
|
-
{ },
|
|
1787
|
+
{ 'integrationId': integrationId },
|
|
1788
|
+
{ 'expand': opts['expand'] },
|
|
1789
|
+
{ },
|
|
1790
|
+
{ },
|
|
1791
1791
|
null,
|
|
1792
1792
|
['PureCloud OAuth'],
|
|
1793
|
-
['application/json'],
|
|
1793
|
+
['application/json'],
|
|
1794
1794
|
['application/json']
|
|
1795
1795
|
);
|
|
1796
1796
|
}
|
|
@@ -1811,13 +1811,13 @@ class ConversationsApi {
|
|
|
1811
1811
|
return this.apiClient.callApi(
|
|
1812
1812
|
'/api/v2/conversations/messaging/integrations/twitter',
|
|
1813
1813
|
'GET',
|
|
1814
|
-
{ },
|
|
1815
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1816
|
-
{ },
|
|
1817
|
-
{ },
|
|
1814
|
+
{ },
|
|
1815
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1816
|
+
{ },
|
|
1817
|
+
{ },
|
|
1818
1818
|
null,
|
|
1819
1819
|
['PureCloud OAuth'],
|
|
1820
|
-
['application/json'],
|
|
1820
|
+
['application/json'],
|
|
1821
1821
|
['application/json']
|
|
1822
1822
|
);
|
|
1823
1823
|
}
|
|
@@ -1840,13 +1840,13 @@ class ConversationsApi {
|
|
|
1840
1840
|
return this.apiClient.callApi(
|
|
1841
1841
|
'/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
|
|
1842
1842
|
'GET',
|
|
1843
|
-
{ 'integrationId': integrationId },
|
|
1844
|
-
{ 'expand': opts['expand'] },
|
|
1845
|
-
{ },
|
|
1846
|
-
{ },
|
|
1843
|
+
{ 'integrationId': integrationId },
|
|
1844
|
+
{ 'expand': opts['expand'] },
|
|
1845
|
+
{ },
|
|
1846
|
+
{ },
|
|
1847
1847
|
null,
|
|
1848
1848
|
['PureCloud OAuth'],
|
|
1849
|
-
['application/json'],
|
|
1849
|
+
['application/json'],
|
|
1850
1850
|
['application/json']
|
|
1851
1851
|
);
|
|
1852
1852
|
}
|
|
@@ -1867,13 +1867,13 @@ class ConversationsApi {
|
|
|
1867
1867
|
return this.apiClient.callApi(
|
|
1868
1868
|
'/api/v2/conversations/messaging/integrations/whatsapp',
|
|
1869
1869
|
'GET',
|
|
1870
|
-
{ },
|
|
1871
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1872
|
-
{ },
|
|
1873
|
-
{ },
|
|
1870
|
+
{ },
|
|
1871
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
1872
|
+
{ },
|
|
1873
|
+
{ },
|
|
1874
1874
|
null,
|
|
1875
1875
|
['PureCloud OAuth'],
|
|
1876
|
-
['application/json'],
|
|
1876
|
+
['application/json'],
|
|
1877
1877
|
['application/json']
|
|
1878
1878
|
);
|
|
1879
1879
|
}
|
|
@@ -1896,13 +1896,13 @@ class ConversationsApi {
|
|
|
1896
1896
|
return this.apiClient.callApi(
|
|
1897
1897
|
'/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}',
|
|
1898
1898
|
'GET',
|
|
1899
|
-
{ 'integrationId': integrationId },
|
|
1900
|
-
{ 'expand': opts['expand'] },
|
|
1901
|
-
{ },
|
|
1902
|
-
{ },
|
|
1899
|
+
{ 'integrationId': integrationId },
|
|
1900
|
+
{ 'expand': opts['expand'] },
|
|
1901
|
+
{ },
|
|
1902
|
+
{ },
|
|
1903
1903
|
null,
|
|
1904
1904
|
['PureCloud OAuth'],
|
|
1905
|
-
['application/json'],
|
|
1905
|
+
['application/json'],
|
|
1906
1906
|
['application/json']
|
|
1907
1907
|
);
|
|
1908
1908
|
}
|
|
@@ -1926,13 +1926,13 @@ class ConversationsApi {
|
|
|
1926
1926
|
return this.apiClient.callApi(
|
|
1927
1927
|
'/api/v2/conversations/messaging/stickers/{messengerType}',
|
|
1928
1928
|
'GET',
|
|
1929
|
-
{ 'messengerType': messengerType },
|
|
1930
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1931
|
-
{ },
|
|
1932
|
-
{ },
|
|
1929
|
+
{ 'messengerType': messengerType },
|
|
1930
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1931
|
+
{ },
|
|
1932
|
+
{ },
|
|
1933
1933
|
null,
|
|
1934
1934
|
['PureCloud OAuth'],
|
|
1935
|
-
['application/json'],
|
|
1935
|
+
['application/json'],
|
|
1936
1936
|
['application/json']
|
|
1937
1937
|
);
|
|
1938
1938
|
}
|
|
@@ -1951,19 +1951,19 @@ class ConversationsApi {
|
|
|
1951
1951
|
return this.apiClient.callApi(
|
|
1952
1952
|
'/api/v2/conversations/messaging/supportedcontent',
|
|
1953
1953
|
'GET',
|
|
1954
|
-
{ },
|
|
1955
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1956
|
-
{ },
|
|
1957
|
-
{ },
|
|
1954
|
+
{ },
|
|
1955
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1956
|
+
{ },
|
|
1957
|
+
{ },
|
|
1958
1958
|
null,
|
|
1959
1959
|
['PureCloud OAuth'],
|
|
1960
|
-
['application/json'],
|
|
1960
|
+
['application/json'],
|
|
1961
1961
|
['application/json']
|
|
1962
1962
|
);
|
|
1963
1963
|
}
|
|
1964
1964
|
|
|
1965
1965
|
/**
|
|
1966
|
-
* Get the organization
|
|
1966
|
+
* Get the organization's default supported content profile that will be used as the default when creating an integration.
|
|
1967
1967
|
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
1968
1968
|
*/
|
|
1969
1969
|
getConversationsMessagingSupportedcontentDefault() {
|
|
@@ -1971,13 +1971,13 @@ class ConversationsApi {
|
|
|
1971
1971
|
return this.apiClient.callApi(
|
|
1972
1972
|
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
1973
1973
|
'GET',
|
|
1974
|
-
{ },
|
|
1975
|
-
{ },
|
|
1976
|
-
{ },
|
|
1977
|
-
{ },
|
|
1974
|
+
{ },
|
|
1975
|
+
{ },
|
|
1976
|
+
{ },
|
|
1977
|
+
{ },
|
|
1978
1978
|
null,
|
|
1979
1979
|
['PureCloud OAuth'],
|
|
1980
|
-
['application/json'],
|
|
1980
|
+
['application/json'],
|
|
1981
1981
|
['application/json']
|
|
1982
1982
|
);
|
|
1983
1983
|
}
|
|
@@ -1996,13 +1996,13 @@ class ConversationsApi {
|
|
|
1996
1996
|
return this.apiClient.callApi(
|
|
1997
1997
|
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
1998
1998
|
'GET',
|
|
1999
|
-
{ 'supportedContentId': supportedContentId },
|
|
2000
|
-
{ },
|
|
2001
|
-
{ },
|
|
2002
|
-
{ },
|
|
1999
|
+
{ 'supportedContentId': supportedContentId },
|
|
2000
|
+
{ },
|
|
2001
|
+
{ },
|
|
2002
|
+
{ },
|
|
2003
2003
|
null,
|
|
2004
2004
|
['PureCloud OAuth'],
|
|
2005
|
-
['application/json'],
|
|
2005
|
+
['application/json'],
|
|
2006
2006
|
['application/json']
|
|
2007
2007
|
);
|
|
2008
2008
|
}
|
|
@@ -2016,13 +2016,13 @@ class ConversationsApi {
|
|
|
2016
2016
|
return this.apiClient.callApi(
|
|
2017
2017
|
'/api/v2/conversations/messaging/threadingtimeline',
|
|
2018
2018
|
'GET',
|
|
2019
|
-
{ },
|
|
2020
|
-
{ },
|
|
2021
|
-
{ },
|
|
2022
|
-
{ },
|
|
2019
|
+
{ },
|
|
2020
|
+
{ },
|
|
2021
|
+
{ },
|
|
2022
|
+
{ },
|
|
2023
2023
|
null,
|
|
2024
2024
|
['PureCloud OAuth'],
|
|
2025
|
-
['application/json'],
|
|
2025
|
+
['application/json'],
|
|
2026
2026
|
['application/json']
|
|
2027
2027
|
);
|
|
2028
2028
|
}
|
|
@@ -2051,13 +2051,13 @@ class ConversationsApi {
|
|
|
2051
2051
|
return this.apiClient.callApi(
|
|
2052
2052
|
'/api/v2/conversations/{conversationId}/participants/{participantId}',
|
|
2053
2053
|
'PATCH',
|
|
2054
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2055
|
-
{ },
|
|
2056
|
-
{ },
|
|
2057
|
-
{ },
|
|
2054
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2055
|
+
{ },
|
|
2056
|
+
{ },
|
|
2057
|
+
{ },
|
|
2058
2058
|
body,
|
|
2059
2059
|
['PureCloud OAuth'],
|
|
2060
|
-
['application/json'],
|
|
2060
|
+
['application/json'],
|
|
2061
2061
|
['application/json']
|
|
2062
2062
|
);
|
|
2063
2063
|
}
|
|
@@ -2086,13 +2086,13 @@ class ConversationsApi {
|
|
|
2086
2086
|
return this.apiClient.callApi(
|
|
2087
2087
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/attributes',
|
|
2088
2088
|
'PATCH',
|
|
2089
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2090
|
-
{ },
|
|
2091
|
-
{ },
|
|
2092
|
-
{ },
|
|
2089
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2090
|
+
{ },
|
|
2091
|
+
{ },
|
|
2092
|
+
{ },
|
|
2093
2093
|
body,
|
|
2094
2094
|
['PureCloud OAuth'],
|
|
2095
|
-
['application/json'],
|
|
2095
|
+
['application/json'],
|
|
2096
2096
|
['application/json']
|
|
2097
2097
|
);
|
|
2098
2098
|
}
|
|
@@ -2116,13 +2116,13 @@ class ConversationsApi {
|
|
|
2116
2116
|
return this.apiClient.callApi(
|
|
2117
2117
|
'/api/v2/conversations/calls/{conversationId}',
|
|
2118
2118
|
'PATCH',
|
|
2119
|
-
{ 'conversationId': conversationId },
|
|
2120
|
-
{ },
|
|
2121
|
-
{ },
|
|
2122
|
-
{ },
|
|
2119
|
+
{ 'conversationId': conversationId },
|
|
2120
|
+
{ },
|
|
2121
|
+
{ },
|
|
2122
|
+
{ },
|
|
2123
2123
|
body,
|
|
2124
2124
|
['PureCloud OAuth'],
|
|
2125
|
-
['application/json'],
|
|
2125
|
+
['application/json'],
|
|
2126
2126
|
['application/json']
|
|
2127
2127
|
);
|
|
2128
2128
|
}
|
|
@@ -2151,13 +2151,13 @@ class ConversationsApi {
|
|
|
2151
2151
|
return this.apiClient.callApi(
|
|
2152
2152
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}',
|
|
2153
2153
|
'PATCH',
|
|
2154
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2155
|
-
{ },
|
|
2156
|
-
{ },
|
|
2157
|
-
{ },
|
|
2154
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2155
|
+
{ },
|
|
2156
|
+
{ },
|
|
2157
|
+
{ },
|
|
2158
2158
|
body,
|
|
2159
2159
|
['PureCloud OAuth'],
|
|
2160
|
-
['application/json'],
|
|
2160
|
+
['application/json'],
|
|
2161
2161
|
['application/json']
|
|
2162
2162
|
);
|
|
2163
2163
|
}
|
|
@@ -2186,19 +2186,19 @@ class ConversationsApi {
|
|
|
2186
2186
|
return this.apiClient.callApi(
|
|
2187
2187
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/attributes',
|
|
2188
2188
|
'PATCH',
|
|
2189
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2190
|
-
{ },
|
|
2191
|
-
{ },
|
|
2192
|
-
{ },
|
|
2189
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2190
|
+
{ },
|
|
2191
|
+
{ },
|
|
2192
|
+
{ },
|
|
2193
2193
|
body,
|
|
2194
2194
|
['PureCloud OAuth'],
|
|
2195
|
-
['application/json'],
|
|
2195
|
+
['application/json'],
|
|
2196
2196
|
['application/json']
|
|
2197
2197
|
);
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
2200
|
/**
|
|
2201
|
-
* Update conversation participant
|
|
2201
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2202
2202
|
*
|
|
2203
2203
|
* @param {String} conversationId conversationId
|
|
2204
2204
|
* @param {String} participantId participantId
|
|
@@ -2226,13 +2226,13 @@ class ConversationsApi {
|
|
|
2226
2226
|
return this.apiClient.callApi(
|
|
2227
2227
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2228
2228
|
'PATCH',
|
|
2229
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2230
|
-
{ },
|
|
2231
|
-
{ },
|
|
2232
|
-
{ },
|
|
2229
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2230
|
+
{ },
|
|
2231
|
+
{ },
|
|
2232
|
+
{ },
|
|
2233
2233
|
body,
|
|
2234
2234
|
['PureCloud OAuth'],
|
|
2235
|
-
['application/json'],
|
|
2235
|
+
['application/json'],
|
|
2236
2236
|
['application/json']
|
|
2237
2237
|
);
|
|
2238
2238
|
}
|
|
@@ -2261,13 +2261,13 @@ class ConversationsApi {
|
|
|
2261
2261
|
return this.apiClient.callApi(
|
|
2262
2262
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult',
|
|
2263
2263
|
'PATCH',
|
|
2264
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2265
|
-
{ },
|
|
2266
|
-
{ },
|
|
2267
|
-
{ },
|
|
2264
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2265
|
+
{ },
|
|
2266
|
+
{ },
|
|
2267
|
+
{ },
|
|
2268
2268
|
body,
|
|
2269
2269
|
['PureCloud OAuth'],
|
|
2270
|
-
['application/json'],
|
|
2270
|
+
['application/json'],
|
|
2271
2271
|
['application/json']
|
|
2272
2272
|
);
|
|
2273
2273
|
}
|
|
@@ -2291,13 +2291,13 @@ class ConversationsApi {
|
|
|
2291
2291
|
return this.apiClient.callApi(
|
|
2292
2292
|
'/api/v2/conversations/callbacks/{conversationId}',
|
|
2293
2293
|
'PATCH',
|
|
2294
|
-
{ 'conversationId': conversationId },
|
|
2295
|
-
{ },
|
|
2296
|
-
{ },
|
|
2297
|
-
{ },
|
|
2294
|
+
{ 'conversationId': conversationId },
|
|
2295
|
+
{ },
|
|
2296
|
+
{ },
|
|
2297
|
+
{ },
|
|
2298
2298
|
body,
|
|
2299
2299
|
['PureCloud OAuth'],
|
|
2300
|
-
['application/json'],
|
|
2300
|
+
['application/json'],
|
|
2301
2301
|
['application/json']
|
|
2302
2302
|
);
|
|
2303
2303
|
}
|
|
@@ -2326,13 +2326,13 @@ class ConversationsApi {
|
|
|
2326
2326
|
return this.apiClient.callApi(
|
|
2327
2327
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}',
|
|
2328
2328
|
'PATCH',
|
|
2329
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2330
|
-
{ },
|
|
2331
|
-
{ },
|
|
2332
|
-
{ },
|
|
2329
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2330
|
+
{ },
|
|
2331
|
+
{ },
|
|
2332
|
+
{ },
|
|
2333
2333
|
body,
|
|
2334
2334
|
['PureCloud OAuth'],
|
|
2335
|
-
['application/json'],
|
|
2335
|
+
['application/json'],
|
|
2336
2336
|
['application/json']
|
|
2337
2337
|
);
|
|
2338
2338
|
}
|
|
@@ -2361,19 +2361,19 @@ class ConversationsApi {
|
|
|
2361
2361
|
return this.apiClient.callApi(
|
|
2362
2362
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/attributes',
|
|
2363
2363
|
'PATCH',
|
|
2364
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2365
|
-
{ },
|
|
2366
|
-
{ },
|
|
2367
|
-
{ },
|
|
2364
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2365
|
+
{ },
|
|
2366
|
+
{ },
|
|
2367
|
+
{ },
|
|
2368
2368
|
body,
|
|
2369
2369
|
['PureCloud OAuth'],
|
|
2370
|
-
['application/json'],
|
|
2370
|
+
['application/json'],
|
|
2371
2371
|
['application/json']
|
|
2372
2372
|
);
|
|
2373
2373
|
}
|
|
2374
2374
|
|
|
2375
2375
|
/**
|
|
2376
|
-
* Update conversation participant
|
|
2376
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2377
2377
|
*
|
|
2378
2378
|
* @param {String} conversationId conversationId
|
|
2379
2379
|
* @param {String} participantId participantId
|
|
@@ -2401,13 +2401,13 @@ class ConversationsApi {
|
|
|
2401
2401
|
return this.apiClient.callApi(
|
|
2402
2402
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2403
2403
|
'PATCH',
|
|
2404
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2405
|
-
{ },
|
|
2406
|
-
{ },
|
|
2407
|
-
{ },
|
|
2404
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2405
|
+
{ },
|
|
2406
|
+
{ },
|
|
2407
|
+
{ },
|
|
2408
2408
|
body,
|
|
2409
2409
|
['PureCloud OAuth'],
|
|
2410
|
-
['application/json'],
|
|
2410
|
+
['application/json'],
|
|
2411
2411
|
['application/json']
|
|
2412
2412
|
);
|
|
2413
2413
|
}
|
|
@@ -2426,13 +2426,13 @@ class ConversationsApi {
|
|
|
2426
2426
|
return this.apiClient.callApi(
|
|
2427
2427
|
'/api/v2/conversations/callbacks',
|
|
2428
2428
|
'PATCH',
|
|
2429
|
-
{ },
|
|
2430
|
-
{ },
|
|
2431
|
-
{ },
|
|
2432
|
-
{ },
|
|
2429
|
+
{ },
|
|
2430
|
+
{ },
|
|
2431
|
+
{ },
|
|
2432
|
+
{ },
|
|
2433
2433
|
body,
|
|
2434
2434
|
['PureCloud OAuth'],
|
|
2435
|
-
['application/json'],
|
|
2435
|
+
['application/json'],
|
|
2436
2436
|
['application/json']
|
|
2437
2437
|
);
|
|
2438
2438
|
}
|
|
@@ -2456,13 +2456,13 @@ class ConversationsApi {
|
|
|
2456
2456
|
return this.apiClient.callApi(
|
|
2457
2457
|
'/api/v2/conversations/chats/{conversationId}',
|
|
2458
2458
|
'PATCH',
|
|
2459
|
-
{ 'conversationId': conversationId },
|
|
2460
|
-
{ },
|
|
2461
|
-
{ },
|
|
2462
|
-
{ },
|
|
2459
|
+
{ 'conversationId': conversationId },
|
|
2460
|
+
{ },
|
|
2461
|
+
{ },
|
|
2462
|
+
{ },
|
|
2463
2463
|
body,
|
|
2464
2464
|
['PureCloud OAuth'],
|
|
2465
|
-
['application/json'],
|
|
2465
|
+
['application/json'],
|
|
2466
2466
|
['application/json']
|
|
2467
2467
|
);
|
|
2468
2468
|
}
|
|
@@ -2491,13 +2491,13 @@ class ConversationsApi {
|
|
|
2491
2491
|
return this.apiClient.callApi(
|
|
2492
2492
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}',
|
|
2493
2493
|
'PATCH',
|
|
2494
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2495
|
-
{ },
|
|
2496
|
-
{ },
|
|
2497
|
-
{ },
|
|
2494
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2495
|
+
{ },
|
|
2496
|
+
{ },
|
|
2497
|
+
{ },
|
|
2498
2498
|
body,
|
|
2499
2499
|
['PureCloud OAuth'],
|
|
2500
|
-
['application/json'],
|
|
2500
|
+
['application/json'],
|
|
2501
2501
|
['application/json']
|
|
2502
2502
|
);
|
|
2503
2503
|
}
|
|
@@ -2526,19 +2526,19 @@ class ConversationsApi {
|
|
|
2526
2526
|
return this.apiClient.callApi(
|
|
2527
2527
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/attributes',
|
|
2528
2528
|
'PATCH',
|
|
2529
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2530
|
-
{ },
|
|
2531
|
-
{ },
|
|
2532
|
-
{ },
|
|
2529
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2530
|
+
{ },
|
|
2531
|
+
{ },
|
|
2532
|
+
{ },
|
|
2533
2533
|
body,
|
|
2534
2534
|
['PureCloud OAuth'],
|
|
2535
|
-
['application/json'],
|
|
2535
|
+
['application/json'],
|
|
2536
2536
|
['application/json']
|
|
2537
2537
|
);
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
2540
2540
|
/**
|
|
2541
|
-
* Update conversation participant
|
|
2541
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2542
2542
|
*
|
|
2543
2543
|
* @param {String} conversationId conversationId
|
|
2544
2544
|
* @param {String} participantId participantId
|
|
@@ -2566,13 +2566,13 @@ class ConversationsApi {
|
|
|
2566
2566
|
return this.apiClient.callApi(
|
|
2567
2567
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2568
2568
|
'PATCH',
|
|
2569
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2570
|
-
{ },
|
|
2571
|
-
{ },
|
|
2572
|
-
{ },
|
|
2569
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2570
|
+
{ },
|
|
2571
|
+
{ },
|
|
2572
|
+
{ },
|
|
2573
2573
|
body,
|
|
2574
2574
|
['PureCloud OAuth'],
|
|
2575
|
-
['application/json'],
|
|
2575
|
+
['application/json'],
|
|
2576
2576
|
['application/json']
|
|
2577
2577
|
);
|
|
2578
2578
|
}
|
|
@@ -2596,13 +2596,13 @@ class ConversationsApi {
|
|
|
2596
2596
|
return this.apiClient.callApi(
|
|
2597
2597
|
'/api/v2/conversations/cobrowsesessions/{conversationId}',
|
|
2598
2598
|
'PATCH',
|
|
2599
|
-
{ 'conversationId': conversationId },
|
|
2600
|
-
{ },
|
|
2601
|
-
{ },
|
|
2602
|
-
{ },
|
|
2599
|
+
{ 'conversationId': conversationId },
|
|
2600
|
+
{ },
|
|
2601
|
+
{ },
|
|
2602
|
+
{ },
|
|
2603
2603
|
body,
|
|
2604
2604
|
['PureCloud OAuth'],
|
|
2605
|
-
['application/json'],
|
|
2605
|
+
['application/json'],
|
|
2606
2606
|
['application/json']
|
|
2607
2607
|
);
|
|
2608
2608
|
}
|
|
@@ -2630,13 +2630,13 @@ class ConversationsApi {
|
|
|
2630
2630
|
return this.apiClient.callApi(
|
|
2631
2631
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}',
|
|
2632
2632
|
'PATCH',
|
|
2633
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2634
|
-
{ },
|
|
2635
|
-
{ },
|
|
2636
|
-
{ },
|
|
2633
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2634
|
+
{ },
|
|
2635
|
+
{ },
|
|
2636
|
+
{ },
|
|
2637
2637
|
opts['body'],
|
|
2638
2638
|
['PureCloud OAuth'],
|
|
2639
|
-
['application/json'],
|
|
2639
|
+
['application/json'],
|
|
2640
2640
|
['application/json']
|
|
2641
2641
|
);
|
|
2642
2642
|
}
|
|
@@ -2664,19 +2664,19 @@ class ConversationsApi {
|
|
|
2664
2664
|
return this.apiClient.callApi(
|
|
2665
2665
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/attributes',
|
|
2666
2666
|
'PATCH',
|
|
2667
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2668
|
-
{ },
|
|
2669
|
-
{ },
|
|
2670
|
-
{ },
|
|
2667
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2668
|
+
{ },
|
|
2669
|
+
{ },
|
|
2670
|
+
{ },
|
|
2671
2671
|
opts['body'],
|
|
2672
2672
|
['PureCloud OAuth'],
|
|
2673
|
-
['application/json'],
|
|
2673
|
+
['application/json'],
|
|
2674
2674
|
['application/json']
|
|
2675
2675
|
);
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
2678
|
/**
|
|
2679
|
-
* Update conversation participant
|
|
2679
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2680
2680
|
*
|
|
2681
2681
|
* @param {String} conversationId conversationId
|
|
2682
2682
|
* @param {String} participantId participantId
|
|
@@ -2704,13 +2704,13 @@ class ConversationsApi {
|
|
|
2704
2704
|
return this.apiClient.callApi(
|
|
2705
2705
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2706
2706
|
'PATCH',
|
|
2707
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2708
|
-
{ },
|
|
2709
|
-
{ },
|
|
2710
|
-
{ },
|
|
2707
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2708
|
+
{ },
|
|
2709
|
+
{ },
|
|
2710
|
+
{ },
|
|
2711
2711
|
body,
|
|
2712
2712
|
['PureCloud OAuth'],
|
|
2713
|
-
['application/json'],
|
|
2713
|
+
['application/json'],
|
|
2714
2714
|
['application/json']
|
|
2715
2715
|
);
|
|
2716
2716
|
}
|
|
@@ -2734,13 +2734,13 @@ class ConversationsApi {
|
|
|
2734
2734
|
return this.apiClient.callApi(
|
|
2735
2735
|
'/api/v2/conversations/emails/{conversationId}',
|
|
2736
2736
|
'PATCH',
|
|
2737
|
-
{ 'conversationId': conversationId },
|
|
2738
|
-
{ },
|
|
2739
|
-
{ },
|
|
2740
|
-
{ },
|
|
2737
|
+
{ 'conversationId': conversationId },
|
|
2738
|
+
{ },
|
|
2739
|
+
{ },
|
|
2740
|
+
{ },
|
|
2741
2741
|
body,
|
|
2742
2742
|
['PureCloud OAuth'],
|
|
2743
|
-
['application/json'],
|
|
2743
|
+
['application/json'],
|
|
2744
2744
|
['application/json']
|
|
2745
2745
|
);
|
|
2746
2746
|
}
|
|
@@ -2769,13 +2769,13 @@ class ConversationsApi {
|
|
|
2769
2769
|
return this.apiClient.callApi(
|
|
2770
2770
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}',
|
|
2771
2771
|
'PATCH',
|
|
2772
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2773
|
-
{ },
|
|
2774
|
-
{ },
|
|
2775
|
-
{ },
|
|
2772
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2773
|
+
{ },
|
|
2774
|
+
{ },
|
|
2775
|
+
{ },
|
|
2776
2776
|
body,
|
|
2777
2777
|
['PureCloud OAuth'],
|
|
2778
|
-
['application/json'],
|
|
2778
|
+
['application/json'],
|
|
2779
2779
|
['application/json']
|
|
2780
2780
|
);
|
|
2781
2781
|
}
|
|
@@ -2804,19 +2804,19 @@ class ConversationsApi {
|
|
|
2804
2804
|
return this.apiClient.callApi(
|
|
2805
2805
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/attributes',
|
|
2806
2806
|
'PATCH',
|
|
2807
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2808
|
-
{ },
|
|
2809
|
-
{ },
|
|
2810
|
-
{ },
|
|
2807
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2808
|
+
{ },
|
|
2809
|
+
{ },
|
|
2810
|
+
{ },
|
|
2811
2811
|
body,
|
|
2812
2812
|
['PureCloud OAuth'],
|
|
2813
|
-
['application/json'],
|
|
2813
|
+
['application/json'],
|
|
2814
2814
|
['application/json']
|
|
2815
2815
|
);
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
2818
|
/**
|
|
2819
|
-
* Update conversation participant
|
|
2819
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2820
2820
|
*
|
|
2821
2821
|
* @param {String} conversationId conversationId
|
|
2822
2822
|
* @param {String} participantId participantId
|
|
@@ -2844,13 +2844,13 @@ class ConversationsApi {
|
|
|
2844
2844
|
return this.apiClient.callApi(
|
|
2845
2845
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2846
2846
|
'PATCH',
|
|
2847
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2848
|
-
{ },
|
|
2849
|
-
{ },
|
|
2850
|
-
{ },
|
|
2847
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2848
|
+
{ },
|
|
2849
|
+
{ },
|
|
2850
|
+
{ },
|
|
2851
2851
|
body,
|
|
2852
2852
|
['PureCloud OAuth'],
|
|
2853
|
-
['application/json'],
|
|
2853
|
+
['application/json'],
|
|
2854
2854
|
['application/json']
|
|
2855
2855
|
);
|
|
2856
2856
|
}
|
|
@@ -2874,13 +2874,13 @@ class ConversationsApi {
|
|
|
2874
2874
|
return this.apiClient.callApi(
|
|
2875
2875
|
'/api/v2/conversations/messages/{conversationId}',
|
|
2876
2876
|
'PATCH',
|
|
2877
|
-
{ 'conversationId': conversationId },
|
|
2878
|
-
{ },
|
|
2879
|
-
{ },
|
|
2880
|
-
{ },
|
|
2877
|
+
{ 'conversationId': conversationId },
|
|
2878
|
+
{ },
|
|
2879
|
+
{ },
|
|
2880
|
+
{ },
|
|
2881
2881
|
body,
|
|
2882
2882
|
['PureCloud OAuth'],
|
|
2883
|
-
['application/json'],
|
|
2883
|
+
['application/json'],
|
|
2884
2884
|
['application/json']
|
|
2885
2885
|
);
|
|
2886
2886
|
}
|
|
@@ -2908,13 +2908,13 @@ class ConversationsApi {
|
|
|
2908
2908
|
return this.apiClient.callApi(
|
|
2909
2909
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}',
|
|
2910
2910
|
'PATCH',
|
|
2911
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2912
|
-
{ },
|
|
2913
|
-
{ },
|
|
2914
|
-
{ },
|
|
2911
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2912
|
+
{ },
|
|
2913
|
+
{ },
|
|
2914
|
+
{ },
|
|
2915
2915
|
opts['body'],
|
|
2916
2916
|
['PureCloud OAuth'],
|
|
2917
|
-
['application/json'],
|
|
2917
|
+
['application/json'],
|
|
2918
2918
|
['application/json']
|
|
2919
2919
|
);
|
|
2920
2920
|
}
|
|
@@ -2942,19 +2942,19 @@ class ConversationsApi {
|
|
|
2942
2942
|
return this.apiClient.callApi(
|
|
2943
2943
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/attributes',
|
|
2944
2944
|
'PATCH',
|
|
2945
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2946
|
-
{ },
|
|
2947
|
-
{ },
|
|
2948
|
-
{ },
|
|
2945
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
2946
|
+
{ },
|
|
2947
|
+
{ },
|
|
2948
|
+
{ },
|
|
2949
2949
|
opts['body'],
|
|
2950
2950
|
['PureCloud OAuth'],
|
|
2951
|
-
['application/json'],
|
|
2951
|
+
['application/json'],
|
|
2952
2952
|
['application/json']
|
|
2953
2953
|
);
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
2956
2956
|
/**
|
|
2957
|
-
* Update conversation participant
|
|
2957
|
+
* Update conversation participant's communication by disconnecting it.
|
|
2958
2958
|
*
|
|
2959
2959
|
* @param {String} conversationId conversationId
|
|
2960
2960
|
* @param {String} participantId participantId
|
|
@@ -2982,13 +2982,13 @@ class ConversationsApi {
|
|
|
2982
2982
|
return this.apiClient.callApi(
|
|
2983
2983
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
2984
2984
|
'PATCH',
|
|
2985
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2986
|
-
{ },
|
|
2987
|
-
{ },
|
|
2988
|
-
{ },
|
|
2985
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
2986
|
+
{ },
|
|
2987
|
+
{ },
|
|
2988
|
+
{ },
|
|
2989
2989
|
body,
|
|
2990
2990
|
['PureCloud OAuth'],
|
|
2991
|
-
['application/json'],
|
|
2991
|
+
['application/json'],
|
|
2992
2992
|
['application/json']
|
|
2993
2993
|
);
|
|
2994
2994
|
}
|
|
@@ -3012,13 +3012,13 @@ class ConversationsApi {
|
|
|
3012
3012
|
return this.apiClient.callApi(
|
|
3013
3013
|
'/api/v2/conversations/messaging/integrations/facebook/{integrationId}',
|
|
3014
3014
|
'PATCH',
|
|
3015
|
-
{ 'integrationId': integrationId },
|
|
3016
|
-
{ },
|
|
3017
|
-
{ },
|
|
3018
|
-
{ },
|
|
3015
|
+
{ 'integrationId': integrationId },
|
|
3016
|
+
{ },
|
|
3017
|
+
{ },
|
|
3018
|
+
{ },
|
|
3019
3019
|
body,
|
|
3020
3020
|
['PureCloud OAuth'],
|
|
3021
|
-
['application/json'],
|
|
3021
|
+
['application/json'],
|
|
3022
3022
|
['application/json']
|
|
3023
3023
|
);
|
|
3024
3024
|
}
|
|
@@ -3042,13 +3042,13 @@ class ConversationsApi {
|
|
|
3042
3042
|
return this.apiClient.callApi(
|
|
3043
3043
|
'/api/v2/conversations/messaging/integrations/open/{integrationId}',
|
|
3044
3044
|
'PATCH',
|
|
3045
|
-
{ 'integrationId': integrationId },
|
|
3046
|
-
{ },
|
|
3047
|
-
{ },
|
|
3048
|
-
{ },
|
|
3045
|
+
{ 'integrationId': integrationId },
|
|
3046
|
+
{ },
|
|
3047
|
+
{ },
|
|
3048
|
+
{ },
|
|
3049
3049
|
body,
|
|
3050
3050
|
['PureCloud OAuth'],
|
|
3051
|
-
['application/json'],
|
|
3051
|
+
['application/json'],
|
|
3052
3052
|
['application/json']
|
|
3053
3053
|
);
|
|
3054
3054
|
}
|
|
@@ -3072,13 +3072,13 @@ class ConversationsApi {
|
|
|
3072
3072
|
return this.apiClient.callApi(
|
|
3073
3073
|
'/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
|
|
3074
3074
|
'PATCH',
|
|
3075
|
-
{ 'integrationId': integrationId },
|
|
3076
|
-
{ },
|
|
3077
|
-
{ },
|
|
3078
|
-
{ },
|
|
3075
|
+
{ 'integrationId': integrationId },
|
|
3076
|
+
{ },
|
|
3077
|
+
{ },
|
|
3078
|
+
{ },
|
|
3079
3079
|
body,
|
|
3080
3080
|
['PureCloud OAuth'],
|
|
3081
|
-
['application/json'],
|
|
3081
|
+
['application/json'],
|
|
3082
3082
|
['application/json']
|
|
3083
3083
|
);
|
|
3084
3084
|
}
|
|
@@ -3102,13 +3102,13 @@ class ConversationsApi {
|
|
|
3102
3102
|
return this.apiClient.callApi(
|
|
3103
3103
|
'/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}',
|
|
3104
3104
|
'PATCH',
|
|
3105
|
-
{ 'integrationId': integrationId },
|
|
3106
|
-
{ },
|
|
3107
|
-
{ },
|
|
3108
|
-
{ },
|
|
3105
|
+
{ 'integrationId': integrationId },
|
|
3106
|
+
{ },
|
|
3107
|
+
{ },
|
|
3108
|
+
{ },
|
|
3109
3109
|
body,
|
|
3110
3110
|
['PureCloud OAuth'],
|
|
3111
|
-
['application/json'],
|
|
3111
|
+
['application/json'],
|
|
3112
3112
|
['application/json']
|
|
3113
3113
|
);
|
|
3114
3114
|
}
|
|
@@ -3132,13 +3132,13 @@ class ConversationsApi {
|
|
|
3132
3132
|
return this.apiClient.callApi(
|
|
3133
3133
|
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
3134
3134
|
'PATCH',
|
|
3135
|
-
{ 'supportedContentId': supportedContentId },
|
|
3136
|
-
{ },
|
|
3137
|
-
{ },
|
|
3138
|
-
{ },
|
|
3135
|
+
{ 'supportedContentId': supportedContentId },
|
|
3136
|
+
{ },
|
|
3137
|
+
{ },
|
|
3138
|
+
{ },
|
|
3139
3139
|
body,
|
|
3140
3140
|
['PureCloud OAuth'],
|
|
3141
|
-
['application/json'],
|
|
3141
|
+
['application/json'],
|
|
3142
3142
|
['application/json']
|
|
3143
3143
|
);
|
|
3144
3144
|
}
|
|
@@ -3162,13 +3162,13 @@ class ConversationsApi {
|
|
|
3162
3162
|
return this.apiClient.callApi(
|
|
3163
3163
|
'/api/v2/analytics/conversations/{conversationId}/details/properties',
|
|
3164
3164
|
'POST',
|
|
3165
|
-
{ 'conversationId': conversationId },
|
|
3166
|
-
{ },
|
|
3167
|
-
{ },
|
|
3168
|
-
{ },
|
|
3165
|
+
{ 'conversationId': conversationId },
|
|
3166
|
+
{ },
|
|
3167
|
+
{ },
|
|
3168
|
+
{ },
|
|
3169
3169
|
body,
|
|
3170
3170
|
['PureCloud OAuth'],
|
|
3171
|
-
['application/json'],
|
|
3171
|
+
['application/json'],
|
|
3172
3172
|
['application/json']
|
|
3173
3173
|
);
|
|
3174
3174
|
}
|
|
@@ -3187,13 +3187,13 @@ class ConversationsApi {
|
|
|
3187
3187
|
return this.apiClient.callApi(
|
|
3188
3188
|
'/api/v2/analytics/conversations/aggregates/query',
|
|
3189
3189
|
'POST',
|
|
3190
|
-
{ },
|
|
3191
|
-
{ },
|
|
3192
|
-
{ },
|
|
3193
|
-
{ },
|
|
3190
|
+
{ },
|
|
3191
|
+
{ },
|
|
3192
|
+
{ },
|
|
3193
|
+
{ },
|
|
3194
3194
|
body,
|
|
3195
3195
|
['PureCloud OAuth'],
|
|
3196
|
-
['application/json'],
|
|
3196
|
+
['application/json'],
|
|
3197
3197
|
['application/json']
|
|
3198
3198
|
);
|
|
3199
3199
|
}
|
|
@@ -3212,13 +3212,13 @@ class ConversationsApi {
|
|
|
3212
3212
|
return this.apiClient.callApi(
|
|
3213
3213
|
'/api/v2/analytics/conversations/details/jobs',
|
|
3214
3214
|
'POST',
|
|
3215
|
-
{ },
|
|
3216
|
-
{ },
|
|
3217
|
-
{ },
|
|
3218
|
-
{ },
|
|
3215
|
+
{ },
|
|
3216
|
+
{ },
|
|
3217
|
+
{ },
|
|
3218
|
+
{ },
|
|
3219
3219
|
body,
|
|
3220
3220
|
['PureCloud OAuth'],
|
|
3221
|
-
['application/json'],
|
|
3221
|
+
['application/json'],
|
|
3222
3222
|
['application/json']
|
|
3223
3223
|
);
|
|
3224
3224
|
}
|
|
@@ -3237,13 +3237,13 @@ class ConversationsApi {
|
|
|
3237
3237
|
return this.apiClient.callApi(
|
|
3238
3238
|
'/api/v2/analytics/conversations/details/query',
|
|
3239
3239
|
'POST',
|
|
3240
|
-
{ },
|
|
3241
|
-
{ },
|
|
3242
|
-
{ },
|
|
3243
|
-
{ },
|
|
3240
|
+
{ },
|
|
3241
|
+
{ },
|
|
3242
|
+
{ },
|
|
3243
|
+
{ },
|
|
3244
3244
|
body,
|
|
3245
3245
|
['PureCloud OAuth'],
|
|
3246
|
-
['application/json'],
|
|
3246
|
+
['application/json'],
|
|
3247
3247
|
['application/json']
|
|
3248
3248
|
);
|
|
3249
3249
|
}
|
|
@@ -3267,13 +3267,13 @@ class ConversationsApi {
|
|
|
3267
3267
|
return this.apiClient.callApi(
|
|
3268
3268
|
'/api/v2/conversations/{conversationId}/assign',
|
|
3269
3269
|
'POST',
|
|
3270
|
-
{ 'conversationId': conversationId },
|
|
3271
|
-
{ },
|
|
3272
|
-
{ },
|
|
3273
|
-
{ },
|
|
3270
|
+
{ 'conversationId': conversationId },
|
|
3271
|
+
{ },
|
|
3272
|
+
{ },
|
|
3273
|
+
{ },
|
|
3274
3274
|
body,
|
|
3275
3275
|
['PureCloud OAuth'],
|
|
3276
|
-
['application/json'],
|
|
3276
|
+
['application/json'],
|
|
3277
3277
|
['application/json']
|
|
3278
3278
|
);
|
|
3279
3279
|
}
|
|
@@ -3292,13 +3292,13 @@ class ConversationsApi {
|
|
|
3292
3292
|
return this.apiClient.callApi(
|
|
3293
3293
|
'/api/v2/conversations/{conversationId}/disconnect',
|
|
3294
3294
|
'POST',
|
|
3295
|
-
{ 'conversationId': conversationId },
|
|
3296
|
-
{ },
|
|
3297
|
-
{ },
|
|
3298
|
-
{ },
|
|
3295
|
+
{ 'conversationId': conversationId },
|
|
3296
|
+
{ },
|
|
3297
|
+
{ },
|
|
3298
|
+
{ },
|
|
3299
3299
|
null,
|
|
3300
3300
|
['PureCloud OAuth'],
|
|
3301
|
-
['application/json'],
|
|
3301
|
+
['application/json'],
|
|
3302
3302
|
['application/json']
|
|
3303
3303
|
);
|
|
3304
3304
|
}
|
|
@@ -3326,13 +3326,13 @@ class ConversationsApi {
|
|
|
3326
3326
|
return this.apiClient.callApi(
|
|
3327
3327
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks',
|
|
3328
3328
|
'POST',
|
|
3329
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3330
|
-
{ },
|
|
3331
|
-
{ },
|
|
3332
|
-
{ },
|
|
3329
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3330
|
+
{ },
|
|
3331
|
+
{ },
|
|
3332
|
+
{ },
|
|
3333
3333
|
opts['body'],
|
|
3334
3334
|
['PureCloud OAuth'],
|
|
3335
|
-
['application/json'],
|
|
3335
|
+
['application/json'],
|
|
3336
3336
|
['application/json']
|
|
3337
3337
|
);
|
|
3338
3338
|
}
|
|
@@ -3360,13 +3360,13 @@ class ConversationsApi {
|
|
|
3360
3360
|
return this.apiClient.callApi(
|
|
3361
3361
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/digits',
|
|
3362
3362
|
'POST',
|
|
3363
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3364
|
-
{ },
|
|
3365
|
-
{ },
|
|
3366
|
-
{ },
|
|
3363
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3364
|
+
{ },
|
|
3365
|
+
{ },
|
|
3366
|
+
{ },
|
|
3367
3367
|
opts['body'],
|
|
3368
3368
|
['PureCloud OAuth'],
|
|
3369
|
-
['application/json'],
|
|
3369
|
+
['application/json'],
|
|
3370
3370
|
['application/json']
|
|
3371
3371
|
);
|
|
3372
3372
|
}
|
|
@@ -3395,13 +3395,13 @@ class ConversationsApi {
|
|
|
3395
3395
|
return this.apiClient.callApi(
|
|
3396
3396
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/replace',
|
|
3397
3397
|
'POST',
|
|
3398
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3399
|
-
{ },
|
|
3400
|
-
{ },
|
|
3401
|
-
{ },
|
|
3398
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3399
|
+
{ },
|
|
3400
|
+
{ },
|
|
3401
|
+
{ },
|
|
3402
3402
|
body,
|
|
3403
3403
|
['PureCloud OAuth'],
|
|
3404
|
-
['application/json'],
|
|
3404
|
+
['application/json'],
|
|
3405
3405
|
['application/json']
|
|
3406
3406
|
);
|
|
3407
3407
|
}
|
|
@@ -3429,13 +3429,13 @@ class ConversationsApi {
|
|
|
3429
3429
|
return this.apiClient.callApi(
|
|
3430
3430
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions',
|
|
3431
3431
|
'POST',
|
|
3432
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3433
|
-
{ },
|
|
3434
|
-
{ },
|
|
3435
|
-
{ },
|
|
3432
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3433
|
+
{ },
|
|
3434
|
+
{ },
|
|
3435
|
+
{ },
|
|
3436
3436
|
opts['body'],
|
|
3437
3437
|
['PureCloud OAuth'],
|
|
3438
|
-
['application/json'],
|
|
3438
|
+
['application/json'],
|
|
3439
3439
|
['application/json']
|
|
3440
3440
|
);
|
|
3441
3441
|
}
|
|
@@ -3459,13 +3459,13 @@ class ConversationsApi {
|
|
|
3459
3459
|
return this.apiClient.callApi(
|
|
3460
3460
|
'/api/v2/conversations/calls/{conversationId}',
|
|
3461
3461
|
'POST',
|
|
3462
|
-
{ 'conversationId': conversationId },
|
|
3463
|
-
{ },
|
|
3464
|
-
{ },
|
|
3465
|
-
{ },
|
|
3462
|
+
{ 'conversationId': conversationId },
|
|
3463
|
+
{ },
|
|
3464
|
+
{ },
|
|
3465
|
+
{ },
|
|
3466
3466
|
body,
|
|
3467
3467
|
['PureCloud OAuth'],
|
|
3468
|
-
['application/json'],
|
|
3468
|
+
['application/json'],
|
|
3469
3469
|
['application/json']
|
|
3470
3470
|
);
|
|
3471
3471
|
}
|
|
@@ -3489,13 +3489,13 @@ class ConversationsApi {
|
|
|
3489
3489
|
return this.apiClient.callApi(
|
|
3490
3490
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/coach',
|
|
3491
3491
|
'POST',
|
|
3492
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3493
|
-
{ },
|
|
3494
|
-
{ },
|
|
3495
|
-
{ },
|
|
3492
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3493
|
+
{ },
|
|
3494
|
+
{ },
|
|
3495
|
+
{ },
|
|
3496
3496
|
null,
|
|
3497
3497
|
['PureCloud OAuth'],
|
|
3498
|
-
['application/json'],
|
|
3498
|
+
['application/json'],
|
|
3499
3499
|
['application/json']
|
|
3500
3500
|
);
|
|
3501
3501
|
}
|
|
@@ -3505,7 +3505,7 @@ class ConversationsApi {
|
|
|
3505
3505
|
*
|
|
3506
3506
|
* @param {String} conversationId conversationId
|
|
3507
3507
|
* @param {String} participantId participantId
|
|
3508
|
-
* @param {Object} body Destination address
|
|
3508
|
+
* @param {Object} body Destination address and initial speak to
|
|
3509
3509
|
*/
|
|
3510
3510
|
postConversationsCallParticipantConsult(conversationId, participantId, body) {
|
|
3511
3511
|
// verify the required parameter 'conversationId' is set
|
|
@@ -3524,13 +3524,13 @@ class ConversationsApi {
|
|
|
3524
3524
|
return this.apiClient.callApi(
|
|
3525
3525
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult',
|
|
3526
3526
|
'POST',
|
|
3527
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3528
|
-
{ },
|
|
3529
|
-
{ },
|
|
3530
|
-
{ },
|
|
3527
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3528
|
+
{ },
|
|
3529
|
+
{ },
|
|
3530
|
+
{ },
|
|
3531
3531
|
body,
|
|
3532
3532
|
['PureCloud OAuth'],
|
|
3533
|
-
['application/json'],
|
|
3533
|
+
['application/json'],
|
|
3534
3534
|
['application/json']
|
|
3535
3535
|
);
|
|
3536
3536
|
}
|
|
@@ -3554,13 +3554,13 @@ class ConversationsApi {
|
|
|
3554
3554
|
return this.apiClient.callApi(
|
|
3555
3555
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/monitor',
|
|
3556
3556
|
'POST',
|
|
3557
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3558
|
-
{ },
|
|
3559
|
-
{ },
|
|
3560
|
-
{ },
|
|
3557
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3558
|
+
{ },
|
|
3559
|
+
{ },
|
|
3560
|
+
{ },
|
|
3561
3561
|
null,
|
|
3562
3562
|
['PureCloud OAuth'],
|
|
3563
|
-
['application/json'],
|
|
3563
|
+
['application/json'],
|
|
3564
3564
|
['application/json']
|
|
3565
3565
|
);
|
|
3566
3566
|
}
|
|
@@ -3589,13 +3589,13 @@ class ConversationsApi {
|
|
|
3589
3589
|
return this.apiClient.callApi(
|
|
3590
3590
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace',
|
|
3591
3591
|
'POST',
|
|
3592
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3593
|
-
{ },
|
|
3594
|
-
{ },
|
|
3595
|
-
{ },
|
|
3592
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3593
|
+
{ },
|
|
3594
|
+
{ },
|
|
3595
|
+
{ },
|
|
3596
3596
|
body,
|
|
3597
3597
|
['PureCloud OAuth'],
|
|
3598
|
-
['application/json'],
|
|
3598
|
+
['application/json'],
|
|
3599
3599
|
['application/json']
|
|
3600
3600
|
);
|
|
3601
3601
|
}
|
|
@@ -3619,13 +3619,13 @@ class ConversationsApi {
|
|
|
3619
3619
|
return this.apiClient.callApi(
|
|
3620
3620
|
'/api/v2/conversations/calls/{conversationId}/participants',
|
|
3621
3621
|
'POST',
|
|
3622
|
-
{ 'conversationId': conversationId },
|
|
3623
|
-
{ },
|
|
3624
|
-
{ },
|
|
3625
|
-
{ },
|
|
3622
|
+
{ 'conversationId': conversationId },
|
|
3623
|
+
{ },
|
|
3624
|
+
{ },
|
|
3625
|
+
{ },
|
|
3626
3626
|
body,
|
|
3627
3627
|
['PureCloud OAuth'],
|
|
3628
|
-
['application/json'],
|
|
3628
|
+
['application/json'],
|
|
3629
3629
|
['application/json']
|
|
3630
3630
|
);
|
|
3631
3631
|
}
|
|
@@ -3654,13 +3654,13 @@ class ConversationsApi {
|
|
|
3654
3654
|
return this.apiClient.callApi(
|
|
3655
3655
|
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/replace',
|
|
3656
3656
|
'POST',
|
|
3657
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3658
|
-
{ },
|
|
3659
|
-
{ },
|
|
3660
|
-
{ },
|
|
3657
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3658
|
+
{ },
|
|
3659
|
+
{ },
|
|
3660
|
+
{ },
|
|
3661
3661
|
body,
|
|
3662
3662
|
['PureCloud OAuth'],
|
|
3663
|
-
['application/json'],
|
|
3663
|
+
['application/json'],
|
|
3664
3664
|
['application/json']
|
|
3665
3665
|
);
|
|
3666
3666
|
}
|
|
@@ -3679,13 +3679,13 @@ class ConversationsApi {
|
|
|
3679
3679
|
return this.apiClient.callApi(
|
|
3680
3680
|
'/api/v2/conversations/callbacks',
|
|
3681
3681
|
'POST',
|
|
3682
|
-
{ },
|
|
3683
|
-
{ },
|
|
3684
|
-
{ },
|
|
3685
|
-
{ },
|
|
3682
|
+
{ },
|
|
3683
|
+
{ },
|
|
3684
|
+
{ },
|
|
3685
|
+
{ },
|
|
3686
3686
|
body,
|
|
3687
3687
|
['PureCloud OAuth'],
|
|
3688
|
-
['application/json'],
|
|
3688
|
+
['application/json'],
|
|
3689
3689
|
['application/json']
|
|
3690
3690
|
);
|
|
3691
3691
|
}
|
|
@@ -3704,13 +3704,13 @@ class ConversationsApi {
|
|
|
3704
3704
|
return this.apiClient.callApi(
|
|
3705
3705
|
'/api/v2/conversations/callbacks/bulk/disconnect',
|
|
3706
3706
|
'POST',
|
|
3707
|
-
{ },
|
|
3708
|
-
{ },
|
|
3709
|
-
{ },
|
|
3710
|
-
{ },
|
|
3707
|
+
{ },
|
|
3708
|
+
{ },
|
|
3709
|
+
{ },
|
|
3710
|
+
{ },
|
|
3711
3711
|
body,
|
|
3712
3712
|
['PureCloud OAuth'],
|
|
3713
|
-
['application/json'],
|
|
3713
|
+
['application/json'],
|
|
3714
3714
|
['application/json']
|
|
3715
3715
|
);
|
|
3716
3716
|
}
|
|
@@ -3729,13 +3729,13 @@ class ConversationsApi {
|
|
|
3729
3729
|
return this.apiClient.callApi(
|
|
3730
3730
|
'/api/v2/conversations/callbacks/bulk/update',
|
|
3731
3731
|
'POST',
|
|
3732
|
-
{ },
|
|
3733
|
-
{ },
|
|
3734
|
-
{ },
|
|
3735
|
-
{ },
|
|
3732
|
+
{ },
|
|
3733
|
+
{ },
|
|
3734
|
+
{ },
|
|
3735
|
+
{ },
|
|
3736
3736
|
body,
|
|
3737
3737
|
['PureCloud OAuth'],
|
|
3738
|
-
['application/json'],
|
|
3738
|
+
['application/json'],
|
|
3739
3739
|
['application/json']
|
|
3740
3740
|
);
|
|
3741
3741
|
}
|
|
@@ -3754,13 +3754,13 @@ class ConversationsApi {
|
|
|
3754
3754
|
return this.apiClient.callApi(
|
|
3755
3755
|
'/api/v2/conversations/calls',
|
|
3756
3756
|
'POST',
|
|
3757
|
-
{ },
|
|
3758
|
-
{ },
|
|
3759
|
-
{ },
|
|
3760
|
-
{ },
|
|
3757
|
+
{ },
|
|
3758
|
+
{ },
|
|
3759
|
+
{ },
|
|
3760
|
+
{ },
|
|
3761
3761
|
body,
|
|
3762
3762
|
['PureCloud OAuth'],
|
|
3763
|
-
['application/json'],
|
|
3763
|
+
['application/json'],
|
|
3764
3764
|
['application/json']
|
|
3765
3765
|
);
|
|
3766
3766
|
}
|
|
@@ -3789,13 +3789,13 @@ class ConversationsApi {
|
|
|
3789
3789
|
return this.apiClient.callApi(
|
|
3790
3790
|
'/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages',
|
|
3791
3791
|
'POST',
|
|
3792
|
-
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
3793
|
-
{ },
|
|
3794
|
-
{ },
|
|
3795
|
-
{ },
|
|
3792
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
3793
|
+
{ },
|
|
3794
|
+
{ },
|
|
3795
|
+
{ },
|
|
3796
3796
|
body,
|
|
3797
3797
|
['PureCloud OAuth'],
|
|
3798
|
-
['application/json'],
|
|
3798
|
+
['application/json'],
|
|
3799
3799
|
['application/json']
|
|
3800
3800
|
);
|
|
3801
3801
|
}
|
|
@@ -3819,13 +3819,13 @@ class ConversationsApi {
|
|
|
3819
3819
|
return this.apiClient.callApi(
|
|
3820
3820
|
'/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/typing',
|
|
3821
3821
|
'POST',
|
|
3822
|
-
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
3823
|
-
{ },
|
|
3824
|
-
{ },
|
|
3825
|
-
{ },
|
|
3822
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
3823
|
+
{ },
|
|
3824
|
+
{ },
|
|
3825
|
+
{ },
|
|
3826
3826
|
null,
|
|
3827
3827
|
['PureCloud OAuth'],
|
|
3828
|
-
['application/json'],
|
|
3828
|
+
['application/json'],
|
|
3829
3829
|
['application/json']
|
|
3830
3830
|
);
|
|
3831
3831
|
}
|
|
@@ -3854,13 +3854,13 @@ class ConversationsApi {
|
|
|
3854
3854
|
return this.apiClient.callApi(
|
|
3855
3855
|
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/replace',
|
|
3856
3856
|
'POST',
|
|
3857
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3858
|
-
{ },
|
|
3859
|
-
{ },
|
|
3860
|
-
{ },
|
|
3857
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3858
|
+
{ },
|
|
3859
|
+
{ },
|
|
3860
|
+
{ },
|
|
3861
3861
|
body,
|
|
3862
3862
|
['PureCloud OAuth'],
|
|
3863
|
-
['application/json'],
|
|
3863
|
+
['application/json'],
|
|
3864
3864
|
['application/json']
|
|
3865
3865
|
);
|
|
3866
3866
|
}
|
|
@@ -3879,13 +3879,13 @@ class ConversationsApi {
|
|
|
3879
3879
|
return this.apiClient.callApi(
|
|
3880
3880
|
'/api/v2/conversations/chats',
|
|
3881
3881
|
'POST',
|
|
3882
|
-
{ },
|
|
3883
|
-
{ },
|
|
3884
|
-
{ },
|
|
3885
|
-
{ },
|
|
3882
|
+
{ },
|
|
3883
|
+
{ },
|
|
3884
|
+
{ },
|
|
3885
|
+
{ },
|
|
3886
3886
|
body,
|
|
3887
3887
|
['PureCloud OAuth'],
|
|
3888
|
-
['application/json'],
|
|
3888
|
+
['application/json'],
|
|
3889
3889
|
['application/json']
|
|
3890
3890
|
);
|
|
3891
3891
|
}
|
|
@@ -3913,13 +3913,13 @@ class ConversationsApi {
|
|
|
3913
3913
|
return this.apiClient.callApi(
|
|
3914
3914
|
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace',
|
|
3915
3915
|
'POST',
|
|
3916
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3917
|
-
{ },
|
|
3918
|
-
{ },
|
|
3919
|
-
{ },
|
|
3916
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
3917
|
+
{ },
|
|
3918
|
+
{ },
|
|
3919
|
+
{ },
|
|
3920
3920
|
opts['body'],
|
|
3921
3921
|
['PureCloud OAuth'],
|
|
3922
|
-
['application/json'],
|
|
3922
|
+
['application/json'],
|
|
3923
3923
|
['application/json']
|
|
3924
3924
|
);
|
|
3925
3925
|
}
|
|
@@ -3943,13 +3943,13 @@ class ConversationsApi {
|
|
|
3943
3943
|
return this.apiClient.callApi(
|
|
3944
3944
|
'/api/v2/conversations/emails/{conversationId}/inboundmessages',
|
|
3945
3945
|
'POST',
|
|
3946
|
-
{ 'conversationId': conversationId },
|
|
3947
|
-
{ },
|
|
3948
|
-
{ },
|
|
3949
|
-
{ },
|
|
3946
|
+
{ 'conversationId': conversationId },
|
|
3947
|
+
{ },
|
|
3948
|
+
{ },
|
|
3949
|
+
{ },
|
|
3950
3950
|
body,
|
|
3951
3951
|
['PureCloud OAuth'],
|
|
3952
|
-
['application/json'],
|
|
3952
|
+
['application/json'],
|
|
3953
3953
|
['application/json']
|
|
3954
3954
|
);
|
|
3955
3955
|
}
|
|
@@ -3973,13 +3973,13 @@ class ConversationsApi {
|
|
|
3973
3973
|
return this.apiClient.callApi(
|
|
3974
3974
|
'/api/v2/conversations/emails/{conversationId}/messages',
|
|
3975
3975
|
'POST',
|
|
3976
|
-
{ 'conversationId': conversationId },
|
|
3977
|
-
{ },
|
|
3978
|
-
{ },
|
|
3979
|
-
{ },
|
|
3976
|
+
{ 'conversationId': conversationId },
|
|
3977
|
+
{ },
|
|
3978
|
+
{ },
|
|
3979
|
+
{ },
|
|
3980
3980
|
body,
|
|
3981
3981
|
['PureCloud OAuth'],
|
|
3982
|
-
['application/json'],
|
|
3982
|
+
['application/json'],
|
|
3983
3983
|
['application/json']
|
|
3984
3984
|
);
|
|
3985
3985
|
}
|
|
@@ -4003,13 +4003,13 @@ class ConversationsApi {
|
|
|
4003
4003
|
return this.apiClient.callApi(
|
|
4004
4004
|
'/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/copy',
|
|
4005
4005
|
'POST',
|
|
4006
|
-
{ 'conversationId': conversationId },
|
|
4007
|
-
{ },
|
|
4008
|
-
{ },
|
|
4009
|
-
{ },
|
|
4006
|
+
{ 'conversationId': conversationId },
|
|
4007
|
+
{ },
|
|
4008
|
+
{ },
|
|
4009
|
+
{ },
|
|
4010
4010
|
body,
|
|
4011
4011
|
['PureCloud OAuth'],
|
|
4012
|
-
['application/json'],
|
|
4012
|
+
['application/json'],
|
|
4013
4013
|
['application/json']
|
|
4014
4014
|
);
|
|
4015
4015
|
}
|
|
@@ -4038,13 +4038,13 @@ class ConversationsApi {
|
|
|
4038
4038
|
return this.apiClient.callApi(
|
|
4039
4039
|
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace',
|
|
4040
4040
|
'POST',
|
|
4041
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4042
|
-
{ },
|
|
4043
|
-
{ },
|
|
4044
|
-
{ },
|
|
4041
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4042
|
+
{ },
|
|
4043
|
+
{ },
|
|
4044
|
+
{ },
|
|
4045
4045
|
body,
|
|
4046
4046
|
['PureCloud OAuth'],
|
|
4047
|
-
['application/json'],
|
|
4047
|
+
['application/json'],
|
|
4048
4048
|
['application/json']
|
|
4049
4049
|
);
|
|
4050
4050
|
}
|
|
@@ -4063,13 +4063,13 @@ class ConversationsApi {
|
|
|
4063
4063
|
return this.apiClient.callApi(
|
|
4064
4064
|
'/api/v2/conversations/emails',
|
|
4065
4065
|
'POST',
|
|
4066
|
-
{ },
|
|
4067
|
-
{ },
|
|
4068
|
-
{ },
|
|
4069
|
-
{ },
|
|
4066
|
+
{ },
|
|
4067
|
+
{ },
|
|
4068
|
+
{ },
|
|
4069
|
+
{ },
|
|
4070
4070
|
body,
|
|
4071
4071
|
['PureCloud OAuth'],
|
|
4072
|
-
['application/json'],
|
|
4072
|
+
['application/json'],
|
|
4073
4073
|
['application/json']
|
|
4074
4074
|
);
|
|
4075
4075
|
}
|
|
@@ -4088,13 +4088,13 @@ class ConversationsApi {
|
|
|
4088
4088
|
return this.apiClient.callApi(
|
|
4089
4089
|
'/api/v2/conversations/faxes',
|
|
4090
4090
|
'POST',
|
|
4091
|
-
{ },
|
|
4092
|
-
{ },
|
|
4093
|
-
{ },
|
|
4094
|
-
{ },
|
|
4091
|
+
{ },
|
|
4092
|
+
{ },
|
|
4093
|
+
{ },
|
|
4094
|
+
{ },
|
|
4095
4095
|
body,
|
|
4096
4096
|
['PureCloud OAuth'],
|
|
4097
|
-
['application/json'],
|
|
4097
|
+
['application/json'],
|
|
4098
4098
|
['application/json']
|
|
4099
4099
|
);
|
|
4100
4100
|
}
|
|
@@ -4123,13 +4123,13 @@ class ConversationsApi {
|
|
|
4123
4123
|
return this.apiClient.callApi(
|
|
4124
4124
|
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages',
|
|
4125
4125
|
'POST',
|
|
4126
|
-
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
4127
|
-
{ },
|
|
4128
|
-
{ },
|
|
4129
|
-
{ },
|
|
4126
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
4127
|
+
{ },
|
|
4128
|
+
{ },
|
|
4129
|
+
{ },
|
|
4130
4130
|
body,
|
|
4131
4131
|
['PureCloud OAuth'],
|
|
4132
|
-
['application/json'],
|
|
4132
|
+
['application/json'],
|
|
4133
4133
|
['application/json']
|
|
4134
4134
|
);
|
|
4135
4135
|
}
|
|
@@ -4153,23 +4153,23 @@ class ConversationsApi {
|
|
|
4153
4153
|
return this.apiClient.callApi(
|
|
4154
4154
|
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media',
|
|
4155
4155
|
'POST',
|
|
4156
|
-
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
4157
|
-
{ },
|
|
4158
|
-
{ },
|
|
4159
|
-
{ },
|
|
4156
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
4157
|
+
{ },
|
|
4158
|
+
{ },
|
|
4159
|
+
{ },
|
|
4160
4160
|
null,
|
|
4161
4161
|
['PureCloud OAuth'],
|
|
4162
|
-
['application/json'],
|
|
4162
|
+
['application/json'],
|
|
4163
4163
|
['application/json']
|
|
4164
4164
|
);
|
|
4165
4165
|
}
|
|
4166
4166
|
|
|
4167
4167
|
/**
|
|
4168
4168
|
* Get messages in batch
|
|
4169
|
-
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: [
|
|
4169
|
+
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
|
|
4170
4170
|
* @param {String} conversationId
|
|
4171
4171
|
* @param {Object} opts Optional parameters
|
|
4172
|
-
* @param {Array.<
|
|
4172
|
+
* @param {Array.<String>} opts.body messageIds
|
|
4173
4173
|
*/
|
|
4174
4174
|
postConversationsMessageMessagesBulk(conversationId, opts) {
|
|
4175
4175
|
opts = opts || {};
|
|
@@ -4182,13 +4182,13 @@ class ConversationsApi {
|
|
|
4182
4182
|
return this.apiClient.callApi(
|
|
4183
4183
|
'/api/v2/conversations/messages/{conversationId}/messages/bulk',
|
|
4184
4184
|
'POST',
|
|
4185
|
-
{ 'conversationId': conversationId },
|
|
4186
|
-
{ },
|
|
4187
|
-
{ },
|
|
4188
|
-
{ },
|
|
4185
|
+
{ 'conversationId': conversationId },
|
|
4186
|
+
{ },
|
|
4187
|
+
{ },
|
|
4188
|
+
{ },
|
|
4189
4189
|
opts['body'],
|
|
4190
4190
|
['PureCloud OAuth'],
|
|
4191
|
-
['application/json'],
|
|
4191
|
+
['application/json'],
|
|
4192
4192
|
['application/json']
|
|
4193
4193
|
);
|
|
4194
4194
|
}
|
|
@@ -4217,13 +4217,13 @@ class ConversationsApi {
|
|
|
4217
4217
|
return this.apiClient.callApi(
|
|
4218
4218
|
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/replace',
|
|
4219
4219
|
'POST',
|
|
4220
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4221
|
-
{ },
|
|
4222
|
-
{ },
|
|
4223
|
-
{ },
|
|
4220
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4221
|
+
{ },
|
|
4222
|
+
{ },
|
|
4223
|
+
{ },
|
|
4224
4224
|
body,
|
|
4225
4225
|
['PureCloud OAuth'],
|
|
4226
|
-
['application/json'],
|
|
4226
|
+
['application/json'],
|
|
4227
4227
|
['application/json']
|
|
4228
4228
|
);
|
|
4229
4229
|
}
|
|
@@ -4242,13 +4242,13 @@ class ConversationsApi {
|
|
|
4242
4242
|
return this.apiClient.callApi(
|
|
4243
4243
|
'/api/v2/conversations/messages',
|
|
4244
4244
|
'POST',
|
|
4245
|
-
{ },
|
|
4246
|
-
{ },
|
|
4247
|
-
{ },
|
|
4248
|
-
{ },
|
|
4245
|
+
{ },
|
|
4246
|
+
{ },
|
|
4247
|
+
{ },
|
|
4248
|
+
{ },
|
|
4249
4249
|
body,
|
|
4250
4250
|
['PureCloud OAuth'],
|
|
4251
|
-
['application/json'],
|
|
4251
|
+
['application/json'],
|
|
4252
4252
|
['application/json']
|
|
4253
4253
|
);
|
|
4254
4254
|
}
|
|
@@ -4267,13 +4267,13 @@ class ConversationsApi {
|
|
|
4267
4267
|
return this.apiClient.callApi(
|
|
4268
4268
|
'/api/v2/conversations/messages/agentless',
|
|
4269
4269
|
'POST',
|
|
4270
|
-
{ },
|
|
4271
|
-
{ },
|
|
4272
|
-
{ },
|
|
4273
|
-
{ },
|
|
4270
|
+
{ },
|
|
4271
|
+
{ },
|
|
4272
|
+
{ },
|
|
4273
|
+
{ },
|
|
4274
4274
|
body,
|
|
4275
4275
|
['PureCloud OAuth'],
|
|
4276
|
-
['application/json'],
|
|
4276
|
+
['application/json'],
|
|
4277
4277
|
['application/json']
|
|
4278
4278
|
);
|
|
4279
4279
|
}
|
|
@@ -4292,13 +4292,13 @@ class ConversationsApi {
|
|
|
4292
4292
|
return this.apiClient.callApi(
|
|
4293
4293
|
'/api/v2/conversations/messages/inbound/open',
|
|
4294
4294
|
'POST',
|
|
4295
|
-
{ },
|
|
4296
|
-
{ },
|
|
4297
|
-
{ },
|
|
4298
|
-
{ },
|
|
4295
|
+
{ },
|
|
4296
|
+
{ },
|
|
4297
|
+
{ },
|
|
4298
|
+
{ },
|
|
4299
4299
|
body,
|
|
4300
4300
|
['PureCloud OAuth'],
|
|
4301
|
-
['application/json'],
|
|
4301
|
+
['application/json'],
|
|
4302
4302
|
['application/json']
|
|
4303
4303
|
);
|
|
4304
4304
|
}
|
|
@@ -4317,13 +4317,13 @@ class ConversationsApi {
|
|
|
4317
4317
|
return this.apiClient.callApi(
|
|
4318
4318
|
'/api/v2/conversations/messaging/integrations/facebook',
|
|
4319
4319
|
'POST',
|
|
4320
|
-
{ },
|
|
4321
|
-
{ },
|
|
4322
|
-
{ },
|
|
4323
|
-
{ },
|
|
4320
|
+
{ },
|
|
4321
|
+
{ },
|
|
4322
|
+
{ },
|
|
4323
|
+
{ },
|
|
4324
4324
|
body,
|
|
4325
4325
|
['PureCloud OAuth'],
|
|
4326
|
-
['application/json'],
|
|
4326
|
+
['application/json'],
|
|
4327
4327
|
['application/json']
|
|
4328
4328
|
);
|
|
4329
4329
|
}
|
|
@@ -4342,13 +4342,13 @@ class ConversationsApi {
|
|
|
4342
4342
|
return this.apiClient.callApi(
|
|
4343
4343
|
'/api/v2/conversations/messaging/integrations/line',
|
|
4344
4344
|
'POST',
|
|
4345
|
-
{ },
|
|
4346
|
-
{ },
|
|
4347
|
-
{ },
|
|
4348
|
-
{ },
|
|
4345
|
+
{ },
|
|
4346
|
+
{ },
|
|
4347
|
+
{ },
|
|
4348
|
+
{ },
|
|
4349
4349
|
body,
|
|
4350
4350
|
['PureCloud OAuth'],
|
|
4351
|
-
['application/json'],
|
|
4351
|
+
['application/json'],
|
|
4352
4352
|
['application/json']
|
|
4353
4353
|
);
|
|
4354
4354
|
}
|
|
@@ -4367,13 +4367,13 @@ class ConversationsApi {
|
|
|
4367
4367
|
return this.apiClient.callApi(
|
|
4368
4368
|
'/api/v2/conversations/messaging/integrations/open',
|
|
4369
4369
|
'POST',
|
|
4370
|
-
{ },
|
|
4371
|
-
{ },
|
|
4372
|
-
{ },
|
|
4373
|
-
{ },
|
|
4370
|
+
{ },
|
|
4371
|
+
{ },
|
|
4372
|
+
{ },
|
|
4373
|
+
{ },
|
|
4374
4374
|
body,
|
|
4375
4375
|
['PureCloud OAuth'],
|
|
4376
|
-
['application/json'],
|
|
4376
|
+
['application/json'],
|
|
4377
4377
|
['application/json']
|
|
4378
4378
|
);
|
|
4379
4379
|
}
|
|
@@ -4392,13 +4392,13 @@ class ConversationsApi {
|
|
|
4392
4392
|
return this.apiClient.callApi(
|
|
4393
4393
|
'/api/v2/conversations/messaging/integrations/twitter',
|
|
4394
4394
|
'POST',
|
|
4395
|
-
{ },
|
|
4396
|
-
{ },
|
|
4397
|
-
{ },
|
|
4398
|
-
{ },
|
|
4395
|
+
{ },
|
|
4396
|
+
{ },
|
|
4397
|
+
{ },
|
|
4398
|
+
{ },
|
|
4399
4399
|
body,
|
|
4400
4400
|
['PureCloud OAuth'],
|
|
4401
|
-
['application/json'],
|
|
4401
|
+
['application/json'],
|
|
4402
4402
|
['application/json']
|
|
4403
4403
|
);
|
|
4404
4404
|
}
|
|
@@ -4417,13 +4417,13 @@ class ConversationsApi {
|
|
|
4417
4417
|
return this.apiClient.callApi(
|
|
4418
4418
|
'/api/v2/conversations/messaging/integrations/whatsapp',
|
|
4419
4419
|
'POST',
|
|
4420
|
-
{ },
|
|
4421
|
-
{ },
|
|
4422
|
-
{ },
|
|
4423
|
-
{ },
|
|
4420
|
+
{ },
|
|
4421
|
+
{ },
|
|
4422
|
+
{ },
|
|
4423
|
+
{ },
|
|
4424
4424
|
body,
|
|
4425
4425
|
['PureCloud OAuth'],
|
|
4426
|
-
['application/json'],
|
|
4426
|
+
['application/json'],
|
|
4427
4427
|
['application/json']
|
|
4428
4428
|
);
|
|
4429
4429
|
}
|
|
@@ -4442,13 +4442,13 @@ class ConversationsApi {
|
|
|
4442
4442
|
return this.apiClient.callApi(
|
|
4443
4443
|
'/api/v2/conversations/messaging/supportedcontent',
|
|
4444
4444
|
'POST',
|
|
4445
|
-
{ },
|
|
4446
|
-
{ },
|
|
4447
|
-
{ },
|
|
4448
|
-
{ },
|
|
4445
|
+
{ },
|
|
4446
|
+
{ },
|
|
4447
|
+
{ },
|
|
4448
|
+
{ },
|
|
4449
4449
|
body,
|
|
4450
4450
|
['PureCloud OAuth'],
|
|
4451
|
-
['application/json'],
|
|
4451
|
+
['application/json'],
|
|
4452
4452
|
['application/json']
|
|
4453
4453
|
);
|
|
4454
4454
|
}
|
|
@@ -4472,13 +4472,13 @@ class ConversationsApi {
|
|
|
4472
4472
|
return this.apiClient.callApi(
|
|
4473
4473
|
'/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason',
|
|
4474
4474
|
'PUT',
|
|
4475
|
-
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4476
|
-
{ },
|
|
4477
|
-
{ },
|
|
4478
|
-
{ },
|
|
4475
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
4476
|
+
{ },
|
|
4477
|
+
{ },
|
|
4478
|
+
{ },
|
|
4479
4479
|
null,
|
|
4480
4480
|
['PureCloud OAuth'],
|
|
4481
|
-
['application/json'],
|
|
4481
|
+
['application/json'],
|
|
4482
4482
|
['application/json']
|
|
4483
4483
|
);
|
|
4484
4484
|
}
|
|
@@ -4502,13 +4502,13 @@ class ConversationsApi {
|
|
|
4502
4502
|
return this.apiClient.callApi(
|
|
4503
4503
|
'/api/v2/conversations/{conversationId}/tags',
|
|
4504
4504
|
'PUT',
|
|
4505
|
-
{ 'conversationId': conversationId },
|
|
4506
|
-
{ },
|
|
4507
|
-
{ },
|
|
4508
|
-
{ },
|
|
4505
|
+
{ 'conversationId': conversationId },
|
|
4506
|
+
{ },
|
|
4507
|
+
{ },
|
|
4508
|
+
{ },
|
|
4509
4509
|
body,
|
|
4510
4510
|
['PureCloud OAuth'],
|
|
4511
|
-
['application/json'],
|
|
4511
|
+
['application/json'],
|
|
4512
4512
|
['application/json']
|
|
4513
4513
|
);
|
|
4514
4514
|
}
|
|
@@ -4542,13 +4542,13 @@ class ConversationsApi {
|
|
|
4542
4542
|
return this.apiClient.callApi(
|
|
4543
4543
|
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/uuidata',
|
|
4544
4544
|
'PUT',
|
|
4545
|
-
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4546
|
-
{ },
|
|
4547
|
-
{ },
|
|
4548
|
-
{ },
|
|
4545
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
4546
|
+
{ },
|
|
4547
|
+
{ },
|
|
4548
|
+
{ },
|
|
4549
4549
|
body,
|
|
4550
4550
|
['PureCloud OAuth'],
|
|
4551
|
-
['application/json'],
|
|
4551
|
+
['application/json'],
|
|
4552
4552
|
['application/json']
|
|
4553
4553
|
);
|
|
4554
4554
|
}
|
|
@@ -4572,13 +4572,13 @@ class ConversationsApi {
|
|
|
4572
4572
|
return this.apiClient.callApi(
|
|
4573
4573
|
'/api/v2/conversations/emails/{conversationId}/messages/draft',
|
|
4574
4574
|
'PUT',
|
|
4575
|
-
{ 'conversationId': conversationId },
|
|
4576
|
-
{ },
|
|
4577
|
-
{ },
|
|
4578
|
-
{ },
|
|
4575
|
+
{ 'conversationId': conversationId },
|
|
4576
|
+
{ },
|
|
4577
|
+
{ },
|
|
4578
|
+
{ },
|
|
4579
4579
|
body,
|
|
4580
4580
|
['PureCloud OAuth'],
|
|
4581
|
-
['application/json'],
|
|
4581
|
+
['application/json'],
|
|
4582
4582
|
['application/json']
|
|
4583
4583
|
);
|
|
4584
4584
|
}
|
|
@@ -4602,19 +4602,19 @@ class ConversationsApi {
|
|
|
4602
4602
|
return this.apiClient.callApi(
|
|
4603
4603
|
'/api/v2/conversations/messaging/integrations/line/{integrationId}',
|
|
4604
4604
|
'PUT',
|
|
4605
|
-
{ 'integrationId': integrationId },
|
|
4606
|
-
{ },
|
|
4607
|
-
{ },
|
|
4608
|
-
{ },
|
|
4605
|
+
{ 'integrationId': integrationId },
|
|
4606
|
+
{ },
|
|
4607
|
+
{ },
|
|
4608
|
+
{ },
|
|
4609
4609
|
body,
|
|
4610
4610
|
['PureCloud OAuth'],
|
|
4611
|
-
['application/json'],
|
|
4611
|
+
['application/json'],
|
|
4612
4612
|
['application/json']
|
|
4613
4613
|
);
|
|
4614
4614
|
}
|
|
4615
4615
|
|
|
4616
4616
|
/**
|
|
4617
|
-
* Set the organization
|
|
4617
|
+
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
4618
4618
|
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
4619
4619
|
* @param {Object} body SupportedContent
|
|
4620
4620
|
*/
|
|
@@ -4627,13 +4627,13 @@ class ConversationsApi {
|
|
|
4627
4627
|
return this.apiClient.callApi(
|
|
4628
4628
|
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
4629
4629
|
'PUT',
|
|
4630
|
-
{ },
|
|
4631
|
-
{ },
|
|
4632
|
-
{ },
|
|
4633
|
-
{ },
|
|
4630
|
+
{ },
|
|
4631
|
+
{ },
|
|
4632
|
+
{ },
|
|
4633
|
+
{ },
|
|
4634
4634
|
body,
|
|
4635
4635
|
['PureCloud OAuth'],
|
|
4636
|
-
['application/json'],
|
|
4636
|
+
['application/json'],
|
|
4637
4637
|
['application/json']
|
|
4638
4638
|
);
|
|
4639
4639
|
}
|
|
@@ -4652,13 +4652,13 @@ class ConversationsApi {
|
|
|
4652
4652
|
return this.apiClient.callApi(
|
|
4653
4653
|
'/api/v2/conversations/messaging/threadingtimeline',
|
|
4654
4654
|
'PUT',
|
|
4655
|
-
{ },
|
|
4656
|
-
{ },
|
|
4657
|
-
{ },
|
|
4658
|
-
{ },
|
|
4655
|
+
{ },
|
|
4656
|
+
{ },
|
|
4657
|
+
{ },
|
|
4658
|
+
{ },
|
|
4659
4659
|
body,
|
|
4660
4660
|
['PureCloud OAuth'],
|
|
4661
|
-
['application/json'],
|
|
4661
|
+
['application/json'],
|
|
4662
4662
|
['application/json']
|
|
4663
4663
|
);
|
|
4664
4664
|
}
|