purecloud-platform-client-v2 182.1.0 → 183.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 +191 -113
- package/dist/web-amd/purecloud-platform-client-v2.js +191 -113
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +143 -110
- package/dist/web-cjs/purecloud-platform-client-v2.js +143 -110
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +294 -214
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +30 -19
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +41 -5
- 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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +4 -8
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +39 -2
- 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/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -6
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +7 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.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/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5930,7 +5930,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5930
5930
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5931
5931
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
|
|
5932
5932
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5933
|
-
* @version
|
|
5933
|
+
* @version 183.0.0
|
|
5934
5934
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5935
5935
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5936
5936
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6185,7 +6185,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6185
6185
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6186
6186
|
* Alerting service.
|
|
6187
6187
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6188
|
-
* @version
|
|
6188
|
+
* @version 183.0.0
|
|
6189
6189
|
*/ /**
|
|
6190
6190
|
* Constructs a new AlertingApi.
|
|
6191
6191
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6199,13 +6199,15 @@ that.config.logger.log('error',error.response.status,httpMethod,url,request.head
|
|
|
6199
6199
|
*/_createClass(AlertingApi,[{key:"deleteAlertingAlert",value:function deleteAlertingAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6200
6200
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6201
6201
|
* Delete an interaction stats alert
|
|
6202
|
-
*
|
|
6202
|
+
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
6203
6203
|
* @param {String} alertId Alert ID
|
|
6204
|
+
* @deprecated
|
|
6204
6205
|
*/},{key:"deleteAlertingInteractionstatsAlert",value:function deleteAlertingInteractionstatsAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6205
6206
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6206
|
-
* Delete an interaction stats rule
|
|
6207
|
-
*
|
|
6207
|
+
* Delete an interaction stats rule
|
|
6208
|
+
* Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
|
|
6208
6209
|
* @param {String} ruleId Rule ID
|
|
6210
|
+
* @deprecated
|
|
6209
6211
|
*/},{key:"deleteAlertingInteractionstatsRule",value:function deleteAlertingInteractionstatsRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
6210
6212
|
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6211
6213
|
* Delete a rule.
|
|
@@ -6218,35 +6220,41 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6218
6220
|
* @param {String} alertId Alert ID
|
|
6219
6221
|
*/},{key:"getAlertingAlert",value:function getAlertingAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6220
6222
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','GET',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6221
|
-
* Gets active alert count for a user
|
|
6222
|
-
*
|
|
6223
|
+
* Gets active alert count for a user
|
|
6224
|
+
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
|
|
6225
|
+
* @deprecated
|
|
6223
6226
|
*/},{key:"getAlertingAlertsActive",value:function getAlertingAlertsActive(){return this.apiClient.callApi('/api/v2/alerting/alerts/active','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6224
6227
|
* Get an interaction stats alert
|
|
6225
|
-
*
|
|
6228
|
+
* Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
|
|
6226
6229
|
* @param {String} alertId Alert ID
|
|
6227
6230
|
* @param {Object} opts Optional parameters
|
|
6228
6231
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6232
|
+
* @deprecated
|
|
6229
6233
|
*/},{key:"getAlertingInteractionstatsAlert",value:function getAlertingInteractionstatsAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
6230
6234
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','GET',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6231
|
-
* Get interaction stats alert list
|
|
6232
|
-
*
|
|
6235
|
+
* Get interaction stats alert list
|
|
6236
|
+
* Apps should migrate to use POST /api/v2/alerting/alerts/query.
|
|
6233
6237
|
* @param {Object} opts Optional parameters
|
|
6234
6238
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6239
|
+
* @deprecated
|
|
6235
6240
|
*/},{key:"getAlertingInteractionstatsAlerts",value:function getAlertingInteractionstatsAlerts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6236
|
-
* Gets user unread count of interaction stats alerts
|
|
6237
|
-
*
|
|
6241
|
+
* Gets user unread count of interaction stats alerts
|
|
6242
|
+
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
|
|
6243
|
+
* @deprecated
|
|
6238
6244
|
*/},{key:"getAlertingInteractionstatsAlertsUnread",value:function getAlertingInteractionstatsAlertsUnread(){return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/unread','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6239
|
-
* Get an interaction stats rule
|
|
6240
|
-
*
|
|
6245
|
+
* Get an interaction stats rule
|
|
6246
|
+
* Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
|
|
6241
6247
|
* @param {String} ruleId Rule ID
|
|
6242
6248
|
* @param {Object} opts Optional parameters
|
|
6243
6249
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6250
|
+
* @deprecated
|
|
6244
6251
|
*/},{key:"getAlertingInteractionstatsRule",value:function getAlertingInteractionstatsRule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
6245
6252
|
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','GET',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6246
|
-
* Get an interaction stats rule list
|
|
6247
|
-
*
|
|
6253
|
+
* Get an interaction stats rule list
|
|
6254
|
+
* Apps should migrate to use POST /api/v2/alerting/rules/query.
|
|
6248
6255
|
* @param {Object} opts Optional parameters
|
|
6249
6256
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6257
|
+
* @deprecated
|
|
6250
6258
|
*/},{key:"getAlertingInteractionstatsRules",value:function getAlertingInteractionstatsRules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6251
6259
|
* Get a rule.
|
|
6252
6260
|
*
|
|
@@ -6275,11 +6283,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6275
6283
|
* @param {Object} opts Optional parameters
|
|
6276
6284
|
* @param {Object} opts.body
|
|
6277
6285
|
*/},{key:"postAlertingAlertsQuery",value:function postAlertingAlertsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/alerts/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6278
|
-
* Create an interaction stats rule
|
|
6279
|
-
*
|
|
6286
|
+
* Create an interaction stats rule
|
|
6287
|
+
* Apps should migrate to use POST /api/v2/alerting/rules.
|
|
6280
6288
|
* @param {Object} body AlertingRule
|
|
6281
6289
|
* @param {Object} opts Optional parameters
|
|
6282
6290
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6291
|
+
* @deprecated
|
|
6283
6292
|
*/},{key:"postAlertingInteractionstatsRules",value:function postAlertingInteractionstatsRules(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
6284
6293
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6285
6294
|
* Create a Rule.
|
|
@@ -6305,20 +6314,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6305
6314
|
*/},{key:"putAlertingAlert",value:function putAlertingAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
6306
6315
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','PUT',{'alertId':alertId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6307
6316
|
* Update an interaction stats alert read status
|
|
6308
|
-
*
|
|
6317
|
+
* Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
|
|
6309
6318
|
* @param {String} alertId Alert ID
|
|
6310
6319
|
* @param {Object} body InteractionStatsAlert
|
|
6311
6320
|
* @param {Object} opts Optional parameters
|
|
6312
6321
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6322
|
+
* @deprecated
|
|
6313
6323
|
*/},{key:"putAlertingInteractionstatsAlert",value:function putAlertingInteractionstatsAlert(alertId,body,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
6314
6324
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';}// verify the required parameter 'body' is set
|
|
6315
6325
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','PUT',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6316
6326
|
* Update an interaction stats rule
|
|
6317
|
-
*
|
|
6327
|
+
* Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
|
|
6318
6328
|
* @param {String} ruleId Rule ID
|
|
6319
6329
|
* @param {Object} body AlertingRule
|
|
6320
6330
|
* @param {Object} opts Optional parameters
|
|
6321
6331
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
6332
|
+
* @deprecated
|
|
6322
6333
|
*/},{key:"putAlertingInteractionstatsRule",value:function putAlertingInteractionstatsRule(ruleId,body,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
6323
6334
|
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';}// verify the required parameter 'body' is set
|
|
6324
6335
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','PUT',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -6331,7 +6342,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6331
6342
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6332
6343
|
* Analytics service.
|
|
6333
6344
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6334
|
-
* @version
|
|
6345
|
+
* @version 183.0.0
|
|
6335
6346
|
*/ /**
|
|
6336
6347
|
* Constructs a new AnalyticsApi.
|
|
6337
6348
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6369,7 +6380,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6369
6380
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6370
6381
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6371
6382
|
* Get Reporting Turns.
|
|
6372
|
-
* Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint
|
|
6383
|
+
* Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6373
6384
|
* @param {String} botFlowId ID of the bot flow.
|
|
6374
6385
|
* @param {Object} opts Optional parameters
|
|
6375
6386
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -6381,6 +6392,17 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6381
6392
|
* @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
|
|
6382
6393
|
*/},{key:"getAnalyticsBotflowReportingturns",value:function getAnalyticsBotflowReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6383
6394
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6395
|
+
* Get Bot Flow Sessions.
|
|
6396
|
+
* Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6397
|
+
* @param {String} botFlowId ID of the bot flow.
|
|
6398
|
+
* @param {Object} opts Optional parameters
|
|
6399
|
+
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
6400
|
+
* @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
|
|
6401
|
+
* @param {String} opts.interval Date range filter based on the date the individual resources were completed. UTC is the default if no TZ is supplied, however alternate timezones can be used e.g: '2022-11-22T09:11:11.111+08:00/2022-11-30T07:17:44.586-07'. . Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
6402
|
+
* @param {Object} opts.botResultCategories Optional case-insensitive comma separated list of Bot Result Categories to filter sessions by.
|
|
6403
|
+
* @param {String} opts.endLanguage Optional case-insensitive language code to filter sessions by the language the sessions ended in.
|
|
6404
|
+
*/},{key:"getAnalyticsBotflowSessions",value:function getAnalyticsBotflowSessions(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6405
|
+
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowSessions';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/sessions','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'botResultCategories':opts['botResultCategories'],'endLanguage':opts['endLanguage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6384
6406
|
* Get status for async query for bot aggregates
|
|
6385
6407
|
*
|
|
6386
6408
|
* @param {String} jobId jobId
|
|
@@ -6782,13 +6804,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6782
6804
|
*/},{key:"postAnalyticsReportingExports",value:function postAnalyticsReportingExports(body){// verify the required parameter 'body' is set
|
|
6783
6805
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingExports';}return this.apiClient.callApi('/api/v2/analytics/reporting/exports','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6784
6806
|
* Place a scheduled report immediately into the reporting queue
|
|
6785
|
-
*
|
|
6807
|
+
* This route is deprecated, please use POST:api/v2/analytics/reporting/exports/{exportId}/execute instead
|
|
6786
6808
|
* @param {String} scheduleId Schedule ID
|
|
6809
|
+
* @deprecated
|
|
6787
6810
|
*/},{key:"postAnalyticsReportingScheduleRunreport",value:function postAnalyticsReportingScheduleRunreport(scheduleId){// verify the required parameter 'scheduleId' is set
|
|
6788
6811
|
if(scheduleId===undefined||scheduleId===null){throw'Missing the required parameter "scheduleId" when calling postAnalyticsReportingScheduleRunreport';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}/runreport','POST',{'scheduleId':scheduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6789
6812
|
* Create a scheduled report job
|
|
6790
|
-
*
|
|
6813
|
+
* This route is deprecated, please use POST:api/v2/analytics/reporting/exports instead
|
|
6791
6814
|
* @param {Object} body ReportSchedule
|
|
6815
|
+
* @deprecated
|
|
6792
6816
|
*/},{key:"postAnalyticsReportingSchedules",value:function postAnalyticsReportingSchedules(body){// verify the required parameter 'body' is set
|
|
6793
6817
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingSchedules';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6794
6818
|
* Query for resolution aggregates asynchronously
|
|
@@ -6890,15 +6914,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6890
6914
|
*/},{key:"putAnalyticsDataretentionSettings",value:function putAnalyticsDataretentionSettings(body){// verify the required parameter 'body' is set
|
|
6891
6915
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6892
6916
|
* Update a scheduled report job.
|
|
6893
|
-
*
|
|
6917
|
+
* This route is deprecated, please use PATCH:api/v2/analytics/reporting/exports/{exportId}/schedule instead
|
|
6894
6918
|
* @param {String} scheduleId Schedule ID
|
|
6895
6919
|
* @param {Object} body ReportSchedule
|
|
6920
|
+
* @deprecated
|
|
6896
6921
|
*/},{key:"putAnalyticsReportingSchedule",value:function putAnalyticsReportingSchedule(scheduleId,body){// verify the required parameter 'scheduleId' is set
|
|
6897
6922
|
if(scheduleId===undefined||scheduleId===null){throw'Missing the required parameter "scheduleId" when calling putAnalyticsReportingSchedule';}// verify the required parameter 'body' is set
|
|
6898
6923
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
6899
6924
|
* Architect service.
|
|
6900
6925
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6901
|
-
* @version
|
|
6926
|
+
* @version 183.0.0
|
|
6902
6927
|
*/ /**
|
|
6903
6928
|
* Constructs a new ArchitectApi.
|
|
6904
6929
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -7930,7 +7955,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
7930
7955
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
7931
7956
|
* Audit service.
|
|
7932
7957
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7933
|
-
* @version
|
|
7958
|
+
* @version 183.0.0
|
|
7934
7959
|
*/ /**
|
|
7935
7960
|
* Constructs a new AuditApi.
|
|
7936
7961
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -7972,7 +7997,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7972
7997
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
7973
7998
|
* Authorization service.
|
|
7974
7999
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
7975
|
-
* @version
|
|
8000
|
+
* @version 183.0.0
|
|
7976
8001
|
*/ /**
|
|
7977
8002
|
* Constructs a new AuthorizationApi.
|
|
7978
8003
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8283,7 +8308,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8283
8308
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8284
8309
|
* Billing service.
|
|
8285
8310
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8286
|
-
* @version
|
|
8311
|
+
* @version 183.0.0
|
|
8287
8312
|
*/ /**
|
|
8288
8313
|
* Constructs a new BillingApi.
|
|
8289
8314
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8307,7 +8332,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8307
8332
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8308
8333
|
* CarrierServices service.
|
|
8309
8334
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8310
|
-
* @version
|
|
8335
|
+
* @version 183.0.0
|
|
8311
8336
|
*/ /**
|
|
8312
8337
|
* Constructs a new CarrierServicesApi.
|
|
8313
8338
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8327,7 +8352,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8327
8352
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8328
8353
|
* Chat service.
|
|
8329
8354
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8330
|
-
* @version
|
|
8355
|
+
* @version 183.0.0
|
|
8331
8356
|
*/ /**
|
|
8332
8357
|
* Constructs a new ChatApi.
|
|
8333
8358
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8524,7 +8549,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8524
8549
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8525
8550
|
* Coaching service.
|
|
8526
8551
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8527
|
-
* @version
|
|
8552
|
+
* @version 183.0.0
|
|
8528
8553
|
*/ /**
|
|
8529
8554
|
* Constructs a new CoachingApi.
|
|
8530
8555
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8677,7 +8702,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8677
8702
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
8678
8703
|
* ContentManagement service.
|
|
8679
8704
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8680
|
-
* @version
|
|
8705
|
+
* @version 183.0.0
|
|
8681
8706
|
*/ /**
|
|
8682
8707
|
* Constructs a new ContentManagementApi.
|
|
8683
8708
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -8979,7 +9004,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
8979
9004
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
8980
9005
|
* Conversations service.
|
|
8981
9006
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8982
|
-
* @version
|
|
9007
|
+
* @version 183.0.0
|
|
8983
9008
|
*/ /**
|
|
8984
9009
|
* Constructs a new ConversationsApi.
|
|
8985
9010
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10703,7 +10728,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10703
10728
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
10704
10729
|
* DataExtensions service.
|
|
10705
10730
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10706
|
-
* @version
|
|
10731
|
+
* @version 183.0.0
|
|
10707
10732
|
*/ /**
|
|
10708
10733
|
* Constructs a new DataExtensionsApi.
|
|
10709
10734
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10724,7 +10749,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10724
10749
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
10725
10750
|
* Downloads service.
|
|
10726
10751
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10727
|
-
* @version
|
|
10752
|
+
* @version 183.0.0
|
|
10728
10753
|
*/ /**
|
|
10729
10754
|
* Constructs a new DownloadsApi.
|
|
10730
10755
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10743,7 +10768,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10743
10768
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
10744
10769
|
* Emails service.
|
|
10745
10770
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10746
|
-
* @version
|
|
10771
|
+
* @version 183.0.0
|
|
10747
10772
|
*/ /**
|
|
10748
10773
|
* Constructs a new EmailsApi.
|
|
10749
10774
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10761,7 +10786,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10761
10786
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
10762
10787
|
* Events service.
|
|
10763
10788
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10764
|
-
* @version
|
|
10789
|
+
* @version 183.0.0
|
|
10765
10790
|
*/ /**
|
|
10766
10791
|
* Constructs a new EventsApi.
|
|
10767
10792
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10786,7 +10811,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10786
10811
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
10787
10812
|
* ExternalContacts service.
|
|
10788
10813
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10789
|
-
* @version
|
|
10814
|
+
* @version 183.0.0
|
|
10790
10815
|
*/ /**
|
|
10791
10816
|
* Constructs a new ExternalContactsApi.
|
|
10792
10817
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11241,7 +11266,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11241
11266
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11242
11267
|
* Fax service.
|
|
11243
11268
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11244
|
-
* @version
|
|
11269
|
+
* @version 183.0.0
|
|
11245
11270
|
*/ /**
|
|
11246
11271
|
* Constructs a new FaxApi.
|
|
11247
11272
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11282,7 +11307,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11282
11307
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11283
11308
|
* Flows service.
|
|
11284
11309
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11285
|
-
* @version
|
|
11310
|
+
* @version 183.0.0
|
|
11286
11311
|
*/ /**
|
|
11287
11312
|
* Constructs a new FlowsApi.
|
|
11288
11313
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11331,7 +11356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11331
11356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11332
11357
|
* Gamification service.
|
|
11333
11358
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11334
|
-
* @version
|
|
11359
|
+
* @version 183.0.0
|
|
11335
11360
|
*/ /**
|
|
11336
11361
|
* Constructs a new GamificationApi.
|
|
11337
11362
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11871,7 +11896,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11871
11896
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11872
11897
|
* GeneralDataProtectionRegulation service.
|
|
11873
11898
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11874
|
-
* @version
|
|
11899
|
+
* @version 183.0.0
|
|
11875
11900
|
*/ /**
|
|
11876
11901
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11877
11902
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -11906,7 +11931,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
11906
11931
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
11907
11932
|
* Geolocation service.
|
|
11908
11933
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
11909
|
-
* @version
|
|
11934
|
+
* @version 183.0.0
|
|
11910
11935
|
*/ /**
|
|
11911
11936
|
* Constructs a new GeolocationApi.
|
|
11912
11937
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -11940,7 +11965,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11940
11965
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
11941
11966
|
* Greetings service.
|
|
11942
11967
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
11943
|
-
* @version
|
|
11968
|
+
* @version 183.0.0
|
|
11944
11969
|
*/ /**
|
|
11945
11970
|
* Constructs a new GreetingsApi.
|
|
11946
11971
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12047,7 +12072,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12047
12072
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12048
12073
|
* Groups service.
|
|
12049
12074
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12050
|
-
* @version
|
|
12075
|
+
* @version 183.0.0
|
|
12051
12076
|
*/ /**
|
|
12052
12077
|
* Constructs a new GroupsApi.
|
|
12053
12078
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12180,7 +12205,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12180
12205
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12181
12206
|
* IdentityProvider service.
|
|
12182
12207
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12183
|
-
* @version
|
|
12208
|
+
* @version 183.0.0
|
|
12184
12209
|
*/ /**
|
|
12185
12210
|
* Constructs a new IdentityProviderApi.
|
|
12186
12211
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12314,7 +12339,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12314
12339
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12315
12340
|
* InfrastructureAsCode service.
|
|
12316
12341
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12317
|
-
* @version
|
|
12342
|
+
* @version 183.0.0
|
|
12318
12343
|
*/ /**
|
|
12319
12344
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12320
12345
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12368,7 +12393,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12368
12393
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12369
12394
|
* Integrations service.
|
|
12370
12395
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12371
|
-
* @version
|
|
12396
|
+
* @version 183.0.0
|
|
12372
12397
|
*/ /**
|
|
12373
12398
|
* Constructs a new IntegrationsApi.
|
|
12374
12399
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12802,7 +12827,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12802
12827
|
*/},{key:"postIntegrationsActionTest",value:function postIntegrationsActionTest(actionId,body){// verify the required parameter 'actionId' is set
|
|
12803
12828
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';}// verify the required parameter 'body' is set
|
|
12804
12829
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12805
|
-
* Create a new Action
|
|
12830
|
+
* Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
|
|
12806
12831
|
*
|
|
12807
12832
|
* @param {Object} body Input used to create Action.
|
|
12808
12833
|
*/},{key:"postIntegrationsActions",value:function postIntegrationsActions(body){// verify the required parameter 'body' is set
|
|
@@ -12889,7 +12914,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
12889
12914
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
12890
12915
|
* Journey service.
|
|
12891
12916
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
12892
|
-
* @version
|
|
12917
|
+
* @version 183.0.0
|
|
12893
12918
|
*/ /**
|
|
12894
12919
|
* Constructs a new JourneyApi.
|
|
12895
12920
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13005,16 +13030,15 @@ if(actionTemplateId===undefined||actionTemplateId===null){throw'Missing the requ
|
|
|
13005
13030
|
*
|
|
13006
13031
|
* @param {String} deploymentId The ID of the deployment sending the ping.
|
|
13007
13032
|
* @param {String} customerCookieId ID of the customer associated with the ping.
|
|
13008
|
-
* @param {String} sessionId UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session
|
|
13009
13033
|
* @param {Object} opts Optional parameters
|
|
13010
13034
|
* @param {String} opts.dl Document Location: 1) Web Page URL if overridden or URL fragment identifier (window.location.hash). OR 2) Application screen name that the ping request was sent from in the app. e.g. 'home' or 'help. Pings without this parameter will not return actions.
|
|
13011
13035
|
* @param {String} opts.dt Document Title. A human readable name for the page or screen
|
|
13012
13036
|
* @param {String} opts.appNamespace Namespace of the application (e.g. com.genesys.bancodinero). Used for domain filtering in application sessions
|
|
13037
|
+
* @param {String} opts.sessionId UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session
|
|
13013
13038
|
* @param {Number} opts.sinceLastBeaconMilliseconds How long (milliseconds) since the last app event or beacon was sent. The response may return a pollInternvalMilliseconds to reduce the frequency of pings.
|
|
13014
|
-
*/},{key:"getJourneyDeploymentCustomerPing",value:function getJourneyDeploymentCustomerPing(deploymentId,customerCookieId,
|
|
13039
|
+
*/},{key:"getJourneyDeploymentCustomerPing",value:function getJourneyDeploymentCustomerPing(deploymentId,customerCookieId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
|
|
13015
13040
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';}// verify the required parameter 'customerCookieId' is set
|
|
13016
|
-
if(customerCookieId===undefined||customerCookieId===null){throw'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';}
|
|
13017
|
-
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneyDeploymentCustomerPing';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping','GET',{'deploymentId':deploymentId,'customerCookieId':customerCookieId},{'dl':opts['dl'],'dt':opts['dt'],'appNamespace':opts['appNamespace'],'sessionId':sessionId,'sinceLastBeaconMilliseconds':opts['sinceLastBeaconMilliseconds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13041
|
+
if(customerCookieId===undefined||customerCookieId===null){throw'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping','GET',{'deploymentId':deploymentId,'customerCookieId':customerCookieId},{'dl':opts['dl'],'dt':opts['dt'],'appNamespace':opts['appNamespace'],'sessionId':opts['sessionId'],'sinceLastBeaconMilliseconds':opts['sinceLastBeaconMilliseconds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13018
13042
|
* Retrieve a single outcome.
|
|
13019
13043
|
*
|
|
13020
13044
|
* @param {String} outcomeId ID of the outcome.
|
|
@@ -13194,7 +13218,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13194
13218
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13195
13219
|
* Knowledge service.
|
|
13196
13220
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13197
|
-
* @version
|
|
13221
|
+
* @version 183.0.0
|
|
13198
13222
|
*/ /**
|
|
13199
13223
|
* Constructs a new KnowledgeApi.
|
|
13200
13224
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -13991,7 +14015,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
13991
14015
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
13992
14016
|
* LanguageUnderstanding service.
|
|
13993
14017
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
13994
|
-
* @version
|
|
14018
|
+
* @version 183.0.0
|
|
13995
14019
|
*/ /**
|
|
13996
14020
|
* Constructs a new LanguageUnderstandingApi.
|
|
13997
14021
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14247,7 +14271,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14247
14271
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14248
14272
|
* Languages service.
|
|
14249
14273
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14250
|
-
* @version
|
|
14274
|
+
* @version 183.0.0
|
|
14251
14275
|
*/ /**
|
|
14252
14276
|
* Constructs a new LanguagesApi.
|
|
14253
14277
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14302,7 +14326,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14302
14326
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14303
14327
|
* Learning service.
|
|
14304
14328
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14305
|
-
* @version
|
|
14329
|
+
* @version 183.0.0
|
|
14306
14330
|
*/ /**
|
|
14307
14331
|
* Constructs a new LearningApi.
|
|
14308
14332
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14405,7 +14429,8 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14405
14429
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
14406
14430
|
* @param {Object} opts.isPublished Specifies if only the Unpublished (isPublished is False) or Published (isPublished is True) modules are returned. If isPublished is Any or omitted, both types are returned (default to Any)
|
|
14407
14431
|
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
14408
|
-
|
|
14432
|
+
* @param {Array.<String>} opts.externalIds Specifies the module external IDs to filter by. Only one ID is allowed
|
|
14433
|
+
*/},{key:"getLearningModules",value:function getLearningModules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/modules','GET',{},{'isArchived':opts['isArchived'],'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'searchTerm':opts['searchTerm'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'isPublished':opts['isPublished'],'statuses':this.apiClient.buildCollectionParam(opts['statuses'],'multi'),'externalIds':this.apiClient.buildCollectionParam(opts['externalIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14409
14434
|
* Get all learning modules of an organization including assignments for a specific user
|
|
14410
14435
|
*
|
|
14411
14436
|
* @param {Array.<String>} userIds The IDs of the users to include
|
|
@@ -14437,6 +14462,16 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
14437
14462
|
* @param {Object} opts.body The Learning assignment reschedule model
|
|
14438
14463
|
*/},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14439
14464
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/reschedule','PATCH',{'assignmentId':assignmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14465
|
+
* Update an external assignment for a specific user
|
|
14466
|
+
*
|
|
14467
|
+
* @param {String} moduleId Key identifier for the module
|
|
14468
|
+
* @param {String} userId Key identifier for the user
|
|
14469
|
+
* @param {Object} body The learning request for updating the assignment
|
|
14470
|
+
* patchLearningModuleUserAssignments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14471
|
+
*/},{key:"patchLearningModuleUserAssignments",value:function patchLearningModuleUserAssignments(moduleId,userId,body){// verify the required parameter 'moduleId' is set
|
|
14472
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'userId' is set
|
|
14473
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'body' is set
|
|
14474
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchLearningModuleUserAssignments';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/users/{userId}/assignments','PATCH',{'moduleId':moduleId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14440
14475
|
* Score learning assessment for preview
|
|
14441
14476
|
*
|
|
14442
14477
|
* @param {Object} body Assessment form and answers to score
|
|
@@ -14521,7 +14556,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14521
14556
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
14522
14557
|
* License service.
|
|
14523
14558
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14524
|
-
* @version
|
|
14559
|
+
* @version 183.0.0
|
|
14525
14560
|
*/ /**
|
|
14526
14561
|
* Constructs a new LicenseApi.
|
|
14527
14562
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14575,7 +14610,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14575
14610
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
14576
14611
|
* Locations service.
|
|
14577
14612
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14578
|
-
* @version
|
|
14613
|
+
* @version 183.0.0
|
|
14579
14614
|
*/ /**
|
|
14580
14615
|
* Constructs a new LocationsApi.
|
|
14581
14616
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14634,7 +14669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14634
14669
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LocationsApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
14635
14670
|
* Messaging service.
|
|
14636
14671
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14637
|
-
* @version
|
|
14672
|
+
* @version 183.0.0
|
|
14638
14673
|
*/ /**
|
|
14639
14674
|
* Constructs a new MessagingApi.
|
|
14640
14675
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -14724,7 +14759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14724
14759
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
14725
14760
|
* MobileDevices service.
|
|
14726
14761
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
14727
|
-
* @version
|
|
14762
|
+
* @version 183.0.0
|
|
14728
14763
|
*/ /**
|
|
14729
14764
|
* Constructs a new MobileDevicesApi.
|
|
14730
14765
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -14763,7 +14798,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14763
14798
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
14764
14799
|
* Notifications service.
|
|
14765
14800
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
14766
|
-
* @version
|
|
14801
|
+
* @version 183.0.0
|
|
14767
14802
|
*/ /**
|
|
14768
14803
|
* Constructs a new NotificationsApi.
|
|
14769
14804
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -14820,7 +14855,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
14820
14855
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
14821
14856
|
* OAuth service.
|
|
14822
14857
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
14823
|
-
* @version
|
|
14858
|
+
* @version 183.0.0
|
|
14824
14859
|
*/ /**
|
|
14825
14860
|
* Constructs a new OAuthApi.
|
|
14826
14861
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -14905,7 +14940,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
14905
14940
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
14906
14941
|
* Objects service.
|
|
14907
14942
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
14908
|
-
* @version
|
|
14943
|
+
* @version 183.0.0
|
|
14909
14944
|
*/ /**
|
|
14910
14945
|
* Constructs a new ObjectsApi.
|
|
14911
14946
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -14976,7 +15011,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
14976
15011
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
14977
15012
|
* OperationalEvents service.
|
|
14978
15013
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
14979
|
-
* @version
|
|
15014
|
+
* @version 183.0.0
|
|
14980
15015
|
*/ /**
|
|
14981
15016
|
* Constructs a new OperationalEventsApi.
|
|
14982
15017
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -14994,7 +15029,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
14994
15029
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
14995
15030
|
* Organization service.
|
|
14996
15031
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
14997
|
-
* @version
|
|
15032
|
+
* @version 183.0.0
|
|
14998
15033
|
*/ /**
|
|
14999
15034
|
* Constructs a new OrganizationApi.
|
|
15000
15035
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15096,7 +15131,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15096
15131
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15097
15132
|
* OrganizationAuthorization service.
|
|
15098
15133
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15099
|
-
* @version
|
|
15134
|
+
* @version 183.0.0
|
|
15100
15135
|
*/ /**
|
|
15101
15136
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15102
15137
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15419,7 +15454,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15419
15454
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
15420
15455
|
* Outbound service.
|
|
15421
15456
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15422
|
-
* @version
|
|
15457
|
+
* @version 183.0.0
|
|
15423
15458
|
*/ /**
|
|
15424
15459
|
* Constructs a new OutboundApi.
|
|
15425
15460
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16310,7 +16345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16310
16345
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
16311
16346
|
* Presence service.
|
|
16312
16347
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16313
|
-
* @version
|
|
16348
|
+
* @version 183.0.0
|
|
16314
16349
|
*/ /**
|
|
16315
16350
|
* Constructs a new PresenceApi.
|
|
16316
16351
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16321,7 +16356,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16321
16356
|
* Delete a Presence Definition
|
|
16322
16357
|
*
|
|
16323
16358
|
* @param {String} definitionId Presence Definition ID
|
|
16324
|
-
* deletePresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16325
16359
|
*/_createClass(PresenceApi,[{key:"deletePresenceDefinition0",value:function deletePresenceDefinition0(definitionId){// verify the required parameter 'definitionId' is set
|
|
16326
16360
|
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling deletePresenceDefinition0';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','DELETE',{'definitionId':definitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16327
16361
|
* Delete a Presence Source
|
|
@@ -16339,7 +16373,6 @@ if(presenceId===undefined||presenceId===null){throw'Missing the required paramet
|
|
|
16339
16373
|
* @param {String} definitionId Presence Definition ID
|
|
16340
16374
|
* @param {Object} opts Optional parameters
|
|
16341
16375
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
16342
|
-
* getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16343
16376
|
*/},{key:"getPresenceDefinition0",value:function getPresenceDefinition0(definitionId,opts){opts=opts||{};// verify the required parameter 'definitionId' is set
|
|
16344
16377
|
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling getPresenceDefinition0';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','GET',{'definitionId':definitionId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16345
16378
|
* Get a list of Presence Definitions
|
|
@@ -16348,7 +16381,6 @@ if(definitionId===undefined||definitionId===null){throw'Missing the required par
|
|
|
16348
16381
|
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
16349
16382
|
* @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
|
|
16350
16383
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
16351
|
-
* getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16352
16384
|
*/},{key:"getPresenceDefinitions0",value:function getPresenceDefinitions0(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presence/definitions','GET',{},{'deactivated':opts['deactivated'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16353
16385
|
* Get the presence settings
|
|
16354
16386
|
*
|
|
@@ -16429,7 +16461,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16429
16461
|
* Create a Presence Definition
|
|
16430
16462
|
*
|
|
16431
16463
|
* @param {Object} body The Presence Definition to create
|
|
16432
|
-
* postPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16433
16464
|
*/},{key:"postPresenceDefinitions0",value:function postPresenceDefinitions0(body){// verify the required parameter 'body' is set
|
|
16434
16465
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresenceDefinitions0';}return this.apiClient.callApi('/api/v2/presence/definitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16435
16466
|
* Create a Presence Source
|
|
@@ -16446,7 +16477,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16446
16477
|
*
|
|
16447
16478
|
* @param {String} definitionId Presence Definition ID
|
|
16448
16479
|
* @param {Object} body The updated Presence Definition
|
|
16449
|
-
* putPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16450
16480
|
*/},{key:"putPresenceDefinition0",value:function putPresenceDefinition0(definitionId,body){// verify the required parameter 'definitionId' is set
|
|
16451
16481
|
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling putPresenceDefinition0';}// verify the required parameter 'body' is set
|
|
16452
16482
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresenceDefinition0';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','PUT',{'definitionId':definitionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16483,7 +16513,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16483
16513
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
16484
16514
|
* ProcessAutomation service.
|
|
16485
16515
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16486
|
-
* @version
|
|
16516
|
+
* @version 183.0.0
|
|
16487
16517
|
*/ /**
|
|
16488
16518
|
* Constructs a new ProcessAutomationApi.
|
|
16489
16519
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -16546,7 +16576,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
16546
16576
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
16547
16577
|
* Quality service.
|
|
16548
16578
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
16549
|
-
* @version
|
|
16579
|
+
* @version 183.0.0
|
|
16550
16580
|
*/ /**
|
|
16551
16581
|
* Constructs a new QualityApi.
|
|
16552
16582
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -16629,8 +16659,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
16629
16659
|
* @param {String} opts.evaluatorUserId user id of the evaluator
|
|
16630
16660
|
* @param {String} opts.name name
|
|
16631
16661
|
* @param {String} opts.group group id
|
|
16662
|
+
* @param {String} opts.agentTeamId team id of agents requested
|
|
16632
16663
|
* @param {String} opts.formContextId shared id between form versions
|
|
16633
|
-
*/},{key:"getQualityAgentsActivity",value:function getQualityAgentsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/agents/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'agentUserId':this.apiClient.buildCollectionParam(opts['agentUserId'],'multi'),'evaluatorUserId':opts['evaluatorUserId'],'name':opts['name'],'group':opts['group'],'formContextId':opts['formContextId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16664
|
+
*/},{key:"getQualityAgentsActivity",value:function getQualityAgentsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/agents/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'agentUserId':this.apiClient.buildCollectionParam(opts['agentUserId'],'multi'),'evaluatorUserId':opts['evaluatorUserId'],'name':opts['name'],'group':opts['group'],'agentTeamId':opts['agentTeamId'],'formContextId':opts['formContextId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16634
16665
|
* Get a calibration by id. Requires either calibrator id or conversation id
|
|
16635
16666
|
*
|
|
16636
16667
|
* @param {String} calibrationId Calibration ID
|
|
@@ -16693,6 +16724,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
16693
16724
|
* @param {String} opts.previousPage Previous page token
|
|
16694
16725
|
* @param {String} opts.conversationId conversationId specified
|
|
16695
16726
|
* @param {String} opts.agentUserId user id of the agent
|
|
16727
|
+
* @param {String} opts.agentTeamId team id of the agent
|
|
16696
16728
|
* @param {String} opts.evaluatorUserId evaluator user id
|
|
16697
16729
|
* @param {String} opts.assigneeUserId assignee user id
|
|
16698
16730
|
* @param {String} opts.queueId queue id
|
|
@@ -16705,7 +16737,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
16705
16737
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
|
|
16706
16738
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
16707
16739
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
16708
|
-
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16740
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16709
16741
|
* Get an evaluator activity
|
|
16710
16742
|
*
|
|
16711
16743
|
* @param {Object} opts Optional parameters
|
|
@@ -16720,7 +16752,8 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
16720
16752
|
* @param {String} opts.name Evaluator name
|
|
16721
16753
|
* @param {Array.<String>} opts.permission permission strings
|
|
16722
16754
|
* @param {String} opts.group group id
|
|
16723
|
-
|
|
16755
|
+
* @param {String} opts.agentTeamId team id of agents to be considered
|
|
16756
|
+
*/},{key:"getQualityEvaluatorsActivity",value:function getQualityEvaluatorsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluators/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'name':opts['name'],'permission':this.apiClient.buildCollectionParam(opts['permission'],'multi'),'group':opts['group'],'agentTeamId':opts['agentTeamId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16724
16757
|
* Get an evaluation form
|
|
16725
16758
|
*
|
|
16726
16759
|
* @param {String} formId Form ID
|
|
@@ -17014,7 +17047,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17014
17047
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17015
17048
|
* Recording service.
|
|
17016
17049
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17017
|
-
* @version
|
|
17050
|
+
* @version 183.0.0
|
|
17018
17051
|
*/ /**
|
|
17019
17052
|
* Constructs a new RecordingApi.
|
|
17020
17053
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17421,7 +17454,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17421
17454
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
17422
17455
|
* ResponseManagement service.
|
|
17423
17456
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17424
|
-
* @version
|
|
17457
|
+
* @version 183.0.0
|
|
17425
17458
|
*/ /**
|
|
17426
17459
|
* Constructs a new ResponseManagementApi.
|
|
17427
17460
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -17537,7 +17570,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
17537
17570
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
17538
17571
|
* Routing service.
|
|
17539
17572
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
17540
|
-
* @version
|
|
17573
|
+
* @version 183.0.0
|
|
17541
17574
|
*/ /**
|
|
17542
17575
|
* Constructs a new RoutingApi.
|
|
17543
17576
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18443,7 +18476,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18443
18476
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
18444
18477
|
* SCIM service.
|
|
18445
18478
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18446
|
-
* @version
|
|
18479
|
+
* @version 183.0.0
|
|
18447
18480
|
*/ /**
|
|
18448
18481
|
* Constructs a new SCIMApi.
|
|
18449
18482
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -18668,7 +18701,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18668
18701
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
18669
18702
|
* Scripts service.
|
|
18670
18703
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
18671
|
-
* @version
|
|
18704
|
+
* @version 183.0.0
|
|
18672
18705
|
*/ /**
|
|
18673
18706
|
* Constructs a new ScriptsApi.
|
|
18674
18707
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -18804,7 +18837,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
18804
18837
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
18805
18838
|
* Search service.
|
|
18806
18839
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
18807
|
-
* @version
|
|
18840
|
+
* @version 183.0.0
|
|
18808
18841
|
*/ /**
|
|
18809
18842
|
* Constructs a new SearchApi.
|
|
18810
18843
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -18964,7 +18997,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18964
18997
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
18965
18998
|
* Settings service.
|
|
18966
18999
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
18967
|
-
* @version
|
|
19000
|
+
* @version 183.0.0
|
|
18968
19001
|
*/ /**
|
|
18969
19002
|
* Constructs a new SettingsApi.
|
|
18970
19003
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -18982,7 +19015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18982
19015
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
18983
19016
|
* SpeechTextAnalytics service.
|
|
18984
19017
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
18985
|
-
* @version
|
|
19018
|
+
* @version 183.0.0
|
|
18986
19019
|
*/ /**
|
|
18987
19020
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
18988
19021
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19225,7 +19258,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19225
19258
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
19226
19259
|
* Stations service.
|
|
19227
19260
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19228
|
-
* @version
|
|
19261
|
+
* @version 183.0.0
|
|
19229
19262
|
*/ /**
|
|
19230
19263
|
* Constructs a new StationsApi.
|
|
19231
19264
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19257,7 +19290,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19257
19290
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
19258
19291
|
* Suggest service.
|
|
19259
19292
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19260
|
-
* @version
|
|
19293
|
+
* @version 183.0.0
|
|
19261
19294
|
*/ /**
|
|
19262
19295
|
* Constructs a new SuggestApi.
|
|
19263
19296
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19297,7 +19330,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19297
19330
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
19298
19331
|
* TaskManagement service.
|
|
19299
19332
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19300
|
-
* @version
|
|
19333
|
+
* @version 183.0.0
|
|
19301
19334
|
*/ /**
|
|
19302
19335
|
* Constructs a new TaskManagementApi.
|
|
19303
19336
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19639,7 +19672,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
19639
19672
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
19640
19673
|
* Teams service.
|
|
19641
19674
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19642
|
-
* @version
|
|
19675
|
+
* @version 183.0.0
|
|
19643
19676
|
*/ /**
|
|
19644
19677
|
* Constructs a new TeamsApi.
|
|
19645
19678
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19718,7 +19751,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19718
19751
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
19719
19752
|
* Telephony service.
|
|
19720
19753
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19721
|
-
* @version
|
|
19754
|
+
* @version 183.0.0
|
|
19722
19755
|
*/ /**
|
|
19723
19756
|
* Constructs a new TelephonyApi.
|
|
19724
19757
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -19767,7 +19800,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
19767
19800
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
19768
19801
|
* TelephonyProvidersEdge service.
|
|
19769
19802
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
19770
|
-
* @version
|
|
19803
|
+
* @version 183.0.0
|
|
19771
19804
|
*/ /**
|
|
19772
19805
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
19773
19806
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20586,7 +20619,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
20586
20619
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
20587
20620
|
* Textbots service.
|
|
20588
20621
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20589
|
-
* @version
|
|
20622
|
+
* @version 183.0.0
|
|
20590
20623
|
*/ /**
|
|
20591
20624
|
* Constructs a new TextbotsApi.
|
|
20592
20625
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20621,7 +20654,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20621
20654
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
20622
20655
|
* Tokens service.
|
|
20623
20656
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20624
|
-
* @version
|
|
20657
|
+
* @version 183.0.0
|
|
20625
20658
|
*/ /**
|
|
20626
20659
|
* Constructs a new TokensApi.
|
|
20627
20660
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20657,7 +20690,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20657
20690
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
20658
20691
|
* Uploads service.
|
|
20659
20692
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20660
|
-
* @version
|
|
20693
|
+
* @version 183.0.0
|
|
20661
20694
|
*/ /**
|
|
20662
20695
|
* Constructs a new UploadsApi.
|
|
20663
20696
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20699,7 +20732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20699
20732
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
20700
20733
|
* Usage service.
|
|
20701
20734
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20702
|
-
* @version
|
|
20735
|
+
* @version 183.0.0
|
|
20703
20736
|
*/ /**
|
|
20704
20737
|
* Constructs a new UsageApi.
|
|
20705
20738
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20750,7 +20783,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20750
20783
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
20751
20784
|
* UserRecordings service.
|
|
20752
20785
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20753
|
-
* @version
|
|
20786
|
+
* @version 183.0.0
|
|
20754
20787
|
*/ /**
|
|
20755
20788
|
* Constructs a new UserRecordingsApi.
|
|
20756
20789
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20799,7 +20832,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
20799
20832
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
20800
20833
|
* Users service.
|
|
20801
20834
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20802
|
-
* @version
|
|
20835
|
+
* @version 183.0.0
|
|
20803
20836
|
*/ /**
|
|
20804
20837
|
* Constructs a new UsersApi.
|
|
20805
20838
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21458,7 +21491,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
21458
21491
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
21459
21492
|
* Utilities service.
|
|
21460
21493
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21461
|
-
* @version
|
|
21494
|
+
* @version 183.0.0
|
|
21462
21495
|
*/ /**
|
|
21463
21496
|
* Constructs a new UtilitiesApi.
|
|
21464
21497
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21485,7 +21518,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21485
21518
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
21486
21519
|
* Voicemail service.
|
|
21487
21520
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21488
|
-
* @version
|
|
21521
|
+
* @version 183.0.0
|
|
21489
21522
|
*/ /**
|
|
21490
21523
|
* Constructs a new VoicemailApi.
|
|
21491
21524
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21634,7 +21667,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21634
21667
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
21635
21668
|
* WebChat service.
|
|
21636
21669
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21637
|
-
* @version
|
|
21670
|
+
* @version 183.0.0
|
|
21638
21671
|
*/ /**
|
|
21639
21672
|
* Constructs a new WebChatApi.
|
|
21640
21673
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21767,7 +21800,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21767
21800
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
21768
21801
|
* WebDeployments service.
|
|
21769
21802
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21770
|
-
* @version
|
|
21803
|
+
* @version 183.0.0
|
|
21771
21804
|
*/ /**
|
|
21772
21805
|
* Constructs a new WebDeploymentsApi.
|
|
21773
21806
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21888,7 +21921,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
21888
21921
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
21889
21922
|
* WebMessaging service.
|
|
21890
21923
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21891
|
-
* @version
|
|
21924
|
+
* @version 183.0.0
|
|
21892
21925
|
*/ /**
|
|
21893
21926
|
* Constructs a new WebMessagingApi.
|
|
21894
21927
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21904,7 +21937,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
21904
21937
|
*/_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
21905
21938
|
* Widgets service.
|
|
21906
21939
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21907
|
-
* @version
|
|
21940
|
+
* @version 183.0.0
|
|
21908
21941
|
*/ /**
|
|
21909
21942
|
* Constructs a new WidgetsApi.
|
|
21910
21943
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21939,7 +21972,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
21939
21972
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
21940
21973
|
* WorkforceManagement service.
|
|
21941
21974
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21942
|
-
* @version
|
|
21975
|
+
* @version 183.0.0
|
|
21943
21976
|
*/ /**
|
|
21944
21977
|
* Constructs a new WorkforceManagementApi.
|
|
21945
21978
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23230,7 +23263,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23230
23263
|
* </pre>
|
|
23231
23264
|
* </p>
|
|
23232
23265
|
* @module purecloud-platform-client-v2/index
|
|
23233
|
-
* @version
|
|
23266
|
+
* @version 183.0.0
|
|
23234
23267
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23235
23268
|
* The ApiClient constructor.
|
|
23236
23269
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|