purecloud-platform-client-v2 237.0.0 → 239.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +117 -87
  3. package/dist/web-amd/purecloud-platform-client-v2.js +117 -87
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +98 -87
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +98 -87
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +781 -750
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +30 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +3 -2
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -953,7 +953,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
953
953
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
954
954
  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];}}}]);}();/**
955
955
  * @module purecloud-platform-client-v2/ApiClient
956
- * @version 237.0.0
956
+ * @version 239.0.0
957
957
  */var ApiClient=/*#__PURE__*/function(){/**
958
958
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
959
959
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1115,7 +1115,7 @@ if(error.response){_this7.config.logger.log('error',error.response.status,'POST'
1115
1115
  * @param {string} code - code verifier used to generate the code challenge
1116
1116
  */},{key:"computePKCECodeChallenge",value:function computePKCECodeChallenge(code){if(code.length<43||code.length>128){throw new Error("PKCE Code Verifier (length) must be between 43 and 128 characters");}// Check for window
1117
1117
  {// browser
1118
- var utf8=new TextEncoder().encode(code);return new Promise(function(resolve,reject){window.crypto.subtle.digest("SHA-256",utf8).then(function(hashBuffer){var hashBase64=Buffer.from(hashBuffer).toString('base64');var hashBase64Url=hashBase64.replaceAll("+","-").replaceAll("/","_");hashBase64Url=hashBase64Url.split("=")[0];resolve(hashBase64Url);})["catch"](function(error){// Handle failure
1118
+ var utf8=new TextEncoder().encode(code);return new Promise(function(resolve,reject){window.crypto.subtle.digest("SHA-256",utf8).then(function(hashBuffer){var hashBase64=btoa(String.fromCharCode.apply(String,_toConsumableArray(new Uint8Array(hashBuffer))));var hashBase64Url=hashBase64.replaceAll("+","-").replaceAll("/","_");hashBase64Url=hashBase64Url.split("=")[0];resolve(hashBase64Url);})["catch"](function(error){// Handle failure
1119
1119
  return reject(new Error("Code Challenge Error ".concat(error)));});});}}/**
1120
1120
  * @description Initiates the pkce auth code grant login flow. Will attempt to load the token from local storage, if enabled.
1121
1121
  * @param {string} clientId - The client ID of an OAuth Implicit Grant client
@@ -1309,7 +1309,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1309
1309
  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(){/**
1310
1310
  * AIStudio service.
1311
1311
  * @module purecloud-platform-client-v2/api/AIStudioApi
1312
- * @version 237.0.0
1312
+ * @version 239.0.0
1313
1313
  *//**
1314
1314
  * Constructs a new AIStudioApi.
1315
1315
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -1460,7 +1460,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
1460
1460
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
1461
1461
  * AgentAssistants service.
1462
1462
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1463
- * @version 237.0.0
1463
+ * @version 239.0.0
1464
1464
  *//**
1465
1465
  * Constructs a new AgentAssistantsApi.
1466
1466
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1591,7 +1591,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
1591
1591
  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(){/**
1592
1592
  * AgentCopilot service.
1593
1593
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1594
- * @version 237.0.0
1594
+ * @version 239.0.0
1595
1595
  *//**
1596
1596
  * Constructs a new AgentCopilotApi.
1597
1597
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1618,7 +1618,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
1618
1618
  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(){/**
1619
1619
  * AgentUI service.
1620
1620
  * @module purecloud-platform-client-v2/api/AgentUIApi
1621
- * @version 237.0.0
1621
+ * @version 239.0.0
1622
1622
  *//**
1623
1623
  * Constructs a new AgentUIApi.
1624
1624
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1652,7 +1652,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
1652
1652
  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(){/**
1653
1653
  * Alerting service.
1654
1654
  * @module purecloud-platform-client-v2/api/AlertingApi
1655
- * @version 237.0.0
1655
+ * @version 239.0.0
1656
1656
  *//**
1657
1657
  * Constructs a new AlertingApi.
1658
1658
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1741,7 +1741,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
1741
1741
  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(){/**
1742
1742
  * Analytics service.
1743
1743
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1744
- * @version 237.0.0
1744
+ * @version 239.0.0
1745
1745
  *//**
1746
1746
  * Constructs a new AnalyticsApi.
1747
1747
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2517,7 +2517,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2517
2517
  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(){/**
2518
2518
  * Architect service.
2519
2519
  * @module purecloud-platform-client-v2/api/ArchitectApi
2520
- * @version 237.0.0
2520
+ * @version 239.0.0
2521
2521
  *//**
2522
2522
  * Constructs a new ArchitectApi.
2523
2523
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3651,7 +3651,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
3651
3651
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
3652
3652
  * Audit service.
3653
3653
  * @module purecloud-platform-client-v2/api/AuditApi
3654
- * @version 237.0.0
3654
+ * @version 239.0.0
3655
3655
  *//**
3656
3656
  * Constructs a new AuditApi.
3657
3657
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3701,7 +3701,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3701
3701
  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(){/**
3702
3702
  * Authorization service.
3703
3703
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3704
- * @version 237.0.0
3704
+ * @version 239.0.0
3705
3705
  *//**
3706
3706
  * Constructs a new AuthorizationApi.
3707
3707
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -4136,7 +4136,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
4136
4136
  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(){/**
4137
4137
  * Billing service.
4138
4138
  * @module purecloud-platform-client-v2/api/BillingApi
4139
- * @version 237.0.0
4139
+ * @version 239.0.0
4140
4140
  *//**
4141
4141
  * Constructs a new BillingApi.
4142
4142
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -4213,7 +4213,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
4213
4213
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
4214
4214
  * BusinessRules service.
4215
4215
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
4216
- * @version 237.0.0
4216
+ * @version 239.0.0
4217
4217
  *//**
4218
4218
  * Constructs a new BusinessRulesApi.
4219
4219
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -4434,7 +4434,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
4434
4434
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
4435
4435
  * CarrierServices service.
4436
4436
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
4437
- * @version 237.0.0
4437
+ * @version 239.0.0
4438
4438
  *//**
4439
4439
  * Constructs a new CarrierServicesApi.
4440
4440
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -4454,7 +4454,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
4454
4454
  */},{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(){/**
4455
4455
  * Chat service.
4456
4456
  * @module purecloud-platform-client-v2/api/ChatApi
4457
- * @version 237.0.0
4457
+ * @version 239.0.0
4458
4458
  *//**
4459
4459
  * Constructs a new ChatApi.
4460
4460
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -4685,7 +4685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4685
4685
  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(){/**
4686
4686
  * Coaching service.
4687
4687
  * @module purecloud-platform-client-v2/api/CoachingApi
4688
- * @version 237.0.0
4688
+ * @version 239.0.0
4689
4689
  *//**
4690
4690
  * Constructs a new CoachingApi.
4691
4691
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4848,7 +4848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4848
4848
  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(){/**
4849
4849
  * ContentManagement service.
4850
4850
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4851
- * @version 237.0.0
4851
+ * @version 239.0.0
4852
4852
  *//**
4853
4853
  * Constructs a new ContentManagementApi.
4854
4854
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -5130,7 +5130,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
5130
5130
  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(){/**
5131
5131
  * Conversations service.
5132
5132
  * @module purecloud-platform-client-v2/api/ConversationsApi
5133
- * @version 237.0.0
5133
+ * @version 239.0.0
5134
5134
  *//**
5135
5135
  * Constructs a new ConversationsApi.
5136
5136
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -7231,7 +7231,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
7231
7231
  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(){/**
7232
7232
  * DataExtensions service.
7233
7233
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
7234
- * @version 237.0.0
7234
+ * @version 239.0.0
7235
7235
  *//**
7236
7236
  * Constructs a new DataExtensionsApi.
7237
7237
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -7252,7 +7252,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
7252
7252
  */},{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(){/**
7253
7253
  * DataPrivacy service.
7254
7254
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
7255
- * @version 237.0.0
7255
+ * @version 239.0.0
7256
7256
  *//**
7257
7257
  * Constructs a new DataPrivacyApi.
7258
7258
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -7292,7 +7292,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7292
7292
  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(){/**
7293
7293
  * Downloads service.
7294
7294
  * @module purecloud-platform-client-v2/api/DownloadsApi
7295
- * @version 237.0.0
7295
+ * @version 239.0.0
7296
7296
  *//**
7297
7297
  * Constructs a new DownloadsApi.
7298
7298
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -7311,7 +7311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7311
7311
  if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
7312
7312
  * Emails service.
7313
7313
  * @module purecloud-platform-client-v2/api/EmailsApi
7314
- * @version 237.0.0
7314
+ * @version 239.0.0
7315
7315
  *//**
7316
7316
  * Constructs a new EmailsApi.
7317
7317
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -7340,7 +7340,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
7340
7340
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
7341
7341
  * EmployeeEngagement service.
7342
7342
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
7343
- * @version 237.0.0
7343
+ * @version 239.0.0
7344
7344
  *//**
7345
7345
  * Constructs a new EmployeeEngagementApi.
7346
7346
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -7364,6 +7364,16 @@ if(celebrationId===undefined||celebrationId===null||celebrationId===''){throw'Mi
7364
7364
  * @param {String} recognitionId The Recognition ID
7365
7365
  */},{key:"getEmployeeengagementRecognition",value:function getEmployeeengagementRecognition(recognitionId){// verify the required parameter 'recognitionId' is set
7366
7366
  if(recognitionId===undefined||recognitionId===null||recognitionId===''){throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions/{recognitionId}','GET',{'recognitionId':recognitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7367
+ * Gets sent recognitions
7368
+ *
7369
+ * @param {Object} opts Optional parameters
7370
+ * @param {Object} opts.direction The direction of the recognitions. (default to received)
7371
+ * @param {String} opts.recipient The ID of the recipient (when direction is sent).
7372
+ * @param {Date} opts.dateStart The start date of the search range. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
7373
+ * @param {Date} opts.dateEnd The end date of the search range. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
7374
+ * @param {Number} opts.pageSize Page size (default to 100)
7375
+ * @param {Number} opts.pageNumber Page number (default to 1)
7376
+ */},{key:"getEmployeeengagementRecognitions",value:function getEmployeeengagementRecognitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','GET',{},{'direction':opts['direction'],'recipient':opts['recipient'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7367
7377
  * Set a state for a celebration
7368
7378
  *
7369
7379
  * @param {String} celebrationId The ID of the celebration
@@ -7378,7 +7388,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7378
7388
  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(){/**
7379
7389
  * Events service.
7380
7390
  * @module purecloud-platform-client-v2/api/EventsApi
7381
- * @version 237.0.0
7391
+ * @version 239.0.0
7382
7392
  *//**
7383
7393
  * Constructs a new EventsApi.
7384
7394
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -7403,7 +7413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7403
7413
  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(){/**
7404
7414
  * ExternalContacts service.
7405
7415
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
7406
- * @version 237.0.0
7416
+ * @version 239.0.0
7407
7417
  *//**
7408
7418
  * Constructs a new ExternalContactsApi.
7409
7419
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -8153,7 +8163,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
8153
8163
  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(){/**
8154
8164
  * Fax service.
8155
8165
  * @module purecloud-platform-client-v2/api/FaxApi
8156
- * @version 237.0.0
8166
+ * @version 239.0.0
8157
8167
  *//**
8158
8168
  * Constructs a new FaxApi.
8159
8169
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -8202,7 +8212,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8202
8212
  */},{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(){/**
8203
8213
  * Flows service.
8204
8214
  * @module purecloud-platform-client-v2/api/FlowsApi
8205
- * @version 237.0.0
8215
+ * @version 239.0.0
8206
8216
  *//**
8207
8217
  * Constructs a new FlowsApi.
8208
8218
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -8256,7 +8266,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8256
8266
  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(){/**
8257
8267
  * Gamification service.
8258
8268
  * @module purecloud-platform-client-v2/api/GamificationApi
8259
- * @version 237.0.0
8269
+ * @version 239.0.0
8260
8270
  *//**
8261
8271
  * Constructs a new GamificationApi.
8262
8272
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -8927,7 +8937,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8927
8937
  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(){/**
8928
8938
  * GeneralDataProtectionRegulation service.
8929
8939
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8930
- * @version 237.0.0
8940
+ * @version 239.0.0
8931
8941
  *//**
8932
8942
  * Constructs a new GeneralDataProtectionRegulationApi.
8933
8943
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -8962,7 +8972,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
8962
8972
  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(){/**
8963
8973
  * Geolocation service.
8964
8974
  * @module purecloud-platform-client-v2/api/GeolocationApi
8965
- * @version 237.0.0
8975
+ * @version 239.0.0
8966
8976
  *//**
8967
8977
  * Constructs a new GeolocationApi.
8968
8978
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -8996,7 +9006,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
8996
9006
  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(){/**
8997
9007
  * Greetings service.
8998
9008
  * @module purecloud-platform-client-v2/api/GreetingsApi
8999
- * @version 237.0.0
9009
+ * @version 239.0.0
9000
9010
  *//**
9001
9011
  * Constructs a new GreetingsApi.
9002
9012
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -9124,7 +9134,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
9124
9134
  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(){/**
9125
9135
  * Groups service.
9126
9136
  * @module purecloud-platform-client-v2/api/GroupsApi
9127
- * @version 237.0.0
9137
+ * @version 239.0.0
9128
9138
  *//**
9129
9139
  * Constructs a new GroupsApi.
9130
9140
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -9257,7 +9267,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
9257
9267
  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(){/**
9258
9268
  * IdentityProvider service.
9259
9269
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
9260
- * @version 237.0.0
9270
+ * @version 239.0.0
9261
9271
  *//**
9262
9272
  * Constructs a new IdentityProviderApi.
9263
9273
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -9413,7 +9423,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9413
9423
  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(){/**
9414
9424
  * InfrastructureAsCode service.
9415
9425
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
9416
- * @version 237.0.0
9426
+ * @version 239.0.0
9417
9427
  *//**
9418
9428
  * Constructs a new InfrastructureAsCodeApi.
9419
9429
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -9467,7 +9477,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
9467
9477
  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(){/**
9468
9478
  * Integrations service.
9469
9479
  * @module purecloud-platform-client-v2/api/IntegrationsApi
9470
- * @version 237.0.0
9480
+ * @version 239.0.0
9471
9481
  *//**
9472
9482
  * Constructs a new IntegrationsApi.
9473
9483
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -10157,7 +10167,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
10157
10167
  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(){/**
10158
10168
  * Journey service.
10159
10169
  * @module purecloud-platform-client-v2/api/JourneyApi
10160
- * @version 237.0.0
10170
+ * @version 239.0.0
10161
10171
  *//**
10162
10172
  * Constructs a new JourneyApi.
10163
10173
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -10666,7 +10676,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
10666
10676
  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(){/**
10667
10677
  * Knowledge service.
10668
10678
  * @module purecloud-platform-client-v2/api/KnowledgeApi
10669
- * @version 237.0.0
10679
+ * @version 239.0.0
10670
10680
  *//**
10671
10681
  * Constructs a new KnowledgeApi.
10672
10682
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -11494,7 +11504,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
11494
11504
  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(){/**
11495
11505
  * LanguageUnderstanding service.
11496
11506
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
11497
- * @version 237.0.0
11507
+ * @version 239.0.0
11498
11508
  *//**
11499
11509
  * Constructs a new LanguageUnderstandingApi.
11500
11510
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -11803,7 +11813,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
11803
11813
  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(){/**
11804
11814
  * Languages service.
11805
11815
  * @module purecloud-platform-client-v2/api/LanguagesApi
11806
- * @version 237.0.0
11816
+ * @version 239.0.0
11807
11817
  *//**
11808
11818
  * Constructs a new LanguagesApi.
11809
11819
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -11858,7 +11868,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
11858
11868
  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(){/**
11859
11869
  * Learning service.
11860
11870
  * @module purecloud-platform-client-v2/api/LearningApi
11861
- * @version 237.0.0
11871
+ * @version 239.0.0
11862
11872
  *//**
11863
11873
  * Constructs a new LearningApi.
11864
11874
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -12147,7 +12157,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
12147
12157
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
12148
12158
  * License service.
12149
12159
  * @module purecloud-platform-client-v2/api/LicenseApi
12150
- * @version 237.0.0
12160
+ * @version 239.0.0
12151
12161
  *//**
12152
12162
  * Constructs a new LicenseApi.
12153
12163
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -12201,7 +12211,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
12201
12211
  */},{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(){/**
12202
12212
  * Locations service.
12203
12213
  * @module purecloud-platform-client-v2/api/LocationsApi
12204
- * @version 237.0.0
12214
+ * @version 239.0.0
12205
12215
  *//**
12206
12216
  * Constructs a new LocationsApi.
12207
12217
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -12260,7 +12270,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12260
12270
  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(){/**
12261
12271
  * LogCapture service.
12262
12272
  * @module purecloud-platform-client-v2/api/LogCaptureApi
12263
- * @version 237.0.0
12273
+ * @version 239.0.0
12264
12274
  *//**
12265
12275
  * Constructs a new LogCaptureApi.
12266
12276
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -12309,7 +12319,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
12309
12319
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
12310
12320
  * Messaging service.
12311
12321
  * @module purecloud-platform-client-v2/api/MessagingApi
12312
- * @version 237.0.0
12322
+ * @version 239.0.0
12313
12323
  *//**
12314
12324
  * Constructs a new MessagingApi.
12315
12325
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -12399,7 +12409,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12399
12409
  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(){/**
12400
12410
  * MobileDevices service.
12401
12411
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
12402
- * @version 237.0.0
12412
+ * @version 239.0.0
12403
12413
  *//**
12404
12414
  * Constructs a new MobileDevicesApi.
12405
12415
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -12438,7 +12448,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12438
12448
  if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
12439
12449
  * Notifications service.
12440
12450
  * @module purecloud-platform-client-v2/api/NotificationsApi
12441
- * @version 237.0.0
12451
+ * @version 239.0.0
12442
12452
  *//**
12443
12453
  * Constructs a new NotificationsApi.
12444
12454
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -12495,7 +12505,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
12495
12505
  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(){/**
12496
12506
  * OAuth service.
12497
12507
  * @module purecloud-platform-client-v2/api/OAuthApi
12498
- * @version 237.0.0
12508
+ * @version 239.0.0
12499
12509
  *//**
12500
12510
  * Constructs a new OAuthApi.
12501
12511
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -12580,7 +12590,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
12580
12590
  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(){/**
12581
12591
  * Objects service.
12582
12592
  * @module purecloud-platform-client-v2/api/ObjectsApi
12583
- * @version 237.0.0
12593
+ * @version 239.0.0
12584
12594
  *//**
12585
12595
  * Constructs a new ObjectsApi.
12586
12596
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -12666,7 +12676,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
12666
12676
  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(){/**
12667
12677
  * OperationalEvents service.
12668
12678
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
12669
- * @version 237.0.0
12679
+ * @version 239.0.0
12670
12680
  *//**
12671
12681
  * Constructs a new OperationalEventsApi.
12672
12682
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -12697,7 +12707,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
12697
12707
  */},{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(){/**
12698
12708
  * Organization service.
12699
12709
  * @module purecloud-platform-client-v2/api/OrganizationApi
12700
- * @version 237.0.0
12710
+ * @version 239.0.0
12701
12711
  *//**
12702
12712
  * Constructs a new OrganizationApi.
12703
12713
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -12802,7 +12812,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12802
12812
  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(){/**
12803
12813
  * OrganizationAuthorization service.
12804
12814
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
12805
- * @version 237.0.0
12815
+ * @version 239.0.0
12806
12816
  *//**
12807
12817
  * Constructs a new OrganizationAuthorizationApi.
12808
12818
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -13136,7 +13146,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
13136
13146
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
13137
13147
  * Outbound service.
13138
13148
  * @module purecloud-platform-client-v2/api/OutboundApi
13139
- * @version 237.0.0
13149
+ * @version 239.0.0
13140
13150
  *//**
13141
13151
  * Constructs a new OutboundApi.
13142
13152
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -13759,7 +13769,8 @@ if(messagingCampaignId===undefined||messagingCampaignId===null||messagingCampaig
13759
13769
  * @param {Array.<String>} opts.id A list of messaging campaign ids to bulk fetch
13760
13770
  * @param {String} opts.contentTemplateId Content template ID
13761
13771
  * @param {Object} opts.campaignStatus Campaign Status
13762
- */},{key:"getOutboundMessagingcampaigns",value:function getOutboundMessagingcampaigns(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'contactListId':opts['contactListId'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'type':opts['type'],'senderSmsPhoneNumber':opts['senderSmsPhoneNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'contentTemplateId':opts['contentTemplateId'],'campaignStatus':opts['campaignStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13772
+ * @param {Array.<String>} opts.ruleSetIds Ruleset ID(s)
13773
+ */},{key:"getOutboundMessagingcampaigns",value:function getOutboundMessagingcampaigns(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'contactListId':opts['contactListId'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'type':opts['type'],'senderSmsPhoneNumber':opts['senderSmsPhoneNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'contentTemplateId':opts['contentTemplateId'],'campaignStatus':opts['campaignStatus'],'ruleSetIds':this.apiClient.buildCollectionParam(opts['ruleSetIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13763
13774
  * Get a basic Messaging Campaign information object
13764
13775
  * This returns a simplified version of a Messaging Campaign, consisting of id, name, and division.
13765
13776
  * @param {String} messagingCampaignId The Messaging Campaign ID
@@ -14292,7 +14303,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14292
14303
  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(){/**
14293
14304
  * Presence service.
14294
14305
  * @module purecloud-platform-client-v2/api/PresenceApi
14295
- * @version 237.0.0
14306
+ * @version 239.0.0
14296
14307
  *//**
14297
14308
  * Constructs a new PresenceApi.
14298
14309
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -14465,7 +14476,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14465
14476
  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(){/**
14466
14477
  * ProcessAutomation service.
14467
14478
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
14468
- * @version 237.0.0
14479
+ * @version 239.0.0
14469
14480
  *//**
14470
14481
  * Constructs a new ProcessAutomationApi.
14471
14482
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -14528,7 +14539,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
14528
14539
  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(){/**
14529
14540
  * Quality service.
14530
14541
  * @module purecloud-platform-client-v2/api/QualityApi
14531
- * @version 237.0.0
14542
+ * @version 239.0.0
14532
14543
  *//**
14533
14544
  * Constructs a new QualityApi.
14534
14545
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -15018,7 +15029,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
15018
15029
  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(){/**
15019
15030
  * Recording service.
15020
15031
  * @module purecloud-platform-client-v2/api/RecordingApi
15021
- * @version 237.0.0
15032
+ * @version 239.0.0
15022
15033
  *//**
15023
15034
  * Constructs a new RecordingApi.
15024
15035
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -15417,7 +15428,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15417
15428
  */},{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(){/**
15418
15429
  * ResponseManagement service.
15419
15430
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
15420
- * @version 237.0.0
15431
+ * @version 239.0.0
15421
15432
  *//**
15422
15433
  * Constructs a new ResponseManagementApi.
15423
15434
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -15538,7 +15549,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
15538
15549
  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(){/**
15539
15550
  * Routing service.
15540
15551
  * @module purecloud-platform-client-v2/api/RoutingApi
15541
- * @version 237.0.0
15552
+ * @version 239.0.0
15542
15553
  *//**
15543
15554
  * Constructs a new RoutingApi.
15544
15555
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -16629,7 +16640,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16629
16640
  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(){/**
16630
16641
  * SCIM service.
16631
16642
  * @module purecloud-platform-client-v2/api/SCIMApi
16632
- * @version 237.0.0
16643
+ * @version 239.0.0
16633
16644
  *//**
16634
16645
  * Constructs a new SCIMApi.
16635
16646
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -16854,7 +16865,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16854
16865
  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(){/**
16855
16866
  * ScreenRecording service.
16856
16867
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
16857
- * @version 237.0.0
16868
+ * @version 239.0.0
16858
16869
  *//**
16859
16870
  * Constructs a new ScreenRecordingApi.
16860
16871
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -16869,7 +16880,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16869
16880
  */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(){/**
16870
16881
  * Scripts service.
16871
16882
  * @module purecloud-platform-client-v2/api/ScriptsApi
16872
- * @version 237.0.0
16883
+ * @version 239.0.0
16873
16884
  *//**
16874
16885
  * Constructs a new ScriptsApi.
16875
16886
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -17015,7 +17026,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
17015
17026
  */},{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(){/**
17016
17027
  * Search service.
17017
17028
  * @module purecloud-platform-client-v2/api/SearchApi
17018
- * @version 237.0.0
17029
+ * @version 239.0.0
17019
17030
  *//**
17020
17031
  * Constructs a new SearchApi.
17021
17032
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -17174,7 +17185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17174
17185
  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(){/**
17175
17186
  * Settings service.
17176
17187
  * @module purecloud-platform-client-v2/api/SettingsApi
17177
- * @version 237.0.0
17188
+ * @version 239.0.0
17178
17189
  *//**
17179
17190
  * Constructs a new SettingsApi.
17180
17191
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -17246,7 +17257,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
17246
17257
  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(){/**
17247
17258
  * SocialMedia service.
17248
17259
  * @module purecloud-platform-client-v2/api/SocialMediaApi
17249
- * @version 237.0.0
17260
+ * @version 239.0.0
17250
17261
  *//**
17251
17262
  * Constructs a new SocialMediaApi.
17252
17263
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -17661,7 +17672,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
17661
17672
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
17662
17673
  * SpeechTextAnalytics service.
17663
17674
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
17664
- * @version 237.0.0
17675
+ * @version 239.0.0
17665
17676
  *//**
17666
17677
  * Constructs a new SpeechTextAnalyticsApi.
17667
17678
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -18031,7 +18042,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
18031
18042
  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(){/**
18032
18043
  * Stations service.
18033
18044
  * @module purecloud-platform-client-v2/api/StationsApi
18034
- * @version 237.0.0
18045
+ * @version 239.0.0
18035
18046
  *//**
18036
18047
  * Constructs a new StationsApi.
18037
18048
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -18063,7 +18074,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
18063
18074
  */},{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(){/**
18064
18075
  * Suggest service.
18065
18076
  * @module purecloud-platform-client-v2/api/SuggestApi
18066
- * @version 237.0.0
18077
+ * @version 239.0.0
18067
18078
  *//**
18068
18079
  * Constructs a new SuggestApi.
18069
18080
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -18103,7 +18114,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18103
18114
  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(){/**
18104
18115
  * TaskManagement service.
18105
18116
  * @module purecloud-platform-client-v2/api/TaskManagementApi
18106
- * @version 237.0.0
18117
+ * @version 239.0.0
18107
18118
  *//**
18108
18119
  * Constructs a new TaskManagementApi.
18109
18120
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -18611,7 +18622,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
18611
18622
  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(){/**
18612
18623
  * Teams service.
18613
18624
  * @module purecloud-platform-client-v2/api/TeamsApi
18614
- * @version 237.0.0
18625
+ * @version 239.0.0
18615
18626
  *//**
18616
18627
  * Constructs a new TeamsApi.
18617
18628
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -18691,7 +18702,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18691
18702
  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(){/**
18692
18703
  * Telephony service.
18693
18704
  * @module purecloud-platform-client-v2/api/TelephonyApi
18694
- * @version 237.0.0
18705
+ * @version 239.0.0
18695
18706
  *//**
18696
18707
  * Constructs a new TelephonyApi.
18697
18708
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -18762,7 +18773,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18762
18773
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
18763
18774
  * TelephonyProvidersEdge service.
18764
18775
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
18765
- * @version 237.0.0
18776
+ * @version 239.0.0
18766
18777
  *//**
18767
18778
  * Constructs a new TelephonyProvidersEdgeApi.
18768
18779
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -19610,7 +19621,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
19610
19621
  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(){/**
19611
19622
  * Textbots service.
19612
19623
  * @module purecloud-platform-client-v2/api/TextbotsApi
19613
- * @version 237.0.0
19624
+ * @version 239.0.0
19614
19625
  *//**
19615
19626
  * Constructs a new TextbotsApi.
19616
19627
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -19646,7 +19657,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
19646
19657
  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(){/**
19647
19658
  * Tokens service.
19648
19659
  * @module purecloud-platform-client-v2/api/TokensApi
19649
- * @version 237.0.0
19660
+ * @version 239.0.0
19650
19661
  *//**
19651
19662
  * Constructs a new TokensApi.
19652
19663
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -19680,7 +19691,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
19680
19691
  */},{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(){/**
19681
19692
  * Uploads service.
19682
19693
  * @module purecloud-platform-client-v2/api/UploadsApi
19683
- * @version 237.0.0
19694
+ * @version 239.0.0
19684
19695
  *//**
19685
19696
  * Constructs a new UploadsApi.
19686
19697
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -19748,7 +19759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19748
19759
  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(){/**
19749
19760
  * Usage service.
19750
19761
  * @module purecloud-platform-client-v2/api/UsageApi
19751
- * @version 237.0.0
19762
+ * @version 239.0.0
19752
19763
  *//**
19753
19764
  * Constructs a new UsageApi.
19754
19765
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -19832,7 +19843,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19832
19843
  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(){/**
19833
19844
  * UserRecordings service.
19834
19845
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
19835
- * @version 237.0.0
19846
+ * @version 239.0.0
19836
19847
  *//**
19837
19848
  * Constructs a new UserRecordingsApi.
19838
19849
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -19880,7 +19891,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
19880
19891
  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(){/**
19881
19892
  * Users service.
19882
19893
  * @module purecloud-platform-client-v2/api/UsersApi
19883
- * @version 237.0.0
19894
+ * @version 239.0.0
19884
19895
  *//**
19885
19896
  * Constructs a new UsersApi.
19886
19897
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -20624,7 +20635,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
20624
20635
  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 UsersRulesApi=/*#__PURE__*/function(){/**
20625
20636
  * UsersRules service.
20626
20637
  * @module purecloud-platform-client-v2/api/UsersRulesApi
20627
- * @version 237.0.0
20638
+ * @version 239.0.0
20628
20639
  *//**
20629
20640
  * Constructs a new UsersRulesApi.
20630
20641
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -20707,7 +20718,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20707
20718
  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']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
20708
20719
  * Utilities service.
20709
20720
  * @module purecloud-platform-client-v2/api/UtilitiesApi
20710
- * @version 237.0.0
20721
+ * @version 239.0.0
20711
20722
  *//**
20712
20723
  * Constructs a new UtilitiesApi.
20713
20724
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -20734,7 +20745,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20734
20745
  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(){/**
20735
20746
  * Voicemail service.
20736
20747
  * @module purecloud-platform-client-v2/api/VoicemailApi
20737
- * @version 237.0.0
20748
+ * @version 239.0.0
20738
20749
  *//**
20739
20750
  * Constructs a new VoicemailApi.
20740
20751
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -20896,7 +20907,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
20896
20907
  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(){/**
20897
20908
  * WebChat service.
20898
20909
  * @module purecloud-platform-client-v2/api/WebChatApi
20899
- * @version 237.0.0
20910
+ * @version 239.0.0
20900
20911
  *//**
20901
20912
  * Constructs a new WebChatApi.
20902
20913
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -21043,7 +21054,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21043
21054
  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(){/**
21044
21055
  * WebDeployments service.
21045
21056
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
21046
- * @version 237.0.0
21057
+ * @version 239.0.0
21047
21058
  *//**
21048
21059
  * Constructs a new WebDeploymentsApi.
21049
21060
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -21176,7 +21187,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21176
21187
  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(){/**
21177
21188
  * WebMessaging service.
21178
21189
  * @module purecloud-platform-client-v2/api/WebMessagingApi
21179
- * @version 237.0.0
21190
+ * @version 239.0.0
21180
21191
  *//**
21181
21192
  * Constructs a new WebMessagingApi.
21182
21193
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -21217,7 +21228,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
21217
21228
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
21218
21229
  * Widgets service.
21219
21230
  * @module purecloud-platform-client-v2/api/WidgetsApi
21220
- * @version 237.0.0
21231
+ * @version 239.0.0
21221
21232
  *//**
21222
21233
  * Constructs a new WidgetsApi.
21223
21234
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -21257,7 +21268,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21257
21268
  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(){/**
21258
21269
  * WorkforceManagement service.
21259
21270
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
21260
- * @version 237.0.0
21271
+ * @version 239.0.0
21261
21272
  *//**
21262
21273
  * Constructs a new WorkforceManagementApi.
21263
21274
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -23229,7 +23240,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23229
23240
  * </pre>
23230
23241
  * </p>
23231
23242
  * @module purecloud-platform-client-v2/index
23232
- * @version 237.0.0
23243
+ * @version 239.0.0
23233
23244
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23234
23245
  * The ApiClient constructor.
23235
23246
  * @property {module:purecloud-platform-client-v2/ApiClient}