purecloud-platform-client-v2 186.0.1 → 188.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +367 -151
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +899 -240
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +4 -22
- 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 +40 -12
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.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 +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +263 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +3 -2
- 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 +219 -4
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +50 -0
- 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/SpeechTextAnalyticsApi.js +3 -2
- 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 -27
- 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 +94 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/package.json
CHANGED
|
@@ -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 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1800,7 +1800,6 @@ class AnalyticsApi {
|
|
|
1800
1800
|
* Query for flow execution aggregates
|
|
1801
1801
|
*
|
|
1802
1802
|
* @param {Object} body query
|
|
1803
|
-
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1804
1803
|
*/
|
|
1805
1804
|
postAnalyticsFlowexecutionsAggregatesQuery(body) {
|
|
1806
1805
|
// verify the required parameter 'body' is set
|
|
@@ -2057,6 +2056,31 @@ class AnalyticsApi {
|
|
|
2057
2056
|
);
|
|
2058
2057
|
}
|
|
2059
2058
|
|
|
2059
|
+
/**
|
|
2060
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
2061
|
+
*
|
|
2062
|
+
* @param {Object} body query
|
|
2063
|
+
*/
|
|
2064
|
+
postAnalyticsRatelimitsAggregatesQuery(body) {
|
|
2065
|
+
// verify the required parameter 'body' is set
|
|
2066
|
+
if (body === undefined || body === null) {
|
|
2067
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
return this.apiClient.callApi(
|
|
2071
|
+
'/api/v2/analytics/ratelimits/aggregates/query',
|
|
2072
|
+
'POST',
|
|
2073
|
+
{ },
|
|
2074
|
+
{ },
|
|
2075
|
+
{ },
|
|
2076
|
+
{ },
|
|
2077
|
+
body,
|
|
2078
|
+
['PureCloud OAuth'],
|
|
2079
|
+
['application/json'],
|
|
2080
|
+
['application/json']
|
|
2081
|
+
);
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2060
2084
|
/**
|
|
2061
2085
|
* Generate a view export request
|
|
2062
2086
|
* This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
|
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1061,8 +1061,14 @@ class ArchitectApi {
|
|
|
1061
1061
|
* Get specified user prompt
|
|
1062
1062
|
*
|
|
1063
1063
|
* @param {String} promptId Prompt ID
|
|
1064
|
+
* @param {Object} opts Optional parameters
|
|
1065
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
1066
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
1067
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
1064
1068
|
*/
|
|
1065
|
-
getArchitectPrompt(promptId) {
|
|
1069
|
+
getArchitectPrompt(promptId, opts) {
|
|
1070
|
+
opts = opts || {};
|
|
1071
|
+
|
|
1066
1072
|
// verify the required parameter 'promptId' is set
|
|
1067
1073
|
if (promptId === undefined || promptId === null) {
|
|
1068
1074
|
throw 'Missing the required parameter "promptId" when calling getArchitectPrompt';
|
|
@@ -1072,7 +1078,7 @@ class ArchitectApi {
|
|
|
1072
1078
|
'/api/v2/architect/prompts/{promptId}',
|
|
1073
1079
|
'GET',
|
|
1074
1080
|
{ 'promptId': promptId },
|
|
1075
|
-
{
|
|
1081
|
+
{ 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
1076
1082
|
{ },
|
|
1077
1083
|
{ },
|
|
1078
1084
|
null,
|
|
@@ -1191,6 +1197,9 @@ class ArchitectApi {
|
|
|
1191
1197
|
* @param {String} opts.nameOrDescription Name or description
|
|
1192
1198
|
* @param {String} opts.sortBy Sort by (default to id)
|
|
1193
1199
|
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
1200
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
1201
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
1202
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
1194
1203
|
*/
|
|
1195
1204
|
getArchitectPrompts(opts) {
|
|
1196
1205
|
opts = opts || {};
|
|
@@ -1200,7 +1209,7 @@ class ArchitectApi {
|
|
|
1200
1209
|
'/api/v2/architect/prompts',
|
|
1201
1210
|
'GET',
|
|
1202
1211
|
{ },
|
|
1203
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
1212
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
1204
1213
|
{ },
|
|
1205
1214
|
{ },
|
|
1206
1215
|
null,
|
|
@@ -1383,8 +1392,14 @@ class ArchitectApi {
|
|
|
1383
1392
|
* Get a system prompt
|
|
1384
1393
|
*
|
|
1385
1394
|
* @param {String} promptId promptId
|
|
1395
|
+
* @param {Object} opts Optional parameters
|
|
1396
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
1397
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
1398
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
1386
1399
|
*/
|
|
1387
|
-
getArchitectSystemprompt(promptId) {
|
|
1400
|
+
getArchitectSystemprompt(promptId, opts) {
|
|
1401
|
+
opts = opts || {};
|
|
1402
|
+
|
|
1388
1403
|
// verify the required parameter 'promptId' is set
|
|
1389
1404
|
if (promptId === undefined || promptId === null) {
|
|
1390
1405
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystemprompt';
|
|
@@ -1394,7 +1409,7 @@ class ArchitectApi {
|
|
|
1394
1409
|
'/api/v2/architect/systemprompts/{promptId}',
|
|
1395
1410
|
'GET',
|
|
1396
1411
|
{ 'promptId': promptId },
|
|
1397
|
-
{
|
|
1412
|
+
{ 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
1398
1413
|
{ },
|
|
1399
1414
|
{ },
|
|
1400
1415
|
null,
|
|
@@ -1515,6 +1530,9 @@ class ArchitectApi {
|
|
|
1515
1530
|
* @param {String} opts.name Name
|
|
1516
1531
|
* @param {String} opts.description Description
|
|
1517
1532
|
* @param {String} opts.nameOrDescription Name or description
|
|
1533
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
1534
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
1535
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
1518
1536
|
*/
|
|
1519
1537
|
getArchitectSystemprompts(opts) {
|
|
1520
1538
|
opts = opts || {};
|
|
@@ -1524,7 +1542,7 @@ class ArchitectApi {
|
|
|
1524
1542
|
'/api/v2/architect/systemprompts',
|
|
1525
1543
|
'GET',
|
|
1526
1544
|
{ },
|
|
1527
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'] },
|
|
1545
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
|
|
1528
1546
|
{ },
|
|
1529
1547
|
{ },
|
|
1530
1548
|
null,
|
|
@@ -3366,6 +3384,7 @@ class ArchitectApi {
|
|
|
3366
3384
|
* @param {Object} body query
|
|
3367
3385
|
* @param {Object} opts Optional parameters
|
|
3368
3386
|
* @param {Boolean} opts.indexOnly indexes only
|
|
3387
|
+
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
3369
3388
|
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3370
3389
|
*/
|
|
3371
3390
|
postFlowsInstancesQuery(body, opts) {
|
|
@@ -3380,7 +3399,7 @@ class ArchitectApi {
|
|
|
3380
3399
|
'/api/v2/flows/instances/query',
|
|
3381
3400
|
'POST',
|
|
3382
3401
|
{ },
|
|
3383
|
-
{ 'indexOnly': opts['indexOnly'] },
|
|
3402
|
+
{ 'indexOnly': opts['indexOnly'],'pageSize': opts['pageSize'] },
|
|
3384
3403
|
{ },
|
|
3385
3404
|
{ },
|
|
3386
3405
|
body,
|
|
@@ -5,7 +5,7 @@ class AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -179,6 +179,7 @@ class AuthorizationApi {
|
|
|
179
179
|
* @param {String} opts.nextPage next page token
|
|
180
180
|
* @param {String} opts.previousPage Previous page token
|
|
181
181
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
182
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
182
183
|
* @param {String} opts.name Search term to filter by division name
|
|
183
184
|
*/
|
|
184
185
|
getAuthorizationDivisions(opts) {
|
|
@@ -189,7 +190,7 @@ class AuthorizationApi {
|
|
|
189
190
|
'/api/v2/authorization/divisions',
|
|
190
191
|
'GET',
|
|
191
192
|
{ },
|
|
192
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
|
|
193
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
193
194
|
{ },
|
|
194
195
|
{ },
|
|
195
196
|
null,
|
|
@@ -5,7 +5,7 @@ class ChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Chat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -232,12 +232,6 @@ class ChatApi {
|
|
|
232
232
|
*
|
|
233
233
|
* @param {String} roomJid roomJid
|
|
234
234
|
* @param {Object} opts Optional parameters
|
|
235
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
236
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
237
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
238
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
239
|
-
* @param {String} opts.nextPage next page token
|
|
240
|
-
* @param {String} opts.previousPage Previous page token
|
|
241
235
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
242
236
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
243
237
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -255,7 +249,7 @@ class ChatApi {
|
|
|
255
249
|
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
256
250
|
'GET',
|
|
257
251
|
{ 'roomJid': roomJid },
|
|
258
|
-
{ '
|
|
252
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
259
253
|
{ },
|
|
260
254
|
{ },
|
|
261
255
|
null,
|
|
@@ -290,12 +284,6 @@ class ChatApi {
|
|
|
290
284
|
*
|
|
291
285
|
* @param {String} threadId threadId
|
|
292
286
|
* @param {Object} opts Optional parameters
|
|
293
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
294
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
295
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
296
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
297
|
-
* @param {String} opts.nextPage next page token
|
|
298
|
-
* @param {String} opts.previousPage Previous page token
|
|
299
287
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
300
288
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
301
289
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -313,7 +301,7 @@ class ChatApi {
|
|
|
313
301
|
'/api/v2/chats/threads/{threadId}/messages',
|
|
314
302
|
'GET',
|
|
315
303
|
{ 'threadId': threadId },
|
|
316
|
-
{ '
|
|
304
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
317
305
|
{ },
|
|
318
306
|
{ },
|
|
319
307
|
null,
|
|
@@ -359,12 +347,6 @@ class ChatApi {
|
|
|
359
347
|
*
|
|
360
348
|
* @param {String} userId userId
|
|
361
349
|
* @param {Object} opts Optional parameters
|
|
362
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
363
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
364
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
365
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
366
|
-
* @param {String} opts.nextPage next page token
|
|
367
|
-
* @param {String} opts.previousPage Previous page token
|
|
368
350
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
369
351
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
370
352
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
@@ -382,7 +364,7 @@ class ChatApi {
|
|
|
382
364
|
'/api/v2/chats/users/{userId}/messages',
|
|
383
365
|
'GET',
|
|
384
366
|
{ 'userId': userId },
|
|
385
|
-
{ '
|
|
367
|
+
{ 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
386
368
|
{ },
|
|
387
369
|
{ },
|
|
388
370
|
null,
|
|
@@ -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 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -4081,8 +4081,8 @@ class ConversationsApi {
|
|
|
4081
4081
|
}
|
|
4082
4082
|
|
|
4083
4083
|
/**
|
|
4084
|
-
* Update
|
|
4085
|
-
*
|
|
4084
|
+
* Update a WhatsApp messaging integration
|
|
4085
|
+
*
|
|
4086
4086
|
* @param {String} integrationId Integration ID
|
|
4087
4087
|
* @param {Object} body WhatsAppIntegrationUpdateRequest
|
|
4088
4088
|
*/
|
|
@@ -4572,7 +4572,6 @@ class ConversationsApi {
|
|
|
4572
4572
|
* @param {String} conversationId conversation ID
|
|
4573
4573
|
* @param {String} participantId participant ID
|
|
4574
4574
|
* @param {Object} body Transfer request
|
|
4575
|
-
* postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4576
4575
|
*/
|
|
4577
4576
|
postConversationParticipantReplaceAgent(conversationId, participantId, body) {
|
|
4578
4577
|
// verify the required parameter 'conversationId' is set
|
|
@@ -4608,7 +4607,6 @@ class ConversationsApi {
|
|
|
4608
4607
|
* @param {String} conversationId conversation ID
|
|
4609
4608
|
* @param {String} participantId participant ID
|
|
4610
4609
|
* @param {Object} body Transfer request
|
|
4611
|
-
* postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4612
4610
|
*/
|
|
4613
4611
|
postConversationParticipantReplaceExternal(conversationId, participantId, body) {
|
|
4614
4612
|
// verify the required parameter 'conversationId' is set
|
|
@@ -4644,7 +4642,6 @@ class ConversationsApi {
|
|
|
4644
4642
|
* @param {String} conversationId conversation ID
|
|
4645
4643
|
* @param {String} participantId participant ID
|
|
4646
4644
|
* @param {Object} body Transfer request
|
|
4647
|
-
* postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4648
4645
|
*/
|
|
4649
4646
|
postConversationParticipantReplaceQueue(conversationId, participantId, body) {
|
|
4650
4647
|
// verify the required parameter 'conversationId' is set
|
|
@@ -4708,6 +4705,40 @@ class ConversationsApi {
|
|
|
4708
4705
|
);
|
|
4709
4706
|
}
|
|
4710
4707
|
|
|
4708
|
+
/**
|
|
4709
|
+
* Submit feedback for the summary.
|
|
4710
|
+
*
|
|
4711
|
+
* @param {String} conversationId Conversation ID
|
|
4712
|
+
* @param {String} summaryId Summary ID
|
|
4713
|
+
* @param {Object} opts Optional parameters
|
|
4714
|
+
* @param {Object} opts.body
|
|
4715
|
+
*/
|
|
4716
|
+
postConversationSummaryFeedback(conversationId, summaryId, opts) {
|
|
4717
|
+
opts = opts || {};
|
|
4718
|
+
|
|
4719
|
+
// verify the required parameter 'conversationId' is set
|
|
4720
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4721
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';
|
|
4722
|
+
}
|
|
4723
|
+
// verify the required parameter 'summaryId' is set
|
|
4724
|
+
if (summaryId === undefined || summaryId === null) {
|
|
4725
|
+
throw 'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4728
|
+
return this.apiClient.callApi(
|
|
4729
|
+
'/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback',
|
|
4730
|
+
'POST',
|
|
4731
|
+
{ 'conversationId': conversationId,'summaryId': summaryId },
|
|
4732
|
+
{ },
|
|
4733
|
+
{ },
|
|
4734
|
+
{ },
|
|
4735
|
+
opts['body'],
|
|
4736
|
+
['PureCloud OAuth'],
|
|
4737
|
+
['application/json'],
|
|
4738
|
+
['application/json']
|
|
4739
|
+
);
|
|
4740
|
+
}
|
|
4741
|
+
|
|
4711
4742
|
/**
|
|
4712
4743
|
* Place a new call as part of a callback conversation.
|
|
4713
4744
|
*
|
|
@@ -4879,7 +4910,6 @@ class ConversationsApi {
|
|
|
4879
4910
|
* @param {String} conversationId conversationId
|
|
4880
4911
|
* @param {String} participantId participantId
|
|
4881
4912
|
* @param {Object} body Destination agent and initial speak to
|
|
4882
|
-
* postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4883
4913
|
*/
|
|
4884
4914
|
postConversationsCallParticipantConsultAgent(conversationId, participantId, body) {
|
|
4885
4915
|
// verify the required parameter 'conversationId' is set
|
|
@@ -4915,7 +4945,6 @@ class ConversationsApi {
|
|
|
4915
4945
|
* @param {String} conversationId conversationId
|
|
4916
4946
|
* @param {String} participantId participantId
|
|
4917
4947
|
* @param {Object} body Destination address and initial speak to
|
|
4918
|
-
* postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4919
4948
|
*/
|
|
4920
4949
|
postConversationsCallParticipantConsultExternal(conversationId, participantId, body) {
|
|
4921
4950
|
// verify the required parameter 'conversationId' is set
|
|
@@ -4951,7 +4980,6 @@ class ConversationsApi {
|
|
|
4951
4980
|
* @param {String} conversationId conversationId
|
|
4952
4981
|
* @param {String} participantId participantId
|
|
4953
4982
|
* @param {Object} body Destination queue and initial speak to
|
|
4954
|
-
* postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4955
4983
|
*/
|
|
4956
4984
|
postConversationsCallParticipantConsultQueue(conversationId, participantId, body) {
|
|
4957
4985
|
// verify the required parameter 'conversationId' is set
|
|
@@ -6044,7 +6072,6 @@ class ConversationsApi {
|
|
|
6044
6072
|
*
|
|
6045
6073
|
* @param {String} conversationId conversationId
|
|
6046
6074
|
* @param {String} participantId participantId
|
|
6047
|
-
* postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6048
6075
|
*/
|
|
6049
6076
|
postConversationsMessageParticipantMonitor(conversationId, participantId) {
|
|
6050
6077
|
// verify the required parameter 'conversationId' is set
|
|
@@ -6231,9 +6258,10 @@ class ConversationsApi {
|
|
|
6231
6258
|
}
|
|
6232
6259
|
|
|
6233
6260
|
/**
|
|
6234
|
-
* Create a LINE messenger Integration
|
|
6235
|
-
*
|
|
6261
|
+
* Create a LINE messenger Integration (Deprecated)
|
|
6262
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
6236
6263
|
* @param {Object} body LineIntegrationRequest
|
|
6264
|
+
* @deprecated
|
|
6237
6265
|
*/
|
|
6238
6266
|
postConversationsMessagingIntegrationsLine(body) {
|
|
6239
6267
|
// verify the required parameter 'body' is set
|