purecloud-platform-client-v2 140.0.0 → 141.1.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 +504 -80
- package/dist/web-amd/purecloud-platform-client-v2.js +504 -81
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +504 -80
- package/dist/web-cjs/purecloud-platform-client-v2.js +2598 -118
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +396 -196
- package/package.json +2 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +18 -16
- 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 +152 -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 +35 -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 +4 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +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
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
define(['axios'], (function (axios) { 'use strict';
|
|
1
|
+
define(['axios', 'qs'], (function (axios, qs) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
4
4
|
|
|
5
5
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
6
|
+
var qs__default = /*#__PURE__*/_interopDefaultLegacy(qs);
|
|
6
7
|
|
|
7
8
|
var PureCloudRegionHosts = {
|
|
8
9
|
us_east_1: 'mypurecloud.com',
|
|
@@ -397,7 +398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
397
398
|
|
|
398
399
|
/**
|
|
399
400
|
* @module purecloud-platform-client-v2/ApiClient
|
|
400
|
-
* @version
|
|
401
|
+
* @version 141.1.0
|
|
401
402
|
*/
|
|
402
403
|
class ApiClient {
|
|
403
404
|
/**
|
|
@@ -432,7 +433,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
432
433
|
|
|
433
434
|
/**
|
|
434
435
|
* Enumeration of collection format separator strategies.
|
|
435
|
-
* @enum {String}
|
|
436
|
+
* @enum {String}
|
|
436
437
|
* @readonly
|
|
437
438
|
*/
|
|
438
439
|
this.CollectionFormatEnum = {
|
|
@@ -579,7 +580,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
579
580
|
// Load current auth data
|
|
580
581
|
const tempState = this.authData.state;
|
|
581
582
|
this.authData = localStorage.getItem(`${this.settingsPrefix}_auth_data`);
|
|
582
|
-
if (!this.authData)
|
|
583
|
+
if (!this.authData)
|
|
583
584
|
this.authData = {};
|
|
584
585
|
else
|
|
585
586
|
this.authData = JSON.parse(this.authData);
|
|
@@ -599,7 +600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
599
600
|
* @description Initiates the implicit grant login flow. Will attempt to load the token from local storage, if enabled.
|
|
600
601
|
* @param {string} clientId - The client ID of an OAuth Implicit Grant client
|
|
601
602
|
* @param {string} redirectUri - The redirect URI of the OAuth Implicit Grant client
|
|
602
|
-
* @param {object} opts - (optional) Additional options
|
|
603
|
+
* @param {object} opts - (optional) Additional options
|
|
603
604
|
* @param {string} opts.state - (optional) An arbitrary string to be passed back with the login response. Used for client apps to associate login responses with a request.
|
|
604
605
|
* @param {string} opts.org - (optional) The organization name that would normally used when specifying an organization name when logging in. This is only used when a provider is also specified.
|
|
605
606
|
* @param {string} opts.provider - (optional) Authentication provider to log in with e.g. okta, adfs, salesforce, onelogin. This is only used when an org is also specified.
|
|
@@ -745,9 +746,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
745
746
|
}
|
|
746
747
|
var encodedData = Buffer.from(clientId + ':' + clientSecret).toString('base64');
|
|
747
748
|
var request = this._formAuthRequest(encodedData,
|
|
748
|
-
{ grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer'
|
|
749
|
-
|
|
750
|
-
|
|
749
|
+
{ grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer',
|
|
750
|
+
orgName: orgName,
|
|
751
|
+
assertion: assertion });
|
|
751
752
|
request.proxy = this.proxy;
|
|
752
753
|
var bodyParam = {
|
|
753
754
|
grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer',
|
|
@@ -826,9 +827,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
826
827
|
}
|
|
827
828
|
var encodedData = Buffer.from(clientId + ':' + clientSecret).toString('base64');
|
|
828
829
|
var request = this._formAuthRequest(encodedData,
|
|
829
|
-
{ grant_type: 'authorization_code'
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
{ grant_type: 'authorization_code',
|
|
831
|
+
code: authCode,
|
|
832
|
+
redirect_uri: redirectUri });
|
|
832
833
|
request.proxy = this.proxy;
|
|
833
834
|
var bodyParam = {
|
|
834
835
|
grant_type: 'authorization_code',
|
|
@@ -854,7 +855,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
854
855
|
return;
|
|
855
856
|
}
|
|
856
857
|
var encodedData = Buffer.from(clientId + ':' + clientSecret).toString('base64');
|
|
857
|
-
var request = this._formAuthRequest(encodedData, { grant_type: 'refresh_token'
|
|
858
|
+
var request = this._formAuthRequest(encodedData, { grant_type: 'refresh_token' , refresh_token: refreshToken });
|
|
858
859
|
request.proxy = this.proxy;
|
|
859
860
|
var bodyParam = {
|
|
860
861
|
grant_type: 'refresh_token',
|
|
@@ -931,8 +932,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
931
932
|
/**
|
|
932
933
|
* @description Utility function to create the request for auth requests
|
|
933
934
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
935
|
+
* @param {object} data - data to url form encode
|
|
934
936
|
*/
|
|
935
|
-
_formAuthRequest(encodedData) {
|
|
937
|
+
_formAuthRequest(encodedData, data) {
|
|
936
938
|
var request = axios__default["default"]({
|
|
937
939
|
method: `POST`,
|
|
938
940
|
url: `https://login.${this.config.environment}/oauth/token`,
|
|
@@ -940,7 +942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
940
942
|
'Authorization': 'Basic ' + encodedData,
|
|
941
943
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
942
944
|
},
|
|
943
|
-
data:
|
|
945
|
+
data: qs__default["default"].stringify(data)
|
|
944
946
|
});
|
|
945
947
|
|
|
946
948
|
return request;
|
|
@@ -1004,7 +1006,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1004
1006
|
}
|
|
1005
1007
|
|
|
1006
1008
|
// Test token
|
|
1007
|
-
this.callApi('/api/v2/tokens/me', 'GET',
|
|
1009
|
+
this.callApi('/api/v2/tokens/me', 'GET',
|
|
1008
1010
|
null, null, null, null, null, ['PureCloud OAuth'], ['application/json'], ['application/json'])
|
|
1009
1011
|
.then(() => {
|
|
1010
1012
|
resolve();
|
|
@@ -1030,7 +1032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1030
1032
|
const match = hashRegex.exec(h);
|
|
1031
1033
|
if (match) hash[match[1]] = decodeURIComponent(decodeURIComponent(match[2].replace(/\+/g, '%20')));
|
|
1032
1034
|
});
|
|
1033
|
-
|
|
1035
|
+
|
|
1034
1036
|
// Check for error
|
|
1035
1037
|
if (hash.error) {
|
|
1036
1038
|
return hash;
|
|
@@ -1228,7 +1230,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1228
1230
|
/**
|
|
1229
1231
|
* Checks whether the given parameter value represents file-like content.
|
|
1230
1232
|
* @param param The parameter to check.
|
|
1231
|
-
* @returns {Boolean} <code>true</code> if <code>param</code> represents a file.
|
|
1233
|
+
* @returns {Boolean} <code>true</code> if <code>param</code> represents a file.
|
|
1232
1234
|
*/
|
|
1233
1235
|
isFileParam(param) {
|
|
1234
1236
|
// fs.ReadStream in Node.js (but not in runtime like browserify)
|
|
@@ -1475,7 +1477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1475
1477
|
/**
|
|
1476
1478
|
* Alerting service.
|
|
1477
1479
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1478
|
-
* @version
|
|
1480
|
+
* @version 141.1.0
|
|
1479
1481
|
*/
|
|
1480
1482
|
|
|
1481
1483
|
/**
|
|
@@ -1789,7 +1791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1789
1791
|
/**
|
|
1790
1792
|
* Analytics service.
|
|
1791
1793
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1792
|
-
* @version
|
|
1794
|
+
* @version 141.1.0
|
|
1793
1795
|
*/
|
|
1794
1796
|
|
|
1795
1797
|
/**
|
|
@@ -2971,7 +2973,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2971
2973
|
/**
|
|
2972
2974
|
* Architect service.
|
|
2973
2975
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2974
|
-
* @version
|
|
2976
|
+
* @version 141.1.0
|
|
2975
2977
|
*/
|
|
2976
2978
|
|
|
2977
2979
|
/**
|
|
@@ -6016,7 +6018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6016
6018
|
/**
|
|
6017
6019
|
* Audit service.
|
|
6018
6020
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6019
|
-
* @version
|
|
6021
|
+
* @version 141.1.0
|
|
6020
6022
|
*/
|
|
6021
6023
|
|
|
6022
6024
|
/**
|
|
@@ -6187,7 +6189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6187
6189
|
/**
|
|
6188
6190
|
* Authorization service.
|
|
6189
6191
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6190
|
-
* @version
|
|
6192
|
+
* @version 141.1.0
|
|
6191
6193
|
*/
|
|
6192
6194
|
|
|
6193
6195
|
/**
|
|
@@ -7370,7 +7372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7370
7372
|
/**
|
|
7371
7373
|
* Billing service.
|
|
7372
7374
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7373
|
-
* @version
|
|
7375
|
+
* @version 141.1.0
|
|
7374
7376
|
*/
|
|
7375
7377
|
|
|
7376
7378
|
/**
|
|
@@ -7450,7 +7452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7450
7452
|
/**
|
|
7451
7453
|
* Chat service.
|
|
7452
7454
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7453
|
-
* @version
|
|
7455
|
+
* @version 141.1.0
|
|
7454
7456
|
*/
|
|
7455
7457
|
|
|
7456
7458
|
/**
|
|
@@ -7541,7 +7543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7541
7543
|
/**
|
|
7542
7544
|
* Coaching service.
|
|
7543
7545
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7544
|
-
* @version
|
|
7546
|
+
* @version 141.1.0
|
|
7545
7547
|
*/
|
|
7546
7548
|
|
|
7547
7549
|
/**
|
|
@@ -8118,7 +8120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8118
8120
|
/**
|
|
8119
8121
|
* ContentManagement service.
|
|
8120
8122
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8121
|
-
* @version
|
|
8123
|
+
* @version 141.1.0
|
|
8122
8124
|
*/
|
|
8123
8125
|
|
|
8124
8126
|
/**
|
|
@@ -9258,7 +9260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9258
9260
|
/**
|
|
9259
9261
|
* Conversations service.
|
|
9260
9262
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9261
|
-
* @version
|
|
9263
|
+
* @version 141.1.0
|
|
9262
9264
|
*/
|
|
9263
9265
|
|
|
9264
9266
|
/**
|
|
@@ -14192,7 +14194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14192
14194
|
/**
|
|
14193
14195
|
* DataExtensions service.
|
|
14194
14196
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14195
|
-
* @version
|
|
14197
|
+
* @version 141.1.0
|
|
14196
14198
|
*/
|
|
14197
14199
|
|
|
14198
14200
|
/**
|
|
@@ -14278,7 +14280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14278
14280
|
/**
|
|
14279
14281
|
* ExternalContacts service.
|
|
14280
14282
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14281
|
-
* @version
|
|
14283
|
+
* @version 141.1.0
|
|
14282
14284
|
*/
|
|
14283
14285
|
|
|
14284
14286
|
/**
|
|
@@ -16021,7 +16023,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16021
16023
|
/**
|
|
16022
16024
|
* Fax service.
|
|
16023
16025
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16024
|
-
* @version
|
|
16026
|
+
* @version 141.1.0
|
|
16025
16027
|
*/
|
|
16026
16028
|
|
|
16027
16029
|
/**
|
|
@@ -16192,7 +16194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16192
16194
|
/**
|
|
16193
16195
|
* Flows service.
|
|
16194
16196
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16195
|
-
* @version
|
|
16197
|
+
* @version 141.1.0
|
|
16196
16198
|
*/
|
|
16197
16199
|
|
|
16198
16200
|
/**
|
|
@@ -16263,7 +16265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16263
16265
|
/**
|
|
16264
16266
|
* Gamification service.
|
|
16265
16267
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16266
|
-
* @version
|
|
16268
|
+
* @version 141.1.0
|
|
16267
16269
|
*/
|
|
16268
16270
|
|
|
16269
16271
|
/**
|
|
@@ -16886,6 +16888,157 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16886
16888
|
);
|
|
16887
16889
|
}
|
|
16888
16890
|
|
|
16891
|
+
/**
|
|
16892
|
+
* Average performance values trends by metric of a user
|
|
16893
|
+
*
|
|
16894
|
+
* @param {String} profileId performanceProfileId
|
|
16895
|
+
* @param {String} metricId metricId
|
|
16896
|
+
* @param {String} userId
|
|
16897
|
+
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16898
|
+
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16899
|
+
* @param {Object} opts Optional parameters
|
|
16900
|
+
* @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16901
|
+
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
16902
|
+
*/
|
|
16903
|
+
getGamificationScorecardsProfileMetricUserValuesTrends(profileId, metricId, userId, startWorkday, endWorkday, opts) {
|
|
16904
|
+
opts = opts || {};
|
|
16905
|
+
|
|
16906
|
+
// verify the required parameter 'profileId' is set
|
|
16907
|
+
if (profileId === undefined || profileId === null) {
|
|
16908
|
+
throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
|
|
16909
|
+
}
|
|
16910
|
+
// verify the required parameter 'metricId' is set
|
|
16911
|
+
if (metricId === undefined || metricId === null) {
|
|
16912
|
+
throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
|
|
16913
|
+
}
|
|
16914
|
+
// verify the required parameter 'userId' is set
|
|
16915
|
+
if (userId === undefined || userId === null) {
|
|
16916
|
+
throw 'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
|
|
16917
|
+
}
|
|
16918
|
+
// verify the required parameter 'startWorkday' is set
|
|
16919
|
+
if (startWorkday === undefined || startWorkday === null) {
|
|
16920
|
+
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
|
|
16921
|
+
}
|
|
16922
|
+
// verify the required parameter 'endWorkday' is set
|
|
16923
|
+
if (endWorkday === undefined || endWorkday === null) {
|
|
16924
|
+
throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
|
|
16925
|
+
}
|
|
16926
|
+
|
|
16927
|
+
return this.apiClient.callApi(
|
|
16928
|
+
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/{userId}/values/trends',
|
|
16929
|
+
'GET',
|
|
16930
|
+
{ 'profileId': profileId,'metricId': metricId,'userId': userId },
|
|
16931
|
+
{ 'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
16932
|
+
{ },
|
|
16933
|
+
{ },
|
|
16934
|
+
null,
|
|
16935
|
+
['PureCloud OAuth'],
|
|
16936
|
+
['application/json'],
|
|
16937
|
+
['application/json']
|
|
16938
|
+
);
|
|
16939
|
+
}
|
|
16940
|
+
|
|
16941
|
+
/**
|
|
16942
|
+
* Average performance values trends by metric of a division or a performance profile
|
|
16943
|
+
*
|
|
16944
|
+
* @param {String} profileId performanceProfileId
|
|
16945
|
+
* @param {String} metricId metricId
|
|
16946
|
+
* @param {Object} filterType Filter type for the query request.
|
|
16947
|
+
* @param {String} filterId ID for the filter type. For example, division Id
|
|
16948
|
+
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16949
|
+
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16950
|
+
* @param {Object} opts Optional parameters
|
|
16951
|
+
* @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
16952
|
+
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
16953
|
+
*/
|
|
16954
|
+
getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
|
|
16955
|
+
opts = opts || {};
|
|
16956
|
+
|
|
16957
|
+
// verify the required parameter 'profileId' is set
|
|
16958
|
+
if (profileId === undefined || profileId === null) {
|
|
16959
|
+
throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16960
|
+
}
|
|
16961
|
+
// verify the required parameter 'metricId' is set
|
|
16962
|
+
if (metricId === undefined || metricId === null) {
|
|
16963
|
+
throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16964
|
+
}
|
|
16965
|
+
// verify the required parameter 'filterType' is set
|
|
16966
|
+
if (filterType === undefined || filterType === null) {
|
|
16967
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16968
|
+
}
|
|
16969
|
+
// verify the required parameter 'filterId' is set
|
|
16970
|
+
if (filterId === undefined || filterId === null) {
|
|
16971
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16972
|
+
}
|
|
16973
|
+
// verify the required parameter 'startWorkday' is set
|
|
16974
|
+
if (startWorkday === undefined || startWorkday === null) {
|
|
16975
|
+
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16976
|
+
}
|
|
16977
|
+
// verify the required parameter 'endWorkday' is set
|
|
16978
|
+
if (endWorkday === undefined || endWorkday === null) {
|
|
16979
|
+
throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
|
|
16980
|
+
}
|
|
16981
|
+
|
|
16982
|
+
return this.apiClient.callApi(
|
|
16983
|
+
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
|
|
16984
|
+
'GET',
|
|
16985
|
+
{ 'profileId': profileId,'metricId': metricId },
|
|
16986
|
+
{ 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
16987
|
+
{ },
|
|
16988
|
+
{ },
|
|
16989
|
+
null,
|
|
16990
|
+
['PureCloud OAuth'],
|
|
16991
|
+
['application/json'],
|
|
16992
|
+
['application/json']
|
|
16993
|
+
);
|
|
16994
|
+
}
|
|
16995
|
+
|
|
16996
|
+
/**
|
|
16997
|
+
* Average performance values trends by metric of the requesting user
|
|
16998
|
+
*
|
|
16999
|
+
* @param {String} profileId performanceProfileId
|
|
17000
|
+
* @param {String} metricId metricId
|
|
17001
|
+
* @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
17002
|
+
* @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
17003
|
+
* @param {Object} opts Optional parameters
|
|
17004
|
+
* @param {Object} opts.filterType Filter type for the query request. If not set, returns the values trends of the requesting user
|
|
17005
|
+
* @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
17006
|
+
* @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
|
|
17007
|
+
*/
|
|
17008
|
+
getGamificationScorecardsProfileMetricValuesTrends(profileId, metricId, startWorkday, endWorkday, opts) {
|
|
17009
|
+
opts = opts || {};
|
|
17010
|
+
|
|
17011
|
+
// verify the required parameter 'profileId' is set
|
|
17012
|
+
if (profileId === undefined || profileId === null) {
|
|
17013
|
+
throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';
|
|
17014
|
+
}
|
|
17015
|
+
// verify the required parameter 'metricId' is set
|
|
17016
|
+
if (metricId === undefined || metricId === null) {
|
|
17017
|
+
throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';
|
|
17018
|
+
}
|
|
17019
|
+
// verify the required parameter 'startWorkday' is set
|
|
17020
|
+
if (startWorkday === undefined || startWorkday === null) {
|
|
17021
|
+
throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
|
|
17022
|
+
}
|
|
17023
|
+
// verify the required parameter 'endWorkday' is set
|
|
17024
|
+
if (endWorkday === undefined || endWorkday === null) {
|
|
17025
|
+
throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
|
|
17026
|
+
}
|
|
17027
|
+
|
|
17028
|
+
return this.apiClient.callApi(
|
|
17029
|
+
'/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/values/trends',
|
|
17030
|
+
'GET',
|
|
17031
|
+
{ 'profileId': profileId,'metricId': metricId },
|
|
17032
|
+
{ 'filterType': opts['filterType'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
|
|
17033
|
+
{ },
|
|
17034
|
+
{ },
|
|
17035
|
+
null,
|
|
17036
|
+
['PureCloud OAuth'],
|
|
17037
|
+
['application/json'],
|
|
17038
|
+
['application/json']
|
|
17039
|
+
);
|
|
17040
|
+
}
|
|
17041
|
+
|
|
16889
17042
|
/**
|
|
16890
17043
|
* Workday performance metrics for a user
|
|
16891
17044
|
*
|
|
@@ -17694,7 +17847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17694
17847
|
/**
|
|
17695
17848
|
* GeneralDataProtectionRegulation service.
|
|
17696
17849
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17697
|
-
* @version
|
|
17850
|
+
* @version 141.1.0
|
|
17698
17851
|
*/
|
|
17699
17852
|
|
|
17700
17853
|
/**
|
|
@@ -17824,7 +17977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17824
17977
|
/**
|
|
17825
17978
|
* Geolocation service.
|
|
17826
17979
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17827
|
-
* @version
|
|
17980
|
+
* @version 141.1.0
|
|
17828
17981
|
*/
|
|
17829
17982
|
|
|
17830
17983
|
/**
|
|
@@ -17955,7 +18108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17955
18108
|
/**
|
|
17956
18109
|
* Greetings service.
|
|
17957
18110
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17958
|
-
* @version
|
|
18111
|
+
* @version 141.1.0
|
|
17959
18112
|
*/
|
|
17960
18113
|
|
|
17961
18114
|
/**
|
|
@@ -18410,7 +18563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18410
18563
|
/**
|
|
18411
18564
|
* Groups service.
|
|
18412
18565
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18413
|
-
* @version
|
|
18566
|
+
* @version 141.1.0
|
|
18414
18567
|
*/
|
|
18415
18568
|
|
|
18416
18569
|
/**
|
|
@@ -18815,7 +18968,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18815
18968
|
/**
|
|
18816
18969
|
* IdentityProvider service.
|
|
18817
18970
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18818
|
-
* @version
|
|
18971
|
+
* @version 141.1.0
|
|
18819
18972
|
*/
|
|
18820
18973
|
|
|
18821
18974
|
/**
|
|
@@ -19571,7 +19724,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19571
19724
|
/**
|
|
19572
19725
|
* Integrations service.
|
|
19573
19726
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19574
|
-
* @version
|
|
19727
|
+
* @version 141.1.0
|
|
19575
19728
|
*/
|
|
19576
19729
|
|
|
19577
19730
|
/**
|
|
@@ -21248,7 +21401,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21248
21401
|
/**
|
|
21249
21402
|
* Journey service.
|
|
21250
21403
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21251
|
-
* @version
|
|
21404
|
+
* @version 141.1.0
|
|
21252
21405
|
*/
|
|
21253
21406
|
|
|
21254
21407
|
/**
|
|
@@ -21959,7 +22112,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21959
22112
|
/**
|
|
21960
22113
|
* Knowledge service.
|
|
21961
22114
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21962
|
-
* @version
|
|
22115
|
+
* @version 141.1.0
|
|
21963
22116
|
*/
|
|
21964
22117
|
|
|
21965
22118
|
/**
|
|
@@ -22859,7 +23012,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22859
23012
|
/**
|
|
22860
23013
|
* LanguageUnderstanding service.
|
|
22861
23014
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22862
|
-
* @version
|
|
23015
|
+
* @version 141.1.0
|
|
22863
23016
|
*/
|
|
22864
23017
|
|
|
22865
23018
|
/**
|
|
@@ -23763,7 +23916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23763
23916
|
/**
|
|
23764
23917
|
* Languages service.
|
|
23765
23918
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23766
|
-
* @version
|
|
23919
|
+
* @version 141.1.0
|
|
23767
23920
|
*/
|
|
23768
23921
|
|
|
23769
23922
|
/**
|
|
@@ -24031,7 +24184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24031
24184
|
/**
|
|
24032
24185
|
* Learning service.
|
|
24033
24186
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
24034
|
-
* @version
|
|
24187
|
+
* @version 141.1.0
|
|
24035
24188
|
*/
|
|
24036
24189
|
|
|
24037
24190
|
/**
|
|
@@ -24350,6 +24503,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24350
24503
|
);
|
|
24351
24504
|
}
|
|
24352
24505
|
|
|
24506
|
+
/**
|
|
24507
|
+
* Get all learning modules of an organization including assignments for a specific user
|
|
24508
|
+
*
|
|
24509
|
+
* @param {Array.<String>} userIds The IDs of the users to include
|
|
24510
|
+
* @param {Object} opts Optional parameters
|
|
24511
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
24512
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
24513
|
+
* @param {String} opts.searchTerm Search Term (searches by name and description)
|
|
24514
|
+
* @param {Object} opts.overdue Specifies if only modules with overdue/not overdue (overdue is True or False) assignments are returned. If overdue is Any or omitted, both are returned and can including modules that are unassigned. (default to Any)
|
|
24515
|
+
* @param {Array.<String>} opts.assignmentStates Specifies the assignment states to return.
|
|
24516
|
+
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
24517
|
+
*/
|
|
24518
|
+
getLearningModulesAssignments(userIds, opts) {
|
|
24519
|
+
opts = opts || {};
|
|
24520
|
+
|
|
24521
|
+
// verify the required parameter 'userIds' is set
|
|
24522
|
+
if (userIds === undefined || userIds === null) {
|
|
24523
|
+
throw 'Missing the required parameter "userIds" when calling getLearningModulesAssignments';
|
|
24524
|
+
}
|
|
24525
|
+
|
|
24526
|
+
return this.apiClient.callApi(
|
|
24527
|
+
'/api/v2/learning/modules/assignments',
|
|
24528
|
+
'GET',
|
|
24529
|
+
{ },
|
|
24530
|
+
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'searchTerm': opts['searchTerm'],'overdue': opts['overdue'],'assignmentStates': this.apiClient.buildCollectionParam(opts['assignmentStates'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
24531
|
+
{ },
|
|
24532
|
+
{ },
|
|
24533
|
+
null,
|
|
24534
|
+
['PureCloud OAuth'],
|
|
24535
|
+
['application/json'],
|
|
24536
|
+
['application/json']
|
|
24537
|
+
);
|
|
24538
|
+
}
|
|
24539
|
+
|
|
24353
24540
|
/**
|
|
24354
24541
|
* Update Learning Assignment
|
|
24355
24542
|
*
|
|
@@ -24732,7 +24919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24732
24919
|
/**
|
|
24733
24920
|
* License service.
|
|
24734
24921
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24735
|
-
* @version
|
|
24922
|
+
* @version 141.1.0
|
|
24736
24923
|
*/
|
|
24737
24924
|
|
|
24738
24925
|
/**
|
|
@@ -24970,7 +25157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24970
25157
|
/**
|
|
24971
25158
|
* Locations service.
|
|
24972
25159
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24973
|
-
* @version
|
|
25160
|
+
* @version 141.1.0
|
|
24974
25161
|
*/
|
|
24975
25162
|
|
|
24976
25163
|
/**
|
|
@@ -25206,7 +25393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25206
25393
|
/**
|
|
25207
25394
|
* Messaging service.
|
|
25208
25395
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
25209
|
-
* @version
|
|
25396
|
+
* @version 141.1.0
|
|
25210
25397
|
*/
|
|
25211
25398
|
|
|
25212
25399
|
/**
|
|
@@ -25357,7 +25544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25357
25544
|
/**
|
|
25358
25545
|
* MobileDevices service.
|
|
25359
25546
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
25360
|
-
* @version
|
|
25547
|
+
* @version 141.1.0
|
|
25361
25548
|
*/
|
|
25362
25549
|
|
|
25363
25550
|
/**
|
|
@@ -25508,7 +25695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25508
25695
|
/**
|
|
25509
25696
|
* Notifications service.
|
|
25510
25697
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
25511
|
-
* @version
|
|
25698
|
+
* @version 141.1.0
|
|
25512
25699
|
*/
|
|
25513
25700
|
|
|
25514
25701
|
/**
|
|
@@ -25733,7 +25920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25733
25920
|
/**
|
|
25734
25921
|
* OAuth service.
|
|
25735
25922
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25736
|
-
* @version
|
|
25923
|
+
* @version 141.1.0
|
|
25737
25924
|
*/
|
|
25738
25925
|
|
|
25739
25926
|
/**
|
|
@@ -26099,7 +26286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26099
26286
|
/**
|
|
26100
26287
|
* Objects service.
|
|
26101
26288
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26102
|
-
* @version
|
|
26289
|
+
* @version 141.1.0
|
|
26103
26290
|
*/
|
|
26104
26291
|
|
|
26105
26292
|
/**
|
|
@@ -26370,7 +26557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26370
26557
|
/**
|
|
26371
26558
|
* Organization service.
|
|
26372
26559
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
26373
|
-
* @version
|
|
26560
|
+
* @version 141.1.0
|
|
26374
26561
|
*/
|
|
26375
26562
|
|
|
26376
26563
|
/**
|
|
@@ -26773,7 +26960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26773
26960
|
/**
|
|
26774
26961
|
* OrganizationAuthorization service.
|
|
26775
26962
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26776
|
-
* @version
|
|
26963
|
+
* @version 141.1.0
|
|
26777
26964
|
*/
|
|
26778
26965
|
|
|
26779
26966
|
/**
|
|
@@ -27698,7 +27885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27698
27885
|
/**
|
|
27699
27886
|
* Outbound service.
|
|
27700
27887
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27701
|
-
* @version
|
|
27888
|
+
* @version 141.1.0
|
|
27702
27889
|
*/
|
|
27703
27890
|
|
|
27704
27891
|
/**
|
|
@@ -30953,7 +31140,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30953
31140
|
/**
|
|
30954
31141
|
* Presence service.
|
|
30955
31142
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
30956
|
-
* @version
|
|
31143
|
+
* @version 141.1.0
|
|
30957
31144
|
*/
|
|
30958
31145
|
|
|
30959
31146
|
/**
|
|
@@ -31275,7 +31462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31275
31462
|
/**
|
|
31276
31463
|
* Quality service.
|
|
31277
31464
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31278
|
-
* @version
|
|
31465
|
+
* @version 141.1.0
|
|
31279
31466
|
*/
|
|
31280
31467
|
|
|
31281
31468
|
/**
|
|
@@ -32853,7 +33040,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32853
33040
|
/**
|
|
32854
33041
|
* Recording service.
|
|
32855
33042
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
32856
|
-
* @version
|
|
33043
|
+
* @version 141.1.0
|
|
32857
33044
|
*/
|
|
32858
33045
|
|
|
32859
33046
|
/**
|
|
@@ -34506,7 +34693,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34506
34693
|
/**
|
|
34507
34694
|
* ResponseManagement service.
|
|
34508
34695
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34509
|
-
* @version
|
|
34696
|
+
* @version 141.1.0
|
|
34510
34697
|
*/
|
|
34511
34698
|
|
|
34512
34699
|
/**
|
|
@@ -34990,7 +35177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34990
35177
|
/**
|
|
34991
35178
|
* Routing service.
|
|
34992
35179
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
34993
|
-
* @version
|
|
35180
|
+
* @version 141.1.0
|
|
34994
35181
|
*/
|
|
34995
35182
|
|
|
34996
35183
|
/**
|
|
@@ -36100,6 +36287,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36100
36287
|
* @param {String} opts.name Filter by queue name
|
|
36101
36288
|
* @param {Array.<String>} opts.id Filter by queue ID(s)
|
|
36102
36289
|
* @param {Array.<String>} opts.divisionId Filter by queue division ID(s)
|
|
36290
|
+
* @param {Array.<String>} opts.peerId Filter by queue peer ID(s)
|
|
36291
|
+
* @param {Boolean} opts.hasPeer Filter by queues associated with peer
|
|
36103
36292
|
*/
|
|
36104
36293
|
getRoutingQueues(opts) {
|
|
36105
36294
|
opts = opts || {};
|
|
@@ -36109,7 +36298,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36109
36298
|
'/api/v2/routing/queues',
|
|
36110
36299
|
'GET',
|
|
36111
36300
|
{ },
|
|
36112
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
36301
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'hasPeer': opts['hasPeer'] },
|
|
36113
36302
|
{ },
|
|
36114
36303
|
{ },
|
|
36115
36304
|
null,
|
|
@@ -37909,7 +38098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37909
38098
|
/**
|
|
37910
38099
|
* SCIM service.
|
|
37911
38100
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
37912
|
-
* @version
|
|
38101
|
+
* @version 141.1.0
|
|
37913
38102
|
*/
|
|
37914
38103
|
|
|
37915
38104
|
/**
|
|
@@ -38786,7 +38975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38786
38975
|
/**
|
|
38787
38976
|
* Scripts service.
|
|
38788
38977
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
38789
|
-
* @version
|
|
38978
|
+
* @version 141.1.0
|
|
38790
38979
|
*/
|
|
38791
38980
|
|
|
38792
38981
|
/**
|
|
@@ -39205,7 +39394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39205
39394
|
/**
|
|
39206
39395
|
* Search service.
|
|
39207
39396
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39208
|
-
* @version
|
|
39397
|
+
* @version 141.1.0
|
|
39209
39398
|
*/
|
|
39210
39399
|
|
|
39211
39400
|
/**
|
|
@@ -39684,6 +39873,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39684
39873
|
);
|
|
39685
39874
|
}
|
|
39686
39875
|
|
|
39876
|
+
/**
|
|
39877
|
+
* Search resources.
|
|
39878
|
+
*
|
|
39879
|
+
* @param {Object} body Search request options
|
|
39880
|
+
*/
|
|
39881
|
+
postTeamsSearch(body) {
|
|
39882
|
+
// verify the required parameter 'body' is set
|
|
39883
|
+
if (body === undefined || body === null) {
|
|
39884
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
39885
|
+
}
|
|
39886
|
+
|
|
39887
|
+
return this.apiClient.callApi(
|
|
39888
|
+
'/api/v2/teams/search',
|
|
39889
|
+
'POST',
|
|
39890
|
+
{ },
|
|
39891
|
+
{ },
|
|
39892
|
+
{ },
|
|
39893
|
+
{ },
|
|
39894
|
+
body,
|
|
39895
|
+
['PureCloud OAuth'],
|
|
39896
|
+
['application/json'],
|
|
39897
|
+
['application/json']
|
|
39898
|
+
);
|
|
39899
|
+
}
|
|
39900
|
+
|
|
39687
39901
|
/**
|
|
39688
39902
|
* Search users
|
|
39689
39903
|
*
|
|
@@ -39740,7 +39954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39740
39954
|
/**
|
|
39741
39955
|
* SpeechTextAnalytics service.
|
|
39742
39956
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39743
|
-
* @version
|
|
39957
|
+
* @version 141.1.0
|
|
39744
39958
|
*/
|
|
39745
39959
|
|
|
39746
39960
|
/**
|
|
@@ -40593,7 +40807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40593
40807
|
/**
|
|
40594
40808
|
* Stations service.
|
|
40595
40809
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40596
|
-
* @version
|
|
40810
|
+
* @version 141.1.0
|
|
40597
40811
|
*/
|
|
40598
40812
|
|
|
40599
40813
|
/**
|
|
@@ -40740,7 +40954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40740
40954
|
/**
|
|
40741
40955
|
* Suggest service.
|
|
40742
40956
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40743
|
-
* @version
|
|
40957
|
+
* @version 141.1.0
|
|
40744
40958
|
*/
|
|
40745
40959
|
|
|
40746
40960
|
/**
|
|
@@ -40875,11 +41089,190 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40875
41089
|
|
|
40876
41090
|
}
|
|
40877
41091
|
|
|
41092
|
+
class TeamsApi {
|
|
41093
|
+
/**
|
|
41094
|
+
* Teams service.
|
|
41095
|
+
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
41096
|
+
* @version 141.1.0
|
|
41097
|
+
*/
|
|
41098
|
+
|
|
41099
|
+
/**
|
|
41100
|
+
* Constructs a new TeamsApi.
|
|
41101
|
+
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
41102
|
+
* @class
|
|
41103
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
41104
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
41105
|
+
*/
|
|
41106
|
+
constructor(apiClient) {
|
|
41107
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
41108
|
+
}
|
|
41109
|
+
|
|
41110
|
+
|
|
41111
|
+
/**
|
|
41112
|
+
* Delete team
|
|
41113
|
+
*
|
|
41114
|
+
* @param {String} teamId Team ID
|
|
41115
|
+
*/
|
|
41116
|
+
deleteTeam(teamId) {
|
|
41117
|
+
// verify the required parameter 'teamId' is set
|
|
41118
|
+
if (teamId === undefined || teamId === null) {
|
|
41119
|
+
throw 'Missing the required parameter "teamId" when calling deleteTeam';
|
|
41120
|
+
}
|
|
41121
|
+
|
|
41122
|
+
return this.apiClient.callApi(
|
|
41123
|
+
'/api/v2/teams/{teamId}',
|
|
41124
|
+
'DELETE',
|
|
41125
|
+
{ 'teamId': teamId },
|
|
41126
|
+
{ },
|
|
41127
|
+
{ },
|
|
41128
|
+
{ },
|
|
41129
|
+
null,
|
|
41130
|
+
['PureCloud OAuth'],
|
|
41131
|
+
['application/json'],
|
|
41132
|
+
['application/json']
|
|
41133
|
+
);
|
|
41134
|
+
}
|
|
41135
|
+
|
|
41136
|
+
/**
|
|
41137
|
+
* Get team
|
|
41138
|
+
*
|
|
41139
|
+
* @param {String} teamId Team ID
|
|
41140
|
+
*/
|
|
41141
|
+
getTeam(teamId) {
|
|
41142
|
+
// verify the required parameter 'teamId' is set
|
|
41143
|
+
if (teamId === undefined || teamId === null) {
|
|
41144
|
+
throw 'Missing the required parameter "teamId" when calling getTeam';
|
|
41145
|
+
}
|
|
41146
|
+
|
|
41147
|
+
return this.apiClient.callApi(
|
|
41148
|
+
'/api/v2/teams/{teamId}',
|
|
41149
|
+
'GET',
|
|
41150
|
+
{ 'teamId': teamId },
|
|
41151
|
+
{ },
|
|
41152
|
+
{ },
|
|
41153
|
+
{ },
|
|
41154
|
+
null,
|
|
41155
|
+
['PureCloud OAuth'],
|
|
41156
|
+
['application/json'],
|
|
41157
|
+
['application/json']
|
|
41158
|
+
);
|
|
41159
|
+
}
|
|
41160
|
+
|
|
41161
|
+
/**
|
|
41162
|
+
* Get Team listing
|
|
41163
|
+
*
|
|
41164
|
+
* @param {Object} opts Optional parameters
|
|
41165
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41166
|
+
* @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
|
|
41167
|
+
* @param {String} opts.after The cursor that points to the next item in the complete list of teams
|
|
41168
|
+
* @param {String} opts.before The cursor that points to the previous item in the complete list of teams
|
|
41169
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
41170
|
+
*/
|
|
41171
|
+
getTeams(opts) {
|
|
41172
|
+
opts = opts || {};
|
|
41173
|
+
|
|
41174
|
+
|
|
41175
|
+
return this.apiClient.callApi(
|
|
41176
|
+
'/api/v2/teams',
|
|
41177
|
+
'GET',
|
|
41178
|
+
{ },
|
|
41179
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
41180
|
+
{ },
|
|
41181
|
+
{ },
|
|
41182
|
+
null,
|
|
41183
|
+
['PureCloud OAuth'],
|
|
41184
|
+
['application/json'],
|
|
41185
|
+
['application/json']
|
|
41186
|
+
);
|
|
41187
|
+
}
|
|
41188
|
+
|
|
41189
|
+
/**
|
|
41190
|
+
* Update team
|
|
41191
|
+
*
|
|
41192
|
+
* @param {String} teamId Team ID
|
|
41193
|
+
* @param {Object} body Team
|
|
41194
|
+
*/
|
|
41195
|
+
patchTeam(teamId, body) {
|
|
41196
|
+
// verify the required parameter 'teamId' is set
|
|
41197
|
+
if (teamId === undefined || teamId === null) {
|
|
41198
|
+
throw 'Missing the required parameter "teamId" when calling patchTeam';
|
|
41199
|
+
}
|
|
41200
|
+
// verify the required parameter 'body' is set
|
|
41201
|
+
if (body === undefined || body === null) {
|
|
41202
|
+
throw 'Missing the required parameter "body" when calling patchTeam';
|
|
41203
|
+
}
|
|
41204
|
+
|
|
41205
|
+
return this.apiClient.callApi(
|
|
41206
|
+
'/api/v2/teams/{teamId}',
|
|
41207
|
+
'PATCH',
|
|
41208
|
+
{ 'teamId': teamId },
|
|
41209
|
+
{ },
|
|
41210
|
+
{ },
|
|
41211
|
+
{ },
|
|
41212
|
+
body,
|
|
41213
|
+
['PureCloud OAuth'],
|
|
41214
|
+
['application/json'],
|
|
41215
|
+
['application/json']
|
|
41216
|
+
);
|
|
41217
|
+
}
|
|
41218
|
+
|
|
41219
|
+
/**
|
|
41220
|
+
* Create a team
|
|
41221
|
+
*
|
|
41222
|
+
* @param {Object} body Team
|
|
41223
|
+
*/
|
|
41224
|
+
postTeams(body) {
|
|
41225
|
+
// verify the required parameter 'body' is set
|
|
41226
|
+
if (body === undefined || body === null) {
|
|
41227
|
+
throw 'Missing the required parameter "body" when calling postTeams';
|
|
41228
|
+
}
|
|
41229
|
+
|
|
41230
|
+
return this.apiClient.callApi(
|
|
41231
|
+
'/api/v2/teams',
|
|
41232
|
+
'POST',
|
|
41233
|
+
{ },
|
|
41234
|
+
{ },
|
|
41235
|
+
{ },
|
|
41236
|
+
{ },
|
|
41237
|
+
body,
|
|
41238
|
+
['PureCloud OAuth'],
|
|
41239
|
+
['application/json'],
|
|
41240
|
+
['application/json']
|
|
41241
|
+
);
|
|
41242
|
+
}
|
|
41243
|
+
|
|
41244
|
+
/**
|
|
41245
|
+
* Search resources.
|
|
41246
|
+
*
|
|
41247
|
+
* @param {Object} body Search request options
|
|
41248
|
+
*/
|
|
41249
|
+
postTeamsSearch(body) {
|
|
41250
|
+
// verify the required parameter 'body' is set
|
|
41251
|
+
if (body === undefined || body === null) {
|
|
41252
|
+
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
41253
|
+
}
|
|
41254
|
+
|
|
41255
|
+
return this.apiClient.callApi(
|
|
41256
|
+
'/api/v2/teams/search',
|
|
41257
|
+
'POST',
|
|
41258
|
+
{ },
|
|
41259
|
+
{ },
|
|
41260
|
+
{ },
|
|
41261
|
+
{ },
|
|
41262
|
+
body,
|
|
41263
|
+
['PureCloud OAuth'],
|
|
41264
|
+
['application/json'],
|
|
41265
|
+
['application/json']
|
|
41266
|
+
);
|
|
41267
|
+
}
|
|
41268
|
+
|
|
41269
|
+
}
|
|
41270
|
+
|
|
40878
41271
|
class TelephonyApi {
|
|
40879
41272
|
/**
|
|
40880
41273
|
* Telephony service.
|
|
40881
41274
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
40882
|
-
* @version
|
|
41275
|
+
* @version 141.1.0
|
|
40883
41276
|
*/
|
|
40884
41277
|
|
|
40885
41278
|
/**
|
|
@@ -40987,7 +41380,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40987
41380
|
/**
|
|
40988
41381
|
* TelephonyProvidersEdge service.
|
|
40989
41382
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
40990
|
-
* @version
|
|
41383
|
+
* @version 141.1.0
|
|
40991
41384
|
*/
|
|
40992
41385
|
|
|
40993
41386
|
/**
|
|
@@ -44620,7 +45013,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44620
45013
|
/**
|
|
44621
45014
|
* Textbots service.
|
|
44622
45015
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
44623
|
-
* @version
|
|
45016
|
+
* @version 141.1.0
|
|
44624
45017
|
*/
|
|
44625
45018
|
|
|
44626
45019
|
/**
|
|
@@ -44748,7 +45141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44748
45141
|
/**
|
|
44749
45142
|
* Tokens service.
|
|
44750
45143
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
44751
|
-
* @version
|
|
45144
|
+
* @version 141.1.0
|
|
44752
45145
|
*/
|
|
44753
45146
|
|
|
44754
45147
|
/**
|
|
@@ -44854,7 +45247,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44854
45247
|
/**
|
|
44855
45248
|
* Uploads service.
|
|
44856
45249
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
44857
|
-
* @version
|
|
45250
|
+
* @version 141.1.0
|
|
44858
45251
|
*/
|
|
44859
45252
|
|
|
44860
45253
|
/**
|
|
@@ -45005,7 +45398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45005
45398
|
/**
|
|
45006
45399
|
* Usage service.
|
|
45007
45400
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45008
|
-
* @version
|
|
45401
|
+
* @version 141.1.0
|
|
45009
45402
|
*/
|
|
45010
45403
|
|
|
45011
45404
|
/**
|
|
@@ -45076,7 +45469,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45076
45469
|
/**
|
|
45077
45470
|
* UserRecordings service.
|
|
45078
45471
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45079
|
-
* @version
|
|
45472
|
+
* @version 141.1.0
|
|
45080
45473
|
*/
|
|
45081
45474
|
|
|
45082
45475
|
/**
|
|
@@ -45260,7 +45653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45260
45653
|
/**
|
|
45261
45654
|
* Users service.
|
|
45262
45655
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45263
|
-
* @version
|
|
45656
|
+
* @version 141.1.0
|
|
45264
45657
|
*/
|
|
45265
45658
|
|
|
45266
45659
|
/**
|
|
@@ -47562,7 +47955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47562
47955
|
/**
|
|
47563
47956
|
* Utilities service.
|
|
47564
47957
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47565
|
-
* @version
|
|
47958
|
+
* @version 141.1.0
|
|
47566
47959
|
*/
|
|
47567
47960
|
|
|
47568
47961
|
/**
|
|
@@ -47673,7 +48066,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47673
48066
|
/**
|
|
47674
48067
|
* Voicemail service.
|
|
47675
48068
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
47676
|
-
* @version
|
|
48069
|
+
* @version 141.1.0
|
|
47677
48070
|
*/
|
|
47678
48071
|
|
|
47679
48072
|
/**
|
|
@@ -48340,7 +48733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48340
48733
|
/**
|
|
48341
48734
|
* WebChat service.
|
|
48342
48735
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48343
|
-
* @version
|
|
48736
|
+
* @version 141.1.0
|
|
48344
48737
|
*/
|
|
48345
48738
|
|
|
48346
48739
|
/**
|
|
@@ -48884,7 +49277,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48884
49277
|
/**
|
|
48885
49278
|
* WebDeployments service.
|
|
48886
49279
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
48887
|
-
* @version
|
|
49280
|
+
* @version 141.1.0
|
|
48888
49281
|
*/
|
|
48889
49282
|
|
|
48890
49283
|
/**
|
|
@@ -49239,7 +49632,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49239
49632
|
/**
|
|
49240
49633
|
* WebMessaging service.
|
|
49241
49634
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49242
|
-
* @version
|
|
49635
|
+
* @version 141.1.0
|
|
49243
49636
|
*/
|
|
49244
49637
|
|
|
49245
49638
|
/**
|
|
@@ -49285,7 +49678,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49285
49678
|
/**
|
|
49286
49679
|
* Widgets service.
|
|
49287
49680
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49288
|
-
* @version
|
|
49681
|
+
* @version 141.1.0
|
|
49289
49682
|
*/
|
|
49290
49683
|
|
|
49291
49684
|
/**
|
|
@@ -49431,7 +49824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49431
49824
|
/**
|
|
49432
49825
|
* WorkforceManagement service.
|
|
49433
49826
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49434
|
-
* @version
|
|
49827
|
+
* @version 141.1.0
|
|
49435
49828
|
*/
|
|
49436
49829
|
|
|
49437
49830
|
/**
|
|
@@ -49851,6 +50244,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49851
50244
|
);
|
|
49852
50245
|
}
|
|
49853
50246
|
|
|
50247
|
+
/**
|
|
50248
|
+
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
50249
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
50250
|
+
* @param {String} jobId jobId
|
|
50251
|
+
*/
|
|
50252
|
+
getWorkforcemanagementAdherenceHistoricalJob(jobId) {
|
|
50253
|
+
// verify the required parameter 'jobId' is set
|
|
50254
|
+
if (jobId === undefined || jobId === null) {
|
|
50255
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
|
|
50256
|
+
}
|
|
50257
|
+
|
|
50258
|
+
return this.apiClient.callApi(
|
|
50259
|
+
'/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}',
|
|
50260
|
+
'GET',
|
|
50261
|
+
{ 'jobId': jobId },
|
|
50262
|
+
{ },
|
|
50263
|
+
{ },
|
|
50264
|
+
{ },
|
|
50265
|
+
null,
|
|
50266
|
+
['PureCloud OAuth'],
|
|
50267
|
+
['application/json'],
|
|
50268
|
+
['application/json']
|
|
50269
|
+
);
|
|
50270
|
+
}
|
|
50271
|
+
|
|
49854
50272
|
/**
|
|
49855
50273
|
* Get status of the modeling job
|
|
49856
50274
|
*
|
|
@@ -53682,7 +54100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53682
54100
|
* </pre>
|
|
53683
54101
|
* </p>
|
|
53684
54102
|
* @module purecloud-platform-client-v2/index
|
|
53685
|
-
* @version
|
|
54103
|
+
* @version 141.1.0
|
|
53686
54104
|
*/
|
|
53687
54105
|
class platformClient {
|
|
53688
54106
|
constructor() {
|
|
@@ -53931,6 +54349,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53931
54349
|
* @property {module:purecloud-platform-client-v2/api/SuggestApi}
|
|
53932
54350
|
*/
|
|
53933
54351
|
this.SuggestApi = SuggestApi;
|
|
54352
|
+
/**
|
|
54353
|
+
* The TeamsApi service constructor.
|
|
54354
|
+
* @property {module:purecloud-platform-client-v2/api/TeamsApi}
|
|
54355
|
+
*/
|
|
54356
|
+
this.TeamsApi = TeamsApi;
|
|
53934
54357
|
/**
|
|
53935
54358
|
* The TelephonyApi service constructor.
|
|
53936
54359
|
* @property {module:purecloud-platform-client-v2/api/TelephonyApi}
|