purecloud-platform-client-v2 216.0.0 → 217.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.
Files changed (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +826 -457
  3. package/dist/web-amd/purecloud-platform-client-v2.js +826 -457
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +314 -217
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +319 -220
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +345 -220
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -305
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +9 -8
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -5
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +174 -2
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +167 -4
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -3
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -11
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +9 -8
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +3 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -29
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -1
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -3
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +58 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -244,7 +244,7 @@ return function(thing){return TypedArray&&thing instanceof TypedArray;};}(typeof
244
244
  * Makes all methods read-only
245
245
  * @param {Object} obj
246
246
  */var freezeMethods=function freezeMethods(obj){reduceDescriptors(obj,function(descriptor,name){// skip restricted props in strict mode
247
- if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;};var ALPHA='abcdefghijklmnopqrstuvwxyz';var DIGIT='0123456789';var ALPHABET={DIGIT:DIGIT,ALPHA:ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT};var generateString=function generateString(){var size=arguments.length>0&&arguments[0]!==undefined?arguments[0]:16;var alphabet=arguments.length>1&&arguments[1]!==undefined?arguments[1]:ALPHABET.ALPHA_DIGIT;var str='';var length=alphabet.length;while(size--){str+=alphabet[Math.random()*length|0];}return str;};/**
247
+ if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;};/**
248
248
  * If the thing is a FormData object, return true, otherwise return false.
249
249
  *
250
250
  * @param {unknown} thing - The thing to check.
@@ -254,7 +254,7 @@ if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return f
254
254
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
255
255
  var _setImmediate=function(setImmediateSupported,postMessageSupported){if(setImmediateSupported){return setImmediate;}return postMessageSupported?function(token,callbacks){_global.addEventListener("message",function(_ref7){var source=_ref7.source,data=_ref7.data;if(source===_global&&data===token){callbacks.length&&callbacks.shift()();}},false);return function(cb){callbacks.push(cb);_global.postMessage(token,"*");};}("axios@".concat(Math.random()),[]):function(cb){return setTimeout(cb);};}(typeof setImmediate==='function',isFunction(_global.postMessage));var asap=typeof queueMicrotask!=='undefined'?queueMicrotask.bind(_global):typeof process!=='undefined'&&nextTick||_setImmediate;// *********************
256
256
  var utils$1={isArray:isArray$1,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer$1,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,// an alias to avoid ESLint no-prototype-builtins detection
257
- reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,ALPHABET:ALPHABET,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
257
+ reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
258
258
  // if there are two placeholders, than the two characters before it
259
259
  // represent one byte
260
260
  // if there is only one, then the three characters before it represent 2 bytes
@@ -681,7 +681,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
681
681
  * @param {string} requestedURL Absolute or relative URL to combine
682
682
  *
683
683
  * @returns {string} The combined full path
684
- */function buildFullPath(baseURL,requestedURL){if(baseURL&&!isAbsoluteURL(requestedURL)){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
684
+ */function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&isRelativeUrl||allowAbsoluteUrls==false){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
685
685
  * Config-specific merge-function which creates a new config-object
686
686
  * by merging two configuration objects together.
687
687
  *
@@ -750,7 +750,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
750
750
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
751
751
  config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
752
752
  response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
753
- if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.9";var validators$1={};// eslint-disable-next-line func-names
753
+ if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.2";var validators$1={};// eslint-disable-next-line func-names
754
754
  ['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
755
755
  * Transitional option validator
756
756
  *
@@ -787,10 +787,11 @@ console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpellin
787
787
  stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
788
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
789
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
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
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);}}// Set config.allowAbsoluteUrls
791
+ if(config.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){config.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;}else{config.allowAbsoluteUrls=true;}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
791
792
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
792
793
  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
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
794
+ 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,config.allowAbsoluteUrls);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
794
795
  utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
795
796
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
796
797
  *
@@ -891,7 +892,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
891
892
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
892
893
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
893
894
  * @module purecloud-platform-client-v2/ApiClient
894
- * @version 216.0.0
895
+ * @version 217.0.0
895
896
  */var ApiClient=/*#__PURE__*/function(){/**
896
897
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
897
898
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1234,7 +1235,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1234
1235
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
1235
1236
  * AgentAssistants service.
1236
1237
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1237
- * @version 216.0.0
1238
+ * @version 217.0.0
1238
1239
  *//**
1239
1240
  * Constructs a new AgentAssistantsApi.
1240
1241
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1335,7 +1336,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
1335
1336
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
1336
1337
  * AgentCopilot service.
1337
1338
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1338
- * @version 216.0.0
1339
+ * @version 217.0.0
1339
1340
  *//**
1340
1341
  * Constructs a new AgentCopilotApi.
1341
1342
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1357,7 +1358,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
1357
1358
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
1358
1359
  * AgentUI service.
1359
1360
  * @module purecloud-platform-client-v2/api/AgentUIApi
1360
- * @version 216.0.0
1361
+ * @version 217.0.0
1361
1362
  *//**
1362
1363
  * Constructs a new AgentUIApi.
1363
1364
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1391,7 +1392,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
1391
1392
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
1392
1393
  * Alerting service.
1393
1394
  * @module purecloud-platform-client-v2/api/AlertingApi
1394
- * @version 216.0.0
1395
+ * @version 217.0.0
1395
1396
  *//**
1396
1397
  * Constructs a new AlertingApi.
1397
1398
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1407,18 +1408,6 @@ if(alertId===undefined||alertId===null){throw'Missing the required parameter "al
1407
1408
  * Delete all alerts for the user
1408
1409
  *
1409
1410
  */},{key:"deleteAlertingAlertsAll",value:function deleteAlertingAlertsAll(){return this.apiClient.callApi('/api/v2/alerting/alerts/all','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1410
- * Delete an interaction stats alert
1411
- * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
1412
- * @param {String} alertId Alert ID
1413
- * @deprecated
1414
- */},{key:"deleteAlertingInteractionstatsAlert",value:function deleteAlertingInteractionstatsAlert(alertId){// verify the required parameter 'alertId' is set
1415
- if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1416
- * Delete an interaction stats rule
1417
- * Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
1418
- * @param {String} ruleId Rule ID
1419
- * @deprecated
1420
- */},{key:"deleteAlertingInteractionstatsRule",value:function deleteAlertingInteractionstatsRule(ruleId){// verify the required parameter 'ruleId' is set
1421
- if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1422
1411
  * Delete a rule.
1423
1412
  *
1424
1413
  * @param {String} ruleId Rule Id
@@ -1429,42 +1418,6 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1429
1418
  * @param {String} alertId Alert ID
1430
1419
  */},{key:"getAlertingAlert",value:function getAlertingAlert(alertId){// verify the required parameter 'alertId' is set
1431
1420
  if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','GET',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1432
- * Gets active alert count for a user
1433
- * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
1434
- * @deprecated
1435
- */},{key:"getAlertingAlertsActive",value:function getAlertingAlertsActive(){return this.apiClient.callApi('/api/v2/alerting/alerts/active','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1436
- * Get an interaction stats alert
1437
- * Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
1438
- * @param {String} alertId Alert ID
1439
- * @param {Object} opts Optional parameters
1440
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1441
- * @deprecated
1442
- */},{key:"getAlertingInteractionstatsAlert",value:function getAlertingInteractionstatsAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
1443
- if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','GET',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1444
- * Get interaction stats alert list
1445
- * Apps should migrate to use POST /api/v2/alerting/alerts/query.
1446
- * @param {Object} opts Optional parameters
1447
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1448
- * @deprecated
1449
- */},{key:"getAlertingInteractionstatsAlerts",value:function getAlertingInteractionstatsAlerts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1450
- * Gets user unread count of interaction stats alerts
1451
- * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
1452
- * @deprecated
1453
- */},{key:"getAlertingInteractionstatsAlertsUnread",value:function getAlertingInteractionstatsAlertsUnread(){return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/unread','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1454
- * Get an interaction stats rule
1455
- * Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
1456
- * @param {String} ruleId Rule ID
1457
- * @param {Object} opts Optional parameters
1458
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1459
- * @deprecated
1460
- */},{key:"getAlertingInteractionstatsRule",value:function getAlertingInteractionstatsRule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
1461
- if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','GET',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1462
- * Get an interaction stats rule list
1463
- * Apps should migrate to use POST /api/v2/alerting/rules/query.
1464
- * @param {Object} opts Optional parameters
1465
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1466
- * @deprecated
1467
- */},{key:"getAlertingInteractionstatsRules",value:function getAlertingInteractionstatsRules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1468
1421
  * Get a rule.
1469
1422
  *
1470
1423
  * @param {String} ruleId Rule Id
@@ -1497,14 +1450,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1497
1450
  * @param {Object} opts Optional parameters
1498
1451
  * @param {Object} opts.body
1499
1452
  */},{key:"postAlertingAlertsQuery",value:function postAlertingAlertsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/alerts/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
1500
- * Create an interaction stats rule
1501
- * Apps should migrate to use POST /api/v2/alerting/rules.
1502
- * @param {Object} body AlertingRule
1503
- * @param {Object} opts Optional parameters
1504
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1505
- * @deprecated
1506
- */},{key:"postAlertingInteractionstatsRules",value:function postAlertingInteractionstatsRules(body,opts){opts=opts||{};// verify the required parameter 'body' is set
1507
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1508
1453
  * Create a Rule.
1509
1454
  *
1510
1455
  * @param {Object} body rule to be created
@@ -1527,26 +1472,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1527
1472
  * @param {Object} opts.body
1528
1473
  */},{key:"putAlertingAlert",value:function putAlertingAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
1529
1474
  if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','PUT',{'alertId':alertId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
1530
- * Update an interaction stats alert read status
1531
- * Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
1532
- * @param {String} alertId Alert ID
1533
- * @param {Object} body InteractionStatsAlert
1534
- * @param {Object} opts Optional parameters
1535
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1536
- * @deprecated
1537
- */},{key:"putAlertingInteractionstatsAlert",value:function putAlertingInteractionstatsAlert(alertId,body,opts){opts=opts||{};// verify the required parameter 'alertId' is set
1538
- if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';}// verify the required parameter 'body' is set
1539
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','PUT',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1540
- * Update an interaction stats rule
1541
- * Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
1542
- * @param {String} ruleId Rule ID
1543
- * @param {Object} body AlertingRule
1544
- * @param {Object} opts Optional parameters
1545
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
1546
- * @deprecated
1547
- */},{key:"putAlertingInteractionstatsRule",value:function putAlertingInteractionstatsRule(ruleId,body,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
1548
- if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';}// verify the required parameter 'body' is set
1549
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','PUT',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1550
1475
  * Update a rule
1551
1476
  *
1552
1477
  * @param {String} ruleId Rule Id
@@ -1556,7 +1481,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1556
1481
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
1557
1482
  * Analytics service.
1558
1483
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1559
- * @version 216.0.0
1484
+ * @version 217.0.0
1560
1485
  *//**
1561
1486
  * Constructs a new AnalyticsApi.
1562
1487
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1786,7 +1711,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
1786
1711
  * @param {Number} opts.pageSize (default to 25)
1787
1712
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
1788
1713
  * @param {Object} opts.state Only list users of this state
1789
- * @param {Boolean} opts.deletedOnly Only list deleted dashboards that are still recoverable
1714
+ * @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
1790
1715
  */},{key:"getAnalyticsReportingDashboardsUsers",value:function getAnalyticsReportingDashboardsUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/analytics/reporting/dashboards/users','GET',{},{'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'state':opts['state'],'deletedOnly':opts['deletedOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1791
1716
  * Get all view export requests for a user
1792
1717
  *
@@ -2227,7 +2152,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2227
2152
  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(){/**
2228
2153
  * Architect service.
2229
2154
  * @module purecloud-platform-client-v2/api/ArchitectApi
2230
- * @version 216.0.0
2155
+ * @version 217.0.0
2231
2156
  *//**
2232
2157
  * Constructs a new ArchitectApi.
2233
2158
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -2495,6 +2420,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
2495
2420
  * @param {String} ivrId IVR id
2496
2421
  */},{key:"getArchitectIvr",value:function getArchitectIvr(ivrId){// verify the required parameter 'ivrId' is set
2497
2422
  if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling getArchitectIvr';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}','GET',{'ivrId':ivrId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2423
+ * Get an IVR IdentityResolutionConfig.
2424
+ *
2425
+ * @param {String} ivrId IVR id
2426
+ * getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2427
+ */},{key:"getArchitectIvrIdentityresolution",value:function getArchitectIvrIdentityresolution(ivrId){// verify the required parameter 'ivrId' is set
2428
+ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}/identityresolution','GET',{'ivrId':ivrId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2498
2429
  * Get IVR configs.
2499
2430
  *
2500
2431
  * @param {Object} opts Optional parameters
@@ -2889,6 +2820,13 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
2889
2820
  * @param {String} flowExecutionId flow execution ID
2890
2821
  */},{key:"getFlowsExecution",value:function getFlowsExecution(flowExecutionId){// verify the required parameter 'flowExecutionId' is set
2891
2822
  if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';}return this.apiClient.callApi('/api/v2/flows/executions/{flowExecutionId}','GET',{'flowExecutionId':flowExecutionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2823
+ * Fetch Architect Export Job Status
2824
+ *
2825
+ * @param {String} jobId Job ID
2826
+ * @param {Object} opts Optional parameters
2827
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
2828
+ */},{key:"getFlowsExportJob",value:function getFlowsExportJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
2829
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getFlowsExportJob';}return this.apiClient.callApi('/api/v2/flows/export/jobs/{jobId}','GET',{'jobId':jobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2892
2830
  * Start a process (job) to prepare a download of a singular flow execution data instance by Id
2893
2831
  * Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
2894
2832
  * @param {String} instanceId Instance ID
@@ -3181,6 +3119,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3181
3119
  * @param {Object} flowLaunchRequest
3182
3120
  */},{key:"postFlowsExecutions",value:function postFlowsExecutions(flowLaunchRequest){// verify the required parameter 'flowLaunchRequest' is set
3183
3121
  if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the required parameter "flowLaunchRequest" when calling postFlowsExecutions';}return this.apiClient.callApi('/api/v2/flows/executions','POST',{},{},{},{},flowLaunchRequest,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3122
+ * Register Architect Export Job
3123
+ *
3124
+ * @param {Object} body
3125
+ */},{key:"postFlowsExportJobs",value:function postFlowsExportJobs(body){// verify the required parameter 'body' is set
3126
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsExportJobs';}return this.apiClient.callApi('/api/v2/flows/export/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3184
3127
  * Start a process (job) that will prepare a list of execution data IDs for download.
3185
3128
  * Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
3186
3129
  * @param {Object} body Requested Flow Ids
@@ -3223,6 +3166,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3223
3166
  */},{key:"putArchitectIvr",value:function putArchitectIvr(ivrId,body){// verify the required parameter 'ivrId' is set
3224
3167
  if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling putArchitectIvr';}// verify the required parameter 'body' is set
3225
3168
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putArchitectIvr';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}','PUT',{'ivrId':ivrId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3169
+ * Update an IVR IdentityResolutionConfig.
3170
+ *
3171
+ * @param {String} ivrId IVR id
3172
+ * @param {Object} body
3173
+ * putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3174
+ */},{key:"putArchitectIvrIdentityresolution",value:function putArchitectIvrIdentityresolution(ivrId,body){// verify the required parameter 'ivrId' is set
3175
+ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';}// verify the required parameter 'body' is set
3176
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}/identityresolution','PUT',{'ivrId':ivrId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3226
3177
  * Update specified user prompt
3227
3178
  *
3228
3179
  * @param {String} promptId Prompt ID
@@ -3319,7 +3270,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3319
3270
  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(){/**
3320
3271
  * Audit service.
3321
3272
  * @module purecloud-platform-client-v2/api/AuditApi
3322
- * @version 216.0.0
3273
+ * @version 217.0.0
3323
3274
  *//**
3324
3275
  * Constructs a new AuditApi.
3325
3276
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3369,7 +3320,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3369
3320
  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(){/**
3370
3321
  * Authorization service.
3371
3322
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3372
- * @version 216.0.0
3323
+ * @version 217.0.0
3373
3324
  *//**
3374
3325
  * Constructs a new AuthorizationApi.
3375
3326
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3381,7 +3332,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3381
3332
  *
3382
3333
  * @param {String} divisionId Division ID
3383
3334
  * @param {Object} opts Optional parameters
3384
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
3335
+ * @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
3385
3336
  */return _createClass(AuthorizationApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
3386
3337
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3387
3338
  * Delete an access control policy
@@ -3629,10 +3580,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3629
3580
  * Recreate a previously deleted division.
3630
3581
  *
3631
3582
  * @param {String} divisionId Division ID
3632
- * @param {Object} opts Optional parameters
3633
- * @param {Object} opts.body Recreated division data
3634
- */},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
3635
- if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
3583
+ * @param {Object} body Recreated division data
3584
+ */},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,body){// verify the required parameter 'divisionId' is set
3585
+ if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}// verify the required parameter 'body' is set
3586
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3636
3587
  * Create a division.
3637
3588
  *
3638
3589
  * @param {Object} body Division
@@ -3789,7 +3740,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3789
3740
  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(){/**
3790
3741
  * Billing service.
3791
3742
  * @module purecloud-platform-client-v2/api/BillingApi
3792
- * @version 216.0.0
3743
+ * @version 217.0.0
3793
3744
  *//**
3794
3745
  * Constructs a new BillingApi.
3795
3746
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3813,7 +3764,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3813
3764
  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(){/**
3814
3765
  * CarrierServices service.
3815
3766
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3816
- * @version 216.0.0
3767
+ * @version 217.0.0
3817
3768
  *//**
3818
3769
  * Constructs a new CarrierServicesApi.
3819
3770
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3833,7 +3784,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3833
3784
  */},{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(){/**
3834
3785
  * Chat service.
3835
3786
  * @module purecloud-platform-client-v2/api/ChatApi
3836
- * @version 216.0.0
3787
+ * @version 217.0.0
3837
3788
  *//**
3838
3789
  * Constructs a new ChatApi.
3839
3790
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3952,12 +3903,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
3952
3903
  * Get a user's chat settings
3953
3904
  *
3954
3905
  * @param {String} userId User ID
3955
- * getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3956
3906
  */},{key:"getChatsUserSettings",value:function getChatsUserSettings(userId){// verify the required parameter 'userId' is set
3957
3907
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3958
3908
  * Get a user's chat settings
3959
3909
  *
3960
- * getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3961
3910
  */},{key:"getChatsUsersMeSettings",value:function getChatsUsersMeSettings(){return this.apiClient.callApi('/api/v2/chats/users/me/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3962
3911
  * Set properties for a room
3963
3912
  *
@@ -3993,14 +3942,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3993
3942
  *
3994
3943
  * @param {String} userId User ID
3995
3944
  * @param {Object} body
3996
- * patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3997
3945
  */},{key:"patchChatsUserSettings",value:function patchChatsUserSettings(userId,body){// verify the required parameter 'userId' is set
3998
3946
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserSettings';}// verify the required parameter 'body' is set
3999
3947
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4000
3948
  * Update a user's chat settings
4001
3949
  *
4002
3950
  * @param {Object} body
4003
- * patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4004
3951
  */},{key:"patchChatsUsersMeSettings",value:function patchChatsUsersMeSettings(body){// verify the required parameter 'body' is set
4005
3952
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUsersMeSettings';}return this.apiClient.callApi('/api/v2/chats/users/me/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4006
3953
  * Send a message to a room
@@ -4058,7 +4005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4058
4005
  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(){/**
4059
4006
  * Coaching service.
4060
4007
  * @module purecloud-platform-client-v2/api/CoachingApi
4061
- * @version 216.0.0
4008
+ * @version 217.0.0
4062
4009
  *//**
4063
4010
  * Constructs a new CoachingApi.
4064
4011
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4211,7 +4158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4211
4158
  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(){/**
4212
4159
  * ContentManagement service.
4213
4160
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4214
- * @version 216.0.0
4161
+ * @version 217.0.0
4215
4162
  *//**
4216
4163
  * Constructs a new ContentManagementApi.
4217
4164
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4493,7 +4440,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4493
4440
  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(){/**
4494
4441
  * Conversations service.
4495
4442
  * @module purecloud-platform-client-v2/api/ConversationsApi
4496
- * @version 216.0.0
4443
+ * @version 217.0.0
4497
4444
  *//**
4498
4445
  * Constructs a new ConversationsApi.
4499
4446
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -5005,6 +4952,24 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null){throw'Missing the re
5005
4952
  * Get a list of Facebook Permissions
5006
4953
  *
5007
4954
  */},{key:"getConversationsMessagingFacebookPermissions",value:function getConversationsMessagingFacebookPermissions(){return this.apiClient.callApi('/api/v2/conversations/messaging/facebook/permissions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4955
+ * Get Facebook messaging integration identity resolution settings
4956
+ *
4957
+ * @param {String} integrationId Integration ID
4958
+ * getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4959
+ */},{key:"getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4960
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4961
+ * Get an open messaging integration Identity Resolution settings
4962
+ *
4963
+ * @param {String} integrationId Integration ID
4964
+ * getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4965
+ */},{key:"getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4966
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4967
+ * Get a whatsApp integration Identity Resolution settings
4968
+ *
4969
+ * @param {String} integrationId Integration ID
4970
+ * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4971
+ */},{key:"getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4972
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5008
4973
  * Get a list of Integrations
5009
4974
  *
5010
4975
  * @param {Object} opts Optional parameters
@@ -6167,9 +6132,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6167
6132
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';}// verify the required parameter 'body' is set
6168
6133
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsChatRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6169
6134
  * Update a conversation by setting its recording state
6170
- *
6135
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
6171
6136
  * @param {String} conversationId conversationId
6172
6137
  * @param {Object} body SetRecordingState
6138
+ * @deprecated
6173
6139
  */},{key:"putConversationsCobrowsesessionRecordingstate",value:function putConversationsCobrowsesessionRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
6174
6140
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';}// verify the required parameter 'body' is set
6175
6141
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -6201,6 +6167,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6201
6167
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
6202
6168
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
6203
6169
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6170
+ * Create an identity resolution settings for a Facebook messaging integration
6171
+ *
6172
+ * @param {String} integrationId Integration ID
6173
+ * @param {Object} body IdentityResolutionConfig
6174
+ * putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6175
+ */},{key:"putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
6176
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}// verify the required parameter 'body' is set
6177
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6178
+ * Update an open messaging integration Identity Resolution settings
6179
+ *
6180
+ * @param {String} integrationId Integration ID
6181
+ * @param {Object} body
6182
+ * putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6183
+ */},{key:"putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
6184
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
6185
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6186
+ * Update a whatsApp integration Identity Resolution settings
6187
+ *
6188
+ * @param {String} integrationId Integration ID
6189
+ * @param {Object} body
6190
+ * putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6191
+ */},{key:"putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
6192
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}// verify the required parameter 'body' is set
6193
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6204
6194
  * Set the organization's default setting that may be applied to to integrations without settings
6205
6195
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
6206
6196
  * @param {Object} body MessagingSetting
@@ -6240,7 +6230,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
6240
6230
  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(){/**
6241
6231
  * DataExtensions service.
6242
6232
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
6243
- * @version 216.0.0
6233
+ * @version 217.0.0
6244
6234
  *//**
6245
6235
  * Constructs a new DataExtensionsApi.
6246
6236
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -6261,7 +6251,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
6261
6251
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
6262
6252
  * DataPrivacy service.
6263
6253
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
6264
- * @version 216.0.0
6254
+ * @version 217.0.0
6265
6255
  *//**
6266
6256
  * Constructs a new DataPrivacyApi.
6267
6257
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -6301,7 +6291,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6301
6291
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
6302
6292
  * Downloads service.
6303
6293
  * @module purecloud-platform-client-v2/api/DownloadsApi
6304
- * @version 216.0.0
6294
+ * @version 217.0.0
6305
6295
  *//**
6306
6296
  * Constructs a new DownloadsApi.
6307
6297
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -6320,7 +6310,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6320
6310
  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(){/**
6321
6311
  * Emails service.
6322
6312
  * @module purecloud-platform-client-v2/api/EmailsApi
6323
- * @version 216.0.0
6313
+ * @version 217.0.0
6324
6314
  *//**
6325
6315
  * Constructs a new EmailsApi.
6326
6316
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -6338,7 +6328,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
6338
6328
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
6339
6329
  * EmployeeEngagement service.
6340
6330
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
6341
- * @version 216.0.0
6331
+ * @version 217.0.0
6342
6332
  *//**
6343
6333
  * Constructs a new EmployeeEngagementApi.
6344
6334
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -6376,7 +6366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6376
6366
  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(){/**
6377
6367
  * Events service.
6378
6368
  * @module purecloud-platform-client-v2/api/EventsApi
6379
- * @version 216.0.0
6369
+ * @version 217.0.0
6380
6370
  *//**
6381
6371
  * Constructs a new EventsApi.
6382
6372
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -6401,7 +6391,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6401
6391
  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(){/**
6402
6392
  * ExternalContacts service.
6403
6393
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
6404
- * @version 216.0.0
6394
+ * @version 217.0.0
6405
6395
  *//**
6406
6396
  * Constructs a new ExternalContactsApi.
6407
6397
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6518,7 +6508,8 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
6518
6508
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
6519
6509
  * @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
6520
6510
  * @param {Array.<String>} opts.expand which fields, if any, to expand
6521
- */},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6511
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
6512
+ */},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6522
6513
  * Get a schema
6523
6514
  *
6524
6515
  * @param {String} schemaId Schema ID
@@ -6661,7 +6652,8 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
6661
6652
  * @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
6662
6653
  * @param {Array.<String>} opts.expand which fields, if any, to expand
6663
6654
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
6664
- */},{key:"getExternalcontactsOrganizations",value:function getExternalcontactsOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/organizations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'trustorId':this.apiClient.buildCollectionParam(opts['trustorId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6655
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
6656
+ */},{key:"getExternalcontactsOrganizations",value:function getExternalcontactsOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/organizations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'trustorId':this.apiClient.buildCollectionParam(opts['trustorId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6665
6657
  * Get a schema
6666
6658
  *
6667
6659
  * @param {String} schemaId Schema ID
@@ -6694,32 +6686,65 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6694
6686
  * @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
6695
6687
  * @param {Object} opts Optional parameters
6696
6688
  * @param {Array.<String>} opts.expand which field, if any, to expand
6689
+ * @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
6697
6690
  */},{key:"getExternalcontactsReversewhitepageslookup",value:function getExternalcontactsReversewhitepageslookup(lookupVal,opts){opts=opts||{};// verify the required parameter 'lookupVal' is set
6698
- if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';}return this.apiClient.callApi('/api/v2/externalcontacts/reversewhitepageslookup','GET',{},{'lookupVal':lookupVal,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6691
+ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';}return this.apiClient.callApi('/api/v2/externalcontacts/reversewhitepageslookup','GET',{},{'lookupVal':lookupVal,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6692
+ * Scan for external contacts using paging
6693
+ *
6694
+ * @param {Object} opts Optional parameters
6695
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
6696
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6697
+ * @param {String} opts.divisionId The division to scan over (default to *)
6698
+ */},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6699
6699
  * Scan for external contacts using paging
6700
6700
  *
6701
6701
  * @param {Object} opts Optional parameters
6702
6702
  * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
6703
6703
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6704
- */},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6704
+ * getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6705
+ */},{key:"getExternalcontactsScanContactsDivisionviewsAll",value:function getExternalcontactsScanContactsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6706
+ * Scan for notes using paging
6707
+ *
6708
+ * @param {Object} opts Optional parameters
6709
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
6710
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6711
+ * @param {String} opts.divisionId The division to scan over (default to *)
6712
+ */},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6705
6713
  * Scan for notes using paging
6706
6714
  *
6707
6715
  * @param {Object} opts Optional parameters
6708
6716
  * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
6709
6717
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6710
- */},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6718
+ * getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6719
+ */},{key:"getExternalcontactsScanNotesDivisionviewsAll",value:function getExternalcontactsScanNotesDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6711
6720
  * Scan for external organizations using paging
6712
6721
  *
6713
6722
  * @param {Object} opts Optional parameters
6714
6723
  * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
6715
6724
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6716
- */},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6725
+ * @param {String} opts.divisionId The division to scan over (default to *)
6726
+ */},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6727
+ * Scan for external organizations using paging
6728
+ *
6729
+ * @param {Object} opts Optional parameters
6730
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
6731
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6732
+ * getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6733
+ */},{key:"getExternalcontactsScanOrganizationsDivisionviewsAll",value:function getExternalcontactsScanOrganizationsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6734
+ * Scan for relationships
6735
+ *
6736
+ * @param {Object} opts Optional parameters
6737
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
6738
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6739
+ * @param {String} opts.divisionId The division to scan over (default to *)
6740
+ */},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6717
6741
  * Scan for relationships
6718
6742
  *
6719
6743
  * @param {Object} opts Optional parameters
6720
6744
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
6721
6745
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
6722
- */},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6746
+ * getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6747
+ */},{key:"getExternalcontactsScanRelationshipsDivisionviewsAll",value:function getExternalcontactsScanRelationshipsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6723
6748
  * Claim or release identifiers for a contact
6724
6749
  *
6725
6750
  * @param {String} contactId ExternalContact ID
@@ -6737,6 +6762,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6737
6762
  * @param {Object} body Contacts
6738
6763
  */},{key:"postExternalcontactsBulkContactsAdd",value:function postExternalcontactsBulkContactsAdd(body){// verify the required parameter 'body' is set
6739
6764
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsAdd';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6765
+ * Bulk fetch contacts across divisions
6766
+ *
6767
+ * @param {Object} body Contact ids
6768
+ * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6769
+ */},{key:"postExternalcontactsBulkContactsDivisionviews",value:function postExternalcontactsBulkContactsDivisionviews(body){// verify the required parameter 'body' is set
6770
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6740
6771
  * Bulk remove contacts
6741
6772
  *
6742
6773
  * @param {Object} body Contact ids
@@ -6782,6 +6813,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6782
6813
  * @param {Object} body Organizations
6783
6814
  */},{key:"postExternalcontactsBulkOrganizationsAdd",value:function postExternalcontactsBulkOrganizationsAdd(body){// verify the required parameter 'body' is set
6784
6815
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsAdd';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6816
+ * Bulk fetch organizations across divisions
6817
+ *
6818
+ * @param {Object} body Organizations ids
6819
+ * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6820
+ */},{key:"postExternalcontactsBulkOrganizationsDivisionviews",value:function postExternalcontactsBulkOrganizationsDivisionviews(body){// verify the required parameter 'body' is set
6821
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6785
6822
  * Bulk remove organizations
6786
6823
  *
6787
6824
  * @param {Object} body Organization ids
@@ -6996,7 +7033,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6996
7033
  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(){/**
6997
7034
  * Fax service.
6998
7035
  * @module purecloud-platform-client-v2/api/FaxApi
6999
- * @version 216.0.0
7036
+ * @version 217.0.0
7000
7037
  *//**
7001
7038
  * Constructs a new FaxApi.
7002
7039
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -7045,7 +7082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7045
7082
  */},{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(){/**
7046
7083
  * Flows service.
7047
7084
  * @module purecloud-platform-client-v2/api/FlowsApi
7048
- * @version 216.0.0
7085
+ * @version 217.0.0
7049
7086
  *//**
7050
7087
  * Constructs a new FlowsApi.
7051
7088
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -7093,7 +7130,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7093
7130
  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(){/**
7094
7131
  * Gamification service.
7095
7132
  * @module purecloud-platform-client-v2/api/GamificationApi
7096
- * @version 216.0.0
7133
+ * @version 217.0.0
7097
7134
  *//**
7098
7135
  * Constructs a new GamificationApi.
7099
7136
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -7652,7 +7689,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7652
7689
  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(){/**
7653
7690
  * GeneralDataProtectionRegulation service.
7654
7691
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
7655
- * @version 216.0.0
7692
+ * @version 217.0.0
7656
7693
  *//**
7657
7694
  * Constructs a new GeneralDataProtectionRegulationApi.
7658
7695
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -7687,7 +7724,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7687
7724
  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(){/**
7688
7725
  * Geolocation service.
7689
7726
  * @module purecloud-platform-client-v2/api/GeolocationApi
7690
- * @version 216.0.0
7727
+ * @version 217.0.0
7691
7728
  *//**
7692
7729
  * Constructs a new GeolocationApi.
7693
7730
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7721,7 +7758,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7721
7758
  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(){/**
7722
7759
  * Greetings service.
7723
7760
  * @module purecloud-platform-client-v2/api/GreetingsApi
7724
- * @version 216.0.0
7761
+ * @version 217.0.0
7725
7762
  *//**
7726
7763
  * Constructs a new GreetingsApi.
7727
7764
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7828,7 +7865,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7828
7865
  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(){/**
7829
7866
  * Groups service.
7830
7867
  * @module purecloud-platform-client-v2/api/GroupsApi
7831
- * @version 216.0.0
7868
+ * @version 217.0.0
7832
7869
  *//**
7833
7870
  * Constructs a new GroupsApi.
7834
7871
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7961,7 +7998,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7961
7998
  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(){/**
7962
7999
  * IdentityProvider service.
7963
8000
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7964
- * @version 216.0.0
8001
+ * @version 217.0.0
7965
8002
  *//**
7966
8003
  * Constructs a new IdentityProviderApi.
7967
8004
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -8117,7 +8154,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8117
8154
  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(){/**
8118
8155
  * InfrastructureAsCode service.
8119
8156
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8120
- * @version 216.0.0
8157
+ * @version 217.0.0
8121
8158
  *//**
8122
8159
  * Constructs a new InfrastructureAsCodeApi.
8123
8160
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -8171,7 +8208,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
8171
8208
  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(){/**
8172
8209
  * Integrations service.
8173
8210
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8174
- * @version 216.0.0
8211
+ * @version 217.0.0
8175
8212
  *//**
8176
8213
  * Constructs a new IntegrationsApi.
8177
8214
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -8231,17 +8268,19 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
8231
8268
  * @param {String} actionId actionId
8232
8269
  * @param {Object} opts Optional parameters
8233
8270
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
8271
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
8234
8272
  * @param {Object} opts.includeConfig Return config in response. (default to false)
8235
8273
  */},{key:"getIntegrationsAction",value:function getIntegrationsAction(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
8236
- if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsAction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8274
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsAction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}','GET',{'actionId':actionId},{'expand':opts['expand'],'flatten':opts['flatten'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8237
8275
  * Retrieve a Draft
8238
8276
  *
8239
8277
  * @param {String} actionId actionId
8240
8278
  * @param {Object} opts Optional parameters
8241
8279
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
8280
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
8242
8281
  * @param {Object} opts.includeConfig Return config in response. (default to false)
8243
8282
  */},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
8244
- if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8283
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'flatten':opts['flatten'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8245
8284
  * Get draft function settings for Action
8246
8285
  *
8247
8286
  * @param {String} actionId actionId
@@ -8801,7 +8840,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8801
8840
  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(){/**
8802
8841
  * Journey service.
8803
8842
  * @module purecloud-platform-client-v2/api/JourneyApi
8804
- * @version 216.0.0
8843
+ * @version 217.0.0
8805
8844
  *//**
8806
8845
  * Constructs a new JourneyApi.
8807
8846
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -9281,7 +9320,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
9281
9320
  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(){/**
9282
9321
  * Knowledge service.
9283
9322
  * @module purecloud-platform-client-v2/api/KnowledgeApi
9284
- * @version 216.0.0
9323
+ * @version 217.0.0
9285
9324
  *//**
9286
9325
  * Constructs a new KnowledgeApi.
9287
9326
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -9738,7 +9777,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
9738
9777
  * @param {String} parseJobId Parse job ID
9739
9778
  * @param {Object} opts Optional parameters
9740
9779
  * @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
9741
- * getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9742
9780
  */},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
9743
9781
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
9744
9782
  if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9813,7 +9851,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
9813
9851
  *
9814
9852
  * @param {String} knowledgeBaseId Knowledge base ID
9815
9853
  * @param {String} jobId Upload job ID
9816
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9817
9854
  */},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
9818
9855
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
9819
9856
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9964,7 +10001,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9964
10001
  * @param {String} knowledgeBaseId Knowledge base ID
9965
10002
  * @param {String} parseJobId Parse job ID
9966
10003
  * @param {Object} body
9967
- * patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9968
10004
  */},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
9969
10005
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
9970
10006
  if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
@@ -10262,7 +10298,6 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
10262
10298
  * @param {String} knowledgeBaseId Knowledge base ID
10263
10299
  * @param {String} parseJobId Parse job ID
10264
10300
  * @param {Object} body
10265
- * postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10266
10301
  */},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
10267
10302
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
10268
10303
  if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
@@ -10271,7 +10306,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10271
10306
  *
10272
10307
  * @param {String} knowledgeBaseId Knowledge base ID
10273
10308
  * @param {Object} body
10274
- * postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10275
10309
  */},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
10276
10310
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
10277
10311
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10294,9 +10328,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10294
10328
  *
10295
10329
  * @param {String} knowledgeBaseId Knowledge base ID
10296
10330
  * @param {String} sourceId Source ID
10297
- */},{key:"postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
10331
+ * @param {Object} opts Optional parameters
10332
+ * @param {Object} opts.body
10333
+ */},{key:"postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
10298
10334
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}// verify the required parameter 'sourceId' is set
10299
- if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10335
+ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
10300
10336
  * Create ServiceNow Knowledge integration source
10301
10337
  *
10302
10338
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -10308,9 +10344,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10308
10344
  *
10309
10345
  * @param {String} knowledgeBaseId Knowledge base ID
10310
10346
  * @param {String} sourceId Source ID
10311
- */},{key:"postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
10347
+ * @param {Object} opts Optional parameters
10348
+ * @param {Object} opts.body
10349
+ */},{key:"postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
10312
10350
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}// verify the required parameter 'sourceId' is set
10313
- if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10351
+ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
10314
10352
  * Create synchronization job
10315
10353
  *
10316
10354
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -10322,7 +10360,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10322
10360
  *
10323
10361
  * @param {String} knowledgeBaseId Knowledge base ID
10324
10362
  * @param {Object} body uploadRequest
10325
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10326
10363
  */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
10327
10364
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
10328
10365
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10351,7 +10388,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
10351
10388
  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(){/**
10352
10389
  * LanguageUnderstanding service.
10353
10390
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
10354
- * @version 216.0.0
10391
+ * @version 217.0.0
10355
10392
  *//**
10356
10393
  * Constructs a new LanguageUnderstandingApi.
10357
10394
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -10610,7 +10647,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
10610
10647
  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(){/**
10611
10648
  * Languages service.
10612
10649
  * @module purecloud-platform-client-v2/api/LanguagesApi
10613
- * @version 216.0.0
10650
+ * @version 217.0.0
10614
10651
  *//**
10615
10652
  * Constructs a new LanguagesApi.
10616
10653
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -10665,7 +10702,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10665
10702
  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(){/**
10666
10703
  * Learning service.
10667
10704
  * @module purecloud-platform-client-v2/api/LearningApi
10668
- * @version 216.0.0
10705
+ * @version 217.0.0
10669
10706
  *//**
10670
10707
  * Constructs a new LearningApi.
10671
10708
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -10936,7 +10973,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
10936
10973
  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(){/**
10937
10974
  * License service.
10938
10975
  * @module purecloud-platform-client-v2/api/LicenseApi
10939
- * @version 216.0.0
10976
+ * @version 217.0.0
10940
10977
  *//**
10941
10978
  * Constructs a new LicenseApi.
10942
10979
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -10990,7 +11027,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
10990
11027
  */},{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(){/**
10991
11028
  * Locations service.
10992
11029
  * @module purecloud-platform-client-v2/api/LocationsApi
10993
- * @version 216.0.0
11030
+ * @version 217.0.0
10994
11031
  *//**
10995
11032
  * Constructs a new LocationsApi.
10996
11033
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -11049,7 +11086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11049
11086
  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(){/**
11050
11087
  * LogCapture service.
11051
11088
  * @module purecloud-platform-client-v2/api/LogCaptureApi
11052
- * @version 216.0.0
11089
+ * @version 217.0.0
11053
11090
  *//**
11054
11091
  * Constructs a new LogCaptureApi.
11055
11092
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -11099,7 +11136,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
11099
11136
  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(){/**
11100
11137
  * Messaging service.
11101
11138
  * @module purecloud-platform-client-v2/api/MessagingApi
11102
- * @version 216.0.0
11139
+ * @version 217.0.0
11103
11140
  *//**
11104
11141
  * Constructs a new MessagingApi.
11105
11142
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -11189,7 +11226,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11189
11226
  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(){/**
11190
11227
  * MobileDevices service.
11191
11228
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
11192
- * @version 216.0.0
11229
+ * @version 217.0.0
11193
11230
  *//**
11194
11231
  * Constructs a new MobileDevicesApi.
11195
11232
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -11228,7 +11265,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11228
11265
  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(){/**
11229
11266
  * Notifications service.
11230
11267
  * @module purecloud-platform-client-v2/api/NotificationsApi
11231
- * @version 216.0.0
11268
+ * @version 217.0.0
11232
11269
  *//**
11233
11270
  * Constructs a new NotificationsApi.
11234
11271
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -11285,7 +11322,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
11285
11322
  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(){/**
11286
11323
  * OAuth service.
11287
11324
  * @module purecloud-platform-client-v2/api/OAuthApi
11288
- * @version 216.0.0
11325
+ * @version 217.0.0
11289
11326
  *//**
11290
11327
  * Constructs a new OAuthApi.
11291
11328
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -11370,7 +11407,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
11370
11407
  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(){/**
11371
11408
  * Objects service.
11372
11409
  * @module purecloud-platform-client-v2/api/ObjectsApi
11373
- * @version 216.0.0
11410
+ * @version 217.0.0
11374
11411
  *//**
11375
11412
  * Constructs a new ObjectsApi.
11376
11413
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -11382,7 +11419,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11382
11419
  *
11383
11420
  * @param {String} divisionId Division ID
11384
11421
  * @param {Object} opts Optional parameters
11385
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
11422
+ * @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
11386
11423
  */return _createClass(ObjectsApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
11387
11424
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11388
11425
  * Returns an authorization division.
@@ -11423,10 +11460,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11423
11460
  * Recreate a previously deleted division.
11424
11461
  *
11425
11462
  * @param {String} divisionId Division ID
11426
- * @param {Object} opts Optional parameters
11427
- * @param {Object} opts.body Recreated division data
11428
- */},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
11429
- if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
11463
+ * @param {Object} body Recreated division data
11464
+ */},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,body){// verify the required parameter 'divisionId' is set
11465
+ if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}// verify the required parameter 'body' is set
11466
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11430
11467
  * Create a division.
11431
11468
  *
11432
11469
  * @param {Object} body Division
@@ -11441,7 +11478,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
11441
11478
  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(){/**
11442
11479
  * OperationalEvents service.
11443
11480
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
11444
- * @version 216.0.0
11481
+ * @version 217.0.0
11445
11482
  *//**
11446
11483
  * Constructs a new OperationalEventsApi.
11447
11484
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -11472,7 +11509,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
11472
11509
  */},{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(){/**
11473
11510
  * Organization service.
11474
11511
  * @module purecloud-platform-client-v2/api/OrganizationApi
11475
- * @version 216.0.0
11512
+ * @version 217.0.0
11476
11513
  *//**
11477
11514
  * Constructs a new OrganizationApi.
11478
11515
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -11529,6 +11566,7 @@ if(namespaceName===undefined||namespaceName===null){throw'Missing the required p
11529
11566
  * @param {String} opts.cursor Cursor provided when retrieving the last page
11530
11567
  * @param {String} opts.entityId entity id of the count
11531
11568
  * @param {String} opts.userId userid of the count
11569
+ * @deprecated
11532
11570
  */},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
11533
11571
  if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/counts','GET',{'namespaceName':namespaceName},{'cursor':opts['cursor'],'entityId':opts['entityId'],'userId':opts['userId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11534
11572
  * Get the default limits in a namespace for an organization
@@ -11544,6 +11582,7 @@ if(namespaceName===undefined||namespaceName===null){throw'Missing the required p
11544
11582
  * @param {String} opts.entityId entity id of the count
11545
11583
  * @param {String} opts.userId userid of the count
11546
11584
  * @param {String} opts.cursor Cursor provided when retrieving the last page
11585
+ * @deprecated
11547
11586
  */},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
11548
11587
  if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
11549
11588
  if(limitName===undefined||limitName===null){throw'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts','GET',{'namespaceName':namespaceName,'limitName':limitName},{'entityId':opts['entityId'],'userId':opts['userId'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -11597,7 +11636,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11597
11636
  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(){/**
11598
11637
  * OrganizationAuthorization service.
11599
11638
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
11600
- * @version 216.0.0
11639
+ * @version 217.0.0
11601
11640
  *//**
11602
11641
  * Constructs a new OrganizationAuthorizationApi.
11603
11642
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -11931,7 +11970,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
11931
11970
  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(){/**
11932
11971
  * Outbound service.
11933
11972
  * @module purecloud-platform-client-v2/api/OutboundApi
11934
- * @version 216.0.0
11973
+ * @version 217.0.0
11935
11974
  *//**
11936
11975
  * Constructs a new OutboundApi.
11937
11976
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -12662,8 +12701,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12662
12701
  * Update the outbound settings for this organization
12663
12702
  *
12664
12703
  * @param {Object} body outboundSettings
12665
- */},{key:"patchOutboundSettings",value:function patchOutboundSettings(body){// verify the required parameter 'body' is set
12666
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundSettings';}return this.apiClient.callApi('/api/v2/outbound/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12704
+ * @param {Object} opts Optional parameters
12705
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
12706
+ */},{key:"patchOutboundSettings",value:function patchOutboundSettings(body,opts){opts=opts||{};// verify the required parameter 'body' is set
12707
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundSettings';}return this.apiClient.callApi('/api/v2/outbound/settings','PATCH',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12667
12708
  * Create attempt limits
12668
12709
  *
12669
12710
  * @param {Object} body AttemptLimits
@@ -12710,8 +12751,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12710
12751
  * Create a campaign.
12711
12752
  *
12712
12753
  * @param {Object} body Campaign
12713
- */},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body){// verify the required parameter 'body' is set
12714
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12754
+ * @param {Object} opts Optional parameters
12755
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
12756
+ */},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body,opts){opts=opts||{};// verify the required parameter 'body' is set
12757
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12715
12758
  * Get progress for a list of campaigns
12716
12759
  *
12717
12760
  * @param {Array.<String>} body Campaign IDs
@@ -12909,9 +12952,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12909
12952
  *
12910
12953
  * @param {String} campaignId Campaign ID
12911
12954
  * @param {Object} body Campaign
12912
- */},{key:"putOutboundCampaign",value:function putOutboundCampaign(campaignId,body){// verify the required parameter 'campaignId' is set
12955
+ * @param {Object} opts Optional parameters
12956
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
12957
+ */},{key:"putOutboundCampaign",value:function putOutboundCampaign(campaignId,body,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
12913
12958
  if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling putOutboundCampaign';}// verify the required parameter 'body' is set
12914
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PUT',{'campaignId':campaignId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12959
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PUT',{'campaignId':campaignId},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12915
12960
  * Send notification that an agent's state changed
12916
12961
  * New agent state.
12917
12962
  * @param {String} campaignId Campaign ID
@@ -13042,7 +13087,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13042
13087
  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(){/**
13043
13088
  * Presence service.
13044
13089
  * @module purecloud-platform-client-v2/api/PresenceApi
13045
- * @version 216.0.0
13090
+ * @version 217.0.0
13046
13091
  *//**
13047
13092
  * Constructs a new PresenceApi.
13048
13093
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -13215,7 +13260,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13215
13260
  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(){/**
13216
13261
  * ProcessAutomation service.
13217
13262
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
13218
- * @version 216.0.0
13263
+ * @version 217.0.0
13219
13264
  *//**
13220
13265
  * Constructs a new ProcessAutomationApi.
13221
13266
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -13278,7 +13323,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
13278
13323
  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(){/**
13279
13324
  * Quality service.
13280
13325
  * @module purecloud-platform-client-v2/api/QualityApi
13281
- * @version 216.0.0
13326
+ * @version 217.0.0
13282
13327
  *//**
13283
13328
  * Constructs a new QualityApi.
13284
13329
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -13757,7 +13802,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
13757
13802
  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(){/**
13758
13803
  * Recording service.
13759
13804
  * @module purecloud-platform-client-v2/api/RecordingApi
13760
- * @version 216.0.0
13805
+ * @version 217.0.0
13761
13806
  *//**
13762
13807
  * Constructs a new RecordingApi.
13763
13808
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13815,7 +13860,7 @@ if(policyId===undefined||policyId===null){throw'Missing the required parameter "
13815
13860
  * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
13816
13861
  * @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
13817
13862
  * @param {String} opts.fileName the name of the downloaded fileName
13818
- * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
13863
+ * @param {String} opts.locale The locale for the requested file when downloading or for redacting sensitive information in requested files, as an ISO 639-1 code
13819
13864
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
13820
13865
  */},{key:"getConversationRecording",value:function getConversationRecording(conversationId,recordingId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
13821
13866
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecording';}// verify the required parameter 'recordingId' is set
@@ -13855,8 +13900,9 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
13855
13900
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
13856
13901
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
13857
13902
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
13903
+ * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
13858
13904
  */},{key:"getConversationRecordings",value:function getConversationRecordings(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
13859
- if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13905
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13860
13906
  * Gets a single orphan recording
13861
13907
  *
13862
13908
  * @param {String} orphanId Orphan ID
@@ -13995,13 +14041,6 @@ if(reportId===undefined||reportId===null){throw'Missing the required parameter "
13995
14041
  * @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
13996
14042
  */},{key:"getRecordingsRetentionQuery",value:function getRecordingsRetentionQuery(retentionThresholdDays,opts){opts=opts||{};// verify the required parameter 'retentionThresholdDays' is set
13997
14043
  if(retentionThresholdDays===undefined||retentionThresholdDays===null){throw'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';}return this.apiClient.callApi('/api/v2/recordings/retention/query','GET',{},{'retentionThresholdDays':retentionThresholdDays,'cursor':opts['cursor'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13998
- * Retrieves a paged listing of screen recording sessions
13999
- * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
14000
- * @param {Object} opts Optional parameters
14001
- * @param {Number} opts.pageSize Page size (default to 25)
14002
- * @param {Number} opts.pageNumber Page number (default to 1)
14003
- * @deprecated
14004
- */},{key:"getRecordingsScreensessions",value:function getRecordingsScreensessions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/screensessions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14005
14044
  * Retrieves an object containing the total number of concurrent active screen recordings
14006
14045
  *
14007
14046
  */},{key:"getRecordingsScreensessionsDetails",value:function getRecordingsScreensessionsDetails(){return this.apiClient.callApi('/api/v2/recordings/screensessions/details','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -14161,7 +14200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14161
14200
  */},{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(){/**
14162
14201
  * ResponseManagement service.
14163
14202
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
14164
- * @version 216.0.0
14203
+ * @version 217.0.0
14165
14204
  *//**
14166
14205
  * Constructs a new ResponseManagementApi.
14167
14206
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -14282,7 +14321,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
14282
14321
  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(){/**
14283
14322
  * Routing service.
14284
14323
  * @module purecloud-platform-client-v2/api/RoutingApi
14285
- * @version 216.0.0
14324
+ * @version 217.0.0
14286
14325
  *//**
14287
14326
  * Constructs a new RoutingApi.
14288
14327
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -14466,6 +14505,14 @@ if(domainId===undefined||domainId===null){throw'Missing the required parameter "
14466
14505
  */},{key:"getRoutingEmailDomainRoute",value:function getRoutingEmailDomainRoute(domainName,routeId){// verify the required parameter 'domainName' is set
14467
14506
  if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';}// verify the required parameter 'routeId' is set
14468
14507
  if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRoute';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}','GET',{'domainName':domainName,'routeId':routeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14508
+ * Get a route identity resolution setting.
14509
+ *
14510
+ * @param {String} domainName email domain
14511
+ * @param {String} routeId route ID
14512
+ * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14513
+ */},{key:"getRoutingEmailDomainRouteIdentityresolution",value:function getRoutingEmailDomainRouteIdentityresolution(domainName,routeId){// verify the required parameter 'domainName' is set
14514
+ if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'routeId' is set
14515
+ if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution','GET',{'domainName':domainName,'routeId':routeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14469
14516
  * Get routes
14470
14517
  *
14471
14518
  * @param {String} domainName email domain
@@ -14596,6 +14643,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
14596
14643
  * @param {String} opts.conversationId conversationId
14597
14644
  */},{key:"getRoutingQueueEstimatedwaittime",value:function getRoutingQueueEstimatedwaittime(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
14598
14645
  if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/estimatedwaittime','GET',{'queueId':queueId},{'conversationId':opts['conversationId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14646
+ * Get Queue IdentityResolution Settings.
14647
+ *
14648
+ * @param {String} queueId Queue ID
14649
+ * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14650
+ */},{key:"getRoutingQueueIdentityresolution",value:function getRoutingQueueIdentityresolution(queueId){// verify the required parameter 'queueId' is set
14651
+ if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/identityresolution','GET',{'queueId':queueId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14599
14652
  * Get Estimated Wait Time
14600
14653
  *
14601
14654
  * @param {String} queueId queueId
@@ -14764,6 +14817,12 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
14764
14817
  */},{key:"getRoutingSmsAvailablephonenumbers",value:function getRoutingSmsAvailablephonenumbers(countryCode,phoneNumberType,opts){opts=opts||{};// verify the required parameter 'countryCode' is set
14765
14818
  if(countryCode===undefined||countryCode===null){throw'Missing the required parameter "countryCode" when calling getRoutingSmsAvailablephonenumbers';}// verify the required parameter 'phoneNumberType' is set
14766
14819
  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']);}/**
14820
+ * Get a SMS identity resolution settings.
14821
+ *
14822
+ * @param {String} addressId Address ID
14823
+ * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14824
+ */},{key:"getRoutingSmsIdentityresolutionPhonenumber",value:function getRoutingSmsIdentityresolutionPhonenumber(addressId){// verify the required parameter 'addressId' is set
14825
+ if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','GET',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14767
14826
  * Get a phone number provisioned for SMS.
14768
14827
  *
14769
14828
  * @param {String} phoneNumberId phone number
@@ -15201,6 +15260,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15201
15260
  if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';}// verify the required parameter 'routeId' is set
15202
15261
  if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';}// verify the required parameter 'body' is set
15203
15262
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingEmailDomainRoute';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}','PUT',{'domainName':domainName,'routeId':routeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15263
+ * Update identity resolution settings for a route.
15264
+ *
15265
+ * @param {String} domainName email domain
15266
+ * @param {String} routeId route ID
15267
+ * @param {Object} body
15268
+ * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15269
+ */},{key:"putRoutingEmailDomainRouteIdentityresolution",value:function putRoutingEmailDomainRouteIdentityresolution(domainName,routeId,body){// verify the required parameter 'domainName' is set
15270
+ if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'routeId' is set
15271
+ if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'body' is set
15272
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution','PUT',{'domainName':domainName,'routeId':routeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15204
15273
  * Request an activation status (cname + dkim) update of an outbound domain
15205
15274
  *
15206
15275
  * @param {String} domainId domain ID
@@ -15220,6 +15289,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15220
15289
  */},{key:"putRoutingQueue",value:function putRoutingQueue(queueId,body){// verify the required parameter 'queueId' is set
15221
15290
  if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling putRoutingQueue';}// verify the required parameter 'body' is set
15222
15291
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingQueue';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}','PUT',{'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15292
+ * Update Queue IdentityResolution Settings.
15293
+ *
15294
+ * @param {String} queueId Queue ID
15295
+ * @param {Object} body
15296
+ * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15297
+ */},{key:"putRoutingQueueIdentityresolution",value:function putRoutingQueueIdentityresolution(queueId,body){// verify the required parameter 'queueId' is set
15298
+ if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';}// verify the required parameter 'body' is set
15299
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/identityresolution','PUT',{'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15223
15300
  * Update an organization's routing settings
15224
15301
  *
15225
15302
  * @param {Object} body Organization Settings
@@ -15230,6 +15307,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15230
15307
  * @param {Object} body Organization Settings
15231
15308
  */},{key:"putRoutingSettingsTranscription",value:function putRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
15232
15309
  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']);}/**
15310
+ * Update an SMS identity resolution settings.
15311
+ *
15312
+ * @param {String} addressId Address ID
15313
+ * @param {Object} body
15314
+ * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15315
+ */},{key:"putRoutingSmsIdentityresolutionPhonenumber",value:function putRoutingSmsIdentityresolutionPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
15316
+ if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';}// verify the required parameter 'body' is set
15317
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','PUT',{'addressId':addressId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15233
15318
  * Update the user's Direct Routing Backup settings.
15234
15319
  *
15235
15320
  * @param {String} userId User ID
@@ -15281,7 +15366,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15281
15366
  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(){/**
15282
15367
  * SCIM service.
15283
15368
  * @module purecloud-platform-client-v2/api/SCIMApi
15284
- * @version 216.0.0
15369
+ * @version 217.0.0
15285
15370
  *//**
15286
15371
  * Constructs a new SCIMApi.
15287
15372
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -15506,7 +15591,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15506
15591
  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(){/**
15507
15592
  * ScreenRecording service.
15508
15593
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
15509
- * @version 216.0.0
15594
+ * @version 217.0.0
15510
15595
  *//**
15511
15596
  * Constructs a new ScreenRecordingApi.
15512
15597
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -15521,7 +15606,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15521
15606
  */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(){/**
15522
15607
  * Scripts service.
15523
15608
  * @module purecloud-platform-client-v2/api/ScriptsApi
15524
- * @version 216.0.0
15609
+ * @version 217.0.0
15525
15610
  *//**
15526
15611
  * Constructs a new ScriptsApi.
15527
15612
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -15657,7 +15742,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
15657
15742
  */},{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(){/**
15658
15743
  * Search service.
15659
15744
  * @module purecloud-platform-client-v2/api/SearchApi
15660
- * @version 216.0.0
15745
+ * @version 217.0.0
15661
15746
  *//**
15662
15747
  * Constructs a new SearchApi.
15663
15748
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -15829,7 +15914,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15829
15914
  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(){/**
15830
15915
  * Settings service.
15831
15916
  * @module purecloud-platform-client-v2/api/SettingsApi
15832
- * @version 216.0.0
15917
+ * @version 217.0.0
15833
15918
  *//**
15834
15919
  * Constructs a new SettingsApi.
15835
15920
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -15879,7 +15964,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
15879
15964
  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(){/**
15880
15965
  * SocialMedia service.
15881
15966
  * @module purecloud-platform-client-v2/api/SocialMediaApi
15882
- * @version 216.0.0
15967
+ * @version 217.0.0
15883
15968
  *//**
15884
15969
  * Constructs a new SocialMediaApi.
15885
15970
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -16144,7 +16229,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16144
16229
  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(){/**
16145
16230
  * SpeechTextAnalytics service.
16146
16231
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
16147
- * @version 216.0.0
16232
+ * @version 217.0.0
16148
16233
  *//**
16149
16234
  * Constructs a new SpeechTextAnalyticsApi.
16150
16235
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -16467,7 +16552,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16467
16552
  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(){/**
16468
16553
  * Stations service.
16469
16554
  * @module purecloud-platform-client-v2/api/StationsApi
16470
- * @version 216.0.0
16555
+ * @version 217.0.0
16471
16556
  *//**
16472
16557
  * Constructs a new StationsApi.
16473
16558
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -16499,7 +16584,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
16499
16584
  */},{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(){/**
16500
16585
  * Suggest service.
16501
16586
  * @module purecloud-platform-client-v2/api/SuggestApi
16502
- * @version 216.0.0
16587
+ * @version 217.0.0
16503
16588
  *//**
16504
16589
  * Constructs a new SuggestApi.
16505
16590
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -16539,7 +16624,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16539
16624
  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(){/**
16540
16625
  * TaskManagement service.
16541
16626
  * @module purecloud-platform-client-v2/api/TaskManagementApi
16542
- * @version 216.0.0
16627
+ * @version 217.0.0
16543
16628
  *//**
16544
16629
  * Constructs a new TaskManagementApi.
16545
16630
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -17045,7 +17130,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
17045
17130
  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(){/**
17046
17131
  * Teams service.
17047
17132
  * @module purecloud-platform-client-v2/api/TeamsApi
17048
- * @version 216.0.0
17133
+ * @version 217.0.0
17049
17134
  *//**
17050
17135
  * Constructs a new TeamsApi.
17051
17136
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -17125,7 +17210,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17125
17210
  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(){/**
17126
17211
  * Telephony service.
17127
17212
  * @module purecloud-platform-client-v2/api/TelephonyApi
17128
- * @version 216.0.0
17213
+ * @version 217.0.0
17129
17214
  *//**
17130
17215
  * Constructs a new TelephonyApi.
17131
17216
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -17172,7 +17257,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
17172
17257
  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(){/**
17173
17258
  * TelephonyProvidersEdge service.
17174
17259
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
17175
- * @version 216.0.0
17260
+ * @version 217.0.0
17176
17261
  *//**
17177
17262
  * Constructs a new TelephonyProvidersEdgeApi.
17178
17263
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -18007,7 +18092,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
18007
18092
  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(){/**
18008
18093
  * Textbots service.
18009
18094
  * @module purecloud-platform-client-v2/api/TextbotsApi
18010
- * @version 216.0.0
18095
+ * @version 217.0.0
18011
18096
  *//**
18012
18097
  * Constructs a new TextbotsApi.
18013
18098
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -18042,7 +18127,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
18042
18127
  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(){/**
18043
18128
  * Tokens service.
18044
18129
  * @module purecloud-platform-client-v2/api/TokensApi
18045
- * @version 216.0.0
18130
+ * @version 217.0.0
18046
18131
  *//**
18047
18132
  * Constructs a new TokensApi.
18048
18133
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -18076,7 +18161,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18076
18161
  */},{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(){/**
18077
18162
  * Uploads service.
18078
18163
  * @module purecloud-platform-client-v2/api/UploadsApi
18079
- * @version 216.0.0
18164
+ * @version 217.0.0
18080
18165
  *//**
18081
18166
  * Constructs a new UploadsApi.
18082
18167
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -18088,7 +18173,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18088
18173
  *
18089
18174
  * @param {String} knowledgeBaseId Knowledge base ID
18090
18175
  * @param {String} jobId Upload job ID
18091
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18092
18176
  */return _createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
18093
18177
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
18094
18178
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -18108,7 +18192,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18108
18192
  *
18109
18193
  * @param {String} knowledgeBaseId Knowledge base ID
18110
18194
  * @param {Object} body uploadRequest
18111
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18112
18195
  */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
18113
18196
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
18114
18197
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -18141,7 +18224,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18141
18224
  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(){/**
18142
18225
  * Usage service.
18143
18226
  * @module purecloud-platform-client-v2/api/UsageApi
18144
- * @version 216.0.0
18227
+ * @version 217.0.0
18145
18228
  *//**
18146
18229
  * Constructs a new UsageApi.
18147
18230
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -18195,7 +18278,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18195
18278
  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(){/**
18196
18279
  * UserRecordings service.
18197
18280
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
18198
- * @version 216.0.0
18281
+ * @version 217.0.0
18199
18282
  *//**
18200
18283
  * Constructs a new UserRecordingsApi.
18201
18284
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -18252,7 +18335,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
18252
18335
  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(){/**
18253
18336
  * Users service.
18254
18337
  * @module purecloud-platform-client-v2/api/UsersApi
18255
- * @version 216.0.0
18338
+ * @version 217.0.0
18256
18339
  *//**
18257
18340
  * Constructs a new UsersApi.
18258
18341
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -18979,7 +19062,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
18979
19062
  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(){/**
18980
19063
  * Utilities service.
18981
19064
  * @module purecloud-platform-client-v2/api/UtilitiesApi
18982
- * @version 216.0.0
19065
+ * @version 217.0.0
18983
19066
  *//**
18984
19067
  * Constructs a new UtilitiesApi.
18985
19068
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -19006,7 +19089,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19006
19089
  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(){/**
19007
19090
  * Voicemail service.
19008
19091
  * @module purecloud-platform-client-v2/api/VoicemailApi
19009
- * @version 216.0.0
19092
+ * @version 217.0.0
19010
19093
  *//**
19011
19094
  * Constructs a new VoicemailApi.
19012
19095
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -19168,7 +19251,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19168
19251
  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(){/**
19169
19252
  * WebChat service.
19170
19253
  * @module purecloud-platform-client-v2/api/WebChatApi
19171
- * @version 216.0.0
19254
+ * @version 217.0.0
19172
19255
  *//**
19173
19256
  * Constructs a new WebChatApi.
19174
19257
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -19303,7 +19386,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19303
19386
  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(){/**
19304
19387
  * WebDeployments service.
19305
19388
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
19306
- * @version 216.0.0
19389
+ * @version 217.0.0
19307
19390
  *//**
19308
19391
  * Constructs a new WebDeploymentsApi.
19309
19392
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -19378,6 +19461,12 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
19378
19461
  * @param {Array.<String>} opts.expand Expand instructions for the return value
19379
19462
  */},{key:"getWebdeploymentsDeploymentConfigurations",value:function getWebdeploymentsDeploymentConfigurations(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
19380
19463
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/configurations','GET',{'deploymentId':deploymentId},{'type':opts['type'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19464
+ * Get a deployment identity resolution setting.
19465
+ *
19466
+ * @param {String} deploymentId The deployment ID
19467
+ * getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19468
+ */},{key:"getWebdeploymentsDeploymentIdentityresolution",value:function getWebdeploymentsDeploymentIdentityresolution(deploymentId){// verify the required parameter 'deploymentId' is set
19469
+ if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','GET',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19381
19470
  * Get deployments
19382
19471
  *
19383
19472
  * @param {Object} opts Optional parameters
@@ -19421,10 +19510,18 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
19421
19510
  * @param {Object} deployment
19422
19511
  */},{key:"putWebdeploymentsDeployment",value:function putWebdeploymentsDeployment(deploymentId,deployment){// verify the required parameter 'deploymentId' is set
19423
19512
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';}// verify the required parameter 'deployment' is set
19424
- 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(){/**
19513
+ 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']);}/**
19514
+ * Update identity resolution settings for a deployment.
19515
+ *
19516
+ * @param {String} deploymentId The deployment ID
19517
+ * @param {Object} body
19518
+ * putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19519
+ */},{key:"putWebdeploymentsDeploymentIdentityresolution",value:function putWebdeploymentsDeploymentIdentityresolution(deploymentId,body){// verify the required parameter 'deploymentId' is set
19520
+ if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';}// verify the required parameter 'body' is set
19521
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
19425
19522
  * WebMessaging service.
19426
19523
  * @module purecloud-platform-client-v2/api/WebMessagingApi
19427
- * @version 216.0.0
19524
+ * @version 217.0.0
19428
19525
  *//**
19429
19526
  * Constructs a new WebMessagingApi.
19430
19527
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -19440,7 +19537,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
19440
19537
  */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(){/**
19441
19538
  * Widgets service.
19442
19539
  * @module purecloud-platform-client-v2/api/WidgetsApi
19443
- * @version 216.0.0
19540
+ * @version 217.0.0
19444
19541
  *//**
19445
19542
  * Constructs a new WidgetsApi.
19446
19543
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -19475,7 +19572,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
19475
19572
  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(){/**
19476
19573
  * WorkforceManagement service.
19477
19574
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
19478
- * @version 216.0.0
19575
+ * @version 217.0.0
19479
19576
  *//**
19480
19577
  * Constructs a new WorkforceManagementApi.
19481
19578
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -21294,7 +21391,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
21294
21391
  * </pre>
21295
21392
  * </p>
21296
21393
  * @module purecloud-platform-client-v2/index
21297
- * @version 216.0.0
21394
+ * @version 217.0.0
21298
21395
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
21299
21396
  * The ApiClient constructor.
21300
21397
  * @property {module:purecloud-platform-client-v2/ApiClient}