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
@@ -6519,7 +6519,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6519
6519
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6520
6520
  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];}}}]);}();/**
6521
6521
  * @module purecloud-platform-client-v2/ApiClient
6522
- * @version 237.0.0
6522
+ * @version 239.0.0
6523
6523
  */var ApiClient=/*#__PURE__*/function(){/**
6524
6524
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6525
6525
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6681,7 +6681,7 @@ if(error.response){_this7.config.logger.log('error',error.response.status,'POST'
6681
6681
  * @param {string} code - code verifier used to generate the code challenge
6682
6682
  */},{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
6683
6683
  {// browser
6684
- 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
6684
+ 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
6685
6685
  return reject(new Error("Code Challenge Error ".concat(error)));});});}}/**
6686
6686
  * @description Initiates the pkce auth code grant login flow. Will attempt to load the token from local storage, if enabled.
6687
6687
  * @param {string} clientId - The client ID of an OAuth Implicit Grant client
@@ -6875,7 +6875,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6875
6875
  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(){/**
6876
6876
  * AIStudio service.
6877
6877
  * @module purecloud-platform-client-v2/api/AIStudioApi
6878
- * @version 237.0.0
6878
+ * @version 239.0.0
6879
6879
  *//**
6880
6880
  * Constructs a new AIStudioApi.
6881
6881
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -7026,7 +7026,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
7026
7026
  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(){/**
7027
7027
  * AgentAssistants service.
7028
7028
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
7029
- * @version 237.0.0
7029
+ * @version 239.0.0
7030
7030
  *//**
7031
7031
  * Constructs a new AgentAssistantsApi.
7032
7032
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7157,7 +7157,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
7157
7157
  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(){/**
7158
7158
  * AgentCopilot service.
7159
7159
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7160
- * @version 237.0.0
7160
+ * @version 239.0.0
7161
7161
  *//**
7162
7162
  * Constructs a new AgentCopilotApi.
7163
7163
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7184,7 +7184,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7184
7184
  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(){/**
7185
7185
  * AgentUI service.
7186
7186
  * @module purecloud-platform-client-v2/api/AgentUIApi
7187
- * @version 237.0.0
7187
+ * @version 239.0.0
7188
7188
  *//**
7189
7189
  * Constructs a new AgentUIApi.
7190
7190
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7218,7 +7218,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7218
7218
  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(){/**
7219
7219
  * Alerting service.
7220
7220
  * @module purecloud-platform-client-v2/api/AlertingApi
7221
- * @version 237.0.0
7221
+ * @version 239.0.0
7222
7222
  *//**
7223
7223
  * Constructs a new AlertingApi.
7224
7224
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7307,7 +7307,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7307
7307
  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(){/**
7308
7308
  * Analytics service.
7309
7309
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7310
- * @version 237.0.0
7310
+ * @version 239.0.0
7311
7311
  *//**
7312
7312
  * Constructs a new AnalyticsApi.
7313
7313
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -8083,7 +8083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8083
8083
  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(){/**
8084
8084
  * Architect service.
8085
8085
  * @module purecloud-platform-client-v2/api/ArchitectApi
8086
- * @version 237.0.0
8086
+ * @version 239.0.0
8087
8087
  *//**
8088
8088
  * Constructs a new ArchitectApi.
8089
8089
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9217,7 +9217,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9217
9217
  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(){/**
9218
9218
  * Audit service.
9219
9219
  * @module purecloud-platform-client-v2/api/AuditApi
9220
- * @version 237.0.0
9220
+ * @version 239.0.0
9221
9221
  *//**
9222
9222
  * Constructs a new AuditApi.
9223
9223
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9267,7 +9267,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9267
9267
  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(){/**
9268
9268
  * Authorization service.
9269
9269
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9270
- * @version 237.0.0
9270
+ * @version 239.0.0
9271
9271
  *//**
9272
9272
  * Constructs a new AuthorizationApi.
9273
9273
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9702,7 +9702,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9702
9702
  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(){/**
9703
9703
  * Billing service.
9704
9704
  * @module purecloud-platform-client-v2/api/BillingApi
9705
- * @version 237.0.0
9705
+ * @version 239.0.0
9706
9706
  *//**
9707
9707
  * Constructs a new BillingApi.
9708
9708
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9779,7 +9779,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9779
9779
  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(){/**
9780
9780
  * BusinessRules service.
9781
9781
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9782
- * @version 237.0.0
9782
+ * @version 239.0.0
9783
9783
  *//**
9784
9784
  * Constructs a new BusinessRulesApi.
9785
9785
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -10000,7 +10000,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
10000
10000
  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(){/**
10001
10001
  * CarrierServices service.
10002
10002
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10003
- * @version 237.0.0
10003
+ * @version 239.0.0
10004
10004
  *//**
10005
10005
  * Constructs a new CarrierServicesApi.
10006
10006
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -10020,7 +10020,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
10020
10020
  */},{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(){/**
10021
10021
  * Chat service.
10022
10022
  * @module purecloud-platform-client-v2/api/ChatApi
10023
- * @version 237.0.0
10023
+ * @version 239.0.0
10024
10024
  *//**
10025
10025
  * Constructs a new ChatApi.
10026
10026
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10251,7 +10251,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10251
10251
  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(){/**
10252
10252
  * Coaching service.
10253
10253
  * @module purecloud-platform-client-v2/api/CoachingApi
10254
- * @version 237.0.0
10254
+ * @version 239.0.0
10255
10255
  *//**
10256
10256
  * Constructs a new CoachingApi.
10257
10257
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10414,7 +10414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10414
10414
  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(){/**
10415
10415
  * ContentManagement service.
10416
10416
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10417
- * @version 237.0.0
10417
+ * @version 239.0.0
10418
10418
  *//**
10419
10419
  * Constructs a new ContentManagementApi.
10420
10420
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10696,7 +10696,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
10696
10696
  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(){/**
10697
10697
  * Conversations service.
10698
10698
  * @module purecloud-platform-client-v2/api/ConversationsApi
10699
- * @version 237.0.0
10699
+ * @version 239.0.0
10700
10700
  *//**
10701
10701
  * Constructs a new ConversationsApi.
10702
10702
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -12797,7 +12797,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12797
12797
  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(){/**
12798
12798
  * DataExtensions service.
12799
12799
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12800
- * @version 237.0.0
12800
+ * @version 239.0.0
12801
12801
  *//**
12802
12802
  * Constructs a new DataExtensionsApi.
12803
12803
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12818,7 +12818,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12818
12818
  */},{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(){/**
12819
12819
  * DataPrivacy service.
12820
12820
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12821
- * @version 237.0.0
12821
+ * @version 239.0.0
12822
12822
  *//**
12823
12823
  * Constructs a new DataPrivacyApi.
12824
12824
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12858,7 +12858,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12858
12858
  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(){/**
12859
12859
  * Downloads service.
12860
12860
  * @module purecloud-platform-client-v2/api/DownloadsApi
12861
- * @version 237.0.0
12861
+ * @version 239.0.0
12862
12862
  *//**
12863
12863
  * Constructs a new DownloadsApi.
12864
12864
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12877,7 +12877,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12877
12877
  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(){/**
12878
12878
  * Emails service.
12879
12879
  * @module purecloud-platform-client-v2/api/EmailsApi
12880
- * @version 237.0.0
12880
+ * @version 239.0.0
12881
12881
  *//**
12882
12882
  * Constructs a new EmailsApi.
12883
12883
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12906,7 +12906,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12906
12906
  */},{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(){/**
12907
12907
  * EmployeeEngagement service.
12908
12908
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12909
- * @version 237.0.0
12909
+ * @version 239.0.0
12910
12910
  *//**
12911
12911
  * Constructs a new EmployeeEngagementApi.
12912
12912
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12930,6 +12930,16 @@ if(celebrationId===undefined||celebrationId===null||celebrationId===''){throw'Mi
12930
12930
  * @param {String} recognitionId The Recognition ID
12931
12931
  */},{key:"getEmployeeengagementRecognition",value:function getEmployeeengagementRecognition(recognitionId){// verify the required parameter 'recognitionId' is set
12932
12932
  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']);}/**
12933
+ * Gets sent recognitions
12934
+ *
12935
+ * @param {Object} opts Optional parameters
12936
+ * @param {Object} opts.direction The direction of the recognitions. (default to received)
12937
+ * @param {String} opts.recipient The ID of the recipient (when direction is sent).
12938
+ * @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
12939
+ * @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
12940
+ * @param {Number} opts.pageSize Page size (default to 100)
12941
+ * @param {Number} opts.pageNumber Page number (default to 1)
12942
+ */},{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']);}/**
12933
12943
  * Set a state for a celebration
12934
12944
  *
12935
12945
  * @param {String} celebrationId The ID of the celebration
@@ -12944,7 +12954,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12944
12954
  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(){/**
12945
12955
  * Events service.
12946
12956
  * @module purecloud-platform-client-v2/api/EventsApi
12947
- * @version 237.0.0
12957
+ * @version 239.0.0
12948
12958
  *//**
12949
12959
  * Constructs a new EventsApi.
12950
12960
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12969,7 +12979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12969
12979
  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(){/**
12970
12980
  * ExternalContacts service.
12971
12981
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12972
- * @version 237.0.0
12982
+ * @version 239.0.0
12973
12983
  *//**
12974
12984
  * Constructs a new ExternalContactsApi.
12975
12985
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13719,7 +13729,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13719
13729
  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(){/**
13720
13730
  * Fax service.
13721
13731
  * @module purecloud-platform-client-v2/api/FaxApi
13722
- * @version 237.0.0
13732
+ * @version 239.0.0
13723
13733
  *//**
13724
13734
  * Constructs a new FaxApi.
13725
13735
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13768,7 +13778,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13768
13778
  */},{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(){/**
13769
13779
  * Flows service.
13770
13780
  * @module purecloud-platform-client-v2/api/FlowsApi
13771
- * @version 237.0.0
13781
+ * @version 239.0.0
13772
13782
  *//**
13773
13783
  * Constructs a new FlowsApi.
13774
13784
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13822,7 +13832,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13822
13832
  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(){/**
13823
13833
  * Gamification service.
13824
13834
  * @module purecloud-platform-client-v2/api/GamificationApi
13825
- * @version 237.0.0
13835
+ * @version 239.0.0
13826
13836
  *//**
13827
13837
  * Constructs a new GamificationApi.
13828
13838
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -14493,7 +14503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14493
14503
  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(){/**
14494
14504
  * GeneralDataProtectionRegulation service.
14495
14505
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14496
- * @version 237.0.0
14506
+ * @version 239.0.0
14497
14507
  *//**
14498
14508
  * Constructs a new GeneralDataProtectionRegulationApi.
14499
14509
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14528,7 +14538,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14528
14538
  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(){/**
14529
14539
  * Geolocation service.
14530
14540
  * @module purecloud-platform-client-v2/api/GeolocationApi
14531
- * @version 237.0.0
14541
+ * @version 239.0.0
14532
14542
  *//**
14533
14543
  * Constructs a new GeolocationApi.
14534
14544
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14562,7 +14572,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14562
14572
  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(){/**
14563
14573
  * Greetings service.
14564
14574
  * @module purecloud-platform-client-v2/api/GreetingsApi
14565
- * @version 237.0.0
14575
+ * @version 239.0.0
14566
14576
  *//**
14567
14577
  * Constructs a new GreetingsApi.
14568
14578
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14690,7 +14700,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14690
14700
  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(){/**
14691
14701
  * Groups service.
14692
14702
  * @module purecloud-platform-client-v2/api/GroupsApi
14693
- * @version 237.0.0
14703
+ * @version 239.0.0
14694
14704
  *//**
14695
14705
  * Constructs a new GroupsApi.
14696
14706
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14823,7 +14833,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14823
14833
  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(){/**
14824
14834
  * IdentityProvider service.
14825
14835
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14826
- * @version 237.0.0
14836
+ * @version 239.0.0
14827
14837
  *//**
14828
14838
  * Constructs a new IdentityProviderApi.
14829
14839
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14979,7 +14989,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14979
14989
  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(){/**
14980
14990
  * InfrastructureAsCode service.
14981
14991
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14982
- * @version 237.0.0
14992
+ * @version 239.0.0
14983
14993
  *//**
14984
14994
  * Constructs a new InfrastructureAsCodeApi.
14985
14995
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -15033,7 +15043,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
15033
15043
  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(){/**
15034
15044
  * Integrations service.
15035
15045
  * @module purecloud-platform-client-v2/api/IntegrationsApi
15036
- * @version 237.0.0
15046
+ * @version 239.0.0
15037
15047
  *//**
15038
15048
  * Constructs a new IntegrationsApi.
15039
15049
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15723,7 +15733,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15723
15733
  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(){/**
15724
15734
  * Journey service.
15725
15735
  * @module purecloud-platform-client-v2/api/JourneyApi
15726
- * @version 237.0.0
15736
+ * @version 239.0.0
15727
15737
  *//**
15728
15738
  * Constructs a new JourneyApi.
15729
15739
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16232,7 +16242,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16232
16242
  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(){/**
16233
16243
  * Knowledge service.
16234
16244
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16235
- * @version 237.0.0
16245
+ * @version 239.0.0
16236
16246
  *//**
16237
16247
  * Constructs a new KnowledgeApi.
16238
16248
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -17060,7 +17070,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
17060
17070
  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(){/**
17061
17071
  * LanguageUnderstanding service.
17062
17072
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17063
- * @version 237.0.0
17073
+ * @version 239.0.0
17064
17074
  *//**
17065
17075
  * Constructs a new LanguageUnderstandingApi.
17066
17076
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17369,7 +17379,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17369
17379
  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(){/**
17370
17380
  * Languages service.
17371
17381
  * @module purecloud-platform-client-v2/api/LanguagesApi
17372
- * @version 237.0.0
17382
+ * @version 239.0.0
17373
17383
  *//**
17374
17384
  * Constructs a new LanguagesApi.
17375
17385
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17424,7 +17434,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17424
17434
  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(){/**
17425
17435
  * Learning service.
17426
17436
  * @module purecloud-platform-client-v2/api/LearningApi
17427
- * @version 237.0.0
17437
+ * @version 239.0.0
17428
17438
  *//**
17429
17439
  * Constructs a new LearningApi.
17430
17440
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17713,7 +17723,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17713
17723
  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(){/**
17714
17724
  * License service.
17715
17725
  * @module purecloud-platform-client-v2/api/LicenseApi
17716
- * @version 237.0.0
17726
+ * @version 239.0.0
17717
17727
  *//**
17718
17728
  * Constructs a new LicenseApi.
17719
17729
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17767,7 +17777,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17767
17777
  */},{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(){/**
17768
17778
  * Locations service.
17769
17779
  * @module purecloud-platform-client-v2/api/LocationsApi
17770
- * @version 237.0.0
17780
+ * @version 239.0.0
17771
17781
  *//**
17772
17782
  * Constructs a new LocationsApi.
17773
17783
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17826,7 +17836,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17826
17836
  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(){/**
17827
17837
  * LogCapture service.
17828
17838
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17829
- * @version 237.0.0
17839
+ * @version 239.0.0
17830
17840
  *//**
17831
17841
  * Constructs a new LogCaptureApi.
17832
17842
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17875,7 +17885,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17875
17885
  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(){/**
17876
17886
  * Messaging service.
17877
17887
  * @module purecloud-platform-client-v2/api/MessagingApi
17878
- * @version 237.0.0
17888
+ * @version 239.0.0
17879
17889
  *//**
17880
17890
  * Constructs a new MessagingApi.
17881
17891
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17965,7 +17975,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17965
17975
  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(){/**
17966
17976
  * MobileDevices service.
17967
17977
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17968
- * @version 237.0.0
17978
+ * @version 239.0.0
17969
17979
  *//**
17970
17980
  * Constructs a new MobileDevicesApi.
17971
17981
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -18004,7 +18014,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18004
18014
  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(){/**
18005
18015
  * Notifications service.
18006
18016
  * @module purecloud-platform-client-v2/api/NotificationsApi
18007
- * @version 237.0.0
18017
+ * @version 239.0.0
18008
18018
  *//**
18009
18019
  * Constructs a new NotificationsApi.
18010
18020
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18061,7 +18071,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18061
18071
  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(){/**
18062
18072
  * OAuth service.
18063
18073
  * @module purecloud-platform-client-v2/api/OAuthApi
18064
- * @version 237.0.0
18074
+ * @version 239.0.0
18065
18075
  *//**
18066
18076
  * Constructs a new OAuthApi.
18067
18077
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18146,7 +18156,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18146
18156
  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(){/**
18147
18157
  * Objects service.
18148
18158
  * @module purecloud-platform-client-v2/api/ObjectsApi
18149
- * @version 237.0.0
18159
+ * @version 239.0.0
18150
18160
  *//**
18151
18161
  * Constructs a new ObjectsApi.
18152
18162
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18232,7 +18242,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18232
18242
  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(){/**
18233
18243
  * OperationalEvents service.
18234
18244
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18235
- * @version 237.0.0
18245
+ * @version 239.0.0
18236
18246
  *//**
18237
18247
  * Constructs a new OperationalEventsApi.
18238
18248
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18263,7 +18273,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18263
18273
  */},{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(){/**
18264
18274
  * Organization service.
18265
18275
  * @module purecloud-platform-client-v2/api/OrganizationApi
18266
- * @version 237.0.0
18276
+ * @version 239.0.0
18267
18277
  *//**
18268
18278
  * Constructs a new OrganizationApi.
18269
18279
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18368,7 +18378,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18368
18378
  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(){/**
18369
18379
  * OrganizationAuthorization service.
18370
18380
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18371
- * @version 237.0.0
18381
+ * @version 239.0.0
18372
18382
  *//**
18373
18383
  * Constructs a new OrganizationAuthorizationApi.
18374
18384
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18702,7 +18712,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18702
18712
  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(){/**
18703
18713
  * Outbound service.
18704
18714
  * @module purecloud-platform-client-v2/api/OutboundApi
18705
- * @version 237.0.0
18715
+ * @version 239.0.0
18706
18716
  *//**
18707
18717
  * Constructs a new OutboundApi.
18708
18718
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19325,7 +19335,8 @@ if(messagingCampaignId===undefined||messagingCampaignId===null||messagingCampaig
19325
19335
  * @param {Array.<String>} opts.id A list of messaging campaign ids to bulk fetch
19326
19336
  * @param {String} opts.contentTemplateId Content template ID
19327
19337
  * @param {Object} opts.campaignStatus Campaign Status
19328
- */},{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']);}/**
19338
+ * @param {Array.<String>} opts.ruleSetIds Ruleset ID(s)
19339
+ */},{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']);}/**
19329
19340
  * Get a basic Messaging Campaign information object
19330
19341
  * This returns a simplified version of a Messaging Campaign, consisting of id, name, and division.
19331
19342
  * @param {String} messagingCampaignId The Messaging Campaign ID
@@ -19858,7 +19869,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19858
19869
  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(){/**
19859
19870
  * Presence service.
19860
19871
  * @module purecloud-platform-client-v2/api/PresenceApi
19861
- * @version 237.0.0
19872
+ * @version 239.0.0
19862
19873
  *//**
19863
19874
  * Constructs a new PresenceApi.
19864
19875
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -20031,7 +20042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20031
20042
  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(){/**
20032
20043
  * ProcessAutomation service.
20033
20044
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20034
- * @version 237.0.0
20045
+ * @version 239.0.0
20035
20046
  *//**
20036
20047
  * Constructs a new ProcessAutomationApi.
20037
20048
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20094,7 +20105,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20094
20105
  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(){/**
20095
20106
  * Quality service.
20096
20107
  * @module purecloud-platform-client-v2/api/QualityApi
20097
- * @version 237.0.0
20108
+ * @version 239.0.0
20098
20109
  *//**
20099
20110
  * Constructs a new QualityApi.
20100
20111
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20584,7 +20595,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20584
20595
  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(){/**
20585
20596
  * Recording service.
20586
20597
  * @module purecloud-platform-client-v2/api/RecordingApi
20587
- * @version 237.0.0
20598
+ * @version 239.0.0
20588
20599
  *//**
20589
20600
  * Constructs a new RecordingApi.
20590
20601
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20983,7 +20994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20983
20994
  */},{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(){/**
20984
20995
  * ResponseManagement service.
20985
20996
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20986
- * @version 237.0.0
20997
+ * @version 239.0.0
20987
20998
  *//**
20988
20999
  * Constructs a new ResponseManagementApi.
20989
21000
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21104,7 +21115,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21104
21115
  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(){/**
21105
21116
  * Routing service.
21106
21117
  * @module purecloud-platform-client-v2/api/RoutingApi
21107
- * @version 237.0.0
21118
+ * @version 239.0.0
21108
21119
  *//**
21109
21120
  * Constructs a new RoutingApi.
21110
21121
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22195,7 +22206,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22195
22206
  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(){/**
22196
22207
  * SCIM service.
22197
22208
  * @module purecloud-platform-client-v2/api/SCIMApi
22198
- * @version 237.0.0
22209
+ * @version 239.0.0
22199
22210
  *//**
22200
22211
  * Constructs a new SCIMApi.
22201
22212
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22420,7 +22431,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22420
22431
  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(){/**
22421
22432
  * ScreenRecording service.
22422
22433
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22423
- * @version 237.0.0
22434
+ * @version 239.0.0
22424
22435
  *//**
22425
22436
  * Constructs a new ScreenRecordingApi.
22426
22437
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22435,7 +22446,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22435
22446
  */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(){/**
22436
22447
  * Scripts service.
22437
22448
  * @module purecloud-platform-client-v2/api/ScriptsApi
22438
- * @version 237.0.0
22449
+ * @version 239.0.0
22439
22450
  *//**
22440
22451
  * Constructs a new ScriptsApi.
22441
22452
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22581,7 +22592,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22581
22592
  */},{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(){/**
22582
22593
  * Search service.
22583
22594
  * @module purecloud-platform-client-v2/api/SearchApi
22584
- * @version 237.0.0
22595
+ * @version 239.0.0
22585
22596
  *//**
22586
22597
  * Constructs a new SearchApi.
22587
22598
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22740,7 +22751,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22740
22751
  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(){/**
22741
22752
  * Settings service.
22742
22753
  * @module purecloud-platform-client-v2/api/SettingsApi
22743
- * @version 237.0.0
22754
+ * @version 239.0.0
22744
22755
  *//**
22745
22756
  * Constructs a new SettingsApi.
22746
22757
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22812,7 +22823,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22812
22823
  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(){/**
22813
22824
  * SocialMedia service.
22814
22825
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22815
- * @version 237.0.0
22826
+ * @version 239.0.0
22816
22827
  *//**
22817
22828
  * Constructs a new SocialMediaApi.
22818
22829
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23227,7 +23238,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23227
23238
  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(){/**
23228
23239
  * SpeechTextAnalytics service.
23229
23240
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23230
- * @version 237.0.0
23241
+ * @version 239.0.0
23231
23242
  *//**
23232
23243
  * Constructs a new SpeechTextAnalyticsApi.
23233
23244
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23597,7 +23608,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23597
23608
  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(){/**
23598
23609
  * Stations service.
23599
23610
  * @module purecloud-platform-client-v2/api/StationsApi
23600
- * @version 237.0.0
23611
+ * @version 239.0.0
23601
23612
  *//**
23602
23613
  * Constructs a new StationsApi.
23603
23614
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23629,7 +23640,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23629
23640
  */},{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(){/**
23630
23641
  * Suggest service.
23631
23642
  * @module purecloud-platform-client-v2/api/SuggestApi
23632
- * @version 237.0.0
23643
+ * @version 239.0.0
23633
23644
  *//**
23634
23645
  * Constructs a new SuggestApi.
23635
23646
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23669,7 +23680,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23669
23680
  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(){/**
23670
23681
  * TaskManagement service.
23671
23682
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23672
- * @version 237.0.0
23683
+ * @version 239.0.0
23673
23684
  *//**
23674
23685
  * Constructs a new TaskManagementApi.
23675
23686
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24177,7 +24188,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24177
24188
  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(){/**
24178
24189
  * Teams service.
24179
24190
  * @module purecloud-platform-client-v2/api/TeamsApi
24180
- * @version 237.0.0
24191
+ * @version 239.0.0
24181
24192
  *//**
24182
24193
  * Constructs a new TeamsApi.
24183
24194
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24257,7 +24268,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24257
24268
  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(){/**
24258
24269
  * Telephony service.
24259
24270
  * @module purecloud-platform-client-v2/api/TelephonyApi
24260
- * @version 237.0.0
24271
+ * @version 239.0.0
24261
24272
  *//**
24262
24273
  * Constructs a new TelephonyApi.
24263
24274
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24328,7 +24339,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24328
24339
  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(){/**
24329
24340
  * TelephonyProvidersEdge service.
24330
24341
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24331
- * @version 237.0.0
24342
+ * @version 239.0.0
24332
24343
  *//**
24333
24344
  * Constructs a new TelephonyProvidersEdgeApi.
24334
24345
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25176,7 +25187,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25176
25187
  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(){/**
25177
25188
  * Textbots service.
25178
25189
  * @module purecloud-platform-client-v2/api/TextbotsApi
25179
- * @version 237.0.0
25190
+ * @version 239.0.0
25180
25191
  *//**
25181
25192
  * Constructs a new TextbotsApi.
25182
25193
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25212,7 +25223,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25212
25223
  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(){/**
25213
25224
  * Tokens service.
25214
25225
  * @module purecloud-platform-client-v2/api/TokensApi
25215
- * @version 237.0.0
25226
+ * @version 239.0.0
25216
25227
  *//**
25217
25228
  * Constructs a new TokensApi.
25218
25229
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25246,7 +25257,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25246
25257
  */},{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(){/**
25247
25258
  * Uploads service.
25248
25259
  * @module purecloud-platform-client-v2/api/UploadsApi
25249
- * @version 237.0.0
25260
+ * @version 239.0.0
25250
25261
  *//**
25251
25262
  * Constructs a new UploadsApi.
25252
25263
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25314,7 +25325,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25314
25325
  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(){/**
25315
25326
  * Usage service.
25316
25327
  * @module purecloud-platform-client-v2/api/UsageApi
25317
- * @version 237.0.0
25328
+ * @version 239.0.0
25318
25329
  *//**
25319
25330
  * Constructs a new UsageApi.
25320
25331
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25398,7 +25409,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25398
25409
  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(){/**
25399
25410
  * UserRecordings service.
25400
25411
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25401
- * @version 237.0.0
25412
+ * @version 239.0.0
25402
25413
  *//**
25403
25414
  * Constructs a new UserRecordingsApi.
25404
25415
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25446,7 +25457,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25446
25457
  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(){/**
25447
25458
  * Users service.
25448
25459
  * @module purecloud-platform-client-v2/api/UsersApi
25449
- * @version 237.0.0
25460
+ * @version 239.0.0
25450
25461
  *//**
25451
25462
  * Constructs a new UsersApi.
25452
25463
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26190,7 +26201,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26190
26201
  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(){/**
26191
26202
  * UsersRules service.
26192
26203
  * @module purecloud-platform-client-v2/api/UsersRulesApi
26193
- * @version 237.0.0
26204
+ * @version 239.0.0
26194
26205
  *//**
26195
26206
  * Constructs a new UsersRulesApi.
26196
26207
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -26273,7 +26284,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26273
26284
  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(){/**
26274
26285
  * Utilities service.
26275
26286
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26276
- * @version 237.0.0
26287
+ * @version 239.0.0
26277
26288
  *//**
26278
26289
  * Constructs a new UtilitiesApi.
26279
26290
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26300,7 +26311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26300
26311
  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(){/**
26301
26312
  * Voicemail service.
26302
26313
  * @module purecloud-platform-client-v2/api/VoicemailApi
26303
- * @version 237.0.0
26314
+ * @version 239.0.0
26304
26315
  *//**
26305
26316
  * Constructs a new VoicemailApi.
26306
26317
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26462,7 +26473,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26462
26473
  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(){/**
26463
26474
  * WebChat service.
26464
26475
  * @module purecloud-platform-client-v2/api/WebChatApi
26465
- * @version 237.0.0
26476
+ * @version 239.0.0
26466
26477
  *//**
26467
26478
  * Constructs a new WebChatApi.
26468
26479
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26609,7 +26620,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26609
26620
  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(){/**
26610
26621
  * WebDeployments service.
26611
26622
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26612
- * @version 237.0.0
26623
+ * @version 239.0.0
26613
26624
  *//**
26614
26625
  * Constructs a new WebDeploymentsApi.
26615
26626
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26742,7 +26753,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26742
26753
  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(){/**
26743
26754
  * WebMessaging service.
26744
26755
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26745
- * @version 237.0.0
26756
+ * @version 239.0.0
26746
26757
  *//**
26747
26758
  * Constructs a new WebMessagingApi.
26748
26759
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26783,7 +26794,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26783
26794
  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(){/**
26784
26795
  * Widgets service.
26785
26796
  * @module purecloud-platform-client-v2/api/WidgetsApi
26786
- * @version 237.0.0
26797
+ * @version 239.0.0
26787
26798
  *//**
26788
26799
  * Constructs a new WidgetsApi.
26789
26800
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26823,7 +26834,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26823
26834
  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(){/**
26824
26835
  * WorkforceManagement service.
26825
26836
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26826
- * @version 237.0.0
26837
+ * @version 239.0.0
26827
26838
  *//**
26828
26839
  * Constructs a new WorkforceManagementApi.
26829
26840
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -28795,7 +28806,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28795
28806
  * </pre>
28796
28807
  * </p>
28797
28808
  * @module purecloud-platform-client-v2/index
28798
- * @version 237.0.0
28809
+ * @version 239.0.0
28799
28810
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28800
28811
  * The ApiClient constructor.
28801
28812
  * @property {module:purecloud-platform-client-v2/ApiClient}