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
|
@@ -398,7 +398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* @module purecloud-platform-client-v2/ApiClient
|
|
401
|
-
* @version
|
|
401
|
+
* @version 143.0.0
|
|
402
402
|
*/
|
|
403
403
|
class ApiClient {
|
|
404
404
|
/**
|
|
@@ -1477,7 +1477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Alerting service.
|
|
1479
1479
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1480
|
-
* @version
|
|
1480
|
+
* @version 143.0.0
|
|
1481
1481
|
*/
|
|
1482
1482
|
|
|
1483
1483
|
/**
|
|
@@ -1791,7 +1791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Analytics service.
|
|
1793
1793
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1794
|
-
* @version
|
|
1794
|
+
* @version 143.0.0
|
|
1795
1795
|
*/
|
|
1796
1796
|
|
|
1797
1797
|
/**
|
|
@@ -2973,7 +2973,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2973
2973
|
/**
|
|
2974
2974
|
* Architect service.
|
|
2975
2975
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2976
|
-
* @version
|
|
2976
|
+
* @version 143.0.0
|
|
2977
2977
|
*/
|
|
2978
2978
|
|
|
2979
2979
|
/**
|
|
@@ -6018,7 +6018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6018
6018
|
/**
|
|
6019
6019
|
* Audit service.
|
|
6020
6020
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6021
|
-
* @version
|
|
6021
|
+
* @version 143.0.0
|
|
6022
6022
|
*/
|
|
6023
6023
|
|
|
6024
6024
|
/**
|
|
@@ -6189,7 +6189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6189
6189
|
/**
|
|
6190
6190
|
* Authorization service.
|
|
6191
6191
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6192
|
-
* @version
|
|
6192
|
+
* @version 143.0.0
|
|
6193
6193
|
*/
|
|
6194
6194
|
|
|
6195
6195
|
/**
|
|
@@ -7372,7 +7372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7372
7372
|
/**
|
|
7373
7373
|
* Billing service.
|
|
7374
7374
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7375
|
-
* @version
|
|
7375
|
+
* @version 143.0.0
|
|
7376
7376
|
*/
|
|
7377
7377
|
|
|
7378
7378
|
/**
|
|
@@ -7452,7 +7452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7452
7452
|
/**
|
|
7453
7453
|
* Chat service.
|
|
7454
7454
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7455
|
-
* @version
|
|
7455
|
+
* @version 143.0.0
|
|
7456
7456
|
*/
|
|
7457
7457
|
|
|
7458
7458
|
/**
|
|
@@ -7543,7 +7543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7543
7543
|
/**
|
|
7544
7544
|
* Coaching service.
|
|
7545
7545
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7546
|
-
* @version
|
|
7546
|
+
* @version 143.0.0
|
|
7547
7547
|
*/
|
|
7548
7548
|
|
|
7549
7549
|
/**
|
|
@@ -8120,7 +8120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8120
8120
|
/**
|
|
8121
8121
|
* ContentManagement service.
|
|
8122
8122
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8123
|
-
* @version
|
|
8123
|
+
* @version 143.0.0
|
|
8124
8124
|
*/
|
|
8125
8125
|
|
|
8126
8126
|
/**
|
|
@@ -9260,7 +9260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9260
9260
|
/**
|
|
9261
9261
|
* Conversations service.
|
|
9262
9262
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9263
|
-
* @version
|
|
9263
|
+
* @version 143.0.0
|
|
9264
9264
|
*/
|
|
9265
9265
|
|
|
9266
9266
|
/**
|
|
@@ -14194,7 +14194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14194
14194
|
/**
|
|
14195
14195
|
* DataExtensions service.
|
|
14196
14196
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14197
|
-
* @version
|
|
14197
|
+
* @version 143.0.0
|
|
14198
14198
|
*/
|
|
14199
14199
|
|
|
14200
14200
|
/**
|
|
@@ -14280,7 +14280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14280
14280
|
/**
|
|
14281
14281
|
* ExternalContacts service.
|
|
14282
14282
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14283
|
-
* @version
|
|
14283
|
+
* @version 143.0.0
|
|
14284
14284
|
*/
|
|
14285
14285
|
|
|
14286
14286
|
/**
|
|
@@ -16023,7 +16023,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16023
16023
|
/**
|
|
16024
16024
|
* Fax service.
|
|
16025
16025
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16026
|
-
* @version
|
|
16026
|
+
* @version 143.0.0
|
|
16027
16027
|
*/
|
|
16028
16028
|
|
|
16029
16029
|
/**
|
|
@@ -16194,7 +16194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16194
16194
|
/**
|
|
16195
16195
|
* Flows service.
|
|
16196
16196
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16197
|
-
* @version
|
|
16197
|
+
* @version 143.0.0
|
|
16198
16198
|
*/
|
|
16199
16199
|
|
|
16200
16200
|
/**
|
|
@@ -16265,7 +16265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16265
16265
|
/**
|
|
16266
16266
|
* Gamification service.
|
|
16267
16267
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16268
|
-
* @version
|
|
16268
|
+
* @version 143.0.0
|
|
16269
16269
|
*/
|
|
16270
16270
|
|
|
16271
16271
|
/**
|
|
@@ -16280,6 +16280,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16280
16280
|
}
|
|
16281
16281
|
|
|
16282
16282
|
|
|
16283
|
+
/**
|
|
16284
|
+
* Delete an External Metric Definition
|
|
16285
|
+
*
|
|
16286
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16287
|
+
*/
|
|
16288
|
+
deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16289
|
+
// verify the required parameter 'metricId' is set
|
|
16290
|
+
if (metricId === undefined || metricId === null) {
|
|
16291
|
+
throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
|
|
16292
|
+
}
|
|
16293
|
+
|
|
16294
|
+
return this.apiClient.callApi(
|
|
16295
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16296
|
+
'DELETE',
|
|
16297
|
+
{ 'metricId': metricId },
|
|
16298
|
+
{ },
|
|
16299
|
+
{ },
|
|
16300
|
+
{ },
|
|
16301
|
+
null,
|
|
16302
|
+
['PureCloud OAuth'],
|
|
16303
|
+
['application/json'],
|
|
16304
|
+
['application/json']
|
|
16305
|
+
);
|
|
16306
|
+
}
|
|
16307
|
+
|
|
16308
|
+
/**
|
|
16309
|
+
* Get an External Metric Definition
|
|
16310
|
+
*
|
|
16311
|
+
* @param {String} metricId Specifies the External Metric Definition ID
|
|
16312
|
+
*/
|
|
16313
|
+
getEmployeeperformanceExternalmetricsDefinition(metricId) {
|
|
16314
|
+
// verify the required parameter 'metricId' is set
|
|
16315
|
+
if (metricId === undefined || metricId === null) {
|
|
16316
|
+
throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
|
|
16317
|
+
}
|
|
16318
|
+
|
|
16319
|
+
return this.apiClient.callApi(
|
|
16320
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
16321
|
+
'GET',
|
|
16322
|
+
{ 'metricId': metricId },
|
|
16323
|
+
{ },
|
|
16324
|
+
{ },
|
|
16325
|
+
{ },
|
|
16326
|
+
null,
|
|
16327
|
+
['PureCloud OAuth'],
|
|
16328
|
+
['application/json'],
|
|
16329
|
+
['application/json']
|
|
16330
|
+
);
|
|
16331
|
+
}
|
|
16332
|
+
|
|
16333
|
+
/**
|
|
16334
|
+
* Get a list of External Metric Definitions of an organization, sorted by name in ascending order
|
|
16335
|
+
*
|
|
16336
|
+
* @param {Object} opts Optional parameters
|
|
16337
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16338
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16339
|
+
*/
|
|
16340
|
+
getEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
16341
|
+
opts = opts || {};
|
|
16342
|
+
|
|
16343
|
+
|
|
16344
|
+
return this.apiClient.callApi(
|
|
16345
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
16346
|
+
'GET',
|
|
16347
|
+
{ },
|
|
16348
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
16349
|
+
{ },
|
|
16350
|
+
{ },
|
|
16351
|
+
null,
|
|
16352
|
+
['PureCloud OAuth'],
|
|
16353
|
+
['application/json'],
|
|
16354
|
+
['application/json']
|
|
16355
|
+
);
|
|
16356
|
+
}
|
|
16357
|
+
|
|
16283
16358
|
/**
|
|
16284
16359
|
* Leaderboard of the requesting user's division or performance profile
|
|
16285
16360
|
*
|
|
@@ -17489,6 +17564,84 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17489
17564
|
);
|
|
17490
17565
|
}
|
|
17491
17566
|
|
|
17567
|
+
/**
|
|
17568
|
+
* Update External Metric Definition
|
|
17569
|
+
*
|
|
17570
|
+
* @param {String} metricId Specifies the metric definition ID
|
|
17571
|
+
* @param {Object} body The External Metric Definition parameters to be updated
|
|
17572
|
+
*/
|
|
17573
|
+
patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
|
|
17574
|
+
// verify the required parameter 'metricId' is set
|
|
17575
|
+
if (metricId === undefined || metricId === null) {
|
|
17576
|
+
throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17577
|
+
}
|
|
17578
|
+
// verify the required parameter 'body' is set
|
|
17579
|
+
if (body === undefined || body === null) {
|
|
17580
|
+
throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
|
|
17581
|
+
}
|
|
17582
|
+
|
|
17583
|
+
return this.apiClient.callApi(
|
|
17584
|
+
'/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
|
|
17585
|
+
'PATCH',
|
|
17586
|
+
{ 'metricId': metricId },
|
|
17587
|
+
{ },
|
|
17588
|
+
{ },
|
|
17589
|
+
{ },
|
|
17590
|
+
body,
|
|
17591
|
+
['PureCloud OAuth'],
|
|
17592
|
+
['application/json'],
|
|
17593
|
+
['application/json']
|
|
17594
|
+
);
|
|
17595
|
+
}
|
|
17596
|
+
|
|
17597
|
+
/**
|
|
17598
|
+
* Write External Metric Data
|
|
17599
|
+
*
|
|
17600
|
+
* @param {Object} opts Optional parameters
|
|
17601
|
+
* @param {Object} opts.body The External Metric Data to be added
|
|
17602
|
+
*/
|
|
17603
|
+
postEmployeeperformanceExternalmetricsData(opts) {
|
|
17604
|
+
opts = opts || {};
|
|
17605
|
+
|
|
17606
|
+
|
|
17607
|
+
return this.apiClient.callApi(
|
|
17608
|
+
'/api/v2/employeeperformance/externalmetrics/data',
|
|
17609
|
+
'POST',
|
|
17610
|
+
{ },
|
|
17611
|
+
{ },
|
|
17612
|
+
{ },
|
|
17613
|
+
{ },
|
|
17614
|
+
opts['body'],
|
|
17615
|
+
['PureCloud OAuth'],
|
|
17616
|
+
['application/json'],
|
|
17617
|
+
['application/json']
|
|
17618
|
+
);
|
|
17619
|
+
}
|
|
17620
|
+
|
|
17621
|
+
/**
|
|
17622
|
+
* Create External Metric Definition
|
|
17623
|
+
*
|
|
17624
|
+
* @param {Object} opts Optional parameters
|
|
17625
|
+
* @param {Object} opts.body The External Metric Definition to be created
|
|
17626
|
+
*/
|
|
17627
|
+
postEmployeeperformanceExternalmetricsDefinitions(opts) {
|
|
17628
|
+
opts = opts || {};
|
|
17629
|
+
|
|
17630
|
+
|
|
17631
|
+
return this.apiClient.callApi(
|
|
17632
|
+
'/api/v2/employeeperformance/externalmetrics/definitions',
|
|
17633
|
+
'POST',
|
|
17634
|
+
{ },
|
|
17635
|
+
{ },
|
|
17636
|
+
{ },
|
|
17637
|
+
{ },
|
|
17638
|
+
opts['body'],
|
|
17639
|
+
['PureCloud OAuth'],
|
|
17640
|
+
['application/json'],
|
|
17641
|
+
['application/json']
|
|
17642
|
+
);
|
|
17643
|
+
}
|
|
17644
|
+
|
|
17492
17645
|
/**
|
|
17493
17646
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
17494
17647
|
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
@@ -17847,7 +18000,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17847
18000
|
/**
|
|
17848
18001
|
* GeneralDataProtectionRegulation service.
|
|
17849
18002
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17850
|
-
* @version
|
|
18003
|
+
* @version 143.0.0
|
|
17851
18004
|
*/
|
|
17852
18005
|
|
|
17853
18006
|
/**
|
|
@@ -17977,7 +18130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17977
18130
|
/**
|
|
17978
18131
|
* Geolocation service.
|
|
17979
18132
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17980
|
-
* @version
|
|
18133
|
+
* @version 143.0.0
|
|
17981
18134
|
*/
|
|
17982
18135
|
|
|
17983
18136
|
/**
|
|
@@ -18108,7 +18261,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18108
18261
|
/**
|
|
18109
18262
|
* Greetings service.
|
|
18110
18263
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18111
|
-
* @version
|
|
18264
|
+
* @version 143.0.0
|
|
18112
18265
|
*/
|
|
18113
18266
|
|
|
18114
18267
|
/**
|
|
@@ -18563,7 +18716,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18563
18716
|
/**
|
|
18564
18717
|
* Groups service.
|
|
18565
18718
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18566
|
-
* @version
|
|
18719
|
+
* @version 143.0.0
|
|
18567
18720
|
*/
|
|
18568
18721
|
|
|
18569
18722
|
/**
|
|
@@ -18968,7 +19121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18968
19121
|
/**
|
|
18969
19122
|
* IdentityProvider service.
|
|
18970
19123
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18971
|
-
* @version
|
|
19124
|
+
* @version 143.0.0
|
|
18972
19125
|
*/
|
|
18973
19126
|
|
|
18974
19127
|
/**
|
|
@@ -19724,7 +19877,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19724
19877
|
/**
|
|
19725
19878
|
* Integrations service.
|
|
19726
19879
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19727
|
-
* @version
|
|
19880
|
+
* @version 143.0.0
|
|
19728
19881
|
*/
|
|
19729
19882
|
|
|
19730
19883
|
/**
|
|
@@ -21401,7 +21554,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21401
21554
|
/**
|
|
21402
21555
|
* Journey service.
|
|
21403
21556
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21404
|
-
* @version
|
|
21557
|
+
* @version 143.0.0
|
|
21405
21558
|
*/
|
|
21406
21559
|
|
|
21407
21560
|
/**
|
|
@@ -22112,7 +22265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22112
22265
|
/**
|
|
22113
22266
|
* Knowledge service.
|
|
22114
22267
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22115
|
-
* @version
|
|
22268
|
+
* @version 143.0.0
|
|
22116
22269
|
*/
|
|
22117
22270
|
|
|
22118
22271
|
/**
|
|
@@ -23012,7 +23165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23012
23165
|
/**
|
|
23013
23166
|
* LanguageUnderstanding service.
|
|
23014
23167
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
23015
|
-
* @version
|
|
23168
|
+
* @version 143.0.0
|
|
23016
23169
|
*/
|
|
23017
23170
|
|
|
23018
23171
|
/**
|
|
@@ -23916,7 +24069,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23916
24069
|
/**
|
|
23917
24070
|
* Languages service.
|
|
23918
24071
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23919
|
-
* @version
|
|
24072
|
+
* @version 143.0.0
|
|
23920
24073
|
*/
|
|
23921
24074
|
|
|
23922
24075
|
/**
|
|
@@ -24184,7 +24337,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24184
24337
|
/**
|
|
24185
24338
|
* Learning service.
|
|
24186
24339
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
24187
|
-
* @version
|
|
24340
|
+
* @version 143.0.0
|
|
24188
24341
|
*/
|
|
24189
24342
|
|
|
24190
24343
|
/**
|
|
@@ -24919,7 +25072,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24919
25072
|
/**
|
|
24920
25073
|
* License service.
|
|
24921
25074
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24922
|
-
* @version
|
|
25075
|
+
* @version 143.0.0
|
|
24923
25076
|
*/
|
|
24924
25077
|
|
|
24925
25078
|
/**
|
|
@@ -25157,7 +25310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25157
25310
|
/**
|
|
25158
25311
|
* Locations service.
|
|
25159
25312
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
25160
|
-
* @version
|
|
25313
|
+
* @version 143.0.0
|
|
25161
25314
|
*/
|
|
25162
25315
|
|
|
25163
25316
|
/**
|
|
@@ -25393,7 +25546,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25393
25546
|
/**
|
|
25394
25547
|
* Messaging service.
|
|
25395
25548
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
25396
|
-
* @version
|
|
25549
|
+
* @version 143.0.0
|
|
25397
25550
|
*/
|
|
25398
25551
|
|
|
25399
25552
|
/**
|
|
@@ -25544,7 +25697,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25544
25697
|
/**
|
|
25545
25698
|
* MobileDevices service.
|
|
25546
25699
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
25547
|
-
* @version
|
|
25700
|
+
* @version 143.0.0
|
|
25548
25701
|
*/
|
|
25549
25702
|
|
|
25550
25703
|
/**
|
|
@@ -25695,7 +25848,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25695
25848
|
/**
|
|
25696
25849
|
* Notifications service.
|
|
25697
25850
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
25698
|
-
* @version
|
|
25851
|
+
* @version 143.0.0
|
|
25699
25852
|
*/
|
|
25700
25853
|
|
|
25701
25854
|
/**
|
|
@@ -25920,7 +26073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25920
26073
|
/**
|
|
25921
26074
|
* OAuth service.
|
|
25922
26075
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25923
|
-
* @version
|
|
26076
|
+
* @version 143.0.0
|
|
25924
26077
|
*/
|
|
25925
26078
|
|
|
25926
26079
|
/**
|
|
@@ -26286,7 +26439,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26286
26439
|
/**
|
|
26287
26440
|
* Objects service.
|
|
26288
26441
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26289
|
-
* @version
|
|
26442
|
+
* @version 143.0.0
|
|
26290
26443
|
*/
|
|
26291
26444
|
|
|
26292
26445
|
/**
|
|
@@ -26557,7 +26710,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26557
26710
|
/**
|
|
26558
26711
|
* Organization service.
|
|
26559
26712
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
26560
|
-
* @version
|
|
26713
|
+
* @version 143.0.0
|
|
26561
26714
|
*/
|
|
26562
26715
|
|
|
26563
26716
|
/**
|
|
@@ -26960,7 +27113,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26960
27113
|
/**
|
|
26961
27114
|
* OrganizationAuthorization service.
|
|
26962
27115
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26963
|
-
* @version
|
|
27116
|
+
* @version 143.0.0
|
|
26964
27117
|
*/
|
|
26965
27118
|
|
|
26966
27119
|
/**
|
|
@@ -27885,7 +28038,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27885
28038
|
/**
|
|
27886
28039
|
* Outbound service.
|
|
27887
28040
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27888
|
-
* @version
|
|
28041
|
+
* @version 143.0.0
|
|
27889
28042
|
*/
|
|
27890
28043
|
|
|
27891
28044
|
/**
|
|
@@ -31140,7 +31293,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31140
31293
|
/**
|
|
31141
31294
|
* Presence service.
|
|
31142
31295
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31143
|
-
* @version
|
|
31296
|
+
* @version 143.0.0
|
|
31144
31297
|
*/
|
|
31145
31298
|
|
|
31146
31299
|
/**
|
|
@@ -31462,7 +31615,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31462
31615
|
/**
|
|
31463
31616
|
* Quality service.
|
|
31464
31617
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31465
|
-
* @version
|
|
31618
|
+
* @version 143.0.0
|
|
31466
31619
|
*/
|
|
31467
31620
|
|
|
31468
31621
|
/**
|
|
@@ -33040,7 +33193,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33040
33193
|
/**
|
|
33041
33194
|
* Recording service.
|
|
33042
33195
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33043
|
-
* @version
|
|
33196
|
+
* @version 143.0.0
|
|
33044
33197
|
*/
|
|
33045
33198
|
|
|
33046
33199
|
/**
|
|
@@ -34693,7 +34846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34693
34846
|
/**
|
|
34694
34847
|
* ResponseManagement service.
|
|
34695
34848
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34696
|
-
* @version
|
|
34849
|
+
* @version 143.0.0
|
|
34697
34850
|
*/
|
|
34698
34851
|
|
|
34699
34852
|
/**
|
|
@@ -35177,7 +35330,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35177
35330
|
/**
|
|
35178
35331
|
* Routing service.
|
|
35179
35332
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35180
|
-
* @version
|
|
35333
|
+
* @version 143.0.0
|
|
35181
35334
|
*/
|
|
35182
35335
|
|
|
35183
35336
|
/**
|
|
@@ -38098,7 +38251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38098
38251
|
/**
|
|
38099
38252
|
* SCIM service.
|
|
38100
38253
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38101
|
-
* @version
|
|
38254
|
+
* @version 143.0.0
|
|
38102
38255
|
*/
|
|
38103
38256
|
|
|
38104
38257
|
/**
|
|
@@ -38975,7 +39128,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38975
39128
|
/**
|
|
38976
39129
|
* Scripts service.
|
|
38977
39130
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
38978
|
-
* @version
|
|
39131
|
+
* @version 143.0.0
|
|
38979
39132
|
*/
|
|
38980
39133
|
|
|
38981
39134
|
/**
|
|
@@ -39394,7 +39547,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39394
39547
|
/**
|
|
39395
39548
|
* Search service.
|
|
39396
39549
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39397
|
-
* @version
|
|
39550
|
+
* @version 143.0.0
|
|
39398
39551
|
*/
|
|
39399
39552
|
|
|
39400
39553
|
/**
|
|
@@ -39873,6 +40026,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39873
40026
|
);
|
|
39874
40027
|
}
|
|
39875
40028
|
|
|
40029
|
+
/**
|
|
40030
|
+
* Search resources.
|
|
40031
|
+
*
|
|
40032
|
+
* @param {Object} body Search request options
|
|
40033
|
+
*/
|
|
40034
|
+
postTeamsSearch(body) {
|
|
40035
|
+
// verify the required parameter 'body' is set
|
|
40036
|
+
if (body === undefined || body === null) {
|
|
40037
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
40038
|
+
}
|
|
40039
|
+
|
|
40040
|
+
return this.apiClient.callApi(
|
|
40041
|
+
'/api/v2/teams/search',
|
|
40042
|
+
'POST',
|
|
40043
|
+
{ },
|
|
40044
|
+
{ },
|
|
40045
|
+
{ },
|
|
40046
|
+
{ },
|
|
40047
|
+
body,
|
|
40048
|
+
['PureCloud OAuth'],
|
|
40049
|
+
['application/json'],
|
|
40050
|
+
['application/json']
|
|
40051
|
+
);
|
|
40052
|
+
}
|
|
40053
|
+
|
|
39876
40054
|
/**
|
|
39877
40055
|
* Search users
|
|
39878
40056
|
*
|
|
@@ -39929,7 +40107,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39929
40107
|
/**
|
|
39930
40108
|
* SpeechTextAnalytics service.
|
|
39931
40109
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39932
|
-
* @version
|
|
40110
|
+
* @version 143.0.0
|
|
39933
40111
|
*/
|
|
39934
40112
|
|
|
39935
40113
|
/**
|
|
@@ -40154,6 +40332,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40154
40332
|
* @param {Object} opts Optional parameters
|
|
40155
40333
|
* @param {String} opts.nextPage The key for listing the next page
|
|
40156
40334
|
* @param {Number} opts.pageSize The page size for the listing (default to 20)
|
|
40335
|
+
* @param {Object} opts.state Program state. Defaults to Latest
|
|
40157
40336
|
*/
|
|
40158
40337
|
getSpeechandtextanalyticsPrograms(opts) {
|
|
40159
40338
|
opts = opts || {};
|
|
@@ -40163,7 +40342,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40163
40342
|
'/api/v2/speechandtextanalytics/programs',
|
|
40164
40343
|
'GET',
|
|
40165
40344
|
{ },
|
|
40166
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
|
|
40345
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
|
|
40167
40346
|
{ },
|
|
40168
40347
|
{ },
|
|
40169
40348
|
null,
|
|
@@ -40782,7 +40961,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40782
40961
|
/**
|
|
40783
40962
|
* Stations service.
|
|
40784
40963
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40785
|
-
* @version
|
|
40964
|
+
* @version 143.0.0
|
|
40786
40965
|
*/
|
|
40787
40966
|
|
|
40788
40967
|
/**
|
|
@@ -40929,7 +41108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40929
41108
|
/**
|
|
40930
41109
|
* Suggest service.
|
|
40931
41110
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40932
|
-
* @version
|
|
41111
|
+
* @version 143.0.0
|
|
40933
41112
|
*/
|
|
40934
41113
|
|
|
40935
41114
|
/**
|
|
@@ -41064,11 +41243,190 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41064
41243
|
|
|
41065
41244
|
}
|
|
41066
41245
|
|
|
41246
|
+
class TeamsApi {
|
|
41247
|
+
/**
|
|
41248
|
+
* Teams service.
|
|
41249
|
+
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
41250
|
+
* @version 143.0.0
|
|
41251
|
+
*/
|
|
41252
|
+
|
|
41253
|
+
/**
|
|
41254
|
+
* Constructs a new TeamsApi.
|
|
41255
|
+
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
41256
|
+
* @class
|
|
41257
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
41258
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
41259
|
+
*/
|
|
41260
|
+
constructor(apiClient) {
|
|
41261
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
41262
|
+
}
|
|
41263
|
+
|
|
41264
|
+
|
|
41265
|
+
/**
|
|
41266
|
+
* Delete team
|
|
41267
|
+
*
|
|
41268
|
+
* @param {String} teamId Team ID
|
|
41269
|
+
*/
|
|
41270
|
+
deleteTeam(teamId) {
|
|
41271
|
+
// verify the required parameter 'teamId' is set
|
|
41272
|
+
if (teamId === undefined || teamId === null) {
|
|
41273
|
+
throw 'Missing the required parameter "teamId" when calling deleteTeam';
|
|
41274
|
+
}
|
|
41275
|
+
|
|
41276
|
+
return this.apiClient.callApi(
|
|
41277
|
+
'/api/v2/teams/{teamId}',
|
|
41278
|
+
'DELETE',
|
|
41279
|
+
{ 'teamId': teamId },
|
|
41280
|
+
{ },
|
|
41281
|
+
{ },
|
|
41282
|
+
{ },
|
|
41283
|
+
null,
|
|
41284
|
+
['PureCloud OAuth'],
|
|
41285
|
+
['application/json'],
|
|
41286
|
+
['application/json']
|
|
41287
|
+
);
|
|
41288
|
+
}
|
|
41289
|
+
|
|
41290
|
+
/**
|
|
41291
|
+
* Get team
|
|
41292
|
+
*
|
|
41293
|
+
* @param {String} teamId Team ID
|
|
41294
|
+
*/
|
|
41295
|
+
getTeam(teamId) {
|
|
41296
|
+
// verify the required parameter 'teamId' is set
|
|
41297
|
+
if (teamId === undefined || teamId === null) {
|
|
41298
|
+
throw 'Missing the required parameter "teamId" when calling getTeam';
|
|
41299
|
+
}
|
|
41300
|
+
|
|
41301
|
+
return this.apiClient.callApi(
|
|
41302
|
+
'/api/v2/teams/{teamId}',
|
|
41303
|
+
'GET',
|
|
41304
|
+
{ 'teamId': teamId },
|
|
41305
|
+
{ },
|
|
41306
|
+
{ },
|
|
41307
|
+
{ },
|
|
41308
|
+
null,
|
|
41309
|
+
['PureCloud OAuth'],
|
|
41310
|
+
['application/json'],
|
|
41311
|
+
['application/json']
|
|
41312
|
+
);
|
|
41313
|
+
}
|
|
41314
|
+
|
|
41315
|
+
/**
|
|
41316
|
+
* Get Team listing
|
|
41317
|
+
*
|
|
41318
|
+
* @param {Object} opts Optional parameters
|
|
41319
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41320
|
+
* @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
|
|
41321
|
+
* @param {String} opts.after The cursor that points to the next item in the complete list of teams
|
|
41322
|
+
* @param {String} opts.before The cursor that points to the previous item in the complete list of teams
|
|
41323
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
41324
|
+
*/
|
|
41325
|
+
getTeams(opts) {
|
|
41326
|
+
opts = opts || {};
|
|
41327
|
+
|
|
41328
|
+
|
|
41329
|
+
return this.apiClient.callApi(
|
|
41330
|
+
'/api/v2/teams',
|
|
41331
|
+
'GET',
|
|
41332
|
+
{ },
|
|
41333
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
41334
|
+
{ },
|
|
41335
|
+
{ },
|
|
41336
|
+
null,
|
|
41337
|
+
['PureCloud OAuth'],
|
|
41338
|
+
['application/json'],
|
|
41339
|
+
['application/json']
|
|
41340
|
+
);
|
|
41341
|
+
}
|
|
41342
|
+
|
|
41343
|
+
/**
|
|
41344
|
+
* Update team
|
|
41345
|
+
*
|
|
41346
|
+
* @param {String} teamId Team ID
|
|
41347
|
+
* @param {Object} body Team
|
|
41348
|
+
*/
|
|
41349
|
+
patchTeam(teamId, body) {
|
|
41350
|
+
// verify the required parameter 'teamId' is set
|
|
41351
|
+
if (teamId === undefined || teamId === null) {
|
|
41352
|
+
throw 'Missing the required parameter "teamId" when calling patchTeam';
|
|
41353
|
+
}
|
|
41354
|
+
// verify the required parameter 'body' is set
|
|
41355
|
+
if (body === undefined || body === null) {
|
|
41356
|
+
throw 'Missing the required parameter "body" when calling patchTeam';
|
|
41357
|
+
}
|
|
41358
|
+
|
|
41359
|
+
return this.apiClient.callApi(
|
|
41360
|
+
'/api/v2/teams/{teamId}',
|
|
41361
|
+
'PATCH',
|
|
41362
|
+
{ 'teamId': teamId },
|
|
41363
|
+
{ },
|
|
41364
|
+
{ },
|
|
41365
|
+
{ },
|
|
41366
|
+
body,
|
|
41367
|
+
['PureCloud OAuth'],
|
|
41368
|
+
['application/json'],
|
|
41369
|
+
['application/json']
|
|
41370
|
+
);
|
|
41371
|
+
}
|
|
41372
|
+
|
|
41373
|
+
/**
|
|
41374
|
+
* Create a team
|
|
41375
|
+
*
|
|
41376
|
+
* @param {Object} body Team
|
|
41377
|
+
*/
|
|
41378
|
+
postTeams(body) {
|
|
41379
|
+
// verify the required parameter 'body' is set
|
|
41380
|
+
if (body === undefined || body === null) {
|
|
41381
|
+
throw 'Missing the required parameter "body" when calling postTeams';
|
|
41382
|
+
}
|
|
41383
|
+
|
|
41384
|
+
return this.apiClient.callApi(
|
|
41385
|
+
'/api/v2/teams',
|
|
41386
|
+
'POST',
|
|
41387
|
+
{ },
|
|
41388
|
+
{ },
|
|
41389
|
+
{ },
|
|
41390
|
+
{ },
|
|
41391
|
+
body,
|
|
41392
|
+
['PureCloud OAuth'],
|
|
41393
|
+
['application/json'],
|
|
41394
|
+
['application/json']
|
|
41395
|
+
);
|
|
41396
|
+
}
|
|
41397
|
+
|
|
41398
|
+
/**
|
|
41399
|
+
* Search resources.
|
|
41400
|
+
*
|
|
41401
|
+
* @param {Object} body Search request options
|
|
41402
|
+
*/
|
|
41403
|
+
postTeamsSearch(body) {
|
|
41404
|
+
// verify the required parameter 'body' is set
|
|
41405
|
+
if (body === undefined || body === null) {
|
|
41406
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
41407
|
+
}
|
|
41408
|
+
|
|
41409
|
+
return this.apiClient.callApi(
|
|
41410
|
+
'/api/v2/teams/search',
|
|
41411
|
+
'POST',
|
|
41412
|
+
{ },
|
|
41413
|
+
{ },
|
|
41414
|
+
{ },
|
|
41415
|
+
{ },
|
|
41416
|
+
body,
|
|
41417
|
+
['PureCloud OAuth'],
|
|
41418
|
+
['application/json'],
|
|
41419
|
+
['application/json']
|
|
41420
|
+
);
|
|
41421
|
+
}
|
|
41422
|
+
|
|
41423
|
+
}
|
|
41424
|
+
|
|
41067
41425
|
class TelephonyApi {
|
|
41068
41426
|
/**
|
|
41069
41427
|
* Telephony service.
|
|
41070
41428
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41071
|
-
* @version
|
|
41429
|
+
* @version 143.0.0
|
|
41072
41430
|
*/
|
|
41073
41431
|
|
|
41074
41432
|
/**
|
|
@@ -41176,7 +41534,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41176
41534
|
/**
|
|
41177
41535
|
* TelephonyProvidersEdge service.
|
|
41178
41536
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41179
|
-
* @version
|
|
41537
|
+
* @version 143.0.0
|
|
41180
41538
|
*/
|
|
41181
41539
|
|
|
41182
41540
|
/**
|
|
@@ -44809,7 +45167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44809
45167
|
/**
|
|
44810
45168
|
* Textbots service.
|
|
44811
45169
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
44812
|
-
* @version
|
|
45170
|
+
* @version 143.0.0
|
|
44813
45171
|
*/
|
|
44814
45172
|
|
|
44815
45173
|
/**
|
|
@@ -44937,7 +45295,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44937
45295
|
/**
|
|
44938
45296
|
* Tokens service.
|
|
44939
45297
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
44940
|
-
* @version
|
|
45298
|
+
* @version 143.0.0
|
|
44941
45299
|
*/
|
|
44942
45300
|
|
|
44943
45301
|
/**
|
|
@@ -45043,7 +45401,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45043
45401
|
/**
|
|
45044
45402
|
* Uploads service.
|
|
45045
45403
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
45046
|
-
* @version
|
|
45404
|
+
* @version 143.0.0
|
|
45047
45405
|
*/
|
|
45048
45406
|
|
|
45049
45407
|
/**
|
|
@@ -45194,7 +45552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45194
45552
|
/**
|
|
45195
45553
|
* Usage service.
|
|
45196
45554
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45197
|
-
* @version
|
|
45555
|
+
* @version 143.0.0
|
|
45198
45556
|
*/
|
|
45199
45557
|
|
|
45200
45558
|
/**
|
|
@@ -45265,7 +45623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45265
45623
|
/**
|
|
45266
45624
|
* UserRecordings service.
|
|
45267
45625
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45268
|
-
* @version
|
|
45626
|
+
* @version 143.0.0
|
|
45269
45627
|
*/
|
|
45270
45628
|
|
|
45271
45629
|
/**
|
|
@@ -45449,7 +45807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45449
45807
|
/**
|
|
45450
45808
|
* Users service.
|
|
45451
45809
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45452
|
-
* @version
|
|
45810
|
+
* @version 143.0.0
|
|
45453
45811
|
*/
|
|
45454
45812
|
|
|
45455
45813
|
/**
|
|
@@ -47751,7 +48109,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47751
48109
|
/**
|
|
47752
48110
|
* Utilities service.
|
|
47753
48111
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47754
|
-
* @version
|
|
48112
|
+
* @version 143.0.0
|
|
47755
48113
|
*/
|
|
47756
48114
|
|
|
47757
48115
|
/**
|
|
@@ -47862,7 +48220,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47862
48220
|
/**
|
|
47863
48221
|
* Voicemail service.
|
|
47864
48222
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
47865
|
-
* @version
|
|
48223
|
+
* @version 143.0.0
|
|
47866
48224
|
*/
|
|
47867
48225
|
|
|
47868
48226
|
/**
|
|
@@ -48529,7 +48887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48529
48887
|
/**
|
|
48530
48888
|
* WebChat service.
|
|
48531
48889
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48532
|
-
* @version
|
|
48890
|
+
* @version 143.0.0
|
|
48533
48891
|
*/
|
|
48534
48892
|
|
|
48535
48893
|
/**
|
|
@@ -49073,7 +49431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49073
49431
|
/**
|
|
49074
49432
|
* WebDeployments service.
|
|
49075
49433
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49076
|
-
* @version
|
|
49434
|
+
* @version 143.0.0
|
|
49077
49435
|
*/
|
|
49078
49436
|
|
|
49079
49437
|
/**
|
|
@@ -49428,7 +49786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49428
49786
|
/**
|
|
49429
49787
|
* WebMessaging service.
|
|
49430
49788
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49431
|
-
* @version
|
|
49789
|
+
* @version 143.0.0
|
|
49432
49790
|
*/
|
|
49433
49791
|
|
|
49434
49792
|
/**
|
|
@@ -49474,7 +49832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49474
49832
|
/**
|
|
49475
49833
|
* Widgets service.
|
|
49476
49834
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49477
|
-
* @version
|
|
49835
|
+
* @version 143.0.0
|
|
49478
49836
|
*/
|
|
49479
49837
|
|
|
49480
49838
|
/**
|
|
@@ -49620,7 +49978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49620
49978
|
/**
|
|
49621
49979
|
* WorkforceManagement service.
|
|
49622
49980
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49623
|
-
* @version
|
|
49981
|
+
* @version 143.0.0
|
|
49624
49982
|
*/
|
|
49625
49983
|
|
|
49626
49984
|
/**
|
|
@@ -50040,6 +50398,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50040
50398
|
);
|
|
50041
50399
|
}
|
|
50042
50400
|
|
|
50401
|
+
/**
|
|
50402
|
+
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
50403
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
50404
|
+
* @param {String} jobId jobId
|
|
50405
|
+
*/
|
|
50406
|
+
getWorkforcemanagementAdherenceHistoricalJob(jobId) {
|
|
50407
|
+
// verify the required parameter 'jobId' is set
|
|
50408
|
+
if (jobId === undefined || jobId === null) {
|
|
50409
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
|
|
50410
|
+
}
|
|
50411
|
+
|
|
50412
|
+
return this.apiClient.callApi(
|
|
50413
|
+
'/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}',
|
|
50414
|
+
'GET',
|
|
50415
|
+
{ 'jobId': jobId },
|
|
50416
|
+
{ },
|
|
50417
|
+
{ },
|
|
50418
|
+
{ },
|
|
50419
|
+
null,
|
|
50420
|
+
['PureCloud OAuth'],
|
|
50421
|
+
['application/json'],
|
|
50422
|
+
['application/json']
|
|
50423
|
+
);
|
|
50424
|
+
}
|
|
50425
|
+
|
|
50043
50426
|
/**
|
|
50044
50427
|
* Get status of the modeling job
|
|
50045
50428
|
*
|
|
@@ -53871,7 +54254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53871
54254
|
* </pre>
|
|
53872
54255
|
* </p>
|
|
53873
54256
|
* @module purecloud-platform-client-v2/index
|
|
53874
|
-
* @version
|
|
54257
|
+
* @version 143.0.0
|
|
53875
54258
|
*/
|
|
53876
54259
|
class platformClient {
|
|
53877
54260
|
constructor() {
|
|
@@ -54120,6 +54503,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54120
54503
|
* @property {module:purecloud-platform-client-v2/api/SuggestApi}
|
|
54121
54504
|
*/
|
|
54122
54505
|
this.SuggestApi = SuggestApi;
|
|
54506
|
+
/**
|
|
54507
|
+
* The TeamsApi service constructor.
|
|
54508
|
+
* @property {module:purecloud-platform-client-v2/api/TeamsApi}
|
|
54509
|
+
*/
|
|
54510
|
+
this.TeamsApi = TeamsApi;
|
|
54123
54511
|
/**
|
|
54124
54512
|
* The TelephonyApi service constructor.
|
|
54125
54513
|
* @property {module:purecloud-platform-client-v2/api/TelephonyApi}
|