purecloud-platform-client-v2 146.0.0 → 148.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 +660 -198
- package/dist/web-amd/purecloud-platform-client-v2.js +660 -198
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +660 -198
- package/dist/web-cjs/purecloud-platform-client-v2.js +661 -199
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +490 -145
- 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 +46 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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/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 -51
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- 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 +135 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
- package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -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 +30 -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 +7 -1
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 148.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 148.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 148.0.0
|
|
1799
1799
|
*/
|
|
1800
1800
|
|
|
1801
1801
|
/**
|
|
@@ -2041,6 +2041,26 @@ class AnalyticsApi {
|
|
|
2041
2041
|
);
|
|
2042
2042
|
}
|
|
2043
2043
|
|
|
2044
|
+
/**
|
|
2045
|
+
* Get analytics data retention setting
|
|
2046
|
+
*
|
|
2047
|
+
*/
|
|
2048
|
+
getAnalyticsDataretentionSettings() {
|
|
2049
|
+
|
|
2050
|
+
return this.apiClient.callApi(
|
|
2051
|
+
'/api/v2/analytics/dataretention/settings',
|
|
2052
|
+
'GET',
|
|
2053
|
+
{ },
|
|
2054
|
+
{ },
|
|
2055
|
+
{ },
|
|
2056
|
+
{ },
|
|
2057
|
+
null,
|
|
2058
|
+
['PureCloud OAuth'],
|
|
2059
|
+
['application/json'],
|
|
2060
|
+
['application/json']
|
|
2061
|
+
);
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2044
2064
|
/**
|
|
2045
2065
|
* Get all view export requests for a user
|
|
2046
2066
|
*
|
|
@@ -2941,6 +2961,31 @@ class AnalyticsApi {
|
|
|
2941
2961
|
);
|
|
2942
2962
|
}
|
|
2943
2963
|
|
|
2964
|
+
/**
|
|
2965
|
+
* Update analytics data retention setting
|
|
2966
|
+
*
|
|
2967
|
+
* @param {Object} body retentionDays
|
|
2968
|
+
*/
|
|
2969
|
+
putAnalyticsDataretentionSettings(body) {
|
|
2970
|
+
// verify the required parameter 'body' is set
|
|
2971
|
+
if (body === undefined || body === null) {
|
|
2972
|
+
throw 'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
return this.apiClient.callApi(
|
|
2976
|
+
'/api/v2/analytics/dataretention/settings',
|
|
2977
|
+
'PUT',
|
|
2978
|
+
{ },
|
|
2979
|
+
{ },
|
|
2980
|
+
{ },
|
|
2981
|
+
{ },
|
|
2982
|
+
body,
|
|
2983
|
+
['PureCloud OAuth'],
|
|
2984
|
+
['application/json'],
|
|
2985
|
+
['application/json']
|
|
2986
|
+
);
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2944
2989
|
/**
|
|
2945
2990
|
* Update a scheduled report job.
|
|
2946
2991
|
*
|
|
@@ -2977,7 +3022,7 @@ class ArchitectApi {
|
|
|
2977
3022
|
/**
|
|
2978
3023
|
* Architect service.
|
|
2979
3024
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2980
|
-
* @version
|
|
3025
|
+
* @version 148.0.0
|
|
2981
3026
|
*/
|
|
2982
3027
|
|
|
2983
3028
|
/**
|
|
@@ -6023,7 +6068,7 @@ class AuditApi {
|
|
|
6023
6068
|
/**
|
|
6024
6069
|
* Audit service.
|
|
6025
6070
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6026
|
-
* @version
|
|
6071
|
+
* @version 148.0.0
|
|
6027
6072
|
*/
|
|
6028
6073
|
|
|
6029
6074
|
/**
|
|
@@ -6194,7 +6239,7 @@ class AuthorizationApi {
|
|
|
6194
6239
|
/**
|
|
6195
6240
|
* Authorization service.
|
|
6196
6241
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6197
|
-
* @version
|
|
6242
|
+
* @version 148.0.0
|
|
6198
6243
|
*/
|
|
6199
6244
|
|
|
6200
6245
|
/**
|
|
@@ -7377,7 +7422,7 @@ class BillingApi {
|
|
|
7377
7422
|
/**
|
|
7378
7423
|
* Billing service.
|
|
7379
7424
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7380
|
-
* @version
|
|
7425
|
+
* @version 148.0.0
|
|
7381
7426
|
*/
|
|
7382
7427
|
|
|
7383
7428
|
/**
|
|
@@ -7457,7 +7502,7 @@ class ChatApi {
|
|
|
7457
7502
|
/**
|
|
7458
7503
|
* Chat service.
|
|
7459
7504
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7460
|
-
* @version
|
|
7505
|
+
* @version 148.0.0
|
|
7461
7506
|
*/
|
|
7462
7507
|
|
|
7463
7508
|
/**
|
|
@@ -7548,7 +7593,7 @@ class CoachingApi {
|
|
|
7548
7593
|
/**
|
|
7549
7594
|
* Coaching service.
|
|
7550
7595
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7551
|
-
* @version
|
|
7596
|
+
* @version 148.0.0
|
|
7552
7597
|
*/
|
|
7553
7598
|
|
|
7554
7599
|
/**
|
|
@@ -8125,7 +8170,7 @@ class ContentManagementApi {
|
|
|
8125
8170
|
/**
|
|
8126
8171
|
* ContentManagement service.
|
|
8127
8172
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8128
|
-
* @version
|
|
8173
|
+
* @version 148.0.0
|
|
8129
8174
|
*/
|
|
8130
8175
|
|
|
8131
8176
|
/**
|
|
@@ -9265,7 +9310,7 @@ class ConversationsApi {
|
|
|
9265
9310
|
/**
|
|
9266
9311
|
* Conversations service.
|
|
9267
9312
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9268
|
-
* @version
|
|
9313
|
+
* @version 148.0.0
|
|
9269
9314
|
*/
|
|
9270
9315
|
|
|
9271
9316
|
/**
|
|
@@ -14409,7 +14454,7 @@ class DataExtensionsApi {
|
|
|
14409
14454
|
/**
|
|
14410
14455
|
* DataExtensions service.
|
|
14411
14456
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14412
|
-
* @version
|
|
14457
|
+
* @version 148.0.0
|
|
14413
14458
|
*/
|
|
14414
14459
|
|
|
14415
14460
|
/**
|
|
@@ -14495,7 +14540,7 @@ class ExternalContactsApi {
|
|
|
14495
14540
|
/**
|
|
14496
14541
|
* ExternalContacts service.
|
|
14497
14542
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14498
|
-
* @version
|
|
14543
|
+
* @version 148.0.0
|
|
14499
14544
|
*/
|
|
14500
14545
|
|
|
14501
14546
|
/**
|
|
@@ -16238,7 +16283,7 @@ class FaxApi {
|
|
|
16238
16283
|
/**
|
|
16239
16284
|
* Fax service.
|
|
16240
16285
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16241
|
-
* @version
|
|
16286
|
+
* @version 148.0.0
|
|
16242
16287
|
*/
|
|
16243
16288
|
|
|
16244
16289
|
/**
|
|
@@ -16409,7 +16454,7 @@ class FlowsApi {
|
|
|
16409
16454
|
/**
|
|
16410
16455
|
* Flows service.
|
|
16411
16456
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16412
|
-
* @version
|
|
16457
|
+
* @version 148.0.0
|
|
16413
16458
|
*/
|
|
16414
16459
|
|
|
16415
16460
|
/**
|
|
@@ -16480,7 +16525,7 @@ class GamificationApi {
|
|
|
16480
16525
|
/**
|
|
16481
16526
|
* Gamification service.
|
|
16482
16527
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16483
|
-
* @version
|
|
16528
|
+
* @version 148.0.0
|
|
16484
16529
|
*/
|
|
16485
16530
|
|
|
16486
16531
|
/**
|
|
@@ -16773,31 +16818,6 @@ class GamificationApi {
|
|
|
16773
16818
|
);
|
|
16774
16819
|
}
|
|
16775
16820
|
|
|
16776
|
-
/**
|
|
16777
|
-
* All gamified metrics for a given profile
|
|
16778
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
16779
|
-
* @param {Object} opts Optional parameters
|
|
16780
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
16781
|
-
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16782
|
-
*/
|
|
16783
|
-
getGamificationMetrics(opts) {
|
|
16784
|
-
opts = opts || {};
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
return this.apiClient.callApi(
|
|
16788
|
-
'/api/v2/gamification/metrics',
|
|
16789
|
-
'GET',
|
|
16790
|
-
{ },
|
|
16791
|
-
{ 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
|
|
16792
|
-
{ },
|
|
16793
|
-
{ },
|
|
16794
|
-
null,
|
|
16795
|
-
['PureCloud OAuth'],
|
|
16796
|
-
['application/json'],
|
|
16797
|
-
['application/json']
|
|
16798
|
-
);
|
|
16799
|
-
}
|
|
16800
|
-
|
|
16801
16821
|
/**
|
|
16802
16822
|
* Performance profile by id
|
|
16803
16823
|
*
|
|
@@ -17853,31 +17873,6 @@ class GamificationApi {
|
|
|
17853
17873
|
);
|
|
17854
17874
|
}
|
|
17855
17875
|
|
|
17856
|
-
/**
|
|
17857
|
-
* Creates a gamified metric with a given metric definition and metric objective
|
|
17858
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
17859
|
-
* @param {Object} body Metric
|
|
17860
|
-
*/
|
|
17861
|
-
postGamificationMetrics(body) {
|
|
17862
|
-
// verify the required parameter 'body' is set
|
|
17863
|
-
if (body === undefined || body === null) {
|
|
17864
|
-
throw 'Missing the required parameter "body" when calling postGamificationMetrics';
|
|
17865
|
-
}
|
|
17866
|
-
|
|
17867
|
-
return this.apiClient.callApi(
|
|
17868
|
-
'/api/v2/gamification/metrics',
|
|
17869
|
-
'POST',
|
|
17870
|
-
{ },
|
|
17871
|
-
{ },
|
|
17872
|
-
{ },
|
|
17873
|
-
{ },
|
|
17874
|
-
body,
|
|
17875
|
-
['PureCloud OAuth'],
|
|
17876
|
-
['application/json'],
|
|
17877
|
-
['application/json']
|
|
17878
|
-
);
|
|
17879
|
-
}
|
|
17880
|
-
|
|
17881
17876
|
/**
|
|
17882
17877
|
* Activate a performance profile
|
|
17883
17878
|
*
|
|
@@ -18211,7 +18206,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18211
18206
|
/**
|
|
18212
18207
|
* GeneralDataProtectionRegulation service.
|
|
18213
18208
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18214
|
-
* @version
|
|
18209
|
+
* @version 148.0.0
|
|
18215
18210
|
*/
|
|
18216
18211
|
|
|
18217
18212
|
/**
|
|
@@ -18341,7 +18336,7 @@ class GeolocationApi {
|
|
|
18341
18336
|
/**
|
|
18342
18337
|
* Geolocation service.
|
|
18343
18338
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18344
|
-
* @version
|
|
18339
|
+
* @version 148.0.0
|
|
18345
18340
|
*/
|
|
18346
18341
|
|
|
18347
18342
|
/**
|
|
@@ -18472,7 +18467,7 @@ class GreetingsApi {
|
|
|
18472
18467
|
/**
|
|
18473
18468
|
* Greetings service.
|
|
18474
18469
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18475
|
-
* @version
|
|
18470
|
+
* @version 148.0.0
|
|
18476
18471
|
*/
|
|
18477
18472
|
|
|
18478
18473
|
/**
|
|
@@ -18927,7 +18922,7 @@ class GroupsApi {
|
|
|
18927
18922
|
/**
|
|
18928
18923
|
* Groups service.
|
|
18929
18924
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18930
|
-
* @version
|
|
18925
|
+
* @version 148.0.0
|
|
18931
18926
|
*/
|
|
18932
18927
|
|
|
18933
18928
|
/**
|
|
@@ -19197,6 +19192,7 @@ class GroupsApi {
|
|
|
19197
19192
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
19198
19193
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19199
19194
|
* @param {Array.<String>} opts.id id
|
|
19195
|
+
* @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
|
|
19200
19196
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
19201
19197
|
*/
|
|
19202
19198
|
getProfilesGroups(opts) {
|
|
@@ -19207,7 +19203,7 @@ class GroupsApi {
|
|
|
19207
19203
|
'/api/v2/profiles/groups',
|
|
19208
19204
|
'GET',
|
|
19209
19205
|
{ },
|
|
19210
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
19206
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
19211
19207
|
{ },
|
|
19212
19208
|
{ },
|
|
19213
19209
|
null,
|
|
@@ -19332,7 +19328,7 @@ class IdentityProviderApi {
|
|
|
19332
19328
|
/**
|
|
19333
19329
|
* IdentityProvider service.
|
|
19334
19330
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19335
|
-
* @version
|
|
19331
|
+
* @version 148.0.0
|
|
19336
19332
|
*/
|
|
19337
19333
|
|
|
19338
19334
|
/**
|
|
@@ -20088,7 +20084,7 @@ class IntegrationsApi {
|
|
|
20088
20084
|
/**
|
|
20089
20085
|
* Integrations service.
|
|
20090
20086
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20091
|
-
* @version
|
|
20087
|
+
* @version 148.0.0
|
|
20092
20088
|
*/
|
|
20093
20089
|
|
|
20094
20090
|
/**
|
|
@@ -20846,59 +20842,6 @@ class IntegrationsApi {
|
|
|
20846
20842
|
);
|
|
20847
20843
|
}
|
|
20848
20844
|
|
|
20849
|
-
/**
|
|
20850
|
-
* List all events
|
|
20851
|
-
*
|
|
20852
|
-
* @param {Object} opts Optional parameters
|
|
20853
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
20854
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20855
|
-
* @param {String} opts.sortBy Sort by (default to timestamp)
|
|
20856
|
-
* @param {String} opts.sortOrder Order by (default to descending)
|
|
20857
|
-
* @param {String} opts.entityId Include only events with this entity ID
|
|
20858
|
-
*/
|
|
20859
|
-
getIntegrationsEventlog(opts) {
|
|
20860
|
-
opts = opts || {};
|
|
20861
|
-
|
|
20862
|
-
|
|
20863
|
-
return this.apiClient.callApi(
|
|
20864
|
-
'/api/v2/integrations/eventlog',
|
|
20865
|
-
'GET',
|
|
20866
|
-
{ },
|
|
20867
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
|
|
20868
|
-
{ },
|
|
20869
|
-
{ },
|
|
20870
|
-
null,
|
|
20871
|
-
['PureCloud OAuth'],
|
|
20872
|
-
['application/json'],
|
|
20873
|
-
['application/json']
|
|
20874
|
-
);
|
|
20875
|
-
}
|
|
20876
|
-
|
|
20877
|
-
/**
|
|
20878
|
-
* Get a single event
|
|
20879
|
-
*
|
|
20880
|
-
* @param {String} eventId Event Id
|
|
20881
|
-
*/
|
|
20882
|
-
getIntegrationsEventlogEventId(eventId) {
|
|
20883
|
-
// verify the required parameter 'eventId' is set
|
|
20884
|
-
if (eventId === undefined || eventId === null) {
|
|
20885
|
-
throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
|
|
20886
|
-
}
|
|
20887
|
-
|
|
20888
|
-
return this.apiClient.callApi(
|
|
20889
|
-
'/api/v2/integrations/eventlog/{eventId}',
|
|
20890
|
-
'GET',
|
|
20891
|
-
{ 'eventId': eventId },
|
|
20892
|
-
{ },
|
|
20893
|
-
{ },
|
|
20894
|
-
{ },
|
|
20895
|
-
null,
|
|
20896
|
-
['PureCloud OAuth'],
|
|
20897
|
-
['application/json'],
|
|
20898
|
-
['application/json']
|
|
20899
|
-
);
|
|
20900
|
-
}
|
|
20901
|
-
|
|
20902
20845
|
/**
|
|
20903
20846
|
* Get details about a Dialogflow agent
|
|
20904
20847
|
*
|
|
@@ -21622,30 +21565,6 @@ class IntegrationsApi {
|
|
|
21622
21565
|
);
|
|
21623
21566
|
}
|
|
21624
21567
|
|
|
21625
|
-
/**
|
|
21626
|
-
* Add a vendor connection
|
|
21627
|
-
*
|
|
21628
|
-
* @param {Object} opts Optional parameters
|
|
21629
|
-
* @param {Object} opts.body
|
|
21630
|
-
*/
|
|
21631
|
-
postIntegrationsWorkforcemanagementVendorconnection(opts) {
|
|
21632
|
-
opts = opts || {};
|
|
21633
|
-
|
|
21634
|
-
|
|
21635
|
-
return this.apiClient.callApi(
|
|
21636
|
-
'/api/v2/integrations/workforcemanagement/vendorconnection',
|
|
21637
|
-
'POST',
|
|
21638
|
-
{ },
|
|
21639
|
-
{ },
|
|
21640
|
-
{ },
|
|
21641
|
-
{ },
|
|
21642
|
-
opts['body'],
|
|
21643
|
-
['PureCloud OAuth'],
|
|
21644
|
-
['application/json'],
|
|
21645
|
-
['application/json']
|
|
21646
|
-
);
|
|
21647
|
-
}
|
|
21648
|
-
|
|
21649
21568
|
/**
|
|
21650
21569
|
* Update integration configuration.
|
|
21651
21570
|
*
|
|
@@ -21765,7 +21684,7 @@ class JourneyApi {
|
|
|
21765
21684
|
/**
|
|
21766
21685
|
* Journey service.
|
|
21767
21686
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21768
|
-
* @version
|
|
21687
|
+
* @version 148.0.0
|
|
21769
21688
|
*/
|
|
21770
21689
|
|
|
21771
21690
|
/**
|
|
@@ -21940,6 +21859,56 @@ class JourneyApi {
|
|
|
21940
21859
|
);
|
|
21941
21860
|
}
|
|
21942
21861
|
|
|
21862
|
+
/**
|
|
21863
|
+
* Get status of job.
|
|
21864
|
+
*
|
|
21865
|
+
* @param {String} jobId ID of the job.
|
|
21866
|
+
*/
|
|
21867
|
+
getJourneyActionmapsEstimatesJob(jobId) {
|
|
21868
|
+
// verify the required parameter 'jobId' is set
|
|
21869
|
+
if (jobId === undefined || jobId === null) {
|
|
21870
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
|
|
21871
|
+
}
|
|
21872
|
+
|
|
21873
|
+
return this.apiClient.callApi(
|
|
21874
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
|
|
21875
|
+
'GET',
|
|
21876
|
+
{ 'jobId': jobId },
|
|
21877
|
+
{ },
|
|
21878
|
+
{ },
|
|
21879
|
+
{ },
|
|
21880
|
+
null,
|
|
21881
|
+
['PureCloud OAuth'],
|
|
21882
|
+
['application/json'],
|
|
21883
|
+
['application/json']
|
|
21884
|
+
);
|
|
21885
|
+
}
|
|
21886
|
+
|
|
21887
|
+
/**
|
|
21888
|
+
* Get estimates from completed job.
|
|
21889
|
+
*
|
|
21890
|
+
* @param {String} jobId ID of the job.
|
|
21891
|
+
*/
|
|
21892
|
+
getJourneyActionmapsEstimatesJobResults(jobId) {
|
|
21893
|
+
// verify the required parameter 'jobId' is set
|
|
21894
|
+
if (jobId === undefined || jobId === null) {
|
|
21895
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
|
|
21896
|
+
}
|
|
21897
|
+
|
|
21898
|
+
return this.apiClient.callApi(
|
|
21899
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
|
|
21900
|
+
'GET',
|
|
21901
|
+
{ 'jobId': jobId },
|
|
21902
|
+
{ },
|
|
21903
|
+
{ },
|
|
21904
|
+
{ },
|
|
21905
|
+
null,
|
|
21906
|
+
['PureCloud OAuth'],
|
|
21907
|
+
['application/json'],
|
|
21908
|
+
['application/json']
|
|
21909
|
+
);
|
|
21910
|
+
}
|
|
21911
|
+
|
|
21943
21912
|
/**
|
|
21944
21913
|
* Retrieve a single action target.
|
|
21945
21914
|
*
|
|
@@ -22398,6 +22367,31 @@ class JourneyApi {
|
|
|
22398
22367
|
);
|
|
22399
22368
|
}
|
|
22400
22369
|
|
|
22370
|
+
/**
|
|
22371
|
+
* Query for estimates
|
|
22372
|
+
*
|
|
22373
|
+
* @param {Object} body audience estimator request
|
|
22374
|
+
*/
|
|
22375
|
+
postJourneyActionmapsEstimatesJobs(body) {
|
|
22376
|
+
// verify the required parameter 'body' is set
|
|
22377
|
+
if (body === undefined || body === null) {
|
|
22378
|
+
throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
|
|
22379
|
+
}
|
|
22380
|
+
|
|
22381
|
+
return this.apiClient.callApi(
|
|
22382
|
+
'/api/v2/journey/actionmaps/estimates/jobs',
|
|
22383
|
+
'POST',
|
|
22384
|
+
{ },
|
|
22385
|
+
{ },
|
|
22386
|
+
{ },
|
|
22387
|
+
{ },
|
|
22388
|
+
body,
|
|
22389
|
+
['PureCloud OAuth'],
|
|
22390
|
+
['application/json'],
|
|
22391
|
+
['application/json']
|
|
22392
|
+
);
|
|
22393
|
+
}
|
|
22394
|
+
|
|
22401
22395
|
/**
|
|
22402
22396
|
* Create a single action template.
|
|
22403
22397
|
*
|
|
@@ -22476,7 +22470,7 @@ class KnowledgeApi {
|
|
|
22476
22470
|
/**
|
|
22477
22471
|
* Knowledge service.
|
|
22478
22472
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22479
|
-
* @version
|
|
22473
|
+
* @version 148.0.0
|
|
22480
22474
|
*/
|
|
22481
22475
|
|
|
22482
22476
|
/**
|
|
@@ -23273,6 +23267,7 @@ class KnowledgeApi {
|
|
|
23273
23267
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23274
23268
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23275
23269
|
* @param {String} opts.interval Retrieves the documents modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
23270
|
+
* @param {Array.<String>} opts.documentId Retrieves the specified documents, comma separated values expected.
|
|
23276
23271
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
23277
23272
|
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
23278
23273
|
* @param {Boolean} opts.includeDrafts If includeDrafts is true, Documents in the draft state are also returned in the response.
|
|
@@ -23291,7 +23286,7 @@ class KnowledgeApi {
|
|
|
23291
23286
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents',
|
|
23292
23287
|
'GET',
|
|
23293
23288
|
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
23294
|
-
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
23289
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'documentId': this.apiClient.buildCollectionParam(opts['documentId'], 'multi'),'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
23295
23290
|
{ },
|
|
23296
23291
|
{ },
|
|
23297
23292
|
null,
|
|
@@ -24908,7 +24903,7 @@ class LanguageUnderstandingApi {
|
|
|
24908
24903
|
/**
|
|
24909
24904
|
* LanguageUnderstanding service.
|
|
24910
24905
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24911
|
-
* @version
|
|
24906
|
+
* @version 148.0.0
|
|
24912
24907
|
*/
|
|
24913
24908
|
|
|
24914
24909
|
/**
|
|
@@ -25812,7 +25807,7 @@ class LanguagesApi {
|
|
|
25812
25807
|
/**
|
|
25813
25808
|
* Languages service.
|
|
25814
25809
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25815
|
-
* @version
|
|
25810
|
+
* @version 148.0.0
|
|
25816
25811
|
*/
|
|
25817
25812
|
|
|
25818
25813
|
/**
|
|
@@ -26080,7 +26075,7 @@ class LearningApi {
|
|
|
26080
26075
|
/**
|
|
26081
26076
|
* Learning service.
|
|
26082
26077
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26083
|
-
* @version
|
|
26078
|
+
* @version 148.0.0
|
|
26084
26079
|
*/
|
|
26085
26080
|
|
|
26086
26081
|
/**
|
|
@@ -26840,7 +26835,7 @@ class LicenseApi {
|
|
|
26840
26835
|
/**
|
|
26841
26836
|
* License service.
|
|
26842
26837
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26843
|
-
* @version
|
|
26838
|
+
* @version 148.0.0
|
|
26844
26839
|
*/
|
|
26845
26840
|
|
|
26846
26841
|
/**
|
|
@@ -27078,7 +27073,7 @@ class LocationsApi {
|
|
|
27078
27073
|
/**
|
|
27079
27074
|
* Locations service.
|
|
27080
27075
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27081
|
-
* @version
|
|
27076
|
+
* @version 148.0.0
|
|
27082
27077
|
*/
|
|
27083
27078
|
|
|
27084
27079
|
/**
|
|
@@ -27314,7 +27309,7 @@ class MessagingApi {
|
|
|
27314
27309
|
/**
|
|
27315
27310
|
* Messaging service.
|
|
27316
27311
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27317
|
-
* @version
|
|
27312
|
+
* @version 148.0.0
|
|
27318
27313
|
*/
|
|
27319
27314
|
|
|
27320
27315
|
/**
|
|
@@ -27465,7 +27460,7 @@ class MobileDevicesApi {
|
|
|
27465
27460
|
/**
|
|
27466
27461
|
* MobileDevices service.
|
|
27467
27462
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27468
|
-
* @version
|
|
27463
|
+
* @version 148.0.0
|
|
27469
27464
|
*/
|
|
27470
27465
|
|
|
27471
27466
|
/**
|
|
@@ -27616,7 +27611,7 @@ class NotificationsApi {
|
|
|
27616
27611
|
/**
|
|
27617
27612
|
* Notifications service.
|
|
27618
27613
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
27619
|
-
* @version
|
|
27614
|
+
* @version 148.0.0
|
|
27620
27615
|
*/
|
|
27621
27616
|
|
|
27622
27617
|
/**
|
|
@@ -27841,7 +27836,7 @@ class OAuthApi {
|
|
|
27841
27836
|
/**
|
|
27842
27837
|
* OAuth service.
|
|
27843
27838
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27844
|
-
* @version
|
|
27839
|
+
* @version 148.0.0
|
|
27845
27840
|
*/
|
|
27846
27841
|
|
|
27847
27842
|
/**
|
|
@@ -28207,7 +28202,7 @@ class ObjectsApi {
|
|
|
28207
28202
|
/**
|
|
28208
28203
|
* Objects service.
|
|
28209
28204
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28210
|
-
* @version
|
|
28205
|
+
* @version 148.0.0
|
|
28211
28206
|
*/
|
|
28212
28207
|
|
|
28213
28208
|
/**
|
|
@@ -28478,7 +28473,7 @@ class OrganizationApi {
|
|
|
28478
28473
|
/**
|
|
28479
28474
|
* Organization service.
|
|
28480
28475
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28481
|
-
* @version
|
|
28476
|
+
* @version 148.0.0
|
|
28482
28477
|
*/
|
|
28483
28478
|
|
|
28484
28479
|
/**
|
|
@@ -28881,7 +28876,7 @@ class OrganizationAuthorizationApi {
|
|
|
28881
28876
|
/**
|
|
28882
28877
|
* OrganizationAuthorization service.
|
|
28883
28878
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28884
|
-
* @version
|
|
28879
|
+
* @version 148.0.0
|
|
28885
28880
|
*/
|
|
28886
28881
|
|
|
28887
28882
|
/**
|
|
@@ -29806,7 +29801,7 @@ class OutboundApi {
|
|
|
29806
29801
|
/**
|
|
29807
29802
|
* Outbound service.
|
|
29808
29803
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29809
|
-
* @version
|
|
29804
|
+
* @version 148.0.0
|
|
29810
29805
|
*/
|
|
29811
29806
|
|
|
29812
29807
|
/**
|
|
@@ -30106,6 +30101,31 @@ class OutboundApi {
|
|
|
30106
30101
|
);
|
|
30107
30102
|
}
|
|
30108
30103
|
|
|
30104
|
+
/**
|
|
30105
|
+
* Delete an Outbound Digital Rule Set
|
|
30106
|
+
*
|
|
30107
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
30108
|
+
*/
|
|
30109
|
+
deleteOutboundDigitalruleset(digitalRuleSetId) {
|
|
30110
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
30111
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
30112
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';
|
|
30113
|
+
}
|
|
30114
|
+
|
|
30115
|
+
return this.apiClient.callApi(
|
|
30116
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
30117
|
+
'DELETE',
|
|
30118
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
30119
|
+
{ },
|
|
30120
|
+
{ },
|
|
30121
|
+
{ },
|
|
30122
|
+
null,
|
|
30123
|
+
['PureCloud OAuth'],
|
|
30124
|
+
['application/json'],
|
|
30125
|
+
['application/json']
|
|
30126
|
+
);
|
|
30127
|
+
}
|
|
30128
|
+
|
|
30109
30129
|
/**
|
|
30110
30130
|
* Delete dialer DNC list
|
|
30111
30131
|
*
|
|
@@ -31143,6 +31163,60 @@ class OutboundApi {
|
|
|
31143
31163
|
);
|
|
31144
31164
|
}
|
|
31145
31165
|
|
|
31166
|
+
/**
|
|
31167
|
+
* Get an Outbound Digital Rule Set
|
|
31168
|
+
*
|
|
31169
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
31170
|
+
*/
|
|
31171
|
+
getOutboundDigitalruleset(digitalRuleSetId) {
|
|
31172
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
31173
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
31174
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';
|
|
31175
|
+
}
|
|
31176
|
+
|
|
31177
|
+
return this.apiClient.callApi(
|
|
31178
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
31179
|
+
'GET',
|
|
31180
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
31181
|
+
{ },
|
|
31182
|
+
{ },
|
|
31183
|
+
{ },
|
|
31184
|
+
null,
|
|
31185
|
+
['PureCloud OAuth'],
|
|
31186
|
+
['application/json'],
|
|
31187
|
+
['application/json']
|
|
31188
|
+
);
|
|
31189
|
+
}
|
|
31190
|
+
|
|
31191
|
+
/**
|
|
31192
|
+
* Query a list of Outbound Digital Rule Sets
|
|
31193
|
+
*
|
|
31194
|
+
* @param {Object} opts Optional parameters
|
|
31195
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
31196
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
31197
|
+
* @param {Object} opts.sortBy The field to sort by (default to name)
|
|
31198
|
+
* @param {Object} opts.sortOrder The direction to sort (default to ascending)
|
|
31199
|
+
* @param {String} opts.name Name
|
|
31200
|
+
* @param {Array.<String>} opts.id A list of digital rule set ids to bulk fetch
|
|
31201
|
+
*/
|
|
31202
|
+
getOutboundDigitalrulesets(opts) {
|
|
31203
|
+
opts = opts || {};
|
|
31204
|
+
|
|
31205
|
+
|
|
31206
|
+
return this.apiClient.callApi(
|
|
31207
|
+
'/api/v2/outbound/digitalrulesets',
|
|
31208
|
+
'GET',
|
|
31209
|
+
{ },
|
|
31210
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
31211
|
+
{ },
|
|
31212
|
+
{ },
|
|
31213
|
+
null,
|
|
31214
|
+
['PureCloud OAuth'],
|
|
31215
|
+
['application/json'],
|
|
31216
|
+
['application/json']
|
|
31217
|
+
);
|
|
31218
|
+
}
|
|
31219
|
+
|
|
31146
31220
|
/**
|
|
31147
31221
|
* Get dialer DNC list
|
|
31148
31222
|
*
|
|
@@ -32326,6 +32400,31 @@ class OutboundApi {
|
|
|
32326
32400
|
);
|
|
32327
32401
|
}
|
|
32328
32402
|
|
|
32403
|
+
/**
|
|
32404
|
+
* Create an Outbound Digital Rule Set
|
|
32405
|
+
*
|
|
32406
|
+
* @param {Object} body Digital Rule Set
|
|
32407
|
+
*/
|
|
32408
|
+
postOutboundDigitalrulesets(body) {
|
|
32409
|
+
// verify the required parameter 'body' is set
|
|
32410
|
+
if (body === undefined || body === null) {
|
|
32411
|
+
throw 'Missing the required parameter "body" when calling postOutboundDigitalrulesets';
|
|
32412
|
+
}
|
|
32413
|
+
|
|
32414
|
+
return this.apiClient.callApi(
|
|
32415
|
+
'/api/v2/outbound/digitalrulesets',
|
|
32416
|
+
'POST',
|
|
32417
|
+
{ },
|
|
32418
|
+
{ },
|
|
32419
|
+
{ },
|
|
32420
|
+
{ },
|
|
32421
|
+
body,
|
|
32422
|
+
['PureCloud OAuth'],
|
|
32423
|
+
['application/json'],
|
|
32424
|
+
['application/json']
|
|
32425
|
+
);
|
|
32426
|
+
}
|
|
32427
|
+
|
|
32329
32428
|
/**
|
|
32330
32429
|
* Initiate the export of a dnc list.
|
|
32331
32430
|
* Returns 200 if received OK.
|
|
@@ -32790,6 +32889,36 @@ class OutboundApi {
|
|
|
32790
32889
|
);
|
|
32791
32890
|
}
|
|
32792
32891
|
|
|
32892
|
+
/**
|
|
32893
|
+
* Update an Outbound Digital Rule Set
|
|
32894
|
+
*
|
|
32895
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
32896
|
+
* @param {Object} body Digital Rule Set
|
|
32897
|
+
*/
|
|
32898
|
+
putOutboundDigitalruleset(digitalRuleSetId, body) {
|
|
32899
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
32900
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
32901
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';
|
|
32902
|
+
}
|
|
32903
|
+
// verify the required parameter 'body' is set
|
|
32904
|
+
if (body === undefined || body === null) {
|
|
32905
|
+
throw 'Missing the required parameter "body" when calling putOutboundDigitalruleset';
|
|
32906
|
+
}
|
|
32907
|
+
|
|
32908
|
+
return this.apiClient.callApi(
|
|
32909
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
32910
|
+
'PUT',
|
|
32911
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
32912
|
+
{ },
|
|
32913
|
+
{ },
|
|
32914
|
+
{ },
|
|
32915
|
+
body,
|
|
32916
|
+
['PureCloud OAuth'],
|
|
32917
|
+
['application/json'],
|
|
32918
|
+
['application/json']
|
|
32919
|
+
);
|
|
32920
|
+
}
|
|
32921
|
+
|
|
32793
32922
|
/**
|
|
32794
32923
|
* Update dialer DNC list
|
|
32795
32924
|
*
|
|
@@ -33061,7 +33190,7 @@ class PresenceApi {
|
|
|
33061
33190
|
/**
|
|
33062
33191
|
* Presence service.
|
|
33063
33192
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33064
|
-
* @version
|
|
33193
|
+
* @version 148.0.0
|
|
33065
33194
|
*/
|
|
33066
33195
|
|
|
33067
33196
|
/**
|
|
@@ -33379,11 +33508,249 @@ class PresenceApi {
|
|
|
33379
33508
|
|
|
33380
33509
|
}
|
|
33381
33510
|
|
|
33511
|
+
class ProcessAutomationApi {
|
|
33512
|
+
/**
|
|
33513
|
+
* ProcessAutomation service.
|
|
33514
|
+
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
33515
|
+
* @version 148.0.0
|
|
33516
|
+
*/
|
|
33517
|
+
|
|
33518
|
+
/**
|
|
33519
|
+
* Constructs a new ProcessAutomationApi.
|
|
33520
|
+
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
33521
|
+
* @class
|
|
33522
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
33523
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
33524
|
+
*/
|
|
33525
|
+
constructor(apiClient) {
|
|
33526
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
33527
|
+
}
|
|
33528
|
+
|
|
33529
|
+
|
|
33530
|
+
/**
|
|
33531
|
+
* Delete a Trigger
|
|
33532
|
+
*
|
|
33533
|
+
* @param {String} triggerId triggerId
|
|
33534
|
+
*/
|
|
33535
|
+
deleteProcessautomationTrigger(triggerId) {
|
|
33536
|
+
// verify the required parameter 'triggerId' is set
|
|
33537
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33538
|
+
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
33539
|
+
}
|
|
33540
|
+
|
|
33541
|
+
return this.apiClient.callApi(
|
|
33542
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33543
|
+
'DELETE',
|
|
33544
|
+
{ 'triggerId': triggerId },
|
|
33545
|
+
{ },
|
|
33546
|
+
{ },
|
|
33547
|
+
{ },
|
|
33548
|
+
null,
|
|
33549
|
+
['PureCloud OAuth'],
|
|
33550
|
+
['application/json'],
|
|
33551
|
+
['application/json']
|
|
33552
|
+
);
|
|
33553
|
+
}
|
|
33554
|
+
|
|
33555
|
+
/**
|
|
33556
|
+
* Retrieve a single Trigger matching id.
|
|
33557
|
+
*
|
|
33558
|
+
* @param {String} triggerId triggerId
|
|
33559
|
+
*/
|
|
33560
|
+
getProcessautomationTrigger(triggerId) {
|
|
33561
|
+
// verify the required parameter 'triggerId' is set
|
|
33562
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33563
|
+
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
33564
|
+
}
|
|
33565
|
+
|
|
33566
|
+
return this.apiClient.callApi(
|
|
33567
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33568
|
+
'GET',
|
|
33569
|
+
{ 'triggerId': triggerId },
|
|
33570
|
+
{ },
|
|
33571
|
+
{ },
|
|
33572
|
+
{ },
|
|
33573
|
+
null,
|
|
33574
|
+
['PureCloud OAuth'],
|
|
33575
|
+
['application/json'],
|
|
33576
|
+
['application/json']
|
|
33577
|
+
);
|
|
33578
|
+
}
|
|
33579
|
+
|
|
33580
|
+
/**
|
|
33581
|
+
* Retrieves all triggers
|
|
33582
|
+
*
|
|
33583
|
+
* @param {Object} opts Optional parameters
|
|
33584
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
33585
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
33586
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
33587
|
+
* @param {String} opts.topicName Topic name
|
|
33588
|
+
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
33589
|
+
*/
|
|
33590
|
+
getProcessautomationTriggers(opts) {
|
|
33591
|
+
opts = opts || {};
|
|
33592
|
+
|
|
33593
|
+
|
|
33594
|
+
return this.apiClient.callApi(
|
|
33595
|
+
'/api/v2/processautomation/triggers',
|
|
33596
|
+
'GET',
|
|
33597
|
+
{ },
|
|
33598
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
33599
|
+
{ },
|
|
33600
|
+
{ },
|
|
33601
|
+
null,
|
|
33602
|
+
['PureCloud OAuth'],
|
|
33603
|
+
['application/json'],
|
|
33604
|
+
['application/json']
|
|
33605
|
+
);
|
|
33606
|
+
}
|
|
33607
|
+
|
|
33608
|
+
/**
|
|
33609
|
+
* Get topics available for organization
|
|
33610
|
+
*
|
|
33611
|
+
* @param {Object} opts Optional parameters
|
|
33612
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
33613
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
33614
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
33615
|
+
*/
|
|
33616
|
+
getProcessautomationTriggersTopics(opts) {
|
|
33617
|
+
opts = opts || {};
|
|
33618
|
+
|
|
33619
|
+
|
|
33620
|
+
return this.apiClient.callApi(
|
|
33621
|
+
'/api/v2/processautomation/triggers/topics',
|
|
33622
|
+
'GET',
|
|
33623
|
+
{ },
|
|
33624
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
33625
|
+
{ },
|
|
33626
|
+
{ },
|
|
33627
|
+
null,
|
|
33628
|
+
['PureCloud OAuth'],
|
|
33629
|
+
['application/json'],
|
|
33630
|
+
['application/json']
|
|
33631
|
+
);
|
|
33632
|
+
}
|
|
33633
|
+
|
|
33634
|
+
/**
|
|
33635
|
+
* Test the matching of a Trigger based on provided event body
|
|
33636
|
+
*
|
|
33637
|
+
* @param {String} triggerId triggerId
|
|
33638
|
+
* @param {Object} opts Optional parameters
|
|
33639
|
+
* @param {String} opts.body eventBody
|
|
33640
|
+
*/
|
|
33641
|
+
postProcessautomationTriggerTest(triggerId, opts) {
|
|
33642
|
+
opts = opts || {};
|
|
33643
|
+
|
|
33644
|
+
// verify the required parameter 'triggerId' is set
|
|
33645
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33646
|
+
throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
|
|
33647
|
+
}
|
|
33648
|
+
|
|
33649
|
+
return this.apiClient.callApi(
|
|
33650
|
+
'/api/v2/processautomation/triggers/{triggerId}/test',
|
|
33651
|
+
'POST',
|
|
33652
|
+
{ 'triggerId': triggerId },
|
|
33653
|
+
{ },
|
|
33654
|
+
{ },
|
|
33655
|
+
{ },
|
|
33656
|
+
opts['body'],
|
|
33657
|
+
['PureCloud OAuth'],
|
|
33658
|
+
['application/json'],
|
|
33659
|
+
['application/json']
|
|
33660
|
+
);
|
|
33661
|
+
}
|
|
33662
|
+
|
|
33663
|
+
/**
|
|
33664
|
+
* Create a Trigger
|
|
33665
|
+
*
|
|
33666
|
+
* @param {Object} body Input used to create a Trigger.
|
|
33667
|
+
*/
|
|
33668
|
+
postProcessautomationTriggers(body) {
|
|
33669
|
+
// verify the required parameter 'body' is set
|
|
33670
|
+
if (body === undefined || body === null) {
|
|
33671
|
+
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
33672
|
+
}
|
|
33673
|
+
|
|
33674
|
+
return this.apiClient.callApi(
|
|
33675
|
+
'/api/v2/processautomation/triggers',
|
|
33676
|
+
'POST',
|
|
33677
|
+
{ },
|
|
33678
|
+
{ },
|
|
33679
|
+
{ },
|
|
33680
|
+
{ },
|
|
33681
|
+
body,
|
|
33682
|
+
['PureCloud OAuth'],
|
|
33683
|
+
['application/json'],
|
|
33684
|
+
['application/json']
|
|
33685
|
+
);
|
|
33686
|
+
}
|
|
33687
|
+
|
|
33688
|
+
/**
|
|
33689
|
+
* Test the matching of all organization Triggers on given topic using provided event body
|
|
33690
|
+
*
|
|
33691
|
+
* @param {String} topicName topicName
|
|
33692
|
+
* @param {Object} opts Optional parameters
|
|
33693
|
+
* @param {String} opts.body eventBody
|
|
33694
|
+
*/
|
|
33695
|
+
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
33696
|
+
opts = opts || {};
|
|
33697
|
+
|
|
33698
|
+
// verify the required parameter 'topicName' is set
|
|
33699
|
+
if (topicName === undefined || topicName === null) {
|
|
33700
|
+
throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
|
|
33701
|
+
}
|
|
33702
|
+
|
|
33703
|
+
return this.apiClient.callApi(
|
|
33704
|
+
'/api/v2/processautomation/triggers/topics/{topicName}/test',
|
|
33705
|
+
'POST',
|
|
33706
|
+
{ 'topicName': topicName },
|
|
33707
|
+
{ },
|
|
33708
|
+
{ },
|
|
33709
|
+
{ },
|
|
33710
|
+
opts['body'],
|
|
33711
|
+
['PureCloud OAuth'],
|
|
33712
|
+
['application/json'],
|
|
33713
|
+
['application/json']
|
|
33714
|
+
);
|
|
33715
|
+
}
|
|
33716
|
+
|
|
33717
|
+
/**
|
|
33718
|
+
* Update a Trigger
|
|
33719
|
+
*
|
|
33720
|
+
* @param {String} triggerId triggerId
|
|
33721
|
+
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
33722
|
+
*/
|
|
33723
|
+
putProcessautomationTrigger(triggerId, body) {
|
|
33724
|
+
// verify the required parameter 'triggerId' is set
|
|
33725
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33726
|
+
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
33727
|
+
}
|
|
33728
|
+
// verify the required parameter 'body' is set
|
|
33729
|
+
if (body === undefined || body === null) {
|
|
33730
|
+
throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
|
|
33731
|
+
}
|
|
33732
|
+
|
|
33733
|
+
return this.apiClient.callApi(
|
|
33734
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33735
|
+
'PUT',
|
|
33736
|
+
{ 'triggerId': triggerId },
|
|
33737
|
+
{ },
|
|
33738
|
+
{ },
|
|
33739
|
+
{ },
|
|
33740
|
+
body,
|
|
33741
|
+
['PureCloud OAuth'],
|
|
33742
|
+
['application/json'],
|
|
33743
|
+
['application/json']
|
|
33744
|
+
);
|
|
33745
|
+
}
|
|
33746
|
+
|
|
33747
|
+
}
|
|
33748
|
+
|
|
33382
33749
|
class QualityApi {
|
|
33383
33750
|
/**
|
|
33384
33751
|
* Quality service.
|
|
33385
33752
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
33386
|
-
* @version
|
|
33753
|
+
* @version 148.0.0
|
|
33387
33754
|
*/
|
|
33388
33755
|
|
|
33389
33756
|
/**
|
|
@@ -33893,7 +34260,7 @@ class QualityApi {
|
|
|
33893
34260
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
33894
34261
|
* @param {String} opts.nextPage next page token
|
|
33895
34262
|
* @param {String} opts.previousPage Previous page token
|
|
33896
|
-
* @param {
|
|
34263
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
33897
34264
|
* @param {String} opts.name Name
|
|
33898
34265
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
33899
34266
|
*/
|
|
@@ -33980,7 +34347,7 @@ class QualityApi {
|
|
|
33980
34347
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
33981
34348
|
* @param {String} opts.nextPage next page token
|
|
33982
34349
|
* @param {String} opts.previousPage Previous page token
|
|
33983
|
-
* @param {
|
|
34350
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
33984
34351
|
* @param {String} opts.name Name
|
|
33985
34352
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
33986
34353
|
*/
|
|
@@ -34091,7 +34458,7 @@ class QualityApi {
|
|
|
34091
34458
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
34092
34459
|
* @param {String} opts.nextPage next page token
|
|
34093
34460
|
* @param {String} opts.previousPage Previous page token
|
|
34094
|
-
* @param {
|
|
34461
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
34095
34462
|
* @param {String} opts.name Name
|
|
34096
34463
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
34097
34464
|
*/
|
|
@@ -34961,7 +35328,7 @@ class RecordingApi {
|
|
|
34961
35328
|
/**
|
|
34962
35329
|
* Recording service.
|
|
34963
35330
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
34964
|
-
* @version
|
|
35331
|
+
* @version 148.0.0
|
|
34965
35332
|
*/
|
|
34966
35333
|
|
|
34967
35334
|
/**
|
|
@@ -35835,6 +36202,36 @@ class RecordingApi {
|
|
|
35835
36202
|
);
|
|
35836
36203
|
}
|
|
35837
36204
|
|
|
36205
|
+
/**
|
|
36206
|
+
* Query for recording retention data
|
|
36207
|
+
*
|
|
36208
|
+
* @param {Number} retentionThresholdDays Fetch retention data for recordings retained for more days than the provided value.
|
|
36209
|
+
* @param {Object} opts Optional parameters
|
|
36210
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
36211
|
+
* @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
|
|
36212
|
+
*/
|
|
36213
|
+
getRecordingsRetentionQuery(retentionThresholdDays, opts) {
|
|
36214
|
+
opts = opts || {};
|
|
36215
|
+
|
|
36216
|
+
// verify the required parameter 'retentionThresholdDays' is set
|
|
36217
|
+
if (retentionThresholdDays === undefined || retentionThresholdDays === null) {
|
|
36218
|
+
throw 'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';
|
|
36219
|
+
}
|
|
36220
|
+
|
|
36221
|
+
return this.apiClient.callApi(
|
|
36222
|
+
'/api/v2/recordings/retention/query',
|
|
36223
|
+
'GET',
|
|
36224
|
+
{ },
|
|
36225
|
+
{ 'retentionThresholdDays': retentionThresholdDays,'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
|
|
36226
|
+
{ },
|
|
36227
|
+
{ },
|
|
36228
|
+
null,
|
|
36229
|
+
['PureCloud OAuth'],
|
|
36230
|
+
['application/json'],
|
|
36231
|
+
['application/json']
|
|
36232
|
+
);
|
|
36233
|
+
}
|
|
36234
|
+
|
|
35838
36235
|
/**
|
|
35839
36236
|
* Retrieves a paged listing of screen recording sessions
|
|
35840
36237
|
*
|
|
@@ -36614,7 +37011,7 @@ class ResponseManagementApi {
|
|
|
36614
37011
|
/**
|
|
36615
37012
|
* ResponseManagement service.
|
|
36616
37013
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
36617
|
-
* @version
|
|
37014
|
+
* @version 148.0.0
|
|
36618
37015
|
*/
|
|
36619
37016
|
|
|
36620
37017
|
/**
|
|
@@ -37098,7 +37495,7 @@ class RoutingApi {
|
|
|
37098
37495
|
/**
|
|
37099
37496
|
* Routing service.
|
|
37100
37497
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
37101
|
-
* @version
|
|
37498
|
+
* @version 148.0.0
|
|
37102
37499
|
*/
|
|
37103
37500
|
|
|
37104
37501
|
/**
|
|
@@ -40039,7 +40436,7 @@ class SCIMApi {
|
|
|
40039
40436
|
/**
|
|
40040
40437
|
* SCIM service.
|
|
40041
40438
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
40042
|
-
* @version
|
|
40439
|
+
* @version 148.0.0
|
|
40043
40440
|
*/
|
|
40044
40441
|
|
|
40045
40442
|
/**
|
|
@@ -40916,7 +41313,7 @@ class ScriptsApi {
|
|
|
40916
41313
|
/**
|
|
40917
41314
|
* Scripts service.
|
|
40918
41315
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
40919
|
-
* @version
|
|
41316
|
+
* @version 148.0.0
|
|
40920
41317
|
*/
|
|
40921
41318
|
|
|
40922
41319
|
/**
|
|
@@ -41335,7 +41732,7 @@ class SearchApi {
|
|
|
41335
41732
|
/**
|
|
41336
41733
|
* Search service.
|
|
41337
41734
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
41338
|
-
* @version
|
|
41735
|
+
* @version 148.0.0
|
|
41339
41736
|
*/
|
|
41340
41737
|
|
|
41341
41738
|
/**
|
|
@@ -41895,7 +42292,7 @@ class SpeechTextAnalyticsApi {
|
|
|
41895
42292
|
/**
|
|
41896
42293
|
* SpeechTextAnalytics service.
|
|
41897
42294
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
41898
|
-
* @version
|
|
42295
|
+
* @version 148.0.0
|
|
41899
42296
|
*/
|
|
41900
42297
|
|
|
41901
42298
|
/**
|
|
@@ -42749,7 +43146,7 @@ class StationsApi {
|
|
|
42749
43146
|
/**
|
|
42750
43147
|
* Stations service.
|
|
42751
43148
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42752
|
-
* @version
|
|
43149
|
+
* @version 148.0.0
|
|
42753
43150
|
*/
|
|
42754
43151
|
|
|
42755
43152
|
/**
|
|
@@ -42896,7 +43293,7 @@ class SuggestApi {
|
|
|
42896
43293
|
/**
|
|
42897
43294
|
* Suggest service.
|
|
42898
43295
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
42899
|
-
* @version
|
|
43296
|
+
* @version 148.0.0
|
|
42900
43297
|
*/
|
|
42901
43298
|
|
|
42902
43299
|
/**
|
|
@@ -43035,7 +43432,7 @@ class TeamsApi {
|
|
|
43035
43432
|
/**
|
|
43036
43433
|
* Teams service.
|
|
43037
43434
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
43038
|
-
* @version
|
|
43435
|
+
* @version 148.0.0
|
|
43039
43436
|
*/
|
|
43040
43437
|
|
|
43041
43438
|
/**
|
|
@@ -43214,7 +43611,7 @@ class TelephonyApi {
|
|
|
43214
43611
|
/**
|
|
43215
43612
|
* Telephony service.
|
|
43216
43613
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
43217
|
-
* @version
|
|
43614
|
+
* @version 148.0.0
|
|
43218
43615
|
*/
|
|
43219
43616
|
|
|
43220
43617
|
/**
|
|
@@ -43322,7 +43719,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
43322
43719
|
/**
|
|
43323
43720
|
* TelephonyProvidersEdge service.
|
|
43324
43721
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
43325
|
-
* @version
|
|
43722
|
+
* @version 148.0.0
|
|
43326
43723
|
*/
|
|
43327
43724
|
|
|
43328
43725
|
/**
|
|
@@ -46955,7 +47352,7 @@ class TextbotsApi {
|
|
|
46955
47352
|
/**
|
|
46956
47353
|
* Textbots service.
|
|
46957
47354
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
46958
|
-
* @version
|
|
47355
|
+
* @version 148.0.0
|
|
46959
47356
|
*/
|
|
46960
47357
|
|
|
46961
47358
|
/**
|
|
@@ -47083,7 +47480,7 @@ class TokensApi {
|
|
|
47083
47480
|
/**
|
|
47084
47481
|
* Tokens service.
|
|
47085
47482
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
47086
|
-
* @version
|
|
47483
|
+
* @version 148.0.0
|
|
47087
47484
|
*/
|
|
47088
47485
|
|
|
47089
47486
|
/**
|
|
@@ -47189,7 +47586,7 @@ class UploadsApi {
|
|
|
47189
47586
|
/**
|
|
47190
47587
|
* Uploads service.
|
|
47191
47588
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
47192
|
-
* @version
|
|
47589
|
+
* @version 148.0.0
|
|
47193
47590
|
*/
|
|
47194
47591
|
|
|
47195
47592
|
/**
|
|
@@ -47365,7 +47762,7 @@ class UsageApi {
|
|
|
47365
47762
|
/**
|
|
47366
47763
|
* Usage service.
|
|
47367
47764
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
47368
|
-
* @version
|
|
47765
|
+
* @version 148.0.0
|
|
47369
47766
|
*/
|
|
47370
47767
|
|
|
47371
47768
|
/**
|
|
@@ -47436,7 +47833,7 @@ class UserRecordingsApi {
|
|
|
47436
47833
|
/**
|
|
47437
47834
|
* UserRecordings service.
|
|
47438
47835
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
47439
|
-
* @version
|
|
47836
|
+
* @version 148.0.0
|
|
47440
47837
|
*/
|
|
47441
47838
|
|
|
47442
47839
|
/**
|
|
@@ -47511,6 +47908,7 @@ class UserRecordingsApi {
|
|
|
47511
47908
|
* @param {String} recordingId User Recording ID
|
|
47512
47909
|
* @param {Object} opts Optional parameters
|
|
47513
47910
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
47911
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
47514
47912
|
*/
|
|
47515
47913
|
getUserrecordingMedia(recordingId, opts) {
|
|
47516
47914
|
opts = opts || {};
|
|
@@ -47524,7 +47922,7 @@ class UserRecordingsApi {
|
|
|
47524
47922
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
47525
47923
|
'GET',
|
|
47526
47924
|
{ 'recordingId': recordingId },
|
|
47527
|
-
{ 'formatId': opts['formatId'] },
|
|
47925
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
47528
47926
|
{ },
|
|
47529
47927
|
{ },
|
|
47530
47928
|
null,
|
|
@@ -47620,7 +48018,7 @@ class UsersApi {
|
|
|
47620
48018
|
/**
|
|
47621
48019
|
* Users service.
|
|
47622
48020
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
47623
|
-
* @version
|
|
48021
|
+
* @version 148.0.0
|
|
47624
48022
|
*/
|
|
47625
48023
|
|
|
47626
48024
|
/**
|
|
@@ -49362,6 +49760,36 @@ class UsersApi {
|
|
|
49362
49760
|
);
|
|
49363
49761
|
}
|
|
49364
49762
|
|
|
49763
|
+
/**
|
|
49764
|
+
* Create mapping between external identifier and user. Limit 100 per entity.
|
|
49765
|
+
* Authority Name and External key are case sensitive.
|
|
49766
|
+
* @param {String} userId User ID
|
|
49767
|
+
* @param {Object} body
|
|
49768
|
+
*/
|
|
49769
|
+
postUserExternalid(userId, body) {
|
|
49770
|
+
// verify the required parameter 'userId' is set
|
|
49771
|
+
if (userId === undefined || userId === null) {
|
|
49772
|
+
throw 'Missing the required parameter "userId" when calling postUserExternalid';
|
|
49773
|
+
}
|
|
49774
|
+
// verify the required parameter 'body' is set
|
|
49775
|
+
if (body === undefined || body === null) {
|
|
49776
|
+
throw 'Missing the required parameter "body" when calling postUserExternalid';
|
|
49777
|
+
}
|
|
49778
|
+
|
|
49779
|
+
return this.apiClient.callApi(
|
|
49780
|
+
'/api/v2/users/{userId}/externalid',
|
|
49781
|
+
'POST',
|
|
49782
|
+
{ 'userId': userId },
|
|
49783
|
+
{ },
|
|
49784
|
+
{ },
|
|
49785
|
+
{ },
|
|
49786
|
+
body,
|
|
49787
|
+
['PureCloud OAuth'],
|
|
49788
|
+
['application/json'],
|
|
49789
|
+
['application/json']
|
|
49790
|
+
);
|
|
49791
|
+
}
|
|
49792
|
+
|
|
49365
49793
|
/**
|
|
49366
49794
|
* Send an activation email to the user
|
|
49367
49795
|
*
|
|
@@ -49922,7 +50350,7 @@ class UtilitiesApi {
|
|
|
49922
50350
|
/**
|
|
49923
50351
|
* Utilities service.
|
|
49924
50352
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
49925
|
-
* @version
|
|
50353
|
+
* @version 148.0.0
|
|
49926
50354
|
*/
|
|
49927
50355
|
|
|
49928
50356
|
/**
|
|
@@ -50033,7 +50461,7 @@ class VoicemailApi {
|
|
|
50033
50461
|
/**
|
|
50034
50462
|
* Voicemail service.
|
|
50035
50463
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
50036
|
-
* @version
|
|
50464
|
+
* @version 148.0.0
|
|
50037
50465
|
*/
|
|
50038
50466
|
|
|
50039
50467
|
/**
|
|
@@ -50700,7 +51128,7 @@ class WebChatApi {
|
|
|
50700
51128
|
/**
|
|
50701
51129
|
* WebChat service.
|
|
50702
51130
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
50703
|
-
* @version
|
|
51131
|
+
* @version 148.0.0
|
|
50704
51132
|
*/
|
|
50705
51133
|
|
|
50706
51134
|
/**
|
|
@@ -51244,7 +51672,7 @@ class WebDeploymentsApi {
|
|
|
51244
51672
|
/**
|
|
51245
51673
|
* WebDeployments service.
|
|
51246
51674
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
51247
|
-
* @version
|
|
51675
|
+
* @version 148.0.0
|
|
51248
51676
|
*/
|
|
51249
51677
|
|
|
51250
51678
|
/**
|
|
@@ -51438,6 +51866,35 @@ class WebDeploymentsApi {
|
|
|
51438
51866
|
);
|
|
51439
51867
|
}
|
|
51440
51868
|
|
|
51869
|
+
/**
|
|
51870
|
+
* Get active configuration for a given deployment
|
|
51871
|
+
*
|
|
51872
|
+
* @param {String} deploymentId The deployment ID
|
|
51873
|
+
* @param {Object} opts Optional parameters
|
|
51874
|
+
* @param {String} opts.type Get active configuration on a deployment
|
|
51875
|
+
*/
|
|
51876
|
+
getWebdeploymentsDeploymentConfigurations(deploymentId, opts) {
|
|
51877
|
+
opts = opts || {};
|
|
51878
|
+
|
|
51879
|
+
// verify the required parameter 'deploymentId' is set
|
|
51880
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
51881
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
|
|
51882
|
+
}
|
|
51883
|
+
|
|
51884
|
+
return this.apiClient.callApi(
|
|
51885
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/configurations',
|
|
51886
|
+
'GET',
|
|
51887
|
+
{ 'deploymentId': deploymentId },
|
|
51888
|
+
{ 'type': opts['type'] },
|
|
51889
|
+
{ },
|
|
51890
|
+
{ },
|
|
51891
|
+
null,
|
|
51892
|
+
['PureCloud OAuth'],
|
|
51893
|
+
['application/json'],
|
|
51894
|
+
['application/json']
|
|
51895
|
+
);
|
|
51896
|
+
}
|
|
51897
|
+
|
|
51441
51898
|
/**
|
|
51442
51899
|
* Get deployments
|
|
51443
51900
|
*
|
|
@@ -51599,7 +52056,7 @@ class WebMessagingApi {
|
|
|
51599
52056
|
/**
|
|
51600
52057
|
* WebMessaging service.
|
|
51601
52058
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
51602
|
-
* @version
|
|
52059
|
+
* @version 148.0.0
|
|
51603
52060
|
*/
|
|
51604
52061
|
|
|
51605
52062
|
/**
|
|
@@ -51645,7 +52102,7 @@ class WidgetsApi {
|
|
|
51645
52102
|
/**
|
|
51646
52103
|
* Widgets service.
|
|
51647
52104
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
51648
|
-
* @version
|
|
52105
|
+
* @version 148.0.0
|
|
51649
52106
|
*/
|
|
51650
52107
|
|
|
51651
52108
|
/**
|
|
@@ -51791,7 +52248,7 @@ class WorkforceManagementApi {
|
|
|
51791
52248
|
/**
|
|
51792
52249
|
* WorkforceManagement service.
|
|
51793
52250
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
51794
|
-
* @version
|
|
52251
|
+
* @version 148.0.0
|
|
51795
52252
|
*/
|
|
51796
52253
|
|
|
51797
52254
|
/**
|
|
@@ -56067,7 +56524,7 @@ class WorkforceManagementApi {
|
|
|
56067
56524
|
* </pre>
|
|
56068
56525
|
* </p>
|
|
56069
56526
|
* @module purecloud-platform-client-v2/index
|
|
56070
|
-
* @version
|
|
56527
|
+
* @version 148.0.0
|
|
56071
56528
|
*/
|
|
56072
56529
|
class platformClient {
|
|
56073
56530
|
constructor() {
|
|
@@ -56266,6 +56723,11 @@ class platformClient {
|
|
|
56266
56723
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
56267
56724
|
*/
|
|
56268
56725
|
this.PresenceApi = PresenceApi;
|
|
56726
|
+
/**
|
|
56727
|
+
* The ProcessAutomationApi service constructor.
|
|
56728
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
56729
|
+
*/
|
|
56730
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
56269
56731
|
/**
|
|
56270
56732
|
* The QualityApi service constructor.
|
|
56271
56733
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|