purecloud-platform-client-v2 216.0.0 → 218.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 +1546 -567
- package/dist/web-amd/purecloud-platform-client-v2.js +1546 -567
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +502 -282
- package/dist/web-cjs/purecloud-platform-client-v2.js +507 -285
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +951 -292
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -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 -305
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +9 -8
- 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 +1 -8
- 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 +387 -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 +243 -4
- 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 +5 -3
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -16
- 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 +9 -8
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -68
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +5 -29
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -1
- 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 +403 -20
- 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 +3 -2
- 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 -3
- 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 +19 -10
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +58 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +11 -6
- 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 AlertingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Alerting service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -65,58 +65,6 @@ class AlertingApi {
|
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
/**
|
|
69
|
-
* Delete an interaction stats alert
|
|
70
|
-
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
71
|
-
* @param {String} alertId Alert ID
|
|
72
|
-
* @deprecated
|
|
73
|
-
*/
|
|
74
|
-
deleteAlertingInteractionstatsAlert(alertId) {
|
|
75
|
-
// verify the required parameter 'alertId' is set
|
|
76
|
-
if (alertId === undefined || alertId === null) {
|
|
77
|
-
throw 'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return this.apiClient.callApi(
|
|
81
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
82
|
-
'DELETE',
|
|
83
|
-
{ 'alertId': alertId },
|
|
84
|
-
{ },
|
|
85
|
-
{ },
|
|
86
|
-
{ },
|
|
87
|
-
null,
|
|
88
|
-
['PureCloud OAuth'],
|
|
89
|
-
['application/json'],
|
|
90
|
-
['application/json']
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Delete an interaction stats rule
|
|
96
|
-
* Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
|
|
97
|
-
* @param {String} ruleId Rule ID
|
|
98
|
-
* @deprecated
|
|
99
|
-
*/
|
|
100
|
-
deleteAlertingInteractionstatsRule(ruleId) {
|
|
101
|
-
// verify the required parameter 'ruleId' is set
|
|
102
|
-
if (ruleId === undefined || ruleId === null) {
|
|
103
|
-
throw 'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
return this.apiClient.callApi(
|
|
107
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
108
|
-
'DELETE',
|
|
109
|
-
{ 'ruleId': ruleId },
|
|
110
|
-
{ },
|
|
111
|
-
{ },
|
|
112
|
-
{ },
|
|
113
|
-
null,
|
|
114
|
-
['PureCloud OAuth'],
|
|
115
|
-
['application/json'],
|
|
116
|
-
['application/json']
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
68
|
/**
|
|
121
69
|
* Delete a rule.
|
|
122
70
|
*
|
|
@@ -167,158 +115,6 @@ class AlertingApi {
|
|
|
167
115
|
);
|
|
168
116
|
}
|
|
169
117
|
|
|
170
|
-
/**
|
|
171
|
-
* Gets active alert count for a user
|
|
172
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
|
|
173
|
-
* @deprecated
|
|
174
|
-
*/
|
|
175
|
-
getAlertingAlertsActive() {
|
|
176
|
-
|
|
177
|
-
return this.apiClient.callApi(
|
|
178
|
-
'/api/v2/alerting/alerts/active',
|
|
179
|
-
'GET',
|
|
180
|
-
{ },
|
|
181
|
-
{ },
|
|
182
|
-
{ },
|
|
183
|
-
{ },
|
|
184
|
-
null,
|
|
185
|
-
['PureCloud OAuth'],
|
|
186
|
-
['application/json'],
|
|
187
|
-
['application/json']
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Get an interaction stats alert
|
|
193
|
-
* Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
|
|
194
|
-
* @param {String} alertId Alert ID
|
|
195
|
-
* @param {Object} opts Optional parameters
|
|
196
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
197
|
-
* @deprecated
|
|
198
|
-
*/
|
|
199
|
-
getAlertingInteractionstatsAlert(alertId, opts) {
|
|
200
|
-
opts = opts || {};
|
|
201
|
-
|
|
202
|
-
// verify the required parameter 'alertId' is set
|
|
203
|
-
if (alertId === undefined || alertId === null) {
|
|
204
|
-
throw 'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
return this.apiClient.callApi(
|
|
208
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
209
|
-
'GET',
|
|
210
|
-
{ 'alertId': alertId },
|
|
211
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
212
|
-
{ },
|
|
213
|
-
{ },
|
|
214
|
-
null,
|
|
215
|
-
['PureCloud OAuth'],
|
|
216
|
-
['application/json'],
|
|
217
|
-
['application/json']
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Get interaction stats alert list
|
|
223
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query.
|
|
224
|
-
* @param {Object} opts Optional parameters
|
|
225
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
226
|
-
* @deprecated
|
|
227
|
-
*/
|
|
228
|
-
getAlertingInteractionstatsAlerts(opts) {
|
|
229
|
-
opts = opts || {};
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
return this.apiClient.callApi(
|
|
233
|
-
'/api/v2/alerting/interactionstats/alerts',
|
|
234
|
-
'GET',
|
|
235
|
-
{ },
|
|
236
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
237
|
-
{ },
|
|
238
|
-
{ },
|
|
239
|
-
null,
|
|
240
|
-
['PureCloud OAuth'],
|
|
241
|
-
['application/json'],
|
|
242
|
-
['application/json']
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Gets user unread count of interaction stats alerts
|
|
248
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
|
|
249
|
-
* @deprecated
|
|
250
|
-
*/
|
|
251
|
-
getAlertingInteractionstatsAlertsUnread() {
|
|
252
|
-
|
|
253
|
-
return this.apiClient.callApi(
|
|
254
|
-
'/api/v2/alerting/interactionstats/alerts/unread',
|
|
255
|
-
'GET',
|
|
256
|
-
{ },
|
|
257
|
-
{ },
|
|
258
|
-
{ },
|
|
259
|
-
{ },
|
|
260
|
-
null,
|
|
261
|
-
['PureCloud OAuth'],
|
|
262
|
-
['application/json'],
|
|
263
|
-
['application/json']
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Get an interaction stats rule
|
|
269
|
-
* Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
|
|
270
|
-
* @param {String} ruleId Rule ID
|
|
271
|
-
* @param {Object} opts Optional parameters
|
|
272
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
273
|
-
* @deprecated
|
|
274
|
-
*/
|
|
275
|
-
getAlertingInteractionstatsRule(ruleId, opts) {
|
|
276
|
-
opts = opts || {};
|
|
277
|
-
|
|
278
|
-
// verify the required parameter 'ruleId' is set
|
|
279
|
-
if (ruleId === undefined || ruleId === null) {
|
|
280
|
-
throw 'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
return this.apiClient.callApi(
|
|
284
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
285
|
-
'GET',
|
|
286
|
-
{ 'ruleId': ruleId },
|
|
287
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
288
|
-
{ },
|
|
289
|
-
{ },
|
|
290
|
-
null,
|
|
291
|
-
['PureCloud OAuth'],
|
|
292
|
-
['application/json'],
|
|
293
|
-
['application/json']
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Get an interaction stats rule list
|
|
299
|
-
* Apps should migrate to use POST /api/v2/alerting/rules/query.
|
|
300
|
-
* @param {Object} opts Optional parameters
|
|
301
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
302
|
-
* @deprecated
|
|
303
|
-
*/
|
|
304
|
-
getAlertingInteractionstatsRules(opts) {
|
|
305
|
-
opts = opts || {};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
return this.apiClient.callApi(
|
|
309
|
-
'/api/v2/alerting/interactionstats/rules',
|
|
310
|
-
'GET',
|
|
311
|
-
{ },
|
|
312
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
313
|
-
{ },
|
|
314
|
-
{ },
|
|
315
|
-
null,
|
|
316
|
-
['PureCloud OAuth'],
|
|
317
|
-
['application/json'],
|
|
318
|
-
['application/json']
|
|
319
|
-
);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
118
|
/**
|
|
323
119
|
* Get a rule.
|
|
324
120
|
*
|
|
@@ -471,36 +267,6 @@ class AlertingApi {
|
|
|
471
267
|
);
|
|
472
268
|
}
|
|
473
269
|
|
|
474
|
-
/**
|
|
475
|
-
* Create an interaction stats rule
|
|
476
|
-
* Apps should migrate to use POST /api/v2/alerting/rules.
|
|
477
|
-
* @param {Object} body AlertingRule
|
|
478
|
-
* @param {Object} opts Optional parameters
|
|
479
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
480
|
-
* @deprecated
|
|
481
|
-
*/
|
|
482
|
-
postAlertingInteractionstatsRules(body, opts) {
|
|
483
|
-
opts = opts || {};
|
|
484
|
-
|
|
485
|
-
// verify the required parameter 'body' is set
|
|
486
|
-
if (body === undefined || body === null) {
|
|
487
|
-
throw 'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
return this.apiClient.callApi(
|
|
491
|
-
'/api/v2/alerting/interactionstats/rules',
|
|
492
|
-
'POST',
|
|
493
|
-
{ },
|
|
494
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
495
|
-
{ },
|
|
496
|
-
{ },
|
|
497
|
-
body,
|
|
498
|
-
['PureCloud OAuth'],
|
|
499
|
-
['application/json'],
|
|
500
|
-
['application/json']
|
|
501
|
-
);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
270
|
/**
|
|
505
271
|
* Create a Rule.
|
|
506
272
|
*
|
|
@@ -604,76 +370,6 @@ class AlertingApi {
|
|
|
604
370
|
);
|
|
605
371
|
}
|
|
606
372
|
|
|
607
|
-
/**
|
|
608
|
-
* Update an interaction stats alert read status
|
|
609
|
-
* Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
|
|
610
|
-
* @param {String} alertId Alert ID
|
|
611
|
-
* @param {Object} body InteractionStatsAlert
|
|
612
|
-
* @param {Object} opts Optional parameters
|
|
613
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
614
|
-
* @deprecated
|
|
615
|
-
*/
|
|
616
|
-
putAlertingInteractionstatsAlert(alertId, body, opts) {
|
|
617
|
-
opts = opts || {};
|
|
618
|
-
|
|
619
|
-
// verify the required parameter 'alertId' is set
|
|
620
|
-
if (alertId === undefined || alertId === null) {
|
|
621
|
-
throw 'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';
|
|
622
|
-
}
|
|
623
|
-
// verify the required parameter 'body' is set
|
|
624
|
-
if (body === undefined || body === null) {
|
|
625
|
-
throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
return this.apiClient.callApi(
|
|
629
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
630
|
-
'PUT',
|
|
631
|
-
{ 'alertId': alertId },
|
|
632
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
633
|
-
{ },
|
|
634
|
-
{ },
|
|
635
|
-
body,
|
|
636
|
-
['PureCloud OAuth'],
|
|
637
|
-
['application/json'],
|
|
638
|
-
['application/json']
|
|
639
|
-
);
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Update an interaction stats rule
|
|
644
|
-
* Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
|
|
645
|
-
* @param {String} ruleId Rule ID
|
|
646
|
-
* @param {Object} body AlertingRule
|
|
647
|
-
* @param {Object} opts Optional parameters
|
|
648
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
649
|
-
* @deprecated
|
|
650
|
-
*/
|
|
651
|
-
putAlertingInteractionstatsRule(ruleId, body, opts) {
|
|
652
|
-
opts = opts || {};
|
|
653
|
-
|
|
654
|
-
// verify the required parameter 'ruleId' is set
|
|
655
|
-
if (ruleId === undefined || ruleId === null) {
|
|
656
|
-
throw 'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';
|
|
657
|
-
}
|
|
658
|
-
// verify the required parameter 'body' is set
|
|
659
|
-
if (body === undefined || body === null) {
|
|
660
|
-
throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
return this.apiClient.callApi(
|
|
664
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
665
|
-
'PUT',
|
|
666
|
-
{ 'ruleId': ruleId },
|
|
667
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
668
|
-
{ },
|
|
669
|
-
{ },
|
|
670
|
-
body,
|
|
671
|
-
['PureCloud OAuth'],
|
|
672
|
-
['application/json'],
|
|
673
|
-
['application/json']
|
|
674
|
-
);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
373
|
/**
|
|
678
374
|
* Update a rule
|
|
679
375
|
*
|
|
@@ -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 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -882,7 +882,7 @@ class AnalyticsApi {
|
|
|
882
882
|
* @param {Number} opts.pageSize (default to 25)
|
|
883
883
|
* @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
|
|
884
884
|
* @param {Object} opts.state Only list users of this state
|
|
885
|
-
* @param {Boolean} opts.deletedOnly Only list deleted dashboards
|
|
885
|
+
* @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
|
|
886
886
|
*/
|
|
887
887
|
getAnalyticsReportingDashboardsUsers(opts) {
|
|
888
888
|
opts = opts || {};
|
|
@@ -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 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1035,6 +1035,32 @@ class ArchitectApi {
|
|
|
1035
1035
|
);
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
+
/**
|
|
1039
|
+
* Get an IVR IdentityResolutionConfig.
|
|
1040
|
+
*
|
|
1041
|
+
* @param {String} ivrId IVR id
|
|
1042
|
+
* getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1043
|
+
*/
|
|
1044
|
+
getArchitectIvrIdentityresolution(ivrId) {
|
|
1045
|
+
// verify the required parameter 'ivrId' is set
|
|
1046
|
+
if (ivrId === undefined || ivrId === null) {
|
|
1047
|
+
throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
return this.apiClient.callApi(
|
|
1051
|
+
'/api/v2/architect/ivrs/{ivrId}/identityresolution',
|
|
1052
|
+
'GET',
|
|
1053
|
+
{ 'ivrId': ivrId },
|
|
1054
|
+
{ },
|
|
1055
|
+
{ },
|
|
1056
|
+
{ },
|
|
1057
|
+
null,
|
|
1058
|
+
['PureCloud OAuth'],
|
|
1059
|
+
['application/json'],
|
|
1060
|
+
['application/json']
|
|
1061
|
+
);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1038
1064
|
/**
|
|
1039
1065
|
* Get IVR configs.
|
|
1040
1066
|
*
|
|
@@ -2309,6 +2335,35 @@ class ArchitectApi {
|
|
|
2309
2335
|
);
|
|
2310
2336
|
}
|
|
2311
2337
|
|
|
2338
|
+
/**
|
|
2339
|
+
* Fetch Architect Export Job Status
|
|
2340
|
+
*
|
|
2341
|
+
* @param {String} jobId Job ID
|
|
2342
|
+
* @param {Object} opts Optional parameters
|
|
2343
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
2344
|
+
*/
|
|
2345
|
+
getFlowsExportJob(jobId, opts) {
|
|
2346
|
+
opts = opts || {};
|
|
2347
|
+
|
|
2348
|
+
// verify the required parameter 'jobId' is set
|
|
2349
|
+
if (jobId === undefined || jobId === null) {
|
|
2350
|
+
throw 'Missing the required parameter "jobId" when calling getFlowsExportJob';
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
return this.apiClient.callApi(
|
|
2354
|
+
'/api/v2/flows/export/jobs/{jobId}',
|
|
2355
|
+
'GET',
|
|
2356
|
+
{ 'jobId': jobId },
|
|
2357
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2358
|
+
{ },
|
|
2359
|
+
{ },
|
|
2360
|
+
null,
|
|
2361
|
+
['PureCloud OAuth'],
|
|
2362
|
+
['application/json'],
|
|
2363
|
+
['application/json']
|
|
2364
|
+
);
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2312
2367
|
/**
|
|
2313
2368
|
* Start a process (job) to prepare a download of a singular flow execution data instance by Id
|
|
2314
2369
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
@@ -3555,6 +3610,31 @@ class ArchitectApi {
|
|
|
3555
3610
|
);
|
|
3556
3611
|
}
|
|
3557
3612
|
|
|
3613
|
+
/**
|
|
3614
|
+
* Register Architect Export Job
|
|
3615
|
+
*
|
|
3616
|
+
* @param {Object} body
|
|
3617
|
+
*/
|
|
3618
|
+
postFlowsExportJobs(body) {
|
|
3619
|
+
// verify the required parameter 'body' is set
|
|
3620
|
+
if (body === undefined || body === null) {
|
|
3621
|
+
throw 'Missing the required parameter "body" when calling postFlowsExportJobs';
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
return this.apiClient.callApi(
|
|
3625
|
+
'/api/v2/flows/export/jobs',
|
|
3626
|
+
'POST',
|
|
3627
|
+
{ },
|
|
3628
|
+
{ },
|
|
3629
|
+
{ },
|
|
3630
|
+
{ },
|
|
3631
|
+
body,
|
|
3632
|
+
['PureCloud OAuth'],
|
|
3633
|
+
['application/json'],
|
|
3634
|
+
['application/json']
|
|
3635
|
+
);
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3558
3638
|
/**
|
|
3559
3639
|
* Start a process (job) that will prepare a list of execution data IDs for download.
|
|
3560
3640
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
@@ -3742,6 +3822,37 @@ class ArchitectApi {
|
|
|
3742
3822
|
);
|
|
3743
3823
|
}
|
|
3744
3824
|
|
|
3825
|
+
/**
|
|
3826
|
+
* Update an IVR IdentityResolutionConfig.
|
|
3827
|
+
*
|
|
3828
|
+
* @param {String} ivrId IVR id
|
|
3829
|
+
* @param {Object} body
|
|
3830
|
+
* putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3831
|
+
*/
|
|
3832
|
+
putArchitectIvrIdentityresolution(ivrId, body) {
|
|
3833
|
+
// verify the required parameter 'ivrId' is set
|
|
3834
|
+
if (ivrId === undefined || ivrId === null) {
|
|
3835
|
+
throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
|
|
3836
|
+
}
|
|
3837
|
+
// verify the required parameter 'body' is set
|
|
3838
|
+
if (body === undefined || body === null) {
|
|
3839
|
+
throw 'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
return this.apiClient.callApi(
|
|
3843
|
+
'/api/v2/architect/ivrs/{ivrId}/identityresolution',
|
|
3844
|
+
'PUT',
|
|
3845
|
+
{ 'ivrId': ivrId },
|
|
3846
|
+
{ },
|
|
3847
|
+
{ },
|
|
3848
|
+
{ },
|
|
3849
|
+
body,
|
|
3850
|
+
['PureCloud OAuth'],
|
|
3851
|
+
['application/json'],
|
|
3852
|
+
['application/json']
|
|
3853
|
+
);
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3745
3856
|
/**
|
|
3746
3857
|
* Update specified user prompt
|
|
3747
3858
|
*
|
|
@@ -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 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -25,7 +25,7 @@ class AuthorizationApi {
|
|
|
25
25
|
*
|
|
26
26
|
* @param {String} divisionId Division ID
|
|
27
27
|
* @param {Object} opts Optional parameters
|
|
28
|
-
* @param {Boolean} opts.force Force delete this division
|
|
28
|
+
* @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
|
|
29
29
|
*/
|
|
30
30
|
deleteAuthorizationDivision(divisionId, opts) {
|
|
31
31
|
opts = opts || {};
|
|
@@ -1000,16 +1000,17 @@ class AuthorizationApi {
|
|
|
1000
1000
|
* Recreate a previously deleted division.
|
|
1001
1001
|
*
|
|
1002
1002
|
* @param {String} divisionId Division ID
|
|
1003
|
-
* @param {Object}
|
|
1004
|
-
* @param {Object} opts.body Recreated division data
|
|
1003
|
+
* @param {Object} body Recreated division data
|
|
1005
1004
|
*/
|
|
1006
|
-
postAuthorizationDivisionRestore(divisionId,
|
|
1007
|
-
opts = opts || {};
|
|
1008
|
-
|
|
1005
|
+
postAuthorizationDivisionRestore(divisionId, body) {
|
|
1009
1006
|
// verify the required parameter 'divisionId' is set
|
|
1010
1007
|
if (divisionId === undefined || divisionId === null) {
|
|
1011
1008
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
|
|
1012
1009
|
}
|
|
1010
|
+
// verify the required parameter 'body' is set
|
|
1011
|
+
if (body === undefined || body === null) {
|
|
1012
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
|
|
1013
|
+
}
|
|
1013
1014
|
|
|
1014
1015
|
return this.apiClient.callApi(
|
|
1015
1016
|
'/api/v2/authorization/divisions/{divisionId}/restore',
|
|
@@ -1018,7 +1019,7 @@ class AuthorizationApi {
|
|
|
1018
1019
|
{ },
|
|
1019
1020
|
{ },
|
|
1020
1021
|
{ },
|
|
1021
|
-
|
|
1022
|
+
body,
|
|
1022
1023
|
['PureCloud OAuth'],
|
|
1023
1024
|
['application/json'],
|
|
1024
1025
|
['application/json']
|
|
@@ -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 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -145,7 +145,6 @@ class ChatApi {
|
|
|
145
145
|
*
|
|
146
146
|
* @param {String} userId userId
|
|
147
147
|
* @param {String} pinnedMessageId pinnedMessageId
|
|
148
|
-
* deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
149
148
|
*/
|
|
150
149
|
deleteChatsUserMessagesPin(userId, pinnedMessageId) {
|
|
151
150
|
// verify the required parameter 'userId' is set
|
|
@@ -392,7 +391,6 @@ class ChatApi {
|
|
|
392
391
|
* Get information for a 1on1
|
|
393
392
|
*
|
|
394
393
|
* @param {String} userId userId
|
|
395
|
-
* getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
396
394
|
*/
|
|
397
395
|
getChatsUser(userId) {
|
|
398
396
|
// verify the required parameter 'userId' is set
|
|
@@ -479,7 +477,6 @@ class ChatApi {
|
|
|
479
477
|
* Get a user's chat settings
|
|
480
478
|
*
|
|
481
479
|
* @param {String} userId User ID
|
|
482
|
-
* getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
483
480
|
*/
|
|
484
481
|
getChatsUserSettings(userId) {
|
|
485
482
|
// verify the required parameter 'userId' is set
|
|
@@ -504,7 +501,6 @@ class ChatApi {
|
|
|
504
501
|
/**
|
|
505
502
|
* Get a user's chat settings
|
|
506
503
|
*
|
|
507
|
-
* getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
508
504
|
*/
|
|
509
505
|
getChatsUsersMeSettings() {
|
|
510
506
|
|
|
@@ -652,7 +648,6 @@ class ChatApi {
|
|
|
652
648
|
*
|
|
653
649
|
* @param {String} userId User ID
|
|
654
650
|
* @param {Object} body
|
|
655
|
-
* patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
656
651
|
*/
|
|
657
652
|
patchChatsUserSettings(userId, body) {
|
|
658
653
|
// verify the required parameter 'userId' is set
|
|
@@ -682,7 +677,6 @@ class ChatApi {
|
|
|
682
677
|
* Update a user's chat settings
|
|
683
678
|
*
|
|
684
679
|
* @param {Object} body
|
|
685
|
-
* patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
686
680
|
*/
|
|
687
681
|
patchChatsUsersMeSettings(body) {
|
|
688
682
|
// verify the required parameter 'body' is set
|
|
@@ -854,7 +848,6 @@ class ChatApi {
|
|
|
854
848
|
*
|
|
855
849
|
* @param {String} userId userId
|
|
856
850
|
* @param {Object} body Pinned Message Ids
|
|
857
|
-
* postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
858
851
|
*/
|
|
859
852
|
postChatsUserMessagesPins(userId, body) {
|
|
860
853
|
// verify the required parameter 'userId' is set
|