purecloud-platform-client-v2 217.0.0 → 218.1.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1069 -209
- package/dist/web-amd/purecloud-platform-client-v2.js +1069 -209
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +342 -169
- package/dist/web-cjs/purecloud-platform-client-v2.js +342 -169
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +822 -79
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -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 -4
- 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 +249 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +65 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +77 -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 +31 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -6
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.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 -70
- 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 +11 -11
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -3
- 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/ScreenRecordingApi.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 +65 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +403 -20
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +19 -10
- 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 +11 -6
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -681,7 +681,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
681
681
|
* @param {string} requestedURL Absolute or relative URL to combine
|
|
682
682
|
*
|
|
683
683
|
* @returns {string} The combined full path
|
|
684
|
-
*/function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&isRelativeUrl||allowAbsoluteUrls==false){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
|
|
684
|
+
*/function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&(isRelativeUrl||allowAbsoluteUrls==false)){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
|
|
685
685
|
* Config-specific merge-function which creates a new config-object
|
|
686
686
|
* by merging two configuration objects together.
|
|
687
687
|
*
|
|
@@ -694,7 +694,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,prop,cas
|
|
|
694
694
|
function mergeDeepProperties(a,b,prop,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,prop,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,prop,caseless);}}// eslint-disable-next-line consistent-return
|
|
695
695
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
696
696
|
function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
|
|
697
|
-
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
697
|
+
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url,newConfig.allowAbsoluteUrls),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
698
698
|
if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
|
|
699
699
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
700
700
|
var _ref11=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref12=_toArray(_ref11),type=_ref12[0],tokens=_ref12.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
|
|
@@ -750,7 +750,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
750
750
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
751
751
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
752
752
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
753
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.
|
|
753
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.4";var validators$1={};// eslint-disable-next-line func-names
|
|
754
754
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
755
755
|
* Transitional option validator
|
|
756
756
|
*
|
|
@@ -892,7 +892,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
892
892
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
893
893
|
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:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{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];}}}]);}();/**
|
|
894
894
|
* @module purecloud-platform-client-v2/ApiClient
|
|
895
|
-
* @version
|
|
895
|
+
* @version 218.1.0
|
|
896
896
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
897
897
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
898
898
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1235,7 +1235,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1235
1235
|
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);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1236
1236
|
* AgentAssistants service.
|
|
1237
1237
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1238
|
-
* @version
|
|
1238
|
+
* @version 218.1.0
|
|
1239
1239
|
*//**
|
|
1240
1240
|
* Constructs a new AgentAssistantsApi.
|
|
1241
1241
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1336,7 +1336,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1336
1336
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1337
1337
|
* AgentCopilot service.
|
|
1338
1338
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1339
|
-
* @version
|
|
1339
|
+
* @version 218.1.0
|
|
1340
1340
|
*//**
|
|
1341
1341
|
* Constructs a new AgentCopilotApi.
|
|
1342
1342
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1358,7 +1358,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1358
1358
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1359
1359
|
* AgentUI service.
|
|
1360
1360
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1361
|
-
* @version
|
|
1361
|
+
* @version 218.1.0
|
|
1362
1362
|
*//**
|
|
1363
1363
|
* Constructs a new AgentUIApi.
|
|
1364
1364
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1392,7 +1392,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1392
1392
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1393
1393
|
* Alerting service.
|
|
1394
1394
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1395
|
-
* @version
|
|
1395
|
+
* @version 218.1.0
|
|
1396
1396
|
*//**
|
|
1397
1397
|
* Constructs a new AlertingApi.
|
|
1398
1398
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1481,7 +1481,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1481
1481
|
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']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1482
1482
|
* Analytics service.
|
|
1483
1483
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1484
|
-
* @version
|
|
1484
|
+
* @version 218.1.0
|
|
1485
1485
|
*//**
|
|
1486
1486
|
* Constructs a new AnalyticsApi.
|
|
1487
1487
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1516,7 +1516,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1516
1516
|
* Get an agent and their active sessions by user ID
|
|
1517
1517
|
*
|
|
1518
1518
|
* @param {String} userId userId
|
|
1519
|
-
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1520
1519
|
*/},{key:"getAnalyticsAgentStatus",value:function getAnalyticsAgentStatus(userId){// verify the required parameter 'userId' is set
|
|
1521
1520
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';}return this.apiClient.callApi('/api/v2/analytics/agents/{userId}/status','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1522
1521
|
* Get status for async query for agent copilot aggregates
|
|
@@ -1881,13 +1880,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1881
1880
|
* Count agents by segment type
|
|
1882
1881
|
*
|
|
1883
1882
|
* @param {Object} body query
|
|
1884
|
-
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1885
1883
|
*/},{key:"postAnalyticsAgentsStatusCounts",value:function postAnalyticsAgentsStatusCounts(body){// verify the required parameter 'body' is set
|
|
1886
1884
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';}return this.apiClient.callApi('/api/v2/analytics/agents/status/counts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1887
1885
|
* Retrieve the top 50 agents matching the query filters
|
|
1888
1886
|
*
|
|
1889
1887
|
* @param {Object} body query
|
|
1890
|
-
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1891
1888
|
*/},{key:"postAnalyticsAgentsStatusQuery",value:function postAnalyticsAgentsStatusQuery(body){// verify the required parameter 'body' is set
|
|
1892
1889
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';}return this.apiClient.callApi('/api/v2/analytics/agents/status/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1893
1890
|
* Query for bot aggregates asynchronously
|
|
@@ -2152,7 +2149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2152
2149
|
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']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
2153
2150
|
* Architect service.
|
|
2154
2151
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2155
|
-
* @version
|
|
2152
|
+
* @version 218.1.0
|
|
2156
2153
|
*//**
|
|
2157
2154
|
* Constructs a new ArchitectApi.
|
|
2158
2155
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -2996,6 +2993,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2996
2993
|
* @param {String} promptId Prompt ID
|
|
2997
2994
|
*/},{key:"postArchitectPromptHistory",value:function postArchitectPromptHistory(promptId){// verify the required parameter 'promptId' is set
|
|
2998
2995
|
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptHistory';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2996
|
+
* Creates a presigned URL for uploading a user prompt file
|
|
2997
|
+
*
|
|
2998
|
+
* @param {String} promptId Prompt ID
|
|
2999
|
+
* @param {String} languageCode Language
|
|
3000
|
+
*/},{key:"postArchitectPromptResourceUploads",value:function postArchitectPromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
|
|
3001
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';}// verify the required parameter 'languageCode' is set
|
|
3002
|
+
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2999
3003
|
* Create a new user prompt resource
|
|
3000
3004
|
*
|
|
3001
3005
|
* @param {String} promptId Prompt ID
|
|
@@ -3023,6 +3027,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3023
3027
|
* @param {String} promptId promptId
|
|
3024
3028
|
*/},{key:"postArchitectSystempromptHistory",value:function postArchitectSystempromptHistory(promptId){// verify the required parameter 'promptId' is set
|
|
3025
3029
|
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3030
|
+
* Creates a presigned URL for uploading a system prompt file
|
|
3031
|
+
*
|
|
3032
|
+
* @param {String} promptId Prompt ID
|
|
3033
|
+
* @param {String} languageCode Language
|
|
3034
|
+
*/},{key:"postArchitectSystempromptResourceUploads",value:function postArchitectSystempromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
|
|
3035
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';}// verify the required parameter 'languageCode' is set
|
|
3036
|
+
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3026
3037
|
* Create system prompt resource override.
|
|
3027
3038
|
*
|
|
3028
3039
|
* @param {String} promptId Prompt ID
|
|
@@ -3270,7 +3281,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3270
3281
|
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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3271
3282
|
* Audit service.
|
|
3272
3283
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3273
|
-
* @version
|
|
3284
|
+
* @version 218.1.0
|
|
3274
3285
|
*//**
|
|
3275
3286
|
* Constructs a new AuditApi.
|
|
3276
3287
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3320,7 +3331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3320
3331
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3321
3332
|
* Authorization service.
|
|
3322
3333
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3323
|
-
* @version
|
|
3334
|
+
* @version 218.1.0
|
|
3324
3335
|
*//**
|
|
3325
3336
|
* Constructs a new AuthorizationApi.
|
|
3326
3337
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3740,7 +3751,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3740
3751
|
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']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3741
3752
|
* Billing service.
|
|
3742
3753
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3743
|
-
* @version
|
|
3754
|
+
* @version 218.1.0
|
|
3744
3755
|
*//**
|
|
3745
3756
|
* Constructs a new BillingApi.
|
|
3746
3757
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3764,7 +3775,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3764
3775
|
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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3765
3776
|
* CarrierServices service.
|
|
3766
3777
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3767
|
-
* @version
|
|
3778
|
+
* @version 218.1.0
|
|
3768
3779
|
*//**
|
|
3769
3780
|
* Constructs a new CarrierServicesApi.
|
|
3770
3781
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3784,7 +3795,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3784
3795
|
*/},{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']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3785
3796
|
* Chat service.
|
|
3786
3797
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3787
|
-
* @version
|
|
3798
|
+
* @version 218.1.0
|
|
3788
3799
|
*//**
|
|
3789
3800
|
* Constructs a new ChatApi.
|
|
3790
3801
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3824,7 +3835,6 @@ if(messageId===undefined||messageId===null){throw'Missing the required parameter
|
|
|
3824
3835
|
*
|
|
3825
3836
|
* @param {String} userId userId
|
|
3826
3837
|
* @param {String} pinnedMessageId pinnedMessageId
|
|
3827
|
-
* deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3828
3838
|
*/},{key:"deleteChatsUserMessagesPin",value:function deleteChatsUserMessagesPin(userId,pinnedMessageId){// verify the required parameter 'userId' is set
|
|
3829
3839
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';}// verify the required parameter 'pinnedMessageId' is set
|
|
3830
3840
|
if(pinnedMessageId===undefined||pinnedMessageId===null){throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}','DELETE',{'userId':userId,'pinnedMessageId':pinnedMessageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -3881,7 +3891,6 @@ if(threadId===undefined||threadId===null){throw'Missing the required parameter "
|
|
|
3881
3891
|
* Get information for a 1on1
|
|
3882
3892
|
*
|
|
3883
3893
|
* @param {String} userId userId
|
|
3884
|
-
* getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3885
3894
|
*/},{key:"getChatsUser",value:function getChatsUser(userId){// verify the required parameter 'userId' is set
|
|
3886
3895
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUser';}return this.apiClient.callApi('/api/v2/chats/users/{userId}','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3887
3896
|
* Get messages by id(s) from a 1on1
|
|
@@ -3987,7 +3996,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3987
3996
|
*
|
|
3988
3997
|
* @param {String} userId userId
|
|
3989
3998
|
* @param {Object} body Pinned Message Ids
|
|
3990
|
-
* postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3991
3999
|
*/},{key:"postChatsUserMessagesPins",value:function postChatsUserMessagesPins(userId,body){// verify the required parameter 'userId' is set
|
|
3992
4000
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';}// verify the required parameter 'body' is set
|
|
3993
4001
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4005,7 +4013,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4005
4013
|
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']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
4006
4014
|
* Coaching service.
|
|
4007
4015
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4008
|
-
* @version
|
|
4016
|
+
* @version 218.1.0
|
|
4009
4017
|
*//**
|
|
4010
4018
|
* Constructs a new CoachingApi.
|
|
4011
4019
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4158,7 +4166,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4158
4166
|
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']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
4159
4167
|
* ContentManagement service.
|
|
4160
4168
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4161
|
-
* @version
|
|
4169
|
+
* @version 218.1.0
|
|
4162
4170
|
*//**
|
|
4163
4171
|
* Constructs a new ContentManagementApi.
|
|
4164
4172
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4440,7 +4448,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4440
4448
|
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']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
4441
4449
|
* Conversations service.
|
|
4442
4450
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4443
|
-
* @version
|
|
4451
|
+
* @version 218.1.0
|
|
4444
4452
|
*//**
|
|
4445
4453
|
* Constructs a new ConversationsApi.
|
|
4446
4454
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4503,6 +4511,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
4503
4511
|
* @param {String} integrationId Integration ID
|
|
4504
4512
|
*/},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4505
4513
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4514
|
+
* Delete Twitter messaging integration
|
|
4515
|
+
*
|
|
4516
|
+
* @param {String} integrationId Integration ID
|
|
4517
|
+
*/},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4518
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4506
4519
|
* Delete a WhatsApp messaging integration
|
|
4507
4520
|
*
|
|
4508
4521
|
* @param {String} integrationId Integration ID
|
|
@@ -4970,6 +4983,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
4970
4983
|
* getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4971
4984
|
*/},{key:"getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4972
4985
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4986
|
+
* Get twitter oauth settings to patch an integration
|
|
4987
|
+
*
|
|
4988
|
+
* @param {String} integrationId Integration Id of an existing integration that needs to be patched with new oauth settings
|
|
4989
|
+
*/},{key:"getConversationsMessagingIntegrationTwitterOauthSettings",value:function getConversationsMessagingIntegrationTwitterOauthSettings(integrationId){// verify the required parameter 'integrationId' is set
|
|
4990
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4973
4991
|
* Get a list of Integrations
|
|
4974
4992
|
*
|
|
4975
4993
|
* @param {Object} opts Optional parameters
|
|
@@ -5027,6 +5045,25 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
5027
5045
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
5028
5046
|
*/},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
5029
5047
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5048
|
+
* Get a list of Twitter Integrations
|
|
5049
|
+
*
|
|
5050
|
+
* @param {Object} opts Optional parameters
|
|
5051
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
5052
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
5053
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
5054
|
+
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
5055
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
5056
|
+
*/},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5057
|
+
* Get Twitter messaging integration
|
|
5058
|
+
*
|
|
5059
|
+
* @param {String} integrationId Integration ID
|
|
5060
|
+
* @param {Object} opts Optional parameters
|
|
5061
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
5062
|
+
*/},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
5063
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5064
|
+
* Get twitter oauth settings
|
|
5065
|
+
*
|
|
5066
|
+
*/},{key:"getConversationsMessagingIntegrationsTwitterOauthSettings",value:function getConversationsMessagingIntegrationsTwitterOauthSettings(){return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/oauth/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5030
5067
|
* Get a list of WhatsApp Integrations
|
|
5031
5068
|
*
|
|
5032
5069
|
* @param {Object} opts Optional parameters
|
|
@@ -5148,6 +5185,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5148
5185
|
*/},{key:"patchConversationSecureattributes",value:function patchConversationSecureattributes(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5149
5186
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';}// verify the required parameter 'body' is set
|
|
5150
5187
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5188
|
+
* Update the feedback for the summary.
|
|
5189
|
+
*
|
|
5190
|
+
* @param {String} conversationId Conversation ID
|
|
5191
|
+
* @param {String} summaryId Summary ID
|
|
5192
|
+
* @param {Object} opts Optional parameters
|
|
5193
|
+
* @param {Object} opts.body
|
|
5194
|
+
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5195
|
+
*/},{key:"patchConversationSummaryFeedback",value:function patchConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5196
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
|
|
5197
|
+
if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','PATCH',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5151
5198
|
* Update the utilization label on a conversation. When there is no value provided, the system default label is applied
|
|
5152
5199
|
*
|
|
5153
5200
|
* @param {String} conversationId conversation ID
|
|
@@ -5443,6 +5490,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5443
5490
|
*/},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
5444
5491
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
|
|
5445
5492
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5493
|
+
* Update a Twitter messaging integration
|
|
5494
|
+
*
|
|
5495
|
+
* @param {String} integrationId Integration ID
|
|
5496
|
+
* @param {Object} body TwitterIntegrationUpdateRequest
|
|
5497
|
+
*/},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
5498
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
|
|
5499
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5446
5500
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
5447
5501
|
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
|
|
5448
5502
|
* @param {String} integrationId Integration ID
|
|
@@ -6011,6 +6065,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6011
6065
|
* @param {Object} body OpenIntegrationRequest
|
|
6012
6066
|
*/},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
|
|
6013
6067
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6068
|
+
* Create Twitter Integration
|
|
6069
|
+
*
|
|
6070
|
+
* @param {Object} body TwitterIntegrationRequest
|
|
6071
|
+
*/},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
|
|
6072
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6014
6073
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
|
|
6015
6074
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
|
6016
6075
|
* @param {Object} body WhatsAppIntegrationRequest
|
|
@@ -6060,6 +6119,14 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
6060
6119
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
|
|
6061
6120
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
|
|
6062
6121
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';}return this.apiClient.callApi('/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup','POST',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6122
|
+
* Create an Agent-Type video conference and assign an agent to it
|
|
6123
|
+
*
|
|
6124
|
+
* @param {String} conversationId conversationId
|
|
6125
|
+
* @param {String} communicationId communicationId
|
|
6126
|
+
* postConversationsVideoAgentconferenceCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6127
|
+
*/},{key:"postConversationsVideoAgentconferenceCommunication",value:function postConversationsVideoAgentconferenceCommunication(conversationId,communicationId){// verify the required parameter 'conversationId' is set
|
|
6128
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';}// verify the required parameter 'communicationId' is set
|
|
6129
|
+
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6063
6130
|
* Apply wrap-up for this conversation communication
|
|
6064
6131
|
*
|
|
6065
6132
|
* @param {String} conversationId conversationId
|
|
@@ -6230,7 +6297,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6230
6297
|
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']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
6231
6298
|
* DataExtensions service.
|
|
6232
6299
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6233
|
-
* @version
|
|
6300
|
+
* @version 218.1.0
|
|
6234
6301
|
*//**
|
|
6235
6302
|
* Constructs a new DataExtensionsApi.
|
|
6236
6303
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6251,7 +6318,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6251
6318
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
6252
6319
|
* DataPrivacy service.
|
|
6253
6320
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6254
|
-
* @version
|
|
6321
|
+
* @version 218.1.0
|
|
6255
6322
|
*//**
|
|
6256
6323
|
* Constructs a new DataPrivacyApi.
|
|
6257
6324
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6291,7 +6358,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6291
6358
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6292
6359
|
* Downloads service.
|
|
6293
6360
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6294
|
-
* @version
|
|
6361
|
+
* @version 218.1.0
|
|
6295
6362
|
*//**
|
|
6296
6363
|
* Constructs a new DownloadsApi.
|
|
6297
6364
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6310,7 +6377,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6310
6377
|
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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6311
6378
|
* Emails service.
|
|
6312
6379
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6313
|
-
* @version
|
|
6380
|
+
* @version 218.1.0
|
|
6314
6381
|
*//**
|
|
6315
6382
|
* Constructs a new EmailsApi.
|
|
6316
6383
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6318,17 +6385,28 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6318
6385
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
6319
6386
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
6320
6387
|
*/function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
6388
|
+
* Reset email threading settings to default
|
|
6389
|
+
*
|
|
6390
|
+
*/return _createClass(EmailsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6321
6391
|
* Get email Contact Center settings
|
|
6322
6392
|
*
|
|
6323
|
-
*/
|
|
6393
|
+
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6394
|
+
* Get email threading settings
|
|
6395
|
+
*
|
|
6396
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6324
6397
|
* Patch email Contact Center settings
|
|
6325
6398
|
*
|
|
6326
6399
|
* @param {Object} opts Optional parameters
|
|
6327
6400
|
* @param {Object} opts.body
|
|
6328
|
-
*/},{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']);}
|
|
6401
|
+
*/},{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']);}/**
|
|
6402
|
+
* Patch email threading settings
|
|
6403
|
+
*
|
|
6404
|
+
* @param {Object} opts Optional parameters
|
|
6405
|
+
* @param {Object} opts.body
|
|
6406
|
+
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6329
6407
|
* EmployeeEngagement service.
|
|
6330
6408
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6331
|
-
* @version
|
|
6409
|
+
* @version 218.1.0
|
|
6332
6410
|
*//**
|
|
6333
6411
|
* Constructs a new EmployeeEngagementApi.
|
|
6334
6412
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6366,7 +6444,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6366
6444
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
6367
6445
|
* Events service.
|
|
6368
6446
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6369
|
-
* @version
|
|
6447
|
+
* @version 218.1.0
|
|
6370
6448
|
*//**
|
|
6371
6449
|
* Constructs a new EventsApi.
|
|
6372
6450
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6391,7 +6469,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6391
6469
|
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']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
6392
6470
|
* ExternalContacts service.
|
|
6393
6471
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6394
|
-
* @version
|
|
6472
|
+
* @version 218.1.0
|
|
6395
6473
|
*//**
|
|
6396
6474
|
* Constructs a new ExternalContactsApi.
|
|
6397
6475
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6510,6 +6588,18 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
6510
6588
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6511
6589
|
* @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
|
|
6512
6590
|
*/},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6591
|
+
* Get export for exportId
|
|
6592
|
+
*
|
|
6593
|
+
* @param {String} exportId Export id
|
|
6594
|
+
*/},{key:"getExternalcontactsContactsExport",value:function getExternalcontactsContactsExport(exportId){// verify the required parameter 'exportId' is set
|
|
6595
|
+
if(exportId===undefined||exportId===null){throw'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports/{exportId}','GET',{'exportId':exportId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6596
|
+
* List exports for organization
|
|
6597
|
+
*
|
|
6598
|
+
* @param {Object} opts Optional parameters
|
|
6599
|
+
* @param {Array.<String>} opts.divisionIds Division IDs of entities
|
|
6600
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities
|
|
6601
|
+
* @param {Number} opts.pageSize Number of entities to return
|
|
6602
|
+
*/},{key:"getExternalcontactsContactsExports",value:function getExternalcontactsContactsExports(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','GET',{},{'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6513
6603
|
* Get a schema
|
|
6514
6604
|
*
|
|
6515
6605
|
* @param {String} schemaId Schema ID
|
|
@@ -6866,6 +6956,11 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
6866
6956
|
* @param {Object} body ExternalContact
|
|
6867
6957
|
*/},{key:"postExternalcontactsContacts",value:function postExternalcontactsContacts(body){// verify the required parameter 'body' is set
|
|
6868
6958
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6959
|
+
* Create bulk export
|
|
6960
|
+
*
|
|
6961
|
+
* @param {Object} body Export
|
|
6962
|
+
*/},{key:"postExternalcontactsContactsExports",value:function postExternalcontactsContactsExports(body){// verify the required parameter 'body' is set
|
|
6963
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6869
6964
|
* Create a schema
|
|
6870
6965
|
*
|
|
6871
6966
|
* @param {Object} body Schema
|
|
@@ -7033,7 +7128,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
7033
7128
|
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']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
7034
7129
|
* Fax service.
|
|
7035
7130
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
7036
|
-
* @version
|
|
7131
|
+
* @version 218.1.0
|
|
7037
7132
|
*//**
|
|
7038
7133
|
* Constructs a new FaxApi.
|
|
7039
7134
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -7082,7 +7177,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7082
7177
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
7083
7178
|
* Flows service.
|
|
7084
7179
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
7085
|
-
* @version
|
|
7180
|
+
* @version 218.1.0
|
|
7086
7181
|
*//**
|
|
7087
7182
|
* Constructs a new FlowsApi.
|
|
7088
7183
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -7130,7 +7225,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7130
7225
|
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']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
7131
7226
|
* Gamification service.
|
|
7132
7227
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
7133
|
-
* @version
|
|
7228
|
+
* @version 218.1.0
|
|
7134
7229
|
*//**
|
|
7135
7230
|
* Constructs a new GamificationApi.
|
|
7136
7231
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7689,7 +7784,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7689
7784
|
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']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
7690
7785
|
* GeneralDataProtectionRegulation service.
|
|
7691
7786
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7692
|
-
* @version
|
|
7787
|
+
* @version 218.1.0
|
|
7693
7788
|
*//**
|
|
7694
7789
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7695
7790
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7724,7 +7819,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7724
7819
|
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']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
7725
7820
|
* Geolocation service.
|
|
7726
7821
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7727
|
-
* @version
|
|
7822
|
+
* @version 218.1.0
|
|
7728
7823
|
*//**
|
|
7729
7824
|
* Constructs a new GeolocationApi.
|
|
7730
7825
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7758,7 +7853,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7758
7853
|
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']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
7759
7854
|
* Greetings service.
|
|
7760
7855
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7761
|
-
* @version
|
|
7856
|
+
* @version 218.1.0
|
|
7762
7857
|
*//**
|
|
7763
7858
|
* Constructs a new GreetingsApi.
|
|
7764
7859
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7865,7 +7960,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7865
7960
|
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']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7866
7961
|
* Groups service.
|
|
7867
7962
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7868
|
-
* @version
|
|
7963
|
+
* @version 218.1.0
|
|
7869
7964
|
*//**
|
|
7870
7965
|
* Constructs a new GroupsApi.
|
|
7871
7966
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7998,7 +8093,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7998
8093
|
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']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7999
8094
|
* IdentityProvider service.
|
|
8000
8095
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
8001
|
-
* @version
|
|
8096
|
+
* @version 218.1.0
|
|
8002
8097
|
*//**
|
|
8003
8098
|
* Constructs a new IdentityProviderApi.
|
|
8004
8099
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -8154,7 +8249,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8154
8249
|
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']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
8155
8250
|
* InfrastructureAsCode service.
|
|
8156
8251
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
8157
|
-
* @version
|
|
8252
|
+
* @version 218.1.0
|
|
8158
8253
|
*//**
|
|
8159
8254
|
* Constructs a new InfrastructureAsCodeApi.
|
|
8160
8255
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -8208,7 +8303,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
8208
8303
|
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']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
8209
8304
|
* Integrations service.
|
|
8210
8305
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8211
|
-
* @version
|
|
8306
|
+
* @version 218.1.0
|
|
8212
8307
|
*//**
|
|
8213
8308
|
* Constructs a new IntegrationsApi.
|
|
8214
8309
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8791,6 +8886,13 @@ if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing th
|
|
|
8791
8886
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
|
|
8792
8887
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
|
|
8793
8888
|
if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8889
|
+
* Invoke Webhook
|
|
8890
|
+
*
|
|
8891
|
+
* @param {String} tokenId The token of the webhook to be invoked
|
|
8892
|
+
* @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
|
|
8893
|
+
*/},{key:"postIntegrationsWebhookEvents",value:function postIntegrationsWebhookEvents(tokenId,body){// verify the required parameter 'tokenId' is set
|
|
8894
|
+
if(tokenId===undefined||tokenId===null){throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';}// verify the required parameter 'body' is set
|
|
8895
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';}return this.apiClient.callApi('/api/v2/integrations/webhooks/{tokenId}/events','POST',{'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8794
8896
|
* Update integration configuration.
|
|
8795
8897
|
*
|
|
8796
8898
|
* @param {String} integrationId Integration Id
|
|
@@ -8840,7 +8942,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8840
8942
|
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']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8841
8943
|
* Journey service.
|
|
8842
8944
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8843
|
-
* @version
|
|
8945
|
+
* @version 218.1.0
|
|
8844
8946
|
*//**
|
|
8845
8947
|
* Constructs a new JourneyApi.
|
|
8846
8948
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -9320,7 +9422,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
9320
9422
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
9321
9423
|
* Knowledge service.
|
|
9322
9424
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
9323
|
-
* @version
|
|
9425
|
+
* @version 218.1.0
|
|
9324
9426
|
*//**
|
|
9325
9427
|
* Constructs a new KnowledgeApi.
|
|
9326
9428
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9694,7 +9796,6 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
9694
9796
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
9695
9797
|
* @param {String} uploadId UploadId
|
|
9696
9798
|
* @deprecated
|
|
9697
|
-
* getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9698
9799
|
*/},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
|
|
9699
9800
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
|
|
9700
9801
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
|
|
@@ -10161,7 +10262,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10161
10262
|
*
|
|
10162
10263
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10163
10264
|
* @param {Object} body
|
|
10164
|
-
* postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10165
10265
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsBulkRemove",value:function postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
10166
10266
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';}// verify the required parameter 'body' is set
|
|
10167
10267
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/remove','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10169,7 +10269,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10169
10269
|
*
|
|
10170
10270
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10171
10271
|
* @param {Object} body
|
|
10172
|
-
* postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10173
10272
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
10174
10273
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
|
|
10175
10274
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10207,7 +10306,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
10207
10306
|
*
|
|
10208
10307
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10209
10308
|
* @param {Object} body
|
|
10210
|
-
* postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10211
10309
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd",value:function postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
10212
10310
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';}// verify the required parameter 'body' is set
|
|
10213
10311
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/versions/bulk/add','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10249,7 +10347,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10249
10347
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10250
10348
|
* @param {Object} body
|
|
10251
10349
|
* @deprecated
|
|
10252
|
-
* postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10253
10350
|
*/},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
|
|
10254
10351
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10255
10352
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
|
|
@@ -10388,7 +10485,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10388
10485
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
10389
10486
|
* LanguageUnderstanding service.
|
|
10390
10487
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10391
|
-
* @version
|
|
10488
|
+
* @version 218.1.0
|
|
10392
10489
|
*//**
|
|
10393
10490
|
* Constructs a new LanguageUnderstandingApi.
|
|
10394
10491
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10647,7 +10744,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10647
10744
|
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']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
10648
10745
|
* Languages service.
|
|
10649
10746
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10650
|
-
* @version
|
|
10747
|
+
* @version 218.1.0
|
|
10651
10748
|
*//**
|
|
10652
10749
|
* Constructs a new LanguagesApi.
|
|
10653
10750
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10702,7 +10799,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10702
10799
|
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']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
10703
10800
|
* Learning service.
|
|
10704
10801
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10705
|
-
* @version
|
|
10802
|
+
* @version 218.1.0
|
|
10706
10803
|
*//**
|
|
10707
10804
|
* Constructs a new LearningApi.
|
|
10708
10805
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10973,7 +11070,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10973
11070
|
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']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
10974
11071
|
* License service.
|
|
10975
11072
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10976
|
-
* @version
|
|
11073
|
+
* @version 218.1.0
|
|
10977
11074
|
*//**
|
|
10978
11075
|
* Constructs a new LicenseApi.
|
|
10979
11076
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -11027,7 +11124,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
11027
11124
|
*/},{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']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
11028
11125
|
* Locations service.
|
|
11029
11126
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
11030
|
-
* @version
|
|
11127
|
+
* @version 218.1.0
|
|
11031
11128
|
*//**
|
|
11032
11129
|
* Constructs a new LocationsApi.
|
|
11033
11130
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -11086,7 +11183,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11086
11183
|
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']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
11087
11184
|
* LogCapture service.
|
|
11088
11185
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
11089
|
-
* @version
|
|
11186
|
+
* @version 218.1.0
|
|
11090
11187
|
*//**
|
|
11091
11188
|
* Constructs a new LogCaptureApi.
|
|
11092
11189
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -11136,7 +11233,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
11136
11233
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
11137
11234
|
* Messaging service.
|
|
11138
11235
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
11139
|
-
* @version
|
|
11236
|
+
* @version 218.1.0
|
|
11140
11237
|
*//**
|
|
11141
11238
|
* Constructs a new MessagingApi.
|
|
11142
11239
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -11226,7 +11323,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11226
11323
|
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']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
11227
11324
|
* MobileDevices service.
|
|
11228
11325
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
11229
|
-
* @version
|
|
11326
|
+
* @version 218.1.0
|
|
11230
11327
|
*//**
|
|
11231
11328
|
* Constructs a new MobileDevicesApi.
|
|
11232
11329
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -11265,7 +11362,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11265
11362
|
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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
11266
11363
|
* Notifications service.
|
|
11267
11364
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
11268
|
-
* @version
|
|
11365
|
+
* @version 218.1.0
|
|
11269
11366
|
*//**
|
|
11270
11367
|
* Constructs a new NotificationsApi.
|
|
11271
11368
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -11322,7 +11419,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
11322
11419
|
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']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
11323
11420
|
* OAuth service.
|
|
11324
11421
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
11325
|
-
* @version
|
|
11422
|
+
* @version 218.1.0
|
|
11326
11423
|
*//**
|
|
11327
11424
|
* Constructs a new OAuthApi.
|
|
11328
11425
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11407,7 +11504,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11407
11504
|
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']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
11408
11505
|
* Objects service.
|
|
11409
11506
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11410
|
-
* @version
|
|
11507
|
+
* @version 218.1.0
|
|
11411
11508
|
*//**
|
|
11412
11509
|
* Constructs a new ObjectsApi.
|
|
11413
11510
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11478,7 +11575,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11478
11575
|
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']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
11479
11576
|
* OperationalEvents service.
|
|
11480
11577
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11481
|
-
* @version
|
|
11578
|
+
* @version 218.1.0
|
|
11482
11579
|
*//**
|
|
11483
11580
|
* Constructs a new OperationalEventsApi.
|
|
11484
11581
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11509,7 +11606,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
11509
11606
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
11510
11607
|
* Organization service.
|
|
11511
11608
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11512
|
-
* @version
|
|
11609
|
+
* @version 218.1.0
|
|
11513
11610
|
*//**
|
|
11514
11611
|
* Constructs a new OrganizationApi.
|
|
11515
11612
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11559,33 +11656,11 @@ if(requestId===undefined||requestId===null){throw'Missing the required parameter
|
|
|
11559
11656
|
* @param {String} namespaceName The namespace to fetch limits for
|
|
11560
11657
|
*/},{key:"getOrganizationsLimitsNamespace",value:function getOrganizationsLimitsNamespace(namespaceName){// verify the required parameter 'namespaceName' is set
|
|
11561
11658
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11562
|
-
* Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
11563
|
-
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
11564
|
-
* @param {String} namespaceName The namespace to get
|
|
11565
|
-
* @param {Object} opts Optional parameters
|
|
11566
|
-
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
11567
|
-
* @param {String} opts.entityId entity id of the count
|
|
11568
|
-
* @param {String} opts.userId userid of the count
|
|
11569
|
-
* @deprecated
|
|
11570
|
-
*/},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
11571
|
-
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/counts','GET',{'namespaceName':namespaceName},{'cursor':opts['cursor'],'entityId':opts['entityId'],'userId':opts['userId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11572
11659
|
* Get the default limits in a namespace for an organization
|
|
11573
11660
|
*
|
|
11574
11661
|
* @param {String} namespaceName The namespace to fetch defaults limits for
|
|
11575
11662
|
*/},{key:"getOrganizationsLimitsNamespaceDefaults",value:function getOrganizationsLimitsNamespaceDefaults(namespaceName){// verify the required parameter 'namespaceName' is set
|
|
11576
11663
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/defaults','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11577
|
-
* Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
11578
|
-
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
11579
|
-
* @param {String} namespaceName The namespace to get
|
|
11580
|
-
* @param {String} limitName The limit to get
|
|
11581
|
-
* @param {Object} opts Optional parameters
|
|
11582
|
-
* @param {String} opts.entityId entity id of the count
|
|
11583
|
-
* @param {String} opts.userId userid of the count
|
|
11584
|
-
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
11585
|
-
* @deprecated
|
|
11586
|
-
*/},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
11587
|
-
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
|
|
11588
|
-
if(limitName===undefined||limitName===null){throw'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts','GET',{'namespaceName':namespaceName,'limitName':limitName},{'entityId':opts['entityId'],'userId':opts['userId'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11589
11664
|
* Get the available limit namespaces
|
|
11590
11665
|
*
|
|
11591
11666
|
* @param {Object} opts Optional parameters
|
|
@@ -11636,7 +11711,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11636
11711
|
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']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
11637
11712
|
* OrganizationAuthorization service.
|
|
11638
11713
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11639
|
-
* @version
|
|
11714
|
+
* @version 218.1.0
|
|
11640
11715
|
*//**
|
|
11641
11716
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11642
11717
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11970,7 +12045,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11970
12045
|
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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11971
12046
|
* Outbound service.
|
|
11972
12047
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11973
|
-
* @version
|
|
12048
|
+
* @version 218.1.0
|
|
11974
12049
|
*//**
|
|
11975
12050
|
* Constructs a new OutboundApi.
|
|
11976
12051
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -13087,7 +13162,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13087
13162
|
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']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
13088
13163
|
* Presence service.
|
|
13089
13164
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
13090
|
-
* @version
|
|
13165
|
+
* @version 218.1.0
|
|
13091
13166
|
*//**
|
|
13092
13167
|
* Constructs a new PresenceApi.
|
|
13093
13168
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -13098,8 +13173,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13098
13173
|
* Delete a Presence Definition
|
|
13099
13174
|
*
|
|
13100
13175
|
* @param {String} definitionId Presence Definition ID
|
|
13101
|
-
*/return _createClass(PresenceApi,[{key:"
|
|
13102
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
13176
|
+
*/return _createClass(PresenceApi,[{key:"deleteDivisionBasedPresenceDefinition",value:function deleteDivisionBasedPresenceDefinition(definitionId){// verify the required parameter 'definitionId' is set
|
|
13177
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling deleteDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','DELETE',{'definitionId':definitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13103
13178
|
* Delete a Presence Source
|
|
13104
13179
|
*
|
|
13105
13180
|
* @param {String} sourceId Presence Source ID
|
|
@@ -13116,15 +13191,15 @@ if(presenceId===undefined||presenceId===null){throw'Missing the required paramet
|
|
|
13116
13191
|
* @param {String} definitionId Presence Definition ID
|
|
13117
13192
|
* @param {Object} opts Optional parameters
|
|
13118
13193
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
13119
|
-
*/},{key:"
|
|
13120
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
13194
|
+
*/},{key:"getDivisionBasedPresenceDefinition",value:function getDivisionBasedPresenceDefinition(definitionId,opts){opts=opts||{};// verify the required parameter 'definitionId' is set
|
|
13195
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling getDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','GET',{'definitionId':definitionId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13121
13196
|
* Get a list of Presence Definitions
|
|
13122
13197
|
*
|
|
13123
13198
|
* @param {Object} opts Optional parameters
|
|
13124
13199
|
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
13125
13200
|
* @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.
|
|
13126
13201
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
13127
|
-
*/},{key:"
|
|
13202
|
+
*/},{key:"getDivisionBasedPresenceDefinitions",value:function getDivisionBasedPresenceDefinitions(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']);}/**
|
|
13128
13203
|
* Get the presence settings
|
|
13129
13204
|
*
|
|
13130
13205
|
*/},{key:"getPresenceSettings",value:function getPresenceSettings(){return this.apiClient.callApi('/api/v2/presence/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13206,8 +13281,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13206
13281
|
* Create a Presence Definition
|
|
13207
13282
|
*
|
|
13208
13283
|
* @param {Object} body The Presence Definition to create
|
|
13209
|
-
*/},{key:"
|
|
13210
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
13284
|
+
*/},{key:"postDivisionBasedPresenceDefinitions",value:function postDivisionBasedPresenceDefinitions(body){// verify the required parameter 'body' is set
|
|
13285
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDivisionBasedPresenceDefinitions';}return this.apiClient.callApi('/api/v2/presence/definitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13211
13286
|
* Create a Presence Source
|
|
13212
13287
|
*
|
|
13213
13288
|
* @param {Object} body The Presence Source to create
|
|
@@ -13223,9 +13298,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13223
13298
|
*
|
|
13224
13299
|
* @param {String} definitionId Presence Definition ID
|
|
13225
13300
|
* @param {Object} body The updated Presence Definition
|
|
13226
|
-
*/},{key:"
|
|
13227
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
13228
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
13301
|
+
*/},{key:"putDivisionBasedPresenceDefinition",value:function putDivisionBasedPresenceDefinition(definitionId,body){// verify the required parameter 'definitionId' is set
|
|
13302
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling putDivisionBasedPresenceDefinition';}// verify the required parameter 'body' is set
|
|
13303
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','PUT',{'definitionId':definitionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13229
13304
|
* Update the presence settings
|
|
13230
13305
|
*
|
|
13231
13306
|
* @param {Object} body Presence Settings
|
|
@@ -13260,7 +13335,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13260
13335
|
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']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
13261
13336
|
* ProcessAutomation service.
|
|
13262
13337
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
13263
|
-
* @version
|
|
13338
|
+
* @version 218.1.0
|
|
13264
13339
|
*//**
|
|
13265
13340
|
* Constructs a new ProcessAutomationApi.
|
|
13266
13341
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -13323,7 +13398,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
13323
13398
|
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']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
13324
13399
|
* Quality service.
|
|
13325
13400
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
13326
|
-
* @version
|
|
13401
|
+
* @version 218.1.0
|
|
13327
13402
|
*//**
|
|
13328
13403
|
* Constructs a new QualityApi.
|
|
13329
13404
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13782,7 +13857,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13782
13857
|
*
|
|
13783
13858
|
* @param {String} formId Form ID
|
|
13784
13859
|
* @param {Object} body AI Scoring Settings
|
|
13785
|
-
* putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13786
13860
|
*/},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
|
|
13787
13861
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
|
|
13788
13862
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13802,7 +13876,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13802
13876
|
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']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
13803
13877
|
* Recording service.
|
|
13804
13878
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13805
|
-
* @version
|
|
13879
|
+
* @version 218.1.0
|
|
13806
13880
|
*//**
|
|
13807
13881
|
* Constructs a new RecordingApi.
|
|
13808
13882
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13881,7 +13955,7 @@ if(annotationId===undefined||annotationId===null){throw'Missing the required par
|
|
|
13881
13955
|
*/},{key:"getConversationRecordingAnnotations",value:function getConversationRecordingAnnotations(conversationId,recordingId){// verify the required parameter 'conversationId' is set
|
|
13882
13956
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
|
|
13883
13957
|
if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations','GET',{'conversationId':conversationId,'recordingId':recordingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13884
|
-
* Get recording metadata for a conversation. Does not return playable media
|
|
13958
|
+
* Get recording metadata for a conversation. Does not return playable media nor system annotations. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
|
|
13885
13959
|
*
|
|
13886
13960
|
* @param {String} conversationId Conversation ID
|
|
13887
13961
|
*/},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId){// verify the required parameter 'conversationId' is set
|
|
@@ -13901,8 +13975,9 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
13901
13975
|
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
13902
13976
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
13903
13977
|
* @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
13978
|
+
* @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
|
|
13904
13979
|
*/},{key:"getConversationRecordings",value:function getConversationRecordings(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
13905
|
-
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13980
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale'],'includePauseAnnotationsForScreenRecordings':opts['includePauseAnnotationsForScreenRecordings']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13906
13981
|
* Gets a single orphan recording
|
|
13907
13982
|
*
|
|
13908
13983
|
* @param {String} orphanId Orphan ID
|
|
@@ -14200,7 +14275,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14200
14275
|
*/},{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']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
14201
14276
|
* ResponseManagement service.
|
|
14202
14277
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
14203
|
-
* @version
|
|
14278
|
+
* @version 218.1.0
|
|
14204
14279
|
*//**
|
|
14205
14280
|
* Constructs a new ResponseManagementApi.
|
|
14206
14281
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -14321,7 +14396,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
14321
14396
|
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']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
14322
14397
|
* Routing service.
|
|
14323
14398
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
14324
|
-
* @version
|
|
14399
|
+
* @version 218.1.0
|
|
14325
14400
|
*//**
|
|
14326
14401
|
* Constructs a new RoutingApi.
|
|
14327
14402
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15366,7 +15441,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15366
15441
|
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']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
15367
15442
|
* SCIM service.
|
|
15368
15443
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
15369
|
-
* @version
|
|
15444
|
+
* @version 218.1.0
|
|
15370
15445
|
*//**
|
|
15371
15446
|
* Constructs a new SCIMApi.
|
|
15372
15447
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15591,7 +15666,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15591
15666
|
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']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
15592
15667
|
* ScreenRecording service.
|
|
15593
15668
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15594
|
-
* @version
|
|
15669
|
+
* @version 218.1.0
|
|
15595
15670
|
*//**
|
|
15596
15671
|
* Constructs a new ScreenRecordingApi.
|
|
15597
15672
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15606,7 +15681,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15606
15681
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
15607
15682
|
* Scripts service.
|
|
15608
15683
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15609
|
-
* @version
|
|
15684
|
+
* @version 218.1.0
|
|
15610
15685
|
*//**
|
|
15611
15686
|
* Constructs a new ScriptsApi.
|
|
15612
15687
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15742,7 +15817,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15742
15817
|
*/},{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']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
15743
15818
|
* Search service.
|
|
15744
15819
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15745
|
-
* @version
|
|
15820
|
+
* @version 218.1.0
|
|
15746
15821
|
*//**
|
|
15747
15822
|
* Constructs a new SearchApi.
|
|
15748
15823
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15914,7 +15989,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15914
15989
|
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']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
15915
15990
|
* Settings service.
|
|
15916
15991
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15917
|
-
* @version
|
|
15992
|
+
* @version 218.1.0
|
|
15918
15993
|
*//**
|
|
15919
15994
|
* Constructs a new SettingsApi.
|
|
15920
15995
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15922,14 +15997,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15922
15997
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
15923
15998
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
15924
15999
|
*/function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
16000
|
+
* Reset email threading settings to default
|
|
16001
|
+
*
|
|
16002
|
+
*/return _createClass(SettingsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15925
16003
|
* Delete agent auto answer settings
|
|
15926
16004
|
*
|
|
15927
16005
|
* @param {String} agentId The agent to apply the auto answer settings to
|
|
15928
|
-
*/
|
|
16006
|
+
*/},{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
15929
16007
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15930
16008
|
* Get email Contact Center settings
|
|
15931
16009
|
*
|
|
15932
16010
|
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16011
|
+
* Get email threading settings
|
|
16012
|
+
*
|
|
16013
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15933
16014
|
* Get the execution history enabled setting.
|
|
15934
16015
|
* Get the execution history enabled setting.
|
|
15935
16016
|
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15943,6 +16024,11 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15943
16024
|
* @param {Object} opts Optional parameters
|
|
15944
16025
|
* @param {Object} opts.body
|
|
15945
16026
|
*/},{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']);}/**
|
|
16027
|
+
* Patch email threading settings
|
|
16028
|
+
*
|
|
16029
|
+
* @param {Object} opts Optional parameters
|
|
16030
|
+
* @param {Object} opts.body
|
|
16031
|
+
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15946
16032
|
* Edit the execution history on off setting.
|
|
15947
16033
|
* Edit the execution history on off setting.
|
|
15948
16034
|
* @param {Object} body New Execution Data Setting
|
|
@@ -15964,7 +16050,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15964
16050
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
15965
16051
|
* SocialMedia service.
|
|
15966
16052
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15967
|
-
* @version
|
|
16053
|
+
* @version 218.1.0
|
|
15968
16054
|
*//**
|
|
15969
16055
|
* Constructs a new SocialMediaApi.
|
|
15970
16056
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -15972,13 +16058,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15972
16058
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
15973
16059
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
15974
16060
|
*/function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
16061
|
+
* Delete an escalation rule.
|
|
16062
|
+
*
|
|
16063
|
+
* @param {String} escalationRuleId escalationRuleId
|
|
16064
|
+
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaEscalationrule",value:function deleteSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
|
|
16065
|
+
if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','DELETE',{'escalationRuleId':escalationRuleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16066
|
+
* Delete a social media message.
|
|
16067
|
+
*
|
|
16068
|
+
* @param {String} messageId messageId
|
|
16069
|
+
* deleteSocialmediaMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16070
|
+
*/},{key:"deleteSocialmediaMessage",value:function deleteSocialmediaMessage(messageId){// verify the required parameter 'messageId' is set
|
|
16071
|
+
if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';}return this.apiClient.callApi('/api/v2/socialmedia/messages/{messageId}','DELETE',{'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15975
16072
|
* Delete a social topic.
|
|
15976
16073
|
*
|
|
15977
16074
|
* @param {String} topicId topicId
|
|
15978
16075
|
* @param {Object} opts Optional parameters
|
|
15979
16076
|
* @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
|
|
15980
|
-
|
|
15981
|
-
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16077
|
+
*/},{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15982
16078
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','DELETE',{'topicId':topicId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15983
16079
|
* Delete a Facebook data ingestion rule.
|
|
15984
16080
|
*
|
|
@@ -15986,7 +16082,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15986
16082
|
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15987
16083
|
* @param {Object} opts Optional parameters
|
|
15988
16084
|
* @param {Boolean} opts.hardDelete Determines whether a Facebook data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
15989
|
-
* deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15990
16085
|
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15991
16086
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15992
16087
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16006,25 +16101,68 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
|
|
|
16006
16101
|
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
16007
16102
|
* @param {Object} opts Optional parameters
|
|
16008
16103
|
* @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
16009
|
-
* deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16010
16104
|
*/},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16011
16105
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16012
16106
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','DELETE',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16107
|
+
* Get status for async query for social media aggregates
|
|
16108
|
+
*
|
|
16109
|
+
* @param {String} jobId jobId
|
|
16110
|
+
*/},{key:"getSocialmediaAnalyticsAggregatesJob",value:function getSocialmediaAnalyticsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
16111
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16112
|
+
* Fetch a page of results for an async social media query
|
|
16113
|
+
*
|
|
16114
|
+
* @param {String} jobId jobId
|
|
16115
|
+
* @param {Object} opts Optional parameters
|
|
16116
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
16117
|
+
*/},{key:"getSocialmediaAnalyticsAggregatesJobResults",value:function getSocialmediaAnalyticsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
16118
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16119
|
+
* Get status for async query for social media messages job
|
|
16120
|
+
*
|
|
16121
|
+
* @param {String} jobId jobId
|
|
16122
|
+
*/},{key:"getSocialmediaAnalyticsMessagesJob",value:function getSocialmediaAnalyticsMessagesJob(jobId){// verify the required parameter 'jobId' is set
|
|
16123
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16124
|
+
* Fetch a page of results for an async social media messages query
|
|
16125
|
+
*
|
|
16126
|
+
* @param {String} jobId jobId
|
|
16127
|
+
* @param {Object} opts Optional parameters
|
|
16128
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
16129
|
+
*/},{key:"getSocialmediaAnalyticsMessagesJobResults",value:function getSocialmediaAnalyticsMessagesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
16130
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16131
|
+
* Get a single escalation rule.
|
|
16132
|
+
*
|
|
16133
|
+
* @param {String} escalationRuleId escalationRuleId
|
|
16134
|
+
*/},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
|
|
16135
|
+
if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16136
|
+
* Retrieve all escalation rules for a division.
|
|
16137
|
+
*
|
|
16138
|
+
* @param {String} divisionId One division ID
|
|
16139
|
+
* @param {Object} opts Optional parameters
|
|
16140
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16141
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16142
|
+
*/},{key:"getSocialmediaEscalationrules",value:function getSocialmediaEscalationrules(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
16143
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling getSocialmediaEscalationrules';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionId':divisionId},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16013
16144
|
* Get a single social topic.
|
|
16014
16145
|
*
|
|
16015
16146
|
* @param {String} topicId topicId
|
|
16016
16147
|
* @param {Object} opts Optional parameters
|
|
16017
16148
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16018
|
-
* getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16019
16149
|
*/},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16020
16150
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','GET',{'topicId':topicId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16151
|
+
* Retrieve all social topic data ingestion rules with pagination.
|
|
16152
|
+
*
|
|
16153
|
+
* @param {String} topicId topicId
|
|
16154
|
+
* @param {Object} opts Optional parameters
|
|
16155
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16156
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16157
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16158
|
+
*/},{key:"getSocialmediaTopicDataingestionrules",value:function getSocialmediaTopicDataingestionrules(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16159
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules','GET',{'topicId':topicId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16021
16160
|
* Get a single Facebook data ingestion rule.
|
|
16022
16161
|
*
|
|
16023
16162
|
* @param {String} topicId topicId
|
|
16024
16163
|
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
16025
16164
|
* @param {Object} opts Optional parameters
|
|
16026
16165
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16027
|
-
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16028
16166
|
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16029
16167
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
16030
16168
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16035,7 +16173,6 @@ if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Mi
|
|
|
16035
16173
|
* @param {String} dataIngestionRuleVersion version
|
|
16036
16174
|
* @param {Object} opts Optional parameters
|
|
16037
16175
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
16038
|
-
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16039
16176
|
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16040
16177
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
16041
16178
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
@@ -16048,7 +16185,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
|
|
|
16048
16185
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16049
16186
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16050
16187
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16051
|
-
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16052
16188
|
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16053
16189
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
16054
16190
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16092,7 +16228,6 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
|
|
|
16092
16228
|
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
16093
16229
|
* @param {Object} opts Optional parameters
|
|
16094
16230
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16095
|
-
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16096
16231
|
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16097
16232
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16098
16233
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16103,7 +16238,6 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
|
|
|
16103
16238
|
* @param {String} dataIngestionRuleVersion version
|
|
16104
16239
|
* @param {Object} opts Optional parameters
|
|
16105
16240
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
16106
|
-
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16107
16241
|
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16108
16242
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16109
16243
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
@@ -16116,7 +16250,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
|
|
|
16116
16250
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16117
16251
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16118
16252
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16119
|
-
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16120
16253
|
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16121
16254
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16122
16255
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16127,14 +16260,12 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
|
|
|
16127
16260
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16128
16261
|
* @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
|
|
16129
16262
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
16130
|
-
* getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16131
16263
|
*/},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16132
16264
|
* Update a social topic.
|
|
16133
16265
|
*
|
|
16134
16266
|
* @param {String} topicId topicId
|
|
16135
16267
|
* @param {Object} opts Optional parameters
|
|
16136
16268
|
* @param {Object} opts.body
|
|
16137
|
-
* patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16138
16269
|
*/},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16139
16270
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','PATCH',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16140
16271
|
* Update the status of a Facebook data ingestion rule.
|
|
@@ -16143,7 +16274,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16143
16274
|
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
16144
16275
|
* @param {Object} opts Optional parameters
|
|
16145
16276
|
* @param {Object} opts.body
|
|
16146
|
-
* patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16147
16277
|
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16148
16278
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
16149
16279
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16163,16 +16293,36 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
|
|
|
16163
16293
|
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
16164
16294
|
* @param {Object} opts Optional parameters
|
|
16165
16295
|
* @param {Object} opts.body
|
|
16166
|
-
* patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16167
16296
|
*/},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16168
16297
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16169
16298
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PATCH',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16299
|
+
* Query for social media aggregates asynchronously
|
|
16300
|
+
*
|
|
16301
|
+
* @param {Object} body query
|
|
16302
|
+
*/},{key:"postSocialmediaAnalyticsAggregatesJobs",value:function postSocialmediaAnalyticsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
16303
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16304
|
+
* Query for social media messages asynchronously
|
|
16305
|
+
*
|
|
16306
|
+
* @param {Object} body query
|
|
16307
|
+
*/},{key:"postSocialmediaAnalyticsMessagesJobs",value:function postSocialmediaAnalyticsMessagesJobs(body){// verify the required parameter 'body' is set
|
|
16308
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16309
|
+
* Create an escalation rule.
|
|
16310
|
+
*
|
|
16311
|
+
* @param {Object} opts Optional parameters
|
|
16312
|
+
* @param {Object} opts.body
|
|
16313
|
+
*/},{key:"postSocialmediaEscalationrules",value:function postSocialmediaEscalationrules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/escalationrules','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16314
|
+
* Escalate message to a conversation manually
|
|
16315
|
+
*
|
|
16316
|
+
* @param {String} divisionId One division ID
|
|
16317
|
+
* @param {Object} opts Optional parameters
|
|
16318
|
+
* @param {Object} opts.body
|
|
16319
|
+
*/},{key:"postSocialmediaEscalationsMessages",value:function postSocialmediaEscalationsMessages(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
16320
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postSocialmediaEscalationsMessages';}return this.apiClient.callApi('/api/v2/socialmedia/escalations/messages','POST',{},{'divisionId':divisionId},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16170
16321
|
* Create an Facebook data ingestion rule.
|
|
16171
16322
|
*
|
|
16172
16323
|
* @param {String} topicId topicId
|
|
16173
16324
|
* @param {Object} opts Optional parameters
|
|
16174
16325
|
* @param {Object} opts.body
|
|
16175
|
-
* postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16176
16326
|
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16177
16327
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16178
16328
|
* Create an open data ingestion rule.
|
|
@@ -16188,22 +16338,31 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16188
16338
|
* @param {String} topicId topicId
|
|
16189
16339
|
* @param {Object} opts Optional parameters
|
|
16190
16340
|
* @param {Object} opts.body
|
|
16191
|
-
* postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16192
16341
|
*/},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16193
16342
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16194
16343
|
* Create a social topic.
|
|
16195
16344
|
*
|
|
16196
16345
|
* @param {Object} opts Optional parameters
|
|
16197
16346
|
* @param {Object} opts.body
|
|
16198
|
-
* postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16199
16347
|
*/},{key:"postSocialmediaTopics",value:function postSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16348
|
+
* Retrieves historical tweet count for search terms, optional countries list and the current limit and usage for the organization.
|
|
16349
|
+
*
|
|
16350
|
+
* @param {Object} body TwitterDataHistoricalTweetRequest
|
|
16351
|
+
*/},{key:"postSocialmediaTwitterHistoricalTweets",value:function postSocialmediaTwitterHistoricalTweets(body){// verify the required parameter 'body' is set
|
|
16352
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';}return this.apiClient.callApi('/api/v2/socialmedia/twitter/historical/tweets','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16353
|
+
* Update the escalation rule.
|
|
16354
|
+
*
|
|
16355
|
+
* @param {String} escalationRuleId escalationRuleId
|
|
16356
|
+
* @param {Object} opts Optional parameters
|
|
16357
|
+
* @param {Object} opts.body
|
|
16358
|
+
*/},{key:"putSocialmediaEscalationrule",value:function putSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
|
|
16359
|
+
if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','PUT',{'escalationRuleId':escalationRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16200
16360
|
* Update the Facebook data ingestion rule.
|
|
16201
16361
|
*
|
|
16202
16362
|
* @param {String} topicId topicId
|
|
16203
16363
|
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
16204
16364
|
* @param {Object} opts Optional parameters
|
|
16205
16365
|
* @param {Object} opts.body
|
|
16206
|
-
* putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16207
16366
|
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16208
16367
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
16209
16368
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16223,13 +16382,12 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
|
|
|
16223
16382
|
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
16224
16383
|
* @param {Object} opts Optional parameters
|
|
16225
16384
|
* @param {Object} opts.body
|
|
16226
|
-
* putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16227
16385
|
*/},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
16228
16386
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
16229
16387
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
16230
16388
|
* SpeechTextAnalytics service.
|
|
16231
16389
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
16232
|
-
* @version
|
|
16390
|
+
* @version 218.1.0
|
|
16233
16391
|
*//**
|
|
16234
16392
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
16235
16393
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -16552,7 +16710,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16552
16710
|
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']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
16553
16711
|
* Stations service.
|
|
16554
16712
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
16555
|
-
* @version
|
|
16713
|
+
* @version 218.1.0
|
|
16556
16714
|
*//**
|
|
16557
16715
|
* Constructs a new StationsApi.
|
|
16558
16716
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -16584,7 +16742,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
16584
16742
|
*/},{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']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
16585
16743
|
* Suggest service.
|
|
16586
16744
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
16587
|
-
* @version
|
|
16745
|
+
* @version 218.1.0
|
|
16588
16746
|
*//**
|
|
16589
16747
|
* Constructs a new SuggestApi.
|
|
16590
16748
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -16624,7 +16782,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16624
16782
|
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']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
16625
16783
|
* TaskManagement service.
|
|
16626
16784
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
16627
|
-
* @version
|
|
16785
|
+
* @version 218.1.0
|
|
16628
16786
|
*//**
|
|
16629
16787
|
* Constructs a new TaskManagementApi.
|
|
16630
16788
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -17130,7 +17288,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
17130
17288
|
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']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
17131
17289
|
* Teams service.
|
|
17132
17290
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
17133
|
-
* @version
|
|
17291
|
+
* @version 218.1.0
|
|
17134
17292
|
*//**
|
|
17135
17293
|
* Constructs a new TeamsApi.
|
|
17136
17294
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -17210,7 +17368,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17210
17368
|
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']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
17211
17369
|
* Telephony service.
|
|
17212
17370
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
17213
|
-
* @version
|
|
17371
|
+
* @version 218.1.0
|
|
17214
17372
|
*//**
|
|
17215
17373
|
* Constructs a new TelephonyApi.
|
|
17216
17374
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -17257,7 +17415,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
17257
17415
|
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']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
17258
17416
|
* TelephonyProvidersEdge service.
|
|
17259
17417
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
17260
|
-
* @version
|
|
17418
|
+
* @version 218.1.0
|
|
17261
17419
|
*//**
|
|
17262
17420
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
17263
17421
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17538,7 +17696,8 @@ if(extensionPoolId===undefined||extensionPoolId===null){throw'Missing the requir
|
|
|
17538
17696
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17539
17697
|
* @param {String} opts.sortBy Sort by
|
|
17540
17698
|
* @param {String} opts._number Deprecated, filtering by number not supported
|
|
17541
|
-
|
|
17699
|
+
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
17700
|
+
*/},{key:"getTelephonyProvidersEdgesExtensionpools",value:function getTelephonyProvidersEdgesExtensionpools(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/extensionpools','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'number':opts['_number'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17542
17701
|
* Get a pageable list of basic extension pool objects filterable by query parameters.
|
|
17543
17702
|
* This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
|
|
17544
17703
|
* @param {Object} opts Optional parameters
|
|
@@ -18092,7 +18251,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
18092
18251
|
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']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
18093
18252
|
* Textbots service.
|
|
18094
18253
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
18095
|
-
* @version
|
|
18254
|
+
* @version 218.1.0
|
|
18096
18255
|
*//**
|
|
18097
18256
|
* Constructs a new TextbotsApi.
|
|
18098
18257
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -18127,7 +18286,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
18127
18286
|
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']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
18128
18287
|
* Tokens service.
|
|
18129
18288
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
18130
|
-
* @version
|
|
18289
|
+
* @version 218.1.0
|
|
18131
18290
|
*//**
|
|
18132
18291
|
* Constructs a new TokensApi.
|
|
18133
18292
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -18161,7 +18320,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18161
18320
|
*/},{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']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
18162
18321
|
* Uploads service.
|
|
18163
18322
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
18164
|
-
* @version
|
|
18323
|
+
* @version 218.1.0
|
|
18165
18324
|
*//**
|
|
18166
18325
|
* Constructs a new UploadsApi.
|
|
18167
18326
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -18224,7 +18383,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18224
18383
|
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']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
18225
18384
|
* Usage service.
|
|
18226
18385
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
18227
|
-
* @version
|
|
18386
|
+
* @version 218.1.0
|
|
18228
18387
|
*//**
|
|
18229
18388
|
* Constructs a new UsageApi.
|
|
18230
18389
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -18278,7 +18437,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18278
18437
|
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']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
18279
18438
|
* UserRecordings service.
|
|
18280
18439
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
18281
|
-
* @version
|
|
18440
|
+
* @version 218.1.0
|
|
18282
18441
|
*//**
|
|
18283
18442
|
* Constructs a new UserRecordingsApi.
|
|
18284
18443
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -18335,7 +18494,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
18335
18494
|
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']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
18336
18495
|
* Users service.
|
|
18337
18496
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
18338
|
-
* @version
|
|
18497
|
+
* @version 218.1.0
|
|
18339
18498
|
*//**
|
|
18340
18499
|
* Constructs a new UsersApi.
|
|
18341
18500
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -19062,7 +19221,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
19062
19221
|
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']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
19063
19222
|
* Utilities service.
|
|
19064
19223
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
19065
|
-
* @version
|
|
19224
|
+
* @version 218.1.0
|
|
19066
19225
|
*//**
|
|
19067
19226
|
* Constructs a new UtilitiesApi.
|
|
19068
19227
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -19089,7 +19248,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19089
19248
|
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']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
19090
19249
|
* Voicemail service.
|
|
19091
19250
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
19092
|
-
* @version
|
|
19251
|
+
* @version 218.1.0
|
|
19093
19252
|
*//**
|
|
19094
19253
|
* Constructs a new VoicemailApi.
|
|
19095
19254
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -19251,7 +19410,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19251
19410
|
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']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
19252
19411
|
* WebChat service.
|
|
19253
19412
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
19254
|
-
* @version
|
|
19413
|
+
* @version 218.1.0
|
|
19255
19414
|
*//**
|
|
19256
19415
|
* Constructs a new WebChatApi.
|
|
19257
19416
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -19266,9 +19425,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19266
19425
|
*/return _createClass(WebChatApi,[{key:"deleteWebchatDeployment",value:function deleteWebchatDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
|
|
19267
19426
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';}return this.apiClient.callApi('/api/v2/webchat/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19268
19427
|
* Remove a member from a chat conversation
|
|
19269
|
-
*
|
|
19428
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19270
19429
|
* @param {String} conversationId conversationId
|
|
19271
19430
|
* @param {String} memberId memberId
|
|
19431
|
+
* @deprecated
|
|
19272
19432
|
*/},{key:"deleteWebchatGuestConversationMember",value:function deleteWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
|
|
19273
19433
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
|
|
19274
19434
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}','DELETE',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -19294,41 +19454,46 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19294
19454
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';}// verify the required parameter 'mediaRequestId' is set
|
|
19295
19455
|
if(mediaRequestId===undefined||mediaRequestId===null){throw'Missing the required parameter "mediaRequestId" when calling getWebchatGuestConversationMediarequest';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}','GET',{'conversationId':conversationId,'mediaRequestId':mediaRequestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19296
19456
|
* Get all media requests to the guest in the conversation
|
|
19297
|
-
*
|
|
19457
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19298
19458
|
* @param {String} conversationId conversationId
|
|
19459
|
+
* @deprecated
|
|
19299
19460
|
*/},{key:"getWebchatGuestConversationMediarequests",value:function getWebchatGuestConversationMediarequests(conversationId){// verify the required parameter 'conversationId' is set
|
|
19300
19461
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequests';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/mediarequests','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19301
19462
|
* Get a web chat conversation member
|
|
19302
|
-
*
|
|
19463
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19303
19464
|
* @param {String} conversationId conversationId
|
|
19304
19465
|
* @param {String} memberId memberId
|
|
19466
|
+
* @deprecated
|
|
19305
19467
|
*/},{key:"getWebchatGuestConversationMember",value:function getWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
|
|
19306
19468
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
|
|
19307
19469
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling getWebchatGuestConversationMember';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}','GET',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19308
19470
|
* Get the members of a chat conversation.
|
|
19309
|
-
*
|
|
19471
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19310
19472
|
* @param {String} conversationId conversationId
|
|
19311
19473
|
* @param {Object} opts Optional parameters
|
|
19312
19474
|
* @param {Number} opts.pageSize The number of entries to return per page, or omitted for the default. (default to 25)
|
|
19313
19475
|
* @param {Number} opts.pageNumber The page number to return, or omitted for the first page. (default to 1)
|
|
19314
19476
|
* @param {Boolean} opts.excludeDisconnectedMembers If true, the results will not contain members who have a DISCONNECTED state. (default to false)
|
|
19477
|
+
* @deprecated
|
|
19315
19478
|
*/},{key:"getWebchatGuestConversationMembers",value:function getWebchatGuestConversationMembers(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
19316
19479
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMembers';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeDisconnectedMembers':opts['excludeDisconnectedMembers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19317
19480
|
* Get a web chat conversation message
|
|
19318
|
-
*
|
|
19481
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19319
19482
|
* @param {String} conversationId conversationId
|
|
19320
19483
|
* @param {String} messageId messageId
|
|
19484
|
+
* @deprecated
|
|
19321
19485
|
*/},{key:"getWebchatGuestConversationMessage",value:function getWebchatGuestConversationMessage(conversationId,messageId){// verify the required parameter 'conversationId' is set
|
|
19322
19486
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';}// verify the required parameter 'messageId' is set
|
|
19323
19487
|
if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getWebchatGuestConversationMessage';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/messages/{messageId}','GET',{'conversationId':conversationId,'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19324
19488
|
* Get the messages of a chat conversation.
|
|
19325
|
-
*
|
|
19489
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19326
19490
|
* @param {String} conversationId conversationId
|
|
19327
19491
|
* @param {Object} opts Optional parameters
|
|
19328
19492
|
* @param {String} opts.after If available, get the messages chronologically after the id of this message
|
|
19329
19493
|
* @param {String} opts.before If available, get the messages chronologically before the id of this message
|
|
19330
19494
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
19331
19495
|
* @param {Number} opts.maxResults Limit the returned number of messages, up to a maximum of 100 (default to 100)
|
|
19496
|
+
* @deprecated
|
|
19332
19497
|
*/},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
19333
19498
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/messages','GET',{'conversationId':conversationId},{'after':opts['after'],'before':opts['before'],'sortOrder':opts['sortOrder'],'maxResults':opts['maxResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19334
19499
|
* Get WebChat deployment settings
|
|
@@ -19351,24 +19516,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19351
19516
|
*/},{key:"postWebchatDeployments",value:function postWebchatDeployments(body){// verify the required parameter 'body' is set
|
|
19352
19517
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatDeployments';}return this.apiClient.callApi('/api/v2/webchat/deployments','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19353
19518
|
* Send a message in a chat conversation.
|
|
19354
|
-
*
|
|
19519
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19355
19520
|
* @param {String} conversationId conversationId
|
|
19356
19521
|
* @param {String} memberId memberId
|
|
19357
19522
|
* @param {Object} body Message
|
|
19523
|
+
* @deprecated
|
|
19358
19524
|
*/},{key:"postWebchatGuestConversationMemberMessages",value:function postWebchatGuestConversationMemberMessages(conversationId,memberId,body){// verify the required parameter 'conversationId' is set
|
|
19359
19525
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'memberId' is set
|
|
19360
19526
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'body' is set
|
|
19361
19527
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatGuestConversationMemberMessages';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/messages','POST',{'conversationId':conversationId,'memberId':memberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19362
19528
|
* Send a typing-indicator in a chat conversation.
|
|
19363
|
-
*
|
|
19529
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
|
|
19364
19530
|
* @param {String} conversationId conversationId
|
|
19365
19531
|
* @param {String} memberId memberId
|
|
19532
|
+
* @deprecated
|
|
19366
19533
|
*/},{key:"postWebchatGuestConversationMemberTyping",value:function postWebchatGuestConversationMemberTyping(conversationId,memberId){// verify the required parameter 'conversationId' is set
|
|
19367
19534
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';}// verify the required parameter 'memberId' is set
|
|
19368
19535
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberTyping';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/typing','POST',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19369
19536
|
* Create an ACD chat conversation from an external customer.
|
|
19370
|
-
* This endpoint will create a new ACD Chat conversation under the specified Chat Deployment.
|
|
19537
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the memberAuthToken field should include his JWT as generated by the POST /api/v2/signeddata resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the eventStreamUri field of the response; the conversation is not routed until the event stream is attached.
|
|
19371
19538
|
* @param {Object} body CreateConversationRequest
|
|
19539
|
+
* @deprecated
|
|
19372
19540
|
*/},{key:"postWebchatGuestConversations",value:function postWebchatGuestConversations(body){// verify the required parameter 'body' is set
|
|
19373
19541
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatGuestConversations';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19374
19542
|
* Update a WebChat deployment
|
|
@@ -19386,7 +19554,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19386
19554
|
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']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
19387
19555
|
* WebDeployments service.
|
|
19388
19556
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
19389
|
-
* @version
|
|
19557
|
+
* @version 218.1.0
|
|
19390
19558
|
*//**
|
|
19391
19559
|
* Constructs a new WebDeploymentsApi.
|
|
19392
19560
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -19521,7 +19689,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19521
19689
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
19522
19690
|
* WebMessaging service.
|
|
19523
19691
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
19524
|
-
* @version
|
|
19692
|
+
* @version 218.1.0
|
|
19525
19693
|
*//**
|
|
19526
19694
|
* Constructs a new WebMessagingApi.
|
|
19527
19695
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -19537,7 +19705,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19537
19705
|
*/return _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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
19538
19706
|
* Widgets service.
|
|
19539
19707
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
19540
|
-
* @version
|
|
19708
|
+
* @version 218.1.0
|
|
19541
19709
|
*//**
|
|
19542
19710
|
* Constructs a new WidgetsApi.
|
|
19543
19711
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -19546,33 +19714,38 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19546
19714
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
19547
19715
|
*/function WidgetsApi(apiClient){_classCallCheck(this,WidgetsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
19548
19716
|
* Delete a Widget deployment
|
|
19549
|
-
*
|
|
19717
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
19550
19718
|
* @param {String} deploymentId Widget Config Id
|
|
19719
|
+
* @deprecated
|
|
19551
19720
|
*/return _createClass(WidgetsApi,[{key:"deleteWidgetsDeployment",value:function deleteWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
|
|
19552
19721
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19553
19722
|
* Get a Widget deployment
|
|
19554
|
-
*
|
|
19723
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
19555
19724
|
* @param {String} deploymentId Widget Config Id
|
|
19725
|
+
* @deprecated
|
|
19556
19726
|
*/},{key:"getWidgetsDeployment",value:function getWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
|
|
19557
19727
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','GET',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19558
19728
|
* List Widget deployments
|
|
19559
|
-
*
|
|
19729
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
19730
|
+
* @deprecated
|
|
19560
19731
|
*/},{key:"getWidgetsDeployments",value:function getWidgetsDeployments(){return this.apiClient.callApi('/api/v2/widgets/deployments','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19561
19732
|
* Create Widget deployment
|
|
19562
|
-
*
|
|
19733
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
19563
19734
|
* @param {Object} body Deployment
|
|
19735
|
+
* @deprecated
|
|
19564
19736
|
*/},{key:"postWidgetsDeployments",value:function postWidgetsDeployments(body){// verify the required parameter 'body' is set
|
|
19565
19737
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWidgetsDeployments';}return this.apiClient.callApi('/api/v2/widgets/deployments','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19566
19738
|
* Update a Widget deployment
|
|
19567
|
-
*
|
|
19739
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
19568
19740
|
* @param {String} deploymentId Widget Config Id
|
|
19569
19741
|
* @param {Object} body Deployment
|
|
19742
|
+
* @deprecated
|
|
19570
19743
|
*/},{key:"putWidgetsDeployment",value:function putWidgetsDeployment(deploymentId,body){// verify the required parameter 'deploymentId' is set
|
|
19571
19744
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';}// verify the required parameter 'body' is set
|
|
19572
19745
|
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']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
19573
19746
|
* WorkforceManagement service.
|
|
19574
19747
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
19575
|
-
* @version
|
|
19748
|
+
* @version 218.1.0
|
|
19576
19749
|
*//**
|
|
19577
19750
|
* Constructs a new WorkforceManagementApi.
|
|
19578
19751
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -21391,7 +21564,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
21391
21564
|
* </pre>
|
|
21392
21565
|
* </p>
|
|
21393
21566
|
* @module purecloud-platform-client-v2/index
|
|
21394
|
-
* @version
|
|
21567
|
+
* @version 218.1.0
|
|
21395
21568
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
21396
21569
|
* The ApiClient constructor.
|
|
21397
21570
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|