purecloud-platform-client-v2 231.0.0 → 233.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +22 -3
  2. package/dist/node/purecloud-platform-client-v2.js +378 -111
  3. package/dist/web-amd/purecloud-platform-client-v2.js +378 -111
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +183 -112
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +183 -112
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1090 -522
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
  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 +25 -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 +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +3 -3
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +173 -4
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +11 -5
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -2
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +3 -3
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +7 -4
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +31 -1
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -911,7 +911,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
911
911
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
912
912
  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];}}}]);}();/**
913
913
  * @module purecloud-platform-client-v2/ApiClient
914
- * @version 231.0.0
914
+ * @version 233.0.0
915
915
  */var ApiClient=/*#__PURE__*/function(){/**
916
916
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
917
917
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -940,7 +940,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
940
940
  */PIPES:'|',/**
941
941
  * Native array. Value: <code>multi</code>
942
942
  * @const
943
- */MULTI:'multi'};/**
943
+ */MULTI:'multi'};this.useLegacyParameterFilter=true;/**
944
944
  * @description Value is `true` if local storage exists. Otherwise, false.
945
945
  */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;}/**
946
946
  * The authentication methods to be included for all API calls.
@@ -1168,10 +1168,13 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
1168
1168
  * @param {string} path - The path for the URL
1169
1169
  * @param {object} query - An object of key/value pairs to use for querystring keys/values
1170
1170
  */},{key:"_buildAuthUrl",value:function _buildAuthUrl(path,query){if(!query)query={};var loginBasePath=this.config.getConfUrl('login',this.config.authUrl);return Object.keys(query).reduce(function(url,key){return!query[key]?url:"".concat(url,"&").concat(key,"=").concat(query[key]);},"".concat(loginBasePath,"/").concat(path,"?"));}/**
1171
+ * @description If set to `true`, the ApiClient will continue to use its legacy approach for filtering method parameters (mapped to an API Endpoint's query parameter). This is option is meant to facilitate transition from legacy to current and accurate parameters filtering.
1172
+ * @param {boolean} useLegacyParameterFilter - `false` to use modern/accurate approach (default value), `true` to use legacy approach (i.e. parameters of boolean type and equal to false are ignored/filtered, parameters of type integer/number and equal to 0 are ignored/filtered)
1173
+ */},{key:"setUseLegacyParameterFilter",value:function setUseLegacyParameterFilter(useLegacyParameterFilter){this.useLegacyParameterFilter=useLegacyParameterFilter;}},{key:"getUseLegacyParameterFilter",value:function getUseLegacyParameterFilter(){return this.useLegacyParameterFilter;}/**
1171
1174
  * Returns a string representation for an actual parameter.
1172
1175
  * @param param The actual parameter.
1173
1176
  * @returns {String} The string representation of <code>param</code>.
1174
- */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
1177
+ */},{key:"paramToString",value:function paramToString(param){if(this.useLegacyParameterFilter!==true){if(param!==null&&param!==undefined){if(typeof param==="boolean"){return param.toString().toLowerCase();}else if(param instanceof Boolean){return param.toString().toLowerCase();}else if(typeof param==="number"){return param.toString();}}}if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
1175
1178
  * Returns query parameters serialized in the format needed for an axios request.
1176
1179
  * @param param The unserialized query parameters.
1177
1180
  * @returns {Object} The serialized representation the query parameters.
@@ -1222,12 +1225,12 @@ if(typeof File==='function'&&param instanceof File){return true;}return false;}/
1222
1225
  * @param {module:purecloud-platform-client-v2/ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
1223
1226
  * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
1224
1227
  * <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
1225
- */},{key:"buildCollectionParam",value:function buildCollectionParam(param,collectionFormat){if(!param)return;if(!Array.isArray(param)){param=[param];}switch(collectionFormat){case'csv':return param.map(this.paramToString).join(',');case'ssv':return param.map(this.paramToString).join(' ');case'tsv':return param.map(this.paramToString).join('\t');case'pipes':return param.map(this.paramToString).join('|');case'multi':// return the array directly as axios will handle it as expected
1226
- return param.map(this.paramToString);default:throw new Error("Unknown collection format: ".concat(collectionFormat));}}/**
1228
+ */},{key:"buildCollectionParam",value:function buildCollectionParam(param,collectionFormat){var _this13=this;if(!param)return;if(!Array.isArray(param)){param=[param];}switch(collectionFormat){case'csv':return param.map(function(x){return _this13.paramToString(x);}).join(',');case'ssv':return param.map(function(x){return _this13.paramToString(x);}).join(' ');case'tsv':return param.map(function(x){return _this13.paramToString(x);}).join('\t');case'pipes':return param.map(function(x){return _this13.paramToString(x);}).join('|');case'multi':// return the array directly as axios will handle it as expected
1229
+ return param.map(function(x){return _this13.paramToString(x);});default:throw new Error("Unknown collection format: ".concat(collectionFormat));}}/**
1227
1230
  * Applies authentication headers to the request.
1228
1231
  * @param {Object} request The axios request config object.
1229
1232
  * @param {Array.<String>} authNames An array of authentication method names.
1230
- */},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this13=this;authNames.forEach(function(authName){var auth=_this13.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this13.addHeaders(request.headers,data);}else{request.setParams(_this13.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this13.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
1233
+ */},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this14=this;authNames.forEach(function(authName){var auth=_this14.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this14.addHeaders(request.headers,data);}else{request.setParams(_this14.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this14.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
1231
1234
  * @description Sets the proxy agent axios will use for requests
1232
1235
  * @param {any} agent - The proxy agent
1233
1236
  */},{key:"setProxyAgent",value:function setProxyAgent(agent){this.proxyAgent=agent;var httpClient=this.getHttpClient();httpClient.setHttpsAgent(this.proxyAgent);}/**
@@ -1244,7 +1247,7 @@ return param.map(this.paramToString);default:throw new Error("Unknown collection
1244
1247
  * @param {Array.<String>} accepts An array of acceptable response MIME types.types or the
1245
1248
  * constructor for a complex type.
1246
1249
  * @returns {Promise} A Promise object.
1247
- */},{key:"callApi",value:function callApi(path,httpMethod,pathParams,queryParams,headerParams,formParams,bodyParam,authNames,contentTypes,accepts){var _this14=this;return new Promise(function(resolve,reject){sendRequest(_this14);function sendRequest(that){var url=that.buildUrl(path,pathParams);var request=new HttpRequestOptions(url,httpMethod,null,that.serialize(queryParams),null,that.timeout);// apply authentications
1250
+ */},{key:"callApi",value:function callApi(path,httpMethod,pathParams,queryParams,headerParams,formParams,bodyParam,authNames,contentTypes,accepts){var _this15=this;return new Promise(function(resolve,reject){sendRequest(_this15);function sendRequest(that){var url=that.buildUrl(path,pathParams);var request=new HttpRequestOptions(url,httpMethod,null,that.serialize(queryParams),null,that.timeout);// apply authentications
1248
1251
  that.applyAuthToRequest(request,authNames);// set header parameters
1249
1252
  var defaultHeaders=that.defaultHeaders;var normalizedHeaderParams=that.normalizeParams(headerParams);request.headers=that.addHeaders(request.headers,defaultHeaders,normalizedHeaderParams);var contentType=that.jsonPreferredMime(contentTypes);if(contentType){request.headers['Content-Type']=contentType;}else if(!request.headers['Content-Type']){request.headers['Content-Type']='application/json';}if(contentType==='application/x-www-form-urlencoded'){request.setData(that.normalizeParams(formParams));}else if(contentType=='multipart/form-data'){var _formParams=that.normalizeParams(formParams);for(var key in _formParams){if(_formParams.hasOwnProperty(key)){// Looks like axios handles files and forms the same way
1250
1253
  var formData=new FormData();formData.set(key,_formParams[key]);request.setData(formData);}}}else if(bodyParam){request.setData(bodyParam);}var accept=that.jsonPreferredMime(accepts);if(accept){request.headers['Accept']=accept;}var httpClient=that.getHttpClient();httpClient.request(request).then(function(response){// Build response object
@@ -1254,7 +1257,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1254
1257
  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(){/**
1255
1258
  * AIStudio service.
1256
1259
  * @module purecloud-platform-client-v2/api/AIStudioApi
1257
- * @version 231.0.0
1260
+ * @version 233.0.0
1258
1261
  *//**
1259
1262
  * Constructs a new AIStudioApi.
1260
1263
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -1405,7 +1408,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
1405
1408
  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']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
1406
1409
  * AgentAssistants service.
1407
1410
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1408
- * @version 231.0.0
1411
+ * @version 233.0.0
1409
1412
  *//**
1410
1413
  * Constructs a new AgentAssistantsApi.
1411
1414
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1536,7 +1539,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
1536
1539
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
1537
1540
  * AgentCopilot service.
1538
1541
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1539
- * @version 231.0.0
1542
+ * @version 233.0.0
1540
1543
  *//**
1541
1544
  * Constructs a new AgentCopilotApi.
1542
1545
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1549,6 +1552,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1549
1552
  * @param {String} assistantId Assistant ID
1550
1553
  */return _createClass(AgentCopilotApi,[{key:"getAssistantCopilot",value:function getAssistantCopilot(assistantId){// verify the required parameter 'assistantId' is set
1551
1554
  if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling getAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','GET',{'assistantId':assistantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1555
+ * Get information about the support of features for all the languages or only for a certain language.
1556
+ *
1557
+ * @param {Object} opts Optional parameters
1558
+ * @param {String} opts.language Which language are the features supported for
1559
+ */},{key:"getAssistantsCopilotFeaturesupport",value:function getAssistantsCopilotFeaturesupport(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/assistants/copilot/featuresupport','GET',{},{'language':opts['language']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1552
1560
  * Update agent copilot configuration
1553
1561
  *
1554
1562
  * @param {String} assistantId Assistant ID
@@ -1558,7 +1566,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
1558
1566
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
1559
1567
  * AgentUI service.
1560
1568
  * @module purecloud-platform-client-v2/api/AgentUIApi
1561
- * @version 231.0.0
1569
+ * @version 233.0.0
1562
1570
  *//**
1563
1571
  * Constructs a new AgentUIApi.
1564
1572
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1592,7 +1600,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
1592
1600
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
1593
1601
  * Alerting service.
1594
1602
  * @module purecloud-platform-client-v2/api/AlertingApi
1595
- * @version 231.0.0
1603
+ * @version 233.0.0
1596
1604
  *//**
1597
1605
  * Constructs a new AlertingApi.
1598
1606
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1681,7 +1689,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
1681
1689
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
1682
1690
  * Analytics service.
1683
1691
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1684
- * @version 231.0.0
1692
+ * @version 233.0.0
1685
1693
  *//**
1686
1694
  * Constructs a new AnalyticsApi.
1687
1695
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2457,7 +2465,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2457
2465
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
2458
2466
  * Architect service.
2459
2467
  * @module purecloud-platform-client-v2/api/ArchitectApi
2460
- * @version 231.0.0
2468
+ * @version 233.0.0
2461
2469
  *//**
2462
2470
  * Constructs a new ArchitectApi.
2463
2471
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3591,7 +3599,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
3591
3599
  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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
3592
3600
  * Audit service.
3593
3601
  * @module purecloud-platform-client-v2/api/AuditApi
3594
- * @version 231.0.0
3602
+ * @version 233.0.0
3595
3603
  *//**
3596
3604
  * Constructs a new AuditApi.
3597
3605
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3641,7 +3649,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3641
3649
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
3642
3650
  * Authorization service.
3643
3651
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3644
- * @version 231.0.0
3652
+ * @version 233.0.0
3645
3653
  *//**
3646
3654
  * Constructs a new AuthorizationApi.
3647
3655
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -4076,7 +4084,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
4076
4084
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
4077
4085
  * Billing service.
4078
4086
  * @module purecloud-platform-client-v2/api/BillingApi
4079
- * @version 231.0.0
4087
+ * @version 233.0.0
4080
4088
  *//**
4081
4089
  * Constructs a new BillingApi.
4082
4090
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -4153,7 +4161,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
4153
4161
  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']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
4154
4162
  * BusinessRules service.
4155
4163
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
4156
- * @version 231.0.0
4164
+ * @version 233.0.0
4157
4165
  *//**
4158
4166
  * Constructs a new BusinessRulesApi.
4159
4167
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -4369,7 +4377,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
4369
4377
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4370
4378
  * Create a schema
4371
4379
  *
4372
- * @param {Object} body Schema
4380
+ * @param {Object} body Business Rules Schema Create Request
4373
4381
  * postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4374
4382
  */},{key:"postBusinessrulesSchemas",value:function postBusinessrulesSchemas(body){// verify the required parameter 'body' is set
4375
4383
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';}return this.apiClient.callApi('/api/v2/businessrules/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -4396,14 +4404,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4396
4404
  * Update a schema
4397
4405
  *
4398
4406
  * @param {String} schemaId Schema ID
4399
- * @param {Object} body Data Schema
4407
+ * @param {Object} body Business Rules Schema Update Request
4400
4408
  * putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4401
4409
  */},{key:"putBusinessrulesSchema",value:function putBusinessrulesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
4402
4410
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';}// verify the required parameter 'body' is set
4403
4411
  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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
4404
4412
  * CarrierServices service.
4405
4413
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
4406
- * @version 231.0.0
4414
+ * @version 233.0.0
4407
4415
  *//**
4408
4416
  * Constructs a new CarrierServicesApi.
4409
4417
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -4423,7 +4431,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
4423
4431
  */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
4424
4432
  * Chat service.
4425
4433
  * @module purecloud-platform-client-v2/api/ChatApi
4426
- * @version 231.0.0
4434
+ * @version 233.0.0
4427
4435
  *//**
4428
4436
  * Constructs a new ChatApi.
4429
4437
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -4654,7 +4662,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4654
4662
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
4655
4663
  * Coaching service.
4656
4664
  * @module purecloud-platform-client-v2/api/CoachingApi
4657
- * @version 231.0.0
4665
+ * @version 233.0.0
4658
4666
  *//**
4659
4667
  * Constructs a new CoachingApi.
4660
4668
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4807,7 +4815,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4807
4815
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
4808
4816
  * ContentManagement service.
4809
4817
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4810
- * @version 231.0.0
4818
+ * @version 233.0.0
4811
4819
  *//**
4812
4820
  * Constructs a new ContentManagementApi.
4813
4821
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -5089,7 +5097,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
5089
5097
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
5090
5098
  * Conversations service.
5091
5099
  * @module purecloud-platform-client-v2/api/ConversationsApi
5092
- * @version 231.0.0
5100
+ * @version 233.0.0
5093
5101
  *//**
5094
5102
  * Constructs a new ConversationsApi.
5095
5103
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -5148,6 +5156,11 @@ if(attachmentId===undefined||attachmentId===null||attachmentId===''){throw'Missi
5148
5156
  * @param {String} cachedMediaItemId cachedMediaItemId
5149
5157
  */},{key:"deleteConversationsMessagesCachedmediaCachedMediaItemId",value:function deleteConversationsMessagesCachedmediaCachedMediaItemId(cachedMediaItemId){// verify the required parameter 'cachedMediaItemId' is set
5150
5158
  if(cachedMediaItemId===undefined||cachedMediaItemId===null||cachedMediaItemId===''){throw'Missing the required parameter "cachedMediaItemId" when calling deleteConversationsMessagesCachedmediaCachedMediaItemId';}return this.apiClient.callApi('/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}','DELETE',{'cachedMediaItemId':cachedMediaItemId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5159
+ * Delete an Apple messaging integration
5160
+ *
5161
+ * @param {String} integrationId Integration ID
5162
+ */},{key:"deleteConversationsMessagingIntegrationsAppleIntegrationId",value:function deleteConversationsMessagingIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
5163
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5151
5164
  * Delete a Facebook messaging integration
5152
5165
  *
5153
5166
  * @param {String} integrationId Integration ID
@@ -5651,7 +5664,6 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null||cachedMediaItemId===
5651
5664
  * Get Apple messaging integration identity resolution settings
5652
5665
  *
5653
5666
  * @param {String} integrationId Integration ID
5654
- * getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5655
5667
  */},{key:"getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
5656
5668
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5657
5669
  * Get Facebook messaging integration identity resolution settings
@@ -5693,6 +5705,22 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
5693
5705
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
5694
5706
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
5695
5707
  */},{key:"getConversationsMessagingIntegrations",value:function getConversationsMessagingIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5708
+ * Get a list of Apple Integrations
5709
+ *
5710
+ * @param {Object} opts Optional parameters
5711
+ * @param {Number} opts.pageSize Page size (default to 25)
5712
+ * @param {Number} opts.pageNumber Page number (default to 1)
5713
+ * @param {Object} opts.expand Expand instructions for the return value.
5714
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
5715
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
5716
+ */},{key:"getConversationsMessagingIntegrationsApple",value:function getConversationsMessagingIntegrationsApple(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5717
+ * Get an Apple messaging integration
5718
+ *
5719
+ * @param {String} integrationId Integration ID
5720
+ * @param {Object} opts Optional parameters
5721
+ * @param {Object} opts.expand Expand instructions for the return value.
5722
+ */},{key:"getConversationsMessagingIntegrationsAppleIntegrationId",value:function getConversationsMessagingIntegrationsAppleIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
5723
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5696
5724
  * Get a list of Facebook Integrations
5697
5725
  *
5698
5726
  * @param {Object} opts Optional parameters
@@ -5776,6 +5804,15 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
5776
5804
  * @param {Object} opts.expand Expand instructions for the return value.
5777
5805
  */},{key:"getConversationsMessagingIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
5778
5806
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5807
+ * Call Authentication provider callback to validate state and code
5808
+ *
5809
+ * @param {String} code The authorization code to be sent to the authentication server during the token request.
5810
+ * @param {String} state The state/nonce value generated by Genesys Auth-Client Service.
5811
+ * @param {Object} opts Optional parameters
5812
+ * @param {String} opts.error Error parameter from OAuth provider
5813
+ */},{key:"getConversationsMessagingOauthAppleCallback",value:function getConversationsMessagingOauthAppleCallback(code,state,opts){opts=opts||{};// verify the required parameter 'code' is set
5814
+ if(code===undefined||code===null){throw'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';}// verify the required parameter 'state' is set
5815
+ if(state===undefined||state===null){throw'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';}return this.apiClient.callApi('/api/v2/conversations/messaging/oauth/apple/callback','GET',{},{'code':code,'state':state,'error':opts['error']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5779
5816
  * Get a messaging setting
5780
5817
  *
5781
5818
  * @param {String} messageSettingId Message Setting ID
@@ -6187,6 +6224,13 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
6187
6224
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'communicationId' is set
6188
6225
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'body' is set
6189
6226
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantCommunication';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6227
+ * Update an Apple messaging integration
6228
+ *
6229
+ * @param {String} integrationId Integration ID
6230
+ * @param {Object} body AppleIntegrationUpdateRequest
6231
+ */},{key:"patchConversationsMessagingIntegrationsAppleIntegrationId",value:function patchConversationsMessagingIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
6232
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
6233
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6190
6234
  * Update Facebook messaging integration
6191
6235
  *
6192
6236
  * @param {String} integrationId Integration ID
@@ -6546,7 +6590,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6546
6590
  */},{key:"postConversationsCallParticipants",value:function postConversationsCallParticipants(conversationId,body){// verify the required parameter 'conversationId' is set
6547
6591
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';}// verify the required parameter 'body' is set
6548
6592
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipants';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants','POST',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6549
- * Add participants to a conversation without a user context
6593
+ * Add participants to a conversation on behalf of a user
6550
6594
  *
6551
6595
  * @param {String} conversationId conversationId
6552
6596
  * @param {String} userId userId
@@ -6870,6 +6914,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6870
6914
  * @deprecated
6871
6915
  */},{key:"postConversationsMessagesInboundOpen",value:function postConversationsMessagesInboundOpen(body){// verify the required parameter 'body' is set
6872
6916
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagesInboundOpen';}return this.apiClient.callApi('/api/v2/conversations/messages/inbound/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6917
+ * Create Apple Integration
6918
+ *
6919
+ * @param {Object} body AppleIntegrationRequest
6920
+ */},{key:"postConversationsMessagingIntegrationsApple",value:function postConversationsMessagingIntegrationsApple(body){// verify the required parameter 'body' is set
6921
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6873
6922
  * Create a Facebook Integration
6874
6923
  *
6875
6924
  * @param {Object} body FacebookIntegrationRequest
@@ -7058,7 +7107,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7058
7107
  *
7059
7108
  * @param {String} integrationId Integration ID
7060
7109
  * @param {Object} body IdentityResolutionConfig
7061
- * putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7062
7110
  */},{key:"putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
7063
7111
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
7064
7112
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7136,7 +7184,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
7136
7184
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
7137
7185
  * DataExtensions service.
7138
7186
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
7139
- * @version 231.0.0
7187
+ * @version 233.0.0
7140
7188
  *//**
7141
7189
  * Constructs a new DataExtensionsApi.
7142
7190
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -7157,7 +7205,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
7157
7205
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
7158
7206
  * DataPrivacy service.
7159
7207
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
7160
- * @version 231.0.0
7208
+ * @version 233.0.0
7161
7209
  *//**
7162
7210
  * Constructs a new DataPrivacyApi.
7163
7211
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -7197,7 +7245,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7197
7245
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
7198
7246
  * Downloads service.
7199
7247
  * @module purecloud-platform-client-v2/api/DownloadsApi
7200
- * @version 231.0.0
7248
+ * @version 233.0.0
7201
7249
  *//**
7202
7250
  * Constructs a new DownloadsApi.
7203
7251
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -7216,7 +7264,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7216
7264
  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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
7217
7265
  * Emails service.
7218
7266
  * @module purecloud-platform-client-v2/api/EmailsApi
7219
- * @version 231.0.0
7267
+ * @version 233.0.0
7220
7268
  *//**
7221
7269
  * Constructs a new EmailsApi.
7222
7270
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -7245,7 +7293,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
7245
7293
  */},{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']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
7246
7294
  * EmployeeEngagement service.
7247
7295
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
7248
- * @version 231.0.0
7296
+ * @version 233.0.0
7249
7297
  *//**
7250
7298
  * Constructs a new EmployeeEngagementApi.
7251
7299
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -7283,7 +7331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7283
7331
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
7284
7332
  * Events service.
7285
7333
  * @module purecloud-platform-client-v2/api/EventsApi
7286
- * @version 231.0.0
7334
+ * @version 233.0.0
7287
7335
  *//**
7288
7336
  * Constructs a new EventsApi.
7289
7337
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -7308,7 +7356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7308
7356
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
7309
7357
  * ExternalContacts service.
7310
7358
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
7311
- * @version 231.0.0
7359
+ * @version 233.0.0
7312
7360
  *//**
7313
7361
  * Constructs a new ExternalContactsApi.
7314
7362
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -8058,7 +8106,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
8058
8106
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
8059
8107
  * Fax service.
8060
8108
  * @module purecloud-platform-client-v2/api/FaxApi
8061
- * @version 231.0.0
8109
+ * @version 233.0.0
8062
8110
  *//**
8063
8111
  * Constructs a new FaxApi.
8064
8112
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -8107,7 +8155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8107
8155
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
8108
8156
  * Flows service.
8109
8157
  * @module purecloud-platform-client-v2/api/FlowsApi
8110
- * @version 231.0.0
8158
+ * @version 233.0.0
8111
8159
  *//**
8112
8160
  * Constructs a new FlowsApi.
8113
8161
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -8161,7 +8209,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8161
8209
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
8162
8210
  * Gamification service.
8163
8211
  * @module purecloud-platform-client-v2/api/GamificationApi
8164
- * @version 231.0.0
8212
+ * @version 233.0.0
8165
8213
  *//**
8166
8214
  * Constructs a new GamificationApi.
8167
8215
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -8269,12 +8317,13 @@ if(prizeImageId===undefined||prizeImageId===null||prizeImageId===''){throw'Missi
8269
8317
  * @param {String} opts.sortMetricId Sort Metric Id
8270
8318
  * @param {Object} opts.sortOrder Sort order (default to asc)
8271
8319
  * @param {String} opts.userIds A list of up to 100 comma-separated user Ids
8320
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
8272
8321
  */},{key:"getGamificationInsights",value:function getGamificationInsights(filterType,filterId,granularity,comparativePeriodStartWorkday,primaryPeriodStartWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
8273
8322
  if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsights';}// verify the required parameter 'filterId' is set
8274
8323
  if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsights';}// verify the required parameter 'granularity' is set
8275
8324
  if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsights';}// verify the required parameter 'comparativePeriodStartWorkday' is set
8276
8325
  if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===null){throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';}// verify the required parameter 'primaryPeriodStartWorkday' is set
8277
- if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';}return this.apiClient.callApi('/api/v2/gamification/insights','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortKey':opts['sortKey'],'sortMetricId':opts['sortMetricId'],'sortOrder':opts['sortOrder'],'userIds':opts['userIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8326
+ if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';}return this.apiClient.callApi('/api/v2/gamification/insights','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortKey':opts['sortKey'],'sortMetricId':opts['sortMetricId'],'sortOrder':opts['sortOrder'],'userIds':opts['userIds'],'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8278
8327
  * Get insights details for the current user
8279
8328
  *
8280
8329
  * @param {Object} filterType Filter type for the query request.
@@ -8328,11 +8377,13 @@ if(primaryPeriodEndWorkday===undefined||primaryPeriodEndWorkday===null){throw'Mi
8328
8377
  * @param {String} filterId ID for the filter type.
8329
8378
  * @param {Object} granularity Granularity
8330
8379
  * @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
8331
- */},{key:"getGamificationInsightsMembers",value:function getGamificationInsightsMembers(filterType,filterId,granularity,startWorkday){// verify the required parameter 'filterType' is set
8380
+ * @param {Object} opts Optional parameters
8381
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
8382
+ */},{key:"getGamificationInsightsMembers",value:function getGamificationInsightsMembers(filterType,filterId,granularity,startWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
8332
8383
  if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';}// verify the required parameter 'filterId' is set
8333
8384
  if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';}// verify the required parameter 'granularity' is set
8334
8385
  if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';}// verify the required parameter 'startWorkday' is set
8335
- if(startWorkday===undefined||startWorkday===null){throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';}return this.apiClient.callApi('/api/v2/gamification/insights/members','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'startWorkday':startWorkday},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8386
+ if(startWorkday===undefined||startWorkday===null){throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';}return this.apiClient.callApi('/api/v2/gamification/insights/members','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'startWorkday':startWorkday,'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8336
8387
  * Get insights rankings
8337
8388
  *
8338
8389
  * @param {Object} filterType Filter type for the query request.
@@ -8345,13 +8396,14 @@ if(startWorkday===undefined||startWorkday===null){throw'Missing the required par
8345
8396
  * @param {String} opts.sortMetricId Sort Metric Id
8346
8397
  * @param {Number} opts.sectionSize The number of top and bottom users to return before ties
8347
8398
  * @param {String} opts.userIds A list of up to 100 comma-separated user Ids
8399
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
8348
8400
  */},{key:"getGamificationInsightsRankings",value:function getGamificationInsightsRankings(filterType,filterId,granularity,comparativePeriodStartWorkday,primaryPeriodStartWorkday,sortKey,opts){opts=opts||{};// verify the required parameter 'filterType' is set
8349
8401
  if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsRankings';}// verify the required parameter 'filterId' is set
8350
8402
  if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsRankings';}// verify the required parameter 'granularity' is set
8351
8403
  if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsRankings';}// verify the required parameter 'comparativePeriodStartWorkday' is set
8352
8404
  if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===null){throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsRankings';}// verify the required parameter 'primaryPeriodStartWorkday' is set
8353
8405
  if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsRankings';}// verify the required parameter 'sortKey' is set
8354
- if(sortKey===undefined||sortKey===null){throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';}return this.apiClient.callApi('/api/v2/gamification/insights/rankings','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'sortKey':sortKey,'sortMetricId':opts['sortMetricId'],'sectionSize':opts['sectionSize'],'userIds':opts['userIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8406
+ if(sortKey===undefined||sortKey===null){throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';}return this.apiClient.callApi('/api/v2/gamification/insights/rankings','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'sortKey':sortKey,'sortMetricId':opts['sortMetricId'],'sectionSize':opts['sectionSize'],'userIds':opts['userIds'],'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8355
8407
  * Get insights user trend for the current user
8356
8408
  *
8357
8409
  * @param {Object} filterType Filter type for the query request.
@@ -8814,7 +8866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8814
8866
  if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
8815
8867
  * GeneralDataProtectionRegulation service.
8816
8868
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8817
- * @version 231.0.0
8869
+ * @version 233.0.0
8818
8870
  *//**
8819
8871
  * Constructs a new GeneralDataProtectionRegulationApi.
8820
8872
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -8849,7 +8901,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
8849
8901
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
8850
8902
  * Geolocation service.
8851
8903
  * @module purecloud-platform-client-v2/api/GeolocationApi
8852
- * @version 231.0.0
8904
+ * @version 233.0.0
8853
8905
  *//**
8854
8906
  * Constructs a new GeolocationApi.
8855
8907
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -8883,7 +8935,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
8883
8935
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
8884
8936
  * Greetings service.
8885
8937
  * @module purecloud-platform-client-v2/api/GreetingsApi
8886
- * @version 231.0.0
8938
+ * @version 233.0.0
8887
8939
  *//**
8888
8940
  * Constructs a new GreetingsApi.
8889
8941
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -9011,7 +9063,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
9011
9063
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
9012
9064
  * Groups service.
9013
9065
  * @module purecloud-platform-client-v2/api/GroupsApi
9014
- * @version 231.0.0
9066
+ * @version 233.0.0
9015
9067
  *//**
9016
9068
  * Constructs a new GroupsApi.
9017
9069
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -9144,7 +9196,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
9144
9196
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
9145
9197
  * IdentityProvider service.
9146
9198
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
9147
- * @version 231.0.0
9199
+ * @version 233.0.0
9148
9200
  *//**
9149
9201
  * Constructs a new IdentityProviderApi.
9150
9202
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -9300,7 +9352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9300
9352
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
9301
9353
  * InfrastructureAsCode service.
9302
9354
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
9303
- * @version 231.0.0
9355
+ * @version 233.0.0
9304
9356
  *//**
9305
9357
  * Constructs a new InfrastructureAsCodeApi.
9306
9358
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -9354,7 +9406,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
9354
9406
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
9355
9407
  * Integrations service.
9356
9408
  * @module purecloud-platform-client-v2/api/IntegrationsApi
9357
- * @version 231.0.0
9409
+ * @version 233.0.0
9358
9410
  *//**
9359
9411
  * Constructs a new IntegrationsApi.
9360
9412
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -9408,7 +9460,10 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
9408
9460
  * @param {Array.<String>} opts.expand variable name requested by expand list
9409
9461
  * @param {String} opts.nextPage next page token
9410
9462
  * @param {String} opts.previousPage Previous page token
9411
- */},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9463
+ * @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
9464
+ * @param {String} opts.integrationType Filter integrations by integration type ID
9465
+ * @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
9466
+ */},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'integrationType':opts['integrationType'],'reportedState':opts['reportedState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9412
9467
  * Retrieves a single Action matching id.
9413
9468
  *
9414
9469
  * @param {String} actionId actionId
@@ -10041,7 +10096,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
10041
10096
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
10042
10097
  * Journey service.
10043
10098
  * @module purecloud-platform-client-v2/api/JourneyApi
10044
- * @version 231.0.0
10099
+ * @version 233.0.0
10045
10100
  *//**
10046
10101
  * Constructs a new JourneyApi.
10047
10102
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -10550,7 +10605,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
10550
10605
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
10551
10606
  * Knowledge service.
10552
10607
  * @module purecloud-platform-client-v2/api/KnowledgeApi
10553
- * @version 231.0.0
10608
+ * @version 233.0.0
10554
10609
  *//**
10555
10610
  * Constructs a new KnowledgeApi.
10556
10611
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -11620,7 +11675,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
11620
11675
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
11621
11676
  * LanguageUnderstanding service.
11622
11677
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
11623
- * @version 231.0.0
11678
+ * @version 233.0.0
11624
11679
  *//**
11625
11680
  * Constructs a new LanguageUnderstandingApi.
11626
11681
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -11929,7 +11984,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
11929
11984
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
11930
11985
  * Languages service.
11931
11986
  * @module purecloud-platform-client-v2/api/LanguagesApi
11932
- * @version 231.0.0
11987
+ * @version 233.0.0
11933
11988
  *//**
11934
11989
  * Constructs a new LanguagesApi.
11935
11990
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -11984,7 +12039,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
11984
12039
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
11985
12040
  * Learning service.
11986
12041
  * @module purecloud-platform-client-v2/api/LearningApi
11987
- * @version 231.0.0
12042
+ * @version 233.0.0
11988
12043
  *//**
11989
12044
  * Constructs a new LearningApi.
11990
12045
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -12250,12 +12305,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12250
12305
  * This will update a learning module rule with the specified fields.
12251
12306
  * @param {String} moduleId The ID of the learning module
12252
12307
  * @param {Object} body The learning module rule to be updated
12253
- */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body){// verify the required parameter 'moduleId' is set
12308
+ * @param {Object} opts Optional parameters
12309
+ * @param {Boolean} opts.assign Whether to assign the module to users or not (default to true)
12310
+ */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body,opts){opts=opts||{};// verify the required parameter 'moduleId' is set
12254
12311
  if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';}// verify the required parameter 'body' is set
12255
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
12312
+ 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']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
12256
12313
  * License service.
12257
12314
  * @module purecloud-platform-client-v2/api/LicenseApi
12258
- * @version 231.0.0
12315
+ * @version 233.0.0
12259
12316
  *//**
12260
12317
  * Constructs a new LicenseApi.
12261
12318
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -12309,7 +12366,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
12309
12366
  */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
12310
12367
  * Locations service.
12311
12368
  * @module purecloud-platform-client-v2/api/LocationsApi
12312
- * @version 231.0.0
12369
+ * @version 233.0.0
12313
12370
  *//**
12314
12371
  * Constructs a new LocationsApi.
12315
12372
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -12368,7 +12425,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12368
12425
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
12369
12426
  * LogCapture service.
12370
12427
  * @module purecloud-platform-client-v2/api/LogCaptureApi
12371
- * @version 231.0.0
12428
+ * @version 233.0.0
12372
12429
  *//**
12373
12430
  * Constructs a new LogCaptureApi.
12374
12431
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -12417,7 +12474,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
12417
12474
  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']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
12418
12475
  * Messaging service.
12419
12476
  * @module purecloud-platform-client-v2/api/MessagingApi
12420
- * @version 231.0.0
12477
+ * @version 233.0.0
12421
12478
  *//**
12422
12479
  * Constructs a new MessagingApi.
12423
12480
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -12507,7 +12564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12507
12564
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
12508
12565
  * MobileDevices service.
12509
12566
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
12510
- * @version 231.0.0
12567
+ * @version 233.0.0
12511
12568
  *//**
12512
12569
  * Constructs a new MobileDevicesApi.
12513
12570
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -12546,7 +12603,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12546
12603
  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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
12547
12604
  * Notifications service.
12548
12605
  * @module purecloud-platform-client-v2/api/NotificationsApi
12549
- * @version 231.0.0
12606
+ * @version 233.0.0
12550
12607
  *//**
12551
12608
  * Constructs a new NotificationsApi.
12552
12609
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -12603,7 +12660,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
12603
12660
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
12604
12661
  * OAuth service.
12605
12662
  * @module purecloud-platform-client-v2/api/OAuthApi
12606
- * @version 231.0.0
12663
+ * @version 233.0.0
12607
12664
  *//**
12608
12665
  * Constructs a new OAuthApi.
12609
12666
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -12688,7 +12745,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
12688
12745
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
12689
12746
  * Objects service.
12690
12747
  * @module purecloud-platform-client-v2/api/ObjectsApi
12691
- * @version 231.0.0
12748
+ * @version 233.0.0
12692
12749
  *//**
12693
12750
  * Constructs a new ObjectsApi.
12694
12751
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -12774,7 +12831,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
12774
12831
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
12775
12832
  * OperationalEvents service.
12776
12833
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
12777
- * @version 231.0.0
12834
+ * @version 233.0.0
12778
12835
  *//**
12779
12836
  * Constructs a new OperationalEventsApi.
12780
12837
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -12805,7 +12862,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
12805
12862
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
12806
12863
  * Organization service.
12807
12864
  * @module purecloud-platform-client-v2/api/OrganizationApi
12808
- * @version 231.0.0
12865
+ * @version 233.0.0
12809
12866
  *//**
12810
12867
  * Constructs a new OrganizationApi.
12811
12868
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -12910,7 +12967,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12910
12967
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
12911
12968
  * OrganizationAuthorization service.
12912
12969
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
12913
- * @version 231.0.0
12970
+ * @version 233.0.0
12914
12971
  *//**
12915
12972
  * Constructs a new OrganizationAuthorizationApi.
12916
12973
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -13244,7 +13301,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
13244
13301
  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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
13245
13302
  * Outbound service.
13246
13303
  * @module purecloud-platform-client-v2/api/OutboundApi
13247
- * @version 231.0.0
13304
+ * @version 233.0.0
13248
13305
  *//**
13249
13306
  * Constructs a new OutboundApi.
13250
13307
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -14395,7 +14452,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14395
14452
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
14396
14453
  * Presence service.
14397
14454
  * @module purecloud-platform-client-v2/api/PresenceApi
14398
- * @version 231.0.0
14455
+ * @version 233.0.0
14399
14456
  *//**
14400
14457
  * Constructs a new PresenceApi.
14401
14458
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -14568,7 +14625,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14568
14625
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
14569
14626
  * ProcessAutomation service.
14570
14627
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
14571
- * @version 231.0.0
14628
+ * @version 233.0.0
14572
14629
  *//**
14573
14630
  * Constructs a new ProcessAutomationApi.
14574
14631
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -14631,7 +14688,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
14631
14688
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
14632
14689
  * Quality service.
14633
14690
  * @module purecloud-platform-client-v2/api/QualityApi
14634
- * @version 231.0.0
14691
+ * @version 233.0.0
14635
14692
  *//**
14636
14693
  * Constructs a new QualityApi.
14637
14694
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -14805,7 +14862,7 @@ if(transactionId===undefined||transactionId===null||transactionId===''){throw'Mi
14805
14862
  * @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
14806
14863
  * @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
14807
14864
  */},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder'],'includeDeletedUsers':opts['includeDeletedUsers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14808
- * Get an evaluator activity
14865
+ * Get an evaluator activity. To ensure optimal performance and prevent timeouts when processing large datasets, startTime and endTime fields are highly recommended for all requests.
14809
14866
  *
14810
14867
  * @param {Object} opts Optional parameters
14811
14868
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -15149,7 +15206,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
15149
15206
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
15150
15207
  * Recording service.
15151
15208
  * @module purecloud-platform-client-v2/api/RecordingApi
15152
- * @version 231.0.0
15209
+ * @version 233.0.0
15153
15210
  *//**
15154
15211
  * Constructs a new RecordingApi.
15155
15212
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -15548,7 +15605,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15548
15605
  */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
15549
15606
  * ResponseManagement service.
15550
15607
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
15551
- * @version 231.0.0
15608
+ * @version 233.0.0
15552
15609
  *//**
15553
15610
  * Constructs a new ResponseManagementApi.
15554
15611
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -15669,7 +15726,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
15669
15726
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
15670
15727
  * Routing service.
15671
15728
  * @module purecloud-platform-client-v2/api/RoutingApi
15672
- * @version 231.0.0
15729
+ * @version 233.0.0
15673
15730
  *//**
15674
15731
  * Constructs a new RoutingApi.
15675
15732
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -15958,7 +16015,9 @@ if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing
15958
16015
  * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
15959
16016
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
15960
16017
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
15961
- */},{key:"getRoutingPredictors",value:function getRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'queueId':this.apiClient.buildCollectionParam(opts['queueId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16018
+ * @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
16019
+ * @param {Object} opts.state The state used to filter predictors.
16020
+ */},{key:"getRoutingPredictors",value:function getRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'queueId':this.apiClient.buildCollectionParam(opts['queueId'],'multi'),'kpiId':opts['kpiId'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15962
16021
  * Get a list of Key Performance Indicators
15963
16022
  *
15964
16023
  * @param {Object} opts Optional parameters
@@ -15976,9 +16035,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
15976
16035
  *
15977
16036
  * @param {String} queueId Queue ID
15978
16037
  * @param {Object} opts Optional parameters
15979
- * @param {Object} opts.expand Which fields, if any, to expand.
16038
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
15980
16039
  */},{key:"getRoutingQueueAssistant",value:function getRoutingQueueAssistant(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
15981
- if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/assistant','GET',{'queueId':queueId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16040
+ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/assistant','GET',{'queueId':queueId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15982
16041
  * Get a Comparison Period.
15983
16042
  *
15984
16043
  * @param {String} queueId Queue id
@@ -16726,7 +16785,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16726
16785
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
16727
16786
  * SCIM service.
16728
16787
  * @module purecloud-platform-client-v2/api/SCIMApi
16729
- * @version 231.0.0
16788
+ * @version 233.0.0
16730
16789
  *//**
16731
16790
  * Constructs a new SCIMApi.
16732
16791
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -16951,7 +17010,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16951
17010
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
16952
17011
  * ScreenRecording service.
16953
17012
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
16954
- * @version 231.0.0
17013
+ * @version 233.0.0
16955
17014
  *//**
16956
17015
  * Constructs a new ScreenRecordingApi.
16957
17016
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -16966,7 +17025,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16966
17025
  */return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
16967
17026
  * Scripts service.
16968
17027
  * @module purecloud-platform-client-v2/api/ScriptsApi
16969
- * @version 231.0.0
17028
+ * @version 233.0.0
16970
17029
  *//**
16971
17030
  * Constructs a new ScriptsApi.
16972
17031
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -17112,7 +17171,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
17112
17171
  */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
17113
17172
  * Search service.
17114
17173
  * @module purecloud-platform-client-v2/api/SearchApi
17115
- * @version 231.0.0
17174
+ * @version 233.0.0
17116
17175
  *//**
17117
17176
  * Constructs a new SearchApi.
17118
17177
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -17279,7 +17338,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17279
17338
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
17280
17339
  * Settings service.
17281
17340
  * @module purecloud-platform-client-v2/api/SettingsApi
17282
- * @version 231.0.0
17341
+ * @version 233.0.0
17283
17342
  *//**
17284
17343
  * Constructs a new SettingsApi.
17285
17344
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -17351,7 +17410,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
17351
17410
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
17352
17411
  * SocialMedia service.
17353
17412
  * @module purecloud-platform-client-v2/api/SocialMediaApi
17354
- * @version 231.0.0
17413
+ * @version 233.0.0
17355
17414
  *//**
17356
17415
  * Constructs a new SocialMediaApi.
17357
17416
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -17764,7 +17823,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
17764
17823
  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']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
17765
17824
  * SpeechTextAnalytics service.
17766
17825
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
17767
- * @version 231.0.0
17826
+ * @version 233.0.0
17768
17827
  *//**
17769
17828
  * Constructs a new SpeechTextAnalyticsApi.
17770
17829
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -17973,13 +18032,14 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
17973
18032
  * @param {Object} opts Optional parameters
17974
18033
  * @param {String} opts.nextPage The key for listing the next page
17975
18034
  * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
18035
+ * @param {Number} opts.pageNumber The page number for the listing
17976
18036
  * @param {Object} opts.state Topic state. Defaults to latest
17977
18037
  * @param {String} opts.name Case insensitive partial name to filter by
17978
18038
  * @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
17979
18039
  * @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
17980
18040
  * @param {Object} opts.sortBy Sort results by. Defaults to name
17981
18041
  * @param {Object} opts.sortOrder Sort order. Defaults to asc
17982
- */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18042
+ */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17983
18043
  * Get list of supported Speech and Text Analytics topics dialects
17984
18044
  *
17985
18045
  */},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -18133,7 +18193,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
18133
18193
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
18134
18194
  * Stations service.
18135
18195
  * @module purecloud-platform-client-v2/api/StationsApi
18136
- * @version 231.0.0
18196
+ * @version 233.0.0
18137
18197
  *//**
18138
18198
  * Constructs a new StationsApi.
18139
18199
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -18165,7 +18225,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
18165
18225
  */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
18166
18226
  * Suggest service.
18167
18227
  * @module purecloud-platform-client-v2/api/SuggestApi
18168
- * @version 231.0.0
18228
+ * @version 233.0.0
18169
18229
  *//**
18170
18230
  * Constructs a new SuggestApi.
18171
18231
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -18205,7 +18265,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18205
18265
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
18206
18266
  * TaskManagement service.
18207
18267
  * @module purecloud-platform-client-v2/api/TaskManagementApi
18208
- * @version 231.0.0
18268
+ * @version 233.0.0
18209
18269
  *//**
18210
18270
  * Constructs a new TaskManagementApi.
18211
18271
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -18305,9 +18365,9 @@ if(workbinId===undefined||workbinId===null||workbinId===''){throw'Missing the re
18305
18365
  *
18306
18366
  * @param {String} workitemId Workitem ID
18307
18367
  * @param {Object} opts Optional parameters
18308
- * @param {Object} opts.expands Which fields to expand. Comma separated if more than one.
18368
+ * @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
18309
18369
  */},{key:"getTaskmanagementWorkitem",value:function getTaskmanagementWorkitem(workitemId,opts){opts=opts||{};// verify the required parameter 'workitemId' is set
18310
- if(workitemId===undefined||workitemId===null||workitemId===''){throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/{workitemId}','GET',{'workitemId':workitemId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18370
+ if(workitemId===undefined||workitemId===null||workitemId===''){throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/{workitemId}','GET',{'workitemId':workitemId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18311
18371
  * Get a listing of a workitem's attribute change history
18312
18372
  *
18313
18373
  * @param {String} workitemId Workitem ID
@@ -18713,7 +18773,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
18713
18773
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
18714
18774
  * Teams service.
18715
18775
  * @module purecloud-platform-client-v2/api/TeamsApi
18716
- * @version 231.0.0
18776
+ * @version 233.0.0
18717
18777
  *//**
18718
18778
  * Constructs a new TeamsApi.
18719
18779
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -18793,7 +18853,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18793
18853
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
18794
18854
  * Telephony service.
18795
18855
  * @module purecloud-platform-client-v2/api/TelephonyApi
18796
- * @version 231.0.0
18856
+ * @version 233.0.0
18797
18857
  *//**
18798
18858
  * Constructs a new TelephonyApi.
18799
18859
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -18864,7 +18924,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18864
18924
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
18865
18925
  * TelephonyProvidersEdge service.
18866
18926
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
18867
- * @version 231.0.0
18927
+ * @version 233.0.0
18868
18928
  *//**
18869
18929
  * Constructs a new TelephonyProvidersEdgeApi.
18870
18930
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -19712,7 +19772,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
19712
19772
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
19713
19773
  * Textbots service.
19714
19774
  * @module purecloud-platform-client-v2/api/TextbotsApi
19715
- * @version 231.0.0
19775
+ * @version 233.0.0
19716
19776
  *//**
19717
19777
  * Constructs a new TextbotsApi.
19718
19778
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -19748,7 +19808,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
19748
19808
  if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
19749
19809
  * Tokens service.
19750
19810
  * @module purecloud-platform-client-v2/api/TokensApi
19751
- * @version 231.0.0
19811
+ * @version 233.0.0
19752
19812
  *//**
19753
19813
  * Constructs a new TokensApi.
19754
19814
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -19782,7 +19842,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
19782
19842
  */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
19783
19843
  * Uploads service.
19784
19844
  * @module purecloud-platform-client-v2/api/UploadsApi
19785
- * @version 231.0.0
19845
+ * @version 233.0.0
19786
19846
  *//**
19787
19847
  * Constructs a new UploadsApi.
19788
19848
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -19850,7 +19910,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19850
19910
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
19851
19911
  * Usage service.
19852
19912
  * @module purecloud-platform-client-v2/api/UsageApi
19853
- * @version 231.0.0
19913
+ * @version 233.0.0
19854
19914
  *//**
19855
19915
  * Constructs a new UsageApi.
19856
19916
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -19934,7 +19994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19934
19994
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
19935
19995
  * UserRecordings service.
19936
19996
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
19937
- * @version 231.0.0
19997
+ * @version 233.0.0
19938
19998
  *//**
19939
19999
  * Constructs a new UserRecordingsApi.
19940
20000
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -19982,7 +20042,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
19982
20042
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
19983
20043
  * Users service.
19984
20044
  * @module purecloud-platform-client-v2/api/UsersApi
19985
- * @version 231.0.0
20045
+ * @version 233.0.0
19986
20046
  *//**
19987
20047
  * Constructs a new UsersApi.
19988
20048
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -20726,7 +20786,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
20726
20786
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
20727
20787
  * Utilities service.
20728
20788
  * @module purecloud-platform-client-v2/api/UtilitiesApi
20729
- * @version 231.0.0
20789
+ * @version 233.0.0
20730
20790
  *//**
20731
20791
  * Constructs a new UtilitiesApi.
20732
20792
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -20753,7 +20813,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20753
20813
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
20754
20814
  * Voicemail service.
20755
20815
  * @module purecloud-platform-client-v2/api/VoicemailApi
20756
- * @version 231.0.0
20816
+ * @version 233.0.0
20757
20817
  *//**
20758
20818
  * Constructs a new VoicemailApi.
20759
20819
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -20915,7 +20975,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
20915
20975
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
20916
20976
  * WebChat service.
20917
20977
  * @module purecloud-platform-client-v2/api/WebChatApi
20918
- * @version 231.0.0
20978
+ * @version 233.0.0
20919
20979
  *//**
20920
20980
  * Constructs a new WebChatApi.
20921
20981
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -20938,7 +20998,8 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
20938
20998
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
20939
20999
  if(memberId===undefined||memberId===null||memberId===''){throw'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}','DELETE',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20940
21000
  * Remove WebChat deployment settings
20941
- *
21001
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
21002
+ * @deprecated
20942
21003
  */},{key:"deleteWebchatSettings",value:function deleteWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20943
21004
  * Get a WebChat deployment
20944
21005
  *
@@ -21002,7 +21063,8 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
21002
21063
  */},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
21003
21064
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/messages','GET',{'conversationId':conversationId},{'after':opts['after'],'before':opts['before'],'sortOrder':opts['sortOrder'],'maxResults':opts['maxResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21004
21065
  * Get WebChat deployment settings
21005
- *
21066
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
21067
+ * @deprecated
21006
21068
  */},{key:"getWebchatSettings",value:function getWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21007
21069
  * Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED
21008
21070
  * This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-legacy-co-browse-and-screenshare/
@@ -21053,13 +21115,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21053
21115
  if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling putWebchatDeployment';}// verify the required parameter 'body' is set
21054
21116
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatDeployment';}return this.apiClient.callApi('/api/v2/webchat/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21055
21117
  * Update WebChat deployment settings
21056
- *
21118
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
21057
21119
  * @param {Object} body webChatSettings
21120
+ * @deprecated
21058
21121
  */},{key:"putWebchatSettings",value:function putWebchatSettings(body){// verify the required parameter 'body' is set
21059
21122
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
21060
21123
  * WebDeployments service.
21061
21124
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
21062
- * @version 231.0.0
21125
+ * @version 233.0.0
21063
21126
  *//**
21064
21127
  * Constructs a new WebDeploymentsApi.
21065
21128
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -21192,7 +21255,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21192
21255
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
21193
21256
  * WebMessaging service.
21194
21257
  * @module purecloud-platform-client-v2/api/WebMessagingApi
21195
- * @version 231.0.0
21258
+ * @version 233.0.0
21196
21259
  *//**
21197
21260
  * Constructs a new WebMessagingApi.
21198
21261
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -21233,7 +21296,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
21233
21296
  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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
21234
21297
  * Widgets service.
21235
21298
  * @module purecloud-platform-client-v2/api/WidgetsApi
21236
- * @version 231.0.0
21299
+ * @version 233.0.0
21237
21300
  *//**
21238
21301
  * Constructs a new WidgetsApi.
21239
21302
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -21273,7 +21336,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21273
21336
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
21274
21337
  * WorkforceManagement service.
21275
21338
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
21276
- * @version 231.0.0
21339
+ * @version 233.0.0
21277
21340
  *//**
21278
21341
  * Constructs a new WorkforceManagementApi.
21279
21342
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -22500,6 +22563,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22500
22563
  * @param {Object} body body
22501
22564
  */},{key:"postWorkforcemanagementAgentsMePossibleworkshifts",value:function postWorkforcemanagementAgentsMePossibleworkshifts(body){// verify the required parameter 'body' is set
22502
22565
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/possibleworkshifts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22566
+ * Fetch agent schedules for the logged in user's management unit
22567
+ *
22568
+ * @param {Object} body body
22569
+ * @param {Object} opts Optional parameters
22570
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
22571
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
22572
+ */},{key:"postWorkforcemanagementAgentschedulesManagementunitsMine",value:function postWorkforcemanagementAgentschedulesManagementunitsMine(body,opts){opts=opts||{};// verify the required parameter 'body' is set
22573
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesManagementunitsMine';}return this.apiClient.callApi('/api/v2/workforcemanagement/agentschedules/managementunits/mine','POST',{},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22503
22574
  * Get published schedule for the current user
22504
22575
  *
22505
22576
  * @param {Object} body body
@@ -23225,7 +23296,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23225
23296
  * </pre>
23226
23297
  * </p>
23227
23298
  * @module purecloud-platform-client-v2/index
23228
- * @version 231.0.0
23299
+ * @version 233.0.0
23229
23300
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23230
23301
  * The ApiClient constructor.
23231
23302
  * @property {module:purecloud-platform-client-v2/ApiClient}