purecloud-platform-client-v2 189.1.0 → 191.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 +1160 -114
- package/dist/web-amd/purecloud-platform-client-v2.js +1160 -114
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +516 -274
- package/dist/web-cjs/purecloud-platform-client-v2.js +517 -277
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1229 -495
- 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 +162 -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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +86 -20
- 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 +33 -8
- 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 +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 +207 -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 -2
- 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 +2 -2
- 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 +24 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +34 -7
- 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/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 +4 -4
- 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 +516 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1453,11 +1453,12 @@ class RoutingApi {
|
|
|
1453
1453
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1454
1454
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1455
1455
|
* @param {Object} opts.sortOrder Note: results are sorted by name. (default to asc)
|
|
1456
|
-
* @param {String} opts.name
|
|
1457
|
-
* @param {Array.<String>} opts.id
|
|
1458
|
-
* @param {Array.<String>} opts.divisionId
|
|
1459
|
-
* @param {Array.<String>} opts.peerId
|
|
1460
|
-
* @param {
|
|
1456
|
+
* @param {String} opts.name Include only queues with the given name (leading and trailing asterisks allowed)
|
|
1457
|
+
* @param {Array.<String>} opts.id Include only queues with the specified ID(s)
|
|
1458
|
+
* @param {Array.<String>} opts.divisionId Include only queues in the specified division ID(s)
|
|
1459
|
+
* @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
|
|
1460
|
+
* @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
|
|
1461
|
+
* @param {Boolean} opts.hasPeer Include only queues with a peer ID
|
|
1461
1462
|
*/
|
|
1462
1463
|
getRoutingQueues(opts) {
|
|
1463
1464
|
opts = opts || {};
|
|
@@ -1467,7 +1468,7 @@ class RoutingApi {
|
|
|
1467
1468
|
'/api/v2/routing/queues',
|
|
1468
1469
|
'GET',
|
|
1469
1470
|
{ },
|
|
1470
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'hasPeer': opts['hasPeer'] },
|
|
1471
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'cannedResponseLibraryId': opts['cannedResponseLibraryId'],'hasPeer': opts['hasPeer'] },
|
|
1471
1472
|
{ },
|
|
1472
1473
|
{ },
|
|
1473
1474
|
null,
|
|
@@ -3409,6 +3410,32 @@ class RoutingApi {
|
|
|
3409
3410
|
);
|
|
3410
3411
|
}
|
|
3411
3412
|
|
|
3413
|
+
/**
|
|
3414
|
+
* Provision an alphanumeric number for SMS
|
|
3415
|
+
*
|
|
3416
|
+
* @param {Object} body SmsPhoneNumber
|
|
3417
|
+
* postRoutingSmsPhonenumbersAlphanumeric is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3418
|
+
*/
|
|
3419
|
+
postRoutingSmsPhonenumbersAlphanumeric(body) {
|
|
3420
|
+
// verify the required parameter 'body' is set
|
|
3421
|
+
if (body === undefined || body === null) {
|
|
3422
|
+
throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersAlphanumeric';
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
return this.apiClient.callApi(
|
|
3426
|
+
'/api/v2/routing/sms/phonenumbers/alphanumeric',
|
|
3427
|
+
'POST',
|
|
3428
|
+
{ },
|
|
3429
|
+
{ },
|
|
3430
|
+
{ },
|
|
3431
|
+
{ },
|
|
3432
|
+
body,
|
|
3433
|
+
['PureCloud OAuth'],
|
|
3434
|
+
['application/json'],
|
|
3435
|
+
['application/json']
|
|
3436
|
+
);
|
|
3437
|
+
}
|
|
3438
|
+
|
|
3412
3439
|
/**
|
|
3413
3440
|
* Imports a phone number for SMS
|
|
3414
3441
|
*
|
|
@@ -5,7 +5,7 @@ class UsageApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Usage service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 191.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -105,7 +105,7 @@ class UsageApi {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
* Get the results of a usage search
|
|
108
|
+
* Get the results of a usage search. Number of records to be returned is limited to 20,000 results.
|
|
109
109
|
*
|
|
110
110
|
* @param {String} executionId ID of the search execution
|
|
111
111
|
*/
|
|
@@ -185,8 +185,8 @@ class UsageApi {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* Search organization API Usage
|
|
189
|
-
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
188
|
+
* Search organization API Usage
|
|
189
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results
|
|
190
190
|
* @param {Object} body SimpleSearch
|
|
191
191
|
*/
|
|
192
192
|
postUsageSimplesearch(body) {
|