purecloud-platform-client-v2 137.0.0 → 138.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 +9 -12
- package/dist/node/purecloud-platform-client-v2.js +368 -342
- package/dist/web-amd/purecloud-platform-client-v2.js +368 -342
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +375 -342
- package/dist/web-cjs/purecloud-platform-client-v2.js +2169 -4573
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +419 -5565
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +195 -176
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +4 -4
- 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 +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 +7 -7
- package/src/purecloud-platform-client-v2/index.js +150 -145
- package/src/purecloud-platform-client-v2/logger.js +17 -13
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var axios = require('axios');
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
8
8
|
|
|
9
9
|
var PureCloudRegionHosts = {
|
|
10
10
|
us_east_1: 'mypurecloud.com',
|
|
@@ -255,6 +255,11 @@ Buffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined
|
|
|
255
255
|
? global$1.TYPED_ARRAY_SUPPORT
|
|
256
256
|
: true;
|
|
257
257
|
|
|
258
|
+
/*
|
|
259
|
+
* Export kMaxLength after typed array support is determined.
|
|
260
|
+
*/
|
|
261
|
+
kMaxLength();
|
|
262
|
+
|
|
258
263
|
function kMaxLength () {
|
|
259
264
|
return Buffer.TYPED_ARRAY_SUPPORT
|
|
260
265
|
? 0x7fffffff
|
|
@@ -346,6 +351,8 @@ Buffer.from = function (value, encodingOrOffset, length) {
|
|
|
346
351
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
347
352
|
Buffer.prototype.__proto__ = Uint8Array.prototype;
|
|
348
353
|
Buffer.__proto__ = Uint8Array;
|
|
354
|
+
if (typeof Symbol !== 'undefined' && Symbol.species &&
|
|
355
|
+
Buffer[Symbol.species] === Buffer) ;
|
|
349
356
|
}
|
|
350
357
|
|
|
351
358
|
function assertSize (size) {
|
|
@@ -2061,34 +2068,38 @@ class Logger {
|
|
|
2061
2068
|
|
|
2062
2069
|
formatLog(level, statusCode, method, url, requestHeaders, responseHeaders, requestBody, responseBody) {
|
|
2063
2070
|
var result;
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2071
|
+
var localRequestHeaders = requestHeaders ? JSON.parse(JSON.stringify(requestHeaders)) : null;
|
|
2072
|
+
var localResponseHeaders = responseHeaders ? JSON.parse(JSON.stringify(responseHeaders)) : null;
|
|
2073
|
+
var localRequestBody = requestBody ? JSON.parse(JSON.stringify(requestBody)) : null;
|
|
2074
|
+
var localResponseBody = responseBody ? JSON.parse(JSON.stringify(responseBody)) : null;
|
|
2075
|
+
if (requestHeaders) localRequestHeaders['Authorization'] = '[REDACTED]';
|
|
2076
|
+
if (!this.log_request_body) localRequestBody = undefined;
|
|
2077
|
+
if (!this.log_response_body) localResponseBody = undefined;
|
|
2067
2078
|
if (this.log_format && this.log_format === logFormatEnum.formats.JSON) {
|
|
2068
2079
|
result = {
|
|
2069
2080
|
level: level,
|
|
2070
2081
|
date: new Date().toISOString(),
|
|
2071
2082
|
method: method,
|
|
2072
2083
|
url: decodeURIComponent(url),
|
|
2073
|
-
correlationId:
|
|
2084
|
+
correlationId: localResponseHeaders ? (localResponseHeaders['inin-correlation-id'] ? localResponseHeaders['inin-correlation-id'] : '') : '',
|
|
2074
2085
|
statusCode: statusCode,
|
|
2075
2086
|
};
|
|
2076
|
-
if (
|
|
2077
|
-
if (
|
|
2078
|
-
if (
|
|
2079
|
-
if (
|
|
2087
|
+
if (localRequestHeaders) result.requestHeaders = localRequestHeaders;
|
|
2088
|
+
if (localResponseHeaders) result.responseHeaders = localResponseHeaders;
|
|
2089
|
+
if (localRequestBody) result.requestBody = localRequestBody;
|
|
2090
|
+
if (localResponseBody) result.responseBody = localResponseBody;
|
|
2080
2091
|
} else {
|
|
2081
2092
|
result = `${new Date().toISOString()}
|
|
2082
2093
|
=== REQUEST ===
|
|
2083
2094
|
${this.formatValue('URL', decodeURIComponent(url))}${this.formatValue('Method', method)}${this.formatValue(
|
|
2084
2095
|
'Headers',
|
|
2085
|
-
this.formatHeaderString(
|
|
2086
|
-
)}${this.formatValue('Body',
|
|
2096
|
+
this.formatHeaderString(localRequestHeaders)
|
|
2097
|
+
)}${this.formatValue('Body', localRequestBody ? JSON.stringify(localRequestBody, null, 2) : '')}
|
|
2087
2098
|
=== RESPONSE ===
|
|
2088
|
-
${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.formatHeaderString(
|
|
2099
|
+
${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.formatHeaderString(localResponseHeaders))}${this.formatValue(
|
|
2089
2100
|
'CorrelationId',
|
|
2090
|
-
|
|
2091
|
-
)}${this.formatValue('Body',
|
|
2101
|
+
localResponseHeaders ? (localResponseHeaders['inin-correlation-id'] ? localResponseHeaders['inin-correlation-id'] : '') : ''
|
|
2102
|
+
)}${this.formatValue('Body', localResponseBody ? JSON.stringify(localResponseBody, null, 2) : '')}`;
|
|
2092
2103
|
}
|
|
2093
2104
|
|
|
2094
2105
|
return result;
|
|
@@ -2265,7 +2276,7 @@ class Configuration {
|
|
|
2265
2276
|
|
|
2266
2277
|
/**
|
|
2267
2278
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2268
|
-
* @version
|
|
2279
|
+
* @version 138.0.0
|
|
2269
2280
|
*/
|
|
2270
2281
|
class ApiClient {
|
|
2271
2282
|
/**
|
|
@@ -2367,9 +2378,6 @@ class ApiClient {
|
|
|
2367
2378
|
this.authData = {};
|
|
2368
2379
|
this.settingsPrefix = 'purecloud';
|
|
2369
2380
|
|
|
2370
|
-
// Expose superagent module for use with superagent-proxy
|
|
2371
|
-
this.superagent = superagent__default["default"];
|
|
2372
|
-
|
|
2373
2381
|
// Transparently request a new access token when it expires (Code Authorization only)
|
|
2374
2382
|
this.refreshInProgress = false;
|
|
2375
2383
|
|
|
@@ -2538,63 +2546,65 @@ class ApiClient {
|
|
|
2538
2546
|
return;
|
|
2539
2547
|
}
|
|
2540
2548
|
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
// Log error
|
|
2553
|
-
this.config.logger.log(
|
|
2554
|
-
'error',
|
|
2555
|
-
response.statusCode,
|
|
2556
|
-
'POST',
|
|
2557
|
-
`https://login.${this.config.environment}/oauth/token`,
|
|
2558
|
-
request.header,
|
|
2559
|
-
response.headers,
|
|
2560
|
-
{ grant_type: 'client_credentials' },
|
|
2561
|
-
response.body
|
|
2562
|
-
);
|
|
2563
|
-
reject(error);
|
|
2564
|
-
} else {
|
|
2549
|
+
const headers = {
|
|
2550
|
+
'Authorization': `Basic ${authHeader}`
|
|
2551
|
+
};
|
|
2552
|
+
axios__default["default"]({
|
|
2553
|
+
method: `POST`,
|
|
2554
|
+
url: `https://login.${this.config.environment}/oauth/token`,
|
|
2555
|
+
headers: headers,
|
|
2556
|
+
data: 'grant_type=client_credentials',
|
|
2557
|
+
proxy: this.proxy
|
|
2558
|
+
})
|
|
2559
|
+
.then((response) => {
|
|
2565
2560
|
// Logging
|
|
2566
2561
|
this.config.logger.log(
|
|
2567
2562
|
'trace',
|
|
2568
|
-
response.
|
|
2563
|
+
response.status,
|
|
2569
2564
|
'POST',
|
|
2570
2565
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2571
|
-
|
|
2566
|
+
headers,
|
|
2572
2567
|
response.headers,
|
|
2573
2568
|
{ grant_type: 'client_credentials' },
|
|
2574
2569
|
undefined
|
|
2575
2570
|
);
|
|
2576
2571
|
this.config.logger.log(
|
|
2577
2572
|
'debug',
|
|
2578
|
-
response.
|
|
2573
|
+
response.status,
|
|
2579
2574
|
'POST',
|
|
2580
2575
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2581
|
-
|
|
2576
|
+
headers,
|
|
2582
2577
|
undefined,
|
|
2583
2578
|
{ grant_type: 'client_credentials' },
|
|
2584
2579
|
undefined
|
|
2585
2580
|
);
|
|
2586
2581
|
|
|
2587
2582
|
// Save access token
|
|
2588
|
-
this.setAccessToken(response.
|
|
2583
|
+
this.setAccessToken(response.data['access_token']);
|
|
2589
2584
|
|
|
2590
2585
|
// Set expiry time
|
|
2591
|
-
this.authData.tokenExpiryTime = (new Date()).getTime() + (response.
|
|
2586
|
+
this.authData.tokenExpiryTime = (new Date()).getTime() + (response.data['expires_in'] * 1000);
|
|
2592
2587
|
this.authData.tokenExpiryTimeString = (new Date(this.authData.tokenExpiryTime)).toUTCString();
|
|
2593
2588
|
|
|
2594
2589
|
// Return auth data
|
|
2595
2590
|
resolve(this.authData);
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2591
|
+
})
|
|
2592
|
+
.catch((error) => {
|
|
2593
|
+
// Log error
|
|
2594
|
+
if (error.response) {
|
|
2595
|
+
this.config.logger.log(
|
|
2596
|
+
'error',
|
|
2597
|
+
error.response.status,
|
|
2598
|
+
'POST',
|
|
2599
|
+
`https://login.${this.config.environment}/oauth/token`,
|
|
2600
|
+
headers,
|
|
2601
|
+
error.response.headers,
|
|
2602
|
+
{ grant_type: 'client_credentials' },
|
|
2603
|
+
error.response.data
|
|
2604
|
+
);
|
|
2605
|
+
}
|
|
2606
|
+
reject(error);
|
|
2607
|
+
});
|
|
2598
2608
|
});
|
|
2599
2609
|
}
|
|
2600
2610
|
|
|
@@ -2617,9 +2627,7 @@ class ApiClient {
|
|
|
2617
2627
|
{ grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer' },
|
|
2618
2628
|
{ orgName: orgName },
|
|
2619
2629
|
{ assertion: assertion });
|
|
2620
|
-
|
|
2621
|
-
request.proxy(this.proxy);
|
|
2622
|
-
}
|
|
2630
|
+
request.proxy = this.proxy;
|
|
2623
2631
|
var bodyParam = {
|
|
2624
2632
|
grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer',
|
|
2625
2633
|
orgName: orgName,
|
|
@@ -2627,54 +2635,56 @@ class ApiClient {
|
|
|
2627
2635
|
};
|
|
2628
2636
|
|
|
2629
2637
|
// Handle response
|
|
2630
|
-
request
|
|
2631
|
-
|
|
2632
|
-
// Log error
|
|
2633
|
-
this.config.logger.log(
|
|
2634
|
-
'error',
|
|
2635
|
-
response.statusCode,
|
|
2636
|
-
'POST',
|
|
2637
|
-
`https://login.${this.config.environment}/oauth/token`,
|
|
2638
|
-
request.header,
|
|
2639
|
-
response.headers,
|
|
2640
|
-
bodyParam,
|
|
2641
|
-
response.body
|
|
2642
|
-
);
|
|
2643
|
-
reject(error);
|
|
2644
|
-
} else {
|
|
2638
|
+
request
|
|
2639
|
+
.then((response) => {
|
|
2645
2640
|
// Logging
|
|
2646
2641
|
this.config.logger.log(
|
|
2647
2642
|
'trace',
|
|
2648
|
-
response.
|
|
2643
|
+
response.status,
|
|
2649
2644
|
'POST',
|
|
2650
2645
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2651
|
-
request.
|
|
2646
|
+
request.headers,
|
|
2652
2647
|
response.headers,
|
|
2653
2648
|
bodyParam,
|
|
2654
2649
|
undefined
|
|
2655
2650
|
);
|
|
2656
2651
|
this.config.logger.log(
|
|
2657
2652
|
'debug',
|
|
2658
|
-
response.
|
|
2653
|
+
response.status,
|
|
2659
2654
|
'POST',
|
|
2660
2655
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2661
|
-
request.
|
|
2656
|
+
request.headers,
|
|
2662
2657
|
undefined,
|
|
2663
2658
|
bodyParam,
|
|
2664
2659
|
undefined
|
|
2665
2660
|
);
|
|
2666
2661
|
|
|
2667
2662
|
// Get access token from response
|
|
2668
|
-
var access_token = response.
|
|
2663
|
+
var access_token = response.data.access_token;
|
|
2669
2664
|
|
|
2670
2665
|
this.setAccessToken(access_token);
|
|
2671
|
-
this.authData.tokenExpiryTime = new Date().getTime() + response.
|
|
2666
|
+
this.authData.tokenExpiryTime = new Date().getTime() + response.data['expires_in'] * 1000;
|
|
2672
2667
|
this.authData.tokenExpiryTimeString = new Date(this.authData.tokenExpiryTime).toUTCString();
|
|
2673
2668
|
|
|
2674
2669
|
// Return auth data
|
|
2675
2670
|
resolve(this.authData);
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2671
|
+
})
|
|
2672
|
+
.catch((error) => {
|
|
2673
|
+
// Log error
|
|
2674
|
+
if (error.response) {
|
|
2675
|
+
this.config.logger.log(
|
|
2676
|
+
'error',
|
|
2677
|
+
error.response.status,
|
|
2678
|
+
'POST',
|
|
2679
|
+
`https://login.${this.config.environment}/oauth/token`,
|
|
2680
|
+
request.headers,
|
|
2681
|
+
error.response.headers,
|
|
2682
|
+
bodyParam,
|
|
2683
|
+
error.response.data
|
|
2684
|
+
);
|
|
2685
|
+
}
|
|
2686
|
+
reject(error);
|
|
2687
|
+
});
|
|
2678
2688
|
});
|
|
2679
2689
|
}
|
|
2680
2690
|
|
|
@@ -2698,9 +2708,7 @@ class ApiClient {
|
|
|
2698
2708
|
{ grant_type: 'authorization_code' },
|
|
2699
2709
|
{ code: authCode },
|
|
2700
2710
|
{ redirect_uri: redirectUri });
|
|
2701
|
-
|
|
2702
|
-
request.proxy(this.proxy);
|
|
2703
|
-
}
|
|
2711
|
+
request.proxy = this.proxy;
|
|
2704
2712
|
var bodyParam = {
|
|
2705
2713
|
grant_type: 'authorization_code',
|
|
2706
2714
|
code: authCode,
|
|
@@ -2726,9 +2734,7 @@ class ApiClient {
|
|
|
2726
2734
|
}
|
|
2727
2735
|
var encodedData = Buffer.from(clientId + ':' + clientSecret).toString('base64');
|
|
2728
2736
|
var request = this._formAuthRequest(encodedData, { grant_type: 'refresh_token' }, { refresh_token: refreshToken });
|
|
2729
|
-
|
|
2730
|
-
request.proxy(this.proxy);
|
|
2731
|
-
}
|
|
2737
|
+
request.proxy = this.proxy;
|
|
2732
2738
|
var bodyParam = {
|
|
2733
2739
|
grant_type: 'refresh_token',
|
|
2734
2740
|
refresh_token: refreshToken,
|
|
@@ -2746,57 +2752,59 @@ class ApiClient {
|
|
|
2746
2752
|
* @param {function} reject - Promise reject callback
|
|
2747
2753
|
*/
|
|
2748
2754
|
_handleCodeAuthorizationResponse(request, bodyParam, resolve, reject) {
|
|
2749
|
-
request
|
|
2750
|
-
|
|
2751
|
-
// Log error
|
|
2752
|
-
this.config.logger.log(
|
|
2753
|
-
'error',
|
|
2754
|
-
response.statusCode,
|
|
2755
|
-
'POST',
|
|
2756
|
-
`https://login.${this.config.environment}/oauth/token`,
|
|
2757
|
-
request.header,
|
|
2758
|
-
response.headers,
|
|
2759
|
-
bodyParam,
|
|
2760
|
-
response.body
|
|
2761
|
-
);
|
|
2762
|
-
|
|
2763
|
-
reject(error);
|
|
2764
|
-
} else {
|
|
2755
|
+
request
|
|
2756
|
+
.then((response) => {
|
|
2765
2757
|
// Logging
|
|
2766
2758
|
this.config.logger.log(
|
|
2767
2759
|
'trace',
|
|
2768
|
-
response.
|
|
2760
|
+
response.status,
|
|
2769
2761
|
'POST',
|
|
2770
2762
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2771
|
-
request.
|
|
2763
|
+
request.headers,
|
|
2772
2764
|
response.headers,
|
|
2773
2765
|
bodyParam,
|
|
2774
2766
|
undefined
|
|
2775
2767
|
);
|
|
2776
2768
|
this.config.logger.log(
|
|
2777
2769
|
'debug',
|
|
2778
|
-
response.
|
|
2770
|
+
response.status,
|
|
2779
2771
|
'POST',
|
|
2780
2772
|
`https://login.${this.config.environment}/oauth/token`,
|
|
2781
|
-
request.
|
|
2773
|
+
request.headers,
|
|
2782
2774
|
undefined,
|
|
2783
2775
|
bodyParam,
|
|
2784
2776
|
undefined
|
|
2785
2777
|
);
|
|
2786
2778
|
|
|
2787
2779
|
// Get access token from response
|
|
2788
|
-
var access_token = response.
|
|
2789
|
-
var refresh_token = response.
|
|
2780
|
+
var access_token = response.data.access_token;
|
|
2781
|
+
var refresh_token = response.data.refresh_token;
|
|
2790
2782
|
|
|
2791
2783
|
this.setAccessToken(access_token);
|
|
2792
2784
|
this.authData.refreshToken = refresh_token;
|
|
2793
|
-
this.authData.tokenExpiryTime = new Date().getTime() + response.
|
|
2785
|
+
this.authData.tokenExpiryTime = new Date().getTime() + response.data['expires_in'] * 1000;
|
|
2794
2786
|
this.authData.tokenExpiryTimeString = new Date(this.authData.tokenExpiryTime).toUTCString();
|
|
2795
2787
|
|
|
2796
2788
|
// Return auth data
|
|
2797
2789
|
resolve(this.authData);
|
|
2798
|
-
}
|
|
2799
|
-
|
|
2790
|
+
})
|
|
2791
|
+
.catch((error) => {
|
|
2792
|
+
// Log error
|
|
2793
|
+
if (error.response) {
|
|
2794
|
+
this.config.logger.log(
|
|
2795
|
+
'error',
|
|
2796
|
+
error.response.status,
|
|
2797
|
+
'POST',
|
|
2798
|
+
`https://login.${this.config.environment}/oauth/token`,
|
|
2799
|
+
request.headers,
|
|
2800
|
+
error.response.headers,
|
|
2801
|
+
bodyParam,
|
|
2802
|
+
error.response.data
|
|
2803
|
+
);
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
reject(error);
|
|
2807
|
+
});
|
|
2800
2808
|
}
|
|
2801
2809
|
|
|
2802
2810
|
/**
|
|
@@ -2804,15 +2812,15 @@ class ApiClient {
|
|
|
2804
2812
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
2805
2813
|
*/
|
|
2806
2814
|
_formAuthRequest(encodedData) {
|
|
2807
|
-
var request =
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2815
|
+
var request = axios__default["default"]({
|
|
2816
|
+
method: `POST`,
|
|
2817
|
+
url: `https://login.${this.config.environment}/oauth/token`,
|
|
2818
|
+
headers: {
|
|
2819
|
+
'Authorization': 'Basic ' + encodedData,
|
|
2820
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
2821
|
+
},
|
|
2822
|
+
data: arguments
|
|
2823
|
+
});
|
|
2816
2824
|
|
|
2817
2825
|
return request;
|
|
2818
2826
|
}
|
|
@@ -3013,6 +3021,36 @@ class ApiClient {
|
|
|
3013
3021
|
return param.toString();
|
|
3014
3022
|
}
|
|
3015
3023
|
|
|
3024
|
+
/**
|
|
3025
|
+
* Returns query parameters serialized in the format needed for an axios request.
|
|
3026
|
+
* @param param The unserialized query parameters.
|
|
3027
|
+
* @returns {Object} The serialized representation the query parameters.
|
|
3028
|
+
*/
|
|
3029
|
+
serialize(obj) {
|
|
3030
|
+
var result = {};
|
|
3031
|
+
for (var p in obj) {
|
|
3032
|
+
if (obj.hasOwnProperty(p)) {
|
|
3033
|
+
result[encodeURIComponent(p)] = Array.isArray(obj[p]) ? obj[p].join(",") : this.paramToString(obj[p]);
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
return result
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
/**
|
|
3040
|
+
* Adds headers onto an existing header object (may be empty)
|
|
3041
|
+
* @param existingHeaders The existing header object.
|
|
3042
|
+
* @param newHeaders New headers.
|
|
3043
|
+
* @returns {Object} The combination of all headers.
|
|
3044
|
+
*/
|
|
3045
|
+
addHeaders(existingHeaders, ...newHeaders) {
|
|
3046
|
+
if (existingHeaders) {
|
|
3047
|
+
existingHeaders = Object.assign(existingHeaders, ...newHeaders);
|
|
3048
|
+
} else {
|
|
3049
|
+
existingHeaders = Object.assign(...newHeaders);
|
|
3050
|
+
}
|
|
3051
|
+
return existingHeaders;
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3016
3054
|
/**
|
|
3017
3055
|
* Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
|
|
3018
3056
|
* NOTE: query parameters are not handled here.
|
|
@@ -3132,7 +3170,7 @@ class ApiClient {
|
|
|
3132
3170
|
case 'pipes':
|
|
3133
3171
|
return param.map(this.paramToString).join('|');
|
|
3134
3172
|
case 'multi':
|
|
3135
|
-
// return the array directly as
|
|
3173
|
+
// return the array directly as axios will handle it as expected
|
|
3136
3174
|
return param.map(this.paramToString);
|
|
3137
3175
|
default:
|
|
3138
3176
|
throw new Error(`Unknown collection format: ${collectionFormat}`);
|
|
@@ -3141,7 +3179,7 @@ class ApiClient {
|
|
|
3141
3179
|
|
|
3142
3180
|
/**
|
|
3143
3181
|
* Applies authentication headers to the request.
|
|
3144
|
-
* @param {Object} request The request object
|
|
3182
|
+
* @param {Object} request The axios request config object.
|
|
3145
3183
|
* @param {Array.<String>} authNames An array of authentication method names.
|
|
3146
3184
|
*/
|
|
3147
3185
|
applyAuthToRequest(request, authNames) {
|
|
@@ -3150,7 +3188,10 @@ class ApiClient {
|
|
|
3150
3188
|
switch (auth.type) {
|
|
3151
3189
|
case 'basic':
|
|
3152
3190
|
if (auth.username || auth.password) {
|
|
3153
|
-
request.auth
|
|
3191
|
+
request.auth = {
|
|
3192
|
+
username: auth.username || '',
|
|
3193
|
+
password: auth.password || ''
|
|
3194
|
+
};
|
|
3154
3195
|
}
|
|
3155
3196
|
break;
|
|
3156
3197
|
case 'apiKey':
|
|
@@ -3162,15 +3203,15 @@ class ApiClient {
|
|
|
3162
3203
|
data[auth.name] = auth.apiKey;
|
|
3163
3204
|
}
|
|
3164
3205
|
if (auth['in'] === 'header') {
|
|
3165
|
-
request.
|
|
3206
|
+
request.headers = this.addHeaders(request.headers, data);
|
|
3166
3207
|
} else {
|
|
3167
|
-
request.
|
|
3208
|
+
request.params = this.serialize(data);
|
|
3168
3209
|
}
|
|
3169
3210
|
}
|
|
3170
3211
|
break;
|
|
3171
3212
|
case 'oauth2':
|
|
3172
3213
|
if (auth.accessToken) {
|
|
3173
|
-
request.
|
|
3214
|
+
request.headers = this.addHeaders(request.headers, {'Authorization': `Bearer ${auth.accessToken}`});
|
|
3174
3215
|
}
|
|
3175
3216
|
break;
|
|
3176
3217
|
default:
|
|
@@ -3199,86 +3240,71 @@ class ApiClient {
|
|
|
3199
3240
|
sendRequest(this);
|
|
3200
3241
|
function sendRequest(that) {
|
|
3201
3242
|
var url = that.buildUrl(path, pathParams);
|
|
3202
|
-
var request =
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3243
|
+
var request = {
|
|
3244
|
+
method: httpMethod,
|
|
3245
|
+
url: url,
|
|
3246
|
+
proxy: that.proxy,
|
|
3247
|
+
timeout: that.timeout,
|
|
3248
|
+
params: that.serialize(queryParams)
|
|
3249
|
+
};
|
|
3207
3250
|
|
|
3208
3251
|
// apply authentications
|
|
3209
3252
|
that.applyAuthToRequest(request, authNames);
|
|
3210
3253
|
|
|
3211
|
-
// set query parameters
|
|
3212
|
-
request.query(that.normalizeParams(queryParams));
|
|
3213
|
-
|
|
3214
3254
|
// set header parameters
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
// set request timeout
|
|
3219
|
-
request.timeout(that.timeout);
|
|
3255
|
+
const defaultHeaders = that.defaultHeaders;
|
|
3256
|
+
const normalizedHeaderParams = that.normalizeParams(headerParams);
|
|
3257
|
+
request.headers = that.addHeaders(request.headers, defaultHeaders, normalizedHeaderParams);
|
|
3220
3258
|
|
|
3221
3259
|
var contentType = that.jsonPreferredMime(contentTypes);
|
|
3222
3260
|
if (contentType) {
|
|
3223
|
-
request.
|
|
3224
|
-
} else if (!request.
|
|
3225
|
-
request.
|
|
3261
|
+
request.headers['Content-Type'] = contentType;
|
|
3262
|
+
} else if (!request.headers['Content-Type']) {
|
|
3263
|
+
request.headers['Content-Type'] = 'application/json';
|
|
3226
3264
|
}
|
|
3227
3265
|
|
|
3228
3266
|
if (contentType === 'application/x-www-form-urlencoded') {
|
|
3229
|
-
request.
|
|
3267
|
+
request.data = that.normalizeParams(formParams);
|
|
3230
3268
|
} else if (contentType == 'multipart/form-data') {
|
|
3231
3269
|
var _formParams = that.normalizeParams(formParams);
|
|
3232
3270
|
for (var key in _formParams) {
|
|
3233
3271
|
if (_formParams.hasOwnProperty(key)) {
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
request.field(key, _formParams[key]);
|
|
3239
|
-
}
|
|
3272
|
+
// Looks like axios handles files and forms the same way
|
|
3273
|
+
var formData = new FormData();
|
|
3274
|
+
formData.set(key, _formParams[key]);
|
|
3275
|
+
request.data = formData;
|
|
3240
3276
|
}
|
|
3241
3277
|
}
|
|
3242
3278
|
} else if (bodyParam) {
|
|
3243
|
-
request.
|
|
3279
|
+
request.data = bodyParam;
|
|
3244
3280
|
}
|
|
3245
3281
|
|
|
3246
3282
|
var accept = that.jsonPreferredMime(accepts);
|
|
3247
3283
|
if (accept) {
|
|
3248
|
-
request.accept
|
|
3284
|
+
request.headers['Accept'] = accept;
|
|
3249
3285
|
}
|
|
3250
|
-
request
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
error: error
|
|
3273
|
-
} : response.body ? response.body : response.text;
|
|
3274
|
-
|
|
3275
|
-
// Debug logging
|
|
3276
|
-
that.config.logger.log('trace', response.statusCode, httpMethod, url, request.header, response.headers, bodyParam, undefined);
|
|
3277
|
-
that.config.logger.log('debug', response.statusCode, httpMethod, url, request.header, undefined, bodyParam, undefined);
|
|
3278
|
-
|
|
3279
|
-
// Resolve promise
|
|
3280
|
-
if (error) {
|
|
3281
|
-
if (data.status == 401 && that.config.refresh_access_token && that.authData.refreshToken !== "") {
|
|
3286
|
+
axios__default["default"].request(request)
|
|
3287
|
+
.then((response) => {
|
|
3288
|
+
// Build response object
|
|
3289
|
+
var data = (that.returnExtended === true) ? {
|
|
3290
|
+
status: response.status,
|
|
3291
|
+
statusText: response.statusText,
|
|
3292
|
+
headers: response.headers,
|
|
3293
|
+
body: response.data,
|
|
3294
|
+
text: response.text,
|
|
3295
|
+
error: null
|
|
3296
|
+
} : response.data ? response.data : response.text;
|
|
3297
|
+
|
|
3298
|
+
// Debug logging
|
|
3299
|
+
that.config.logger.log('trace', response.status, httpMethod, url, request.headers, response.headers, bodyParam, undefined);
|
|
3300
|
+
that.config.logger.log('debug', response.status, httpMethod, url, request.headers, undefined, bodyParam, undefined);
|
|
3301
|
+
|
|
3302
|
+
// Resolve promise
|
|
3303
|
+
resolve(data);
|
|
3304
|
+
})
|
|
3305
|
+
.catch((error) => {
|
|
3306
|
+
var data = error;
|
|
3307
|
+
if (error.response && error.response.status == 401 && that.config.refresh_access_token && that.authData.refreshToken !== "") {
|
|
3282
3308
|
that._handleExpiredAccessToken()
|
|
3283
3309
|
.then(() => {
|
|
3284
3310
|
sendRequest(that);
|
|
@@ -3286,24 +3312,29 @@ class ApiClient {
|
|
|
3286
3312
|
.catch((err) => {
|
|
3287
3313
|
reject(err);
|
|
3288
3314
|
});
|
|
3289
|
-
} else {
|
|
3315
|
+
} else if (error.response) {
|
|
3290
3316
|
// Log error
|
|
3291
3317
|
that.config.logger.log(
|
|
3292
3318
|
'error',
|
|
3293
|
-
response.
|
|
3319
|
+
error.response.status,
|
|
3294
3320
|
httpMethod,
|
|
3295
3321
|
url,
|
|
3296
|
-
request.
|
|
3297
|
-
response.headers,
|
|
3322
|
+
request.headers,
|
|
3323
|
+
error.response.headers,
|
|
3298
3324
|
bodyParam,
|
|
3299
|
-
response.
|
|
3325
|
+
error.response.data
|
|
3300
3326
|
);
|
|
3301
|
-
|
|
3327
|
+
data = (that.returnExtended === true) ? {
|
|
3328
|
+
status: error.response.status,
|
|
3329
|
+
statusText: error.response.statusText,
|
|
3330
|
+
headers: error.response.headers,
|
|
3331
|
+
body: error.response.data,
|
|
3332
|
+
text: error.response.text,
|
|
3333
|
+
error: error
|
|
3334
|
+
} : error.response.data ? error.response.data : error.response.text;
|
|
3302
3335
|
}
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
}
|
|
3306
|
-
});
|
|
3336
|
+
reject(data);
|
|
3337
|
+
});
|
|
3307
3338
|
}
|
|
3308
3339
|
});
|
|
3309
3340
|
}
|
|
@@ -3313,7 +3344,7 @@ class AlertingApi {
|
|
|
3313
3344
|
/**
|
|
3314
3345
|
* Alerting service.
|
|
3315
3346
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3316
|
-
* @version
|
|
3347
|
+
* @version 138.0.0
|
|
3317
3348
|
*/
|
|
3318
3349
|
|
|
3319
3350
|
/**
|
|
@@ -3627,7 +3658,7 @@ class AnalyticsApi {
|
|
|
3627
3658
|
/**
|
|
3628
3659
|
* Analytics service.
|
|
3629
3660
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3630
|
-
* @version
|
|
3661
|
+
* @version 138.0.0
|
|
3631
3662
|
*/
|
|
3632
3663
|
|
|
3633
3664
|
/**
|
|
@@ -4809,7 +4840,7 @@ class ArchitectApi {
|
|
|
4809
4840
|
/**
|
|
4810
4841
|
* Architect service.
|
|
4811
4842
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4812
|
-
* @version
|
|
4843
|
+
* @version 138.0.0
|
|
4813
4844
|
*/
|
|
4814
4845
|
|
|
4815
4846
|
/**
|
|
@@ -7854,7 +7885,7 @@ class AuditApi {
|
|
|
7854
7885
|
/**
|
|
7855
7886
|
* Audit service.
|
|
7856
7887
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7857
|
-
* @version
|
|
7888
|
+
* @version 138.0.0
|
|
7858
7889
|
*/
|
|
7859
7890
|
|
|
7860
7891
|
/**
|
|
@@ -8025,7 +8056,7 @@ class AuthorizationApi {
|
|
|
8025
8056
|
/**
|
|
8026
8057
|
* Authorization service.
|
|
8027
8058
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8028
|
-
* @version
|
|
8059
|
+
* @version 138.0.0
|
|
8029
8060
|
*/
|
|
8030
8061
|
|
|
8031
8062
|
/**
|
|
@@ -9208,7 +9239,7 @@ class BillingApi {
|
|
|
9208
9239
|
/**
|
|
9209
9240
|
* Billing service.
|
|
9210
9241
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9211
|
-
* @version
|
|
9242
|
+
* @version 138.0.0
|
|
9212
9243
|
*/
|
|
9213
9244
|
|
|
9214
9245
|
/**
|
|
@@ -9288,7 +9319,7 @@ class ChatApi {
|
|
|
9288
9319
|
/**
|
|
9289
9320
|
* Chat service.
|
|
9290
9321
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9291
|
-
* @version
|
|
9322
|
+
* @version 138.0.0
|
|
9292
9323
|
*/
|
|
9293
9324
|
|
|
9294
9325
|
/**
|
|
@@ -9379,7 +9410,7 @@ class CoachingApi {
|
|
|
9379
9410
|
/**
|
|
9380
9411
|
* Coaching service.
|
|
9381
9412
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9382
|
-
* @version
|
|
9413
|
+
* @version 138.0.0
|
|
9383
9414
|
*/
|
|
9384
9415
|
|
|
9385
9416
|
/**
|
|
@@ -9956,7 +9987,7 @@ class ContentManagementApi {
|
|
|
9956
9987
|
/**
|
|
9957
9988
|
* ContentManagement service.
|
|
9958
9989
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9959
|
-
* @version
|
|
9990
|
+
* @version 138.0.0
|
|
9960
9991
|
*/
|
|
9961
9992
|
|
|
9962
9993
|
/**
|
|
@@ -11096,7 +11127,7 @@ class ConversationsApi {
|
|
|
11096
11127
|
/**
|
|
11097
11128
|
* Conversations service.
|
|
11098
11129
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11099
|
-
* @version
|
|
11130
|
+
* @version 138.0.0
|
|
11100
11131
|
*/
|
|
11101
11132
|
|
|
11102
11133
|
/**
|
|
@@ -15760,7 +15791,7 @@ class DataExtensionsApi {
|
|
|
15760
15791
|
/**
|
|
15761
15792
|
* DataExtensions service.
|
|
15762
15793
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15763
|
-
* @version
|
|
15794
|
+
* @version 138.0.0
|
|
15764
15795
|
*/
|
|
15765
15796
|
|
|
15766
15797
|
/**
|
|
@@ -15846,7 +15877,7 @@ class ExternalContactsApi {
|
|
|
15846
15877
|
/**
|
|
15847
15878
|
* ExternalContacts service.
|
|
15848
15879
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15849
|
-
* @version
|
|
15880
|
+
* @version 138.0.0
|
|
15850
15881
|
*/
|
|
15851
15882
|
|
|
15852
15883
|
/**
|
|
@@ -17589,7 +17620,7 @@ class FaxApi {
|
|
|
17589
17620
|
/**
|
|
17590
17621
|
* Fax service.
|
|
17591
17622
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17592
|
-
* @version
|
|
17623
|
+
* @version 138.0.0
|
|
17593
17624
|
*/
|
|
17594
17625
|
|
|
17595
17626
|
/**
|
|
@@ -17760,7 +17791,7 @@ class FlowsApi {
|
|
|
17760
17791
|
/**
|
|
17761
17792
|
* Flows service.
|
|
17762
17793
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17763
|
-
* @version
|
|
17794
|
+
* @version 138.0.0
|
|
17764
17795
|
*/
|
|
17765
17796
|
|
|
17766
17797
|
/**
|
|
@@ -17831,7 +17862,7 @@ class GamificationApi {
|
|
|
17831
17862
|
/**
|
|
17832
17863
|
* Gamification service.
|
|
17833
17864
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17834
|
-
* @version
|
|
17865
|
+
* @version 138.0.0
|
|
17835
17866
|
*/
|
|
17836
17867
|
|
|
17837
17868
|
/**
|
|
@@ -19261,7 +19292,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19261
19292
|
/**
|
|
19262
19293
|
* GeneralDataProtectionRegulation service.
|
|
19263
19294
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19264
|
-
* @version
|
|
19295
|
+
* @version 138.0.0
|
|
19265
19296
|
*/
|
|
19266
19297
|
|
|
19267
19298
|
/**
|
|
@@ -19391,7 +19422,7 @@ class GeolocationApi {
|
|
|
19391
19422
|
/**
|
|
19392
19423
|
* Geolocation service.
|
|
19393
19424
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19394
|
-
* @version
|
|
19425
|
+
* @version 138.0.0
|
|
19395
19426
|
*/
|
|
19396
19427
|
|
|
19397
19428
|
/**
|
|
@@ -19522,7 +19553,7 @@ class GreetingsApi {
|
|
|
19522
19553
|
/**
|
|
19523
19554
|
* Greetings service.
|
|
19524
19555
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19525
|
-
* @version
|
|
19556
|
+
* @version 138.0.0
|
|
19526
19557
|
*/
|
|
19527
19558
|
|
|
19528
19559
|
/**
|
|
@@ -19977,7 +20008,7 @@ class GroupsApi {
|
|
|
19977
20008
|
/**
|
|
19978
20009
|
* Groups service.
|
|
19979
20010
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19980
|
-
* @version
|
|
20011
|
+
* @version 138.0.0
|
|
19981
20012
|
*/
|
|
19982
20013
|
|
|
19983
20014
|
/**
|
|
@@ -20382,7 +20413,7 @@ class IdentityProviderApi {
|
|
|
20382
20413
|
/**
|
|
20383
20414
|
* IdentityProvider service.
|
|
20384
20415
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20385
|
-
* @version
|
|
20416
|
+
* @version 138.0.0
|
|
20386
20417
|
*/
|
|
20387
20418
|
|
|
20388
20419
|
/**
|
|
@@ -21138,7 +21169,7 @@ class IntegrationsApi {
|
|
|
21138
21169
|
/**
|
|
21139
21170
|
* Integrations service.
|
|
21140
21171
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21141
|
-
* @version
|
|
21172
|
+
* @version 138.0.0
|
|
21142
21173
|
*/
|
|
21143
21174
|
|
|
21144
21175
|
/**
|
|
@@ -22815,7 +22846,7 @@ class JourneyApi {
|
|
|
22815
22846
|
/**
|
|
22816
22847
|
* Journey service.
|
|
22817
22848
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22818
|
-
* @version
|
|
22849
|
+
* @version 138.0.0
|
|
22819
22850
|
*/
|
|
22820
22851
|
|
|
22821
22852
|
/**
|
|
@@ -23526,7 +23557,7 @@ class KnowledgeApi {
|
|
|
23526
23557
|
/**
|
|
23527
23558
|
* Knowledge service.
|
|
23528
23559
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23529
|
-
* @version
|
|
23560
|
+
* @version 138.0.0
|
|
23530
23561
|
*/
|
|
23531
23562
|
|
|
23532
23563
|
/**
|
|
@@ -24426,7 +24457,7 @@ class LanguageUnderstandingApi {
|
|
|
24426
24457
|
/**
|
|
24427
24458
|
* LanguageUnderstanding service.
|
|
24428
24459
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24429
|
-
* @version
|
|
24460
|
+
* @version 138.0.0
|
|
24430
24461
|
*/
|
|
24431
24462
|
|
|
24432
24463
|
/**
|
|
@@ -25330,7 +25361,7 @@ class LanguagesApi {
|
|
|
25330
25361
|
/**
|
|
25331
25362
|
* Languages service.
|
|
25332
25363
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25333
|
-
* @version
|
|
25364
|
+
* @version 138.0.0
|
|
25334
25365
|
*/
|
|
25335
25366
|
|
|
25336
25367
|
/**
|
|
@@ -25598,7 +25629,7 @@ class LearningApi {
|
|
|
25598
25629
|
/**
|
|
25599
25630
|
* Learning service.
|
|
25600
25631
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
25601
|
-
* @version
|
|
25632
|
+
* @version 138.0.0
|
|
25602
25633
|
*/
|
|
25603
25634
|
|
|
25604
25635
|
/**
|
|
@@ -26189,7 +26220,7 @@ class LicenseApi {
|
|
|
26189
26220
|
/**
|
|
26190
26221
|
* License service.
|
|
26191
26222
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26192
|
-
* @version
|
|
26223
|
+
* @version 138.0.0
|
|
26193
26224
|
*/
|
|
26194
26225
|
|
|
26195
26226
|
/**
|
|
@@ -26427,7 +26458,7 @@ class LocationsApi {
|
|
|
26427
26458
|
/**
|
|
26428
26459
|
* Locations service.
|
|
26429
26460
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
26430
|
-
* @version
|
|
26461
|
+
* @version 138.0.0
|
|
26431
26462
|
*/
|
|
26432
26463
|
|
|
26433
26464
|
/**
|
|
@@ -26663,7 +26694,7 @@ class MessagingApi {
|
|
|
26663
26694
|
/**
|
|
26664
26695
|
* Messaging service.
|
|
26665
26696
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
26666
|
-
* @version
|
|
26697
|
+
* @version 138.0.0
|
|
26667
26698
|
*/
|
|
26668
26699
|
|
|
26669
26700
|
/**
|
|
@@ -26814,7 +26845,7 @@ class MobileDevicesApi {
|
|
|
26814
26845
|
/**
|
|
26815
26846
|
* MobileDevices service.
|
|
26816
26847
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
26817
|
-
* @version
|
|
26848
|
+
* @version 138.0.0
|
|
26818
26849
|
*/
|
|
26819
26850
|
|
|
26820
26851
|
/**
|
|
@@ -26965,7 +26996,7 @@ class NotificationsApi {
|
|
|
26965
26996
|
/**
|
|
26966
26997
|
* Notifications service.
|
|
26967
26998
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
26968
|
-
* @version
|
|
26999
|
+
* @version 138.0.0
|
|
26969
27000
|
*/
|
|
26970
27001
|
|
|
26971
27002
|
/**
|
|
@@ -27190,7 +27221,7 @@ class OAuthApi {
|
|
|
27190
27221
|
/**
|
|
27191
27222
|
* OAuth service.
|
|
27192
27223
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27193
|
-
* @version
|
|
27224
|
+
* @version 138.0.0
|
|
27194
27225
|
*/
|
|
27195
27226
|
|
|
27196
27227
|
/**
|
|
@@ -27556,7 +27587,7 @@ class ObjectsApi {
|
|
|
27556
27587
|
/**
|
|
27557
27588
|
* Objects service.
|
|
27558
27589
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
27559
|
-
* @version
|
|
27590
|
+
* @version 138.0.0
|
|
27560
27591
|
*/
|
|
27561
27592
|
|
|
27562
27593
|
/**
|
|
@@ -27827,7 +27858,7 @@ class OrganizationApi {
|
|
|
27827
27858
|
/**
|
|
27828
27859
|
* Organization service.
|
|
27829
27860
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
27830
|
-
* @version
|
|
27861
|
+
* @version 138.0.0
|
|
27831
27862
|
*/
|
|
27832
27863
|
|
|
27833
27864
|
/**
|
|
@@ -28230,7 +28261,7 @@ class OrganizationAuthorizationApi {
|
|
|
28230
28261
|
/**
|
|
28231
28262
|
* OrganizationAuthorization service.
|
|
28232
28263
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28233
|
-
* @version
|
|
28264
|
+
* @version 138.0.0
|
|
28234
28265
|
*/
|
|
28235
28266
|
|
|
28236
28267
|
/**
|
|
@@ -29155,7 +29186,7 @@ class OutboundApi {
|
|
|
29155
29186
|
/**
|
|
29156
29187
|
* Outbound service.
|
|
29157
29188
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29158
|
-
* @version
|
|
29189
|
+
* @version 138.0.0
|
|
29159
29190
|
*/
|
|
29160
29191
|
|
|
29161
29192
|
/**
|
|
@@ -32410,7 +32441,7 @@ class PresenceApi {
|
|
|
32410
32441
|
/**
|
|
32411
32442
|
* Presence service.
|
|
32412
32443
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
32413
|
-
* @version
|
|
32444
|
+
* @version 138.0.0
|
|
32414
32445
|
*/
|
|
32415
32446
|
|
|
32416
32447
|
/**
|
|
@@ -32732,7 +32763,7 @@ class QualityApi {
|
|
|
32732
32763
|
/**
|
|
32733
32764
|
* Quality service.
|
|
32734
32765
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
32735
|
-
* @version
|
|
32766
|
+
* @version 138.0.0
|
|
32736
32767
|
*/
|
|
32737
32768
|
|
|
32738
32769
|
/**
|
|
@@ -34310,7 +34341,7 @@ class RecordingApi {
|
|
|
34310
34341
|
/**
|
|
34311
34342
|
* Recording service.
|
|
34312
34343
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
34313
|
-
* @version
|
|
34344
|
+
* @version 138.0.0
|
|
34314
34345
|
*/
|
|
34315
34346
|
|
|
34316
34347
|
/**
|
|
@@ -35963,7 +35994,7 @@ class ResponseManagementApi {
|
|
|
35963
35994
|
/**
|
|
35964
35995
|
* ResponseManagement service.
|
|
35965
35996
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
35966
|
-
* @version
|
|
35997
|
+
* @version 138.0.0
|
|
35967
35998
|
*/
|
|
35968
35999
|
|
|
35969
36000
|
/**
|
|
@@ -36447,7 +36478,7 @@ class RoutingApi {
|
|
|
36447
36478
|
/**
|
|
36448
36479
|
* Routing service.
|
|
36449
36480
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
36450
|
-
* @version
|
|
36481
|
+
* @version 138.0.0
|
|
36451
36482
|
*/
|
|
36452
36483
|
|
|
36453
36484
|
/**
|
|
@@ -39374,7 +39405,7 @@ class SCIMApi {
|
|
|
39374
39405
|
/**
|
|
39375
39406
|
* SCIM service.
|
|
39376
39407
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
39377
|
-
* @version
|
|
39408
|
+
* @version 138.0.0
|
|
39378
39409
|
*/
|
|
39379
39410
|
|
|
39380
39411
|
/**
|
|
@@ -40251,7 +40282,7 @@ class ScriptsApi {
|
|
|
40251
40282
|
/**
|
|
40252
40283
|
* Scripts service.
|
|
40253
40284
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
40254
|
-
* @version
|
|
40285
|
+
* @version 138.0.0
|
|
40255
40286
|
*/
|
|
40256
40287
|
|
|
40257
40288
|
/**
|
|
@@ -40579,9 +40610,9 @@ class ScriptsApi {
|
|
|
40579
40610
|
*
|
|
40580
40611
|
* @param {String} scriptId Script ID
|
|
40581
40612
|
* @param {Object} opts Optional parameters
|
|
40582
|
-
* @param {
|
|
40583
|
-
* @param {
|
|
40584
|
-
* @param {
|
|
40613
|
+
* @param {Object} opts.input input
|
|
40614
|
+
* @param {Object} opts.output output
|
|
40615
|
+
* @param {Object} opts.type type
|
|
40585
40616
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
40586
40617
|
*/
|
|
40587
40618
|
getScriptsPublishedScriptIdVariables(scriptId, opts) {
|
|
@@ -40670,7 +40701,7 @@ class SearchApi {
|
|
|
40670
40701
|
/**
|
|
40671
40702
|
* Search service.
|
|
40672
40703
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
40673
|
-
* @version
|
|
40704
|
+
* @version 138.0.0
|
|
40674
40705
|
*/
|
|
40675
40706
|
|
|
40676
40707
|
/**
|
|
@@ -41205,7 +41236,7 @@ class SpeechTextAnalyticsApi {
|
|
|
41205
41236
|
/**
|
|
41206
41237
|
* SpeechTextAnalytics service.
|
|
41207
41238
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
41208
|
-
* @version
|
|
41239
|
+
* @version 138.0.0
|
|
41209
41240
|
*/
|
|
41210
41241
|
|
|
41211
41242
|
/**
|
|
@@ -42058,7 +42089,7 @@ class StationsApi {
|
|
|
42058
42089
|
/**
|
|
42059
42090
|
* Stations service.
|
|
42060
42091
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42061
|
-
* @version
|
|
42092
|
+
* @version 138.0.0
|
|
42062
42093
|
*/
|
|
42063
42094
|
|
|
42064
42095
|
/**
|
|
@@ -42205,7 +42236,7 @@ class SuggestApi {
|
|
|
42205
42236
|
/**
|
|
42206
42237
|
* Suggest service.
|
|
42207
42238
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
42208
|
-
* @version
|
|
42239
|
+
* @version 138.0.0
|
|
42209
42240
|
*/
|
|
42210
42241
|
|
|
42211
42242
|
/**
|
|
@@ -42344,7 +42375,7 @@ class TelephonyApi {
|
|
|
42344
42375
|
/**
|
|
42345
42376
|
* Telephony service.
|
|
42346
42377
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
42347
|
-
* @version
|
|
42378
|
+
* @version 138.0.0
|
|
42348
42379
|
*/
|
|
42349
42380
|
|
|
42350
42381
|
/**
|
|
@@ -42452,7 +42483,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
42452
42483
|
/**
|
|
42453
42484
|
* TelephonyProvidersEdge service.
|
|
42454
42485
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
42455
|
-
* @version
|
|
42486
|
+
* @version 138.0.0
|
|
42456
42487
|
*/
|
|
42457
42488
|
|
|
42458
42489
|
/**
|
|
@@ -46085,7 +46116,7 @@ class TextbotsApi {
|
|
|
46085
46116
|
/**
|
|
46086
46117
|
* Textbots service.
|
|
46087
46118
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
46088
|
-
* @version
|
|
46119
|
+
* @version 138.0.0
|
|
46089
46120
|
*/
|
|
46090
46121
|
|
|
46091
46122
|
/**
|
|
@@ -46213,7 +46244,7 @@ class TokensApi {
|
|
|
46213
46244
|
/**
|
|
46214
46245
|
* Tokens service.
|
|
46215
46246
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
46216
|
-
* @version
|
|
46247
|
+
* @version 138.0.0
|
|
46217
46248
|
*/
|
|
46218
46249
|
|
|
46219
46250
|
/**
|
|
@@ -46319,7 +46350,7 @@ class UploadsApi {
|
|
|
46319
46350
|
/**
|
|
46320
46351
|
* Uploads service.
|
|
46321
46352
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
46322
|
-
* @version
|
|
46353
|
+
* @version 138.0.0
|
|
46323
46354
|
*/
|
|
46324
46355
|
|
|
46325
46356
|
/**
|
|
@@ -46470,7 +46501,7 @@ class UsageApi {
|
|
|
46470
46501
|
/**
|
|
46471
46502
|
* Usage service.
|
|
46472
46503
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
46473
|
-
* @version
|
|
46504
|
+
* @version 138.0.0
|
|
46474
46505
|
*/
|
|
46475
46506
|
|
|
46476
46507
|
/**
|
|
@@ -46541,7 +46572,7 @@ class UserRecordingsApi {
|
|
|
46541
46572
|
/**
|
|
46542
46573
|
* UserRecordings service.
|
|
46543
46574
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
46544
|
-
* @version
|
|
46575
|
+
* @version 138.0.0
|
|
46545
46576
|
*/
|
|
46546
46577
|
|
|
46547
46578
|
/**
|
|
@@ -46725,7 +46756,7 @@ class UsersApi {
|
|
|
46725
46756
|
/**
|
|
46726
46757
|
* Users service.
|
|
46727
46758
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
46728
|
-
* @version
|
|
46759
|
+
* @version 138.0.0
|
|
46729
46760
|
*/
|
|
46730
46761
|
|
|
46731
46762
|
/**
|
|
@@ -49027,7 +49058,7 @@ class UtilitiesApi {
|
|
|
49027
49058
|
/**
|
|
49028
49059
|
* Utilities service.
|
|
49029
49060
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
49030
|
-
* @version
|
|
49061
|
+
* @version 138.0.0
|
|
49031
49062
|
*/
|
|
49032
49063
|
|
|
49033
49064
|
/**
|
|
@@ -49138,7 +49169,7 @@ class VoicemailApi {
|
|
|
49138
49169
|
/**
|
|
49139
49170
|
* Voicemail service.
|
|
49140
49171
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
49141
|
-
* @version
|
|
49172
|
+
* @version 138.0.0
|
|
49142
49173
|
*/
|
|
49143
49174
|
|
|
49144
49175
|
/**
|
|
@@ -49805,7 +49836,7 @@ class WebChatApi {
|
|
|
49805
49836
|
/**
|
|
49806
49837
|
* WebChat service.
|
|
49807
49838
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
49808
|
-
* @version
|
|
49839
|
+
* @version 138.0.0
|
|
49809
49840
|
*/
|
|
49810
49841
|
|
|
49811
49842
|
/**
|
|
@@ -50349,7 +50380,7 @@ class WebDeploymentsApi {
|
|
|
50349
50380
|
/**
|
|
50350
50381
|
* WebDeployments service.
|
|
50351
50382
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
50352
|
-
* @version
|
|
50383
|
+
* @version 138.0.0
|
|
50353
50384
|
*/
|
|
50354
50385
|
|
|
50355
50386
|
/**
|
|
@@ -50704,7 +50735,7 @@ class WebMessagingApi {
|
|
|
50704
50735
|
/**
|
|
50705
50736
|
* WebMessaging service.
|
|
50706
50737
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
50707
|
-
* @version
|
|
50738
|
+
* @version 138.0.0
|
|
50708
50739
|
*/
|
|
50709
50740
|
|
|
50710
50741
|
/**
|
|
@@ -50750,7 +50781,7 @@ class WidgetsApi {
|
|
|
50750
50781
|
/**
|
|
50751
50782
|
* Widgets service.
|
|
50752
50783
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
50753
|
-
* @version
|
|
50784
|
+
* @version 138.0.0
|
|
50754
50785
|
*/
|
|
50755
50786
|
|
|
50756
50787
|
/**
|
|
@@ -50896,7 +50927,7 @@ class WorkforceManagementApi {
|
|
|
50896
50927
|
/**
|
|
50897
50928
|
* WorkforceManagement service.
|
|
50898
50929
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
50899
|
-
* @version
|
|
50930
|
+
* @version 138.0.0
|
|
50900
50931
|
*/
|
|
50901
50932
|
|
|
50902
50933
|
/**
|
|
@@ -53655,8 +53686,8 @@ class WorkforceManagementApi {
|
|
|
53655
53686
|
*
|
|
53656
53687
|
* @param {String} businessUnitId The ID of the business unit
|
|
53657
53688
|
* @param {Object} opts Optional parameters
|
|
53658
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
53659
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
53689
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
53690
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
53660
53691
|
* @param {Object} opts.body body
|
|
53661
53692
|
*/
|
|
53662
53693
|
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
@@ -53777,8 +53808,8 @@ class WorkforceManagementApi {
|
|
|
53777
53808
|
* @param {String} scheduleId The ID of the schedule
|
|
53778
53809
|
* @param {Object} body body
|
|
53779
53810
|
* @param {Object} opts Optional parameters
|
|
53780
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
53781
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
53811
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
53812
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
53782
53813
|
*/
|
|
53783
53814
|
postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
|
|
53784
53815
|
opts = opts || {};
|
|
@@ -54364,8 +54395,8 @@ class WorkforceManagementApi {
|
|
|
54364
54395
|
*
|
|
54365
54396
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
54366
54397
|
* @param {Object} opts Optional parameters
|
|
54367
|
-
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification.
|
|
54368
|
-
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service.
|
|
54398
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
54399
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
54369
54400
|
* @param {Object} opts.body body
|
|
54370
54401
|
*/
|
|
54371
54402
|
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|
|
@@ -55147,336 +55178,338 @@ class WorkforceManagementApi {
|
|
|
55147
55178
|
* </pre>
|
|
55148
55179
|
* </p>
|
|
55149
55180
|
* @module purecloud-platform-client-v2/index
|
|
55150
|
-
* @version
|
|
55181
|
+
* @version 138.0.0
|
|
55151
55182
|
*/
|
|
55152
55183
|
class platformClient {
|
|
55153
|
-
|
|
55154
|
-
|
|
55155
|
-
|
|
55156
|
-
|
|
55157
|
-
|
|
55158
|
-
|
|
55159
|
-
|
|
55160
|
-
|
|
55161
|
-
|
|
55162
|
-
|
|
55163
|
-
|
|
55164
|
-
|
|
55184
|
+
constructor() {
|
|
55185
|
+
/**
|
|
55186
|
+
* The ApiClient constructor.
|
|
55187
|
+
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
55188
|
+
*/
|
|
55189
|
+
this.ApiClient = new ApiClient();
|
|
55190
|
+
/**
|
|
55191
|
+
* The ApiClient class.
|
|
55192
|
+
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
55193
|
+
*/
|
|
55194
|
+
this.ApiClientClass = ApiClient;
|
|
55195
|
+
/**
|
|
55165
55196
|
* The AlertingApi service constructor.
|
|
55166
|
-
* @property {module:purecloud-platform-client-v2/api/AlertingApi
|
|
55197
|
+
* @property {module:purecloud-platform-client-v2/api/AlertingApi}
|
|
55167
55198
|
*/
|
|
55168
55199
|
this.AlertingApi = AlertingApi;
|
|
55169
55200
|
/**
|
|
55170
55201
|
* The AnalyticsApi service constructor.
|
|
55171
|
-
* @property {module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
55202
|
+
* @property {module:purecloud-platform-client-v2/api/AnalyticsApi}
|
|
55172
55203
|
*/
|
|
55173
55204
|
this.AnalyticsApi = AnalyticsApi;
|
|
55174
55205
|
/**
|
|
55175
55206
|
* The ArchitectApi service constructor.
|
|
55176
|
-
* @property {module:purecloud-platform-client-v2/api/ArchitectApi
|
|
55207
|
+
* @property {module:purecloud-platform-client-v2/api/ArchitectApi}
|
|
55177
55208
|
*/
|
|
55178
55209
|
this.ArchitectApi = ArchitectApi;
|
|
55179
55210
|
/**
|
|
55180
55211
|
* The AuditApi service constructor.
|
|
55181
|
-
* @property {module:purecloud-platform-client-v2/api/AuditApi
|
|
55212
|
+
* @property {module:purecloud-platform-client-v2/api/AuditApi}
|
|
55182
55213
|
*/
|
|
55183
55214
|
this.AuditApi = AuditApi;
|
|
55184
55215
|
/**
|
|
55185
55216
|
* The AuthorizationApi service constructor.
|
|
55186
|
-
* @property {module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
55217
|
+
* @property {module:purecloud-platform-client-v2/api/AuthorizationApi}
|
|
55187
55218
|
*/
|
|
55188
55219
|
this.AuthorizationApi = AuthorizationApi;
|
|
55189
55220
|
/**
|
|
55190
55221
|
* The BillingApi service constructor.
|
|
55191
|
-
* @property {module:purecloud-platform-client-v2/api/BillingApi
|
|
55222
|
+
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
55192
55223
|
*/
|
|
55193
55224
|
this.BillingApi = BillingApi;
|
|
55194
55225
|
/**
|
|
55195
55226
|
* The ChatApi service constructor.
|
|
55196
|
-
* @property {module:purecloud-platform-client-v2/api/ChatApi
|
|
55227
|
+
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|
|
55197
55228
|
*/
|
|
55198
55229
|
this.ChatApi = ChatApi;
|
|
55199
55230
|
/**
|
|
55200
55231
|
* The CoachingApi service constructor.
|
|
55201
|
-
* @property {module:purecloud-platform-client-v2/api/CoachingApi
|
|
55232
|
+
* @property {module:purecloud-platform-client-v2/api/CoachingApi}
|
|
55202
55233
|
*/
|
|
55203
55234
|
this.CoachingApi = CoachingApi;
|
|
55204
55235
|
/**
|
|
55205
55236
|
* The ContentManagementApi service constructor.
|
|
55206
|
-
* @property {module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
55237
|
+
* @property {module:purecloud-platform-client-v2/api/ContentManagementApi}
|
|
55207
55238
|
*/
|
|
55208
55239
|
this.ContentManagementApi = ContentManagementApi;
|
|
55209
55240
|
/**
|
|
55210
55241
|
* The ConversationsApi service constructor.
|
|
55211
|
-
* @property {module:purecloud-platform-client-v2/api/ConversationsApi
|
|
55242
|
+
* @property {module:purecloud-platform-client-v2/api/ConversationsApi}
|
|
55212
55243
|
*/
|
|
55213
55244
|
this.ConversationsApi = ConversationsApi;
|
|
55214
55245
|
/**
|
|
55215
55246
|
* The DataExtensionsApi service constructor.
|
|
55216
|
-
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
55247
|
+
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
|
|
55217
55248
|
*/
|
|
55218
55249
|
this.DataExtensionsApi = DataExtensionsApi;
|
|
55219
55250
|
/**
|
|
55220
55251
|
* The ExternalContactsApi service constructor.
|
|
55221
|
-
* @property {module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
55252
|
+
* @property {module:purecloud-platform-client-v2/api/ExternalContactsApi}
|
|
55222
55253
|
*/
|
|
55223
55254
|
this.ExternalContactsApi = ExternalContactsApi;
|
|
55224
55255
|
/**
|
|
55225
55256
|
* The FaxApi service constructor.
|
|
55226
|
-
* @property {module:purecloud-platform-client-v2/api/FaxApi
|
|
55257
|
+
* @property {module:purecloud-platform-client-v2/api/FaxApi}
|
|
55227
55258
|
*/
|
|
55228
55259
|
this.FaxApi = FaxApi;
|
|
55229
55260
|
/**
|
|
55230
55261
|
* The FlowsApi service constructor.
|
|
55231
|
-
* @property {module:purecloud-platform-client-v2/api/FlowsApi
|
|
55262
|
+
* @property {module:purecloud-platform-client-v2/api/FlowsApi}
|
|
55232
55263
|
*/
|
|
55233
55264
|
this.FlowsApi = FlowsApi;
|
|
55234
55265
|
/**
|
|
55235
55266
|
* The GamificationApi service constructor.
|
|
55236
|
-
* @property {module:purecloud-platform-client-v2/api/GamificationApi
|
|
55267
|
+
* @property {module:purecloud-platform-client-v2/api/GamificationApi}
|
|
55237
55268
|
*/
|
|
55238
55269
|
this.GamificationApi = GamificationApi;
|
|
55239
55270
|
/**
|
|
55240
55271
|
* The GeneralDataProtectionRegulationApi service constructor.
|
|
55241
|
-
* @property {module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
55272
|
+
* @property {module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi}
|
|
55242
55273
|
*/
|
|
55243
55274
|
this.GeneralDataProtectionRegulationApi = GeneralDataProtectionRegulationApi;
|
|
55244
55275
|
/**
|
|
55245
55276
|
* The GeolocationApi service constructor.
|
|
55246
|
-
* @property {module:purecloud-platform-client-v2/api/GeolocationApi
|
|
55277
|
+
* @property {module:purecloud-platform-client-v2/api/GeolocationApi}
|
|
55247
55278
|
*/
|
|
55248
55279
|
this.GeolocationApi = GeolocationApi;
|
|
55249
55280
|
/**
|
|
55250
55281
|
* The GreetingsApi service constructor.
|
|
55251
|
-
* @property {module:purecloud-platform-client-v2/api/GreetingsApi
|
|
55282
|
+
* @property {module:purecloud-platform-client-v2/api/GreetingsApi}
|
|
55252
55283
|
*/
|
|
55253
55284
|
this.GreetingsApi = GreetingsApi;
|
|
55254
55285
|
/**
|
|
55255
55286
|
* The GroupsApi service constructor.
|
|
55256
|
-
* @property {module:purecloud-platform-client-v2/api/GroupsApi
|
|
55287
|
+
* @property {module:purecloud-platform-client-v2/api/GroupsApi}
|
|
55257
55288
|
*/
|
|
55258
55289
|
this.GroupsApi = GroupsApi;
|
|
55259
55290
|
/**
|
|
55260
55291
|
* The IdentityProviderApi service constructor.
|
|
55261
|
-
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
55292
|
+
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
|
|
55262
55293
|
*/
|
|
55263
55294
|
this.IdentityProviderApi = IdentityProviderApi;
|
|
55264
55295
|
/**
|
|
55265
55296
|
* The IntegrationsApi service constructor.
|
|
55266
|
-
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
55297
|
+
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi}
|
|
55267
55298
|
*/
|
|
55268
55299
|
this.IntegrationsApi = IntegrationsApi;
|
|
55269
55300
|
/**
|
|
55270
55301
|
* The JourneyApi service constructor.
|
|
55271
|
-
* @property {module:purecloud-platform-client-v2/api/JourneyApi
|
|
55302
|
+
* @property {module:purecloud-platform-client-v2/api/JourneyApi}
|
|
55272
55303
|
*/
|
|
55273
55304
|
this.JourneyApi = JourneyApi;
|
|
55274
55305
|
/**
|
|
55275
55306
|
* The KnowledgeApi service constructor.
|
|
55276
|
-
* @property {module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
55307
|
+
* @property {module:purecloud-platform-client-v2/api/KnowledgeApi}
|
|
55277
55308
|
*/
|
|
55278
55309
|
this.KnowledgeApi = KnowledgeApi;
|
|
55279
55310
|
/**
|
|
55280
55311
|
* The LanguageUnderstandingApi service constructor.
|
|
55281
|
-
* @property {module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
55312
|
+
* @property {module:purecloud-platform-client-v2/api/LanguageUnderstandingApi}
|
|
55282
55313
|
*/
|
|
55283
55314
|
this.LanguageUnderstandingApi = LanguageUnderstandingApi;
|
|
55284
55315
|
/**
|
|
55285
55316
|
* The LanguagesApi service constructor.
|
|
55286
|
-
* @property {module:purecloud-platform-client-v2/api/LanguagesApi
|
|
55317
|
+
* @property {module:purecloud-platform-client-v2/api/LanguagesApi}
|
|
55287
55318
|
*/
|
|
55288
55319
|
this.LanguagesApi = LanguagesApi;
|
|
55289
55320
|
/**
|
|
55290
55321
|
* The LearningApi service constructor.
|
|
55291
|
-
* @property {module:purecloud-platform-client-v2/api/LearningApi
|
|
55322
|
+
* @property {module:purecloud-platform-client-v2/api/LearningApi}
|
|
55292
55323
|
*/
|
|
55293
55324
|
this.LearningApi = LearningApi;
|
|
55294
55325
|
/**
|
|
55295
55326
|
* The LicenseApi service constructor.
|
|
55296
|
-
* @property {module:purecloud-platform-client-v2/api/LicenseApi
|
|
55327
|
+
* @property {module:purecloud-platform-client-v2/api/LicenseApi}
|
|
55297
55328
|
*/
|
|
55298
55329
|
this.LicenseApi = LicenseApi;
|
|
55299
55330
|
/**
|
|
55300
55331
|
* The LocationsApi service constructor.
|
|
55301
|
-
* @property {module:purecloud-platform-client-v2/api/LocationsApi
|
|
55332
|
+
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
55302
55333
|
*/
|
|
55303
55334
|
this.LocationsApi = LocationsApi;
|
|
55304
55335
|
/**
|
|
55305
55336
|
* The MessagingApi service constructor.
|
|
55306
|
-
* @property {module:purecloud-platform-client-v2/api/MessagingApi
|
|
55337
|
+
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
55307
55338
|
*/
|
|
55308
55339
|
this.MessagingApi = MessagingApi;
|
|
55309
55340
|
/**
|
|
55310
55341
|
* The MobileDevicesApi service constructor.
|
|
55311
|
-
* @property {module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
55342
|
+
* @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}
|
|
55312
55343
|
*/
|
|
55313
55344
|
this.MobileDevicesApi = MobileDevicesApi;
|
|
55314
55345
|
/**
|
|
55315
55346
|
* The NotificationsApi service constructor.
|
|
55316
|
-
* @property {module:purecloud-platform-client-v2/api/NotificationsApi
|
|
55347
|
+
* @property {module:purecloud-platform-client-v2/api/NotificationsApi}
|
|
55317
55348
|
*/
|
|
55318
55349
|
this.NotificationsApi = NotificationsApi;
|
|
55319
55350
|
/**
|
|
55320
55351
|
* The OAuthApi service constructor.
|
|
55321
|
-
* @property {module:purecloud-platform-client-v2/api/OAuthApi
|
|
55352
|
+
* @property {module:purecloud-platform-client-v2/api/OAuthApi}
|
|
55322
55353
|
*/
|
|
55323
55354
|
this.OAuthApi = OAuthApi;
|
|
55324
55355
|
/**
|
|
55325
55356
|
* The ObjectsApi service constructor.
|
|
55326
|
-
* @property {module:purecloud-platform-client-v2/api/ObjectsApi
|
|
55357
|
+
* @property {module:purecloud-platform-client-v2/api/ObjectsApi}
|
|
55327
55358
|
*/
|
|
55328
55359
|
this.ObjectsApi = ObjectsApi;
|
|
55329
55360
|
/**
|
|
55330
55361
|
* The OrganizationApi service constructor.
|
|
55331
|
-
* @property {module:purecloud-platform-client-v2/api/OrganizationApi
|
|
55362
|
+
* @property {module:purecloud-platform-client-v2/api/OrganizationApi}
|
|
55332
55363
|
*/
|
|
55333
55364
|
this.OrganizationApi = OrganizationApi;
|
|
55334
55365
|
/**
|
|
55335
55366
|
* The OrganizationAuthorizationApi service constructor.
|
|
55336
|
-
* @property {module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
55367
|
+
* @property {module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi}
|
|
55337
55368
|
*/
|
|
55338
55369
|
this.OrganizationAuthorizationApi = OrganizationAuthorizationApi;
|
|
55339
55370
|
/**
|
|
55340
55371
|
* The OutboundApi service constructor.
|
|
55341
|
-
* @property {module:purecloud-platform-client-v2/api/OutboundApi
|
|
55372
|
+
* @property {module:purecloud-platform-client-v2/api/OutboundApi}
|
|
55342
55373
|
*/
|
|
55343
55374
|
this.OutboundApi = OutboundApi;
|
|
55344
55375
|
/**
|
|
55345
55376
|
* The PresenceApi service constructor.
|
|
55346
|
-
* @property {module:purecloud-platform-client-v2/api/PresenceApi
|
|
55377
|
+
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
55347
55378
|
*/
|
|
55348
55379
|
this.PresenceApi = PresenceApi;
|
|
55349
55380
|
/**
|
|
55350
55381
|
* The QualityApi service constructor.
|
|
55351
|
-
* @property {module:purecloud-platform-client-v2/api/QualityApi
|
|
55382
|
+
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|
|
55352
55383
|
*/
|
|
55353
55384
|
this.QualityApi = QualityApi;
|
|
55354
55385
|
/**
|
|
55355
55386
|
* The RecordingApi service constructor.
|
|
55356
|
-
* @property {module:purecloud-platform-client-v2/api/RecordingApi
|
|
55387
|
+
* @property {module:purecloud-platform-client-v2/api/RecordingApi}
|
|
55357
55388
|
*/
|
|
55358
55389
|
this.RecordingApi = RecordingApi;
|
|
55359
55390
|
/**
|
|
55360
55391
|
* The ResponseManagementApi service constructor.
|
|
55361
|
-
* @property {module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
55392
|
+
* @property {module:purecloud-platform-client-v2/api/ResponseManagementApi}
|
|
55362
55393
|
*/
|
|
55363
55394
|
this.ResponseManagementApi = ResponseManagementApi;
|
|
55364
55395
|
/**
|
|
55365
55396
|
* The RoutingApi service constructor.
|
|
55366
|
-
* @property {module:purecloud-platform-client-v2/api/RoutingApi
|
|
55397
|
+
* @property {module:purecloud-platform-client-v2/api/RoutingApi}
|
|
55367
55398
|
*/
|
|
55368
55399
|
this.RoutingApi = RoutingApi;
|
|
55369
55400
|
/**
|
|
55370
55401
|
* The SCIMApi service constructor.
|
|
55371
|
-
* @property {module:purecloud-platform-client-v2/api/SCIMApi
|
|
55402
|
+
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
55372
55403
|
*/
|
|
55373
55404
|
this.SCIMApi = SCIMApi;
|
|
55374
55405
|
/**
|
|
55375
55406
|
* The ScriptsApi service constructor.
|
|
55376
|
-
* @property {module:purecloud-platform-client-v2/api/ScriptsApi
|
|
55407
|
+
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|
|
55377
55408
|
*/
|
|
55378
55409
|
this.ScriptsApi = ScriptsApi;
|
|
55379
55410
|
/**
|
|
55380
55411
|
* The SearchApi service constructor.
|
|
55381
|
-
* @property {module:purecloud-platform-client-v2/api/SearchApi
|
|
55412
|
+
* @property {module:purecloud-platform-client-v2/api/SearchApi}
|
|
55382
55413
|
*/
|
|
55383
55414
|
this.SearchApi = SearchApi;
|
|
55384
55415
|
/**
|
|
55385
55416
|
* The SpeechTextAnalyticsApi service constructor.
|
|
55386
|
-
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
55417
|
+
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi}
|
|
55387
55418
|
*/
|
|
55388
55419
|
this.SpeechTextAnalyticsApi = SpeechTextAnalyticsApi;
|
|
55389
55420
|
/**
|
|
55390
55421
|
* The StationsApi service constructor.
|
|
55391
|
-
* @property {module:purecloud-platform-client-v2/api/StationsApi
|
|
55422
|
+
* @property {module:purecloud-platform-client-v2/api/StationsApi}
|
|
55392
55423
|
*/
|
|
55393
55424
|
this.StationsApi = StationsApi;
|
|
55394
55425
|
/**
|
|
55395
55426
|
* The SuggestApi service constructor.
|
|
55396
|
-
* @property {module:purecloud-platform-client-v2/api/SuggestApi
|
|
55427
|
+
* @property {module:purecloud-platform-client-v2/api/SuggestApi}
|
|
55397
55428
|
*/
|
|
55398
55429
|
this.SuggestApi = SuggestApi;
|
|
55399
55430
|
/**
|
|
55400
55431
|
* The TelephonyApi service constructor.
|
|
55401
|
-
* @property {module:purecloud-platform-client-v2/api/TelephonyApi
|
|
55432
|
+
* @property {module:purecloud-platform-client-v2/api/TelephonyApi}
|
|
55402
55433
|
*/
|
|
55403
55434
|
this.TelephonyApi = TelephonyApi;
|
|
55404
55435
|
/**
|
|
55405
55436
|
* The TelephonyProvidersEdgeApi service constructor.
|
|
55406
|
-
* @property {module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
55437
|
+
* @property {module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi}
|
|
55407
55438
|
*/
|
|
55408
55439
|
this.TelephonyProvidersEdgeApi = TelephonyProvidersEdgeApi;
|
|
55409
55440
|
/**
|
|
55410
55441
|
* The TextbotsApi service constructor.
|
|
55411
|
-
* @property {module:purecloud-platform-client-v2/api/TextbotsApi
|
|
55442
|
+
* @property {module:purecloud-platform-client-v2/api/TextbotsApi}
|
|
55412
55443
|
*/
|
|
55413
55444
|
this.TextbotsApi = TextbotsApi;
|
|
55414
55445
|
/**
|
|
55415
55446
|
* The TokensApi service constructor.
|
|
55416
|
-
* @property {module:purecloud-platform-client-v2/api/TokensApi
|
|
55447
|
+
* @property {module:purecloud-platform-client-v2/api/TokensApi}
|
|
55417
55448
|
*/
|
|
55418
55449
|
this.TokensApi = TokensApi;
|
|
55419
55450
|
/**
|
|
55420
55451
|
* The UploadsApi service constructor.
|
|
55421
|
-
* @property {module:purecloud-platform-client-v2/api/UploadsApi
|
|
55452
|
+
* @property {module:purecloud-platform-client-v2/api/UploadsApi}
|
|
55422
55453
|
*/
|
|
55423
55454
|
this.UploadsApi = UploadsApi;
|
|
55424
55455
|
/**
|
|
55425
55456
|
* The UsageApi service constructor.
|
|
55426
|
-
* @property {module:purecloud-platform-client-v2/api/UsageApi
|
|
55457
|
+
* @property {module:purecloud-platform-client-v2/api/UsageApi}
|
|
55427
55458
|
*/
|
|
55428
55459
|
this.UsageApi = UsageApi;
|
|
55429
55460
|
/**
|
|
55430
55461
|
* The UserRecordingsApi service constructor.
|
|
55431
|
-
* @property {module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
55462
|
+
* @property {module:purecloud-platform-client-v2/api/UserRecordingsApi}
|
|
55432
55463
|
*/
|
|
55433
55464
|
this.UserRecordingsApi = UserRecordingsApi;
|
|
55434
55465
|
/**
|
|
55435
55466
|
* The UsersApi service constructor.
|
|
55436
|
-
* @property {module:purecloud-platform-client-v2/api/UsersApi
|
|
55467
|
+
* @property {module:purecloud-platform-client-v2/api/UsersApi}
|
|
55437
55468
|
*/
|
|
55438
55469
|
this.UsersApi = UsersApi;
|
|
55439
55470
|
/**
|
|
55440
55471
|
* The UtilitiesApi service constructor.
|
|
55441
|
-
* @property {module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
55472
|
+
* @property {module:purecloud-platform-client-v2/api/UtilitiesApi}
|
|
55442
55473
|
*/
|
|
55443
55474
|
this.UtilitiesApi = UtilitiesApi;
|
|
55444
55475
|
/**
|
|
55445
55476
|
* The VoicemailApi service constructor.
|
|
55446
|
-
* @property {module:purecloud-platform-client-v2/api/VoicemailApi
|
|
55477
|
+
* @property {module:purecloud-platform-client-v2/api/VoicemailApi}
|
|
55447
55478
|
*/
|
|
55448
55479
|
this.VoicemailApi = VoicemailApi;
|
|
55449
55480
|
/**
|
|
55450
55481
|
* The WebChatApi service constructor.
|
|
55451
|
-
* @property {module:purecloud-platform-client-v2/api/WebChatApi
|
|
55482
|
+
* @property {module:purecloud-platform-client-v2/api/WebChatApi}
|
|
55452
55483
|
*/
|
|
55453
55484
|
this.WebChatApi = WebChatApi;
|
|
55454
55485
|
/**
|
|
55455
55486
|
* The WebDeploymentsApi service constructor.
|
|
55456
|
-
* @property {module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
55487
|
+
* @property {module:purecloud-platform-client-v2/api/WebDeploymentsApi}
|
|
55457
55488
|
*/
|
|
55458
55489
|
this.WebDeploymentsApi = WebDeploymentsApi;
|
|
55459
55490
|
/**
|
|
55460
55491
|
* The WebMessagingApi service constructor.
|
|
55461
|
-
* @property {module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
55492
|
+
* @property {module:purecloud-platform-client-v2/api/WebMessagingApi}
|
|
55462
55493
|
*/
|
|
55463
55494
|
this.WebMessagingApi = WebMessagingApi;
|
|
55464
55495
|
/**
|
|
55465
55496
|
* The WidgetsApi service constructor.
|
|
55466
|
-
* @property {module:purecloud-platform-client-v2/api/WidgetsApi
|
|
55497
|
+
* @property {module:purecloud-platform-client-v2/api/WidgetsApi}
|
|
55467
55498
|
*/
|
|
55468
55499
|
this.WidgetsApi = WidgetsApi;
|
|
55469
55500
|
/**
|
|
55470
55501
|
* The WorkforceManagementApi service constructor.
|
|
55471
|
-
* @property {module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55502
|
+
* @property {module:purecloud-platform-client-v2/api/WorkforceManagementApi}
|
|
55472
55503
|
*/
|
|
55473
55504
|
this.WorkforceManagementApi = WorkforceManagementApi;
|
|
55474
|
-
|
|
55475
|
-
|
|
55476
|
-
|
|
55477
|
-
|
|
55478
|
-
|
|
55479
|
-
|
|
55505
|
+
/**
|
|
55506
|
+
* The PureCloudRegionsHost Object.
|
|
55507
|
+
* @property {module:purecloud-platform-client-v2/MyPureCloudRegionHost}
|
|
55508
|
+
*/
|
|
55509
|
+
this.PureCloudRegionHosts = PureCloudRegionHosts;
|
|
55510
|
+
|
|
55511
|
+
|
|
55512
|
+
}
|
|
55480
55513
|
}
|
|
55481
55514
|
|
|
55482
55515
|
//export default platformClient;
|