purecloud-platform-client-v2 153.0.0 → 155.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 +364 -85
- package/dist/web-amd/purecloud-platform-client-v2.js +364 -85
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +364 -85
- package/dist/web-cjs/purecloud-platform-client-v2.js +364 -85
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +789 -239
- 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 +116 -8
- 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 +149 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
- 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 +21 -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/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 155.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3351,7 +3351,7 @@ class AlertingApi {
|
|
|
3351
3351
|
/**
|
|
3352
3352
|
* Alerting service.
|
|
3353
3353
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3354
|
-
* @version
|
|
3354
|
+
* @version 155.0.0
|
|
3355
3355
|
*/
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
|
|
|
3665
3665
|
/**
|
|
3666
3666
|
* Analytics service.
|
|
3667
3667
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3668
|
-
* @version
|
|
3668
|
+
* @version 155.0.0
|
|
3669
3669
|
*/
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
@@ -3765,6 +3765,7 @@ class AnalyticsApi {
|
|
|
3765
3765
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
3766
3766
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
3767
3767
|
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
3768
|
+
* @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
|
|
3768
3769
|
*/
|
|
3769
3770
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
3770
3771
|
opts = opts || {};
|
|
@@ -3778,7 +3779,7 @@ class AnalyticsApi {
|
|
|
3778
3779
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
3779
3780
|
'GET',
|
|
3780
3781
|
{ 'botFlowId': botFlowId },
|
|
3781
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
3782
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'],'askActionResults': opts['askActionResults'] },
|
|
3782
3783
|
{ },
|
|
3783
3784
|
{ },
|
|
3784
3785
|
null,
|
|
@@ -4918,7 +4919,7 @@ class ArchitectApi {
|
|
|
4918
4919
|
/**
|
|
4919
4920
|
* Architect service.
|
|
4920
4921
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4921
|
-
* @version
|
|
4922
|
+
* @version 155.0.0
|
|
4922
4923
|
*/
|
|
4923
4924
|
|
|
4924
4925
|
/**
|
|
@@ -5677,6 +5678,7 @@ class ArchitectApi {
|
|
|
5677
5678
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
5678
5679
|
* @param {String} opts.name Name of the IVR to filter by.
|
|
5679
5680
|
* @param {String} opts.dnis The phone number of the IVR to filter by.
|
|
5681
|
+
* @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
|
|
5680
5682
|
*/
|
|
5681
5683
|
getArchitectIvrs(opts) {
|
|
5682
5684
|
opts = opts || {};
|
|
@@ -5686,7 +5688,7 @@ class ArchitectApi {
|
|
|
5686
5688
|
'/api/v2/architect/ivrs',
|
|
5687
5689
|
'GET',
|
|
5688
5690
|
{ },
|
|
5689
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'] },
|
|
5691
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
|
|
5690
5692
|
{ },
|
|
5691
5693
|
{ },
|
|
5692
5694
|
null,
|
|
@@ -7965,7 +7967,7 @@ class AuditApi {
|
|
|
7965
7967
|
/**
|
|
7966
7968
|
* Audit service.
|
|
7967
7969
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7968
|
-
* @version
|
|
7970
|
+
* @version 155.0.0
|
|
7969
7971
|
*/
|
|
7970
7972
|
|
|
7971
7973
|
/**
|
|
@@ -8136,7 +8138,7 @@ class AuthorizationApi {
|
|
|
8136
8138
|
/**
|
|
8137
8139
|
* Authorization service.
|
|
8138
8140
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8139
|
-
* @version
|
|
8141
|
+
* @version 155.0.0
|
|
8140
8142
|
*/
|
|
8141
8143
|
|
|
8142
8144
|
/**
|
|
@@ -9364,7 +9366,7 @@ class BillingApi {
|
|
|
9364
9366
|
/**
|
|
9365
9367
|
* Billing service.
|
|
9366
9368
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9367
|
-
* @version
|
|
9369
|
+
* @version 155.0.0
|
|
9368
9370
|
*/
|
|
9369
9371
|
|
|
9370
9372
|
/**
|
|
@@ -9444,7 +9446,7 @@ class ChatApi {
|
|
|
9444
9446
|
/**
|
|
9445
9447
|
* Chat service.
|
|
9446
9448
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9447
|
-
* @version
|
|
9449
|
+
* @version 155.0.0
|
|
9448
9450
|
*/
|
|
9449
9451
|
|
|
9450
9452
|
/**
|
|
@@ -9535,7 +9537,7 @@ class CoachingApi {
|
|
|
9535
9537
|
/**
|
|
9536
9538
|
* Coaching service.
|
|
9537
9539
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9538
|
-
* @version
|
|
9540
|
+
* @version 155.0.0
|
|
9539
9541
|
*/
|
|
9540
9542
|
|
|
9541
9543
|
/**
|
|
@@ -10112,7 +10114,7 @@ class ContentManagementApi {
|
|
|
10112
10114
|
/**
|
|
10113
10115
|
* ContentManagement service.
|
|
10114
10116
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10115
|
-
* @version
|
|
10117
|
+
* @version 155.0.0
|
|
10116
10118
|
*/
|
|
10117
10119
|
|
|
10118
10120
|
/**
|
|
@@ -11252,7 +11254,7 @@ class ConversationsApi {
|
|
|
11252
11254
|
/**
|
|
11253
11255
|
* Conversations service.
|
|
11254
11256
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11255
|
-
* @version
|
|
11257
|
+
* @version 155.0.0
|
|
11256
11258
|
*/
|
|
11257
11259
|
|
|
11258
11260
|
/**
|
|
@@ -16475,7 +16477,7 @@ class DataExtensionsApi {
|
|
|
16475
16477
|
/**
|
|
16476
16478
|
* DataExtensions service.
|
|
16477
16479
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16478
|
-
* @version
|
|
16480
|
+
* @version 155.0.0
|
|
16479
16481
|
*/
|
|
16480
16482
|
|
|
16481
16483
|
/**
|
|
@@ -16561,7 +16563,7 @@ class DownloadsApi {
|
|
|
16561
16563
|
/**
|
|
16562
16564
|
* Downloads service.
|
|
16563
16565
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16564
|
-
* @version
|
|
16566
|
+
* @version 155.0.0
|
|
16565
16567
|
*/
|
|
16566
16568
|
|
|
16567
16569
|
/**
|
|
@@ -16613,7 +16615,7 @@ class EventsApi {
|
|
|
16613
16615
|
/**
|
|
16614
16616
|
* Events service.
|
|
16615
16617
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16616
|
-
* @version
|
|
16618
|
+
* @version 155.0.0
|
|
16617
16619
|
*/
|
|
16618
16620
|
|
|
16619
16621
|
/**
|
|
@@ -16709,7 +16711,7 @@ class ExternalContactsApi {
|
|
|
16709
16711
|
/**
|
|
16710
16712
|
* ExternalContacts service.
|
|
16711
16713
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16712
|
-
* @version
|
|
16714
|
+
* @version 155.0.0
|
|
16713
16715
|
*/
|
|
16714
16716
|
|
|
16715
16717
|
/**
|
|
@@ -18667,7 +18669,7 @@ class FaxApi {
|
|
|
18667
18669
|
/**
|
|
18668
18670
|
* Fax service.
|
|
18669
18671
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18670
|
-
* @version
|
|
18672
|
+
* @version 155.0.0
|
|
18671
18673
|
*/
|
|
18672
18674
|
|
|
18673
18675
|
/**
|
|
@@ -18838,7 +18840,7 @@ class FlowsApi {
|
|
|
18838
18840
|
/**
|
|
18839
18841
|
* Flows service.
|
|
18840
18842
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18841
|
-
* @version
|
|
18843
|
+
* @version 155.0.0
|
|
18842
18844
|
*/
|
|
18843
18845
|
|
|
18844
18846
|
/**
|
|
@@ -18909,7 +18911,7 @@ class GamificationApi {
|
|
|
18909
18911
|
/**
|
|
18910
18912
|
* Gamification service.
|
|
18911
18913
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18912
|
-
* @version
|
|
18914
|
+
* @version 155.0.0
|
|
18913
18915
|
*/
|
|
18914
18916
|
|
|
18915
18917
|
/**
|
|
@@ -20526,7 +20528,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20526
20528
|
/**
|
|
20527
20529
|
* GeneralDataProtectionRegulation service.
|
|
20528
20530
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20529
|
-
* @version
|
|
20531
|
+
* @version 155.0.0
|
|
20530
20532
|
*/
|
|
20531
20533
|
|
|
20532
20534
|
/**
|
|
@@ -20656,7 +20658,7 @@ class GeolocationApi {
|
|
|
20656
20658
|
/**
|
|
20657
20659
|
* Geolocation service.
|
|
20658
20660
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20659
|
-
* @version
|
|
20661
|
+
* @version 155.0.0
|
|
20660
20662
|
*/
|
|
20661
20663
|
|
|
20662
20664
|
/**
|
|
@@ -20787,7 +20789,7 @@ class GreetingsApi {
|
|
|
20787
20789
|
/**
|
|
20788
20790
|
* Greetings service.
|
|
20789
20791
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20790
|
-
* @version
|
|
20792
|
+
* @version 155.0.0
|
|
20791
20793
|
*/
|
|
20792
20794
|
|
|
20793
20795
|
/**
|
|
@@ -21242,7 +21244,7 @@ class GroupsApi {
|
|
|
21242
21244
|
/**
|
|
21243
21245
|
* Groups service.
|
|
21244
21246
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21245
|
-
* @version
|
|
21247
|
+
* @version 155.0.0
|
|
21246
21248
|
*/
|
|
21247
21249
|
|
|
21248
21250
|
/**
|
|
@@ -21648,7 +21650,7 @@ class IdentityProviderApi {
|
|
|
21648
21650
|
/**
|
|
21649
21651
|
* IdentityProvider service.
|
|
21650
21652
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21651
|
-
* @version
|
|
21653
|
+
* @version 155.0.0
|
|
21652
21654
|
*/
|
|
21653
21655
|
|
|
21654
21656
|
/**
|
|
@@ -22404,7 +22406,7 @@ class IntegrationsApi {
|
|
|
22404
22406
|
/**
|
|
22405
22407
|
* Integrations service.
|
|
22406
22408
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22407
|
-
* @version
|
|
22409
|
+
* @version 155.0.0
|
|
22408
22410
|
*/
|
|
22409
22411
|
|
|
22410
22412
|
/**
|
|
@@ -24004,7 +24006,7 @@ class JourneyApi {
|
|
|
24004
24006
|
/**
|
|
24005
24007
|
* Journey service.
|
|
24006
24008
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
24007
|
-
* @version
|
|
24009
|
+
* @version 155.0.0
|
|
24008
24010
|
*/
|
|
24009
24011
|
|
|
24010
24012
|
/**
|
|
@@ -24790,7 +24792,7 @@ class KnowledgeApi {
|
|
|
24790
24792
|
/**
|
|
24791
24793
|
* Knowledge service.
|
|
24792
24794
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24793
|
-
* @version
|
|
24795
|
+
* @version 155.0.0
|
|
24794
24796
|
*/
|
|
24795
24797
|
|
|
24796
24798
|
/**
|
|
@@ -27223,7 +27225,7 @@ class LanguageUnderstandingApi {
|
|
|
27223
27225
|
/**
|
|
27224
27226
|
* LanguageUnderstanding service.
|
|
27225
27227
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27226
|
-
* @version
|
|
27228
|
+
* @version 155.0.0
|
|
27227
27229
|
*/
|
|
27228
27230
|
|
|
27229
27231
|
/**
|
|
@@ -27413,6 +27415,7 @@ class LanguageUnderstandingApi {
|
|
|
27413
27415
|
* @param {String} opts.dateStart Begin of time window as ISO-8601 date.
|
|
27414
27416
|
* @param {String} opts.dateEnd End of time window as ISO-8601 date.
|
|
27415
27417
|
* @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
|
|
27418
|
+
* @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
|
|
27416
27419
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
27417
27420
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
27418
27421
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
@@ -27431,7 +27434,7 @@ class LanguageUnderstandingApi {
|
|
|
27431
27434
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
27432
27435
|
'GET',
|
|
27433
27436
|
{ 'domainId': domainId },
|
|
27434
|
-
{ 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
|
|
27437
|
+
{ 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
|
|
27435
27438
|
{ },
|
|
27436
27439
|
{ },
|
|
27437
27440
|
null,
|
|
@@ -27625,8 +27628,13 @@ class LanguageUnderstandingApi {
|
|
|
27625
27628
|
*
|
|
27626
27629
|
* @param {String} minerId Miner ID
|
|
27627
27630
|
* @param {String} draftId Draft ID
|
|
27631
|
+
* @param {Object} opts Optional parameters
|
|
27632
|
+
* @param {String} opts.draftIntentId Parameter to filter a specific intent.
|
|
27633
|
+
* @param {String} opts.draftTopicId Parameter to filter a specific topic.
|
|
27628
27634
|
*/
|
|
27629
|
-
getLanguageunderstandingMinerDraft(minerId, draftId) {
|
|
27635
|
+
getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
|
|
27636
|
+
opts = opts || {};
|
|
27637
|
+
|
|
27630
27638
|
// verify the required parameter 'minerId' is set
|
|
27631
27639
|
if (minerId === undefined || minerId === null) {
|
|
27632
27640
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
|
|
@@ -27640,7 +27648,7 @@ class LanguageUnderstandingApi {
|
|
|
27640
27648
|
'/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
|
|
27641
27649
|
'GET',
|
|
27642
27650
|
{ 'minerId': minerId,'draftId': draftId },
|
|
27643
|
-
{
|
|
27651
|
+
{ 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
|
|
27644
27652
|
{ },
|
|
27645
27653
|
{ },
|
|
27646
27654
|
null,
|
|
@@ -27738,17 +27746,115 @@ class LanguageUnderstandingApi {
|
|
|
27738
27746
|
);
|
|
27739
27747
|
}
|
|
27740
27748
|
|
|
27749
|
+
/**
|
|
27750
|
+
* Retrieves details of a particular topic.
|
|
27751
|
+
*
|
|
27752
|
+
* @param {String} minerId Miner ID
|
|
27753
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
27754
|
+
* @param {Object} opts Optional parameters
|
|
27755
|
+
* @param {Object} opts.expand Option to fetch phrases
|
|
27756
|
+
*/
|
|
27757
|
+
getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
|
|
27758
|
+
opts = opts || {};
|
|
27759
|
+
|
|
27760
|
+
// verify the required parameter 'minerId' is set
|
|
27761
|
+
if (minerId === undefined || minerId === null) {
|
|
27762
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
|
|
27763
|
+
}
|
|
27764
|
+
// verify the required parameter 'topicId' is set
|
|
27765
|
+
if (topicId === undefined || topicId === null) {
|
|
27766
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
|
|
27767
|
+
}
|
|
27768
|
+
|
|
27769
|
+
return this.apiClient.callApi(
|
|
27770
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
|
|
27771
|
+
'GET',
|
|
27772
|
+
{ 'minerId': minerId,'topicId': topicId },
|
|
27773
|
+
{ 'expand': opts['expand'] },
|
|
27774
|
+
{ },
|
|
27775
|
+
{ },
|
|
27776
|
+
null,
|
|
27777
|
+
['PureCloud OAuth'],
|
|
27778
|
+
['application/json'],
|
|
27779
|
+
['application/json']
|
|
27780
|
+
);
|
|
27781
|
+
}
|
|
27782
|
+
|
|
27783
|
+
/**
|
|
27784
|
+
* Retrieves utterances related to a phrase in a topic.
|
|
27785
|
+
*
|
|
27786
|
+
* @param {String} minerId Miner ID
|
|
27787
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
27788
|
+
* @param {String} phraseId The ID of the phrase to be retrieved.
|
|
27789
|
+
*/
|
|
27790
|
+
getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
|
|
27791
|
+
// verify the required parameter 'minerId' is set
|
|
27792
|
+
if (minerId === undefined || minerId === null) {
|
|
27793
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
27794
|
+
}
|
|
27795
|
+
// verify the required parameter 'topicId' is set
|
|
27796
|
+
if (topicId === undefined || topicId === null) {
|
|
27797
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
27798
|
+
}
|
|
27799
|
+
// verify the required parameter 'phraseId' is set
|
|
27800
|
+
if (phraseId === undefined || phraseId === null) {
|
|
27801
|
+
throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
27802
|
+
}
|
|
27803
|
+
|
|
27804
|
+
return this.apiClient.callApi(
|
|
27805
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
|
|
27806
|
+
'GET',
|
|
27807
|
+
{ 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
|
|
27808
|
+
{ },
|
|
27809
|
+
{ },
|
|
27810
|
+
{ },
|
|
27811
|
+
null,
|
|
27812
|
+
['PureCloud OAuth'],
|
|
27813
|
+
['application/json'],
|
|
27814
|
+
['application/json']
|
|
27815
|
+
);
|
|
27816
|
+
}
|
|
27817
|
+
|
|
27818
|
+
/**
|
|
27819
|
+
* Retrieve a list of mined topics.
|
|
27820
|
+
*
|
|
27821
|
+
* @param {String} minerId Miner ID
|
|
27822
|
+
*/
|
|
27823
|
+
getLanguageunderstandingMinerTopics(minerId) {
|
|
27824
|
+
// verify the required parameter 'minerId' is set
|
|
27825
|
+
if (minerId === undefined || minerId === null) {
|
|
27826
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
|
|
27827
|
+
}
|
|
27828
|
+
|
|
27829
|
+
return this.apiClient.callApi(
|
|
27830
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics',
|
|
27831
|
+
'GET',
|
|
27832
|
+
{ 'minerId': minerId },
|
|
27833
|
+
{ },
|
|
27834
|
+
{ },
|
|
27835
|
+
{ },
|
|
27836
|
+
null,
|
|
27837
|
+
['PureCloud OAuth'],
|
|
27838
|
+
['application/json'],
|
|
27839
|
+
['application/json']
|
|
27840
|
+
);
|
|
27841
|
+
}
|
|
27842
|
+
|
|
27741
27843
|
/**
|
|
27742
27844
|
* Retrieve the list of miners created.
|
|
27743
27845
|
*
|
|
27846
|
+
* @param {Object} opts Optional parameters
|
|
27847
|
+
* @param {String} opts.minerType Type of miner, either intent or topic
|
|
27744
27848
|
*/
|
|
27745
|
-
getLanguageunderstandingMiners() {
|
|
27849
|
+
getLanguageunderstandingMiners(opts) {
|
|
27850
|
+
opts = opts || {};
|
|
27851
|
+
|
|
27746
27852
|
|
|
27747
27853
|
return this.apiClient.callApi(
|
|
27748
27854
|
'/api/v2/languageunderstanding/miners',
|
|
27749
27855
|
'GET',
|
|
27750
27856
|
{ },
|
|
27751
|
-
{
|
|
27857
|
+
{ 'minerType': opts['minerType'] },
|
|
27752
27858
|
{ },
|
|
27753
27859
|
{ },
|
|
27754
27860
|
null,
|
|
@@ -27952,8 +28058,12 @@ class LanguageUnderstandingApi {
|
|
|
27952
28058
|
*
|
|
27953
28059
|
* @param {String} domainId ID of the NLU domain.
|
|
27954
28060
|
* @param {Object} body The NLU Domain Version to create.
|
|
28061
|
+
* @param {Object} opts Optional parameters
|
|
28062
|
+
* @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
|
|
27955
28063
|
*/
|
|
27956
|
-
postLanguageunderstandingDomainVersions(domainId, body) {
|
|
28064
|
+
postLanguageunderstandingDomainVersions(domainId, body, opts) {
|
|
28065
|
+
opts = opts || {};
|
|
28066
|
+
|
|
27957
28067
|
// verify the required parameter 'domainId' is set
|
|
27958
28068
|
if (domainId === undefined || domainId === null) {
|
|
27959
28069
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
|
|
@@ -27967,7 +28077,7 @@ class LanguageUnderstandingApi {
|
|
|
27967
28077
|
'/api/v2/languageunderstanding/domains/{domainId}/versions',
|
|
27968
28078
|
'POST',
|
|
27969
28079
|
{ 'domainId': domainId },
|
|
27970
|
-
{
|
|
28080
|
+
{ 'includeUtterances': opts['includeUtterances'] },
|
|
27971
28081
|
{ },
|
|
27972
28082
|
{ },
|
|
27973
28083
|
body,
|
|
@@ -28127,7 +28237,7 @@ class LanguagesApi {
|
|
|
28127
28237
|
/**
|
|
28128
28238
|
* Languages service.
|
|
28129
28239
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28130
|
-
* @version
|
|
28240
|
+
* @version 155.0.0
|
|
28131
28241
|
*/
|
|
28132
28242
|
|
|
28133
28243
|
/**
|
|
@@ -28395,7 +28505,7 @@ class LearningApi {
|
|
|
28395
28505
|
/**
|
|
28396
28506
|
* Learning service.
|
|
28397
28507
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28398
|
-
* @version
|
|
28508
|
+
* @version 155.0.0
|
|
28399
28509
|
*/
|
|
28400
28510
|
|
|
28401
28511
|
/**
|
|
@@ -28695,6 +28805,7 @@ class LearningApi {
|
|
|
28695
28805
|
* @param {String} opts.searchTerm Search Term (searchable by name)
|
|
28696
28806
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
28697
28807
|
* @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)
|
|
28808
|
+
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
28698
28809
|
*/
|
|
28699
28810
|
getLearningModules(opts) {
|
|
28700
28811
|
opts = opts || {};
|
|
@@ -28704,7 +28815,7 @@ class LearningApi {
|
|
|
28704
28815
|
'/api/v2/learning/modules',
|
|
28705
28816
|
'GET',
|
|
28706
28817
|
{ },
|
|
28707
|
-
{ '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'] },
|
|
28818
|
+
{ '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') },
|
|
28708
28819
|
{ },
|
|
28709
28820
|
{ },
|
|
28710
28821
|
null,
|
|
@@ -29155,7 +29266,7 @@ class LicenseApi {
|
|
|
29155
29266
|
/**
|
|
29156
29267
|
* License service.
|
|
29157
29268
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29158
|
-
* @version
|
|
29269
|
+
* @version 155.0.0
|
|
29159
29270
|
*/
|
|
29160
29271
|
|
|
29161
29272
|
/**
|
|
@@ -29393,7 +29504,7 @@ class LocationsApi {
|
|
|
29393
29504
|
/**
|
|
29394
29505
|
* Locations service.
|
|
29395
29506
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29396
|
-
* @version
|
|
29507
|
+
* @version 155.0.0
|
|
29397
29508
|
*/
|
|
29398
29509
|
|
|
29399
29510
|
/**
|
|
@@ -29629,7 +29740,7 @@ class MessagingApi {
|
|
|
29629
29740
|
/**
|
|
29630
29741
|
* Messaging service.
|
|
29631
29742
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29632
|
-
* @version
|
|
29743
|
+
* @version 155.0.0
|
|
29633
29744
|
*/
|
|
29634
29745
|
|
|
29635
29746
|
/**
|
|
@@ -29780,7 +29891,7 @@ class MobileDevicesApi {
|
|
|
29780
29891
|
/**
|
|
29781
29892
|
* MobileDevices service.
|
|
29782
29893
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29783
|
-
* @version
|
|
29894
|
+
* @version 155.0.0
|
|
29784
29895
|
*/
|
|
29785
29896
|
|
|
29786
29897
|
/**
|
|
@@ -29931,7 +30042,7 @@ class NotificationsApi {
|
|
|
29931
30042
|
/**
|
|
29932
30043
|
* Notifications service.
|
|
29933
30044
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29934
|
-
* @version
|
|
30045
|
+
* @version 155.0.0
|
|
29935
30046
|
*/
|
|
29936
30047
|
|
|
29937
30048
|
/**
|
|
@@ -30156,7 +30267,7 @@ class OAuthApi {
|
|
|
30156
30267
|
/**
|
|
30157
30268
|
* OAuth service.
|
|
30158
30269
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30159
|
-
* @version
|
|
30270
|
+
* @version 155.0.0
|
|
30160
30271
|
*/
|
|
30161
30272
|
|
|
30162
30273
|
/**
|
|
@@ -30522,7 +30633,7 @@ class ObjectsApi {
|
|
|
30522
30633
|
/**
|
|
30523
30634
|
* Objects service.
|
|
30524
30635
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30525
|
-
* @version
|
|
30636
|
+
* @version 155.0.0
|
|
30526
30637
|
*/
|
|
30527
30638
|
|
|
30528
30639
|
/**
|
|
@@ -30793,7 +30904,7 @@ class OrganizationApi {
|
|
|
30793
30904
|
/**
|
|
30794
30905
|
* Organization service.
|
|
30795
30906
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30796
|
-
* @version
|
|
30907
|
+
* @version 155.0.0
|
|
30797
30908
|
*/
|
|
30798
30909
|
|
|
30799
30910
|
/**
|
|
@@ -31196,7 +31307,7 @@ class OrganizationAuthorizationApi {
|
|
|
31196
31307
|
/**
|
|
31197
31308
|
* OrganizationAuthorization service.
|
|
31198
31309
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31199
|
-
* @version
|
|
31310
|
+
* @version 155.0.0
|
|
31200
31311
|
*/
|
|
31201
31312
|
|
|
31202
31313
|
/**
|
|
@@ -32121,7 +32232,7 @@ class OutboundApi {
|
|
|
32121
32232
|
/**
|
|
32122
32233
|
* Outbound service.
|
|
32123
32234
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32124
|
-
* @version
|
|
32235
|
+
* @version 155.0.0
|
|
32125
32236
|
*/
|
|
32126
32237
|
|
|
32127
32238
|
/**
|
|
@@ -32471,6 +32582,64 @@ class OutboundApi {
|
|
|
32471
32582
|
);
|
|
32472
32583
|
}
|
|
32473
32584
|
|
|
32585
|
+
/**
|
|
32586
|
+
* Deletes all or expired email addresses from a DNC list.
|
|
32587
|
+
* This operation is Only for Internal DNC lists of email addresses
|
|
32588
|
+
* @param {String} dncListId DncList ID
|
|
32589
|
+
* @param {Object} opts Optional parameters
|
|
32590
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
32591
|
+
*/
|
|
32592
|
+
deleteOutboundDnclistEmailaddresses(dncListId, opts) {
|
|
32593
|
+
opts = opts || {};
|
|
32594
|
+
|
|
32595
|
+
// verify the required parameter 'dncListId' is set
|
|
32596
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32597
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';
|
|
32598
|
+
}
|
|
32599
|
+
|
|
32600
|
+
return this.apiClient.callApi(
|
|
32601
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
32602
|
+
'DELETE',
|
|
32603
|
+
{ 'dncListId': dncListId },
|
|
32604
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
32605
|
+
{ },
|
|
32606
|
+
{ },
|
|
32607
|
+
null,
|
|
32608
|
+
['PureCloud OAuth'],
|
|
32609
|
+
['application/json'],
|
|
32610
|
+
['application/json']
|
|
32611
|
+
);
|
|
32612
|
+
}
|
|
32613
|
+
|
|
32614
|
+
/**
|
|
32615
|
+
* Deletes all or expired phone numbers from a DNC list.
|
|
32616
|
+
* This operation is Only for Internal DNC lists of phone numbers
|
|
32617
|
+
* @param {String} dncListId DncList ID
|
|
32618
|
+
* @param {Object} opts Optional parameters
|
|
32619
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
32620
|
+
*/
|
|
32621
|
+
deleteOutboundDnclistPhonenumbers(dncListId, opts) {
|
|
32622
|
+
opts = opts || {};
|
|
32623
|
+
|
|
32624
|
+
// verify the required parameter 'dncListId' is set
|
|
32625
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32626
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';
|
|
32627
|
+
}
|
|
32628
|
+
|
|
32629
|
+
return this.apiClient.callApi(
|
|
32630
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
32631
|
+
'DELETE',
|
|
32632
|
+
{ 'dncListId': dncListId },
|
|
32633
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
32634
|
+
{ },
|
|
32635
|
+
{ },
|
|
32636
|
+
null,
|
|
32637
|
+
['PureCloud OAuth'],
|
|
32638
|
+
['application/json'],
|
|
32639
|
+
['application/json']
|
|
32640
|
+
);
|
|
32641
|
+
}
|
|
32642
|
+
|
|
32474
32643
|
/**
|
|
32475
32644
|
* Delete an Outbound Messaging Campaign
|
|
32476
32645
|
*
|
|
@@ -34241,6 +34410,66 @@ class OutboundApi {
|
|
|
34241
34410
|
);
|
|
34242
34411
|
}
|
|
34243
34412
|
|
|
34413
|
+
/**
|
|
34414
|
+
* Add emails to or Delete emails from a DNC list.
|
|
34415
|
+
* Only Internal DNC lists may be added to or deleted from
|
|
34416
|
+
* @param {String} dncListId DncList ID
|
|
34417
|
+
* @param {Object} body DNC Emails
|
|
34418
|
+
*/
|
|
34419
|
+
patchOutboundDnclistEmailaddresses(dncListId, body) {
|
|
34420
|
+
// verify the required parameter 'dncListId' is set
|
|
34421
|
+
if (dncListId === undefined || dncListId === null) {
|
|
34422
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';
|
|
34423
|
+
}
|
|
34424
|
+
// verify the required parameter 'body' is set
|
|
34425
|
+
if (body === undefined || body === null) {
|
|
34426
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';
|
|
34427
|
+
}
|
|
34428
|
+
|
|
34429
|
+
return this.apiClient.callApi(
|
|
34430
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
34431
|
+
'PATCH',
|
|
34432
|
+
{ 'dncListId': dncListId },
|
|
34433
|
+
{ },
|
|
34434
|
+
{ },
|
|
34435
|
+
{ },
|
|
34436
|
+
body,
|
|
34437
|
+
['PureCloud OAuth'],
|
|
34438
|
+
['application/json'],
|
|
34439
|
+
['application/json']
|
|
34440
|
+
);
|
|
34441
|
+
}
|
|
34442
|
+
|
|
34443
|
+
/**
|
|
34444
|
+
* Add numbers to or delete numbers from a DNC list.
|
|
34445
|
+
* Only Internal DNC lists may be added to deleted from
|
|
34446
|
+
* @param {String} dncListId DncList ID
|
|
34447
|
+
* @param {Object} body DNC Phone Numbers
|
|
34448
|
+
*/
|
|
34449
|
+
patchOutboundDnclistPhonenumbers(dncListId, body) {
|
|
34450
|
+
// verify the required parameter 'dncListId' is set
|
|
34451
|
+
if (dncListId === undefined || dncListId === null) {
|
|
34452
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';
|
|
34453
|
+
}
|
|
34454
|
+
// verify the required parameter 'body' is set
|
|
34455
|
+
if (body === undefined || body === null) {
|
|
34456
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';
|
|
34457
|
+
}
|
|
34458
|
+
|
|
34459
|
+
return this.apiClient.callApi(
|
|
34460
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
34461
|
+
'PATCH',
|
|
34462
|
+
{ 'dncListId': dncListId },
|
|
34463
|
+
{ },
|
|
34464
|
+
{ },
|
|
34465
|
+
{ },
|
|
34466
|
+
body,
|
|
34467
|
+
['PureCloud OAuth'],
|
|
34468
|
+
['application/json'],
|
|
34469
|
+
['application/json']
|
|
34470
|
+
);
|
|
34471
|
+
}
|
|
34472
|
+
|
|
34244
34473
|
/**
|
|
34245
34474
|
* Update the outbound settings for this organization
|
|
34246
34475
|
*
|
|
@@ -34745,6 +34974,36 @@ class OutboundApi {
|
|
|
34745
34974
|
);
|
|
34746
34975
|
}
|
|
34747
34976
|
|
|
34977
|
+
/**
|
|
34978
|
+
* Add email addresses to a DNC list.
|
|
34979
|
+
* Only Internal DNC lists may be appended to
|
|
34980
|
+
* @param {String} dncListId DncList ID
|
|
34981
|
+
* @param {Array.<String>} body DNC email addresses
|
|
34982
|
+
*/
|
|
34983
|
+
postOutboundDnclistEmailaddresses(dncListId, body) {
|
|
34984
|
+
// verify the required parameter 'dncListId' is set
|
|
34985
|
+
if (dncListId === undefined || dncListId === null) {
|
|
34986
|
+
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';
|
|
34987
|
+
}
|
|
34988
|
+
// verify the required parameter 'body' is set
|
|
34989
|
+
if (body === undefined || body === null) {
|
|
34990
|
+
throw 'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';
|
|
34991
|
+
}
|
|
34992
|
+
|
|
34993
|
+
return this.apiClient.callApi(
|
|
34994
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
34995
|
+
'POST',
|
|
34996
|
+
{ 'dncListId': dncListId },
|
|
34997
|
+
{ },
|
|
34998
|
+
{ },
|
|
34999
|
+
{ },
|
|
35000
|
+
body,
|
|
35001
|
+
['PureCloud OAuth'],
|
|
35002
|
+
['application/json'],
|
|
35003
|
+
['application/json']
|
|
35004
|
+
);
|
|
35005
|
+
}
|
|
35006
|
+
|
|
34748
35007
|
/**
|
|
34749
35008
|
* Initiate the export of a dnc list.
|
|
34750
35009
|
* Returns 200 if received OK.
|
|
@@ -35510,7 +35769,7 @@ class PresenceApi {
|
|
|
35510
35769
|
/**
|
|
35511
35770
|
* Presence service.
|
|
35512
35771
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35513
|
-
* @version
|
|
35772
|
+
* @version 155.0.0
|
|
35514
35773
|
*/
|
|
35515
35774
|
|
|
35516
35775
|
/**
|
|
@@ -35727,7 +35986,7 @@ class PresenceApi {
|
|
|
35727
35986
|
|
|
35728
35987
|
/**
|
|
35729
35988
|
* Get a user's Presence
|
|
35730
|
-
* Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources.
|
|
35989
|
+
* Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources. This endpoint does not support registered presence sources.
|
|
35731
35990
|
* @param {String} userId user Id
|
|
35732
35991
|
* @param {String} sourceId Presence source ID
|
|
35733
35992
|
*/
|
|
@@ -35782,7 +36041,7 @@ class PresenceApi {
|
|
|
35782
36041
|
|
|
35783
36042
|
/**
|
|
35784
36043
|
* Patch a user's Presence
|
|
35785
|
-
* Patch a users presence for the specified source that is not specifically listed. The presence object can be patched one of three ways. Option 1: Set the primary property to true. This will set the source defined in the path as the users primary presence source. Option 2: Provide the presenceDefinition value. The id is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
|
|
36044
|
+
* Patch a users presence for the specified source that is not specifically listed. This endpoint does not support registered presence sources. The presence object can be patched one of three ways. Option 1: Set the primary property to true. This will set the source defined in the path as the users primary presence source. Option 2: Provide the presenceDefinition value. The id is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
|
|
35786
36045
|
* @param {String} userId user Id
|
|
35787
36046
|
* @param {String} sourceId Presence source ID
|
|
35788
36047
|
* @param {Object} body User presence
|
|
@@ -36016,7 +36275,7 @@ class ProcessAutomationApi {
|
|
|
36016
36275
|
/**
|
|
36017
36276
|
* ProcessAutomation service.
|
|
36018
36277
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36019
|
-
* @version
|
|
36278
|
+
* @version 155.0.0
|
|
36020
36279
|
*/
|
|
36021
36280
|
|
|
36022
36281
|
/**
|
|
@@ -36254,7 +36513,7 @@ class QualityApi {
|
|
|
36254
36513
|
/**
|
|
36255
36514
|
* Quality service.
|
|
36256
36515
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36257
|
-
* @version
|
|
36516
|
+
* @version 155.0.0
|
|
36258
36517
|
*/
|
|
36259
36518
|
|
|
36260
36519
|
/**
|
|
@@ -37832,7 +38091,7 @@ class RecordingApi {
|
|
|
37832
38091
|
/**
|
|
37833
38092
|
* Recording service.
|
|
37834
38093
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37835
|
-
* @version
|
|
38094
|
+
* @version 155.0.0
|
|
37836
38095
|
*/
|
|
37837
38096
|
|
|
37838
38097
|
/**
|
|
@@ -38534,7 +38793,7 @@ class RecordingApi {
|
|
|
38534
38793
|
}
|
|
38535
38794
|
|
|
38536
38795
|
/**
|
|
38537
|
-
* Get the local encryption settings
|
|
38796
|
+
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
38538
38797
|
*
|
|
38539
38798
|
* @param {String} settingsId Settings Id
|
|
38540
38799
|
*/
|
|
@@ -38559,7 +38818,7 @@ class RecordingApi {
|
|
|
38559
38818
|
}
|
|
38560
38819
|
|
|
38561
38820
|
/**
|
|
38562
|
-
* gets a list local key settings data
|
|
38821
|
+
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
38563
38822
|
*
|
|
38564
38823
|
*/
|
|
38565
38824
|
getRecordingLocalkeysSettings() {
|
|
@@ -39011,7 +39270,7 @@ class RecordingApi {
|
|
|
39011
39270
|
}
|
|
39012
39271
|
|
|
39013
39272
|
/**
|
|
39014
|
-
* create a local recording key
|
|
39273
|
+
* create a local key management recording key
|
|
39015
39274
|
*
|
|
39016
39275
|
* @param {Object} body Local Encryption body
|
|
39017
39276
|
*/
|
|
@@ -39036,7 +39295,7 @@ class RecordingApi {
|
|
|
39036
39295
|
}
|
|
39037
39296
|
|
|
39038
39297
|
/**
|
|
39039
|
-
* create settings for local key creation
|
|
39298
|
+
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
39040
39299
|
*
|
|
39041
39300
|
* @param {Object} body Local Encryption Configuration
|
|
39042
39301
|
*/
|
|
@@ -39379,7 +39638,7 @@ class RecordingApi {
|
|
|
39379
39638
|
}
|
|
39380
39639
|
|
|
39381
39640
|
/**
|
|
39382
|
-
* Update the local encryption settings
|
|
39641
|
+
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
39383
39642
|
*
|
|
39384
39643
|
* @param {String} settingsId Settings Id
|
|
39385
39644
|
* @param {Object} body Local Encryption metadata
|
|
@@ -39519,7 +39778,7 @@ class ResponseManagementApi {
|
|
|
39519
39778
|
/**
|
|
39520
39779
|
* ResponseManagement service.
|
|
39521
39780
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39522
|
-
* @version
|
|
39781
|
+
* @version 155.0.0
|
|
39523
39782
|
*/
|
|
39524
39783
|
|
|
39525
39784
|
/**
|
|
@@ -40003,7 +40262,7 @@ class RoutingApi {
|
|
|
40003
40262
|
/**
|
|
40004
40263
|
* Routing service.
|
|
40005
40264
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
40006
|
-
* @version
|
|
40265
|
+
* @version 155.0.0
|
|
40007
40266
|
*/
|
|
40008
40267
|
|
|
40009
40268
|
/**
|
|
@@ -43418,7 +43677,7 @@ class SCIMApi {
|
|
|
43418
43677
|
/**
|
|
43419
43678
|
* SCIM service.
|
|
43420
43679
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43421
|
-
* @version
|
|
43680
|
+
* @version 155.0.0
|
|
43422
43681
|
*/
|
|
43423
43682
|
|
|
43424
43683
|
/**
|
|
@@ -44295,7 +44554,7 @@ class ScriptsApi {
|
|
|
44295
44554
|
/**
|
|
44296
44555
|
* Scripts service.
|
|
44297
44556
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44298
|
-
* @version
|
|
44557
|
+
* @version 155.0.0
|
|
44299
44558
|
*/
|
|
44300
44559
|
|
|
44301
44560
|
/**
|
|
@@ -44714,7 +44973,7 @@ class SearchApi {
|
|
|
44714
44973
|
/**
|
|
44715
44974
|
* Search service.
|
|
44716
44975
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44717
|
-
* @version
|
|
44976
|
+
* @version 155.0.0
|
|
44718
44977
|
*/
|
|
44719
44978
|
|
|
44720
44979
|
/**
|
|
@@ -45299,7 +45558,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45299
45558
|
/**
|
|
45300
45559
|
* SpeechTextAnalytics service.
|
|
45301
45560
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45302
|
-
* @version
|
|
45561
|
+
* @version 155.0.0
|
|
45303
45562
|
*/
|
|
45304
45563
|
|
|
45305
45564
|
/**
|
|
@@ -46153,7 +46412,7 @@ class StationsApi {
|
|
|
46153
46412
|
/**
|
|
46154
46413
|
* Stations service.
|
|
46155
46414
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46156
|
-
* @version
|
|
46415
|
+
* @version 155.0.0
|
|
46157
46416
|
*/
|
|
46158
46417
|
|
|
46159
46418
|
/**
|
|
@@ -46300,7 +46559,7 @@ class SuggestApi {
|
|
|
46300
46559
|
/**
|
|
46301
46560
|
* Suggest service.
|
|
46302
46561
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46303
|
-
* @version
|
|
46562
|
+
* @version 155.0.0
|
|
46304
46563
|
*/
|
|
46305
46564
|
|
|
46306
46565
|
/**
|
|
@@ -46439,7 +46698,7 @@ class TeamsApi {
|
|
|
46439
46698
|
/**
|
|
46440
46699
|
* Teams service.
|
|
46441
46700
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46442
|
-
* @version
|
|
46701
|
+
* @version 155.0.0
|
|
46443
46702
|
*/
|
|
46444
46703
|
|
|
46445
46704
|
/**
|
|
@@ -46710,7 +46969,7 @@ class TelephonyApi {
|
|
|
46710
46969
|
/**
|
|
46711
46970
|
* Telephony service.
|
|
46712
46971
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46713
|
-
* @version
|
|
46972
|
+
* @version 155.0.0
|
|
46714
46973
|
*/
|
|
46715
46974
|
|
|
46716
46975
|
/**
|
|
@@ -46725,6 +46984,26 @@ class TelephonyApi {
|
|
|
46725
46984
|
}
|
|
46726
46985
|
|
|
46727
46986
|
|
|
46987
|
+
/**
|
|
46988
|
+
* Retrieve the list of AWS regions media can stream through.
|
|
46989
|
+
*
|
|
46990
|
+
*/
|
|
46991
|
+
getTelephonyMediaregions() {
|
|
46992
|
+
|
|
46993
|
+
return this.apiClient.callApi(
|
|
46994
|
+
'/api/v2/telephony/mediaregions',
|
|
46995
|
+
'GET',
|
|
46996
|
+
{ },
|
|
46997
|
+
{ },
|
|
46998
|
+
{ },
|
|
46999
|
+
{ },
|
|
47000
|
+
null,
|
|
47001
|
+
['PureCloud OAuth'],
|
|
47002
|
+
['application/json'],
|
|
47003
|
+
['application/json']
|
|
47004
|
+
);
|
|
47005
|
+
}
|
|
47006
|
+
|
|
46728
47007
|
/**
|
|
46729
47008
|
* Fetch SIP metadata
|
|
46730
47009
|
* Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
|
|
@@ -46818,7 +47097,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46818
47097
|
/**
|
|
46819
47098
|
* TelephonyProvidersEdge service.
|
|
46820
47099
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46821
|
-
* @version
|
|
47100
|
+
* @version 155.0.0
|
|
46822
47101
|
*/
|
|
46823
47102
|
|
|
46824
47103
|
/**
|
|
@@ -50451,7 +50730,7 @@ class TextbotsApi {
|
|
|
50451
50730
|
/**
|
|
50452
50731
|
* Textbots service.
|
|
50453
50732
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50454
|
-
* @version
|
|
50733
|
+
* @version 155.0.0
|
|
50455
50734
|
*/
|
|
50456
50735
|
|
|
50457
50736
|
/**
|
|
@@ -50579,7 +50858,7 @@ class TokensApi {
|
|
|
50579
50858
|
/**
|
|
50580
50859
|
* Tokens service.
|
|
50581
50860
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50582
|
-
* @version
|
|
50861
|
+
* @version 155.0.0
|
|
50583
50862
|
*/
|
|
50584
50863
|
|
|
50585
50864
|
/**
|
|
@@ -50685,7 +50964,7 @@ class UploadsApi {
|
|
|
50685
50964
|
/**
|
|
50686
50965
|
* Uploads service.
|
|
50687
50966
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50688
|
-
* @version
|
|
50967
|
+
* @version 155.0.0
|
|
50689
50968
|
*/
|
|
50690
50969
|
|
|
50691
50970
|
/**
|
|
@@ -50861,7 +51140,7 @@ class UsageApi {
|
|
|
50861
51140
|
/**
|
|
50862
51141
|
* Usage service.
|
|
50863
51142
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50864
|
-
* @version
|
|
51143
|
+
* @version 155.0.0
|
|
50865
51144
|
*/
|
|
50866
51145
|
|
|
50867
51146
|
/**
|
|
@@ -50932,7 +51211,7 @@ class UserRecordingsApi {
|
|
|
50932
51211
|
/**
|
|
50933
51212
|
* UserRecordings service.
|
|
50934
51213
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
50935
|
-
* @version
|
|
51214
|
+
* @version 155.0.0
|
|
50936
51215
|
*/
|
|
50937
51216
|
|
|
50938
51217
|
/**
|
|
@@ -51117,7 +51396,7 @@ class UsersApi {
|
|
|
51117
51396
|
/**
|
|
51118
51397
|
* Users service.
|
|
51119
51398
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51120
|
-
* @version
|
|
51399
|
+
* @version 155.0.0
|
|
51121
51400
|
*/
|
|
51122
51401
|
|
|
51123
51402
|
/**
|
|
@@ -53474,7 +53753,7 @@ class UtilitiesApi {
|
|
|
53474
53753
|
/**
|
|
53475
53754
|
* Utilities service.
|
|
53476
53755
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53477
|
-
* @version
|
|
53756
|
+
* @version 155.0.0
|
|
53478
53757
|
*/
|
|
53479
53758
|
|
|
53480
53759
|
/**
|
|
@@ -53585,7 +53864,7 @@ class VoicemailApi {
|
|
|
53585
53864
|
/**
|
|
53586
53865
|
* Voicemail service.
|
|
53587
53866
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53588
|
-
* @version
|
|
53867
|
+
* @version 155.0.0
|
|
53589
53868
|
*/
|
|
53590
53869
|
|
|
53591
53870
|
/**
|
|
@@ -54252,7 +54531,7 @@ class WebChatApi {
|
|
|
54252
54531
|
/**
|
|
54253
54532
|
* WebChat service.
|
|
54254
54533
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54255
|
-
* @version
|
|
54534
|
+
* @version 155.0.0
|
|
54256
54535
|
*/
|
|
54257
54536
|
|
|
54258
54537
|
/**
|
|
@@ -54796,7 +55075,7 @@ class WebDeploymentsApi {
|
|
|
54796
55075
|
/**
|
|
54797
55076
|
* WebDeployments service.
|
|
54798
55077
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54799
|
-
* @version
|
|
55078
|
+
* @version 155.0.0
|
|
54800
55079
|
*/
|
|
54801
55080
|
|
|
54802
55081
|
/**
|
|
@@ -55184,7 +55463,7 @@ class WebMessagingApi {
|
|
|
55184
55463
|
/**
|
|
55185
55464
|
* WebMessaging service.
|
|
55186
55465
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55187
|
-
* @version
|
|
55466
|
+
* @version 155.0.0
|
|
55188
55467
|
*/
|
|
55189
55468
|
|
|
55190
55469
|
/**
|
|
@@ -55230,7 +55509,7 @@ class WidgetsApi {
|
|
|
55230
55509
|
/**
|
|
55231
55510
|
* Widgets service.
|
|
55232
55511
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55233
|
-
* @version
|
|
55512
|
+
* @version 155.0.0
|
|
55234
55513
|
*/
|
|
55235
55514
|
|
|
55236
55515
|
/**
|
|
@@ -55376,7 +55655,7 @@ class WorkforceManagementApi {
|
|
|
55376
55655
|
/**
|
|
55377
55656
|
* WorkforceManagement service.
|
|
55378
55657
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55379
|
-
* @version
|
|
55658
|
+
* @version 155.0.0
|
|
55380
55659
|
*/
|
|
55381
55660
|
|
|
55382
55661
|
/**
|
|
@@ -60046,7 +60325,7 @@ class WorkforceManagementApi {
|
|
|
60046
60325
|
* </pre>
|
|
60047
60326
|
* </p>
|
|
60048
60327
|
* @module purecloud-platform-client-v2/index
|
|
60049
|
-
* @version
|
|
60328
|
+
* @version 155.0.0
|
|
60050
60329
|
*/
|
|
60051
60330
|
class platformClient {
|
|
60052
60331
|
constructor() {
|