purecloud-platform-client-v2 141.0.0 → 143.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 +453 -65
- package/dist/web-amd/purecloud-platform-client-v2.js +453 -65
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +453 -65
- package/dist/web-cjs/purecloud-platform-client-v2.js +453 -65
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +435 -201
- 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 +1 -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 +154 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -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 +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
- 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 +184 -0
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +26 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -9306,7 +9306,7 @@ class Configuration {
|
|
|
9306
9306
|
|
|
9307
9307
|
/**
|
|
9308
9308
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9309
|
-
* @version
|
|
9309
|
+
* @version 143.0.0
|
|
9310
9310
|
*/
|
|
9311
9311
|
class ApiClient {
|
|
9312
9312
|
/**
|
|
@@ -10378,7 +10378,7 @@ class AlertingApi {
|
|
|
10378
10378
|
/**
|
|
10379
10379
|
* Alerting service.
|
|
10380
10380
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10381
|
-
* @version
|
|
10381
|
+
* @version 143.0.0
|
|
10382
10382
|
*/
|
|
10383
10383
|
|
|
10384
10384
|
/**
|
|
@@ -10692,7 +10692,7 @@ class AnalyticsApi {
|
|
|
10692
10692
|
/**
|
|
10693
10693
|
* Analytics service.
|
|
10694
10694
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10695
|
-
* @version
|
|
10695
|
+
* @version 143.0.0
|
|
10696
10696
|
*/
|
|
10697
10697
|
|
|
10698
10698
|
/**
|
|
@@ -11874,7 +11874,7 @@ class ArchitectApi {
|
|
|
11874
11874
|
/**
|
|
11875
11875
|
* Architect service.
|
|
11876
11876
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11877
|
-
* @version
|
|
11877
|
+
* @version 143.0.0
|
|
11878
11878
|
*/
|
|
11879
11879
|
|
|
11880
11880
|
/**
|
|
@@ -14919,7 +14919,7 @@ class AuditApi {
|
|
|
14919
14919
|
/**
|
|
14920
14920
|
* Audit service.
|
|
14921
14921
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14922
|
-
* @version
|
|
14922
|
+
* @version 143.0.0
|
|
14923
14923
|
*/
|
|
14924
14924
|
|
|
14925
14925
|
/**
|
|
@@ -15090,7 +15090,7 @@ class AuthorizationApi {
|
|
|
15090
15090
|
/**
|
|
15091
15091
|
* Authorization service.
|
|
15092
15092
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15093
|
-
* @version
|
|
15093
|
+
* @version 143.0.0
|
|
15094
15094
|
*/
|
|
15095
15095
|
|
|
15096
15096
|
/**
|
|
@@ -16273,7 +16273,7 @@ class BillingApi {
|
|
|
16273
16273
|
/**
|
|
16274
16274
|
* Billing service.
|
|
16275
16275
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16276
|
-
* @version
|
|
16276
|
+
* @version 143.0.0
|
|
16277
16277
|
*/
|
|
16278
16278
|
|
|
16279
16279
|
/**
|
|
@@ -16353,7 +16353,7 @@ class ChatApi {
|
|
|
16353
16353
|
/**
|
|
16354
16354
|
* Chat service.
|
|
16355
16355
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16356
|
-
* @version
|
|
16356
|
+
* @version 143.0.0
|
|
16357
16357
|
*/
|
|
16358
16358
|
|
|
16359
16359
|
/**
|
|
@@ -16444,7 +16444,7 @@ class CoachingApi {
|
|
|
16444
16444
|
/**
|
|
16445
16445
|
* Coaching service.
|
|
16446
16446
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16447
|
-
* @version
|
|
16447
|
+
* @version 143.0.0
|
|
16448
16448
|
*/
|
|
16449
16449
|
|
|
16450
16450
|
/**
|
|
@@ -17021,7 +17021,7 @@ class ContentManagementApi {
|
|
|
17021
17021
|
/**
|
|
17022
17022
|
* ContentManagement service.
|
|
17023
17023
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17024
|
-
* @version
|
|
17024
|
+
* @version 143.0.0
|
|
17025
17025
|
*/
|
|
17026
17026
|
|
|
17027
17027
|
/**
|
|
@@ -18161,7 +18161,7 @@ class ConversationsApi {
|
|
|
18161
18161
|
/**
|
|
18162
18162
|
* Conversations service.
|
|
18163
18163
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18164
|
-
* @version
|
|
18164
|
+
* @version 143.0.0
|
|
18165
18165
|
*/
|
|
18166
18166
|
|
|
18167
18167
|
/**
|
|
@@ -23095,7 +23095,7 @@ class DataExtensionsApi {
|
|
|
23095
23095
|
/**
|
|
23096
23096
|
* DataExtensions service.
|
|
23097
23097
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23098
|
-
* @version
|
|
23098
|
+
* @version 143.0.0
|
|
23099
23099
|
*/
|
|
23100
23100
|
|
|
23101
23101
|
/**
|
|
@@ -23181,7 +23181,7 @@ class ExternalContactsApi {
|
|
|
23181
23181
|
/**
|
|
23182
23182
|
* ExternalContacts service.
|
|
23183
23183
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23184
|
-
* @version
|
|
23184
|
+
* @version 143.0.0
|
|
23185
23185
|
*/
|
|
23186
23186
|
|
|
23187
23187
|
/**
|
|
@@ -24924,7 +24924,7 @@ class FaxApi {
|
|
|
24924
24924
|
/**
|
|
24925
24925
|
* Fax service.
|
|
24926
24926
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
24927
|
-
* @version
|
|
24927
|
+
* @version 143.0.0
|
|
24928
24928
|
*/
|
|
24929
24929
|
|
|
24930
24930
|
/**
|
|
@@ -25095,7 +25095,7 @@ class FlowsApi {
|
|
|
25095
25095
|
/**
|
|
25096
25096
|
* Flows service.
|
|
25097
25097
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25098
|
-
* @version
|
|
25098
|
+
* @version 143.0.0
|
|
25099
25099
|
*/
|
|
25100
25100
|
|
|
25101
25101
|
/**
|
|
@@ -25166,7 +25166,7 @@ class GamificationApi {
|
|
|
25166
25166
|
/**
|
|
25167
25167
|
* Gamification service.
|
|
25168
25168
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25169
|
-
* @version
|
|
25169
|
+
* @version 143.0.0
|
|
25170
25170
|
*/
|
|
25171
25171
|
|
|
25172
25172
|
/**
|
|
@@ -25181,6 +25181,81 @@ class GamificationApi {
|
|
|
25181
25181
|
}
|
|
25182
25182
|
|
|
25183
25183
|
|
|
25184
|
+
/**
|
|
25185
|
+
* Delete an External Metric Definition
|
|
25186
|
+
*
|
|
25187
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
25188
|
+
*/
|
|
25189
|
+
deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
25190
|
+
// verify the required parameter 'metricId' is set
|
|
25191
|
+
if (metricId === undefined || metricId === null) {
|
|
25192
|
+
throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
|
|
25193
|
+
}
|
|
25194
|
+
|
|
25195
|
+
return this.apiClient.callApi(
|
|
25196
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
25197
|
+
'DELETE',
|
|
25198
|
+
{ 'metricId': metricId },
|
|
25199
|
+
{ },
|
|
25200
|
+
{ },
|
|
25201
|
+
{ },
|
|
25202
|
+
null,
|
|
25203
|
+
['PureCloud OAuth'],
|
|
25204
|
+
['application/json'],
|
|
25205
|
+
['application/json']
|
|
25206
|
+
);
|
|
25207
|
+
}
|
|
25208
|
+
|
|
25209
|
+
/**
|
|
25210
|
+
* Get an External Metric Definition
|
|
25211
|
+
*
|
|
25212
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
25213
|
+
*/
|
|
25214
|
+
getEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
25215
|
+
// verify the required parameter 'metricId' is set
|
|
25216
|
+
if (metricId === undefined || metricId === null) {
|
|
25217
|
+
throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
|
|
25218
|
+
}
|
|
25219
|
+
|
|
25220
|
+
return this.apiClient.callApi(
|
|
25221
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
25222
|
+
'GET',
|
|
25223
|
+
{ 'metricId': metricId },
|
|
25224
|
+
{ },
|
|
25225
|
+
{ },
|
|
25226
|
+
{ },
|
|
25227
|
+
null,
|
|
25228
|
+
['PureCloud OAuth'],
|
|
25229
|
+
['application/json'],
|
|
25230
|
+
['application/json']
|
|
25231
|
+
);
|
|
25232
|
+
}
|
|
25233
|
+
|
|
25234
|
+
/**
|
|
25235
|
+
* Get a list of External Metric Definitions of an organization, sorted by name in ascending order
|
|
25236
|
+
*
|
|
25237
|
+
* @param {Object} opts Optional parameters
|
|
25238
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25239
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25240
|
+
*/
|
|
25241
|
+
getEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
25242
|
+
opts = opts || {};
|
|
25243
|
+
|
|
25244
|
+
|
|
25245
|
+
return this.apiClient.callApi(
|
|
25246
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
25247
|
+
'GET',
|
|
25248
|
+
{ },
|
|
25249
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
25250
|
+
{ },
|
|
25251
|
+
{ },
|
|
25252
|
+
null,
|
|
25253
|
+
['PureCloud OAuth'],
|
|
25254
|
+
['application/json'],
|
|
25255
|
+
['application/json']
|
|
25256
|
+
);
|
|
25257
|
+
}
|
|
25258
|
+
|
|
25184
25259
|
/**
|
|
25185
25260
|
* Leaderboard of the requesting user's division or performance profile
|
|
25186
25261
|
*
|
|
@@ -26390,6 +26465,84 @@ class GamificationApi {
|
|
|
26390
26465
|
);
|
|
26391
26466
|
}
|
|
26392
26467
|
|
|
26468
|
+
/**
|
|
26469
|
+
* Update External Metric Definition
|
|
26470
|
+
*
|
|
26471
|
+
* @param {String} metricId Specifies the metric definition ID
|
|
26472
|
+
* @param {Object} body The External Metric Definition parameters to be updated
|
|
26473
|
+
*/
|
|
26474
|
+
patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
|
|
26475
|
+
// verify the required parameter 'metricId' is set
|
|
26476
|
+
if (metricId === undefined || metricId === null) {
|
|
26477
|
+
throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
26478
|
+
}
|
|
26479
|
+
// verify the required parameter 'body' is set
|
|
26480
|
+
if (body === undefined || body === null) {
|
|
26481
|
+
throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
26482
|
+
}
|
|
26483
|
+
|
|
26484
|
+
return this.apiClient.callApi(
|
|
26485
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
26486
|
+
'PATCH',
|
|
26487
|
+
{ 'metricId': metricId },
|
|
26488
|
+
{ },
|
|
26489
|
+
{ },
|
|
26490
|
+
{ },
|
|
26491
|
+
body,
|
|
26492
|
+
['PureCloud OAuth'],
|
|
26493
|
+
['application/json'],
|
|
26494
|
+
['application/json']
|
|
26495
|
+
);
|
|
26496
|
+
}
|
|
26497
|
+
|
|
26498
|
+
/**
|
|
26499
|
+
* Write External Metric Data
|
|
26500
|
+
*
|
|
26501
|
+
* @param {Object} opts Optional parameters
|
|
26502
|
+
* @param {Object} opts.body The External Metric Data to be added
|
|
26503
|
+
*/
|
|
26504
|
+
postEmployeeperformanceExternalmetricsData(opts) {
|
|
26505
|
+
opts = opts || {};
|
|
26506
|
+
|
|
26507
|
+
|
|
26508
|
+
return this.apiClient.callApi(
|
|
26509
|
+
'/api/v2/employeeperformance/externalmetrics/data',
|
|
26510
|
+
'POST',
|
|
26511
|
+
{ },
|
|
26512
|
+
{ },
|
|
26513
|
+
{ },
|
|
26514
|
+
{ },
|
|
26515
|
+
opts['body'],
|
|
26516
|
+
['PureCloud OAuth'],
|
|
26517
|
+
['application/json'],
|
|
26518
|
+
['application/json']
|
|
26519
|
+
);
|
|
26520
|
+
}
|
|
26521
|
+
|
|
26522
|
+
/**
|
|
26523
|
+
* Create External Metric Definition
|
|
26524
|
+
*
|
|
26525
|
+
* @param {Object} opts Optional parameters
|
|
26526
|
+
* @param {Object} opts.body The External Metric Definition to be created
|
|
26527
|
+
*/
|
|
26528
|
+
postEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
26529
|
+
opts = opts || {};
|
|
26530
|
+
|
|
26531
|
+
|
|
26532
|
+
return this.apiClient.callApi(
|
|
26533
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
26534
|
+
'POST',
|
|
26535
|
+
{ },
|
|
26536
|
+
{ },
|
|
26537
|
+
{ },
|
|
26538
|
+
{ },
|
|
26539
|
+
opts['body'],
|
|
26540
|
+
['PureCloud OAuth'],
|
|
26541
|
+
['application/json'],
|
|
26542
|
+
['application/json']
|
|
26543
|
+
);
|
|
26544
|
+
}
|
|
26545
|
+
|
|
26393
26546
|
/**
|
|
26394
26547
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
26395
26548
|
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
@@ -26748,7 +26901,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26748
26901
|
/**
|
|
26749
26902
|
* GeneralDataProtectionRegulation service.
|
|
26750
26903
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26751
|
-
* @version
|
|
26904
|
+
* @version 143.0.0
|
|
26752
26905
|
*/
|
|
26753
26906
|
|
|
26754
26907
|
/**
|
|
@@ -26878,7 +27031,7 @@ class GeolocationApi {
|
|
|
26878
27031
|
/**
|
|
26879
27032
|
* Geolocation service.
|
|
26880
27033
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26881
|
-
* @version
|
|
27034
|
+
* @version 143.0.0
|
|
26882
27035
|
*/
|
|
26883
27036
|
|
|
26884
27037
|
/**
|
|
@@ -27009,7 +27162,7 @@ class GreetingsApi {
|
|
|
27009
27162
|
/**
|
|
27010
27163
|
* Greetings service.
|
|
27011
27164
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27012
|
-
* @version
|
|
27165
|
+
* @version 143.0.0
|
|
27013
27166
|
*/
|
|
27014
27167
|
|
|
27015
27168
|
/**
|
|
@@ -27464,7 +27617,7 @@ class GroupsApi {
|
|
|
27464
27617
|
/**
|
|
27465
27618
|
* Groups service.
|
|
27466
27619
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27467
|
-
* @version
|
|
27620
|
+
* @version 143.0.0
|
|
27468
27621
|
*/
|
|
27469
27622
|
|
|
27470
27623
|
/**
|
|
@@ -27869,7 +28022,7 @@ class IdentityProviderApi {
|
|
|
27869
28022
|
/**
|
|
27870
28023
|
* IdentityProvider service.
|
|
27871
28024
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27872
|
-
* @version
|
|
28025
|
+
* @version 143.0.0
|
|
27873
28026
|
*/
|
|
27874
28027
|
|
|
27875
28028
|
/**
|
|
@@ -28625,7 +28778,7 @@ class IntegrationsApi {
|
|
|
28625
28778
|
/**
|
|
28626
28779
|
* Integrations service.
|
|
28627
28780
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28628
|
-
* @version
|
|
28781
|
+
* @version 143.0.0
|
|
28629
28782
|
*/
|
|
28630
28783
|
|
|
28631
28784
|
/**
|
|
@@ -30302,7 +30455,7 @@ class JourneyApi {
|
|
|
30302
30455
|
/**
|
|
30303
30456
|
* Journey service.
|
|
30304
30457
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30305
|
-
* @version
|
|
30458
|
+
* @version 143.0.0
|
|
30306
30459
|
*/
|
|
30307
30460
|
|
|
30308
30461
|
/**
|
|
@@ -31013,7 +31166,7 @@ class KnowledgeApi {
|
|
|
31013
31166
|
/**
|
|
31014
31167
|
* Knowledge service.
|
|
31015
31168
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31016
|
-
* @version
|
|
31169
|
+
* @version 143.0.0
|
|
31017
31170
|
*/
|
|
31018
31171
|
|
|
31019
31172
|
/**
|
|
@@ -31913,7 +32066,7 @@ class LanguageUnderstandingApi {
|
|
|
31913
32066
|
/**
|
|
31914
32067
|
* LanguageUnderstanding service.
|
|
31915
32068
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
31916
|
-
* @version
|
|
32069
|
+
* @version 143.0.0
|
|
31917
32070
|
*/
|
|
31918
32071
|
|
|
31919
32072
|
/**
|
|
@@ -32817,7 +32970,7 @@ class LanguagesApi {
|
|
|
32817
32970
|
/**
|
|
32818
32971
|
* Languages service.
|
|
32819
32972
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
32820
|
-
* @version
|
|
32973
|
+
* @version 143.0.0
|
|
32821
32974
|
*/
|
|
32822
32975
|
|
|
32823
32976
|
/**
|
|
@@ -33085,7 +33238,7 @@ class LearningApi {
|
|
|
33085
33238
|
/**
|
|
33086
33239
|
* Learning service.
|
|
33087
33240
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
33088
|
-
* @version
|
|
33241
|
+
* @version 143.0.0
|
|
33089
33242
|
*/
|
|
33090
33243
|
|
|
33091
33244
|
/**
|
|
@@ -33820,7 +33973,7 @@ class LicenseApi {
|
|
|
33820
33973
|
/**
|
|
33821
33974
|
* License service.
|
|
33822
33975
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
33823
|
-
* @version
|
|
33976
|
+
* @version 143.0.0
|
|
33824
33977
|
*/
|
|
33825
33978
|
|
|
33826
33979
|
/**
|
|
@@ -34058,7 +34211,7 @@ class LocationsApi {
|
|
|
34058
34211
|
/**
|
|
34059
34212
|
* Locations service.
|
|
34060
34213
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
34061
|
-
* @version
|
|
34214
|
+
* @version 143.0.0
|
|
34062
34215
|
*/
|
|
34063
34216
|
|
|
34064
34217
|
/**
|
|
@@ -34294,7 +34447,7 @@ class MessagingApi {
|
|
|
34294
34447
|
/**
|
|
34295
34448
|
* Messaging service.
|
|
34296
34449
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
34297
|
-
* @version
|
|
34450
|
+
* @version 143.0.0
|
|
34298
34451
|
*/
|
|
34299
34452
|
|
|
34300
34453
|
/**
|
|
@@ -34445,7 +34598,7 @@ class MobileDevicesApi {
|
|
|
34445
34598
|
/**
|
|
34446
34599
|
* MobileDevices service.
|
|
34447
34600
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
34448
|
-
* @version
|
|
34601
|
+
* @version 143.0.0
|
|
34449
34602
|
*/
|
|
34450
34603
|
|
|
34451
34604
|
/**
|
|
@@ -34596,7 +34749,7 @@ class NotificationsApi {
|
|
|
34596
34749
|
/**
|
|
34597
34750
|
* Notifications service.
|
|
34598
34751
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
34599
|
-
* @version
|
|
34752
|
+
* @version 143.0.0
|
|
34600
34753
|
*/
|
|
34601
34754
|
|
|
34602
34755
|
/**
|
|
@@ -34821,7 +34974,7 @@ class OAuthApi {
|
|
|
34821
34974
|
/**
|
|
34822
34975
|
* OAuth service.
|
|
34823
34976
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
34824
|
-
* @version
|
|
34977
|
+
* @version 143.0.0
|
|
34825
34978
|
*/
|
|
34826
34979
|
|
|
34827
34980
|
/**
|
|
@@ -35187,7 +35340,7 @@ class ObjectsApi {
|
|
|
35187
35340
|
/**
|
|
35188
35341
|
* Objects service.
|
|
35189
35342
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
35190
|
-
* @version
|
|
35343
|
+
* @version 143.0.0
|
|
35191
35344
|
*/
|
|
35192
35345
|
|
|
35193
35346
|
/**
|
|
@@ -35458,7 +35611,7 @@ class OrganizationApi {
|
|
|
35458
35611
|
/**
|
|
35459
35612
|
* Organization service.
|
|
35460
35613
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
35461
|
-
* @version
|
|
35614
|
+
* @version 143.0.0
|
|
35462
35615
|
*/
|
|
35463
35616
|
|
|
35464
35617
|
/**
|
|
@@ -35861,7 +36014,7 @@ class OrganizationAuthorizationApi {
|
|
|
35861
36014
|
/**
|
|
35862
36015
|
* OrganizationAuthorization service.
|
|
35863
36016
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
35864
|
-
* @version
|
|
36017
|
+
* @version 143.0.0
|
|
35865
36018
|
*/
|
|
35866
36019
|
|
|
35867
36020
|
/**
|
|
@@ -36786,7 +36939,7 @@ class OutboundApi {
|
|
|
36786
36939
|
/**
|
|
36787
36940
|
* Outbound service.
|
|
36788
36941
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
36789
|
-
* @version
|
|
36942
|
+
* @version 143.0.0
|
|
36790
36943
|
*/
|
|
36791
36944
|
|
|
36792
36945
|
/**
|
|
@@ -40041,7 +40194,7 @@ class PresenceApi {
|
|
|
40041
40194
|
/**
|
|
40042
40195
|
* Presence service.
|
|
40043
40196
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
40044
|
-
* @version
|
|
40197
|
+
* @version 143.0.0
|
|
40045
40198
|
*/
|
|
40046
40199
|
|
|
40047
40200
|
/**
|
|
@@ -40363,7 +40516,7 @@ class QualityApi {
|
|
|
40363
40516
|
/**
|
|
40364
40517
|
* Quality service.
|
|
40365
40518
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
40366
|
-
* @version
|
|
40519
|
+
* @version 143.0.0
|
|
40367
40520
|
*/
|
|
40368
40521
|
|
|
40369
40522
|
/**
|
|
@@ -41941,7 +42094,7 @@ class RecordingApi {
|
|
|
41941
42094
|
/**
|
|
41942
42095
|
* Recording service.
|
|
41943
42096
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
41944
|
-
* @version
|
|
42097
|
+
* @version 143.0.0
|
|
41945
42098
|
*/
|
|
41946
42099
|
|
|
41947
42100
|
/**
|
|
@@ -43594,7 +43747,7 @@ class ResponseManagementApi {
|
|
|
43594
43747
|
/**
|
|
43595
43748
|
* ResponseManagement service.
|
|
43596
43749
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
43597
|
-
* @version
|
|
43750
|
+
* @version 143.0.0
|
|
43598
43751
|
*/
|
|
43599
43752
|
|
|
43600
43753
|
/**
|
|
@@ -44078,7 +44231,7 @@ class RoutingApi {
|
|
|
44078
44231
|
/**
|
|
44079
44232
|
* Routing service.
|
|
44080
44233
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
44081
|
-
* @version
|
|
44234
|
+
* @version 143.0.0
|
|
44082
44235
|
*/
|
|
44083
44236
|
|
|
44084
44237
|
/**
|
|
@@ -46999,7 +47152,7 @@ class SCIMApi {
|
|
|
46999
47152
|
/**
|
|
47000
47153
|
* SCIM service.
|
|
47001
47154
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
47002
|
-
* @version
|
|
47155
|
+
* @version 143.0.0
|
|
47003
47156
|
*/
|
|
47004
47157
|
|
|
47005
47158
|
/**
|
|
@@ -47876,7 +48029,7 @@ class ScriptsApi {
|
|
|
47876
48029
|
/**
|
|
47877
48030
|
* Scripts service.
|
|
47878
48031
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
47879
|
-
* @version
|
|
48032
|
+
* @version 143.0.0
|
|
47880
48033
|
*/
|
|
47881
48034
|
|
|
47882
48035
|
/**
|
|
@@ -48295,7 +48448,7 @@ class SearchApi {
|
|
|
48295
48448
|
/**
|
|
48296
48449
|
* Search service.
|
|
48297
48450
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
48298
|
-
* @version
|
|
48451
|
+
* @version 143.0.0
|
|
48299
48452
|
*/
|
|
48300
48453
|
|
|
48301
48454
|
/**
|
|
@@ -48774,6 +48927,31 @@ class SearchApi {
|
|
|
48774
48927
|
);
|
|
48775
48928
|
}
|
|
48776
48929
|
|
|
48930
|
+
/**
|
|
48931
|
+
* Search resources.
|
|
48932
|
+
*
|
|
48933
|
+
* @param {Object} body Search request options
|
|
48934
|
+
*/
|
|
48935
|
+
postTeamsSearch(body) {
|
|
48936
|
+
// verify the required parameter 'body' is set
|
|
48937
|
+
if (body === undefined || body === null) {
|
|
48938
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
48939
|
+
}
|
|
48940
|
+
|
|
48941
|
+
return this.apiClient.callApi(
|
|
48942
|
+
'/api/v2/teams/search',
|
|
48943
|
+
'POST',
|
|
48944
|
+
{ },
|
|
48945
|
+
{ },
|
|
48946
|
+
{ },
|
|
48947
|
+
{ },
|
|
48948
|
+
body,
|
|
48949
|
+
['PureCloud OAuth'],
|
|
48950
|
+
['application/json'],
|
|
48951
|
+
['application/json']
|
|
48952
|
+
);
|
|
48953
|
+
}
|
|
48954
|
+
|
|
48777
48955
|
/**
|
|
48778
48956
|
* Search users
|
|
48779
48957
|
*
|
|
@@ -48830,7 +49008,7 @@ class SpeechTextAnalyticsApi {
|
|
|
48830
49008
|
/**
|
|
48831
49009
|
* SpeechTextAnalytics service.
|
|
48832
49010
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
48833
|
-
* @version
|
|
49011
|
+
* @version 143.0.0
|
|
48834
49012
|
*/
|
|
48835
49013
|
|
|
48836
49014
|
/**
|
|
@@ -49055,6 +49233,7 @@ class SpeechTextAnalyticsApi {
|
|
|
49055
49233
|
* @param {Object} opts Optional parameters
|
|
49056
49234
|
* @param {String} opts.nextPage The key for listing the next page
|
|
49057
49235
|
* @param {Number} opts.pageSize The page size for the listing (default to 20)
|
|
49236
|
+
* @param {Object} opts.state Program state. Defaults to Latest
|
|
49058
49237
|
*/
|
|
49059
49238
|
getSpeechandtextanalyticsPrograms(opts) {
|
|
49060
49239
|
opts = opts || {};
|
|
@@ -49064,7 +49243,7 @@ class SpeechTextAnalyticsApi {
|
|
|
49064
49243
|
'/api/v2/speechandtextanalytics/programs',
|
|
49065
49244
|
'GET',
|
|
49066
49245
|
{ },
|
|
49067
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
|
|
49246
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
|
|
49068
49247
|
{ },
|
|
49069
49248
|
{ },
|
|
49070
49249
|
null,
|
|
@@ -49683,7 +49862,7 @@ class StationsApi {
|
|
|
49683
49862
|
/**
|
|
49684
49863
|
* Stations service.
|
|
49685
49864
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
49686
|
-
* @version
|
|
49865
|
+
* @version 143.0.0
|
|
49687
49866
|
*/
|
|
49688
49867
|
|
|
49689
49868
|
/**
|
|
@@ -49830,7 +50009,7 @@ class SuggestApi {
|
|
|
49830
50009
|
/**
|
|
49831
50010
|
* Suggest service.
|
|
49832
50011
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
49833
|
-
* @version
|
|
50012
|
+
* @version 143.0.0
|
|
49834
50013
|
*/
|
|
49835
50014
|
|
|
49836
50015
|
/**
|
|
@@ -49965,11 +50144,190 @@ class SuggestApi {
|
|
|
49965
50144
|
|
|
49966
50145
|
}
|
|
49967
50146
|
|
|
50147
|
+
class TeamsApi {
|
|
50148
|
+
/**
|
|
50149
|
+
* Teams service.
|
|
50150
|
+
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
50151
|
+
* @version 143.0.0
|
|
50152
|
+
*/
|
|
50153
|
+
|
|
50154
|
+
/**
|
|
50155
|
+
* Constructs a new TeamsApi.
|
|
50156
|
+
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
50157
|
+
* @class
|
|
50158
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
50159
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
50160
|
+
*/
|
|
50161
|
+
constructor(apiClient) {
|
|
50162
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
50163
|
+
}
|
|
50164
|
+
|
|
50165
|
+
|
|
50166
|
+
/**
|
|
50167
|
+
* Delete team
|
|
50168
|
+
*
|
|
50169
|
+
* @param {String} teamId Team ID
|
|
50170
|
+
*/
|
|
50171
|
+
deleteTeam(teamId) {
|
|
50172
|
+
// verify the required parameter 'teamId' is set
|
|
50173
|
+
if (teamId === undefined || teamId === null) {
|
|
50174
|
+
throw 'Missing the required parameter "teamId" when calling deleteTeam';
|
|
50175
|
+
}
|
|
50176
|
+
|
|
50177
|
+
return this.apiClient.callApi(
|
|
50178
|
+
'/api/v2/teams/{teamId}',
|
|
50179
|
+
'DELETE',
|
|
50180
|
+
{ 'teamId': teamId },
|
|
50181
|
+
{ },
|
|
50182
|
+
{ },
|
|
50183
|
+
{ },
|
|
50184
|
+
null,
|
|
50185
|
+
['PureCloud OAuth'],
|
|
50186
|
+
['application/json'],
|
|
50187
|
+
['application/json']
|
|
50188
|
+
);
|
|
50189
|
+
}
|
|
50190
|
+
|
|
50191
|
+
/**
|
|
50192
|
+
* Get team
|
|
50193
|
+
*
|
|
50194
|
+
* @param {String} teamId Team ID
|
|
50195
|
+
*/
|
|
50196
|
+
getTeam(teamId) {
|
|
50197
|
+
// verify the required parameter 'teamId' is set
|
|
50198
|
+
if (teamId === undefined || teamId === null) {
|
|
50199
|
+
throw 'Missing the required parameter "teamId" when calling getTeam';
|
|
50200
|
+
}
|
|
50201
|
+
|
|
50202
|
+
return this.apiClient.callApi(
|
|
50203
|
+
'/api/v2/teams/{teamId}',
|
|
50204
|
+
'GET',
|
|
50205
|
+
{ 'teamId': teamId },
|
|
50206
|
+
{ },
|
|
50207
|
+
{ },
|
|
50208
|
+
{ },
|
|
50209
|
+
null,
|
|
50210
|
+
['PureCloud OAuth'],
|
|
50211
|
+
['application/json'],
|
|
50212
|
+
['application/json']
|
|
50213
|
+
);
|
|
50214
|
+
}
|
|
50215
|
+
|
|
50216
|
+
/**
|
|
50217
|
+
* Get Team listing
|
|
50218
|
+
*
|
|
50219
|
+
* @param {Object} opts Optional parameters
|
|
50220
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
50221
|
+
* @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
|
|
50222
|
+
* @param {String} opts.after The cursor that points to the next item in the complete list of teams
|
|
50223
|
+
* @param {String} opts.before The cursor that points to the previous item in the complete list of teams
|
|
50224
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
50225
|
+
*/
|
|
50226
|
+
getTeams(opts) {
|
|
50227
|
+
opts = opts || {};
|
|
50228
|
+
|
|
50229
|
+
|
|
50230
|
+
return this.apiClient.callApi(
|
|
50231
|
+
'/api/v2/teams',
|
|
50232
|
+
'GET',
|
|
50233
|
+
{ },
|
|
50234
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
50235
|
+
{ },
|
|
50236
|
+
{ },
|
|
50237
|
+
null,
|
|
50238
|
+
['PureCloud OAuth'],
|
|
50239
|
+
['application/json'],
|
|
50240
|
+
['application/json']
|
|
50241
|
+
);
|
|
50242
|
+
}
|
|
50243
|
+
|
|
50244
|
+
/**
|
|
50245
|
+
* Update team
|
|
50246
|
+
*
|
|
50247
|
+
* @param {String} teamId Team ID
|
|
50248
|
+
* @param {Object} body Team
|
|
50249
|
+
*/
|
|
50250
|
+
patchTeam(teamId, body) {
|
|
50251
|
+
// verify the required parameter 'teamId' is set
|
|
50252
|
+
if (teamId === undefined || teamId === null) {
|
|
50253
|
+
throw 'Missing the required parameter "teamId" when calling patchTeam';
|
|
50254
|
+
}
|
|
50255
|
+
// verify the required parameter 'body' is set
|
|
50256
|
+
if (body === undefined || body === null) {
|
|
50257
|
+
throw 'Missing the required parameter "body" when calling patchTeam';
|
|
50258
|
+
}
|
|
50259
|
+
|
|
50260
|
+
return this.apiClient.callApi(
|
|
50261
|
+
'/api/v2/teams/{teamId}',
|
|
50262
|
+
'PATCH',
|
|
50263
|
+
{ 'teamId': teamId },
|
|
50264
|
+
{ },
|
|
50265
|
+
{ },
|
|
50266
|
+
{ },
|
|
50267
|
+
body,
|
|
50268
|
+
['PureCloud OAuth'],
|
|
50269
|
+
['application/json'],
|
|
50270
|
+
['application/json']
|
|
50271
|
+
);
|
|
50272
|
+
}
|
|
50273
|
+
|
|
50274
|
+
/**
|
|
50275
|
+
* Create a team
|
|
50276
|
+
*
|
|
50277
|
+
* @param {Object} body Team
|
|
50278
|
+
*/
|
|
50279
|
+
postTeams(body) {
|
|
50280
|
+
// verify the required parameter 'body' is set
|
|
50281
|
+
if (body === undefined || body === null) {
|
|
50282
|
+
throw 'Missing the required parameter "body" when calling postTeams';
|
|
50283
|
+
}
|
|
50284
|
+
|
|
50285
|
+
return this.apiClient.callApi(
|
|
50286
|
+
'/api/v2/teams',
|
|
50287
|
+
'POST',
|
|
50288
|
+
{ },
|
|
50289
|
+
{ },
|
|
50290
|
+
{ },
|
|
50291
|
+
{ },
|
|
50292
|
+
body,
|
|
50293
|
+
['PureCloud OAuth'],
|
|
50294
|
+
['application/json'],
|
|
50295
|
+
['application/json']
|
|
50296
|
+
);
|
|
50297
|
+
}
|
|
50298
|
+
|
|
50299
|
+
/**
|
|
50300
|
+
* Search resources.
|
|
50301
|
+
*
|
|
50302
|
+
* @param {Object} body Search request options
|
|
50303
|
+
*/
|
|
50304
|
+
postTeamsSearch(body) {
|
|
50305
|
+
// verify the required parameter 'body' is set
|
|
50306
|
+
if (body === undefined || body === null) {
|
|
50307
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
50308
|
+
}
|
|
50309
|
+
|
|
50310
|
+
return this.apiClient.callApi(
|
|
50311
|
+
'/api/v2/teams/search',
|
|
50312
|
+
'POST',
|
|
50313
|
+
{ },
|
|
50314
|
+
{ },
|
|
50315
|
+
{ },
|
|
50316
|
+
{ },
|
|
50317
|
+
body,
|
|
50318
|
+
['PureCloud OAuth'],
|
|
50319
|
+
['application/json'],
|
|
50320
|
+
['application/json']
|
|
50321
|
+
);
|
|
50322
|
+
}
|
|
50323
|
+
|
|
50324
|
+
}
|
|
50325
|
+
|
|
49968
50326
|
class TelephonyApi {
|
|
49969
50327
|
/**
|
|
49970
50328
|
* Telephony service.
|
|
49971
50329
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
49972
|
-
* @version
|
|
50330
|
+
* @version 143.0.0
|
|
49973
50331
|
*/
|
|
49974
50332
|
|
|
49975
50333
|
/**
|
|
@@ -50077,7 +50435,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
50077
50435
|
/**
|
|
50078
50436
|
* TelephonyProvidersEdge service.
|
|
50079
50437
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
50080
|
-
* @version
|
|
50438
|
+
* @version 143.0.0
|
|
50081
50439
|
*/
|
|
50082
50440
|
|
|
50083
50441
|
/**
|
|
@@ -53710,7 +54068,7 @@ class TextbotsApi {
|
|
|
53710
54068
|
/**
|
|
53711
54069
|
* Textbots service.
|
|
53712
54070
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
53713
|
-
* @version
|
|
54071
|
+
* @version 143.0.0
|
|
53714
54072
|
*/
|
|
53715
54073
|
|
|
53716
54074
|
/**
|
|
@@ -53838,7 +54196,7 @@ class TokensApi {
|
|
|
53838
54196
|
/**
|
|
53839
54197
|
* Tokens service.
|
|
53840
54198
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
53841
|
-
* @version
|
|
54199
|
+
* @version 143.0.0
|
|
53842
54200
|
*/
|
|
53843
54201
|
|
|
53844
54202
|
/**
|
|
@@ -53944,7 +54302,7 @@ class UploadsApi {
|
|
|
53944
54302
|
/**
|
|
53945
54303
|
* Uploads service.
|
|
53946
54304
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
53947
|
-
* @version
|
|
54305
|
+
* @version 143.0.0
|
|
53948
54306
|
*/
|
|
53949
54307
|
|
|
53950
54308
|
/**
|
|
@@ -54095,7 +54453,7 @@ class UsageApi {
|
|
|
54095
54453
|
/**
|
|
54096
54454
|
* Usage service.
|
|
54097
54455
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
54098
|
-
* @version
|
|
54456
|
+
* @version 143.0.0
|
|
54099
54457
|
*/
|
|
54100
54458
|
|
|
54101
54459
|
/**
|
|
@@ -54166,7 +54524,7 @@ class UserRecordingsApi {
|
|
|
54166
54524
|
/**
|
|
54167
54525
|
* UserRecordings service.
|
|
54168
54526
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
54169
|
-
* @version
|
|
54527
|
+
* @version 143.0.0
|
|
54170
54528
|
*/
|
|
54171
54529
|
|
|
54172
54530
|
/**
|
|
@@ -54350,7 +54708,7 @@ class UsersApi {
|
|
|
54350
54708
|
/**
|
|
54351
54709
|
* Users service.
|
|
54352
54710
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
54353
|
-
* @version
|
|
54711
|
+
* @version 143.0.0
|
|
54354
54712
|
*/
|
|
54355
54713
|
|
|
54356
54714
|
/**
|
|
@@ -56652,7 +57010,7 @@ class UtilitiesApi {
|
|
|
56652
57010
|
/**
|
|
56653
57011
|
* Utilities service.
|
|
56654
57012
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
56655
|
-
* @version
|
|
57013
|
+
* @version 143.0.0
|
|
56656
57014
|
*/
|
|
56657
57015
|
|
|
56658
57016
|
/**
|
|
@@ -56763,7 +57121,7 @@ class VoicemailApi {
|
|
|
56763
57121
|
/**
|
|
56764
57122
|
* Voicemail service.
|
|
56765
57123
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
56766
|
-
* @version
|
|
57124
|
+
* @version 143.0.0
|
|
56767
57125
|
*/
|
|
56768
57126
|
|
|
56769
57127
|
/**
|
|
@@ -57430,7 +57788,7 @@ class WebChatApi {
|
|
|
57430
57788
|
/**
|
|
57431
57789
|
* WebChat service.
|
|
57432
57790
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
57433
|
-
* @version
|
|
57791
|
+
* @version 143.0.0
|
|
57434
57792
|
*/
|
|
57435
57793
|
|
|
57436
57794
|
/**
|
|
@@ -57974,7 +58332,7 @@ class WebDeploymentsApi {
|
|
|
57974
58332
|
/**
|
|
57975
58333
|
* WebDeployments service.
|
|
57976
58334
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
57977
|
-
* @version
|
|
58335
|
+
* @version 143.0.0
|
|
57978
58336
|
*/
|
|
57979
58337
|
|
|
57980
58338
|
/**
|
|
@@ -58329,7 +58687,7 @@ class WebMessagingApi {
|
|
|
58329
58687
|
/**
|
|
58330
58688
|
* WebMessaging service.
|
|
58331
58689
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
58332
|
-
* @version
|
|
58690
|
+
* @version 143.0.0
|
|
58333
58691
|
*/
|
|
58334
58692
|
|
|
58335
58693
|
/**
|
|
@@ -58375,7 +58733,7 @@ class WidgetsApi {
|
|
|
58375
58733
|
/**
|
|
58376
58734
|
* Widgets service.
|
|
58377
58735
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
58378
|
-
* @version
|
|
58736
|
+
* @version 143.0.0
|
|
58379
58737
|
*/
|
|
58380
58738
|
|
|
58381
58739
|
/**
|
|
@@ -58521,7 +58879,7 @@ class WorkforceManagementApi {
|
|
|
58521
58879
|
/**
|
|
58522
58880
|
* WorkforceManagement service.
|
|
58523
58881
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
58524
|
-
* @version
|
|
58882
|
+
* @version 143.0.0
|
|
58525
58883
|
*/
|
|
58526
58884
|
|
|
58527
58885
|
/**
|
|
@@ -58941,6 +59299,31 @@ class WorkforceManagementApi {
|
|
|
58941
59299
|
);
|
|
58942
59300
|
}
|
|
58943
59301
|
|
|
59302
|
+
/**
|
|
59303
|
+
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
59304
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
59305
|
+
* @param {String} jobId jobId
|
|
59306
|
+
*/
|
|
59307
|
+
getWorkforcemanagementAdherenceHistoricalJob(jobId) {
|
|
59308
|
+
// verify the required parameter 'jobId' is set
|
|
59309
|
+
if (jobId === undefined || jobId === null) {
|
|
59310
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
|
|
59311
|
+
}
|
|
59312
|
+
|
|
59313
|
+
return this.apiClient.callApi(
|
|
59314
|
+
'/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}',
|
|
59315
|
+
'GET',
|
|
59316
|
+
{ 'jobId': jobId },
|
|
59317
|
+
{ },
|
|
59318
|
+
{ },
|
|
59319
|
+
{ },
|
|
59320
|
+
null,
|
|
59321
|
+
['PureCloud OAuth'],
|
|
59322
|
+
['application/json'],
|
|
59323
|
+
['application/json']
|
|
59324
|
+
);
|
|
59325
|
+
}
|
|
59326
|
+
|
|
58944
59327
|
/**
|
|
58945
59328
|
* Get status of the modeling job
|
|
58946
59329
|
*
|
|
@@ -62772,7 +63155,7 @@ class WorkforceManagementApi {
|
|
|
62772
63155
|
* </pre>
|
|
62773
63156
|
* </p>
|
|
62774
63157
|
* @module purecloud-platform-client-v2/index
|
|
62775
|
-
* @version
|
|
63158
|
+
* @version 143.0.0
|
|
62776
63159
|
*/
|
|
62777
63160
|
class platformClient {
|
|
62778
63161
|
constructor() {
|
|
@@ -63021,6 +63404,11 @@ class platformClient {
|
|
|
63021
63404
|
* @property {module:purecloud-platform-client-v2/api/SuggestApi}
|
|
63022
63405
|
*/
|
|
63023
63406
|
this.SuggestApi = SuggestApi;
|
|
63407
|
+
/**
|
|
63408
|
+
* The TeamsApi service constructor.
|
|
63409
|
+
* @property {module:purecloud-platform-client-v2/api/TeamsApi}
|
|
63410
|
+
*/
|
|
63411
|
+
this.TeamsApi = TeamsApi;
|
|
63024
63412
|
/**
|
|
63025
63413
|
* The TelephonyApi service constructor.
|
|
63026
63414
|
* @property {module:purecloud-platform-client-v2/api/TelephonyApi}
|