purecloud-platform-client-v2 207.0.0 → 209.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1392 -162
- package/dist/web-amd/purecloud-platform-client-v2.js +1392 -162
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +511 -178
- package/dist/web-cjs/purecloud-platform-client-v2.js +669 -256
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +4261 -3234
- 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 +4 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -8
- 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 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +11 -5
- 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 +52 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +40 -36
- 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 +55 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +910 -0
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
- 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 +55 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -7
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -515,10 +515,10 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
|
|
|
515
515
|
*
|
|
516
516
|
* @param {string} url The base of the url (e.g., http://www.google.com)
|
|
517
517
|
* @param {object} [params] The params to be appended
|
|
518
|
-
* @param {?object} options
|
|
518
|
+
* @param {?(object|Function)} options
|
|
519
519
|
*
|
|
520
520
|
* @returns {string} The formatted url
|
|
521
|
-
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
521
|
+
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;if(utils$1.isFunction(options)){options={serialize:options};}var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
522
522
|
* Add a new interceptor to the stack
|
|
523
523
|
*
|
|
524
524
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
@@ -654,22 +654,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
|
|
|
654
654
|
* @param {Function} fn
|
|
655
655
|
* @param {Number} freq
|
|
656
656
|
* @return {Function}
|
|
657
|
-
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv
|
|
658
|
-
// whether the request URL is of the same origin as current location.
|
|
659
|
-
function standardBrowserEnv(){var msie=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;/**
|
|
660
|
-
* Parse a URL to discover its components
|
|
661
|
-
*
|
|
662
|
-
* @param {String} url The URL to be parsed
|
|
663
|
-
* @returns {Object}
|
|
664
|
-
*/function resolveURL(url){var href=url;if(msie){// IE needs attribute set twice to normalize properties
|
|
665
|
-
urlParsingNode.setAttribute('href',href);href=urlParsingNode.href;}urlParsingNode.setAttribute('href',href);// urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
|
|
666
|
-
return{href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,''):'',host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,''):'',hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,''):'',hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:urlParsingNode.pathname.charAt(0)==='/'?urlParsingNode.pathname:'/'+urlParsingNode.pathname};}originURL=resolveURL(window.location.href);/**
|
|
667
|
-
* Determine if a URL shares the same origin as the current location
|
|
668
|
-
*
|
|
669
|
-
* @param {String} requestURL The URL to test
|
|
670
|
-
* @returns {boolean} True if URL shares the same origin, otherwise false
|
|
671
|
-
*/return function isURLSameOrigin(requestURL){var parsed=utils$1.isString(requestURL)?resolveURL(requestURL):requestURL;return parsed.protocol===originURL.protocol&&parsed.host===originURL.host;};}():// Non standard browser envs (web workers, react-native) lack needed support.
|
|
672
|
-
function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true;};}();var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
657
|
+
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv?function(origin,isMSIE){return function(url){url=new URL(url,platform.origin);return origin.protocol===url.protocol&&origin.host===url.host&&(isMSIE||origin.port===url.port);};}(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):function(){return true;};var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
673
658
|
{write:function write(name,value,expires,path,domain,secure){var cookie=[name+'='+encodeURIComponent(value)];utils$1.isNumber(expires)&&cookie.push('expires='+new Date(expires).toGMTString());utils$1.isString(path)&&cookie.push('path='+path);utils$1.isString(domain)&&cookie.push('domain='+domain);secure===true&&cookie.push('secure');document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return match?decodeURIComponent(match[3]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000);}}:// Non-standard browser env (web workers, react-native) lack needed support.
|
|
674
659
|
{write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
|
|
675
660
|
* Determines whether the specified URL is absolute
|
|
@@ -705,11 +690,11 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
705
690
|
*
|
|
706
691
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
707
692
|
*/function mergeConfig(config1,config2){// eslint-disable-next-line no-param-reassign
|
|
708
|
-
config2=config2||{};var config={};function getMergedValue(target,source,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
709
|
-
function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
|
|
693
|
+
config2=config2||{};var config={};function getMergedValue(target,source,prop,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
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
|
|
710
695
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
711
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
|
|
712
|
-
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){return mergeDeepProperties(headersToObject(a),headersToObject(b),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),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
713
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
|
|
714
699
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
715
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
|
|
@@ -765,7 +750,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
765
750
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
766
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
|
|
767
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
|
|
768
|
-
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.7.
|
|
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.7.9";var validators$1={};// eslint-disable-next-line func-names
|
|
769
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={};/**
|
|
770
755
|
* Transitional option validator
|
|
771
756
|
*
|
|
@@ -776,7 +761,8 @@ if(reason&&reason.response){reason.response.data=transformData.call(config,confi
|
|
|
776
761
|
* @returns {function}
|
|
777
762
|
*/validators$1.transitional=function transitional(validator,version,message){function formatMessage(opt,desc){return'[Axios v'+VERSION+'] Transitional option \''+opt+'\''+desc+(message?'. '+message:'');}// eslint-disable-next-line func-names
|
|
778
763
|
return function(value,opt,opts){if(validator===false){throw new AxiosError(formatMessage(opt,' has been removed'+(version?' in '+version:'')),AxiosError.ERR_DEPRECATED);}if(version&&!deprecatedWarnings[opt]){deprecatedWarnings[opt]=true;// eslint-disable-next-line no-console
|
|
779
|
-
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};}
|
|
764
|
+
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};};validators$1.spelling=function spelling(correctSpelling){return function(value,opt){// eslint-disable-next-line no-console
|
|
765
|
+
console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpelling));return true;};};/**
|
|
780
766
|
* Assert object's properties type
|
|
781
767
|
*
|
|
782
768
|
* @param {object} options
|
|
@@ -797,11 +783,11 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
797
783
|
* @param {?Object} config
|
|
798
784
|
*
|
|
799
785
|
* @returns {Promise} The Promise to be fulfilled
|
|
800
|
-
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy
|
|
786
|
+
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){dummy={};Error.captureStackTrace?Error.captureStackTrace(dummy):dummy=new Error();// slice off the Error: ... line
|
|
801
787
|
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
|
|
802
788
|
}else if(stack&&!String(_context9.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context9.t0.stack+='\n'+stack;}}catch(e){// ignore the case where "stack" is an un-writable property
|
|
803
789
|
}}throw _context9.t0;case 10:case"end":return _context9.stop();}},_callee8,this,[[0,6]]);}));function request(_x9,_x10){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/// Allow for axios('example/url'[, config]) a la fetch API
|
|
804
|
-
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}
|
|
790
|
+
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
|
|
805
791
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
806
792
|
var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
|
|
807
793
|
var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
|
|
@@ -891,7 +877,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
891
877
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
892
878
|
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];}}}]);}();/**
|
|
893
879
|
* @module purecloud-platform-client-v2/ApiClient
|
|
894
|
-
* @version
|
|
880
|
+
* @version 209.0.0
|
|
895
881
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
896
882
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
897
883
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1213,7 +1199,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1213
1199
|
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(){/**
|
|
1214
1200
|
* AgentAssistants service.
|
|
1215
1201
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1216
|
-
* @version
|
|
1202
|
+
* @version 209.0.0
|
|
1217
1203
|
*//**
|
|
1218
1204
|
* Constructs a new AgentAssistantsApi.
|
|
1219
1205
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1314,7 +1300,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1314
1300
|
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(){/**
|
|
1315
1301
|
* AgentCopilot service.
|
|
1316
1302
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1317
|
-
* @version
|
|
1303
|
+
* @version 209.0.0
|
|
1318
1304
|
*//**
|
|
1319
1305
|
* Constructs a new AgentCopilotApi.
|
|
1320
1306
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1336,7 +1322,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1336
1322
|
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(){/**
|
|
1337
1323
|
* AgentUI service.
|
|
1338
1324
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1339
|
-
* @version
|
|
1325
|
+
* @version 209.0.0
|
|
1340
1326
|
*//**
|
|
1341
1327
|
* Constructs a new AgentUIApi.
|
|
1342
1328
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1370,7 +1356,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1370
1356
|
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(){/**
|
|
1371
1357
|
* Alerting service.
|
|
1372
1358
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1373
|
-
* @version
|
|
1359
|
+
* @version 209.0.0
|
|
1374
1360
|
*//**
|
|
1375
1361
|
* Constructs a new AlertingApi.
|
|
1376
1362
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1527,7 +1513,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1527
1513
|
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(){/**
|
|
1528
1514
|
* Analytics service.
|
|
1529
1515
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1530
|
-
* @version
|
|
1516
|
+
* @version 209.0.0
|
|
1531
1517
|
*//**
|
|
1532
1518
|
* Constructs a new AnalyticsApi.
|
|
1533
1519
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1574,7 +1560,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1574
1560
|
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1575
1561
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1576
1562
|
* Get Reporting Turns (division aware).
|
|
1577
|
-
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1563
|
+
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1578
1564
|
* @param {String} botFlowId ID of the bot flow.
|
|
1579
1565
|
* @param {Object} opts Optional parameters
|
|
1580
1566
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -1587,7 +1573,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1587
1573
|
*/},{key:"getAnalyticsBotflowDivisionsReportingturns",value:function getAnalyticsBotflowDivisionsReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
1588
1574
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowDivisionsReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/divisions/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1589
1575
|
* Get Reporting Turns.
|
|
1590
|
-
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1576
|
+
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1591
1577
|
* @param {String} botFlowId ID of the bot flow.
|
|
1592
1578
|
* @param {Object} opts Optional parameters
|
|
1593
1579
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -1601,7 +1587,7 @@ if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter
|
|
|
1601
1587
|
*/},{key:"getAnalyticsBotflowReportingturns",value:function getAnalyticsBotflowReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
1602
1588
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1603
1589
|
* Get Bot Flow Sessions.
|
|
1604
|
-
* Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1590
|
+
* Returns the bot flow sessions in reverse chronological order from the date they were created. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1605
1591
|
* @param {String} botFlowId ID of the bot flow.
|
|
1606
1592
|
* @param {Object} opts Optional parameters
|
|
1607
1593
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -2149,7 +2135,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2149
2135
|
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(){/**
|
|
2150
2136
|
* Architect service.
|
|
2151
2137
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2152
|
-
* @version
|
|
2138
|
+
* @version 209.0.0
|
|
2153
2139
|
*//**
|
|
2154
2140
|
* Constructs a new ArchitectApi.
|
|
2155
2141
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3241,7 +3227,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3241
3227
|
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(){/**
|
|
3242
3228
|
* Audit service.
|
|
3243
3229
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3244
|
-
* @version
|
|
3230
|
+
* @version 209.0.0
|
|
3245
3231
|
*//**
|
|
3246
3232
|
* Constructs a new AuditApi.
|
|
3247
3233
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3291,7 +3277,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3291
3277
|
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(){/**
|
|
3292
3278
|
* Authorization service.
|
|
3293
3279
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3294
|
-
* @version
|
|
3280
|
+
* @version 209.0.0
|
|
3295
3281
|
*//**
|
|
3296
3282
|
* Constructs a new AuthorizationApi.
|
|
3297
3283
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3614,7 +3600,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3614
3600
|
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(){/**
|
|
3615
3601
|
* Billing service.
|
|
3616
3602
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3617
|
-
* @version
|
|
3603
|
+
* @version 209.0.0
|
|
3618
3604
|
*//**
|
|
3619
3605
|
* Constructs a new BillingApi.
|
|
3620
3606
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3638,7 +3624,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3638
3624
|
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(){/**
|
|
3639
3625
|
* CarrierServices service.
|
|
3640
3626
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3641
|
-
* @version
|
|
3627
|
+
* @version 209.0.0
|
|
3642
3628
|
*//**
|
|
3643
3629
|
* Constructs a new CarrierServicesApi.
|
|
3644
3630
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3658,7 +3644,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3658
3644
|
*/},{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(){/**
|
|
3659
3645
|
* Chat service.
|
|
3660
3646
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3661
|
-
* @version
|
|
3647
|
+
* @version 209.0.0
|
|
3662
3648
|
*//**
|
|
3663
3649
|
* Constructs a new ChatApi.
|
|
3664
3650
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3883,7 +3869,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3883
3869
|
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(){/**
|
|
3884
3870
|
* Coaching service.
|
|
3885
3871
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3886
|
-
* @version
|
|
3872
|
+
* @version 209.0.0
|
|
3887
3873
|
*//**
|
|
3888
3874
|
* Constructs a new CoachingApi.
|
|
3889
3875
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4036,7 +4022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4036
4022
|
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(){/**
|
|
4037
4023
|
* ContentManagement service.
|
|
4038
4024
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4039
|
-
* @version
|
|
4025
|
+
* @version 209.0.0
|
|
4040
4026
|
*//**
|
|
4041
4027
|
* Constructs a new ContentManagementApi.
|
|
4042
4028
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4318,7 +4304,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4318
4304
|
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(){/**
|
|
4319
4305
|
* Conversations service.
|
|
4320
4306
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4321
|
-
* @version
|
|
4307
|
+
* @version 209.0.0
|
|
4322
4308
|
*//**
|
|
4323
4309
|
* Constructs a new ConversationsApi.
|
|
4324
4310
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4502,7 +4488,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
4502
4488
|
* Get the summaries of the conversation.
|
|
4503
4489
|
*
|
|
4504
4490
|
* @param {String} conversationId Conversation ID
|
|
4505
|
-
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4506
4491
|
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
4507
4492
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSummaries';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4508
4493
|
* Get active conversations for the logged in user
|
|
@@ -6047,7 +6032,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6047
6032
|
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(){/**
|
|
6048
6033
|
* DataExtensions service.
|
|
6049
6034
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6050
|
-
* @version
|
|
6035
|
+
* @version 209.0.0
|
|
6051
6036
|
*//**
|
|
6052
6037
|
* Constructs a new DataExtensionsApi.
|
|
6053
6038
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6068,7 +6053,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6068
6053
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6069
6054
|
* Downloads service.
|
|
6070
6055
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6071
|
-
* @version
|
|
6056
|
+
* @version 209.0.0
|
|
6072
6057
|
*//**
|
|
6073
6058
|
* Constructs a new DownloadsApi.
|
|
6074
6059
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6087,7 +6072,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6087
6072
|
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(){/**
|
|
6088
6073
|
* Emails service.
|
|
6089
6074
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6090
|
-
* @version
|
|
6075
|
+
* @version 209.0.0
|
|
6091
6076
|
*//**
|
|
6092
6077
|
* Constructs a new EmailsApi.
|
|
6093
6078
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6105,7 +6090,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6105
6090
|
*/},{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']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6106
6091
|
* EmployeeEngagement service.
|
|
6107
6092
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6108
|
-
* @version
|
|
6093
|
+
* @version 209.0.0
|
|
6109
6094
|
*//**
|
|
6110
6095
|
* Constructs a new EmployeeEngagementApi.
|
|
6111
6096
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6143,7 +6128,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6143
6128
|
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(){/**
|
|
6144
6129
|
* Events service.
|
|
6145
6130
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6146
|
-
* @version
|
|
6131
|
+
* @version 209.0.0
|
|
6147
6132
|
*//**
|
|
6148
6133
|
* Constructs a new EventsApi.
|
|
6149
6134
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6168,7 +6153,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6168
6153
|
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(){/**
|
|
6169
6154
|
* ExternalContacts service.
|
|
6170
6155
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6171
|
-
* @version
|
|
6156
|
+
* @version 209.0.0
|
|
6172
6157
|
*//**
|
|
6173
6158
|
* Constructs a new ExternalContactsApi.
|
|
6174
6159
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6196,7 +6181,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
6196
6181
|
* Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.
|
|
6197
6182
|
*
|
|
6198
6183
|
* @param {String} externalSourceId External Source ID
|
|
6199
|
-
* deleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6200
6184
|
*/},{key:"deleteExternalcontactsExternalsource",value:function deleteExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
|
|
6201
6185
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','DELETE',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6202
6186
|
* Delete settings for CSV import
|
|
@@ -6270,7 +6254,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
6270
6254
|
*
|
|
6271
6255
|
* @param {String} contactId ExternalContact ID
|
|
6272
6256
|
* @param {Object} opts Optional parameters
|
|
6273
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6257
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6274
6258
|
*/},{key:"getExternalcontactsContactUnresolved",value:function getExternalcontactsContactUnresolved(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
6275
6259
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/unresolved','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6276
6260
|
* Search for external contacts
|
|
@@ -6305,7 +6289,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
6305
6289
|
* Fetch an External Source
|
|
6306
6290
|
*
|
|
6307
6291
|
* @param {String} externalSourceId External Source ID
|
|
6308
|
-
* getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6309
6292
|
*/},{key:"getExternalcontactsExternalsource",value:function getExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
|
|
6310
6293
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','GET',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6311
6294
|
* Fetch a list of External Sources
|
|
@@ -6315,7 +6298,6 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
|
|
|
6315
6298
|
* @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
|
|
6316
6299
|
* @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
|
|
6317
6300
|
* @param {Boolean} opts.active Filter by active status of external source
|
|
6318
|
-
* getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6319
6301
|
*/},{key:"getExternalcontactsExternalsources",value:function getExternalcontactsExternalsources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','GET',{},{'cursor':opts['cursor'],'limit':opts['limit'],'name':opts['name'],'active':opts['active']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6320
6302
|
* Get settings for CSV import
|
|
6321
6303
|
*
|
|
@@ -6343,7 +6325,7 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
|
|
|
6343
6325
|
*
|
|
6344
6326
|
* @param {String} externalOrganizationId External Organization ID
|
|
6345
6327
|
* @param {Object} opts Optional parameters
|
|
6346
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6328
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6347
6329
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
6348
6330
|
*/},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
6349
6331
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -6573,7 +6555,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6573
6555
|
* Create an External Source
|
|
6574
6556
|
*
|
|
6575
6557
|
* @param {Object} body External Source
|
|
6576
|
-
* postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6577
6558
|
*/},{key:"postExternalcontactsExternalsources",value:function postExternalcontactsExternalsources(body){// verify the required parameter 'body' is set
|
|
6578
6559
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6579
6560
|
* Fetch a contact using an identifier type and value.
|
|
@@ -6659,7 +6640,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6659
6640
|
*
|
|
6660
6641
|
* @param {String} externalSourceId External Source ID
|
|
6661
6642
|
* @param {Object} body External Source
|
|
6662
|
-
* putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6663
6643
|
*/},{key:"putExternalcontactsExternalsource",value:function putExternalcontactsExternalsource(externalSourceId,body){// verify the required parameter 'externalSourceId' is set
|
|
6664
6644
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';}// verify the required parameter 'body' is set
|
|
6665
6645
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','PUT',{'externalSourceId':externalSourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -6709,7 +6689,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6709
6689
|
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(){/**
|
|
6710
6690
|
* Fax service.
|
|
6711
6691
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6712
|
-
* @version
|
|
6692
|
+
* @version 209.0.0
|
|
6713
6693
|
*//**
|
|
6714
6694
|
* Constructs a new FaxApi.
|
|
6715
6695
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6758,7 +6738,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6758
6738
|
*/},{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(){/**
|
|
6759
6739
|
* Flows service.
|
|
6760
6740
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6761
|
-
* @version
|
|
6741
|
+
* @version 209.0.0
|
|
6762
6742
|
*//**
|
|
6763
6743
|
* Constructs a new FlowsApi.
|
|
6764
6744
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6806,7 +6786,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6806
6786
|
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(){/**
|
|
6807
6787
|
* Gamification service.
|
|
6808
6788
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6809
|
-
* @version
|
|
6789
|
+
* @version 209.0.0
|
|
6810
6790
|
*//**
|
|
6811
6791
|
* Constructs a new GamificationApi.
|
|
6812
6792
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7346,7 +7326,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7346
7326
|
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(){/**
|
|
7347
7327
|
* GeneralDataProtectionRegulation service.
|
|
7348
7328
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7349
|
-
* @version
|
|
7329
|
+
* @version 209.0.0
|
|
7350
7330
|
*//**
|
|
7351
7331
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7352
7332
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7381,7 +7361,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7381
7361
|
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(){/**
|
|
7382
7362
|
* Geolocation service.
|
|
7383
7363
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7384
|
-
* @version
|
|
7364
|
+
* @version 209.0.0
|
|
7385
7365
|
*//**
|
|
7386
7366
|
* Constructs a new GeolocationApi.
|
|
7387
7367
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7415,7 +7395,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7415
7395
|
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(){/**
|
|
7416
7396
|
* Greetings service.
|
|
7417
7397
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7418
|
-
* @version
|
|
7398
|
+
* @version 209.0.0
|
|
7419
7399
|
*//**
|
|
7420
7400
|
* Constructs a new GreetingsApi.
|
|
7421
7401
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7522,7 +7502,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7522
7502
|
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(){/**
|
|
7523
7503
|
* Groups service.
|
|
7524
7504
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7525
|
-
* @version
|
|
7505
|
+
* @version 209.0.0
|
|
7526
7506
|
*//**
|
|
7527
7507
|
* Constructs a new GroupsApi.
|
|
7528
7508
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7655,7 +7635,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7655
7635
|
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(){/**
|
|
7656
7636
|
* IdentityProvider service.
|
|
7657
7637
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7658
|
-
* @version
|
|
7638
|
+
* @version 209.0.0
|
|
7659
7639
|
*//**
|
|
7660
7640
|
* Constructs a new IdentityProviderApi.
|
|
7661
7641
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7811,7 +7791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7811
7791
|
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(){/**
|
|
7812
7792
|
* InfrastructureAsCode service.
|
|
7813
7793
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7814
|
-
* @version
|
|
7794
|
+
* @version 209.0.0
|
|
7815
7795
|
*//**
|
|
7816
7796
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7817
7797
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7865,7 +7845,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7865
7845
|
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(){/**
|
|
7866
7846
|
* Integrations service.
|
|
7867
7847
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7868
|
-
* @version
|
|
7848
|
+
* @version 209.0.0
|
|
7869
7849
|
*//**
|
|
7870
7850
|
* Constructs a new IntegrationsApi.
|
|
7871
7851
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -7946,9 +7926,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
7946
7926
|
*
|
|
7947
7927
|
* @param {String} actionId actionId
|
|
7948
7928
|
* @param {String} fileName Name of schema file to be retrieved for this draft.
|
|
7949
|
-
|
|
7929
|
+
* @param {Object} opts Optional parameters
|
|
7930
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
7931
|
+
*/},{key:"getIntegrationsActionDraftSchema",value:function getIntegrationsActionDraftSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
7950
7932
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';}// verify the required parameter 'fileName' is set
|
|
7951
|
-
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7933
|
+
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7952
7934
|
* Retrieve templates for a Draft based on filename.
|
|
7953
7935
|
*
|
|
7954
7936
|
* @param {String} actionId actionId
|
|
@@ -7971,9 +7953,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
7971
7953
|
*
|
|
7972
7954
|
* @param {String} actionId actionId
|
|
7973
7955
|
* @param {String} fileName Name of schema file to be retrieved for this action.
|
|
7974
|
-
|
|
7956
|
+
* @param {Object} opts Optional parameters
|
|
7957
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
7958
|
+
*/},{key:"getIntegrationsActionSchema",value:function getIntegrationsActionSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
7975
7959
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';}// verify the required parameter 'fileName' is set
|
|
7976
|
-
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7960
|
+
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7977
7961
|
* Retrieve text of templates for an action based on filename.
|
|
7978
7962
|
*
|
|
7979
7963
|
* @param {String} actionId actionId
|
|
@@ -8382,23 +8366,29 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8382
8366
|
*
|
|
8383
8367
|
* @param {String} actionId actionId
|
|
8384
8368
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
8385
|
-
|
|
8369
|
+
* @param {Object} opts Optional parameters
|
|
8370
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
8371
|
+
*/},{key:"postIntegrationsActionDraftTest",value:function postIntegrationsActionDraftTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
8386
8372
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';}// verify the required parameter 'body' is set
|
|
8387
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8373
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8388
8374
|
* Execute Action and return response from 3rd party. Responses will follow the schemas defined on the Action for success and error.
|
|
8389
8375
|
*
|
|
8390
8376
|
* @param {String} actionId actionId
|
|
8391
8377
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
8392
|
-
|
|
8378
|
+
* @param {Object} opts Optional parameters
|
|
8379
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
8380
|
+
*/},{key:"postIntegrationsActionExecute",value:function postIntegrationsActionExecute(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
8393
8381
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';}// verify the required parameter 'body' is set
|
|
8394
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8382
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8395
8383
|
* Test the execution of an action. Responses will show execution steps broken out with intermediate results to help in debugging.
|
|
8396
8384
|
*
|
|
8397
8385
|
* @param {String} actionId actionId
|
|
8398
8386
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
8399
|
-
|
|
8387
|
+
* @param {Object} opts Optional parameters
|
|
8388
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
8389
|
+
*/},{key:"postIntegrationsActionTest",value:function postIntegrationsActionTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
8400
8390
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';}// verify the required parameter 'body' is set
|
|
8401
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8391
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8402
8392
|
* Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
|
|
8403
8393
|
*
|
|
8404
8394
|
* @param {Object} body Input used to create Action.
|
|
@@ -8490,7 +8480,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8490
8480
|
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(){/**
|
|
8491
8481
|
* Journey service.
|
|
8492
8482
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8493
|
-
* @version
|
|
8483
|
+
* @version 209.0.0
|
|
8494
8484
|
*//**
|
|
8495
8485
|
* Constructs a new JourneyApi.
|
|
8496
8486
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8530,6 +8520,11 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
|
|
|
8530
8520
|
* @param {String} viewId viewId
|
|
8531
8521
|
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8532
8522
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8523
|
+
* Delete the Schedule of a JourneyView
|
|
8524
|
+
* used for long descriptions
|
|
8525
|
+
* @param {String} viewId Journey View Id
|
|
8526
|
+
*/},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
8527
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8533
8528
|
* Get status for async query for journey aggregates
|
|
8534
8529
|
*
|
|
8535
8530
|
* @param {String} jobId jobId
|
|
@@ -8695,6 +8690,11 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
8695
8690
|
* @param {String} viewId viewId
|
|
8696
8691
|
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8697
8692
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8693
|
+
* Get the Schedule for a JourneyView
|
|
8694
|
+
* used for long descriptions
|
|
8695
|
+
* @param {String} viewId Journey View Id
|
|
8696
|
+
*/},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
8697
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8698
8698
|
* Get a Journey View by ID and version
|
|
8699
8699
|
*
|
|
8700
8700
|
* @param {String} viewId viewId
|
|
@@ -8783,6 +8783,12 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
8783
8783
|
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
8784
8784
|
* @param {String} opts.statuses Job statuses to filter for
|
|
8785
8785
|
*/},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8786
|
+
* Get the journey schedules for an organization.
|
|
8787
|
+
*
|
|
8788
|
+
* @param {Object} opts Optional parameters
|
|
8789
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
8790
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
8791
|
+
*/},{key:"getJourneyViewsSchedules",value:function getJourneyViewsSchedules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/schedules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8786
8792
|
* Update single action map.
|
|
8787
8793
|
*
|
|
8788
8794
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -8902,6 +8908,13 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8902
8908
|
* @param {Object} opts Optional parameters
|
|
8903
8909
|
* @param {Object} opts.body
|
|
8904
8910
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8911
|
+
* Add a new Schedule to a JourneyView
|
|
8912
|
+
*
|
|
8913
|
+
* @param {String} viewId Journey View Id
|
|
8914
|
+
* @param {Object} body journeyViewSchedule
|
|
8915
|
+
*/},{key:"postJourneyViewSchedules",value:function postJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
8916
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
8917
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8905
8918
|
* Submit a job request for a journey view version.
|
|
8906
8919
|
* used for long descriptions
|
|
8907
8920
|
* @param {String} viewId Journey View Id
|
|
@@ -8926,6 +8939,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8926
8939
|
* @param {Object} opts Optional parameters
|
|
8927
8940
|
* @param {Array.<Object>} opts.body
|
|
8928
8941
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8942
|
+
* Update the Schedule for a JourneyView
|
|
8943
|
+
* used for long descriptions
|
|
8944
|
+
* @param {String} viewId Journey View Id
|
|
8945
|
+
* @param {Object} body journeyViewSchedule
|
|
8946
|
+
*/},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
8947
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling putJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
8948
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','PUT',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8929
8949
|
* Update a Journey View by ID and version
|
|
8930
8950
|
* does not create a new version
|
|
8931
8951
|
* @param {String} viewId viewId
|
|
@@ -8937,7 +8957,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
8937
8957
|
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(){/**
|
|
8938
8958
|
* Knowledge service.
|
|
8939
8959
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8940
|
-
* @version
|
|
8960
|
+
* @version 209.0.0
|
|
8941
8961
|
*//**
|
|
8942
8962
|
* Constructs a new KnowledgeApi.
|
|
8943
8963
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9078,8 +9098,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
9078
9098
|
* Get sync options available for a knowledge-connect integration
|
|
9079
9099
|
*
|
|
9080
9100
|
* @param {String} integrationId Integration ID
|
|
9081
|
-
|
|
9082
|
-
|
|
9101
|
+
* @param {Object} opts Optional parameters
|
|
9102
|
+
* @param {Array.<String>} opts.knowledgeBaseIds Narrowing down filtering option results by knowledge base.
|
|
9103
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9104
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';}return this.apiClient.callApi('/api/v2/knowledge/integrations/{integrationId}/options','GET',{'integrationId':integrationId},{'knowledgeBaseIds':this.apiClient.buildCollectionParam(opts['knowledgeBaseIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9083
9105
|
* Get knowledge base
|
|
9084
9106
|
*
|
|
9085
9107
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9152,10 +9174,11 @@ if(feedbackId===undefined||feedbackId===null){throw'Missing the required paramet
|
|
|
9152
9174
|
* @param {String} knowledgeBaseId Globally unique identifier for a knowledge base.
|
|
9153
9175
|
* @param {Object} opts Optional parameters
|
|
9154
9176
|
* @param {Object} opts.documentState The state of the document.
|
|
9177
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
9155
9178
|
*/},{key:"getKnowledgeKnowledgebaseDocumentVariation",value:function getKnowledgeKnowledgebaseDocumentVariation(documentVariationId,documentId,knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'documentVariationId' is set
|
|
9156
9179
|
if(documentVariationId===undefined||documentVariationId===null){throw'Missing the required parameter "documentVariationId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'documentId' is set
|
|
9157
9180
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'knowledgeBaseId' is set
|
|
9158
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9181
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9159
9182
|
* Get variations for a document.
|
|
9160
9183
|
*
|
|
9161
9184
|
* @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
|
|
@@ -9165,9 +9188,10 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
9165
9188
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
9166
9189
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
9167
9190
|
* @param {Object} opts.documentState The state of the document.
|
|
9191
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
9168
9192
|
*/},{key:"getKnowledgeKnowledgebaseDocumentVariations",value:function getKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9169
9193
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariations';}// verify the required parameter 'documentId' is set
|
|
9170
|
-
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9194
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9171
9195
|
* Get document version.
|
|
9172
9196
|
*
|
|
9173
9197
|
* @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
|
|
@@ -10003,7 +10027,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10003
10027
|
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(){/**
|
|
10004
10028
|
* LanguageUnderstanding service.
|
|
10005
10029
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10006
|
-
* @version
|
|
10030
|
+
* @version 209.0.0
|
|
10007
10031
|
*//**
|
|
10008
10032
|
* Constructs a new LanguageUnderstandingApi.
|
|
10009
10033
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10263,7 +10287,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10263
10287
|
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(){/**
|
|
10264
10288
|
* Languages service.
|
|
10265
10289
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10266
|
-
* @version
|
|
10290
|
+
* @version 209.0.0
|
|
10267
10291
|
*//**
|
|
10268
10292
|
* Constructs a new LanguagesApi.
|
|
10269
10293
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10318,7 +10342,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10318
10342
|
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(){/**
|
|
10319
10343
|
* Learning service.
|
|
10320
10344
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10321
|
-
* @version
|
|
10345
|
+
* @version 209.0.0
|
|
10322
10346
|
*//**
|
|
10323
10347
|
* Constructs a new LearningApi.
|
|
10324
10348
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10589,7 +10613,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10589
10613
|
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(){/**
|
|
10590
10614
|
* License service.
|
|
10591
10615
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10592
|
-
* @version
|
|
10616
|
+
* @version 209.0.0
|
|
10593
10617
|
*//**
|
|
10594
10618
|
* Constructs a new LicenseApi.
|
|
10595
10619
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10643,7 +10667,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10643
10667
|
*/},{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(){/**
|
|
10644
10668
|
* Locations service.
|
|
10645
10669
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10646
|
-
* @version
|
|
10670
|
+
* @version 209.0.0
|
|
10647
10671
|
*//**
|
|
10648
10672
|
* Constructs a new LocationsApi.
|
|
10649
10673
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10702,7 +10726,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10702
10726
|
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(){/**
|
|
10703
10727
|
* LogCapture service.
|
|
10704
10728
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10705
|
-
* @version
|
|
10729
|
+
* @version 209.0.0
|
|
10706
10730
|
*//**
|
|
10707
10731
|
* Constructs a new LogCaptureApi.
|
|
10708
10732
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10752,7 +10776,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10752
10776
|
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(){/**
|
|
10753
10777
|
* Messaging service.
|
|
10754
10778
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10755
|
-
* @version
|
|
10779
|
+
* @version 209.0.0
|
|
10756
10780
|
*//**
|
|
10757
10781
|
* Constructs a new MessagingApi.
|
|
10758
10782
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10842,7 +10866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10842
10866
|
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(){/**
|
|
10843
10867
|
* MobileDevices service.
|
|
10844
10868
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10845
|
-
* @version
|
|
10869
|
+
* @version 209.0.0
|
|
10846
10870
|
*//**
|
|
10847
10871
|
* Constructs a new MobileDevicesApi.
|
|
10848
10872
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10881,7 +10905,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10881
10905
|
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(){/**
|
|
10882
10906
|
* Notifications service.
|
|
10883
10907
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10884
|
-
* @version
|
|
10908
|
+
* @version 209.0.0
|
|
10885
10909
|
*//**
|
|
10886
10910
|
* Constructs a new NotificationsApi.
|
|
10887
10911
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10938,7 +10962,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10938
10962
|
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(){/**
|
|
10939
10963
|
* OAuth service.
|
|
10940
10964
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10941
|
-
* @version
|
|
10965
|
+
* @version 209.0.0
|
|
10942
10966
|
*//**
|
|
10943
10967
|
* Constructs a new OAuthApi.
|
|
10944
10968
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11023,7 +11047,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11023
11047
|
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(){/**
|
|
11024
11048
|
* Objects service.
|
|
11025
11049
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11026
|
-
* @version
|
|
11050
|
+
* @version 209.0.0
|
|
11027
11051
|
*//**
|
|
11028
11052
|
* Constructs a new ObjectsApi.
|
|
11029
11053
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11094,7 +11118,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11094
11118
|
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(){/**
|
|
11095
11119
|
* OperationalEvents service.
|
|
11096
11120
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11097
|
-
* @version
|
|
11121
|
+
* @version 209.0.0
|
|
11098
11122
|
*//**
|
|
11099
11123
|
* Constructs a new OperationalEventsApi.
|
|
11100
11124
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11109,10 +11133,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11109
11133
|
if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';}return this.apiClient.callApi('/api/v2/usage/events/definitions/{eventDefinitionId}','GET',{'eventDefinitionId':eventDefinitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11110
11134
|
* Get all operational event definitions
|
|
11111
11135
|
*
|
|
11112
|
-
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
11136
|
+
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11137
|
+
* Get aggregates for operational events in a timeframe.
|
|
11138
|
+
*
|
|
11139
|
+
* @param {Object} opts Optional parameters
|
|
11140
|
+
* @param {Object} opts.body
|
|
11141
|
+
*/},{key:"postUsageEventsAggregatesQuery",value:function postUsageEventsAggregatesQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/aggregates/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11142
|
+
* Query operational events in a timeframe.
|
|
11143
|
+
*
|
|
11144
|
+
* @param {Object} opts Optional parameters
|
|
11145
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
11146
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11147
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
11148
|
+
* @param {Object} opts.body
|
|
11149
|
+
*/},{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(){/**
|
|
11113
11150
|
* Organization service.
|
|
11114
11151
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11115
|
-
* @version
|
|
11152
|
+
* @version 209.0.0
|
|
11116
11153
|
*//**
|
|
11117
11154
|
* Constructs a new OrganizationApi.
|
|
11118
11155
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11237,7 +11274,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11237
11274
|
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(){/**
|
|
11238
11275
|
* OrganizationAuthorization service.
|
|
11239
11276
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11240
|
-
* @version
|
|
11277
|
+
* @version 209.0.0
|
|
11241
11278
|
*//**
|
|
11242
11279
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11243
11280
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11571,7 +11608,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11571
11608
|
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(){/**
|
|
11572
11609
|
* Outbound service.
|
|
11573
11610
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11574
|
-
* @version
|
|
11611
|
+
* @version 209.0.0
|
|
11575
11612
|
*//**
|
|
11576
11613
|
* Constructs a new OutboundApi.
|
|
11577
11614
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12678,7 +12715,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12678
12715
|
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(){/**
|
|
12679
12716
|
* Presence service.
|
|
12680
12717
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12681
|
-
* @version
|
|
12718
|
+
* @version 209.0.0
|
|
12682
12719
|
*//**
|
|
12683
12720
|
* Constructs a new PresenceApi.
|
|
12684
12721
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12851,7 +12888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12851
12888
|
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(){/**
|
|
12852
12889
|
* ProcessAutomation service.
|
|
12853
12890
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12854
|
-
* @version
|
|
12891
|
+
* @version 209.0.0
|
|
12855
12892
|
*//**
|
|
12856
12893
|
* Constructs a new ProcessAutomationApi.
|
|
12857
12894
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12914,7 +12951,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12914
12951
|
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(){/**
|
|
12915
12952
|
* Quality service.
|
|
12916
12953
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12917
|
-
* @version
|
|
12954
|
+
* @version 209.0.0
|
|
12918
12955
|
*//**
|
|
12919
12956
|
* Constructs a new QualityApi.
|
|
12920
12957
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12999,7 +13036,8 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12999
13036
|
* @param {String} opts.group group id
|
|
13000
13037
|
* @param {String} opts.agentTeamId team id of agents requested
|
|
13001
13038
|
* @param {String} opts.formContextId shared id between form versions
|
|
13002
|
-
|
|
13039
|
+
* @param {Object} opts.userState 'Legacy' fetches active and inactive users when evaluatorUserId or no user filters are supplied; otherwise fetches active users. 'Any' fetches users of 'active', 'inactive' and 'deleted' states. (default to Legacy)
|
|
13040
|
+
*/},{key:"getQualityAgentsActivity",value:function getQualityAgentsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/agents/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'agentUserId':this.apiClient.buildCollectionParam(opts['agentUserId'],'multi'),'evaluatorUserId':opts['evaluatorUserId'],'name':opts['name'],'group':opts['group'],'agentTeamId':opts['agentTeamId'],'formContextId':opts['formContextId'],'userState':opts['userState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13003
13041
|
* Get a calibration by id. Requires either calibrator id or conversation id
|
|
13004
13042
|
*
|
|
13005
13043
|
* @param {String} calibrationId Calibration ID
|
|
@@ -13073,7 +13111,8 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
13073
13111
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
13074
13112
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
13075
13113
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
13076
|
-
|
|
13114
|
+
* @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
|
|
13115
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder'],'includeDeletedUsers':opts['includeDeletedUsers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13077
13116
|
* Get an evaluator activity
|
|
13078
13117
|
*
|
|
13079
13118
|
* @param {Object} opts Optional parameters
|
|
@@ -13391,7 +13430,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13391
13430
|
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(){/**
|
|
13392
13431
|
* Recording service.
|
|
13393
13432
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13394
|
-
* @version
|
|
13433
|
+
* @version 209.0.0
|
|
13395
13434
|
*//**
|
|
13396
13435
|
* Constructs a new RecordingApi.
|
|
13397
13436
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13803,7 +13842,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13803
13842
|
*/},{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(){/**
|
|
13804
13843
|
* ResponseManagement service.
|
|
13805
13844
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13806
|
-
* @version
|
|
13845
|
+
* @version 209.0.0
|
|
13807
13846
|
*//**
|
|
13808
13847
|
* Constructs a new ResponseManagementApi.
|
|
13809
13848
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13924,7 +13963,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13924
13963
|
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(){/**
|
|
13925
13964
|
* Routing service.
|
|
13926
13965
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13927
|
-
* @version
|
|
13966
|
+
* @version 209.0.0
|
|
13928
13967
|
*//**
|
|
13929
13968
|
* Constructs a new RoutingApi.
|
|
13930
13969
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14016,9 +14055,9 @@ if(skillGroupId===undefined||skillGroupId===null){throw'Missing the required par
|
|
|
14016
14055
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';}return this.apiClient.callApi('/api/v2/routing/sms/addresses/{addressId}','DELETE',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14017
14056
|
* Delete a phone number provisioned for SMS.
|
|
14018
14057
|
*
|
|
14019
|
-
* @param {String}
|
|
14020
|
-
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(
|
|
14021
|
-
if(
|
|
14058
|
+
* @param {String} phoneNumberId phone number
|
|
14059
|
+
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(phoneNumberId){// verify the required parameter 'phoneNumberId' is set
|
|
14060
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','DELETE',{'phoneNumberId':phoneNumberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14022
14061
|
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
14023
14062
|
*
|
|
14024
14063
|
* @param {String} userId User ID
|
|
@@ -14052,14 +14091,14 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
14052
14091
|
* @param {String} codeId Wrapup Code ID
|
|
14053
14092
|
*/},{key:"deleteRoutingWrapupcode",value:function deleteRoutingWrapupcode(codeId){// verify the required parameter 'codeId' is set
|
|
14054
14093
|
if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','DELETE',{'codeId':codeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14055
|
-
* Remove routing language from user
|
|
14094
|
+
* Remove a routing language from a user
|
|
14056
14095
|
*
|
|
14057
14096
|
* @param {String} userId User ID
|
|
14058
14097
|
* @param {String} languageId languageId
|
|
14059
14098
|
*/},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
|
|
14060
14099
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
14061
14100
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14062
|
-
* Remove routing skill from user
|
|
14101
|
+
* Remove a routing skill from a user
|
|
14063
14102
|
*
|
|
14064
14103
|
* @param {String} userId User ID
|
|
14065
14104
|
* @param {String} skillId skillId
|
|
@@ -14241,10 +14280,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
14241
14280
|
* Get Estimated Wait Time
|
|
14242
14281
|
*
|
|
14243
14282
|
* @param {String} queueId queueId
|
|
14244
|
-
* @param {
|
|
14245
|
-
|
|
14283
|
+
* @param {Object} mediaType mediaType
|
|
14284
|
+
* @param {Object} opts Optional parameters
|
|
14285
|
+
* @param {String} opts.labelId Unique id that represents the interaction label used with media type for EWT calculation
|
|
14286
|
+
*/},{key:"getRoutingQueueMediatypeEstimatedwaittime",value:function getRoutingQueueMediatypeEstimatedwaittime(queueId,mediaType,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
14246
14287
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';}// verify the required parameter 'mediaType' is set
|
|
14247
|
-
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14288
|
+
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{'labelId':opts['labelId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14248
14289
|
* Get the members of this queue.
|
|
14249
14290
|
*
|
|
14250
14291
|
* @param {String} queueId Queue ID
|
|
@@ -14406,11 +14447,11 @@ if(countryCode===undefined||countryCode===null){throw'Missing the required param
|
|
|
14406
14447
|
if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/availablephonenumbers','GET',{},{'countryCode':countryCode,'region':opts['region'],'city':opts['city'],'areaCode':opts['areaCode'],'phoneNumberType':phoneNumberType,'pattern':opts['pattern'],'addressRequirement':opts['addressRequirement']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14407
14448
|
* Get a phone number provisioned for SMS.
|
|
14408
14449
|
*
|
|
14409
|
-
* @param {String}
|
|
14450
|
+
* @param {String} phoneNumberId phone number
|
|
14410
14451
|
* @param {Object} opts Optional parameters
|
|
14411
14452
|
* @param {Object} opts.expand Expand response with additional information
|
|
14412
|
-
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(
|
|
14413
|
-
if(
|
|
14453
|
+
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
14454
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14414
14455
|
* Get a list of provisioned phone numbers.
|
|
14415
14456
|
*
|
|
14416
14457
|
* @param {Object} opts Optional parameters
|
|
@@ -14519,7 +14560,7 @@ if(codeId===undefined||codeId===null){throw'Missing the required parameter "code
|
|
|
14519
14560
|
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
14520
14561
|
*/},{key:"getUserQueues",value:function getUserQueues(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
14521
14562
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'joined':opts['joined'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14522
|
-
* List routing
|
|
14563
|
+
* List routing languages assigned to a user
|
|
14523
14564
|
*
|
|
14524
14565
|
* @param {String} userId User ID
|
|
14525
14566
|
* @param {Object} opts Optional parameters
|
|
@@ -14528,7 +14569,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14528
14569
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
14529
14570
|
*/},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
14530
14571
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14531
|
-
* List routing skills
|
|
14572
|
+
* List routing skills assigned to a user
|
|
14532
14573
|
*
|
|
14533
14574
|
* @param {String} userId User ID
|
|
14534
14575
|
* @param {Object} opts Optional parameters
|
|
@@ -14643,7 +14684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14643
14684
|
*/},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
14644
14685
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
|
|
14645
14686
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14646
|
-
* Update routing language proficiency
|
|
14687
|
+
* Update an assigned routing language's proficiency
|
|
14647
14688
|
*
|
|
14648
14689
|
* @param {String} userId User ID
|
|
14649
14690
|
* @param {String} languageId languageId
|
|
@@ -14652,14 +14693,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14652
14693
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
14653
14694
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
|
|
14654
14695
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14655
|
-
*
|
|
14696
|
+
* Assign multiple routing languages to a user. Max 50 routing languages in request body
|
|
14656
14697
|
*
|
|
14657
14698
|
* @param {String} userId User ID
|
|
14658
14699
|
* @param {Array.<Object>} body Language
|
|
14659
14700
|
*/},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
|
|
14660
14701
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
|
|
14661
14702
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14662
|
-
*
|
|
14703
|
+
* Assign multiple routing skills to a user
|
|
14663
14704
|
*
|
|
14664
14705
|
* @param {String} userId User ID
|
|
14665
14706
|
* @param {Array.<Object>} body Skill
|
|
@@ -14813,14 +14854,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14813
14854
|
* @param {Object} body WrapupCode
|
|
14814
14855
|
*/},{key:"postRoutingWrapupcodes",value:function postRoutingWrapupcodes(body){// verify the required parameter 'body' is set
|
|
14815
14856
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14816
|
-
*
|
|
14857
|
+
* Assign a routing language to a user
|
|
14817
14858
|
*
|
|
14818
14859
|
* @param {String} userId User ID
|
|
14819
14860
|
* @param {Object} body Language
|
|
14820
14861
|
*/},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
|
|
14821
14862
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
|
|
14822
14863
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14823
|
-
*
|
|
14864
|
+
* Assign a routing skill to a user
|
|
14824
14865
|
*
|
|
14825
14866
|
* @param {String} userId User ID
|
|
14826
14867
|
* @param {Object} body Skill
|
|
@@ -14872,11 +14913,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14872
14913
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14873
14914
|
* Update a phone number provisioned for SMS.
|
|
14874
14915
|
*
|
|
14875
|
-
* @param {String}
|
|
14916
|
+
* @param {String} phoneNumberId phone number
|
|
14876
14917
|
* @param {Object} body SmsPhoneNumber
|
|
14877
|
-
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(
|
|
14878
|
-
if(
|
|
14879
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{
|
|
14918
|
+
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
14919
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
14920
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','PUT',{'phoneNumberId':phoneNumberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14880
14921
|
* Update the user's Direct Routing Backup settings.
|
|
14881
14922
|
*
|
|
14882
14923
|
* @param {String} userId User ID
|
|
@@ -14910,7 +14951,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14910
14951
|
*/},{key:"putRoutingWrapupcode",value:function putRoutingWrapupcode(codeId,body){// verify the required parameter 'codeId' is set
|
|
14911
14952
|
if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling putRoutingWrapupcode';}// verify the required parameter 'body' is set
|
|
14912
14953
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','PUT',{'codeId':codeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14913
|
-
* Update routing skill proficiency
|
|
14954
|
+
* Update an assigned routing skill's proficiency
|
|
14914
14955
|
*
|
|
14915
14956
|
* @param {String} userId User ID
|
|
14916
14957
|
* @param {String} skillId skillId
|
|
@@ -14919,7 +14960,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14919
14960
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
|
|
14920
14961
|
if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
|
|
14921
14962
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14922
|
-
*
|
|
14963
|
+
* Assign multiple routing skills to a user, replacing any current assignments
|
|
14923
14964
|
*
|
|
14924
14965
|
* @param {String} userId User ID
|
|
14925
14966
|
* @param {Array.<Object>} body Skill
|
|
@@ -14928,7 +14969,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14928
14969
|
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(){/**
|
|
14929
14970
|
* SCIM service.
|
|
14930
14971
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14931
|
-
* @version
|
|
14972
|
+
* @version 209.0.0
|
|
14932
14973
|
*//**
|
|
14933
14974
|
* Constructs a new SCIMApi.
|
|
14934
14975
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15153,7 +15194,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15153
15194
|
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(){/**
|
|
15154
15195
|
* ScreenRecording service.
|
|
15155
15196
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15156
|
-
* @version
|
|
15197
|
+
* @version 209.0.0
|
|
15157
15198
|
*//**
|
|
15158
15199
|
* Constructs a new ScreenRecordingApi.
|
|
15159
15200
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15168,7 +15209,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15168
15209
|
*/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(){/**
|
|
15169
15210
|
* Scripts service.
|
|
15170
15211
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15171
|
-
* @version
|
|
15212
|
+
* @version 209.0.0
|
|
15172
15213
|
*//**
|
|
15173
15214
|
* Constructs a new ScriptsApi.
|
|
15174
15215
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15304,7 +15345,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15304
15345
|
*/},{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(){/**
|
|
15305
15346
|
* Search service.
|
|
15306
15347
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15307
|
-
* @version
|
|
15348
|
+
* @version 209.0.0
|
|
15308
15349
|
*//**
|
|
15309
15350
|
* Constructs a new SearchApi.
|
|
15310
15351
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15352,6 +15393,13 @@ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when
|
|
|
15352
15393
|
* @param {Boolean} opts.profile profile (default to true)
|
|
15353
15394
|
*/},{key:"getSearchSuggest",value:function getSearchSuggest(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
15354
15395
|
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'profile':opts['profile']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15396
|
+
* Search sites using the q64 value returned from a previous search
|
|
15397
|
+
*
|
|
15398
|
+
* @param {String} q64 q64
|
|
15399
|
+
* @param {Object} opts Optional parameters
|
|
15400
|
+
* @param {Array.<String>} opts.expand expand
|
|
15401
|
+
*/},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
15402
|
+
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15355
15403
|
* Search users using the q64 value returned from a previous search
|
|
15356
15404
|
*
|
|
15357
15405
|
* @param {String} q64 q64
|
|
@@ -15435,6 +15483,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15435
15483
|
* @param {Object} body Search request options
|
|
15436
15484
|
*/},{key:"postTeamsSearch",value:function postTeamsSearch(body){// verify the required parameter 'body' is set
|
|
15437
15485
|
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']);}/**
|
|
15486
|
+
* Search sites
|
|
15487
|
+
*
|
|
15488
|
+
* @param {Object} body Search request options
|
|
15489
|
+
*/},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
|
|
15490
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15438
15491
|
* Search users
|
|
15439
15492
|
*
|
|
15440
15493
|
* @param {Object} body Search request options
|
|
@@ -15464,7 +15517,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15464
15517
|
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(){/**
|
|
15465
15518
|
* Settings service.
|
|
15466
15519
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15467
|
-
* @version
|
|
15520
|
+
* @version 209.0.0
|
|
15468
15521
|
*//**
|
|
15469
15522
|
* Constructs a new SettingsApi.
|
|
15470
15523
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15511,10 +15564,275 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15511
15564
|
* @param {Object} body AutoAnswerSettings
|
|
15512
15565
|
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
15513
15566
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
15514
|
-
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
|
|
15567
|
+
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(){/**
|
|
15568
|
+
* SocialMedia service.
|
|
15569
|
+
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15570
|
+
* @version 209.0.0
|
|
15571
|
+
*//**
|
|
15572
|
+
* Constructs a new SocialMediaApi.
|
|
15573
|
+
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
15574
|
+
* @class
|
|
15575
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
15576
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
15577
|
+
*/function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
15578
|
+
* Delete a social topic.
|
|
15579
|
+
*
|
|
15580
|
+
* @param {String} topicId topicId
|
|
15581
|
+
* @param {Object} opts Optional parameters
|
|
15582
|
+
* @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.
|
|
15583
|
+
* deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15584
|
+
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15585
|
+
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']);}/**
|
|
15586
|
+
* Delete a Facebook data ingestion rule.
|
|
15587
|
+
*
|
|
15588
|
+
* @param {String} topicId topicId
|
|
15589
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15590
|
+
* @param {Object} opts Optional parameters
|
|
15591
|
+
* @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)
|
|
15592
|
+
* deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15593
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15594
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15595
|
+
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']);}/**
|
|
15596
|
+
* Delete a open data ingestion rule.
|
|
15597
|
+
*
|
|
15598
|
+
* @param {String} topicId topicId
|
|
15599
|
+
* @param {String} openId openId
|
|
15600
|
+
* @param {Object} opts Optional parameters
|
|
15601
|
+
* @param {Boolean} opts.hardDelete Determines whether a open 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)
|
|
15602
|
+
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15603
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesOpenOpenId",value:function deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15604
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15605
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','DELETE',{'topicId':topicId,'openId':openId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15606
|
+
* Delete a X (formally Twitter) data ingestion rule.
|
|
15607
|
+
*
|
|
15608
|
+
* @param {String} topicId topicId
|
|
15609
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15610
|
+
* @param {Object} opts Optional parameters
|
|
15611
|
+
* @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)
|
|
15612
|
+
* deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15613
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15614
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15615
|
+
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']);}/**
|
|
15616
|
+
* Get a single social topic.
|
|
15617
|
+
*
|
|
15618
|
+
* @param {String} topicId topicId
|
|
15619
|
+
* @param {Object} opts Optional parameters
|
|
15620
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15621
|
+
* getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15622
|
+
*/},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15623
|
+
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']);}/**
|
|
15624
|
+
* Get a single Facebook data ingestion rule.
|
|
15625
|
+
*
|
|
15626
|
+
* @param {String} topicId topicId
|
|
15627
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15628
|
+
* @param {Object} opts Optional parameters
|
|
15629
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15630
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15631
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15632
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15633
|
+
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']);}/**
|
|
15634
|
+
* Get a single Facebook data ingestion rule version.
|
|
15635
|
+
*
|
|
15636
|
+
* @param {String} topicId topicId
|
|
15637
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15638
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15639
|
+
* @param {Object} opts Optional parameters
|
|
15640
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15641
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15642
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15643
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15644
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15645
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15646
|
+
* Get the Facebook data ingestion rule versions.
|
|
15647
|
+
*
|
|
15648
|
+
* @param {String} topicId topicId
|
|
15649
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15650
|
+
* @param {Object} opts Optional parameters
|
|
15651
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15652
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15653
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15654
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15655
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15656
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15657
|
+
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']);}/**
|
|
15658
|
+
* Get a single open data ingestion rule.
|
|
15659
|
+
*
|
|
15660
|
+
* @param {String} topicId topicId
|
|
15661
|
+
* @param {String} openId openId
|
|
15662
|
+
* @param {Object} opts Optional parameters
|
|
15663
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15664
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15665
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenId",value:function getSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15666
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15667
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','GET',{'topicId':topicId,'openId':openId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15668
|
+
* Get a single Open data ingestion rule version.
|
|
15669
|
+
*
|
|
15670
|
+
* @param {String} topicId topicId
|
|
15671
|
+
* @param {String} openId openId
|
|
15672
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15673
|
+
* @param {Object} opts Optional parameters
|
|
15674
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15675
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15676
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersion",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId,openId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15677
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'openId' is set
|
|
15678
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15679
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'openId':openId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15680
|
+
* Get the Open data ingestion rule versions.
|
|
15681
|
+
*
|
|
15682
|
+
* @param {String} topicId topicId
|
|
15683
|
+
* @param {String} openId openId
|
|
15684
|
+
* @param {Object} opts Optional parameters
|
|
15685
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15686
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15687
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15688
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15689
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersions",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15690
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}// verify the required parameter 'openId' is set
|
|
15691
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions','GET',{'topicId':topicId,'openId':openId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15692
|
+
* Get a single X (formally Twitter) data ingestion rule.
|
|
15693
|
+
*
|
|
15694
|
+
* @param {String} topicId topicId
|
|
15695
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15696
|
+
* @param {Object} opts Optional parameters
|
|
15697
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15698
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15699
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15700
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15701
|
+
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']);}/**
|
|
15702
|
+
* Get a single X (formally Twitter) data ingestion rule version.
|
|
15703
|
+
*
|
|
15704
|
+
* @param {String} topicId topicId
|
|
15705
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15706
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15707
|
+
* @param {Object} opts Optional parameters
|
|
15708
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15709
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15710
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15711
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15712
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15713
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15714
|
+
* Get the Open data ingestion rule versions.
|
|
15715
|
+
*
|
|
15716
|
+
* @param {String} topicId topicId
|
|
15717
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15718
|
+
* @param {Object} opts Optional parameters
|
|
15719
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15720
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15721
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15722
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15723
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15724
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15725
|
+
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']);}/**
|
|
15726
|
+
* Retrieve all social topics.
|
|
15727
|
+
*
|
|
15728
|
+
* @param {Object} opts Optional parameters
|
|
15729
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15730
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15731
|
+
* @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.
|
|
15732
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15733
|
+
* getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15734
|
+
*/},{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']);}/**
|
|
15735
|
+
* Update a social topic.
|
|
15736
|
+
*
|
|
15737
|
+
* @param {String} topicId topicId
|
|
15738
|
+
* @param {Object} opts Optional parameters
|
|
15739
|
+
* @param {Object} opts.body
|
|
15740
|
+
* patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15741
|
+
*/},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15742
|
+
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']);}/**
|
|
15743
|
+
* Update the status of a Facebook data ingestion rule.
|
|
15744
|
+
*
|
|
15745
|
+
* @param {String} topicId topicId
|
|
15746
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15747
|
+
* @param {Object} opts Optional parameters
|
|
15748
|
+
* @param {Object} opts.body
|
|
15749
|
+
* patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15750
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15751
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15752
|
+
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']);}/**
|
|
15753
|
+
* Update the status of a open data ingestion rule.
|
|
15754
|
+
*
|
|
15755
|
+
* @param {String} topicId topicId
|
|
15756
|
+
* @param {String} openId openId
|
|
15757
|
+
* @param {Object} opts Optional parameters
|
|
15758
|
+
* @param {Object} opts.body
|
|
15759
|
+
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15760
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesOpenOpenId",value:function patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15761
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15762
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PATCH',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15763
|
+
* Update the status of a X (formally Twitter) data ingestion rule.
|
|
15764
|
+
*
|
|
15765
|
+
* @param {String} topicId topicId
|
|
15766
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15767
|
+
* @param {Object} opts Optional parameters
|
|
15768
|
+
* @param {Object} opts.body
|
|
15769
|
+
* patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15770
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15771
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15772
|
+
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']);}/**
|
|
15773
|
+
* Create an Facebook data ingestion rule.
|
|
15774
|
+
*
|
|
15775
|
+
* @param {String} topicId topicId
|
|
15776
|
+
* @param {Object} opts Optional parameters
|
|
15777
|
+
* @param {Object} opts.body
|
|
15778
|
+
* postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15779
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15780
|
+
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']);}/**
|
|
15781
|
+
* Create an open data ingestion rule.
|
|
15782
|
+
*
|
|
15783
|
+
* @param {String} topicId topicId
|
|
15784
|
+
* @param {Object} opts Optional parameters
|
|
15785
|
+
* @param {Object} opts.body
|
|
15786
|
+
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15787
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesOpen",value:function postSocialmediaTopicDataingestionrulesOpen(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15788
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15789
|
+
* Create an twitter data ingestion rule.
|
|
15790
|
+
*
|
|
15791
|
+
* @param {String} topicId topicId
|
|
15792
|
+
* @param {Object} opts Optional parameters
|
|
15793
|
+
* @param {Object} opts.body
|
|
15794
|
+
* postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15795
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15796
|
+
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']);}/**
|
|
15797
|
+
* Create a social topic.
|
|
15798
|
+
*
|
|
15799
|
+
* @param {Object} opts Optional parameters
|
|
15800
|
+
* @param {Object} opts.body
|
|
15801
|
+
* postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15802
|
+
*/},{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']);}/**
|
|
15803
|
+
* Update the Facebook data ingestion rule.
|
|
15804
|
+
*
|
|
15805
|
+
* @param {String} topicId topicId
|
|
15806
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15807
|
+
* @param {Object} opts Optional parameters
|
|
15808
|
+
* @param {Object} opts.body
|
|
15809
|
+
* putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15810
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15811
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15812
|
+
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']);}/**
|
|
15813
|
+
* Update the open data ingestion rule.
|
|
15814
|
+
*
|
|
15815
|
+
* @param {String} topicId topicId
|
|
15816
|
+
* @param {String} openId openId
|
|
15817
|
+
* @param {Object} opts Optional parameters
|
|
15818
|
+
* @param {Object} opts.body
|
|
15819
|
+
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15820
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesOpenOpenId",value:function putSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15821
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15822
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PUT',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15823
|
+
* Update the X (formally Twitter) data ingestion rule.
|
|
15824
|
+
*
|
|
15825
|
+
* @param {String} topicId topicId
|
|
15826
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15827
|
+
* @param {Object} opts Optional parameters
|
|
15828
|
+
* @param {Object} opts.body
|
|
15829
|
+
* putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15830
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15831
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15832
|
+
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(){/**
|
|
15515
15833
|
* SpeechTextAnalytics service.
|
|
15516
15834
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15517
|
-
* @version
|
|
15835
|
+
* @version 209.0.0
|
|
15518
15836
|
*//**
|
|
15519
15837
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15520
15838
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15699,13 +16017,13 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15699
16017
|
* @param {String} jobId The id of the publish topics job
|
|
15700
16018
|
*/},{key:"getSpeechandtextanalyticsTopicsPublishjob",value:function getSpeechandtextanalyticsTopicsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
15701
16019
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15702
|
-
* Translate
|
|
16020
|
+
* Translate a single interaction recording (or an email conversation)
|
|
15703
16021
|
*
|
|
15704
16022
|
* @param {String} languageId Target translation language
|
|
15705
16023
|
* @param {String} conversationId Conversation id
|
|
15706
16024
|
* @param {Object} opts Optional parameters
|
|
15707
|
-
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
15708
|
-
* @param {String} opts.recordingId Recording id associated with the communication
|
|
16025
|
+
* @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
|
|
16026
|
+
* @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
|
|
15709
16027
|
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15710
16028
|
*/},{key:"getSpeechandtextanalyticsTranslationsLanguageConversation",value:function getSpeechandtextanalyticsTranslationsLanguageConversation(languageId,conversationId,opts){opts=opts||{};// verify the required parameter 'languageId' is set
|
|
15711
16029
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}// verify the required parameter 'conversationId' is set
|
|
@@ -15813,7 +16131,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15813
16131
|
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(){/**
|
|
15814
16132
|
* Stations service.
|
|
15815
16133
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15816
|
-
* @version
|
|
16134
|
+
* @version 209.0.0
|
|
15817
16135
|
*//**
|
|
15818
16136
|
* Constructs a new StationsApi.
|
|
15819
16137
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15845,7 +16163,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15845
16163
|
*/},{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(){/**
|
|
15846
16164
|
* Suggest service.
|
|
15847
16165
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15848
|
-
* @version
|
|
16166
|
+
* @version 209.0.0
|
|
15849
16167
|
*//**
|
|
15850
16168
|
* Constructs a new SuggestApi.
|
|
15851
16169
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15885,7 +16203,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15885
16203
|
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(){/**
|
|
15886
16204
|
* TaskManagement service.
|
|
15887
16205
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15888
|
-
* @version
|
|
16206
|
+
* @version 209.0.0
|
|
15889
16207
|
*//**
|
|
15890
16208
|
* Constructs a new TaskManagementApi.
|
|
15891
16209
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -16291,7 +16609,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16291
16609
|
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(){/**
|
|
16292
16610
|
* Teams service.
|
|
16293
16611
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16294
|
-
* @version
|
|
16612
|
+
* @version 209.0.0
|
|
16295
16613
|
*//**
|
|
16296
16614
|
* Constructs a new TeamsApi.
|
|
16297
16615
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16371,7 +16689,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16371
16689
|
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(){/**
|
|
16372
16690
|
* Telephony service.
|
|
16373
16691
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16374
|
-
* @version
|
|
16692
|
+
* @version 209.0.0
|
|
16375
16693
|
*//**
|
|
16376
16694
|
* Constructs a new TelephonyApi.
|
|
16377
16695
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16418,7 +16736,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16418
16736
|
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(){/**
|
|
16419
16737
|
* TelephonyProvidersEdge service.
|
|
16420
16738
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16421
|
-
* @version
|
|
16739
|
+
* @version 209.0.0
|
|
16422
16740
|
*//**
|
|
16423
16741
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16424
16742
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16910,6 +17228,13 @@ if(siteId===undefined||siteId===null){throw'Missing the required parameter "site
|
|
|
16910
17228
|
* @param {Boolean} opts.managed Filter by managed
|
|
16911
17229
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
16912
17230
|
*/},{key:"getTelephonyProvidersEdgesSites",value:function getTelephonyProvidersEdgesSites(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'location.id':opts['locationId'],'managed':opts['managed'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17231
|
+
* Search sites using the q64 value returned from a previous search
|
|
17232
|
+
*
|
|
17233
|
+
* @param {String} q64 q64
|
|
17234
|
+
* @param {Object} opts Optional parameters
|
|
17235
|
+
* @param {Array.<String>} opts.expand expand
|
|
17236
|
+
*/},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
17237
|
+
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16913
17238
|
* Get a list of Edge-compatible time zones
|
|
16914
17239
|
*
|
|
16915
17240
|
* @param {Object} opts Optional parameters
|
|
@@ -17125,6 +17450,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17125
17450
|
* @param {Object} body Site
|
|
17126
17451
|
*/},{key:"postTelephonyProvidersEdgesSites",value:function postTelephonyProvidersEdgesSites(body){// verify the required parameter 'body' is set
|
|
17127
17452
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17453
|
+
* Search sites
|
|
17454
|
+
*
|
|
17455
|
+
* @param {Object} body Search request options
|
|
17456
|
+
*/},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
|
|
17457
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17128
17458
|
* Create a Trunk Base Settings object
|
|
17129
17459
|
*
|
|
17130
17460
|
* @param {Object} body Trunk base settings
|
|
@@ -17241,7 +17571,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17241
17571
|
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(){/**
|
|
17242
17572
|
* Textbots service.
|
|
17243
17573
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17244
|
-
* @version
|
|
17574
|
+
* @version 209.0.0
|
|
17245
17575
|
*//**
|
|
17246
17576
|
* Constructs a new TextbotsApi.
|
|
17247
17577
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17276,7 +17606,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17276
17606
|
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(){/**
|
|
17277
17607
|
* Tokens service.
|
|
17278
17608
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17279
|
-
* @version
|
|
17609
|
+
* @version 209.0.0
|
|
17280
17610
|
*//**
|
|
17281
17611
|
* Constructs a new TokensApi.
|
|
17282
17612
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17310,7 +17640,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17310
17640
|
*/},{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(){/**
|
|
17311
17641
|
* Uploads service.
|
|
17312
17642
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17313
|
-
* @version
|
|
17643
|
+
* @version 209.0.0
|
|
17314
17644
|
*//**
|
|
17315
17645
|
* Constructs a new UploadsApi.
|
|
17316
17646
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17376,7 +17706,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17376
17706
|
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(){/**
|
|
17377
17707
|
* Usage service.
|
|
17378
17708
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
17379
|
-
* @version
|
|
17709
|
+
* @version 209.0.0
|
|
17380
17710
|
*//**
|
|
17381
17711
|
* Constructs a new UsageApi.
|
|
17382
17712
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17430,7 +17760,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17430
17760
|
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(){/**
|
|
17431
17761
|
* UserRecordings service.
|
|
17432
17762
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17433
|
-
* @version
|
|
17763
|
+
* @version 209.0.0
|
|
17434
17764
|
*//**
|
|
17435
17765
|
* Constructs a new UserRecordingsApi.
|
|
17436
17766
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17487,7 +17817,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17487
17817
|
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(){/**
|
|
17488
17818
|
* Users service.
|
|
17489
17819
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17490
|
-
* @version
|
|
17820
|
+
* @version 209.0.0
|
|
17491
17821
|
*//**
|
|
17492
17822
|
* Constructs a new UsersApi.
|
|
17493
17823
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17527,14 +17857,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17527
17857
|
* @param {String} userId User ID
|
|
17528
17858
|
*/},{key:"deleteUser",value:function deleteUser(userId){// verify the required parameter 'userId' is set
|
|
17529
17859
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUser';}return this.apiClient.callApi('/api/v2/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17530
|
-
* Remove routing language from user
|
|
17860
|
+
* Remove a routing language from a user
|
|
17531
17861
|
*
|
|
17532
17862
|
* @param {String} userId User ID
|
|
17533
17863
|
* @param {String} languageId languageId
|
|
17534
17864
|
*/},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
|
|
17535
17865
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
17536
17866
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17537
|
-
* Remove routing skill from user
|
|
17867
|
+
* Remove a routing skill from a user
|
|
17538
17868
|
*
|
|
17539
17869
|
* @param {String} userId User ID
|
|
17540
17870
|
* @param {String} skillId skillId
|
|
@@ -17738,7 +18068,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17738
18068
|
* @param {String} subjectId User ID
|
|
17739
18069
|
*/},{key:"getUserRoles",value:function getUserRoles(subjectId){// verify the required parameter 'subjectId' is set
|
|
17740
18070
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling getUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','GET',{'subjectId':subjectId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17741
|
-
* List routing
|
|
18071
|
+
* List routing languages assigned to a user
|
|
17742
18072
|
*
|
|
17743
18073
|
* @param {String} userId User ID
|
|
17744
18074
|
* @param {Object} opts Optional parameters
|
|
@@ -17747,7 +18077,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
17747
18077
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
17748
18078
|
*/},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
17749
18079
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17750
|
-
* List routing skills
|
|
18080
|
+
* List routing skills assigned to a user
|
|
17751
18081
|
*
|
|
17752
18082
|
* @param {String} userId User ID
|
|
17753
18083
|
* @param {Object} opts Optional parameters
|
|
@@ -17912,7 +18242,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17912
18242
|
*/},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
17913
18243
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
|
|
17914
18244
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17915
|
-
* Update routing language proficiency
|
|
18245
|
+
* Update an assigned routing language's proficiency
|
|
17916
18246
|
*
|
|
17917
18247
|
* @param {String} userId User ID
|
|
17918
18248
|
* @param {String} languageId languageId
|
|
@@ -17921,14 +18251,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17921
18251
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
17922
18252
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
|
|
17923
18253
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17924
|
-
*
|
|
18254
|
+
* Assign multiple routing languages to a user. Max 50 routing languages in request body
|
|
17925
18255
|
*
|
|
17926
18256
|
* @param {String} userId User ID
|
|
17927
18257
|
* @param {Array.<Object>} body Language
|
|
17928
18258
|
*/},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
|
|
17929
18259
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
|
|
17930
18260
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17931
|
-
*
|
|
18261
|
+
* Assign multiple routing skills to a user
|
|
17932
18262
|
*
|
|
17933
18263
|
* @param {String} userId User ID
|
|
17934
18264
|
* @param {Array.<Object>} body Skill
|
|
@@ -18031,14 +18361,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18031
18361
|
*/},{key:"postUserPassword",value:function postUserPassword(userId,body){// verify the required parameter 'userId' is set
|
|
18032
18362
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserPassword';}// verify the required parameter 'body' is set
|
|
18033
18363
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserPassword';}return this.apiClient.callApi('/api/v2/users/{userId}/password','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18034
|
-
*
|
|
18364
|
+
* Assign a routing language to a user
|
|
18035
18365
|
*
|
|
18036
18366
|
* @param {String} userId User ID
|
|
18037
18367
|
* @param {Object} body Language
|
|
18038
18368
|
*/},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
|
|
18039
18369
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
|
|
18040
18370
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18041
|
-
*
|
|
18371
|
+
* Assign a routing skill to a user
|
|
18042
18372
|
*
|
|
18043
18373
|
* @param {String} userId User ID
|
|
18044
18374
|
* @param {Object} body Skill
|
|
@@ -18129,7 +18459,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18129
18459
|
*/},{key:"putUserRoles",value:function putUserRoles(subjectId,body){// verify the required parameter 'subjectId' is set
|
|
18130
18460
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling putUserRoles';}// verify the required parameter 'body' is set
|
|
18131
18461
|
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']);}/**
|
|
18132
|
-
* Update routing skill proficiency
|
|
18462
|
+
* Update an assigned routing skill's proficiency
|
|
18133
18463
|
*
|
|
18134
18464
|
* @param {String} userId User ID
|
|
18135
18465
|
* @param {String} skillId skillId
|
|
@@ -18138,7 +18468,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18138
18468
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
|
|
18139
18469
|
if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
|
|
18140
18470
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18141
|
-
*
|
|
18471
|
+
* Assign multiple routing skills to a user, replacing any current assignments
|
|
18142
18472
|
*
|
|
18143
18473
|
* @param {String} userId User ID
|
|
18144
18474
|
* @param {Array.<Object>} body Skill
|
|
@@ -18184,7 +18514,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
18184
18514
|
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(){/**
|
|
18185
18515
|
* Utilities service.
|
|
18186
18516
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
18187
|
-
* @version
|
|
18517
|
+
* @version 209.0.0
|
|
18188
18518
|
*//**
|
|
18189
18519
|
* Constructs a new UtilitiesApi.
|
|
18190
18520
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -18211,7 +18541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18211
18541
|
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(){/**
|
|
18212
18542
|
* Voicemail service.
|
|
18213
18543
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
18214
|
-
* @version
|
|
18544
|
+
* @version 209.0.0
|
|
18215
18545
|
*//**
|
|
18216
18546
|
* Constructs a new VoicemailApi.
|
|
18217
18547
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -18373,7 +18703,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18373
18703
|
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(){/**
|
|
18374
18704
|
* WebChat service.
|
|
18375
18705
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
18376
|
-
* @version
|
|
18706
|
+
* @version 209.0.0
|
|
18377
18707
|
*//**
|
|
18378
18708
|
* Constructs a new WebChatApi.
|
|
18379
18709
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18508,7 +18838,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18508
18838
|
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(){/**
|
|
18509
18839
|
* WebDeployments service.
|
|
18510
18840
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18511
|
-
* @version
|
|
18841
|
+
* @version 209.0.0
|
|
18512
18842
|
*//**
|
|
18513
18843
|
* Constructs a new WebDeploymentsApi.
|
|
18514
18844
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18629,7 +18959,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18629
18959
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
18630
18960
|
* WebMessaging service.
|
|
18631
18961
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18632
|
-
* @version
|
|
18962
|
+
* @version 209.0.0
|
|
18633
18963
|
*//**
|
|
18634
18964
|
* Constructs a new WebMessagingApi.
|
|
18635
18965
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18645,7 +18975,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18645
18975
|
*/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(){/**
|
|
18646
18976
|
* Widgets service.
|
|
18647
18977
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18648
|
-
* @version
|
|
18978
|
+
* @version 209.0.0
|
|
18649
18979
|
*//**
|
|
18650
18980
|
* Constructs a new WidgetsApi.
|
|
18651
18981
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -18680,7 +19010,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18680
19010
|
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(){/**
|
|
18681
19011
|
* WorkforceManagement service.
|
|
18682
19012
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
18683
|
-
* @version
|
|
19013
|
+
* @version 209.0.0
|
|
18684
19014
|
*//**
|
|
18685
19015
|
* Constructs a new WorkforceManagementApi.
|
|
18686
19016
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19405,7 +19735,7 @@ if(weekId===undefined||weekId===null){throw'Missing the required parameter "week
|
|
|
19405
19735
|
* Gets all the shift trades for a given week
|
|
19406
19736
|
*
|
|
19407
19737
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19408
|
-
* @param {String} weekDateId The start date of the
|
|
19738
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
19409
19739
|
* @param {Object} opts Optional parameters
|
|
19410
19740
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
19411
19741
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -19704,7 +20034,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
19704
20034
|
* Updates a shift trade. This route can only be called by the initiating agent
|
|
19705
20035
|
*
|
|
19706
20036
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19707
|
-
* @param {String} weekDateId The start date of the
|
|
20037
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
19708
20038
|
* @param {String} tradeId The ID of the shift trade to update
|
|
19709
20039
|
* @param {Object} body body
|
|
19710
20040
|
*/},{key:"patchWorkforcemanagementManagementunitWeekShifttrade",value:function patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -20271,7 +20601,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20271
20601
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
20272
20602
|
*
|
|
20273
20603
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20274
|
-
* @param {String} weekDateId The start date of the
|
|
20604
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20275
20605
|
* @param {String} tradeId The ID of the shift trade to update
|
|
20276
20606
|
* @param {Object} body body
|
|
20277
20607
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttradeMatch",value:function postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -20282,7 +20612,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20282
20612
|
* Adds a shift trade
|
|
20283
20613
|
*
|
|
20284
20614
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20285
|
-
* @param {String} weekDateId The start date of the
|
|
20615
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20286
20616
|
* @param {Object} body body
|
|
20287
20617
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttrades",value:function postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId,weekDateId,body){// verify the required parameter 'managementUnitId' is set
|
|
20288
20618
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';}// verify the required parameter 'weekDateId' is set
|
|
@@ -20291,7 +20621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20291
20621
|
* Searches for potential shift trade matches for the current agent
|
|
20292
20622
|
*
|
|
20293
20623
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20294
|
-
* @param {String} weekDateId The start date of the
|
|
20624
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20295
20625
|
* @param {Object} body body
|
|
20296
20626
|
* @param {Object} opts Optional parameters
|
|
20297
20627
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -20302,7 +20632,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20302
20632
|
* Updates the state of a batch of shift trades
|
|
20303
20633
|
* Admin functionality is not supported with "mine".
|
|
20304
20634
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20305
|
-
* @param {String} weekDateId The start date of the
|
|
20635
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20306
20636
|
* @param {Object} body body
|
|
20307
20637
|
* @param {Object} opts Optional parameters
|
|
20308
20638
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
@@ -20461,7 +20791,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20461
20791
|
* </pre>
|
|
20462
20792
|
* </p>
|
|
20463
20793
|
* @module purecloud-platform-client-v2/index
|
|
20464
|
-
* @version
|
|
20794
|
+
* @version 209.0.0
|
|
20465
20795
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20466
20796
|
* The ApiClient constructor.
|
|
20467
20797
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -20643,6 +20973,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20643
20973
|
* The SettingsApi service constructor.
|
|
20644
20974
|
* @property {module:purecloud-platform-client-v2/api/SettingsApi}
|
|
20645
20975
|
*/this.SettingsApi=SettingsApi;/**
|
|
20976
|
+
* The SocialMediaApi service constructor.
|
|
20977
|
+
* @property {module:purecloud-platform-client-v2/api/SocialMediaApi}
|
|
20978
|
+
*/this.SocialMediaApi=SocialMediaApi;/**
|
|
20646
20979
|
* The SpeechTextAnalyticsApi service constructor.
|
|
20647
20980
|
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi}
|
|
20648
20981
|
*/this.SpeechTextAnalyticsApi=SpeechTextAnalyticsApi;/**
|