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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 155.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1481,7 +1481,7 @@ class AlertingApi {
|
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Alerting service.
|
|
1483
1483
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1484
|
-
* @version
|
|
1484
|
+
* @version 155.0.0
|
|
1485
1485
|
*/
|
|
1486
1486
|
|
|
1487
1487
|
/**
|
|
@@ -1795,7 +1795,7 @@ class AnalyticsApi {
|
|
|
1795
1795
|
/**
|
|
1796
1796
|
* Analytics service.
|
|
1797
1797
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1798
|
-
* @version
|
|
1798
|
+
* @version 155.0.0
|
|
1799
1799
|
*/
|
|
1800
1800
|
|
|
1801
1801
|
/**
|
|
@@ -1895,6 +1895,7 @@ class AnalyticsApi {
|
|
|
1895
1895
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
1896
1896
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
1897
1897
|
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
1898
|
+
* @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
|
|
1898
1899
|
*/
|
|
1899
1900
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
1900
1901
|
opts = opts || {};
|
|
@@ -1908,7 +1909,7 @@ class AnalyticsApi {
|
|
|
1908
1909
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
1909
1910
|
'GET',
|
|
1910
1911
|
{ 'botFlowId': botFlowId },
|
|
1911
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
1912
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'],'askActionResults': opts['askActionResults'] },
|
|
1912
1913
|
{ },
|
|
1913
1914
|
{ },
|
|
1914
1915
|
null,
|
|
@@ -3048,7 +3049,7 @@ class ArchitectApi {
|
|
|
3048
3049
|
/**
|
|
3049
3050
|
* Architect service.
|
|
3050
3051
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3051
|
-
* @version
|
|
3052
|
+
* @version 155.0.0
|
|
3052
3053
|
*/
|
|
3053
3054
|
|
|
3054
3055
|
/**
|
|
@@ -3807,6 +3808,7 @@ class ArchitectApi {
|
|
|
3807
3808
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
3808
3809
|
* @param {String} opts.name Name of the IVR to filter by.
|
|
3809
3810
|
* @param {String} opts.dnis The phone number of the IVR to filter by.
|
|
3811
|
+
* @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
|
|
3810
3812
|
*/
|
|
3811
3813
|
getArchitectIvrs(opts) {
|
|
3812
3814
|
opts = opts || {};
|
|
@@ -3816,7 +3818,7 @@ class ArchitectApi {
|
|
|
3816
3818
|
'/api/v2/architect/ivrs',
|
|
3817
3819
|
'GET',
|
|
3818
3820
|
{ },
|
|
3819
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'] },
|
|
3821
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
|
|
3820
3822
|
{ },
|
|
3821
3823
|
{ },
|
|
3822
3824
|
null,
|
|
@@ -6095,7 +6097,7 @@ class AuditApi {
|
|
|
6095
6097
|
/**
|
|
6096
6098
|
* Audit service.
|
|
6097
6099
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6098
|
-
* @version
|
|
6100
|
+
* @version 155.0.0
|
|
6099
6101
|
*/
|
|
6100
6102
|
|
|
6101
6103
|
/**
|
|
@@ -6266,7 +6268,7 @@ class AuthorizationApi {
|
|
|
6266
6268
|
/**
|
|
6267
6269
|
* Authorization service.
|
|
6268
6270
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6269
|
-
* @version
|
|
6271
|
+
* @version 155.0.0
|
|
6270
6272
|
*/
|
|
6271
6273
|
|
|
6272
6274
|
/**
|
|
@@ -7494,7 +7496,7 @@ class BillingApi {
|
|
|
7494
7496
|
/**
|
|
7495
7497
|
* Billing service.
|
|
7496
7498
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7497
|
-
* @version
|
|
7499
|
+
* @version 155.0.0
|
|
7498
7500
|
*/
|
|
7499
7501
|
|
|
7500
7502
|
/**
|
|
@@ -7574,7 +7576,7 @@ class ChatApi {
|
|
|
7574
7576
|
/**
|
|
7575
7577
|
* Chat service.
|
|
7576
7578
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7577
|
-
* @version
|
|
7579
|
+
* @version 155.0.0
|
|
7578
7580
|
*/
|
|
7579
7581
|
|
|
7580
7582
|
/**
|
|
@@ -7665,7 +7667,7 @@ class CoachingApi {
|
|
|
7665
7667
|
/**
|
|
7666
7668
|
* Coaching service.
|
|
7667
7669
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7668
|
-
* @version
|
|
7670
|
+
* @version 155.0.0
|
|
7669
7671
|
*/
|
|
7670
7672
|
|
|
7671
7673
|
/**
|
|
@@ -8242,7 +8244,7 @@ class ContentManagementApi {
|
|
|
8242
8244
|
/**
|
|
8243
8245
|
* ContentManagement service.
|
|
8244
8246
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8245
|
-
* @version
|
|
8247
|
+
* @version 155.0.0
|
|
8246
8248
|
*/
|
|
8247
8249
|
|
|
8248
8250
|
/**
|
|
@@ -9382,7 +9384,7 @@ class ConversationsApi {
|
|
|
9382
9384
|
/**
|
|
9383
9385
|
* Conversations service.
|
|
9384
9386
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9385
|
-
* @version
|
|
9387
|
+
* @version 155.0.0
|
|
9386
9388
|
*/
|
|
9387
9389
|
|
|
9388
9390
|
/**
|
|
@@ -14605,7 +14607,7 @@ class DataExtensionsApi {
|
|
|
14605
14607
|
/**
|
|
14606
14608
|
* DataExtensions service.
|
|
14607
14609
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14608
|
-
* @version
|
|
14610
|
+
* @version 155.0.0
|
|
14609
14611
|
*/
|
|
14610
14612
|
|
|
14611
14613
|
/**
|
|
@@ -14691,7 +14693,7 @@ class DownloadsApi {
|
|
|
14691
14693
|
/**
|
|
14692
14694
|
* Downloads service.
|
|
14693
14695
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14694
|
-
* @version
|
|
14696
|
+
* @version 155.0.0
|
|
14695
14697
|
*/
|
|
14696
14698
|
|
|
14697
14699
|
/**
|
|
@@ -14743,7 +14745,7 @@ class EventsApi {
|
|
|
14743
14745
|
/**
|
|
14744
14746
|
* Events service.
|
|
14745
14747
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14746
|
-
* @version
|
|
14748
|
+
* @version 155.0.0
|
|
14747
14749
|
*/
|
|
14748
14750
|
|
|
14749
14751
|
/**
|
|
@@ -14839,7 +14841,7 @@ class ExternalContactsApi {
|
|
|
14839
14841
|
/**
|
|
14840
14842
|
* ExternalContacts service.
|
|
14841
14843
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14842
|
-
* @version
|
|
14844
|
+
* @version 155.0.0
|
|
14843
14845
|
*/
|
|
14844
14846
|
|
|
14845
14847
|
/**
|
|
@@ -16797,7 +16799,7 @@ class FaxApi {
|
|
|
16797
16799
|
/**
|
|
16798
16800
|
* Fax service.
|
|
16799
16801
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16800
|
-
* @version
|
|
16802
|
+
* @version 155.0.0
|
|
16801
16803
|
*/
|
|
16802
16804
|
|
|
16803
16805
|
/**
|
|
@@ -16968,7 +16970,7 @@ class FlowsApi {
|
|
|
16968
16970
|
/**
|
|
16969
16971
|
* Flows service.
|
|
16970
16972
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16971
|
-
* @version
|
|
16973
|
+
* @version 155.0.0
|
|
16972
16974
|
*/
|
|
16973
16975
|
|
|
16974
16976
|
/**
|
|
@@ -17039,7 +17041,7 @@ class GamificationApi {
|
|
|
17039
17041
|
/**
|
|
17040
17042
|
* Gamification service.
|
|
17041
17043
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17042
|
-
* @version
|
|
17044
|
+
* @version 155.0.0
|
|
17043
17045
|
*/
|
|
17044
17046
|
|
|
17045
17047
|
/**
|
|
@@ -18656,7 +18658,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18656
18658
|
/**
|
|
18657
18659
|
* GeneralDataProtectionRegulation service.
|
|
18658
18660
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18659
|
-
* @version
|
|
18661
|
+
* @version 155.0.0
|
|
18660
18662
|
*/
|
|
18661
18663
|
|
|
18662
18664
|
/**
|
|
@@ -18786,7 +18788,7 @@ class GeolocationApi {
|
|
|
18786
18788
|
/**
|
|
18787
18789
|
* Geolocation service.
|
|
18788
18790
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18789
|
-
* @version
|
|
18791
|
+
* @version 155.0.0
|
|
18790
18792
|
*/
|
|
18791
18793
|
|
|
18792
18794
|
/**
|
|
@@ -18917,7 +18919,7 @@ class GreetingsApi {
|
|
|
18917
18919
|
/**
|
|
18918
18920
|
* Greetings service.
|
|
18919
18921
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18920
|
-
* @version
|
|
18922
|
+
* @version 155.0.0
|
|
18921
18923
|
*/
|
|
18922
18924
|
|
|
18923
18925
|
/**
|
|
@@ -19372,7 +19374,7 @@ class GroupsApi {
|
|
|
19372
19374
|
/**
|
|
19373
19375
|
* Groups service.
|
|
19374
19376
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19375
|
-
* @version
|
|
19377
|
+
* @version 155.0.0
|
|
19376
19378
|
*/
|
|
19377
19379
|
|
|
19378
19380
|
/**
|
|
@@ -19778,7 +19780,7 @@ class IdentityProviderApi {
|
|
|
19778
19780
|
/**
|
|
19779
19781
|
* IdentityProvider service.
|
|
19780
19782
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19781
|
-
* @version
|
|
19783
|
+
* @version 155.0.0
|
|
19782
19784
|
*/
|
|
19783
19785
|
|
|
19784
19786
|
/**
|
|
@@ -20534,7 +20536,7 @@ class IntegrationsApi {
|
|
|
20534
20536
|
/**
|
|
20535
20537
|
* Integrations service.
|
|
20536
20538
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20537
|
-
* @version
|
|
20539
|
+
* @version 155.0.0
|
|
20538
20540
|
*/
|
|
20539
20541
|
|
|
20540
20542
|
/**
|
|
@@ -22134,7 +22136,7 @@ class JourneyApi {
|
|
|
22134
22136
|
/**
|
|
22135
22137
|
* Journey service.
|
|
22136
22138
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22137
|
-
* @version
|
|
22139
|
+
* @version 155.0.0
|
|
22138
22140
|
*/
|
|
22139
22141
|
|
|
22140
22142
|
/**
|
|
@@ -22920,7 +22922,7 @@ class KnowledgeApi {
|
|
|
22920
22922
|
/**
|
|
22921
22923
|
* Knowledge service.
|
|
22922
22924
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22923
|
-
* @version
|
|
22925
|
+
* @version 155.0.0
|
|
22924
22926
|
*/
|
|
22925
22927
|
|
|
22926
22928
|
/**
|
|
@@ -25353,7 +25355,7 @@ class LanguageUnderstandingApi {
|
|
|
25353
25355
|
/**
|
|
25354
25356
|
* LanguageUnderstanding service.
|
|
25355
25357
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25356
|
-
* @version
|
|
25358
|
+
* @version 155.0.0
|
|
25357
25359
|
*/
|
|
25358
25360
|
|
|
25359
25361
|
/**
|
|
@@ -25543,6 +25545,7 @@ class LanguageUnderstandingApi {
|
|
|
25543
25545
|
* @param {String} opts.dateStart Begin of time window as ISO-8601 date.
|
|
25544
25546
|
* @param {String} opts.dateEnd End of time window as ISO-8601 date.
|
|
25545
25547
|
* @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
|
|
25548
|
+
* @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
|
|
25546
25549
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25547
25550
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25548
25551
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
@@ -25561,7 +25564,7 @@ class LanguageUnderstandingApi {
|
|
|
25561
25564
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
25562
25565
|
'GET',
|
|
25563
25566
|
{ 'domainId': domainId },
|
|
25564
|
-
{ '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') },
|
|
25567
|
+
{ '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') },
|
|
25565
25568
|
{ },
|
|
25566
25569
|
{ },
|
|
25567
25570
|
null,
|
|
@@ -25755,8 +25758,13 @@ class LanguageUnderstandingApi {
|
|
|
25755
25758
|
*
|
|
25756
25759
|
* @param {String} minerId Miner ID
|
|
25757
25760
|
* @param {String} draftId Draft ID
|
|
25761
|
+
* @param {Object} opts Optional parameters
|
|
25762
|
+
* @param {String} opts.draftIntentId Parameter to filter a specific intent.
|
|
25763
|
+
* @param {String} opts.draftTopicId Parameter to filter a specific topic.
|
|
25758
25764
|
*/
|
|
25759
|
-
getLanguageunderstandingMinerDraft(minerId, draftId) {
|
|
25765
|
+
getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
|
|
25766
|
+
opts = opts || {};
|
|
25767
|
+
|
|
25760
25768
|
// verify the required parameter 'minerId' is set
|
|
25761
25769
|
if (minerId === undefined || minerId === null) {
|
|
25762
25770
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
|
|
@@ -25770,7 +25778,7 @@ class LanguageUnderstandingApi {
|
|
|
25770
25778
|
'/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
|
|
25771
25779
|
'GET',
|
|
25772
25780
|
{ 'minerId': minerId,'draftId': draftId },
|
|
25773
|
-
{
|
|
25781
|
+
{ 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
|
|
25774
25782
|
{ },
|
|
25775
25783
|
{ },
|
|
25776
25784
|
null,
|
|
@@ -25868,17 +25876,115 @@ class LanguageUnderstandingApi {
|
|
|
25868
25876
|
);
|
|
25869
25877
|
}
|
|
25870
25878
|
|
|
25879
|
+
/**
|
|
25880
|
+
* Retrieves details of a particular topic.
|
|
25881
|
+
*
|
|
25882
|
+
* @param {String} minerId Miner ID
|
|
25883
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
25884
|
+
* @param {Object} opts Optional parameters
|
|
25885
|
+
* @param {Object} opts.expand Option to fetch phrases
|
|
25886
|
+
*/
|
|
25887
|
+
getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
|
|
25888
|
+
opts = opts || {};
|
|
25889
|
+
|
|
25890
|
+
// verify the required parameter 'minerId' is set
|
|
25891
|
+
if (minerId === undefined || minerId === null) {
|
|
25892
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
|
|
25893
|
+
}
|
|
25894
|
+
// verify the required parameter 'topicId' is set
|
|
25895
|
+
if (topicId === undefined || topicId === null) {
|
|
25896
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
|
|
25897
|
+
}
|
|
25898
|
+
|
|
25899
|
+
return this.apiClient.callApi(
|
|
25900
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
|
|
25901
|
+
'GET',
|
|
25902
|
+
{ 'minerId': minerId,'topicId': topicId },
|
|
25903
|
+
{ 'expand': opts['expand'] },
|
|
25904
|
+
{ },
|
|
25905
|
+
{ },
|
|
25906
|
+
null,
|
|
25907
|
+
['PureCloud OAuth'],
|
|
25908
|
+
['application/json'],
|
|
25909
|
+
['application/json']
|
|
25910
|
+
);
|
|
25911
|
+
}
|
|
25912
|
+
|
|
25913
|
+
/**
|
|
25914
|
+
* Retrieves utterances related to a phrase in a topic.
|
|
25915
|
+
*
|
|
25916
|
+
* @param {String} minerId Miner ID
|
|
25917
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
25918
|
+
* @param {String} phraseId The ID of the phrase to be retrieved.
|
|
25919
|
+
*/
|
|
25920
|
+
getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
|
|
25921
|
+
// verify the required parameter 'minerId' is set
|
|
25922
|
+
if (minerId === undefined || minerId === null) {
|
|
25923
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25924
|
+
}
|
|
25925
|
+
// verify the required parameter 'topicId' is set
|
|
25926
|
+
if (topicId === undefined || topicId === null) {
|
|
25927
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25928
|
+
}
|
|
25929
|
+
// verify the required parameter 'phraseId' is set
|
|
25930
|
+
if (phraseId === undefined || phraseId === null) {
|
|
25931
|
+
throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25932
|
+
}
|
|
25933
|
+
|
|
25934
|
+
return this.apiClient.callApi(
|
|
25935
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
|
|
25936
|
+
'GET',
|
|
25937
|
+
{ 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
|
|
25938
|
+
{ },
|
|
25939
|
+
{ },
|
|
25940
|
+
{ },
|
|
25941
|
+
null,
|
|
25942
|
+
['PureCloud OAuth'],
|
|
25943
|
+
['application/json'],
|
|
25944
|
+
['application/json']
|
|
25945
|
+
);
|
|
25946
|
+
}
|
|
25947
|
+
|
|
25948
|
+
/**
|
|
25949
|
+
* Retrieve a list of mined topics.
|
|
25950
|
+
*
|
|
25951
|
+
* @param {String} minerId Miner ID
|
|
25952
|
+
*/
|
|
25953
|
+
getLanguageunderstandingMinerTopics(minerId) {
|
|
25954
|
+
// verify the required parameter 'minerId' is set
|
|
25955
|
+
if (minerId === undefined || minerId === null) {
|
|
25956
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
|
|
25957
|
+
}
|
|
25958
|
+
|
|
25959
|
+
return this.apiClient.callApi(
|
|
25960
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics',
|
|
25961
|
+
'GET',
|
|
25962
|
+
{ 'minerId': minerId },
|
|
25963
|
+
{ },
|
|
25964
|
+
{ },
|
|
25965
|
+
{ },
|
|
25966
|
+
null,
|
|
25967
|
+
['PureCloud OAuth'],
|
|
25968
|
+
['application/json'],
|
|
25969
|
+
['application/json']
|
|
25970
|
+
);
|
|
25971
|
+
}
|
|
25972
|
+
|
|
25871
25973
|
/**
|
|
25872
25974
|
* Retrieve the list of miners created.
|
|
25873
25975
|
*
|
|
25976
|
+
* @param {Object} opts Optional parameters
|
|
25977
|
+
* @param {String} opts.minerType Type of miner, either intent or topic
|
|
25874
25978
|
*/
|
|
25875
|
-
getLanguageunderstandingMiners() {
|
|
25979
|
+
getLanguageunderstandingMiners(opts) {
|
|
25980
|
+
opts = opts || {};
|
|
25981
|
+
|
|
25876
25982
|
|
|
25877
25983
|
return this.apiClient.callApi(
|
|
25878
25984
|
'/api/v2/languageunderstanding/miners',
|
|
25879
25985
|
'GET',
|
|
25880
25986
|
{ },
|
|
25881
|
-
{
|
|
25987
|
+
{ 'minerType': opts['minerType'] },
|
|
25882
25988
|
{ },
|
|
25883
25989
|
{ },
|
|
25884
25990
|
null,
|
|
@@ -26082,8 +26188,12 @@ class LanguageUnderstandingApi {
|
|
|
26082
26188
|
*
|
|
26083
26189
|
* @param {String} domainId ID of the NLU domain.
|
|
26084
26190
|
* @param {Object} body The NLU Domain Version to create.
|
|
26191
|
+
* @param {Object} opts Optional parameters
|
|
26192
|
+
* @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
|
|
26085
26193
|
*/
|
|
26086
|
-
postLanguageunderstandingDomainVersions(domainId, body) {
|
|
26194
|
+
postLanguageunderstandingDomainVersions(domainId, body, opts) {
|
|
26195
|
+
opts = opts || {};
|
|
26196
|
+
|
|
26087
26197
|
// verify the required parameter 'domainId' is set
|
|
26088
26198
|
if (domainId === undefined || domainId === null) {
|
|
26089
26199
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
|
|
@@ -26097,7 +26207,7 @@ class LanguageUnderstandingApi {
|
|
|
26097
26207
|
'/api/v2/languageunderstanding/domains/{domainId}/versions',
|
|
26098
26208
|
'POST',
|
|
26099
26209
|
{ 'domainId': domainId },
|
|
26100
|
-
{
|
|
26210
|
+
{ 'includeUtterances': opts['includeUtterances'] },
|
|
26101
26211
|
{ },
|
|
26102
26212
|
{ },
|
|
26103
26213
|
body,
|
|
@@ -26257,7 +26367,7 @@ class LanguagesApi {
|
|
|
26257
26367
|
/**
|
|
26258
26368
|
* Languages service.
|
|
26259
26369
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26260
|
-
* @version
|
|
26370
|
+
* @version 155.0.0
|
|
26261
26371
|
*/
|
|
26262
26372
|
|
|
26263
26373
|
/**
|
|
@@ -26525,7 +26635,7 @@ class LearningApi {
|
|
|
26525
26635
|
/**
|
|
26526
26636
|
* Learning service.
|
|
26527
26637
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26528
|
-
* @version
|
|
26638
|
+
* @version 155.0.0
|
|
26529
26639
|
*/
|
|
26530
26640
|
|
|
26531
26641
|
/**
|
|
@@ -26825,6 +26935,7 @@ class LearningApi {
|
|
|
26825
26935
|
* @param {String} opts.searchTerm Search Term (searchable by name)
|
|
26826
26936
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
26827
26937
|
* @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)
|
|
26938
|
+
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
26828
26939
|
*/
|
|
26829
26940
|
getLearningModules(opts) {
|
|
26830
26941
|
opts = opts || {};
|
|
@@ -26834,7 +26945,7 @@ class LearningApi {
|
|
|
26834
26945
|
'/api/v2/learning/modules',
|
|
26835
26946
|
'GET',
|
|
26836
26947
|
{ },
|
|
26837
|
-
{ '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'] },
|
|
26948
|
+
{ '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') },
|
|
26838
26949
|
{ },
|
|
26839
26950
|
{ },
|
|
26840
26951
|
null,
|
|
@@ -27285,7 +27396,7 @@ class LicenseApi {
|
|
|
27285
27396
|
/**
|
|
27286
27397
|
* License service.
|
|
27287
27398
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27288
|
-
* @version
|
|
27399
|
+
* @version 155.0.0
|
|
27289
27400
|
*/
|
|
27290
27401
|
|
|
27291
27402
|
/**
|
|
@@ -27523,7 +27634,7 @@ class LocationsApi {
|
|
|
27523
27634
|
/**
|
|
27524
27635
|
* Locations service.
|
|
27525
27636
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27526
|
-
* @version
|
|
27637
|
+
* @version 155.0.0
|
|
27527
27638
|
*/
|
|
27528
27639
|
|
|
27529
27640
|
/**
|
|
@@ -27759,7 +27870,7 @@ class MessagingApi {
|
|
|
27759
27870
|
/**
|
|
27760
27871
|
* Messaging service.
|
|
27761
27872
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27762
|
-
* @version
|
|
27873
|
+
* @version 155.0.0
|
|
27763
27874
|
*/
|
|
27764
27875
|
|
|
27765
27876
|
/**
|
|
@@ -27910,7 +28021,7 @@ class MobileDevicesApi {
|
|
|
27910
28021
|
/**
|
|
27911
28022
|
* MobileDevices service.
|
|
27912
28023
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27913
|
-
* @version
|
|
28024
|
+
* @version 155.0.0
|
|
27914
28025
|
*/
|
|
27915
28026
|
|
|
27916
28027
|
/**
|
|
@@ -28061,7 +28172,7 @@ class NotificationsApi {
|
|
|
28061
28172
|
/**
|
|
28062
28173
|
* Notifications service.
|
|
28063
28174
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
28064
|
-
* @version
|
|
28175
|
+
* @version 155.0.0
|
|
28065
28176
|
*/
|
|
28066
28177
|
|
|
28067
28178
|
/**
|
|
@@ -28286,7 +28397,7 @@ class OAuthApi {
|
|
|
28286
28397
|
/**
|
|
28287
28398
|
* OAuth service.
|
|
28288
28399
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28289
|
-
* @version
|
|
28400
|
+
* @version 155.0.0
|
|
28290
28401
|
*/
|
|
28291
28402
|
|
|
28292
28403
|
/**
|
|
@@ -28652,7 +28763,7 @@ class ObjectsApi {
|
|
|
28652
28763
|
/**
|
|
28653
28764
|
* Objects service.
|
|
28654
28765
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28655
|
-
* @version
|
|
28766
|
+
* @version 155.0.0
|
|
28656
28767
|
*/
|
|
28657
28768
|
|
|
28658
28769
|
/**
|
|
@@ -28923,7 +29034,7 @@ class OrganizationApi {
|
|
|
28923
29034
|
/**
|
|
28924
29035
|
* Organization service.
|
|
28925
29036
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28926
|
-
* @version
|
|
29037
|
+
* @version 155.0.0
|
|
28927
29038
|
*/
|
|
28928
29039
|
|
|
28929
29040
|
/**
|
|
@@ -29326,7 +29437,7 @@ class OrganizationAuthorizationApi {
|
|
|
29326
29437
|
/**
|
|
29327
29438
|
* OrganizationAuthorization service.
|
|
29328
29439
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29329
|
-
* @version
|
|
29440
|
+
* @version 155.0.0
|
|
29330
29441
|
*/
|
|
29331
29442
|
|
|
29332
29443
|
/**
|
|
@@ -30251,7 +30362,7 @@ class OutboundApi {
|
|
|
30251
30362
|
/**
|
|
30252
30363
|
* Outbound service.
|
|
30253
30364
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30254
|
-
* @version
|
|
30365
|
+
* @version 155.0.0
|
|
30255
30366
|
*/
|
|
30256
30367
|
|
|
30257
30368
|
/**
|
|
@@ -30601,6 +30712,64 @@ class OutboundApi {
|
|
|
30601
30712
|
);
|
|
30602
30713
|
}
|
|
30603
30714
|
|
|
30715
|
+
/**
|
|
30716
|
+
* Deletes all or expired email addresses from a DNC list.
|
|
30717
|
+
* This operation is Only for Internal DNC lists of email addresses
|
|
30718
|
+
* @param {String} dncListId DncList ID
|
|
30719
|
+
* @param {Object} opts Optional parameters
|
|
30720
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
30721
|
+
*/
|
|
30722
|
+
deleteOutboundDnclistEmailaddresses(dncListId, opts) {
|
|
30723
|
+
opts = opts || {};
|
|
30724
|
+
|
|
30725
|
+
// verify the required parameter 'dncListId' is set
|
|
30726
|
+
if (dncListId === undefined || dncListId === null) {
|
|
30727
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';
|
|
30728
|
+
}
|
|
30729
|
+
|
|
30730
|
+
return this.apiClient.callApi(
|
|
30731
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
30732
|
+
'DELETE',
|
|
30733
|
+
{ 'dncListId': dncListId },
|
|
30734
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
30735
|
+
{ },
|
|
30736
|
+
{ },
|
|
30737
|
+
null,
|
|
30738
|
+
['PureCloud OAuth'],
|
|
30739
|
+
['application/json'],
|
|
30740
|
+
['application/json']
|
|
30741
|
+
);
|
|
30742
|
+
}
|
|
30743
|
+
|
|
30744
|
+
/**
|
|
30745
|
+
* Deletes all or expired phone numbers from a DNC list.
|
|
30746
|
+
* This operation is Only for Internal DNC lists of phone numbers
|
|
30747
|
+
* @param {String} dncListId DncList ID
|
|
30748
|
+
* @param {Object} opts Optional parameters
|
|
30749
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
30750
|
+
*/
|
|
30751
|
+
deleteOutboundDnclistPhonenumbers(dncListId, opts) {
|
|
30752
|
+
opts = opts || {};
|
|
30753
|
+
|
|
30754
|
+
// verify the required parameter 'dncListId' is set
|
|
30755
|
+
if (dncListId === undefined || dncListId === null) {
|
|
30756
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';
|
|
30757
|
+
}
|
|
30758
|
+
|
|
30759
|
+
return this.apiClient.callApi(
|
|
30760
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
30761
|
+
'DELETE',
|
|
30762
|
+
{ 'dncListId': dncListId },
|
|
30763
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
30764
|
+
{ },
|
|
30765
|
+
{ },
|
|
30766
|
+
null,
|
|
30767
|
+
['PureCloud OAuth'],
|
|
30768
|
+
['application/json'],
|
|
30769
|
+
['application/json']
|
|
30770
|
+
);
|
|
30771
|
+
}
|
|
30772
|
+
|
|
30604
30773
|
/**
|
|
30605
30774
|
* Delete an Outbound Messaging Campaign
|
|
30606
30775
|
*
|
|
@@ -32371,6 +32540,66 @@ class OutboundApi {
|
|
|
32371
32540
|
);
|
|
32372
32541
|
}
|
|
32373
32542
|
|
|
32543
|
+
/**
|
|
32544
|
+
* Add emails to or Delete emails from a DNC list.
|
|
32545
|
+
* Only Internal DNC lists may be added to or deleted from
|
|
32546
|
+
* @param {String} dncListId DncList ID
|
|
32547
|
+
* @param {Object} body DNC Emails
|
|
32548
|
+
*/
|
|
32549
|
+
patchOutboundDnclistEmailaddresses(dncListId, body) {
|
|
32550
|
+
// verify the required parameter 'dncListId' is set
|
|
32551
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32552
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';
|
|
32553
|
+
}
|
|
32554
|
+
// verify the required parameter 'body' is set
|
|
32555
|
+
if (body === undefined || body === null) {
|
|
32556
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';
|
|
32557
|
+
}
|
|
32558
|
+
|
|
32559
|
+
return this.apiClient.callApi(
|
|
32560
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
32561
|
+
'PATCH',
|
|
32562
|
+
{ 'dncListId': dncListId },
|
|
32563
|
+
{ },
|
|
32564
|
+
{ },
|
|
32565
|
+
{ },
|
|
32566
|
+
body,
|
|
32567
|
+
['PureCloud OAuth'],
|
|
32568
|
+
['application/json'],
|
|
32569
|
+
['application/json']
|
|
32570
|
+
);
|
|
32571
|
+
}
|
|
32572
|
+
|
|
32573
|
+
/**
|
|
32574
|
+
* Add numbers to or delete numbers from a DNC list.
|
|
32575
|
+
* Only Internal DNC lists may be added to deleted from
|
|
32576
|
+
* @param {String} dncListId DncList ID
|
|
32577
|
+
* @param {Object} body DNC Phone Numbers
|
|
32578
|
+
*/
|
|
32579
|
+
patchOutboundDnclistPhonenumbers(dncListId, body) {
|
|
32580
|
+
// verify the required parameter 'dncListId' is set
|
|
32581
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32582
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';
|
|
32583
|
+
}
|
|
32584
|
+
// verify the required parameter 'body' is set
|
|
32585
|
+
if (body === undefined || body === null) {
|
|
32586
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';
|
|
32587
|
+
}
|
|
32588
|
+
|
|
32589
|
+
return this.apiClient.callApi(
|
|
32590
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
32591
|
+
'PATCH',
|
|
32592
|
+
{ 'dncListId': dncListId },
|
|
32593
|
+
{ },
|
|
32594
|
+
{ },
|
|
32595
|
+
{ },
|
|
32596
|
+
body,
|
|
32597
|
+
['PureCloud OAuth'],
|
|
32598
|
+
['application/json'],
|
|
32599
|
+
['application/json']
|
|
32600
|
+
);
|
|
32601
|
+
}
|
|
32602
|
+
|
|
32374
32603
|
/**
|
|
32375
32604
|
* Update the outbound settings for this organization
|
|
32376
32605
|
*
|
|
@@ -32875,6 +33104,36 @@ class OutboundApi {
|
|
|
32875
33104
|
);
|
|
32876
33105
|
}
|
|
32877
33106
|
|
|
33107
|
+
/**
|
|
33108
|
+
* Add email addresses to a DNC list.
|
|
33109
|
+
* Only Internal DNC lists may be appended to
|
|
33110
|
+
* @param {String} dncListId DncList ID
|
|
33111
|
+
* @param {Array.<String>} body DNC email addresses
|
|
33112
|
+
*/
|
|
33113
|
+
postOutboundDnclistEmailaddresses(dncListId, body) {
|
|
33114
|
+
// verify the required parameter 'dncListId' is set
|
|
33115
|
+
if (dncListId === undefined || dncListId === null) {
|
|
33116
|
+
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';
|
|
33117
|
+
}
|
|
33118
|
+
// verify the required parameter 'body' is set
|
|
33119
|
+
if (body === undefined || body === null) {
|
|
33120
|
+
throw 'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';
|
|
33121
|
+
}
|
|
33122
|
+
|
|
33123
|
+
return this.apiClient.callApi(
|
|
33124
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
33125
|
+
'POST',
|
|
33126
|
+
{ 'dncListId': dncListId },
|
|
33127
|
+
{ },
|
|
33128
|
+
{ },
|
|
33129
|
+
{ },
|
|
33130
|
+
body,
|
|
33131
|
+
['PureCloud OAuth'],
|
|
33132
|
+
['application/json'],
|
|
33133
|
+
['application/json']
|
|
33134
|
+
);
|
|
33135
|
+
}
|
|
33136
|
+
|
|
32878
33137
|
/**
|
|
32879
33138
|
* Initiate the export of a dnc list.
|
|
32880
33139
|
* Returns 200 if received OK.
|
|
@@ -33640,7 +33899,7 @@ class PresenceApi {
|
|
|
33640
33899
|
/**
|
|
33641
33900
|
* Presence service.
|
|
33642
33901
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33643
|
-
* @version
|
|
33902
|
+
* @version 155.0.0
|
|
33644
33903
|
*/
|
|
33645
33904
|
|
|
33646
33905
|
/**
|
|
@@ -33857,7 +34116,7 @@ class PresenceApi {
|
|
|
33857
34116
|
|
|
33858
34117
|
/**
|
|
33859
34118
|
* Get a user's Presence
|
|
33860
|
-
* Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources.
|
|
34119
|
+
* 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.
|
|
33861
34120
|
* @param {String} userId user Id
|
|
33862
34121
|
* @param {String} sourceId Presence source ID
|
|
33863
34122
|
*/
|
|
@@ -33912,7 +34171,7 @@ class PresenceApi {
|
|
|
33912
34171
|
|
|
33913
34172
|
/**
|
|
33914
34173
|
* Patch a user's Presence
|
|
33915
|
-
* 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.
|
|
34174
|
+
* 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.
|
|
33916
34175
|
* @param {String} userId user Id
|
|
33917
34176
|
* @param {String} sourceId Presence source ID
|
|
33918
34177
|
* @param {Object} body User presence
|
|
@@ -34146,7 +34405,7 @@ class ProcessAutomationApi {
|
|
|
34146
34405
|
/**
|
|
34147
34406
|
* ProcessAutomation service.
|
|
34148
34407
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34149
|
-
* @version
|
|
34408
|
+
* @version 155.0.0
|
|
34150
34409
|
*/
|
|
34151
34410
|
|
|
34152
34411
|
/**
|
|
@@ -34384,7 +34643,7 @@ class QualityApi {
|
|
|
34384
34643
|
/**
|
|
34385
34644
|
* Quality service.
|
|
34386
34645
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
34387
|
-
* @version
|
|
34646
|
+
* @version 155.0.0
|
|
34388
34647
|
*/
|
|
34389
34648
|
|
|
34390
34649
|
/**
|
|
@@ -35962,7 +36221,7 @@ class RecordingApi {
|
|
|
35962
36221
|
/**
|
|
35963
36222
|
* Recording service.
|
|
35964
36223
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
35965
|
-
* @version
|
|
36224
|
+
* @version 155.0.0
|
|
35966
36225
|
*/
|
|
35967
36226
|
|
|
35968
36227
|
/**
|
|
@@ -36664,7 +36923,7 @@ class RecordingApi {
|
|
|
36664
36923
|
}
|
|
36665
36924
|
|
|
36666
36925
|
/**
|
|
36667
|
-
* Get the local encryption settings
|
|
36926
|
+
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
36668
36927
|
*
|
|
36669
36928
|
* @param {String} settingsId Settings Id
|
|
36670
36929
|
*/
|
|
@@ -36689,7 +36948,7 @@ class RecordingApi {
|
|
|
36689
36948
|
}
|
|
36690
36949
|
|
|
36691
36950
|
/**
|
|
36692
|
-
* gets a list local key settings data
|
|
36951
|
+
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
36693
36952
|
*
|
|
36694
36953
|
*/
|
|
36695
36954
|
getRecordingLocalkeysSettings() {
|
|
@@ -37141,7 +37400,7 @@ class RecordingApi {
|
|
|
37141
37400
|
}
|
|
37142
37401
|
|
|
37143
37402
|
/**
|
|
37144
|
-
* create a local recording key
|
|
37403
|
+
* create a local key management recording key
|
|
37145
37404
|
*
|
|
37146
37405
|
* @param {Object} body Local Encryption body
|
|
37147
37406
|
*/
|
|
@@ -37166,7 +37425,7 @@ class RecordingApi {
|
|
|
37166
37425
|
}
|
|
37167
37426
|
|
|
37168
37427
|
/**
|
|
37169
|
-
* create settings for local key creation
|
|
37428
|
+
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
37170
37429
|
*
|
|
37171
37430
|
* @param {Object} body Local Encryption Configuration
|
|
37172
37431
|
*/
|
|
@@ -37509,7 +37768,7 @@ class RecordingApi {
|
|
|
37509
37768
|
}
|
|
37510
37769
|
|
|
37511
37770
|
/**
|
|
37512
|
-
* Update the local encryption settings
|
|
37771
|
+
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
37513
37772
|
*
|
|
37514
37773
|
* @param {String} settingsId Settings Id
|
|
37515
37774
|
* @param {Object} body Local Encryption metadata
|
|
@@ -37649,7 +37908,7 @@ class ResponseManagementApi {
|
|
|
37649
37908
|
/**
|
|
37650
37909
|
* ResponseManagement service.
|
|
37651
37910
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
37652
|
-
* @version
|
|
37911
|
+
* @version 155.0.0
|
|
37653
37912
|
*/
|
|
37654
37913
|
|
|
37655
37914
|
/**
|
|
@@ -38133,7 +38392,7 @@ class RoutingApi {
|
|
|
38133
38392
|
/**
|
|
38134
38393
|
* Routing service.
|
|
38135
38394
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38136
|
-
* @version
|
|
38395
|
+
* @version 155.0.0
|
|
38137
38396
|
*/
|
|
38138
38397
|
|
|
38139
38398
|
/**
|
|
@@ -41548,7 +41807,7 @@ class SCIMApi {
|
|
|
41548
41807
|
/**
|
|
41549
41808
|
* SCIM service.
|
|
41550
41809
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
41551
|
-
* @version
|
|
41810
|
+
* @version 155.0.0
|
|
41552
41811
|
*/
|
|
41553
41812
|
|
|
41554
41813
|
/**
|
|
@@ -42425,7 +42684,7 @@ class ScriptsApi {
|
|
|
42425
42684
|
/**
|
|
42426
42685
|
* Scripts service.
|
|
42427
42686
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42428
|
-
* @version
|
|
42687
|
+
* @version 155.0.0
|
|
42429
42688
|
*/
|
|
42430
42689
|
|
|
42431
42690
|
/**
|
|
@@ -42844,7 +43103,7 @@ class SearchApi {
|
|
|
42844
43103
|
/**
|
|
42845
43104
|
* Search service.
|
|
42846
43105
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
42847
|
-
* @version
|
|
43106
|
+
* @version 155.0.0
|
|
42848
43107
|
*/
|
|
42849
43108
|
|
|
42850
43109
|
/**
|
|
@@ -43429,7 +43688,7 @@ class SpeechTextAnalyticsApi {
|
|
|
43429
43688
|
/**
|
|
43430
43689
|
* SpeechTextAnalytics service.
|
|
43431
43690
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43432
|
-
* @version
|
|
43691
|
+
* @version 155.0.0
|
|
43433
43692
|
*/
|
|
43434
43693
|
|
|
43435
43694
|
/**
|
|
@@ -44283,7 +44542,7 @@ class StationsApi {
|
|
|
44283
44542
|
/**
|
|
44284
44543
|
* Stations service.
|
|
44285
44544
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
44286
|
-
* @version
|
|
44545
|
+
* @version 155.0.0
|
|
44287
44546
|
*/
|
|
44288
44547
|
|
|
44289
44548
|
/**
|
|
@@ -44430,7 +44689,7 @@ class SuggestApi {
|
|
|
44430
44689
|
/**
|
|
44431
44690
|
* Suggest service.
|
|
44432
44691
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44433
|
-
* @version
|
|
44692
|
+
* @version 155.0.0
|
|
44434
44693
|
*/
|
|
44435
44694
|
|
|
44436
44695
|
/**
|
|
@@ -44569,7 +44828,7 @@ class TeamsApi {
|
|
|
44569
44828
|
/**
|
|
44570
44829
|
* Teams service.
|
|
44571
44830
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
44572
|
-
* @version
|
|
44831
|
+
* @version 155.0.0
|
|
44573
44832
|
*/
|
|
44574
44833
|
|
|
44575
44834
|
/**
|
|
@@ -44840,7 +45099,7 @@ class TelephonyApi {
|
|
|
44840
45099
|
/**
|
|
44841
45100
|
* Telephony service.
|
|
44842
45101
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
44843
|
-
* @version
|
|
45102
|
+
* @version 155.0.0
|
|
44844
45103
|
*/
|
|
44845
45104
|
|
|
44846
45105
|
/**
|
|
@@ -44855,6 +45114,26 @@ class TelephonyApi {
|
|
|
44855
45114
|
}
|
|
44856
45115
|
|
|
44857
45116
|
|
|
45117
|
+
/**
|
|
45118
|
+
* Retrieve the list of AWS regions media can stream through.
|
|
45119
|
+
*
|
|
45120
|
+
*/
|
|
45121
|
+
getTelephonyMediaregions() {
|
|
45122
|
+
|
|
45123
|
+
return this.apiClient.callApi(
|
|
45124
|
+
'/api/v2/telephony/mediaregions',
|
|
45125
|
+
'GET',
|
|
45126
|
+
{ },
|
|
45127
|
+
{ },
|
|
45128
|
+
{ },
|
|
45129
|
+
{ },
|
|
45130
|
+
null,
|
|
45131
|
+
['PureCloud OAuth'],
|
|
45132
|
+
['application/json'],
|
|
45133
|
+
['application/json']
|
|
45134
|
+
);
|
|
45135
|
+
}
|
|
45136
|
+
|
|
44858
45137
|
/**
|
|
44859
45138
|
* Fetch SIP metadata
|
|
44860
45139
|
* 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
|
|
@@ -44948,7 +45227,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
44948
45227
|
/**
|
|
44949
45228
|
* TelephonyProvidersEdge service.
|
|
44950
45229
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
44951
|
-
* @version
|
|
45230
|
+
* @version 155.0.0
|
|
44952
45231
|
*/
|
|
44953
45232
|
|
|
44954
45233
|
/**
|
|
@@ -48581,7 +48860,7 @@ class TextbotsApi {
|
|
|
48581
48860
|
/**
|
|
48582
48861
|
* Textbots service.
|
|
48583
48862
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
48584
|
-
* @version
|
|
48863
|
+
* @version 155.0.0
|
|
48585
48864
|
*/
|
|
48586
48865
|
|
|
48587
48866
|
/**
|
|
@@ -48709,7 +48988,7 @@ class TokensApi {
|
|
|
48709
48988
|
/**
|
|
48710
48989
|
* Tokens service.
|
|
48711
48990
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
48712
|
-
* @version
|
|
48991
|
+
* @version 155.0.0
|
|
48713
48992
|
*/
|
|
48714
48993
|
|
|
48715
48994
|
/**
|
|
@@ -48815,7 +49094,7 @@ class UploadsApi {
|
|
|
48815
49094
|
/**
|
|
48816
49095
|
* Uploads service.
|
|
48817
49096
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
48818
|
-
* @version
|
|
49097
|
+
* @version 155.0.0
|
|
48819
49098
|
*/
|
|
48820
49099
|
|
|
48821
49100
|
/**
|
|
@@ -48991,7 +49270,7 @@ class UsageApi {
|
|
|
48991
49270
|
/**
|
|
48992
49271
|
* Usage service.
|
|
48993
49272
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
48994
|
-
* @version
|
|
49273
|
+
* @version 155.0.0
|
|
48995
49274
|
*/
|
|
48996
49275
|
|
|
48997
49276
|
/**
|
|
@@ -49062,7 +49341,7 @@ class UserRecordingsApi {
|
|
|
49062
49341
|
/**
|
|
49063
49342
|
* UserRecordings service.
|
|
49064
49343
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49065
|
-
* @version
|
|
49344
|
+
* @version 155.0.0
|
|
49066
49345
|
*/
|
|
49067
49346
|
|
|
49068
49347
|
/**
|
|
@@ -49247,7 +49526,7 @@ class UsersApi {
|
|
|
49247
49526
|
/**
|
|
49248
49527
|
* Users service.
|
|
49249
49528
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
49250
|
-
* @version
|
|
49529
|
+
* @version 155.0.0
|
|
49251
49530
|
*/
|
|
49252
49531
|
|
|
49253
49532
|
/**
|
|
@@ -51604,7 +51883,7 @@ class UtilitiesApi {
|
|
|
51604
51883
|
/**
|
|
51605
51884
|
* Utilities service.
|
|
51606
51885
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
51607
|
-
* @version
|
|
51886
|
+
* @version 155.0.0
|
|
51608
51887
|
*/
|
|
51609
51888
|
|
|
51610
51889
|
/**
|
|
@@ -51715,7 +51994,7 @@ class VoicemailApi {
|
|
|
51715
51994
|
/**
|
|
51716
51995
|
* Voicemail service.
|
|
51717
51996
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
51718
|
-
* @version
|
|
51997
|
+
* @version 155.0.0
|
|
51719
51998
|
*/
|
|
51720
51999
|
|
|
51721
52000
|
/**
|
|
@@ -52382,7 +52661,7 @@ class WebChatApi {
|
|
|
52382
52661
|
/**
|
|
52383
52662
|
* WebChat service.
|
|
52384
52663
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
52385
|
-
* @version
|
|
52664
|
+
* @version 155.0.0
|
|
52386
52665
|
*/
|
|
52387
52666
|
|
|
52388
52667
|
/**
|
|
@@ -52926,7 +53205,7 @@ class WebDeploymentsApi {
|
|
|
52926
53205
|
/**
|
|
52927
53206
|
* WebDeployments service.
|
|
52928
53207
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
52929
|
-
* @version
|
|
53208
|
+
* @version 155.0.0
|
|
52930
53209
|
*/
|
|
52931
53210
|
|
|
52932
53211
|
/**
|
|
@@ -53314,7 +53593,7 @@ class WebMessagingApi {
|
|
|
53314
53593
|
/**
|
|
53315
53594
|
* WebMessaging service.
|
|
53316
53595
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
53317
|
-
* @version
|
|
53596
|
+
* @version 155.0.0
|
|
53318
53597
|
*/
|
|
53319
53598
|
|
|
53320
53599
|
/**
|
|
@@ -53360,7 +53639,7 @@ class WidgetsApi {
|
|
|
53360
53639
|
/**
|
|
53361
53640
|
* Widgets service.
|
|
53362
53641
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
53363
|
-
* @version
|
|
53642
|
+
* @version 155.0.0
|
|
53364
53643
|
*/
|
|
53365
53644
|
|
|
53366
53645
|
/**
|
|
@@ -53506,7 +53785,7 @@ class WorkforceManagementApi {
|
|
|
53506
53785
|
/**
|
|
53507
53786
|
* WorkforceManagement service.
|
|
53508
53787
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53509
|
-
* @version
|
|
53788
|
+
* @version 155.0.0
|
|
53510
53789
|
*/
|
|
53511
53790
|
|
|
53512
53791
|
/**
|
|
@@ -58176,7 +58455,7 @@ class WorkforceManagementApi {
|
|
|
58176
58455
|
* </pre>
|
|
58177
58456
|
* </p>
|
|
58178
58457
|
* @module purecloud-platform-client-v2/index
|
|
58179
|
-
* @version
|
|
58458
|
+
* @version 155.0.0
|
|
58180
58459
|
*/
|
|
58181
58460
|
class platformClient {
|
|
58182
58461
|
constructor() {
|