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
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
define(['superagent'], function (superagent) { 'use strict';
|
|
1
|
+
define(['superagent'], (function (superagent) { 'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
4
|
+
|
|
5
|
+
var superagent__default = /*#__PURE__*/_interopDefaultLegacy(superagent);
|
|
4
6
|
|
|
5
7
|
var PureCloudRegionHosts = {
|
|
6
8
|
us_east_1: 'mypurecloud.com',
|
|
@@ -391,7 +393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
391
393
|
|
|
392
394
|
/**
|
|
393
395
|
* @module purecloud-platform-client-v2/ApiClient
|
|
394
|
-
* @version
|
|
396
|
+
* @version 133.0.0
|
|
395
397
|
*/
|
|
396
398
|
class ApiClient {
|
|
397
399
|
/**
|
|
@@ -495,7 +497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
495
497
|
this.settingsPrefix = 'purecloud';
|
|
496
498
|
|
|
497
499
|
// Expose superagent module for use with superagent-proxy
|
|
498
|
-
this.superagent =
|
|
500
|
+
this.superagent = superagent__default["default"];
|
|
499
501
|
|
|
500
502
|
// Transparently request a new access token when it expires (Code Authorization only)
|
|
501
503
|
this.refreshInProgress = false;
|
|
@@ -666,7 +668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
666
668
|
}
|
|
667
669
|
|
|
668
670
|
// Build token request
|
|
669
|
-
var request =
|
|
671
|
+
var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
|
|
670
672
|
if (this.proxy && request.proxy) {
|
|
671
673
|
request.proxy(this.proxy);
|
|
672
674
|
}
|
|
@@ -922,7 +924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
922
924
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
923
925
|
*/
|
|
924
926
|
_formAuthRequest(encodedData) {
|
|
925
|
-
var request =
|
|
927
|
+
var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
|
|
926
928
|
// Set the headers
|
|
927
929
|
request.set('Authorization', 'Basic ' + encodedData);
|
|
928
930
|
request.set('Content-Type', 'application/x-www-form-urlencoded');
|
|
@@ -1324,7 +1326,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1324
1326
|
sendRequest(this);
|
|
1325
1327
|
function sendRequest(that) {
|
|
1326
1328
|
var url = that.buildUrl(path, pathParams);
|
|
1327
|
-
var request =
|
|
1329
|
+
var request = superagent__default["default"](httpMethod, url);
|
|
1328
1330
|
|
|
1329
1331
|
if (that.proxy && request.proxy) {
|
|
1330
1332
|
request.proxy(that.proxy);
|
|
@@ -1338,7 +1340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1338
1340
|
|
|
1339
1341
|
// set header parameters
|
|
1340
1342
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
1341
|
-
//request.set({ 'purecloud-sdk': '
|
|
1343
|
+
//request.set({ 'purecloud-sdk': '133.0.0' });
|
|
1342
1344
|
|
|
1343
1345
|
// set request timeout
|
|
1344
1346
|
request.timeout(that.timeout);
|
|
@@ -1438,7 +1440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1438
1440
|
/**
|
|
1439
1441
|
* Alerting service.
|
|
1440
1442
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1441
|
-
* @version
|
|
1443
|
+
* @version 133.0.0
|
|
1442
1444
|
*/
|
|
1443
1445
|
|
|
1444
1446
|
/**
|
|
@@ -1752,7 +1754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1752
1754
|
/**
|
|
1753
1755
|
* Analytics service.
|
|
1754
1756
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1755
|
-
* @version
|
|
1757
|
+
* @version 133.0.0
|
|
1756
1758
|
*/
|
|
1757
1759
|
|
|
1758
1760
|
/**
|
|
@@ -2253,6 +2255,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2253
2255
|
);
|
|
2254
2256
|
}
|
|
2255
2257
|
|
|
2258
|
+
/**
|
|
2259
|
+
* Get AnalyticsReportingSettings for an organization
|
|
2260
|
+
*
|
|
2261
|
+
*/
|
|
2262
|
+
getAnalyticsReportingSettings() {
|
|
2263
|
+
|
|
2264
|
+
return this.apiClient.callApi(
|
|
2265
|
+
'/api/v2/analytics/reporting/settings',
|
|
2266
|
+
'GET',
|
|
2267
|
+
{ },
|
|
2268
|
+
{ },
|
|
2269
|
+
{ },
|
|
2270
|
+
{ },
|
|
2271
|
+
null,
|
|
2272
|
+
['PureCloud OAuth'],
|
|
2273
|
+
['application/json'],
|
|
2274
|
+
['application/json']
|
|
2275
|
+
);
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2256
2278
|
/**
|
|
2257
2279
|
* Get a list of report time periods.
|
|
2258
2280
|
*
|
|
@@ -2348,6 +2370,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2348
2370
|
);
|
|
2349
2371
|
}
|
|
2350
2372
|
|
|
2373
|
+
/**
|
|
2374
|
+
* Patch AnalyticsReportingSettings values for an organization
|
|
2375
|
+
*
|
|
2376
|
+
* @param {Object} body AnalyticsReportingSettingsRequest
|
|
2377
|
+
*/
|
|
2378
|
+
patchAnalyticsReportingSettings(body) {
|
|
2379
|
+
// verify the required parameter 'body' is set
|
|
2380
|
+
if (body === undefined || body === null) {
|
|
2381
|
+
throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
return this.apiClient.callApi(
|
|
2385
|
+
'/api/v2/analytics/reporting/settings',
|
|
2386
|
+
'PATCH',
|
|
2387
|
+
{ },
|
|
2388
|
+
{ },
|
|
2389
|
+
{ },
|
|
2390
|
+
{ },
|
|
2391
|
+
body,
|
|
2392
|
+
['PureCloud OAuth'],
|
|
2393
|
+
['application/json'],
|
|
2394
|
+
['application/json']
|
|
2395
|
+
);
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2351
2398
|
/**
|
|
2352
2399
|
* Query for bot aggregates
|
|
2353
2400
|
*
|
|
@@ -2889,7 +2936,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2889
2936
|
/**
|
|
2890
2937
|
* Architect service.
|
|
2891
2938
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2892
|
-
* @version
|
|
2939
|
+
* @version 133.0.0
|
|
2893
2940
|
*/
|
|
2894
2941
|
|
|
2895
2942
|
/**
|
|
@@ -5885,7 +5932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5885
5932
|
/**
|
|
5886
5933
|
* Audit service.
|
|
5887
5934
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5888
|
-
* @version
|
|
5935
|
+
* @version 133.0.0
|
|
5889
5936
|
*/
|
|
5890
5937
|
|
|
5891
5938
|
/**
|
|
@@ -6056,7 +6103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6056
6103
|
/**
|
|
6057
6104
|
* Authorization service.
|
|
6058
6105
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6059
|
-
* @version
|
|
6106
|
+
* @version 133.0.0
|
|
6060
6107
|
*/
|
|
6061
6108
|
|
|
6062
6109
|
/**
|
|
@@ -7239,7 +7286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7239
7286
|
/**
|
|
7240
7287
|
* Billing service.
|
|
7241
7288
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7242
|
-
* @version
|
|
7289
|
+
* @version 133.0.0
|
|
7243
7290
|
*/
|
|
7244
7291
|
|
|
7245
7292
|
/**
|
|
@@ -7319,7 +7366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7319
7366
|
/**
|
|
7320
7367
|
* Chat service.
|
|
7321
7368
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7322
|
-
* @version
|
|
7369
|
+
* @version 133.0.0
|
|
7323
7370
|
*/
|
|
7324
7371
|
|
|
7325
7372
|
/**
|
|
@@ -7410,7 +7457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7410
7457
|
/**
|
|
7411
7458
|
* Coaching service.
|
|
7412
7459
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7413
|
-
* @version
|
|
7460
|
+
* @version 133.0.0
|
|
7414
7461
|
*/
|
|
7415
7462
|
|
|
7416
7463
|
/**
|
|
@@ -7987,7 +8034,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7987
8034
|
/**
|
|
7988
8035
|
* ContentManagement service.
|
|
7989
8036
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
7990
|
-
* @version
|
|
8037
|
+
* @version 133.0.0
|
|
7991
8038
|
*/
|
|
7992
8039
|
|
|
7993
8040
|
/**
|
|
@@ -9127,7 +9174,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9127
9174
|
/**
|
|
9128
9175
|
* Conversations service.
|
|
9129
9176
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9130
|
-
* @version
|
|
9177
|
+
* @version 133.0.0
|
|
9131
9178
|
*/
|
|
9132
9179
|
|
|
9133
9180
|
/**
|
|
@@ -10458,6 +10505,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10458
10505
|
);
|
|
10459
10506
|
}
|
|
10460
10507
|
|
|
10508
|
+
/**
|
|
10509
|
+
* Get emails settings for a given conversation
|
|
10510
|
+
*
|
|
10511
|
+
* @param {String} conversationId conversationId
|
|
10512
|
+
*/
|
|
10513
|
+
getConversationsEmailSettings(conversationId) {
|
|
10514
|
+
// verify the required parameter 'conversationId' is set
|
|
10515
|
+
if (conversationId === undefined || conversationId === null) {
|
|
10516
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';
|
|
10517
|
+
}
|
|
10518
|
+
|
|
10519
|
+
return this.apiClient.callApi(
|
|
10520
|
+
'/api/v2/conversations/emails/{conversationId}/settings',
|
|
10521
|
+
'GET',
|
|
10522
|
+
{ 'conversationId': conversationId },
|
|
10523
|
+
{ },
|
|
10524
|
+
{ },
|
|
10525
|
+
{ },
|
|
10526
|
+
null,
|
|
10527
|
+
['PureCloud OAuth'],
|
|
10528
|
+
['application/json'],
|
|
10529
|
+
['application/json']
|
|
10530
|
+
);
|
|
10531
|
+
}
|
|
10532
|
+
|
|
10461
10533
|
/**
|
|
10462
10534
|
* Get active email conversations for the logged in user
|
|
10463
10535
|
*
|
|
@@ -13277,7 +13349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13277
13349
|
|
|
13278
13350
|
/**
|
|
13279
13351
|
* Send an agentless outbound message
|
|
13280
|
-
* Send an
|
|
13352
|
+
* 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.
|
|
13281
13353
|
* @param {Object} body Create agentless outbound messaging request
|
|
13282
13354
|
*/
|
|
13283
13355
|
postConversationsMessagesAgentless(body) {
|
|
@@ -13691,7 +13763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13691
13763
|
/**
|
|
13692
13764
|
* DataExtensions service.
|
|
13693
13765
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13694
|
-
* @version
|
|
13766
|
+
* @version 133.0.0
|
|
13695
13767
|
*/
|
|
13696
13768
|
|
|
13697
13769
|
/**
|
|
@@ -13777,7 +13849,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13777
13849
|
/**
|
|
13778
13850
|
* ExternalContacts service.
|
|
13779
13851
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13780
|
-
* @version
|
|
13852
|
+
* @version 133.0.0
|
|
13781
13853
|
*/
|
|
13782
13854
|
|
|
13783
13855
|
/**
|
|
@@ -15520,7 +15592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15520
15592
|
/**
|
|
15521
15593
|
* Fax service.
|
|
15522
15594
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15523
|
-
* @version
|
|
15595
|
+
* @version 133.0.0
|
|
15524
15596
|
*/
|
|
15525
15597
|
|
|
15526
15598
|
/**
|
|
@@ -15691,7 +15763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15691
15763
|
/**
|
|
15692
15764
|
* Flows service.
|
|
15693
15765
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15694
|
-
* @version
|
|
15766
|
+
* @version 133.0.0
|
|
15695
15767
|
*/
|
|
15696
15768
|
|
|
15697
15769
|
/**
|
|
@@ -15762,7 +15834,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15762
15834
|
/**
|
|
15763
15835
|
* Gamification service.
|
|
15764
15836
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15765
|
-
* @version
|
|
15837
|
+
* @version 133.0.0
|
|
15766
15838
|
*/
|
|
15767
15839
|
|
|
15768
15840
|
/**
|
|
@@ -17038,8 +17110,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17038
17110
|
* Create a new custom performance profile
|
|
17039
17111
|
*
|
|
17040
17112
|
* @param {Object} body performanceProfile
|
|
17113
|
+
* @param {Object} opts Optional parameters
|
|
17114
|
+
* @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)
|
|
17041
17115
|
*/
|
|
17042
|
-
postGamificationProfiles(body) {
|
|
17116
|
+
postGamificationProfiles(body, opts) {
|
|
17117
|
+
opts = opts || {};
|
|
17118
|
+
|
|
17043
17119
|
// verify the required parameter 'body' is set
|
|
17044
17120
|
if (body === undefined || body === null) {
|
|
17045
17121
|
throw 'Missing the required parameter "body" when calling postGamificationProfiles';
|
|
@@ -17049,7 +17125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17049
17125
|
'/api/v2/gamification/profiles',
|
|
17050
17126
|
'POST',
|
|
17051
17127
|
{ },
|
|
17052
|
-
{
|
|
17128
|
+
{ 'copyMetrics': opts['copyMetrics'] },
|
|
17053
17129
|
{ },
|
|
17054
17130
|
{ },
|
|
17055
17131
|
body,
|
|
@@ -17188,7 +17264,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17188
17264
|
/**
|
|
17189
17265
|
* GeneralDataProtectionRegulation service.
|
|
17190
17266
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17191
|
-
* @version
|
|
17267
|
+
* @version 133.0.0
|
|
17192
17268
|
*/
|
|
17193
17269
|
|
|
17194
17270
|
/**
|
|
@@ -17318,7 +17394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17318
17394
|
/**
|
|
17319
17395
|
* Geolocation service.
|
|
17320
17396
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17321
|
-
* @version
|
|
17397
|
+
* @version 133.0.0
|
|
17322
17398
|
*/
|
|
17323
17399
|
|
|
17324
17400
|
/**
|
|
@@ -17449,7 +17525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17449
17525
|
/**
|
|
17450
17526
|
* Greetings service.
|
|
17451
17527
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17452
|
-
* @version
|
|
17528
|
+
* @version 133.0.0
|
|
17453
17529
|
*/
|
|
17454
17530
|
|
|
17455
17531
|
/**
|
|
@@ -17904,7 +17980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17904
17980
|
/**
|
|
17905
17981
|
* Groups service.
|
|
17906
17982
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17907
|
-
* @version
|
|
17983
|
+
* @version 133.0.0
|
|
17908
17984
|
*/
|
|
17909
17985
|
|
|
17910
17986
|
/**
|
|
@@ -18309,7 +18385,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18309
18385
|
/**
|
|
18310
18386
|
* IdentityProvider service.
|
|
18311
18387
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18312
|
-
* @version
|
|
18388
|
+
* @version 133.0.0
|
|
18313
18389
|
*/
|
|
18314
18390
|
|
|
18315
18391
|
/**
|
|
@@ -19065,7 +19141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19065
19141
|
/**
|
|
19066
19142
|
* Integrations service.
|
|
19067
19143
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19068
|
-
* @version
|
|
19144
|
+
* @version 133.0.0
|
|
19069
19145
|
*/
|
|
19070
19146
|
|
|
19071
19147
|
/**
|
|
@@ -20740,7 +20816,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20740
20816
|
/**
|
|
20741
20817
|
* Journey service.
|
|
20742
20818
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20743
|
-
* @version
|
|
20819
|
+
* @version 133.0.0
|
|
20744
20820
|
*/
|
|
20745
20821
|
|
|
20746
20822
|
/**
|
|
@@ -21451,7 +21527,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21451
21527
|
/**
|
|
21452
21528
|
* Knowledge service.
|
|
21453
21529
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21454
|
-
* @version
|
|
21530
|
+
* @version 133.0.0
|
|
21455
21531
|
*/
|
|
21456
21532
|
|
|
21457
21533
|
/**
|
|
@@ -22351,7 +22427,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22351
22427
|
/**
|
|
22352
22428
|
* LanguageUnderstanding service.
|
|
22353
22429
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22354
|
-
* @version
|
|
22430
|
+
* @version 133.0.0
|
|
22355
22431
|
*/
|
|
22356
22432
|
|
|
22357
22433
|
/**
|
|
@@ -22809,7 +22885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22809
22885
|
* @param {String} minerId Miner ID
|
|
22810
22886
|
* @param {String} intentId The ID of the intent to be retrieved.
|
|
22811
22887
|
* @param {Object} opts Optional parameters
|
|
22812
|
-
* @param {
|
|
22888
|
+
* @param {Object} opts.expand Option to fetch utterances
|
|
22813
22889
|
*/
|
|
22814
22890
|
getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
|
|
22815
22891
|
opts = opts || {};
|
|
@@ -22842,7 +22918,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22842
22918
|
*
|
|
22843
22919
|
* @param {String} minerId Miner ID
|
|
22844
22920
|
* @param {Object} opts Optional parameters
|
|
22845
|
-
* @param {
|
|
22921
|
+
* @param {Object} opts.expand Option to fetch utterances.
|
|
22846
22922
|
*/
|
|
22847
22923
|
getLanguageunderstandingMinerIntents(minerId, opts) {
|
|
22848
22924
|
opts = opts || {};
|
|
@@ -23255,7 +23331,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23255
23331
|
/**
|
|
23256
23332
|
* Languages service.
|
|
23257
23333
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23258
|
-
* @version
|
|
23334
|
+
* @version 133.0.0
|
|
23259
23335
|
*/
|
|
23260
23336
|
|
|
23261
23337
|
/**
|
|
@@ -23523,7 +23599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23523
23599
|
/**
|
|
23524
23600
|
* Learning service.
|
|
23525
23601
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23526
|
-
* @version
|
|
23602
|
+
* @version 133.0.0
|
|
23527
23603
|
*/
|
|
23528
23604
|
|
|
23529
23605
|
/**
|
|
@@ -24114,7 +24190,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24114
24190
|
/**
|
|
24115
24191
|
* License service.
|
|
24116
24192
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
24117
|
-
* @version
|
|
24193
|
+
* @version 133.0.0
|
|
24118
24194
|
*/
|
|
24119
24195
|
|
|
24120
24196
|
/**
|
|
@@ -24352,7 +24428,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24352
24428
|
/**
|
|
24353
24429
|
* Locations service.
|
|
24354
24430
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24355
|
-
* @version
|
|
24431
|
+
* @version 133.0.0
|
|
24356
24432
|
*/
|
|
24357
24433
|
|
|
24358
24434
|
/**
|
|
@@ -24588,7 +24664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24588
24664
|
/**
|
|
24589
24665
|
* Messaging service.
|
|
24590
24666
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
24591
|
-
* @version
|
|
24667
|
+
* @version 133.0.0
|
|
24592
24668
|
*/
|
|
24593
24669
|
|
|
24594
24670
|
/**
|
|
@@ -24739,7 +24815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24739
24815
|
/**
|
|
24740
24816
|
* MobileDevices service.
|
|
24741
24817
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24742
|
-
* @version
|
|
24818
|
+
* @version 133.0.0
|
|
24743
24819
|
*/
|
|
24744
24820
|
|
|
24745
24821
|
/**
|
|
@@ -24890,7 +24966,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24890
24966
|
/**
|
|
24891
24967
|
* Notifications service.
|
|
24892
24968
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24893
|
-
* @version
|
|
24969
|
+
* @version 133.0.0
|
|
24894
24970
|
*/
|
|
24895
24971
|
|
|
24896
24972
|
/**
|
|
@@ -25115,7 +25191,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25115
25191
|
/**
|
|
25116
25192
|
* OAuth service.
|
|
25117
25193
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
25118
|
-
* @version
|
|
25194
|
+
* @version 133.0.0
|
|
25119
25195
|
*/
|
|
25120
25196
|
|
|
25121
25197
|
/**
|
|
@@ -25473,7 +25549,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25473
25549
|
/**
|
|
25474
25550
|
* Objects service.
|
|
25475
25551
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25476
|
-
* @version
|
|
25552
|
+
* @version 133.0.0
|
|
25477
25553
|
*/
|
|
25478
25554
|
|
|
25479
25555
|
/**
|
|
@@ -25744,7 +25820,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25744
25820
|
/**
|
|
25745
25821
|
* Organization service.
|
|
25746
25822
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25747
|
-
* @version
|
|
25823
|
+
* @version 133.0.0
|
|
25748
25824
|
*/
|
|
25749
25825
|
|
|
25750
25826
|
/**
|
|
@@ -26147,7 +26223,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26147
26223
|
/**
|
|
26148
26224
|
* OrganizationAuthorization service.
|
|
26149
26225
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
26150
|
-
* @version
|
|
26226
|
+
* @version 133.0.0
|
|
26151
26227
|
*/
|
|
26152
26228
|
|
|
26153
26229
|
/**
|
|
@@ -27072,7 +27148,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27072
27148
|
/**
|
|
27073
27149
|
* Outbound service.
|
|
27074
27150
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
27075
|
-
* @version
|
|
27151
|
+
* @version 133.0.0
|
|
27076
27152
|
*/
|
|
27077
27153
|
|
|
27078
27154
|
/**
|
|
@@ -29457,8 +29533,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29457
29533
|
* Only Internal DNC lists may be appended to
|
|
29458
29534
|
* @param {String} dncListId DncList ID
|
|
29459
29535
|
* @param {Array.<Object>} body DNC Phone Numbers
|
|
29536
|
+
* @param {Object} opts Optional parameters
|
|
29537
|
+
* @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
|
|
29460
29538
|
*/
|
|
29461
|
-
postOutboundDnclistPhonenumbers(dncListId, body) {
|
|
29539
|
+
postOutboundDnclistPhonenumbers(dncListId, body, opts) {
|
|
29540
|
+
opts = opts || {};
|
|
29541
|
+
|
|
29462
29542
|
// verify the required parameter 'dncListId' is set
|
|
29463
29543
|
if (dncListId === undefined || dncListId === null) {
|
|
29464
29544
|
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
|
|
@@ -29472,7 +29552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29472
29552
|
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
29473
29553
|
'POST',
|
|
29474
29554
|
{ 'dncListId': dncListId },
|
|
29475
|
-
{
|
|
29555
|
+
{ 'expirationDateTime': opts['expirationDateTime'] },
|
|
29476
29556
|
{ },
|
|
29477
29557
|
{ },
|
|
29478
29558
|
body,
|
|
@@ -30098,7 +30178,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30098
30178
|
/**
|
|
30099
30179
|
* Presence service.
|
|
30100
30180
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
30101
|
-
* @version
|
|
30181
|
+
* @version 133.0.0
|
|
30102
30182
|
*/
|
|
30103
30183
|
|
|
30104
30184
|
/**
|
|
@@ -30470,7 +30550,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30470
30550
|
/**
|
|
30471
30551
|
* Quality service.
|
|
30472
30552
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
30473
|
-
* @version
|
|
30553
|
+
* @version 133.0.0
|
|
30474
30554
|
*/
|
|
30475
30555
|
|
|
30476
30556
|
/**
|
|
@@ -30521,7 +30601,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30521
30601
|
* @param {String} conversationId conversationId
|
|
30522
30602
|
* @param {String} evaluationId evaluationId
|
|
30523
30603
|
* @param {Object} opts Optional parameters
|
|
30524
|
-
* @param {String} opts.expand evaluatorId
|
|
30604
|
+
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
30525
30605
|
*/
|
|
30526
30606
|
deleteQualityConversationEvaluation(conversationId, evaluationId, opts) {
|
|
30527
30607
|
opts = opts || {};
|
|
@@ -30626,7 +30706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30626
30706
|
|
|
30627
30707
|
/**
|
|
30628
30708
|
* Gets a list of Agent Activities
|
|
30629
|
-
*
|
|
30709
|
+
* 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
|
|
30630
30710
|
* @param {Object} opts Optional parameters
|
|
30631
30711
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
30632
30712
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -31089,6 +31169,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31089
31169
|
);
|
|
31090
31170
|
}
|
|
31091
31171
|
|
|
31172
|
+
/**
|
|
31173
|
+
* Retrieve a list of the latest published evaluation form versions by context ids
|
|
31174
|
+
*
|
|
31175
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
|
|
31176
|
+
*/
|
|
31177
|
+
getQualityFormsEvaluationsBulkContexts(contextId) {
|
|
31178
|
+
// verify the required parameter 'contextId' is set
|
|
31179
|
+
if (contextId === undefined || contextId === null) {
|
|
31180
|
+
throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
|
|
31181
|
+
}
|
|
31182
|
+
|
|
31183
|
+
return this.apiClient.callApi(
|
|
31184
|
+
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
31185
|
+
'GET',
|
|
31186
|
+
{ },
|
|
31187
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
31188
|
+
{ },
|
|
31189
|
+
{ },
|
|
31190
|
+
null,
|
|
31191
|
+
['PureCloud OAuth'],
|
|
31192
|
+
['application/json'],
|
|
31193
|
+
['application/json']
|
|
31194
|
+
);
|
|
31195
|
+
}
|
|
31196
|
+
|
|
31092
31197
|
/**
|
|
31093
31198
|
* Get a survey form
|
|
31094
31199
|
*
|
|
@@ -31603,6 +31708,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31603
31708
|
);
|
|
31604
31709
|
}
|
|
31605
31710
|
|
|
31711
|
+
/**
|
|
31712
|
+
* Query for evaluation aggregates for the current user
|
|
31713
|
+
*
|
|
31714
|
+
* @param {Object} body query
|
|
31715
|
+
*/
|
|
31716
|
+
postQualityEvaluationsAggregatesQueryMe(body) {
|
|
31717
|
+
// verify the required parameter 'body' is set
|
|
31718
|
+
if (body === undefined || body === null) {
|
|
31719
|
+
throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
|
|
31720
|
+
}
|
|
31721
|
+
|
|
31722
|
+
return this.apiClient.callApi(
|
|
31723
|
+
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
31724
|
+
'POST',
|
|
31725
|
+
{ },
|
|
31726
|
+
{ },
|
|
31727
|
+
{ },
|
|
31728
|
+
{ },
|
|
31729
|
+
body,
|
|
31730
|
+
['PureCloud OAuth'],
|
|
31731
|
+
['application/json'],
|
|
31732
|
+
['application/json']
|
|
31733
|
+
);
|
|
31734
|
+
}
|
|
31735
|
+
|
|
31606
31736
|
/**
|
|
31607
31737
|
* Score evaluation
|
|
31608
31738
|
*
|
|
@@ -31840,7 +31970,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31840
31970
|
* @param {String} evaluationId evaluationId
|
|
31841
31971
|
* @param {Object} body evaluation
|
|
31842
31972
|
* @param {Object} opts Optional parameters
|
|
31843
|
-
* @param {String} opts.expand evaluatorId
|
|
31973
|
+
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
31844
31974
|
*/
|
|
31845
31975
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
31846
31976
|
opts = opts || {};
|
|
@@ -31998,7 +32128,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31998
32128
|
/**
|
|
31999
32129
|
* Recording service.
|
|
32000
32130
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
32001
|
-
* @version
|
|
32131
|
+
* @version 133.0.0
|
|
32002
32132
|
*/
|
|
32003
32133
|
|
|
32004
32134
|
/**
|
|
@@ -32211,6 +32341,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32211
32341
|
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
32212
32342
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
32213
32343
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
32344
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
32214
32345
|
*/
|
|
32215
32346
|
getConversationRecording(conversationId, recordingId, opts) {
|
|
32216
32347
|
opts = opts || {};
|
|
@@ -32228,7 +32359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32228
32359
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
32229
32360
|
'GET',
|
|
32230
32361
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
32231
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
32362
|
+
{ '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') },
|
|
32232
32363
|
{ },
|
|
32233
32364
|
{ },
|
|
32234
32365
|
null,
|
|
@@ -32364,7 +32495,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32364
32495
|
* @param {String} conversationId Conversation ID
|
|
32365
32496
|
* @param {Object} opts Optional parameters
|
|
32366
32497
|
* @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)
|
|
32367
|
-
* @param {Object} opts.formatId The desired media format
|
|
32498
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
32499
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
32368
32500
|
*/
|
|
32369
32501
|
getConversationRecordings(conversationId, opts) {
|
|
32370
32502
|
opts = opts || {};
|
|
@@ -32378,7 +32510,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32378
32510
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
32379
32511
|
'GET',
|
|
32380
32512
|
{ 'conversationId': conversationId },
|
|
32381
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
|
|
32513
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
32382
32514
|
{ },
|
|
32383
32515
|
{ },
|
|
32384
32516
|
null,
|
|
@@ -32425,6 +32557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32425
32557
|
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
32426
32558
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
32427
32559
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
32560
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
32428
32561
|
*/
|
|
32429
32562
|
getOrphanrecordingMedia(orphanId, opts) {
|
|
32430
32563
|
opts = opts || {};
|
|
@@ -32438,7 +32571,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32438
32571
|
'/api/v2/orphanrecordings/{orphanId}/media',
|
|
32439
32572
|
'GET',
|
|
32440
32573
|
{ 'orphanId': orphanId },
|
|
32441
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
32574
|
+
{ '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') },
|
|
32442
32575
|
{ },
|
|
32443
32576
|
{ },
|
|
32444
32577
|
null,
|
|
@@ -33521,7 +33654,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33521
33654
|
/**
|
|
33522
33655
|
* ResponseManagement service.
|
|
33523
33656
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
33524
|
-
* @version
|
|
33657
|
+
* @version 133.0.0
|
|
33525
33658
|
*/
|
|
33526
33659
|
|
|
33527
33660
|
/**
|
|
@@ -33846,7 +33979,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33846
33979
|
/**
|
|
33847
33980
|
* Routing service.
|
|
33848
33981
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33849
|
-
* @version
|
|
33982
|
+
* @version 133.0.0
|
|
33850
33983
|
*/
|
|
33851
33984
|
|
|
33852
33985
|
/**
|
|
@@ -36769,7 +36902,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36769
36902
|
/**
|
|
36770
36903
|
* SCIM service.
|
|
36771
36904
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36772
|
-
* @version
|
|
36905
|
+
* @version 133.0.0
|
|
36773
36906
|
*/
|
|
36774
36907
|
|
|
36775
36908
|
/**
|
|
@@ -37646,7 +37779,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37646
37779
|
/**
|
|
37647
37780
|
* Scripts service.
|
|
37648
37781
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
37649
|
-
* @version
|
|
37782
|
+
* @version 133.0.0
|
|
37650
37783
|
*/
|
|
37651
37784
|
|
|
37652
37785
|
/**
|
|
@@ -37999,7 +38132,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37999
38132
|
/**
|
|
38000
38133
|
* Search service.
|
|
38001
38134
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
38002
|
-
* @version
|
|
38135
|
+
* @version 133.0.0
|
|
38003
38136
|
*/
|
|
38004
38137
|
|
|
38005
38138
|
/**
|
|
@@ -38534,7 +38667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38534
38667
|
/**
|
|
38535
38668
|
* SpeechTextAnalytics service.
|
|
38536
38669
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
38537
|
-
* @version
|
|
38670
|
+
* @version 133.0.0
|
|
38538
38671
|
*/
|
|
38539
38672
|
|
|
38540
38673
|
/**
|
|
@@ -39387,7 +39520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39387
39520
|
/**
|
|
39388
39521
|
* Stations service.
|
|
39389
39522
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
39390
|
-
* @version
|
|
39523
|
+
* @version 133.0.0
|
|
39391
39524
|
*/
|
|
39392
39525
|
|
|
39393
39526
|
/**
|
|
@@ -39534,7 +39667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39534
39667
|
/**
|
|
39535
39668
|
* Suggest service.
|
|
39536
39669
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
39537
|
-
* @version
|
|
39670
|
+
* @version 133.0.0
|
|
39538
39671
|
*/
|
|
39539
39672
|
|
|
39540
39673
|
/**
|
|
@@ -39673,7 +39806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39673
39806
|
/**
|
|
39674
39807
|
* Telephony service.
|
|
39675
39808
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
39676
|
-
* @version
|
|
39809
|
+
* @version 133.0.0
|
|
39677
39810
|
*/
|
|
39678
39811
|
|
|
39679
39812
|
/**
|
|
@@ -39781,7 +39914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39781
39914
|
/**
|
|
39782
39915
|
* TelephonyProvidersEdge service.
|
|
39783
39916
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
39784
|
-
* @version
|
|
39917
|
+
* @version 133.0.0
|
|
39785
39918
|
*/
|
|
39786
39919
|
|
|
39787
39920
|
/**
|
|
@@ -41195,7 +41328,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41195
41328
|
* @param {Object} opts Optional parameters
|
|
41196
41329
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41197
41330
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41198
|
-
* @param {String} opts.sortBy Sort by
|
|
41331
|
+
* @param {String} opts.sortBy Sort by
|
|
41199
41332
|
* @param {String} opts._number Number
|
|
41200
41333
|
*/
|
|
41201
41334
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
@@ -43414,7 +43547,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43414
43547
|
/**
|
|
43415
43548
|
* Textbots service.
|
|
43416
43549
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
43417
|
-
* @version
|
|
43550
|
+
* @version 133.0.0
|
|
43418
43551
|
*/
|
|
43419
43552
|
|
|
43420
43553
|
/**
|
|
@@ -43542,7 +43675,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43542
43675
|
/**
|
|
43543
43676
|
* Tokens service.
|
|
43544
43677
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
43545
|
-
* @version
|
|
43678
|
+
* @version 133.0.0
|
|
43546
43679
|
*/
|
|
43547
43680
|
|
|
43548
43681
|
/**
|
|
@@ -43648,7 +43781,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43648
43781
|
/**
|
|
43649
43782
|
* Uploads service.
|
|
43650
43783
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
43651
|
-
* @version
|
|
43784
|
+
* @version 133.0.0
|
|
43652
43785
|
*/
|
|
43653
43786
|
|
|
43654
43787
|
/**
|
|
@@ -43824,7 +43957,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43824
43957
|
/**
|
|
43825
43958
|
* Usage service.
|
|
43826
43959
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
43827
|
-
* @version
|
|
43960
|
+
* @version 133.0.0
|
|
43828
43961
|
*/
|
|
43829
43962
|
|
|
43830
43963
|
/**
|
|
@@ -43895,7 +44028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43895
44028
|
/**
|
|
43896
44029
|
* UserRecordings service.
|
|
43897
44030
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43898
|
-
* @version
|
|
44031
|
+
* @version 133.0.0
|
|
43899
44032
|
*/
|
|
43900
44033
|
|
|
43901
44034
|
/**
|
|
@@ -44079,7 +44212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44079
44212
|
/**
|
|
44080
44213
|
* Users service.
|
|
44081
44214
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
44082
|
-
* @version
|
|
44215
|
+
* @version 133.0.0
|
|
44083
44216
|
*/
|
|
44084
44217
|
|
|
44085
44218
|
/**
|
|
@@ -46381,7 +46514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46381
46514
|
/**
|
|
46382
46515
|
* Utilities service.
|
|
46383
46516
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
46384
|
-
* @version
|
|
46517
|
+
* @version 133.0.0
|
|
46385
46518
|
*/
|
|
46386
46519
|
|
|
46387
46520
|
/**
|
|
@@ -46492,7 +46625,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46492
46625
|
/**
|
|
46493
46626
|
* Voicemail service.
|
|
46494
46627
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
46495
|
-
* @version
|
|
46628
|
+
* @version 133.0.0
|
|
46496
46629
|
*/
|
|
46497
46630
|
|
|
46498
46631
|
/**
|
|
@@ -47159,7 +47292,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47159
47292
|
/**
|
|
47160
47293
|
* WebChat service.
|
|
47161
47294
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
47162
|
-
* @version
|
|
47295
|
+
* @version 133.0.0
|
|
47163
47296
|
*/
|
|
47164
47297
|
|
|
47165
47298
|
/**
|
|
@@ -47703,7 +47836,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47703
47836
|
/**
|
|
47704
47837
|
* WebDeployments service.
|
|
47705
47838
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
47706
|
-
* @version
|
|
47839
|
+
* @version 133.0.0
|
|
47707
47840
|
*/
|
|
47708
47841
|
|
|
47709
47842
|
/**
|
|
@@ -48058,7 +48191,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48058
48191
|
/**
|
|
48059
48192
|
* WebMessaging service.
|
|
48060
48193
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
48061
|
-
* @version
|
|
48194
|
+
* @version 133.0.0
|
|
48062
48195
|
*/
|
|
48063
48196
|
|
|
48064
48197
|
/**
|
|
@@ -48104,7 +48237,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48104
48237
|
/**
|
|
48105
48238
|
* Widgets service.
|
|
48106
48239
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
48107
|
-
* @version
|
|
48240
|
+
* @version 133.0.0
|
|
48108
48241
|
*/
|
|
48109
48242
|
|
|
48110
48243
|
/**
|
|
@@ -48250,7 +48383,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48250
48383
|
/**
|
|
48251
48384
|
* WorkforceManagement service.
|
|
48252
48385
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
48253
|
-
* @version
|
|
48386
|
+
* @version 133.0.0
|
|
48254
48387
|
*/
|
|
48255
48388
|
|
|
48256
48389
|
/**
|
|
@@ -50351,7 +50484,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50351
50484
|
|
|
50352
50485
|
/**
|
|
50353
50486
|
* Get a list of notifications for the current user
|
|
50354
|
-
*
|
|
50487
|
+
* Notifications are only initially sent if you have the relevant Notify and Edit permissions
|
|
50355
50488
|
*/
|
|
50356
50489
|
getWorkforcemanagementNotifications() {
|
|
50357
50490
|
|
|
@@ -52281,7 +52414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52281
52414
|
* </pre>
|
|
52282
52415
|
* </p>
|
|
52283
52416
|
* @module purecloud-platform-client-v2/index
|
|
52284
|
-
* @version
|
|
52417
|
+
* @version 133.0.0
|
|
52285
52418
|
*/
|
|
52286
52419
|
class platformClient {
|
|
52287
52420
|
constructor() {
|
|
@@ -52620,4 +52753,4 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52620
52753
|
|
|
52621
52754
|
return index;
|
|
52622
52755
|
|
|
52623
|
-
});
|
|
52756
|
+
}));
|