purecloud-platform-client-v2 229.1.0 → 230.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 +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.js +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +425 -287
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +110 -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 +1 -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 +86 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -28
- 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 +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 +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 -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 +101 -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 AgentAssistantsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* AgentAssistants service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 230.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -316,6 +316,115 @@ class AgentAssistantsApi {
|
|
|
316
316
|
);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
/**
|
|
320
|
+
* Bulk add users to assistant-queue (requires manual assignment mode).
|
|
321
|
+
*
|
|
322
|
+
* @param {String} assistantId Assistant ID
|
|
323
|
+
* @param {String} queueId Queue ID
|
|
324
|
+
* @param {Object} body
|
|
325
|
+
*/
|
|
326
|
+
postAssistantQueueUsersBulkAdd(assistantId, queueId, body) {
|
|
327
|
+
// verify the required parameter 'assistantId' is set
|
|
328
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
329
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';
|
|
330
|
+
}
|
|
331
|
+
// verify the required parameter 'queueId' is set
|
|
332
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
333
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';
|
|
334
|
+
}
|
|
335
|
+
// verify the required parameter 'body' is set
|
|
336
|
+
if (body === undefined || body === null) {
|
|
337
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
return this.apiClient.callApi(
|
|
341
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add',
|
|
342
|
+
'POST',
|
|
343
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
344
|
+
{ },
|
|
345
|
+
{ },
|
|
346
|
+
{ },
|
|
347
|
+
body,
|
|
348
|
+
['PureCloud OAuth'],
|
|
349
|
+
['application/json'],
|
|
350
|
+
['application/json']
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Bulk remove users from assistant-queue (requires manual assignment mode).
|
|
356
|
+
*
|
|
357
|
+
* @param {String} assistantId Assistant ID
|
|
358
|
+
* @param {String} queueId Queue ID
|
|
359
|
+
* @param {Object} body
|
|
360
|
+
*/
|
|
361
|
+
postAssistantQueueUsersBulkRemove(assistantId, queueId, body) {
|
|
362
|
+
// verify the required parameter 'assistantId' is set
|
|
363
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
364
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';
|
|
365
|
+
}
|
|
366
|
+
// verify the required parameter 'queueId' is set
|
|
367
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
368
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';
|
|
369
|
+
}
|
|
370
|
+
// verify the required parameter 'body' is set
|
|
371
|
+
if (body === undefined || body === null) {
|
|
372
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
return this.apiClient.callApi(
|
|
376
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove',
|
|
377
|
+
'POST',
|
|
378
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
379
|
+
{ },
|
|
380
|
+
{ },
|
|
381
|
+
{ },
|
|
382
|
+
body,
|
|
383
|
+
['PureCloud OAuth'],
|
|
384
|
+
['application/json'],
|
|
385
|
+
['application/json']
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Query for users in the assistant-queue (requires manual assignment mode).
|
|
391
|
+
*
|
|
392
|
+
* @param {String} assistantId Assistant ID
|
|
393
|
+
* @param {String} queueId Queue ID
|
|
394
|
+
* @param {Object} body
|
|
395
|
+
* @param {Object} opts Optional parameters
|
|
396
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand with.
|
|
397
|
+
*/
|
|
398
|
+
postAssistantQueueUsersQuery(assistantId, queueId, body, opts) {
|
|
399
|
+
opts = opts || {};
|
|
400
|
+
|
|
401
|
+
// verify the required parameter 'assistantId' is set
|
|
402
|
+
if (assistantId === undefined || assistantId === null || assistantId === '') {
|
|
403
|
+
throw 'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';
|
|
404
|
+
}
|
|
405
|
+
// verify the required parameter 'queueId' is set
|
|
406
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
407
|
+
throw 'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';
|
|
408
|
+
}
|
|
409
|
+
// verify the required parameter 'body' is set
|
|
410
|
+
if (body === undefined || body === null) {
|
|
411
|
+
throw 'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
return this.apiClient.callApi(
|
|
415
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}/users/query',
|
|
416
|
+
'POST',
|
|
417
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
418
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
419
|
+
{ },
|
|
420
|
+
{ },
|
|
421
|
+
body,
|
|
422
|
+
['PureCloud OAuth'],
|
|
423
|
+
['application/json'],
|
|
424
|
+
['application/json']
|
|
425
|
+
);
|
|
426
|
+
}
|
|
427
|
+
|
|
319
428
|
/**
|
|
320
429
|
* Create an Assistant.
|
|
321
430
|
*
|
|
@@ -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 230.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -71,6 +71,31 @@ class ConversationsApi {
|
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Update a conversation by disconnecting all of the participants
|
|
76
|
+
*
|
|
77
|
+
* @param {String} conversationId conversation ID
|
|
78
|
+
*/
|
|
79
|
+
deleteConversation(conversationId) {
|
|
80
|
+
// verify the required parameter 'conversationId' is set
|
|
81
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
82
|
+
throw 'Missing the required parameter "conversationId" when calling deleteConversation';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return this.apiClient.callApi(
|
|
86
|
+
'/api/v2/conversations/{conversationId}',
|
|
87
|
+
'DELETE',
|
|
88
|
+
{ 'conversationId': conversationId },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
{ },
|
|
92
|
+
null,
|
|
93
|
+
['PureCloud OAuth'],
|
|
94
|
+
['application/json'],
|
|
95
|
+
['application/json']
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
74
99
|
/**
|
|
75
100
|
* Delete a code used to add a communication to this participant
|
|
76
101
|
*
|
|
@@ -3281,6 +3306,36 @@ class ConversationsApi {
|
|
|
3281
3306
|
);
|
|
3282
3307
|
}
|
|
3283
3308
|
|
|
3309
|
+
/**
|
|
3310
|
+
* Update a conversation by setting its recording state
|
|
3311
|
+
*
|
|
3312
|
+
* @param {String} conversationId conversation ID
|
|
3313
|
+
* @param {Object} body SetRecordingState
|
|
3314
|
+
*/
|
|
3315
|
+
patchConversationRecordingstate(conversationId, body) {
|
|
3316
|
+
// verify the required parameter 'conversationId' is set
|
|
3317
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
3318
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationRecordingstate';
|
|
3319
|
+
}
|
|
3320
|
+
// verify the required parameter 'body' is set
|
|
3321
|
+
if (body === undefined || body === null) {
|
|
3322
|
+
throw 'Missing the required parameter "body" when calling patchConversationRecordingstate';
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
return this.apiClient.callApi(
|
|
3326
|
+
'/api/v2/conversations/{conversationId}/recordingstate',
|
|
3327
|
+
'PATCH',
|
|
3328
|
+
{ 'conversationId': conversationId },
|
|
3329
|
+
{ },
|
|
3330
|
+
{ },
|
|
3331
|
+
{ },
|
|
3332
|
+
body,
|
|
3333
|
+
['PureCloud OAuth'],
|
|
3334
|
+
['application/json'],
|
|
3335
|
+
['application/json']
|
|
3336
|
+
);
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3284
3339
|
/**
|
|
3285
3340
|
* Update the secure attributes on a conversation.
|
|
3286
3341
|
*
|
|
@@ -3479,6 +3534,36 @@ class ConversationsApi {
|
|
|
3479
3534
|
);
|
|
3480
3535
|
}
|
|
3481
3536
|
|
|
3537
|
+
/**
|
|
3538
|
+
* Update a conversation by merging in other conversations to create a conference
|
|
3539
|
+
*
|
|
3540
|
+
* @param {String} conversationId conversationId
|
|
3541
|
+
* @param {Object} body UpdateConferenceRequest
|
|
3542
|
+
*/
|
|
3543
|
+
patchConversationsCallConference(conversationId, body) {
|
|
3544
|
+
// verify the required parameter 'conversationId' is set
|
|
3545
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
3546
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsCallConference';
|
|
3547
|
+
}
|
|
3548
|
+
// verify the required parameter 'body' is set
|
|
3549
|
+
if (body === undefined || body === null) {
|
|
3550
|
+
throw 'Missing the required parameter "body" when calling patchConversationsCallConference';
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
return this.apiClient.callApi(
|
|
3554
|
+
'/api/v2/conversations/calls/{conversationId}/conference',
|
|
3555
|
+
'PATCH',
|
|
3556
|
+
{ 'conversationId': conversationId },
|
|
3557
|
+
{ },
|
|
3558
|
+
{ },
|
|
3559
|
+
{ },
|
|
3560
|
+
body,
|
|
3561
|
+
['PureCloud OAuth'],
|
|
3562
|
+
['application/json'],
|
|
3563
|
+
['application/json']
|
|
3564
|
+
);
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3482
3567
|
/**
|
|
3483
3568
|
* Update conversation participant
|
|
3484
3569
|
*
|