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
@@ -681,7 +681,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
681
681
  * @param {string} requestedURL Absolute or relative URL to combine
682
682
  *
683
683
  * @returns {string} The combined full path
684
- */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;};/**
684
+ */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;};/**
685
685
  * Config-specific merge-function which creates a new config-object
686
686
  * by merging two configuration objects together.
687
687
  *
@@ -694,7 +694,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,prop,cas
694
694
  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
695
695
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
696
696
  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
697
- 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
697
+ 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
698
698
  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
699
699
  }else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
700
700
  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
@@ -750,7 +750,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
750
750
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
751
751
  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
752
752
  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
753
- 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
753
+ 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
754
754
  ['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={};/**
755
755
  * Transitional option validator
756
756
  *
@@ -892,7 +892,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
892
892
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
893
893
  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];}}}]);}();/**
894
894
  * @module purecloud-platform-client-v2/ApiClient
895
- * @version 217.0.0
895
+ * @version 218.0.0
896
896
  */var ApiClient=/*#__PURE__*/function(){/**
897
897
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
898
898
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1235,7 +1235,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1235
1235
  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(){/**
1236
1236
  * AgentAssistants service.
1237
1237
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1238
- * @version 217.0.0
1238
+ * @version 218.0.0
1239
1239
  *//**
1240
1240
  * Constructs a new AgentAssistantsApi.
1241
1241
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1336,7 +1336,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
1336
1336
  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(){/**
1337
1337
  * AgentCopilot service.
1338
1338
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1339
- * @version 217.0.0
1339
+ * @version 218.0.0
1340
1340
  *//**
1341
1341
  * Constructs a new AgentCopilotApi.
1342
1342
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1358,7 +1358,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
1358
1358
  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(){/**
1359
1359
  * AgentUI service.
1360
1360
  * @module purecloud-platform-client-v2/api/AgentUIApi
1361
- * @version 217.0.0
1361
+ * @version 218.0.0
1362
1362
  *//**
1363
1363
  * Constructs a new AgentUIApi.
1364
1364
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1392,7 +1392,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
1392
1392
  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(){/**
1393
1393
  * Alerting service.
1394
1394
  * @module purecloud-platform-client-v2/api/AlertingApi
1395
- * @version 217.0.0
1395
+ * @version 218.0.0
1396
1396
  *//**
1397
1397
  * Constructs a new AlertingApi.
1398
1398
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1481,7 +1481,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1481
1481
  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(){/**
1482
1482
  * Analytics service.
1483
1483
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1484
- * @version 217.0.0
1484
+ * @version 218.0.0
1485
1485
  *//**
1486
1486
  * Constructs a new AnalyticsApi.
1487
1487
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2152,7 +2152,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2152
2152
  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(){/**
2153
2153
  * Architect service.
2154
2154
  * @module purecloud-platform-client-v2/api/ArchitectApi
2155
- * @version 217.0.0
2155
+ * @version 218.0.0
2156
2156
  *//**
2157
2157
  * Constructs a new ArchitectApi.
2158
2158
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3270,7 +3270,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3270
3270
  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(){/**
3271
3271
  * Audit service.
3272
3272
  * @module purecloud-platform-client-v2/api/AuditApi
3273
- * @version 217.0.0
3273
+ * @version 218.0.0
3274
3274
  *//**
3275
3275
  * Constructs a new AuditApi.
3276
3276
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3320,7 +3320,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3320
3320
  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(){/**
3321
3321
  * Authorization service.
3322
3322
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3323
- * @version 217.0.0
3323
+ * @version 218.0.0
3324
3324
  *//**
3325
3325
  * Constructs a new AuthorizationApi.
3326
3326
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3740,7 +3740,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3740
3740
  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(){/**
3741
3741
  * Billing service.
3742
3742
  * @module purecloud-platform-client-v2/api/BillingApi
3743
- * @version 217.0.0
3743
+ * @version 218.0.0
3744
3744
  *//**
3745
3745
  * Constructs a new BillingApi.
3746
3746
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3764,7 +3764,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3764
3764
  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(){/**
3765
3765
  * CarrierServices service.
3766
3766
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3767
- * @version 217.0.0
3767
+ * @version 218.0.0
3768
3768
  *//**
3769
3769
  * Constructs a new CarrierServicesApi.
3770
3770
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3784,7 +3784,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3784
3784
  */},{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(){/**
3785
3785
  * Chat service.
3786
3786
  * @module purecloud-platform-client-v2/api/ChatApi
3787
- * @version 217.0.0
3787
+ * @version 218.0.0
3788
3788
  *//**
3789
3789
  * Constructs a new ChatApi.
3790
3790
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3824,7 +3824,6 @@ if(messageId===undefined||messageId===null){throw'Missing the required parameter
3824
3824
  *
3825
3825
  * @param {String} userId userId
3826
3826
  * @param {String} pinnedMessageId pinnedMessageId
3827
- * deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3828
3827
  */},{key:"deleteChatsUserMessagesPin",value:function deleteChatsUserMessagesPin(userId,pinnedMessageId){// verify the required parameter 'userId' is set
3829
3828
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';}// verify the required parameter 'pinnedMessageId' is set
3830
3829
  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']);}/**
@@ -3881,7 +3880,6 @@ if(threadId===undefined||threadId===null){throw'Missing the required parameter "
3881
3880
  * Get information for a 1on1
3882
3881
  *
3883
3882
  * @param {String} userId userId
3884
- * getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3885
3883
  */},{key:"getChatsUser",value:function getChatsUser(userId){// verify the required parameter 'userId' is set
3886
3884
  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']);}/**
3887
3885
  * Get messages by id(s) from a 1on1
@@ -3987,7 +3985,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3987
3985
  *
3988
3986
  * @param {String} userId userId
3989
3987
  * @param {Object} body Pinned Message Ids
3990
- * postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3991
3988
  */},{key:"postChatsUserMessagesPins",value:function postChatsUserMessagesPins(userId,body){// verify the required parameter 'userId' is set
3992
3989
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';}// verify the required parameter 'body' is set
3993
3990
  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']);}/**
@@ -4005,7 +4002,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4005
4002
  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(){/**
4006
4003
  * Coaching service.
4007
4004
  * @module purecloud-platform-client-v2/api/CoachingApi
4008
- * @version 217.0.0
4005
+ * @version 218.0.0
4009
4006
  *//**
4010
4007
  * Constructs a new CoachingApi.
4011
4008
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4158,7 +4155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4158
4155
  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(){/**
4159
4156
  * ContentManagement service.
4160
4157
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4161
- * @version 217.0.0
4158
+ * @version 218.0.0
4162
4159
  *//**
4163
4160
  * Constructs a new ContentManagementApi.
4164
4161
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4440,7 +4437,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4440
4437
  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(){/**
4441
4438
  * Conversations service.
4442
4439
  * @module purecloud-platform-client-v2/api/ConversationsApi
4443
- * @version 217.0.0
4440
+ * @version 218.0.0
4444
4441
  *//**
4445
4442
  * Constructs a new ConversationsApi.
4446
4443
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4503,6 +4500,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4503
4500
  * @param {String} integrationId Integration ID
4504
4501
  */},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4505
4502
  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']);}/**
4503
+ * Delete Twitter messaging integration
4504
+ *
4505
+ * @param {String} integrationId Integration ID
4506
+ */},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4507
+ 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']);}/**
4506
4508
  * Delete a WhatsApp messaging integration
4507
4509
  *
4508
4510
  * @param {String} integrationId Integration ID
@@ -4970,6 +4972,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4970
4972
  * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4971
4973
  */},{key:"getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4972
4974
  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']);}/**
4975
+ * Get twitter oauth settings to patch an integration
4976
+ *
4977
+ * @param {String} integrationId Integration Id of an existing integration that needs to be patched with new oauth settings
4978
+ */},{key:"getConversationsMessagingIntegrationTwitterOauthSettings",value:function getConversationsMessagingIntegrationTwitterOauthSettings(integrationId){// verify the required parameter 'integrationId' is set
4979
+ 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']);}/**
4973
4980
  * Get a list of Integrations
4974
4981
  *
4975
4982
  * @param {Object} opts Optional parameters
@@ -5027,6 +5034,25 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
5027
5034
  * @param {Object} opts.expand Expand instructions for the return value.
5028
5035
  */},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
5029
5036
  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']);}/**
5037
+ * Get a list of Twitter Integrations
5038
+ *
5039
+ * @param {Object} opts Optional parameters
5040
+ * @param {Number} opts.pageSize Page size (default to 25)
5041
+ * @param {Number} opts.pageNumber Page number (default to 1)
5042
+ * @param {Object} opts.expand Expand instructions for the return value.
5043
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
5044
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
5045
+ */},{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']);}/**
5046
+ * Get Twitter messaging integration
5047
+ *
5048
+ * @param {String} integrationId Integration ID
5049
+ * @param {Object} opts Optional parameters
5050
+ * @param {Object} opts.expand Expand instructions for the return value.
5051
+ */},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
5052
+ 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']);}/**
5053
+ * Get twitter oauth settings
5054
+ *
5055
+ */},{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']);}/**
5030
5056
  * Get a list of WhatsApp Integrations
5031
5057
  *
5032
5058
  * @param {Object} opts Optional parameters
@@ -5443,6 +5469,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5443
5469
  */},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
5444
5470
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
5445
5471
  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']);}/**
5472
+ * Update a Twitter messaging integration
5473
+ *
5474
+ * @param {String} integrationId Integration ID
5475
+ * @param {Object} body TwitterIntegrationUpdateRequest
5476
+ */},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
5477
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
5478
+ 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']);}/**
5446
5479
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
5447
5480
  * 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
5448
5481
  * @param {String} integrationId Integration ID
@@ -6011,6 +6044,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6011
6044
  * @param {Object} body OpenIntegrationRequest
6012
6045
  */},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
6013
6046
  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']);}/**
6047
+ * Create Twitter Integration
6048
+ *
6049
+ * @param {Object} body TwitterIntegrationRequest
6050
+ */},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
6051
+ 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']);}/**
6014
6052
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
6015
6053
  * [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.
6016
6054
  * @param {Object} body WhatsAppIntegrationRequest
@@ -6060,6 +6098,14 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
6060
6098
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
6061
6099
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
6062
6100
  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']);}/**
6101
+ * Create an Agent-Type video conference and assign an agent to it
6102
+ *
6103
+ * @param {String} conversationId conversationId
6104
+ * @param {String} communicationId communicationId
6105
+ * postConversationsVideoAgentconferenceCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6106
+ */},{key:"postConversationsVideoAgentconferenceCommunication",value:function postConversationsVideoAgentconferenceCommunication(conversationId,communicationId){// verify the required parameter 'conversationId' is set
6107
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';}// verify the required parameter 'communicationId' is set
6108
+ 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']);}/**
6063
6109
  * Apply wrap-up for this conversation communication
6064
6110
  *
6065
6111
  * @param {String} conversationId conversationId
@@ -6230,7 +6276,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
6230
6276
  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(){/**
6231
6277
  * DataExtensions service.
6232
6278
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
6233
- * @version 217.0.0
6279
+ * @version 218.0.0
6234
6280
  *//**
6235
6281
  * Constructs a new DataExtensionsApi.
6236
6282
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -6251,7 +6297,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
6251
6297
  */},{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(){/**
6252
6298
  * DataPrivacy service.
6253
6299
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
6254
- * @version 217.0.0
6300
+ * @version 218.0.0
6255
6301
  *//**
6256
6302
  * Constructs a new DataPrivacyApi.
6257
6303
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -6291,7 +6337,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6291
6337
  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(){/**
6292
6338
  * Downloads service.
6293
6339
  * @module purecloud-platform-client-v2/api/DownloadsApi
6294
- * @version 217.0.0
6340
+ * @version 218.0.0
6295
6341
  *//**
6296
6342
  * Constructs a new DownloadsApi.
6297
6343
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -6310,7 +6356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6310
6356
  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(){/**
6311
6357
  * Emails service.
6312
6358
  * @module purecloud-platform-client-v2/api/EmailsApi
6313
- * @version 217.0.0
6359
+ * @version 218.0.0
6314
6360
  *//**
6315
6361
  * Constructs a new EmailsApi.
6316
6362
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -6328,7 +6374,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
6328
6374
  */},{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(){/**
6329
6375
  * EmployeeEngagement service.
6330
6376
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
6331
- * @version 217.0.0
6377
+ * @version 218.0.0
6332
6378
  *//**
6333
6379
  * Constructs a new EmployeeEngagementApi.
6334
6380
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -6366,7 +6412,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6366
6412
  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(){/**
6367
6413
  * Events service.
6368
6414
  * @module purecloud-platform-client-v2/api/EventsApi
6369
- * @version 217.0.0
6415
+ * @version 218.0.0
6370
6416
  *//**
6371
6417
  * Constructs a new EventsApi.
6372
6418
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -6391,7 +6437,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6391
6437
  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(){/**
6392
6438
  * ExternalContacts service.
6393
6439
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
6394
- * @version 217.0.0
6440
+ * @version 218.0.0
6395
6441
  *//**
6396
6442
  * Constructs a new ExternalContactsApi.
6397
6443
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6510,6 +6556,18 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
6510
6556
  * @param {Array.<String>} opts.expand which fields, if any, to expand
6511
6557
  * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
6512
6558
  */},{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']);}/**
6559
+ * Get export for exportId
6560
+ *
6561
+ * @param {String} exportId Export id
6562
+ */},{key:"getExternalcontactsContactsExport",value:function getExternalcontactsContactsExport(exportId){// verify the required parameter 'exportId' is set
6563
+ 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']);}/**
6564
+ * List exports for organization
6565
+ *
6566
+ * @param {Object} opts Optional parameters
6567
+ * @param {Array.<String>} opts.divisionIds Division IDs of entities
6568
+ * @param {String} opts.after The cursor that points to the end of the set of entities
6569
+ * @param {Number} opts.pageSize Number of entities to return
6570
+ */},{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']);}/**
6513
6571
  * Get a schema
6514
6572
  *
6515
6573
  * @param {String} schemaId Schema ID
@@ -6866,6 +6924,11 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
6866
6924
  * @param {Object} body ExternalContact
6867
6925
  */},{key:"postExternalcontactsContacts",value:function postExternalcontactsContacts(body){// verify the required parameter 'body' is set
6868
6926
  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']);}/**
6927
+ * Create bulk export
6928
+ *
6929
+ * @param {Object} body Export
6930
+ */},{key:"postExternalcontactsContactsExports",value:function postExternalcontactsContactsExports(body){// verify the required parameter 'body' is set
6931
+ 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']);}/**
6869
6932
  * Create a schema
6870
6933
  *
6871
6934
  * @param {Object} body Schema
@@ -7033,7 +7096,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
7033
7096
  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(){/**
7034
7097
  * Fax service.
7035
7098
  * @module purecloud-platform-client-v2/api/FaxApi
7036
- * @version 217.0.0
7099
+ * @version 218.0.0
7037
7100
  *//**
7038
7101
  * Constructs a new FaxApi.
7039
7102
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -7082,7 +7145,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7082
7145
  */},{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(){/**
7083
7146
  * Flows service.
7084
7147
  * @module purecloud-platform-client-v2/api/FlowsApi
7085
- * @version 217.0.0
7148
+ * @version 218.0.0
7086
7149
  *//**
7087
7150
  * Constructs a new FlowsApi.
7088
7151
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -7130,7 +7193,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7130
7193
  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(){/**
7131
7194
  * Gamification service.
7132
7195
  * @module purecloud-platform-client-v2/api/GamificationApi
7133
- * @version 217.0.0
7196
+ * @version 218.0.0
7134
7197
  *//**
7135
7198
  * Constructs a new GamificationApi.
7136
7199
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -7689,7 +7752,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7689
7752
  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(){/**
7690
7753
  * GeneralDataProtectionRegulation service.
7691
7754
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
7692
- * @version 217.0.0
7755
+ * @version 218.0.0
7693
7756
  *//**
7694
7757
  * Constructs a new GeneralDataProtectionRegulationApi.
7695
7758
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -7724,7 +7787,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7724
7787
  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(){/**
7725
7788
  * Geolocation service.
7726
7789
  * @module purecloud-platform-client-v2/api/GeolocationApi
7727
- * @version 217.0.0
7790
+ * @version 218.0.0
7728
7791
  *//**
7729
7792
  * Constructs a new GeolocationApi.
7730
7793
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7758,7 +7821,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7758
7821
  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(){/**
7759
7822
  * Greetings service.
7760
7823
  * @module purecloud-platform-client-v2/api/GreetingsApi
7761
- * @version 217.0.0
7824
+ * @version 218.0.0
7762
7825
  *//**
7763
7826
  * Constructs a new GreetingsApi.
7764
7827
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7865,7 +7928,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7865
7928
  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(){/**
7866
7929
  * Groups service.
7867
7930
  * @module purecloud-platform-client-v2/api/GroupsApi
7868
- * @version 217.0.0
7931
+ * @version 218.0.0
7869
7932
  *//**
7870
7933
  * Constructs a new GroupsApi.
7871
7934
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7998,7 +8061,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7998
8061
  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(){/**
7999
8062
  * IdentityProvider service.
8000
8063
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8001
- * @version 217.0.0
8064
+ * @version 218.0.0
8002
8065
  *//**
8003
8066
  * Constructs a new IdentityProviderApi.
8004
8067
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -8154,7 +8217,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8154
8217
  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(){/**
8155
8218
  * InfrastructureAsCode service.
8156
8219
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8157
- * @version 217.0.0
8220
+ * @version 218.0.0
8158
8221
  *//**
8159
8222
  * Constructs a new InfrastructureAsCodeApi.
8160
8223
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -8208,7 +8271,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
8208
8271
  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(){/**
8209
8272
  * Integrations service.
8210
8273
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8211
- * @version 217.0.0
8274
+ * @version 218.0.0
8212
8275
  *//**
8213
8276
  * Constructs a new IntegrationsApi.
8214
8277
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -8840,7 +8903,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8840
8903
  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(){/**
8841
8904
  * Journey service.
8842
8905
  * @module purecloud-platform-client-v2/api/JourneyApi
8843
- * @version 217.0.0
8906
+ * @version 218.0.0
8844
8907
  *//**
8845
8908
  * Constructs a new JourneyApi.
8846
8909
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -9320,7 +9383,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
9320
9383
  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(){/**
9321
9384
  * Knowledge service.
9322
9385
  * @module purecloud-platform-client-v2/api/KnowledgeApi
9323
- * @version 217.0.0
9386
+ * @version 218.0.0
9324
9387
  *//**
9325
9388
  * Constructs a new KnowledgeApi.
9326
9389
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -9694,7 +9757,6 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
9694
9757
  * @param {Object} languageCode Language code, format: iso2-LOCALE
9695
9758
  * @param {String} uploadId UploadId
9696
9759
  * @deprecated
9697
- * getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9698
9760
  */},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
9699
9761
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
9700
9762
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
@@ -10161,7 +10223,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10161
10223
  *
10162
10224
  * @param {String} knowledgeBaseId Knowledge base ID
10163
10225
  * @param {Object} body
10164
- * postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10165
10226
  */},{key:"postKnowledgeKnowledgebaseDocumentsBulkRemove",value:function postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
10166
10227
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';}// verify the required parameter 'body' is set
10167
10228
  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']);}/**
@@ -10169,7 +10230,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10169
10230
  *
10170
10231
  * @param {String} knowledgeBaseId Knowledge base ID
10171
10232
  * @param {Object} body
10172
- * postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10173
10233
  */},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
10174
10234
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
10175
10235
  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']);}/**
@@ -10207,7 +10267,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
10207
10267
  *
10208
10268
  * @param {String} knowledgeBaseId Knowledge base ID
10209
10269
  * @param {Object} body
10210
- * postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10211
10270
  */},{key:"postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd",value:function postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
10212
10271
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';}// verify the required parameter 'body' is set
10213
10272
  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']);}/**
@@ -10249,7 +10308,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10249
10308
  * @param {Object} languageCode Language code, format: iso2-LOCALE
10250
10309
  * @param {Object} body
10251
10310
  * @deprecated
10252
- * postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10253
10311
  */},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
10254
10312
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
10255
10313
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
@@ -10388,7 +10446,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
10388
10446
  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(){/**
10389
10447
  * LanguageUnderstanding service.
10390
10448
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
10391
- * @version 217.0.0
10449
+ * @version 218.0.0
10392
10450
  *//**
10393
10451
  * Constructs a new LanguageUnderstandingApi.
10394
10452
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -10647,7 +10705,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
10647
10705
  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(){/**
10648
10706
  * Languages service.
10649
10707
  * @module purecloud-platform-client-v2/api/LanguagesApi
10650
- * @version 217.0.0
10708
+ * @version 218.0.0
10651
10709
  *//**
10652
10710
  * Constructs a new LanguagesApi.
10653
10711
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -10702,7 +10760,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10702
10760
  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(){/**
10703
10761
  * Learning service.
10704
10762
  * @module purecloud-platform-client-v2/api/LearningApi
10705
- * @version 217.0.0
10763
+ * @version 218.0.0
10706
10764
  *//**
10707
10765
  * Constructs a new LearningApi.
10708
10766
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -10973,7 +11031,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
10973
11031
  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(){/**
10974
11032
  * License service.
10975
11033
  * @module purecloud-platform-client-v2/api/LicenseApi
10976
- * @version 217.0.0
11034
+ * @version 218.0.0
10977
11035
  *//**
10978
11036
  * Constructs a new LicenseApi.
10979
11037
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -11027,7 +11085,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
11027
11085
  */},{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(){/**
11028
11086
  * Locations service.
11029
11087
  * @module purecloud-platform-client-v2/api/LocationsApi
11030
- * @version 217.0.0
11088
+ * @version 218.0.0
11031
11089
  *//**
11032
11090
  * Constructs a new LocationsApi.
11033
11091
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -11086,7 +11144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11086
11144
  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(){/**
11087
11145
  * LogCapture service.
11088
11146
  * @module purecloud-platform-client-v2/api/LogCaptureApi
11089
- * @version 217.0.0
11147
+ * @version 218.0.0
11090
11148
  *//**
11091
11149
  * Constructs a new LogCaptureApi.
11092
11150
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -11136,7 +11194,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
11136
11194
  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(){/**
11137
11195
  * Messaging service.
11138
11196
  * @module purecloud-platform-client-v2/api/MessagingApi
11139
- * @version 217.0.0
11197
+ * @version 218.0.0
11140
11198
  *//**
11141
11199
  * Constructs a new MessagingApi.
11142
11200
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -11226,7 +11284,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11226
11284
  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(){/**
11227
11285
  * MobileDevices service.
11228
11286
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
11229
- * @version 217.0.0
11287
+ * @version 218.0.0
11230
11288
  *//**
11231
11289
  * Constructs a new MobileDevicesApi.
11232
11290
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -11265,7 +11323,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11265
11323
  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(){/**
11266
11324
  * Notifications service.
11267
11325
  * @module purecloud-platform-client-v2/api/NotificationsApi
11268
- * @version 217.0.0
11326
+ * @version 218.0.0
11269
11327
  *//**
11270
11328
  * Constructs a new NotificationsApi.
11271
11329
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -11322,7 +11380,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
11322
11380
  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(){/**
11323
11381
  * OAuth service.
11324
11382
  * @module purecloud-platform-client-v2/api/OAuthApi
11325
- * @version 217.0.0
11383
+ * @version 218.0.0
11326
11384
  *//**
11327
11385
  * Constructs a new OAuthApi.
11328
11386
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -11407,7 +11465,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
11407
11465
  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(){/**
11408
11466
  * Objects service.
11409
11467
  * @module purecloud-platform-client-v2/api/ObjectsApi
11410
- * @version 217.0.0
11468
+ * @version 218.0.0
11411
11469
  *//**
11412
11470
  * Constructs a new ObjectsApi.
11413
11471
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -11478,7 +11536,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
11478
11536
  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(){/**
11479
11537
  * OperationalEvents service.
11480
11538
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
11481
- * @version 217.0.0
11539
+ * @version 218.0.0
11482
11540
  *//**
11483
11541
  * Constructs a new OperationalEventsApi.
11484
11542
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -11509,7 +11567,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
11509
11567
  */},{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(){/**
11510
11568
  * Organization service.
11511
11569
  * @module purecloud-platform-client-v2/api/OrganizationApi
11512
- * @version 217.0.0
11570
+ * @version 218.0.0
11513
11571
  *//**
11514
11572
  * Constructs a new OrganizationApi.
11515
11573
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -11559,33 +11617,11 @@ if(requestId===undefined||requestId===null){throw'Missing the required parameter
11559
11617
  * @param {String} namespaceName The namespace to fetch limits for
11560
11618
  */},{key:"getOrganizationsLimitsNamespace",value:function getOrganizationsLimitsNamespace(namespaceName){// verify the required parameter 'namespaceName' is set
11561
11619
  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']);}/**
11562
- * 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.
11563
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
11564
- * @param {String} namespaceName The namespace to get
11565
- * @param {Object} opts Optional parameters
11566
- * @param {String} opts.cursor Cursor provided when retrieving the last page
11567
- * @param {String} opts.entityId entity id of the count
11568
- * @param {String} opts.userId userid of the count
11569
- * @deprecated
11570
- */},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
11571
- 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']);}/**
11572
11620
  * Get the default limits in a namespace for an organization
11573
11621
  *
11574
11622
  * @param {String} namespaceName The namespace to fetch defaults limits for
11575
11623
  */},{key:"getOrganizationsLimitsNamespaceDefaults",value:function getOrganizationsLimitsNamespaceDefaults(namespaceName){// verify the required parameter 'namespaceName' is set
11576
11624
  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']);}/**
11577
- * 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.
11578
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
11579
- * @param {String} namespaceName The namespace to get
11580
- * @param {String} limitName The limit to get
11581
- * @param {Object} opts Optional parameters
11582
- * @param {String} opts.entityId entity id of the count
11583
- * @param {String} opts.userId userid of the count
11584
- * @param {String} opts.cursor Cursor provided when retrieving the last page
11585
- * @deprecated
11586
- */},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
11587
- if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
11588
- 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']);}/**
11589
11625
  * Get the available limit namespaces
11590
11626
  *
11591
11627
  * @param {Object} opts Optional parameters
@@ -11636,7 +11672,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11636
11672
  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(){/**
11637
11673
  * OrganizationAuthorization service.
11638
11674
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
11639
- * @version 217.0.0
11675
+ * @version 218.0.0
11640
11676
  *//**
11641
11677
  * Constructs a new OrganizationAuthorizationApi.
11642
11678
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -11970,7 +12006,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
11970
12006
  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(){/**
11971
12007
  * Outbound service.
11972
12008
  * @module purecloud-platform-client-v2/api/OutboundApi
11973
- * @version 217.0.0
12009
+ * @version 218.0.0
11974
12010
  *//**
11975
12011
  * Constructs a new OutboundApi.
11976
12012
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -13087,7 +13123,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13087
13123
  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(){/**
13088
13124
  * Presence service.
13089
13125
  * @module purecloud-platform-client-v2/api/PresenceApi
13090
- * @version 217.0.0
13126
+ * @version 218.0.0
13091
13127
  *//**
13092
13128
  * Constructs a new PresenceApi.
13093
13129
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -13260,7 +13296,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13260
13296
  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(){/**
13261
13297
  * ProcessAutomation service.
13262
13298
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
13263
- * @version 217.0.0
13299
+ * @version 218.0.0
13264
13300
  *//**
13265
13301
  * Constructs a new ProcessAutomationApi.
13266
13302
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -13323,7 +13359,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
13323
13359
  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(){/**
13324
13360
  * Quality service.
13325
13361
  * @module purecloud-platform-client-v2/api/QualityApi
13326
- * @version 217.0.0
13362
+ * @version 218.0.0
13327
13363
  *//**
13328
13364
  * Constructs a new QualityApi.
13329
13365
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -13782,7 +13818,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13782
13818
  *
13783
13819
  * @param {String} formId Form ID
13784
13820
  * @param {Object} body AI Scoring Settings
13785
- * putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13786
13821
  */},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
13787
13822
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
13788
13823
  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']);}/**
@@ -13802,7 +13837,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
13802
13837
  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(){/**
13803
13838
  * Recording service.
13804
13839
  * @module purecloud-platform-client-v2/api/RecordingApi
13805
- * @version 217.0.0
13840
+ * @version 218.0.0
13806
13841
  *//**
13807
13842
  * Constructs a new RecordingApi.
13808
13843
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13901,8 +13936,9 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
13901
13936
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
13902
13937
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
13903
13938
  * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
13939
+ * @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
13904
13940
  */},{key:"getConversationRecordings",value:function getConversationRecordings(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
13905
- 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']);}/**
13941
+ 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']);}/**
13906
13942
  * Gets a single orphan recording
13907
13943
  *
13908
13944
  * @param {String} orphanId Orphan ID
@@ -14200,7 +14236,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14200
14236
  */},{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(){/**
14201
14237
  * ResponseManagement service.
14202
14238
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
14203
- * @version 217.0.0
14239
+ * @version 218.0.0
14204
14240
  *//**
14205
14241
  * Constructs a new ResponseManagementApi.
14206
14242
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -14321,7 +14357,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
14321
14357
  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(){/**
14322
14358
  * Routing service.
14323
14359
  * @module purecloud-platform-client-v2/api/RoutingApi
14324
- * @version 217.0.0
14360
+ * @version 218.0.0
14325
14361
  *//**
14326
14362
  * Constructs a new RoutingApi.
14327
14363
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -15366,7 +15402,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15366
15402
  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(){/**
15367
15403
  * SCIM service.
15368
15404
  * @module purecloud-platform-client-v2/api/SCIMApi
15369
- * @version 217.0.0
15405
+ * @version 218.0.0
15370
15406
  *//**
15371
15407
  * Constructs a new SCIMApi.
15372
15408
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -15591,7 +15627,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15591
15627
  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(){/**
15592
15628
  * ScreenRecording service.
15593
15629
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
15594
- * @version 217.0.0
15630
+ * @version 218.0.0
15595
15631
  *//**
15596
15632
  * Constructs a new ScreenRecordingApi.
15597
15633
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -15606,7 +15642,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15606
15642
  */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(){/**
15607
15643
  * Scripts service.
15608
15644
  * @module purecloud-platform-client-v2/api/ScriptsApi
15609
- * @version 217.0.0
15645
+ * @version 218.0.0
15610
15646
  *//**
15611
15647
  * Constructs a new ScriptsApi.
15612
15648
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -15742,7 +15778,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
15742
15778
  */},{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(){/**
15743
15779
  * Search service.
15744
15780
  * @module purecloud-platform-client-v2/api/SearchApi
15745
- * @version 217.0.0
15781
+ * @version 218.0.0
15746
15782
  *//**
15747
15783
  * Constructs a new SearchApi.
15748
15784
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -15914,7 +15950,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15914
15950
  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(){/**
15915
15951
  * Settings service.
15916
15952
  * @module purecloud-platform-client-v2/api/SettingsApi
15917
- * @version 217.0.0
15953
+ * @version 218.0.0
15918
15954
  *//**
15919
15955
  * Constructs a new SettingsApi.
15920
15956
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -15964,7 +16000,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
15964
16000
  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(){/**
15965
16001
  * SocialMedia service.
15966
16002
  * @module purecloud-platform-client-v2/api/SocialMediaApi
15967
- * @version 217.0.0
16003
+ * @version 218.0.0
15968
16004
  *//**
15969
16005
  * Constructs a new SocialMediaApi.
15970
16006
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -15972,13 +16008,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15972
16008
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
15973
16009
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
15974
16010
  */function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
16011
+ * Delete an escalation rule.
16012
+ *
16013
+ * @param {String} escalationRuleId escalationRuleId
16014
+ */return _createClass(SocialMediaApi,[{key:"deleteSocialmediaEscalationrule",value:function deleteSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
16015
+ 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']);}/**
16016
+ * Delete a social media message.
16017
+ *
16018
+ * @param {String} messageId messageId
16019
+ * deleteSocialmediaMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16020
+ */},{key:"deleteSocialmediaMessage",value:function deleteSocialmediaMessage(messageId){// verify the required parameter 'messageId' is set
16021
+ 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']);}/**
15975
16022
  * Delete a social topic.
15976
16023
  *
15977
16024
  * @param {String} topicId topicId
15978
16025
  * @param {Object} opts Optional parameters
15979
16026
  * @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.
15980
- * deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15981
- */return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16027
+ */},{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
15982
16028
  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']);}/**
15983
16029
  * Delete a Facebook data ingestion rule.
15984
16030
  *
@@ -15986,7 +16032,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
15986
16032
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
15987
16033
  * @param {Object} opts Optional parameters
15988
16034
  * @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)
15989
- * deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15990
16035
  */},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
15991
16036
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
15992
16037
  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']);}/**
@@ -16006,25 +16051,68 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
16006
16051
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
16007
16052
  * @param {Object} opts Optional parameters
16008
16053
  * @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)
16009
- * deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16010
16054
  */},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16011
16055
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
16012
16056
  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']);}/**
16057
+ * Get status for async query for social media aggregates
16058
+ *
16059
+ * @param {String} jobId jobId
16060
+ */},{key:"getSocialmediaAnalyticsAggregatesJob",value:function getSocialmediaAnalyticsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
16061
+ 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']);}/**
16062
+ * Fetch a page of results for an async social media query
16063
+ *
16064
+ * @param {String} jobId jobId
16065
+ * @param {Object} opts Optional parameters
16066
+ * @param {String} opts.cursor Cursor token to retrieve next page
16067
+ */},{key:"getSocialmediaAnalyticsAggregatesJobResults",value:function getSocialmediaAnalyticsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
16068
+ 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']);}/**
16069
+ * Get status for async query for social media messages job
16070
+ *
16071
+ * @param {String} jobId jobId
16072
+ */},{key:"getSocialmediaAnalyticsMessagesJob",value:function getSocialmediaAnalyticsMessagesJob(jobId){// verify the required parameter 'jobId' is set
16073
+ 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']);}/**
16074
+ * Fetch a page of results for an async social media messages query
16075
+ *
16076
+ * @param {String} jobId jobId
16077
+ * @param {Object} opts Optional parameters
16078
+ * @param {String} opts.cursor Cursor token to retrieve next page
16079
+ */},{key:"getSocialmediaAnalyticsMessagesJobResults",value:function getSocialmediaAnalyticsMessagesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
16080
+ 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']);}/**
16081
+ * Get a single escalation rule.
16082
+ *
16083
+ * @param {String} escalationRuleId escalationRuleId
16084
+ */},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
16085
+ 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']);}/**
16086
+ * Retrieve all escalation rules for a division.
16087
+ *
16088
+ * @param {String} divisionId One division ID
16089
+ * @param {Object} opts Optional parameters
16090
+ * @param {Number} opts.pageNumber Page number (default to 1)
16091
+ * @param {Number} opts.pageSize Page size (default to 25)
16092
+ */},{key:"getSocialmediaEscalationrules",value:function getSocialmediaEscalationrules(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
16093
+ 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']);}/**
16013
16094
  * Get a single social topic.
16014
16095
  *
16015
16096
  * @param {String} topicId topicId
16016
16097
  * @param {Object} opts Optional parameters
16017
16098
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16018
- * getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16019
16099
  */},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16020
16100
  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']);}/**
16101
+ * Retrieve all social topic data ingestion rules with pagination.
16102
+ *
16103
+ * @param {String} topicId topicId
16104
+ * @param {Object} opts Optional parameters
16105
+ * @param {Number} opts.pageNumber Page number (default to 1)
16106
+ * @param {Number} opts.pageSize Page size (default to 25)
16107
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16108
+ */},{key:"getSocialmediaTopicDataingestionrules",value:function getSocialmediaTopicDataingestionrules(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16109
+ 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']);}/**
16021
16110
  * Get a single Facebook data ingestion rule.
16022
16111
  *
16023
16112
  * @param {String} topicId topicId
16024
16113
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
16025
16114
  * @param {Object} opts Optional parameters
16026
16115
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16027
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16028
16116
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16029
16117
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
16030
16118
  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']);}/**
@@ -16035,7 +16123,6 @@ if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Mi
16035
16123
  * @param {String} dataIngestionRuleVersion version
16036
16124
  * @param {Object} opts Optional parameters
16037
16125
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
16038
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16039
16126
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16040
16127
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
16041
16128
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
@@ -16048,7 +16135,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
16048
16135
  * @param {Number} opts.pageNumber Page number (default to 1)
16049
16136
  * @param {Number} opts.pageSize Page size (default to 25)
16050
16137
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16051
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16052
16138
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16053
16139
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
16054
16140
  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']);}/**
@@ -16092,7 +16178,6 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
16092
16178
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
16093
16179
  * @param {Object} opts Optional parameters
16094
16180
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16095
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16096
16181
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16097
16182
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
16098
16183
  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']);}/**
@@ -16103,7 +16188,6 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
16103
16188
  * @param {String} dataIngestionRuleVersion version
16104
16189
  * @param {Object} opts Optional parameters
16105
16190
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
16106
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16107
16191
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16108
16192
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
16109
16193
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
@@ -16116,7 +16200,6 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'
16116
16200
  * @param {Number} opts.pageNumber Page number (default to 1)
16117
16201
  * @param {Number} opts.pageSize Page size (default to 25)
16118
16202
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16119
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16120
16203
  */},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16121
16204
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
16122
16205
  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']);}/**
@@ -16127,14 +16210,12 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Miss
16127
16210
  * @param {Number} opts.pageSize Page size (default to 25)
16128
16211
  * @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.
16129
16212
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
16130
- * getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16131
16213
  */},{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']);}/**
16132
16214
  * Update a social topic.
16133
16215
  *
16134
16216
  * @param {String} topicId topicId
16135
16217
  * @param {Object} opts Optional parameters
16136
16218
  * @param {Object} opts.body
16137
- * patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16138
16219
  */},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16139
16220
  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']);}/**
16140
16221
  * Update the status of a Facebook data ingestion rule.
@@ -16143,7 +16224,6 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16143
16224
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
16144
16225
  * @param {Object} opts Optional parameters
16145
16226
  * @param {Object} opts.body
16146
- * patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16147
16227
  */},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16148
16228
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
16149
16229
  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']);}/**
@@ -16163,16 +16243,36 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
16163
16243
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
16164
16244
  * @param {Object} opts Optional parameters
16165
16245
  * @param {Object} opts.body
16166
- * patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16167
16246
  */},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16168
16247
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
16169
16248
  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']);}/**
16249
+ * Query for social media aggregates asynchronously
16250
+ *
16251
+ * @param {Object} body query
16252
+ */},{key:"postSocialmediaAnalyticsAggregatesJobs",value:function postSocialmediaAnalyticsAggregatesJobs(body){// verify the required parameter 'body' is set
16253
+ 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']);}/**
16254
+ * Query for social media messages asynchronously
16255
+ *
16256
+ * @param {Object} body query
16257
+ */},{key:"postSocialmediaAnalyticsMessagesJobs",value:function postSocialmediaAnalyticsMessagesJobs(body){// verify the required parameter 'body' is set
16258
+ 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']);}/**
16259
+ * Create an escalation rule.
16260
+ *
16261
+ * @param {Object} opts Optional parameters
16262
+ * @param {Object} opts.body
16263
+ */},{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']);}/**
16264
+ * Escalate message to a conversation manually
16265
+ *
16266
+ * @param {String} divisionId One division ID
16267
+ * @param {Object} opts Optional parameters
16268
+ * @param {Object} opts.body
16269
+ */},{key:"postSocialmediaEscalationsMessages",value:function postSocialmediaEscalationsMessages(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
16270
+ 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']);}/**
16170
16271
  * Create an Facebook data ingestion rule.
16171
16272
  *
16172
16273
  * @param {String} topicId topicId
16173
16274
  * @param {Object} opts Optional parameters
16174
16275
  * @param {Object} opts.body
16175
- * postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16176
16276
  */},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16177
16277
  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']);}/**
16178
16278
  * Create an open data ingestion rule.
@@ -16188,22 +16288,31 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16188
16288
  * @param {String} topicId topicId
16189
16289
  * @param {Object} opts Optional parameters
16190
16290
  * @param {Object} opts.body
16191
- * postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16192
16291
  */},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16193
16292
  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']);}/**
16194
16293
  * Create a social topic.
16195
16294
  *
16196
16295
  * @param {Object} opts Optional parameters
16197
16296
  * @param {Object} opts.body
16198
- * postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16199
16297
  */},{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']);}/**
16298
+ * Retrieves historical tweet count for search terms, optional countries list and the current limit and usage for the organization.
16299
+ *
16300
+ * @param {Object} body TwitterDataHistoricalTweetRequest
16301
+ */},{key:"postSocialmediaTwitterHistoricalTweets",value:function postSocialmediaTwitterHistoricalTweets(body){// verify the required parameter 'body' is set
16302
+ 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']);}/**
16303
+ * Update the escalation rule.
16304
+ *
16305
+ * @param {String} escalationRuleId escalationRuleId
16306
+ * @param {Object} opts Optional parameters
16307
+ * @param {Object} opts.body
16308
+ */},{key:"putSocialmediaEscalationrule",value:function putSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
16309
+ 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']);}/**
16200
16310
  * Update the Facebook data ingestion rule.
16201
16311
  *
16202
16312
  * @param {String} topicId topicId
16203
16313
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
16204
16314
  * @param {Object} opts Optional parameters
16205
16315
  * @param {Object} opts.body
16206
- * putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16207
16316
  */},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16208
16317
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
16209
16318
  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']);}/**
@@ -16223,13 +16332,12 @@ if(openId===undefined||openId===null){throw'Missing the required parameter "open
16223
16332
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
16224
16333
  * @param {Object} opts Optional parameters
16225
16334
  * @param {Object} opts.body
16226
- * putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16227
16335
  */},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
16228
16336
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
16229
16337
  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(){/**
16230
16338
  * SpeechTextAnalytics service.
16231
16339
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
16232
- * @version 217.0.0
16340
+ * @version 218.0.0
16233
16341
  *//**
16234
16342
  * Constructs a new SpeechTextAnalyticsApi.
16235
16343
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -16552,7 +16660,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16552
16660
  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(){/**
16553
16661
  * Stations service.
16554
16662
  * @module purecloud-platform-client-v2/api/StationsApi
16555
- * @version 217.0.0
16663
+ * @version 218.0.0
16556
16664
  *//**
16557
16665
  * Constructs a new StationsApi.
16558
16666
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -16584,7 +16692,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
16584
16692
  */},{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(){/**
16585
16693
  * Suggest service.
16586
16694
  * @module purecloud-platform-client-v2/api/SuggestApi
16587
- * @version 217.0.0
16695
+ * @version 218.0.0
16588
16696
  *//**
16589
16697
  * Constructs a new SuggestApi.
16590
16698
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -16624,7 +16732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16624
16732
  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(){/**
16625
16733
  * TaskManagement service.
16626
16734
  * @module purecloud-platform-client-v2/api/TaskManagementApi
16627
- * @version 217.0.0
16735
+ * @version 218.0.0
16628
16736
  *//**
16629
16737
  * Constructs a new TaskManagementApi.
16630
16738
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -17130,7 +17238,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
17130
17238
  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(){/**
17131
17239
  * Teams service.
17132
17240
  * @module purecloud-platform-client-v2/api/TeamsApi
17133
- * @version 217.0.0
17241
+ * @version 218.0.0
17134
17242
  *//**
17135
17243
  * Constructs a new TeamsApi.
17136
17244
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -17210,7 +17318,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17210
17318
  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(){/**
17211
17319
  * Telephony service.
17212
17320
  * @module purecloud-platform-client-v2/api/TelephonyApi
17213
- * @version 217.0.0
17321
+ * @version 218.0.0
17214
17322
  *//**
17215
17323
  * Constructs a new TelephonyApi.
17216
17324
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -17257,7 +17365,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
17257
17365
  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(){/**
17258
17366
  * TelephonyProvidersEdge service.
17259
17367
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
17260
- * @version 217.0.0
17368
+ * @version 218.0.0
17261
17369
  *//**
17262
17370
  * Constructs a new TelephonyProvidersEdgeApi.
17263
17371
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -17538,7 +17646,8 @@ if(extensionPoolId===undefined||extensionPoolId===null){throw'Missing the requir
17538
17646
  * @param {Number} opts.pageNumber Page number (default to 1)
17539
17647
  * @param {String} opts.sortBy Sort by
17540
17648
  * @param {String} opts._number Deprecated, filtering by number not supported
17541
- */},{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']);}/**
17649
+ * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
17650
+ */},{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']);}/**
17542
17651
  * Get a pageable list of basic extension pool objects filterable by query parameters.
17543
17652
  * 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.
17544
17653
  * @param {Object} opts Optional parameters
@@ -18092,7 +18201,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
18092
18201
  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(){/**
18093
18202
  * Textbots service.
18094
18203
  * @module purecloud-platform-client-v2/api/TextbotsApi
18095
- * @version 217.0.0
18204
+ * @version 218.0.0
18096
18205
  *//**
18097
18206
  * Constructs a new TextbotsApi.
18098
18207
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -18127,7 +18236,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
18127
18236
  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(){/**
18128
18237
  * Tokens service.
18129
18238
  * @module purecloud-platform-client-v2/api/TokensApi
18130
- * @version 217.0.0
18239
+ * @version 218.0.0
18131
18240
  *//**
18132
18241
  * Constructs a new TokensApi.
18133
18242
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -18161,7 +18270,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18161
18270
  */},{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(){/**
18162
18271
  * Uploads service.
18163
18272
  * @module purecloud-platform-client-v2/api/UploadsApi
18164
- * @version 217.0.0
18273
+ * @version 218.0.0
18165
18274
  *//**
18166
18275
  * Constructs a new UploadsApi.
18167
18276
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -18224,7 +18333,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18224
18333
  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(){/**
18225
18334
  * Usage service.
18226
18335
  * @module purecloud-platform-client-v2/api/UsageApi
18227
- * @version 217.0.0
18336
+ * @version 218.0.0
18228
18337
  *//**
18229
18338
  * Constructs a new UsageApi.
18230
18339
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -18278,7 +18387,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18278
18387
  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(){/**
18279
18388
  * UserRecordings service.
18280
18389
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
18281
- * @version 217.0.0
18390
+ * @version 218.0.0
18282
18391
  *//**
18283
18392
  * Constructs a new UserRecordingsApi.
18284
18393
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -18335,7 +18444,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
18335
18444
  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(){/**
18336
18445
  * Users service.
18337
18446
  * @module purecloud-platform-client-v2/api/UsersApi
18338
- * @version 217.0.0
18447
+ * @version 218.0.0
18339
18448
  *//**
18340
18449
  * Constructs a new UsersApi.
18341
18450
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -19062,7 +19171,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
19062
19171
  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(){/**
19063
19172
  * Utilities service.
19064
19173
  * @module purecloud-platform-client-v2/api/UtilitiesApi
19065
- * @version 217.0.0
19174
+ * @version 218.0.0
19066
19175
  *//**
19067
19176
  * Constructs a new UtilitiesApi.
19068
19177
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -19089,7 +19198,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19089
19198
  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(){/**
19090
19199
  * Voicemail service.
19091
19200
  * @module purecloud-platform-client-v2/api/VoicemailApi
19092
- * @version 217.0.0
19201
+ * @version 218.0.0
19093
19202
  *//**
19094
19203
  * Constructs a new VoicemailApi.
19095
19204
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -19251,7 +19360,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19251
19360
  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(){/**
19252
19361
  * WebChat service.
19253
19362
  * @module purecloud-platform-client-v2/api/WebChatApi
19254
- * @version 217.0.0
19363
+ * @version 218.0.0
19255
19364
  *//**
19256
19365
  * Constructs a new WebChatApi.
19257
19366
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -19266,9 +19375,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19266
19375
  */return _createClass(WebChatApi,[{key:"deleteWebchatDeployment",value:function deleteWebchatDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
19267
19376
  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']);}/**
19268
19377
  * Remove a member from a chat conversation
19269
- *
19378
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19270
19379
  * @param {String} conversationId conversationId
19271
19380
  * @param {String} memberId memberId
19381
+ * @deprecated
19272
19382
  */},{key:"deleteWebchatGuestConversationMember",value:function deleteWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
19273
19383
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
19274
19384
  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']);}/**
@@ -19294,41 +19404,46 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
19294
19404
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';}// verify the required parameter 'mediaRequestId' is set
19295
19405
  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']);}/**
19296
19406
  * Get all media requests to the guest in the conversation
19297
- *
19407
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19298
19408
  * @param {String} conversationId conversationId
19409
+ * @deprecated
19299
19410
  */},{key:"getWebchatGuestConversationMediarequests",value:function getWebchatGuestConversationMediarequests(conversationId){// verify the required parameter 'conversationId' is set
19300
19411
  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']);}/**
19301
19412
  * Get a web chat conversation member
19302
- *
19413
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19303
19414
  * @param {String} conversationId conversationId
19304
19415
  * @param {String} memberId memberId
19416
+ * @deprecated
19305
19417
  */},{key:"getWebchatGuestConversationMember",value:function getWebchatGuestConversationMember(conversationId,memberId){// verify the required parameter 'conversationId' is set
19306
19418
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
19307
19419
  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']);}/**
19308
19420
  * Get the members of a chat conversation.
19309
- *
19421
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19310
19422
  * @param {String} conversationId conversationId
19311
19423
  * @param {Object} opts Optional parameters
19312
19424
  * @param {Number} opts.pageSize The number of entries to return per page, or omitted for the default. (default to 25)
19313
19425
  * @param {Number} opts.pageNumber The page number to return, or omitted for the first page. (default to 1)
19314
19426
  * @param {Boolean} opts.excludeDisconnectedMembers If true, the results will not contain members who have a DISCONNECTED state. (default to false)
19427
+ * @deprecated
19315
19428
  */},{key:"getWebchatGuestConversationMembers",value:function getWebchatGuestConversationMembers(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
19316
19429
  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']);}/**
19317
19430
  * Get a web chat conversation message
19318
- *
19431
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19319
19432
  * @param {String} conversationId conversationId
19320
19433
  * @param {String} messageId messageId
19434
+ * @deprecated
19321
19435
  */},{key:"getWebchatGuestConversationMessage",value:function getWebchatGuestConversationMessage(conversationId,messageId){// verify the required parameter 'conversationId' is set
19322
19436
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';}// verify the required parameter 'messageId' is set
19323
19437
  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']);}/**
19324
19438
  * Get the messages of a chat conversation.
19325
- *
19439
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19326
19440
  * @param {String} conversationId conversationId
19327
19441
  * @param {Object} opts Optional parameters
19328
19442
  * @param {String} opts.after If available, get the messages chronologically after the id of this message
19329
19443
  * @param {String} opts.before If available, get the messages chronologically before the id of this message
19330
19444
  * @param {Object} opts.sortOrder Sort order (default to ascending)
19331
19445
  * @param {Number} opts.maxResults Limit the returned number of messages, up to a maximum of 100 (default to 100)
19446
+ * @deprecated
19332
19447
  */},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
19333
19448
  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']);}/**
19334
19449
  * Get WebChat deployment settings
@@ -19351,24 +19466,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19351
19466
  */},{key:"postWebchatDeployments",value:function postWebchatDeployments(body){// verify the required parameter 'body' is set
19352
19467
  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']);}/**
19353
19468
  * Send a message in a chat conversation.
19354
- *
19469
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19355
19470
  * @param {String} conversationId conversationId
19356
19471
  * @param {String} memberId memberId
19357
19472
  * @param {Object} body Message
19473
+ * @deprecated
19358
19474
  */},{key:"postWebchatGuestConversationMemberMessages",value:function postWebchatGuestConversationMemberMessages(conversationId,memberId,body){// verify the required parameter 'conversationId' is set
19359
19475
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'memberId' is set
19360
19476
  if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';}// verify the required parameter 'body' is set
19361
19477
  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']);}/**
19362
19478
  * Send a typing-indicator in a chat conversation.
19363
- *
19479
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
19364
19480
  * @param {String} conversationId conversationId
19365
19481
  * @param {String} memberId memberId
19482
+ * @deprecated
19366
19483
  */},{key:"postWebchatGuestConversationMemberTyping",value:function postWebchatGuestConversationMemberTyping(conversationId,memberId){// verify the required parameter 'conversationId' is set
19367
19484
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';}// verify the required parameter 'memberId' is set
19368
19485
  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']);}/**
19369
19486
  * Create an ACD chat conversation from an external customer.
19370
- * 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.
19487
+ * 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.
19371
19488
  * @param {Object} body CreateConversationRequest
19489
+ * @deprecated
19372
19490
  */},{key:"postWebchatGuestConversations",value:function postWebchatGuestConversations(body){// verify the required parameter 'body' is set
19373
19491
  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']);}/**
19374
19492
  * Update a WebChat deployment
@@ -19386,7 +19504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19386
19504
  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(){/**
19387
19505
  * WebDeployments service.
19388
19506
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
19389
- * @version 217.0.0
19507
+ * @version 218.0.0
19390
19508
  *//**
19391
19509
  * Constructs a new WebDeploymentsApi.
19392
19510
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -19521,7 +19639,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
19521
19639
  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(){/**
19522
19640
  * WebMessaging service.
19523
19641
  * @module purecloud-platform-client-v2/api/WebMessagingApi
19524
- * @version 217.0.0
19642
+ * @version 218.0.0
19525
19643
  *//**
19526
19644
  * Constructs a new WebMessagingApi.
19527
19645
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -19537,7 +19655,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19537
19655
  */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(){/**
19538
19656
  * Widgets service.
19539
19657
  * @module purecloud-platform-client-v2/api/WidgetsApi
19540
- * @version 217.0.0
19658
+ * @version 218.0.0
19541
19659
  *//**
19542
19660
  * Constructs a new WidgetsApi.
19543
19661
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -19546,33 +19664,38 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19546
19664
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
19547
19665
  */function WidgetsApi(apiClient){_classCallCheck(this,WidgetsApi);this.apiClient=apiClient||ApiClient.instance;}/**
19548
19666
  * Delete a Widget deployment
19549
- *
19667
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
19550
19668
  * @param {String} deploymentId Widget Config Id
19669
+ * @deprecated
19551
19670
  */return _createClass(WidgetsApi,[{key:"deleteWidgetsDeployment",value:function deleteWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
19552
19671
  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']);}/**
19553
19672
  * Get a Widget deployment
19554
- *
19673
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
19555
19674
  * @param {String} deploymentId Widget Config Id
19675
+ * @deprecated
19556
19676
  */},{key:"getWidgetsDeployment",value:function getWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
19557
19677
  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']);}/**
19558
19678
  * List Widget deployments
19559
- *
19679
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
19680
+ * @deprecated
19560
19681
  */},{key:"getWidgetsDeployments",value:function getWidgetsDeployments(){return this.apiClient.callApi('/api/v2/widgets/deployments','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19561
19682
  * Create Widget deployment
19562
- *
19683
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
19563
19684
  * @param {Object} body Deployment
19685
+ * @deprecated
19564
19686
  */},{key:"postWidgetsDeployments",value:function postWidgetsDeployments(body){// verify the required parameter 'body' is set
19565
19687
  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']);}/**
19566
19688
  * Update a Widget deployment
19567
- *
19689
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
19568
19690
  * @param {String} deploymentId Widget Config Id
19569
19691
  * @param {Object} body Deployment
19692
+ * @deprecated
19570
19693
  */},{key:"putWidgetsDeployment",value:function putWidgetsDeployment(deploymentId,body){// verify the required parameter 'deploymentId' is set
19571
19694
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';}// verify the required parameter 'body' is set
19572
19695
  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(){/**
19573
19696
  * WorkforceManagement service.
19574
19697
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
19575
- * @version 217.0.0
19698
+ * @version 218.0.0
19576
19699
  *//**
19577
19700
  * Constructs a new WorkforceManagementApi.
19578
19701
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -21391,7 +21514,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
21391
21514
  * </pre>
21392
21515
  * </p>
21393
21516
  * @module purecloud-platform-client-v2/index
21394
- * @version 217.0.0
21517
+ * @version 218.0.0
21395
21518
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
21396
21519
  * The ApiClient constructor.
21397
21520
  * @property {module:purecloud-platform-client-v2/ApiClient}