purecloud-platform-client-v2 252.0.0 → 252.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +96 -93
  3. package/dist/web-amd/purecloud-platform-client-v2.js +96 -93
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +90 -90
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +90 -90
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/package.json +5 -5
  9. package/src/purecloud-platform-client-v2/ApiClient.js +9 -6
  10. package/src/purecloud-platform-client-v2/api/AIStudioApi.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/AssistantCopilotVariationsApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -1082,7 +1082,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
1082
1082
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
1083
1083
  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];}}}]);}();/**
1084
1084
  * @module purecloud-platform-client-v2/ApiClient
1085
- * @version 252.0.0
1085
+ * @version 252.1.0
1086
1086
  */var ApiClient=/*#__PURE__*/function(){/**
1087
1087
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
1088
1088
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1240,7 +1240,7 @@ if(error.response){_this8.config.logger.log('error',error.response.status,'POST'
1240
1240
  */},{key:"authorizePKCEGrant",value:function authorizePKCEGrant(clientId,codeVerifier,authCode,redirectUri){var _this9=this;this.clientId=clientId;var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));return new Promise(function(resolve,reject){var headers={'Content-Type':'application/x-www-form-urlencoded'};var data=qs__default["default"].stringify({grant_type:'authorization_code',code:authCode,code_verifier:codeVerifier,client_id:clientId,redirect_uri:redirectUri});var requestOptions=new HttpRequestOptions("".concat(loginBasePath,"/oauth/token"),"POST",headers,null,data,_this9.timeout);var httpClient=_this9.getHttpClient();var bodyParam={grant_type:'authorization_code',code:authCode,code_verifier:codeVerifier,client_id:clientId,redirect_uri:redirectUri};// Handle response
1241
1241
  httpClient.request(requestOptions).then(function(response){// Logging
1242
1242
  _this9.config.logger.log('trace',response.status,'POST',"".concat(loginBasePath,"/oauth/token"),requestOptions.headers,response.headers,bodyParam,undefined);_this9.config.logger.log('debug',response.status,'POST',"".concat(loginBasePath,"/oauth/token"),requestOptions.headers,undefined,bodyParam,undefined);// Get access token from response
1243
- var access_token=response.data.access_token;_this9.setAccessToken(access_token);_this9.authData.tokenExpiryTime=new Date().getTime()+response.data['expires_in']*1000;_this9.authData.tokenExpiryTimeString=new Date(_this9.authData.tokenExpiryTime).toUTCString();// Return auth data
1243
+ var access_token=response.data.access_token;var optsSettings={accessToken:access_token};if(response.data['expires_in']!==null&&response.data['expires_in']!==undefined){optsSettings.tokenExpiryTime=new Date().getTime()+response.data['expires_in']*1000;optsSettings.tokenExpiryTimeString=new Date(optsSettings.tokenExpiryTime).toUTCString();}_this9._saveSettings(optsSettings);// Return auth data
1244
1244
  resolve(_this9.authData);})["catch"](function(error){// Log error
1245
1245
  if(error.response){_this9.config.logger.log('error',error.response.status,'POST',"".concat(loginBasePath,"/oauth/token"),requestOptions.headers,error.response.headers,bodyParam,error.response.data);}reject(error);});});}/**
1246
1246
  * @description Generate a random string used as PKCE Code Verifier - length = 43 to 128.
@@ -1265,7 +1265,7 @@ return reject(new Error("Code Challenge Error ".concat(error)));});});}}/**
1265
1265
  */},{key:"loginPKCEGrant",value:function loginPKCEGrant(clientId,redirectUri,opts,codeVerifier){var _this0=this;// Need Local Storage or non null codeVerifier as parameter
1266
1266
  if(!this.hasLocalStorage&&!codeVerifier){throw new Error("loginPKCEGrant requires Local Storage or codeVerifier as input parameter");}// Check for auth code in query
1267
1267
  var query=this._setValuesFromUrlQuery();this.clientId=clientId;this.redirectUri=redirectUri;this.codeVerifier=codeVerifier;if(!opts)opts={};return new Promise(function(resolve,reject){// Abort if org and provider are not set together
1268
- if(opts.org&&!opts.provider){reject(new Error('opts.provider must be set if opts.org is set'));}else if(opts.provider&&!opts.org){reject(new Error('opts.org must be set if opts.provider is set'));}// Abort on auth error
1268
+ if(opts.org&&!opts.provider){return reject(new Error('opts.provider must be set if opts.org is set'));}else if(opts.provider&&!opts.org){return reject(new Error('opts.org must be set if opts.provider is set'));}// Abort on auth error
1269
1269
  if(query&&query.error){// remove codeVerifier from session storage
1270
1270
  if(_this0.hasLocalStorage){sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier");}// reset access token if any was stored
1271
1271
  _this0._saveSettings({accessToken:undefined});return reject(new Error("[".concat(query.error,"] ").concat(query.error_description)));}// Get token on auth code
@@ -1451,7 +1451,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1451
1451
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
1452
1452
  * AIStudio service.
1453
1453
  * @module purecloud-platform-client-v2/api/AIStudioApi
1454
- * @version 252.0.0
1454
+ * @version 252.1.0
1455
1455
  *//**
1456
1456
  * Constructs a new AIStudioApi.
1457
1457
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -1642,7 +1642,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
1642
1642
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
1643
1643
  * AgentAssistants service.
1644
1644
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1645
- * @version 252.0.0
1645
+ * @version 252.1.0
1646
1646
  *//**
1647
1647
  * Constructs a new AgentAssistantsApi.
1648
1648
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1867,7 +1867,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
1867
1867
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
1868
1868
  * AgentCopilot service.
1869
1869
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1870
- * @version 252.0.0
1870
+ * @version 252.1.0
1871
1871
  *//**
1872
1872
  * Constructs a new AgentCopilotApi.
1873
1873
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1899,7 +1899,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
1899
1899
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
1900
1900
  * AgentUI service.
1901
1901
  * @module purecloud-platform-client-v2/api/AgentUIApi
1902
- * @version 252.0.0
1902
+ * @version 252.1.0
1903
1903
  *//**
1904
1904
  * Constructs a new AgentUIApi.
1905
1905
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1941,7 +1941,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
1941
1941
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
1942
1942
  * Alerting service.
1943
1943
  * @module purecloud-platform-client-v2/api/AlertingApi
1944
- * @version 252.0.0
1944
+ * @version 252.1.0
1945
1945
  *//**
1946
1946
  * Constructs a new AlertingApi.
1947
1947
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -2055,7 +2055,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
2055
2055
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
2056
2056
  * Analytics service.
2057
2057
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2058
- * @version 252.0.0
2058
+ * @version 252.1.0
2059
2059
  *//**
2060
2060
  * Constructs a new AnalyticsApi.
2061
2061
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -3177,7 +3177,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3177
3177
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
3178
3178
  * Architect service.
3179
3179
  * @module purecloud-platform-client-v2/api/ArchitectApi
3180
- * @version 252.0.0
3180
+ * @version 252.1.0
3181
3181
  *//**
3182
3182
  * Constructs a new ArchitectApi.
3183
3183
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -4546,7 +4546,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
4546
4546
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
4547
4547
  * AssistantCopilotVariations service.
4548
4548
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
4549
- * @version 252.0.0
4549
+ * @version 252.1.0
4550
4550
  *//**
4551
4551
  * Constructs a new AssistantCopilotVariationsApi.
4552
4552
  * @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
@@ -4601,7 +4601,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
4601
4601
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
4602
4602
  * Audit service.
4603
4603
  * @module purecloud-platform-client-v2/api/AuditApi
4604
- * @version 252.0.0
4604
+ * @version 252.1.0
4605
4605
  *//**
4606
4606
  * Constructs a new AuditApi.
4607
4607
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -4662,7 +4662,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4662
4662
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
4663
4663
  * Authorization service.
4664
4664
  * @module purecloud-platform-client-v2/api/AuthorizationApi
4665
- * @version 252.0.0
4665
+ * @version 252.1.0
4666
4666
  *//**
4667
4667
  * Constructs a new AuthorizationApi.
4668
4668
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -5180,7 +5180,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
5180
5180
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
5181
5181
  * BackgroundAssistant service.
5182
5182
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
5183
- * @version 252.0.0
5183
+ * @version 252.1.0
5184
5184
  *//**
5185
5185
  * Constructs a new BackgroundAssistantApi.
5186
5186
  * @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
@@ -5203,7 +5203,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5203
5203
  */},{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
5204
5204
  * Billing service.
5205
5205
  * @module purecloud-platform-client-v2/api/BillingApi
5206
- * @version 252.0.0
5206
+ * @version 252.1.0
5207
5207
  *//**
5208
5208
  * Constructs a new BillingApi.
5209
5209
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -5292,7 +5292,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
5292
5292
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
5293
5293
  * BusinessRules service.
5294
5294
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
5295
- * @version 252.0.0
5295
+ * @version 252.1.0
5296
5296
  *//**
5297
5297
  * Constructs a new BusinessRulesApi.
5298
5298
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -5565,7 +5565,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
5565
5565
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
5566
5566
  * CarrierServices service.
5567
5567
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
5568
- * @version 252.0.0
5568
+ * @version 252.1.0
5569
5569
  *//**
5570
5570
  * Constructs a new CarrierServicesApi.
5571
5571
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -5588,7 +5588,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
5588
5588
  */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
5589
5589
  * CaseManagement service.
5590
5590
  * @module purecloud-platform-client-v2/api/CaseManagementApi
5591
- * @version 252.0.0
5591
+ * @version 252.1.0
5592
5592
  *//**
5593
5593
  * Constructs a new CaseManagementApi.
5594
5594
  * @alias module:purecloud-platform-client-v2/api/CaseManagementApi
@@ -5967,7 +5967,7 @@ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the
5967
5967
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings','PUT',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
5968
5968
  * Chat service.
5969
5969
  * @module purecloud-platform-client-v2/api/ChatApi
5970
- * @version 252.0.0
5970
+ * @version 252.1.0
5971
5971
  *//**
5972
5972
  * Constructs a new ChatApi.
5973
5973
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -6262,7 +6262,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6262
6262
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
6263
6263
  * Coaching service.
6264
6264
  * @module purecloud-platform-client-v2/api/CoachingApi
6265
- * @version 252.0.0
6265
+ * @version 252.1.0
6266
6266
  *//**
6267
6267
  * Constructs a new CoachingApi.
6268
6268
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -6461,7 +6461,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6461
6461
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
6462
6462
  * ContentManagement service.
6463
6463
  * @module purecloud-platform-client-v2/api/ContentManagementApi
6464
- * @version 252.0.0
6464
+ * @version 252.1.0
6465
6465
  *//**
6466
6466
  * Constructs a new ContentManagementApi.
6467
6467
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -6793,7 +6793,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
6793
6793
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
6794
6794
  * Conversations service.
6795
6795
  * @module purecloud-platform-client-v2/api/ConversationsApi
6796
- * @version 252.0.0
6796
+ * @version 252.1.0
6797
6797
  *//**
6798
6798
  * Constructs a new ConversationsApi.
6799
6799
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -9725,7 +9725,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
9725
9725
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
9726
9726
  * DataExtensions service.
9727
9727
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
9728
- * @version 252.0.0
9728
+ * @version 252.1.0
9729
9729
  *//**
9730
9730
  * Constructs a new DataExtensionsApi.
9731
9731
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -9752,7 +9752,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
9752
9752
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
9753
9753
  * DataPrivacy service.
9754
9754
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
9755
- * @version 252.0.0
9755
+ * @version 252.1.0
9756
9756
  *//**
9757
9757
  * Constructs a new DataPrivacyApi.
9758
9758
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -9803,7 +9803,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9803
9803
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
9804
9804
  * Downloads service.
9805
9805
  * @module purecloud-platform-client-v2/api/DownloadsApi
9806
- * @version 252.0.0
9806
+ * @version 252.1.0
9807
9807
  *//**
9808
9808
  * Constructs a new DownloadsApi.
9809
9809
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -9823,7 +9823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9823
9823
  if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
9824
9824
  * Emails service.
9825
9825
  * @module purecloud-platform-client-v2/api/EmailsApi
9826
- * @version 252.0.0
9826
+ * @version 252.1.0
9827
9827
  *//**
9828
9828
  * Constructs a new EmailsApi.
9829
9829
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -9860,7 +9860,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
9860
9860
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
9861
9861
  * EmployeeEngagement service.
9862
9862
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
9863
- * @version 252.0.0
9863
+ * @version 252.1.0
9864
9864
  *//**
9865
9865
  * Constructs a new EmployeeEngagementApi.
9866
9866
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -9918,7 +9918,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9918
9918
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
9919
9919
  * Events service.
9920
9920
  * @module purecloud-platform-client-v2/api/EventsApi
9921
- * @version 252.0.0
9921
+ * @version 252.1.0
9922
9922
  *//**
9923
9923
  * Constructs a new EventsApi.
9924
9924
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -9957,7 +9957,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9957
9957
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
9958
9958
  * ExternalContacts service.
9959
9959
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
9960
- * @version 252.0.0
9960
+ * @version 252.1.0
9961
9961
  *//**
9962
9962
  * Constructs a new ExternalContactsApi.
9963
9963
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -10919,7 +10919,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
10919
10919
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
10920
10920
  * Fax service.
10921
10921
  * @module purecloud-platform-client-v2/api/FaxApi
10922
- * @version 252.0.0
10922
+ * @version 252.1.0
10923
10923
  *//**
10924
10924
  * Constructs a new FaxApi.
10925
10925
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -10982,7 +10982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10982
10982
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
10983
10983
  * Flows service.
10984
10984
  * @module purecloud-platform-client-v2/api/FlowsApi
10985
- * @version 252.0.0
10985
+ * @version 252.1.0
10986
10986
  *//**
10987
10987
  * Constructs a new FlowsApi.
10988
10988
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11048,7 +11048,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11048
11048
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
11049
11049
  * Gamification service.
11050
11050
  * @module purecloud-platform-client-v2/api/GamificationApi
11051
- * @version 252.0.0
11051
+ * @version 252.1.0
11052
11052
  *//**
11053
11053
  * Constructs a new GamificationApi.
11054
11054
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -11843,7 +11843,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11843
11843
  if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
11844
11844
  * GeneralDataProtectionRegulation service.
11845
11845
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
11846
- * @version 252.0.0
11846
+ * @version 252.1.0
11847
11847
  *//**
11848
11848
  * Constructs a new GeneralDataProtectionRegulationApi.
11849
11849
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -11884,7 +11884,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
11884
11884
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
11885
11885
  * Geolocation service.
11886
11886
  * @module purecloud-platform-client-v2/api/GeolocationApi
11887
- * @version 252.0.0
11887
+ * @version 252.1.0
11888
11888
  *//**
11889
11889
  * Constructs a new GeolocationApi.
11890
11890
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -11926,7 +11926,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
11926
11926
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
11927
11927
  * Greetings service.
11928
11928
  * @module purecloud-platform-client-v2/api/GreetingsApi
11929
- * @version 252.0.0
11929
+ * @version 252.1.0
11930
11930
  *//**
11931
11931
  * Constructs a new GreetingsApi.
11932
11932
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12085,7 +12085,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
12085
12085
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
12086
12086
  * Groups service.
12087
12087
  * @module purecloud-platform-client-v2/api/GroupsApi
12088
- * @version 252.0.0
12088
+ * @version 252.1.0
12089
12089
  *//**
12090
12090
  * Constructs a new GroupsApi.
12091
12091
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12248,7 +12248,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
12248
12248
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
12249
12249
  * IdentityProvider service.
12250
12250
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12251
- * @version 252.0.0
12251
+ * @version 252.1.0
12252
12252
  *//**
12253
12253
  * Constructs a new IdentityProviderApi.
12254
12254
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12480,7 +12480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12480
12480
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
12481
12481
  * InfrastructureAsCode service.
12482
12482
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12483
- * @version 252.0.0
12483
+ * @version 252.1.0
12484
12484
  *//**
12485
12485
  * Constructs a new InfrastructureAsCodeApi.
12486
12486
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12540,7 +12540,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
12540
12540
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
12541
12541
  * Integrations service.
12542
12542
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12543
- * @version 252.0.0
12543
+ * @version 252.1.0
12544
12544
  *//**
12545
12545
  * Constructs a new IntegrationsApi.
12546
12546
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -13370,7 +13370,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
13370
13370
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
13371
13371
  * Intents service.
13372
13372
  * @module purecloud-platform-client-v2/api/IntentsApi
13373
- * @version 252.0.0
13373
+ * @version 252.1.0
13374
13374
  *//**
13375
13375
  * Constructs a new IntentsApi.
13376
13376
  * @alias module:purecloud-platform-client-v2/api/IntentsApi
@@ -13514,7 +13514,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13514
13514
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
13515
13515
  * Journey service.
13516
13516
  * @module purecloud-platform-client-v2/api/JourneyApi
13517
- * @version 252.0.0
13517
+ * @version 252.1.0
13518
13518
  *//**
13519
13519
  * Constructs a new JourneyApi.
13520
13520
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -14269,7 +14269,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
14269
14269
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
14270
14270
  * Knowledge service.
14271
14271
  * @module purecloud-platform-client-v2/api/KnowledgeApi
14272
- * @version 252.0.0
14272
+ * @version 252.1.0
14273
14273
  *//**
14274
14274
  * Constructs a new KnowledgeApi.
14275
14275
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -15446,7 +15446,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
15446
15446
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
15447
15447
  * LanguageUnderstanding service.
15448
15448
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
15449
- * @version 252.0.0
15449
+ * @version 252.1.0
15450
15450
  *//**
15451
15451
  * Constructs a new LanguageUnderstandingApi.
15452
15452
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -15820,7 +15820,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
15820
15820
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
15821
15821
  * Languages service.
15822
15822
  * @module purecloud-platform-client-v2/api/LanguagesApi
15823
- * @version 252.0.0
15823
+ * @version 252.1.0
15824
15824
  *//**
15825
15825
  * Constructs a new LanguagesApi.
15826
15826
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -15890,7 +15890,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
15890
15890
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
15891
15891
  * Learning service.
15892
15892
  * @module purecloud-platform-client-v2/api/LearningApi
15893
- * @version 252.0.0
15893
+ * @version 252.1.0
15894
15894
  *//**
15895
15895
  * Constructs a new LearningApi.
15896
15896
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -16238,7 +16238,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
16238
16238
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
16239
16239
  * License service.
16240
16240
  * @module purecloud-platform-client-v2/api/LicenseApi
16241
- * @version 252.0.0
16241
+ * @version 252.1.0
16242
16242
  *//**
16243
16243
  * Constructs a new LicenseApi.
16244
16244
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -16313,7 +16313,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
16313
16313
  */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
16314
16314
  * Locations service.
16315
16315
  * @module purecloud-platform-client-v2/api/LocationsApi
16316
- * @version 252.0.0
16316
+ * @version 252.1.0
16317
16317
  *//**
16318
16318
  * Constructs a new LocationsApi.
16319
16319
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -16385,7 +16385,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16385
16385
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
16386
16386
  * LogCapture service.
16387
16387
  * @module purecloud-platform-client-v2/api/LogCaptureApi
16388
- * @version 252.0.0
16388
+ * @version 252.1.0
16389
16389
  *//**
16390
16390
  * Constructs a new LogCaptureApi.
16391
16391
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -16444,7 +16444,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16444
16444
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
16445
16445
  * Messaging service.
16446
16446
  * @module purecloud-platform-client-v2/api/MessagingApi
16447
- * @version 252.0.0
16447
+ * @version 252.1.0
16448
16448
  *//**
16449
16449
  * Constructs a new MessagingApi.
16450
16450
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -16558,7 +16558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16558
16558
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
16559
16559
  * MobileDevices service.
16560
16560
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
16561
- * @version 252.0.0
16561
+ * @version 252.1.0
16562
16562
  *//**
16563
16563
  * Constructs a new MobileDevicesApi.
16564
16564
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -16605,7 +16605,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16605
16605
  if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
16606
16606
  * Notifications service.
16607
16607
  * @module purecloud-platform-client-v2/api/NotificationsApi
16608
- * @version 252.0.0
16608
+ * @version 252.1.0
16609
16609
  *//**
16610
16610
  * Constructs a new NotificationsApi.
16611
16611
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -16674,7 +16674,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
16674
16674
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
16675
16675
  * OAuth service.
16676
16676
  * @module purecloud-platform-client-v2/api/OAuthApi
16677
- * @version 252.0.0
16677
+ * @version 252.1.0
16678
16678
  *//**
16679
16679
  * Constructs a new OAuthApi.
16680
16680
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -16780,7 +16780,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
16780
16780
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
16781
16781
  * Objects service.
16782
16782
  * @module purecloud-platform-client-v2/api/ObjectsApi
16783
- * @version 252.0.0
16783
+ * @version 252.1.0
16784
16784
  *//**
16785
16785
  * Constructs a new ObjectsApi.
16786
16786
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -16883,7 +16883,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
16883
16883
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
16884
16884
  * OperationalEvents service.
16885
16885
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
16886
- * @version 252.0.0
16886
+ * @version 252.1.0
16887
16887
  *//**
16888
16888
  * Constructs a new OperationalEventsApi.
16889
16889
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -16920,7 +16920,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
16920
16920
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
16921
16921
  * Organization service.
16922
16922
  * @module purecloud-platform-client-v2/api/OrganizationApi
16923
- * @version 252.0.0
16923
+ * @version 252.1.0
16924
16924
  *//**
16925
16925
  * Constructs a new OrganizationApi.
16926
16926
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -17060,7 +17060,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17060
17060
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
17061
17061
  * OrganizationAuthorization service.
17062
17062
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
17063
- * @version 252.0.0
17063
+ * @version 252.1.0
17064
17064
  *//**
17065
17065
  * Constructs a new OrganizationAuthorizationApi.
17066
17066
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -17480,7 +17480,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
17480
17480
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
17481
17481
  * Outbound service.
17482
17482
  * @module purecloud-platform-client-v2/api/OutboundApi
17483
- * @version 252.0.0
17483
+ * @version 252.1.0
17484
17484
  *//**
17485
17485
  * Constructs a new OutboundApi.
17486
17486
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -18966,7 +18966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18966
18966
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
18967
18967
  * Presence service.
18968
18968
  * @module purecloud-platform-client-v2/api/PresenceApi
18969
- * @version 252.0.0
18969
+ * @version 252.1.0
18970
18970
  *//**
18971
18971
  * Constructs a new PresenceApi.
18972
18972
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -19186,7 +19186,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19186
19186
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
19187
19187
  * ProcessAutomation service.
19188
19188
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
19189
- * @version 252.0.0
19189
+ * @version 252.1.0
19190
19190
  *//**
19191
19191
  * Constructs a new ProcessAutomationApi.
19192
19192
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -19300,7 +19300,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
19300
19300
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
19301
19301
  * Quality service.
19302
19302
  * @module purecloud-platform-client-v2/api/QualityApi
19303
- * @version 252.0.0
19303
+ * @version 252.1.0
19304
19304
  *//**
19305
19305
  * Constructs a new QualityApi.
19306
19306
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -19964,7 +19964,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
19964
19964
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
19965
19965
  * Recording service.
19966
19966
  * @module purecloud-platform-client-v2/api/RecordingApi
19967
- * @version 252.0.0
19967
+ * @version 252.1.0
19968
19968
  *//**
19969
19969
  * Constructs a new RecordingApi.
19970
19970
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20463,7 +20463,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20463
20463
  */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
20464
20464
  * ResponseManagement service.
20465
20465
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20466
- * @version 252.0.0
20466
+ * @version 252.1.0
20467
20467
  *//**
20468
20468
  * Constructs a new ResponseManagementApi.
20469
20469
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -20630,7 +20630,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
20630
20630
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
20631
20631
  * Routing service.
20632
20632
  * @module purecloud-platform-client-v2/api/RoutingApi
20633
- * @version 252.0.0
20633
+ * @version 252.1.0
20634
20634
  *//**
20635
20635
  * Constructs a new RoutingApi.
20636
20636
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22059,7 +22059,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22059
22059
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
22060
22060
  * SCIM service.
22061
22061
  * @module purecloud-platform-client-v2/api/SCIMApi
22062
- * @version 252.0.0
22062
+ * @version 252.1.0
22063
22063
  *//**
22064
22064
  * Constructs a new SCIMApi.
22065
22065
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22322,7 +22322,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22322
22322
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json'],opts['customHeaders']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
22323
22323
  * Scripts service.
22324
22324
  * @module purecloud-platform-client-v2/api/ScriptsApi
22325
- * @version 252.0.0
22325
+ * @version 252.1.0
22326
22326
  *//**
22327
22327
  * Constructs a new ScriptsApi.
22328
22328
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22484,7 +22484,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22484
22484
  */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
22485
22485
  * Search service.
22486
22486
  * @module purecloud-platform-client-v2/api/SearchApi
22487
- * @version 252.0.0
22487
+ * @version 252.1.0
22488
22488
  *//**
22489
22489
  * Constructs a new SearchApi.
22490
22490
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22691,7 +22691,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22691
22691
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
22692
22692
  * Settings service.
22693
22693
  * @module purecloud-platform-client-v2/api/SettingsApi
22694
- * @version 252.0.0
22694
+ * @version 252.1.0
22695
22695
  *//**
22696
22696
  * Constructs a new SettingsApi.
22697
22697
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22788,7 +22788,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22788
22788
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
22789
22789
  * SocialMedia service.
22790
22790
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22791
- * @version 252.0.0
22791
+ * @version 252.1.0
22792
22792
  *//**
22793
22793
  * Constructs a new SocialMediaApi.
22794
22794
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23343,7 +23343,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23343
23343
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
23344
23344
  * SpeechTextAnalytics service.
23345
23345
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23346
- * @version 252.0.0
23346
+ * @version 252.1.0
23347
23347
  *//**
23348
23348
  * Constructs a new SpeechTextAnalyticsApi.
23349
23349
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23836,7 +23836,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23836
23836
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
23837
23837
  * Stations service.
23838
23838
  * @module purecloud-platform-client-v2/api/StationsApi
23839
- * @version 252.0.0
23839
+ * @version 252.1.0
23840
23840
  *//**
23841
23841
  * Constructs a new StationsApi.
23842
23842
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23873,7 +23873,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23873
23873
  */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
23874
23874
  * Suggest service.
23875
23875
  * @module purecloud-platform-client-v2/api/SuggestApi
23876
- * @version 252.0.0
23876
+ * @version 252.1.0
23877
23877
  *//**
23878
23878
  * Constructs a new SuggestApi.
23879
23879
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23917,7 +23917,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23917
23917
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
23918
23918
  * TaskManagement service.
23919
23919
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23920
- * @version 252.0.0
23920
+ * @version 252.1.0
23921
23921
  *//**
23922
23922
  * Constructs a new TaskManagementApi.
23923
23923
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24561,7 +24561,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24561
24561
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
24562
24562
  * Teams service.
24563
24563
  * @module purecloud-platform-client-v2/api/TeamsApi
24564
- * @version 252.0.0
24564
+ * @version 252.1.0
24565
24565
  *//**
24566
24566
  * Constructs a new TeamsApi.
24567
24567
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24657,7 +24657,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24657
24657
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
24658
24658
  * Telephony service.
24659
24659
  * @module purecloud-platform-client-v2/api/TelephonyApi
24660
- * @version 252.0.0
24660
+ * @version 252.1.0
24661
24661
  *//**
24662
24662
  * Constructs a new TelephonyApi.
24663
24663
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24760,7 +24760,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24760
24760
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24761
24761
  * TelephonyProvidersEdge service.
24762
24762
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24763
- * @version 252.0.0
24763
+ * @version 252.1.0
24764
24764
  *//**
24765
24765
  * Constructs a new TelephonyProvidersEdgeApi.
24766
24766
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25827,7 +25827,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25827
25827
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
25828
25828
  * Textbots service.
25829
25829
  * @module purecloud-platform-client-v2/api/TextbotsApi
25830
- * @version 252.0.0
25830
+ * @version 252.1.0
25831
25831
  *//**
25832
25832
  * Constructs a new TextbotsApi.
25833
25833
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25870,7 +25870,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25870
25870
  if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
25871
25871
  * Tokens service.
25872
25872
  * @module purecloud-platform-client-v2/api/TokensApi
25873
- * @version 252.0.0
25873
+ * @version 252.1.0
25874
25874
  *//**
25875
25875
  * Constructs a new TokensApi.
25876
25876
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25914,7 +25914,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25914
25914
  */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
25915
25915
  * Uploads service.
25916
25916
  * @module purecloud-platform-client-v2/api/UploadsApi
25917
- * @version 252.0.0
25917
+ * @version 252.1.0
25918
25918
  *//**
25919
25919
  * Constructs a new UploadsApi.
25920
25920
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -26009,7 +26009,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26009
26009
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
26010
26010
  * Usage service.
26011
26011
  * @module purecloud-platform-client-v2/api/UsageApi
26012
- * @version 252.0.0
26012
+ * @version 252.1.0
26013
26013
  *//**
26014
26014
  * Constructs a new UsageApi.
26015
26015
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -26111,7 +26111,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26111
26111
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
26112
26112
  * UserRecordings service.
26113
26113
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
26114
- * @version 252.0.0
26114
+ * @version 252.1.0
26115
26115
  *//**
26116
26116
  * Constructs a new UserRecordingsApi.
26117
26117
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -26167,7 +26167,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
26167
26167
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
26168
26168
  * Users service.
26169
26169
  * @module purecloud-platform-client-v2/api/UsersApi
26170
- * @version 252.0.0
26170
+ * @version 252.1.0
26171
26171
  *//**
26172
26172
  * Constructs a new UsersApi.
26173
26173
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -27229,7 +27229,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27229
27229
  if(stationId===undefined||stationId===null||stationId===''){throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';}return this.apiClient.callApi('/api/v2/users/stations/me/associatedstation/{stationId}','PUT',{'stationId':stationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
27230
27230
  * UsersRules service.
27231
27231
  * @module purecloud-platform-client-v2/api/UsersRulesApi
27232
- * @version 252.0.0
27232
+ * @version 252.1.0
27233
27233
  *//**
27234
27234
  * Constructs a new UsersRulesApi.
27235
27235
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -27319,7 +27319,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27319
27319
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
27320
27320
  * Utilities service.
27321
27321
  * @module purecloud-platform-client-v2/api/UtilitiesApi
27322
- * @version 252.0.0
27322
+ * @version 252.1.0
27323
27323
  *//**
27324
27324
  * Constructs a new UtilitiesApi.
27325
27325
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -27353,7 +27353,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27353
27353
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
27354
27354
  * Voicemail service.
27355
27355
  * @module purecloud-platform-client-v2/api/VoicemailApi
27356
- * @version 252.0.0
27356
+ * @version 252.1.0
27357
27357
  *//**
27358
27358
  * Constructs a new VoicemailApi.
27359
27359
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -27560,7 +27560,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
27560
27560
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
27561
27561
  * WebChat service.
27562
27562
  * @module purecloud-platform-client-v2/api/WebChatApi
27563
- * @version 252.0.0
27563
+ * @version 252.1.0
27564
27564
  *//**
27565
27565
  * Constructs a new WebChatApi.
27566
27566
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -27743,7 +27743,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27743
27743
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
27744
27744
  * WebDeployments service.
27745
27745
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
27746
- * @version 252.0.0
27746
+ * @version 252.1.0
27747
27747
  *//**
27748
27748
  * Constructs a new WebDeploymentsApi.
27749
27749
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -27921,7 +27921,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
27921
27921
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
27922
27922
  * WebMessaging service.
27923
27923
  * @module purecloud-platform-client-v2/api/WebMessagingApi
27924
- * @version 252.0.0
27924
+ * @version 252.1.0
27925
27925
  *//**
27926
27926
  * Constructs a new WebMessagingApi.
27927
27927
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -27969,7 +27969,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
27969
27969
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
27970
27970
  * Widgets service.
27971
27971
  * @module purecloud-platform-client-v2/api/WidgetsApi
27972
- * @version 252.0.0
27972
+ * @version 252.1.0
27973
27973
  *//**
27974
27974
  * Constructs a new WidgetsApi.
27975
27975
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -28019,7 +28019,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
28019
28019
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
28020
28020
  * WorkforceManagement service.
28021
28021
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
28022
- * @version 252.0.0
28022
+ * @version 252.1.0
28023
28023
  *//**
28024
28024
  * Constructs a new WorkforceManagementApi.
28025
28025
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -30757,7 +30757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
30757
30757
  * </pre>
30758
30758
  * </p>
30759
30759
  * @module purecloud-platform-client-v2/index
30760
- * @version 252.0.0
30760
+ * @version 252.1.0
30761
30761
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
30762
30762
  * The ApiClient constructor.
30763
30763
  * @property {module:purecloud-platform-client-v2/ApiClient}