purecloud-platform-client-v2 235.0.0 → 237.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 +492 -88
  3. package/dist/web-amd/purecloud-platform-client-v2.js +492 -88
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +201 -89
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +201 -89
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +889 -596
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/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 +2 -2
  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 +37 -3
  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 +1 -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 +27 -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 +2 -2
  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 +1 -1
  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 +294 -0
  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 +51 -1
  94. package/src/purecloud-platform-client-v2/index.js +7 -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 235.0.0
6522
+ * @version 237.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
@@ -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 235.0.0
6878
+ * @version 237.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 235.0.0
7029
+ * @version 237.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 235.0.0
7160
+ * @version 237.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 235.0.0
7187
+ * @version 237.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 235.0.0
7221
+ * @version 237.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 235.0.0
7310
+ * @version 237.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 235.0.0
8086
+ * @version 237.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 235.0.0
9220
+ * @version 237.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 235.0.0
9270
+ * @version 237.0.0
9271
9271
  *//**
9272
9272
  * Constructs a new AuthorizationApi.
9273
9273
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9349,7 +9349,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
9349
9349
  * @param {Object} opts Optional parameters
9350
9350
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
9351
9351
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9352
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
9352
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
9353
9353
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
9354
9354
  * @param {String} opts.name Optionally request specific divisions by division name
9355
9355
  */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -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 235.0.0
9705
+ * @version 237.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 235.0.0
9782
+ * @version 237.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 235.0.0
10003
+ * @version 237.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 235.0.0
10023
+ * @version 237.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 235.0.0
10254
+ * @version 237.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 235.0.0
10417
+ * @version 237.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 235.0.0
10699
+ * @version 237.0.0
10700
10700
  *//**
10701
10701
  * Constructs a new ConversationsApi.
10702
10702
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -11183,6 +11183,17 @@ if(keyconfigurationsId===undefined||keyconfigurationsId===null||keyconfiguration
11183
11183
  * @param {String} conversationId conversationId
11184
11184
  */},{key:"getConversationsMessage",value:function getConversationsMessage(conversationId){// verify the required parameter 'conversationId' is set
11185
11185
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11186
+ * Get message media list by status
11187
+ *
11188
+ * @param {String} conversationId conversationId
11189
+ * @param {String} communicationId communicationId
11190
+ * @param {Object} opts Optional parameters
11191
+ * @param {Object} opts.status The status on which to filter the response.
11192
+ * @param {Number} opts.pageNumber Page number (default to 1)
11193
+ * @param {Number} opts.pageSize Page size (default to 25)
11194
+ */},{key:"getConversationsMessageCommunicationMessagesMedia",value:function getConversationsMessageCommunicationMessagesMedia(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
11195
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
11196
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11186
11197
  * Get media
11187
11198
  * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
11188
11199
  * @param {String} conversationId conversationId
@@ -11485,7 +11496,6 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
11485
11496
  * Gets a record for a given meetingId
11486
11497
  *
11487
11498
  * @param {String} meetingId meetingId
11488
- * getConversationsVideosMeeting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11489
11499
  */},{key:"getConversationsVideosMeeting",value:function getConversationsVideosMeeting(meetingId){// verify the required parameter 'meetingId' is set
11490
11500
  if(meetingId===undefined||meetingId===null||meetingId===''){throw'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings/{meetingId}','GET',{'meetingId':meetingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11491
11501
  * Update a participant.
@@ -12614,7 +12624,6 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
12614
12624
  * Generate a meetingId for a given conferenceId
12615
12625
  *
12616
12626
  * @param {Object} body MeetingIdRequest
12617
- * postConversationsVideosMeetings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12618
12627
  */},{key:"postConversationsVideosMeetings",value:function postConversationsVideosMeetings(body){// verify the required parameter 'body' is set
12619
12628
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsVideosMeetings';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12620
12629
  * Set flagged reason on conversation participant to indicate bad conversation quality.
@@ -12788,7 +12797,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12788
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(){/**
12789
12798
  * DataExtensions service.
12790
12799
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12791
- * @version 235.0.0
12800
+ * @version 237.0.0
12792
12801
  *//**
12793
12802
  * Constructs a new DataExtensionsApi.
12794
12803
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12809,7 +12818,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12809
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(){/**
12810
12819
  * DataPrivacy service.
12811
12820
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12812
- * @version 235.0.0
12821
+ * @version 237.0.0
12813
12822
  *//**
12814
12823
  * Constructs a new DataPrivacyApi.
12815
12824
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12849,7 +12858,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12849
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(){/**
12850
12859
  * Downloads service.
12851
12860
  * @module purecloud-platform-client-v2/api/DownloadsApi
12852
- * @version 235.0.0
12861
+ * @version 237.0.0
12853
12862
  *//**
12854
12863
  * Constructs a new DownloadsApi.
12855
12864
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12868,7 +12877,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12868
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(){/**
12869
12878
  * Emails service.
12870
12879
  * @module purecloud-platform-client-v2/api/EmailsApi
12871
- * @version 235.0.0
12880
+ * @version 237.0.0
12872
12881
  *//**
12873
12882
  * Constructs a new EmailsApi.
12874
12883
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12897,7 +12906,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12897
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(){/**
12898
12907
  * EmployeeEngagement service.
12899
12908
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12900
- * @version 235.0.0
12909
+ * @version 237.0.0
12901
12910
  *//**
12902
12911
  * Constructs a new EmployeeEngagementApi.
12903
12912
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12935,7 +12944,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12935
12944
  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(){/**
12936
12945
  * Events service.
12937
12946
  * @module purecloud-platform-client-v2/api/EventsApi
12938
- * @version 235.0.0
12947
+ * @version 237.0.0
12939
12948
  *//**
12940
12949
  * Constructs a new EventsApi.
12941
12950
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12960,7 +12969,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12960
12969
  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(){/**
12961
12970
  * ExternalContacts service.
12962
12971
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12963
- * @version 235.0.0
12972
+ * @version 237.0.0
12964
12973
  *//**
12965
12974
  * Constructs a new ExternalContactsApi.
12966
12975
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13710,7 +13719,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13710
13719
  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(){/**
13711
13720
  * Fax service.
13712
13721
  * @module purecloud-platform-client-v2/api/FaxApi
13713
- * @version 235.0.0
13722
+ * @version 237.0.0
13714
13723
  *//**
13715
13724
  * Constructs a new FaxApi.
13716
13725
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13759,7 +13768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13759
13768
  */},{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(){/**
13760
13769
  * Flows service.
13761
13770
  * @module purecloud-platform-client-v2/api/FlowsApi
13762
- * @version 235.0.0
13771
+ * @version 237.0.0
13763
13772
  *//**
13764
13773
  * Constructs a new FlowsApi.
13765
13774
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13813,7 +13822,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13813
13822
  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(){/**
13814
13823
  * Gamification service.
13815
13824
  * @module purecloud-platform-client-v2/api/GamificationApi
13816
- * @version 235.0.0
13825
+ * @version 237.0.0
13817
13826
  *//**
13818
13827
  * Constructs a new GamificationApi.
13819
13828
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -14484,7 +14493,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14484
14493
  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(){/**
14485
14494
  * GeneralDataProtectionRegulation service.
14486
14495
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14487
- * @version 235.0.0
14496
+ * @version 237.0.0
14488
14497
  *//**
14489
14498
  * Constructs a new GeneralDataProtectionRegulationApi.
14490
14499
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14519,7 +14528,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14519
14528
  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(){/**
14520
14529
  * Geolocation service.
14521
14530
  * @module purecloud-platform-client-v2/api/GeolocationApi
14522
- * @version 235.0.0
14531
+ * @version 237.0.0
14523
14532
  *//**
14524
14533
  * Constructs a new GeolocationApi.
14525
14534
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14553,7 +14562,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14553
14562
  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(){/**
14554
14563
  * Greetings service.
14555
14564
  * @module purecloud-platform-client-v2/api/GreetingsApi
14556
- * @version 235.0.0
14565
+ * @version 237.0.0
14557
14566
  *//**
14558
14567
  * Constructs a new GreetingsApi.
14559
14568
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14681,7 +14690,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14681
14690
  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(){/**
14682
14691
  * Groups service.
14683
14692
  * @module purecloud-platform-client-v2/api/GroupsApi
14684
- * @version 235.0.0
14693
+ * @version 237.0.0
14685
14694
  *//**
14686
14695
  * Constructs a new GroupsApi.
14687
14696
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14814,7 +14823,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14814
14823
  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(){/**
14815
14824
  * IdentityProvider service.
14816
14825
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14817
- * @version 235.0.0
14826
+ * @version 237.0.0
14818
14827
  *//**
14819
14828
  * Constructs a new IdentityProviderApi.
14820
14829
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14970,7 +14979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14970
14979
  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(){/**
14971
14980
  * InfrastructureAsCode service.
14972
14981
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14973
- * @version 235.0.0
14982
+ * @version 237.0.0
14974
14983
  *//**
14975
14984
  * Constructs a new InfrastructureAsCodeApi.
14976
14985
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -15024,7 +15033,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
15024
15033
  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(){/**
15025
15034
  * Integrations service.
15026
15035
  * @module purecloud-platform-client-v2/api/IntegrationsApi
15027
- * @version 235.0.0
15036
+ * @version 237.0.0
15028
15037
  *//**
15029
15038
  * Constructs a new IntegrationsApi.
15030
15039
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15714,7 +15723,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15714
15723
  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(){/**
15715
15724
  * Journey service.
15716
15725
  * @module purecloud-platform-client-v2/api/JourneyApi
15717
- * @version 235.0.0
15726
+ * @version 237.0.0
15718
15727
  *//**
15719
15728
  * Constructs a new JourneyApi.
15720
15729
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16223,7 +16232,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16223
16232
  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(){/**
16224
16233
  * Knowledge service.
16225
16234
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16226
- * @version 235.0.0
16235
+ * @version 237.0.0
16227
16236
  *//**
16228
16237
  * Constructs a new KnowledgeApi.
16229
16238
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -17051,7 +17060,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
17051
17060
  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(){/**
17052
17061
  * LanguageUnderstanding service.
17053
17062
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17054
- * @version 235.0.0
17063
+ * @version 237.0.0
17055
17064
  *//**
17056
17065
  * Constructs a new LanguageUnderstandingApi.
17057
17066
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17360,7 +17369,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17360
17369
  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(){/**
17361
17370
  * Languages service.
17362
17371
  * @module purecloud-platform-client-v2/api/LanguagesApi
17363
- * @version 235.0.0
17372
+ * @version 237.0.0
17364
17373
  *//**
17365
17374
  * Constructs a new LanguagesApi.
17366
17375
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17415,7 +17424,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17415
17424
  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(){/**
17416
17425
  * Learning service.
17417
17426
  * @module purecloud-platform-client-v2/api/LearningApi
17418
- * @version 235.0.0
17427
+ * @version 237.0.0
17419
17428
  *//**
17420
17429
  * Constructs a new LearningApi.
17421
17430
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17644,6 +17653,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17644
17653
  * @param {Object} opts.body The request body
17645
17654
  */},{key:"postLearningModulePublish",value:function postLearningModulePublish(moduleId,opts){opts=opts||{};// verify the required parameter 'moduleId' is set
17646
17655
  if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the required parameter "moduleId" when calling postLearningModulePublish';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/publish','POST',{'moduleId':moduleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
17656
+ * Migrate a legacy learning module rule to a users rule.
17657
+ *
17658
+ * @param {String} moduleId The ID of the learning module
17659
+ * postLearningModuleRuleMigrate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17660
+ */},{key:"postLearningModuleRuleMigrate",value:function postLearningModuleRuleMigrate(moduleId){// verify the required parameter 'moduleId' is set
17661
+ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the required parameter "moduleId" when calling postLearningModuleRuleMigrate';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule/migrate','POST',{'moduleId':moduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17647
17662
  * Create a new learning module
17648
17663
  * This will create a new unpublished learning module with the specified fields.
17649
17664
  * @param {Object} body The learning module to be created
@@ -17698,7 +17713,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17698
17713
  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(){/**
17699
17714
  * License service.
17700
17715
  * @module purecloud-platform-client-v2/api/LicenseApi
17701
- * @version 235.0.0
17716
+ * @version 237.0.0
17702
17717
  *//**
17703
17718
  * Constructs a new LicenseApi.
17704
17719
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17752,7 +17767,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17752
17767
  */},{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(){/**
17753
17768
  * Locations service.
17754
17769
  * @module purecloud-platform-client-v2/api/LocationsApi
17755
- * @version 235.0.0
17770
+ * @version 237.0.0
17756
17771
  *//**
17757
17772
  * Constructs a new LocationsApi.
17758
17773
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17811,7 +17826,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17811
17826
  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(){/**
17812
17827
  * LogCapture service.
17813
17828
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17814
- * @version 235.0.0
17829
+ * @version 237.0.0
17815
17830
  *//**
17816
17831
  * Constructs a new LogCaptureApi.
17817
17832
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17860,7 +17875,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17860
17875
  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(){/**
17861
17876
  * Messaging service.
17862
17877
  * @module purecloud-platform-client-v2/api/MessagingApi
17863
- * @version 235.0.0
17878
+ * @version 237.0.0
17864
17879
  *//**
17865
17880
  * Constructs a new MessagingApi.
17866
17881
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17950,7 +17965,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17950
17965
  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(){/**
17951
17966
  * MobileDevices service.
17952
17967
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17953
- * @version 235.0.0
17968
+ * @version 237.0.0
17954
17969
  *//**
17955
17970
  * Constructs a new MobileDevicesApi.
17956
17971
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -17989,7 +18004,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17989
18004
  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(){/**
17990
18005
  * Notifications service.
17991
18006
  * @module purecloud-platform-client-v2/api/NotificationsApi
17992
- * @version 235.0.0
18007
+ * @version 237.0.0
17993
18008
  *//**
17994
18009
  * Constructs a new NotificationsApi.
17995
18010
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18046,7 +18061,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18046
18061
  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(){/**
18047
18062
  * OAuth service.
18048
18063
  * @module purecloud-platform-client-v2/api/OAuthApi
18049
- * @version 235.0.0
18064
+ * @version 237.0.0
18050
18065
  *//**
18051
18066
  * Constructs a new OAuthApi.
18052
18067
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18131,7 +18146,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18131
18146
  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(){/**
18132
18147
  * Objects service.
18133
18148
  * @module purecloud-platform-client-v2/api/ObjectsApi
18134
- * @version 235.0.0
18149
+ * @version 237.0.0
18135
18150
  *//**
18136
18151
  * Constructs a new ObjectsApi.
18137
18152
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18183,7 +18198,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18183
18198
  * @param {Object} opts Optional parameters
18184
18199
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
18185
18200
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
18186
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
18201
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
18187
18202
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
18188
18203
  * @param {String} opts.name Optionally request specific divisions by division name
18189
18204
  */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -18217,7 +18232,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18217
18232
  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(){/**
18218
18233
  * OperationalEvents service.
18219
18234
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18220
- * @version 235.0.0
18235
+ * @version 237.0.0
18221
18236
  *//**
18222
18237
  * Constructs a new OperationalEventsApi.
18223
18238
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18248,7 +18263,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18248
18263
  */},{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(){/**
18249
18264
  * Organization service.
18250
18265
  * @module purecloud-platform-client-v2/api/OrganizationApi
18251
- * @version 235.0.0
18266
+ * @version 237.0.0
18252
18267
  *//**
18253
18268
  * Constructs a new OrganizationApi.
18254
18269
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18353,7 +18368,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18353
18368
  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(){/**
18354
18369
  * OrganizationAuthorization service.
18355
18370
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18356
- * @version 235.0.0
18371
+ * @version 237.0.0
18357
18372
  *//**
18358
18373
  * Constructs a new OrganizationAuthorizationApi.
18359
18374
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18687,7 +18702,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18687
18702
  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(){/**
18688
18703
  * Outbound service.
18689
18704
  * @module purecloud-platform-client-v2/api/OutboundApi
18690
- * @version 235.0.0
18705
+ * @version 237.0.0
18691
18706
  *//**
18692
18707
  * Constructs a new OutboundApi.
18693
18708
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19843,7 +19858,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19843
19858
  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(){/**
19844
19859
  * Presence service.
19845
19860
  * @module purecloud-platform-client-v2/api/PresenceApi
19846
- * @version 235.0.0
19861
+ * @version 237.0.0
19847
19862
  *//**
19848
19863
  * Constructs a new PresenceApi.
19849
19864
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -20016,7 +20031,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20016
20031
  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(){/**
20017
20032
  * ProcessAutomation service.
20018
20033
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20019
- * @version 235.0.0
20034
+ * @version 237.0.0
20020
20035
  *//**
20021
20036
  * Constructs a new ProcessAutomationApi.
20022
20037
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20079,7 +20094,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20079
20094
  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(){/**
20080
20095
  * Quality service.
20081
20096
  * @module purecloud-platform-client-v2/api/QualityApi
20082
- * @version 235.0.0
20097
+ * @version 237.0.0
20083
20098
  *//**
20084
20099
  * Constructs a new QualityApi.
20085
20100
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20569,7 +20584,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20569
20584
  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(){/**
20570
20585
  * Recording service.
20571
20586
  * @module purecloud-platform-client-v2/api/RecordingApi
20572
- * @version 235.0.0
20587
+ * @version 237.0.0
20573
20588
  *//**
20574
20589
  * Constructs a new RecordingApi.
20575
20590
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20968,7 +20983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20968
20983
  */},{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(){/**
20969
20984
  * ResponseManagement service.
20970
20985
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20971
- * @version 235.0.0
20986
+ * @version 237.0.0
20972
20987
  *//**
20973
20988
  * Constructs a new ResponseManagementApi.
20974
20989
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21089,7 +21104,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21089
21104
  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(){/**
21090
21105
  * Routing service.
21091
21106
  * @module purecloud-platform-client-v2/api/RoutingApi
21092
- * @version 235.0.0
21107
+ * @version 237.0.0
21093
21108
  *//**
21094
21109
  * Constructs a new RoutingApi.
21095
21110
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22180,7 +22195,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22180
22195
  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(){/**
22181
22196
  * SCIM service.
22182
22197
  * @module purecloud-platform-client-v2/api/SCIMApi
22183
- * @version 235.0.0
22198
+ * @version 237.0.0
22184
22199
  *//**
22185
22200
  * Constructs a new SCIMApi.
22186
22201
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22405,7 +22420,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22405
22420
  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(){/**
22406
22421
  * ScreenRecording service.
22407
22422
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22408
- * @version 235.0.0
22423
+ * @version 237.0.0
22409
22424
  *//**
22410
22425
  * Constructs a new ScreenRecordingApi.
22411
22426
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22420,7 +22435,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22420
22435
  */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(){/**
22421
22436
  * Scripts service.
22422
22437
  * @module purecloud-platform-client-v2/api/ScriptsApi
22423
- * @version 235.0.0
22438
+ * @version 237.0.0
22424
22439
  *//**
22425
22440
  * Constructs a new ScriptsApi.
22426
22441
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22566,7 +22581,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22566
22581
  */},{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(){/**
22567
22582
  * Search service.
22568
22583
  * @module purecloud-platform-client-v2/api/SearchApi
22569
- * @version 235.0.0
22584
+ * @version 237.0.0
22570
22585
  *//**
22571
22586
  * Constructs a new SearchApi.
22572
22587
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22725,7 +22740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22725
22740
  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(){/**
22726
22741
  * Settings service.
22727
22742
  * @module purecloud-platform-client-v2/api/SettingsApi
22728
- * @version 235.0.0
22743
+ * @version 237.0.0
22729
22744
  *//**
22730
22745
  * Constructs a new SettingsApi.
22731
22746
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22797,7 +22812,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22797
22812
  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(){/**
22798
22813
  * SocialMedia service.
22799
22814
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22800
- * @version 235.0.0
22815
+ * @version 237.0.0
22801
22816
  *//**
22802
22817
  * Constructs a new SocialMediaApi.
22803
22818
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23212,7 +23227,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23212
23227
  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(){/**
23213
23228
  * SpeechTextAnalytics service.
23214
23229
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23215
- * @version 235.0.0
23230
+ * @version 237.0.0
23216
23231
  *//**
23217
23232
  * Constructs a new SpeechTextAnalyticsApi.
23218
23233
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23582,7 +23597,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23582
23597
  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(){/**
23583
23598
  * Stations service.
23584
23599
  * @module purecloud-platform-client-v2/api/StationsApi
23585
- * @version 235.0.0
23600
+ * @version 237.0.0
23586
23601
  *//**
23587
23602
  * Constructs a new StationsApi.
23588
23603
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23614,7 +23629,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23614
23629
  */},{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(){/**
23615
23630
  * Suggest service.
23616
23631
  * @module purecloud-platform-client-v2/api/SuggestApi
23617
- * @version 235.0.0
23632
+ * @version 237.0.0
23618
23633
  *//**
23619
23634
  * Constructs a new SuggestApi.
23620
23635
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23654,7 +23669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23654
23669
  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(){/**
23655
23670
  * TaskManagement service.
23656
23671
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23657
- * @version 235.0.0
23672
+ * @version 237.0.0
23658
23673
  *//**
23659
23674
  * Constructs a new TaskManagementApi.
23660
23675
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24162,7 +24177,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24162
24177
  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(){/**
24163
24178
  * Teams service.
24164
24179
  * @module purecloud-platform-client-v2/api/TeamsApi
24165
- * @version 235.0.0
24180
+ * @version 237.0.0
24166
24181
  *//**
24167
24182
  * Constructs a new TeamsApi.
24168
24183
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24242,7 +24257,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24242
24257
  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(){/**
24243
24258
  * Telephony service.
24244
24259
  * @module purecloud-platform-client-v2/api/TelephonyApi
24245
- * @version 235.0.0
24260
+ * @version 237.0.0
24246
24261
  *//**
24247
24262
  * Constructs a new TelephonyApi.
24248
24263
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24313,7 +24328,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24313
24328
  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(){/**
24314
24329
  * TelephonyProvidersEdge service.
24315
24330
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24316
- * @version 235.0.0
24331
+ * @version 237.0.0
24317
24332
  *//**
24318
24333
  * Constructs a new TelephonyProvidersEdgeApi.
24319
24334
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25161,7 +25176,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25161
25176
  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(){/**
25162
25177
  * Textbots service.
25163
25178
  * @module purecloud-platform-client-v2/api/TextbotsApi
25164
- * @version 235.0.0
25179
+ * @version 237.0.0
25165
25180
  *//**
25166
25181
  * Constructs a new TextbotsApi.
25167
25182
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25197,7 +25212,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25197
25212
  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(){/**
25198
25213
  * Tokens service.
25199
25214
  * @module purecloud-platform-client-v2/api/TokensApi
25200
- * @version 235.0.0
25215
+ * @version 237.0.0
25201
25216
  *//**
25202
25217
  * Constructs a new TokensApi.
25203
25218
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25231,7 +25246,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25231
25246
  */},{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(){/**
25232
25247
  * Uploads service.
25233
25248
  * @module purecloud-platform-client-v2/api/UploadsApi
25234
- * @version 235.0.0
25249
+ * @version 237.0.0
25235
25250
  *//**
25236
25251
  * Constructs a new UploadsApi.
25237
25252
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25299,7 +25314,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25299
25314
  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(){/**
25300
25315
  * Usage service.
25301
25316
  * @module purecloud-platform-client-v2/api/UsageApi
25302
- * @version 235.0.0
25317
+ * @version 237.0.0
25303
25318
  *//**
25304
25319
  * Constructs a new UsageApi.
25305
25320
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25383,7 +25398,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25383
25398
  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(){/**
25384
25399
  * UserRecordings service.
25385
25400
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25386
- * @version 235.0.0
25401
+ * @version 237.0.0
25387
25402
  *//**
25388
25403
  * Constructs a new UserRecordingsApi.
25389
25404
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25431,7 +25446,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25431
25446
  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(){/**
25432
25447
  * Users service.
25433
25448
  * @module purecloud-platform-client-v2/api/UsersApi
25434
- * @version 235.0.0
25449
+ * @version 237.0.0
25435
25450
  *//**
25436
25451
  * Constructs a new UsersApi.
25437
25452
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26172,10 +26187,93 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
26172
26187
  */},{key:"putUserVerifier",value:function putUserVerifier(userId,verifierId,body){// verify the required parameter 'userId' is set
26173
26188
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling putUserVerifier';}// verify the required parameter 'verifierId' is set
26174
26189
  if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the required parameter "verifierId" when calling putUserVerifier';}// verify the required parameter 'body' is set
26175
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
26190
+ 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
+ * UsersRules service.
26192
+ * @module purecloud-platform-client-v2/api/UsersRulesApi
26193
+ * @version 237.0.0
26194
+ *//**
26195
+ * Constructs a new UsersRulesApi.
26196
+ * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
26197
+ * @class
26198
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
26199
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
26200
+ */function UsersRulesApi(apiClient){_classCallCheck(this,UsersRulesApi);this.apiClient=apiClient||ApiClient.instance;}/**
26201
+ * Delete an existing users rule
26202
+ *
26203
+ * @param {String} ruleId The id of the rule
26204
+ * deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26205
+ */return _createClass(UsersRulesApi,[{key:"deleteUsersRule",value:function deleteUsersRule(ruleId){// verify the required parameter 'ruleId' is set
26206
+ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling deleteUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26207
+ * Get a users rule
26208
+ *
26209
+ * @param {String} ruleId The ID of the rule to retrieve
26210
+ * getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26211
+ */},{key:"getUsersRule",value:function getUsersRule(ruleId){// verify the required parameter 'ruleId' is set
26212
+ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26213
+ * Get dependent of a users rule
26214
+ *
26215
+ * @param {String} ruleId The ID of the rule for which to retrieve dependents
26216
+ * @param {Object} ruleType The type of the dependent
26217
+ * @param {String} typeId The type ID of the dependent
26218
+ * getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26219
+ */},{key:"getUsersRuleDependentTypeId",value:function getUsersRuleDependentTypeId(ruleId,ruleType,typeId){// verify the required parameter 'ruleId' is set
26220
+ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'ruleType' is set
26221
+ if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'typeId' is set
26222
+ if(typeId===undefined||typeId===null||typeId===''){throw'Missing the required parameter "typeId" when calling getUsersRuleDependentTypeId';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}/dependents/{ruleType}/{typeId}','GET',{'ruleId':ruleId,'ruleType':ruleType,'typeId':typeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26223
+ * Get dependents for a users rule
26224
+ *
26225
+ * @param {String} ruleId The ID of the rule for which to retrieve dependents
26226
+ * @param {Object} opts Optional parameters
26227
+ * @param {Number} opts.pageSize Number of results per page (default to 25)
26228
+ * @param {Number} opts.pageNumber Page number (default to 1)
26229
+ * @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
26230
+ * getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26231
+ */},{key:"getUsersRuleDependents",value:function getUsersRuleDependents(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
26232
+ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependents';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}/dependents','GET',{'ruleId':ruleId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26233
+ * Get the list of users rules
26234
+ *
26235
+ * @param {Array.<String>} types The types of the rule
26236
+ * @param {Object} opts Optional parameters
26237
+ * @param {Number} opts.pageNumber Page number (default to 1)
26238
+ * @param {Number} opts.pageSize Number of results per page (default to 25)
26239
+ * @param {Array.<String>} opts.expand Fields to expand in response
26240
+ * @param {String} opts.searchTerm a search term for finding a rule by name
26241
+ * @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
26242
+ * getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26243
+ */},{key:"getUsersRules",value:function getUsersRules(types,opts){opts=opts||{};// verify the required parameter 'types' is set
26244
+ if(types===undefined||types===null){throw'Missing the required parameter "types" when calling getUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'types':this.apiClient.buildCollectionParam(types,'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'searchTerm':opts['searchTerm'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26245
+ * Get the settings for a specific users rule type
26246
+ *
26247
+ * @param {Object} ruleType The type of the rule
26248
+ * getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26249
+ */},{key:"getUsersRulesSetting",value:function getUsersRulesSetting(ruleType){// verify the required parameter 'ruleType' is set
26250
+ if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRulesSetting';}return this.apiClient.callApi('/api/v2/users/rules/settings/{ruleType}','GET',{'ruleType':ruleType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26251
+ * Update an existing users rule
26252
+ * This will update an existing users rule with the specified fields.
26253
+ * @param {String} ruleId The ID of the rule to update
26254
+ * @param {Object} body updateRuleRequest
26255
+ * patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26256
+ */},{key:"patchUsersRule",value:function patchUsersRule(ruleId,body){// verify the required parameter 'ruleId' is set
26257
+ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling patchUsersRule';}// verify the required parameter 'body' is set
26258
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26259
+ * Create a new rule
26260
+ * This will create a new rule with the specified fields.
26261
+ * @param {Object} body usersRulesCreateRuleRequest
26262
+ * postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26263
+ */},{key:"postUsersRules",value:function postUsersRules(body){// verify the required parameter 'body' is set
26264
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26265
+ * Query the result of a users rule
26266
+ * This will query the result of a rule.
26267
+ * @param {Object} body usersRulesQueryRuleRequest
26268
+ * @param {Object} opts Optional parameters
26269
+ * @param {Number} opts.pageNumber Page number (default to 1)
26270
+ * @param {Number} opts.pageSize Number of results per page (default to 25)
26271
+ * postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26272
+ */},{key:"postUsersRulesQuery",value:function postUsersRulesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
26273
+ 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(){/**
26176
26274
  * Utilities service.
26177
26275
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26178
- * @version 235.0.0
26276
+ * @version 237.0.0
26179
26277
  *//**
26180
26278
  * Constructs a new UtilitiesApi.
26181
26279
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26202,7 +26300,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26202
26300
  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(){/**
26203
26301
  * Voicemail service.
26204
26302
  * @module purecloud-platform-client-v2/api/VoicemailApi
26205
- * @version 235.0.0
26303
+ * @version 237.0.0
26206
26304
  *//**
26207
26305
  * Constructs a new VoicemailApi.
26208
26306
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26364,7 +26462,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26364
26462
  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(){/**
26365
26463
  * WebChat service.
26366
26464
  * @module purecloud-platform-client-v2/api/WebChatApi
26367
- * @version 235.0.0
26465
+ * @version 237.0.0
26368
26466
  *//**
26369
26467
  * Constructs a new WebChatApi.
26370
26468
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26511,7 +26609,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26511
26609
  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(){/**
26512
26610
  * WebDeployments service.
26513
26611
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26514
- * @version 235.0.0
26612
+ * @version 237.0.0
26515
26613
  *//**
26516
26614
  * Constructs a new WebDeploymentsApi.
26517
26615
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26644,7 +26742,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26644
26742
  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(){/**
26645
26743
  * WebMessaging service.
26646
26744
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26647
- * @version 235.0.0
26745
+ * @version 237.0.0
26648
26746
  *//**
26649
26747
  * Constructs a new WebMessagingApi.
26650
26748
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26685,7 +26783,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26685
26783
  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(){/**
26686
26784
  * Widgets service.
26687
26785
  * @module purecloud-platform-client-v2/api/WidgetsApi
26688
- * @version 235.0.0
26786
+ * @version 237.0.0
26689
26787
  *//**
26690
26788
  * Constructs a new WidgetsApi.
26691
26789
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26725,7 +26823,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26725
26823
  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(){/**
26726
26824
  * WorkforceManagement service.
26727
26825
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26728
- * @version 235.0.0
26826
+ * @version 237.0.0
26729
26827
  *//**
26730
26828
  * Constructs a new WorkforceManagementApi.
26731
26829
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -26903,6 +27001,11 @@ if(explanationId===undefined||explanationId===null||explanationId===''){throw'Mi
26903
27001
  * @param {String} agentId The ID of the agent to look up
26904
27002
  */},{key:"getWorkforcemanagementAgentManagementunit",value:function getWorkforcemanagementAgentManagementunit(agentId){// verify the required parameter 'agentId' is set
26905
27003
  if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentManagementunit';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/{agentId}/managementunit','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
27004
+ * Request to fetch the status of the agent adherence job. Only the user who started the operation can query the status
27005
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
27006
+ * @param {String} jobId ID of the job to get
27007
+ */},{key:"getWorkforcemanagementAgentsMeAdherenceHistoricalJob",value:function getWorkforcemanagementAgentsMeAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
27008
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAgentsMeAdherenceHistoricalJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/adherence/historical/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26906
27009
  * Get the management unit to which the currently logged in agent belongs
26907
27010
  *
26908
27011
  */},{key:"getWorkforcemanagementAgentsMeManagementunit",value:function getWorkforcemanagementAgentsMeManagementunit(){return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/managementunit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -27948,6 +28051,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27948
28051
  * @param {Object} body body
27949
28052
  */},{key:"postWorkforcemanagementAgentsIntegrationsHrisQuery",value:function postWorkforcemanagementAgentsIntegrationsHrisQuery(body){// verify the required parameter 'body' is set
27950
28053
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/integrations/hris/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28054
+ * Request an agent historical adherence report
28055
+ * The maximum supported range for historical adherence queries is 31 days, or 7 days when the expand query parameter includes any of the following: exceptionInfo, actuals, scheduledActivities
28056
+ * @param {Object} opts Optional parameters
28057
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand with. wfm:AgentHistoricalAdherenceConformance:view permission is required for conformance, and wfm:agentSchedule:view permission is required for scheduledActivities.
28058
+ * @param {Object} opts.body body
28059
+ */},{key:"postWorkforcemanagementAgentsMeAdherenceHistoricalJobs",value:function postWorkforcemanagementAgentsMeAdherenceHistoricalJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/adherence/historical/jobs','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
27951
28060
  * Get agent possible work shifts for requested time frame
27952
28061
  *
27953
28062
  * @param {Object} body body
@@ -28686,7 +28795,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28686
28795
  * </pre>
28687
28796
  * </p>
28688
28797
  * @module purecloud-platform-client-v2/index
28689
- * @version 235.0.0
28798
+ * @version 237.0.0
28690
28799
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28691
28800
  * The ApiClient constructor.
28692
28801
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -28919,6 +29028,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28919
29028
  * The UsersApi service constructor.
28920
29029
  * @property {module:purecloud-platform-client-v2/api/UsersApi}
28921
29030
  */this.UsersApi=UsersApi;/**
29031
+ * The UsersRulesApi service constructor.
29032
+ * @property {module:purecloud-platform-client-v2/api/UsersRulesApi}
29033
+ */this.UsersRulesApi=UsersRulesApi;/**
28922
29034
  * The UtilitiesApi service constructor.
28923
29035
  * @property {module:purecloud-platform-client-v2/api/UtilitiesApi}
28924
29036
  */this.UtilitiesApi=UtilitiesApi;/**