purecloud-platform-client-v2 130.0.0 → 132.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 -8
- package/dist/node/purecloud-platform-client-v2.js +522 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +523 -104
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +528 -109
- package/dist/web-cjs/purecloud-platform-client-v2.js +4175 -964
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +315 -45
- 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 +177 -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 +156 -0
- 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 +52 -2
- 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 -21
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -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 132.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': '132.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 132.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 132.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 132.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 132.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 132.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 132.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 132.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 132.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 132.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 132.0.0
|
|
9131
9178
|
*/
|
|
9132
9179
|
|
|
9133
9180
|
/**
|
|
@@ -9417,6 +9464,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9417
9464
|
);
|
|
9418
9465
|
}
|
|
9419
9466
|
|
|
9467
|
+
/**
|
|
9468
|
+
* Delete a supported content profile
|
|
9469
|
+
*
|
|
9470
|
+
* @param {String} supportedContentId Supported Content ID
|
|
9471
|
+
*/
|
|
9472
|
+
deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
9473
|
+
// verify the required parameter 'supportedContentId' is set
|
|
9474
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
9475
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
|
|
9476
|
+
}
|
|
9477
|
+
|
|
9478
|
+
return this.apiClient.callApi(
|
|
9479
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
9480
|
+
'DELETE',
|
|
9481
|
+
{ 'supportedContentId': supportedContentId },
|
|
9482
|
+
{ },
|
|
9483
|
+
{ },
|
|
9484
|
+
{ },
|
|
9485
|
+
null,
|
|
9486
|
+
['PureCloud OAuth'],
|
|
9487
|
+
['application/json'],
|
|
9488
|
+
['application/json']
|
|
9489
|
+
);
|
|
9490
|
+
}
|
|
9491
|
+
|
|
9420
9492
|
/**
|
|
9421
9493
|
* Get a conversation by id
|
|
9422
9494
|
*
|
|
@@ -11009,6 +11081,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11009
11081
|
);
|
|
11010
11082
|
}
|
|
11011
11083
|
|
|
11084
|
+
/**
|
|
11085
|
+
* Get a list of Supported Content profiles
|
|
11086
|
+
*
|
|
11087
|
+
* @param {Object} opts Optional parameters
|
|
11088
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
11089
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11090
|
+
*/
|
|
11091
|
+
getConversationsMessagingSupportedcontent(opts) {
|
|
11092
|
+
opts = opts || {};
|
|
11093
|
+
|
|
11094
|
+
|
|
11095
|
+
return this.apiClient.callApi(
|
|
11096
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
11097
|
+
'GET',
|
|
11098
|
+
{ },
|
|
11099
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
11100
|
+
{ },
|
|
11101
|
+
{ },
|
|
11102
|
+
null,
|
|
11103
|
+
['PureCloud OAuth'],
|
|
11104
|
+
['application/json'],
|
|
11105
|
+
['application/json']
|
|
11106
|
+
);
|
|
11107
|
+
}
|
|
11108
|
+
|
|
11109
|
+
/**
|
|
11110
|
+
* Get the organization's default supported content profile that will be used as the default when creating an integration.
|
|
11111
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
11112
|
+
*/
|
|
11113
|
+
getConversationsMessagingSupportedcontentDefault() {
|
|
11114
|
+
|
|
11115
|
+
return this.apiClient.callApi(
|
|
11116
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
11117
|
+
'GET',
|
|
11118
|
+
{ },
|
|
11119
|
+
{ },
|
|
11120
|
+
{ },
|
|
11121
|
+
{ },
|
|
11122
|
+
null,
|
|
11123
|
+
['PureCloud OAuth'],
|
|
11124
|
+
['application/json'],
|
|
11125
|
+
['application/json']
|
|
11126
|
+
);
|
|
11127
|
+
}
|
|
11128
|
+
|
|
11129
|
+
/**
|
|
11130
|
+
* Get a supported content profile
|
|
11131
|
+
*
|
|
11132
|
+
* @param {String} supportedContentId Supported Content ID
|
|
11133
|
+
*/
|
|
11134
|
+
getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
11135
|
+
// verify the required parameter 'supportedContentId' is set
|
|
11136
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
11137
|
+
throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
|
|
11138
|
+
}
|
|
11139
|
+
|
|
11140
|
+
return this.apiClient.callApi(
|
|
11141
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
11142
|
+
'GET',
|
|
11143
|
+
{ 'supportedContentId': supportedContentId },
|
|
11144
|
+
{ },
|
|
11145
|
+
{ },
|
|
11146
|
+
{ },
|
|
11147
|
+
null,
|
|
11148
|
+
['PureCloud OAuth'],
|
|
11149
|
+
['application/json'],
|
|
11150
|
+
['application/json']
|
|
11151
|
+
);
|
|
11152
|
+
}
|
|
11153
|
+
|
|
11012
11154
|
/**
|
|
11013
11155
|
* Get conversation threading window timeline for each messaging type
|
|
11014
11156
|
* Conversation messaging threading timeline is a setting defined for each messenger type in your organization. This setting will dictate whether a new message is added to the most recent existing conversation, or creates a new Conversation. If the existing Conversation is still in a connected state the threading timeline setting will never play a role. After the conversation is disconnected, if an inbound message is received or an outbound message is sent after the setting for threading timeline expires, a new conversation is created.
|
|
@@ -12090,6 +12232,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12090
12232
|
);
|
|
12091
12233
|
}
|
|
12092
12234
|
|
|
12235
|
+
/**
|
|
12236
|
+
* Update a supported content profile
|
|
12237
|
+
*
|
|
12238
|
+
* @param {String} supportedContentId Supported Content ID
|
|
12239
|
+
* @param {Object} body SupportedContent
|
|
12240
|
+
*/
|
|
12241
|
+
patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
12242
|
+
// verify the required parameter 'supportedContentId' is set
|
|
12243
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
12244
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
12245
|
+
}
|
|
12246
|
+
// verify the required parameter 'body' is set
|
|
12247
|
+
if (body === undefined || body === null) {
|
|
12248
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
12249
|
+
}
|
|
12250
|
+
|
|
12251
|
+
return this.apiClient.callApi(
|
|
12252
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
12253
|
+
'PATCH',
|
|
12254
|
+
{ 'supportedContentId': supportedContentId },
|
|
12255
|
+
{ },
|
|
12256
|
+
{ },
|
|
12257
|
+
{ },
|
|
12258
|
+
body,
|
|
12259
|
+
['PureCloud OAuth'],
|
|
12260
|
+
['application/json'],
|
|
12261
|
+
['application/json']
|
|
12262
|
+
);
|
|
12263
|
+
}
|
|
12264
|
+
|
|
12093
12265
|
/**
|
|
12094
12266
|
* Index conversation properties
|
|
12095
12267
|
*
|
|
@@ -13152,7 +13324,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13152
13324
|
|
|
13153
13325
|
/**
|
|
13154
13326
|
* Send an agentless outbound message
|
|
13155
|
-
* Send an
|
|
13327
|
+
* 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.
|
|
13156
13328
|
* @param {Object} body Create agentless outbound messaging request
|
|
13157
13329
|
*/
|
|
13158
13330
|
postConversationsMessagesAgentless(body) {
|
|
@@ -13325,6 +13497,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13325
13497
|
);
|
|
13326
13498
|
}
|
|
13327
13499
|
|
|
13500
|
+
/**
|
|
13501
|
+
* Create a Supported Content profile
|
|
13502
|
+
*
|
|
13503
|
+
* @param {Object} body SupportedContent
|
|
13504
|
+
*/
|
|
13505
|
+
postConversationsMessagingSupportedcontent(body) {
|
|
13506
|
+
// verify the required parameter 'body' is set
|
|
13507
|
+
if (body === undefined || body === null) {
|
|
13508
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
|
|
13509
|
+
}
|
|
13510
|
+
|
|
13511
|
+
return this.apiClient.callApi(
|
|
13512
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
13513
|
+
'POST',
|
|
13514
|
+
{ },
|
|
13515
|
+
{ },
|
|
13516
|
+
{ },
|
|
13517
|
+
{ },
|
|
13518
|
+
body,
|
|
13519
|
+
['PureCloud OAuth'],
|
|
13520
|
+
['application/json'],
|
|
13521
|
+
['application/json']
|
|
13522
|
+
);
|
|
13523
|
+
}
|
|
13524
|
+
|
|
13328
13525
|
/**
|
|
13329
13526
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
13330
13527
|
*
|
|
@@ -13485,6 +13682,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13485
13682
|
);
|
|
13486
13683
|
}
|
|
13487
13684
|
|
|
13685
|
+
/**
|
|
13686
|
+
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
13687
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
13688
|
+
* @param {Object} body SupportedContent
|
|
13689
|
+
*/
|
|
13690
|
+
putConversationsMessagingSupportedcontentDefault(body) {
|
|
13691
|
+
// verify the required parameter 'body' is set
|
|
13692
|
+
if (body === undefined || body === null) {
|
|
13693
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
|
|
13694
|
+
}
|
|
13695
|
+
|
|
13696
|
+
return this.apiClient.callApi(
|
|
13697
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
13698
|
+
'PUT',
|
|
13699
|
+
{ },
|
|
13700
|
+
{ },
|
|
13701
|
+
{ },
|
|
13702
|
+
{ },
|
|
13703
|
+
body,
|
|
13704
|
+
['PureCloud OAuth'],
|
|
13705
|
+
['application/json'],
|
|
13706
|
+
['application/json']
|
|
13707
|
+
);
|
|
13708
|
+
}
|
|
13709
|
+
|
|
13488
13710
|
/**
|
|
13489
13711
|
* Update conversation threading window timeline for each messaging type
|
|
13490
13712
|
* PUT Conversation messaging threading timeline is intended to set the conversation threading settings for ALL messengerTypes. If you omit a messengerType in the request body then the setting for that messengerType will use the platform default value. The PUT replaces the existing setting(s) that were previously set for each messengerType.
|
|
@@ -13516,7 +13738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13516
13738
|
/**
|
|
13517
13739
|
* DataExtensions service.
|
|
13518
13740
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13519
|
-
* @version
|
|
13741
|
+
* @version 132.0.0
|
|
13520
13742
|
*/
|
|
13521
13743
|
|
|
13522
13744
|
/**
|
|
@@ -13602,7 +13824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13602
13824
|
/**
|
|
13603
13825
|
* ExternalContacts service.
|
|
13604
13826
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13605
|
-
* @version
|
|
13827
|
+
* @version 132.0.0
|
|
13606
13828
|
*/
|
|
13607
13829
|
|
|
13608
13830
|
/**
|
|
@@ -15345,7 +15567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15345
15567
|
/**
|
|
15346
15568
|
* Fax service.
|
|
15347
15569
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15348
|
-
* @version
|
|
15570
|
+
* @version 132.0.0
|
|
15349
15571
|
*/
|
|
15350
15572
|
|
|
15351
15573
|
/**
|
|
@@ -15516,7 +15738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15516
15738
|
/**
|
|
15517
15739
|
* Flows service.
|
|
15518
15740
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15519
|
-
* @version
|
|
15741
|
+
* @version 132.0.0
|
|
15520
15742
|
*/
|
|
15521
15743
|
|
|
15522
15744
|
/**
|
|
@@ -15587,7 +15809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15587
15809
|
/**
|
|
15588
15810
|
* Gamification service.
|
|
15589
15811
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15590
|
-
* @version
|
|
15812
|
+
* @version 132.0.0
|
|
15591
15813
|
*/
|
|
15592
15814
|
|
|
15593
15815
|
/**
|
|
@@ -16863,8 +17085,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16863
17085
|
* Create a new custom performance profile
|
|
16864
17086
|
*
|
|
16865
17087
|
* @param {Object} body performanceProfile
|
|
17088
|
+
* @param {Object} opts Optional parameters
|
|
17089
|
+
* @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)
|
|
16866
17090
|
*/
|
|
16867
|
-
postGamificationProfiles(body) {
|
|
17091
|
+
postGamificationProfiles(body, opts) {
|
|
17092
|
+
opts = opts || {};
|
|
17093
|
+
|
|
16868
17094
|
// verify the required parameter 'body' is set
|
|
16869
17095
|
if (body === undefined || body === null) {
|
|
16870
17096
|
throw 'Missing the required parameter "body" when calling postGamificationProfiles';
|
|
@@ -16874,7 +17100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16874
17100
|
'/api/v2/gamification/profiles',
|
|
16875
17101
|
'POST',
|
|
16876
17102
|
{ },
|
|
16877
|
-
{
|
|
17103
|
+
{ 'copyMetrics': opts['copyMetrics'] },
|
|
16878
17104
|
{ },
|
|
16879
17105
|
{ },
|
|
16880
17106
|
body,
|
|
@@ -17013,7 +17239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17013
17239
|
/**
|
|
17014
17240
|
* GeneralDataProtectionRegulation service.
|
|
17015
17241
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
17016
|
-
* @version
|
|
17242
|
+
* @version 132.0.0
|
|
17017
17243
|
*/
|
|
17018
17244
|
|
|
17019
17245
|
/**
|
|
@@ -17143,7 +17369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17143
17369
|
/**
|
|
17144
17370
|
* Geolocation service.
|
|
17145
17371
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17146
|
-
* @version
|
|
17372
|
+
* @version 132.0.0
|
|
17147
17373
|
*/
|
|
17148
17374
|
|
|
17149
17375
|
/**
|
|
@@ -17274,7 +17500,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17274
17500
|
/**
|
|
17275
17501
|
* Greetings service.
|
|
17276
17502
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17277
|
-
* @version
|
|
17503
|
+
* @version 132.0.0
|
|
17278
17504
|
*/
|
|
17279
17505
|
|
|
17280
17506
|
/**
|
|
@@ -17729,7 +17955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17729
17955
|
/**
|
|
17730
17956
|
* Groups service.
|
|
17731
17957
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17732
|
-
* @version
|
|
17958
|
+
* @version 132.0.0
|
|
17733
17959
|
*/
|
|
17734
17960
|
|
|
17735
17961
|
/**
|
|
@@ -18134,7 +18360,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18134
18360
|
/**
|
|
18135
18361
|
* IdentityProvider service.
|
|
18136
18362
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18137
|
-
* @version
|
|
18363
|
+
* @version 132.0.0
|
|
18138
18364
|
*/
|
|
18139
18365
|
|
|
18140
18366
|
/**
|
|
@@ -18890,7 +19116,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18890
19116
|
/**
|
|
18891
19117
|
* Integrations service.
|
|
18892
19118
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
18893
|
-
* @version
|
|
19119
|
+
* @version 132.0.0
|
|
18894
19120
|
*/
|
|
18895
19121
|
|
|
18896
19122
|
/**
|
|
@@ -20565,7 +20791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20565
20791
|
/**
|
|
20566
20792
|
* Journey service.
|
|
20567
20793
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20568
|
-
* @version
|
|
20794
|
+
* @version 132.0.0
|
|
20569
20795
|
*/
|
|
20570
20796
|
|
|
20571
20797
|
/**
|
|
@@ -21276,7 +21502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21276
21502
|
/**
|
|
21277
21503
|
* Knowledge service.
|
|
21278
21504
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21279
|
-
* @version
|
|
21505
|
+
* @version 132.0.0
|
|
21280
21506
|
*/
|
|
21281
21507
|
|
|
21282
21508
|
/**
|
|
@@ -22176,7 +22402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22176
22402
|
/**
|
|
22177
22403
|
* LanguageUnderstanding service.
|
|
22178
22404
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22179
|
-
* @version
|
|
22405
|
+
* @version 132.0.0
|
|
22180
22406
|
*/
|
|
22181
22407
|
|
|
22182
22408
|
/**
|
|
@@ -22634,7 +22860,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22634
22860
|
* @param {String} minerId Miner ID
|
|
22635
22861
|
* @param {String} intentId The ID of the intent to be retrieved.
|
|
22636
22862
|
* @param {Object} opts Optional parameters
|
|
22637
|
-
* @param {
|
|
22863
|
+
* @param {Object} opts.expand Option to fetch utterances
|
|
22638
22864
|
*/
|
|
22639
22865
|
getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
|
|
22640
22866
|
opts = opts || {};
|
|
@@ -22667,7 +22893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22667
22893
|
*
|
|
22668
22894
|
* @param {String} minerId Miner ID
|
|
22669
22895
|
* @param {Object} opts Optional parameters
|
|
22670
|
-
* @param {
|
|
22896
|
+
* @param {Object} opts.expand Option to fetch utterances.
|
|
22671
22897
|
*/
|
|
22672
22898
|
getLanguageunderstandingMinerIntents(minerId, opts) {
|
|
22673
22899
|
opts = opts || {};
|
|
@@ -23080,7 +23306,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23080
23306
|
/**
|
|
23081
23307
|
* Languages service.
|
|
23082
23308
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23083
|
-
* @version
|
|
23309
|
+
* @version 132.0.0
|
|
23084
23310
|
*/
|
|
23085
23311
|
|
|
23086
23312
|
/**
|
|
@@ -23348,7 +23574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23348
23574
|
/**
|
|
23349
23575
|
* Learning service.
|
|
23350
23576
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23351
|
-
* @version
|
|
23577
|
+
* @version 132.0.0
|
|
23352
23578
|
*/
|
|
23353
23579
|
|
|
23354
23580
|
/**
|
|
@@ -23939,7 +24165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23939
24165
|
/**
|
|
23940
24166
|
* License service.
|
|
23941
24167
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
23942
|
-
* @version
|
|
24168
|
+
* @version 132.0.0
|
|
23943
24169
|
*/
|
|
23944
24170
|
|
|
23945
24171
|
/**
|
|
@@ -24177,7 +24403,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24177
24403
|
/**
|
|
24178
24404
|
* Locations service.
|
|
24179
24405
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24180
|
-
* @version
|
|
24406
|
+
* @version 132.0.0
|
|
24181
24407
|
*/
|
|
24182
24408
|
|
|
24183
24409
|
/**
|
|
@@ -24409,11 +24635,162 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24409
24635
|
|
|
24410
24636
|
}
|
|
24411
24637
|
|
|
24638
|
+
class MessagingApi {
|
|
24639
|
+
/**
|
|
24640
|
+
* Messaging service.
|
|
24641
|
+
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
24642
|
+
* @version 132.0.0
|
|
24643
|
+
*/
|
|
24644
|
+
|
|
24645
|
+
/**
|
|
24646
|
+
* Constructs a new MessagingApi.
|
|
24647
|
+
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
24648
|
+
* @class
|
|
24649
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
24650
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
24651
|
+
*/
|
|
24652
|
+
constructor(apiClient) {
|
|
24653
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
24654
|
+
}
|
|
24655
|
+
|
|
24656
|
+
|
|
24657
|
+
/**
|
|
24658
|
+
* Delete a supported content profile
|
|
24659
|
+
*
|
|
24660
|
+
* @param {String} supportedContentId Supported Content ID
|
|
24661
|
+
*/
|
|
24662
|
+
deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
24663
|
+
// verify the required parameter 'supportedContentId' is set
|
|
24664
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
24665
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
|
|
24666
|
+
}
|
|
24667
|
+
|
|
24668
|
+
return this.apiClient.callApi(
|
|
24669
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
24670
|
+
'DELETE',
|
|
24671
|
+
{ 'supportedContentId': supportedContentId },
|
|
24672
|
+
{ },
|
|
24673
|
+
{ },
|
|
24674
|
+
{ },
|
|
24675
|
+
null,
|
|
24676
|
+
['PureCloud OAuth'],
|
|
24677
|
+
['application/json'],
|
|
24678
|
+
['application/json']
|
|
24679
|
+
);
|
|
24680
|
+
}
|
|
24681
|
+
|
|
24682
|
+
/**
|
|
24683
|
+
* Get a list of Supported Content profiles
|
|
24684
|
+
*
|
|
24685
|
+
* @param {Object} opts Optional parameters
|
|
24686
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
24687
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
24688
|
+
*/
|
|
24689
|
+
getMessagingSupportedcontent(opts) {
|
|
24690
|
+
opts = opts || {};
|
|
24691
|
+
|
|
24692
|
+
|
|
24693
|
+
return this.apiClient.callApi(
|
|
24694
|
+
'/api/v2/messaging/supportedcontent',
|
|
24695
|
+
'GET',
|
|
24696
|
+
{ },
|
|
24697
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
24698
|
+
{ },
|
|
24699
|
+
{ },
|
|
24700
|
+
null,
|
|
24701
|
+
['PureCloud OAuth'],
|
|
24702
|
+
['application/json'],
|
|
24703
|
+
['application/json']
|
|
24704
|
+
);
|
|
24705
|
+
}
|
|
24706
|
+
|
|
24707
|
+
/**
|
|
24708
|
+
* Get a supported content profile
|
|
24709
|
+
*
|
|
24710
|
+
* @param {String} supportedContentId Supported Content ID
|
|
24711
|
+
*/
|
|
24712
|
+
getMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
24713
|
+
// verify the required parameter 'supportedContentId' is set
|
|
24714
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
24715
|
+
throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
|
|
24716
|
+
}
|
|
24717
|
+
|
|
24718
|
+
return this.apiClient.callApi(
|
|
24719
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
24720
|
+
'GET',
|
|
24721
|
+
{ 'supportedContentId': supportedContentId },
|
|
24722
|
+
{ },
|
|
24723
|
+
{ },
|
|
24724
|
+
{ },
|
|
24725
|
+
null,
|
|
24726
|
+
['PureCloud OAuth'],
|
|
24727
|
+
['application/json'],
|
|
24728
|
+
['application/json']
|
|
24729
|
+
);
|
|
24730
|
+
}
|
|
24731
|
+
|
|
24732
|
+
/**
|
|
24733
|
+
* Update a supported content profile
|
|
24734
|
+
*
|
|
24735
|
+
* @param {String} supportedContentId Supported Content ID
|
|
24736
|
+
* @param {Object} body SupportedContent
|
|
24737
|
+
*/
|
|
24738
|
+
patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
24739
|
+
// verify the required parameter 'supportedContentId' is set
|
|
24740
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
24741
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
24742
|
+
}
|
|
24743
|
+
// verify the required parameter 'body' is set
|
|
24744
|
+
if (body === undefined || body === null) {
|
|
24745
|
+
throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
24746
|
+
}
|
|
24747
|
+
|
|
24748
|
+
return this.apiClient.callApi(
|
|
24749
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
24750
|
+
'PATCH',
|
|
24751
|
+
{ 'supportedContentId': supportedContentId },
|
|
24752
|
+
{ },
|
|
24753
|
+
{ },
|
|
24754
|
+
{ },
|
|
24755
|
+
body,
|
|
24756
|
+
['PureCloud OAuth'],
|
|
24757
|
+
['application/json'],
|
|
24758
|
+
['application/json']
|
|
24759
|
+
);
|
|
24760
|
+
}
|
|
24761
|
+
|
|
24762
|
+
/**
|
|
24763
|
+
* Create a Supported Content profile
|
|
24764
|
+
*
|
|
24765
|
+
* @param {Object} body SupportedContent
|
|
24766
|
+
*/
|
|
24767
|
+
postMessagingSupportedcontent(body) {
|
|
24768
|
+
// verify the required parameter 'body' is set
|
|
24769
|
+
if (body === undefined || body === null) {
|
|
24770
|
+
throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
|
|
24771
|
+
}
|
|
24772
|
+
|
|
24773
|
+
return this.apiClient.callApi(
|
|
24774
|
+
'/api/v2/messaging/supportedcontent',
|
|
24775
|
+
'POST',
|
|
24776
|
+
{ },
|
|
24777
|
+
{ },
|
|
24778
|
+
{ },
|
|
24779
|
+
{ },
|
|
24780
|
+
body,
|
|
24781
|
+
['PureCloud OAuth'],
|
|
24782
|
+
['application/json'],
|
|
24783
|
+
['application/json']
|
|
24784
|
+
);
|
|
24785
|
+
}
|
|
24786
|
+
|
|
24787
|
+
}
|
|
24788
|
+
|
|
24412
24789
|
class MobileDevicesApi {
|
|
24413
24790
|
/**
|
|
24414
24791
|
* MobileDevices service.
|
|
24415
24792
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24416
|
-
* @version
|
|
24793
|
+
* @version 132.0.0
|
|
24417
24794
|
*/
|
|
24418
24795
|
|
|
24419
24796
|
/**
|
|
@@ -24564,7 +24941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24564
24941
|
/**
|
|
24565
24942
|
* Notifications service.
|
|
24566
24943
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24567
|
-
* @version
|
|
24944
|
+
* @version 132.0.0
|
|
24568
24945
|
*/
|
|
24569
24946
|
|
|
24570
24947
|
/**
|
|
@@ -24789,7 +25166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24789
25166
|
/**
|
|
24790
25167
|
* OAuth service.
|
|
24791
25168
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
24792
|
-
* @version
|
|
25169
|
+
* @version 132.0.0
|
|
24793
25170
|
*/
|
|
24794
25171
|
|
|
24795
25172
|
/**
|
|
@@ -25147,7 +25524,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25147
25524
|
/**
|
|
25148
25525
|
* Objects service.
|
|
25149
25526
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25150
|
-
* @version
|
|
25527
|
+
* @version 132.0.0
|
|
25151
25528
|
*/
|
|
25152
25529
|
|
|
25153
25530
|
/**
|
|
@@ -25418,7 +25795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25418
25795
|
/**
|
|
25419
25796
|
* Organization service.
|
|
25420
25797
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25421
|
-
* @version
|
|
25798
|
+
* @version 132.0.0
|
|
25422
25799
|
*/
|
|
25423
25800
|
|
|
25424
25801
|
/**
|
|
@@ -25821,7 +26198,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25821
26198
|
/**
|
|
25822
26199
|
* OrganizationAuthorization service.
|
|
25823
26200
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
25824
|
-
* @version
|
|
26201
|
+
* @version 132.0.0
|
|
25825
26202
|
*/
|
|
25826
26203
|
|
|
25827
26204
|
/**
|
|
@@ -26746,7 +27123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26746
27123
|
/**
|
|
26747
27124
|
* Outbound service.
|
|
26748
27125
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
26749
|
-
* @version
|
|
27126
|
+
* @version 132.0.0
|
|
26750
27127
|
*/
|
|
26751
27128
|
|
|
26752
27129
|
/**
|
|
@@ -29131,8 +29508,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29131
29508
|
* Only Internal DNC lists may be appended to
|
|
29132
29509
|
* @param {String} dncListId DncList ID
|
|
29133
29510
|
* @param {Array.<Object>} body DNC Phone Numbers
|
|
29511
|
+
* @param {Object} opts Optional parameters
|
|
29512
|
+
* @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
|
|
29134
29513
|
*/
|
|
29135
|
-
postOutboundDnclistPhonenumbers(dncListId, body) {
|
|
29514
|
+
postOutboundDnclistPhonenumbers(dncListId, body, opts) {
|
|
29515
|
+
opts = opts || {};
|
|
29516
|
+
|
|
29136
29517
|
// verify the required parameter 'dncListId' is set
|
|
29137
29518
|
if (dncListId === undefined || dncListId === null) {
|
|
29138
29519
|
throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
|
|
@@ -29146,7 +29527,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29146
29527
|
'/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
|
|
29147
29528
|
'POST',
|
|
29148
29529
|
{ 'dncListId': dncListId },
|
|
29149
|
-
{
|
|
29530
|
+
{ 'expirationDateTime': opts['expirationDateTime'] },
|
|
29150
29531
|
{ },
|
|
29151
29532
|
{ },
|
|
29152
29533
|
body,
|
|
@@ -29772,7 +30153,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29772
30153
|
/**
|
|
29773
30154
|
* Presence service.
|
|
29774
30155
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
29775
|
-
* @version
|
|
30156
|
+
* @version 132.0.0
|
|
29776
30157
|
*/
|
|
29777
30158
|
|
|
29778
30159
|
/**
|
|
@@ -30144,7 +30525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30144
30525
|
/**
|
|
30145
30526
|
* Quality service.
|
|
30146
30527
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
30147
|
-
* @version
|
|
30528
|
+
* @version 132.0.0
|
|
30148
30529
|
*/
|
|
30149
30530
|
|
|
30150
30531
|
/**
|
|
@@ -30300,7 +30681,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30300
30681
|
|
|
30301
30682
|
/**
|
|
30302
30683
|
* Gets a list of Agent Activities
|
|
30303
|
-
*
|
|
30684
|
+
* 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
|
|
30304
30685
|
* @param {Object} opts Optional parameters
|
|
30305
30686
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
30306
30687
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -30763,6 +31144,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30763
31144
|
);
|
|
30764
31145
|
}
|
|
30765
31146
|
|
|
31147
|
+
/**
|
|
31148
|
+
* Retrieve a list of the latest published evaluation form versions by context ids
|
|
31149
|
+
*
|
|
31150
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
|
|
31151
|
+
*/
|
|
31152
|
+
getQualityFormsEvaluationsBulkContexts(contextId) {
|
|
31153
|
+
// verify the required parameter 'contextId' is set
|
|
31154
|
+
if (contextId === undefined || contextId === null) {
|
|
31155
|
+
throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
|
|
31156
|
+
}
|
|
31157
|
+
|
|
31158
|
+
return this.apiClient.callApi(
|
|
31159
|
+
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
31160
|
+
'GET',
|
|
31161
|
+
{ },
|
|
31162
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
31163
|
+
{ },
|
|
31164
|
+
{ },
|
|
31165
|
+
null,
|
|
31166
|
+
['PureCloud OAuth'],
|
|
31167
|
+
['application/json'],
|
|
31168
|
+
['application/json']
|
|
31169
|
+
);
|
|
31170
|
+
}
|
|
31171
|
+
|
|
30766
31172
|
/**
|
|
30767
31173
|
* Get a survey form
|
|
30768
31174
|
*
|
|
@@ -31277,6 +31683,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31277
31683
|
);
|
|
31278
31684
|
}
|
|
31279
31685
|
|
|
31686
|
+
/**
|
|
31687
|
+
* Query for evaluation aggregates for the current user
|
|
31688
|
+
*
|
|
31689
|
+
* @param {Object} body query
|
|
31690
|
+
*/
|
|
31691
|
+
postQualityEvaluationsAggregatesQueryMe(body) {
|
|
31692
|
+
// verify the required parameter 'body' is set
|
|
31693
|
+
if (body === undefined || body === null) {
|
|
31694
|
+
throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
|
|
31695
|
+
}
|
|
31696
|
+
|
|
31697
|
+
return this.apiClient.callApi(
|
|
31698
|
+
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
31699
|
+
'POST',
|
|
31700
|
+
{ },
|
|
31701
|
+
{ },
|
|
31702
|
+
{ },
|
|
31703
|
+
{ },
|
|
31704
|
+
body,
|
|
31705
|
+
['PureCloud OAuth'],
|
|
31706
|
+
['application/json'],
|
|
31707
|
+
['application/json']
|
|
31708
|
+
);
|
|
31709
|
+
}
|
|
31710
|
+
|
|
31280
31711
|
/**
|
|
31281
31712
|
* Score evaluation
|
|
31282
31713
|
*
|
|
@@ -31672,7 +32103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31672
32103
|
/**
|
|
31673
32104
|
* Recording service.
|
|
31674
32105
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
31675
|
-
* @version
|
|
32106
|
+
* @version 132.0.0
|
|
31676
32107
|
*/
|
|
31677
32108
|
|
|
31678
32109
|
/**
|
|
@@ -31885,6 +32316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31885
32316
|
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
31886
32317
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
31887
32318
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
32319
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
31888
32320
|
*/
|
|
31889
32321
|
getConversationRecording(conversationId, recordingId, opts) {
|
|
31890
32322
|
opts = opts || {};
|
|
@@ -31902,7 +32334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31902
32334
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
31903
32335
|
'GET',
|
|
31904
32336
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
31905
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
32337
|
+
{ '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') },
|
|
31906
32338
|
{ },
|
|
31907
32339
|
{ },
|
|
31908
32340
|
null,
|
|
@@ -32038,7 +32470,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32038
32470
|
* @param {String} conversationId Conversation ID
|
|
32039
32471
|
* @param {Object} opts Optional parameters
|
|
32040
32472
|
* @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)
|
|
32041
|
-
* @param {Object} opts.formatId The desired media format
|
|
32473
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
32474
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
32042
32475
|
*/
|
|
32043
32476
|
getConversationRecordings(conversationId, opts) {
|
|
32044
32477
|
opts = opts || {};
|
|
@@ -32052,7 +32485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32052
32485
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
32053
32486
|
'GET',
|
|
32054
32487
|
{ 'conversationId': conversationId },
|
|
32055
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
|
|
32488
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
32056
32489
|
{ },
|
|
32057
32490
|
{ },
|
|
32058
32491
|
null,
|
|
@@ -32099,6 +32532,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32099
32532
|
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
32100
32533
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
32101
32534
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
32535
|
+
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
32102
32536
|
*/
|
|
32103
32537
|
getOrphanrecordingMedia(orphanId, opts) {
|
|
32104
32538
|
opts = opts || {};
|
|
@@ -32112,7 +32546,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32112
32546
|
'/api/v2/orphanrecordings/{orphanId}/media',
|
|
32113
32547
|
'GET',
|
|
32114
32548
|
{ 'orphanId': orphanId },
|
|
32115
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
|
|
32549
|
+
{ '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') },
|
|
32116
32550
|
{ },
|
|
32117
32551
|
{ },
|
|
32118
32552
|
null,
|
|
@@ -33195,7 +33629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33195
33629
|
/**
|
|
33196
33630
|
* ResponseManagement service.
|
|
33197
33631
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
33198
|
-
* @version
|
|
33632
|
+
* @version 132.0.0
|
|
33199
33633
|
*/
|
|
33200
33634
|
|
|
33201
33635
|
/**
|
|
@@ -33520,7 +33954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33520
33954
|
/**
|
|
33521
33955
|
* Routing service.
|
|
33522
33956
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33523
|
-
* @version
|
|
33957
|
+
* @version 132.0.0
|
|
33524
33958
|
*/
|
|
33525
33959
|
|
|
33526
33960
|
/**
|
|
@@ -36443,7 +36877,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36443
36877
|
/**
|
|
36444
36878
|
* SCIM service.
|
|
36445
36879
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36446
|
-
* @version
|
|
36880
|
+
* @version 132.0.0
|
|
36447
36881
|
*/
|
|
36448
36882
|
|
|
36449
36883
|
/**
|
|
@@ -37320,7 +37754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37320
37754
|
/**
|
|
37321
37755
|
* Scripts service.
|
|
37322
37756
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
37323
|
-
* @version
|
|
37757
|
+
* @version 132.0.0
|
|
37324
37758
|
*/
|
|
37325
37759
|
|
|
37326
37760
|
/**
|
|
@@ -37673,7 +38107,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37673
38107
|
/**
|
|
37674
38108
|
* Search service.
|
|
37675
38109
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
37676
|
-
* @version
|
|
38110
|
+
* @version 132.0.0
|
|
37677
38111
|
*/
|
|
37678
38112
|
|
|
37679
38113
|
/**
|
|
@@ -38208,7 +38642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38208
38642
|
/**
|
|
38209
38643
|
* SpeechTextAnalytics service.
|
|
38210
38644
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
38211
|
-
* @version
|
|
38645
|
+
* @version 132.0.0
|
|
38212
38646
|
*/
|
|
38213
38647
|
|
|
38214
38648
|
/**
|
|
@@ -38377,26 +38811,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38377
38811
|
);
|
|
38378
38812
|
}
|
|
38379
38813
|
|
|
38380
|
-
/**
|
|
38381
|
-
* Get list of supported Speech & Text Analytics dialects
|
|
38382
|
-
* This api has been deprecated. Use api/v2/topics/dialects instead
|
|
38383
|
-
*/
|
|
38384
|
-
getSpeechandtextanalyticsDialects() {
|
|
38385
|
-
|
|
38386
|
-
return this.apiClient.callApi(
|
|
38387
|
-
'/api/v2/speechandtextanalytics/dialects',
|
|
38388
|
-
'GET',
|
|
38389
|
-
{ },
|
|
38390
|
-
{ },
|
|
38391
|
-
{ },
|
|
38392
|
-
{ },
|
|
38393
|
-
null,
|
|
38394
|
-
['PureCloud OAuth'],
|
|
38395
|
-
['application/json'],
|
|
38396
|
-
['application/json']
|
|
38397
|
-
);
|
|
38398
|
-
}
|
|
38399
|
-
|
|
38400
38814
|
/**
|
|
38401
38815
|
* Get a Speech & Text Analytics program by id
|
|
38402
38816
|
*
|
|
@@ -39081,7 +39495,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39081
39495
|
/**
|
|
39082
39496
|
* Stations service.
|
|
39083
39497
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
39084
|
-
* @version
|
|
39498
|
+
* @version 132.0.0
|
|
39085
39499
|
*/
|
|
39086
39500
|
|
|
39087
39501
|
/**
|
|
@@ -39228,7 +39642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39228
39642
|
/**
|
|
39229
39643
|
* Suggest service.
|
|
39230
39644
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
39231
|
-
* @version
|
|
39645
|
+
* @version 132.0.0
|
|
39232
39646
|
*/
|
|
39233
39647
|
|
|
39234
39648
|
/**
|
|
@@ -39367,7 +39781,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39367
39781
|
/**
|
|
39368
39782
|
* Telephony service.
|
|
39369
39783
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
39370
|
-
* @version
|
|
39784
|
+
* @version 132.0.0
|
|
39371
39785
|
*/
|
|
39372
39786
|
|
|
39373
39787
|
/**
|
|
@@ -39475,7 +39889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39475
39889
|
/**
|
|
39476
39890
|
* TelephonyProvidersEdge service.
|
|
39477
39891
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
39478
|
-
* @version
|
|
39892
|
+
* @version 132.0.0
|
|
39479
39893
|
*/
|
|
39480
39894
|
|
|
39481
39895
|
/**
|
|
@@ -40889,7 +41303,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40889
41303
|
* @param {Object} opts Optional parameters
|
|
40890
41304
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
40891
41305
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
40892
|
-
* @param {String} opts.sortBy Sort by
|
|
41306
|
+
* @param {String} opts.sortBy Sort by
|
|
40893
41307
|
* @param {String} opts._number Number
|
|
40894
41308
|
*/
|
|
40895
41309
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
@@ -43108,7 +43522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43108
43522
|
/**
|
|
43109
43523
|
* Textbots service.
|
|
43110
43524
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
43111
|
-
* @version
|
|
43525
|
+
* @version 132.0.0
|
|
43112
43526
|
*/
|
|
43113
43527
|
|
|
43114
43528
|
/**
|
|
@@ -43236,7 +43650,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43236
43650
|
/**
|
|
43237
43651
|
* Tokens service.
|
|
43238
43652
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
43239
|
-
* @version
|
|
43653
|
+
* @version 132.0.0
|
|
43240
43654
|
*/
|
|
43241
43655
|
|
|
43242
43656
|
/**
|
|
@@ -43342,7 +43756,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43342
43756
|
/**
|
|
43343
43757
|
* Uploads service.
|
|
43344
43758
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
43345
|
-
* @version
|
|
43759
|
+
* @version 132.0.0
|
|
43346
43760
|
*/
|
|
43347
43761
|
|
|
43348
43762
|
/**
|
|
@@ -43518,7 +43932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43518
43932
|
/**
|
|
43519
43933
|
* Usage service.
|
|
43520
43934
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
43521
|
-
* @version
|
|
43935
|
+
* @version 132.0.0
|
|
43522
43936
|
*/
|
|
43523
43937
|
|
|
43524
43938
|
/**
|
|
@@ -43589,7 +44003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43589
44003
|
/**
|
|
43590
44004
|
* UserRecordings service.
|
|
43591
44005
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43592
|
-
* @version
|
|
44006
|
+
* @version 132.0.0
|
|
43593
44007
|
*/
|
|
43594
44008
|
|
|
43595
44009
|
/**
|
|
@@ -43773,7 +44187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43773
44187
|
/**
|
|
43774
44188
|
* Users service.
|
|
43775
44189
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
43776
|
-
* @version
|
|
44190
|
+
* @version 132.0.0
|
|
43777
44191
|
*/
|
|
43778
44192
|
|
|
43779
44193
|
/**
|
|
@@ -46075,7 +46489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46075
46489
|
/**
|
|
46076
46490
|
* Utilities service.
|
|
46077
46491
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
46078
|
-
* @version
|
|
46492
|
+
* @version 132.0.0
|
|
46079
46493
|
*/
|
|
46080
46494
|
|
|
46081
46495
|
/**
|
|
@@ -46186,7 +46600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46186
46600
|
/**
|
|
46187
46601
|
* Voicemail service.
|
|
46188
46602
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
46189
|
-
* @version
|
|
46603
|
+
* @version 132.0.0
|
|
46190
46604
|
*/
|
|
46191
46605
|
|
|
46192
46606
|
/**
|
|
@@ -46853,7 +47267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46853
47267
|
/**
|
|
46854
47268
|
* WebChat service.
|
|
46855
47269
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
46856
|
-
* @version
|
|
47270
|
+
* @version 132.0.0
|
|
46857
47271
|
*/
|
|
46858
47272
|
|
|
46859
47273
|
/**
|
|
@@ -47397,7 +47811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47397
47811
|
/**
|
|
47398
47812
|
* WebDeployments service.
|
|
47399
47813
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
47400
|
-
* @version
|
|
47814
|
+
* @version 132.0.0
|
|
47401
47815
|
*/
|
|
47402
47816
|
|
|
47403
47817
|
/**
|
|
@@ -47752,7 +48166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47752
48166
|
/**
|
|
47753
48167
|
* WebMessaging service.
|
|
47754
48168
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
47755
|
-
* @version
|
|
48169
|
+
* @version 132.0.0
|
|
47756
48170
|
*/
|
|
47757
48171
|
|
|
47758
48172
|
/**
|
|
@@ -47798,7 +48212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47798
48212
|
/**
|
|
47799
48213
|
* Widgets service.
|
|
47800
48214
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
47801
|
-
* @version
|
|
48215
|
+
* @version 132.0.0
|
|
47802
48216
|
*/
|
|
47803
48217
|
|
|
47804
48218
|
/**
|
|
@@ -47944,7 +48358,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47944
48358
|
/**
|
|
47945
48359
|
* WorkforceManagement service.
|
|
47946
48360
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
47947
|
-
* @version
|
|
48361
|
+
* @version 132.0.0
|
|
47948
48362
|
*/
|
|
47949
48363
|
|
|
47950
48364
|
/**
|
|
@@ -51975,7 +52389,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51975
52389
|
* </pre>
|
|
51976
52390
|
* </p>
|
|
51977
52391
|
* @module purecloud-platform-client-v2/index
|
|
51978
|
-
* @version
|
|
52392
|
+
* @version 132.0.0
|
|
51979
52393
|
*/
|
|
51980
52394
|
class platformClient {
|
|
51981
52395
|
constructor() {
|
|
@@ -52129,6 +52543,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52129
52543
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
52130
52544
|
*/
|
|
52131
52545
|
this.LocationsApi = LocationsApi;
|
|
52546
|
+
/**
|
|
52547
|
+
* The MessagingApi service constructor.
|
|
52548
|
+
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
52549
|
+
*/
|
|
52550
|
+
this.MessagingApi = MessagingApi;
|
|
52132
52551
|
/**
|
|
52133
52552
|
* The MobileDevicesApi service constructor.
|
|
52134
52553
|
* @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}
|
|
@@ -52309,4 +52728,4 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52309
52728
|
|
|
52310
52729
|
return index;
|
|
52311
52730
|
|
|
52312
|
-
});
|
|
52731
|
+
}));
|