purecloud-platform-client-v2 230.0.0 → 231.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +970 -124
- package/dist/web-amd/purecloud-platform-client-v2.js +970 -124
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +365 -138
- package/dist/web-cjs/purecloud-platform-client-v2.js +365 -138
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +958 -264
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +67 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +107 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +17 -7
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -32
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class AIStudioApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* AIStudio service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,31 @@ class AIStudioApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete a summary setting.
|
|
25
|
+
*
|
|
26
|
+
* @param {String} summarySettingId Summary setting id
|
|
27
|
+
*/
|
|
28
|
+
deleteConversationsSummariesSetting(summarySettingId) {
|
|
29
|
+
// verify the required parameter 'summarySettingId' is set
|
|
30
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
31
|
+
throw 'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'summarySettingId': summarySettingId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
23
48
|
/**
|
|
24
49
|
* Start the deletion of a guide.
|
|
25
50
|
*
|
|
@@ -46,6 +71,60 @@ class AIStudioApi {
|
|
|
46
71
|
);
|
|
47
72
|
}
|
|
48
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Receive a summary setting.
|
|
76
|
+
*
|
|
77
|
+
* @param {String} summarySettingId Summary setting id
|
|
78
|
+
*/
|
|
79
|
+
getConversationsSummariesSetting(summarySettingId) {
|
|
80
|
+
// verify the required parameter 'summarySettingId' is set
|
|
81
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
82
|
+
throw 'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return this.apiClient.callApi(
|
|
86
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
87
|
+
'GET',
|
|
88
|
+
{ 'summarySettingId': summarySettingId },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
{ },
|
|
92
|
+
null,
|
|
93
|
+
['PureCloud OAuth'],
|
|
94
|
+
['application/json'],
|
|
95
|
+
['application/json']
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Get all summary settings.
|
|
101
|
+
*
|
|
102
|
+
* @param {Object} opts Optional parameters
|
|
103
|
+
* @param {String} opts.language Filter by matching language - case insensitive.
|
|
104
|
+
* @param {String} opts.name Filter by partially matching name - case insensitive.
|
|
105
|
+
* @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
|
|
106
|
+
* @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
|
|
107
|
+
* @param {Number} opts.pageNumber Page number. (default to 1)
|
|
108
|
+
* @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
|
|
109
|
+
*/
|
|
110
|
+
getConversationsSummariesSettings(opts) {
|
|
111
|
+
opts = opts || {};
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
return this.apiClient.callApi(
|
|
115
|
+
'/api/v2/conversations/summaries/settings',
|
|
116
|
+
'GET',
|
|
117
|
+
{ },
|
|
118
|
+
{ 'language': opts['language'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
|
+
null,
|
|
122
|
+
['PureCloud OAuth'],
|
|
123
|
+
['application/json'],
|
|
124
|
+
['application/json']
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
49
128
|
/**
|
|
50
129
|
* Get guide.
|
|
51
130
|
*
|
|
@@ -294,6 +373,56 @@ class AIStudioApi {
|
|
|
294
373
|
);
|
|
295
374
|
}
|
|
296
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Trigger summary preview event generation.
|
|
378
|
+
*
|
|
379
|
+
* @param {Object} body
|
|
380
|
+
*/
|
|
381
|
+
postConversationsSummariesPreview(body) {
|
|
382
|
+
// verify the required parameter 'body' is set
|
|
383
|
+
if (body === undefined || body === null) {
|
|
384
|
+
throw 'Missing the required parameter "body" when calling postConversationsSummariesPreview';
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
return this.apiClient.callApi(
|
|
388
|
+
'/api/v2/conversations/summaries/preview',
|
|
389
|
+
'POST',
|
|
390
|
+
{ },
|
|
391
|
+
{ },
|
|
392
|
+
{ },
|
|
393
|
+
{ },
|
|
394
|
+
body,
|
|
395
|
+
['PureCloud OAuth'],
|
|
396
|
+
['application/json'],
|
|
397
|
+
['application/json']
|
|
398
|
+
);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Create a summary setting.
|
|
403
|
+
*
|
|
404
|
+
* @param {Object} body
|
|
405
|
+
*/
|
|
406
|
+
postConversationsSummariesSettings(body) {
|
|
407
|
+
// verify the required parameter 'body' is set
|
|
408
|
+
if (body === undefined || body === null) {
|
|
409
|
+
throw 'Missing the required parameter "body" when calling postConversationsSummariesSettings';
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return this.apiClient.callApi(
|
|
413
|
+
'/api/v2/conversations/summaries/settings',
|
|
414
|
+
'POST',
|
|
415
|
+
{ },
|
|
416
|
+
{ },
|
|
417
|
+
{ },
|
|
418
|
+
{ },
|
|
419
|
+
body,
|
|
420
|
+
['PureCloud OAuth'],
|
|
421
|
+
['application/json'],
|
|
422
|
+
['application/json']
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
|
|
297
426
|
/**
|
|
298
427
|
* Start the publishing of a guide version.
|
|
299
428
|
*
|
|
@@ -412,6 +541,36 @@ class AIStudioApi {
|
|
|
412
541
|
);
|
|
413
542
|
}
|
|
414
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Update a summary setting.
|
|
546
|
+
*
|
|
547
|
+
* @param {String} summarySettingId Summary setting id
|
|
548
|
+
* @param {Object} body
|
|
549
|
+
*/
|
|
550
|
+
putConversationsSummariesSetting(summarySettingId, body) {
|
|
551
|
+
// verify the required parameter 'summarySettingId' is set
|
|
552
|
+
if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
|
|
553
|
+
throw 'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';
|
|
554
|
+
}
|
|
555
|
+
// verify the required parameter 'body' is set
|
|
556
|
+
if (body === undefined || body === null) {
|
|
557
|
+
throw 'Missing the required parameter "body" when calling putConversationsSummariesSetting';
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
return this.apiClient.callApi(
|
|
561
|
+
'/api/v2/conversations/summaries/settings/{summarySettingId}',
|
|
562
|
+
'PUT',
|
|
563
|
+
{ 'summarySettingId': summarySettingId },
|
|
564
|
+
{ },
|
|
565
|
+
{ },
|
|
566
|
+
{ },
|
|
567
|
+
body,
|
|
568
|
+
['PureCloud OAuth'],
|
|
569
|
+
['application/json'],
|
|
570
|
+
['application/json']
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
|
|
415
574
|
}
|
|
416
575
|
|
|
417
576
|
|
|
@@ -5,7 +5,7 @@ class AnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Analytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -937,6 +937,62 @@ class AnalyticsApi {
|
|
|
937
937
|
);
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
+
/**
|
|
941
|
+
* Get analytics data warehouse file download
|
|
942
|
+
*
|
|
943
|
+
* @param {String} downloadId Unique file Id to download
|
|
944
|
+
* getAnalyticsDataextractionDownload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
945
|
+
*/
|
|
946
|
+
getAnalyticsDataextractionDownload(downloadId) {
|
|
947
|
+
// verify the required parameter 'downloadId' is set
|
|
948
|
+
if (downloadId === undefined || downloadId === null || downloadId === '') {
|
|
949
|
+
throw 'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
return this.apiClient.callApi(
|
|
953
|
+
'/api/v2/analytics/dataextraction/downloads/{downloadId}',
|
|
954
|
+
'GET',
|
|
955
|
+
{ 'downloadId': downloadId },
|
|
956
|
+
{ },
|
|
957
|
+
{ },
|
|
958
|
+
{ },
|
|
959
|
+
null,
|
|
960
|
+
['PureCloud OAuth'],
|
|
961
|
+
['application/json'],
|
|
962
|
+
['application/json']
|
|
963
|
+
);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Get metadata on files available for extraction
|
|
968
|
+
*
|
|
969
|
+
* @param {Object} opts Optional parameters
|
|
970
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
971
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
972
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
973
|
+
* @param {String} opts.dataSchema Data schema like conversations
|
|
974
|
+
* @param {Date} opts.dateStart Start DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
|
|
975
|
+
* @param {Date} opts.dateEnd End DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
|
|
976
|
+
* getAnalyticsDataextractionDownloadsMetadata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
977
|
+
*/
|
|
978
|
+
getAnalyticsDataextractionDownloadsMetadata(opts) {
|
|
979
|
+
opts = opts || {};
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
return this.apiClient.callApi(
|
|
983
|
+
'/api/v2/analytics/dataextraction/downloads/metadata',
|
|
984
|
+
'GET',
|
|
985
|
+
{ },
|
|
986
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dataSchema': opts['dataSchema'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
|
|
987
|
+
{ },
|
|
988
|
+
{ },
|
|
989
|
+
null,
|
|
990
|
+
['PureCloud OAuth'],
|
|
991
|
+
['application/json'],
|
|
992
|
+
['application/json']
|
|
993
|
+
);
|
|
994
|
+
}
|
|
995
|
+
|
|
940
996
|
/**
|
|
941
997
|
* Get analytics data retention setting
|
|
942
998
|
*
|
|
@@ -2229,6 +2285,32 @@ class AnalyticsApi {
|
|
|
2229
2285
|
);
|
|
2230
2286
|
}
|
|
2231
2287
|
|
|
2288
|
+
/**
|
|
2289
|
+
* Get download URLs for analytics data warehouse files
|
|
2290
|
+
*
|
|
2291
|
+
* @param {Object} body request
|
|
2292
|
+
* postAnalyticsDataextractionDownloadsBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2293
|
+
*/
|
|
2294
|
+
postAnalyticsDataextractionDownloadsBulk(body) {
|
|
2295
|
+
// verify the required parameter 'body' is set
|
|
2296
|
+
if (body === undefined || body === null) {
|
|
2297
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
return this.apiClient.callApi(
|
|
2301
|
+
'/api/v2/analytics/dataextraction/downloads/bulk',
|
|
2302
|
+
'POST',
|
|
2303
|
+
{ },
|
|
2304
|
+
{ },
|
|
2305
|
+
{ },
|
|
2306
|
+
{ },
|
|
2307
|
+
body,
|
|
2308
|
+
['PureCloud OAuth'],
|
|
2309
|
+
['application/json'],
|
|
2310
|
+
['application/json']
|
|
2311
|
+
);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2232
2314
|
/**
|
|
2233
2315
|
* Query for evaluation aggregates asynchronously
|
|
2234
2316
|
*
|
|
@@ -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 231.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -5957,6 +5957,41 @@ class ConversationsApi {
|
|
|
5957
5957
|
);
|
|
5958
5958
|
}
|
|
5959
5959
|
|
|
5960
|
+
/**
|
|
5961
|
+
* Add participants to a conversation without a user context
|
|
5962
|
+
*
|
|
5963
|
+
* @param {String} conversationId conversationId
|
|
5964
|
+
* @param {String} userId userId
|
|
5965
|
+
* @param {Object} body Conversation
|
|
5966
|
+
*/
|
|
5967
|
+
postConversationsCallParticipantsUserUserId(conversationId, userId, body) {
|
|
5968
|
+
// verify the required parameter 'conversationId' is set
|
|
5969
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
5970
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';
|
|
5971
|
+
}
|
|
5972
|
+
// verify the required parameter 'userId' is set
|
|
5973
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
5974
|
+
throw 'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';
|
|
5975
|
+
}
|
|
5976
|
+
// verify the required parameter 'body' is set
|
|
5977
|
+
if (body === undefined || body === null) {
|
|
5978
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';
|
|
5979
|
+
}
|
|
5980
|
+
|
|
5981
|
+
return this.apiClient.callApi(
|
|
5982
|
+
'/api/v2/conversations/calls/{conversationId}/participants/user/{userId}',
|
|
5983
|
+
'POST',
|
|
5984
|
+
{ 'conversationId': conversationId,'userId': userId },
|
|
5985
|
+
{ },
|
|
5986
|
+
{ },
|
|
5987
|
+
{ },
|
|
5988
|
+
body,
|
|
5989
|
+
['PureCloud OAuth'],
|
|
5990
|
+
['application/json'],
|
|
5991
|
+
['application/json']
|
|
5992
|
+
);
|
|
5993
|
+
}
|
|
5994
|
+
|
|
5960
5995
|
/**
|
|
5961
5996
|
* Apply wrap-up for this conversation communication
|
|
5962
5997
|
*
|
|
@@ -6131,6 +6166,36 @@ class ConversationsApi {
|
|
|
6131
6166
|
);
|
|
6132
6167
|
}
|
|
6133
6168
|
|
|
6169
|
+
/**
|
|
6170
|
+
* Create a call conversation on behalf of a user
|
|
6171
|
+
*
|
|
6172
|
+
* @param {String} userId userId
|
|
6173
|
+
* @param {Object} body Call request
|
|
6174
|
+
*/
|
|
6175
|
+
postConversationsCallsUserUserId(userId, body) {
|
|
6176
|
+
// verify the required parameter 'userId' is set
|
|
6177
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6178
|
+
throw 'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';
|
|
6179
|
+
}
|
|
6180
|
+
// verify the required parameter 'body' is set
|
|
6181
|
+
if (body === undefined || body === null) {
|
|
6182
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallsUserUserId';
|
|
6183
|
+
}
|
|
6184
|
+
|
|
6185
|
+
return this.apiClient.callApi(
|
|
6186
|
+
'/api/v2/conversations/calls/user/{userId}',
|
|
6187
|
+
'POST',
|
|
6188
|
+
{ 'userId': userId },
|
|
6189
|
+
{ },
|
|
6190
|
+
{ },
|
|
6191
|
+
{ },
|
|
6192
|
+
body,
|
|
6193
|
+
['PureCloud OAuth'],
|
|
6194
|
+
['application/json'],
|
|
6195
|
+
['application/json']
|
|
6196
|
+
);
|
|
6197
|
+
}
|
|
6198
|
+
|
|
6134
6199
|
/**
|
|
6135
6200
|
* Send a message on behalf of a communication in a chat conversation.
|
|
6136
6201
|
* This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
@@ -6541,7 +6606,7 @@ class ConversationsApi {
|
|
|
6541
6606
|
|
|
6542
6607
|
/**
|
|
6543
6608
|
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
6544
|
-
*
|
|
6609
|
+
* This request is not valid when using the Client Credentials OAuth grant.
|
|
6545
6610
|
* @param {String} conversationId conversationId
|
|
6546
6611
|
*/
|
|
6547
6612
|
postConversationsEmailReconnect(conversationId) {
|