purecloud-platform-client-v2 146.0.0 → 147.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 +338 -69
- package/dist/web-amd/purecloud-platform-client-v2.js +338 -69
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +338 -69
- package/dist/web-cjs/purecloud-platform-client-v2.js +338 -69
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +448 -233
- 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 -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 +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/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 +1 -1
- 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 +1 -1
|
@@ -9307,7 +9307,7 @@ class Configuration {
|
|
|
9307
9307
|
|
|
9308
9308
|
/**
|
|
9309
9309
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9310
|
-
* @version
|
|
9310
|
+
* @version 147.0.0
|
|
9311
9311
|
*/
|
|
9312
9312
|
class ApiClient {
|
|
9313
9313
|
/**
|
|
@@ -10379,7 +10379,7 @@ class AlertingApi {
|
|
|
10379
10379
|
/**
|
|
10380
10380
|
* Alerting service.
|
|
10381
10381
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10382
|
-
* @version
|
|
10382
|
+
* @version 147.0.0
|
|
10383
10383
|
*/
|
|
10384
10384
|
|
|
10385
10385
|
/**
|
|
@@ -10693,7 +10693,7 @@ class AnalyticsApi {
|
|
|
10693
10693
|
/**
|
|
10694
10694
|
* Analytics service.
|
|
10695
10695
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10696
|
-
* @version
|
|
10696
|
+
* @version 147.0.0
|
|
10697
10697
|
*/
|
|
10698
10698
|
|
|
10699
10699
|
/**
|
|
@@ -10939,6 +10939,26 @@ class AnalyticsApi {
|
|
|
10939
10939
|
);
|
|
10940
10940
|
}
|
|
10941
10941
|
|
|
10942
|
+
/**
|
|
10943
|
+
* Get analytics data retention setting
|
|
10944
|
+
*
|
|
10945
|
+
*/
|
|
10946
|
+
getAnalyticsDataretentionSettings() {
|
|
10947
|
+
|
|
10948
|
+
return this.apiClient.callApi(
|
|
10949
|
+
'/api/v2/analytics/dataretention/settings',
|
|
10950
|
+
'GET',
|
|
10951
|
+
{ },
|
|
10952
|
+
{ },
|
|
10953
|
+
{ },
|
|
10954
|
+
{ },
|
|
10955
|
+
null,
|
|
10956
|
+
['PureCloud OAuth'],
|
|
10957
|
+
['application/json'],
|
|
10958
|
+
['application/json']
|
|
10959
|
+
);
|
|
10960
|
+
}
|
|
10961
|
+
|
|
10942
10962
|
/**
|
|
10943
10963
|
* Get all view export requests for a user
|
|
10944
10964
|
*
|
|
@@ -11839,6 +11859,31 @@ class AnalyticsApi {
|
|
|
11839
11859
|
);
|
|
11840
11860
|
}
|
|
11841
11861
|
|
|
11862
|
+
/**
|
|
11863
|
+
* Update analytics data retention setting
|
|
11864
|
+
*
|
|
11865
|
+
* @param {Object} body retentionDays
|
|
11866
|
+
*/
|
|
11867
|
+
putAnalyticsDataretentionSettings(body) {
|
|
11868
|
+
// verify the required parameter 'body' is set
|
|
11869
|
+
if (body === undefined || body === null) {
|
|
11870
|
+
throw 'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';
|
|
11871
|
+
}
|
|
11872
|
+
|
|
11873
|
+
return this.apiClient.callApi(
|
|
11874
|
+
'/api/v2/analytics/dataretention/settings',
|
|
11875
|
+
'PUT',
|
|
11876
|
+
{ },
|
|
11877
|
+
{ },
|
|
11878
|
+
{ },
|
|
11879
|
+
{ },
|
|
11880
|
+
body,
|
|
11881
|
+
['PureCloud OAuth'],
|
|
11882
|
+
['application/json'],
|
|
11883
|
+
['application/json']
|
|
11884
|
+
);
|
|
11885
|
+
}
|
|
11886
|
+
|
|
11842
11887
|
/**
|
|
11843
11888
|
* Update a scheduled report job.
|
|
11844
11889
|
*
|
|
@@ -11875,7 +11920,7 @@ class ArchitectApi {
|
|
|
11875
11920
|
/**
|
|
11876
11921
|
* Architect service.
|
|
11877
11922
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11878
|
-
* @version
|
|
11923
|
+
* @version 147.0.0
|
|
11879
11924
|
*/
|
|
11880
11925
|
|
|
11881
11926
|
/**
|
|
@@ -14921,7 +14966,7 @@ class AuditApi {
|
|
|
14921
14966
|
/**
|
|
14922
14967
|
* Audit service.
|
|
14923
14968
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14924
|
-
* @version
|
|
14969
|
+
* @version 147.0.0
|
|
14925
14970
|
*/
|
|
14926
14971
|
|
|
14927
14972
|
/**
|
|
@@ -15092,7 +15137,7 @@ class AuthorizationApi {
|
|
|
15092
15137
|
/**
|
|
15093
15138
|
* Authorization service.
|
|
15094
15139
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15095
|
-
* @version
|
|
15140
|
+
* @version 147.0.0
|
|
15096
15141
|
*/
|
|
15097
15142
|
|
|
15098
15143
|
/**
|
|
@@ -16275,7 +16320,7 @@ class BillingApi {
|
|
|
16275
16320
|
/**
|
|
16276
16321
|
* Billing service.
|
|
16277
16322
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16278
|
-
* @version
|
|
16323
|
+
* @version 147.0.0
|
|
16279
16324
|
*/
|
|
16280
16325
|
|
|
16281
16326
|
/**
|
|
@@ -16355,7 +16400,7 @@ class ChatApi {
|
|
|
16355
16400
|
/**
|
|
16356
16401
|
* Chat service.
|
|
16357
16402
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16358
|
-
* @version
|
|
16403
|
+
* @version 147.0.0
|
|
16359
16404
|
*/
|
|
16360
16405
|
|
|
16361
16406
|
/**
|
|
@@ -16446,7 +16491,7 @@ class CoachingApi {
|
|
|
16446
16491
|
/**
|
|
16447
16492
|
* Coaching service.
|
|
16448
16493
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16449
|
-
* @version
|
|
16494
|
+
* @version 147.0.0
|
|
16450
16495
|
*/
|
|
16451
16496
|
|
|
16452
16497
|
/**
|
|
@@ -17023,7 +17068,7 @@ class ContentManagementApi {
|
|
|
17023
17068
|
/**
|
|
17024
17069
|
* ContentManagement service.
|
|
17025
17070
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17026
|
-
* @version
|
|
17071
|
+
* @version 147.0.0
|
|
17027
17072
|
*/
|
|
17028
17073
|
|
|
17029
17074
|
/**
|
|
@@ -18163,7 +18208,7 @@ class ConversationsApi {
|
|
|
18163
18208
|
/**
|
|
18164
18209
|
* Conversations service.
|
|
18165
18210
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18166
|
-
* @version
|
|
18211
|
+
* @version 147.0.0
|
|
18167
18212
|
*/
|
|
18168
18213
|
|
|
18169
18214
|
/**
|
|
@@ -23307,7 +23352,7 @@ class DataExtensionsApi {
|
|
|
23307
23352
|
/**
|
|
23308
23353
|
* DataExtensions service.
|
|
23309
23354
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23310
|
-
* @version
|
|
23355
|
+
* @version 147.0.0
|
|
23311
23356
|
*/
|
|
23312
23357
|
|
|
23313
23358
|
/**
|
|
@@ -23393,7 +23438,7 @@ class ExternalContactsApi {
|
|
|
23393
23438
|
/**
|
|
23394
23439
|
* ExternalContacts service.
|
|
23395
23440
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23396
|
-
* @version
|
|
23441
|
+
* @version 147.0.0
|
|
23397
23442
|
*/
|
|
23398
23443
|
|
|
23399
23444
|
/**
|
|
@@ -25136,7 +25181,7 @@ class FaxApi {
|
|
|
25136
25181
|
/**
|
|
25137
25182
|
* Fax service.
|
|
25138
25183
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25139
|
-
* @version
|
|
25184
|
+
* @version 147.0.0
|
|
25140
25185
|
*/
|
|
25141
25186
|
|
|
25142
25187
|
/**
|
|
@@ -25307,7 +25352,7 @@ class FlowsApi {
|
|
|
25307
25352
|
/**
|
|
25308
25353
|
* Flows service.
|
|
25309
25354
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25310
|
-
* @version
|
|
25355
|
+
* @version 147.0.0
|
|
25311
25356
|
*/
|
|
25312
25357
|
|
|
25313
25358
|
/**
|
|
@@ -25378,7 +25423,7 @@ class GamificationApi {
|
|
|
25378
25423
|
/**
|
|
25379
25424
|
* Gamification service.
|
|
25380
25425
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25381
|
-
* @version
|
|
25426
|
+
* @version 147.0.0
|
|
25382
25427
|
*/
|
|
25383
25428
|
|
|
25384
25429
|
/**
|
|
@@ -27109,7 +27154,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27109
27154
|
/**
|
|
27110
27155
|
* GeneralDataProtectionRegulation service.
|
|
27111
27156
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27112
|
-
* @version
|
|
27157
|
+
* @version 147.0.0
|
|
27113
27158
|
*/
|
|
27114
27159
|
|
|
27115
27160
|
/**
|
|
@@ -27239,7 +27284,7 @@ class GeolocationApi {
|
|
|
27239
27284
|
/**
|
|
27240
27285
|
* Geolocation service.
|
|
27241
27286
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27242
|
-
* @version
|
|
27287
|
+
* @version 147.0.0
|
|
27243
27288
|
*/
|
|
27244
27289
|
|
|
27245
27290
|
/**
|
|
@@ -27370,7 +27415,7 @@ class GreetingsApi {
|
|
|
27370
27415
|
/**
|
|
27371
27416
|
* Greetings service.
|
|
27372
27417
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27373
|
-
* @version
|
|
27418
|
+
* @version 147.0.0
|
|
27374
27419
|
*/
|
|
27375
27420
|
|
|
27376
27421
|
/**
|
|
@@ -27825,7 +27870,7 @@ class GroupsApi {
|
|
|
27825
27870
|
/**
|
|
27826
27871
|
* Groups service.
|
|
27827
27872
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27828
|
-
* @version
|
|
27873
|
+
* @version 147.0.0
|
|
27829
27874
|
*/
|
|
27830
27875
|
|
|
27831
27876
|
/**
|
|
@@ -28230,7 +28275,7 @@ class IdentityProviderApi {
|
|
|
28230
28275
|
/**
|
|
28231
28276
|
* IdentityProvider service.
|
|
28232
28277
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28233
|
-
* @version
|
|
28278
|
+
* @version 147.0.0
|
|
28234
28279
|
*/
|
|
28235
28280
|
|
|
28236
28281
|
/**
|
|
@@ -28986,7 +29031,7 @@ class IntegrationsApi {
|
|
|
28986
29031
|
/**
|
|
28987
29032
|
* Integrations service.
|
|
28988
29033
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28989
|
-
* @version
|
|
29034
|
+
* @version 147.0.0
|
|
28990
29035
|
*/
|
|
28991
29036
|
|
|
28992
29037
|
/**
|
|
@@ -30663,7 +30708,7 @@ class JourneyApi {
|
|
|
30663
30708
|
/**
|
|
30664
30709
|
* Journey service.
|
|
30665
30710
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30666
|
-
* @version
|
|
30711
|
+
* @version 147.0.0
|
|
30667
30712
|
*/
|
|
30668
30713
|
|
|
30669
30714
|
/**
|
|
@@ -31374,7 +31419,7 @@ class KnowledgeApi {
|
|
|
31374
31419
|
/**
|
|
31375
31420
|
* Knowledge service.
|
|
31376
31421
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31377
|
-
* @version
|
|
31422
|
+
* @version 147.0.0
|
|
31378
31423
|
*/
|
|
31379
31424
|
|
|
31380
31425
|
/**
|
|
@@ -32171,6 +32216,7 @@ class KnowledgeApi {
|
|
|
32171
32216
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
32172
32217
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
32173
32218
|
* @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
|
|
32219
|
+
* @param {Array.<String>} opts.documentId Retrieves the specified documents, comma separated values expected.
|
|
32174
32220
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
32175
32221
|
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
32176
32222
|
* @param {Boolean} opts.includeDrafts If includeDrafts is true, Documents in the draft state are also returned in the response.
|
|
@@ -32189,7 +32235,7 @@ class KnowledgeApi {
|
|
|
32189
32235
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents',
|
|
32190
32236
|
'GET',
|
|
32191
32237
|
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
32192
|
-
{ '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') },
|
|
32238
|
+
{ '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') },
|
|
32193
32239
|
{ },
|
|
32194
32240
|
{ },
|
|
32195
32241
|
null,
|
|
@@ -33806,7 +33852,7 @@ class LanguageUnderstandingApi {
|
|
|
33806
33852
|
/**
|
|
33807
33853
|
* LanguageUnderstanding service.
|
|
33808
33854
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
33809
|
-
* @version
|
|
33855
|
+
* @version 147.0.0
|
|
33810
33856
|
*/
|
|
33811
33857
|
|
|
33812
33858
|
/**
|
|
@@ -34710,7 +34756,7 @@ class LanguagesApi {
|
|
|
34710
34756
|
/**
|
|
34711
34757
|
* Languages service.
|
|
34712
34758
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
34713
|
-
* @version
|
|
34759
|
+
* @version 147.0.0
|
|
34714
34760
|
*/
|
|
34715
34761
|
|
|
34716
34762
|
/**
|
|
@@ -34978,7 +35024,7 @@ class LearningApi {
|
|
|
34978
35024
|
/**
|
|
34979
35025
|
* Learning service.
|
|
34980
35026
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
34981
|
-
* @version
|
|
35027
|
+
* @version 147.0.0
|
|
34982
35028
|
*/
|
|
34983
35029
|
|
|
34984
35030
|
/**
|
|
@@ -35738,7 +35784,7 @@ class LicenseApi {
|
|
|
35738
35784
|
/**
|
|
35739
35785
|
* License service.
|
|
35740
35786
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
35741
|
-
* @version
|
|
35787
|
+
* @version 147.0.0
|
|
35742
35788
|
*/
|
|
35743
35789
|
|
|
35744
35790
|
/**
|
|
@@ -35976,7 +36022,7 @@ class LocationsApi {
|
|
|
35976
36022
|
/**
|
|
35977
36023
|
* Locations service.
|
|
35978
36024
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
35979
|
-
* @version
|
|
36025
|
+
* @version 147.0.0
|
|
35980
36026
|
*/
|
|
35981
36027
|
|
|
35982
36028
|
/**
|
|
@@ -36212,7 +36258,7 @@ class MessagingApi {
|
|
|
36212
36258
|
/**
|
|
36213
36259
|
* Messaging service.
|
|
36214
36260
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36215
|
-
* @version
|
|
36261
|
+
* @version 147.0.0
|
|
36216
36262
|
*/
|
|
36217
36263
|
|
|
36218
36264
|
/**
|
|
@@ -36363,7 +36409,7 @@ class MobileDevicesApi {
|
|
|
36363
36409
|
/**
|
|
36364
36410
|
* MobileDevices service.
|
|
36365
36411
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36366
|
-
* @version
|
|
36412
|
+
* @version 147.0.0
|
|
36367
36413
|
*/
|
|
36368
36414
|
|
|
36369
36415
|
/**
|
|
@@ -36514,7 +36560,7 @@ class NotificationsApi {
|
|
|
36514
36560
|
/**
|
|
36515
36561
|
* Notifications service.
|
|
36516
36562
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
36517
|
-
* @version
|
|
36563
|
+
* @version 147.0.0
|
|
36518
36564
|
*/
|
|
36519
36565
|
|
|
36520
36566
|
/**
|
|
@@ -36739,7 +36785,7 @@ class OAuthApi {
|
|
|
36739
36785
|
/**
|
|
36740
36786
|
* OAuth service.
|
|
36741
36787
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
36742
|
-
* @version
|
|
36788
|
+
* @version 147.0.0
|
|
36743
36789
|
*/
|
|
36744
36790
|
|
|
36745
36791
|
/**
|
|
@@ -37105,7 +37151,7 @@ class ObjectsApi {
|
|
|
37105
37151
|
/**
|
|
37106
37152
|
* Objects service.
|
|
37107
37153
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37108
|
-
* @version
|
|
37154
|
+
* @version 147.0.0
|
|
37109
37155
|
*/
|
|
37110
37156
|
|
|
37111
37157
|
/**
|
|
@@ -37376,7 +37422,7 @@ class OrganizationApi {
|
|
|
37376
37422
|
/**
|
|
37377
37423
|
* Organization service.
|
|
37378
37424
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37379
|
-
* @version
|
|
37425
|
+
* @version 147.0.0
|
|
37380
37426
|
*/
|
|
37381
37427
|
|
|
37382
37428
|
/**
|
|
@@ -37779,7 +37825,7 @@ class OrganizationAuthorizationApi {
|
|
|
37779
37825
|
/**
|
|
37780
37826
|
* OrganizationAuthorization service.
|
|
37781
37827
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
37782
|
-
* @version
|
|
37828
|
+
* @version 147.0.0
|
|
37783
37829
|
*/
|
|
37784
37830
|
|
|
37785
37831
|
/**
|
|
@@ -38704,7 +38750,7 @@ class OutboundApi {
|
|
|
38704
38750
|
/**
|
|
38705
38751
|
* Outbound service.
|
|
38706
38752
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
38707
|
-
* @version
|
|
38753
|
+
* @version 147.0.0
|
|
38708
38754
|
*/
|
|
38709
38755
|
|
|
38710
38756
|
/**
|
|
@@ -39004,6 +39050,31 @@ class OutboundApi {
|
|
|
39004
39050
|
);
|
|
39005
39051
|
}
|
|
39006
39052
|
|
|
39053
|
+
/**
|
|
39054
|
+
* Delete an Outbound Digital Rule Set
|
|
39055
|
+
*
|
|
39056
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
39057
|
+
*/
|
|
39058
|
+
deleteOutboundDigitalruleset(digitalRuleSetId) {
|
|
39059
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
39060
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
39061
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';
|
|
39062
|
+
}
|
|
39063
|
+
|
|
39064
|
+
return this.apiClient.callApi(
|
|
39065
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
39066
|
+
'DELETE',
|
|
39067
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
39068
|
+
{ },
|
|
39069
|
+
{ },
|
|
39070
|
+
{ },
|
|
39071
|
+
null,
|
|
39072
|
+
['PureCloud OAuth'],
|
|
39073
|
+
['application/json'],
|
|
39074
|
+
['application/json']
|
|
39075
|
+
);
|
|
39076
|
+
}
|
|
39077
|
+
|
|
39007
39078
|
/**
|
|
39008
39079
|
* Delete dialer DNC list
|
|
39009
39080
|
*
|
|
@@ -40041,6 +40112,60 @@ class OutboundApi {
|
|
|
40041
40112
|
);
|
|
40042
40113
|
}
|
|
40043
40114
|
|
|
40115
|
+
/**
|
|
40116
|
+
* Get an Outbound Digital Rule Set
|
|
40117
|
+
*
|
|
40118
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
40119
|
+
*/
|
|
40120
|
+
getOutboundDigitalruleset(digitalRuleSetId) {
|
|
40121
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
40122
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
40123
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';
|
|
40124
|
+
}
|
|
40125
|
+
|
|
40126
|
+
return this.apiClient.callApi(
|
|
40127
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
40128
|
+
'GET',
|
|
40129
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
40130
|
+
{ },
|
|
40131
|
+
{ },
|
|
40132
|
+
{ },
|
|
40133
|
+
null,
|
|
40134
|
+
['PureCloud OAuth'],
|
|
40135
|
+
['application/json'],
|
|
40136
|
+
['application/json']
|
|
40137
|
+
);
|
|
40138
|
+
}
|
|
40139
|
+
|
|
40140
|
+
/**
|
|
40141
|
+
* Query a list of Outbound Digital Rule Sets
|
|
40142
|
+
*
|
|
40143
|
+
* @param {Object} opts Optional parameters
|
|
40144
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
40145
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
40146
|
+
* @param {Object} opts.sortBy The field to sort by (default to name)
|
|
40147
|
+
* @param {Object} opts.sortOrder The direction to sort (default to ascending)
|
|
40148
|
+
* @param {String} opts.name Name
|
|
40149
|
+
* @param {Array.<String>} opts.id A list of digital rule set ids to bulk fetch
|
|
40150
|
+
*/
|
|
40151
|
+
getOutboundDigitalrulesets(opts) {
|
|
40152
|
+
opts = opts || {};
|
|
40153
|
+
|
|
40154
|
+
|
|
40155
|
+
return this.apiClient.callApi(
|
|
40156
|
+
'/api/v2/outbound/digitalrulesets',
|
|
40157
|
+
'GET',
|
|
40158
|
+
{ },
|
|
40159
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
40160
|
+
{ },
|
|
40161
|
+
{ },
|
|
40162
|
+
null,
|
|
40163
|
+
['PureCloud OAuth'],
|
|
40164
|
+
['application/json'],
|
|
40165
|
+
['application/json']
|
|
40166
|
+
);
|
|
40167
|
+
}
|
|
40168
|
+
|
|
40044
40169
|
/**
|
|
40045
40170
|
* Get dialer DNC list
|
|
40046
40171
|
*
|
|
@@ -41224,6 +41349,31 @@ class OutboundApi {
|
|
|
41224
41349
|
);
|
|
41225
41350
|
}
|
|
41226
41351
|
|
|
41352
|
+
/**
|
|
41353
|
+
* Create an Outbound Digital Rule Set
|
|
41354
|
+
*
|
|
41355
|
+
* @param {Object} body Digital Rule Set
|
|
41356
|
+
*/
|
|
41357
|
+
postOutboundDigitalrulesets(body) {
|
|
41358
|
+
// verify the required parameter 'body' is set
|
|
41359
|
+
if (body === undefined || body === null) {
|
|
41360
|
+
throw 'Missing the required parameter "body" when calling postOutboundDigitalrulesets';
|
|
41361
|
+
}
|
|
41362
|
+
|
|
41363
|
+
return this.apiClient.callApi(
|
|
41364
|
+
'/api/v2/outbound/digitalrulesets',
|
|
41365
|
+
'POST',
|
|
41366
|
+
{ },
|
|
41367
|
+
{ },
|
|
41368
|
+
{ },
|
|
41369
|
+
{ },
|
|
41370
|
+
body,
|
|
41371
|
+
['PureCloud OAuth'],
|
|
41372
|
+
['application/json'],
|
|
41373
|
+
['application/json']
|
|
41374
|
+
);
|
|
41375
|
+
}
|
|
41376
|
+
|
|
41227
41377
|
/**
|
|
41228
41378
|
* Initiate the export of a dnc list.
|
|
41229
41379
|
* Returns 200 if received OK.
|
|
@@ -41688,6 +41838,36 @@ class OutboundApi {
|
|
|
41688
41838
|
);
|
|
41689
41839
|
}
|
|
41690
41840
|
|
|
41841
|
+
/**
|
|
41842
|
+
* Update an Outbound Digital Rule Set
|
|
41843
|
+
*
|
|
41844
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
41845
|
+
* @param {Object} body Digital Rule Set
|
|
41846
|
+
*/
|
|
41847
|
+
putOutboundDigitalruleset(digitalRuleSetId, body) {
|
|
41848
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
41849
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
41850
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';
|
|
41851
|
+
}
|
|
41852
|
+
// verify the required parameter 'body' is set
|
|
41853
|
+
if (body === undefined || body === null) {
|
|
41854
|
+
throw 'Missing the required parameter "body" when calling putOutboundDigitalruleset';
|
|
41855
|
+
}
|
|
41856
|
+
|
|
41857
|
+
return this.apiClient.callApi(
|
|
41858
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
41859
|
+
'PUT',
|
|
41860
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
41861
|
+
{ },
|
|
41862
|
+
{ },
|
|
41863
|
+
{ },
|
|
41864
|
+
body,
|
|
41865
|
+
['PureCloud OAuth'],
|
|
41866
|
+
['application/json'],
|
|
41867
|
+
['application/json']
|
|
41868
|
+
);
|
|
41869
|
+
}
|
|
41870
|
+
|
|
41691
41871
|
/**
|
|
41692
41872
|
* Update dialer DNC list
|
|
41693
41873
|
*
|
|
@@ -41959,7 +42139,7 @@ class PresenceApi {
|
|
|
41959
42139
|
/**
|
|
41960
42140
|
* Presence service.
|
|
41961
42141
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
41962
|
-
* @version
|
|
42142
|
+
* @version 147.0.0
|
|
41963
42143
|
*/
|
|
41964
42144
|
|
|
41965
42145
|
/**
|
|
@@ -42281,7 +42461,7 @@ class QualityApi {
|
|
|
42281
42461
|
/**
|
|
42282
42462
|
* Quality service.
|
|
42283
42463
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
42284
|
-
* @version
|
|
42464
|
+
* @version 147.0.0
|
|
42285
42465
|
*/
|
|
42286
42466
|
|
|
42287
42467
|
/**
|
|
@@ -42791,7 +42971,7 @@ class QualityApi {
|
|
|
42791
42971
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
42792
42972
|
* @param {String} opts.nextPage next page token
|
|
42793
42973
|
* @param {String} opts.previousPage Previous page token
|
|
42794
|
-
* @param {
|
|
42974
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
42795
42975
|
* @param {String} opts.name Name
|
|
42796
42976
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
42797
42977
|
*/
|
|
@@ -42878,7 +43058,7 @@ class QualityApi {
|
|
|
42878
43058
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
42879
43059
|
* @param {String} opts.nextPage next page token
|
|
42880
43060
|
* @param {String} opts.previousPage Previous page token
|
|
42881
|
-
* @param {
|
|
43061
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
42882
43062
|
* @param {String} opts.name Name
|
|
42883
43063
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
42884
43064
|
*/
|
|
@@ -42989,7 +43169,7 @@ class QualityApi {
|
|
|
42989
43169
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
42990
43170
|
* @param {String} opts.nextPage next page token
|
|
42991
43171
|
* @param {String} opts.previousPage Previous page token
|
|
42992
|
-
* @param {
|
|
43172
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
42993
43173
|
* @param {String} opts.name Name
|
|
42994
43174
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
42995
43175
|
*/
|
|
@@ -43859,7 +44039,7 @@ class RecordingApi {
|
|
|
43859
44039
|
/**
|
|
43860
44040
|
* Recording service.
|
|
43861
44041
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
43862
|
-
* @version
|
|
44042
|
+
* @version 147.0.0
|
|
43863
44043
|
*/
|
|
43864
44044
|
|
|
43865
44045
|
/**
|
|
@@ -44733,6 +44913,36 @@ class RecordingApi {
|
|
|
44733
44913
|
);
|
|
44734
44914
|
}
|
|
44735
44915
|
|
|
44916
|
+
/**
|
|
44917
|
+
* Query for recording retention data
|
|
44918
|
+
*
|
|
44919
|
+
* @param {Number} retentionThresholdDays Fetch retention data for recordings retained for more days than the provided value.
|
|
44920
|
+
* @param {Object} opts Optional parameters
|
|
44921
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
44922
|
+
* @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
|
|
44923
|
+
*/
|
|
44924
|
+
getRecordingsRetentionQuery(retentionThresholdDays, opts) {
|
|
44925
|
+
opts = opts || {};
|
|
44926
|
+
|
|
44927
|
+
// verify the required parameter 'retentionThresholdDays' is set
|
|
44928
|
+
if (retentionThresholdDays === undefined || retentionThresholdDays === null) {
|
|
44929
|
+
throw 'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';
|
|
44930
|
+
}
|
|
44931
|
+
|
|
44932
|
+
return this.apiClient.callApi(
|
|
44933
|
+
'/api/v2/recordings/retention/query',
|
|
44934
|
+
'GET',
|
|
44935
|
+
{ },
|
|
44936
|
+
{ 'retentionThresholdDays': retentionThresholdDays,'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
|
|
44937
|
+
{ },
|
|
44938
|
+
{ },
|
|
44939
|
+
null,
|
|
44940
|
+
['PureCloud OAuth'],
|
|
44941
|
+
['application/json'],
|
|
44942
|
+
['application/json']
|
|
44943
|
+
);
|
|
44944
|
+
}
|
|
44945
|
+
|
|
44736
44946
|
/**
|
|
44737
44947
|
* Retrieves a paged listing of screen recording sessions
|
|
44738
44948
|
*
|
|
@@ -45512,7 +45722,7 @@ class ResponseManagementApi {
|
|
|
45512
45722
|
/**
|
|
45513
45723
|
* ResponseManagement service.
|
|
45514
45724
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
45515
|
-
* @version
|
|
45725
|
+
* @version 147.0.0
|
|
45516
45726
|
*/
|
|
45517
45727
|
|
|
45518
45728
|
/**
|
|
@@ -45996,7 +46206,7 @@ class RoutingApi {
|
|
|
45996
46206
|
/**
|
|
45997
46207
|
* Routing service.
|
|
45998
46208
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
45999
|
-
* @version
|
|
46209
|
+
* @version 147.0.0
|
|
46000
46210
|
*/
|
|
46001
46211
|
|
|
46002
46212
|
/**
|
|
@@ -48937,7 +49147,7 @@ class SCIMApi {
|
|
|
48937
49147
|
/**
|
|
48938
49148
|
* SCIM service.
|
|
48939
49149
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
48940
|
-
* @version
|
|
49150
|
+
* @version 147.0.0
|
|
48941
49151
|
*/
|
|
48942
49152
|
|
|
48943
49153
|
/**
|
|
@@ -49814,7 +50024,7 @@ class ScriptsApi {
|
|
|
49814
50024
|
/**
|
|
49815
50025
|
* Scripts service.
|
|
49816
50026
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
49817
|
-
* @version
|
|
50027
|
+
* @version 147.0.0
|
|
49818
50028
|
*/
|
|
49819
50029
|
|
|
49820
50030
|
/**
|
|
@@ -50233,7 +50443,7 @@ class SearchApi {
|
|
|
50233
50443
|
/**
|
|
50234
50444
|
* Search service.
|
|
50235
50445
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
50236
|
-
* @version
|
|
50446
|
+
* @version 147.0.0
|
|
50237
50447
|
*/
|
|
50238
50448
|
|
|
50239
50449
|
/**
|
|
@@ -50793,7 +51003,7 @@ class SpeechTextAnalyticsApi {
|
|
|
50793
51003
|
/**
|
|
50794
51004
|
* SpeechTextAnalytics service.
|
|
50795
51005
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
50796
|
-
* @version
|
|
51006
|
+
* @version 147.0.0
|
|
50797
51007
|
*/
|
|
50798
51008
|
|
|
50799
51009
|
/**
|
|
@@ -51647,7 +51857,7 @@ class StationsApi {
|
|
|
51647
51857
|
/**
|
|
51648
51858
|
* Stations service.
|
|
51649
51859
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
51650
|
-
* @version
|
|
51860
|
+
* @version 147.0.0
|
|
51651
51861
|
*/
|
|
51652
51862
|
|
|
51653
51863
|
/**
|
|
@@ -51794,7 +52004,7 @@ class SuggestApi {
|
|
|
51794
52004
|
/**
|
|
51795
52005
|
* Suggest service.
|
|
51796
52006
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
51797
|
-
* @version
|
|
52007
|
+
* @version 147.0.0
|
|
51798
52008
|
*/
|
|
51799
52009
|
|
|
51800
52010
|
/**
|
|
@@ -51933,7 +52143,7 @@ class TeamsApi {
|
|
|
51933
52143
|
/**
|
|
51934
52144
|
* Teams service.
|
|
51935
52145
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
51936
|
-
* @version
|
|
52146
|
+
* @version 147.0.0
|
|
51937
52147
|
*/
|
|
51938
52148
|
|
|
51939
52149
|
/**
|
|
@@ -52112,7 +52322,7 @@ class TelephonyApi {
|
|
|
52112
52322
|
/**
|
|
52113
52323
|
* Telephony service.
|
|
52114
52324
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
52115
|
-
* @version
|
|
52325
|
+
* @version 147.0.0
|
|
52116
52326
|
*/
|
|
52117
52327
|
|
|
52118
52328
|
/**
|
|
@@ -52220,7 +52430,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
52220
52430
|
/**
|
|
52221
52431
|
* TelephonyProvidersEdge service.
|
|
52222
52432
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
52223
|
-
* @version
|
|
52433
|
+
* @version 147.0.0
|
|
52224
52434
|
*/
|
|
52225
52435
|
|
|
52226
52436
|
/**
|
|
@@ -55853,7 +56063,7 @@ class TextbotsApi {
|
|
|
55853
56063
|
/**
|
|
55854
56064
|
* Textbots service.
|
|
55855
56065
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
55856
|
-
* @version
|
|
56066
|
+
* @version 147.0.0
|
|
55857
56067
|
*/
|
|
55858
56068
|
|
|
55859
56069
|
/**
|
|
@@ -55981,7 +56191,7 @@ class TokensApi {
|
|
|
55981
56191
|
/**
|
|
55982
56192
|
* Tokens service.
|
|
55983
56193
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
55984
|
-
* @version
|
|
56194
|
+
* @version 147.0.0
|
|
55985
56195
|
*/
|
|
55986
56196
|
|
|
55987
56197
|
/**
|
|
@@ -56087,7 +56297,7 @@ class UploadsApi {
|
|
|
56087
56297
|
/**
|
|
56088
56298
|
* Uploads service.
|
|
56089
56299
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
56090
|
-
* @version
|
|
56300
|
+
* @version 147.0.0
|
|
56091
56301
|
*/
|
|
56092
56302
|
|
|
56093
56303
|
/**
|
|
@@ -56263,7 +56473,7 @@ class UsageApi {
|
|
|
56263
56473
|
/**
|
|
56264
56474
|
* Usage service.
|
|
56265
56475
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
56266
|
-
* @version
|
|
56476
|
+
* @version 147.0.0
|
|
56267
56477
|
*/
|
|
56268
56478
|
|
|
56269
56479
|
/**
|
|
@@ -56334,7 +56544,7 @@ class UserRecordingsApi {
|
|
|
56334
56544
|
/**
|
|
56335
56545
|
* UserRecordings service.
|
|
56336
56546
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
56337
|
-
* @version
|
|
56547
|
+
* @version 147.0.0
|
|
56338
56548
|
*/
|
|
56339
56549
|
|
|
56340
56550
|
/**
|
|
@@ -56518,7 +56728,7 @@ class UsersApi {
|
|
|
56518
56728
|
/**
|
|
56519
56729
|
* Users service.
|
|
56520
56730
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
56521
|
-
* @version
|
|
56731
|
+
* @version 147.0.0
|
|
56522
56732
|
*/
|
|
56523
56733
|
|
|
56524
56734
|
/**
|
|
@@ -58260,6 +58470,36 @@ class UsersApi {
|
|
|
58260
58470
|
);
|
|
58261
58471
|
}
|
|
58262
58472
|
|
|
58473
|
+
/**
|
|
58474
|
+
* Create mapping between external identifier and user. Limit 100 per entity.
|
|
58475
|
+
* Authority Name and External key are case sensitive.
|
|
58476
|
+
* @param {String} userId User ID
|
|
58477
|
+
* @param {Object} body
|
|
58478
|
+
*/
|
|
58479
|
+
postUserExternalid(userId, body) {
|
|
58480
|
+
// verify the required parameter 'userId' is set
|
|
58481
|
+
if (userId === undefined || userId === null) {
|
|
58482
|
+
throw 'Missing the required parameter "userId" when calling postUserExternalid';
|
|
58483
|
+
}
|
|
58484
|
+
// verify the required parameter 'body' is set
|
|
58485
|
+
if (body === undefined || body === null) {
|
|
58486
|
+
throw 'Missing the required parameter "body" when calling postUserExternalid';
|
|
58487
|
+
}
|
|
58488
|
+
|
|
58489
|
+
return this.apiClient.callApi(
|
|
58490
|
+
'/api/v2/users/{userId}/externalid',
|
|
58491
|
+
'POST',
|
|
58492
|
+
{ 'userId': userId },
|
|
58493
|
+
{ },
|
|
58494
|
+
{ },
|
|
58495
|
+
{ },
|
|
58496
|
+
body,
|
|
58497
|
+
['PureCloud OAuth'],
|
|
58498
|
+
['application/json'],
|
|
58499
|
+
['application/json']
|
|
58500
|
+
);
|
|
58501
|
+
}
|
|
58502
|
+
|
|
58263
58503
|
/**
|
|
58264
58504
|
* Send an activation email to the user
|
|
58265
58505
|
*
|
|
@@ -58820,7 +59060,7 @@ class UtilitiesApi {
|
|
|
58820
59060
|
/**
|
|
58821
59061
|
* Utilities service.
|
|
58822
59062
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
58823
|
-
* @version
|
|
59063
|
+
* @version 147.0.0
|
|
58824
59064
|
*/
|
|
58825
59065
|
|
|
58826
59066
|
/**
|
|
@@ -58931,7 +59171,7 @@ class VoicemailApi {
|
|
|
58931
59171
|
/**
|
|
58932
59172
|
* Voicemail service.
|
|
58933
59173
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
58934
|
-
* @version
|
|
59174
|
+
* @version 147.0.0
|
|
58935
59175
|
*/
|
|
58936
59176
|
|
|
58937
59177
|
/**
|
|
@@ -59598,7 +59838,7 @@ class WebChatApi {
|
|
|
59598
59838
|
/**
|
|
59599
59839
|
* WebChat service.
|
|
59600
59840
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
59601
|
-
* @version
|
|
59841
|
+
* @version 147.0.0
|
|
59602
59842
|
*/
|
|
59603
59843
|
|
|
59604
59844
|
/**
|
|
@@ -60142,7 +60382,7 @@ class WebDeploymentsApi {
|
|
|
60142
60382
|
/**
|
|
60143
60383
|
* WebDeployments service.
|
|
60144
60384
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
60145
|
-
* @version
|
|
60385
|
+
* @version 147.0.0
|
|
60146
60386
|
*/
|
|
60147
60387
|
|
|
60148
60388
|
/**
|
|
@@ -60336,6 +60576,35 @@ class WebDeploymentsApi {
|
|
|
60336
60576
|
);
|
|
60337
60577
|
}
|
|
60338
60578
|
|
|
60579
|
+
/**
|
|
60580
|
+
* Get active configuration for a given deployment
|
|
60581
|
+
*
|
|
60582
|
+
* @param {String} deploymentId The deployment ID
|
|
60583
|
+
* @param {Object} opts Optional parameters
|
|
60584
|
+
* @param {String} opts.type Get active configuration on a deployment
|
|
60585
|
+
*/
|
|
60586
|
+
getWebdeploymentsDeploymentConfigurations(deploymentId, opts) {
|
|
60587
|
+
opts = opts || {};
|
|
60588
|
+
|
|
60589
|
+
// verify the required parameter 'deploymentId' is set
|
|
60590
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
60591
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
|
|
60592
|
+
}
|
|
60593
|
+
|
|
60594
|
+
return this.apiClient.callApi(
|
|
60595
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/configurations',
|
|
60596
|
+
'GET',
|
|
60597
|
+
{ 'deploymentId': deploymentId },
|
|
60598
|
+
{ 'type': opts['type'] },
|
|
60599
|
+
{ },
|
|
60600
|
+
{ },
|
|
60601
|
+
null,
|
|
60602
|
+
['PureCloud OAuth'],
|
|
60603
|
+
['application/json'],
|
|
60604
|
+
['application/json']
|
|
60605
|
+
);
|
|
60606
|
+
}
|
|
60607
|
+
|
|
60339
60608
|
/**
|
|
60340
60609
|
* Get deployments
|
|
60341
60610
|
*
|
|
@@ -60497,7 +60766,7 @@ class WebMessagingApi {
|
|
|
60497
60766
|
/**
|
|
60498
60767
|
* WebMessaging service.
|
|
60499
60768
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
60500
|
-
* @version
|
|
60769
|
+
* @version 147.0.0
|
|
60501
60770
|
*/
|
|
60502
60771
|
|
|
60503
60772
|
/**
|
|
@@ -60543,7 +60812,7 @@ class WidgetsApi {
|
|
|
60543
60812
|
/**
|
|
60544
60813
|
* Widgets service.
|
|
60545
60814
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
60546
|
-
* @version
|
|
60815
|
+
* @version 147.0.0
|
|
60547
60816
|
*/
|
|
60548
60817
|
|
|
60549
60818
|
/**
|
|
@@ -60689,7 +60958,7 @@ class WorkforceManagementApi {
|
|
|
60689
60958
|
/**
|
|
60690
60959
|
* WorkforceManagement service.
|
|
60691
60960
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
60692
|
-
* @version
|
|
60961
|
+
* @version 147.0.0
|
|
60693
60962
|
*/
|
|
60694
60963
|
|
|
60695
60964
|
/**
|
|
@@ -64965,7 +65234,7 @@ class WorkforceManagementApi {
|
|
|
64965
65234
|
* </pre>
|
|
64966
65235
|
* </p>
|
|
64967
65236
|
* @module purecloud-platform-client-v2/index
|
|
64968
|
-
* @version
|
|
65237
|
+
* @version 147.0.0
|
|
64969
65238
|
*/
|
|
64970
65239
|
class platformClient {
|
|
64971
65240
|
constructor() {
|