purecloud-platform-client-v2 186.0.1 → 188.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1047 -185
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +367 -151
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +899 -240
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +26 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +4 -22
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +40 -12
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +106 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +263 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +3 -2
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +219 -4
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +50 -0
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -27
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +94 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -579,7 +579,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
579
579
  * @param {Function} encoder - A function that takes a value and returns a string.
580
580
  *
581
581
  * @returns {string} A stringified version of the rawValue.
582
- */function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){if(!hasJSONContentType){return data;}return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
582
+ */function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
583
583
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
584
584
  * timeout is not created.
585
585
  */timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*','Content-Type':undefined}}};utils$1.forEach(['delete','get','head','post','put','patch'],function(method){defaults.headers[method]={};});var defaults$1=defaults;// RawAxiosHeaders whose duplicates are ignored by node
@@ -734,7 +734,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,caseless
734
734
  function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
735
735
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
736
736
  function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
737
- function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.6";var validators$1={};// eslint-disable-next-line func-names
737
+ function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.7";var validators$1={};// eslint-disable-next-line func-names
738
738
  ['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={};/**
739
739
  * Transitional option validator
740
740
  *
@@ -766,9 +766,9 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
766
766
  * @param {?Object} config
767
767
  *
768
768
  * @returns {Promise} The Promise to be fulfilled
769
- */_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);dummy={};if(Error.captureStackTrace){Error.captureStackTrace(dummy);}else{dummy.stack=new Error().stack;}// slice off the Error: ... line
770
- dummy.stack=dummy.stack.replace(/^.+\n/,'');// match without the 2 top stack lines
771
- if(!_context.t0.stack.endsWith(dummy.stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+dummy.stack;}throw _context.t0;case 13:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){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
769
+ */_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
770
+ stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';if(!_context.t0.stack){_context.t0.stack=stack;// match without the 2 top stack lines
771
+ }else if(stack&&!String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+stack;}}throw _context.t0;case 10:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){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
772
772
  if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config=config,transitional=_config.transitional,paramsSerializer=_config.paramsSerializer,headers=_config.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.method
773
773
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
774
774
  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
@@ -847,7 +847,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
847
847
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
848
848
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
849
849
  * @module purecloud-platform-client-v2/ApiClient
850
- * @version 186.0.1
850
+ * @version 188.0.0
851
851
  */var ApiClient=/*#__PURE__*/function(){/**
852
852
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
853
853
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1159,7 +1159,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1159
1159
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
1160
1160
  * Alerting service.
1161
1161
  * @module purecloud-platform-client-v2/api/AlertingApi
1162
- * @version 186.0.1
1162
+ * @version 188.0.0
1163
1163
  */ /**
1164
1164
  * Constructs a new AlertingApi.
1165
1165
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1316,7 +1316,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1316
1316
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
1317
1317
  * Analytics service.
1318
1318
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1319
- * @version 186.0.1
1319
+ * @version 188.0.0
1320
1320
  */ /**
1321
1321
  * Constructs a new AnalyticsApi.
1322
1322
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1742,7 +1742,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1742
1742
  * Query for flow execution aggregates
1743
1743
  *
1744
1744
  * @param {Object} body query
1745
- * postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1746
1745
  */},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
1747
1746
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1748
1747
  * Query for flow activity observations
@@ -1798,6 +1797,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1798
1797
  * @param {Object} body query
1799
1798
  */},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
1800
1799
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1800
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
1801
+ *
1802
+ * @param {Object} body query
1803
+ */},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
1804
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1801
1805
  * Generate a view export request
1802
1806
  * This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
1803
1807
  * @param {Object} body ReportingExportJobRequest
@@ -1923,7 +1927,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
1923
1927
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
1924
1928
  * Architect service.
1925
1929
  * @module purecloud-platform-client-v2/api/ArchitectApi
1926
- * @version 186.0.1
1930
+ * @version 188.0.0
1927
1931
  */ /**
1928
1932
  * Constructs a new ArchitectApi.
1929
1933
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -2215,8 +2219,12 @@ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId"
2215
2219
  * Get specified user prompt
2216
2220
  *
2217
2221
  * @param {String} promptId Prompt ID
2218
- */},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId){// verify the required parameter 'promptId' is set
2219
- if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2222
+ * @param {Object} opts Optional parameters
2223
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
2224
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
2225
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
2226
+ */},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
2227
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2220
2228
  * Get generated prompt history
2221
2229
  *
2222
2230
  * @param {String} promptId Prompt ID
@@ -2255,7 +2263,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
2255
2263
  * @param {String} opts.nameOrDescription Name or description
2256
2264
  * @param {String} opts.sortBy Sort by (default to id)
2257
2265
  * @param {String} opts.sortOrder Sort order (default to asc)
2258
- */},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2266
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
2267
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
2268
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
2269
+ */},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2259
2270
  * Get a schedule by ID
2260
2271
  *
2261
2272
  * @param {String} scheduleId Schedule ID
@@ -2312,8 +2323,12 @@ if(scheduleGroupId===undefined||scheduleGroupId===null){throw'Missing the requir
2312
2323
  * Get a system prompt
2313
2324
  *
2314
2325
  * @param {String} promptId promptId
2315
- */},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId){// verify the required parameter 'promptId' is set
2316
- if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2326
+ * @param {Object} opts Optional parameters
2327
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
2328
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
2329
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
2330
+ */},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
2331
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2317
2332
  * Get generated prompt history
2318
2333
  *
2319
2334
  * @param {String} promptId promptId
@@ -2354,7 +2369,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
2354
2369
  * @param {String} opts.name Name
2355
2370
  * @param {String} opts.description Description
2356
2371
  * @param {String} opts.nameOrDescription Name or description
2357
- */},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2372
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
2373
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
2374
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
2375
+ */},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2358
2376
  * Get flow
2359
2377
  *
2360
2378
  * @param {String} flowId Flow ID
@@ -2845,9 +2863,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2845
2863
  * @param {Object} body query
2846
2864
  * @param {Object} opts Optional parameters
2847
2865
  * @param {Boolean} opts.indexOnly indexes only
2866
+ * @param {Number} opts.pageSize number of results to return (default to 50)
2848
2867
  * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2849
2868
  */},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2850
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2869
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2851
2870
  * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
2852
2871
  *
2853
2872
  */},{key:"postFlowsJobs",value:function postFlowsJobs(){return this.apiClient.callApi('/api/v2/flows/jobs','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -2955,7 +2974,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
2955
2974
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
2956
2975
  * Audit service.
2957
2976
  * @module purecloud-platform-client-v2/api/AuditApi
2958
- * @version 186.0.1
2977
+ * @version 188.0.0
2959
2978
  */ /**
2960
2979
  * Constructs a new AuditApi.
2961
2980
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -2997,7 +3016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2997
3016
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
2998
3017
  * Authorization service.
2999
3018
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3000
- * @version 186.0.1
3019
+ * @version 188.0.0
3001
3020
  */ /**
3002
3021
  * Constructs a new AuthorizationApi.
3003
3022
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3051,8 +3070,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
3051
3070
  * @param {String} opts.nextPage next page token
3052
3071
  * @param {String} opts.previousPage Previous page token
3053
3072
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
3073
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
3054
3074
  * @param {String} opts.name Search term to filter by division name
3055
- */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3075
+ */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3056
3076
  * Retrieve the home division for the organization.
3057
3077
  * Will not include object counts.
3058
3078
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3307,7 +3327,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3307
3327
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
3308
3328
  * Billing service.
3309
3329
  * @module purecloud-platform-client-v2/api/BillingApi
3310
- * @version 186.0.1
3330
+ * @version 188.0.0
3311
3331
  */ /**
3312
3332
  * Constructs a new BillingApi.
3313
3333
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3331,7 +3351,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3331
3351
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
3332
3352
  * CarrierServices service.
3333
3353
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3334
- * @version 186.0.1
3354
+ * @version 188.0.0
3335
3355
  */ /**
3336
3356
  * Constructs a new CarrierServicesApi.
3337
3357
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3351,7 +3371,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3351
3371
  */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
3352
3372
  * Chat service.
3353
3373
  * @module purecloud-platform-client-v2/api/ChatApi
3354
- * @version 186.0.1
3374
+ * @version 188.0.0
3355
3375
  */ /**
3356
3376
  * Constructs a new ChatApi.
3357
3377
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3415,18 +3435,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
3415
3435
  *
3416
3436
  * @param {String} roomJid roomJid
3417
3437
  * @param {Object} opts Optional parameters
3418
- * @param {Number} opts.pageSize The total page size requested (default to 25)
3419
- * @param {Number} opts.pageNumber The page number requested (default to 1)
3420
- * @param {String} opts.sortBy variable name requested to sort by
3421
- * @param {Array.<String>} opts.expand variable name requested by expand list
3422
- * @param {String} opts.nextPage next page token
3423
- * @param {String} opts.previousPage Previous page token
3424
3438
  * @param {String} opts.limit The maximum number of messages to retrieve
3425
3439
  * @param {String} opts.before The cutoff date for messages to retrieve
3426
3440
  * @param {String} opts.after The beginning date for messages to retrieve
3427
3441
  * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3428
3442
  */},{key:"getChatsRoomMessages",value:function getChatsRoomMessages(roomJid,opts){opts=opts||{};// verify the required parameter 'roomJid' is set
3429
- if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3443
+ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3430
3444
  * Get Chat Settings.
3431
3445
  *
3432
3446
  */},{key:"getChatsSettings",value:function getChatsSettings(){return this.apiClient.callApi('/api/v2/chats/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3434,18 +3448,12 @@ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "ro
3434
3448
  *
3435
3449
  * @param {String} threadId threadId
3436
3450
  * @param {Object} opts Optional parameters
3437
- * @param {Number} opts.pageSize The total page size requested (default to 25)
3438
- * @param {Number} opts.pageNumber The page number requested (default to 1)
3439
- * @param {String} opts.sortBy variable name requested to sort by
3440
- * @param {Array.<String>} opts.expand variable name requested by expand list
3441
- * @param {String} opts.nextPage next page token
3442
- * @param {String} opts.previousPage Previous page token
3443
3451
  * @param {String} opts.limit The maximum number of messages to retrieve
3444
3452
  * @param {String} opts.before The cutoff date for messages to retrieve
3445
3453
  * @param {String} opts.after The beginning date for messages to retrieve
3446
3454
  * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3447
3455
  */},{key:"getChatsThreadMessages",value:function getChatsThreadMessages(threadId,opts){opts=opts||{};// verify the required parameter 'threadId' is set
3448
- if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3456
+ if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3449
3457
  * Get messages by id(s) from a 1on1
3450
3458
  *
3451
3459
  * @param {String} userId userId
@@ -3458,18 +3466,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
3458
3466
  *
3459
3467
  * @param {String} userId userId
3460
3468
  * @param {Object} opts Optional parameters
3461
- * @param {Number} opts.pageSize The total page size requested (default to 25)
3462
- * @param {Number} opts.pageNumber The page number requested (default to 1)
3463
- * @param {String} opts.sortBy variable name requested to sort by
3464
- * @param {Array.<String>} opts.expand variable name requested by expand list
3465
- * @param {String} opts.nextPage next page token
3466
- * @param {String} opts.previousPage Previous page token
3467
3469
  * @param {String} opts.limit The maximum number of messages to retrieve
3468
3470
  * @param {String} opts.before The cutoff date for messages to retrieve
3469
3471
  * @param {String} opts.after The beginning date for messages to retrieve
3470
3472
  * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3471
3473
  */},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
3472
- if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3474
+ if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3473
3475
  * Get a user's chat settings
3474
3476
  *
3475
3477
  * @param {String} userId User ID
@@ -3562,7 +3564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3562
3564
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
3563
3565
  * Coaching service.
3564
3566
  * @module purecloud-platform-client-v2/api/CoachingApi
3565
- * @version 186.0.1
3567
+ * @version 188.0.0
3566
3568
  */ /**
3567
3569
  * Constructs a new CoachingApi.
3568
3570
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -3715,7 +3717,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3715
3717
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
3716
3718
  * ContentManagement service.
3717
3719
  * @module purecloud-platform-client-v2/api/ContentManagementApi
3718
- * @version 186.0.1
3720
+ * @version 188.0.0
3719
3721
  */ /**
3720
3722
  * Constructs a new ContentManagementApi.
3721
3723
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -3998,7 +4000,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
3998
4000
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
3999
4001
  * Conversations service.
4000
4002
  * @module purecloud-platform-client-v2/api/ConversationsApi
4001
- * @version 186.0.1
4003
+ * @version 188.0.0
4002
4004
  */ /**
4003
4005
  * Constructs a new ConversationsApi.
4004
4006
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4986,8 +4988,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4986
4988
  */},{key:"patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
4987
4989
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}// verify the required parameter 'body' is set
4988
4990
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4989
- * Update or activate a WhatsApp messaging integration
4990
- * The following steps are required in order to fully activate a WhatsApp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
4991
+ * Update a WhatsApp messaging integration
4992
+ *
4991
4993
  * @param {String} integrationId Integration ID
4992
4994
  * @param {Object} body WhatsAppIntegrationUpdateRequest
4993
4995
  */},{key:"patchConversationsMessagingIntegrationsWhatsappIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
@@ -5104,7 +5106,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5104
5106
  * @param {String} conversationId conversation ID
5105
5107
  * @param {String} participantId participant ID
5106
5108
  * @param {Object} body Transfer request
5107
- * postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5108
5109
  */},{key:"postConversationParticipantReplaceAgent",value:function postConversationParticipantReplaceAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5109
5110
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
5110
5111
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
@@ -5114,7 +5115,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5114
5115
  * @param {String} conversationId conversation ID
5115
5116
  * @param {String} participantId participant ID
5116
5117
  * @param {Object} body Transfer request
5117
- * postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5118
5118
  */},{key:"postConversationParticipantReplaceExternal",value:function postConversationParticipantReplaceExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5119
5119
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'participantId' is set
5120
5120
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'body' is set
@@ -5124,7 +5124,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5124
5124
  * @param {String} conversationId conversation ID
5125
5125
  * @param {String} participantId participant ID
5126
5126
  * @param {Object} body Transfer request
5127
- * postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5128
5127
  */},{key:"postConversationParticipantReplaceQueue",value:function postConversationParticipantReplaceQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5129
5128
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'participantId' is set
5130
5129
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'body' is set
@@ -5138,6 +5137,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5138
5137
  */},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5139
5138
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
5140
5139
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
5140
+ * Submit feedback for the summary.
5141
+ *
5142
+ * @param {String} conversationId Conversation ID
5143
+ * @param {String} summaryId Summary ID
5144
+ * @param {Object} opts Optional parameters
5145
+ * @param {Object} opts.body
5146
+ */},{key:"postConversationSummaryFeedback",value:function postConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5147
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
5148
+ if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','POST',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
5141
5149
  * Place a new call as part of a callback conversation.
5142
5150
  *
5143
5151
  * @param {String} conversationId conversationId
@@ -5185,7 +5193,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5185
5193
  * @param {String} conversationId conversationId
5186
5194
  * @param {String} participantId participantId
5187
5195
  * @param {Object} body Destination agent and initial speak to
5188
- * postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5189
5196
  */},{key:"postConversationsCallParticipantConsultAgent",value:function postConversationsCallParticipantConsultAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5190
5197
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
5191
5198
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
@@ -5195,7 +5202,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5195
5202
  * @param {String} conversationId conversationId
5196
5203
  * @param {String} participantId participantId
5197
5204
  * @param {Object} body Destination address and initial speak to
5198
- * postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5199
5205
  */},{key:"postConversationsCallParticipantConsultExternal",value:function postConversationsCallParticipantConsultExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5200
5206
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'participantId' is set
5201
5207
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'body' is set
@@ -5205,7 +5211,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5205
5211
  * @param {String} conversationId conversationId
5206
5212
  * @param {String} participantId participantId
5207
5213
  * @param {Object} body Destination queue and initial speak to
5208
- * postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5209
5214
  */},{key:"postConversationsCallParticipantConsultQueue",value:function postConversationsCallParticipantConsultQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5210
5215
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'participantId' is set
5211
5216
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'body' is set
@@ -5471,7 +5476,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
5471
5476
  *
5472
5477
  * @param {String} conversationId conversationId
5473
5478
  * @param {String} participantId participantId
5474
- * postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5475
5479
  */},{key:"postConversationsMessageParticipantMonitor",value:function postConversationsMessageParticipantMonitor(conversationId,participantId){// verify the required parameter 'conversationId' is set
5476
5480
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';}// verify the required parameter 'participantId' is set
5477
5481
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -5509,9 +5513,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5509
5513
  * @param {Object} body InstagramIntegrationRequest
5510
5514
  */},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
5511
5515
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5512
- * Create a LINE messenger Integration
5513
- *
5516
+ * Create a LINE messenger Integration (Deprecated)
5517
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
5514
5518
  * @param {Object} body LineIntegrationRequest
5519
+ * @deprecated
5515
5520
  */},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
5516
5521
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5517
5522
  * Create an Open messaging integration
@@ -5722,7 +5727,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
5722
5727
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
5723
5728
  * DataExtensions service.
5724
5729
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5725
- * @version 186.0.1
5730
+ * @version 188.0.0
5726
5731
  */ /**
5727
5732
  * Constructs a new DataExtensionsApi.
5728
5733
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5743,7 +5748,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5743
5748
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
5744
5749
  * Downloads service.
5745
5750
  * @module purecloud-platform-client-v2/api/DownloadsApi
5746
- * @version 186.0.1
5751
+ * @version 188.0.0
5747
5752
  */ /**
5748
5753
  * Constructs a new DownloadsApi.
5749
5754
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5762,7 +5767,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5762
5767
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
5763
5768
  * Emails service.
5764
5769
  * @module purecloud-platform-client-v2/api/EmailsApi
5765
- * @version 186.0.1
5770
+ * @version 188.0.0
5766
5771
  */ /**
5767
5772
  * Constructs a new EmailsApi.
5768
5773
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5780,7 +5785,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5780
5785
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
5781
5786
  * Events service.
5782
5787
  * @module purecloud-platform-client-v2/api/EventsApi
5783
- * @version 186.0.1
5788
+ * @version 188.0.0
5784
5789
  */ /**
5785
5790
  * Constructs a new EventsApi.
5786
5791
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5805,7 +5810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5805
5810
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
5806
5811
  * ExternalContacts service.
5807
5812
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5808
- * @version 186.0.1
5813
+ * @version 188.0.0
5809
5814
  */ /**
5810
5815
  * Constructs a new ExternalContactsApi.
5811
5816
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6260,7 +6265,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6260
6265
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
6261
6266
  * Fax service.
6262
6267
  * @module purecloud-platform-client-v2/api/FaxApi
6263
- * @version 186.0.1
6268
+ * @version 188.0.0
6264
6269
  */ /**
6265
6270
  * Constructs a new FaxApi.
6266
6271
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6301,7 +6306,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
6301
6306
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
6302
6307
  * Flows service.
6303
6308
  * @module purecloud-platform-client-v2/api/FlowsApi
6304
- * @version 186.0.1
6309
+ * @version 188.0.0
6305
6310
  */ /**
6306
6311
  * Constructs a new FlowsApi.
6307
6312
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6350,7 +6355,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6350
6355
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
6351
6356
  * Gamification service.
6352
6357
  * @module purecloud-platform-client-v2/api/GamificationApi
6353
- * @version 186.0.1
6358
+ * @version 188.0.0
6354
6359
  */ /**
6355
6360
  * Constructs a new GamificationApi.
6356
6361
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6890,7 +6895,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6890
6895
  if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
6891
6896
  * GeneralDataProtectionRegulation service.
6892
6897
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6893
- * @version 186.0.1
6898
+ * @version 188.0.0
6894
6899
  */ /**
6895
6900
  * Constructs a new GeneralDataProtectionRegulationApi.
6896
6901
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -6925,7 +6930,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
6925
6930
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
6926
6931
  * Geolocation service.
6927
6932
  * @module purecloud-platform-client-v2/api/GeolocationApi
6928
- * @version 186.0.1
6933
+ * @version 188.0.0
6929
6934
  */ /**
6930
6935
  * Constructs a new GeolocationApi.
6931
6936
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -6959,7 +6964,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
6959
6964
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
6960
6965
  * Greetings service.
6961
6966
  * @module purecloud-platform-client-v2/api/GreetingsApi
6962
- * @version 186.0.1
6967
+ * @version 188.0.0
6963
6968
  */ /**
6964
6969
  * Constructs a new GreetingsApi.
6965
6970
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7066,7 +7071,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7066
7071
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
7067
7072
  * Groups service.
7068
7073
  * @module purecloud-platform-client-v2/api/GroupsApi
7069
- * @version 186.0.1
7074
+ * @version 188.0.0
7070
7075
  */ /**
7071
7076
  * Constructs a new GroupsApi.
7072
7077
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7199,7 +7204,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7199
7204
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
7200
7205
  * IdentityProvider service.
7201
7206
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7202
- * @version 186.0.1
7207
+ * @version 188.0.0
7203
7208
  */ /**
7204
7209
  * Constructs a new IdentityProviderApi.
7205
7210
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7207,9 +7212,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7207
7212
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
7208
7213
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
7209
7214
  */function IdentityProviderApi(apiClient){_classCallCheck(this,IdentityProviderApi);this.apiClient=apiClient||ApiClient.instance;}/**
7215
+ * Delete Identity Provider
7216
+ *
7217
+ * @param {String} providerId Provider ID
7218
+ */_createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
7219
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','DELETE',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7210
7220
  * Delete ADFS Identity Provider
7211
7221
  *
7212
- */_createClass(IdentityProviderApi,[{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7222
+ */},{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7213
7223
  * Delete Customer Interaction Center (CIC) Identity Provider
7214
7224
  *
7215
7225
  */},{key:"deleteIdentityprovidersCic",value:function deleteIdentityprovidersCic(){return this.apiClient.callApi('/api/v2/identityproviders/cic','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7240,6 +7250,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7240
7250
  * Delete Salesforce Identity Provider
7241
7251
  *
7242
7252
  */},{key:"deleteIdentityprovidersSalesforce",value:function deleteIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7253
+ * Get Identity Provider
7254
+ *
7255
+ * @param {String} providerId Provider ID
7256
+ */},{key:"getIdentityprovider",value:function getIdentityprovider(providerId){// verify the required parameter 'providerId' is set
7257
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling getIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','GET',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7243
7258
  * The list of identity providers
7244
7259
  *
7245
7260
  */},{key:"getIdentityproviders",value:function getIdentityproviders(){return this.apiClient.callApi('/api/v2/identityproviders','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7276,6 +7291,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7276
7291
  * Get Salesforce Identity Provider
7277
7292
  *
7278
7293
  */},{key:"getIdentityprovidersSalesforce",value:function getIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7294
+ * Create Identity Provider
7295
+ *
7296
+ * @param {Object} body Provider
7297
+ */},{key:"postIdentityproviders",value:function postIdentityproviders(body){// verify the required parameter 'body' is set
7298
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIdentityproviders';}return this.apiClient.callApi('/api/v2/identityproviders','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7299
+ * Update Identity Provider
7300
+ *
7301
+ * @param {String} providerId Provider ID
7302
+ * @param {Object} body Provider
7303
+ */},{key:"putIdentityprovider",value:function putIdentityprovider(providerId,body){// verify the required parameter 'providerId' is set
7304
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling putIdentityprovider';}// verify the required parameter 'body' is set
7305
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','PUT',{'providerId':providerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7279
7306
  * Update/Create ADFS Identity Provider
7280
7307
  *
7281
7308
  * @param {Object} body Provider
@@ -7333,7 +7360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7333
7360
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
7334
7361
  * InfrastructureAsCode service.
7335
7362
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7336
- * @version 186.0.1
7363
+ * @version 188.0.0
7337
7364
  */ /**
7338
7365
  * Constructs a new InfrastructureAsCodeApi.
7339
7366
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7387,7 +7414,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7387
7414
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
7388
7415
  * Integrations service.
7389
7416
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7390
- * @version 186.0.1
7417
+ * @version 188.0.0
7391
7418
  */ /**
7392
7419
  * Constructs a new IntegrationsApi.
7393
7420
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -7458,6 +7485,12 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
7458
7485
  * @param {Object} opts.includeConfig Return config in response. (default to false)
7459
7486
  */},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
7460
7487
  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']);}/**
7488
+ * Get draft function settings for Action
7489
+ *
7490
+ * @param {String} actionId actionId
7491
+ * getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7492
+ */},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
7493
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7461
7494
  * Retrieve schema for a Draft based on filename.
7462
7495
  *
7463
7496
  * @param {String} actionId actionId
@@ -7477,6 +7510,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
7477
7510
  * @param {String} actionId actionId
7478
7511
  */},{key:"getIntegrationsActionDraftValidation",value:function getIntegrationsActionDraftValidation(actionId){// verify the required parameter 'actionId' is set
7479
7512
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/validation','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7513
+ * Get published function settings for Action
7514
+ *
7515
+ * @param {String} actionId actionId
7516
+ * getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7517
+ */},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
7518
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7480
7519
  * Retrieve schema for an action based on filename.
7481
7520
  *
7482
7521
  * @param {String} actionId actionId
@@ -7538,6 +7577,10 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
7538
7577
  * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
7539
7578
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
7540
7579
  */},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7580
+ * Get action function settings for Action
7581
+ *
7582
+ * getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7583
+ */},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7541
7584
  * Get a specific botConnector bot, plus versions, for this integration
7542
7585
  *
7543
7586
  * @param {String} integrationId The integration ID for this group of bots
@@ -7799,6 +7842,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7799
7842
  * @param {String} actionId actionId
7800
7843
  */},{key:"postIntegrationsActionDraft",value:function postIntegrationsActionDraft(actionId){// verify the required parameter 'actionId' is set
7801
7844
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','POST',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7845
+ * Create upload presigned URL for draft function package file.
7846
+ *
7847
+ * @param {String} actionId actionId
7848
+ * @param {Object} body Input used to request URL upload.
7849
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7850
+ */},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
7851
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
7852
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7802
7853
  * Publish a Draft and make it the active Action configuration
7803
7854
  *
7804
7855
  * @param {String} actionId actionId
@@ -7878,6 +7929,14 @@ if(settings===undefined||settings===null){throw'Missing the required parameter "
7878
7929
  * @param {Object} opts.body Integration Configuration
7879
7930
  */},{key:"putIntegrationConfigCurrent",value:function putIntegrationConfigCurrent(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
7880
7931
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';}return this.apiClient.callApi('/api/v2/integrations/{integrationId}/config/current','PUT',{'integrationId':integrationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
7932
+ * Update draft function settings.
7933
+ *
7934
+ * @param {String} actionId actionId
7935
+ * @param {Object} body Input used to update function settings.
7936
+ * putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7937
+ */},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
7938
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
7939
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7881
7940
  * Set a list of botConnector bots plus versions for this integration
7882
7941
  *
7883
7942
  * @param {String} integrationId The integration ID for this group of bots
@@ -7914,7 +7973,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
7914
7973
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
7915
7974
  * Journey service.
7916
7975
  * @module purecloud-platform-client-v2/api/JourneyApi
7917
- * @version 186.0.1
7976
+ * @version 188.0.0
7918
7977
  */ /**
7919
7978
  * Constructs a new JourneyApi.
7920
7979
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8109,17 +8168,6 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
8109
8168
  * @param {String} sessionId ID of the session.
8110
8169
  */},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
8111
8170
  if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8112
- * Retrieve segment assignments by session ID.
8113
- *
8114
- * @param {String} sessionId ID of the session to query for segment assignments.
8115
- * @param {Object} opts Optional parameters
8116
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
8117
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
8118
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
8119
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
8120
- * getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8121
- */},{key:"getJourneySessionSegments",value:function getJourneySessionSegments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
8122
- if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionSegments';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/segments','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'segmentScope':opts['segmentScope'],'assignmentState':opts['assignmentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8123
8171
  * Update single action map.
8124
8172
  *
8125
8173
  * @param {String} actionMapId ID of the action map.
@@ -8218,7 +8266,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
8218
8266
  */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
8219
8267
  * Knowledge service.
8220
8268
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8221
- * @version 186.0.1
8269
+ * @version 188.0.0
8222
8270
  */ /**
8223
8271
  * Constructs a new KnowledgeApi.
8224
8272
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -8620,6 +8668,36 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
8620
8668
  */},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
8621
8669
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
8622
8670
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8671
+ * Get operations
8672
+ *
8673
+ * @param {String} knowledgeBaseId Knowledge base ID
8674
+ * @param {Object} opts Optional parameters
8675
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
8676
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
8677
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
8678
+ * @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
8679
+ * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
8680
+ * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
8681
+ * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
8682
+ * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8683
+ */},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
8684
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8685
+ * Get ids of operation creator users and oauth clients
8686
+ *
8687
+ * @param {String} knowledgeBaseId Knowledge base ID
8688
+ * getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8689
+ */},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
8690
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8691
+ * Get parse job report
8692
+ *
8693
+ * @param {String} knowledgeBaseId Knowledge base ID
8694
+ * @param {String} parseJobId Parse job ID
8695
+ * @param {Object} opts Optional parameters
8696
+ * @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
8697
+ * getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8698
+ */},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
8699
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
8700
+ 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']);}/**
8623
8701
  * Get knowledge base unanswered group for a particular groupId
8624
8702
  *
8625
8703
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -8653,6 +8731,14 @@ if(phraseGroupId===undefined||phraseGroupId===null){throw'Missing the required p
8653
8731
  * @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
8654
8732
  */},{key:"getKnowledgeKnowledgebaseUnansweredGroups",value:function getKnowledgeKnowledgebaseUnansweredGroups(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
8655
8733
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups','GET',{'knowledgeBaseId':knowledgeBaseId},{'app':opts['app'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8734
+ * Get content upload from URL job status
8735
+ *
8736
+ * @param {String} knowledgeBaseId Knowledge base ID
8737
+ * @param {String} jobId Upload job ID
8738
+ * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8739
+ */},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
8740
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
8741
+ 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']);}/**
8656
8742
  * Get knowledge bases
8657
8743
  *
8658
8744
  * @param {Object} opts Optional parameters
@@ -8784,6 +8870,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
8784
8870
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
8785
8871
  if(importId===undefined||importId===null){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
8786
8872
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8873
+ * Send update to the parse operation
8874
+ *
8875
+ * @param {String} knowledgeBaseId Knowledge base ID
8876
+ * @param {String} parseJobId Parse job ID
8877
+ * @param {Object} body
8878
+ * patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8879
+ */},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
8880
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
8881
+ if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
8882
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8787
8883
  * Update a Knowledge base unanswered phrase group
8788
8884
  *
8789
8885
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -9000,6 +9096,24 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
9000
9096
  */},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
9001
9097
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
9002
9098
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9099
+ * Import the parsed articles
9100
+ *
9101
+ * @param {String} knowledgeBaseId Knowledge base ID
9102
+ * @param {String} parseJobId Parse job ID
9103
+ * @param {Object} body
9104
+ * postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9105
+ */},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
9106
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
9107
+ if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
9108
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import','POST',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9109
+ * Create parse job
9110
+ *
9111
+ * @param {String} knowledgeBaseId Knowledge base ID
9112
+ * @param {Object} body
9113
+ * postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9114
+ */},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
9115
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
9116
+ 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']);}/**
9003
9117
  * Search Documents
9004
9118
  *
9005
9119
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -9008,6 +9122,14 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
9008
9122
  * @deprecated
9009
9123
  */},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
9010
9124
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
9125
+ * Create content upload from URL job
9126
+ *
9127
+ * @param {String} knowledgeBaseId Knowledge base ID
9128
+ * @param {Object} body uploadRequest
9129
+ * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9130
+ */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
9131
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
9132
+ 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']);}/**
9011
9133
  * Create new knowledge base
9012
9134
  *
9013
9135
  * @param {Object} body
@@ -9015,7 +9137,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
9015
9137
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
9016
9138
  * LanguageUnderstanding service.
9017
9139
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9018
- * @version 186.0.1
9140
+ * @version 188.0.0
9019
9141
  */ /**
9020
9142
  * Constructs a new LanguageUnderstandingApi.
9021
9143
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9271,7 +9393,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
9271
9393
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
9272
9394
  * Languages service.
9273
9395
  * @module purecloud-platform-client-v2/api/LanguagesApi
9274
- * @version 186.0.1
9396
+ * @version 188.0.0
9275
9397
  */ /**
9276
9398
  * Constructs a new LanguagesApi.
9277
9399
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9326,7 +9448,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9326
9448
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
9327
9449
  * Learning service.
9328
9450
  * @module purecloud-platform-client-v2/api/LearningApi
9329
- * @version 186.0.1
9451
+ * @version 188.0.0
9330
9452
  */ /**
9331
9453
  * Constructs a new LearningApi.
9332
9454
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9556,7 +9678,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
9556
9678
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
9557
9679
  * License service.
9558
9680
  * @module purecloud-platform-client-v2/api/LicenseApi
9559
- * @version 186.0.1
9681
+ * @version 188.0.0
9560
9682
  */ /**
9561
9683
  * Constructs a new LicenseApi.
9562
9684
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -9610,7 +9732,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9610
9732
  */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
9611
9733
  * Locations service.
9612
9734
  * @module purecloud-platform-client-v2/api/LocationsApi
9613
- * @version 186.0.1
9735
+ * @version 188.0.0
9614
9736
  */ /**
9615
9737
  * Constructs a new LocationsApi.
9616
9738
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -9669,7 +9791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9669
9791
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
9670
9792
  * LogCapture service.
9671
9793
  * @module purecloud-platform-client-v2/api/LogCaptureApi
9672
- * @version 186.0.1
9794
+ * @version 188.0.0
9673
9795
  */ /**
9674
9796
  * Constructs a new LogCaptureApi.
9675
9797
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -9719,7 +9841,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9719
9841
  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']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
9720
9842
  * Messaging service.
9721
9843
  * @module purecloud-platform-client-v2/api/MessagingApi
9722
- * @version 186.0.1
9844
+ * @version 188.0.0
9723
9845
  */ /**
9724
9846
  * Constructs a new MessagingApi.
9725
9847
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -9809,7 +9931,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9809
9931
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
9810
9932
  * MobileDevices service.
9811
9933
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
9812
- * @version 186.0.1
9934
+ * @version 188.0.0
9813
9935
  */ /**
9814
9936
  * Constructs a new MobileDevicesApi.
9815
9937
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -9848,7 +9970,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9848
9970
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
9849
9971
  * Notifications service.
9850
9972
  * @module purecloud-platform-client-v2/api/NotificationsApi
9851
- * @version 186.0.1
9973
+ * @version 188.0.0
9852
9974
  */ /**
9853
9975
  * Constructs a new NotificationsApi.
9854
9976
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -9905,7 +10027,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
9905
10027
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
9906
10028
  * OAuth service.
9907
10029
  * @module purecloud-platform-client-v2/api/OAuthApi
9908
- * @version 186.0.1
10030
+ * @version 188.0.0
9909
10031
  */ /**
9910
10032
  * Constructs a new OAuthApi.
9911
10033
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -9990,7 +10112,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
9990
10112
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
9991
10113
  * Objects service.
9992
10114
  * @module purecloud-platform-client-v2/api/ObjectsApi
9993
- * @version 186.0.1
10115
+ * @version 188.0.0
9994
10116
  */ /**
9995
10117
  * Constructs a new ObjectsApi.
9996
10118
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10022,8 +10144,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
10022
10144
  * @param {String} opts.nextPage next page token
10023
10145
  * @param {String} opts.previousPage Previous page token
10024
10146
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
10147
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
10025
10148
  * @param {String} opts.name Search term to filter by division name
10026
- */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10149
+ */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10027
10150
  * Retrieve the home division for the organization.
10028
10151
  * Will not include object counts.
10029
10152
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10060,7 +10183,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
10060
10183
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
10061
10184
  * OperationalEvents service.
10062
10185
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10063
- * @version 186.0.1
10186
+ * @version 188.0.0
10064
10187
  */ /**
10065
10188
  * Constructs a new OperationalEventsApi.
10066
10189
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10078,7 +10201,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10078
10201
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
10079
10202
  * Organization service.
10080
10203
  * @module purecloud-platform-client-v2/api/OrganizationApi
10081
- * @version 186.0.1
10204
+ * @version 188.0.0
10082
10205
  */ /**
10083
10206
  * Constructs a new OrganizationApi.
10084
10207
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10180,7 +10303,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10180
10303
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
10181
10304
  * OrganizationAuthorization service.
10182
10305
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10183
- * @version 186.0.1
10306
+ * @version 188.0.0
10184
10307
  */ /**
10185
10308
  * Constructs a new OrganizationAuthorizationApi.
10186
10309
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10503,7 +10626,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
10503
10626
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
10504
10627
  * Outbound service.
10505
10628
  * @module purecloud-platform-client-v2/api/OutboundApi
10506
- * @version 186.0.1
10629
+ * @version 188.0.0
10507
10630
  */ /**
10508
10631
  * Constructs a new OutboundApi.
10509
10632
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -10611,6 +10734,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
10611
10734
  * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
10612
10735
  */},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
10613
10736
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10737
+ * Delete File Specification Template
10738
+ *
10739
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
10740
+ */},{key:"deleteOutboundFilespecificationtemplate",value:function deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
10741
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','DELETE',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10742
+ * Delete multiple file specification templates.
10743
+ *
10744
+ * @param {Array.<String>} id File Specification template id(s) to delete
10745
+ */},{key:"deleteOutboundFilespecificationtemplatesBulk",value:function deleteOutboundFilespecificationtemplatesBulk(id){// verify the required parameter 'id' is set
10746
+ if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/bulk','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10614
10747
  * Delete Import Template
10615
10748
  *
10616
10749
  * @param {String} importTemplateId Import Template ID
@@ -10999,11 +11132,29 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
10999
11132
  * @param {String} opts.sortBy Sort by
11000
11133
  * @param {Object} opts.sortOrder Sort order (default to a)
11001
11134
  */},{key:"getOutboundEvents",value:function getOutboundEvents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/events','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'category':opts['category'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11135
+ * Get File Specification Template
11136
+ *
11137
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
11138
+ */},{key:"getOutboundFilespecificationtemplate",value:function getOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
11139
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','GET',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11140
+ * Query File Specification Templates
11141
+ *
11142
+ * @param {Object} opts Optional parameters
11143
+ * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
11144
+ * @param {Number} opts.pageNumber Page number (default to 1)
11145
+ * @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
11146
+ * @param {Object} opts.filterType Filter type (default to Prefix)
11147
+ * @param {String} opts.name Name
11148
+ * @param {String} opts.sortBy Sort by
11149
+ * @param {Object} opts.sortOrder Sort order (default to a)
11150
+ */},{key:"getOutboundFilespecificationtemplates",value:function getOutboundFilespecificationtemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11002
11151
  * Get Import Template
11003
11152
  *
11004
11153
  * @param {String} importTemplateId Import Template ID
11005
- */},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
11006
- if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11154
+ * @param {Object} opts Optional parameters
11155
+ * @param {Boolean} opts.includeImportStatus Import status (default to false)
11156
+ */},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
11157
+ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{'includeImportStatus':opts['includeImportStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11007
11158
  * Get the import status for an import template.
11008
11159
  *
11009
11160
  * @param {String} importTemplateId importTemplateId
@@ -11014,6 +11165,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
11014
11165
  * Query Import Templates
11015
11166
  *
11016
11167
  * @param {Object} opts Optional parameters
11168
+ * @param {Boolean} opts.includeImportStatus Import status (default to false)
11017
11169
  * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
11018
11170
  * @param {Number} opts.pageNumber Page number (default to 1)
11019
11171
  * @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
@@ -11022,7 +11174,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
11022
11174
  * @param {String} opts.sortBy Sort by
11023
11175
  * @param {Object} opts.sortOrder Sort order (default to a)
11024
11176
  * @param {String} opts.contactListTemplateId Contact List Template ID
11025
- */},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11177
+ */},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'includeImportStatus':opts['includeImportStatus'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11026
11178
  * Get an Outbound Messaging Campaign
11027
11179
  *
11028
11180
  * @param {String} messagingCampaignId The Messaging Campaign ID
@@ -11251,6 +11403,11 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
11251
11403
  * @param {Object} body ContactListFilter
11252
11404
  */},{key:"postOutboundContactlistfilters",value:function postOutboundContactlistfilters(body){// verify the required parameter 'body' is set
11253
11405
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11406
+ * Retrieve multiple contact list filters
11407
+ *
11408
+ * @param {Object} body The contact list filters to retrieve
11409
+ */},{key:"postOutboundContactlistfiltersBulkRetrieve",value:function postOutboundContactlistfiltersBulkRetrieve(body){// verify the required parameter 'body' is set
11410
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11254
11411
  * Get a preview of the output of a contact list filter
11255
11412
  *
11256
11413
  * @param {Object} body ContactListFilter
@@ -11271,6 +11428,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11271
11428
  * @param {Array.<Object>} body contact list template(s) to add
11272
11429
  */},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
11273
11430
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11431
+ * Get multiple contact list templates
11432
+ *
11433
+ * @param {Object} body contact list templates to get
11434
+ */},{key:"postOutboundContactlisttemplatesBulkRetrieve",value:function postOutboundContactlisttemplatesBulkRetrieve(body){// verify the required parameter 'body' is set
11435
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11274
11436
  * Add phone numbers to a Dialer DNC list.
11275
11437
  *
11276
11438
  * @param {String} conversationId Conversation ID
@@ -11307,6 +11469,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11307
11469
  * @param {Object} body DncList
11308
11470
  */},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
11309
11471
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundDnclists';}return this.apiClient.callApi('/api/v2/outbound/dnclists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11472
+ * Create File Specification Template
11473
+ *
11474
+ * @param {Object} body FileSpecificationTemplate
11475
+ */},{key:"postOutboundFilespecificationtemplates",value:function postOutboundFilespecificationtemplates(body){// verify the required parameter 'body' is set
11476
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11310
11477
  * Create Import Template
11311
11478
  *
11312
11479
  * @param {Object} body ImportTemplate
@@ -11425,6 +11592,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11425
11592
  */},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
11426
11593
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
11427
11594
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundDnclist';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}','PUT',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11595
+ * Update File Specification Template
11596
+ *
11597
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
11598
+ * @param {Object} body fileSpecificationTemplate
11599
+ */},{key:"putOutboundFilespecificationtemplate",value:function putOutboundFilespecificationtemplate(fileSpecificationTemplateId,body){// verify the required parameter 'fileSpecificationTemplateId' is set
11600
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';}// verify the required parameter 'body' is set
11601
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','PUT',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11428
11602
  * Update Import Template
11429
11603
  *
11430
11604
  * @param {String} importTemplateId Import Template ID
@@ -11488,7 +11662,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11488
11662
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
11489
11663
  * Presence service.
11490
11664
  * @module purecloud-platform-client-v2/api/PresenceApi
11491
- * @version 186.0.1
11665
+ * @version 188.0.0
11492
11666
  */ /**
11493
11667
  * Constructs a new PresenceApi.
11494
11668
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -11506,9 +11680,10 @@ if(definitionId===undefined||definitionId===null){throw'Missing the required par
11506
11680
  * @param {String} sourceId Presence Source ID
11507
11681
  */},{key:"deletePresenceSource",value:function deletePresenceSource(sourceId){// verify the required parameter 'sourceId' is set
11508
11682
  if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deletePresenceSource';}return this.apiClient.callApi('/api/v2/presence/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11509
- * Delete a Presence Definition
11683
+ * Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
11510
11684
  *
11511
11685
  * @param {String} presenceId Organization Presence ID
11686
+ * @deprecated
11512
11687
  */},{key:"deletePresencedefinition",value:function deletePresencedefinition(presenceId){// verify the required parameter 'presenceId' is set
11513
11688
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','DELETE',{'presenceId':presenceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11514
11689
  * Get a Presence Definition
@@ -11543,20 +11718,22 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
11543
11718
  * @param {String} userId user ID
11544
11719
  */},{key:"getPresenceUserPrimarysource",value:function getPresenceUserPrimarysource(userId){// verify the required parameter 'userId' is set
11545
11720
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11546
- * Get a Presence Definition
11721
+ * Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
11547
11722
  *
11548
11723
  * @param {String} presenceId Organization Presence ID
11549
11724
  * @param {Object} opts Optional parameters
11550
11725
  * @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
11726
+ * @deprecated
11551
11727
  */},{key:"getPresencedefinition",value:function getPresencedefinition(presenceId,opts){opts=opts||{};// verify the required parameter 'presenceId' is set
11552
11728
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling getPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','GET',{'presenceId':presenceId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11553
- * Get an Organization's list of Presence Definitions
11729
+ * Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
11554
11730
  *
11555
11731
  * @param {Object} opts Optional parameters
11556
11732
  * @param {Number} opts.pageNumber Page number (default to 1)
11557
11733
  * @param {Number} opts.pageSize Page size (default to 25)
11558
11734
  * @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
11559
11735
  * @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
11736
+ * @deprecated
11560
11737
  */},{key:"getPresencedefinitions",value:function getPresencedefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presencedefinitions','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'deleted':opts['deleted'],'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11561
11738
  * Get the list of SystemPresences
11562
11739
  *
@@ -11611,9 +11788,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11611
11788
  * @param {Object} body The Presence Source to create
11612
11789
  */},{key:"postPresenceSources",value:function postPresenceSources(body){// verify the required parameter 'body' is set
11613
11790
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresenceSources';}return this.apiClient.callApi('/api/v2/presence/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11614
- * Create a Presence Definition
11791
+ * Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
11615
11792
  *
11616
11793
  * @param {Object} body The Presence Definition to create
11794
+ * @deprecated
11617
11795
  */},{key:"postPresencedefinitions",value:function postPresencedefinitions(body){// verify the required parameter 'body' is set
11618
11796
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresencedefinitions';}return this.apiClient.callApi('/api/v2/presencedefinitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11619
11797
  * Update a Presence Definition
@@ -11642,10 +11820,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11642
11820
  */},{key:"putPresenceUserPrimarysource",value:function putPresenceUserPrimarysource(userId,body){// verify the required parameter 'userId' is set
11643
11821
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';}// verify the required parameter 'body' is set
11644
11822
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11645
- * Update a Presence Definition
11823
+ * Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
11646
11824
  *
11647
11825
  * @param {String} presenceId Organization Presence ID
11648
11826
  * @param {Object} body The OrganizationPresence to update
11827
+ * @deprecated
11649
11828
  */},{key:"putPresencedefinition",value:function putPresencedefinition(presenceId,body){// verify the required parameter 'presenceId' is set
11650
11829
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling putPresencedefinition';}// verify the required parameter 'body' is set
11651
11830
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','PUT',{'presenceId':presenceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -11656,7 +11835,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11656
11835
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
11657
11836
  * ProcessAutomation service.
11658
11837
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
11659
- * @version 186.0.1
11838
+ * @version 188.0.0
11660
11839
  */ /**
11661
11840
  * Constructs a new ProcessAutomationApi.
11662
11841
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -11719,7 +11898,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
11719
11898
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
11720
11899
  * Quality service.
11721
11900
  * @module purecloud-platform-client-v2/api/QualityApi
11722
- * @version 186.0.1
11901
+ * @version 188.0.0
11723
11902
  */ /**
11724
11903
  * Constructs a new QualityApi.
11725
11904
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12190,7 +12369,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
12190
12369
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
12191
12370
  * Recording service.
12192
12371
  * @module purecloud-platform-client-v2/api/RecordingApi
12193
- * @version 186.0.1
12372
+ * @version 188.0.0
12194
12373
  */ /**
12195
12374
  * Constructs a new RecordingApi.
12196
12375
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -12597,7 +12776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12597
12776
  */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
12598
12777
  * ResponseManagement service.
12599
12778
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
12600
- * @version 186.0.1
12779
+ * @version 188.0.0
12601
12780
  */ /**
12602
12781
  * Constructs a new ResponseManagementApi.
12603
12782
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -12713,7 +12892,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
12713
12892
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
12714
12893
  * Routing service.
12715
12894
  * @module purecloud-platform-client-v2/api/RoutingApi
12716
- * @version 186.0.1
12895
+ * @version 188.0.0
12717
12896
  */ /**
12718
12897
  * Constructs a new RoutingApi.
12719
12898
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13681,7 +13860,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
13681
13860
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
13682
13861
  * SCIM service.
13683
13862
  * @module purecloud-platform-client-v2/api/SCIMApi
13684
- * @version 186.0.1
13863
+ * @version 188.0.0
13685
13864
  */ /**
13686
13865
  * Constructs a new SCIMApi.
13687
13866
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -13903,10 +14082,25 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13903
14082
  * @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
13904
14083
  */},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
13905
14084
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
13906
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
14085
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
14086
+ * ScreenRecording service.
14087
+ * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14088
+ * @version 188.0.0
14089
+ */ /**
14090
+ * Constructs a new ScreenRecordingApi.
14091
+ * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
14092
+ * @class
14093
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14094
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14095
+ */function ScreenRecordingApi(apiClient){_classCallCheck(this,ScreenRecordingApi);this.apiClient=apiClient||ApiClient.instance;}/**
14096
+ * Sign identifying information for screen recording
14097
+ *
14098
+ * @param {Object} opts Optional parameters
14099
+ * @param {Object} opts.body
14100
+ */_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']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
13907
14101
  * Scripts service.
13908
14102
  * @module purecloud-platform-client-v2/api/ScriptsApi
13909
- * @version 186.0.1
14103
+ * @version 188.0.0
13910
14104
  */ /**
13911
14105
  * Constructs a new ScriptsApi.
13912
14106
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14042,7 +14236,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14042
14236
  */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
14043
14237
  * Search service.
14044
14238
  * @module purecloud-platform-client-v2/api/SearchApi
14045
- * @version 186.0.1
14239
+ * @version 188.0.0
14046
14240
  */ /**
14047
14241
  * Constructs a new SearchApi.
14048
14242
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14202,7 +14396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14202
14396
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
14203
14397
  * Settings service.
14204
14398
  * @module purecloud-platform-client-v2/api/SettingsApi
14205
- * @version 186.0.1
14399
+ * @version 188.0.0
14206
14400
  */ /**
14207
14401
  * Constructs a new SettingsApi.
14208
14402
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14220,7 +14414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14220
14414
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14221
14415
  * SpeechTextAnalytics service.
14222
14416
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14223
- * @version 186.0.1
14417
+ * @version 188.0.0
14224
14418
  */ /**
14225
14419
  * Constructs a new SpeechTextAnalyticsApi.
14226
14420
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -14355,9 +14549,10 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
14355
14549
  * @param {Object} opts.state Topic state. Defaults to latest
14356
14550
  * @param {String} opts.name Case insensitive partial name to filter by
14357
14551
  * @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
14552
+ * @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
14358
14553
  * @param {Object} opts.sortBy Sort results by. Defaults to name
14359
14554
  * @param {Object} opts.sortOrder Sort order. Defaults to asc
14360
- */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14555
+ */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14361
14556
  * Get list of supported Speech and Text Analytics topics dialects
14362
14557
  *
14363
14558
  */},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -14463,7 +14658,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
14463
14658
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
14464
14659
  * Stations service.
14465
14660
  * @module purecloud-platform-client-v2/api/StationsApi
14466
- * @version 186.0.1
14661
+ * @version 188.0.0
14467
14662
  */ /**
14468
14663
  * Constructs a new StationsApi.
14469
14664
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -14495,7 +14690,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14495
14690
  */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
14496
14691
  * Suggest service.
14497
14692
  * @module purecloud-platform-client-v2/api/SuggestApi
14498
- * @version 186.0.1
14693
+ * @version 188.0.0
14499
14694
  */ /**
14500
14695
  * Constructs a new SuggestApi.
14501
14696
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -14535,7 +14730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14535
14730
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
14536
14731
  * TaskManagement service.
14537
14732
  * @module purecloud-platform-client-v2/api/TaskManagementApi
14538
- * @version 186.0.1
14733
+ * @version 188.0.0
14539
14734
  */ /**
14540
14735
  * Constructs a new TaskManagementApi.
14541
14736
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -14877,7 +15072,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
14877
15072
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
14878
15073
  * Teams service.
14879
15074
  * @module purecloud-platform-client-v2/api/TeamsApi
14880
- * @version 186.0.1
15075
+ * @version 188.0.0
14881
15076
  */ /**
14882
15077
  * Constructs a new TeamsApi.
14883
15078
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -14956,7 +15151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14956
15151
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
14957
15152
  * Telephony service.
14958
15153
  * @module purecloud-platform-client-v2/api/TelephonyApi
14959
- * @version 186.0.1
15154
+ * @version 188.0.0
14960
15155
  */ /**
14961
15156
  * Constructs a new TelephonyApi.
14962
15157
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15003,7 +15198,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15003
15198
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
15004
15199
  * TelephonyProvidersEdge service.
15005
15200
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15006
- * @version 186.0.1
15201
+ * @version 188.0.0
15007
15202
  */ /**
15008
15203
  * Constructs a new TelephonyProvidersEdgeApi.
15009
15204
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -15360,12 +15555,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
15360
15555
  * @param {String} edgeIds Comma separated list of Edge Id's. Maximum of 100 edge ids allowed.
15361
15556
  */},{key:"getTelephonyProvidersEdgesMetrics",value:function getTelephonyProvidersEdgesMetrics(edgeIds){// verify the required parameter 'edgeIds' is set
15362
15557
  if(edgeIds===undefined||edgeIds===null){throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/metrics','GET',{},{'edgeIds':edgeIds},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15363
- * Get outbound route
15364
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
15365
- * @param {String} outboundRouteId Outbound route ID
15366
- * @deprecated
15367
- */},{key:"getTelephonyProvidersEdgesOutboundroute",value:function getTelephonyProvidersEdgesOutboundroute(outboundRouteId){// verify the required parameter 'outboundRouteId' is set
15368
- if(outboundRouteId===undefined||outboundRouteId===null){throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}','GET',{'outboundRouteId':outboundRouteId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15369
15558
  * Get outbound routes
15370
15559
  *
15371
15560
  * @param {Object} opts Optional parameters
@@ -15823,7 +16012,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
15823
16012
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
15824
16013
  * Textbots service.
15825
16014
  * @module purecloud-platform-client-v2/api/TextbotsApi
15826
- * @version 186.0.1
16015
+ * @version 188.0.0
15827
16016
  */ /**
15828
16017
  * Constructs a new TextbotsApi.
15829
16018
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -15858,7 +16047,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
15858
16047
  if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
15859
16048
  * Tokens service.
15860
16049
  * @module purecloud-platform-client-v2/api/TokensApi
15861
- * @version 186.0.1
16050
+ * @version 188.0.0
15862
16051
  */ /**
15863
16052
  * Constructs a new TokensApi.
15864
16053
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -15894,7 +16083,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15894
16083
  */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
15895
16084
  * Uploads service.
15896
16085
  * @module purecloud-platform-client-v2/api/UploadsApi
15897
- * @version 186.0.1
16086
+ * @version 188.0.0
15898
16087
  */ /**
15899
16088
  * Constructs a new UploadsApi.
15900
16089
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -15902,11 +16091,35 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15902
16091
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
15903
16092
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
15904
16093
  */function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
16094
+ * Get content upload from URL job status
16095
+ *
16096
+ * @param {String} knowledgeBaseId Knowledge base ID
16097
+ * @param {String} jobId Upload job ID
16098
+ * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16099
+ */_createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
16100
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
16101
+ 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']);}/**
16102
+ * Create upload presigned URL for draft function package file.
16103
+ *
16104
+ * @param {String} actionId actionId
16105
+ * @param {Object} body Input used to request URL upload.
16106
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16107
+ */},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
16108
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
16109
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15905
16110
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
15906
16111
  *
15907
16112
  * @param {Object} body query
15908
- */_createClass(UploadsApi,[{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
16113
+ */},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
15909
16114
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16115
+ * Create content upload from URL job
16116
+ *
16117
+ * @param {String} knowledgeBaseId Knowledge base ID
16118
+ * @param {Object} body uploadRequest
16119
+ * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16120
+ */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
16121
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
16122
+ 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']);}/**
15910
16123
  * Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
15911
16124
  *
15912
16125
  * @param {String} minerId Miner ID
@@ -15936,7 +16149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15936
16149
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
15937
16150
  * Usage service.
15938
16151
  * @module purecloud-platform-client-v2/api/UsageApi
15939
- * @version 186.0.1
16152
+ * @version 188.0.0
15940
16153
  */ /**
15941
16154
  * Constructs a new UsageApi.
15942
16155
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -15987,7 +16200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15987
16200
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
15988
16201
  * UserRecordings service.
15989
16202
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
15990
- * @version 186.0.1
16203
+ * @version 188.0.0
15991
16204
  */ /**
15992
16205
  * Constructs a new UserRecordingsApi.
15993
16206
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16036,7 +16249,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16036
16249
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
16037
16250
  * Users service.
16038
16251
  * @module purecloud-platform-client-v2/api/UsersApi
16039
- * @version 186.0.1
16252
+ * @version 188.0.0
16040
16253
  */ /**
16041
16254
  * Constructs a new UsersApi.
16042
16255
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -16695,7 +16908,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
16695
16908
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
16696
16909
  * Utilities service.
16697
16910
  * @module purecloud-platform-client-v2/api/UtilitiesApi
16698
- * @version 186.0.1
16911
+ * @version 188.0.0
16699
16912
  */ /**
16700
16913
  * Constructs a new UtilitiesApi.
16701
16914
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -16722,7 +16935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16722
16935
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
16723
16936
  * Voicemail service.
16724
16937
  * @module purecloud-platform-client-v2/api/VoicemailApi
16725
- * @version 186.0.1
16938
+ * @version 188.0.0
16726
16939
  */ /**
16727
16940
  * Constructs a new VoicemailApi.
16728
16941
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -16871,7 +17084,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16871
17084
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
16872
17085
  * WebChat service.
16873
17086
  * @module purecloud-platform-client-v2/api/WebChatApi
16874
- * @version 186.0.1
17087
+ * @version 188.0.0
16875
17088
  */ /**
16876
17089
  * Constructs a new WebChatApi.
16877
17090
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17004,7 +17217,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17004
17217
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
17005
17218
  * WebDeployments service.
17006
17219
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17007
- * @version 186.0.1
17220
+ * @version 188.0.0
17008
17221
  */ /**
17009
17222
  * Constructs a new WebDeploymentsApi.
17010
17223
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17125,7 +17338,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17125
17338
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
17126
17339
  * WebMessaging service.
17127
17340
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17128
- * @version 186.0.1
17341
+ * @version 188.0.0
17129
17342
  */ /**
17130
17343
  * Constructs a new WebMessagingApi.
17131
17344
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17141,7 +17354,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17141
17354
  */_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
17142
17355
  * Widgets service.
17143
17356
  * @module purecloud-platform-client-v2/api/WidgetsApi
17144
- * @version 186.0.1
17357
+ * @version 188.0.0
17145
17358
  */ /**
17146
17359
  * Constructs a new WidgetsApi.
17147
17360
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17176,7 +17389,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17176
17389
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
17177
17390
  * WorkforceManagement service.
17178
17391
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17179
- * @version 186.0.1
17392
+ * @version 188.0.0
17180
17393
  */ /**
17181
17394
  * Constructs a new WorkforceManagementApi.
17182
17395
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -18527,7 +18740,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
18527
18740
  * </pre>
18528
18741
  * </p>
18529
18742
  * @module purecloud-platform-client-v2/index
18530
- * @version 186.0.1
18743
+ * @version 188.0.0
18531
18744
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
18532
18745
  * The ApiClient constructor.
18533
18746
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -18685,6 +18898,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
18685
18898
  * The SCIMApi service constructor.
18686
18899
  * @property {module:purecloud-platform-client-v2/api/SCIMApi}
18687
18900
  */this.SCIMApi=SCIMApi;/**
18901
+ * The ScreenRecordingApi service constructor.
18902
+ * @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
18903
+ */this.ScreenRecordingApi=ScreenRecordingApi;/**
18688
18904
  * The ScriptsApi service constructor.
18689
18905
  * @property {module:purecloud-platform-client-v2/api/ScriptsApi}
18690
18906
  */this.ScriptsApi=ScriptsApi;/**