purecloud-platform-client-v2 139.0.0 → 140.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 +214 -100
- package/dist/web-amd/purecloud-platform-client-v2.js +214 -100
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +214 -100
- package/dist/web-cjs/purecloud-platform-client-v2.js +214 -100
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +180 -10
- 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 +15 -15
- 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 +5 -5
- 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 +111 -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 +2 -2
- 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 +8 -4
- 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/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 +15 -15
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -397,7 +397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* @module purecloud-platform-client-v2/ApiClient
|
|
400
|
-
* @version
|
|
400
|
+
* @version 140.0.0
|
|
401
401
|
*/
|
|
402
402
|
class ApiClient {
|
|
403
403
|
/**
|
|
@@ -1475,7 +1475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Alerting service.
|
|
1477
1477
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1478
|
-
* @version
|
|
1478
|
+
* @version 140.0.0
|
|
1479
1479
|
*/
|
|
1480
1480
|
|
|
1481
1481
|
/**
|
|
@@ -1789,7 +1789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* Analytics service.
|
|
1791
1791
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1792
|
-
* @version
|
|
1792
|
+
* @version 140.0.0
|
|
1793
1793
|
*/
|
|
1794
1794
|
|
|
1795
1795
|
/**
|
|
@@ -2971,7 +2971,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2971
2971
|
/**
|
|
2972
2972
|
* Architect service.
|
|
2973
2973
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2974
|
-
* @version
|
|
2974
|
+
* @version 140.0.0
|
|
2975
2975
|
*/
|
|
2976
2976
|
|
|
2977
2977
|
/**
|
|
@@ -6016,7 +6016,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6016
6016
|
/**
|
|
6017
6017
|
* Audit service.
|
|
6018
6018
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6019
|
-
* @version
|
|
6019
|
+
* @version 140.0.0
|
|
6020
6020
|
*/
|
|
6021
6021
|
|
|
6022
6022
|
/**
|
|
@@ -6187,7 +6187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6187
6187
|
/**
|
|
6188
6188
|
* Authorization service.
|
|
6189
6189
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6190
|
-
* @version
|
|
6190
|
+
* @version 140.0.0
|
|
6191
6191
|
*/
|
|
6192
6192
|
|
|
6193
6193
|
/**
|
|
@@ -6792,18 +6792,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6792
6792
|
/**
|
|
6793
6793
|
* Returns a listing of roles and permissions for a user.
|
|
6794
6794
|
*
|
|
6795
|
-
* @param {String}
|
|
6795
|
+
* @param {String} subjectId User ID
|
|
6796
6796
|
*/
|
|
6797
|
-
getUserRoles(
|
|
6798
|
-
// verify the required parameter '
|
|
6799
|
-
if (
|
|
6800
|
-
throw 'Missing the required parameter "
|
|
6797
|
+
getUserRoles(subjectId) {
|
|
6798
|
+
// verify the required parameter 'subjectId' is set
|
|
6799
|
+
if (subjectId === undefined || subjectId === null) {
|
|
6800
|
+
throw 'Missing the required parameter "subjectId" when calling getUserRoles';
|
|
6801
6801
|
}
|
|
6802
6802
|
|
|
6803
6803
|
return this.apiClient.callApi(
|
|
6804
|
-
'/api/v2/users/{
|
|
6804
|
+
'/api/v2/users/{subjectId}/roles',
|
|
6805
6805
|
'GET',
|
|
6806
|
-
{ '
|
|
6806
|
+
{ 'subjectId': subjectId },
|
|
6807
6807
|
{ },
|
|
6808
6808
|
{ },
|
|
6809
6809
|
{ },
|
|
@@ -7337,13 +7337,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7337
7337
|
/**
|
|
7338
7338
|
* Sets the user's roles
|
|
7339
7339
|
*
|
|
7340
|
-
* @param {String}
|
|
7340
|
+
* @param {String} subjectId User ID
|
|
7341
7341
|
* @param {Array.<String>} body List of roles
|
|
7342
7342
|
*/
|
|
7343
|
-
putUserRoles(
|
|
7344
|
-
// verify the required parameter '
|
|
7345
|
-
if (
|
|
7346
|
-
throw 'Missing the required parameter "
|
|
7343
|
+
putUserRoles(subjectId, body) {
|
|
7344
|
+
// verify the required parameter 'subjectId' is set
|
|
7345
|
+
if (subjectId === undefined || subjectId === null) {
|
|
7346
|
+
throw 'Missing the required parameter "subjectId" when calling putUserRoles';
|
|
7347
7347
|
}
|
|
7348
7348
|
// verify the required parameter 'body' is set
|
|
7349
7349
|
if (body === undefined || body === null) {
|
|
@@ -7351,9 +7351,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7351
7351
|
}
|
|
7352
7352
|
|
|
7353
7353
|
return this.apiClient.callApi(
|
|
7354
|
-
'/api/v2/users/{
|
|
7354
|
+
'/api/v2/users/{subjectId}/roles',
|
|
7355
7355
|
'PUT',
|
|
7356
|
-
{ '
|
|
7356
|
+
{ 'subjectId': subjectId },
|
|
7357
7357
|
{ },
|
|
7358
7358
|
{ },
|
|
7359
7359
|
{ },
|
|
@@ -7370,7 +7370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7370
7370
|
/**
|
|
7371
7371
|
* Billing service.
|
|
7372
7372
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7373
|
-
* @version
|
|
7373
|
+
* @version 140.0.0
|
|
7374
7374
|
*/
|
|
7375
7375
|
|
|
7376
7376
|
/**
|
|
@@ -7450,7 +7450,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7450
7450
|
/**
|
|
7451
7451
|
* Chat service.
|
|
7452
7452
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7453
|
-
* @version
|
|
7453
|
+
* @version 140.0.0
|
|
7454
7454
|
*/
|
|
7455
7455
|
|
|
7456
7456
|
/**
|
|
@@ -7541,7 +7541,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7541
7541
|
/**
|
|
7542
7542
|
* Coaching service.
|
|
7543
7543
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7544
|
-
* @version
|
|
7544
|
+
* @version 140.0.0
|
|
7545
7545
|
*/
|
|
7546
7546
|
|
|
7547
7547
|
/**
|
|
@@ -8118,7 +8118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8118
8118
|
/**
|
|
8119
8119
|
* ContentManagement service.
|
|
8120
8120
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8121
|
-
* @version
|
|
8121
|
+
* @version 140.0.0
|
|
8122
8122
|
*/
|
|
8123
8123
|
|
|
8124
8124
|
/**
|
|
@@ -9258,7 +9258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9258
9258
|
/**
|
|
9259
9259
|
* Conversations service.
|
|
9260
9260
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9261
|
-
* @version
|
|
9261
|
+
* @version 140.0.0
|
|
9262
9262
|
*/
|
|
9263
9263
|
|
|
9264
9264
|
/**
|
|
@@ -14192,7 +14192,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14192
14192
|
/**
|
|
14193
14193
|
* DataExtensions service.
|
|
14194
14194
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14195
|
-
* @version
|
|
14195
|
+
* @version 140.0.0
|
|
14196
14196
|
*/
|
|
14197
14197
|
|
|
14198
14198
|
/**
|
|
@@ -14278,7 +14278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14278
14278
|
/**
|
|
14279
14279
|
* ExternalContacts service.
|
|
14280
14280
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14281
|
-
* @version
|
|
14281
|
+
* @version 140.0.0
|
|
14282
14282
|
*/
|
|
14283
14283
|
|
|
14284
14284
|
/**
|
|
@@ -16021,7 +16021,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16021
16021
|
/**
|
|
16022
16022
|
* Fax service.
|
|
16023
16023
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16024
|
-
* @version
|
|
16024
|
+
* @version 140.0.0
|
|
16025
16025
|
*/
|
|
16026
16026
|
|
|
16027
16027
|
/**
|
|
@@ -16192,7 +16192,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16192
16192
|
/**
|
|
16193
16193
|
* Flows service.
|
|
16194
16194
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16195
|
-
* @version
|
|
16195
|
+
* @version 140.0.0
|
|
16196
16196
|
*/
|
|
16197
16197
|
|
|
16198
16198
|
/**
|
|
@@ -16263,7 +16263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16263
16263
|
/**
|
|
16264
16264
|
* Gamification service.
|
|
16265
16265
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16266
|
-
* @version
|
|
16266
|
+
* @version 140.0.0
|
|
16267
16267
|
*/
|
|
16268
16268
|
|
|
16269
16269
|
/**
|
|
@@ -16408,7 +16408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16408
16408
|
|
|
16409
16409
|
/**
|
|
16410
16410
|
* Gamified metric by id
|
|
16411
|
-
*
|
|
16411
|
+
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
16412
16412
|
* @param {String} metricId metric Id
|
|
16413
16413
|
* @param {Object} opts Optional parameters
|
|
16414
16414
|
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
@@ -16483,7 +16483,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16483
16483
|
|
|
16484
16484
|
/**
|
|
16485
16485
|
* All gamified metrics for a given profile
|
|
16486
|
-
*
|
|
16486
|
+
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
16487
16487
|
* @param {Object} opts Optional parameters
|
|
16488
16488
|
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
16489
16489
|
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
@@ -17338,7 +17338,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17338
17338
|
|
|
17339
17339
|
/**
|
|
17340
17340
|
* Creates a gamified metric with a given metric definition and metric objective
|
|
17341
|
-
*
|
|
17341
|
+
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
17342
17342
|
* @param {Object} body Metric
|
|
17343
17343
|
*/
|
|
17344
17344
|
postGamificationMetrics(body) {
|
|
@@ -17567,7 +17567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17567
17567
|
|
|
17568
17568
|
/**
|
|
17569
17569
|
* Updates a metric
|
|
17570
|
-
*
|
|
17570
|
+
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
17571
17571
|
* @param {String} metricId metric Id
|
|
17572
17572
|
* @param {Object} body Metric
|
|
17573
17573
|
* @param {Object} opts Optional parameters
|
|
@@ -17694,7 +17694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17694
17694
|
/**
|
|
17695
17695
|
* GeneralDataProtectionRegulation service.
|
|
17696
17696
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17697
|
-
* @version
|
|
17697
|
+
* @version 140.0.0
|
|
17698
17698
|
*/
|
|
17699
17699
|
|
|
17700
17700
|
/**
|
|
@@ -17824,7 +17824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17824
17824
|
/**
|
|
17825
17825
|
* Geolocation service.
|
|
17826
17826
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17827
|
-
* @version
|
|
17827
|
+
* @version 140.0.0
|
|
17828
17828
|
*/
|
|
17829
17829
|
|
|
17830
17830
|
/**
|
|
@@ -17955,7 +17955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17955
17955
|
/**
|
|
17956
17956
|
* Greetings service.
|
|
17957
17957
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17958
|
-
* @version
|
|
17958
|
+
* @version 140.0.0
|
|
17959
17959
|
*/
|
|
17960
17960
|
|
|
17961
17961
|
/**
|
|
@@ -18410,7 +18410,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18410
18410
|
/**
|
|
18411
18411
|
* Groups service.
|
|
18412
18412
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18413
|
-
* @version
|
|
18413
|
+
* @version 140.0.0
|
|
18414
18414
|
*/
|
|
18415
18415
|
|
|
18416
18416
|
/**
|
|
@@ -18815,7 +18815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18815
18815
|
/**
|
|
18816
18816
|
* IdentityProvider service.
|
|
18817
18817
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18818
|
-
* @version
|
|
18818
|
+
* @version 140.0.0
|
|
18819
18819
|
*/
|
|
18820
18820
|
|
|
18821
18821
|
/**
|
|
@@ -19571,7 +19571,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19571
19571
|
/**
|
|
19572
19572
|
* Integrations service.
|
|
19573
19573
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19574
|
-
* @version
|
|
19574
|
+
* @version 140.0.0
|
|
19575
19575
|
*/
|
|
19576
19576
|
|
|
19577
19577
|
/**
|
|
@@ -21248,7 +21248,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21248
21248
|
/**
|
|
21249
21249
|
* Journey service.
|
|
21250
21250
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21251
|
-
* @version
|
|
21251
|
+
* @version 140.0.0
|
|
21252
21252
|
*/
|
|
21253
21253
|
|
|
21254
21254
|
/**
|
|
@@ -21959,7 +21959,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21959
21959
|
/**
|
|
21960
21960
|
* Knowledge service.
|
|
21961
21961
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21962
|
-
* @version
|
|
21962
|
+
* @version 140.0.0
|
|
21963
21963
|
*/
|
|
21964
21964
|
|
|
21965
21965
|
/**
|
|
@@ -22859,7 +22859,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22859
22859
|
/**
|
|
22860
22860
|
* LanguageUnderstanding service.
|
|
22861
22861
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22862
|
-
* @version
|
|
22862
|
+
* @version 140.0.0
|
|
22863
22863
|
*/
|
|
22864
22864
|
|
|
22865
22865
|
/**
|
|
@@ -23763,7 +23763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23763
23763
|
/**
|
|
23764
23764
|
* Languages service.
|
|
23765
23765
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23766
|
-
* @version
|
|
23766
|
+
* @version 140.0.0
|
|
23767
23767
|
*/
|
|
23768
23768
|
|
|
23769
23769
|
/**
|
|
@@ -24031,7 +24031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24031
24031
|
/**
|
|
24032
24032
|
* Learning service.
|
|
24033
24033
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
24034
|
-
* @version
|
|
24034
|
+
* @version 140.0.0
|
|
24035
24035
|
*/
|
|
24036
24036
|
|
|
24037
24037
|
/**
|
|
@@ -24229,6 +24229,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24229
24229
|
);
|
|
24230
24230
|
}
|
|
24231
24231
|
|
|
24232
|
+
/**
|
|
24233
|
+
* Get a specific Learning Module job status
|
|
24234
|
+
*
|
|
24235
|
+
* @param {String} moduleId The ID of the learning module
|
|
24236
|
+
* @param {String} jobId The ID of the learning module job
|
|
24237
|
+
*/
|
|
24238
|
+
getLearningModuleJob(moduleId, jobId) {
|
|
24239
|
+
// verify the required parameter 'moduleId' is set
|
|
24240
|
+
if (moduleId === undefined || moduleId === null) {
|
|
24241
|
+
throw 'Missing the required parameter "moduleId" when calling getLearningModuleJob';
|
|
24242
|
+
}
|
|
24243
|
+
// verify the required parameter 'jobId' is set
|
|
24244
|
+
if (jobId === undefined || jobId === null) {
|
|
24245
|
+
throw 'Missing the required parameter "jobId" when calling getLearningModuleJob';
|
|
24246
|
+
}
|
|
24247
|
+
|
|
24248
|
+
return this.apiClient.callApi(
|
|
24249
|
+
'/api/v2/learning/modules/{moduleId}/jobs/{jobId}',
|
|
24250
|
+
'GET',
|
|
24251
|
+
{ 'moduleId': moduleId,'jobId': jobId },
|
|
24252
|
+
{ },
|
|
24253
|
+
{ },
|
|
24254
|
+
{ },
|
|
24255
|
+
null,
|
|
24256
|
+
['PureCloud OAuth'],
|
|
24257
|
+
['application/json'],
|
|
24258
|
+
['application/json']
|
|
24259
|
+
);
|
|
24260
|
+
}
|
|
24261
|
+
|
|
24232
24262
|
/**
|
|
24233
24263
|
* Get a learning module rule
|
|
24234
24264
|
*
|
|
@@ -24374,6 +24404,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24374
24404
|
);
|
|
24375
24405
|
}
|
|
24376
24406
|
|
|
24407
|
+
/**
|
|
24408
|
+
* Reassign Learning Assignment
|
|
24409
|
+
* This will reassign the state of the assignment to Assigned and update the assignment to the latest version of the module
|
|
24410
|
+
* @param {String} assignmentId The Learning Assignment ID
|
|
24411
|
+
*/
|
|
24412
|
+
postLearningAssignmentReassign(assignmentId) {
|
|
24413
|
+
// verify the required parameter 'assignmentId' is set
|
|
24414
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
24415
|
+
throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReassign';
|
|
24416
|
+
}
|
|
24417
|
+
|
|
24418
|
+
return this.apiClient.callApi(
|
|
24419
|
+
'/api/v2/learning/assignments/{assignmentId}/reassign',
|
|
24420
|
+
'POST',
|
|
24421
|
+
{ 'assignmentId': assignmentId },
|
|
24422
|
+
{ },
|
|
24423
|
+
{ },
|
|
24424
|
+
{ },
|
|
24425
|
+
null,
|
|
24426
|
+
['PureCloud OAuth'],
|
|
24427
|
+
['application/json'],
|
|
24428
|
+
['application/json']
|
|
24429
|
+
);
|
|
24430
|
+
}
|
|
24431
|
+
|
|
24432
|
+
/**
|
|
24433
|
+
* Reset Learning Assignment
|
|
24434
|
+
* This will reset the state of the assignment to Assigned and remove the version of Learning module associated with the assignment
|
|
24435
|
+
* @param {String} assignmentId The Learning Assignment ID
|
|
24436
|
+
*/
|
|
24437
|
+
postLearningAssignmentReset(assignmentId) {
|
|
24438
|
+
// verify the required parameter 'assignmentId' is set
|
|
24439
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
24440
|
+
throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReset';
|
|
24441
|
+
}
|
|
24442
|
+
|
|
24443
|
+
return this.apiClient.callApi(
|
|
24444
|
+
'/api/v2/learning/assignments/{assignmentId}/reset',
|
|
24445
|
+
'POST',
|
|
24446
|
+
{ 'assignmentId': assignmentId },
|
|
24447
|
+
{ },
|
|
24448
|
+
{ },
|
|
24449
|
+
{ },
|
|
24450
|
+
null,
|
|
24451
|
+
['PureCloud OAuth'],
|
|
24452
|
+
['application/json'],
|
|
24453
|
+
['application/json']
|
|
24454
|
+
);
|
|
24455
|
+
}
|
|
24456
|
+
|
|
24377
24457
|
/**
|
|
24378
24458
|
* Create Learning Assignment
|
|
24379
24459
|
*
|
|
@@ -24471,6 +24551,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24471
24551
|
);
|
|
24472
24552
|
}
|
|
24473
24553
|
|
|
24554
|
+
/**
|
|
24555
|
+
* Starts a specified operation on learning module
|
|
24556
|
+
* This will initiate operation specified in the request body for a learning module
|
|
24557
|
+
* @param {String} moduleId The ID of the learning module
|
|
24558
|
+
* @param {Object} body The learning module job request
|
|
24559
|
+
*/
|
|
24560
|
+
postLearningModuleJobs(moduleId, body) {
|
|
24561
|
+
// verify the required parameter 'moduleId' is set
|
|
24562
|
+
if (moduleId === undefined || moduleId === null) {
|
|
24563
|
+
throw 'Missing the required parameter "moduleId" when calling postLearningModuleJobs';
|
|
24564
|
+
}
|
|
24565
|
+
// verify the required parameter 'body' is set
|
|
24566
|
+
if (body === undefined || body === null) {
|
|
24567
|
+
throw 'Missing the required parameter "body" when calling postLearningModuleJobs';
|
|
24568
|
+
}
|
|
24569
|
+
|
|
24570
|
+
return this.apiClient.callApi(
|
|
24571
|
+
'/api/v2/learning/modules/{moduleId}/jobs',
|
|
24572
|
+
'POST',
|
|
24573
|
+
{ 'moduleId': moduleId },
|
|
24574
|
+
{ },
|
|
24575
|
+
{ },
|
|
24576
|
+
{ },
|
|
24577
|
+
body,
|
|
24578
|
+
['PureCloud OAuth'],
|
|
24579
|
+
['application/json'],
|
|
24580
|
+
['application/json']
|
|
24581
|
+
);
|
|
24582
|
+
}
|
|
24583
|
+
|
|
24474
24584
|
/**
|
|
24475
24585
|
* Publish a Learning module
|
|
24476
24586
|
*
|
|
@@ -24622,7 +24732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24622
24732
|
/**
|
|
24623
24733
|
* License service.
|
|
24624
24734
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24625
|
-
* @version
|
|
24735
|
+
* @version 140.0.0
|
|
24626
24736
|
*/
|
|
24627
24737
|
|
|
24628
24738
|
/**
|
|
@@ -24860,7 +24970,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24860
24970
|
/**
|
|
24861
24971
|
* Locations service.
|
|
24862
24972
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24863
|
-
* @version
|
|
24973
|
+
* @version 140.0.0
|
|
24864
24974
|
*/
|
|
24865
24975
|
|
|
24866
24976
|
/**
|
|
@@ -25096,7 +25206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25096
25206
|
/**
|
|
25097
25207
|
* Messaging service.
|
|
25098
25208
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
25099
|
-
* @version
|
|
25209
|
+
* @version 140.0.0
|
|
25100
25210
|
*/
|
|
25101
25211
|
|
|
25102
25212
|
/**
|
|
@@ -25247,7 +25357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25247
25357
|
/**
|
|
25248
25358
|
* MobileDevices service.
|
|
25249
25359
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
25250
|
-
* @version
|
|
25360
|
+
* @version 140.0.0
|
|
25251
25361
|
*/
|
|
25252
25362
|
|
|
25253
25363
|
/**
|
|
@@ -25398,7 +25508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25398
25508
|
/**
|
|
25399
25509
|
* Notifications service.
|
|
25400
25510
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
25401
|
-
* @version
|
|
25511
|
+
* @version 140.0.0
|
|
25402
25512
|
*/
|
|
25403
25513
|
|
|
25404
25514
|
/**
|
|
@@ -25623,7 +25733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25623
25733
|
/**
|
|
25624
25734
|
* OAuth service.
|
|
25625
25735
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25626
|
-
* @version
|
|
25736
|
+
* @version 140.0.0
|
|
25627
25737
|
*/
|
|
25628
25738
|
|
|
25629
25739
|
/**
|
|
@@ -25989,7 +26099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25989
26099
|
/**
|
|
25990
26100
|
* Objects service.
|
|
25991
26101
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25992
|
-
* @version
|
|
26102
|
+
* @version 140.0.0
|
|
25993
26103
|
*/
|
|
25994
26104
|
|
|
25995
26105
|
/**
|
|
@@ -26260,7 +26370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26260
26370
|
/**
|
|
26261
26371
|
* Organization service.
|
|
26262
26372
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
26263
|
-
* @version
|
|
26373
|
+
* @version 140.0.0
|
|
26264
26374
|
*/
|
|
26265
26375
|
|
|
26266
26376
|
/**
|
|
@@ -26663,7 +26773,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26663
26773
|
/**
|
|
26664
26774
|
* OrganizationAuthorization service.
|
|
26665
26775
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26666
|
-
* @version
|
|
26776
|
+
* @version 140.0.0
|
|
26667
26777
|
*/
|
|
26668
26778
|
|
|
26669
26779
|
/**
|
|
@@ -27588,7 +27698,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27588
27698
|
/**
|
|
27589
27699
|
* Outbound service.
|
|
27590
27700
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27591
|
-
* @version
|
|
27701
|
+
* @version 140.0.0
|
|
27592
27702
|
*/
|
|
27593
27703
|
|
|
27594
27704
|
/**
|
|
@@ -30843,7 +30953,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30843
30953
|
/**
|
|
30844
30954
|
* Presence service.
|
|
30845
30955
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
30846
|
-
* @version
|
|
30956
|
+
* @version 140.0.0
|
|
30847
30957
|
*/
|
|
30848
30958
|
|
|
30849
30959
|
/**
|
|
@@ -31165,7 +31275,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31165
31275
|
/**
|
|
31166
31276
|
* Quality service.
|
|
31167
31277
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31168
|
-
* @version
|
|
31278
|
+
* @version 140.0.0
|
|
31169
31279
|
*/
|
|
31170
31280
|
|
|
31171
31281
|
/**
|
|
@@ -31923,7 +32033,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31923
32033
|
/**
|
|
31924
32034
|
* Retrieve a list of the latest form versions by context ids
|
|
31925
32035
|
*
|
|
31926
|
-
* @param {Array.<String>} contextId A comma-delimited list of valid survey form context ids
|
|
32036
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid survey form context ids. The maximum number of ids allowed in this list is 100.
|
|
31927
32037
|
* @param {Object} opts Optional parameters
|
|
31928
32038
|
* @param {Boolean} opts.published If true, the latest published version will be included. If false, only the unpublished version will be included. (default to true)
|
|
31929
32039
|
*/
|
|
@@ -32743,7 +32853,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32743
32853
|
/**
|
|
32744
32854
|
* Recording service.
|
|
32745
32855
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
32746
|
-
* @version
|
|
32856
|
+
* @version 140.0.0
|
|
32747
32857
|
*/
|
|
32748
32858
|
|
|
32749
32859
|
/**
|
|
@@ -34396,7 +34506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34396
34506
|
/**
|
|
34397
34507
|
* ResponseManagement service.
|
|
34398
34508
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34399
|
-
* @version
|
|
34509
|
+
* @version 140.0.0
|
|
34400
34510
|
*/
|
|
34401
34511
|
|
|
34402
34512
|
/**
|
|
@@ -34880,7 +34990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34880
34990
|
/**
|
|
34881
34991
|
* Routing service.
|
|
34882
34992
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
34883
|
-
* @version
|
|
34993
|
+
* @version 140.0.0
|
|
34884
34994
|
*/
|
|
34885
34995
|
|
|
34886
34996
|
/**
|
|
@@ -35709,16 +35819,20 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35709
35819
|
}
|
|
35710
35820
|
|
|
35711
35821
|
/**
|
|
35712
|
-
* Get a list of Key Performance Indicators
|
|
35822
|
+
* Get a list of Key Performance Indicators
|
|
35713
35823
|
*
|
|
35824
|
+
* @param {Object} opts Optional parameters
|
|
35825
|
+
* @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
|
|
35714
35826
|
*/
|
|
35715
|
-
getRoutingPredictorsKeyperformanceindicators() {
|
|
35827
|
+
getRoutingPredictorsKeyperformanceindicators(opts) {
|
|
35828
|
+
opts = opts || {};
|
|
35829
|
+
|
|
35716
35830
|
|
|
35717
35831
|
return this.apiClient.callApi(
|
|
35718
35832
|
'/api/v2/routing/predictors/keyperformanceindicators',
|
|
35719
35833
|
'GET',
|
|
35720
35834
|
{ },
|
|
35721
|
-
{
|
|
35835
|
+
{ 'kpiGroup': opts['kpiGroup'] },
|
|
35722
35836
|
{ },
|
|
35723
35837
|
{ },
|
|
35724
35838
|
null,
|
|
@@ -37795,7 +37909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37795
37909
|
/**
|
|
37796
37910
|
* SCIM service.
|
|
37797
37911
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
37798
|
-
* @version
|
|
37912
|
+
* @version 140.0.0
|
|
37799
37913
|
*/
|
|
37800
37914
|
|
|
37801
37915
|
/**
|
|
@@ -38672,7 +38786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38672
38786
|
/**
|
|
38673
38787
|
* Scripts service.
|
|
38674
38788
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
38675
|
-
* @version
|
|
38789
|
+
* @version 140.0.0
|
|
38676
38790
|
*/
|
|
38677
38791
|
|
|
38678
38792
|
/**
|
|
@@ -39091,7 +39205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39091
39205
|
/**
|
|
39092
39206
|
* Search service.
|
|
39093
39207
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39094
|
-
* @version
|
|
39208
|
+
* @version 140.0.0
|
|
39095
39209
|
*/
|
|
39096
39210
|
|
|
39097
39211
|
/**
|
|
@@ -39626,7 +39740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39626
39740
|
/**
|
|
39627
39741
|
* SpeechTextAnalytics service.
|
|
39628
39742
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39629
|
-
* @version
|
|
39743
|
+
* @version 140.0.0
|
|
39630
39744
|
*/
|
|
39631
39745
|
|
|
39632
39746
|
/**
|
|
@@ -40479,7 +40593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40479
40593
|
/**
|
|
40480
40594
|
* Stations service.
|
|
40481
40595
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40482
|
-
* @version
|
|
40596
|
+
* @version 140.0.0
|
|
40483
40597
|
*/
|
|
40484
40598
|
|
|
40485
40599
|
/**
|
|
@@ -40626,7 +40740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40626
40740
|
/**
|
|
40627
40741
|
* Suggest service.
|
|
40628
40742
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40629
|
-
* @version
|
|
40743
|
+
* @version 140.0.0
|
|
40630
40744
|
*/
|
|
40631
40745
|
|
|
40632
40746
|
/**
|
|
@@ -40765,7 +40879,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40765
40879
|
/**
|
|
40766
40880
|
* Telephony service.
|
|
40767
40881
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
40768
|
-
* @version
|
|
40882
|
+
* @version 140.0.0
|
|
40769
40883
|
*/
|
|
40770
40884
|
|
|
40771
40885
|
/**
|
|
@@ -40873,7 +40987,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40873
40987
|
/**
|
|
40874
40988
|
* TelephonyProvidersEdge service.
|
|
40875
40989
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
40876
|
-
* @version
|
|
40990
|
+
* @version 140.0.0
|
|
40877
40991
|
*/
|
|
40878
40992
|
|
|
40879
40993
|
/**
|
|
@@ -44506,7 +44620,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44506
44620
|
/**
|
|
44507
44621
|
* Textbots service.
|
|
44508
44622
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
44509
|
-
* @version
|
|
44623
|
+
* @version 140.0.0
|
|
44510
44624
|
*/
|
|
44511
44625
|
|
|
44512
44626
|
/**
|
|
@@ -44634,7 +44748,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44634
44748
|
/**
|
|
44635
44749
|
* Tokens service.
|
|
44636
44750
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
44637
|
-
* @version
|
|
44751
|
+
* @version 140.0.0
|
|
44638
44752
|
*/
|
|
44639
44753
|
|
|
44640
44754
|
/**
|
|
@@ -44740,7 +44854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44740
44854
|
/**
|
|
44741
44855
|
* Uploads service.
|
|
44742
44856
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
44743
|
-
* @version
|
|
44857
|
+
* @version 140.0.0
|
|
44744
44858
|
*/
|
|
44745
44859
|
|
|
44746
44860
|
/**
|
|
@@ -44891,7 +45005,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44891
45005
|
/**
|
|
44892
45006
|
* Usage service.
|
|
44893
45007
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
44894
|
-
* @version
|
|
45008
|
+
* @version 140.0.0
|
|
44895
45009
|
*/
|
|
44896
45010
|
|
|
44897
45011
|
/**
|
|
@@ -44962,7 +45076,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44962
45076
|
/**
|
|
44963
45077
|
* UserRecordings service.
|
|
44964
45078
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
44965
|
-
* @version
|
|
45079
|
+
* @version 140.0.0
|
|
44966
45080
|
*/
|
|
44967
45081
|
|
|
44968
45082
|
/**
|
|
@@ -45146,7 +45260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45146
45260
|
/**
|
|
45147
45261
|
* Users service.
|
|
45148
45262
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45149
|
-
* @version
|
|
45263
|
+
* @version 140.0.0
|
|
45150
45264
|
*/
|
|
45151
45265
|
|
|
45152
45266
|
/**
|
|
@@ -45966,18 +46080,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45966
46080
|
/**
|
|
45967
46081
|
* Returns a listing of roles and permissions for a user.
|
|
45968
46082
|
*
|
|
45969
|
-
* @param {String}
|
|
46083
|
+
* @param {String} subjectId User ID
|
|
45970
46084
|
*/
|
|
45971
|
-
getUserRoles(
|
|
45972
|
-
// verify the required parameter '
|
|
45973
|
-
if (
|
|
45974
|
-
throw 'Missing the required parameter "
|
|
46085
|
+
getUserRoles(subjectId) {
|
|
46086
|
+
// verify the required parameter 'subjectId' is set
|
|
46087
|
+
if (subjectId === undefined || subjectId === null) {
|
|
46088
|
+
throw 'Missing the required parameter "subjectId" when calling getUserRoles';
|
|
45975
46089
|
}
|
|
45976
46090
|
|
|
45977
46091
|
return this.apiClient.callApi(
|
|
45978
|
-
'/api/v2/users/{
|
|
46092
|
+
'/api/v2/users/{subjectId}/roles',
|
|
45979
46093
|
'GET',
|
|
45980
|
-
{ '
|
|
46094
|
+
{ 'subjectId': subjectId },
|
|
45981
46095
|
{ },
|
|
45982
46096
|
{ },
|
|
45983
46097
|
{ },
|
|
@@ -47230,13 +47344,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47230
47344
|
/**
|
|
47231
47345
|
* Sets the user's roles
|
|
47232
47346
|
*
|
|
47233
|
-
* @param {String}
|
|
47347
|
+
* @param {String} subjectId User ID
|
|
47234
47348
|
* @param {Array.<String>} body List of roles
|
|
47235
47349
|
*/
|
|
47236
|
-
putUserRoles(
|
|
47237
|
-
// verify the required parameter '
|
|
47238
|
-
if (
|
|
47239
|
-
throw 'Missing the required parameter "
|
|
47350
|
+
putUserRoles(subjectId, body) {
|
|
47351
|
+
// verify the required parameter 'subjectId' is set
|
|
47352
|
+
if (subjectId === undefined || subjectId === null) {
|
|
47353
|
+
throw 'Missing the required parameter "subjectId" when calling putUserRoles';
|
|
47240
47354
|
}
|
|
47241
47355
|
// verify the required parameter 'body' is set
|
|
47242
47356
|
if (body === undefined || body === null) {
|
|
@@ -47244,9 +47358,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47244
47358
|
}
|
|
47245
47359
|
|
|
47246
47360
|
return this.apiClient.callApi(
|
|
47247
|
-
'/api/v2/users/{
|
|
47361
|
+
'/api/v2/users/{subjectId}/roles',
|
|
47248
47362
|
'PUT',
|
|
47249
|
-
{ '
|
|
47363
|
+
{ 'subjectId': subjectId },
|
|
47250
47364
|
{ },
|
|
47251
47365
|
{ },
|
|
47252
47366
|
{ },
|
|
@@ -47448,7 +47562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47448
47562
|
/**
|
|
47449
47563
|
* Utilities service.
|
|
47450
47564
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47451
|
-
* @version
|
|
47565
|
+
* @version 140.0.0
|
|
47452
47566
|
*/
|
|
47453
47567
|
|
|
47454
47568
|
/**
|
|
@@ -47559,7 +47673,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47559
47673
|
/**
|
|
47560
47674
|
* Voicemail service.
|
|
47561
47675
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
47562
|
-
* @version
|
|
47676
|
+
* @version 140.0.0
|
|
47563
47677
|
*/
|
|
47564
47678
|
|
|
47565
47679
|
/**
|
|
@@ -48226,7 +48340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48226
48340
|
/**
|
|
48227
48341
|
* WebChat service.
|
|
48228
48342
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48229
|
-
* @version
|
|
48343
|
+
* @version 140.0.0
|
|
48230
48344
|
*/
|
|
48231
48345
|
|
|
48232
48346
|
/**
|
|
@@ -48770,7 +48884,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48770
48884
|
/**
|
|
48771
48885
|
* WebDeployments service.
|
|
48772
48886
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
48773
|
-
* @version
|
|
48887
|
+
* @version 140.0.0
|
|
48774
48888
|
*/
|
|
48775
48889
|
|
|
48776
48890
|
/**
|
|
@@ -49125,7 +49239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49125
49239
|
/**
|
|
49126
49240
|
* WebMessaging service.
|
|
49127
49241
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49128
|
-
* @version
|
|
49242
|
+
* @version 140.0.0
|
|
49129
49243
|
*/
|
|
49130
49244
|
|
|
49131
49245
|
/**
|
|
@@ -49171,7 +49285,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49171
49285
|
/**
|
|
49172
49286
|
* Widgets service.
|
|
49173
49287
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49174
|
-
* @version
|
|
49288
|
+
* @version 140.0.0
|
|
49175
49289
|
*/
|
|
49176
49290
|
|
|
49177
49291
|
/**
|
|
@@ -49317,7 +49431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49317
49431
|
/**
|
|
49318
49432
|
* WorkforceManagement service.
|
|
49319
49433
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49320
|
-
* @version
|
|
49434
|
+
* @version 140.0.0
|
|
49321
49435
|
*/
|
|
49322
49436
|
|
|
49323
49437
|
/**
|
|
@@ -53568,7 +53682,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53568
53682
|
* </pre>
|
|
53569
53683
|
* </p>
|
|
53570
53684
|
* @module purecloud-platform-client-v2/index
|
|
53571
|
-
* @version
|
|
53685
|
+
* @version 140.0.0
|
|
53572
53686
|
*/
|
|
53573
53687
|
class platformClient {
|
|
53574
53688
|
constructor() {
|