purecloud-platform-client-v2 131.0.0 → 133.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +220 -87
- package/dist/web-amd/purecloud-platform-client-v2.js +221 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +226 -93
- package/dist/web-cjs/purecloud-platform-client-v2.js +4099 -1174
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +417 -39
- package/package.json +9 -9
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -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 +27 -2
- 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 +7 -3
- 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 +3 -3
- 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 +7 -3
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +54 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -5
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +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 +2 -2
- 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 +2 -2
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var superagent = require('superagent');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
+
|
|
7
|
+
var superagent__default = /*#__PURE__*/_interopDefaultLegacy(superagent);
|
|
6
8
|
|
|
7
9
|
var PureCloudRegionHosts = {
|
|
8
10
|
us_east_1: 'mypurecloud.com',
|
|
@@ -910,7 +912,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
|
910
912
|
}
|
|
911
913
|
}
|
|
912
914
|
|
|
913
|
-
function read
|
|
915
|
+
function read (buf, i) {
|
|
914
916
|
if (indexSize === 1) {
|
|
915
917
|
return buf[i]
|
|
916
918
|
} else {
|
|
@@ -922,7 +924,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
|
922
924
|
if (dir) {
|
|
923
925
|
var foundIndex = -1;
|
|
924
926
|
for (i = byteOffset; i < arrLength; i++) {
|
|
925
|
-
if (read
|
|
927
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
926
928
|
if (foundIndex === -1) foundIndex = i;
|
|
927
929
|
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
928
930
|
} else {
|
|
@@ -935,7 +937,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
|
935
937
|
for (i = byteOffset; i >= 0; i--) {
|
|
936
938
|
var found = true;
|
|
937
939
|
for (var j = 0; j < valLength; j++) {
|
|
938
|
-
if (read
|
|
940
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
939
941
|
found = false;
|
|
940
942
|
break
|
|
941
943
|
}
|
|
@@ -1006,7 +1008,7 @@ function ucs2Write (buf, string, offset, length) {
|
|
|
1006
1008
|
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
1007
1009
|
}
|
|
1008
1010
|
|
|
1009
|
-
Buffer.prototype.write = function write
|
|
1011
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
1010
1012
|
// Buffer#write(string)
|
|
1011
1013
|
if (offset === undefined) {
|
|
1012
1014
|
encoding = 'utf8';
|
|
@@ -1675,7 +1677,7 @@ function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
|
1675
1677
|
|
|
1676
1678
|
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
1677
1679
|
if (!noAssert) {
|
|
1678
|
-
checkIEEE754(buf, value, offset, 4
|
|
1680
|
+
checkIEEE754(buf, value, offset, 4);
|
|
1679
1681
|
}
|
|
1680
1682
|
write(buf, value, offset, littleEndian, 23, 4);
|
|
1681
1683
|
return offset + 4
|
|
@@ -1691,7 +1693,7 @@ Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert)
|
|
|
1691
1693
|
|
|
1692
1694
|
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
1693
1695
|
if (!noAssert) {
|
|
1694
|
-
checkIEEE754(buf, value, offset, 8
|
|
1696
|
+
checkIEEE754(buf, value, offset, 8);
|
|
1695
1697
|
}
|
|
1696
1698
|
write(buf, value, offset, littleEndian, 52, 8);
|
|
1697
1699
|
return offset + 8
|
|
@@ -2263,7 +2265,7 @@ class Configuration {
|
|
|
2263
2265
|
|
|
2264
2266
|
/**
|
|
2265
2267
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2266
|
-
* @version
|
|
2268
|
+
* @version 133.0.0
|
|
2267
2269
|
*/
|
|
2268
2270
|
class ApiClient {
|
|
2269
2271
|
/**
|
|
@@ -2367,7 +2369,7 @@ class ApiClient {
|
|
|
2367
2369
|
this.settingsPrefix = 'purecloud';
|
|
2368
2370
|
|
|
2369
2371
|
// Expose superagent module for use with superagent-proxy
|
|
2370
|
-
this.superagent =
|
|
2372
|
+
this.superagent = superagent__default["default"];
|
|
2371
2373
|
|
|
2372
2374
|
// Transparently request a new access token when it expires (Code Authorization only)
|
|
2373
2375
|
this.refreshInProgress = false;
|
|
@@ -2538,7 +2540,7 @@ class ApiClient {
|
|
|
2538
2540
|
}
|
|
2539
2541
|
|
|
2540
2542
|
// Build token request
|
|
2541
|
-
var request =
|
|
2543
|
+
var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
|
|
2542
2544
|
if (this.proxy && request.proxy) {
|
|
2543
2545
|
request.proxy(this.proxy);
|
|
2544
2546
|
}
|
|
@@ -2794,7 +2796,7 @@ class ApiClient {
|
|
|
2794
2796
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
2795
2797
|
*/
|
|
2796
2798
|
_formAuthRequest(encodedData) {
|
|
2797
|
-
var request =
|
|
2799
|
+
var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
|
|
2798
2800
|
// Set the headers
|
|
2799
2801
|
request.set('Authorization', 'Basic ' + encodedData);
|
|
2800
2802
|
request.set('Content-Type', 'application/x-www-form-urlencoded');
|
|
@@ -3189,7 +3191,7 @@ class ApiClient {
|
|
|
3189
3191
|
sendRequest(this);
|
|
3190
3192
|
function sendRequest(that) {
|
|
3191
3193
|
var url = that.buildUrl(path, pathParams);
|
|
3192
|
-
var request =
|
|
3194
|
+
var request = superagent__default["default"](httpMethod, url);
|
|
3193
3195
|
|
|
3194
3196
|
if (that.proxy && request.proxy) {
|
|
3195
3197
|
request.proxy(that.proxy);
|
|
@@ -3203,7 +3205,7 @@ class ApiClient {
|
|
|
3203
3205
|
|
|
3204
3206
|
// set header parameters
|
|
3205
3207
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
3206
|
-
//request.set({ 'purecloud-sdk': '
|
|
3208
|
+
//request.set({ 'purecloud-sdk': '133.0.0' });
|
|
3207
3209
|
|
|
3208
3210
|
// set request timeout
|
|
3209
3211
|
request.timeout(that.timeout);
|
|
@@ -3303,7 +3305,7 @@ class AlertingApi {
|
|
|
3303
3305
|
/**
|
|
3304
3306
|
* Alerting service.
|
|
3305
3307
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3306
|
-
* @version
|
|
3308
|
+
* @version 133.0.0
|
|
3307
3309
|
*/
|
|
3308
3310
|
|
|
3309
3311
|
/**
|
|
@@ -3617,7 +3619,7 @@ class AnalyticsApi {
|
|
|
3617
3619
|
/**
|
|
3618
3620
|
* Analytics service.
|
|
3619
3621
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3620
|
-
* @version
|
|
3622
|
+
* @version 133.0.0
|
|
3621
3623
|
*/
|
|
3622
3624
|
|
|
3623
3625
|
/**
|
|
@@ -4118,6 +4120,26 @@ class AnalyticsApi {
|
|
|
4118
4120
|
);
|
|
4119
4121
|
}
|
|
4120
4122
|
|
|
4123
|
+
/**
|
|
4124
|
+
* Get AnalyticsReportingSettings for an organization
|
|
4125
|
+
*
|
|
4126
|
+
*/
|
|
4127
|
+
getAnalyticsReportingSettings() {
|
|
4128
|
+
|
|
4129
|
+
return this.apiClient.callApi(
|
|
4130
|
+
'/api/v2/analytics/reporting/settings',
|
|
4131
|
+
'GET',
|
|
4132
|
+
{ },
|
|
4133
|
+
{ },
|
|
4134
|
+
{ },
|
|
4135
|
+
{ },
|
|
4136
|
+
null,
|
|
4137
|
+
['PureCloud OAuth'],
|
|
4138
|
+
['application/json'],
|
|
4139
|
+
['application/json']
|
|
4140
|
+
);
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4121
4143
|
/**
|
|
4122
4144
|
* Get a list of report time periods.
|
|
4123
4145
|
*
|
|
@@ -4213,6 +4235,31 @@ class AnalyticsApi {
|
|
|
4213
4235
|
);
|
|
4214
4236
|
}
|
|
4215
4237
|
|
|
4238
|
+
/**
|
|
4239
|
+
* Patch AnalyticsReportingSettings values for an organization
|
|
4240
|
+
*
|
|
4241
|
+
* @param {Object} body AnalyticsReportingSettingsRequest
|
|
4242
|
+
*/
|
|
4243
|
+
patchAnalyticsReportingSettings(body) {
|
|
4244
|
+
// verify the required parameter 'body' is set
|
|
4245
|
+
if (body === undefined || body === null) {
|
|
4246
|
+
throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
return this.apiClient.callApi(
|
|
4250
|
+
'/api/v2/analytics/reporting/settings',
|
|
4251
|
+
'PATCH',
|
|
4252
|
+
{ },
|
|
4253
|
+
{ },
|
|
4254
|
+
{ },
|
|
4255
|
+
{ },
|
|
4256
|
+
body,
|
|
4257
|
+
['PureCloud OAuth'],
|
|
4258
|
+
['application/json'],
|
|
4259
|
+
['application/json']
|
|
4260
|
+
);
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4216
4263
|
/**
|
|
4217
4264
|
* Query for bot aggregates
|
|
4218
4265
|
*
|
|
@@ -4754,7 +4801,7 @@ class ArchitectApi {
|
|
|
4754
4801
|
/**
|
|
4755
4802
|
* Architect service.
|
|
4756
4803
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4757
|
-
* @version
|
|
4804
|
+
* @version 133.0.0
|
|
4758
4805
|
*/
|
|
4759
4806
|
|
|
4760
4807
|
/**
|
|
@@ -7750,7 +7797,7 @@ class AuditApi {
|
|
|
7750
7797
|
/**
|
|
7751
7798
|
* Audit service.
|
|
7752
7799
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7753
|
-
* @version
|
|
7800
|
+
* @version 133.0.0
|
|
7754
7801
|
*/
|
|
7755
7802
|
|
|
7756
7803
|
/**
|
|
@@ -7921,7 +7968,7 @@ class AuthorizationApi {
|
|
|
7921
7968
|
/**
|
|
7922
7969
|
* Authorization service.
|
|
7923
7970
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
7924
|
-
* @version
|
|
7971
|
+
* @version 133.0.0
|
|
7925
7972
|
*/
|
|
7926
7973
|
|
|
7927
7974
|
/**
|
|
@@ -9104,7 +9151,7 @@ class BillingApi {
|
|
|
9104
9151
|
/**
|
|
9105
9152
|
* Billing service.
|
|
9106
9153
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9107
|
-
* @version
|
|
9154
|
+
* @version 133.0.0
|
|
9108
9155
|
*/
|
|
9109
9156
|
|
|
9110
9157
|
/**
|
|
@@ -9184,7 +9231,7 @@ class ChatApi {
|
|
|
9184
9231
|
/**
|
|
9185
9232
|
* Chat service.
|
|
9186
9233
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9187
|
-
* @version
|
|
9234
|
+
* @version 133.0.0
|
|
9188
9235
|
*/
|
|
9189
9236
|
|
|
9190
9237
|
/**
|
|
@@ -9275,7 +9322,7 @@ class CoachingApi {
|
|
|
9275
9322
|
/**
|
|
9276
9323
|
* Coaching service.
|
|
9277
9324
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9278
|
-
* @version
|
|
9325
|
+
* @version 133.0.0
|
|
9279
9326
|
*/
|
|
9280
9327
|
|
|
9281
9328
|
/**
|
|
@@ -9852,7 +9899,7 @@ class ContentManagementApi {
|
|
|
9852
9899
|
/**
|
|
9853
9900
|
* ContentManagement service.
|
|
9854
9901
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9855
|
-
* @version
|
|
9902
|
+
* @version 133.0.0
|
|
9856
9903
|
*/
|
|
9857
9904
|
|
|
9858
9905
|
/**
|
|
@@ -10992,7 +11039,7 @@ class ConversationsApi {
|
|
|
10992
11039
|
/**
|
|
10993
11040
|
* Conversations service.
|
|
10994
11041
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10995
|
-
* @version
|
|
11042
|
+
* @version 133.0.0
|
|
10996
11043
|
*/
|
|
10997
11044
|
|
|
10998
11045
|
/**
|
|
@@ -12323,6 +12370,31 @@ class ConversationsApi {
|
|
|
12323
12370
|
);
|
|
12324
12371
|
}
|
|
12325
12372
|
|
|
12373
|
+
/**
|
|
12374
|
+
* Get emails settings for a given conversation
|
|
12375
|
+
*
|
|
12376
|
+
* @param {String} conversationId conversationId
|
|
12377
|
+
*/
|
|
12378
|
+
getConversationsEmailSettings(conversationId) {
|
|
12379
|
+
// verify the required parameter 'conversationId' is set
|
|
12380
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12381
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';
|
|
12382
|
+
}
|
|
12383
|
+
|
|
12384
|
+
return this.apiClient.callApi(
|
|
12385
|
+
'/api/v2/conversations/emails/{conversationId}/settings',
|
|
12386
|
+
'GET',
|
|
12387
|
+
{ 'conversationId': conversationId },
|
|
12388
|
+
{ },
|
|
12389
|
+
{ },
|
|
12390
|
+
{ },
|
|
12391
|
+
null,
|
|
12392
|
+
['PureCloud OAuth'],
|
|
12393
|
+
['application/json'],
|
|
12394
|
+
['application/json']
|
|
12395
|
+
);
|
|
12396
|
+
}
|
|
12397
|
+
|
|
12326
12398
|
/**
|
|
12327
12399
|
* Get active email conversations for the logged in user
|
|
12328
12400
|
*
|
|
@@ -15142,7 +15214,7 @@ class ConversationsApi {
|
|
|
15142
15214
|
|
|
15143
15215
|
/**
|
|
15144
15216
|
* Send an agentless outbound message
|
|
15145
|
-
* Send an
|
|
15217
|
+
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
|
|
15146
15218
|
* @param {Object} body Create agentless outbound messaging request
|
|
15147
15219
|
*/
|
|
15148
15220
|
postConversationsMessagesAgentless(body) {
|
|
@@ -15556,7 +15628,7 @@ class DataExtensionsApi {
|
|
|
15556
15628
|
/**
|
|
15557
15629
|
* DataExtensions service.
|
|
15558
15630
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15559
|
-
* @version
|
|
15631
|
+
* @version 133.0.0
|
|
15560
15632
|
*/
|
|
15561
15633
|
|
|
15562
15634
|
/**
|
|
@@ -15642,7 +15714,7 @@ class ExternalContactsApi {
|
|
|
15642
15714
|
/**
|
|
15643
15715
|
* ExternalContacts service.
|
|
15644
15716
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15645
|
-
* @version
|
|
15717
|
+
* @version 133.0.0
|
|
15646
15718
|
*/
|
|
15647
15719
|
|
|
15648
15720
|
/**
|
|
@@ -17385,7 +17457,7 @@ class FaxApi {
|
|
|
17385
17457
|
/**
|
|
17386
17458
|
* Fax service.
|
|
17387
17459
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17388
|
-
* @version
|
|
17460
|
+
* @version 133.0.0
|
|
17389
17461
|
*/
|
|
17390
17462
|
|
|
17391
17463
|
/**
|
|
@@ -17556,7 +17628,7 @@ class FlowsApi {
|
|
|
17556
17628
|
/**
|
|
17557
17629
|
* Flows service.
|
|
17558
17630
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17559
|
-
* @version
|
|
17631
|
+
* @version 133.0.0
|
|
17560
17632
|
*/
|
|
17561
17633
|
|
|
17562
17634
|
/**
|
|
@@ -17627,7 +17699,7 @@ class GamificationApi {
|
|
|
17627
17699
|
/**
|
|
17628
17700
|
* Gamification service.
|
|
17629
17701
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17630
|
-
* @version
|
|
17702
|
+
* @version 133.0.0
|
|
17631
17703
|
*/
|
|
17632
17704
|
|
|
17633
17705
|
/**
|
|
@@ -18903,8 +18975,12 @@ class GamificationApi {
|
|
|
18903
18975
|
* Create a new custom performance profile
|
|
18904
18976
|
*
|
|
18905
18977
|
* @param {Object} body performanceProfile
|
|
18978
|
+
* @param {Object} opts Optional parameters
|
|
18979
|
+
* @param {Boolean} opts.copyMetrics Flag to copy metrics. If set to false, there will be no metrics associated with the new profile. If set to true or is absent (the default behavior), all metrics from the default profile will be copied over into the new profile. (default to true)
|
|
18906
18980
|
*/
|
|
18907
|
-
postGamificationProfiles(body) {
|
|
18981
|
+
postGamificationProfiles(body, opts) {
|
|
18982
|
+
opts = opts || {};
|
|
18983
|
+
|
|
18908
18984
|
// verify the required parameter 'body' is set
|
|
18909
18985
|
if (body === undefined || body === null) {
|
|
18910
18986
|
throw 'Missing the required parameter "body" when calling postGamificationProfiles';
|
|
@@ -18914,7 +18990,7 @@ class GamificationApi {
|
|
|
18914
18990
|
'/api/v2/gamification/profiles',
|
|
18915
18991
|
'POST',
|
|
18916
18992
|
{ },
|
|
18917
|
-
{
|
|
18993
|
+
{ 'copyMetrics': opts['copyMetrics'] },
|
|
18918
18994
|
{ },
|
|
18919
18995
|
{ },
|
|
18920
18996
|
body,
|
|
@@ -19053,7 +19129,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19053
19129
|
/**
|
|
19054
19130
|
* GeneralDataProtectionRegulation service.
|
|
19055
19131
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19056
|
-
* @version
|
|
19132
|
+
* @version 133.0.0
|
|
19057
19133
|
*/
|
|
19058
19134
|
|
|
19059
19135
|
/**
|
|
@@ -19183,7 +19259,7 @@ class GeolocationApi {
|
|
|
19183
19259
|
/**
|
|
19184
19260
|
* Geolocation service.
|
|
19185
19261
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19186
|
-
* @version
|
|
19262
|
+
* @version 133.0.0
|
|
19187
19263
|
*/
|
|
19188
19264
|
|
|
19189
19265
|
/**
|
|
@@ -19314,7 +19390,7 @@ class GreetingsApi {
|
|
|
19314
19390
|
/**
|
|
19315
19391
|
* Greetings service.
|
|
19316
19392
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19317
|
-
* @version
|
|
19393
|
+
* @version 133.0.0
|
|
19318
19394
|
*/
|
|
19319
19395
|
|
|
19320
19396
|
/**
|
|
@@ -19769,7 +19845,7 @@ class GroupsApi {
|
|
|
19769
19845
|
/**
|
|
19770
19846
|
* Groups service.
|
|
19771
19847
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19772
|
-
* @version
|
|
19848
|
+
* @version 133.0.0
|
|
19773
19849
|
*/
|
|
19774
19850
|
|
|
19775
19851
|
/**
|
|
@@ -20174,7 +20250,7 @@ class IdentityProviderApi {
|
|
|
20174
20250
|
/**
|
|
20175
20251
|
* IdentityProvider service.
|
|
20176
20252
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20177
|
-
* @version
|
|
20253
|
+
* @version 133.0.0
|
|
20178
20254
|
*/
|
|
20179
20255
|
|
|
20180
20256
|
/**
|
|
@@ -20930,7 +21006,7 @@ class IntegrationsApi {
|
|
|
20930
21006
|
/**
|
|
20931
21007
|
* Integrations service.
|
|
20932
21008
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20933
|
-
* @version
|
|
21009
|
+
* @version 133.0.0
|
|
20934
21010
|
*/
|
|
20935
21011
|
|
|
20936
21012
|
/**
|
|
@@ -22605,7 +22681,7 @@ class JourneyApi {
|
|
|
22605
22681
|
/**
|
|
22606
22682
|
* Journey service.
|
|
22607
22683
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22608
|
-
* @version
|
|
22684
|
+
* @version 133.0.0
|
|
22609
22685
|
*/
|
|
22610
22686
|
|
|
22611
22687
|
/**
|
|
@@ -23316,7 +23392,7 @@ class KnowledgeApi {
|
|
|
23316
23392
|
/**
|
|
23317
23393
|
* Knowledge service.
|
|
23318
23394
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
23319
|
-
* @version
|
|
23395
|
+
* @version 133.0.0
|
|
23320
23396
|
*/
|
|
23321
23397
|
|
|
23322
23398
|
/**
|
|
@@ -24216,7 +24292,7 @@ class LanguageUnderstandingApi {
|
|
|
24216
24292
|
/**
|
|
24217
24293
|
* LanguageUnderstanding service.
|
|
24218
24294
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24219
|
-
* @version
|
|
24295
|
+
* @version 133.0.0
|
|
24220
24296
|
*/
|
|
24221
24297
|
|
|
24222
24298
|
/**
|
|
@@ -24674,7 +24750,7 @@ class LanguageUnderstandingApi {
|
|
|
24674
24750
|
* @param {String} minerId Miner ID
|
|
24675
24751
|
* @param {String} intentId The ID of the intent to be retrieved.
|
|
24676
24752
|
* @param {Object} opts Optional parameters
|
|
24677
|
-
* @param {
|
|
24753
|
+
* @param {Object} opts.expand Option to fetch utterances
|
|
24678
24754
|
*/
|
|
24679
24755
|
getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
|
|
24680
24756
|
opts = opts || {};
|
|
@@ -24707,7 +24783,7 @@ class LanguageUnderstandingApi {
|
|
|
24707
24783
|
*
|
|
24708
24784
|
* @param {String} minerId Miner ID
|
|
24709
24785
|
* @param {Object} opts Optional parameters
|
|
24710
|
-
* @param {
|
|
24786
|
+
* @param {Object} opts.expand Option to fetch utterances.
|
|
24711
24787
|
*/
|
|
24712
24788
|
getLanguageunderstandingMinerIntents(minerId, opts) {
|
|
24713
24789
|
opts = opts || {};
|
|
@@ -25120,7 +25196,7 @@ class LanguagesApi {
|
|
|
25120
25196
|
/**
|
|
25121
25197
|
* Languages service.
|
|
25122
25198
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25123
|
-
* @version
|
|
25199
|
+
* @version 133.0.0
|
|
25124
25200
|
*/
|
|
25125
25201
|
|
|
25126
25202
|
/**
|
|
@@ -25388,7 +25464,7 @@ class LearningApi {
|
|
|
25388
25464
|
/**
|
|
25389
25465
|
* Learning service.
|
|
25390
25466
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
25391
|
-
* @version
|
|
25467
|
+
* @version 133.0.0
|
|
25392
25468
|
*/
|
|
25393
25469
|
|
|
25394
25470
|
/**
|
|
@@ -25979,7 +26055,7 @@ class LicenseApi {
|
|
|
25979
26055
|
/**
|
|
25980
26056
|
* License service.
|
|
25981
26057
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
25982
|
-
* @version
|
|
26058
|
+
* @version 133.0.0
|
|
25983
26059
|
*/
|
|
25984
26060
|
|
|
25985
26061
|
/**
|
|
@@ -26217,7 +26293,7 @@ class LocationsApi {
|
|
|
26217
26293
|
/**
|
|
26218
26294
|
* Locations service.
|
|
26219
26295
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
26220
|
-
* @version
|
|
26296
|
+
* @version 133.0.0
|
|
26221
26297
|
*/
|
|
26222
26298
|
|
|
26223
26299
|
/**
|
|
@@ -26453,7 +26529,7 @@ class MessagingApi {
|
|
|
26453
26529
|
/**
|
|
26454
26530
|
* Messaging service.
|
|
26455
26531
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
26456
|
-
* @version
|
|
26532
|
+
* @version 133.0.0
|
|
26457
26533
|
*/
|
|
26458
26534
|
|
|
26459
26535
|
/**
|
|
@@ -26604,7 +26680,7 @@ class MobileDevicesApi {
|
|
|
26604
26680
|
/**
|
|
26605
26681
|
* MobileDevices service.
|
|
26606
26682
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
26607
|
-
* @version
|
|
26683
|
+
* @version 133.0.0
|
|
26608
26684
|
*/
|
|
26609
26685
|
|
|
26610
26686
|
/**
|
|
@@ -26755,7 +26831,7 @@ class NotificationsApi {
|
|
|
26755
26831
|
/**
|
|
26756
26832
|
* Notifications service.
|
|
26757
26833
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
26758
|
-
* @version
|
|
26834
|
+
* @version 133.0.0
|
|
26759
26835
|
*/
|
|
26760
26836
|
|
|
26761
26837
|
/**
|
|
@@ -26980,7 +27056,7 @@ class OAuthApi {
|
|
|
26980
27056
|
/**
|
|
26981
27057
|
* OAuth service.
|
|
26982
27058
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
26983
|
-
* @version
|
|
27059
|
+
* @version 133.0.0
|
|
26984
27060
|
*/
|
|
26985
27061
|
|
|
26986
27062
|
/**
|
|
@@ -27338,7 +27414,7 @@ class ObjectsApi {
|
|
|
27338
27414
|
/**
|
|
27339
27415
|
* Objects service.
|
|
27340
27416
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
27341
|
-
* @version
|
|
27417
|
+
* @version 133.0.0
|
|
27342
27418
|
*/
|
|
27343
27419
|
|
|
27344
27420
|
/**
|
|
@@ -27609,7 +27685,7 @@ class OrganizationApi {
|
|
|
27609
27685
|
/**
|
|
27610
27686
|
* Organization service.
|
|
27611
27687
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
27612
|
-
* @version
|
|
27688
|
+
* @version 133.0.0
|
|
27613
27689
|
*/
|
|
27614
27690
|
|
|
27615
27691
|
/**
|
|
@@ -28012,7 +28088,7 @@ class OrganizationAuthorizationApi {
|
|
|
28012
28088
|
/**
|
|
28013
28089
|
* OrganizationAuthorization service.
|
|
28014
28090
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28015
|
-
* @version
|
|
28091
|
+
* @version 133.0.0
|
|
28016
28092
|
*/
|
|
28017
28093
|
|
|
28018
28094
|
/**
|
|
@@ -28937,7 +29013,7 @@ class OutboundApi {
|
|
|
28937
29013
|
/**
|
|
28938
29014
|
* Outbound service.
|
|
28939
29015
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
28940
|
-
* @version
|
|
29016
|
+
* @version 133.0.0
|
|
28941
29017
|
*/
|
|
28942
29018
|
|
|
28943
29019
|
/**
|
|
@@ -31322,8 +31398,12 @@ class OutboundApi {
|
|
|
31322
31398
|
* Only Internal DNC lists may be appended to
|
|
31323
31399
|
* @param {String} dncListId DncList ID
|
|
31324
31400
|
* @param {Array.<Object>} body DNC Phone Numbers
|
|
31401
|
+
* @param {Object} opts Optional parameters
|
|
31402
|
+
* @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
|
|
31325
31403
|
*/
|
|
31326
|
-
postOutboundDnclistPhonenumbers(dncListId, body) {
|
|
31404
|
+
postOutboundDnclistPhonenumbers(dncListId, body, opts) {
|
|
31405
|
+
opts = opts || {};
|
|
31406
|
+
|
|
31327
31407
|
// verify the required parameter 'dncListId' is set
|
|
31328
31408
|
if (dncListId === undefined || dncListId === null) {
|
|
31329
31409
|
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
|
|
@@ -31337,7 +31417,7 @@ class OutboundApi {
|
|
|
31337
31417
|
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
31338
31418
|
'POST',
|
|
31339
31419
|
{ 'dncListId': dncListId },
|
|
31340
|
-
{
|
|
31420
|
+
{ 'expirationDateTime': opts['expirationDateTime'] },
|
|
31341
31421
|
{ },
|
|
31342
31422
|
{ },
|
|
31343
31423
|
body,
|
|
@@ -31963,7 +32043,7 @@ class PresenceApi {
|
|
|
31963
32043
|
/**
|
|
31964
32044
|
* Presence service.
|
|
31965
32045
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31966
|
-
* @version
|
|
32046
|
+
* @version 133.0.0
|
|
31967
32047
|
*/
|
|
31968
32048
|
|
|
31969
32049
|
/**
|
|
@@ -32335,7 +32415,7 @@ class QualityApi {
|
|
|
32335
32415
|
/**
|
|
32336
32416
|
* Quality service.
|
|
32337
32417
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
32338
|
-
* @version
|
|
32418
|
+
* @version 133.0.0
|
|
32339
32419
|
*/
|
|
32340
32420
|
|
|
32341
32421
|
/**
|
|
@@ -32386,7 +32466,7 @@ class QualityApi {
|
|
|
32386
32466
|
* @param {String} conversationId conversationId
|
|
32387
32467
|
* @param {String} evaluationId evaluationId
|
|
32388
32468
|
* @param {Object} opts Optional parameters
|
|
32389
|
-
* @param {String} opts.expand evaluatorId
|
|
32469
|
+
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
32390
32470
|
*/
|
|
32391
32471
|
deleteQualityConversationEvaluation(conversationId, evaluationId, opts) {
|
|
32392
32472
|
opts = opts || {};
|
|
@@ -32491,7 +32571,7 @@ class QualityApi {
|
|
|
32491
32571
|
|
|
32492
32572
|
/**
|
|
32493
32573
|
* Gets a list of Agent Activities
|
|
32494
|
-
*
|
|
32574
|
+
* Each item on the list shows one agent's evaluation activity comprised of the number of evaluations and the highest, average, and lowest standard and critical scores, as well as a sub list showing the number and average score of evaluations for each evaluator for that agent. evaluatorUserId, startTime, and endTime are all filtering criteria. If specified, the only evaluations used to compile the agent activity response will be ones that match the filtering criteria. agentUserId, name, group, and agentTeamId are all agent selection criteria. criteria. If one or more agent selection criteria are specified, then the returned activity will include users that match the criteria even if those users did not have any agent activity or evaluations that do not match any filtering criteria. If no agent selection criteria are specified but an evaluatorUserId is, then the returned activity will be only for those agents that had evaluations where the evaluator is the evaluatorUserId. If no agent selection criteria are specified and no evaluatorUserId is specified, then the returned activity will be for all users
|
|
32495
32575
|
* @param {Object} opts Optional parameters
|
|
32496
32576
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
32497
32577
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -32954,6 +33034,31 @@ class QualityApi {
|
|
|
32954
33034
|
);
|
|
32955
33035
|
}
|
|
32956
33036
|
|
|
33037
|
+
/**
|
|
33038
|
+
* Retrieve a list of the latest published evaluation form versions by context ids
|
|
33039
|
+
*
|
|
33040
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
|
|
33041
|
+
*/
|
|
33042
|
+
getQualityFormsEvaluationsBulkContexts(contextId) {
|
|
33043
|
+
// verify the required parameter 'contextId' is set
|
|
33044
|
+
if (contextId === undefined || contextId === null) {
|
|
33045
|
+
throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
|
|
33046
|
+
}
|
|
33047
|
+
|
|
33048
|
+
return this.apiClient.callApi(
|
|
33049
|
+
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
33050
|
+
'GET',
|
|
33051
|
+
{ },
|
|
33052
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
33053
|
+
{ },
|
|
33054
|
+
{ },
|
|
33055
|
+
null,
|
|
33056
|
+
['PureCloud OAuth'],
|
|
33057
|
+
['application/json'],
|
|
33058
|
+
['application/json']
|
|
33059
|
+
);
|
|
33060
|
+
}
|
|
33061
|
+
|
|
32957
33062
|
/**
|
|
32958
33063
|
* Get a survey form
|
|
32959
33064
|
*
|
|
@@ -33468,6 +33573,31 @@ class QualityApi {
|
|
|
33468
33573
|
);
|
|
33469
33574
|
}
|
|
33470
33575
|
|
|
33576
|
+
/**
|
|
33577
|
+
* Query for evaluation aggregates for the current user
|
|
33578
|
+
*
|
|
33579
|
+
* @param {Object} body query
|
|
33580
|
+
*/
|
|
33581
|
+
postQualityEvaluationsAggregatesQueryMe(body) {
|
|
33582
|
+
// verify the required parameter 'body' is set
|
|
33583
|
+
if (body === undefined || body === null) {
|
|
33584
|
+
throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
|
|
33585
|
+
}
|
|
33586
|
+
|
|
33587
|
+
return this.apiClient.callApi(
|
|
33588
|
+
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
33589
|
+
'POST',
|
|
33590
|
+
{ },
|
|
33591
|
+
{ },
|
|
33592
|
+
{ },
|
|
33593
|
+
{ },
|
|
33594
|
+
body,
|
|
33595
|
+
['PureCloud OAuth'],
|
|
33596
|
+
['application/json'],
|
|
33597
|
+
['application/json']
|
|
33598
|
+
);
|
|
33599
|
+
}
|
|
33600
|
+
|
|
33471
33601
|
/**
|
|
33472
33602
|
* Score evaluation
|
|
33473
33603
|
*
|
|
@@ -33705,7 +33835,7 @@ class QualityApi {
|
|
|
33705
33835
|
* @param {String} evaluationId evaluationId
|
|
33706
33836
|
* @param {Object} body evaluation
|
|
33707
33837
|
* @param {Object} opts Optional parameters
|
|
33708
|
-
* @param {String} opts.expand evaluatorId
|
|
33838
|
+
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
33709
33839
|
*/
|
|
33710
33840
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
33711
33841
|
opts = opts || {};
|
|
@@ -33863,7 +33993,7 @@ class RecordingApi {
|
|
|
33863
33993
|
/**
|
|
33864
33994
|
* Recording service.
|
|
33865
33995
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33866
|
-
* @version
|
|
33996
|
+
* @version 133.0.0
|
|
33867
33997
|
*/
|
|
33868
33998
|
|
|
33869
33999
|
/**
|
|
@@ -34076,6 +34206,7 @@ class RecordingApi {
|
|
|
34076
34206
|
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
34077
34207
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
34078
34208
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
34209
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
34079
34210
|
*/
|
|
34080
34211
|
getConversationRecording(conversationId, recordingId, opts) {
|
|
34081
34212
|
opts = opts || {};
|
|
@@ -34093,7 +34224,7 @@ class RecordingApi {
|
|
|
34093
34224
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
34094
34225
|
'GET',
|
|
34095
34226
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
34096
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
34227
|
+
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
34097
34228
|
{ },
|
|
34098
34229
|
{ },
|
|
34099
34230
|
null,
|
|
@@ -34229,7 +34360,8 @@ class RecordingApi {
|
|
|
34229
34360
|
* @param {String} conversationId Conversation ID
|
|
34230
34361
|
* @param {Object} opts Optional parameters
|
|
34231
34362
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
34232
|
-
* @param {Object} opts.formatId The desired media format
|
|
34363
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
34364
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
34233
34365
|
*/
|
|
34234
34366
|
getConversationRecordings(conversationId, opts) {
|
|
34235
34367
|
opts = opts || {};
|
|
@@ -34243,7 +34375,7 @@ class RecordingApi {
|
|
|
34243
34375
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
34244
34376
|
'GET',
|
|
34245
34377
|
{ 'conversationId': conversationId },
|
|
34246
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
|
|
34378
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
34247
34379
|
{ },
|
|
34248
34380
|
{ },
|
|
34249
34381
|
null,
|
|
@@ -34290,6 +34422,7 @@ class RecordingApi {
|
|
|
34290
34422
|
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
34291
34423
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
34292
34424
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
34425
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
34293
34426
|
*/
|
|
34294
34427
|
getOrphanrecordingMedia(orphanId, opts) {
|
|
34295
34428
|
opts = opts || {};
|
|
@@ -34303,7 +34436,7 @@ class RecordingApi {
|
|
|
34303
34436
|
'/api/v2/orphanrecordings/{orphanId}/media',
|
|
34304
34437
|
'GET',
|
|
34305
34438
|
{ 'orphanId': orphanId },
|
|
34306
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
34439
|
+
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
34307
34440
|
{ },
|
|
34308
34441
|
{ },
|
|
34309
34442
|
null,
|
|
@@ -35386,7 +35519,7 @@ class ResponseManagementApi {
|
|
|
35386
35519
|
/**
|
|
35387
35520
|
* ResponseManagement service.
|
|
35388
35521
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
35389
|
-
* @version
|
|
35522
|
+
* @version 133.0.0
|
|
35390
35523
|
*/
|
|
35391
35524
|
|
|
35392
35525
|
/**
|
|
@@ -35711,7 +35844,7 @@ class RoutingApi {
|
|
|
35711
35844
|
/**
|
|
35712
35845
|
* Routing service.
|
|
35713
35846
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35714
|
-
* @version
|
|
35847
|
+
* @version 133.0.0
|
|
35715
35848
|
*/
|
|
35716
35849
|
|
|
35717
35850
|
/**
|
|
@@ -38634,7 +38767,7 @@ class SCIMApi {
|
|
|
38634
38767
|
/**
|
|
38635
38768
|
* SCIM service.
|
|
38636
38769
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38637
|
-
* @version
|
|
38770
|
+
* @version 133.0.0
|
|
38638
38771
|
*/
|
|
38639
38772
|
|
|
38640
38773
|
/**
|
|
@@ -39511,7 +39644,7 @@ class ScriptsApi {
|
|
|
39511
39644
|
/**
|
|
39512
39645
|
* Scripts service.
|
|
39513
39646
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
39514
|
-
* @version
|
|
39647
|
+
* @version 133.0.0
|
|
39515
39648
|
*/
|
|
39516
39649
|
|
|
39517
39650
|
/**
|
|
@@ -39864,7 +39997,7 @@ class SearchApi {
|
|
|
39864
39997
|
/**
|
|
39865
39998
|
* Search service.
|
|
39866
39999
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39867
|
-
* @version
|
|
40000
|
+
* @version 133.0.0
|
|
39868
40001
|
*/
|
|
39869
40002
|
|
|
39870
40003
|
/**
|
|
@@ -40399,7 +40532,7 @@ class SpeechTextAnalyticsApi {
|
|
|
40399
40532
|
/**
|
|
40400
40533
|
* SpeechTextAnalytics service.
|
|
40401
40534
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
40402
|
-
* @version
|
|
40535
|
+
* @version 133.0.0
|
|
40403
40536
|
*/
|
|
40404
40537
|
|
|
40405
40538
|
/**
|
|
@@ -41252,7 +41385,7 @@ class StationsApi {
|
|
|
41252
41385
|
/**
|
|
41253
41386
|
* Stations service.
|
|
41254
41387
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
41255
|
-
* @version
|
|
41388
|
+
* @version 133.0.0
|
|
41256
41389
|
*/
|
|
41257
41390
|
|
|
41258
41391
|
/**
|
|
@@ -41399,7 +41532,7 @@ class SuggestApi {
|
|
|
41399
41532
|
/**
|
|
41400
41533
|
* Suggest service.
|
|
41401
41534
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
41402
|
-
* @version
|
|
41535
|
+
* @version 133.0.0
|
|
41403
41536
|
*/
|
|
41404
41537
|
|
|
41405
41538
|
/**
|
|
@@ -41538,7 +41671,7 @@ class TelephonyApi {
|
|
|
41538
41671
|
/**
|
|
41539
41672
|
* Telephony service.
|
|
41540
41673
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41541
|
-
* @version
|
|
41674
|
+
* @version 133.0.0
|
|
41542
41675
|
*/
|
|
41543
41676
|
|
|
41544
41677
|
/**
|
|
@@ -41646,7 +41779,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
41646
41779
|
/**
|
|
41647
41780
|
* TelephonyProvidersEdge service.
|
|
41648
41781
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41649
|
-
* @version
|
|
41782
|
+
* @version 133.0.0
|
|
41650
41783
|
*/
|
|
41651
41784
|
|
|
41652
41785
|
/**
|
|
@@ -43060,7 +43193,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
43060
43193
|
* @param {Object} opts Optional parameters
|
|
43061
43194
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
43062
43195
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
43063
|
-
* @param {String} opts.sortBy Sort by
|
|
43196
|
+
* @param {String} opts.sortBy Sort by
|
|
43064
43197
|
* @param {String} opts._number Number
|
|
43065
43198
|
*/
|
|
43066
43199
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
@@ -45279,7 +45412,7 @@ class TextbotsApi {
|
|
|
45279
45412
|
/**
|
|
45280
45413
|
* Textbots service.
|
|
45281
45414
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
45282
|
-
* @version
|
|
45415
|
+
* @version 133.0.0
|
|
45283
45416
|
*/
|
|
45284
45417
|
|
|
45285
45418
|
/**
|
|
@@ -45407,7 +45540,7 @@ class TokensApi {
|
|
|
45407
45540
|
/**
|
|
45408
45541
|
* Tokens service.
|
|
45409
45542
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
45410
|
-
* @version
|
|
45543
|
+
* @version 133.0.0
|
|
45411
45544
|
*/
|
|
45412
45545
|
|
|
45413
45546
|
/**
|
|
@@ -45513,7 +45646,7 @@ class UploadsApi {
|
|
|
45513
45646
|
/**
|
|
45514
45647
|
* Uploads service.
|
|
45515
45648
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
45516
|
-
* @version
|
|
45649
|
+
* @version 133.0.0
|
|
45517
45650
|
*/
|
|
45518
45651
|
|
|
45519
45652
|
/**
|
|
@@ -45689,7 +45822,7 @@ class UsageApi {
|
|
|
45689
45822
|
/**
|
|
45690
45823
|
* Usage service.
|
|
45691
45824
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45692
|
-
* @version
|
|
45825
|
+
* @version 133.0.0
|
|
45693
45826
|
*/
|
|
45694
45827
|
|
|
45695
45828
|
/**
|
|
@@ -45760,7 +45893,7 @@ class UserRecordingsApi {
|
|
|
45760
45893
|
/**
|
|
45761
45894
|
* UserRecordings service.
|
|
45762
45895
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45763
|
-
* @version
|
|
45896
|
+
* @version 133.0.0
|
|
45764
45897
|
*/
|
|
45765
45898
|
|
|
45766
45899
|
/**
|
|
@@ -45944,7 +46077,7 @@ class UsersApi {
|
|
|
45944
46077
|
/**
|
|
45945
46078
|
* Users service.
|
|
45946
46079
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45947
|
-
* @version
|
|
46080
|
+
* @version 133.0.0
|
|
45948
46081
|
*/
|
|
45949
46082
|
|
|
45950
46083
|
/**
|
|
@@ -48246,7 +48379,7 @@ class UtilitiesApi {
|
|
|
48246
48379
|
/**
|
|
48247
48380
|
* Utilities service.
|
|
48248
48381
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
48249
|
-
* @version
|
|
48382
|
+
* @version 133.0.0
|
|
48250
48383
|
*/
|
|
48251
48384
|
|
|
48252
48385
|
/**
|
|
@@ -48357,7 +48490,7 @@ class VoicemailApi {
|
|
|
48357
48490
|
/**
|
|
48358
48491
|
* Voicemail service.
|
|
48359
48492
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
48360
|
-
* @version
|
|
48493
|
+
* @version 133.0.0
|
|
48361
48494
|
*/
|
|
48362
48495
|
|
|
48363
48496
|
/**
|
|
@@ -49024,7 +49157,7 @@ class WebChatApi {
|
|
|
49024
49157
|
/**
|
|
49025
49158
|
* WebChat service.
|
|
49026
49159
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
49027
|
-
* @version
|
|
49160
|
+
* @version 133.0.0
|
|
49028
49161
|
*/
|
|
49029
49162
|
|
|
49030
49163
|
/**
|
|
@@ -49568,7 +49701,7 @@ class WebDeploymentsApi {
|
|
|
49568
49701
|
/**
|
|
49569
49702
|
* WebDeployments service.
|
|
49570
49703
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49571
|
-
* @version
|
|
49704
|
+
* @version 133.0.0
|
|
49572
49705
|
*/
|
|
49573
49706
|
|
|
49574
49707
|
/**
|
|
@@ -49923,7 +50056,7 @@ class WebMessagingApi {
|
|
|
49923
50056
|
/**
|
|
49924
50057
|
* WebMessaging service.
|
|
49925
50058
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49926
|
-
* @version
|
|
50059
|
+
* @version 133.0.0
|
|
49927
50060
|
*/
|
|
49928
50061
|
|
|
49929
50062
|
/**
|
|
@@ -49969,7 +50102,7 @@ class WidgetsApi {
|
|
|
49969
50102
|
/**
|
|
49970
50103
|
* Widgets service.
|
|
49971
50104
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49972
|
-
* @version
|
|
50105
|
+
* @version 133.0.0
|
|
49973
50106
|
*/
|
|
49974
50107
|
|
|
49975
50108
|
/**
|
|
@@ -50115,7 +50248,7 @@ class WorkforceManagementApi {
|
|
|
50115
50248
|
/**
|
|
50116
50249
|
* WorkforceManagement service.
|
|
50117
50250
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
50118
|
-
* @version
|
|
50251
|
+
* @version 133.0.0
|
|
50119
50252
|
*/
|
|
50120
50253
|
|
|
50121
50254
|
/**
|
|
@@ -52216,7 +52349,7 @@ class WorkforceManagementApi {
|
|
|
52216
52349
|
|
|
52217
52350
|
/**
|
|
52218
52351
|
* Get a list of notifications for the current user
|
|
52219
|
-
*
|
|
52352
|
+
* Notifications are only initially sent if you have the relevant Notify and Edit permissions
|
|
52220
52353
|
*/
|
|
52221
52354
|
getWorkforcemanagementNotifications() {
|
|
52222
52355
|
|
|
@@ -54146,7 +54279,7 @@ class WorkforceManagementApi {
|
|
|
54146
54279
|
* </pre>
|
|
54147
54280
|
* </p>
|
|
54148
54281
|
* @module purecloud-platform-client-v2/index
|
|
54149
|
-
* @version
|
|
54282
|
+
* @version 133.0.0
|
|
54150
54283
|
*/
|
|
54151
54284
|
class platformClient {
|
|
54152
54285
|
constructor() {
|