purecloud-platform-client-v2 252.1.0 → 254.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 +1979 -556
- package/dist/web-amd/purecloud-platform-client-v2.js +1979 -556
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +686 -393
- package/dist/web-cjs/purecloud-platform-client-v2.js +686 -393
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1094 -117
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
- 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 +1 -62
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +435 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +207 -125
- 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 +2 -6
- 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 -5
- 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/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +122 -11
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +42 -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 +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 +1 -9
- 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 +333 -158
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +268 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -47
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -5
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.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 +481 -43
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class TelephonyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Telephony service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 254.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,36 @@ class TelephonyApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete a link
|
|
25
|
+
*
|
|
26
|
+
* @param {String} targetOrganizationId targetOrganizationId
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29
|
+
*/
|
|
30
|
+
deleteTelephonyOrganizationLinkTargetOrganizationId(targetOrganizationId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
33
|
+
// verify the required parameter 'targetOrganizationId' is set
|
|
34
|
+
if (targetOrganizationId === undefined || targetOrganizationId === null || targetOrganizationId === '') {
|
|
35
|
+
throw 'Missing the required parameter "targetOrganizationId" when calling deleteTelephonyOrganizationLinkTargetOrganizationId';
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return this.apiClient.callApi(
|
|
39
|
+
'/api/v2/telephony/organization/link/{targetOrganizationId}',
|
|
40
|
+
'DELETE',
|
|
41
|
+
{ 'targetOrganizationId': targetOrganizationId },
|
|
42
|
+
{ },
|
|
43
|
+
{ },
|
|
44
|
+
{ },
|
|
45
|
+
null,
|
|
46
|
+
['PureCloud OAuth'],
|
|
47
|
+
['application/json'],
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
23
53
|
/**
|
|
24
54
|
* Get an agent's greetings.
|
|
25
55
|
*
|
|
@@ -126,6 +156,88 @@ class TelephonyApi {
|
|
|
126
156
|
);
|
|
127
157
|
}
|
|
128
158
|
|
|
159
|
+
/**
|
|
160
|
+
* Get Number Routings by organizationId
|
|
161
|
+
*
|
|
162
|
+
* @param {Object} opts Optional parameters
|
|
163
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
164
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
165
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
166
|
+
* @param {String} opts.numberId numberId
|
|
167
|
+
* @param {String} opts.activeRoutingOrganizationId activeRoutingOrganizationId
|
|
168
|
+
* @param {String} opts.ownerOrganizationId ownerOrganizationId
|
|
169
|
+
* @param {Object} opts.status status
|
|
170
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
171
|
+
*/
|
|
172
|
+
getTelephonyNumbersRouting(opts) {
|
|
173
|
+
opts = opts || {};
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
return this.apiClient.callApi(
|
|
177
|
+
'/api/v2/telephony/numbers/routing',
|
|
178
|
+
'GET',
|
|
179
|
+
{ },
|
|
180
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'numberId': opts['numberId'],'activeRoutingOrganizationId': opts['activeRoutingOrganizationId'],'ownerOrganizationId': opts['ownerOrganizationId'],'status': opts['status'] },
|
|
181
|
+
{ },
|
|
182
|
+
{ },
|
|
183
|
+
null,
|
|
184
|
+
['PureCloud OAuth'],
|
|
185
|
+
['application/json'],
|
|
186
|
+
['application/json'],
|
|
187
|
+
opts['customHeaders']
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Get organization links
|
|
193
|
+
*
|
|
194
|
+
* @param {Object} opts Optional parameters
|
|
195
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
196
|
+
*/
|
|
197
|
+
getTelephonyOrganizationLink(opts) {
|
|
198
|
+
opts = opts || {};
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
return this.apiClient.callApi(
|
|
202
|
+
'/api/v2/telephony/organization/link',
|
|
203
|
+
'GET',
|
|
204
|
+
{ },
|
|
205
|
+
{ },
|
|
206
|
+
{ },
|
|
207
|
+
{ },
|
|
208
|
+
null,
|
|
209
|
+
['PureCloud OAuth'],
|
|
210
|
+
['application/json'],
|
|
211
|
+
['application/json'],
|
|
212
|
+
opts['customHeaders']
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Get all the replica regions by primary region
|
|
218
|
+
*
|
|
219
|
+
* @param {Object} opts Optional parameters
|
|
220
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
221
|
+
*/
|
|
222
|
+
getTelephonyOrganizationLinkRegions(opts) {
|
|
223
|
+
opts = opts || {};
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
return this.apiClient.callApi(
|
|
227
|
+
'/api/v2/telephony/organization/link/regions',
|
|
228
|
+
'GET',
|
|
229
|
+
{ },
|
|
230
|
+
{ },
|
|
231
|
+
{ },
|
|
232
|
+
{ },
|
|
233
|
+
null,
|
|
234
|
+
['PureCloud OAuth'],
|
|
235
|
+
['application/json'],
|
|
236
|
+
['application/json'],
|
|
237
|
+
opts['customHeaders']
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
129
241
|
/**
|
|
130
242
|
* Get the global telephony configuration.
|
|
131
243
|
*
|
|
@@ -281,6 +393,161 @@ class TelephonyApi {
|
|
|
281
393
|
);
|
|
282
394
|
}
|
|
283
395
|
|
|
396
|
+
/**
|
|
397
|
+
* Approving a requested link
|
|
398
|
+
*
|
|
399
|
+
* @param {String} requestingOrganizationId requestingOrganizationId
|
|
400
|
+
* @param {Object} body Approval request body
|
|
401
|
+
* @param {Object} opts Optional parameters
|
|
402
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
403
|
+
*/
|
|
404
|
+
patchTelephonyOrganizationLinkApproveRequestingOrganizationId(requestingOrganizationId, body, opts) {
|
|
405
|
+
opts = opts || {};
|
|
406
|
+
|
|
407
|
+
// verify the required parameter 'requestingOrganizationId' is set
|
|
408
|
+
if (requestingOrganizationId === undefined || requestingOrganizationId === null || requestingOrganizationId === '') {
|
|
409
|
+
throw 'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';
|
|
410
|
+
}
|
|
411
|
+
// verify the required parameter 'body' is set
|
|
412
|
+
if (body === undefined || body === null) {
|
|
413
|
+
throw 'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
return this.apiClient.callApi(
|
|
417
|
+
'/api/v2/telephony/organization/link/approve/{requestingOrganizationId}',
|
|
418
|
+
'PATCH',
|
|
419
|
+
{ 'requestingOrganizationId': requestingOrganizationId },
|
|
420
|
+
{ },
|
|
421
|
+
{ },
|
|
422
|
+
{ },
|
|
423
|
+
body,
|
|
424
|
+
['PureCloud OAuth'],
|
|
425
|
+
['application/json'],
|
|
426
|
+
['application/json'],
|
|
427
|
+
opts['customHeaders']
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Update the routing of numbers for one or multiple organizations
|
|
433
|
+
*
|
|
434
|
+
* @param {Array.<Object>} body drRoutingList
|
|
435
|
+
* @param {Object} opts Optional parameters
|
|
436
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
437
|
+
*/
|
|
438
|
+
postTelephonyNumbersRouting(body, opts) {
|
|
439
|
+
opts = opts || {};
|
|
440
|
+
|
|
441
|
+
// verify the required parameter 'body' is set
|
|
442
|
+
if (body === undefined || body === null) {
|
|
443
|
+
throw 'Missing the required parameter "body" when calling postTelephonyNumbersRouting';
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
return this.apiClient.callApi(
|
|
447
|
+
'/api/v2/telephony/numbers/routing',
|
|
448
|
+
'POST',
|
|
449
|
+
{ },
|
|
450
|
+
{ },
|
|
451
|
+
{ },
|
|
452
|
+
{ },
|
|
453
|
+
body,
|
|
454
|
+
['PureCloud OAuth'],
|
|
455
|
+
['application/json'],
|
|
456
|
+
['application/json'],
|
|
457
|
+
opts['customHeaders']
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Re-route all numbers on an organization
|
|
463
|
+
*
|
|
464
|
+
* @param {Object} body Value for all routing request body
|
|
465
|
+
* @param {Object} opts Optional parameters
|
|
466
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
467
|
+
*/
|
|
468
|
+
postTelephonyNumbersRoutingAll(body, opts) {
|
|
469
|
+
opts = opts || {};
|
|
470
|
+
|
|
471
|
+
// verify the required parameter 'body' is set
|
|
472
|
+
if (body === undefined || body === null) {
|
|
473
|
+
throw 'Missing the required parameter "body" when calling postTelephonyNumbersRoutingAll';
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
return this.apiClient.callApi(
|
|
477
|
+
'/api/v2/telephony/numbers/routing/all',
|
|
478
|
+
'POST',
|
|
479
|
+
{ },
|
|
480
|
+
{ },
|
|
481
|
+
{ },
|
|
482
|
+
{ },
|
|
483
|
+
body,
|
|
484
|
+
['PureCloud OAuth'],
|
|
485
|
+
['application/json'],
|
|
486
|
+
['application/json'],
|
|
487
|
+
opts['customHeaders']
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Reset routing for organization
|
|
493
|
+
*
|
|
494
|
+
* @param {Object} body Value for bulk routing request body
|
|
495
|
+
* @param {Object} opts Optional parameters
|
|
496
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
497
|
+
*/
|
|
498
|
+
postTelephonyNumbersRoutingReset(body, opts) {
|
|
499
|
+
opts = opts || {};
|
|
500
|
+
|
|
501
|
+
// verify the required parameter 'body' is set
|
|
502
|
+
if (body === undefined || body === null) {
|
|
503
|
+
throw 'Missing the required parameter "body" when calling postTelephonyNumbersRoutingReset';
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
return this.apiClient.callApi(
|
|
507
|
+
'/api/v2/telephony/numbers/routing/reset',
|
|
508
|
+
'POST',
|
|
509
|
+
{ },
|
|
510
|
+
{ },
|
|
511
|
+
{ },
|
|
512
|
+
{ },
|
|
513
|
+
body,
|
|
514
|
+
['PureCloud OAuth'],
|
|
515
|
+
['application/json'],
|
|
516
|
+
['application/json'],
|
|
517
|
+
opts['customHeaders']
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Create a link with an organization
|
|
523
|
+
*
|
|
524
|
+
* @param {Object} body CreateLinkOrg body
|
|
525
|
+
* @param {Object} opts Optional parameters
|
|
526
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
527
|
+
*/
|
|
528
|
+
postTelephonyOrganizationLink(body, opts) {
|
|
529
|
+
opts = opts || {};
|
|
530
|
+
|
|
531
|
+
// verify the required parameter 'body' is set
|
|
532
|
+
if (body === undefined || body === null) {
|
|
533
|
+
throw 'Missing the required parameter "body" when calling postTelephonyOrganizationLink';
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
return this.apiClient.callApi(
|
|
537
|
+
'/api/v2/telephony/organization/link',
|
|
538
|
+
'POST',
|
|
539
|
+
{ },
|
|
540
|
+
{ },
|
|
541
|
+
{ },
|
|
542
|
+
{ },
|
|
543
|
+
body,
|
|
544
|
+
['PureCloud OAuth'],
|
|
545
|
+
['application/json'],
|
|
546
|
+
['application/json'],
|
|
547
|
+
opts['customHeaders']
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
|
|
284
551
|
/**
|
|
285
552
|
* Request a download of a pcap file to S3
|
|
286
553
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 254.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3197,52 +3197,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3197
3197
|
);
|
|
3198
3198
|
}
|
|
3199
3199
|
|
|
3200
|
-
/**
|
|
3201
|
-
* Post media endpoint statistics event.
|
|
3202
|
-
*
|
|
3203
|
-
* @param {String} conversationId Identifier of the conversation
|
|
3204
|
-
* @param {String} communicationId Identifier of the media session
|
|
3205
|
-
* @param {String} mediaResourceId Identifier of the media resource of the endpoint
|
|
3206
|
-
* @param {Object} body MediaStatisticsPostRequest
|
|
3207
|
-
* @param {Object} opts Optional parameters
|
|
3208
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3209
|
-
* postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3210
|
-
*/
|
|
3211
|
-
postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body, opts) {
|
|
3212
|
-
opts = opts || {};
|
|
3213
|
-
|
|
3214
|
-
// verify the required parameter 'conversationId' is set
|
|
3215
|
-
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
3216
|
-
throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3217
|
-
}
|
|
3218
|
-
// verify the required parameter 'communicationId' is set
|
|
3219
|
-
if (communicationId === undefined || communicationId === null || communicationId === '') {
|
|
3220
|
-
throw 'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3221
|
-
}
|
|
3222
|
-
// verify the required parameter 'mediaResourceId' is set
|
|
3223
|
-
if (mediaResourceId === undefined || mediaResourceId === null || mediaResourceId === '') {
|
|
3224
|
-
throw 'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3225
|
-
}
|
|
3226
|
-
// verify the required parameter 'body' is set
|
|
3227
|
-
if (body === undefined || body === null) {
|
|
3228
|
-
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
return this.apiClient.callApi(
|
|
3232
|
-
'/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}',
|
|
3233
|
-
'POST',
|
|
3234
|
-
{ 'conversationId': conversationId,'communicationId': communicationId,'mediaResourceId': mediaResourceId },
|
|
3235
|
-
{ },
|
|
3236
|
-
{ },
|
|
3237
|
-
{ },
|
|
3238
|
-
body,
|
|
3239
|
-
['PureCloud OAuth'],
|
|
3240
|
-
['application/json'],
|
|
3241
|
-
['application/json'],
|
|
3242
|
-
opts['customHeaders']
|
|
3243
|
-
);
|
|
3244
|
-
}
|
|
3245
|
-
|
|
3246
3200
|
/**
|
|
3247
3201
|
* Reboot a Phone
|
|
3248
3202
|
*
|
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 254.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -26,7 +26,6 @@ class UsersApi {
|
|
|
26
26
|
* @param {String} jobId jobId
|
|
27
27
|
* @param {Object} opts Optional parameters
|
|
28
28
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29
|
-
* deleteAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
30
29
|
*/
|
|
31
30
|
deleteAnalyticsUsersAggregatesJob(jobId, opts) {
|
|
32
31
|
opts = opts || {};
|
|
@@ -537,7 +536,6 @@ class UsersApi {
|
|
|
537
536
|
* @param {String} jobId jobId
|
|
538
537
|
* @param {Object} opts Optional parameters
|
|
539
538
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
540
|
-
* getAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
541
539
|
*/
|
|
542
540
|
getAnalyticsUsersAggregatesJob(jobId, opts) {
|
|
543
541
|
opts = opts || {};
|
|
@@ -569,7 +567,6 @@ class UsersApi {
|
|
|
569
567
|
* @param {Object} opts Optional parameters
|
|
570
568
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
571
569
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
572
|
-
* getAnalyticsUsersAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
573
570
|
*/
|
|
574
571
|
getAnalyticsUsersAggregatesJobResults(jobId, opts) {
|
|
575
572
|
opts = opts || {};
|
|
@@ -2717,7 +2714,6 @@ class UsersApi {
|
|
|
2717
2714
|
* @param {Object} body query
|
|
2718
2715
|
* @param {Object} opts Optional parameters
|
|
2719
2716
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2720
|
-
* postAnalyticsUsersAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2721
2717
|
*/
|
|
2722
2718
|
postAnalyticsUsersAggregatesJobs(body, opts) {
|
|
2723
2719
|
opts = opts || {};
|