purecloud-platform-client-v2 249.1.0 → 250.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +10 -8
  2. package/dist/node/purecloud-platform-client-v2.js +1467 -119
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1467 -119
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +462 -125
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +462 -125
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +748 -41
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +157 -2
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +471 -1
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +9 -21
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -70
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -584,8 +584,8 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
584
584
  *
585
585
  * @returns {void}
586
586
  */function AxiosURLSearchParams(params,options){this._pairs=[];params&&toFormData(params,this,options);}var prototype=AxiosURLSearchParams.prototype;prototype.append=function append(name,value){this._pairs.push([name,value]);};prototype.toString=function toString(encoder){var _encode=encoder?function(value){return encoder.call(this,value,encode$1);}:encode$1;return this._pairs.map(function each(pair){return _encode(pair[0])+'='+_encode(pair[1]);},'').join('&');};/**
587
- * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
588
- * URI encoded counterparts
587
+ * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
588
+ * their plain counterparts (`:`, `$`, `,`, `+`).
589
589
  *
590
590
  * @param {string} val The value to be encoded.
591
591
  *
@@ -699,7 +699,7 @@ var ignoreDuplicateOf=utils$1.toObjectSet(['age','authorization','content-length
699
699
  * @param {String} rawHeaders Headers needing to be parsed
700
700
  *
701
701
  * @returns {Object} Headers parsed into an object
702
- */var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value);}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}return _createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else if(utils$1.isObject(header)&&utils$1.isIterable(header)){var obj={},dest,key;var _iterator3=_createForOfIteratorHelper(header),_step2;try{for(_iterator3.s();!(_step2=_iterator3.n()).done;){var entry=_step2.value;if(!utils$1.isArray(entry)){throw TypeError('Object iterator must return a key-value pair');}obj[key=entry[0]]=(dest=obj[key])?utils$1.isArray(dest)?[].concat(_toConsumableArray(dest),[entry[1]]):[dest,entry[1]]:entry[1];}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}setHeaders(obj,valueOrRewrite);}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:Symbol.iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(_ref8){var _ref9=_slicedToArray(_ref8,2),header=_ref9[0],value=_ref9[1];return header+': '+value;}).join('\n');}},{key:"getSetCookie",value:function getSetCookie(){return this.get('set-cookie')||[];}},{key:Symbol.toStringTag,get:function get(){return'AxiosHeaders';}}],[{key:"from",value:function from(thing){return thing instanceof this?thing:new this(thing);}},{key:"concat",value:function concat(first){var computed=new this(first);for(var _len2=arguments.length,targets=new Array(_len2>1?_len2-1:0),_key3=1;_key3<_len2;_key3++){targets[_key3-1]=arguments[_key3];}targets.forEach(function(target){return computed.set(target);});return computed;}},{key:"accessor",value:function accessor(header){var internals=this[$internals]=this[$internals]={accessors:{}};var accessors=internals.accessors;var prototype=this.prototype;function defineAccessor(_header){var lHeader=normalizeHeader(_header);if(!accessors[lHeader]){buildAccessors(prototype,_header);accessors[lHeader]=true;}}utils$1.isArray(header)?header.forEach(defineAccessor):defineAccessor(header);return this;}}]);}();AxiosHeaders.accessor(['Content-Type','Content-Length','Accept','Accept-Encoding','User-Agent','Authorization']);// reserved names hotfix
702
+ */var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value).replace(/[\r\n]+$/,'');}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}return _createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else if(utils$1.isObject(header)&&utils$1.isIterable(header)){var obj={},dest,key;var _iterator3=_createForOfIteratorHelper(header),_step2;try{for(_iterator3.s();!(_step2=_iterator3.n()).done;){var entry=_step2.value;if(!utils$1.isArray(entry)){throw TypeError('Object iterator must return a key-value pair');}obj[key=entry[0]]=(dest=obj[key])?utils$1.isArray(dest)?[].concat(_toConsumableArray(dest),[entry[1]]):[dest,entry[1]]:entry[1];}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}setHeaders(obj,valueOrRewrite);}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:Symbol.iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(_ref8){var _ref9=_slicedToArray(_ref8,2),header=_ref9[0],value=_ref9[1];return header+': '+value;}).join('\n');}},{key:"getSetCookie",value:function getSetCookie(){return this.get('set-cookie')||[];}},{key:Symbol.toStringTag,get:function get(){return'AxiosHeaders';}}],[{key:"from",value:function from(thing){return thing instanceof this?thing:new this(thing);}},{key:"concat",value:function concat(first){var computed=new this(first);for(var _len2=arguments.length,targets=new Array(_len2>1?_len2-1:0),_key3=1;_key3<_len2;_key3++){targets[_key3-1]=arguments[_key3];}targets.forEach(function(target){return computed.set(target);});return computed;}},{key:"accessor",value:function accessor(header){var internals=this[$internals]=this[$internals]={accessors:{}};var accessors=internals.accessors;var prototype=this.prototype;function defineAccessor(_header){var lHeader=normalizeHeader(_header);if(!accessors[lHeader]){buildAccessors(prototype,_header);accessors[lHeader]=true;}}utils$1.isArray(header)?header.forEach(defineAccessor):defineAccessor(header);return this;}}]);}();AxiosHeaders.accessor(['Content-Type','Content-Length','Accept','Accept-Encoding','User-Agent','Authorization']);// reserved names hotfix
703
703
  utils$1.reduceDescriptors(AxiosHeaders.prototype,function(_ref0,key){var value=_ref0.value;var mapped=key[0].toUpperCase()+key.slice(1);// map `set` => `Set`
704
704
  return{get:function get(){return value;},set:function set(headerValue){this[mapped]=headerValue;}};});utils$1.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;/**
705
705
  * Transform the data for a request or a response
@@ -812,7 +812,7 @@ if(onDownloadProgress){var _progressEventReducer=progressEventReducer(onDownload
812
812
  if(onUploadProgress&&request.upload){var _progressEventReducer3=progressEventReducer(onUploadProgress);var _progressEventReducer4=_slicedToArray(_progressEventReducer3,2);uploadThrottled=_progressEventReducer4[0];flushUpload=_progressEventReducer4[1];request.upload.addEventListener('progress',uploadThrottled);request.upload.addEventListener('loadend',flushUpload);}if(_config.cancelToken||_config.signal){// Handle cancellation
813
813
  // eslint-disable-next-line func-names
814
814
  onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel.type?new CanceledError$1(null,config,request):cancel);request.abort();request=null;};_config.cancelToken&&_config.cancelToken.subscribe(onCanceled);if(_config.signal){_config.signal.aborted?onCanceled():_config.signal.addEventListener('abort',onCanceled);}}var protocol=parseProtocol(_config.url);if(protocol&&platform.protocols.indexOf(protocol)===-1){reject(new AxiosError$1('Unsupported protocol '+protocol+':',AxiosError$1.ERR_BAD_REQUEST,config));return;}// Send the request
815
- request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var _signals=signals=signals?signals.filter(Boolean):[],length=_signals.length;if(timeout||length){var controller=new AbortController();var aborted;var onabort=function onabort(reason){if(!aborted){aborted=true;unsubscribe();var err=reason instanceof Error?reason:this.reason;controller.abort(err instanceof AxiosError$1?err:new CanceledError$1(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){timer=null;onabort(new AxiosError$1("timeout of ".concat(timeout,"ms exceeded"),AxiosError$1.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal.unsubscribe?signal.unsubscribe(onabort):signal.removeEventListener('abort',onabort);});signals=null;}};signals.forEach(function(signal){return signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=function(){return utils$1.asap(unsubscribe);};return signal;}};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regenerator().m(function streamChunk(chunk,chunkSize){var len,pos,end;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.n=2;break;}_context.n=1;return chunk;case 1:return _context.a(2);case 2:pos=0;case 3:if(!(pos<len)){_context.n=5;break;}end=pos+chunkSize;_context.n=4;return chunk.slice(pos,end);case 4:pos=end;_context.n=3;break;case 5:return _context.a(2);}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable,chunkSize){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator2,_step,chunk,_t;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.p=1;_iterator2=_asyncIterator(readStream(iterable));case 2:_context2.n=3;return _awaitAsyncGenerator(_iterator2.next());case 3:if(!(_iteratorAbruptCompletion=!(_step=_context2.v).done)){_context2.n=5;break;}chunk=_step.value;return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk,chunkSize)),_awaitAsyncGenerator)),4);case 4:_iteratorAbruptCompletion=false;_context2.n=2;break;case 5:_context2.n=7;break;case 6:_context2.p=6;_t=_context2.v;_didIteratorError=true;_iteratorError=_t;case 7:_context2.p=7;_context2.p=8;if(!(_iteratorAbruptCompletion&&_iterator2["return"]!=null)){_context2.n=9;break;}_context2.n=9;return _awaitAsyncGenerator(_iterator2["return"]());case 9:_context2.p=9;if(!_didIteratorError){_context2.n=10;break;}throw _iteratorError;case 10:return _context2.f(9);case 11:return _context2.f(7);case 12:return _context2.a(2);}},_callee,null,[[8,,9,11],[1,6,7,12]]);}));return function readBytes(_x,_x2){return _ref.apply(this,arguments);};}();var readStream=/*#__PURE__*/function(){var _ref2=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream){var reader,_yield$_awaitAsyncGen,done,value;return _regenerator().w(function(_context3){while(1)switch(_context3.p=_context3.n){case 0:if(!stream[Symbol.asyncIterator]){_context3.n=2;break;}return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream),_awaitAsyncGenerator)),1);case 1:return _context3.a(2);case 2:reader=stream.getReader();_context3.p=3;case 4:_context3.n=5;return _awaitAsyncGenerator(reader.read());case 5:_yield$_awaitAsyncGen=_context3.v;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context3.n=6;break;}return _context3.a(3,8);case 6:_context3.n=7;return value;case 7:_context3.n=4;break;case 8:_context3.p=8;_context3.n=9;return _awaitAsyncGenerator(reader.cancel());case 9:return _context3.f(8);case 10:return _context3.a(2);}},_callee2,null,[[3,,8,10]]);}));return function readStream(_x3){return _ref2.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish){var iterator=readBytes(stream,chunkSize);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(){var _yield$iterator$next,_done,value,len,loadedBytes,_t2;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:_context4.p=0;_context4.n=1;return iterator.next();case 1:_yield$iterator$next=_context4.v;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context4.n=2;break;}_onFinish();controller.close();return _context4.a(2);case 2:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context4.n=4;break;case 3:_context4.p=3;_t2=_context4.v;_onFinish(_t2);throw _t2;case 4:return _context4.a(2);}},_callee3,null,[[0,3]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var DEFAULT_CHUNK_SIZE=64*1024;var isFunction=utils$1.isFunction;var globalFetchAPI=function(_ref11){var Request=_ref11.Request,Response=_ref11.Response;return{Request:Request,Response:Response};}(utils$1.global);var _utils$1$global=utils$1.global,ReadableStream$1=_utils$1$global.ReadableStream,TextEncoder$1=_utils$1$global.TextEncoder;var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var factory=function factory(env){env=utils$1.merge.call({skipUndefined:true},globalFetchAPI,env);var _env=env,envFetch=_env.fetch,Request=_env.Request,Response=_env.Response;var isFetchSupported=envFetch?isFunction(envFetch):typeof fetch==='function';var isRequestSupported=isFunction(Request);var isResponseSupported=isFunction(Response);if(!isFetchSupported){return false;}var isReadableStreamSupported=isFetchSupported&&isFunction(ReadableStream$1);var encodeText=isFetchSupported&&(typeof TextEncoder$1==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder$1()):(/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(str){var _t3,_t4;return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_t3=Uint8Array;_context5.n=1;return new Request(str).arrayBuffer();case 1:_t4=_context5.v;return _context5.a(2,new _t3(_t4));}},_callee4);}));return function(_x4){return _ref12.apply(this,arguments);};}()));var supportsRequestStream=isRequestSupported&&isReadableStreamSupported&&test(function(){var duplexAccessed=false;var hasContentType=new Request(platform.origin,{body:new ReadableStream$1(),method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');return duplexAccessed&&!hasContentType;});var supportsResponseStream=isResponseSupported&&isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=function(res,config){var method=res&&res[type];if(method){return method.call(res);}throw new AxiosError$1("Response type '".concat(type,"' is not supported"),AxiosError$1.ERR_NOT_SUPPORT,config);});});}();var getBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(body){var _request;return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:if(!(body==null)){_context6.n=1;break;}return _context6.a(2,0);case 1:if(!utils$1.isBlob(body)){_context6.n=2;break;}return _context6.a(2,body.size);case 2:if(!utils$1.isSpecCompliantForm(body)){_context6.n=4;break;}_request=new Request(platform.origin,{method:'POST',body:body});_context6.n=3;return _request.arrayBuffer();case 3:return _context6.a(2,_context6.v.byteLength);case 4:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context6.n=5;break;}return _context6.a(2,body.byteLength);case 5:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context6.n=7;break;}_context6.n=6;return encodeText(body);case 6:return _context6.a(2,_context6.v.byteLength);case 7:return _context6.a(2);}},_callee5);}));return function getBodyLength(_x5){return _ref13.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(headers,body){var length;return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context7.a(2,length==null?getBodyLength(body):length);}},_callee6);}));return function resolveBodyLength(_x6,_x7){return _ref14.apply(this,arguments);};}();return/*#__PURE__*/function(){var _ref15=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,_fetch,composedSignal,request,unsubscribe,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,isCredentialsSupported,resolvedOptions,response,isStreamResponse,options,responseContentLength,_ref16,_ref17,_onProgress,_flush,responseData,_t5,_t6,_t7;return _regenerator().w(function(_context8){while(1)switch(_context8.p=_context8.n){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;_fetch=envFetch||fetch;responseType=responseType?(responseType+'').toLowerCase():'text';composedSignal=composeSignals$1([signal,cancelToken&&cancelToken.toAbortSignal()],timeout);request=null;unsubscribe=composedSignal&&composedSignal.unsubscribe&&function(){composedSignal.unsubscribe();};_context8.p=1;_t5=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_t5){_context8.n=3;break;}_context8.n=2;return resolveBodyLength(headers,data);case 2:_t6=requestContentLength=_context8.v;_t5=_t6!==0;case 3:if(!_t5){_context8.n=4;break;}_request=new Request(url,{method:'POST',body:data,duplex:'half'});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush);}case 4:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}// Cloudflare Workers throws when credentials are defined
815
+ request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var _signals=signals=signals?signals.filter(Boolean):[],length=_signals.length;if(timeout||length){var controller=new AbortController();var aborted;var onabort=function onabort(reason){if(!aborted){aborted=true;unsubscribe();var err=reason instanceof Error?reason:this.reason;controller.abort(err instanceof AxiosError$1?err:new CanceledError$1(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){timer=null;onabort(new AxiosError$1("timeout of ".concat(timeout,"ms exceeded"),AxiosError$1.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal.unsubscribe?signal.unsubscribe(onabort):signal.removeEventListener('abort',onabort);});signals=null;}};signals.forEach(function(signal){return signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=function(){return utils$1.asap(unsubscribe);};return signal;}};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regenerator().m(function streamChunk(chunk,chunkSize){var len,pos,end;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.n=2;break;}_context.n=1;return chunk;case 1:return _context.a(2);case 2:pos=0;case 3:if(!(pos<len)){_context.n=5;break;}end=pos+chunkSize;_context.n=4;return chunk.slice(pos,end);case 4:pos=end;_context.n=3;break;case 5:return _context.a(2);}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable,chunkSize){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator2,_step,chunk,_t;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.p=1;_iterator2=_asyncIterator(readStream(iterable));case 2:_context2.n=3;return _awaitAsyncGenerator(_iterator2.next());case 3:if(!(_iteratorAbruptCompletion=!(_step=_context2.v).done)){_context2.n=5;break;}chunk=_step.value;return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk,chunkSize)),_awaitAsyncGenerator)),4);case 4:_iteratorAbruptCompletion=false;_context2.n=2;break;case 5:_context2.n=7;break;case 6:_context2.p=6;_t=_context2.v;_didIteratorError=true;_iteratorError=_t;case 7:_context2.p=7;_context2.p=8;if(!(_iteratorAbruptCompletion&&_iterator2["return"]!=null)){_context2.n=9;break;}_context2.n=9;return _awaitAsyncGenerator(_iterator2["return"]());case 9:_context2.p=9;if(!_didIteratorError){_context2.n=10;break;}throw _iteratorError;case 10:return _context2.f(9);case 11:return _context2.f(7);case 12:return _context2.a(2);}},_callee,null,[[8,,9,11],[1,6,7,12]]);}));return function readBytes(_x,_x2){return _ref.apply(this,arguments);};}();var readStream=/*#__PURE__*/function(){var _ref2=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream){var reader,_yield$_awaitAsyncGen,done,value;return _regenerator().w(function(_context3){while(1)switch(_context3.p=_context3.n){case 0:if(!stream[Symbol.asyncIterator]){_context3.n=2;break;}return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream),_awaitAsyncGenerator)),1);case 1:return _context3.a(2);case 2:reader=stream.getReader();_context3.p=3;case 4:_context3.n=5;return _awaitAsyncGenerator(reader.read());case 5:_yield$_awaitAsyncGen=_context3.v;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context3.n=6;break;}return _context3.a(3,8);case 6:_context3.n=7;return value;case 7:_context3.n=4;break;case 8:_context3.p=8;_context3.n=9;return _awaitAsyncGenerator(reader.cancel());case 9:return _context3.f(8);case 10:return _context3.a(2);}},_callee2,null,[[3,,8,10]]);}));return function readStream(_x3){return _ref2.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish){var iterator=readBytes(stream,chunkSize);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(){var _yield$iterator$next,_done,value,len,loadedBytes,_t2;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:_context4.p=0;_context4.n=1;return iterator.next();case 1:_yield$iterator$next=_context4.v;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context4.n=2;break;}_onFinish();controller.close();return _context4.a(2);case 2:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context4.n=4;break;case 3:_context4.p=3;_t2=_context4.v;_onFinish(_t2);throw _t2;case 4:return _context4.a(2);}},_callee3,null,[[0,3]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var DEFAULT_CHUNK_SIZE=64*1024;var isFunction=utils$1.isFunction;var globalFetchAPI=function(_ref11){var Request=_ref11.Request,Response=_ref11.Response;return{Request:Request,Response:Response};}(utils$1.global);var _utils$1$global=utils$1.global,ReadableStream$1=_utils$1$global.ReadableStream,TextEncoder$1=_utils$1$global.TextEncoder;var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var factory=function factory(env){env=utils$1.merge.call({skipUndefined:true},globalFetchAPI,env);var _env=env,envFetch=_env.fetch,Request=_env.Request,Response=_env.Response;var isFetchSupported=envFetch?isFunction(envFetch):typeof fetch==='function';var isRequestSupported=isFunction(Request);var isResponseSupported=isFunction(Response);if(!isFetchSupported){return false;}var isReadableStreamSupported=isFetchSupported&&isFunction(ReadableStream$1);var encodeText=isFetchSupported&&(typeof TextEncoder$1==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder$1()):(/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(str){var _t3,_t4;return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_t3=Uint8Array;_context5.n=1;return new Request(str).arrayBuffer();case 1:_t4=_context5.v;return _context5.a(2,new _t3(_t4));}},_callee4);}));return function(_x4){return _ref12.apply(this,arguments);};}()));var supportsRequestStream=isRequestSupported&&isReadableStreamSupported&&test(function(){var duplexAccessed=false;var body=new ReadableStream$1();var hasContentType=new Request(platform.origin,{body:body,method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');body.cancel();return duplexAccessed&&!hasContentType;});var supportsResponseStream=isResponseSupported&&isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=function(res,config){var method=res&&res[type];if(method){return method.call(res);}throw new AxiosError$1("Response type '".concat(type,"' is not supported"),AxiosError$1.ERR_NOT_SUPPORT,config);});});}();var getBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(body){var _request;return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:if(!(body==null)){_context6.n=1;break;}return _context6.a(2,0);case 1:if(!utils$1.isBlob(body)){_context6.n=2;break;}return _context6.a(2,body.size);case 2:if(!utils$1.isSpecCompliantForm(body)){_context6.n=4;break;}_request=new Request(platform.origin,{method:'POST',body:body});_context6.n=3;return _request.arrayBuffer();case 3:return _context6.a(2,_context6.v.byteLength);case 4:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context6.n=5;break;}return _context6.a(2,body.byteLength);case 5:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context6.n=7;break;}_context6.n=6;return encodeText(body);case 6:return _context6.a(2,_context6.v.byteLength);case 7:return _context6.a(2);}},_callee5);}));return function getBodyLength(_x5){return _ref13.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(headers,body){var length;return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context7.a(2,length==null?getBodyLength(body):length);}},_callee6);}));return function resolveBodyLength(_x6,_x7){return _ref14.apply(this,arguments);};}();return/*#__PURE__*/function(){var _ref15=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,_fetch,composedSignal,request,unsubscribe,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,isCredentialsSupported,resolvedOptions,response,isStreamResponse,options,responseContentLength,_ref16,_ref17,_onProgress,_flush,responseData,_t5,_t6,_t7;return _regenerator().w(function(_context8){while(1)switch(_context8.p=_context8.n){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;_fetch=envFetch||fetch;responseType=responseType?(responseType+'').toLowerCase():'text';composedSignal=composeSignals$1([signal,cancelToken&&cancelToken.toAbortSignal()],timeout);request=null;unsubscribe=composedSignal&&composedSignal.unsubscribe&&function(){composedSignal.unsubscribe();};_context8.p=1;_t5=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_t5){_context8.n=3;break;}_context8.n=2;return resolveBodyLength(headers,data);case 2:_t6=requestContentLength=_context8.v;_t5=_t6!==0;case 3:if(!_t5){_context8.n=4;break;}_request=new Request(url,{method:'POST',body:data,duplex:'half'});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush);}case 4:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}// Cloudflare Workers throws when credentials are defined
816
816
  // see https://github.com/cloudflare/workerd/issues/902
817
817
  isCredentialsSupported=isRequestSupported&&'credentials'in Request.prototype;resolvedOptions=_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:'half',credentials:isCredentialsSupported?withCredentials:undefined});request=isRequestSupported&&new Request(url,resolvedOptions);_context8.n=5;return isRequestSupported?_fetch(request,fetchOptions):_fetch(url,resolvedOptions);case 5:response=_context8.v;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse&&unsubscribe)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref16=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref17=_slicedToArray(_ref16,2),_onProgress=_ref17[0],_flush=_ref17[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();unsubscribe&&unsubscribe();}),options);}responseType=responseType||'text';_context8.n=6;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 6:responseData=_context8.v;!isStreamResponse&&unsubscribe&&unsubscribe();_context8.n=7;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 7:return _context8.a(2,_context8.v);case 8:_context8.p=8;_t7=_context8.v;unsubscribe&&unsubscribe();if(!(_t7&&_t7.name==='TypeError'&&/Load failed|fetch/i.test(_t7.message))){_context8.n=9;break;}throw Object.assign(new AxiosError$1('Network Error',AxiosError$1.ERR_NETWORK,config,request,_t7&&_t7.response),{cause:_t7.cause||_t7});case 9:throw AxiosError$1.from(_t7,_t7&&_t7.code,config,request,_t7&&_t7.response);case 10:return _context8.a(2);}},_callee7,null,[[1,8]]);}));return function(_x8){return _ref15.apply(this,arguments);};}();};var seedCache=new Map();var getFetch=function getFetch(config){var env=config&&config.env||{};var fetch=env.fetch,Request=env.Request,Response=env.Response;var seeds=[Request,Response,fetch];var len=seeds.length,i=len,seed,target,map=seedCache;while(i--){seed=seeds[i];target=map.get(seed);target===undefined&&map.set(seed,target=i?new Map():factory(env));map=target;}return target;};getFetch();/**
818
818
  * Known adapters mapping.
@@ -866,7 +866,7 @@ utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.definePropert
866
866
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
867
867
  config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter,config);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
868
868
  response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
869
- if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.13.6";var validators$1={};// eslint-disable-next-line func-names
869
+ if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.14.0";var validators$1={};// eslint-disable-next-line func-names
870
870
  ['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={};/**
871
871
  * Transitional option validator
872
872
  *
@@ -908,7 +908,7 @@ if(config.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls
908
908
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
909
909
  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
910
910
  var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;var transitional=config.transitional||transitionalDefaults;var legacyInterceptorReqResOrdering=transitional&&transitional.legacyInterceptorReqResOrdering;if(legacyInterceptorReqResOrdering){requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);}else{requestInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);}});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url,config.allowAbsoluteUrls);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
911
- utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
911
+ utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
912
912
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
913
913
  *
914
914
  * @param {Function} executor The executor function.
@@ -1014,7 +1014,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
1014
1014
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
1015
1015
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
1016
1016
  * @module purecloud-platform-client-v2/ApiClient
1017
- * @version 249.1.0
1017
+ * @version 250.1.0
1018
1018
  */var ApiClient=/*#__PURE__*/function(){/**
1019
1019
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
1020
1020
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1043,7 +1043,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
1043
1043
  */PIPES:'|',/**
1044
1044
  * Native array. Value: <code>multi</code>
1045
1045
  * @const
1046
- */MULTI:'multi'};this.useLegacyParameterFilter=true;/**
1046
+ */MULTI:'multi'};this.useLegacyParameterFilter=false;/**
1047
1047
  * @description Value is `true` if local storage exists. Otherwise, false.
1048
1048
  */try{localStorage.setItem('purecloud_local_storage_test','purecloud_local_storage_test');localStorage.removeItem('purecloud_local_storage_test');this.hasLocalStorage=true;}catch(e){this.hasLocalStorage=false;}/**
1049
1049
  * The authentication methods to be included for all API calls.
@@ -1383,7 +1383,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1383
1383
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
1384
1384
  * AIStudio service.
1385
1385
  * @module purecloud-platform-client-v2/api/AIStudioApi
1386
- * @version 249.1.0
1386
+ * @version 250.1.0
1387
1387
  *//**
1388
1388
  * Constructs a new AIStudioApi.
1389
1389
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -1574,7 +1574,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
1574
1574
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
1575
1575
  * AgentAssistants service.
1576
1576
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1577
- * @version 249.1.0
1577
+ * @version 250.1.0
1578
1578
  *//**
1579
1579
  * Constructs a new AgentAssistantsApi.
1580
1580
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1799,7 +1799,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
1799
1799
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
1800
1800
  * AgentCopilot service.
1801
1801
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1802
- * @version 249.1.0
1802
+ * @version 250.1.0
1803
1803
  *//**
1804
1804
  * Constructs a new AgentCopilotApi.
1805
1805
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1831,7 +1831,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
1831
1831
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
1832
1832
  * AgentUI service.
1833
1833
  * @module purecloud-platform-client-v2/api/AgentUIApi
1834
- * @version 249.1.0
1834
+ * @version 250.1.0
1835
1835
  *//**
1836
1836
  * Constructs a new AgentUIApi.
1837
1837
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1873,7 +1873,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
1873
1873
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
1874
1874
  * Alerting service.
1875
1875
  * @module purecloud-platform-client-v2/api/AlertingApi
1876
- * @version 249.1.0
1876
+ * @version 250.1.0
1877
1877
  *//**
1878
1878
  * Constructs a new AlertingApi.
1879
1879
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1987,7 +1987,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
1987
1987
  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'],opts['customHeaders']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
1988
1988
  * Analytics service.
1989
1989
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1990
- * @version 249.1.0
1990
+ * @version 250.1.0
1991
1991
  *//**
1992
1992
  * Constructs a new AnalyticsApi.
1993
1993
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2042,6 +2042,14 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
2042
2042
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2043
2043
  */},{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
2044
2044
  if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2045
+ * Delete/cancel an async request for copilot aggregates
2046
+ *
2047
+ * @param {String} jobId jobId
2048
+ * @param {Object} opts Optional parameters
2049
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2050
+ * deleteAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2051
+ */},{key:"deleteAnalyticsCopilotsAggregatesJob",value:function deleteAnalyticsCopilotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
2052
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsCopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/copilots/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2045
2053
  * Delete/cancel an async request for evaluation aggregates
2046
2054
  *
2047
2055
  * @param {String} jobId jobId
@@ -2304,6 +2312,23 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
2304
2312
  * @param {Object} opts Optional parameters
2305
2313
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2306
2314
  */},{key:"getAnalyticsConversationsDetailsJobsAvailability",value:function getAnalyticsConversationsDetailsJobsAvailability(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/availability','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2315
+ * Get status for async query for copilot aggregates
2316
+ *
2317
+ * @param {String} jobId jobId
2318
+ * @param {Object} opts Optional parameters
2319
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2320
+ * getAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2321
+ */},{key:"getAnalyticsCopilotsAggregatesJob",value:function getAnalyticsCopilotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
2322
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/copilots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2323
+ * Fetch a page of results for an async aggregates query
2324
+ *
2325
+ * @param {String} jobId jobId
2326
+ * @param {Object} opts Optional parameters
2327
+ * @param {String} opts.cursor Cursor token to retrieve next page
2328
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2329
+ * getAnalyticsCopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2330
+ */},{key:"getAnalyticsCopilotsAggregatesJobResults",value:function getAnalyticsCopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
2331
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/copilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2307
2332
  * Get analytics data warehouse file download
2308
2333
  *
2309
2334
  * @param {String} downloadId Unique file Id to download
@@ -2730,6 +2755,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2730
2755
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2731
2756
  */},{key:"postAnalyticsConversationsDetailsQuery",value:function postAnalyticsConversationsDetailsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2732
2757
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2758
+ * Query for copilot aggregates asynchronously
2759
+ *
2760
+ * @param {Object} body query
2761
+ * @param {Object} opts Optional parameters
2762
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2763
+ * postAnalyticsCopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2764
+ */},{key:"postAnalyticsCopilotsAggregatesJobs",value:function postAnalyticsCopilotsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2765
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/copilots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2766
+ * Query for copilot aggregates
2767
+ *
2768
+ * @param {Object} body query
2769
+ * @param {Object} opts Optional parameters
2770
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2771
+ * postAnalyticsCopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2772
+ */},{key:"postAnalyticsCopilotsAggregatesQuery",value:function postAnalyticsCopilotsAggregatesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2773
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/copilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2733
2774
  * Get download URLs for analytics data warehouse files
2734
2775
  *
2735
2776
  * @param {Object} body request
@@ -2947,7 +2988,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2947
2988
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. Used for pagination.
2948
2989
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200.
2949
2990
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2950
- * postAnalyticsTaskmanagementMetricsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2951
2991
  */},{key:"postAnalyticsTaskmanagementMetricsQuery",value:function postAnalyticsTaskmanagementMetricsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2952
2992
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementMetricsQuery';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/metrics/query','POST',{},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
2953
2993
  * Query for team activity observations
@@ -3028,7 +3068,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3028
3068
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
3029
3069
  * Architect service.
3030
3070
  * @module purecloud-platform-client-v2/api/ArchitectApi
3031
- * @version 249.1.0
3071
+ * @version 250.1.0
3032
3072
  *//**
3033
3073
  * Constructs a new ArchitectApi.
3034
3074
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -4387,7 +4427,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
4387
4427
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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'],opts['customHeaders']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
4388
4428
  * AssistantCopilotVariations service.
4389
4429
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
4390
- * @version 249.1.0
4430
+ * @version 250.1.0
4391
4431
  *//**
4392
4432
  * Constructs a new AssistantCopilotVariationsApi.
4393
4433
  * @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
@@ -4442,7 +4482,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
4442
4482
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
4443
4483
  * Audit service.
4444
4484
  * @module purecloud-platform-client-v2/api/AuditApi
4445
- * @version 249.1.0
4485
+ * @version 250.1.0
4446
4486
  *//**
4447
4487
  * Constructs a new AuditApi.
4448
4488
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -4503,7 +4543,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4503
4543
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
4504
4544
  * Authorization service.
4505
4545
  * @module purecloud-platform-client-v2/api/AuthorizationApi
4506
- * @version 249.1.0
4546
+ * @version 250.1.0
4507
4547
  *//**
4508
4548
  * Constructs a new AuthorizationApi.
4509
4549
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -5021,7 +5061,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
5021
5061
  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'],opts['customHeaders']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
5022
5062
  * BackgroundAssistant service.
5023
5063
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
5024
- * @version 249.1.0
5064
+ * @version 250.1.0
5025
5065
  *//**
5026
5066
  * Constructs a new BackgroundAssistantApi.
5027
5067
  * @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
@@ -5044,7 +5084,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5044
5084
  */},{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'],opts['customHeaders']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
5045
5085
  * Billing service.
5046
5086
  * @module purecloud-platform-client-v2/api/BillingApi
5047
- * @version 249.1.0
5087
+ * @version 250.1.0
5048
5088
  *//**
5049
5089
  * Constructs a new BillingApi.
5050
5090
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -5133,7 +5173,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
5133
5173
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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'],opts['customHeaders']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
5134
5174
  * BusinessRules service.
5135
5175
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
5136
- * @version 249.1.0
5176
+ * @version 250.1.0
5137
5177
  *//**
5138
5178
  * Constructs a new BusinessRulesApi.
5139
5179
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -5406,7 +5446,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
5406
5446
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
5407
5447
  * CarrierServices service.
5408
5448
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
5409
- * @version 249.1.0
5449
+ * @version 250.1.0
5410
5450
  *//**
5411
5451
  * Constructs a new CarrierServicesApi.
5412
5452
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -5429,7 +5469,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
5429
5469
  */},{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'],opts['customHeaders']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
5430
5470
  * CaseManagement service.
5431
5471
  * @module purecloud-platform-client-v2/api/CaseManagementApi
5432
- * @version 249.1.0
5472
+ * @version 250.1.0
5433
5473
  *//**
5434
5474
  * Constructs a new CaseManagementApi.
5435
5475
  * @alias module:purecloud-platform-client-v2/api/CaseManagementApi
@@ -5790,7 +5830,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5790
5830
  */},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
5791
5831
  * Chat service.
5792
5832
  * @module purecloud-platform-client-v2/api/ChatApi
5793
- * @version 249.1.0
5833
+ * @version 250.1.0
5794
5834
  *//**
5795
5835
  * Constructs a new ChatApi.
5796
5836
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -6085,7 +6125,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6085
6125
  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'],opts['customHeaders']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
6086
6126
  * Coaching service.
6087
6127
  * @module purecloud-platform-client-v2/api/CoachingApi
6088
- * @version 249.1.0
6128
+ * @version 250.1.0
6089
6129
  *//**
6090
6130
  * Constructs a new CoachingApi.
6091
6131
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -6284,7 +6324,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6284
6324
  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'],opts['customHeaders']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
6285
6325
  * ContentManagement service.
6286
6326
  * @module purecloud-platform-client-v2/api/ContentManagementApi
6287
- * @version 249.1.0
6327
+ * @version 250.1.0
6288
6328
  *//**
6289
6329
  * Constructs a new ContentManagementApi.
6290
6330
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -6616,7 +6656,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
6616
6656
  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'],opts['customHeaders']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
6617
6657
  * Conversations service.
6618
6658
  * @module purecloud-platform-client-v2/api/ConversationsApi
6619
- * @version 249.1.0
6659
+ * @version 250.1.0
6620
6660
  *//**
6621
6661
  * Constructs a new ConversationsApi.
6622
6662
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -8701,6 +8741,17 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
8701
8741
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
8702
8742
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
8703
8743
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
8744
+ * Start/stop the snippet recording for a participant
8745
+ *
8746
+ * @param {String} conversationId conversationId
8747
+ * @param {String} participantId participantId
8748
+ * @param {Object} body snippetRecordingRequest
8749
+ * @param {Object} opts Optional parameters
8750
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8751
+ */},{key:"postConversationsCallParticipantSnippetRecord",value:function postConversationsCallParticipantSnippetRecord(conversationId,participantId,body,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
8752
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';}// verify the required parameter 'participantId' is set
8753
+ if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';}// verify the required parameter 'body' is set
8754
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantSnippetRecord';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/snippet/record','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
8704
8755
  * Initiate voice consult transfer
8705
8756
  *
8706
8757
  * @param {String} conversationId conversationId
@@ -9518,7 +9569,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
9518
9569
  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'],opts['customHeaders']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
9519
9570
  * DataExtensions service.
9520
9571
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
9521
- * @version 249.1.0
9572
+ * @version 250.1.0
9522
9573
  *//**
9523
9574
  * Constructs a new DataExtensionsApi.
9524
9575
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -9545,7 +9596,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
9545
9596
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
9546
9597
  * DataPrivacy service.
9547
9598
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
9548
- * @version 249.1.0
9599
+ * @version 250.1.0
9549
9600
  *//**
9550
9601
  * Constructs a new DataPrivacyApi.
9551
9602
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -9596,7 +9647,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9596
9647
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
9597
9648
  * Downloads service.
9598
9649
  * @module purecloud-platform-client-v2/api/DownloadsApi
9599
- * @version 249.1.0
9650
+ * @version 250.1.0
9600
9651
  *//**
9601
9652
  * Constructs a new DownloadsApi.
9602
9653
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -9616,7 +9667,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9616
9667
  if(downloadId===undefined||downloadId===null||downloadId===''){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'],opts['customHeaders']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
9617
9668
  * Emails service.
9618
9669
  * @module purecloud-platform-client-v2/api/EmailsApi
9619
- * @version 249.1.0
9670
+ * @version 250.1.0
9620
9671
  *//**
9621
9672
  * Constructs a new EmailsApi.
9622
9673
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -9653,7 +9704,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
9653
9704
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
9654
9705
  * EmployeeEngagement service.
9655
9706
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
9656
- * @version 249.1.0
9707
+ * @version 250.1.0
9657
9708
  *//**
9658
9709
  * Constructs a new EmployeeEngagementApi.
9659
9710
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -9711,7 +9762,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9711
9762
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
9712
9763
  * Events service.
9713
9764
  * @module purecloud-platform-client-v2/api/EventsApi
9714
- * @version 249.1.0
9765
+ * @version 250.1.0
9715
9766
  *//**
9716
9767
  * Constructs a new EventsApi.
9717
9768
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -9742,7 +9793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9742
9793
  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'],opts['customHeaders']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
9743
9794
  * ExternalContacts service.
9744
9795
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
9745
- * @version 249.1.0
9796
+ * @version 250.1.0
9746
9797
  *//**
9747
9798
  * Constructs a new ExternalContactsApi.
9748
9799
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -10704,7 +10755,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
10704
10755
  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'],opts['customHeaders']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
10705
10756
  * Fax service.
10706
10757
  * @module purecloud-platform-client-v2/api/FaxApi
10707
- * @version 249.1.0
10758
+ * @version 250.1.0
10708
10759
  *//**
10709
10760
  * Constructs a new FaxApi.
10710
10761
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -10767,7 +10818,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10767
10818
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
10768
10819
  * Flows service.
10769
10820
  * @module purecloud-platform-client-v2/api/FlowsApi
10770
- * @version 249.1.0
10821
+ * @version 250.1.0
10771
10822
  *//**
10772
10823
  * Constructs a new FlowsApi.
10773
10824
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -10833,7 +10884,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10833
10884
  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'],opts['customHeaders']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
10834
10885
  * Gamification service.
10835
10886
  * @module purecloud-platform-client-v2/api/GamificationApi
10836
- * @version 249.1.0
10887
+ * @version 250.1.0
10837
10888
  *//**
10838
10889
  * Constructs a new GamificationApi.
10839
10890
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -11628,7 +11679,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11628
11679
  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'],opts['customHeaders']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
11629
11680
  * GeneralDataProtectionRegulation service.
11630
11681
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
11631
- * @version 249.1.0
11682
+ * @version 250.1.0
11632
11683
  *//**
11633
11684
  * Constructs a new GeneralDataProtectionRegulationApi.
11634
11685
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -11669,7 +11720,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
11669
11720
  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'],opts['customHeaders']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
11670
11721
  * Geolocation service.
11671
11722
  * @module purecloud-platform-client-v2/api/GeolocationApi
11672
- * @version 249.1.0
11723
+ * @version 250.1.0
11673
11724
  *//**
11674
11725
  * Constructs a new GeolocationApi.
11675
11726
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -11711,7 +11762,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
11711
11762
  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'],opts['customHeaders']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
11712
11763
  * Greetings service.
11713
11764
  * @module purecloud-platform-client-v2/api/GreetingsApi
11714
- * @version 249.1.0
11765
+ * @version 250.1.0
11715
11766
  *//**
11716
11767
  * Constructs a new GreetingsApi.
11717
11768
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -11870,7 +11921,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
11870
11921
  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'],opts['customHeaders']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
11871
11922
  * Groups service.
11872
11923
  * @module purecloud-platform-client-v2/api/GroupsApi
11873
- * @version 249.1.0
11924
+ * @version 250.1.0
11874
11925
  *//**
11875
11926
  * Constructs a new GroupsApi.
11876
11927
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12033,7 +12084,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
12033
12084
  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'],opts['customHeaders']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
12034
12085
  * IdentityProvider service.
12035
12086
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12036
- * @version 249.1.0
12087
+ * @version 250.1.0
12037
12088
  *//**
12038
12089
  * Constructs a new IdentityProviderApi.
12039
12090
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12265,7 +12316,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12265
12316
  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'],opts['customHeaders']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
12266
12317
  * InfrastructureAsCode service.
12267
12318
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12268
- * @version 249.1.0
12319
+ * @version 250.1.0
12269
12320
  *//**
12270
12321
  * Constructs a new InfrastructureAsCodeApi.
12271
12322
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12325,7 +12376,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
12325
12376
  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'],opts['customHeaders']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
12326
12377
  * Integrations service.
12327
12378
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12328
- * @version 249.1.0
12379
+ * @version 250.1.0
12329
12380
  *//**
12330
12381
  * Constructs a new IntegrationsApi.
12331
12382
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -13155,7 +13206,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
13155
13206
  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'],opts['customHeaders']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
13156
13207
  * Intents service.
13157
13208
  * @module purecloud-platform-client-v2/api/IntentsApi
13158
- * @version 249.1.0
13209
+ * @version 250.1.0
13159
13210
  *//**
13160
13211
  * Constructs a new IntentsApi.
13161
13212
  * @alias module:purecloud-platform-client-v2/api/IntentsApi
@@ -13299,7 +13350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13299
13350
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
13300
13351
  * Journey service.
13301
13352
  * @module purecloud-platform-client-v2/api/JourneyApi
13302
- * @version 249.1.0
13353
+ * @version 250.1.0
13303
13354
  *//**
13304
13355
  * Constructs a new JourneyApi.
13305
13356
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13330,6 +13381,20 @@ if(actionMapId===undefined||actionMapId===null||actionMapId===''){throw'Missing
13330
13381
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13331
13382
  */},{key:"deleteJourneyActiontemplate",value:function deleteJourneyActiontemplate(actionTemplateId,opts){opts=opts||{};// verify the required parameter 'actionTemplateId' is set
13332
13383
  if(actionTemplateId===undefined||actionTemplateId===null||actionTemplateId===''){throw'Missing the required parameter "actionTemplateId" when calling deleteJourneyActiontemplate';}return this.apiClient.callApi('/api/v2/journey/actiontemplates/{actionTemplateId}','DELETE',{'actionTemplateId':actionTemplateId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13384
+ * Delete an external events configuration.
13385
+ *
13386
+ * @param {String} configId The ID of the external event configuration.
13387
+ * @param {Object} opts Optional parameters
13388
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13389
+ */},{key:"deleteJourneyExternaleventsConfiguration",value:function deleteJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
13390
+ if(configId===undefined||configId===null||configId===''){throw'Missing the required parameter "configId" when calling deleteJourneyExternaleventsConfiguration';}return this.apiClient.callApi('/api/v2/journey/externalevents/configurations/{configId}','DELETE',{'configId':configId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13391
+ * Delete a schema
13392
+ *
13393
+ * @param {String} schemaId Schema ID
13394
+ * @param {Object} opts Optional parameters
13395
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13396
+ */},{key:"deleteJourneyExternaleventsSchema",value:function deleteJourneyExternaleventsSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
13397
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteJourneyExternaleventsSchema';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/{schemaId}','DELETE',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13333
13398
  * Delete an outcome.
13334
13399
  *
13335
13400
  * @param {String} outcomeId ID of the outcome.
@@ -13482,6 +13547,65 @@ if(actionTemplateId===undefined||actionTemplateId===null||actionTemplateId==='')
13482
13547
  */},{key:"getJourneyDeploymentCustomerPing",value:function getJourneyDeploymentCustomerPing(deploymentId,customerCookieId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
13483
13548
  if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';}// verify the required parameter 'customerCookieId' is set
13484
13549
  if(customerCookieId===undefined||customerCookieId===null||customerCookieId===''){throw'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping','GET',{'deploymentId':deploymentId,'customerCookieId':customerCookieId},{'dl':opts['dl'],'dt':opts['dt'],'appNamespace':opts['appNamespace'],'sessionId':opts['sessionId'],'sinceLastBeaconMilliseconds':opts['sinceLastBeaconMilliseconds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13550
+ * Get an external events configuration
13551
+ *
13552
+ * @param {String} configId The ID of the external event configuration.
13553
+ * @param {Object} opts Optional parameters
13554
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13555
+ */},{key:"getJourneyExternaleventsConfiguration",value:function getJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
13556
+ if(configId===undefined||configId===null||configId===''){throw'Missing the required parameter "configId" when calling getJourneyExternaleventsConfiguration';}return this.apiClient.callApi('/api/v2/journey/externalevents/configurations/{configId}','GET',{'configId':configId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13557
+ * Get all external event configurations.
13558
+ *
13559
+ * @param {Object} opts Optional parameters
13560
+ * @param {Number} opts.pageSize Page size (default to 20)
13561
+ * @param {Number} opts.pageNumber Page number (default to 1)
13562
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13563
+ */},{key:"getJourneyExternaleventsConfigurations",value:function getJourneyExternaleventsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/externalevents/configurations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13564
+ * Get a schema
13565
+ *
13566
+ * @param {String} schemaId Schema ID
13567
+ * @param {Object} opts Optional parameters
13568
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13569
+ */},{key:"getJourneyExternaleventsSchema",value:function getJourneyExternaleventsSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
13570
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchema';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13571
+ * Get a specific version of a schema
13572
+ *
13573
+ * @param {String} schemaId Schema ID
13574
+ * @param {String} versionId Schema version
13575
+ * @param {Object} opts Optional parameters
13576
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13577
+ */},{key:"getJourneyExternaleventsSchemaVersion",value:function getJourneyExternaleventsSchemaVersion(schemaId,versionId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
13578
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersion';}// verify the required parameter 'versionId' is set
13579
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getJourneyExternaleventsSchemaVersion';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/{schemaId}/versions/{versionId}','GET',{'schemaId':schemaId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13580
+ * Get all versions of a External Events schema
13581
+ *
13582
+ * @param {String} schemaId Schema ID
13583
+ * @param {Object} opts Optional parameters
13584
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13585
+ */},{key:"getJourneyExternaleventsSchemaVersions",value:function getJourneyExternaleventsSchemaVersions(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
13586
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersions';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/{schemaId}/versions','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13587
+ * Get a list of schemas.
13588
+ *
13589
+ * @param {Object} opts Optional parameters
13590
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13591
+ */},{key:"getJourneyExternaleventsSchemas",value:function getJourneyExternaleventsSchemas(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/externalevents/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13592
+ * Get a core type from which all schemas are built
13593
+ *
13594
+ * @param {String} coreTypeName Name of core type
13595
+ * @param {Object} opts Optional parameters
13596
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13597
+ */},{key:"getJourneyExternaleventsSchemasCoretype",value:function getJourneyExternaleventsSchemasCoretype(coreTypeName,opts){opts=opts||{};// verify the required parameter 'coreTypeName' is set
13598
+ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getJourneyExternaleventsSchemasCoretype';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13599
+ * Get the list of core types enabled for a specific namespace.
13600
+ *
13601
+ * @param {Object} opts Optional parameters
13602
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13603
+ */},{key:"getJourneyExternaleventsSchemasCoretypes",value:function getJourneyExternaleventsSchemasCoretypes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13604
+ * Get quantitative limits on schemas
13605
+ *
13606
+ * @param {Object} opts Optional parameters
13607
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13608
+ */},{key:"getJourneyExternaleventsSchemasLimits",value:function getJourneyExternaleventsSchemasLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13485
13609
  * Retrieve a single outcome.
13486
13610
  *
13487
13611
  * @param {String} outcomeId ID of the outcome.
@@ -13738,6 +13862,14 @@ if(actionTargetId===undefined||actionTargetId===null||actionTargetId===''){throw
13738
13862
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13739
13863
  */},{key:"patchJourneyActiontemplate",value:function patchJourneyActiontemplate(actionTemplateId,opts){opts=opts||{};// verify the required parameter 'actionTemplateId' is set
13740
13864
  if(actionTemplateId===undefined||actionTemplateId===null||actionTemplateId===''){throw'Missing the required parameter "actionTemplateId" when calling patchJourneyActiontemplate';}return this.apiClient.callApi('/api/v2/journey/actiontemplates/{actionTemplateId}','PATCH',{'actionTemplateId':actionTemplateId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13865
+ * Update an external events configuration.
13866
+ *
13867
+ * @param {String} configId The ID of the external event configuration.
13868
+ * @param {Object} opts Optional parameters
13869
+ * @param {Object} opts.body
13870
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13871
+ */},{key:"patchJourneyExternaleventsConfiguration",value:function patchJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
13872
+ if(configId===undefined||configId===null||configId===''){throw'Missing the required parameter "configId" when calling patchJourneyExternaleventsConfiguration';}return this.apiClient.callApi('/api/v2/journey/externalevents/configurations/{configId}','PATCH',{'configId':configId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13741
13873
  * Update an outcome.
13742
13874
  *
13743
13875
  * @param {String} outcomeId ID of the outcome.
@@ -13834,6 +13966,27 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
13834
13966
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13835
13967
  */},{key:"postJourneyDeploymentWebevents",value:function postJourneyDeploymentWebevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
13836
13968
  if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/webevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13969
+ * Create external events
13970
+ *
13971
+ * @param {String} configurationId The ID of the external event configuration.
13972
+ * @param {Object} opts Optional parameters
13973
+ * @param {Object} opts.body
13974
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13975
+ */},{key:"postJourneyExternaleventsConfigurationEvents",value:function postJourneyExternaleventsConfigurationEvents(configurationId,opts){opts=opts||{};// verify the required parameter 'configurationId' is set
13976
+ if(configurationId===undefined||configurationId===null||configurationId===''){throw'Missing the required parameter "configurationId" when calling postJourneyExternaleventsConfigurationEvents';}return this.apiClient.callApi('/api/v2/journey/externalevents/configurations/{configurationId}/events','POST',{'configurationId':configurationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13977
+ * Create an external events configuration.
13978
+ *
13979
+ * @param {Object} opts Optional parameters
13980
+ * @param {Object} opts.body
13981
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13982
+ */},{key:"postJourneyExternaleventsConfigurations",value:function postJourneyExternaleventsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/externalevents/configurations','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13983
+ * Create a schema
13984
+ *
13985
+ * @param {Object} body Schema create request body
13986
+ * @param {Object} opts Optional parameters
13987
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13988
+ */},{key:"postJourneyExternaleventsSchemas",value:function postJourneyExternaleventsSchemas(body,opts){opts=opts||{};// verify the required parameter 'body' is set
13989
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyExternaleventsSchemas';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13837
13990
  * Query for flow paths.
13838
13991
  *
13839
13992
  * @param {Object} opts Optional parameters
@@ -13905,6 +14058,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13905
14058
  * @param {Array.<Object>} opts.body
13906
14059
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13907
14060
  */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
14061
+ * Update a schema
14062
+ *
14063
+ * @param {String} schemaId Schema ID
14064
+ * @param {Object} body Schema update request body
14065
+ * @param {Object} opts Optional parameters
14066
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
14067
+ */},{key:"putJourneyExternaleventsSchema",value:function putJourneyExternaleventsSchema(schemaId,body,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
14068
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putJourneyExternaleventsSchema';}// verify the required parameter 'body' is set
14069
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyExternaleventsSchema';}return this.apiClient.callApi('/api/v2/journey/externalevents/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
13908
14070
  * Update the Schedule for a JourneyView
13909
14071
  *
13910
14072
  * @param {String} viewId Journey View Id
@@ -13927,7 +14089,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
13927
14089
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
13928
14090
  * Knowledge service.
13929
14091
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13930
- * @version 249.1.0
14092
+ * @version 250.1.0
13931
14093
  *//**
13932
14094
  * Constructs a new KnowledgeApi.
13933
14095
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -15102,7 +15264,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
15102
15264
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
15103
15265
  * LanguageUnderstanding service.
15104
15266
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
15105
- * @version 249.1.0
15267
+ * @version 250.1.0
15106
15268
  *//**
15107
15269
  * Constructs a new LanguageUnderstandingApi.
15108
15270
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -15476,7 +15638,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
15476
15638
  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'],opts['customHeaders']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
15477
15639
  * Languages service.
15478
15640
  * @module purecloud-platform-client-v2/api/LanguagesApi
15479
- * @version 249.1.0
15641
+ * @version 250.1.0
15480
15642
  *//**
15481
15643
  * Constructs a new LanguagesApi.
15482
15644
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -15546,7 +15708,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
15546
15708
  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'],opts['customHeaders']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
15547
15709
  * Learning service.
15548
15710
  * @module purecloud-platform-client-v2/api/LearningApi
15549
- * @version 249.1.0
15711
+ * @version 250.1.0
15550
15712
  *//**
15551
15713
  * Constructs a new LearningApi.
15552
15714
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -15894,7 +16056,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
15894
16056
  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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
15895
16057
  * License service.
15896
16058
  * @module purecloud-platform-client-v2/api/LicenseApi
15897
- * @version 249.1.0
16059
+ * @version 250.1.0
15898
16060
  *//**
15899
16061
  * Constructs a new LicenseApi.
15900
16062
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -15969,7 +16131,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
15969
16131
  */},{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'],opts['customHeaders']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
15970
16132
  * Locations service.
15971
16133
  * @module purecloud-platform-client-v2/api/LocationsApi
15972
- * @version 249.1.0
16134
+ * @version 250.1.0
15973
16135
  *//**
15974
16136
  * Constructs a new LocationsApi.
15975
16137
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -16041,7 +16203,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16041
16203
  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'],opts['customHeaders']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
16042
16204
  * LogCapture service.
16043
16205
  * @module purecloud-platform-client-v2/api/LogCaptureApi
16044
- * @version 249.1.0
16206
+ * @version 250.1.0
16045
16207
  *//**
16046
16208
  * Constructs a new LogCaptureApi.
16047
16209
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -16100,7 +16262,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16100
16262
  if(userId===undefined||userId===null||userId===''){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'],opts['customHeaders']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
16101
16263
  * Messaging service.
16102
16264
  * @module purecloud-platform-client-v2/api/MessagingApi
16103
- * @version 249.1.0
16265
+ * @version 250.1.0
16104
16266
  *//**
16105
16267
  * Constructs a new MessagingApi.
16106
16268
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -16214,7 +16376,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16214
16376
  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'],opts['customHeaders']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
16215
16377
  * MobileDevices service.
16216
16378
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
16217
- * @version 249.1.0
16379
+ * @version 250.1.0
16218
16380
  *//**
16219
16381
  * Constructs a new MobileDevicesApi.
16220
16382
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -16261,7 +16423,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16261
16423
  if(deviceId===undefined||deviceId===null||deviceId===''){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'],opts['customHeaders']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
16262
16424
  * Notifications service.
16263
16425
  * @module purecloud-platform-client-v2/api/NotificationsApi
16264
- * @version 249.1.0
16426
+ * @version 250.1.0
16265
16427
  *//**
16266
16428
  * Constructs a new NotificationsApi.
16267
16429
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -16330,7 +16492,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
16330
16492
  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'],opts['customHeaders']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
16331
16493
  * OAuth service.
16332
16494
  * @module purecloud-platform-client-v2/api/OAuthApi
16333
- * @version 249.1.0
16495
+ * @version 250.1.0
16334
16496
  *//**
16335
16497
  * Constructs a new OAuthApi.
16336
16498
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -16436,7 +16598,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
16436
16598
  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'],opts['customHeaders']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
16437
16599
  * Objects service.
16438
16600
  * @module purecloud-platform-client-v2/api/ObjectsApi
16439
- * @version 249.1.0
16601
+ * @version 250.1.0
16440
16602
  *//**
16441
16603
  * Constructs a new ObjectsApi.
16442
16604
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -16539,7 +16701,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
16539
16701
  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'],opts['customHeaders']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
16540
16702
  * OperationalEvents service.
16541
16703
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
16542
- * @version 249.1.0
16704
+ * @version 250.1.0
16543
16705
  *//**
16544
16706
  * Constructs a new OperationalEventsApi.
16545
16707
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -16576,7 +16738,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
16576
16738
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
16577
16739
  * Organization service.
16578
16740
  * @module purecloud-platform-client-v2/api/OrganizationApi
16579
- * @version 249.1.0
16741
+ * @version 250.1.0
16580
16742
  *//**
16581
16743
  * Constructs a new OrganizationApi.
16582
16744
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -16716,7 +16878,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16716
16878
  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'],opts['customHeaders']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
16717
16879
  * OrganizationAuthorization service.
16718
16880
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
16719
- * @version 249.1.0
16881
+ * @version 250.1.0
16720
16882
  *//**
16721
16883
  * Constructs a new OrganizationAuthorizationApi.
16722
16884
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -17136,7 +17298,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
17136
17298
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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'],opts['customHeaders']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
17137
17299
  * Outbound service.
17138
17300
  * @module purecloud-platform-client-v2/api/OutboundApi
17139
- * @version 249.1.0
17301
+ * @version 250.1.0
17140
17302
  *//**
17141
17303
  * Constructs a new OutboundApi.
17142
17304
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -18622,7 +18784,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18622
18784
  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'],opts['customHeaders']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
18623
18785
  * Presence service.
18624
18786
  * @module purecloud-platform-client-v2/api/PresenceApi
18625
- * @version 249.1.0
18787
+ * @version 250.1.0
18626
18788
  *//**
18627
18789
  * Constructs a new PresenceApi.
18628
18790
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -18842,7 +19004,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18842
19004
  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'],opts['customHeaders']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
18843
19005
  * ProcessAutomation service.
18844
19006
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
18845
- * @version 249.1.0
19007
+ * @version 250.1.0
18846
19008
  *//**
18847
19009
  * Constructs a new ProcessAutomationApi.
18848
19010
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -18917,7 +19079,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
18917
19079
  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'],opts['customHeaders']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
18918
19080
  * Quality service.
18919
19081
  * @module purecloud-platform-client-v2/api/QualityApi
18920
- * @version 249.1.0
19082
+ * @version 250.1.0
18921
19083
  *//**
18922
19084
  * Constructs a new QualityApi.
18923
19085
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -19581,7 +19743,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
19581
19743
  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'],opts['customHeaders']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
19582
19744
  * Recording service.
19583
19745
  * @module purecloud-platform-client-v2/api/RecordingApi
19584
- * @version 249.1.0
19746
+ * @version 250.1.0
19585
19747
  *//**
19586
19748
  * Constructs a new RecordingApi.
19587
19749
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -19643,7 +19805,7 @@ if(ids===undefined||ids===null){throw'Missing the required parameter "ids" when
19643
19805
  */},{key:"deleteRecordingMediaretentionpolicy",value:function deleteRecordingMediaretentionpolicy(policyId,opts){opts=opts||{};// verify the required parameter 'policyId' is set
19644
19806
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling deleteRecordingMediaretentionpolicy';}return this.apiClient.callApi('/api/v2/recording/mediaretentionpolicies/{policyId}','DELETE',{'policyId':policyId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19645
19807
  * Gets a specific recording.
19646
- *
19808
+ * Bookmark annotations will be excluded if recording:annotation:view permission is missing. If the recording:recording:viewSensitiveData permission is missing and the organization has sensitive data redaction enabled, recordings with sensitive data will be redacted.
19647
19809
  * @param {String} conversationId Conversation ID
19648
19810
  * @param {String} recordingId Recording ID
19649
19811
  * @param {Object} opts Optional parameters
@@ -19686,7 +19848,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
19686
19848
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19687
19849
  */},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
19688
19850
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadata';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordingmetadata','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19689
- * Get metadata for a specific recording. Does not return playable media.
19851
+ * Get metadata for a specific recording. Does not return playable media. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
19690
19852
  *
19691
19853
  * @param {String} conversationId Conversation ID
19692
19854
  * @param {String} recordingId Recording ID
@@ -19696,7 +19858,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
19696
19858
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadataRecordingId';}// verify the required parameter 'recordingId' is set
19697
19859
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling getConversationRecordingmetadataRecordingId';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordingmetadata/{recordingId}','GET',{'conversationId':conversationId,'recordingId':recordingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19698
19860
  * Get all of a Conversation's Recordings.
19699
- *
19861
+ * Bookmark annotations will be excluded if recording:annotation:view permission is missing. If the recording:recording:viewSensitiveData permission is missing and the organization has sensitive data redaction enabled, recordings with sensitive data will be redacted.
19700
19862
  * @param {String} conversationId Conversation ID
19701
19863
  * @param {Object} opts Optional parameters
19702
19864
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
@@ -19896,7 +20058,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19896
20058
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
19897
20059
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRecordingMediaretentionpolicy';}return this.apiClient.callApi('/api/v2/recording/mediaretentionpolicies/{policyId}','PATCH',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19898
20060
  * Create annotation
19899
- *
20061
+ * If the annotation does not exist on the recording, it is created. If it already exists, it is updated. The recording:annotation:add permission is required for creates, and recording:annotation:edit is required for updates.
19900
20062
  * @param {String} conversationId Conversation ID
19901
20063
  * @param {String} recordingId Recording ID
19902
20064
  * @param {Object} body annotation
@@ -19906,7 +20068,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19906
20068
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
19907
20069
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling postConversationRecordingAnnotations';}// verify the required parameter 'body' is set
19908
20070
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationRecordingAnnotations';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations','POST',{'conversationId':conversationId,'recordingId':recordingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19909
- * Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration.
20071
+ * Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration. If the recording:recording:viewSensitiveData permission is missing and the organization has sensitive data redaction enabled, recordings with sensitive data will be excluded from the batch download.
19910
20072
  *
19911
20073
  * @param {Object} body Job submission criteria
19912
20074
  * @param {Object} opts Optional parameters
@@ -19989,7 +20151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19989
20151
  */},{key:"postRecordingsScreensessionsMetadata",value:function postRecordingsScreensessionsMetadata(body,opts){opts=opts||{};// verify the required parameter 'body' is set
19990
20152
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRecordingsScreensessionsMetadata';}return this.apiClient.callApi('/api/v2/recordings/screensessions/metadata','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
19991
20153
  * Updates the retention records on a recording.
19992
- * Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. The recording:recording:view permission is required for the recording, as well as either the recording:recording:editRetention or recording:screenRecording:editRetention permissions depending on the type of recording.
20154
+ * Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. Required permissions depend on the operation: view (recording, screenRecording, or snippetRecording) is always required; editRetention is required when updating retention dates except for restoration; restore is required when restoring an archived recording.
19993
20155
  * @param {String} conversationId Conversation ID
19994
20156
  * @param {String} recordingId Recording ID
19995
20157
  * @param {Object} body recording
@@ -20001,7 +20163,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
20001
20163
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling putConversationRecording';}// verify the required parameter 'body' is set
20002
20164
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationRecording';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}','PUT',{'conversationId':conversationId,'recordingId':recordingId},{'clearExport':opts['clearExport']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
20003
20165
  * Update annotation
20004
- *
20166
+ * If the annotation does not exist on the recording, it is created. If it already exists, it is updated. The recording:annotation:add permission is required for creates, and recording:annotation:edit is required for updates.
20005
20167
  * @param {String} conversationId Conversation ID
20006
20168
  * @param {String} recordingId Recording ID
20007
20169
  * @param {String} annotationId Annotation ID
@@ -20080,7 +20242,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20080
20242
  */},{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'],opts['customHeaders']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
20081
20243
  * ResponseManagement service.
20082
20244
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20083
- * @version 249.1.0
20245
+ * @version 250.1.0
20084
20246
  *//**
20085
20247
  * Constructs a new ResponseManagementApi.
20086
20248
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -20248,7 +20410,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
20248
20410
  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'],opts['customHeaders']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
20249
20411
  * Routing service.
20250
20412
  * @module purecloud-platform-client-v2/api/RoutingApi
20251
- * @version 249.1.0
20413
+ * @version 250.1.0
20252
20414
  *//**
20253
20415
  * Constructs a new RoutingApi.
20254
20416
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -21677,7 +21839,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
21677
21839
  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'],opts['customHeaders']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
21678
21840
  * SCIM service.
21679
21841
  * @module purecloud-platform-client-v2/api/SCIMApi
21680
- * @version 249.1.0
21842
+ * @version 250.1.0
21681
21843
  *//**
21682
21844
  * Constructs a new SCIMApi.
21683
21845
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -21940,7 +22102,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
21940
22102
  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'],opts['customHeaders']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
21941
22103
  * Scripts service.
21942
22104
  * @module purecloud-platform-client-v2/api/ScriptsApi
21943
- * @version 249.1.0
22105
+ * @version 250.1.0
21944
22106
  *//**
21945
22107
  * Constructs a new ScriptsApi.
21946
22108
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22102,7 +22264,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22102
22264
  */},{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'],opts['customHeaders']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
22103
22265
  * Search service.
22104
22266
  * @module purecloud-platform-client-v2/api/SearchApi
22105
- * @version 249.1.0
22267
+ * @version 250.1.0
22106
22268
  *//**
22107
22269
  * Constructs a new SearchApi.
22108
22270
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22309,7 +22471,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22309
22471
  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'],opts['customHeaders']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
22310
22472
  * Settings service.
22311
22473
  * @module purecloud-platform-client-v2/api/SettingsApi
22312
- * @version 249.1.0
22474
+ * @version 250.1.0
22313
22475
  *//**
22314
22476
  * Constructs a new SettingsApi.
22315
22477
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22406,7 +22568,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22406
22568
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
22407
22569
  * SocialMedia service.
22408
22570
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22409
- * @version 249.1.0
22571
+ * @version 250.1.0
22410
22572
  *//**
22411
22573
  * Constructs a new SocialMediaApi.
22412
22574
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -22961,7 +23123,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
22961
23123
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
22962
23124
  * SpeechTextAnalytics service.
22963
23125
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
22964
- * @version 249.1.0
23126
+ * @version 250.1.0
22965
23127
  *//**
22966
23128
  * Constructs a new SpeechTextAnalyticsApi.
22967
23129
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23453,7 +23615,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23453
23615
  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'],opts['customHeaders']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
23454
23616
  * Stations service.
23455
23617
  * @module purecloud-platform-client-v2/api/StationsApi
23456
- * @version 249.1.0
23618
+ * @version 250.1.0
23457
23619
  *//**
23458
23620
  * Constructs a new StationsApi.
23459
23621
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23490,7 +23652,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23490
23652
  */},{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'],opts['customHeaders']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
23491
23653
  * Suggest service.
23492
23654
  * @module purecloud-platform-client-v2/api/SuggestApi
23493
- * @version 249.1.0
23655
+ * @version 250.1.0
23494
23656
  *//**
23495
23657
  * Constructs a new SuggestApi.
23496
23658
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23534,7 +23696,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23534
23696
  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'],opts['customHeaders']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
23535
23697
  * TaskManagement service.
23536
23698
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23537
- * @version 249.1.0
23699
+ * @version 250.1.0
23538
23700
  *//**
23539
23701
  * Constructs a new TaskManagementApi.
23540
23702
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24178,7 +24340,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24178
24340
  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'],opts['customHeaders']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
24179
24341
  * Teams service.
24180
24342
  * @module purecloud-platform-client-v2/api/TeamsApi
24181
- * @version 249.1.0
24343
+ * @version 250.1.0
24182
24344
  *//**
24183
24345
  * Constructs a new TeamsApi.
24184
24346
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24274,7 +24436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24274
24436
  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'],opts['customHeaders']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
24275
24437
  * Telephony service.
24276
24438
  * @module purecloud-platform-client-v2/api/TelephonyApi
24277
- * @version 249.1.0
24439
+ * @version 250.1.0
24278
24440
  *//**
24279
24441
  * Constructs a new TelephonyApi.
24280
24442
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24377,7 +24539,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24377
24539
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24378
24540
  * TelephonyProvidersEdge service.
24379
24541
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24380
- * @version 249.1.0
24542
+ * @version 250.1.0
24381
24543
  *//**
24382
24544
  * Constructs a new TelephonyProvidersEdgeApi.
24383
24545
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25444,7 +25606,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25444
25606
  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'],opts['customHeaders']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
25445
25607
  * Textbots service.
25446
25608
  * @module purecloud-platform-client-v2/api/TextbotsApi
25447
- * @version 249.1.0
25609
+ * @version 250.1.0
25448
25610
  *//**
25449
25611
  * Constructs a new TextbotsApi.
25450
25612
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25487,7 +25649,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25487
25649
  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'],opts['customHeaders']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
25488
25650
  * Tokens service.
25489
25651
  * @module purecloud-platform-client-v2/api/TokensApi
25490
- * @version 249.1.0
25652
+ * @version 250.1.0
25491
25653
  *//**
25492
25654
  * Constructs a new TokensApi.
25493
25655
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25531,7 +25693,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25531
25693
  */},{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'],opts['customHeaders']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
25532
25694
  * Uploads service.
25533
25695
  * @module purecloud-platform-client-v2/api/UploadsApi
25534
- * @version 249.1.0
25696
+ * @version 250.1.0
25535
25697
  *//**
25536
25698
  * Constructs a new UploadsApi.
25537
25699
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25626,7 +25788,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25626
25788
  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'],opts['customHeaders']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
25627
25789
  * Usage service.
25628
25790
  * @module purecloud-platform-client-v2/api/UsageApi
25629
- * @version 249.1.0
25791
+ * @version 250.1.0
25630
25792
  *//**
25631
25793
  * Constructs a new UsageApi.
25632
25794
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25728,7 +25890,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25728
25890
  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'],opts['customHeaders']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
25729
25891
  * UserRecordings service.
25730
25892
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25731
- * @version 249.1.0
25893
+ * @version 250.1.0
25732
25894
  *//**
25733
25895
  * Constructs a new UserRecordingsApi.
25734
25896
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25784,7 +25946,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25784
25946
  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'],opts['customHeaders']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
25785
25947
  * Users service.
25786
25948
  * @module purecloud-platform-client-v2/api/UsersApi
25787
- * @version 249.1.0
25949
+ * @version 250.1.0
25788
25950
  *//**
25789
25951
  * Constructs a new UsersApi.
25790
25952
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -25850,7 +26012,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25850
26012
  * @param {String} schemaId schemaId
25851
26013
  * @param {Object} opts Optional parameters
25852
26014
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
25853
- * deleteUserCustomattribute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25854
26015
  */},{key:"deleteUserCustomattribute",value:function deleteUserCustomattribute(userId,schemaId,opts){opts=opts||{};// verify the required parameter 'userId' is set
25855
26016
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling deleteUserCustomattribute';}// verify the required parameter 'schemaId' is set
25856
26017
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteUserCustomattribute';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes/{schemaId}','DELETE',{'userId':userId,'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -25911,7 +26072,6 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
25911
26072
  * @param {String} schemaId Schema ID
25912
26073
  * @param {Object} opts Optional parameters
25913
26074
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
25914
- * deleteUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25915
26075
  */},{key:"deleteUsersCustomattributesSchema",value:function deleteUsersCustomattributesSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
25916
26076
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','DELETE',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
25917
26077
  * Get status for async query for user aggregates
@@ -26042,10 +26202,11 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26042
26202
  * @param {Object} opts Optional parameters
26043
26203
  * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
26044
26204
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for a user instead of their default.
26205
+ * @param {Array.<String>} opts.userCustomAttributeSchemaIds Gets custom user attribute values for given schemas set for user. This parameter will only be used when customAttributes is provided as an expand. The maximum number of schemaIds that can be requested is 100
26045
26206
  * @param {Object} opts.state Search for a user with this state (default to active)
26046
26207
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26047
26208
  */},{key:"getUser",value:function getUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
26048
- if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUser';}return this.apiClient.callApi('/api/v2/users/{userId}','GET',{'userId':userId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26209
+ if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUser';}return this.apiClient.callApi('/api/v2/users/{userId}','GET',{'userId':userId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'userCustomAttributeSchemaIds':this.apiClient.buildCollectionParam(opts['userCustomAttributeSchemaIds'],'multi'),'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26049
26210
  * Get adjacents
26050
26211
  *
26051
26212
  * @param {String} userId User ID
@@ -26067,7 +26228,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26067
26228
  * @param {String} schemaId schemaId
26068
26229
  * @param {Object} opts Optional parameters
26069
26230
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26070
- * getUserCustomattribute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26071
26231
  */},{key:"getUserCustomattribute",value:function getUserCustomattribute(userId,schemaId,opts){opts=opts||{};// verify the required parameter 'userId' is set
26072
26232
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUserCustomattribute';}// verify the required parameter 'schemaId' is set
26073
26233
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getUserCustomattribute';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes/{schemaId}','GET',{'userId':userId,'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26077,7 +26237,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
26077
26237
  * @param {Array.<String>} schemaIds
26078
26238
  * @param {Object} opts Optional parameters
26079
26239
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26080
- * getUserCustomattributesBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26081
26240
  */},{key:"getUserCustomattributesBulk",value:function getUserCustomattributesBulk(userId,schemaIds,opts){opts=opts||{};// verify the required parameter 'userId' is set
26082
26241
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUserCustomattributesBulk';}// verify the required parameter 'schemaIds' is set
26083
26242
  if(schemaIds===undefined||schemaIds===null){throw'Missing the required parameter "schemaIds" when calling getUserCustomattributesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes/bulk','GET',{'userId':userId},{'schemaIds':this.apiClient.buildCollectionParam(schemaIds,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26253,9 +26412,10 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26253
26412
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
26254
26413
  * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
26255
26414
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
26415
+ * @param {Array.<String>} opts.userCustomAttributeSchemaIds Gets custom user attribute values for given schemas set for user. This parameter will only be used when customAttributes is provided as an expand. The maximum number of schemaIds that can be requested is 5
26256
26416
  * @param {Object} opts.state Only list users of this state (default to active)
26257
26417
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26258
- */},{key:"getUsers",value:function getUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'jabberId':this.apiClient.buildCollectionParam(opts['jabberId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26418
+ */},{key:"getUsers",value:function getUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'jabberId':this.apiClient.buildCollectionParam(opts['jabberId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'userCustomAttributeSchemaIds':this.apiClient.buildCollectionParam(opts['userCustomAttributeSchemaIds'],'multi'),'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26259
26419
  * Get chats for a user
26260
26420
  *
26261
26421
  * @param {Object} opts Optional parameters
@@ -26269,7 +26429,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26269
26429
  * @param {String} schemaId Schema ID
26270
26430
  * @param {Object} opts Optional parameters
26271
26431
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26272
- * getUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26273
26432
  */},{key:"getUsersCustomattributesSchema",value:function getUsersCustomattributesSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
26274
26433
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26275
26434
  * Get a specific version of a schema
@@ -26278,7 +26437,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
26278
26437
  * @param {String} versionId Schema version
26279
26438
  * @param {Object} opts Optional parameters
26280
26439
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26281
- * getUsersCustomattributesSchemaVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26282
26440
  */},{key:"getUsersCustomattributesSchemaVersion",value:function getUsersCustomattributesSchemaVersion(schemaId,versionId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
26283
26441
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersion';}// verify the required parameter 'versionId' is set
26284
26442
  if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getUsersCustomattributesSchemaVersion';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}/versions/{versionId}','GET',{'schemaId':schemaId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26287,34 +26445,29 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
26287
26445
  * @param {String} schemaId Schema ID
26288
26446
  * @param {Object} opts Optional parameters
26289
26447
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26290
- * getUsersCustomattributesSchemaVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26291
26448
  */},{key:"getUsersCustomattributesSchemaVersions",value:function getUsersCustomattributesSchemaVersions(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
26292
26449
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersions';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}/versions','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26293
26450
  * Get a list of schemas.
26294
26451
  *
26295
26452
  * @param {Object} opts Optional parameters
26296
26453
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26297
- * getUsersCustomattributesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26298
26454
  */},{key:"getUsersCustomattributesSchemas",value:function getUsersCustomattributesSchemas(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/customattributes/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26299
26455
  * Get the core types from which all schemas are built.
26300
26456
  *
26301
26457
  * @param {String} coreTypeName Name of the core type
26302
26458
  * @param {Object} opts Optional parameters
26303
26459
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26304
- * getUsersCustomattributesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26305
26460
  */},{key:"getUsersCustomattributesSchemasCoretype",value:function getUsersCustomattributesSchemasCoretype(coreTypeName,opts){opts=opts||{};// verify the required parameter 'coreTypeName' is set
26306
26461
  if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getUsersCustomattributesSchemasCoretype';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26307
26462
  * Get the list of core types enabled for a specific namespace.
26308
26463
  *
26309
26464
  * @param {Object} opts Optional parameters
26310
26465
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26311
- * getUsersCustomattributesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26312
26466
  */},{key:"getUsersCustomattributesSchemasCoretypes",value:function getUsersCustomattributesSchemasCoretypes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/customattributes/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26313
26467
  * Get quantitative limits on schemas
26314
26468
  *
26315
26469
  * @param {Object} opts Optional parameters
26316
26470
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26317
- * getUsersCustomattributesSchemasLimits is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26318
26471
  */},{key:"getUsersCustomattributesSchemasLimits",value:function getUsersCustomattributesSchemasLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/customattributes/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26319
26472
  * Get list of Development Activities
26320
26473
  * Either moduleId or userId is required. Results are filtered based on the applicable permissions.
@@ -26373,8 +26526,9 @@ if(externalKey===undefined||externalKey===null||externalKey===''){throw'Missing
26373
26526
  * @param {Object} opts Optional parameters
26374
26527
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
26375
26528
  * @param {Object} opts.integrationPresenceSource Get your presence for a given integration. This parameter will only be used when presence is provided as an expand.
26529
+ * @param {Array.<String>} opts.userCustomAttributeSchemaIds Gets custom user attribute values for given schemas set for user. This parameter will only be used when customAttributes is provided as an expand. The maximum number of schemaIds that can be requested is 100
26376
26530
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26377
- */},{key:"getUsersMe",value:function getUsersMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/me','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26531
+ */},{key:"getUsersMe",value:function getUsersMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/me','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'userCustomAttributeSchemaIds':this.apiClient.buildCollectionParam(opts['userCustomAttributeSchemaIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26378
26532
  * Get list of available users, paged by cursor token, No division filtering available so directory:user:view permission for all divisions is required
26379
26533
  *
26380
26534
  * @param {Object} opts Optional parameters
@@ -26383,10 +26537,11 @@ if(externalKey===undefined||externalKey===null||externalKey===''){throw'Missing
26383
26537
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
26384
26538
  * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
26385
26539
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
26540
+ * @param {Array.<String>} opts.userCustomAttributeSchemaIds Gets custom user attribute values for given schemas set for user. This parameter will only be used when customAttributes is provided as an expand. The maximum number of schemaIds that can be requested is 5
26386
26541
  * @param {Object} opts.state Only list users of this state (default to active)
26387
26542
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26388
26543
  * getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26389
- */},{key:"getUsersQuery",value:function getUsersQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/query','GET',{},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26544
+ */},{key:"getUsersQuery",value:function getUsersQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/query','GET',{},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'userCustomAttributeSchemaIds':this.apiClient.buildCollectionParam(opts['userCustomAttributeSchemaIds'],'multi'),'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26390
26545
  * Search users using the q64 value returned from a previous search
26391
26546
  *
26392
26547
  * @param {String} q64 q64
@@ -26420,7 +26575,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26420
26575
  * @param {Object} userCustomAttributes
26421
26576
  * @param {Object} opts Optional parameters
26422
26577
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26423
- * patchUserCustomattributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26424
26578
  */},{key:"patchUserCustomattributes",value:function patchUserCustomattributes(userId,userCustomAttributes,opts){opts=opts||{};// verify the required parameter 'userId' is set
26425
26579
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchUserCustomattributes';}// verify the required parameter 'userCustomAttributes' is set
26426
26580
  if(userCustomAttributes===undefined||userCustomAttributes===null){throw'Missing the required parameter "userCustomAttributes" when calling patchUserCustomattributes';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes','PATCH',{'userId':userId},{},{},{},userCustomAttributes,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26430,7 +26584,6 @@ if(userCustomAttributes===undefined||userCustomAttributes===null){throw'Missing
26430
26584
  * @param {Array.<Object>} userCustomAttributesList
26431
26585
  * @param {Object} opts Optional parameters
26432
26586
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26433
- * patchUserCustomattributesBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26434
26587
  */},{key:"patchUserCustomattributesBulk",value:function patchUserCustomattributesBulk(userId,userCustomAttributesList,opts){opts=opts||{};// verify the required parameter 'userId' is set
26435
26588
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchUserCustomattributesBulk';}// verify the required parameter 'userCustomAttributesList' is set
26436
26589
  if(userCustomAttributesList===undefined||userCustomAttributesList===null){throw'Missing the required parameter "userCustomAttributesList" when calling patchUserCustomattributesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes/bulk','PATCH',{'userId':userId},{},{},{},userCustomAttributesList,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26644,7 +26797,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26644
26797
  * @param {Object} body Schema
26645
26798
  * @param {Object} opts Optional parameters
26646
26799
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26647
- * postUsersCustomattributesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26648
26800
  */},{key:"postUsersCustomattributesSchemas",value:function postUsersCustomattributesSchemas(body,opts){opts=opts||{};// verify the required parameter 'body' is set
26649
26801
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersCustomattributesSchemas';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
26650
26802
  * Retrieve aggregated development activity data
@@ -26731,7 +26883,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26731
26883
  * @param {Object} userCustomAttributes
26732
26884
  * @param {Object} opts Optional parameters
26733
26885
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26734
- * putUserCustomattributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26735
26886
  */},{key:"putUserCustomattributes",value:function putUserCustomattributes(userId,userCustomAttributes,opts){opts=opts||{};// verify the required parameter 'userId' is set
26736
26887
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling putUserCustomattributes';}// verify the required parameter 'userCustomAttributes' is set
26737
26888
  if(userCustomAttributes===undefined||userCustomAttributes===null){throw'Missing the required parameter "userCustomAttributes" when calling putUserCustomattributes';}return this.apiClient.callApi('/api/v2/users/{userId}/customattributes','PUT',{'userId':userId},{},{},{},userCustomAttributes,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
@@ -26835,13 +26986,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26835
26986
  * @param {Object} body Data Schema
26836
26987
  * @param {Object} opts Optional parameters
26837
26988
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
26838
- * putUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26839
26989
  */},{key:"putUsersCustomattributesSchema",value:function putUsersCustomattributesSchema(schemaId,body,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
26840
26990
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putUsersCustomattributesSchema';}// verify the required parameter 'body' is set
26841
26991
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
26842
26992
  * UsersRules service.
26843
26993
  * @module purecloud-platform-client-v2/api/UsersRulesApi
26844
- * @version 249.1.0
26994
+ * @version 250.1.0
26845
26995
  *//**
26846
26996
  * Constructs a new UsersRulesApi.
26847
26997
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -26931,7 +27081,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26931
27081
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
26932
27082
  * Utilities service.
26933
27083
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26934
- * @version 249.1.0
27084
+ * @version 250.1.0
26935
27085
  *//**
26936
27086
  * Constructs a new UtilitiesApi.
26937
27087
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26965,7 +27115,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26965
27115
  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'],opts['customHeaders']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
26966
27116
  * Voicemail service.
26967
27117
  * @module purecloud-platform-client-v2/api/VoicemailApi
26968
- * @version 249.1.0
27118
+ * @version 250.1.0
26969
27119
  *//**
26970
27120
  * Constructs a new VoicemailApi.
26971
27121
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -27172,7 +27322,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
27172
27322
  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'],opts['customHeaders']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
27173
27323
  * WebChat service.
27174
27324
  * @module purecloud-platform-client-v2/api/WebChatApi
27175
- * @version 249.1.0
27325
+ * @version 250.1.0
27176
27326
  *//**
27177
27327
  * Constructs a new WebChatApi.
27178
27328
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -27355,7 +27505,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27355
27505
  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'],opts['customHeaders']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
27356
27506
  * WebDeployments service.
27357
27507
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
27358
- * @version 249.1.0
27508
+ * @version 250.1.0
27359
27509
  *//**
27360
27510
  * Constructs a new WebDeploymentsApi.
27361
27511
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -27533,7 +27683,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
27533
27683
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
27534
27684
  * WebMessaging service.
27535
27685
  * @module purecloud-platform-client-v2/api/WebMessagingApi
27536
- * @version 249.1.0
27686
+ * @version 250.1.0
27537
27687
  *//**
27538
27688
  * Constructs a new WebMessagingApi.
27539
27689
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -27581,7 +27731,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
27581
27731
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
27582
27732
  * Widgets service.
27583
27733
  * @module purecloud-platform-client-v2/api/WidgetsApi
27584
- * @version 249.1.0
27734
+ * @version 250.1.0
27585
27735
  *//**
27586
27736
  * Constructs a new WidgetsApi.
27587
27737
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -27631,7 +27781,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
27631
27781
  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'],opts['customHeaders']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
27632
27782
  * WorkforceManagement service.
27633
27783
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
27634
- * @version 249.1.0
27784
+ * @version 250.1.0
27635
27785
  *//**
27636
27786
  * Constructs a new WorkforceManagementApi.
27637
27787
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -28176,6 +28326,51 @@ if(serviceGoalTemplateId===undefined||serviceGoalTemplateId===null||serviceGoalT
28176
28326
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28177
28327
  */},{key:"getWorkforcemanagementBusinessunitServicegoaltemplates",value:function getWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28178
28328
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplates';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates','GET',{'businessUnitId':businessUnitId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28329
+ * View results of the evaluate shift trades in a management unit per week operation. Only the user who started the operation can query the status
28330
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28331
+ * @param {String} businessUnitId The ID of the business unit
28332
+ * @param {String} jobId The ID of the job
28333
+ * @param {Object} opts Optional parameters
28334
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28335
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28336
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';}// verify the required parameter 'jobId' is set
28337
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28338
+ * View results of the query shift trades in a management unit per user operation. Only the user who started the operation can query the status
28339
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28340
+ * @param {String} businessUnitId The ID of the business unit
28341
+ * @param {String} jobId The ID of the job
28342
+ * @param {Object} opts Optional parameters
28343
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28344
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesQueryJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesQueryJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28345
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';}// verify the required parameter 'jobId' is set
28346
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28347
+ * View results of bulk update trades states operation. Only the user who started the operation can query the status.
28348
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28349
+ * @param {String} businessUnitId The ID of the business unit
28350
+ * @param {String} jobId The ID of the job
28351
+ * @param {Object} opts Optional parameters
28352
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28353
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28354
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';}// verify the required parameter 'jobId' is set
28355
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28356
+ * View result of potential shift trade matches for the current user. Only the user who started the operation can query the status
28357
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28358
+ * @param {String} businessUnitId The ID of the business unit
28359
+ * @param {String} jobId The ID of the job
28360
+ * @param {Object} opts Optional parameters
28361
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28362
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob",value:function getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28363
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';}// verify the required parameter 'jobId' is set
28364
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28365
+ * View results of the retrieve the summary of shift trades in a matched state per week operation. Only the user who started the operation can query the status
28366
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28367
+ * @param {String} businessUnitId The ID of the business unit
28368
+ * @param {String} jobId The ID of the job
28369
+ * @param {Object} opts Optional parameters
28370
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28371
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob",value:function getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28372
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';}// verify the required parameter 'jobId' is set
28373
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28179
28374
  * Gets a staffing group
28180
28375
  *
28181
28376
  * @param {String} businessUnitId The ID of the business unit
@@ -28310,7 +28505,7 @@ if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required pa
28310
28505
  if(scheduleId===undefined||scheduleId===null||scheduleId===''){throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';}// verify the required parameter 'recalculationId' is set
28311
28506
  if(recalculationId===undefined||recalculationId===null||recalculationId===''){throw'Missing the required parameter "recalculationId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/{recalculationId}','GET',{'businessUnitId':businessUnitId,'weekId':weekId,'scheduleId':scheduleId,'recalculationId':recalculationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28312
28507
  * Get the list of week schedules for the specified week
28313
- * Use "recent" (without quotes) for the `weekId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any schedule which spans the specified week
28508
+ * Use "recent" (without quotes) for the `weekId` path parameter to fetch all schedules for up to +/- 26 weeks from the current date. Response will include any schedule which spans the specified week
28314
28509
  * @param {String} businessUnitId The ID of the business unit
28315
28510
  * @param {String} weekId First day of schedule week in yyyy-MM-dd format, or 'recent' (without quotes) to get recent schedules
28316
28511
  * @param {Object} opts Optional parameters
@@ -28393,7 +28588,7 @@ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw
28393
28588
  if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'forecastId' is set
28394
28589
  if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'weekNumbers':this.apiClient.buildCollectionParam(opts['weekNumbers'],'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28395
28590
  * Get short term forecasts
28396
- * Use "recent" (without quotes) for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any forecast which spans the specified week
28591
+ * Use "recent" (without quotes) for the `weekDateId` path parameter to fetch all forecasts for up to +/- 26 weeks from the current date. Response will include any forecast which spans the specified week
28397
28592
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
28398
28593
  * @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format or 'recent' (without quotes) to fetch recent forecasts
28399
28594
  * @param {Object} opts Optional parameters
@@ -28745,6 +28940,47 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
28745
28940
  * @param {Object} opts Optional parameters
28746
28941
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28747
28942
  */},{key:"getWorkforcemanagementShifttrades",value:function getWorkforcemanagementShifttrades(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrades','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28943
+ * View result of update trade operation. Only the user who started the operation can query the status
28944
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28945
+ * @param {String} tradeId The ID of the shift trade to update
28946
+ * @param {String} jobId The ID of the job
28947
+ * @param {Object} opts Optional parameters
28948
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28949
+ */},{key:"getWorkforcemanagementShifttradingTradeJob",value:function getWorkforcemanagementShifttradingTradeJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
28950
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeJob';}// verify the required parameter 'jobId' is set
28951
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs/{jobId}','GET',{'tradeId':tradeId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28952
+ * View result of match shift trade operation. Only the receiving user who started the operation can query the status.
28953
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28954
+ * @param {String} tradeId The ID of the shift trade to update
28955
+ * @param {String} jobId The ID of the job
28956
+ * @param {Object} opts Optional parameters
28957
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28958
+ */},{key:"getWorkforcemanagementShifttradingTradeMatchJob",value:function getWorkforcemanagementShifttradingTradeMatchJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
28959
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeMatchJob';}// verify the required parameter 'jobId' is set
28960
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeMatchJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs/{jobId}','GET',{'tradeId':tradeId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28961
+ * View result of update trade state operation. Only the user who started the operation can query the status.
28962
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28963
+ * @param {String} tradeId The ID of the shift trade to update
28964
+ * @param {String} jobId The ID of the job
28965
+ * @param {Object} opts Optional parameters
28966
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28967
+ */},{key:"getWorkforcemanagementShifttradingTradeStateJob",value:function getWorkforcemanagementShifttradingTradeStateJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
28968
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeStateJob';}// verify the required parameter 'jobId' is set
28969
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeStateJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs/{jobId}','GET',{'tradeId':tradeId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28970
+ * View result of create trade operation. Only the user who started the operation can query the status
28971
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28972
+ * @param {String} jobId The ID of the job
28973
+ * @param {Object} opts Optional parameters
28974
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28975
+ */},{key:"getWorkforcemanagementShifttradingTradesJob",value:function getWorkforcemanagementShifttradingTradesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
28976
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28977
+ * View results of retrieve all my shift trade operation. Only the user who started the operation can query the status
28978
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
28979
+ * @param {String} jobId The ID of the job
28980
+ * @param {Object} opts Optional parameters
28981
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28982
+ */},{key:"getWorkforcemanagementShifttradingTradesMineQueryJob",value:function getWorkforcemanagementShifttradingTradesMineQueryJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
28983
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesMineQueryJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
28748
28984
  * Request to fetch the status of the historical shrinkage query
28749
28985
  *
28750
28986
  * @param {String} jobId jobId
@@ -29455,6 +29691,60 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
29455
29691
  */},{key:"postWorkforcemanagementBusinessunitServicegoaltemplates",value:function postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29456
29692
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';}// verify the required parameter 'body' is set
29457
29693
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29694
+ * Queries and evaluates against shift trade configuration shift trades in a management unit per week
29695
+ *
29696
+ * @param {String} businessUnitId The ID of the business unit
29697
+ * @param {Object} body The request body
29698
+ * @param {Object} opts Optional parameters
29699
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
29700
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
29701
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29702
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29703
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';}// verify the required parameter 'body' is set
29704
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29705
+ * Queries shift trades in a management unit per user
29706
+ *
29707
+ * @param {String} businessUnitId The ID of the business unit
29708
+ * @param {Object} body The request body
29709
+ * @param {Object} opts Optional parameters
29710
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
29711
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
29712
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29713
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29714
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';}// verify the required parameter 'body' is set
29715
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29716
+ * Bulk update multiple trade states. Permits a supervisor to approve or deny multiple trades.
29717
+ *
29718
+ * @param {String} businessUnitId The ID of the business unit
29719
+ * @param {Object} body The request body
29720
+ * @param {Object} opts Optional parameters
29721
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
29722
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
29723
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29724
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29725
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';}// verify the required parameter 'body' is set
29726
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29727
+ * Start an async job to find potential shift trade matches for the current receiving user
29728
+ *
29729
+ * @param {String} businessUnitId The ID of the business unit
29730
+ * @param {Object} body The request body
29731
+ * @param {Object} opts Optional parameters
29732
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
29733
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
29734
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29735
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs",value:function postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29736
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';}// verify the required parameter 'body' is set
29737
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29738
+ * Retrieves the summary of shift trades in a matched state per week
29739
+ *
29740
+ * @param {String} businessUnitId The ID of the business unit
29741
+ * @param {Object} body The request body
29742
+ * @param {Object} opts Optional parameters
29743
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
29744
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29745
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs",value:function postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
29746
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';}// verify the required parameter 'body' is set
29747
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
29458
29748
  * Creates a new staffing group
29459
29749
  *
29460
29750
  * @param {String} businessUnitId The ID of the business unit
@@ -30056,6 +30346,53 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
30056
30346
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30057
30347
  * @deprecated
30058
30348
  */},{key:"postWorkforcemanagementSchedules",value:function postWorkforcemanagementSchedules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/schedules','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30349
+ * Updates a shift trade. This route can only be called by the initiating user
30350
+ *
30351
+ * @param {String} tradeId The ID of the shift trade to update
30352
+ * @param {Object} body The request body
30353
+ * @param {Object} opts Optional parameters
30354
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
30355
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30356
+ */},{key:"postWorkforcemanagementShifttradingTradeJobs",value:function postWorkforcemanagementShifttradingTradeJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
30357
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeJobs';}// verify the required parameter 'body' is set
30358
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs','POST',{'tradeId':tradeId},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30359
+ * Matches a shift trade. This route can only be called by the receiving user
30360
+ *
30361
+ * @param {String} tradeId The ID of the shift trade to match
30362
+ * @param {Object} body The request body
30363
+ * @param {Object} opts Optional parameters
30364
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
30365
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30366
+ */},{key:"postWorkforcemanagementShifttradingTradeMatchJobs",value:function postWorkforcemanagementShifttradingTradeMatchJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
30367
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeMatchJobs';}// verify the required parameter 'body' is set
30368
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeMatchJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs','POST',{'tradeId':tradeId},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30369
+ * Update trade state by a user
30370
+ *
30371
+ * @param {String} tradeId The ID of the shift trade to update state
30372
+ * @param {Object} body The request body
30373
+ * @param {Object} opts Optional parameters
30374
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
30375
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30376
+ */},{key:"postWorkforcemanagementShifttradingTradeStateJobs",value:function postWorkforcemanagementShifttradingTradeStateJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
30377
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeStateJobs';}// verify the required parameter 'body' is set
30378
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeStateJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs','POST',{'tradeId':tradeId},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30379
+ * Add a shift trade job
30380
+ *
30381
+ * @param {Object} body The request body
30382
+ * @param {Object} opts Optional parameters
30383
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
30384
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30385
+ */},{key:"postWorkforcemanagementShifttradingTradesJobs",value:function postWorkforcemanagementShifttradingTradesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
30386
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/jobs','POST',{},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30387
+ * Retrieve all my shift trades where I am either the initiating or receiving user
30388
+ *
30389
+ * @param {Object} body The request body
30390
+ * @param {Object} opts Optional parameters
30391
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
30392
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
30393
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
30394
+ */},{key:"postWorkforcemanagementShifttradingTradesMineQueryJobs",value:function postWorkforcemanagementShifttradingTradesMineQueryJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
30395
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesMineQueryJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs','POST',{},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
30059
30396
  * Request a teams historical adherence report
30060
30397
  * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
30061
30398
  * @param {String} teamId The ID of the team
@@ -30182,7 +30519,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
30182
30519
  * </pre>
30183
30520
  * </p>
30184
30521
  * @module purecloud-platform-client-v2/index
30185
- * @version 249.1.0
30522
+ * @version 250.1.0
30186
30523
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
30187
30524
  * The ApiClient constructor.
30188
30525
  * @property {module:purecloud-platform-client-v2/ApiClient}