purecloud-platform-client-v2 137.1.0 → 139.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 +382 -120
- package/dist/web-amd/purecloud-platform-client-v2.js +382 -120
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +382 -120
- package/dist/web-cjs/purecloud-platform-client-v2.js +382 -120
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +653 -238
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +5 -2
- 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/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 +271 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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 +24 -23
- 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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -5
- 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/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/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/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 +9 -21
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/SearchApi.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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -7
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class KnowledgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Knowledge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 139.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -183,7 +183,7 @@ class KnowledgeApi {
|
|
|
183
183
|
* @param {Object} opts Optional parameters
|
|
184
184
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
185
185
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
186
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
186
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
187
187
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
188
188
|
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
189
189
|
*/
|
|
@@ -291,7 +291,7 @@ class KnowledgeApi {
|
|
|
291
291
|
* @param {Object} opts Optional parameters
|
|
292
292
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
293
293
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
294
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
294
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
295
295
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
296
296
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
297
297
|
* @param {String} opts.title Filter by document title.
|
|
@@ -403,7 +403,7 @@ class KnowledgeApi {
|
|
|
403
403
|
* @param {Object} opts Optional parameters
|
|
404
404
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
405
405
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
406
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
406
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
407
407
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
408
408
|
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
409
409
|
*/
|
|
@@ -439,7 +439,7 @@ class KnowledgeApi {
|
|
|
439
439
|
* @param {Object} opts Optional parameters
|
|
440
440
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
441
441
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
442
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
442
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
443
443
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
444
444
|
* @param {String} opts.name Filter by Name.
|
|
445
445
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 139.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -318,12 +318,8 @@ class RoutingApi {
|
|
|
318
318
|
* Delete a phone number provisioned for SMS.
|
|
319
319
|
*
|
|
320
320
|
* @param {String} addressId Address ID
|
|
321
|
-
* @param {Object} opts Optional parameters
|
|
322
|
-
* @param {Boolean} opts.async Delete a phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the deletion of a provisioned phone number. (default to false)
|
|
323
321
|
*/
|
|
324
|
-
deleteRoutingSmsPhonenumber(addressId
|
|
325
|
-
opts = opts || {};
|
|
326
|
-
|
|
322
|
+
deleteRoutingSmsPhonenumber(addressId) {
|
|
327
323
|
// verify the required parameter 'addressId' is set
|
|
328
324
|
if (addressId === undefined || addressId === null) {
|
|
329
325
|
throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';
|
|
@@ -333,7 +329,7 @@ class RoutingApi {
|
|
|
333
329
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
334
330
|
'DELETE',
|
|
335
331
|
{ 'addressId': addressId },
|
|
336
|
-
{
|
|
332
|
+
{ },
|
|
337
333
|
{ },
|
|
338
334
|
{ },
|
|
339
335
|
null,
|
|
@@ -504,7 +500,7 @@ class RoutingApi {
|
|
|
504
500
|
* @param {Object} opts Optional parameters
|
|
505
501
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
506
502
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
507
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
503
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
508
504
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
509
505
|
* @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
|
|
510
506
|
*/
|
|
@@ -815,7 +811,7 @@ class RoutingApi {
|
|
|
815
811
|
* @param {Object} opts Optional parameters
|
|
816
812
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
817
813
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
818
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
814
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
819
815
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
820
816
|
* @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
|
|
821
817
|
*/
|
|
@@ -2487,12 +2483,8 @@ class RoutingApi {
|
|
|
2487
2483
|
* Provision a phone number for SMS
|
|
2488
2484
|
*
|
|
2489
2485
|
* @param {Object} body SmsPhoneNumber
|
|
2490
|
-
* @param {Object} opts Optional parameters
|
|
2491
|
-
* @param {Boolean} opts.async Provision a new phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the provisioning of a new phone number. Check the phoneNumber's provisioningStatus for completion of this request. (default to false)
|
|
2492
2486
|
*/
|
|
2493
|
-
postRoutingSmsPhonenumbers(body
|
|
2494
|
-
opts = opts || {};
|
|
2495
|
-
|
|
2487
|
+
postRoutingSmsPhonenumbers(body) {
|
|
2496
2488
|
// verify the required parameter 'body' is set
|
|
2497
2489
|
if (body === undefined || body === null) {
|
|
2498
2490
|
throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
|
|
@@ -2502,7 +2494,7 @@ class RoutingApi {
|
|
|
2502
2494
|
'/api/v2/routing/sms/phonenumbers',
|
|
2503
2495
|
'POST',
|
|
2504
2496
|
{ },
|
|
2505
|
-
{
|
|
2497
|
+
{ },
|
|
2506
2498
|
{ },
|
|
2507
2499
|
{ },
|
|
2508
2500
|
body,
|
|
@@ -2747,12 +2739,8 @@ class RoutingApi {
|
|
|
2747
2739
|
*
|
|
2748
2740
|
* @param {String} addressId Address ID
|
|
2749
2741
|
* @param {Object} body SmsPhoneNumber
|
|
2750
|
-
* @param {Object} opts Optional parameters
|
|
2751
|
-
* @param {Boolean} opts.async Update an existing phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the update of a provisioned phone number. Check the phoneNumber's provisioningStatus for the progress of this request. (default to false)
|
|
2752
2742
|
*/
|
|
2753
|
-
putRoutingSmsPhonenumber(addressId, body
|
|
2754
|
-
opts = opts || {};
|
|
2755
|
-
|
|
2743
|
+
putRoutingSmsPhonenumber(addressId, body) {
|
|
2756
2744
|
// verify the required parameter 'addressId' is set
|
|
2757
2745
|
if (addressId === undefined || addressId === null) {
|
|
2758
2746
|
throw 'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';
|
|
@@ -2766,7 +2754,7 @@ class RoutingApi {
|
|
|
2766
2754
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
2767
2755
|
'PUT',
|
|
2768
2756
|
{ 'addressId': addressId },
|
|
2769
|
-
{
|
|
2757
|
+
{ },
|
|
2770
2758
|
{ },
|
|
2771
2759
|
{ },
|
|
2772
2760
|
body,
|
|
@@ -5,7 +5,7 @@ class ScriptsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Scripts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 139.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -333,9 +333,9 @@ class ScriptsApi {
|
|
|
333
333
|
*
|
|
334
334
|
* @param {String} scriptId Script ID
|
|
335
335
|
* @param {Object} opts Optional parameters
|
|
336
|
-
* @param {
|
|
337
|
-
* @param {
|
|
338
|
-
* @param {
|
|
336
|
+
* @param {Object} opts.input input
|
|
337
|
+
* @param {Object} opts.output output
|
|
338
|
+
* @param {Object} opts.type type
|
|
339
339
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
340
340
|
*/
|
|
341
341
|
getScriptsPublishedScriptIdVariables(scriptId, opts) {
|
|
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WorkforceManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 139.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2764,8 +2764,8 @@ class WorkforceManagementApi {
|
|
|
2764
2764
|
*
|
|
2765
2765
|
* @param {String} businessUnitId The ID of the business unit
|
|
2766
2766
|
* @param {Object} opts Optional parameters
|
|
2767
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
2768
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
2767
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
2768
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
2769
2769
|
* @param {Object} opts.body body
|
|
2770
2770
|
*/
|
|
2771
2771
|
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
@@ -2886,8 +2886,8 @@ class WorkforceManagementApi {
|
|
|
2886
2886
|
* @param {String} scheduleId The ID of the schedule
|
|
2887
2887
|
* @param {Object} body body
|
|
2888
2888
|
* @param {Object} opts Optional parameters
|
|
2889
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
2890
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
2889
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
2890
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
2891
2891
|
*/
|
|
2892
2892
|
postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
|
|
2893
2893
|
opts = opts || {};
|
|
@@ -3473,8 +3473,8 @@ class WorkforceManagementApi {
|
|
|
3473
3473
|
*
|
|
3474
3474
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
3475
3475
|
* @param {Object} opts Optional parameters
|
|
3476
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
3477
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
3476
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
3477
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
3478
3478
|
* @param {Object} opts.body body
|
|
3479
3479
|
*/
|
|
3480
3480
|
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|