purecloud-platform-client-v2 217.0.0 → 218.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +805 -195
  3. package/dist/web-amd/purecloud-platform-client-v2.js +805 -195
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +275 -152
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +275 -152
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +606 -72
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -4
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +214 -1
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +77 -1
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -6
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -70
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -2
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +403 -20
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +19 -10
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +11 -6
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -6247,7 +6247,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
6247
6247
  * @param {string} requestedURL Absolute or relative URL to combine
6248
6248
  *
6249
6249
  * @returns {string} The combined full path
6250
- */function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&isRelativeUrl||allowAbsoluteUrls==false){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
6250
+ */function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&(isRelativeUrl||allowAbsoluteUrls==false)){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
6251
6251
  * Config-specific merge-function which creates a new config-object
6252
6252
  * by merging two configuration objects together.
6253
6253
  *
@@ -6260,7 +6260,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,prop,cas
6260
6260
  function mergeDeepProperties(a,b,prop,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,prop,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,prop,caseless);}}// eslint-disable-next-line consistent-return
6261
6261
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
6262
6262
  function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
6263
- function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
6263
+ function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url,newConfig.allowAbsoluteUrls),config.params,config.paramsSerializer);// HTTP basic authentication
6264
6264
  if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
6265
6265
  }else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
6266
6266
  var _ref11=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref12=_toArray(_ref11),type=_ref12[0],tokens=_ref12.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
@@ -6316,7 +6316,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
6316
6316
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
6317
6317
  config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
6318
6318
  response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
6319
- if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.2";var validators$1={};// eslint-disable-next-line func-names
6319
+ if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.4";var validators$1={};// eslint-disable-next-line func-names
6320
6320
  ['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
6321
6321
  * Transitional option validator
6322
6322
  *
@@ -6458,7 +6458,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6458
6458
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6459
6459
  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];}}}]);}();/**
6460
6460
  * @module purecloud-platform-client-v2/ApiClient
6461
- * @version 217.0.0
6461
+ * @version 218.0.0
6462
6462
  */var ApiClient=/*#__PURE__*/function(){/**
6463
6463
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6464
6464
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6801,7 +6801,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6801
6801
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
6802
6802
  * AgentAssistants service.
6803
6803
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
6804
- * @version 217.0.0
6804
+ * @version 218.0.0
6805
6805
  *//**
6806
6806
  * Constructs a new AgentAssistantsApi.
6807
6807
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -6902,7 +6902,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
6902
6902
  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(){/**
6903
6903
  * AgentCopilot service.
6904
6904
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
6905
- * @version 217.0.0
6905
+ * @version 218.0.0
6906
6906
  *//**
6907
6907
  * Constructs a new AgentCopilotApi.
6908
6908
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -6924,7 +6924,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
6924
6924
  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(){/**
6925
6925
  * AgentUI service.
6926
6926
  * @module purecloud-platform-client-v2/api/AgentUIApi
6927
- * @version 217.0.0
6927
+ * @version 218.0.0
6928
6928
  *//**
6929
6929
  * Constructs a new AgentUIApi.
6930
6930
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -6958,7 +6958,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
6958
6958
  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(){/**
6959
6959
  * Alerting service.
6960
6960
  * @module purecloud-platform-client-v2/api/AlertingApi
6961
- * @version 217.0.0
6961
+ * @version 218.0.0
6962
6962
  *//**
6963
6963
  * Constructs a new AlertingApi.
6964
6964
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7047,7 +7047,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
7047
7047
  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(){/**
7048
7048
  * Analytics service.
7049
7049
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7050
- * @version 217.0.0
7050
+ * @version 218.0.0
7051
7051
  *//**
7052
7052
  * Constructs a new AnalyticsApi.
7053
7053
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7718,7 +7718,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7718
7718
  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(){/**
7719
7719
  * Architect service.
7720
7720
  * @module purecloud-platform-client-v2/api/ArchitectApi
7721
- * @version 217.0.0
7721
+ * @version 218.0.0
7722
7722
  *//**
7723
7723
  * Constructs a new ArchitectApi.
7724
7724
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -8836,7 +8836,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8836
8836
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
8837
8837
  * Audit service.
8838
8838
  * @module purecloud-platform-client-v2/api/AuditApi
8839
- * @version 217.0.0
8839
+ * @version 218.0.0
8840
8840
  *//**
8841
8841
  * Constructs a new AuditApi.
8842
8842
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8886,7 +8886,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8886
8886
  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(){/**
8887
8887
  * Authorization service.
8888
8888
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8889
- * @version 217.0.0
8889
+ * @version 218.0.0
8890
8890
  *//**
8891
8891
  * Constructs a new AuthorizationApi.
8892
8892
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9306,7 +9306,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
9306
9306
  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(){/**
9307
9307
  * Billing service.
9308
9308
  * @module purecloud-platform-client-v2/api/BillingApi
9309
- * @version 217.0.0
9309
+ * @version 218.0.0
9310
9310
  *//**
9311
9311
  * Constructs a new BillingApi.
9312
9312
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9330,7 +9330,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9330
9330
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
9331
9331
  * CarrierServices service.
9332
9332
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9333
- * @version 217.0.0
9333
+ * @version 218.0.0
9334
9334
  *//**
9335
9335
  * Constructs a new CarrierServicesApi.
9336
9336
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -9350,7 +9350,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
9350
9350
  */},{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(){/**
9351
9351
  * Chat service.
9352
9352
  * @module purecloud-platform-client-v2/api/ChatApi
9353
- * @version 217.0.0
9353
+ * @version 218.0.0
9354
9354
  *//**
9355
9355
  * Constructs a new ChatApi.
9356
9356
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -9390,7 +9390,6 @@ if(messageId===undefined||messageId===null){throw'Missing the required parameter
9390
9390
  *
9391
9391
  * @param {String} userId userId
9392
9392
  * @param {String} pinnedMessageId pinnedMessageId
9393
- * deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9394
9393
  */},{key:"deleteChatsUserMessagesPin",value:function deleteChatsUserMessagesPin(userId,pinnedMessageId){// verify the required parameter 'userId' is set
9395
9394
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';}// verify the required parameter 'pinnedMessageId' is set
9396
9395
  if(pinnedMessageId===undefined||pinnedMessageId===null){throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}','DELETE',{'userId':userId,'pinnedMessageId':pinnedMessageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9447,7 +9446,6 @@ if(threadId===undefined||threadId===null){throw'Missing the required parameter "
9447
9446
  * Get information for a 1on1
9448
9447
  *
9449
9448
  * @param {String} userId userId
9450
- * getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9451
9449
  */},{key:"getChatsUser",value:function getChatsUser(userId){// verify the required parameter 'userId' is set
9452
9450
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUser';}return this.apiClient.callApi('/api/v2/chats/users/{userId}','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9453
9451
  * Get messages by id(s) from a 1on1
@@ -9553,7 +9551,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9553
9551
  *
9554
9552
  * @param {String} userId userId
9555
9553
  * @param {Object} body Pinned Message Ids
9556
- * postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9557
9554
  */},{key:"postChatsUserMessagesPins",value:function postChatsUserMessagesPins(userId,body){// verify the required parameter 'userId' is set
9558
9555
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';}// verify the required parameter 'body' is set
9559
9556
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9571,7 +9568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9571
9568
  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(){/**
9572
9569
  * Coaching service.
9573
9570
  * @module purecloud-platform-client-v2/api/CoachingApi
9574
- * @version 217.0.0
9571
+ * @version 218.0.0
9575
9572
  *//**
9576
9573
  * Constructs a new CoachingApi.
9577
9574
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -9724,7 +9721,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9724
9721
  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(){/**
9725
9722
  * ContentManagement service.
9726
9723
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9727
- * @version 217.0.0
9724
+ * @version 218.0.0
9728
9725
  *//**
9729
9726
  * Constructs a new ContentManagementApi.
9730
9727
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10006,7 +10003,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
10006
10003
  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(){/**
10007
10004
  * Conversations service.
10008
10005
  * @module purecloud-platform-client-v2/api/ConversationsApi
10009
- * @version 217.0.0
10006
+ * @version 218.0.0
10010
10007
  *//**
10011
10008
  * Constructs a new ConversationsApi.
10012
10009
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10069,6 +10066,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
10069
10066
  * @param {String} integrationId Integration ID
10070
10067
  */},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10071
10068
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10069
+ * Delete Twitter messaging integration
10070
+ *
10071
+ * @param {String} integrationId Integration ID
10072
+ */},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10073
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10072
10074
  * Delete a WhatsApp messaging integration
10073
10075
  *
10074
10076
  * @param {String} integrationId Integration ID
@@ -10536,6 +10538,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
10536
10538
  * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10537
10539
  */},{key:"getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10538
10540
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10541
+ * Get twitter oauth settings to patch an integration
10542
+ *
10543
+ * @param {String} integrationId Integration Id of an existing integration that needs to be patched with new oauth settings
10544
+ */},{key:"getConversationsMessagingIntegrationTwitterOauthSettings",value:function getConversationsMessagingIntegrationTwitterOauthSettings(integrationId){// verify the required parameter 'integrationId' is set
10545
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10539
10546
  * Get a list of Integrations
10540
10547
  *
10541
10548
  * @param {Object} opts Optional parameters
@@ -10593,6 +10600,25 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
10593
10600
  * @param {Object} opts.expand Expand instructions for the return value.
10594
10601
  */},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
10595
10602
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10603
+ * Get a list of Twitter Integrations
10604
+ *
10605
+ * @param {Object} opts Optional parameters
10606
+ * @param {Number} opts.pageSize Page size (default to 25)
10607
+ * @param {Number} opts.pageNumber Page number (default to 1)
10608
+ * @param {Object} opts.expand Expand instructions for the return value.
10609
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
10610
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
10611
+ */},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','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']);}/**
10612
+ * Get Twitter messaging integration
10613
+ *
10614
+ * @param {String} integrationId Integration ID
10615
+ * @param {Object} opts Optional parameters
10616
+ * @param {Object} opts.expand Expand instructions for the return value.
10617
+ */},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
10618
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10619
+ * Get twitter oauth settings
10620
+ *
10621
+ */},{key:"getConversationsMessagingIntegrationsTwitterOauthSettings",value:function getConversationsMessagingIntegrationsTwitterOauthSettings(){return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/oauth/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10596
10622
  * Get a list of WhatsApp Integrations
10597
10623
  *
10598
10624
  * @param {Object} opts Optional parameters
@@ -11009,6 +11035,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11009
11035
  */},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
11010
11036
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
11011
11037
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11038
+ * Update a Twitter messaging integration
11039
+ *
11040
+ * @param {String} integrationId Integration ID
11041
+ * @param {Object} body TwitterIntegrationUpdateRequest
11042
+ */},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
11043
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
11044
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11012
11045
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
11013
11046
  * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
11014
11047
  * @param {String} integrationId Integration ID
@@ -11577,6 +11610,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11577
11610
  * @param {Object} body OpenIntegrationRequest
11578
11611
  */},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
11579
11612
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11613
+ * Create Twitter Integration
11614
+ *
11615
+ * @param {Object} body TwitterIntegrationRequest
11616
+ */},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
11617
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11580
11618
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
11581
11619
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
11582
11620
  * @param {Object} body WhatsAppIntegrationRequest
@@ -11626,6 +11664,14 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
11626
11664
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
11627
11665
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
11628
11666
  if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';}return this.apiClient.callApi('/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup','POST',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
11667
+ * Create an Agent-Type video conference and assign an agent to it
11668
+ *
11669
+ * @param {String} conversationId conversationId
11670
+ * @param {String} communicationId communicationId
11671
+ * postConversationsVideoAgentconferenceCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11672
+ */},{key:"postConversationsVideoAgentconferenceCommunication",value:function postConversationsVideoAgentconferenceCommunication(conversationId,communicationId){// verify the required parameter 'conversationId' is set
11673
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';}// verify the required parameter 'communicationId' is set
11674
+ if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11629
11675
  * Apply wrap-up for this conversation communication
11630
11676
  *
11631
11677
  * @param {String} conversationId conversationId
@@ -11796,7 +11842,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
11796
11842
  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(){/**
11797
11843
  * DataExtensions service.
11798
11844
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
11799
- * @version 217.0.0
11845
+ * @version 218.0.0
11800
11846
  *//**
11801
11847
  * Constructs a new DataExtensionsApi.
11802
11848
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -11817,7 +11863,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
11817
11863
  */},{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(){/**
11818
11864
  * DataPrivacy service.
11819
11865
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
11820
- * @version 217.0.0
11866
+ * @version 218.0.0
11821
11867
  *//**
11822
11868
  * Constructs a new DataPrivacyApi.
11823
11869
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -11857,7 +11903,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11857
11903
  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(){/**
11858
11904
  * Downloads service.
11859
11905
  * @module purecloud-platform-client-v2/api/DownloadsApi
11860
- * @version 217.0.0
11906
+ * @version 218.0.0
11861
11907
  *//**
11862
11908
  * Constructs a new DownloadsApi.
11863
11909
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -11876,7 +11922,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11876
11922
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
11877
11923
  * Emails service.
11878
11924
  * @module purecloud-platform-client-v2/api/EmailsApi
11879
- * @version 217.0.0
11925
+ * @version 218.0.0
11880
11926
  *//**
11881
11927
  * Constructs a new EmailsApi.
11882
11928
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -11894,7 +11940,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
11894
11940
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
11895
11941
  * EmployeeEngagement service.
11896
11942
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
11897
- * @version 217.0.0
11943
+ * @version 218.0.0
11898
11944
  *//**
11899
11945
  * Constructs a new EmployeeEngagementApi.
11900
11946
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -11932,7 +11978,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11932
11978
  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(){/**
11933
11979
  * Events service.
11934
11980
  * @module purecloud-platform-client-v2/api/EventsApi
11935
- * @version 217.0.0
11981
+ * @version 218.0.0
11936
11982
  *//**
11937
11983
  * Constructs a new EventsApi.
11938
11984
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -11957,7 +12003,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11957
12003
  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(){/**
11958
12004
  * ExternalContacts service.
11959
12005
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
11960
- * @version 217.0.0
12006
+ * @version 218.0.0
11961
12007
  *//**
11962
12008
  * Constructs a new ExternalContactsApi.
11963
12009
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -12076,6 +12122,18 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
12076
12122
  * @param {Array.<String>} opts.expand which fields, if any, to expand
12077
12123
  * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
12078
12124
  */},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12125
+ * Get export for exportId
12126
+ *
12127
+ * @param {String} exportId Export id
12128
+ */},{key:"getExternalcontactsContactsExport",value:function getExternalcontactsContactsExport(exportId){// verify the required parameter 'exportId' is set
12129
+ if(exportId===undefined||exportId===null){throw'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports/{exportId}','GET',{'exportId':exportId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12130
+ * List exports for organization
12131
+ *
12132
+ * @param {Object} opts Optional parameters
12133
+ * @param {Array.<String>} opts.divisionIds Division IDs of entities
12134
+ * @param {String} opts.after The cursor that points to the end of the set of entities
12135
+ * @param {Number} opts.pageSize Number of entities to return
12136
+ */},{key:"getExternalcontactsContactsExports",value:function getExternalcontactsContactsExports(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','GET',{},{'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12079
12137
  * Get a schema
12080
12138
  *
12081
12139
  * @param {String} schemaId Schema ID
@@ -12432,6 +12490,11 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
12432
12490
  * @param {Object} body ExternalContact
12433
12491
  */},{key:"postExternalcontactsContacts",value:function postExternalcontactsContacts(body){// verify the required parameter 'body' is set
12434
12492
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12493
+ * Create bulk export
12494
+ *
12495
+ * @param {Object} body Export
12496
+ */},{key:"postExternalcontactsContactsExports",value:function postExternalcontactsContactsExports(body){// verify the required parameter 'body' is set
12497
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12435
12498
  * Create a schema
12436
12499
  *
12437
12500
  * @param {Object} body Schema
@@ -12599,7 +12662,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
12599
12662
  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(){/**
12600
12663
  * Fax service.
12601
12664
  * @module purecloud-platform-client-v2/api/FaxApi
12602
- * @version 217.0.0
12665
+ * @version 218.0.0
12603
12666
  *//**
12604
12667
  * Constructs a new FaxApi.
12605
12668
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -12648,7 +12711,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12648
12711
  */},{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(){/**
12649
12712
  * Flows service.
12650
12713
  * @module purecloud-platform-client-v2/api/FlowsApi
12651
- * @version 217.0.0
12714
+ * @version 218.0.0
12652
12715
  *//**
12653
12716
  * Constructs a new FlowsApi.
12654
12717
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -12696,7 +12759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12696
12759
  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(){/**
12697
12760
  * Gamification service.
12698
12761
  * @module purecloud-platform-client-v2/api/GamificationApi
12699
- * @version 217.0.0
12762
+ * @version 218.0.0
12700
12763
  *//**
12701
12764
  * Constructs a new GamificationApi.
12702
12765
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -13255,7 +13318,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13255
13318
  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(){/**
13256
13319
  * GeneralDataProtectionRegulation service.
13257
13320
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
13258
- * @version 217.0.0
13321
+ * @version 218.0.0
13259
13322
  *//**
13260
13323
  * Constructs a new GeneralDataProtectionRegulationApi.
13261
13324
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -13290,7 +13353,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
13290
13353
  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(){/**
13291
13354
  * Geolocation service.
13292
13355
  * @module purecloud-platform-client-v2/api/GeolocationApi
13293
- * @version 217.0.0
13356
+ * @version 218.0.0
13294
13357
  *//**
13295
13358
  * Constructs a new GeolocationApi.
13296
13359
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -13324,7 +13387,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
13324
13387
  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(){/**
13325
13388
  * Greetings service.
13326
13389
  * @module purecloud-platform-client-v2/api/GreetingsApi
13327
- * @version 217.0.0
13390
+ * @version 218.0.0
13328
13391
  *//**
13329
13392
  * Constructs a new GreetingsApi.
13330
13393
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -13431,7 +13494,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
13431
13494
  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(){/**
13432
13495
  * Groups service.
13433
13496
  * @module purecloud-platform-client-v2/api/GroupsApi
13434
- * @version 217.0.0
13497
+ * @version 218.0.0
13435
13498
  *//**
13436
13499
  * Constructs a new GroupsApi.
13437
13500
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -13564,7 +13627,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
13564
13627
  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(){/**
13565
13628
  * IdentityProvider service.
13566
13629
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
13567
- * @version 217.0.0
13630
+ * @version 218.0.0
13568
13631
  *//**
13569
13632
  * Constructs a new IdentityProviderApi.
13570
13633
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -13720,7 +13783,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13720
13783
  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(){/**
13721
13784
  * InfrastructureAsCode service.
13722
13785
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
13723
- * @version 217.0.0
13786
+ * @version 218.0.0
13724
13787
  *//**
13725
13788
  * Constructs a new InfrastructureAsCodeApi.
13726
13789
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -13774,7 +13837,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
13774
13837
  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(){/**
13775
13838
  * Integrations service.
13776
13839
  * @module purecloud-platform-client-v2/api/IntegrationsApi
13777
- * @version 217.0.0
13840
+ * @version 218.0.0
13778
13841
  *//**
13779
13842
  * Constructs a new IntegrationsApi.
13780
13843
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -14406,7 +14469,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
14406
14469
  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(){/**
14407
14470
  * Journey service.
14408
14471
  * @module purecloud-platform-client-v2/api/JourneyApi
14409
- * @version 217.0.0
14472
+ * @version 218.0.0
14410
14473
  *//**
14411
14474
  * Constructs a new JourneyApi.
14412
14475
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -14886,7 +14949,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
14886
14949
  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(){/**
14887
14950
  * Knowledge service.
14888
14951
  * @module purecloud-platform-client-v2/api/KnowledgeApi
14889
- * @version 217.0.0
14952
+ * @version 218.0.0
14890
14953
  *//**
14891
14954
  * Constructs a new KnowledgeApi.
14892
14955
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -15260,7 +15323,6 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
15260
15323
  * @param {Object} languageCode Language code, format: iso2-LOCALE
15261
15324
  * @param {String} uploadId UploadId
15262
15325
  * @deprecated
15263
- * getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15264
15326
  */},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
15265
15327
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
15266
15328
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
@@ -15727,7 +15789,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15727
15789
  *
15728
15790
  * @param {String} knowledgeBaseId Knowledge base ID
15729
15791
  * @param {Object} body
15730
- * postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15731
15792
  */},{key:"postKnowledgeKnowledgebaseDocumentsBulkRemove",value:function postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
15732
15793
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';}// verify the required parameter 'body' is set
15733
15794
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/remove','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15735,7 +15796,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15735
15796
  *
15736
15797
  * @param {String} knowledgeBaseId Knowledge base ID
15737
15798
  * @param {Object} body
15738
- * postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15739
15799
  */},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
15740
15800
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
15741
15801
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15773,7 +15833,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
15773
15833
  *
15774
15834
  * @param {String} knowledgeBaseId Knowledge base ID
15775
15835
  * @param {Object} body
15776
- * postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15777
15836
  */},{key:"postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd",value:function postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
15778
15837
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';}// verify the required parameter 'body' is set
15779
15838
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/versions/bulk/add','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15815,7 +15874,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15815
15874
  * @param {Object} languageCode Language code, format: iso2-LOCALE
15816
15875
  * @param {Object} body
15817
15876
  * @deprecated
15818
- * postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15819
15877
  */},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
15820
15878
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
15821
15879
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
@@ -15954,7 +16012,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
15954
16012
  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(){/**
15955
16013
  * LanguageUnderstanding service.
15956
16014
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
15957
- * @version 217.0.0
16015
+ * @version 218.0.0
15958
16016
  *//**
15959
16017
  * Constructs a new LanguageUnderstandingApi.
15960
16018
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -16213,7 +16271,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
16213
16271
  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(){/**
16214
16272
  * Languages service.
16215
16273
  * @module purecloud-platform-client-v2/api/LanguagesApi
16216
- * @version 217.0.0
16274
+ * @version 218.0.0
16217
16275
  *//**
16218
16276
  * Constructs a new LanguagesApi.
16219
16277
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -16268,7 +16326,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16268
16326
  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(){/**
16269
16327
  * Learning service.
16270
16328
  * @module purecloud-platform-client-v2/api/LearningApi
16271
- * @version 217.0.0
16329
+ * @version 218.0.0
16272
16330
  *//**
16273
16331
  * Constructs a new LearningApi.
16274
16332
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -16539,7 +16597,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
16539
16597
  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(){/**
16540
16598
  * License service.
16541
16599
  * @module purecloud-platform-client-v2/api/LicenseApi
16542
- * @version 217.0.0
16600
+ * @version 218.0.0
16543
16601
  *//**
16544
16602
  * Constructs a new LicenseApi.
16545
16603
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -16593,7 +16651,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
16593
16651
  */},{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(){/**
16594
16652
  * Locations service.
16595
16653
  * @module purecloud-platform-client-v2/api/LocationsApi
16596
- * @version 217.0.0
16654
+ * @version 218.0.0
16597
16655
  *//**
16598
16656
  * Constructs a new LocationsApi.
16599
16657
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -16652,7 +16710,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16652
16710
  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(){/**
16653
16711
  * LogCapture service.
16654
16712
  * @module purecloud-platform-client-v2/api/LogCaptureApi
16655
- * @version 217.0.0
16713
+ * @version 218.0.0
16656
16714
  *//**
16657
16715
  * Constructs a new LogCaptureApi.
16658
16716
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -16702,7 +16760,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16702
16760
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
16703
16761
  * Messaging service.
16704
16762
  * @module purecloud-platform-client-v2/api/MessagingApi
16705
- * @version 217.0.0
16763
+ * @version 218.0.0
16706
16764
  *//**
16707
16765
  * Constructs a new MessagingApi.
16708
16766
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -16792,7 +16850,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16792
16850
  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(){/**
16793
16851
  * MobileDevices service.
16794
16852
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
16795
- * @version 217.0.0
16853
+ * @version 218.0.0
16796
16854
  *//**
16797
16855
  * Constructs a new MobileDevicesApi.
16798
16856
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -16831,7 +16889,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16831
16889
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
16832
16890
  * Notifications service.
16833
16891
  * @module purecloud-platform-client-v2/api/NotificationsApi
16834
- * @version 217.0.0
16892
+ * @version 218.0.0
16835
16893
  *//**
16836
16894
  * Constructs a new NotificationsApi.
16837
16895
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -16888,7 +16946,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
16888
16946
  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(){/**
16889
16947
  * OAuth service.
16890
16948
  * @module purecloud-platform-client-v2/api/OAuthApi
16891
- * @version 217.0.0
16949
+ * @version 218.0.0
16892
16950
  *//**
16893
16951
  * Constructs a new OAuthApi.
16894
16952
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -16973,7 +17031,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
16973
17031
  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(){/**
16974
17032
  * Objects service.
16975
17033
  * @module purecloud-platform-client-v2/api/ObjectsApi
16976
- * @version 217.0.0
17034
+ * @version 218.0.0
16977
17035
  *//**
16978
17036
  * Constructs a new ObjectsApi.
16979
17037
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -17044,7 +17102,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
17044
17102
  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(){/**
17045
17103
  * OperationalEvents service.
17046
17104
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
17047
- * @version 217.0.0
17105
+ * @version 218.0.0
17048
17106
  *//**
17049
17107
  * Constructs a new OperationalEventsApi.
17050
17108
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -17075,7 +17133,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
17075
17133
  */},{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(){/**
17076
17134
  * Organization service.
17077
17135
  * @module purecloud-platform-client-v2/api/OrganizationApi
17078
- * @version 217.0.0
17136
+ * @version 218.0.0
17079
17137
  *//**
17080
17138
  * Constructs a new OrganizationApi.
17081
17139
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -17125,33 +17183,11 @@ if(requestId===undefined||requestId===null){throw'Missing the required parameter
17125
17183
  * @param {String} namespaceName The namespace to fetch limits for
17126
17184
  */},{key:"getOrganizationsLimitsNamespace",value:function getOrganizationsLimitsNamespace(namespaceName){// verify the required parameter 'namespaceName' is set
17127
17185
  if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17128
- * Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
17129
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
17130
- * @param {String} namespaceName The namespace to get
17131
- * @param {Object} opts Optional parameters
17132
- * @param {String} opts.cursor Cursor provided when retrieving the last page
17133
- * @param {String} opts.entityId entity id of the count
17134
- * @param {String} opts.userId userid of the count
17135
- * @deprecated
17136
- */},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
17137
- if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/counts','GET',{'namespaceName':namespaceName},{'cursor':opts['cursor'],'entityId':opts['entityId'],'userId':opts['userId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17138
17186
  * Get the default limits in a namespace for an organization
17139
17187
  *
17140
17188
  * @param {String} namespaceName The namespace to fetch defaults limits for
17141
17189
  */},{key:"getOrganizationsLimitsNamespaceDefaults",value:function getOrganizationsLimitsNamespaceDefaults(namespaceName){// verify the required parameter 'namespaceName' is set
17142
17190
  if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/defaults','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17143
- * Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
17144
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
17145
- * @param {String} namespaceName The namespace to get
17146
- * @param {String} limitName The limit to get
17147
- * @param {Object} opts Optional parameters
17148
- * @param {String} opts.entityId entity id of the count
17149
- * @param {String} opts.userId userid of the count
17150
- * @param {String} opts.cursor Cursor provided when retrieving the last page
17151
- * @deprecated
17152
- */},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
17153
- if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
17154
- if(limitName===undefined||limitName===null){throw'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts','GET',{'namespaceName':namespaceName,'limitName':limitName},{'entityId':opts['entityId'],'userId':opts['userId'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17155
17191
  * Get the available limit namespaces
17156
17192
  *
17157
17193
  * @param {Object} opts Optional parameters
@@ -17202,7 +17238,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17202
17238
  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(){/**
17203
17239
  * OrganizationAuthorization service.
17204
17240
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
17205
- * @version 217.0.0
17241
+ * @version 218.0.0
17206
17242
  *//**
17207
17243
  * Constructs a new OrganizationAuthorizationApi.
17208
17244
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -17536,7 +17572,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
17536
17572
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
17537
17573
  * Outbound service.
17538
17574
  * @module purecloud-platform-client-v2/api/OutboundApi
17539
- * @version 217.0.0
17575
+ * @version 218.0.0
17540
17576
  *//**
17541
17577
  * Constructs a new OutboundApi.
17542
17578
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -18653,7 +18689,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18653
18689
  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(){/**
18654
18690
  * Presence service.
18655
18691
  * @module purecloud-platform-client-v2/api/PresenceApi
18656
- * @version 217.0.0
18692
+ * @version 218.0.0
18657
18693
  *//**
18658
18694
  * Constructs a new PresenceApi.
18659
18695
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -18826,7 +18862,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18826
18862
  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(){/**
18827
18863
  * ProcessAutomation service.
18828
18864
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
18829
- * @version 217.0.0
18865
+ * @version 218.0.0
18830
18866
  *//**
18831
18867
  * Constructs a new ProcessAutomationApi.
18832
18868
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -18889,7 +18925,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
18889
18925
  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(){/**
18890
18926
  * Quality service.
18891
18927
  * @module purecloud-platform-client-v2/api/QualityApi
18892
- * @version 217.0.0
18928
+ * @version 218.0.0
18893
18929
  *//**
18894
18930
  * Constructs a new QualityApi.
18895
18931
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -19348,7 +19384,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19348
19384
  *
19349
19385
  * @param {String} formId Form ID
19350
19386
  * @param {Object} body AI Scoring Settings
19351
- * putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19352
19387
  */},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
19353
19388
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
19354
19389
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -19368,7 +19403,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
19368
19403
  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(){/**
19369
19404
  * Recording service.
19370
19405
  * @module purecloud-platform-client-v2/api/RecordingApi
19371
- * @version 217.0.0
19406
+ * @version 218.0.0
19372
19407
  *//**
19373
19408
  * Constructs a new RecordingApi.
19374
19409
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -19467,8 +19502,9 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
19467
19502
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
19468
19503
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
19469
19504
  * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
19505
+ * @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
19470
19506
  */},{key:"getConversationRecordings",value:function getConversationRecordings(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
19471
- if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19507
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale'],'includePauseAnnotationsForScreenRecordings':opts['includePauseAnnotationsForScreenRecordings']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19472
19508
  * Gets a single orphan recording
19473
19509
  *
19474
19510
  * @param {String} orphanId Orphan ID
@@ -19766,7 +19802,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19766
19802
  */},{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(){/**
19767
19803
  * ResponseManagement service.
19768
19804
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
19769
- * @version 217.0.0
19805
+ * @version 218.0.0
19770
19806
  *//**
19771
19807
  * Constructs a new ResponseManagementApi.
19772
19808
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -19887,7 +19923,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
19887
19923
  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(){/**
19888
19924
  * Routing service.
19889
19925
  * @module purecloud-platform-client-v2/api/RoutingApi
19890
- * @version 217.0.0
19926
+ * @version 218.0.0
19891
19927
  *//**
19892
19928
  * Constructs a new RoutingApi.
19893
19929
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -20932,7 +20968,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
20932
20968
  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(){/**
20933
20969
  * SCIM service.
20934
20970
  * @module purecloud-platform-client-v2/api/SCIMApi
20935
- * @version 217.0.0
20971
+ * @version 218.0.0
20936
20972
  *//**
20937
20973
  * Constructs a new SCIMApi.
20938
20974
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -21157,7 +21193,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21157
21193
  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(){/**
21158
21194
  * ScreenRecording service.
21159
21195
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
21160
- * @version 217.0.0
21196
+ * @version 218.0.0
21161
21197
  *//**
21162
21198
  * Constructs a new ScreenRecordingApi.
21163
21199
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -21172,7 +21208,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21172
21208
  */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(){/**
21173
21209
  * Scripts service.
21174
21210
  * @module purecloud-platform-client-v2/api/ScriptsApi
21175
- * @version 217.0.0
21211
+ * @version 218.0.0
21176
21212
  *//**
21177
21213
  * Constructs a new ScriptsApi.
21178
21214
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -21308,7 +21344,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
21308
21344
  */},{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(){/**
21309
21345
  * Search service.
21310
21346
  * @module purecloud-platform-client-v2/api/SearchApi
21311
- * @version 217.0.0
21347
+ * @version 218.0.0
21312
21348
  *//**
21313
21349
  * Constructs a new SearchApi.
21314
21350
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -21480,7 +21516,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21480
21516
  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(){/**
21481
21517
  * Settings service.
21482
21518
  * @module purecloud-platform-client-v2/api/SettingsApi
21483
- * @version 217.0.0
21519
+ * @version 218.0.0
21484
21520
  *//**
21485
21521
  * Constructs a new SettingsApi.
21486
21522
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -21530,7 +21566,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
21530
21566
  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(){/**
21531
21567
  * SocialMedia service.
21532
21568
  * @module purecloud-platform-client-v2/api/SocialMediaApi
21533
- * @version 217.0.0
21569
+ * @version 218.0.0
21534
21570
  *//**
21535
21571
  * Constructs a new SocialMediaApi.
21536
21572
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -21538,13 +21574,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21538
21574
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
21539
21575
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
21540
21576
  */function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
21577
+ * Delete an escalation rule.
21578
+ *
21579
+ * @param {String} escalationRuleId escalationRuleId
21580
+ */return _createClass(SocialMediaApi,[{key:"deleteSocialmediaEscalationrule",value:function deleteSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
21581
+ if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','DELETE',{'escalationRuleId':escalationRuleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21582
+ * Delete a social media message.
21583
+ *
21584
+ * @param {String} messageId messageId
21585
+ * deleteSocialmediaMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21586
+ */},{key:"deleteSocialmediaMessage",value:function deleteSocialmediaMessage(messageId){// verify the required parameter 'messageId' is set
21587
+ if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';}return this.apiClient.callApi('/api/v2/socialmedia/messages/{messageId}','DELETE',{'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21541
21588
  * Delete a social topic.
21542
21589
  *
21543
21590
  * @param {String} topicId topicId
21544
21591
  * @param {Object} opts Optional parameters
21545
21592
  * @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
21546
- * deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21547
- */return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21593
+ */},{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21548
21594
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','DELETE',{'topicId':topicId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21549
21595
  * Delete a Facebook data ingestion rule.
21550
21596
  *
@@ -21552,7 +21598,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
21552
21598
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
21553
21599
  * @param {Object} opts Optional parameters
21554
21600
  * @param {Boolean} opts.hardDelete Determines whether a Facebook data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
21555
- * deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21556
21601
  */},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21557
21602
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
21558
21603
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21572,25 +21617,68 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
21572
21617
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
21573
21618
  * @param {Object} opts Optional parameters
21574
21619
  * @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
21575
- * deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21576
21620
  */},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21577
21621
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
21578
21622
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','DELETE',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21623
+ * Get status for async query for social media aggregates
21624
+ *
21625
+ * @param {String} jobId jobId
21626
+ */},{key:"getSocialmediaAnalyticsAggregatesJob",value:function getSocialmediaAnalyticsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
21627
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21628
+ * Fetch a page of results for an async social media query
21629
+ *
21630
+ * @param {String} jobId jobId
21631
+ * @param {Object} opts Optional parameters
21632
+ * @param {String} opts.cursor Cursor token to retrieve next page
21633
+ */},{key:"getSocialmediaAnalyticsAggregatesJobResults",value:function getSocialmediaAnalyticsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
21634
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21635
+ * Get status for async query for social media messages job
21636
+ *
21637
+ * @param {String} jobId jobId
21638
+ */},{key:"getSocialmediaAnalyticsMessagesJob",value:function getSocialmediaAnalyticsMessagesJob(jobId){// verify the required parameter 'jobId' is set
21639
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21640
+ * Fetch a page of results for an async social media messages query
21641
+ *
21642
+ * @param {String} jobId jobId
21643
+ * @param {Object} opts Optional parameters
21644
+ * @param {String} opts.cursor Cursor token to retrieve next page
21645
+ */},{key:"getSocialmediaAnalyticsMessagesJobResults",value:function getSocialmediaAnalyticsMessagesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
21646
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21647
+ * Get a single escalation rule.
21648
+ *
21649
+ * @param {String} escalationRuleId escalationRuleId
21650
+ */},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
21651
+ if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21652
+ * Retrieve all escalation rules for a division.
21653
+ *
21654
+ * @param {String} divisionId One division ID
21655
+ * @param {Object} opts Optional parameters
21656
+ * @param {Number} opts.pageNumber Page number (default to 1)
21657
+ * @param {Number} opts.pageSize Page size (default to 25)
21658
+ */},{key:"getSocialmediaEscalationrules",value:function getSocialmediaEscalationrules(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
21659
+ if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling getSocialmediaEscalationrules';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionId':divisionId},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21579
21660
  * Get a single social topic.
21580
21661
  *
21581
21662
  * @param {String} topicId topicId
21582
21663
  * @param {Object} opts Optional parameters
21583
21664
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21584
- * getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21585
21665
  */},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21586
21666
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','GET',{'topicId':topicId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21667
+ * Retrieve all social topic data ingestion rules with pagination.
21668
+ *
21669
+ * @param {String} topicId topicId
21670
+ * @param {Object} opts Optional parameters
21671
+ * @param {Number} opts.pageNumber Page number (default to 1)
21672
+ * @param {Number} opts.pageSize Page size (default to 25)
21673
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21674
+ */},{key:"getSocialmediaTopicDataingestionrules",value:function getSocialmediaTopicDataingestionrules(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21675
+ if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules','GET',{'topicId':topicId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21587
21676
  * Get a single Facebook data ingestion rule.
21588
21677
  *
21589
21678
  * @param {String} topicId topicId
21590
21679
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
21591
21680
  * @param {Object} opts Optional parameters
21592
21681
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21593
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21594
21682
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21595
21683
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
21596
21684
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21601,7 +21689,6 @@ if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Mi
21601
21689
  * @param {String} dataIngestionRuleVersion version
21602
21690
  * @param {Object} opts Optional parameters
21603
21691
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
21604
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21605
21692
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21606
21693
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
21607
21694
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
@@ -21614,7 +21701,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
21614
21701
  * @param {Number} opts.pageNumber Page number (default to 1)
21615
21702
  * @param {Number} opts.pageSize Page size (default to 25)
21616
21703
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21617
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21618
21704
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21619
21705
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
21620
21706
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21658,7 +21744,6 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
21658
21744
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
21659
21745
  * @param {Object} opts Optional parameters
21660
21746
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21661
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21662
21747
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21663
21748
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
21664
21749
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21669,7 +21754,6 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
21669
21754
  * @param {String} dataIngestionRuleVersion version
21670
21755
  * @param {Object} opts Optional parameters
21671
21756
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
21672
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21673
21757
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21674
21758
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
21675
21759
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
@@ -21682,7 +21766,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
21682
21766
  * @param {Number} opts.pageNumber Page number (default to 1)
21683
21767
  * @param {Number} opts.pageSize Page size (default to 25)
21684
21768
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21685
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21686
21769
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21687
21770
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
21688
21771
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21693,14 +21776,12 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
21693
21776
  * @param {Number} opts.pageSize Page size (default to 25)
21694
21777
  * @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
21695
21778
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
21696
- * getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21697
21779
  */},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21698
21780
  * Update a social topic.
21699
21781
  *
21700
21782
  * @param {String} topicId topicId
21701
21783
  * @param {Object} opts Optional parameters
21702
21784
  * @param {Object} opts.body
21703
- * patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21704
21785
  */},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21705
21786
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','PATCH',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21706
21787
  * Update the status of a Facebook data ingestion rule.
@@ -21709,7 +21790,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
21709
21790
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
21710
21791
  * @param {Object} opts Optional parameters
21711
21792
  * @param {Object} opts.body
21712
- * patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21713
21793
  */},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21714
21794
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
21715
21795
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21729,16 +21809,36 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
21729
21809
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
21730
21810
  * @param {Object} opts Optional parameters
21731
21811
  * @param {Object} opts.body
21732
- * patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21733
21812
  */},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21734
21813
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
21735
21814
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PATCH',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21815
+ * Query for social media aggregates asynchronously
21816
+ *
21817
+ * @param {Object} body query
21818
+ */},{key:"postSocialmediaAnalyticsAggregatesJobs",value:function postSocialmediaAnalyticsAggregatesJobs(body){// verify the required parameter 'body' is set
21819
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21820
+ * Query for social media messages asynchronously
21821
+ *
21822
+ * @param {Object} body query
21823
+ */},{key:"postSocialmediaAnalyticsMessagesJobs",value:function postSocialmediaAnalyticsMessagesJobs(body){// verify the required parameter 'body' is set
21824
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';}return this.apiClient.callApi('/api/v2/socialmedia/analytics/messages/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21825
+ * Create an escalation rule.
21826
+ *
21827
+ * @param {Object} opts Optional parameters
21828
+ * @param {Object} opts.body
21829
+ */},{key:"postSocialmediaEscalationrules",value:function postSocialmediaEscalationrules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/escalationrules','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21830
+ * Escalate message to a conversation manually
21831
+ *
21832
+ * @param {String} divisionId One division ID
21833
+ * @param {Object} opts Optional parameters
21834
+ * @param {Object} opts.body
21835
+ */},{key:"postSocialmediaEscalationsMessages",value:function postSocialmediaEscalationsMessages(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
21836
+ if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postSocialmediaEscalationsMessages';}return this.apiClient.callApi('/api/v2/socialmedia/escalations/messages','POST',{},{'divisionId':divisionId},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21736
21837
  * Create an Facebook data ingestion rule.
21737
21838
  *
21738
21839
  * @param {String} topicId topicId
21739
21840
  * @param {Object} opts Optional parameters
21740
21841
  * @param {Object} opts.body
21741
- * postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21742
21842
  */},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21743
21843
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21744
21844
  * Create an open data ingestion rule.
@@ -21754,22 +21854,31 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
21754
21854
  * @param {String} topicId topicId
21755
21855
  * @param {Object} opts Optional parameters
21756
21856
  * @param {Object} opts.body
21757
- * postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21758
21857
  */},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21759
21858
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21760
21859
  * Create a social topic.
21761
21860
  *
21762
21861
  * @param {Object} opts Optional parameters
21763
21862
  * @param {Object} opts.body
21764
- * postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21765
21863
  */},{key:"postSocialmediaTopics",value:function postSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21864
+ * Retrieves historical tweet count for search terms, optional countries list and the current limit and usage for the organization.
21865
+ *
21866
+ * @param {Object} body TwitterDataHistoricalTweetRequest
21867
+ */},{key:"postSocialmediaTwitterHistoricalTweets",value:function postSocialmediaTwitterHistoricalTweets(body){// verify the required parameter 'body' is set
21868
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';}return this.apiClient.callApi('/api/v2/socialmedia/twitter/historical/tweets','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21869
+ * Update the escalation rule.
21870
+ *
21871
+ * @param {String} escalationRuleId escalationRuleId
21872
+ * @param {Object} opts Optional parameters
21873
+ * @param {Object} opts.body
21874
+ */},{key:"putSocialmediaEscalationrule",value:function putSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
21875
+ if(escalationRuleId===undefined||escalationRuleId===null){throw'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','PUT',{'escalationRuleId':escalationRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21766
21876
  * Update the Facebook data ingestion rule.
21767
21877
  *
21768
21878
  * @param {String} topicId topicId
21769
21879
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
21770
21880
  * @param {Object} opts Optional parameters
21771
21881
  * @param {Object} opts.body
21772
- * putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21773
21882
  */},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21774
21883
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
21775
21884
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21789,13 +21898,12 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
21789
21898
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
21790
21899
  * @param {Object} opts Optional parameters
21791
21900
  * @param {Object} opts.body
21792
- * putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21793
21901
  */},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
21794
21902
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
21795
21903
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
21796
21904
  * SpeechTextAnalytics service.
21797
21905
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
21798
- * @version 217.0.0
21906
+ * @version 218.0.0
21799
21907
  *//**
21800
21908
  * Constructs a new SpeechTextAnalyticsApi.
21801
21909
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -22118,7 +22226,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
22118
22226
  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(){/**
22119
22227
  * Stations service.
22120
22228
  * @module purecloud-platform-client-v2/api/StationsApi
22121
- * @version 217.0.0
22229
+ * @version 218.0.0
22122
22230
  *//**
22123
22231
  * Constructs a new StationsApi.
22124
22232
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -22150,7 +22258,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
22150
22258
  */},{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(){/**
22151
22259
  * Suggest service.
22152
22260
  * @module purecloud-platform-client-v2/api/SuggestApi
22153
- * @version 217.0.0
22261
+ * @version 218.0.0
22154
22262
  *//**
22155
22263
  * Constructs a new SuggestApi.
22156
22264
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -22190,7 +22298,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22190
22298
  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(){/**
22191
22299
  * TaskManagement service.
22192
22300
  * @module purecloud-platform-client-v2/api/TaskManagementApi
22193
- * @version 217.0.0
22301
+ * @version 218.0.0
22194
22302
  *//**
22195
22303
  * Constructs a new TaskManagementApi.
22196
22304
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -22696,7 +22804,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
22696
22804
  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(){/**
22697
22805
  * Teams service.
22698
22806
  * @module purecloud-platform-client-v2/api/TeamsApi
22699
- * @version 217.0.0
22807
+ * @version 218.0.0
22700
22808
  *//**
22701
22809
  * Constructs a new TeamsApi.
22702
22810
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -22776,7 +22884,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22776
22884
  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(){/**
22777
22885
  * Telephony service.
22778
22886
  * @module purecloud-platform-client-v2/api/TelephonyApi
22779
- * @version 217.0.0
22887
+ * @version 218.0.0
22780
22888
  *//**
22781
22889
  * Constructs a new TelephonyApi.
22782
22890
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -22823,7 +22931,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
22823
22931
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
22824
22932
  * TelephonyProvidersEdge service.
22825
22933
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
22826
- * @version 217.0.0
22934
+ * @version 218.0.0
22827
22935
  *//**
22828
22936
  * Constructs a new TelephonyProvidersEdgeApi.
22829
22937
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -23104,7 +23212,8 @@ if(extensionPoolId===undefined||extensionPoolId===null){throw'Missing the requir
23104
23212
  * @param {Number} opts.pageNumber Page number (default to 1)
23105
23213
  * @param {String} opts.sortBy Sort by
23106
23214
  * @param {String} opts._number Deprecated, filtering by number not supported
23107
- */},{key:"getTelephonyProvidersEdgesExtensionpools",value:function getTelephonyProvidersEdgesExtensionpools(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/extensionpools','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'number':opts['_number']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23215
+ * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
23216
+ */},{key:"getTelephonyProvidersEdgesExtensionpools",value:function getTelephonyProvidersEdgesExtensionpools(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/extensionpools','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'number':opts['_number'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23108
23217
  * Get a pageable list of basic extension pool objects filterable by query parameters.
23109
23218
  * This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
23110
23219
  * @param {Object} opts Optional parameters
@@ -23658,7 +23767,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
23658
23767
  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(){/**
23659
23768
  * Textbots service.
23660
23769
  * @module purecloud-platform-client-v2/api/TextbotsApi
23661
- * @version 217.0.0
23770
+ * @version 218.0.0
23662
23771
  *//**
23663
23772
  * Constructs a new TextbotsApi.
23664
23773
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -23693,7 +23802,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
23693
23802
  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(){/**
23694
23803
  * Tokens service.
23695
23804
  * @module purecloud-platform-client-v2/api/TokensApi
23696
- * @version 217.0.0
23805
+ * @version 218.0.0
23697
23806
  *//**
23698
23807
  * Constructs a new TokensApi.
23699
23808
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -23727,7 +23836,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
23727
23836
  */},{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(){/**
23728
23837
  * Uploads service.
23729
23838
  * @module purecloud-platform-client-v2/api/UploadsApi
23730
- * @version 217.0.0
23839
+ * @version 218.0.0
23731
23840
  *//**
23732
23841
  * Constructs a new UploadsApi.
23733
23842
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -23790,7 +23899,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23790
23899
  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(){/**
23791
23900
  * Usage service.
23792
23901
  * @module purecloud-platform-client-v2/api/UsageApi
23793
- * @version 217.0.0
23902
+ * @version 218.0.0
23794
23903
  *//**
23795
23904
  * Constructs a new UsageApi.
23796
23905
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -23844,7 +23953,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23844
23953
  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(){/**
23845
23954
  * UserRecordings service.
23846
23955
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
23847
- * @version 217.0.0
23956
+ * @version 218.0.0
23848
23957
  *//**
23849
23958
  * Constructs a new UserRecordingsApi.
23850
23959
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -23901,7 +24010,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
23901
24010
  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(){/**
23902
24011
  * Users service.
23903
24012
  * @module purecloud-platform-client-v2/api/UsersApi
23904
- * @version 217.0.0
24013
+ * @version 218.0.0
23905
24014
  *//**
23906
24015
  * Constructs a new UsersApi.
23907
24016
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -24628,7 +24737,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
24628
24737
  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(){/**
24629
24738
  * Utilities service.
24630
24739
  * @module purecloud-platform-client-v2/api/UtilitiesApi
24631
- * @version 217.0.0
24740
+ * @version 218.0.0
24632
24741
  *//**
24633
24742
  * Constructs a new UtilitiesApi.
24634
24743
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -24655,7 +24764,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24655
24764
  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(){/**
24656
24765
  * Voicemail service.
24657
24766
  * @module purecloud-platform-client-v2/api/VoicemailApi
24658
- * @version 217.0.0
24767
+ * @version 218.0.0
24659
24768
  *//**
24660
24769
  * Constructs a new VoicemailApi.
24661
24770
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -24817,7 +24926,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
24817
24926
  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(){/**
24818
24927
  * WebChat service.
24819
24928
  * @module purecloud-platform-client-v2/api/WebChatApi
24820
- * @version 217.0.0
24929
+ * @version 218.0.0
24821
24930
  *//**
24822
24931
  * Constructs a new WebChatApi.
24823
24932
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -24832,9 +24941,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24832
24941
  */return _createClass(WebChatApi,[{key:"deleteWebchatDeployment",value:function deleteWebchatDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
24833
24942
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';}return this.apiClient.callApi('/api/v2/webchat/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24834
24943
  * Remove a member from a chat conversation
24835
- *
24944
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24836
24945
  * @param {String} conversationId conversationId
24837
24946
  * @param {String} memberId memberId
24947
+ * @deprecated
24838
24948
  */},{key:"deleteWebchatGuestConversationMember",value:function deleteWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
24839
24949
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
24840
24950
  if(memberId===undefined||memberId===null){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']);}/**
@@ -24860,41 +24970,46 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
24860
24970
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';}// verify the required parameter 'mediaRequestId' is set
24861
24971
  if(mediaRequestId===undefined||mediaRequestId===null){throw'Missing the required parameter "mediaRequestId" when calling getWebchatGuestConversationMediarequest';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}','GET',{'conversationId':conversationId,'mediaRequestId':mediaRequestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24862
24972
  * Get all media requests to the guest in the conversation
24863
- *
24973
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24864
24974
  * @param {String} conversationId conversationId
24975
+ * @deprecated
24865
24976
  */},{key:"getWebchatGuestConversationMediarequests",value:function getWebchatGuestConversationMediarequests(conversationId){// verify the required parameter 'conversationId' is set
24866
24977
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequests';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/mediarequests','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24867
24978
  * Get a web chat conversation member
24868
- *
24979
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24869
24980
  * @param {String} conversationId conversationId
24870
24981
  * @param {String} memberId memberId
24982
+ * @deprecated
24871
24983
  */},{key:"getWebchatGuestConversationMember",value:function getWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
24872
24984
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
24873
24985
  if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling getWebchatGuestConversationMember';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}','GET',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24874
24986
  * Get the members of a chat conversation.
24875
- *
24987
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24876
24988
  * @param {String} conversationId conversationId
24877
24989
  * @param {Object} opts Optional parameters
24878
24990
  * @param {Number} opts.pageSize The number of entries to return per page, or omitted for the default. (default to 25)
24879
24991
  * @param {Number} opts.pageNumber The page number to return, or omitted for the first page. (default to 1)
24880
24992
  * @param {Boolean} opts.excludeDisconnectedMembers If true, the results will not contain members who have a DISCONNECTED state. (default to false)
24993
+ * @deprecated
24881
24994
  */},{key:"getWebchatGuestConversationMembers",value:function getWebchatGuestConversationMembers(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
24882
24995
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMembers';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeDisconnectedMembers':opts['excludeDisconnectedMembers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24883
24996
  * Get a web chat conversation message
24884
- *
24997
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24885
24998
  * @param {String} conversationId conversationId
24886
24999
  * @param {String} messageId messageId
25000
+ * @deprecated
24887
25001
  */},{key:"getWebchatGuestConversationMessage",value:function getWebchatGuestConversationMessage(conversationId,messageId){// verify the required parameter 'conversationId' is set
24888
25002
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';}// verify the required parameter 'messageId' is set
24889
25003
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getWebchatGuestConversationMessage';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/messages/{messageId}','GET',{'conversationId':conversationId,'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24890
25004
  * Get the messages of a chat conversation.
24891
- *
25005
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24892
25006
  * @param {String} conversationId conversationId
24893
25007
  * @param {Object} opts Optional parameters
24894
25008
  * @param {String} opts.after If available, get the messages chronologically after the id of this message
24895
25009
  * @param {String} opts.before If available, get the messages chronologically before the id of this message
24896
25010
  * @param {Object} opts.sortOrder Sort order (default to ascending)
24897
25011
  * @param {Number} opts.maxResults Limit the returned number of messages, up to a maximum of 100 (default to 100)
25012
+ * @deprecated
24898
25013
  */},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
24899
25014
  if(conversationId===undefined||conversationId===null){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']);}/**
24900
25015
  * Get WebChat deployment settings
@@ -24917,24 +25032,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24917
25032
  */},{key:"postWebchatDeployments",value:function postWebchatDeployments(body){// verify the required parameter 'body' is set
24918
25033
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatDeployments';}return this.apiClient.callApi('/api/v2/webchat/deployments','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24919
25034
  * Send a message in a chat conversation.
24920
- *
25035
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24921
25036
  * @param {String} conversationId conversationId
24922
25037
  * @param {String} memberId memberId
24923
25038
  * @param {Object} body Message
25039
+ * @deprecated
24924
25040
  */},{key:"postWebchatGuestConversationMemberMessages",value:function postWebchatGuestConversationMemberMessages(conversationId,memberId,body){// verify the required parameter 'conversationId' is set
24925
25041
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'memberId' is set
24926
25042
  if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'body' is set
24927
25043
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatGuestConversationMemberMessages';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/messages','POST',{'conversationId':conversationId,'memberId':memberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24928
25044
  * Send a typing-indicator in a chat conversation.
24929
- *
25045
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
24930
25046
  * @param {String} conversationId conversationId
24931
25047
  * @param {String} memberId memberId
25048
+ * @deprecated
24932
25049
  */},{key:"postWebchatGuestConversationMemberTyping",value:function postWebchatGuestConversationMemberTyping(conversationId,memberId){// verify the required parameter 'conversationId' is set
24933
25050
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';}// verify the required parameter 'memberId' is set
24934
25051
  if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberTyping';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/typing','POST',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24935
25052
  * Create an ACD chat conversation from an external customer.
24936
- * This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the memberAuthToken field should include his JWT as generated by the POST /api/v2/signeddata resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the eventStreamUri field of the response; the conversation is not routed until the event stream is attached.
25053
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the memberAuthToken field should include his JWT as generated by the POST /api/v2/signeddata resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the eventStreamUri field of the response; the conversation is not routed until the event stream is attached.
24937
25054
  * @param {Object} body CreateConversationRequest
25055
+ * @deprecated
24938
25056
  */},{key:"postWebchatGuestConversations",value:function postWebchatGuestConversations(body){// verify the required parameter 'body' is set
24939
25057
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebchatGuestConversations';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24940
25058
  * Update a WebChat deployment
@@ -24952,7 +25070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24952
25070
  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(){/**
24953
25071
  * WebDeployments service.
24954
25072
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
24955
- * @version 217.0.0
25073
+ * @version 218.0.0
24956
25074
  *//**
24957
25075
  * Constructs a new WebDeploymentsApi.
24958
25076
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -25087,7 +25205,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
25087
25205
  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(){/**
25088
25206
  * WebMessaging service.
25089
25207
  * @module purecloud-platform-client-v2/api/WebMessagingApi
25090
- * @version 217.0.0
25208
+ * @version 218.0.0
25091
25209
  *//**
25092
25210
  * Constructs a new WebMessagingApi.
25093
25211
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -25103,7 +25221,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25103
25221
  */return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
25104
25222
  * Widgets service.
25105
25223
  * @module purecloud-platform-client-v2/api/WidgetsApi
25106
- * @version 217.0.0
25224
+ * @version 218.0.0
25107
25225
  *//**
25108
25226
  * Constructs a new WidgetsApi.
25109
25227
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -25112,33 +25230,38 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25112
25230
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
25113
25231
  */function WidgetsApi(apiClient){_classCallCheck(this,WidgetsApi);this.apiClient=apiClient||ApiClient.instance;}/**
25114
25232
  * Delete a Widget deployment
25115
- *
25233
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
25116
25234
  * @param {String} deploymentId Widget Config Id
25235
+ * @deprecated
25117
25236
  */return _createClass(WidgetsApi,[{key:"deleteWidgetsDeployment",value:function deleteWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
25118
25237
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25119
25238
  * Get a Widget deployment
25120
- *
25239
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
25121
25240
  * @param {String} deploymentId Widget Config Id
25241
+ * @deprecated
25122
25242
  */},{key:"getWidgetsDeployment",value:function getWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
25123
25243
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','GET',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25124
25244
  * List Widget deployments
25125
- *
25245
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
25246
+ * @deprecated
25126
25247
  */},{key:"getWidgetsDeployments",value:function getWidgetsDeployments(){return this.apiClient.callApi('/api/v2/widgets/deployments','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25127
25248
  * Create Widget deployment
25128
- *
25249
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
25129
25250
  * @param {Object} body Deployment
25251
+ * @deprecated
25130
25252
  */},{key:"postWidgetsDeployments",value:function postWidgetsDeployments(body){// verify the required parameter 'body' is set
25131
25253
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWidgetsDeployments';}return this.apiClient.callApi('/api/v2/widgets/deployments','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25132
25254
  * Update a Widget deployment
25133
- *
25255
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
25134
25256
  * @param {String} deploymentId Widget Config Id
25135
25257
  * @param {Object} body Deployment
25258
+ * @deprecated
25136
25259
  */},{key:"putWidgetsDeployment",value:function putWidgetsDeployment(deploymentId,body){// verify the required parameter 'deploymentId' is set
25137
25260
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';}// verify the required parameter 'body' is set
25138
25261
  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(){/**
25139
25262
  * WorkforceManagement service.
25140
25263
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
25141
- * @version 217.0.0
25264
+ * @version 218.0.0
25142
25265
  *//**
25143
25266
  * Constructs a new WorkforceManagementApi.
25144
25267
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -26957,7 +27080,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
26957
27080
  * </pre>
26958
27081
  * </p>
26959
27082
  * @module purecloud-platform-client-v2/index
26960
- * @version 217.0.0
27083
+ * @version 218.0.0
26961
27084
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
26962
27085
  * The ApiClient constructor.
26963
27086
  * @property {module:purecloud-platform-client-v2/ApiClient}