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
|
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* @module purecloud-platform-client-v2/ApiClient
|
|
402
|
-
* @version
|
|
402
|
+
* @version 147.0.0
|
|
403
403
|
*/
|
|
404
404
|
class ApiClient {
|
|
405
405
|
/**
|
|
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Alerting service.
|
|
1480
1480
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1481
|
-
* @version
|
|
1481
|
+
* @version 147.0.0
|
|
1482
1482
|
*/
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Analytics service.
|
|
1794
1794
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1795
|
-
* @version
|
|
1795
|
+
* @version 147.0.0
|
|
1796
1796
|
*/
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
@@ -2038,6 +2038,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2038
2038
|
);
|
|
2039
2039
|
}
|
|
2040
2040
|
|
|
2041
|
+
/**
|
|
2042
|
+
* Get analytics data retention setting
|
|
2043
|
+
*
|
|
2044
|
+
*/
|
|
2045
|
+
getAnalyticsDataretentionSettings() {
|
|
2046
|
+
|
|
2047
|
+
return this.apiClient.callApi(
|
|
2048
|
+
'/api/v2/analytics/dataretention/settings',
|
|
2049
|
+
'GET',
|
|
2050
|
+
{ },
|
|
2051
|
+
{ },
|
|
2052
|
+
{ },
|
|
2053
|
+
{ },
|
|
2054
|
+
null,
|
|
2055
|
+
['PureCloud OAuth'],
|
|
2056
|
+
['application/json'],
|
|
2057
|
+
['application/json']
|
|
2058
|
+
);
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2041
2061
|
/**
|
|
2042
2062
|
* Get all view export requests for a user
|
|
2043
2063
|
*
|
|
@@ -2938,6 +2958,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2938
2958
|
);
|
|
2939
2959
|
}
|
|
2940
2960
|
|
|
2961
|
+
/**
|
|
2962
|
+
* Update analytics data retention setting
|
|
2963
|
+
*
|
|
2964
|
+
* @param {Object} body retentionDays
|
|
2965
|
+
*/
|
|
2966
|
+
putAnalyticsDataretentionSettings(body) {
|
|
2967
|
+
// verify the required parameter 'body' is set
|
|
2968
|
+
if (body === undefined || body === null) {
|
|
2969
|
+
throw 'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
return this.apiClient.callApi(
|
|
2973
|
+
'/api/v2/analytics/dataretention/settings',
|
|
2974
|
+
'PUT',
|
|
2975
|
+
{ },
|
|
2976
|
+
{ },
|
|
2977
|
+
{ },
|
|
2978
|
+
{ },
|
|
2979
|
+
body,
|
|
2980
|
+
['PureCloud OAuth'],
|
|
2981
|
+
['application/json'],
|
|
2982
|
+
['application/json']
|
|
2983
|
+
);
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2941
2986
|
/**
|
|
2942
2987
|
* Update a scheduled report job.
|
|
2943
2988
|
*
|
|
@@ -2974,7 +3019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2974
3019
|
/**
|
|
2975
3020
|
* Architect service.
|
|
2976
3021
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2977
|
-
* @version
|
|
3022
|
+
* @version 147.0.0
|
|
2978
3023
|
*/
|
|
2979
3024
|
|
|
2980
3025
|
/**
|
|
@@ -6020,7 +6065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6020
6065
|
/**
|
|
6021
6066
|
* Audit service.
|
|
6022
6067
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6023
|
-
* @version
|
|
6068
|
+
* @version 147.0.0
|
|
6024
6069
|
*/
|
|
6025
6070
|
|
|
6026
6071
|
/**
|
|
@@ -6191,7 +6236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6191
6236
|
/**
|
|
6192
6237
|
* Authorization service.
|
|
6193
6238
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6194
|
-
* @version
|
|
6239
|
+
* @version 147.0.0
|
|
6195
6240
|
*/
|
|
6196
6241
|
|
|
6197
6242
|
/**
|
|
@@ -7374,7 +7419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7374
7419
|
/**
|
|
7375
7420
|
* Billing service.
|
|
7376
7421
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7377
|
-
* @version
|
|
7422
|
+
* @version 147.0.0
|
|
7378
7423
|
*/
|
|
7379
7424
|
|
|
7380
7425
|
/**
|
|
@@ -7454,7 +7499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7454
7499
|
/**
|
|
7455
7500
|
* Chat service.
|
|
7456
7501
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7457
|
-
* @version
|
|
7502
|
+
* @version 147.0.0
|
|
7458
7503
|
*/
|
|
7459
7504
|
|
|
7460
7505
|
/**
|
|
@@ -7545,7 +7590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7545
7590
|
/**
|
|
7546
7591
|
* Coaching service.
|
|
7547
7592
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7548
|
-
* @version
|
|
7593
|
+
* @version 147.0.0
|
|
7549
7594
|
*/
|
|
7550
7595
|
|
|
7551
7596
|
/**
|
|
@@ -8122,7 +8167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8122
8167
|
/**
|
|
8123
8168
|
* ContentManagement service.
|
|
8124
8169
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8125
|
-
* @version
|
|
8170
|
+
* @version 147.0.0
|
|
8126
8171
|
*/
|
|
8127
8172
|
|
|
8128
8173
|
/**
|
|
@@ -9262,7 +9307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9262
9307
|
/**
|
|
9263
9308
|
* Conversations service.
|
|
9264
9309
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9265
|
-
* @version
|
|
9310
|
+
* @version 147.0.0
|
|
9266
9311
|
*/
|
|
9267
9312
|
|
|
9268
9313
|
/**
|
|
@@ -14406,7 +14451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14406
14451
|
/**
|
|
14407
14452
|
* DataExtensions service.
|
|
14408
14453
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14409
|
-
* @version
|
|
14454
|
+
* @version 147.0.0
|
|
14410
14455
|
*/
|
|
14411
14456
|
|
|
14412
14457
|
/**
|
|
@@ -14492,7 +14537,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14492
14537
|
/**
|
|
14493
14538
|
* ExternalContacts service.
|
|
14494
14539
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14495
|
-
* @version
|
|
14540
|
+
* @version 147.0.0
|
|
14496
14541
|
*/
|
|
14497
14542
|
|
|
14498
14543
|
/**
|
|
@@ -16235,7 +16280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16235
16280
|
/**
|
|
16236
16281
|
* Fax service.
|
|
16237
16282
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16238
|
-
* @version
|
|
16283
|
+
* @version 147.0.0
|
|
16239
16284
|
*/
|
|
16240
16285
|
|
|
16241
16286
|
/**
|
|
@@ -16406,7 +16451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16406
16451
|
/**
|
|
16407
16452
|
* Flows service.
|
|
16408
16453
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16409
|
-
* @version
|
|
16454
|
+
* @version 147.0.0
|
|
16410
16455
|
*/
|
|
16411
16456
|
|
|
16412
16457
|
/**
|
|
@@ -16477,7 +16522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16477
16522
|
/**
|
|
16478
16523
|
* Gamification service.
|
|
16479
16524
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16480
|
-
* @version
|
|
16525
|
+
* @version 147.0.0
|
|
16481
16526
|
*/
|
|
16482
16527
|
|
|
16483
16528
|
/**
|
|
@@ -18208,7 +18253,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18208
18253
|
/**
|
|
18209
18254
|
* GeneralDataProtectionRegulation service.
|
|
18210
18255
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18211
|
-
* @version
|
|
18256
|
+
* @version 147.0.0
|
|
18212
18257
|
*/
|
|
18213
18258
|
|
|
18214
18259
|
/**
|
|
@@ -18338,7 +18383,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18338
18383
|
/**
|
|
18339
18384
|
* Geolocation service.
|
|
18340
18385
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18341
|
-
* @version
|
|
18386
|
+
* @version 147.0.0
|
|
18342
18387
|
*/
|
|
18343
18388
|
|
|
18344
18389
|
/**
|
|
@@ -18469,7 +18514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18469
18514
|
/**
|
|
18470
18515
|
* Greetings service.
|
|
18471
18516
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18472
|
-
* @version
|
|
18517
|
+
* @version 147.0.0
|
|
18473
18518
|
*/
|
|
18474
18519
|
|
|
18475
18520
|
/**
|
|
@@ -18924,7 +18969,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18924
18969
|
/**
|
|
18925
18970
|
* Groups service.
|
|
18926
18971
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18927
|
-
* @version
|
|
18972
|
+
* @version 147.0.0
|
|
18928
18973
|
*/
|
|
18929
18974
|
|
|
18930
18975
|
/**
|
|
@@ -19329,7 +19374,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19329
19374
|
/**
|
|
19330
19375
|
* IdentityProvider service.
|
|
19331
19376
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19332
|
-
* @version
|
|
19377
|
+
* @version 147.0.0
|
|
19333
19378
|
*/
|
|
19334
19379
|
|
|
19335
19380
|
/**
|
|
@@ -20085,7 +20130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20085
20130
|
/**
|
|
20086
20131
|
* Integrations service.
|
|
20087
20132
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20088
|
-
* @version
|
|
20133
|
+
* @version 147.0.0
|
|
20089
20134
|
*/
|
|
20090
20135
|
|
|
20091
20136
|
/**
|
|
@@ -21762,7 +21807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21762
21807
|
/**
|
|
21763
21808
|
* Journey service.
|
|
21764
21809
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21765
|
-
* @version
|
|
21810
|
+
* @version 147.0.0
|
|
21766
21811
|
*/
|
|
21767
21812
|
|
|
21768
21813
|
/**
|
|
@@ -22473,7 +22518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22473
22518
|
/**
|
|
22474
22519
|
* Knowledge service.
|
|
22475
22520
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22476
|
-
* @version
|
|
22521
|
+
* @version 147.0.0
|
|
22477
22522
|
*/
|
|
22478
22523
|
|
|
22479
22524
|
/**
|
|
@@ -23270,6 +23315,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23270
23315
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23271
23316
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
23272
23317
|
* @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
|
|
23318
|
+
* @param {Array.<String>} opts.documentId Retrieves the specified documents, comma separated values expected.
|
|
23273
23319
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
23274
23320
|
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
23275
23321
|
* @param {Boolean} opts.includeDrafts If includeDrafts is true, Documents in the draft state are also returned in the response.
|
|
@@ -23288,7 +23334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23288
23334
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents',
|
|
23289
23335
|
'GET',
|
|
23290
23336
|
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
23291
|
-
{ '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') },
|
|
23337
|
+
{ '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') },
|
|
23292
23338
|
{ },
|
|
23293
23339
|
{ },
|
|
23294
23340
|
null,
|
|
@@ -24905,7 +24951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24905
24951
|
/**
|
|
24906
24952
|
* LanguageUnderstanding service.
|
|
24907
24953
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24908
|
-
* @version
|
|
24954
|
+
* @version 147.0.0
|
|
24909
24955
|
*/
|
|
24910
24956
|
|
|
24911
24957
|
/**
|
|
@@ -25809,7 +25855,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25809
25855
|
/**
|
|
25810
25856
|
* Languages service.
|
|
25811
25857
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25812
|
-
* @version
|
|
25858
|
+
* @version 147.0.0
|
|
25813
25859
|
*/
|
|
25814
25860
|
|
|
25815
25861
|
/**
|
|
@@ -26077,7 +26123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26077
26123
|
/**
|
|
26078
26124
|
* Learning service.
|
|
26079
26125
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26080
|
-
* @version
|
|
26126
|
+
* @version 147.0.0
|
|
26081
26127
|
*/
|
|
26082
26128
|
|
|
26083
26129
|
/**
|
|
@@ -26837,7 +26883,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26837
26883
|
/**
|
|
26838
26884
|
* License service.
|
|
26839
26885
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26840
|
-
* @version
|
|
26886
|
+
* @version 147.0.0
|
|
26841
26887
|
*/
|
|
26842
26888
|
|
|
26843
26889
|
/**
|
|
@@ -27075,7 +27121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27075
27121
|
/**
|
|
27076
27122
|
* Locations service.
|
|
27077
27123
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27078
|
-
* @version
|
|
27124
|
+
* @version 147.0.0
|
|
27079
27125
|
*/
|
|
27080
27126
|
|
|
27081
27127
|
/**
|
|
@@ -27311,7 +27357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27311
27357
|
/**
|
|
27312
27358
|
* Messaging service.
|
|
27313
27359
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27314
|
-
* @version
|
|
27360
|
+
* @version 147.0.0
|
|
27315
27361
|
*/
|
|
27316
27362
|
|
|
27317
27363
|
/**
|
|
@@ -27462,7 +27508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27462
27508
|
/**
|
|
27463
27509
|
* MobileDevices service.
|
|
27464
27510
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27465
|
-
* @version
|
|
27511
|
+
* @version 147.0.0
|
|
27466
27512
|
*/
|
|
27467
27513
|
|
|
27468
27514
|
/**
|
|
@@ -27613,7 +27659,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27613
27659
|
/**
|
|
27614
27660
|
* Notifications service.
|
|
27615
27661
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
27616
|
-
* @version
|
|
27662
|
+
* @version 147.0.0
|
|
27617
27663
|
*/
|
|
27618
27664
|
|
|
27619
27665
|
/**
|
|
@@ -27838,7 +27884,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27838
27884
|
/**
|
|
27839
27885
|
* OAuth service.
|
|
27840
27886
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27841
|
-
* @version
|
|
27887
|
+
* @version 147.0.0
|
|
27842
27888
|
*/
|
|
27843
27889
|
|
|
27844
27890
|
/**
|
|
@@ -28204,7 +28250,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28204
28250
|
/**
|
|
28205
28251
|
* Objects service.
|
|
28206
28252
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28207
|
-
* @version
|
|
28253
|
+
* @version 147.0.0
|
|
28208
28254
|
*/
|
|
28209
28255
|
|
|
28210
28256
|
/**
|
|
@@ -28475,7 +28521,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28475
28521
|
/**
|
|
28476
28522
|
* Organization service.
|
|
28477
28523
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28478
|
-
* @version
|
|
28524
|
+
* @version 147.0.0
|
|
28479
28525
|
*/
|
|
28480
28526
|
|
|
28481
28527
|
/**
|
|
@@ -28878,7 +28924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28878
28924
|
/**
|
|
28879
28925
|
* OrganizationAuthorization service.
|
|
28880
28926
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28881
|
-
* @version
|
|
28927
|
+
* @version 147.0.0
|
|
28882
28928
|
*/
|
|
28883
28929
|
|
|
28884
28930
|
/**
|
|
@@ -29803,7 +29849,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29803
29849
|
/**
|
|
29804
29850
|
* Outbound service.
|
|
29805
29851
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29806
|
-
* @version
|
|
29852
|
+
* @version 147.0.0
|
|
29807
29853
|
*/
|
|
29808
29854
|
|
|
29809
29855
|
/**
|
|
@@ -30103,6 +30149,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30103
30149
|
);
|
|
30104
30150
|
}
|
|
30105
30151
|
|
|
30152
|
+
/**
|
|
30153
|
+
* Delete an Outbound Digital Rule Set
|
|
30154
|
+
*
|
|
30155
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
30156
|
+
*/
|
|
30157
|
+
deleteOutboundDigitalruleset(digitalRuleSetId) {
|
|
30158
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
30159
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
30160
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';
|
|
30161
|
+
}
|
|
30162
|
+
|
|
30163
|
+
return this.apiClient.callApi(
|
|
30164
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
30165
|
+
'DELETE',
|
|
30166
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
30167
|
+
{ },
|
|
30168
|
+
{ },
|
|
30169
|
+
{ },
|
|
30170
|
+
null,
|
|
30171
|
+
['PureCloud OAuth'],
|
|
30172
|
+
['application/json'],
|
|
30173
|
+
['application/json']
|
|
30174
|
+
);
|
|
30175
|
+
}
|
|
30176
|
+
|
|
30106
30177
|
/**
|
|
30107
30178
|
* Delete dialer DNC list
|
|
30108
30179
|
*
|
|
@@ -31140,6 +31211,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31140
31211
|
);
|
|
31141
31212
|
}
|
|
31142
31213
|
|
|
31214
|
+
/**
|
|
31215
|
+
* Get an Outbound Digital Rule Set
|
|
31216
|
+
*
|
|
31217
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
31218
|
+
*/
|
|
31219
|
+
getOutboundDigitalruleset(digitalRuleSetId) {
|
|
31220
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
31221
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
31222
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';
|
|
31223
|
+
}
|
|
31224
|
+
|
|
31225
|
+
return this.apiClient.callApi(
|
|
31226
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
31227
|
+
'GET',
|
|
31228
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
31229
|
+
{ },
|
|
31230
|
+
{ },
|
|
31231
|
+
{ },
|
|
31232
|
+
null,
|
|
31233
|
+
['PureCloud OAuth'],
|
|
31234
|
+
['application/json'],
|
|
31235
|
+
['application/json']
|
|
31236
|
+
);
|
|
31237
|
+
}
|
|
31238
|
+
|
|
31239
|
+
/**
|
|
31240
|
+
* Query a list of Outbound Digital Rule Sets
|
|
31241
|
+
*
|
|
31242
|
+
* @param {Object} opts Optional parameters
|
|
31243
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
31244
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
31245
|
+
* @param {Object} opts.sortBy The field to sort by (default to name)
|
|
31246
|
+
* @param {Object} opts.sortOrder The direction to sort (default to ascending)
|
|
31247
|
+
* @param {String} opts.name Name
|
|
31248
|
+
* @param {Array.<String>} opts.id A list of digital rule set ids to bulk fetch
|
|
31249
|
+
*/
|
|
31250
|
+
getOutboundDigitalrulesets(opts) {
|
|
31251
|
+
opts = opts || {};
|
|
31252
|
+
|
|
31253
|
+
|
|
31254
|
+
return this.apiClient.callApi(
|
|
31255
|
+
'/api/v2/outbound/digitalrulesets',
|
|
31256
|
+
'GET',
|
|
31257
|
+
{ },
|
|
31258
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
31259
|
+
{ },
|
|
31260
|
+
{ },
|
|
31261
|
+
null,
|
|
31262
|
+
['PureCloud OAuth'],
|
|
31263
|
+
['application/json'],
|
|
31264
|
+
['application/json']
|
|
31265
|
+
);
|
|
31266
|
+
}
|
|
31267
|
+
|
|
31143
31268
|
/**
|
|
31144
31269
|
* Get dialer DNC list
|
|
31145
31270
|
*
|
|
@@ -32323,6 +32448,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32323
32448
|
);
|
|
32324
32449
|
}
|
|
32325
32450
|
|
|
32451
|
+
/**
|
|
32452
|
+
* Create an Outbound Digital Rule Set
|
|
32453
|
+
*
|
|
32454
|
+
* @param {Object} body Digital Rule Set
|
|
32455
|
+
*/
|
|
32456
|
+
postOutboundDigitalrulesets(body) {
|
|
32457
|
+
// verify the required parameter 'body' is set
|
|
32458
|
+
if (body === undefined || body === null) {
|
|
32459
|
+
throw 'Missing the required parameter "body" when calling postOutboundDigitalrulesets';
|
|
32460
|
+
}
|
|
32461
|
+
|
|
32462
|
+
return this.apiClient.callApi(
|
|
32463
|
+
'/api/v2/outbound/digitalrulesets',
|
|
32464
|
+
'POST',
|
|
32465
|
+
{ },
|
|
32466
|
+
{ },
|
|
32467
|
+
{ },
|
|
32468
|
+
{ },
|
|
32469
|
+
body,
|
|
32470
|
+
['PureCloud OAuth'],
|
|
32471
|
+
['application/json'],
|
|
32472
|
+
['application/json']
|
|
32473
|
+
);
|
|
32474
|
+
}
|
|
32475
|
+
|
|
32326
32476
|
/**
|
|
32327
32477
|
* Initiate the export of a dnc list.
|
|
32328
32478
|
* Returns 200 if received OK.
|
|
@@ -32787,6 +32937,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32787
32937
|
);
|
|
32788
32938
|
}
|
|
32789
32939
|
|
|
32940
|
+
/**
|
|
32941
|
+
* Update an Outbound Digital Rule Set
|
|
32942
|
+
*
|
|
32943
|
+
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
32944
|
+
* @param {Object} body Digital Rule Set
|
|
32945
|
+
*/
|
|
32946
|
+
putOutboundDigitalruleset(digitalRuleSetId, body) {
|
|
32947
|
+
// verify the required parameter 'digitalRuleSetId' is set
|
|
32948
|
+
if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
|
|
32949
|
+
throw 'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';
|
|
32950
|
+
}
|
|
32951
|
+
// verify the required parameter 'body' is set
|
|
32952
|
+
if (body === undefined || body === null) {
|
|
32953
|
+
throw 'Missing the required parameter "body" when calling putOutboundDigitalruleset';
|
|
32954
|
+
}
|
|
32955
|
+
|
|
32956
|
+
return this.apiClient.callApi(
|
|
32957
|
+
'/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
|
|
32958
|
+
'PUT',
|
|
32959
|
+
{ 'digitalRuleSetId': digitalRuleSetId },
|
|
32960
|
+
{ },
|
|
32961
|
+
{ },
|
|
32962
|
+
{ },
|
|
32963
|
+
body,
|
|
32964
|
+
['PureCloud OAuth'],
|
|
32965
|
+
['application/json'],
|
|
32966
|
+
['application/json']
|
|
32967
|
+
);
|
|
32968
|
+
}
|
|
32969
|
+
|
|
32790
32970
|
/**
|
|
32791
32971
|
* Update dialer DNC list
|
|
32792
32972
|
*
|
|
@@ -33058,7 +33238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33058
33238
|
/**
|
|
33059
33239
|
* Presence service.
|
|
33060
33240
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33061
|
-
* @version
|
|
33241
|
+
* @version 147.0.0
|
|
33062
33242
|
*/
|
|
33063
33243
|
|
|
33064
33244
|
/**
|
|
@@ -33380,7 +33560,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33380
33560
|
/**
|
|
33381
33561
|
* Quality service.
|
|
33382
33562
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
33383
|
-
* @version
|
|
33563
|
+
* @version 147.0.0
|
|
33384
33564
|
*/
|
|
33385
33565
|
|
|
33386
33566
|
/**
|
|
@@ -33890,7 +34070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33890
34070
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
33891
34071
|
* @param {String} opts.nextPage next page token
|
|
33892
34072
|
* @param {String} opts.previousPage Previous page token
|
|
33893
|
-
* @param {
|
|
34073
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
33894
34074
|
* @param {String} opts.name Name
|
|
33895
34075
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
33896
34076
|
*/
|
|
@@ -33977,7 +34157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33977
34157
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
33978
34158
|
* @param {String} opts.nextPage next page token
|
|
33979
34159
|
* @param {String} opts.previousPage Previous page token
|
|
33980
|
-
* @param {
|
|
34160
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
33981
34161
|
* @param {String} opts.name Name
|
|
33982
34162
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
33983
34163
|
*/
|
|
@@ -34088,7 +34268,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34088
34268
|
* @param {String} opts.sortBy variable name requested to sort by
|
|
34089
34269
|
* @param {String} opts.nextPage next page token
|
|
34090
34270
|
* @param {String} opts.previousPage Previous page token
|
|
34091
|
-
* @param {
|
|
34271
|
+
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
34092
34272
|
* @param {String} opts.name Name
|
|
34093
34273
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
34094
34274
|
*/
|
|
@@ -34958,7 +35138,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34958
35138
|
/**
|
|
34959
35139
|
* Recording service.
|
|
34960
35140
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
34961
|
-
* @version
|
|
35141
|
+
* @version 147.0.0
|
|
34962
35142
|
*/
|
|
34963
35143
|
|
|
34964
35144
|
/**
|
|
@@ -35832,6 +36012,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35832
36012
|
);
|
|
35833
36013
|
}
|
|
35834
36014
|
|
|
36015
|
+
/**
|
|
36016
|
+
* Query for recording retention data
|
|
36017
|
+
*
|
|
36018
|
+
* @param {Number} retentionThresholdDays Fetch retention data for recordings retained for more days than the provided value.
|
|
36019
|
+
* @param {Object} opts Optional parameters
|
|
36020
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
36021
|
+
* @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
|
|
36022
|
+
*/
|
|
36023
|
+
getRecordingsRetentionQuery(retentionThresholdDays, opts) {
|
|
36024
|
+
opts = opts || {};
|
|
36025
|
+
|
|
36026
|
+
// verify the required parameter 'retentionThresholdDays' is set
|
|
36027
|
+
if (retentionThresholdDays === undefined || retentionThresholdDays === null) {
|
|
36028
|
+
throw 'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';
|
|
36029
|
+
}
|
|
36030
|
+
|
|
36031
|
+
return this.apiClient.callApi(
|
|
36032
|
+
'/api/v2/recordings/retention/query',
|
|
36033
|
+
'GET',
|
|
36034
|
+
{ },
|
|
36035
|
+
{ 'retentionThresholdDays': retentionThresholdDays,'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
|
|
36036
|
+
{ },
|
|
36037
|
+
{ },
|
|
36038
|
+
null,
|
|
36039
|
+
['PureCloud OAuth'],
|
|
36040
|
+
['application/json'],
|
|
36041
|
+
['application/json']
|
|
36042
|
+
);
|
|
36043
|
+
}
|
|
36044
|
+
|
|
35835
36045
|
/**
|
|
35836
36046
|
* Retrieves a paged listing of screen recording sessions
|
|
35837
36047
|
*
|
|
@@ -36611,7 +36821,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36611
36821
|
/**
|
|
36612
36822
|
* ResponseManagement service.
|
|
36613
36823
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
36614
|
-
* @version
|
|
36824
|
+
* @version 147.0.0
|
|
36615
36825
|
*/
|
|
36616
36826
|
|
|
36617
36827
|
/**
|
|
@@ -37095,7 +37305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37095
37305
|
/**
|
|
37096
37306
|
* Routing service.
|
|
37097
37307
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
37098
|
-
* @version
|
|
37308
|
+
* @version 147.0.0
|
|
37099
37309
|
*/
|
|
37100
37310
|
|
|
37101
37311
|
/**
|
|
@@ -40036,7 +40246,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40036
40246
|
/**
|
|
40037
40247
|
* SCIM service.
|
|
40038
40248
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
40039
|
-
* @version
|
|
40249
|
+
* @version 147.0.0
|
|
40040
40250
|
*/
|
|
40041
40251
|
|
|
40042
40252
|
/**
|
|
@@ -40913,7 +41123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40913
41123
|
/**
|
|
40914
41124
|
* Scripts service.
|
|
40915
41125
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
40916
|
-
* @version
|
|
41126
|
+
* @version 147.0.0
|
|
40917
41127
|
*/
|
|
40918
41128
|
|
|
40919
41129
|
/**
|
|
@@ -41332,7 +41542,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41332
41542
|
/**
|
|
41333
41543
|
* Search service.
|
|
41334
41544
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
41335
|
-
* @version
|
|
41545
|
+
* @version 147.0.0
|
|
41336
41546
|
*/
|
|
41337
41547
|
|
|
41338
41548
|
/**
|
|
@@ -41892,7 +42102,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41892
42102
|
/**
|
|
41893
42103
|
* SpeechTextAnalytics service.
|
|
41894
42104
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
41895
|
-
* @version
|
|
42105
|
+
* @version 147.0.0
|
|
41896
42106
|
*/
|
|
41897
42107
|
|
|
41898
42108
|
/**
|
|
@@ -42746,7 +42956,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42746
42956
|
/**
|
|
42747
42957
|
* Stations service.
|
|
42748
42958
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42749
|
-
* @version
|
|
42959
|
+
* @version 147.0.0
|
|
42750
42960
|
*/
|
|
42751
42961
|
|
|
42752
42962
|
/**
|
|
@@ -42893,7 +43103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42893
43103
|
/**
|
|
42894
43104
|
* Suggest service.
|
|
42895
43105
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
42896
|
-
* @version
|
|
43106
|
+
* @version 147.0.0
|
|
42897
43107
|
*/
|
|
42898
43108
|
|
|
42899
43109
|
/**
|
|
@@ -43032,7 +43242,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43032
43242
|
/**
|
|
43033
43243
|
* Teams service.
|
|
43034
43244
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
43035
|
-
* @version
|
|
43245
|
+
* @version 147.0.0
|
|
43036
43246
|
*/
|
|
43037
43247
|
|
|
43038
43248
|
/**
|
|
@@ -43211,7 +43421,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43211
43421
|
/**
|
|
43212
43422
|
* Telephony service.
|
|
43213
43423
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
43214
|
-
* @version
|
|
43424
|
+
* @version 147.0.0
|
|
43215
43425
|
*/
|
|
43216
43426
|
|
|
43217
43427
|
/**
|
|
@@ -43319,7 +43529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43319
43529
|
/**
|
|
43320
43530
|
* TelephonyProvidersEdge service.
|
|
43321
43531
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
43322
|
-
* @version
|
|
43532
|
+
* @version 147.0.0
|
|
43323
43533
|
*/
|
|
43324
43534
|
|
|
43325
43535
|
/**
|
|
@@ -46952,7 +47162,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46952
47162
|
/**
|
|
46953
47163
|
* Textbots service.
|
|
46954
47164
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
46955
|
-
* @version
|
|
47165
|
+
* @version 147.0.0
|
|
46956
47166
|
*/
|
|
46957
47167
|
|
|
46958
47168
|
/**
|
|
@@ -47080,7 +47290,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47080
47290
|
/**
|
|
47081
47291
|
* Tokens service.
|
|
47082
47292
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
47083
|
-
* @version
|
|
47293
|
+
* @version 147.0.0
|
|
47084
47294
|
*/
|
|
47085
47295
|
|
|
47086
47296
|
/**
|
|
@@ -47186,7 +47396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47186
47396
|
/**
|
|
47187
47397
|
* Uploads service.
|
|
47188
47398
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
47189
|
-
* @version
|
|
47399
|
+
* @version 147.0.0
|
|
47190
47400
|
*/
|
|
47191
47401
|
|
|
47192
47402
|
/**
|
|
@@ -47362,7 +47572,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47362
47572
|
/**
|
|
47363
47573
|
* Usage service.
|
|
47364
47574
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
47365
|
-
* @version
|
|
47575
|
+
* @version 147.0.0
|
|
47366
47576
|
*/
|
|
47367
47577
|
|
|
47368
47578
|
/**
|
|
@@ -47433,7 +47643,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47433
47643
|
/**
|
|
47434
47644
|
* UserRecordings service.
|
|
47435
47645
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
47436
|
-
* @version
|
|
47646
|
+
* @version 147.0.0
|
|
47437
47647
|
*/
|
|
47438
47648
|
|
|
47439
47649
|
/**
|
|
@@ -47617,7 +47827,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47617
47827
|
/**
|
|
47618
47828
|
* Users service.
|
|
47619
47829
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
47620
|
-
* @version
|
|
47830
|
+
* @version 147.0.0
|
|
47621
47831
|
*/
|
|
47622
47832
|
|
|
47623
47833
|
/**
|
|
@@ -49359,6 +49569,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49359
49569
|
);
|
|
49360
49570
|
}
|
|
49361
49571
|
|
|
49572
|
+
/**
|
|
49573
|
+
* Create mapping between external identifier and user. Limit 100 per entity.
|
|
49574
|
+
* Authority Name and External key are case sensitive.
|
|
49575
|
+
* @param {String} userId User ID
|
|
49576
|
+
* @param {Object} body
|
|
49577
|
+
*/
|
|
49578
|
+
postUserExternalid(userId, body) {
|
|
49579
|
+
// verify the required parameter 'userId' is set
|
|
49580
|
+
if (userId === undefined || userId === null) {
|
|
49581
|
+
throw 'Missing the required parameter "userId" when calling postUserExternalid';
|
|
49582
|
+
}
|
|
49583
|
+
// verify the required parameter 'body' is set
|
|
49584
|
+
if (body === undefined || body === null) {
|
|
49585
|
+
throw 'Missing the required parameter "body" when calling postUserExternalid';
|
|
49586
|
+
}
|
|
49587
|
+
|
|
49588
|
+
return this.apiClient.callApi(
|
|
49589
|
+
'/api/v2/users/{userId}/externalid',
|
|
49590
|
+
'POST',
|
|
49591
|
+
{ 'userId': userId },
|
|
49592
|
+
{ },
|
|
49593
|
+
{ },
|
|
49594
|
+
{ },
|
|
49595
|
+
body,
|
|
49596
|
+
['PureCloud OAuth'],
|
|
49597
|
+
['application/json'],
|
|
49598
|
+
['application/json']
|
|
49599
|
+
);
|
|
49600
|
+
}
|
|
49601
|
+
|
|
49362
49602
|
/**
|
|
49363
49603
|
* Send an activation email to the user
|
|
49364
49604
|
*
|
|
@@ -49919,7 +50159,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49919
50159
|
/**
|
|
49920
50160
|
* Utilities service.
|
|
49921
50161
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
49922
|
-
* @version
|
|
50162
|
+
* @version 147.0.0
|
|
49923
50163
|
*/
|
|
49924
50164
|
|
|
49925
50165
|
/**
|
|
@@ -50030,7 +50270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50030
50270
|
/**
|
|
50031
50271
|
* Voicemail service.
|
|
50032
50272
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
50033
|
-
* @version
|
|
50273
|
+
* @version 147.0.0
|
|
50034
50274
|
*/
|
|
50035
50275
|
|
|
50036
50276
|
/**
|
|
@@ -50697,7 +50937,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50697
50937
|
/**
|
|
50698
50938
|
* WebChat service.
|
|
50699
50939
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
50700
|
-
* @version
|
|
50940
|
+
* @version 147.0.0
|
|
50701
50941
|
*/
|
|
50702
50942
|
|
|
50703
50943
|
/**
|
|
@@ -51241,7 +51481,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51241
51481
|
/**
|
|
51242
51482
|
* WebDeployments service.
|
|
51243
51483
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
51244
|
-
* @version
|
|
51484
|
+
* @version 147.0.0
|
|
51245
51485
|
*/
|
|
51246
51486
|
|
|
51247
51487
|
/**
|
|
@@ -51435,6 +51675,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51435
51675
|
);
|
|
51436
51676
|
}
|
|
51437
51677
|
|
|
51678
|
+
/**
|
|
51679
|
+
* Get active configuration for a given deployment
|
|
51680
|
+
*
|
|
51681
|
+
* @param {String} deploymentId The deployment ID
|
|
51682
|
+
* @param {Object} opts Optional parameters
|
|
51683
|
+
* @param {String} opts.type Get active configuration on a deployment
|
|
51684
|
+
*/
|
|
51685
|
+
getWebdeploymentsDeploymentConfigurations(deploymentId, opts) {
|
|
51686
|
+
opts = opts || {};
|
|
51687
|
+
|
|
51688
|
+
// verify the required parameter 'deploymentId' is set
|
|
51689
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
51690
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
|
|
51691
|
+
}
|
|
51692
|
+
|
|
51693
|
+
return this.apiClient.callApi(
|
|
51694
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/configurations',
|
|
51695
|
+
'GET',
|
|
51696
|
+
{ 'deploymentId': deploymentId },
|
|
51697
|
+
{ 'type': opts['type'] },
|
|
51698
|
+
{ },
|
|
51699
|
+
{ },
|
|
51700
|
+
null,
|
|
51701
|
+
['PureCloud OAuth'],
|
|
51702
|
+
['application/json'],
|
|
51703
|
+
['application/json']
|
|
51704
|
+
);
|
|
51705
|
+
}
|
|
51706
|
+
|
|
51438
51707
|
/**
|
|
51439
51708
|
* Get deployments
|
|
51440
51709
|
*
|
|
@@ -51596,7 +51865,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51596
51865
|
/**
|
|
51597
51866
|
* WebMessaging service.
|
|
51598
51867
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
51599
|
-
* @version
|
|
51868
|
+
* @version 147.0.0
|
|
51600
51869
|
*/
|
|
51601
51870
|
|
|
51602
51871
|
/**
|
|
@@ -51642,7 +51911,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51642
51911
|
/**
|
|
51643
51912
|
* Widgets service.
|
|
51644
51913
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
51645
|
-
* @version
|
|
51914
|
+
* @version 147.0.0
|
|
51646
51915
|
*/
|
|
51647
51916
|
|
|
51648
51917
|
/**
|
|
@@ -51788,7 +52057,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51788
52057
|
/**
|
|
51789
52058
|
* WorkforceManagement service.
|
|
51790
52059
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
51791
|
-
* @version
|
|
52060
|
+
* @version 147.0.0
|
|
51792
52061
|
*/
|
|
51793
52062
|
|
|
51794
52063
|
/**
|
|
@@ -56064,7 +56333,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56064
56333
|
* </pre>
|
|
56065
56334
|
* </p>
|
|
56066
56335
|
* @module purecloud-platform-client-v2/index
|
|
56067
|
-
* @version
|
|
56336
|
+
* @version 147.0.0
|
|
56068
56337
|
*/
|
|
56069
56338
|
class platformClient {
|
|
56070
56339
|
constructor() {
|