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
|
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* @module purecloud-platform-client-v2/ApiClient
|
|
402
|
-
* @version
|
|
402
|
+
* @version 155.0.0
|
|
403
403
|
*/
|
|
404
404
|
class ApiClient {
|
|
405
405
|
/**
|
|
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Alerting service.
|
|
1480
1480
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1481
|
-
* @version
|
|
1481
|
+
* @version 155.0.0
|
|
1482
1482
|
*/
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Analytics service.
|
|
1794
1794
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1795
|
-
* @version
|
|
1795
|
+
* @version 155.0.0
|
|
1796
1796
|
*/
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
@@ -1892,6 +1892,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1892
1892
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
1893
1893
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
1894
1894
|
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
1895
|
+
* @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
|
|
1895
1896
|
*/
|
|
1896
1897
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
1897
1898
|
opts = opts || {};
|
|
@@ -1905,7 +1906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1905
1906
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
1906
1907
|
'GET',
|
|
1907
1908
|
{ 'botFlowId': botFlowId },
|
|
1908
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
1909
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'],'askActionResults': opts['askActionResults'] },
|
|
1909
1910
|
{ },
|
|
1910
1911
|
{ },
|
|
1911
1912
|
null,
|
|
@@ -3045,7 +3046,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3045
3046
|
/**
|
|
3046
3047
|
* Architect service.
|
|
3047
3048
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3048
|
-
* @version
|
|
3049
|
+
* @version 155.0.0
|
|
3049
3050
|
*/
|
|
3050
3051
|
|
|
3051
3052
|
/**
|
|
@@ -3804,6 +3805,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3804
3805
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
3805
3806
|
* @param {String} opts.name Name of the IVR to filter by.
|
|
3806
3807
|
* @param {String} opts.dnis The phone number of the IVR to filter by.
|
|
3808
|
+
* @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
|
|
3807
3809
|
*/
|
|
3808
3810
|
getArchitectIvrs(opts) {
|
|
3809
3811
|
opts = opts || {};
|
|
@@ -3813,7 +3815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3813
3815
|
'/api/v2/architect/ivrs',
|
|
3814
3816
|
'GET',
|
|
3815
3817
|
{ },
|
|
3816
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'] },
|
|
3818
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
|
|
3817
3819
|
{ },
|
|
3818
3820
|
{ },
|
|
3819
3821
|
null,
|
|
@@ -6092,7 +6094,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6092
6094
|
/**
|
|
6093
6095
|
* Audit service.
|
|
6094
6096
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6095
|
-
* @version
|
|
6097
|
+
* @version 155.0.0
|
|
6096
6098
|
*/
|
|
6097
6099
|
|
|
6098
6100
|
/**
|
|
@@ -6263,7 +6265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6263
6265
|
/**
|
|
6264
6266
|
* Authorization service.
|
|
6265
6267
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6266
|
-
* @version
|
|
6268
|
+
* @version 155.0.0
|
|
6267
6269
|
*/
|
|
6268
6270
|
|
|
6269
6271
|
/**
|
|
@@ -7491,7 +7493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7491
7493
|
/**
|
|
7492
7494
|
* Billing service.
|
|
7493
7495
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7494
|
-
* @version
|
|
7496
|
+
* @version 155.0.0
|
|
7495
7497
|
*/
|
|
7496
7498
|
|
|
7497
7499
|
/**
|
|
@@ -7571,7 +7573,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7571
7573
|
/**
|
|
7572
7574
|
* Chat service.
|
|
7573
7575
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7574
|
-
* @version
|
|
7576
|
+
* @version 155.0.0
|
|
7575
7577
|
*/
|
|
7576
7578
|
|
|
7577
7579
|
/**
|
|
@@ -7662,7 +7664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7662
7664
|
/**
|
|
7663
7665
|
* Coaching service.
|
|
7664
7666
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7665
|
-
* @version
|
|
7667
|
+
* @version 155.0.0
|
|
7666
7668
|
*/
|
|
7667
7669
|
|
|
7668
7670
|
/**
|
|
@@ -8239,7 +8241,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8239
8241
|
/**
|
|
8240
8242
|
* ContentManagement service.
|
|
8241
8243
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8242
|
-
* @version
|
|
8244
|
+
* @version 155.0.0
|
|
8243
8245
|
*/
|
|
8244
8246
|
|
|
8245
8247
|
/**
|
|
@@ -9379,7 +9381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9379
9381
|
/**
|
|
9380
9382
|
* Conversations service.
|
|
9381
9383
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9382
|
-
* @version
|
|
9384
|
+
* @version 155.0.0
|
|
9383
9385
|
*/
|
|
9384
9386
|
|
|
9385
9387
|
/**
|
|
@@ -14602,7 +14604,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14602
14604
|
/**
|
|
14603
14605
|
* DataExtensions service.
|
|
14604
14606
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14605
|
-
* @version
|
|
14607
|
+
* @version 155.0.0
|
|
14606
14608
|
*/
|
|
14607
14609
|
|
|
14608
14610
|
/**
|
|
@@ -14688,7 +14690,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14688
14690
|
/**
|
|
14689
14691
|
* Downloads service.
|
|
14690
14692
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14691
|
-
* @version
|
|
14693
|
+
* @version 155.0.0
|
|
14692
14694
|
*/
|
|
14693
14695
|
|
|
14694
14696
|
/**
|
|
@@ -14740,7 +14742,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14740
14742
|
/**
|
|
14741
14743
|
* Events service.
|
|
14742
14744
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14743
|
-
* @version
|
|
14745
|
+
* @version 155.0.0
|
|
14744
14746
|
*/
|
|
14745
14747
|
|
|
14746
14748
|
/**
|
|
@@ -14836,7 +14838,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14836
14838
|
/**
|
|
14837
14839
|
* ExternalContacts service.
|
|
14838
14840
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14839
|
-
* @version
|
|
14841
|
+
* @version 155.0.0
|
|
14840
14842
|
*/
|
|
14841
14843
|
|
|
14842
14844
|
/**
|
|
@@ -16794,7 +16796,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16794
16796
|
/**
|
|
16795
16797
|
* Fax service.
|
|
16796
16798
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16797
|
-
* @version
|
|
16799
|
+
* @version 155.0.0
|
|
16798
16800
|
*/
|
|
16799
16801
|
|
|
16800
16802
|
/**
|
|
@@ -16965,7 +16967,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16965
16967
|
/**
|
|
16966
16968
|
* Flows service.
|
|
16967
16969
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16968
|
-
* @version
|
|
16970
|
+
* @version 155.0.0
|
|
16969
16971
|
*/
|
|
16970
16972
|
|
|
16971
16973
|
/**
|
|
@@ -17036,7 +17038,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17036
17038
|
/**
|
|
17037
17039
|
* Gamification service.
|
|
17038
17040
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17039
|
-
* @version
|
|
17041
|
+
* @version 155.0.0
|
|
17040
17042
|
*/
|
|
17041
17043
|
|
|
17042
17044
|
/**
|
|
@@ -18653,7 +18655,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18653
18655
|
/**
|
|
18654
18656
|
* GeneralDataProtectionRegulation service.
|
|
18655
18657
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18656
|
-
* @version
|
|
18658
|
+
* @version 155.0.0
|
|
18657
18659
|
*/
|
|
18658
18660
|
|
|
18659
18661
|
/**
|
|
@@ -18783,7 +18785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18783
18785
|
/**
|
|
18784
18786
|
* Geolocation service.
|
|
18785
18787
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18786
|
-
* @version
|
|
18788
|
+
* @version 155.0.0
|
|
18787
18789
|
*/
|
|
18788
18790
|
|
|
18789
18791
|
/**
|
|
@@ -18914,7 +18916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18914
18916
|
/**
|
|
18915
18917
|
* Greetings service.
|
|
18916
18918
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18917
|
-
* @version
|
|
18919
|
+
* @version 155.0.0
|
|
18918
18920
|
*/
|
|
18919
18921
|
|
|
18920
18922
|
/**
|
|
@@ -19369,7 +19371,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19369
19371
|
/**
|
|
19370
19372
|
* Groups service.
|
|
19371
19373
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19372
|
-
* @version
|
|
19374
|
+
* @version 155.0.0
|
|
19373
19375
|
*/
|
|
19374
19376
|
|
|
19375
19377
|
/**
|
|
@@ -19775,7 +19777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19775
19777
|
/**
|
|
19776
19778
|
* IdentityProvider service.
|
|
19777
19779
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19778
|
-
* @version
|
|
19780
|
+
* @version 155.0.0
|
|
19779
19781
|
*/
|
|
19780
19782
|
|
|
19781
19783
|
/**
|
|
@@ -20531,7 +20533,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20531
20533
|
/**
|
|
20532
20534
|
* Integrations service.
|
|
20533
20535
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20534
|
-
* @version
|
|
20536
|
+
* @version 155.0.0
|
|
20535
20537
|
*/
|
|
20536
20538
|
|
|
20537
20539
|
/**
|
|
@@ -22131,7 +22133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22131
22133
|
/**
|
|
22132
22134
|
* Journey service.
|
|
22133
22135
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22134
|
-
* @version
|
|
22136
|
+
* @version 155.0.0
|
|
22135
22137
|
*/
|
|
22136
22138
|
|
|
22137
22139
|
/**
|
|
@@ -22917,7 +22919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22917
22919
|
/**
|
|
22918
22920
|
* Knowledge service.
|
|
22919
22921
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22920
|
-
* @version
|
|
22922
|
+
* @version 155.0.0
|
|
22921
22923
|
*/
|
|
22922
22924
|
|
|
22923
22925
|
/**
|
|
@@ -25350,7 +25352,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25350
25352
|
/**
|
|
25351
25353
|
* LanguageUnderstanding service.
|
|
25352
25354
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25353
|
-
* @version
|
|
25355
|
+
* @version 155.0.0
|
|
25354
25356
|
*/
|
|
25355
25357
|
|
|
25356
25358
|
/**
|
|
@@ -25540,6 +25542,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25540
25542
|
* @param {String} opts.dateStart Begin of time window as ISO-8601 date.
|
|
25541
25543
|
* @param {String} opts.dateEnd End of time window as ISO-8601 date.
|
|
25542
25544
|
* @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
|
|
25545
|
+
* @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
|
|
25543
25546
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25544
25547
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25545
25548
|
* @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
|
|
@@ -25558,7 +25561,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25558
25561
|
'/api/v2/languageunderstanding/domains/{domainId}/feedback',
|
|
25559
25562
|
'GET',
|
|
25560
25563
|
{ 'domainId': domainId },
|
|
25561
|
-
{ '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') },
|
|
25564
|
+
{ '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') },
|
|
25562
25565
|
{ },
|
|
25563
25566
|
{ },
|
|
25564
25567
|
null,
|
|
@@ -25752,8 +25755,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25752
25755
|
*
|
|
25753
25756
|
* @param {String} minerId Miner ID
|
|
25754
25757
|
* @param {String} draftId Draft ID
|
|
25758
|
+
* @param {Object} opts Optional parameters
|
|
25759
|
+
* @param {String} opts.draftIntentId Parameter to filter a specific intent.
|
|
25760
|
+
* @param {String} opts.draftTopicId Parameter to filter a specific topic.
|
|
25755
25761
|
*/
|
|
25756
|
-
getLanguageunderstandingMinerDraft(minerId, draftId) {
|
|
25762
|
+
getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
|
|
25763
|
+
opts = opts || {};
|
|
25764
|
+
|
|
25757
25765
|
// verify the required parameter 'minerId' is set
|
|
25758
25766
|
if (minerId === undefined || minerId === null) {
|
|
25759
25767
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
|
|
@@ -25767,7 +25775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25767
25775
|
'/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
|
|
25768
25776
|
'GET',
|
|
25769
25777
|
{ 'minerId': minerId,'draftId': draftId },
|
|
25770
|
-
{
|
|
25778
|
+
{ 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
|
|
25771
25779
|
{ },
|
|
25772
25780
|
{ },
|
|
25773
25781
|
null,
|
|
@@ -25865,17 +25873,115 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25865
25873
|
);
|
|
25866
25874
|
}
|
|
25867
25875
|
|
|
25876
|
+
/**
|
|
25877
|
+
* Retrieves details of a particular topic.
|
|
25878
|
+
*
|
|
25879
|
+
* @param {String} minerId Miner ID
|
|
25880
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
25881
|
+
* @param {Object} opts Optional parameters
|
|
25882
|
+
* @param {Object} opts.expand Option to fetch phrases
|
|
25883
|
+
*/
|
|
25884
|
+
getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
|
|
25885
|
+
opts = opts || {};
|
|
25886
|
+
|
|
25887
|
+
// verify the required parameter 'minerId' is set
|
|
25888
|
+
if (minerId === undefined || minerId === null) {
|
|
25889
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
|
|
25890
|
+
}
|
|
25891
|
+
// verify the required parameter 'topicId' is set
|
|
25892
|
+
if (topicId === undefined || topicId === null) {
|
|
25893
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
|
|
25894
|
+
}
|
|
25895
|
+
|
|
25896
|
+
return this.apiClient.callApi(
|
|
25897
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
|
|
25898
|
+
'GET',
|
|
25899
|
+
{ 'minerId': minerId,'topicId': topicId },
|
|
25900
|
+
{ 'expand': opts['expand'] },
|
|
25901
|
+
{ },
|
|
25902
|
+
{ },
|
|
25903
|
+
null,
|
|
25904
|
+
['PureCloud OAuth'],
|
|
25905
|
+
['application/json'],
|
|
25906
|
+
['application/json']
|
|
25907
|
+
);
|
|
25908
|
+
}
|
|
25909
|
+
|
|
25910
|
+
/**
|
|
25911
|
+
* Retrieves utterances related to a phrase in a topic.
|
|
25912
|
+
*
|
|
25913
|
+
* @param {String} minerId Miner ID
|
|
25914
|
+
* @param {String} topicId The ID of the topic to be retrieved.
|
|
25915
|
+
* @param {String} phraseId The ID of the phrase to be retrieved.
|
|
25916
|
+
*/
|
|
25917
|
+
getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
|
|
25918
|
+
// verify the required parameter 'minerId' is set
|
|
25919
|
+
if (minerId === undefined || minerId === null) {
|
|
25920
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25921
|
+
}
|
|
25922
|
+
// verify the required parameter 'topicId' is set
|
|
25923
|
+
if (topicId === undefined || topicId === null) {
|
|
25924
|
+
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25925
|
+
}
|
|
25926
|
+
// verify the required parameter 'phraseId' is set
|
|
25927
|
+
if (phraseId === undefined || phraseId === null) {
|
|
25928
|
+
throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
25929
|
+
}
|
|
25930
|
+
|
|
25931
|
+
return this.apiClient.callApi(
|
|
25932
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
|
|
25933
|
+
'GET',
|
|
25934
|
+
{ 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
|
|
25935
|
+
{ },
|
|
25936
|
+
{ },
|
|
25937
|
+
{ },
|
|
25938
|
+
null,
|
|
25939
|
+
['PureCloud OAuth'],
|
|
25940
|
+
['application/json'],
|
|
25941
|
+
['application/json']
|
|
25942
|
+
);
|
|
25943
|
+
}
|
|
25944
|
+
|
|
25945
|
+
/**
|
|
25946
|
+
* Retrieve a list of mined topics.
|
|
25947
|
+
*
|
|
25948
|
+
* @param {String} minerId Miner ID
|
|
25949
|
+
*/
|
|
25950
|
+
getLanguageunderstandingMinerTopics(minerId) {
|
|
25951
|
+
// verify the required parameter 'minerId' is set
|
|
25952
|
+
if (minerId === undefined || minerId === null) {
|
|
25953
|
+
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
|
|
25954
|
+
}
|
|
25955
|
+
|
|
25956
|
+
return this.apiClient.callApi(
|
|
25957
|
+
'/api/v2/languageunderstanding/miners/{minerId}/topics',
|
|
25958
|
+
'GET',
|
|
25959
|
+
{ 'minerId': minerId },
|
|
25960
|
+
{ },
|
|
25961
|
+
{ },
|
|
25962
|
+
{ },
|
|
25963
|
+
null,
|
|
25964
|
+
['PureCloud OAuth'],
|
|
25965
|
+
['application/json'],
|
|
25966
|
+
['application/json']
|
|
25967
|
+
);
|
|
25968
|
+
}
|
|
25969
|
+
|
|
25868
25970
|
/**
|
|
25869
25971
|
* Retrieve the list of miners created.
|
|
25870
25972
|
*
|
|
25973
|
+
* @param {Object} opts Optional parameters
|
|
25974
|
+
* @param {String} opts.minerType Type of miner, either intent or topic
|
|
25871
25975
|
*/
|
|
25872
|
-
getLanguageunderstandingMiners() {
|
|
25976
|
+
getLanguageunderstandingMiners(opts) {
|
|
25977
|
+
opts = opts || {};
|
|
25978
|
+
|
|
25873
25979
|
|
|
25874
25980
|
return this.apiClient.callApi(
|
|
25875
25981
|
'/api/v2/languageunderstanding/miners',
|
|
25876
25982
|
'GET',
|
|
25877
25983
|
{ },
|
|
25878
|
-
{
|
|
25984
|
+
{ 'minerType': opts['minerType'] },
|
|
25879
25985
|
{ },
|
|
25880
25986
|
{ },
|
|
25881
25987
|
null,
|
|
@@ -26079,8 +26185,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26079
26185
|
*
|
|
26080
26186
|
* @param {String} domainId ID of the NLU domain.
|
|
26081
26187
|
* @param {Object} body The NLU Domain Version to create.
|
|
26188
|
+
* @param {Object} opts Optional parameters
|
|
26189
|
+
* @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
|
|
26082
26190
|
*/
|
|
26083
|
-
postLanguageunderstandingDomainVersions(domainId, body) {
|
|
26191
|
+
postLanguageunderstandingDomainVersions(domainId, body, opts) {
|
|
26192
|
+
opts = opts || {};
|
|
26193
|
+
|
|
26084
26194
|
// verify the required parameter 'domainId' is set
|
|
26085
26195
|
if (domainId === undefined || domainId === null) {
|
|
26086
26196
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
|
|
@@ -26094,7 +26204,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26094
26204
|
'/api/v2/languageunderstanding/domains/{domainId}/versions',
|
|
26095
26205
|
'POST',
|
|
26096
26206
|
{ 'domainId': domainId },
|
|
26097
|
-
{
|
|
26207
|
+
{ 'includeUtterances': opts['includeUtterances'] },
|
|
26098
26208
|
{ },
|
|
26099
26209
|
{ },
|
|
26100
26210
|
body,
|
|
@@ -26254,7 +26364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26254
26364
|
/**
|
|
26255
26365
|
* Languages service.
|
|
26256
26366
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26257
|
-
* @version
|
|
26367
|
+
* @version 155.0.0
|
|
26258
26368
|
*/
|
|
26259
26369
|
|
|
26260
26370
|
/**
|
|
@@ -26522,7 +26632,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26522
26632
|
/**
|
|
26523
26633
|
* Learning service.
|
|
26524
26634
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26525
|
-
* @version
|
|
26635
|
+
* @version 155.0.0
|
|
26526
26636
|
*/
|
|
26527
26637
|
|
|
26528
26638
|
/**
|
|
@@ -26822,6 +26932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26822
26932
|
* @param {String} opts.searchTerm Search Term (searchable by name)
|
|
26823
26933
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
26824
26934
|
* @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)
|
|
26935
|
+
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
26825
26936
|
*/
|
|
26826
26937
|
getLearningModules(opts) {
|
|
26827
26938
|
opts = opts || {};
|
|
@@ -26831,7 +26942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26831
26942
|
'/api/v2/learning/modules',
|
|
26832
26943
|
'GET',
|
|
26833
26944
|
{ },
|
|
26834
|
-
{ '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'] },
|
|
26945
|
+
{ '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') },
|
|
26835
26946
|
{ },
|
|
26836
26947
|
{ },
|
|
26837
26948
|
null,
|
|
@@ -27282,7 +27393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27282
27393
|
/**
|
|
27283
27394
|
* License service.
|
|
27284
27395
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27285
|
-
* @version
|
|
27396
|
+
* @version 155.0.0
|
|
27286
27397
|
*/
|
|
27287
27398
|
|
|
27288
27399
|
/**
|
|
@@ -27520,7 +27631,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27520
27631
|
/**
|
|
27521
27632
|
* Locations service.
|
|
27522
27633
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27523
|
-
* @version
|
|
27634
|
+
* @version 155.0.0
|
|
27524
27635
|
*/
|
|
27525
27636
|
|
|
27526
27637
|
/**
|
|
@@ -27756,7 +27867,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27756
27867
|
/**
|
|
27757
27868
|
* Messaging service.
|
|
27758
27869
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27759
|
-
* @version
|
|
27870
|
+
* @version 155.0.0
|
|
27760
27871
|
*/
|
|
27761
27872
|
|
|
27762
27873
|
/**
|
|
@@ -27907,7 +28018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27907
28018
|
/**
|
|
27908
28019
|
* MobileDevices service.
|
|
27909
28020
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27910
|
-
* @version
|
|
28021
|
+
* @version 155.0.0
|
|
27911
28022
|
*/
|
|
27912
28023
|
|
|
27913
28024
|
/**
|
|
@@ -28058,7 +28169,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28058
28169
|
/**
|
|
28059
28170
|
* Notifications service.
|
|
28060
28171
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
28061
|
-
* @version
|
|
28172
|
+
* @version 155.0.0
|
|
28062
28173
|
*/
|
|
28063
28174
|
|
|
28064
28175
|
/**
|
|
@@ -28283,7 +28394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28283
28394
|
/**
|
|
28284
28395
|
* OAuth service.
|
|
28285
28396
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28286
|
-
* @version
|
|
28397
|
+
* @version 155.0.0
|
|
28287
28398
|
*/
|
|
28288
28399
|
|
|
28289
28400
|
/**
|
|
@@ -28649,7 +28760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28649
28760
|
/**
|
|
28650
28761
|
* Objects service.
|
|
28651
28762
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28652
|
-
* @version
|
|
28763
|
+
* @version 155.0.0
|
|
28653
28764
|
*/
|
|
28654
28765
|
|
|
28655
28766
|
/**
|
|
@@ -28920,7 +29031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28920
29031
|
/**
|
|
28921
29032
|
* Organization service.
|
|
28922
29033
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28923
|
-
* @version
|
|
29034
|
+
* @version 155.0.0
|
|
28924
29035
|
*/
|
|
28925
29036
|
|
|
28926
29037
|
/**
|
|
@@ -29323,7 +29434,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29323
29434
|
/**
|
|
29324
29435
|
* OrganizationAuthorization service.
|
|
29325
29436
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29326
|
-
* @version
|
|
29437
|
+
* @version 155.0.0
|
|
29327
29438
|
*/
|
|
29328
29439
|
|
|
29329
29440
|
/**
|
|
@@ -30248,7 +30359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30248
30359
|
/**
|
|
30249
30360
|
* Outbound service.
|
|
30250
30361
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30251
|
-
* @version
|
|
30362
|
+
* @version 155.0.0
|
|
30252
30363
|
*/
|
|
30253
30364
|
|
|
30254
30365
|
/**
|
|
@@ -30598,6 +30709,64 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30598
30709
|
);
|
|
30599
30710
|
}
|
|
30600
30711
|
|
|
30712
|
+
/**
|
|
30713
|
+
* Deletes all or expired email addresses from a DNC list.
|
|
30714
|
+
* This operation is Only for Internal DNC lists of email addresses
|
|
30715
|
+
* @param {String} dncListId DncList ID
|
|
30716
|
+
* @param {Object} opts Optional parameters
|
|
30717
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
30718
|
+
*/
|
|
30719
|
+
deleteOutboundDnclistEmailaddresses(dncListId, opts) {
|
|
30720
|
+
opts = opts || {};
|
|
30721
|
+
|
|
30722
|
+
// verify the required parameter 'dncListId' is set
|
|
30723
|
+
if (dncListId === undefined || dncListId === null) {
|
|
30724
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';
|
|
30725
|
+
}
|
|
30726
|
+
|
|
30727
|
+
return this.apiClient.callApi(
|
|
30728
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
30729
|
+
'DELETE',
|
|
30730
|
+
{ 'dncListId': dncListId },
|
|
30731
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
30732
|
+
{ },
|
|
30733
|
+
{ },
|
|
30734
|
+
null,
|
|
30735
|
+
['PureCloud OAuth'],
|
|
30736
|
+
['application/json'],
|
|
30737
|
+
['application/json']
|
|
30738
|
+
);
|
|
30739
|
+
}
|
|
30740
|
+
|
|
30741
|
+
/**
|
|
30742
|
+
* Deletes all or expired phone numbers from a DNC list.
|
|
30743
|
+
* This operation is Only for Internal DNC lists of phone numbers
|
|
30744
|
+
* @param {String} dncListId DncList ID
|
|
30745
|
+
* @param {Object} opts Optional parameters
|
|
30746
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
30747
|
+
*/
|
|
30748
|
+
deleteOutboundDnclistPhonenumbers(dncListId, opts) {
|
|
30749
|
+
opts = opts || {};
|
|
30750
|
+
|
|
30751
|
+
// verify the required parameter 'dncListId' is set
|
|
30752
|
+
if (dncListId === undefined || dncListId === null) {
|
|
30753
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';
|
|
30754
|
+
}
|
|
30755
|
+
|
|
30756
|
+
return this.apiClient.callApi(
|
|
30757
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
30758
|
+
'DELETE',
|
|
30759
|
+
{ 'dncListId': dncListId },
|
|
30760
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
30761
|
+
{ },
|
|
30762
|
+
{ },
|
|
30763
|
+
null,
|
|
30764
|
+
['PureCloud OAuth'],
|
|
30765
|
+
['application/json'],
|
|
30766
|
+
['application/json']
|
|
30767
|
+
);
|
|
30768
|
+
}
|
|
30769
|
+
|
|
30601
30770
|
/**
|
|
30602
30771
|
* Delete an Outbound Messaging Campaign
|
|
30603
30772
|
*
|
|
@@ -32368,6 +32537,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32368
32537
|
);
|
|
32369
32538
|
}
|
|
32370
32539
|
|
|
32540
|
+
/**
|
|
32541
|
+
* Add emails to or Delete emails from a DNC list.
|
|
32542
|
+
* Only Internal DNC lists may be added to or deleted from
|
|
32543
|
+
* @param {String} dncListId DncList ID
|
|
32544
|
+
* @param {Object} body DNC Emails
|
|
32545
|
+
*/
|
|
32546
|
+
patchOutboundDnclistEmailaddresses(dncListId, body) {
|
|
32547
|
+
// verify the required parameter 'dncListId' is set
|
|
32548
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32549
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';
|
|
32550
|
+
}
|
|
32551
|
+
// verify the required parameter 'body' is set
|
|
32552
|
+
if (body === undefined || body === null) {
|
|
32553
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';
|
|
32554
|
+
}
|
|
32555
|
+
|
|
32556
|
+
return this.apiClient.callApi(
|
|
32557
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
32558
|
+
'PATCH',
|
|
32559
|
+
{ 'dncListId': dncListId },
|
|
32560
|
+
{ },
|
|
32561
|
+
{ },
|
|
32562
|
+
{ },
|
|
32563
|
+
body,
|
|
32564
|
+
['PureCloud OAuth'],
|
|
32565
|
+
['application/json'],
|
|
32566
|
+
['application/json']
|
|
32567
|
+
);
|
|
32568
|
+
}
|
|
32569
|
+
|
|
32570
|
+
/**
|
|
32571
|
+
* Add numbers to or delete numbers from a DNC list.
|
|
32572
|
+
* Only Internal DNC lists may be added to deleted from
|
|
32573
|
+
* @param {String} dncListId DncList ID
|
|
32574
|
+
* @param {Object} body DNC Phone Numbers
|
|
32575
|
+
*/
|
|
32576
|
+
patchOutboundDnclistPhonenumbers(dncListId, body) {
|
|
32577
|
+
// verify the required parameter 'dncListId' is set
|
|
32578
|
+
if (dncListId === undefined || dncListId === null) {
|
|
32579
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';
|
|
32580
|
+
}
|
|
32581
|
+
// verify the required parameter 'body' is set
|
|
32582
|
+
if (body === undefined || body === null) {
|
|
32583
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';
|
|
32584
|
+
}
|
|
32585
|
+
|
|
32586
|
+
return this.apiClient.callApi(
|
|
32587
|
+
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
32588
|
+
'PATCH',
|
|
32589
|
+
{ 'dncListId': dncListId },
|
|
32590
|
+
{ },
|
|
32591
|
+
{ },
|
|
32592
|
+
{ },
|
|
32593
|
+
body,
|
|
32594
|
+
['PureCloud OAuth'],
|
|
32595
|
+
['application/json'],
|
|
32596
|
+
['application/json']
|
|
32597
|
+
);
|
|
32598
|
+
}
|
|
32599
|
+
|
|
32371
32600
|
/**
|
|
32372
32601
|
* Update the outbound settings for this organization
|
|
32373
32602
|
*
|
|
@@ -32872,6 +33101,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32872
33101
|
);
|
|
32873
33102
|
}
|
|
32874
33103
|
|
|
33104
|
+
/**
|
|
33105
|
+
* Add email addresses to a DNC list.
|
|
33106
|
+
* Only Internal DNC lists may be appended to
|
|
33107
|
+
* @param {String} dncListId DncList ID
|
|
33108
|
+
* @param {Array.<String>} body DNC email addresses
|
|
33109
|
+
*/
|
|
33110
|
+
postOutboundDnclistEmailaddresses(dncListId, body) {
|
|
33111
|
+
// verify the required parameter 'dncListId' is set
|
|
33112
|
+
if (dncListId === undefined || dncListId === null) {
|
|
33113
|
+
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';
|
|
33114
|
+
}
|
|
33115
|
+
// verify the required parameter 'body' is set
|
|
33116
|
+
if (body === undefined || body === null) {
|
|
33117
|
+
throw 'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';
|
|
33118
|
+
}
|
|
33119
|
+
|
|
33120
|
+
return this.apiClient.callApi(
|
|
33121
|
+
'/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
|
|
33122
|
+
'POST',
|
|
33123
|
+
{ 'dncListId': dncListId },
|
|
33124
|
+
{ },
|
|
33125
|
+
{ },
|
|
33126
|
+
{ },
|
|
33127
|
+
body,
|
|
33128
|
+
['PureCloud OAuth'],
|
|
33129
|
+
['application/json'],
|
|
33130
|
+
['application/json']
|
|
33131
|
+
);
|
|
33132
|
+
}
|
|
33133
|
+
|
|
32875
33134
|
/**
|
|
32876
33135
|
* Initiate the export of a dnc list.
|
|
32877
33136
|
* Returns 200 if received OK.
|
|
@@ -33637,7 +33896,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33637
33896
|
/**
|
|
33638
33897
|
* Presence service.
|
|
33639
33898
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33640
|
-
* @version
|
|
33899
|
+
* @version 155.0.0
|
|
33641
33900
|
*/
|
|
33642
33901
|
|
|
33643
33902
|
/**
|
|
@@ -33854,7 +34113,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33854
34113
|
|
|
33855
34114
|
/**
|
|
33856
34115
|
* Get a user's Presence
|
|
33857
|
-
* Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources.
|
|
34116
|
+
* 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.
|
|
33858
34117
|
* @param {String} userId user Id
|
|
33859
34118
|
* @param {String} sourceId Presence source ID
|
|
33860
34119
|
*/
|
|
@@ -33909,7 +34168,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33909
34168
|
|
|
33910
34169
|
/**
|
|
33911
34170
|
* Patch a user's Presence
|
|
33912
|
-
* 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.
|
|
34171
|
+
* 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.
|
|
33913
34172
|
* @param {String} userId user Id
|
|
33914
34173
|
* @param {String} sourceId Presence source ID
|
|
33915
34174
|
* @param {Object} body User presence
|
|
@@ -34143,7 +34402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34143
34402
|
/**
|
|
34144
34403
|
* ProcessAutomation service.
|
|
34145
34404
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34146
|
-
* @version
|
|
34405
|
+
* @version 155.0.0
|
|
34147
34406
|
*/
|
|
34148
34407
|
|
|
34149
34408
|
/**
|
|
@@ -34381,7 +34640,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34381
34640
|
/**
|
|
34382
34641
|
* Quality service.
|
|
34383
34642
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
34384
|
-
* @version
|
|
34643
|
+
* @version 155.0.0
|
|
34385
34644
|
*/
|
|
34386
34645
|
|
|
34387
34646
|
/**
|
|
@@ -35959,7 +36218,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35959
36218
|
/**
|
|
35960
36219
|
* Recording service.
|
|
35961
36220
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
35962
|
-
* @version
|
|
36221
|
+
* @version 155.0.0
|
|
35963
36222
|
*/
|
|
35964
36223
|
|
|
35965
36224
|
/**
|
|
@@ -36661,7 +36920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36661
36920
|
}
|
|
36662
36921
|
|
|
36663
36922
|
/**
|
|
36664
|
-
* Get the local encryption settings
|
|
36923
|
+
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
36665
36924
|
*
|
|
36666
36925
|
* @param {String} settingsId Settings Id
|
|
36667
36926
|
*/
|
|
@@ -36686,7 +36945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36686
36945
|
}
|
|
36687
36946
|
|
|
36688
36947
|
/**
|
|
36689
|
-
* gets a list local key settings data
|
|
36948
|
+
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
36690
36949
|
*
|
|
36691
36950
|
*/
|
|
36692
36951
|
getRecordingLocalkeysSettings() {
|
|
@@ -37138,7 +37397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37138
37397
|
}
|
|
37139
37398
|
|
|
37140
37399
|
/**
|
|
37141
|
-
* create a local recording key
|
|
37400
|
+
* create a local key management recording key
|
|
37142
37401
|
*
|
|
37143
37402
|
* @param {Object} body Local Encryption body
|
|
37144
37403
|
*/
|
|
@@ -37163,7 +37422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37163
37422
|
}
|
|
37164
37423
|
|
|
37165
37424
|
/**
|
|
37166
|
-
* create settings for local key creation
|
|
37425
|
+
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
37167
37426
|
*
|
|
37168
37427
|
* @param {Object} body Local Encryption Configuration
|
|
37169
37428
|
*/
|
|
@@ -37506,7 +37765,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37506
37765
|
}
|
|
37507
37766
|
|
|
37508
37767
|
/**
|
|
37509
|
-
* Update the local encryption settings
|
|
37768
|
+
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
37510
37769
|
*
|
|
37511
37770
|
* @param {String} settingsId Settings Id
|
|
37512
37771
|
* @param {Object} body Local Encryption metadata
|
|
@@ -37646,7 +37905,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37646
37905
|
/**
|
|
37647
37906
|
* ResponseManagement service.
|
|
37648
37907
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
37649
|
-
* @version
|
|
37908
|
+
* @version 155.0.0
|
|
37650
37909
|
*/
|
|
37651
37910
|
|
|
37652
37911
|
/**
|
|
@@ -38130,7 +38389,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38130
38389
|
/**
|
|
38131
38390
|
* Routing service.
|
|
38132
38391
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38133
|
-
* @version
|
|
38392
|
+
* @version 155.0.0
|
|
38134
38393
|
*/
|
|
38135
38394
|
|
|
38136
38395
|
/**
|
|
@@ -41545,7 +41804,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41545
41804
|
/**
|
|
41546
41805
|
* SCIM service.
|
|
41547
41806
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
41548
|
-
* @version
|
|
41807
|
+
* @version 155.0.0
|
|
41549
41808
|
*/
|
|
41550
41809
|
|
|
41551
41810
|
/**
|
|
@@ -42422,7 +42681,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42422
42681
|
/**
|
|
42423
42682
|
* Scripts service.
|
|
42424
42683
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42425
|
-
* @version
|
|
42684
|
+
* @version 155.0.0
|
|
42426
42685
|
*/
|
|
42427
42686
|
|
|
42428
42687
|
/**
|
|
@@ -42841,7 +43100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42841
43100
|
/**
|
|
42842
43101
|
* Search service.
|
|
42843
43102
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
42844
|
-
* @version
|
|
43103
|
+
* @version 155.0.0
|
|
42845
43104
|
*/
|
|
42846
43105
|
|
|
42847
43106
|
/**
|
|
@@ -43426,7 +43685,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43426
43685
|
/**
|
|
43427
43686
|
* SpeechTextAnalytics service.
|
|
43428
43687
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43429
|
-
* @version
|
|
43688
|
+
* @version 155.0.0
|
|
43430
43689
|
*/
|
|
43431
43690
|
|
|
43432
43691
|
/**
|
|
@@ -44280,7 +44539,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44280
44539
|
/**
|
|
44281
44540
|
* Stations service.
|
|
44282
44541
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
44283
|
-
* @version
|
|
44542
|
+
* @version 155.0.0
|
|
44284
44543
|
*/
|
|
44285
44544
|
|
|
44286
44545
|
/**
|
|
@@ -44427,7 +44686,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44427
44686
|
/**
|
|
44428
44687
|
* Suggest service.
|
|
44429
44688
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44430
|
-
* @version
|
|
44689
|
+
* @version 155.0.0
|
|
44431
44690
|
*/
|
|
44432
44691
|
|
|
44433
44692
|
/**
|
|
@@ -44566,7 +44825,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44566
44825
|
/**
|
|
44567
44826
|
* Teams service.
|
|
44568
44827
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
44569
|
-
* @version
|
|
44828
|
+
* @version 155.0.0
|
|
44570
44829
|
*/
|
|
44571
44830
|
|
|
44572
44831
|
/**
|
|
@@ -44837,7 +45096,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44837
45096
|
/**
|
|
44838
45097
|
* Telephony service.
|
|
44839
45098
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
44840
|
-
* @version
|
|
45099
|
+
* @version 155.0.0
|
|
44841
45100
|
*/
|
|
44842
45101
|
|
|
44843
45102
|
/**
|
|
@@ -44852,6 +45111,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44852
45111
|
}
|
|
44853
45112
|
|
|
44854
45113
|
|
|
45114
|
+
/**
|
|
45115
|
+
* Retrieve the list of AWS regions media can stream through.
|
|
45116
|
+
*
|
|
45117
|
+
*/
|
|
45118
|
+
getTelephonyMediaregions() {
|
|
45119
|
+
|
|
45120
|
+
return this.apiClient.callApi(
|
|
45121
|
+
'/api/v2/telephony/mediaregions',
|
|
45122
|
+
'GET',
|
|
45123
|
+
{ },
|
|
45124
|
+
{ },
|
|
45125
|
+
{ },
|
|
45126
|
+
{ },
|
|
45127
|
+
null,
|
|
45128
|
+
['PureCloud OAuth'],
|
|
45129
|
+
['application/json'],
|
|
45130
|
+
['application/json']
|
|
45131
|
+
);
|
|
45132
|
+
}
|
|
45133
|
+
|
|
44855
45134
|
/**
|
|
44856
45135
|
* Fetch SIP metadata
|
|
44857
45136
|
* 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
|
|
@@ -44945,7 +45224,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44945
45224
|
/**
|
|
44946
45225
|
* TelephonyProvidersEdge service.
|
|
44947
45226
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
44948
|
-
* @version
|
|
45227
|
+
* @version 155.0.0
|
|
44949
45228
|
*/
|
|
44950
45229
|
|
|
44951
45230
|
/**
|
|
@@ -48578,7 +48857,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48578
48857
|
/**
|
|
48579
48858
|
* Textbots service.
|
|
48580
48859
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
48581
|
-
* @version
|
|
48860
|
+
* @version 155.0.0
|
|
48582
48861
|
*/
|
|
48583
48862
|
|
|
48584
48863
|
/**
|
|
@@ -48706,7 +48985,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48706
48985
|
/**
|
|
48707
48986
|
* Tokens service.
|
|
48708
48987
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
48709
|
-
* @version
|
|
48988
|
+
* @version 155.0.0
|
|
48710
48989
|
*/
|
|
48711
48990
|
|
|
48712
48991
|
/**
|
|
@@ -48812,7 +49091,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48812
49091
|
/**
|
|
48813
49092
|
* Uploads service.
|
|
48814
49093
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
48815
|
-
* @version
|
|
49094
|
+
* @version 155.0.0
|
|
48816
49095
|
*/
|
|
48817
49096
|
|
|
48818
49097
|
/**
|
|
@@ -48988,7 +49267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48988
49267
|
/**
|
|
48989
49268
|
* Usage service.
|
|
48990
49269
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
48991
|
-
* @version
|
|
49270
|
+
* @version 155.0.0
|
|
48992
49271
|
*/
|
|
48993
49272
|
|
|
48994
49273
|
/**
|
|
@@ -49059,7 +49338,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49059
49338
|
/**
|
|
49060
49339
|
* UserRecordings service.
|
|
49061
49340
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49062
|
-
* @version
|
|
49341
|
+
* @version 155.0.0
|
|
49063
49342
|
*/
|
|
49064
49343
|
|
|
49065
49344
|
/**
|
|
@@ -49244,7 +49523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49244
49523
|
/**
|
|
49245
49524
|
* Users service.
|
|
49246
49525
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
49247
|
-
* @version
|
|
49526
|
+
* @version 155.0.0
|
|
49248
49527
|
*/
|
|
49249
49528
|
|
|
49250
49529
|
/**
|
|
@@ -51601,7 +51880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51601
51880
|
/**
|
|
51602
51881
|
* Utilities service.
|
|
51603
51882
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
51604
|
-
* @version
|
|
51883
|
+
* @version 155.0.0
|
|
51605
51884
|
*/
|
|
51606
51885
|
|
|
51607
51886
|
/**
|
|
@@ -51712,7 +51991,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51712
51991
|
/**
|
|
51713
51992
|
* Voicemail service.
|
|
51714
51993
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
51715
|
-
* @version
|
|
51994
|
+
* @version 155.0.0
|
|
51716
51995
|
*/
|
|
51717
51996
|
|
|
51718
51997
|
/**
|
|
@@ -52379,7 +52658,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52379
52658
|
/**
|
|
52380
52659
|
* WebChat service.
|
|
52381
52660
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
52382
|
-
* @version
|
|
52661
|
+
* @version 155.0.0
|
|
52383
52662
|
*/
|
|
52384
52663
|
|
|
52385
52664
|
/**
|
|
@@ -52923,7 +53202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52923
53202
|
/**
|
|
52924
53203
|
* WebDeployments service.
|
|
52925
53204
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
52926
|
-
* @version
|
|
53205
|
+
* @version 155.0.0
|
|
52927
53206
|
*/
|
|
52928
53207
|
|
|
52929
53208
|
/**
|
|
@@ -53311,7 +53590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53311
53590
|
/**
|
|
53312
53591
|
* WebMessaging service.
|
|
53313
53592
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
53314
|
-
* @version
|
|
53593
|
+
* @version 155.0.0
|
|
53315
53594
|
*/
|
|
53316
53595
|
|
|
53317
53596
|
/**
|
|
@@ -53357,7 +53636,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53357
53636
|
/**
|
|
53358
53637
|
* Widgets service.
|
|
53359
53638
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
53360
|
-
* @version
|
|
53639
|
+
* @version 155.0.0
|
|
53361
53640
|
*/
|
|
53362
53641
|
|
|
53363
53642
|
/**
|
|
@@ -53503,7 +53782,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53503
53782
|
/**
|
|
53504
53783
|
* WorkforceManagement service.
|
|
53505
53784
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53506
|
-
* @version
|
|
53785
|
+
* @version 155.0.0
|
|
53507
53786
|
*/
|
|
53508
53787
|
|
|
53509
53788
|
/**
|
|
@@ -58173,7 +58452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58173
58452
|
* </pre>
|
|
58174
58453
|
* </p>
|
|
58175
58454
|
* @module purecloud-platform-client-v2/index
|
|
58176
|
-
* @version
|
|
58455
|
+
* @version 155.0.0
|
|
58177
58456
|
*/
|
|
58178
58457
|
class platformClient {
|
|
58179
58458
|
constructor() {
|