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
@@ -6269,8 +6269,8 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
6269
6269
  *
6270
6270
  * @returns {void}
6271
6271
  */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('&');};/**
6272
- * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
6273
- * URI encoded counterparts
6272
+ * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
6273
+ * their plain counterparts (`:`, `$`, `,`, `+`).
6274
6274
  *
6275
6275
  * @param {string} val The value to be encoded.
6276
6276
  *
@@ -6384,7 +6384,7 @@ var ignoreDuplicateOf=utils$1.toObjectSet(['age','authorization','content-length
6384
6384
  * @param {String} rawHeaders Headers needing to be parsed
6385
6385
  *
6386
6386
  * @returns {Object} Headers parsed into an object
6387
- */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
6387
+ */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
6388
6388
  utils$1.reduceDescriptors(AxiosHeaders.prototype,function(_ref0,key){var value=_ref0.value;var mapped=key[0].toUpperCase()+key.slice(1);// map `set` => `Set`
6389
6389
  return{get:function get(){return value;},set:function set(headerValue){this[mapped]=headerValue;}};});utils$1.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;/**
6390
6390
  * Transform the data for a request or a response
@@ -6497,7 +6497,7 @@ if(onDownloadProgress){var _progressEventReducer=progressEventReducer(onDownload
6497
6497
  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
6498
6498
  // eslint-disable-next-line func-names
6499
6499
  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
6500
- 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
6500
+ 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
6501
6501
  // see https://github.com/cloudflare/workerd/issues/902
6502
6502
  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();/**
6503
6503
  * Known adapters mapping.
@@ -6551,7 +6551,7 @@ utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.definePropert
6551
6551
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
6552
6552
  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
6553
6553
  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
6554
- 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
6554
+ 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
6555
6555
  ['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={};/**
6556
6556
  * Transitional option validator
6557
6557
  *
@@ -6593,7 +6593,7 @@ if(config.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls
6593
6593
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
6594
6594
  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
6595
6595
  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
6596
- 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;/**
6596
+ 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;/**
6597
6597
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
6598
6598
  *
6599
6599
  * @param {Function} executor The executor function.
@@ -6699,7 +6699,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6699
6699
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6700
6700
  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];}}}]);}();/**
6701
6701
  * @module purecloud-platform-client-v2/ApiClient
6702
- * @version 249.1.0
6702
+ * @version 250.1.0
6703
6703
  */var ApiClient=/*#__PURE__*/function(){/**
6704
6704
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6705
6705
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6728,7 +6728,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
6728
6728
  */PIPES:'|',/**
6729
6729
  * Native array. Value: <code>multi</code>
6730
6730
  * @const
6731
- */MULTI:'multi'};this.useLegacyParameterFilter=true;/**
6731
+ */MULTI:'multi'};this.useLegacyParameterFilter=false;/**
6732
6732
  * @description Value is `true` if local storage exists. Otherwise, false.
6733
6733
  */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;}/**
6734
6734
  * The authentication methods to be included for all API calls.
@@ -7068,7 +7068,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
7068
7068
  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(){/**
7069
7069
  * AIStudio service.
7070
7070
  * @module purecloud-platform-client-v2/api/AIStudioApi
7071
- * @version 249.1.0
7071
+ * @version 250.1.0
7072
7072
  *//**
7073
7073
  * Constructs a new AIStudioApi.
7074
7074
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -7259,7 +7259,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
7259
7259
  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(){/**
7260
7260
  * AgentAssistants service.
7261
7261
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
7262
- * @version 249.1.0
7262
+ * @version 250.1.0
7263
7263
  *//**
7264
7264
  * Constructs a new AgentAssistantsApi.
7265
7265
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7484,7 +7484,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
7484
7484
  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(){/**
7485
7485
  * AgentCopilot service.
7486
7486
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7487
- * @version 249.1.0
7487
+ * @version 250.1.0
7488
7488
  *//**
7489
7489
  * Constructs a new AgentCopilotApi.
7490
7490
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7516,7 +7516,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7516
7516
  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(){/**
7517
7517
  * AgentUI service.
7518
7518
  * @module purecloud-platform-client-v2/api/AgentUIApi
7519
- * @version 249.1.0
7519
+ * @version 250.1.0
7520
7520
  *//**
7521
7521
  * Constructs a new AgentUIApi.
7522
7522
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7558,7 +7558,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7558
7558
  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(){/**
7559
7559
  * Alerting service.
7560
7560
  * @module purecloud-platform-client-v2/api/AlertingApi
7561
- * @version 249.1.0
7561
+ * @version 250.1.0
7562
7562
  *//**
7563
7563
  * Constructs a new AlertingApi.
7564
7564
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7672,7 +7672,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7672
7672
  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(){/**
7673
7673
  * Analytics service.
7674
7674
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7675
- * @version 249.1.0
7675
+ * @version 250.1.0
7676
7676
  *//**
7677
7677
  * Constructs a new AnalyticsApi.
7678
7678
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7727,6 +7727,14 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
7727
7727
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
7728
7728
  */},{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
7729
7729
  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']);}/**
7730
+ * Delete/cancel an async request for copilot aggregates
7731
+ *
7732
+ * @param {String} jobId jobId
7733
+ * @param {Object} opts Optional parameters
7734
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
7735
+ * deleteAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7736
+ */},{key:"deleteAnalyticsCopilotsAggregatesJob",value:function deleteAnalyticsCopilotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
7737
+ 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']);}/**
7730
7738
  * Delete/cancel an async request for evaluation aggregates
7731
7739
  *
7732
7740
  * @param {String} jobId jobId
@@ -7989,6 +7997,23 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
7989
7997
  * @param {Object} opts Optional parameters
7990
7998
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
7991
7999
  */},{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']);}/**
8000
+ * Get status for async query for copilot aggregates
8001
+ *
8002
+ * @param {String} jobId jobId
8003
+ * @param {Object} opts Optional parameters
8004
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8005
+ * getAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8006
+ */},{key:"getAnalyticsCopilotsAggregatesJob",value:function getAnalyticsCopilotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
8007
+ 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']);}/**
8008
+ * Fetch a page of results for an async aggregates query
8009
+ *
8010
+ * @param {String} jobId jobId
8011
+ * @param {Object} opts Optional parameters
8012
+ * @param {String} opts.cursor Cursor token to retrieve next page
8013
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8014
+ * getAnalyticsCopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8015
+ */},{key:"getAnalyticsCopilotsAggregatesJobResults",value:function getAnalyticsCopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
8016
+ 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']);}/**
7992
8017
  * Get analytics data warehouse file download
7993
8018
  *
7994
8019
  * @param {String} downloadId Unique file Id to download
@@ -8415,6 +8440,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8415
8440
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8416
8441
  */},{key:"postAnalyticsConversationsDetailsQuery",value:function postAnalyticsConversationsDetailsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8417
8442
  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']);}/**
8443
+ * Query for copilot aggregates asynchronously
8444
+ *
8445
+ * @param {Object} body query
8446
+ * @param {Object} opts Optional parameters
8447
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8448
+ * postAnalyticsCopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8449
+ */},{key:"postAnalyticsCopilotsAggregatesJobs",value:function postAnalyticsCopilotsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8450
+ 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']);}/**
8451
+ * Query for copilot aggregates
8452
+ *
8453
+ * @param {Object} body query
8454
+ * @param {Object} opts Optional parameters
8455
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8456
+ * postAnalyticsCopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8457
+ */},{key:"postAnalyticsCopilotsAggregatesQuery",value:function postAnalyticsCopilotsAggregatesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8458
+ 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']);}/**
8418
8459
  * Get download URLs for analytics data warehouse files
8419
8460
  *
8420
8461
  * @param {Object} body request
@@ -8632,7 +8673,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8632
8673
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. Used for pagination.
8633
8674
  * @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.
8634
8675
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
8635
- * postAnalyticsTaskmanagementMetricsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8636
8676
  */},{key:"postAnalyticsTaskmanagementMetricsQuery",value:function postAnalyticsTaskmanagementMetricsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8637
8677
  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']);}/**
8638
8678
  * Query for team activity observations
@@ -8713,7 +8753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8713
8753
  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(){/**
8714
8754
  * Architect service.
8715
8755
  * @module purecloud-platform-client-v2/api/ArchitectApi
8716
- * @version 249.1.0
8756
+ * @version 250.1.0
8717
8757
  *//**
8718
8758
  * Constructs a new ArchitectApi.
8719
8759
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -10072,7 +10112,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
10072
10112
  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(){/**
10073
10113
  * AssistantCopilotVariations service.
10074
10114
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
10075
- * @version 249.1.0
10115
+ * @version 250.1.0
10076
10116
  *//**
10077
10117
  * Constructs a new AssistantCopilotVariationsApi.
10078
10118
  * @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
@@ -10127,7 +10167,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
10127
10167
  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(){/**
10128
10168
  * Audit service.
10129
10169
  * @module purecloud-platform-client-v2/api/AuditApi
10130
- * @version 249.1.0
10170
+ * @version 250.1.0
10131
10171
  *//**
10132
10172
  * Constructs a new AuditApi.
10133
10173
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -10188,7 +10228,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10188
10228
  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(){/**
10189
10229
  * Authorization service.
10190
10230
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10191
- * @version 249.1.0
10231
+ * @version 250.1.0
10192
10232
  *//**
10193
10233
  * Constructs a new AuthorizationApi.
10194
10234
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -10706,7 +10746,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
10706
10746
  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(){/**
10707
10747
  * BackgroundAssistant service.
10708
10748
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
10709
- * @version 249.1.0
10749
+ * @version 250.1.0
10710
10750
  *//**
10711
10751
  * Constructs a new BackgroundAssistantApi.
10712
10752
  * @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
@@ -10729,7 +10769,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10729
10769
  */},{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(){/**
10730
10770
  * Billing service.
10731
10771
  * @module purecloud-platform-client-v2/api/BillingApi
10732
- * @version 249.1.0
10772
+ * @version 250.1.0
10733
10773
  *//**
10734
10774
  * Constructs a new BillingApi.
10735
10775
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -10818,7 +10858,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
10818
10858
  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(){/**
10819
10859
  * BusinessRules service.
10820
10860
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
10821
- * @version 249.1.0
10861
+ * @version 250.1.0
10822
10862
  *//**
10823
10863
  * Constructs a new BusinessRulesApi.
10824
10864
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -11091,7 +11131,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
11091
11131
  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(){/**
11092
11132
  * CarrierServices service.
11093
11133
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
11094
- * @version 249.1.0
11134
+ * @version 250.1.0
11095
11135
  *//**
11096
11136
  * Constructs a new CarrierServicesApi.
11097
11137
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -11114,7 +11154,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
11114
11154
  */},{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(){/**
11115
11155
  * CaseManagement service.
11116
11156
  * @module purecloud-platform-client-v2/api/CaseManagementApi
11117
- * @version 249.1.0
11157
+ * @version 250.1.0
11118
11158
  *//**
11119
11159
  * Constructs a new CaseManagementApi.
11120
11160
  * @alias module:purecloud-platform-client-v2/api/CaseManagementApi
@@ -11475,7 +11515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11475
11515
  */},{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(){/**
11476
11516
  * Chat service.
11477
11517
  * @module purecloud-platform-client-v2/api/ChatApi
11478
- * @version 249.1.0
11518
+ * @version 250.1.0
11479
11519
  *//**
11480
11520
  * Constructs a new ChatApi.
11481
11521
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -11770,7 +11810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11770
11810
  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(){/**
11771
11811
  * Coaching service.
11772
11812
  * @module purecloud-platform-client-v2/api/CoachingApi
11773
- * @version 249.1.0
11813
+ * @version 250.1.0
11774
11814
  *//**
11775
11815
  * Constructs a new CoachingApi.
11776
11816
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -11969,7 +12009,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11969
12009
  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(){/**
11970
12010
  * ContentManagement service.
11971
12011
  * @module purecloud-platform-client-v2/api/ContentManagementApi
11972
- * @version 249.1.0
12012
+ * @version 250.1.0
11973
12013
  *//**
11974
12014
  * Constructs a new ContentManagementApi.
11975
12015
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -12301,7 +12341,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
12301
12341
  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(){/**
12302
12342
  * Conversations service.
12303
12343
  * @module purecloud-platform-client-v2/api/ConversationsApi
12304
- * @version 249.1.0
12344
+ * @version 250.1.0
12305
12345
  *//**
12306
12346
  * Constructs a new ConversationsApi.
12307
12347
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -14386,6 +14426,17 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
14386
14426
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
14387
14427
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
14388
14428
  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']);}/**
14429
+ * Start/stop the snippet recording for a participant
14430
+ *
14431
+ * @param {String} conversationId conversationId
14432
+ * @param {String} participantId participantId
14433
+ * @param {Object} body snippetRecordingRequest
14434
+ * @param {Object} opts Optional parameters
14435
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
14436
+ */},{key:"postConversationsCallParticipantSnippetRecord",value:function postConversationsCallParticipantSnippetRecord(conversationId,participantId,body,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
14437
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';}// verify the required parameter 'participantId' is set
14438
+ if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';}// verify the required parameter 'body' is set
14439
+ 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']);}/**
14389
14440
  * Initiate voice consult transfer
14390
14441
  *
14391
14442
  * @param {String} conversationId conversationId
@@ -15203,7 +15254,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
15203
15254
  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(){/**
15204
15255
  * DataExtensions service.
15205
15256
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15206
- * @version 249.1.0
15257
+ * @version 250.1.0
15207
15258
  *//**
15208
15259
  * Constructs a new DataExtensionsApi.
15209
15260
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -15230,7 +15281,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
15230
15281
  */},{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(){/**
15231
15282
  * DataPrivacy service.
15232
15283
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
15233
- * @version 249.1.0
15284
+ * @version 250.1.0
15234
15285
  *//**
15235
15286
  * Constructs a new DataPrivacyApi.
15236
15287
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -15281,7 +15332,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15281
15332
  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(){/**
15282
15333
  * Downloads service.
15283
15334
  * @module purecloud-platform-client-v2/api/DownloadsApi
15284
- * @version 249.1.0
15335
+ * @version 250.1.0
15285
15336
  *//**
15286
15337
  * Constructs a new DownloadsApi.
15287
15338
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -15301,7 +15352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15301
15352
  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(){/**
15302
15353
  * Emails service.
15303
15354
  * @module purecloud-platform-client-v2/api/EmailsApi
15304
- * @version 249.1.0
15355
+ * @version 250.1.0
15305
15356
  *//**
15306
15357
  * Constructs a new EmailsApi.
15307
15358
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -15338,7 +15389,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
15338
15389
  */},{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(){/**
15339
15390
  * EmployeeEngagement service.
15340
15391
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
15341
- * @version 249.1.0
15392
+ * @version 250.1.0
15342
15393
  *//**
15343
15394
  * Constructs a new EmployeeEngagementApi.
15344
15395
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -15396,7 +15447,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15396
15447
  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(){/**
15397
15448
  * Events service.
15398
15449
  * @module purecloud-platform-client-v2/api/EventsApi
15399
- * @version 249.1.0
15450
+ * @version 250.1.0
15400
15451
  *//**
15401
15452
  * Constructs a new EventsApi.
15402
15453
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -15427,7 +15478,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15427
15478
  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(){/**
15428
15479
  * ExternalContacts service.
15429
15480
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15430
- * @version 249.1.0
15481
+ * @version 250.1.0
15431
15482
  *//**
15432
15483
  * Constructs a new ExternalContactsApi.
15433
15484
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -16389,7 +16440,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
16389
16440
  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(){/**
16390
16441
  * Fax service.
16391
16442
  * @module purecloud-platform-client-v2/api/FaxApi
16392
- * @version 249.1.0
16443
+ * @version 250.1.0
16393
16444
  *//**
16394
16445
  * Constructs a new FaxApi.
16395
16446
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -16452,7 +16503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16452
16503
  */},{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(){/**
16453
16504
  * Flows service.
16454
16505
  * @module purecloud-platform-client-v2/api/FlowsApi
16455
- * @version 249.1.0
16506
+ * @version 250.1.0
16456
16507
  *//**
16457
16508
  * Constructs a new FlowsApi.
16458
16509
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -16518,7 +16569,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16518
16569
  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(){/**
16519
16570
  * Gamification service.
16520
16571
  * @module purecloud-platform-client-v2/api/GamificationApi
16521
- * @version 249.1.0
16572
+ * @version 250.1.0
16522
16573
  *//**
16523
16574
  * Constructs a new GamificationApi.
16524
16575
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -17313,7 +17364,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17313
17364
  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(){/**
17314
17365
  * GeneralDataProtectionRegulation service.
17315
17366
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17316
- * @version 249.1.0
17367
+ * @version 250.1.0
17317
17368
  *//**
17318
17369
  * Constructs a new GeneralDataProtectionRegulationApi.
17319
17370
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -17354,7 +17405,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
17354
17405
  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(){/**
17355
17406
  * Geolocation service.
17356
17407
  * @module purecloud-platform-client-v2/api/GeolocationApi
17357
- * @version 249.1.0
17408
+ * @version 250.1.0
17358
17409
  *//**
17359
17410
  * Constructs a new GeolocationApi.
17360
17411
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -17396,7 +17447,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
17396
17447
  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(){/**
17397
17448
  * Greetings service.
17398
17449
  * @module purecloud-platform-client-v2/api/GreetingsApi
17399
- * @version 249.1.0
17450
+ * @version 250.1.0
17400
17451
  *//**
17401
17452
  * Constructs a new GreetingsApi.
17402
17453
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -17555,7 +17606,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17555
17606
  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(){/**
17556
17607
  * Groups service.
17557
17608
  * @module purecloud-platform-client-v2/api/GroupsApi
17558
- * @version 249.1.0
17609
+ * @version 250.1.0
17559
17610
  *//**
17560
17611
  * Constructs a new GroupsApi.
17561
17612
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -17718,7 +17769,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
17718
17769
  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(){/**
17719
17770
  * IdentityProvider service.
17720
17771
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
17721
- * @version 249.1.0
17772
+ * @version 250.1.0
17722
17773
  *//**
17723
17774
  * Constructs a new IdentityProviderApi.
17724
17775
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -17950,7 +18001,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17950
18001
  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(){/**
17951
18002
  * InfrastructureAsCode service.
17952
18003
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
17953
- * @version 249.1.0
18004
+ * @version 250.1.0
17954
18005
  *//**
17955
18006
  * Constructs a new InfrastructureAsCodeApi.
17956
18007
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -18010,7 +18061,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
18010
18061
  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(){/**
18011
18062
  * Integrations service.
18012
18063
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18013
- * @version 249.1.0
18064
+ * @version 250.1.0
18014
18065
  *//**
18015
18066
  * Constructs a new IntegrationsApi.
18016
18067
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -18840,7 +18891,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
18840
18891
  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(){/**
18841
18892
  * Intents service.
18842
18893
  * @module purecloud-platform-client-v2/api/IntentsApi
18843
- * @version 249.1.0
18894
+ * @version 250.1.0
18844
18895
  *//**
18845
18896
  * Constructs a new IntentsApi.
18846
18897
  * @alias module:purecloud-platform-client-v2/api/IntentsApi
@@ -18984,7 +19035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18984
19035
  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(){/**
18985
19036
  * Journey service.
18986
19037
  * @module purecloud-platform-client-v2/api/JourneyApi
18987
- * @version 249.1.0
19038
+ * @version 250.1.0
18988
19039
  *//**
18989
19040
  * Constructs a new JourneyApi.
18990
19041
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -19015,6 +19066,20 @@ if(actionMapId===undefined||actionMapId===null||actionMapId===''){throw'Missing
19015
19066
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19016
19067
  */},{key:"deleteJourneyActiontemplate",value:function deleteJourneyActiontemplate(actionTemplateId,opts){opts=opts||{};// verify the required parameter 'actionTemplateId' is set
19017
19068
  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']);}/**
19069
+ * Delete an external events configuration.
19070
+ *
19071
+ * @param {String} configId The ID of the external event configuration.
19072
+ * @param {Object} opts Optional parameters
19073
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19074
+ */},{key:"deleteJourneyExternaleventsConfiguration",value:function deleteJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
19075
+ 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']);}/**
19076
+ * Delete a schema
19077
+ *
19078
+ * @param {String} schemaId Schema ID
19079
+ * @param {Object} opts Optional parameters
19080
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19081
+ */},{key:"deleteJourneyExternaleventsSchema",value:function deleteJourneyExternaleventsSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
19082
+ 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']);}/**
19018
19083
  * Delete an outcome.
19019
19084
  *
19020
19085
  * @param {String} outcomeId ID of the outcome.
@@ -19167,6 +19232,65 @@ if(actionTemplateId===undefined||actionTemplateId===null||actionTemplateId==='')
19167
19232
  */},{key:"getJourneyDeploymentCustomerPing",value:function getJourneyDeploymentCustomerPing(deploymentId,customerCookieId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
19168
19233
  if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';}// verify the required parameter 'customerCookieId' is set
19169
19234
  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']);}/**
19235
+ * Get an external events configuration
19236
+ *
19237
+ * @param {String} configId The ID of the external event configuration.
19238
+ * @param {Object} opts Optional parameters
19239
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19240
+ */},{key:"getJourneyExternaleventsConfiguration",value:function getJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
19241
+ 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']);}/**
19242
+ * Get all external event configurations.
19243
+ *
19244
+ * @param {Object} opts Optional parameters
19245
+ * @param {Number} opts.pageSize Page size (default to 20)
19246
+ * @param {Number} opts.pageNumber Page number (default to 1)
19247
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19248
+ */},{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']);}/**
19249
+ * Get a schema
19250
+ *
19251
+ * @param {String} schemaId Schema ID
19252
+ * @param {Object} opts Optional parameters
19253
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19254
+ */},{key:"getJourneyExternaleventsSchema",value:function getJourneyExternaleventsSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
19255
+ 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']);}/**
19256
+ * Get a specific version of a schema
19257
+ *
19258
+ * @param {String} schemaId Schema ID
19259
+ * @param {String} versionId Schema version
19260
+ * @param {Object} opts Optional parameters
19261
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19262
+ */},{key:"getJourneyExternaleventsSchemaVersion",value:function getJourneyExternaleventsSchemaVersion(schemaId,versionId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
19263
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersion';}// verify the required parameter 'versionId' is set
19264
+ 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']);}/**
19265
+ * Get all versions of a External Events schema
19266
+ *
19267
+ * @param {String} schemaId Schema ID
19268
+ * @param {Object} opts Optional parameters
19269
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19270
+ */},{key:"getJourneyExternaleventsSchemaVersions",value:function getJourneyExternaleventsSchemaVersions(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
19271
+ 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']);}/**
19272
+ * Get a list of schemas.
19273
+ *
19274
+ * @param {Object} opts Optional parameters
19275
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19276
+ */},{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']);}/**
19277
+ * Get a core type from which all schemas are built
19278
+ *
19279
+ * @param {String} coreTypeName Name of core type
19280
+ * @param {Object} opts Optional parameters
19281
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19282
+ */},{key:"getJourneyExternaleventsSchemasCoretype",value:function getJourneyExternaleventsSchemasCoretype(coreTypeName,opts){opts=opts||{};// verify the required parameter 'coreTypeName' is set
19283
+ 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']);}/**
19284
+ * Get the list of core types enabled for a specific namespace.
19285
+ *
19286
+ * @param {Object} opts Optional parameters
19287
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19288
+ */},{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']);}/**
19289
+ * Get quantitative limits on schemas
19290
+ *
19291
+ * @param {Object} opts Optional parameters
19292
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19293
+ */},{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']);}/**
19170
19294
  * Retrieve a single outcome.
19171
19295
  *
19172
19296
  * @param {String} outcomeId ID of the outcome.
@@ -19423,6 +19547,14 @@ if(actionTargetId===undefined||actionTargetId===null||actionTargetId===''){throw
19423
19547
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19424
19548
  */},{key:"patchJourneyActiontemplate",value:function patchJourneyActiontemplate(actionTemplateId,opts){opts=opts||{};// verify the required parameter 'actionTemplateId' is set
19425
19549
  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']);}/**
19550
+ * Update an external events configuration.
19551
+ *
19552
+ * @param {String} configId The ID of the external event configuration.
19553
+ * @param {Object} opts Optional parameters
19554
+ * @param {Object} opts.body
19555
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19556
+ */},{key:"patchJourneyExternaleventsConfiguration",value:function patchJourneyExternaleventsConfiguration(configId,opts){opts=opts||{};// verify the required parameter 'configId' is set
19557
+ 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']);}/**
19426
19558
  * Update an outcome.
19427
19559
  *
19428
19560
  * @param {String} outcomeId ID of the outcome.
@@ -19519,6 +19651,27 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
19519
19651
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19520
19652
  */},{key:"postJourneyDeploymentWebevents",value:function postJourneyDeploymentWebevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
19521
19653
  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']);}/**
19654
+ * Create external events
19655
+ *
19656
+ * @param {String} configurationId The ID of the external event configuration.
19657
+ * @param {Object} opts Optional parameters
19658
+ * @param {Object} opts.body
19659
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19660
+ */},{key:"postJourneyExternaleventsConfigurationEvents",value:function postJourneyExternaleventsConfigurationEvents(configurationId,opts){opts=opts||{};// verify the required parameter 'configurationId' is set
19661
+ 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']);}/**
19662
+ * Create an external events configuration.
19663
+ *
19664
+ * @param {Object} opts Optional parameters
19665
+ * @param {Object} opts.body
19666
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19667
+ */},{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']);}/**
19668
+ * Create a schema
19669
+ *
19670
+ * @param {Object} body Schema create request body
19671
+ * @param {Object} opts Optional parameters
19672
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19673
+ */},{key:"postJourneyExternaleventsSchemas",value:function postJourneyExternaleventsSchemas(body,opts){opts=opts||{};// verify the required parameter 'body' is set
19674
+ 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']);}/**
19522
19675
  * Query for flow paths.
19523
19676
  *
19524
19677
  * @param {Object} opts Optional parameters
@@ -19590,6 +19743,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19590
19743
  * @param {Array.<Object>} opts.body
19591
19744
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19592
19745
  */},{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']);}/**
19746
+ * Update a schema
19747
+ *
19748
+ * @param {String} schemaId Schema ID
19749
+ * @param {Object} body Schema update request body
19750
+ * @param {Object} opts Optional parameters
19751
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
19752
+ */},{key:"putJourneyExternaleventsSchema",value:function putJourneyExternaleventsSchema(schemaId,body,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
19753
+ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putJourneyExternaleventsSchema';}// verify the required parameter 'body' is set
19754
+ 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']);}/**
19593
19755
  * Update the Schedule for a JourneyView
19594
19756
  *
19595
19757
  * @param {String} viewId Journey View Id
@@ -19612,7 +19774,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
19612
19774
  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(){/**
19613
19775
  * Knowledge service.
19614
19776
  * @module purecloud-platform-client-v2/api/KnowledgeApi
19615
- * @version 249.1.0
19777
+ * @version 250.1.0
19616
19778
  *//**
19617
19779
  * Constructs a new KnowledgeApi.
19618
19780
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -20787,7 +20949,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
20787
20949
  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(){/**
20788
20950
  * LanguageUnderstanding service.
20789
20951
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
20790
- * @version 249.1.0
20952
+ * @version 250.1.0
20791
20953
  *//**
20792
20954
  * Constructs a new LanguageUnderstandingApi.
20793
20955
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -21161,7 +21323,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
21161
21323
  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(){/**
21162
21324
  * Languages service.
21163
21325
  * @module purecloud-platform-client-v2/api/LanguagesApi
21164
- * @version 249.1.0
21326
+ * @version 250.1.0
21165
21327
  *//**
21166
21328
  * Constructs a new LanguagesApi.
21167
21329
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -21231,7 +21393,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
21231
21393
  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(){/**
21232
21394
  * Learning service.
21233
21395
  * @module purecloud-platform-client-v2/api/LearningApi
21234
- * @version 249.1.0
21396
+ * @version 250.1.0
21235
21397
  *//**
21236
21398
  * Constructs a new LearningApi.
21237
21399
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -21579,7 +21741,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
21579
21741
  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(){/**
21580
21742
  * License service.
21581
21743
  * @module purecloud-platform-client-v2/api/LicenseApi
21582
- * @version 249.1.0
21744
+ * @version 250.1.0
21583
21745
  *//**
21584
21746
  * Constructs a new LicenseApi.
21585
21747
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -21654,7 +21816,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
21654
21816
  */},{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(){/**
21655
21817
  * Locations service.
21656
21818
  * @module purecloud-platform-client-v2/api/LocationsApi
21657
- * @version 249.1.0
21819
+ * @version 250.1.0
21658
21820
  *//**
21659
21821
  * Constructs a new LocationsApi.
21660
21822
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -21726,7 +21888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21726
21888
  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(){/**
21727
21889
  * LogCapture service.
21728
21890
  * @module purecloud-platform-client-v2/api/LogCaptureApi
21729
- * @version 249.1.0
21891
+ * @version 250.1.0
21730
21892
  *//**
21731
21893
  * Constructs a new LogCaptureApi.
21732
21894
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -21785,7 +21947,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
21785
21947
  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(){/**
21786
21948
  * Messaging service.
21787
21949
  * @module purecloud-platform-client-v2/api/MessagingApi
21788
- * @version 249.1.0
21950
+ * @version 250.1.0
21789
21951
  *//**
21790
21952
  * Constructs a new MessagingApi.
21791
21953
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -21899,7 +22061,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21899
22061
  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(){/**
21900
22062
  * MobileDevices service.
21901
22063
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
21902
- * @version 249.1.0
22064
+ * @version 250.1.0
21903
22065
  *//**
21904
22066
  * Constructs a new MobileDevicesApi.
21905
22067
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -21946,7 +22108,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21946
22108
  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(){/**
21947
22109
  * Notifications service.
21948
22110
  * @module purecloud-platform-client-v2/api/NotificationsApi
21949
- * @version 249.1.0
22111
+ * @version 250.1.0
21950
22112
  *//**
21951
22113
  * Constructs a new NotificationsApi.
21952
22114
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -22015,7 +22177,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
22015
22177
  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(){/**
22016
22178
  * OAuth service.
22017
22179
  * @module purecloud-platform-client-v2/api/OAuthApi
22018
- * @version 249.1.0
22180
+ * @version 250.1.0
22019
22181
  *//**
22020
22182
  * Constructs a new OAuthApi.
22021
22183
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -22121,7 +22283,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
22121
22283
  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(){/**
22122
22284
  * Objects service.
22123
22285
  * @module purecloud-platform-client-v2/api/ObjectsApi
22124
- * @version 249.1.0
22286
+ * @version 250.1.0
22125
22287
  *//**
22126
22288
  * Constructs a new ObjectsApi.
22127
22289
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -22224,7 +22386,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
22224
22386
  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(){/**
22225
22387
  * OperationalEvents service.
22226
22388
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
22227
- * @version 249.1.0
22389
+ * @version 250.1.0
22228
22390
  *//**
22229
22391
  * Constructs a new OperationalEventsApi.
22230
22392
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -22261,7 +22423,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
22261
22423
  */},{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(){/**
22262
22424
  * Organization service.
22263
22425
  * @module purecloud-platform-client-v2/api/OrganizationApi
22264
- * @version 249.1.0
22426
+ * @version 250.1.0
22265
22427
  *//**
22266
22428
  * Constructs a new OrganizationApi.
22267
22429
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -22401,7 +22563,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22401
22563
  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(){/**
22402
22564
  * OrganizationAuthorization service.
22403
22565
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
22404
- * @version 249.1.0
22566
+ * @version 250.1.0
22405
22567
  *//**
22406
22568
  * Constructs a new OrganizationAuthorizationApi.
22407
22569
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -22821,7 +22983,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
22821
22983
  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(){/**
22822
22984
  * Outbound service.
22823
22985
  * @module purecloud-platform-client-v2/api/OutboundApi
22824
- * @version 249.1.0
22986
+ * @version 250.1.0
22825
22987
  *//**
22826
22988
  * Constructs a new OutboundApi.
22827
22989
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -24307,7 +24469,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24307
24469
  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(){/**
24308
24470
  * Presence service.
24309
24471
  * @module purecloud-platform-client-v2/api/PresenceApi
24310
- * @version 249.1.0
24472
+ * @version 250.1.0
24311
24473
  *//**
24312
24474
  * Constructs a new PresenceApi.
24313
24475
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -24527,7 +24689,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24527
24689
  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(){/**
24528
24690
  * ProcessAutomation service.
24529
24691
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
24530
- * @version 249.1.0
24692
+ * @version 250.1.0
24531
24693
  *//**
24532
24694
  * Constructs a new ProcessAutomationApi.
24533
24695
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -24602,7 +24764,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
24602
24764
  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(){/**
24603
24765
  * Quality service.
24604
24766
  * @module purecloud-platform-client-v2/api/QualityApi
24605
- * @version 249.1.0
24767
+ * @version 250.1.0
24606
24768
  *//**
24607
24769
  * Constructs a new QualityApi.
24608
24770
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -25266,7 +25428,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
25266
25428
  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(){/**
25267
25429
  * Recording service.
25268
25430
  * @module purecloud-platform-client-v2/api/RecordingApi
25269
- * @version 249.1.0
25431
+ * @version 250.1.0
25270
25432
  *//**
25271
25433
  * Constructs a new RecordingApi.
25272
25434
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -25328,7 +25490,7 @@ if(ids===undefined||ids===null){throw'Missing the required parameter "ids" when
25328
25490
  */},{key:"deleteRecordingMediaretentionpolicy",value:function deleteRecordingMediaretentionpolicy(policyId,opts){opts=opts||{};// verify the required parameter 'policyId' is set
25329
25491
  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']);}/**
25330
25492
  * Gets a specific recording.
25331
- *
25493
+ * 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.
25332
25494
  * @param {String} conversationId Conversation ID
25333
25495
  * @param {String} recordingId Recording ID
25334
25496
  * @param {Object} opts Optional parameters
@@ -25371,7 +25533,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25371
25533
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
25372
25534
  */},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
25373
25535
  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']);}/**
25374
- * Get metadata for a specific recording. Does not return playable media.
25536
+ * 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.
25375
25537
  *
25376
25538
  * @param {String} conversationId Conversation ID
25377
25539
  * @param {String} recordingId Recording ID
@@ -25381,7 +25543,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
25381
25543
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadataRecordingId';}// verify the required parameter 'recordingId' is set
25382
25544
  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']);}/**
25383
25545
  * Get all of a Conversation's Recordings.
25384
- *
25546
+ * 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.
25385
25547
  * @param {String} conversationId Conversation ID
25386
25548
  * @param {Object} opts Optional parameters
25387
25549
  * @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)
@@ -25581,7 +25743,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25581
25743
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
25582
25744
  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']);}/**
25583
25745
  * Create annotation
25584
- *
25746
+ * 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.
25585
25747
  * @param {String} conversationId Conversation ID
25586
25748
  * @param {String} recordingId Recording ID
25587
25749
  * @param {Object} body annotation
@@ -25591,7 +25753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25591
25753
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
25592
25754
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling postConversationRecordingAnnotations';}// verify the required parameter 'body' is set
25593
25755
  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']);}/**
25594
- * Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration.
25756
+ * 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.
25595
25757
  *
25596
25758
  * @param {Object} body Job submission criteria
25597
25759
  * @param {Object} opts Optional parameters
@@ -25674,7 +25836,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25674
25836
  */},{key:"postRecordingsScreensessionsMetadata",value:function postRecordingsScreensessionsMetadata(body,opts){opts=opts||{};// verify the required parameter 'body' is set
25675
25837
  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']);}/**
25676
25838
  * Updates the retention records on a recording.
25677
- * 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.
25839
+ * 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.
25678
25840
  * @param {String} conversationId Conversation ID
25679
25841
  * @param {String} recordingId Recording ID
25680
25842
  * @param {Object} body recording
@@ -25686,7 +25848,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
25686
25848
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling putConversationRecording';}// verify the required parameter 'body' is set
25687
25849
  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']);}/**
25688
25850
  * Update annotation
25689
- *
25851
+ * 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.
25690
25852
  * @param {String} conversationId Conversation ID
25691
25853
  * @param {String} recordingId Recording ID
25692
25854
  * @param {String} annotationId Annotation ID
@@ -25765,7 +25927,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25765
25927
  */},{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(){/**
25766
25928
  * ResponseManagement service.
25767
25929
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
25768
- * @version 249.1.0
25930
+ * @version 250.1.0
25769
25931
  *//**
25770
25932
  * Constructs a new ResponseManagementApi.
25771
25933
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -25933,7 +26095,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
25933
26095
  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(){/**
25934
26096
  * Routing service.
25935
26097
  * @module purecloud-platform-client-v2/api/RoutingApi
25936
- * @version 249.1.0
26098
+ * @version 250.1.0
25937
26099
  *//**
25938
26100
  * Constructs a new RoutingApi.
25939
26101
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -27362,7 +27524,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
27362
27524
  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(){/**
27363
27525
  * SCIM service.
27364
27526
  * @module purecloud-platform-client-v2/api/SCIMApi
27365
- * @version 249.1.0
27527
+ * @version 250.1.0
27366
27528
  *//**
27367
27529
  * Constructs a new SCIMApi.
27368
27530
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -27625,7 +27787,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
27625
27787
  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(){/**
27626
27788
  * Scripts service.
27627
27789
  * @module purecloud-platform-client-v2/api/ScriptsApi
27628
- * @version 249.1.0
27790
+ * @version 250.1.0
27629
27791
  *//**
27630
27792
  * Constructs a new ScriptsApi.
27631
27793
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -27787,7 +27949,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
27787
27949
  */},{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(){/**
27788
27950
  * Search service.
27789
27951
  * @module purecloud-platform-client-v2/api/SearchApi
27790
- * @version 249.1.0
27952
+ * @version 250.1.0
27791
27953
  *//**
27792
27954
  * Constructs a new SearchApi.
27793
27955
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -27994,7 +28156,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27994
28156
  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(){/**
27995
28157
  * Settings service.
27996
28158
  * @module purecloud-platform-client-v2/api/SettingsApi
27997
- * @version 249.1.0
28159
+ * @version 250.1.0
27998
28160
  *//**
27999
28161
  * Constructs a new SettingsApi.
28000
28162
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -28091,7 +28253,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
28091
28253
  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(){/**
28092
28254
  * SocialMedia service.
28093
28255
  * @module purecloud-platform-client-v2/api/SocialMediaApi
28094
- * @version 249.1.0
28256
+ * @version 250.1.0
28095
28257
  *//**
28096
28258
  * Constructs a new SocialMediaApi.
28097
28259
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -28646,7 +28808,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
28646
28808
  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(){/**
28647
28809
  * SpeechTextAnalytics service.
28648
28810
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
28649
- * @version 249.1.0
28811
+ * @version 250.1.0
28650
28812
  *//**
28651
28813
  * Constructs a new SpeechTextAnalyticsApi.
28652
28814
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -29138,7 +29300,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
29138
29300
  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(){/**
29139
29301
  * Stations service.
29140
29302
  * @module purecloud-platform-client-v2/api/StationsApi
29141
- * @version 249.1.0
29303
+ * @version 250.1.0
29142
29304
  *//**
29143
29305
  * Constructs a new StationsApi.
29144
29306
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -29175,7 +29337,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
29175
29337
  */},{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(){/**
29176
29338
  * Suggest service.
29177
29339
  * @module purecloud-platform-client-v2/api/SuggestApi
29178
- * @version 249.1.0
29340
+ * @version 250.1.0
29179
29341
  *//**
29180
29342
  * Constructs a new SuggestApi.
29181
29343
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -29219,7 +29381,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
29219
29381
  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(){/**
29220
29382
  * TaskManagement service.
29221
29383
  * @module purecloud-platform-client-v2/api/TaskManagementApi
29222
- * @version 249.1.0
29384
+ * @version 250.1.0
29223
29385
  *//**
29224
29386
  * Constructs a new TaskManagementApi.
29225
29387
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -29863,7 +30025,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
29863
30025
  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(){/**
29864
30026
  * Teams service.
29865
30027
  * @module purecloud-platform-client-v2/api/TeamsApi
29866
- * @version 249.1.0
30028
+ * @version 250.1.0
29867
30029
  *//**
29868
30030
  * Constructs a new TeamsApi.
29869
30031
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -29959,7 +30121,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
29959
30121
  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(){/**
29960
30122
  * Telephony service.
29961
30123
  * @module purecloud-platform-client-v2/api/TelephonyApi
29962
- * @version 249.1.0
30124
+ * @version 250.1.0
29963
30125
  *//**
29964
30126
  * Constructs a new TelephonyApi.
29965
30127
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -30062,7 +30224,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
30062
30224
  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(){/**
30063
30225
  * TelephonyProvidersEdge service.
30064
30226
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
30065
- * @version 249.1.0
30227
+ * @version 250.1.0
30066
30228
  *//**
30067
30229
  * Constructs a new TelephonyProvidersEdgeApi.
30068
30230
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -31129,7 +31291,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
31129
31291
  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(){/**
31130
31292
  * Textbots service.
31131
31293
  * @module purecloud-platform-client-v2/api/TextbotsApi
31132
- * @version 249.1.0
31294
+ * @version 250.1.0
31133
31295
  *//**
31134
31296
  * Constructs a new TextbotsApi.
31135
31297
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -31172,7 +31334,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
31172
31334
  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(){/**
31173
31335
  * Tokens service.
31174
31336
  * @module purecloud-platform-client-v2/api/TokensApi
31175
- * @version 249.1.0
31337
+ * @version 250.1.0
31176
31338
  *//**
31177
31339
  * Constructs a new TokensApi.
31178
31340
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -31216,7 +31378,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31216
31378
  */},{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(){/**
31217
31379
  * Uploads service.
31218
31380
  * @module purecloud-platform-client-v2/api/UploadsApi
31219
- * @version 249.1.0
31381
+ * @version 250.1.0
31220
31382
  *//**
31221
31383
  * Constructs a new UploadsApi.
31222
31384
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -31311,7 +31473,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
31311
31473
  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(){/**
31312
31474
  * Usage service.
31313
31475
  * @module purecloud-platform-client-v2/api/UsageApi
31314
- * @version 249.1.0
31476
+ * @version 250.1.0
31315
31477
  *//**
31316
31478
  * Constructs a new UsageApi.
31317
31479
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -31413,7 +31575,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
31413
31575
  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(){/**
31414
31576
  * UserRecordings service.
31415
31577
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
31416
- * @version 249.1.0
31578
+ * @version 250.1.0
31417
31579
  *//**
31418
31580
  * Constructs a new UserRecordingsApi.
31419
31581
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -31469,7 +31631,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
31469
31631
  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(){/**
31470
31632
  * Users service.
31471
31633
  * @module purecloud-platform-client-v2/api/UsersApi
31472
- * @version 249.1.0
31634
+ * @version 250.1.0
31473
31635
  *//**
31474
31636
  * Constructs a new UsersApi.
31475
31637
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -31535,7 +31697,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31535
31697
  * @param {String} schemaId schemaId
31536
31698
  * @param {Object} opts Optional parameters
31537
31699
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31538
- * deleteUserCustomattribute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31539
31700
  */},{key:"deleteUserCustomattribute",value:function deleteUserCustomattribute(userId,schemaId,opts){opts=opts||{};// verify the required parameter 'userId' is set
31540
31701
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling deleteUserCustomattribute';}// verify the required parameter 'schemaId' is set
31541
31702
  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']);}/**
@@ -31596,7 +31757,6 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
31596
31757
  * @param {String} schemaId Schema ID
31597
31758
  * @param {Object} opts Optional parameters
31598
31759
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31599
- * deleteUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31600
31760
  */},{key:"deleteUsersCustomattributesSchema",value:function deleteUsersCustomattributesSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
31601
31761
  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']);}/**
31602
31762
  * Get status for async query for user aggregates
@@ -31727,10 +31887,11 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31727
31887
  * @param {Object} opts Optional parameters
31728
31888
  * @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.
31729
31889
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for a user instead of their default.
31890
+ * @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
31730
31891
  * @param {Object} opts.state Search for a user with this state (default to active)
31731
31892
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31732
31893
  */},{key:"getUser",value:function getUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
31733
- 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']);}/**
31894
+ 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']);}/**
31734
31895
  * Get adjacents
31735
31896
  *
31736
31897
  * @param {String} userId User ID
@@ -31752,7 +31913,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31752
31913
  * @param {String} schemaId schemaId
31753
31914
  * @param {Object} opts Optional parameters
31754
31915
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31755
- * getUserCustomattribute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31756
31916
  */},{key:"getUserCustomattribute",value:function getUserCustomattribute(userId,schemaId,opts){opts=opts||{};// verify the required parameter 'userId' is set
31757
31917
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUserCustomattribute';}// verify the required parameter 'schemaId' is set
31758
31918
  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']);}/**
@@ -31762,7 +31922,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
31762
31922
  * @param {Array.<String>} schemaIds
31763
31923
  * @param {Object} opts Optional parameters
31764
31924
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31765
- * getUserCustomattributesBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31766
31925
  */},{key:"getUserCustomattributesBulk",value:function getUserCustomattributesBulk(userId,schemaIds,opts){opts=opts||{};// verify the required parameter 'userId' is set
31767
31926
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUserCustomattributesBulk';}// verify the required parameter 'schemaIds' is set
31768
31927
  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']);}/**
@@ -31938,9 +32097,10 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31938
32097
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
31939
32098
  * @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.
31940
32099
  * @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.
32100
+ * @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
31941
32101
  * @param {Object} opts.state Only list users of this state (default to active)
31942
32102
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31943
- */},{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']);}/**
32103
+ */},{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']);}/**
31944
32104
  * Get chats for a user
31945
32105
  *
31946
32106
  * @param {Object} opts Optional parameters
@@ -31954,7 +32114,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
31954
32114
  * @param {String} schemaId Schema ID
31955
32115
  * @param {Object} opts Optional parameters
31956
32116
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31957
- * getUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31958
32117
  */},{key:"getUsersCustomattributesSchema",value:function getUsersCustomattributesSchema(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
31959
32118
  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']);}/**
31960
32119
  * Get a specific version of a schema
@@ -31963,7 +32122,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
31963
32122
  * @param {String} versionId Schema version
31964
32123
  * @param {Object} opts Optional parameters
31965
32124
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31966
- * getUsersCustomattributesSchemaVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31967
32125
  */},{key:"getUsersCustomattributesSchemaVersion",value:function getUsersCustomattributesSchemaVersion(schemaId,versionId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
31968
32126
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersion';}// verify the required parameter 'versionId' is set
31969
32127
  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']);}/**
@@ -31972,34 +32130,29 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
31972
32130
  * @param {String} schemaId Schema ID
31973
32131
  * @param {Object} opts Optional parameters
31974
32132
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31975
- * getUsersCustomattributesSchemaVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31976
32133
  */},{key:"getUsersCustomattributesSchemaVersions",value:function getUsersCustomattributesSchemaVersions(schemaId,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
31977
32134
  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']);}/**
31978
32135
  * Get a list of schemas.
31979
32136
  *
31980
32137
  * @param {Object} opts Optional parameters
31981
32138
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31982
- * getUsersCustomattributesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31983
32139
  */},{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']);}/**
31984
32140
  * Get the core types from which all schemas are built.
31985
32141
  *
31986
32142
  * @param {String} coreTypeName Name of the core type
31987
32143
  * @param {Object} opts Optional parameters
31988
32144
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31989
- * getUsersCustomattributesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31990
32145
  */},{key:"getUsersCustomattributesSchemasCoretype",value:function getUsersCustomattributesSchemasCoretype(coreTypeName,opts){opts=opts||{};// verify the required parameter 'coreTypeName' is set
31991
32146
  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']);}/**
31992
32147
  * Get the list of core types enabled for a specific namespace.
31993
32148
  *
31994
32149
  * @param {Object} opts Optional parameters
31995
32150
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
31996
- * getUsersCustomattributesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31997
32151
  */},{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']);}/**
31998
32152
  * Get quantitative limits on schemas
31999
32153
  *
32000
32154
  * @param {Object} opts Optional parameters
32001
32155
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32002
- * getUsersCustomattributesSchemasLimits is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32003
32156
  */},{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']);}/**
32004
32157
  * Get list of Development Activities
32005
32158
  * Either moduleId or userId is required. Results are filtered based on the applicable permissions.
@@ -32058,8 +32211,9 @@ if(externalKey===undefined||externalKey===null||externalKey===''){throw'Missing
32058
32211
  * @param {Object} opts Optional parameters
32059
32212
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
32060
32213
  * @param {Object} opts.integrationPresenceSource Get your presence for a given integration. This parameter will only be used when presence is provided as an expand.
32214
+ * @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
32061
32215
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32062
- */},{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']);}/**
32216
+ */},{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']);}/**
32063
32217
  * Get list of available users, paged by cursor token, No division filtering available so directory:user:view permission for all divisions is required
32064
32218
  *
32065
32219
  * @param {Object} opts Optional parameters
@@ -32068,10 +32222,11 @@ if(externalKey===undefined||externalKey===null||externalKey===''){throw'Missing
32068
32222
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
32069
32223
  * @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.
32070
32224
  * @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.
32225
+ * @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
32071
32226
  * @param {Object} opts.state Only list users of this state (default to active)
32072
32227
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32073
32228
  * getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32074
- */},{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']);}/**
32229
+ */},{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']);}/**
32075
32230
  * Search users using the q64 value returned from a previous search
32076
32231
  *
32077
32232
  * @param {String} q64 q64
@@ -32105,7 +32260,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32105
32260
  * @param {Object} userCustomAttributes
32106
32261
  * @param {Object} opts Optional parameters
32107
32262
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32108
- * patchUserCustomattributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32109
32263
  */},{key:"patchUserCustomattributes",value:function patchUserCustomattributes(userId,userCustomAttributes,opts){opts=opts||{};// verify the required parameter 'userId' is set
32110
32264
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchUserCustomattributes';}// verify the required parameter 'userCustomAttributes' is set
32111
32265
  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']);}/**
@@ -32115,7 +32269,6 @@ if(userCustomAttributes===undefined||userCustomAttributes===null){throw'Missing
32115
32269
  * @param {Array.<Object>} userCustomAttributesList
32116
32270
  * @param {Object} opts Optional parameters
32117
32271
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32118
- * patchUserCustomattributesBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32119
32272
  */},{key:"patchUserCustomattributesBulk",value:function patchUserCustomattributesBulk(userId,userCustomAttributesList,opts){opts=opts||{};// verify the required parameter 'userId' is set
32120
32273
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchUserCustomattributesBulk';}// verify the required parameter 'userCustomAttributesList' is set
32121
32274
  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']);}/**
@@ -32329,7 +32482,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32329
32482
  * @param {Object} body Schema
32330
32483
  * @param {Object} opts Optional parameters
32331
32484
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32332
- * postUsersCustomattributesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32333
32485
  */},{key:"postUsersCustomattributesSchemas",value:function postUsersCustomattributesSchemas(body,opts){opts=opts||{};// verify the required parameter 'body' is set
32334
32486
  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']);}/**
32335
32487
  * Retrieve aggregated development activity data
@@ -32416,7 +32568,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32416
32568
  * @param {Object} userCustomAttributes
32417
32569
  * @param {Object} opts Optional parameters
32418
32570
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32419
- * putUserCustomattributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32420
32571
  */},{key:"putUserCustomattributes",value:function putUserCustomattributes(userId,userCustomAttributes,opts){opts=opts||{};// verify the required parameter 'userId' is set
32421
32572
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling putUserCustomattributes';}// verify the required parameter 'userCustomAttributes' is set
32422
32573
  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']);}/**
@@ -32520,13 +32671,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32520
32671
  * @param {Object} body Data Schema
32521
32672
  * @param {Object} opts Optional parameters
32522
32673
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32523
- * putUsersCustomattributesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32524
32674
  */},{key:"putUsersCustomattributesSchema",value:function putUsersCustomattributesSchema(schemaId,body,opts){opts=opts||{};// verify the required parameter 'schemaId' is set
32525
32675
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putUsersCustomattributesSchema';}// verify the required parameter 'body' is set
32526
32676
  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(){/**
32527
32677
  * UsersRules service.
32528
32678
  * @module purecloud-platform-client-v2/api/UsersRulesApi
32529
- * @version 249.1.0
32679
+ * @version 250.1.0
32530
32680
  *//**
32531
32681
  * Constructs a new UsersRulesApi.
32532
32682
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -32616,7 +32766,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32616
32766
  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(){/**
32617
32767
  * Utilities service.
32618
32768
  * @module purecloud-platform-client-v2/api/UtilitiesApi
32619
- * @version 249.1.0
32769
+ * @version 250.1.0
32620
32770
  *//**
32621
32771
  * Constructs a new UtilitiesApi.
32622
32772
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -32650,7 +32800,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
32650
32800
  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(){/**
32651
32801
  * Voicemail service.
32652
32802
  * @module purecloud-platform-client-v2/api/VoicemailApi
32653
- * @version 249.1.0
32803
+ * @version 250.1.0
32654
32804
  *//**
32655
32805
  * Constructs a new VoicemailApi.
32656
32806
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -32857,7 +33007,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
32857
33007
  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(){/**
32858
33008
  * WebChat service.
32859
33009
  * @module purecloud-platform-client-v2/api/WebChatApi
32860
- * @version 249.1.0
33010
+ * @version 250.1.0
32861
33011
  *//**
32862
33012
  * Constructs a new WebChatApi.
32863
33013
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -33040,7 +33190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
33040
33190
  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(){/**
33041
33191
  * WebDeployments service.
33042
33192
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
33043
- * @version 249.1.0
33193
+ * @version 250.1.0
33044
33194
  *//**
33045
33195
  * Constructs a new WebDeploymentsApi.
33046
33196
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -33218,7 +33368,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
33218
33368
  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(){/**
33219
33369
  * WebMessaging service.
33220
33370
  * @module purecloud-platform-client-v2/api/WebMessagingApi
33221
- * @version 249.1.0
33371
+ * @version 250.1.0
33222
33372
  *//**
33223
33373
  * Constructs a new WebMessagingApi.
33224
33374
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -33266,7 +33416,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
33266
33416
  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(){/**
33267
33417
  * Widgets service.
33268
33418
  * @module purecloud-platform-client-v2/api/WidgetsApi
33269
- * @version 249.1.0
33419
+ * @version 250.1.0
33270
33420
  *//**
33271
33421
  * Constructs a new WidgetsApi.
33272
33422
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -33316,7 +33466,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
33316
33466
  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(){/**
33317
33467
  * WorkforceManagement service.
33318
33468
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
33319
- * @version 249.1.0
33469
+ * @version 250.1.0
33320
33470
  *//**
33321
33471
  * Constructs a new WorkforceManagementApi.
33322
33472
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -33861,6 +34011,51 @@ if(serviceGoalTemplateId===undefined||serviceGoalTemplateId===null||serviceGoalT
33861
34011
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
33862
34012
  */},{key:"getWorkforcemanagementBusinessunitServicegoaltemplates",value:function getWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
33863
34013
  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']);}/**
34014
+ * 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
34015
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34016
+ * @param {String} businessUnitId The ID of the business unit
34017
+ * @param {String} jobId The ID of the job
34018
+ * @param {Object} opts Optional parameters
34019
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34020
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
34021
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';}// verify the required parameter 'jobId' is set
34022
+ 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']);}/**
34023
+ * 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
34024
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34025
+ * @param {String} businessUnitId The ID of the business unit
34026
+ * @param {String} jobId The ID of the job
34027
+ * @param {Object} opts Optional parameters
34028
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34029
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesQueryJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesQueryJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
34030
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';}// verify the required parameter 'jobId' is set
34031
+ 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']);}/**
34032
+ * View results of bulk update trades states operation. Only the user who started the operation can query the status.
34033
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34034
+ * @param {String} businessUnitId The ID of the business unit
34035
+ * @param {String} jobId The ID of the job
34036
+ * @param {Object} opts Optional parameters
34037
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34038
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob",value:function getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
34039
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';}// verify the required parameter 'jobId' is set
34040
+ 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']);}/**
34041
+ * View result of potential shift trade matches for the current user. Only the user who started the operation can query the status
34042
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34043
+ * @param {String} businessUnitId The ID of the business unit
34044
+ * @param {String} jobId The ID of the job
34045
+ * @param {Object} opts Optional parameters
34046
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34047
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob",value:function getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
34048
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';}// verify the required parameter 'jobId' is set
34049
+ 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']);}/**
34050
+ * 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
34051
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34052
+ * @param {String} businessUnitId The ID of the business unit
34053
+ * @param {String} jobId The ID of the job
34054
+ * @param {Object} opts Optional parameters
34055
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34056
+ */},{key:"getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob",value:function getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob(businessUnitId,jobId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
34057
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';}// verify the required parameter 'jobId' is set
34058
+ 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']);}/**
33864
34059
  * Gets a staffing group
33865
34060
  *
33866
34061
  * @param {String} businessUnitId The ID of the business unit
@@ -33995,7 +34190,7 @@ if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required pa
33995
34190
  if(scheduleId===undefined||scheduleId===null||scheduleId===''){throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';}// verify the required parameter 'recalculationId' is set
33996
34191
  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']);}/**
33997
34192
  * Get the list of week schedules for the specified week
33998
- * 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
34193
+ * 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
33999
34194
  * @param {String} businessUnitId The ID of the business unit
34000
34195
  * @param {String} weekId First day of schedule week in yyyy-MM-dd format, or 'recent' (without quotes) to get recent schedules
34001
34196
  * @param {Object} opts Optional parameters
@@ -34078,7 +34273,7 @@ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw
34078
34273
  if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'forecastId' is set
34079
34274
  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']);}/**
34080
34275
  * Get short term forecasts
34081
- * 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
34276
+ * 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
34082
34277
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
34083
34278
  * @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format or 'recent' (without quotes) to fetch recent forecasts
34084
34279
  * @param {Object} opts Optional parameters
@@ -34430,6 +34625,47 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
34430
34625
  * @param {Object} opts Optional parameters
34431
34626
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34432
34627
  */},{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']);}/**
34628
+ * View result of update trade operation. Only the user who started the operation can query the status
34629
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34630
+ * @param {String} tradeId The ID of the shift trade to update
34631
+ * @param {String} jobId The ID of the job
34632
+ * @param {Object} opts Optional parameters
34633
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34634
+ */},{key:"getWorkforcemanagementShifttradingTradeJob",value:function getWorkforcemanagementShifttradingTradeJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
34635
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeJob';}// verify the required parameter 'jobId' is set
34636
+ 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']);}/**
34637
+ * View result of match shift trade operation. Only the receiving user who started the operation can query the status.
34638
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34639
+ * @param {String} tradeId The ID of the shift trade to update
34640
+ * @param {String} jobId The ID of the job
34641
+ * @param {Object} opts Optional parameters
34642
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34643
+ */},{key:"getWorkforcemanagementShifttradingTradeMatchJob",value:function getWorkforcemanagementShifttradingTradeMatchJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
34644
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeMatchJob';}// verify the required parameter 'jobId' is set
34645
+ 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']);}/**
34646
+ * View result of update trade state operation. Only the user who started the operation can query the status.
34647
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34648
+ * @param {String} tradeId The ID of the shift trade to update
34649
+ * @param {String} jobId The ID of the job
34650
+ * @param {Object} opts Optional parameters
34651
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34652
+ */},{key:"getWorkforcemanagementShifttradingTradeStateJob",value:function getWorkforcemanagementShifttradingTradeStateJob(tradeId,jobId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
34653
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeStateJob';}// verify the required parameter 'jobId' is set
34654
+ 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']);}/**
34655
+ * View result of create trade operation. Only the user who started the operation can query the status
34656
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34657
+ * @param {String} jobId The ID of the job
34658
+ * @param {Object} opts Optional parameters
34659
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34660
+ */},{key:"getWorkforcemanagementShifttradingTradesJob",value:function getWorkforcemanagementShifttradingTradesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
34661
+ 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']);}/**
34662
+ * View results of retrieve all my shift trade operation. Only the user who started the operation can query the status
34663
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
34664
+ * @param {String} jobId The ID of the job
34665
+ * @param {Object} opts Optional parameters
34666
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
34667
+ */},{key:"getWorkforcemanagementShifttradingTradesMineQueryJob",value:function getWorkforcemanagementShifttradingTradesMineQueryJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
34668
+ 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']);}/**
34433
34669
  * Request to fetch the status of the historical shrinkage query
34434
34670
  *
34435
34671
  * @param {String} jobId jobId
@@ -35140,6 +35376,60 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
35140
35376
  */},{key:"postWorkforcemanagementBusinessunitServicegoaltemplates",value:function postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35141
35377
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';}// verify the required parameter 'body' is set
35142
35378
  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']);}/**
35379
+ * Queries and evaluates against shift trade configuration shift trades in a management unit per week
35380
+ *
35381
+ * @param {String} businessUnitId The ID of the business unit
35382
+ * @param {Object} body The request body
35383
+ * @param {Object} opts Optional parameters
35384
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
35385
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
35386
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35387
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35388
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';}// verify the required parameter 'body' is set
35389
+ 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']);}/**
35390
+ * Queries shift trades in a management unit per user
35391
+ *
35392
+ * @param {String} businessUnitId The ID of the business unit
35393
+ * @param {Object} body The request body
35394
+ * @param {Object} opts Optional parameters
35395
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
35396
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
35397
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35398
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35399
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';}// verify the required parameter 'body' is set
35400
+ 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']);}/**
35401
+ * Bulk update multiple trade states. Permits a supervisor to approve or deny multiple trades.
35402
+ *
35403
+ * @param {String} businessUnitId The ID of the business unit
35404
+ * @param {Object} body The request body
35405
+ * @param {Object} opts Optional parameters
35406
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
35407
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
35408
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35409
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs",value:function postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35410
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';}// verify the required parameter 'body' is set
35411
+ 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']);}/**
35412
+ * Start an async job to find potential shift trade matches for the current receiving user
35413
+ *
35414
+ * @param {String} businessUnitId The ID of the business unit
35415
+ * @param {Object} body The request body
35416
+ * @param {Object} opts Optional parameters
35417
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
35418
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
35419
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35420
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs",value:function postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35421
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';}// verify the required parameter 'body' is set
35422
+ 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']);}/**
35423
+ * Retrieves the summary of shift trades in a matched state per week
35424
+ *
35425
+ * @param {String} businessUnitId The ID of the business unit
35426
+ * @param {Object} body The request body
35427
+ * @param {Object} opts Optional parameters
35428
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
35429
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35430
+ */},{key:"postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs",value:function postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
35431
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';}// verify the required parameter 'body' is set
35432
+ 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']);}/**
35143
35433
  * Creates a new staffing group
35144
35434
  *
35145
35435
  * @param {String} businessUnitId The ID of the business unit
@@ -35741,6 +36031,53 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
35741
36031
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
35742
36032
  * @deprecated
35743
36033
  */},{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']);}/**
36034
+ * Updates a shift trade. This route can only be called by the initiating user
36035
+ *
36036
+ * @param {String} tradeId The ID of the shift trade to update
36037
+ * @param {Object} body The request body
36038
+ * @param {Object} opts Optional parameters
36039
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
36040
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
36041
+ */},{key:"postWorkforcemanagementShifttradingTradeJobs",value:function postWorkforcemanagementShifttradingTradeJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
36042
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeJobs';}// verify the required parameter 'body' is set
36043
+ 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']);}/**
36044
+ * Matches a shift trade. This route can only be called by the receiving user
36045
+ *
36046
+ * @param {String} tradeId The ID of the shift trade to match
36047
+ * @param {Object} body The request body
36048
+ * @param {Object} opts Optional parameters
36049
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
36050
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
36051
+ */},{key:"postWorkforcemanagementShifttradingTradeMatchJobs",value:function postWorkforcemanagementShifttradingTradeMatchJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
36052
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeMatchJobs';}// verify the required parameter 'body' is set
36053
+ 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']);}/**
36054
+ * Update trade state by a user
36055
+ *
36056
+ * @param {String} tradeId The ID of the shift trade to update state
36057
+ * @param {Object} body The request body
36058
+ * @param {Object} opts Optional parameters
36059
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
36060
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
36061
+ */},{key:"postWorkforcemanagementShifttradingTradeStateJobs",value:function postWorkforcemanagementShifttradingTradeStateJobs(tradeId,body,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
36062
+ if(tradeId===undefined||tradeId===null||tradeId===''){throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeStateJobs';}// verify the required parameter 'body' is set
36063
+ 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']);}/**
36064
+ * Add a shift trade job
36065
+ *
36066
+ * @param {Object} body The request body
36067
+ * @param {Object} opts Optional parameters
36068
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
36069
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
36070
+ */},{key:"postWorkforcemanagementShifttradingTradesJobs",value:function postWorkforcemanagementShifttradingTradesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
36071
+ 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']);}/**
36072
+ * Retrieve all my shift trades where I am either the initiating or receiving user
36073
+ *
36074
+ * @param {Object} body The request body
36075
+ * @param {Object} opts Optional parameters
36076
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
36077
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
36078
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
36079
+ */},{key:"postWorkforcemanagementShifttradingTradesMineQueryJobs",value:function postWorkforcemanagementShifttradingTradesMineQueryJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
36080
+ 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']);}/**
35744
36081
  * Request a teams historical adherence report
35745
36082
  * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
35746
36083
  * @param {String} teamId The ID of the team
@@ -35867,7 +36204,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
35867
36204
  * </pre>
35868
36205
  * </p>
35869
36206
  * @module purecloud-platform-client-v2/index
35870
- * @version 249.1.0
36207
+ * @version 250.1.0
35871
36208
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
35872
36209
  * The ApiClient constructor.
35873
36210
  * @property {module:purecloud-platform-client-v2/ApiClient}