purecloud-platform-client-v2 153.0.0 → 154.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 +109 -76
- package/dist/web-amd/purecloud-platform-client-v2.js +109 -76
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +109 -76
- package/dist/web-cjs/purecloud-platform-client-v2.js +109 -76
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +576 -208
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- 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 +1 -1
- 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/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/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 +3 -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/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 +31 -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 +6 -6
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- 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/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/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 +1 -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 AnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Analytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 154.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -105,6 +105,7 @@ class AnalyticsApi {
|
|
|
105
105
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
106
106
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
107
107
|
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
108
|
+
* @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
|
|
108
109
|
*/
|
|
109
110
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
110
111
|
opts = opts || {};
|
|
@@ -118,7 +119,7 @@ class AnalyticsApi {
|
|
|
118
119
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
119
120
|
'GET',
|
|
120
121
|
{ 'botFlowId': botFlowId },
|
|
121
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
122
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'],'askActionResults': opts['askActionResults'] },
|
|
122
123
|
{ },
|
|
123
124
|
{ },
|
|
124
125
|
null,
|
|
@@ -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 154.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -764,6 +764,7 @@ class ArchitectApi {
|
|
|
764
764
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
765
765
|
* @param {String} opts.name Name of the IVR to filter by.
|
|
766
766
|
* @param {String} opts.dnis The phone number of the IVR to filter by.
|
|
767
|
+
* @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
|
|
767
768
|
*/
|
|
768
769
|
getArchitectIvrs(opts) {
|
|
769
770
|
opts = opts || {};
|
|
@@ -773,7 +774,7 @@ class ArchitectApi {
|
|
|
773
774
|
'/api/v2/architect/ivrs',
|
|
774
775
|
'GET',
|
|
775
776
|
{ },
|
|
776
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'] },
|
|
777
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
|
|
777
778
|
{ },
|
|
778
779
|
{ },
|
|
779
780
|
null,
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 154.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -305,6 +305,7 @@ class LearningApi {
|
|
|
305
305
|
* @param {String} opts.searchTerm Search Term (searchable by name)
|
|
306
306
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
307
307
|
* @param {Object} opts.isPublished Specifies if only the Unpublished (isPublished is False) or Published (isPublished is True) modules are returned. If isPublished is Any or omitted, both types are returned (default to Any)
|
|
308
|
+
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
308
309
|
*/
|
|
309
310
|
getLearningModules(opts) {
|
|
310
311
|
opts = opts || {};
|
|
@@ -314,7 +315,7 @@ class LearningApi {
|
|
|
314
315
|
'/api/v2/learning/modules',
|
|
315
316
|
'GET',
|
|
316
317
|
{ },
|
|
317
|
-
{ 'isArchived': opts['isArchived'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'searchTerm': opts['searchTerm'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'isPublished': opts['isPublished'] },
|
|
318
|
+
{ 'isArchived': opts['isArchived'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'searchTerm': opts['searchTerm'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'isPublished': opts['isPublished'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi') },
|
|
318
319
|
{ },
|
|
319
320
|
{ },
|
|
320
321
|
null,
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 154.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2629,6 +2629,36 @@ class OutboundApi {
|
|
|
2629
2629
|
);
|
|
2630
2630
|
}
|
|
2631
2631
|
|
|
2632
|
+
/**
|
|
2633
|
+
* Add email addresses to a DNC list.
|
|
2634
|
+
* Only Internal DNC lists may be appended to
|
|
2635
|
+
* @param {String} dncListId DncList ID
|
|
2636
|
+
* @param {Array.<String>} body DNC email addresses
|
|
2637
|
+
*/
|
|
2638
|
+
postOutboundDnclistEmailaddresses(dncListId, body) {
|
|
2639
|
+
// verify the required parameter 'dncListId' is set
|
|
2640
|
+
if (dncListId === undefined || dncListId === null) {
|
|
2641
|
+
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';
|
|
2642
|
+
}
|
|
2643
|
+
// verify the required parameter 'body' is set
|
|
2644
|
+
if (body === undefined || body === null) {
|
|
2645
|
+
throw 'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
return this.apiClient.callApi(
|
|
2649
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
2650
|
+
'POST',
|
|
2651
|
+
{ 'dncListId': dncListId },
|
|
2652
|
+
{ },
|
|
2653
|
+
{ },
|
|
2654
|
+
{ },
|
|
2655
|
+
body,
|
|
2656
|
+
['PureCloud OAuth'],
|
|
2657
|
+
['application/json'],
|
|
2658
|
+
['application/json']
|
|
2659
|
+
);
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2632
2662
|
/**
|
|
2633
2663
|
* Initiate the export of a dnc list.
|
|
2634
2664
|
* Returns 200 if received OK.
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 154.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -707,7 +707,7 @@ class RecordingApi {
|
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
/**
|
|
710
|
-
* Get the local encryption settings
|
|
710
|
+
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
711
711
|
*
|
|
712
712
|
* @param {String} settingsId Settings Id
|
|
713
713
|
*/
|
|
@@ -732,7 +732,7 @@ class RecordingApi {
|
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
/**
|
|
735
|
-
* gets a list local key settings data
|
|
735
|
+
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
736
736
|
*
|
|
737
737
|
*/
|
|
738
738
|
getRecordingLocalkeysSettings() {
|
|
@@ -1184,7 +1184,7 @@ class RecordingApi {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
1186
|
/**
|
|
1187
|
-
* create a local recording key
|
|
1187
|
+
* create a local key management recording key
|
|
1188
1188
|
*
|
|
1189
1189
|
* @param {Object} body Local Encryption body
|
|
1190
1190
|
*/
|
|
@@ -1209,7 +1209,7 @@ class RecordingApi {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
1211
|
/**
|
|
1212
|
-
* create settings for local key creation
|
|
1212
|
+
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
1213
1213
|
*
|
|
1214
1214
|
* @param {Object} body Local Encryption Configuration
|
|
1215
1215
|
*/
|
|
@@ -1552,7 +1552,7 @@ class RecordingApi {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
1554
|
/**
|
|
1555
|
-
* Update the local encryption settings
|
|
1555
|
+
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
1556
1556
|
*
|
|
1557
1557
|
* @param {String} settingsId Settings Id
|
|
1558
1558
|
* @param {Object} body Local Encryption metadata
|