purecloud-platform-client-v2 196.0.0 → 198.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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +972 -148
  3. package/dist/web-amd/purecloud-platform-client-v2.js +972 -148
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +323 -110
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +327 -111
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +791 -121
  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/AgentUIApi.js +136 -0
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +165 -1
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +156 -0
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +9 -5
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +32 -3
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -2
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +32 -36
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +32 -1
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +111 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +3 -2
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +3 -3
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +222 -27
  87. package/src/purecloud-platform-client-v2/index.js +13 -1
@@ -855,7 +855,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
855
855
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
856
856
  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:"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];}}}]);}();/**
857
857
  * @module purecloud-platform-client-v2/ApiClient
858
- * @version 196.0.0
858
+ * @version 198.0.0
859
859
  */var ApiClient=/*#__PURE__*/function(){/**
860
860
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
861
861
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1164,10 +1164,44 @@ var formData=new FormData();formData.set(key,_formParams[key]);request.data=form
1164
1164
  var data=that.returnExtended===true?{status:response.status,statusText:response.statusText,headers:response.headers,body:response.data,text:response.text,error:null}:response.data?response.data:response.text;// Debug logging
1165
1165
  that.config.logger.log('trace',response.status,httpMethod,url,request.headers,response.headers,bodyParam,undefined);that.config.logger.log('debug',response.status,httpMethod,url,request.headers,undefined,bodyParam,undefined);// Resolve promise
1166
1166
  resolve(data);})["catch"](function(error){var data=error;if(error.response&&error.response.status==401&&that.config.refresh_access_token&&that.authData.refreshToken!==""){that._handleExpiredAccessToken().then(function(){sendRequest(that);})["catch"](function(err){reject(err);});}else if(error.response){// Log error
1167
- 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 AlertingApi=/*#__PURE__*/function(){/**
1167
+ 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 AgentUIApi=/*#__PURE__*/function(){/**
1168
+ * AgentUI service.
1169
+ * @module purecloud-platform-client-v2/api/AgentUIApi
1170
+ * @version 198.0.0
1171
+ */ /**
1172
+ * Constructs a new AgentUIApi.
1173
+ * @alias module:purecloud-platform-client-v2/api/AgentUIApi
1174
+ * @class
1175
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
1176
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
1177
+ */function AgentUIApi(apiClient){_classCallCheck(this,AgentUIApi);this.apiClient=apiClient||ApiClient.instance;}/**
1178
+ * Delete agent auto answer settings
1179
+ *
1180
+ * @param {String} agentId The agent to apply the auto answer settings to
1181
+ */return _createClass(AgentUIApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
1182
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1183
+ * Get agent auto answer settings
1184
+ *
1185
+ * @param {String} agentId The agent to apply the auto answer settings to
1186
+ */},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
1187
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1188
+ * Update agent auto answer settings
1189
+ *
1190
+ * @param {String} agentId The agent to apply the auto answer settings to
1191
+ * @param {Object} body AutoAnswerSettings
1192
+ */},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
1193
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
1194
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1195
+ * Set agent auto answer settings
1196
+ *
1197
+ * @param {String} agentId The agent to apply the auto answer settings to
1198
+ * @param {Object} body AutoAnswerSettings
1199
+ */},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
1200
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
1201
+ 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(){/**
1168
1202
  * Alerting service.
1169
1203
  * @module purecloud-platform-client-v2/api/AlertingApi
1170
- * @version 196.0.0
1204
+ * @version 198.0.0
1171
1205
  */ /**
1172
1206
  * Constructs a new AlertingApi.
1173
1207
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1324,7 +1358,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1324
1358
  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(){/**
1325
1359
  * Analytics service.
1326
1360
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1327
- * @version 196.0.0
1361
+ * @version 198.0.0
1328
1362
  */ /**
1329
1363
  * Constructs a new AnalyticsApi.
1330
1364
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1945,7 +1979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1945
1979
  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(){/**
1946
1980
  * Architect service.
1947
1981
  * @module purecloud-platform-client-v2/api/ArchitectApi
1948
- * @version 196.0.0
1982
+ * @version 198.0.0
1949
1983
  */ /**
1950
1984
  * Constructs a new ArchitectApi.
1951
1985
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3061,7 +3095,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3061
3095
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
3062
3096
  * Audit service.
3063
3097
  * @module purecloud-platform-client-v2/api/AuditApi
3064
- * @version 196.0.0
3098
+ * @version 198.0.0
3065
3099
  */ /**
3066
3100
  * Constructs a new AuditApi.
3067
3101
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3110,7 +3144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3110
3144
  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(){/**
3111
3145
  * Authorization service.
3112
3146
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3113
- * @version 196.0.0
3147
+ * @version 198.0.0
3114
3148
  */ /**
3115
3149
  * Constructs a new AuthorizationApi.
3116
3150
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3425,7 +3459,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3425
3459
  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(){/**
3426
3460
  * Billing service.
3427
3461
  * @module purecloud-platform-client-v2/api/BillingApi
3428
- * @version 196.0.0
3462
+ * @version 198.0.0
3429
3463
  */ /**
3430
3464
  * Constructs a new BillingApi.
3431
3465
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3449,7 +3483,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3449
3483
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
3450
3484
  * CarrierServices service.
3451
3485
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3452
- * @version 196.0.0
3486
+ * @version 198.0.0
3453
3487
  */ /**
3454
3488
  * Constructs a new CarrierServicesApi.
3455
3489
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3469,7 +3503,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3469
3503
  */},{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(){/**
3470
3504
  * Chat service.
3471
3505
  * @module purecloud-platform-client-v2/api/ChatApi
3472
- * @version 196.0.0
3506
+ * @version 198.0.0
3473
3507
  */ /**
3474
3508
  * Constructs a new ChatApi.
3475
3509
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3694,7 +3728,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3694
3728
  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(){/**
3695
3729
  * Coaching service.
3696
3730
  * @module purecloud-platform-client-v2/api/CoachingApi
3697
- * @version 196.0.0
3731
+ * @version 198.0.0
3698
3732
  */ /**
3699
3733
  * Constructs a new CoachingApi.
3700
3734
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -3847,7 +3881,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3847
3881
  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(){/**
3848
3882
  * ContentManagement service.
3849
3883
  * @module purecloud-platform-client-v2/api/ContentManagementApi
3850
- * @version 196.0.0
3884
+ * @version 198.0.0
3851
3885
  */ /**
3852
3886
  * Constructs a new ContentManagementApi.
3853
3887
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4130,7 +4164,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4130
4164
  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(){/**
4131
4165
  * Conversations service.
4132
4166
  * @module purecloud-platform-client-v2/api/ConversationsApi
4133
- * @version 196.0.0
4167
+ * @version 198.0.0
4134
4168
  */ /**
4135
4169
  * Constructs a new ConversationsApi.
4136
4170
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4293,6 +4327,24 @@ if(participantId===undefined||participantId===null){throw'Missing the required p
4293
4327
  * @param {String} conversationId conversation ID
4294
4328
  */},{key:"getConversationSecureattributes",value:function getConversationSecureattributes(conversationId){// verify the required parameter 'conversationId' is set
4295
4329
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4330
+ * Get Suggestion.
4331
+ *
4332
+ * @param {String} conversationId Conversation ID
4333
+ * @param {String} suggestionId Suggestion ID
4334
+ */},{key:"getConversationSuggestion",value:function getConversationSuggestion(conversationId,suggestionId){// verify the required parameter 'conversationId' is set
4335
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestion';}// verify the required parameter 'suggestionId' is set
4336
+ if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling getConversationSuggestion';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}','GET',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4337
+ * Get all suggestions for a conversation.
4338
+ *
4339
+ * @param {String} conversationId Conversation ID
4340
+ * @param {Object} opts Optional parameters
4341
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
4342
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
4343
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
4344
+ * @param {Object} opts.type Suggestion type to filter by.
4345
+ * @param {Object} opts.state Suggestion state to filter Copilot suggestions.
4346
+ */},{key:"getConversationSuggestions",value:function getConversationSuggestions(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
4347
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions','GET',{'conversationId':conversationId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'type':opts['type'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4296
4348
  * Get active conversations for the logged in user
4297
4349
  *
4298
4350
  * @param {Object} opts Optional parameters
@@ -5016,6 +5068,16 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
5016
5068
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantCommunication';}// verify the required parameter 'communicationId' is set
5017
5069
  if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling patchConversationsEmailParticipantCommunication';}// verify the required parameter 'body' is set
5018
5070
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantCommunication';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5071
+ * Update conversation by setting its parking state
5072
+ *
5073
+ * @param {String} conversationId conversationId
5074
+ * @param {String} participantId participantId
5075
+ * @param {Object} body Parking update request
5076
+ * patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5077
+ */},{key:"patchConversationsEmailParticipantParkingstate",value:function patchConversationsEmailParticipantParkingstate(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
5078
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'participantId' is set
5079
+ if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'body' is set
5080
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantParkingstate';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/parkingstate','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5019
5081
  * Update a conversation by disconnecting all of the participants
5020
5082
  *
5021
5083
  * @param {String} conversationId conversationId
@@ -5228,6 +5290,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5228
5290
  */},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5229
5291
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
5230
5292
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
5293
+ * Save an engagement on the suggestion.
5294
+ *
5295
+ * @param {String} conversationId Conversation ID
5296
+ * @param {String} suggestionId Suggestion ID
5297
+ * @param {Object} body
5298
+ */},{key:"postConversationSuggestionEngagement",value:function postConversationSuggestionEngagement(conversationId,suggestionId,body){// verify the required parameter 'conversationId' is set
5299
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'suggestionId' is set
5300
+ if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'body' is set
5301
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionEngagement';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}/engagement','POST',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5302
+ * Suggestion feedback.
5303
+ *
5304
+ * @param {String} conversationId Conversation ID
5305
+ * @param {Object} body SuggestionFeedback
5306
+ */},{key:"postConversationSuggestionsFeedback",value:function postConversationSuggestionsFeedback(conversationId,body){// verify the required parameter 'conversationId' is set
5307
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';}// verify the required parameter 'body' is set
5308
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionsFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/feedback','POST',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5231
5309
  * Submit feedback for the summary.
5232
5310
  *
5233
5311
  * @param {String} conversationId Conversation ID
@@ -5810,7 +5888,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
5810
5888
  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(){/**
5811
5889
  * DataExtensions service.
5812
5890
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5813
- * @version 196.0.0
5891
+ * @version 198.0.0
5814
5892
  */ /**
5815
5893
  * Constructs a new DataExtensionsApi.
5816
5894
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5831,7 +5909,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5831
5909
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
5832
5910
  * Downloads service.
5833
5911
  * @module purecloud-platform-client-v2/api/DownloadsApi
5834
- * @version 196.0.0
5912
+ * @version 198.0.0
5835
5913
  */ /**
5836
5914
  * Constructs a new DownloadsApi.
5837
5915
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5850,7 +5928,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5850
5928
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
5851
5929
  * Emails service.
5852
5930
  * @module purecloud-platform-client-v2/api/EmailsApi
5853
- * @version 196.0.0
5931
+ * @version 198.0.0
5854
5932
  */ /**
5855
5933
  * Constructs a new EmailsApi.
5856
5934
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5865,10 +5943,48 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5865
5943
  *
5866
5944
  * @param {Object} opts Optional parameters
5867
5945
  * @param {Object} opts.body
5868
- */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
5946
+ */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
5947
+ * EmployeeEngagement service.
5948
+ * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
5949
+ * @version 198.0.0
5950
+ */ /**
5951
+ * Constructs a new EmployeeEngagementApi.
5952
+ * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
5953
+ * @class
5954
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
5955
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
5956
+ */function EmployeeEngagementApi(apiClient){_classCallCheck(this,EmployeeEngagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
5957
+ * Deletes a celebration
5958
+ *
5959
+ * @param {String} celebrationId The ID of the celebration
5960
+ */return _createClass(EmployeeEngagementApi,[{key:"deleteEmployeeengagementCelebration",value:function deleteEmployeeengagementCelebration(celebrationId){// verify the required parameter 'celebrationId' is set
5961
+ if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','DELETE',{'celebrationId':celebrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5962
+ * Get all celebrations
5963
+ *
5964
+ * @param {Object} opts Optional parameters
5965
+ * @param {Number} opts.pageNumber (default to 1)
5966
+ * @param {Number} opts.pageSize (default to 25)
5967
+ */},{key:"getEmployeeengagementCelebrations",value:function getEmployeeengagementCelebrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeengagement/celebrations','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5968
+ * Gets a single recognition
5969
+ *
5970
+ * @param {String} recognitionId The Recognition ID
5971
+ */},{key:"getEmployeeengagementRecognition",value:function getEmployeeengagementRecognition(recognitionId){// verify the required parameter 'recognitionId' is set
5972
+ if(recognitionId===undefined||recognitionId===null){throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions/{recognitionId}','GET',{'recognitionId':recognitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5973
+ * Set a state for a celebration
5974
+ *
5975
+ * @param {String} celebrationId The ID of the celebration
5976
+ * @param {Object} body Patch Celebration state
5977
+ */},{key:"patchEmployeeengagementCelebration",value:function patchEmployeeengagementCelebration(celebrationId,body){// verify the required parameter 'celebrationId' is set
5978
+ if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';}// verify the required parameter 'body' is set
5979
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','PATCH',{'celebrationId':celebrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5980
+ * Creates a recognition
5981
+ *
5982
+ * @param {Object} body Create Recognition
5983
+ */},{key:"postEmployeeengagementRecognitions",value:function postEmployeeengagementRecognitions(body){// verify the required parameter 'body' is set
5984
+ 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(){/**
5869
5985
  * Events service.
5870
5986
  * @module purecloud-platform-client-v2/api/EventsApi
5871
- * @version 196.0.0
5987
+ * @version 198.0.0
5872
5988
  */ /**
5873
5989
  * Constructs a new EventsApi.
5874
5990
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5893,7 +6009,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5893
6009
  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(){/**
5894
6010
  * ExternalContacts service.
5895
6011
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5896
- * @version 196.0.0
6012
+ * @version 198.0.0
5897
6013
  */ /**
5898
6014
  * Constructs a new ExternalContactsApi.
5899
6015
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -5944,7 +6060,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
5944
6060
  *
5945
6061
  * @param {String} contactId ExternalContact ID
5946
6062
  * @param {Object} opts Optional parameters
5947
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
6063
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
5948
6064
  */},{key:"getExternalcontactsContact",value:function getExternalcontactsContact(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
5949
6065
  if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5950
6066
  * List the identifiers for a contact
@@ -5984,7 +6100,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
5984
6100
  *
5985
6101
  * @param {String} contactId ExternalContact ID
5986
6102
  * @param {Object} opts Optional parameters
5987
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
6103
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
5988
6104
  */},{key:"getExternalcontactsContactUnresolved",value:function getExternalcontactsContactUnresolved(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
5989
6105
  if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/unresolved','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5990
6106
  * Search for external contacts
@@ -6250,8 +6366,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6250
6366
  * Fetch a contact using an identifier type and value.
6251
6367
  * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
6252
6368
  * @param {Object} identifier
6253
- */},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier){// verify the required parameter 'identifier' is set
6254
- if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6369
+ * @param {Object} opts Optional parameters
6370
+ * @param {Array.<String>} opts.expand which field, if any, to expand
6371
+ */},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
6372
+ if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6255
6373
  * Merge two contacts into a new contact record
6256
6374
  * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
6257
6375
  * @param {Object} body MergeRequest
@@ -6348,7 +6466,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6348
6466
  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(){/**
6349
6467
  * Fax service.
6350
6468
  * @module purecloud-platform-client-v2/api/FaxApi
6351
- * @version 196.0.0
6469
+ * @version 198.0.0
6352
6470
  */ /**
6353
6471
  * Constructs a new FaxApi.
6354
6472
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6397,7 +6515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6397
6515
  */},{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(){/**
6398
6516
  * Flows service.
6399
6517
  * @module purecloud-platform-client-v2/api/FlowsApi
6400
- * @version 196.0.0
6518
+ * @version 198.0.0
6401
6519
  */ /**
6402
6520
  * Constructs a new FlowsApi.
6403
6521
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6445,7 +6563,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6445
6563
  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(){/**
6446
6564
  * Gamification service.
6447
6565
  * @module purecloud-platform-client-v2/api/GamificationApi
6448
- * @version 196.0.0
6566
+ * @version 198.0.0
6449
6567
  */ /**
6450
6568
  * Constructs a new GamificationApi.
6451
6569
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6985,7 +7103,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6985
7103
  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(){/**
6986
7104
  * GeneralDataProtectionRegulation service.
6987
7105
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6988
- * @version 196.0.0
7106
+ * @version 198.0.0
6989
7107
  */ /**
6990
7108
  * Constructs a new GeneralDataProtectionRegulationApi.
6991
7109
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -7020,7 +7138,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7020
7138
  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(){/**
7021
7139
  * Geolocation service.
7022
7140
  * @module purecloud-platform-client-v2/api/GeolocationApi
7023
- * @version 196.0.0
7141
+ * @version 198.0.0
7024
7142
  */ /**
7025
7143
  * Constructs a new GeolocationApi.
7026
7144
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7054,7 +7172,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7054
7172
  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(){/**
7055
7173
  * Greetings service.
7056
7174
  * @module purecloud-platform-client-v2/api/GreetingsApi
7057
- * @version 196.0.0
7175
+ * @version 198.0.0
7058
7176
  */ /**
7059
7177
  * Constructs a new GreetingsApi.
7060
7178
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7161,7 +7279,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7161
7279
  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(){/**
7162
7280
  * Groups service.
7163
7281
  * @module purecloud-platform-client-v2/api/GroupsApi
7164
- * @version 196.0.0
7282
+ * @version 198.0.0
7165
7283
  */ /**
7166
7284
  * Constructs a new GroupsApi.
7167
7285
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7294,7 +7412,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7294
7412
  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(){/**
7295
7413
  * IdentityProvider service.
7296
7414
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7297
- * @version 196.0.0
7415
+ * @version 198.0.0
7298
7416
  */ /**
7299
7417
  * Constructs a new IdentityProviderApi.
7300
7418
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7450,7 +7568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7450
7568
  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(){/**
7451
7569
  * InfrastructureAsCode service.
7452
7570
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7453
- * @version 196.0.0
7571
+ * @version 198.0.0
7454
7572
  */ /**
7455
7573
  * Constructs a new InfrastructureAsCodeApi.
7456
7574
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7504,7 +7622,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7504
7622
  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(){/**
7505
7623
  * Integrations service.
7506
7624
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7507
- * @version 196.0.0
7625
+ * @version 198.0.0
7508
7626
  */ /**
7509
7627
  * Constructs a new IntegrationsApi.
7510
7628
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -8115,7 +8233,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8115
8233
  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(){/**
8116
8234
  * Journey service.
8117
8235
  * @module purecloud-platform-client-v2/api/JourneyApi
8118
- * @version 196.0.0
8236
+ * @version 198.0.0
8119
8237
  */ /**
8120
8238
  * Constructs a new JourneyApi.
8121
8239
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8308,9 +8426,9 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
8308
8426
  * @param {Object} opts Optional parameters
8309
8427
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
8310
8428
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
8311
- * getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8429
+ * @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
8312
8430
  */},{key:"getJourneySessionEvents",value:function getJourneySessionEvents(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
8313
- if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8431
+ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'eventType':opts['eventType']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8314
8432
  * Retrieve latest outcome score associated with a session for all outcomes.
8315
8433
  *
8316
8434
  * @param {String} sessionId ID of the session.
@@ -8456,6 +8574,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8456
8574
  * @param {Object} opts.body
8457
8575
  */},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
8458
8576
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/appevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8577
+ * Send a journey web event, used for tracking customer activity on a website.
8578
+ *
8579
+ * @param {String} deploymentId The ID of the deployment sending the web event.
8580
+ * @param {Object} opts Optional parameters
8581
+ * @param {Object} opts.body
8582
+ */},{key:"postJourneyDeploymentWebevents",value:function postJourneyDeploymentWebevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
8583
+ if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/webevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8459
8584
  * Query for flow paths.
8460
8585
  *
8461
8586
  * @param {Object} opts Optional parameters
@@ -8512,7 +8637,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8512
8637
  */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
8513
8638
  * Knowledge service.
8514
8639
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8515
- * @version 196.0.0
8640
+ * @version 198.0.0
8516
8641
  */ /**
8517
8642
  * Constructs a new KnowledgeApi.
8518
8643
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -9425,7 +9550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9425
9550
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
9426
9551
  * LanguageUnderstanding service.
9427
9552
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9428
- * @version 196.0.0
9553
+ * @version 198.0.0
9429
9554
  */ /**
9430
9555
  * Constructs a new LanguageUnderstandingApi.
9431
9556
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9685,7 +9810,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
9685
9810
  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(){/**
9686
9811
  * Languages service.
9687
9812
  * @module purecloud-platform-client-v2/api/LanguagesApi
9688
- * @version 196.0.0
9813
+ * @version 198.0.0
9689
9814
  */ /**
9690
9815
  * Constructs a new LanguagesApi.
9691
9816
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9740,7 +9865,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9740
9865
  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(){/**
9741
9866
  * Learning service.
9742
9867
  * @module purecloud-platform-client-v2/api/LearningApi
9743
- * @version 196.0.0
9868
+ * @version 198.0.0
9744
9869
  */ /**
9745
9870
  * Constructs a new LearningApi.
9746
9871
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9771,10 +9896,11 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
9771
9896
  * @param {String} stepId The ID of Learning Assignment Step
9772
9897
  * @param {Object} opts Optional parameters
9773
9898
  * @param {String} opts.shareableContentObjectId The ID of SCO to load
9899
+ * @param {Object} opts.defaultShareableContentObject The default SCO to retrieve
9774
9900
  * @param {Array.<String>} opts.expand Fields to expand in response
9775
9901
  */},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
9776
9902
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
9777
- if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9903
+ if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'defaultShareableContentObject':opts['defaultShareableContentObject'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9778
9904
  * List of Learning module Assignments
9779
9905
  * Either moduleId or user value is required
9780
9906
  * @param {Object} opts Optional parameters
@@ -10010,7 +10136,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
10010
10136
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
10011
10137
  * License service.
10012
10138
  * @module purecloud-platform-client-v2/api/LicenseApi
10013
- * @version 196.0.0
10139
+ * @version 198.0.0
10014
10140
  */ /**
10015
10141
  * Constructs a new LicenseApi.
10016
10142
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -10064,7 +10190,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
10064
10190
  */},{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(){/**
10065
10191
  * Locations service.
10066
10192
  * @module purecloud-platform-client-v2/api/LocationsApi
10067
- * @version 196.0.0
10193
+ * @version 198.0.0
10068
10194
  */ /**
10069
10195
  * Constructs a new LocationsApi.
10070
10196
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -10123,7 +10249,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10123
10249
  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(){/**
10124
10250
  * LogCapture service.
10125
10251
  * @module purecloud-platform-client-v2/api/LogCaptureApi
10126
- * @version 196.0.0
10252
+ * @version 198.0.0
10127
10253
  */ /**
10128
10254
  * Constructs a new LogCaptureApi.
10129
10255
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -10173,7 +10299,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10173
10299
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
10174
10300
  * Messaging service.
10175
10301
  * @module purecloud-platform-client-v2/api/MessagingApi
10176
- * @version 196.0.0
10302
+ * @version 198.0.0
10177
10303
  */ /**
10178
10304
  * Constructs a new MessagingApi.
10179
10305
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10263,7 +10389,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10263
10389
  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(){/**
10264
10390
  * MobileDevices service.
10265
10391
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10266
- * @version 196.0.0
10392
+ * @version 198.0.0
10267
10393
  */ /**
10268
10394
  * Constructs a new MobileDevicesApi.
10269
10395
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10302,7 +10428,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10302
10428
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
10303
10429
  * Notifications service.
10304
10430
  * @module purecloud-platform-client-v2/api/NotificationsApi
10305
- * @version 196.0.0
10431
+ * @version 198.0.0
10306
10432
  */ /**
10307
10433
  * Constructs a new NotificationsApi.
10308
10434
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10359,7 +10485,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
10359
10485
  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(){/**
10360
10486
  * OAuth service.
10361
10487
  * @module purecloud-platform-client-v2/api/OAuthApi
10362
- * @version 196.0.0
10488
+ * @version 198.0.0
10363
10489
  */ /**
10364
10490
  * Constructs a new OAuthApi.
10365
10491
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -10444,7 +10570,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
10444
10570
  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(){/**
10445
10571
  * Objects service.
10446
10572
  * @module purecloud-platform-client-v2/api/ObjectsApi
10447
- * @version 196.0.0
10573
+ * @version 198.0.0
10448
10574
  */ /**
10449
10575
  * Constructs a new ObjectsApi.
10450
10576
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10515,7 +10641,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
10515
10641
  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(){/**
10516
10642
  * OperationalEvents service.
10517
10643
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10518
- * @version 196.0.0
10644
+ * @version 198.0.0
10519
10645
  */ /**
10520
10646
  * Constructs a new OperationalEventsApi.
10521
10647
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10533,7 +10659,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10533
10659
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
10534
10660
  * Organization service.
10535
10661
  * @module purecloud-platform-client-v2/api/OrganizationApi
10536
- * @version 196.0.0
10662
+ * @version 198.0.0
10537
10663
  */ /**
10538
10664
  * Constructs a new OrganizationApi.
10539
10665
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10638,7 +10764,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10638
10764
  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(){/**
10639
10765
  * OrganizationAuthorization service.
10640
10766
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10641
- * @version 196.0.0
10767
+ * @version 198.0.0
10642
10768
  */ /**
10643
10769
  * Constructs a new OrganizationAuthorizationApi.
10644
10770
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10961,7 +11087,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
10961
11087
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
10962
11088
  * Outbound service.
10963
11089
  * @module purecloud-platform-client-v2/api/OutboundApi
10964
- * @version 196.0.0
11090
+ * @version 198.0.0
10965
11091
  */ /**
10966
11092
  * Constructs a new OutboundApi.
10967
11093
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -11095,7 +11221,7 @@ if(id===undefined||id===null){throw'Missing the required parameter "id" when cal
11095
11221
  */},{key:"deleteOutboundMessagingcampaign",value:function deleteOutboundMessagingcampaign(messagingCampaignId){// verify the required parameter 'messagingCampaignId' is set
11096
11222
  if(messagingCampaignId===undefined||messagingCampaignId===null){throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaign';}return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns/{messagingCampaignId}','DELETE',{'messagingCampaignId':messagingCampaignId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11097
11223
  * Reset messaging campaign progress and recycle the messaging campaign
11098
- *
11224
+ * Documented permissions are applicable based on campaign type.
11099
11225
  * @param {String} messagingCampaignId The Messaging Campaign ID
11100
11226
  */},{key:"deleteOutboundMessagingcampaignProgress",value:function deleteOutboundMessagingcampaignProgress(messagingCampaignId){// verify the required parameter 'messagingCampaignId' is set
11101
11227
  if(messagingCampaignId===undefined||messagingCampaignId===null){throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaignProgress';}return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress','DELETE',{'messagingCampaignId':messagingCampaignId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -11637,6 +11763,13 @@ if(sequenceId===undefined||sequenceId===null){throw'Missing the required paramet
11637
11763
  * Get the Dialer wrap up code mapping.
11638
11764
  *
11639
11765
  */},{key:"getOutboundWrapupcodemappings",value:function getOutboundWrapupcodemappings(){return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11766
+ * Update a campaign.
11767
+ *
11768
+ * @param {String} campaignId Campaign ID
11769
+ * @param {Object} body CampaignPatchRequest
11770
+ */},{key:"patchOutboundCampaign",value:function patchOutboundCampaign(campaignId,body){// verify the required parameter 'campaignId' is set
11771
+ if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling patchOutboundCampaign';}// verify the required parameter 'body' is set
11772
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PATCH',{'campaignId':campaignId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11640
11773
  * Add entries to or delete entries from a DNC list.
11641
11774
  * Only Internal DNC lists may be deleted from
11642
11775
  * @param {String} dncListId DncList ID
@@ -11668,18 +11801,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11668
11801
  * @param {Object} body AttemptLimits
11669
11802
  */},{key:"postOutboundAttemptlimits",value:function postOutboundAttemptlimits(body){// verify the required parameter 'body' is set
11670
11803
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAttemptlimits';}return this.apiClient.callApi('/api/v2/outbound/attemptlimits','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11671
- * Retrieves audits for dialer. (Deprecated)
11672
- * This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
11673
- * @param {Object} body AuditSearch
11674
- * @param {Object} opts Optional parameters
11675
- * @param {Number} opts.pageSize Page size (default to 25)
11676
- * @param {Number} opts.pageNumber Page number (default to 1)
11677
- * @param {String} opts.sortBy Sort by (default to entity.name)
11678
- * @param {String} opts.sortOrder Sort order (default to ascending)
11679
- * @param {Boolean} opts.facetsOnly Facets only (default to false)
11680
- * @deprecated
11681
- */},{key:"postOutboundAudits",value:function postOutboundAudits(body,opts){opts=opts||{};// verify the required parameter 'body' is set
11682
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAudits';}return this.apiClient.callApi('/api/v2/outbound/audits','POST',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'facetsOnly':opts['facetsOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11683
11804
  * Create callable time set
11684
11805
  *
11685
11806
  * @param {Object} body DialerCallableTimeSet
@@ -12033,7 +12154,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12033
12154
  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(){/**
12034
12155
  * Presence service.
12035
12156
  * @module purecloud-platform-client-v2/api/PresenceApi
12036
- * @version 196.0.0
12157
+ * @version 198.0.0
12037
12158
  */ /**
12038
12159
  * Constructs a new PresenceApi.
12039
12160
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -12206,7 +12327,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12206
12327
  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(){/**
12207
12328
  * ProcessAutomation service.
12208
12329
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
12209
- * @version 196.0.0
12330
+ * @version 198.0.0
12210
12331
  */ /**
12211
12332
  * Constructs a new ProcessAutomationApi.
12212
12333
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -12269,7 +12390,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
12269
12390
  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(){/**
12270
12391
  * Quality service.
12271
12392
  * @module purecloud-platform-client-v2/api/QualityApi
12272
- * @version 196.0.0
12393
+ * @version 198.0.0
12273
12394
  */ /**
12274
12395
  * Constructs a new QualityApi.
12275
12396
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12722,6 +12843,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12722
12843
  */},{key:"putQualityFormsEvaluation",value:function putQualityFormsEvaluation(formId,body){// verify the required parameter 'formId' is set
12723
12844
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';}// verify the required parameter 'body' is set
12724
12845
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluation';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12846
+ * Update the Predictive Scoring settings of an evaluation form.
12847
+ *
12848
+ * @param {String} formId Form ID
12849
+ * @param {Object} body Predictive Scoring Settings
12850
+ * putQualityFormsEvaluationPredictivescoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12851
+ */},{key:"putQualityFormsEvaluationPredictivescoringSettings",value:function putQualityFormsEvaluationPredictivescoringSettings(formId,body){// verify the required parameter 'formId' is set
12852
+ if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationPredictivescoringSettings';}// verify the required parameter 'body' is set
12853
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationPredictivescoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/predictivescoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12725
12854
  * Update a survey form.
12726
12855
  *
12727
12856
  * @param {String} formId Form ID
@@ -12738,7 +12867,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
12738
12867
  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(){/**
12739
12868
  * Recording service.
12740
12869
  * @module purecloud-platform-client-v2/api/RecordingApi
12741
- * @version 196.0.0
12870
+ * @version 198.0.0
12742
12871
  */ /**
12743
12872
  * Constructs a new RecordingApi.
12744
12873
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13149,7 +13278,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13149
13278
  */},{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(){/**
13150
13279
  * ResponseManagement service.
13151
13280
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
13152
- * @version 196.0.0
13281
+ * @version 198.0.0
13153
13282
  */ /**
13154
13283
  * Constructs a new ResponseManagementApi.
13155
13284
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -13270,7 +13399,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
13270
13399
  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(){/**
13271
13400
  * Routing service.
13272
13401
  * @module purecloud-platform-client-v2/api/RoutingApi
13273
- * @version 196.0.0
13402
+ * @version 198.0.0
13274
13403
  */ /**
13275
13404
  * Constructs a new RoutingApi.
13276
13405
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13752,7 +13881,8 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
13752
13881
  * @param {Object} opts.sortOrder Sort order
13753
13882
  * @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
13754
13883
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
13755
- */},{key:"getRoutingSmsPhonenumbers",value:function getRoutingSmsPhonenumbers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','GET',{},{'phoneNumber':opts['phoneNumber'],'phoneNumberType':this.apiClient.buildCollectionParam(opts['phoneNumberType'],'multi'),'phoneNumberStatus':this.apiClient.buildCollectionParam(opts['phoneNumberStatus'],'multi'),'countryCode':this.apiClient.buildCollectionParam(opts['countryCode'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'language':opts['language'],'integration.id':opts['integrationId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13884
+ * @param {String} opts.supportedContentId Filter based on the supported content ID
13885
+ */},{key:"getRoutingSmsPhonenumbers",value:function getRoutingSmsPhonenumbers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','GET',{},{'phoneNumber':opts['phoneNumber'],'phoneNumberType':this.apiClient.buildCollectionParam(opts['phoneNumberType'],'multi'),'phoneNumberStatus':this.apiClient.buildCollectionParam(opts['phoneNumberStatus'],'multi'),'countryCode':this.apiClient.buildCollectionParam(opts['countryCode'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'language':opts['language'],'integration.id':opts['integrationId'],'supportedContent.id':opts['supportedContentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13756
13886
  * Get the user's max utilization settings. If not configured, the organization-wide default is returned.
13757
13887
  *
13758
13888
  * @param {String} userId User ID
@@ -14238,7 +14368,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14238
14368
  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(){/**
14239
14369
  * SCIM service.
14240
14370
  * @module purecloud-platform-client-v2/api/SCIMApi
14241
- * @version 196.0.0
14371
+ * @version 198.0.0
14242
14372
  */ /**
14243
14373
  * Constructs a new SCIMApi.
14244
14374
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -14463,7 +14593,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14463
14593
  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(){/**
14464
14594
  * ScreenRecording service.
14465
14595
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14466
- * @version 196.0.0
14596
+ * @version 198.0.0
14467
14597
  */ /**
14468
14598
  * Constructs a new ScreenRecordingApi.
14469
14599
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -14478,7 +14608,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14478
14608
  */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(){/**
14479
14609
  * Scripts service.
14480
14610
  * @module purecloud-platform-client-v2/api/ScriptsApi
14481
- * @version 196.0.0
14611
+ * @version 198.0.0
14482
14612
  */ /**
14483
14613
  * Constructs a new ScriptsApi.
14484
14614
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14614,7 +14744,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14614
14744
  */},{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(){/**
14615
14745
  * Search service.
14616
14746
  * @module purecloud-platform-client-v2/api/SearchApi
14617
- * @version 196.0.0
14747
+ * @version 198.0.0
14618
14748
  */ /**
14619
14749
  * Constructs a new SearchApi.
14620
14750
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14774,7 +14904,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14774
14904
  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(){/**
14775
14905
  * Settings service.
14776
14906
  * @module purecloud-platform-client-v2/api/SettingsApi
14777
- * @version 196.0.0
14907
+ * @version 198.0.0
14778
14908
  */ /**
14779
14909
  * Constructs a new SettingsApi.
14780
14910
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14782,13 +14912,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14782
14912
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14783
14913
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14784
14914
  */function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
14915
+ * Delete agent auto answer settings
14916
+ *
14917
+ * @param {String} agentId The agent to apply the auto answer settings to
14918
+ */return _createClass(SettingsApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
14919
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14785
14920
  * Get email Contact Center settings
14786
14921
  *
14787
- */return _createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14922
+ */},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14788
14923
  * Get the execution history enabled setting.
14789
14924
  * Get the execution history enabled setting.
14790
14925
  * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14791
14926
  */},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14927
+ * Get agent auto answer settings
14928
+ *
14929
+ * @param {String} agentId The agent to apply the auto answer settings to
14930
+ */},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
14931
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14792
14932
  * Patch email Contact Center settings
14793
14933
  *
14794
14934
  * @param {Object} opts Optional parameters
@@ -14799,10 +14939,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14799
14939
  * @param {Object} body New Execution Data Setting
14800
14940
  * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14801
14941
  */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
14802
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14942
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14943
+ * Update agent auto answer settings
14944
+ *
14945
+ * @param {String} agentId The agent to apply the auto answer settings to
14946
+ * @param {Object} body AutoAnswerSettings
14947
+ */},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
14948
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
14949
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14950
+ * Set agent auto answer settings
14951
+ *
14952
+ * @param {String} agentId The agent to apply the auto answer settings to
14953
+ * @param {Object} body AutoAnswerSettings
14954
+ */},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
14955
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
14956
+ 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 SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14803
14957
  * SpeechTextAnalytics service.
14804
14958
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14805
- * @version 196.0.0
14959
+ * @version 198.0.0
14806
14960
  */ /**
14807
14961
  * Constructs a new SpeechTextAnalyticsApi.
14808
14962
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -15086,7 +15240,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
15086
15240
  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(){/**
15087
15241
  * Stations service.
15088
15242
  * @module purecloud-platform-client-v2/api/StationsApi
15089
- * @version 196.0.0
15243
+ * @version 198.0.0
15090
15244
  */ /**
15091
15245
  * Constructs a new StationsApi.
15092
15246
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -15118,7 +15272,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
15118
15272
  */},{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(){/**
15119
15273
  * Suggest service.
15120
15274
  * @module purecloud-platform-client-v2/api/SuggestApi
15121
- * @version 196.0.0
15275
+ * @version 198.0.0
15122
15276
  */ /**
15123
15277
  * Constructs a new SuggestApi.
15124
15278
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -15158,7 +15312,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15158
15312
  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(){/**
15159
15313
  * TaskManagement service.
15160
15314
  * @module purecloud-platform-client-v2/api/TaskManagementApi
15161
- * @version 196.0.0
15315
+ * @version 198.0.0
15162
15316
  */ /**
15163
15317
  * Constructs a new TaskManagementApi.
15164
15318
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -15327,9 +15481,10 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
15327
15481
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
15328
15482
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
15329
15483
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
15484
+ * @param {Array.<String>} opts.fields Comma-separated list of fields. The response will contain only versions created as a result of changes to these fields.
15330
15485
  * getTaskmanagementWorktypeHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15331
15486
  */},{key:"getTaskmanagementWorktypeHistory",value:function getTaskmanagementWorktypeHistory(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
15332
- if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/history','GET',{'worktypeId':worktypeId},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15487
+ if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/history','GET',{'worktypeId':worktypeId},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'fields':this.apiClient.buildCollectionParam(opts['fields'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15333
15488
  * Get a status
15334
15489
  *
15335
15490
  * @param {String} worktypeId Worktype id
@@ -15487,7 +15642,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
15487
15642
  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(){/**
15488
15643
  * Teams service.
15489
15644
  * @module purecloud-platform-client-v2/api/TeamsApi
15490
- * @version 196.0.0
15645
+ * @version 198.0.0
15491
15646
  */ /**
15492
15647
  * Constructs a new TeamsApi.
15493
15648
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -15565,7 +15720,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15565
15720
  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(){/**
15566
15721
  * Telephony service.
15567
15722
  * @module purecloud-platform-client-v2/api/TelephonyApi
15568
- * @version 196.0.0
15723
+ * @version 198.0.0
15569
15724
  */ /**
15570
15725
  * Constructs a new TelephonyApi.
15571
15726
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15612,7 +15767,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15612
15767
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
15613
15768
  * TelephonyProvidersEdge service.
15614
15769
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15615
- * @version 196.0.0
15770
+ * @version 198.0.0
15616
15771
  */ /**
15617
15772
  * Constructs a new TelephonyProvidersEdgeApi.
15618
15773
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -16422,7 +16577,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
16422
16577
  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(){/**
16423
16578
  * Textbots service.
16424
16579
  * @module purecloud-platform-client-v2/api/TextbotsApi
16425
- * @version 196.0.0
16580
+ * @version 198.0.0
16426
16581
  */ /**
16427
16582
  * Constructs a new TextbotsApi.
16428
16583
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -16457,7 +16612,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
16457
16612
  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(){/**
16458
16613
  * Tokens service.
16459
16614
  * @module purecloud-platform-client-v2/api/TokensApi
16460
- * @version 196.0.0
16615
+ * @version 198.0.0
16461
16616
  */ /**
16462
16617
  * Constructs a new TokensApi.
16463
16618
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -16491,7 +16646,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16491
16646
  */},{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(){/**
16492
16647
  * Uploads service.
16493
16648
  * @module purecloud-platform-client-v2/api/UploadsApi
16494
- * @version 196.0.0
16649
+ * @version 198.0.0
16495
16650
  */ /**
16496
16651
  * Constructs a new UploadsApi.
16497
16652
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -16557,7 +16712,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16557
16712
  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(){/**
16558
16713
  * Usage service.
16559
16714
  * @module purecloud-platform-client-v2/api/UsageApi
16560
- * @version 196.0.0
16715
+ * @version 198.0.0
16561
16716
  */ /**
16562
16717
  * Constructs a new UsageApi.
16563
16718
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -16611,7 +16766,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16611
16766
  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(){/**
16612
16767
  * UserRecordings service.
16613
16768
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
16614
- * @version 196.0.0
16769
+ * @version 198.0.0
16615
16770
  */ /**
16616
16771
  * Constructs a new UserRecordingsApi.
16617
16772
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16660,7 +16815,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16660
16815
  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(){/**
16661
16816
  * Users service.
16662
16817
  * @module purecloud-platform-client-v2/api/UsersApi
16663
- * @version 196.0.0
16818
+ * @version 198.0.0
16664
16819
  */ /**
16665
16820
  * Constructs a new UsersApi.
16666
16821
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -16819,7 +16974,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16819
16974
  *
16820
16975
  * @param {String} userId User ID
16821
16976
  * @param {Object} opts Optional parameters
16822
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
16977
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
16823
16978
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for a user instead of their default.
16824
16979
  * @param {Object} opts.state Search for a user with this state (default to active)
16825
16980
  */},{key:"getUser",value:function getUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
@@ -16965,7 +17120,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16965
17120
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
16966
17121
  * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
16967
17122
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
16968
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
17123
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
16969
17124
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
16970
17125
  * @param {Object} opts.state Only list users of this state (default to active)
16971
17126
  */},{key:"getUsers",value:function getUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'jabberId':this.apiClient.buildCollectionParam(opts['jabberId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -17322,7 +17477,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
17322
17477
  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(){/**
17323
17478
  * Utilities service.
17324
17479
  * @module purecloud-platform-client-v2/api/UtilitiesApi
17325
- * @version 196.0.0
17480
+ * @version 198.0.0
17326
17481
  */ /**
17327
17482
  * Constructs a new UtilitiesApi.
17328
17483
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -17349,7 +17504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17349
17504
  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(){/**
17350
17505
  * Voicemail service.
17351
17506
  * @module purecloud-platform-client-v2/api/VoicemailApi
17352
- * @version 196.0.0
17507
+ * @version 198.0.0
17353
17508
  */ /**
17354
17509
  * Constructs a new VoicemailApi.
17355
17510
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -17498,7 +17653,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17498
17653
  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(){/**
17499
17654
  * WebChat service.
17500
17655
  * @module purecloud-platform-client-v2/api/WebChatApi
17501
- * @version 196.0.0
17656
+ * @version 198.0.0
17502
17657
  */ /**
17503
17658
  * Constructs a new WebChatApi.
17504
17659
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17633,7 +17788,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17633
17788
  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(){/**
17634
17789
  * WebDeployments service.
17635
17790
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17636
- * @version 196.0.0
17791
+ * @version 198.0.0
17637
17792
  */ /**
17638
17793
  * Constructs a new WebDeploymentsApi.
17639
17794
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17754,7 +17909,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17754
17909
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
17755
17910
  * WebMessaging service.
17756
17911
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17757
- * @version 196.0.0
17912
+ * @version 198.0.0
17758
17913
  */ /**
17759
17914
  * Constructs a new WebMessagingApi.
17760
17915
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17770,7 +17925,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17770
17925
  */return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
17771
17926
  * Widgets service.
17772
17927
  * @module purecloud-platform-client-v2/api/WidgetsApi
17773
- * @version 196.0.0
17928
+ * @version 198.0.0
17774
17929
  */ /**
17775
17930
  * Constructs a new WidgetsApi.
17776
17931
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17805,7 +17960,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17805
17960
  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(){/**
17806
17961
  * WorkforceManagement service.
17807
17962
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17808
- * @version 196.0.0
17963
+ * @version 198.0.0
17809
17964
  */ /**
17810
17965
  * Constructs a new WorkforceManagementApi.
17811
17966
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -17946,12 +18101,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
17946
18101
  * @param {String} jobId jobId
17947
18102
  */},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
17948
18103
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17949
- * To get status of the modeling job.
17950
- * This Endpoint is Deprecated, and not recommended to be used.
17951
- * @param {String} jobId The id of the modeling job
17952
- * @deprecated
17953
- */},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
17954
- if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdhocmodelingjob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adhocmodelingjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17955
18104
  * Get an adherence explanation
17956
18105
  *
17957
18106
  * @param {String} agentId The ID of the agent to query
@@ -17988,6 +18137,38 @@ if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required
17988
18137
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
17989
18138
  */},{key:"getWorkforcemanagementBusinessunitActivitycodes",value:function getWorkforcemanagementBusinessunitActivitycodes(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
17990
18139
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes','GET',{'businessUnitId':businessUnitId},{'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18140
+ * Get an activity plan
18141
+ *
18142
+ * @param {String} businessUnitId The ID of the business unit
18143
+ * @param {String} activityPlanId The ID of the activity plan to fetch
18144
+ * getWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18145
+ */},{key:"getWorkforcemanagementBusinessunitActivityplan",value:function getWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
18146
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
18147
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}','GET',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18148
+ * Gets an activity plan run job
18149
+ *
18150
+ * @param {String} businessUnitId The ID of the business unit
18151
+ * @param {String} activityPlanId The ID of the activity plan associated with the run job
18152
+ * @param {String} jobId The ID of the activity plan run job
18153
+ * getWorkforcemanagementBusinessunitActivityplanRunsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18154
+ */},{key:"getWorkforcemanagementBusinessunitActivityplanRunsJob",value:function getWorkforcemanagementBusinessunitActivityplanRunsJob(businessUnitId,activityPlanId,jobId){// verify the required parameter 'businessUnitId' is set
18155
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'activityPlanId' is set
18156
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'jobId' is set
18157
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18158
+ * Get activity plans
18159
+ *
18160
+ * @param {String} businessUnitId The ID of the business unit
18161
+ * @param {Object} opts Optional parameters
18162
+ * @param {Object} opts.state Optionally filter by activity plan state
18163
+ * getWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18164
+ */},{key:"getWorkforcemanagementBusinessunitActivityplans",value:function getWorkforcemanagementBusinessunitActivityplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18165
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans','GET',{'businessUnitId':businessUnitId},{'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18166
+ * Gets the latest job for all activity plans in the business unit
18167
+ *
18168
+ * @param {String} businessUnitId The ID of the business unit
18169
+ * getWorkforcemanagementBusinessunitActivityplansJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18170
+ */},{key:"getWorkforcemanagementBusinessunitActivityplansJobs",value:function getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId){// verify the required parameter 'businessUnitId' is set
18171
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17991
18172
  * Get intraday planning groups for the given date
17992
18173
  *
17993
18174
  * @param {String} businessUnitId The ID of the business unit
@@ -18516,6 +18697,16 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
18516
18697
  */},{key:"patchWorkforcemanagementBusinessunitActivitycode",value:function patchWorkforcemanagementBusinessunitActivitycode(businessUnitId,activityCodeId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18517
18698
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';}// verify the required parameter 'activityCodeId' is set
18518
18699
  if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}','PATCH',{'businessUnitId':businessUnitId,'activityCodeId':activityCodeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18700
+ * Update an activity plan
18701
+ * If a job associated with the activity plan is in Processing state the activity plan cannot be updated
18702
+ * @param {String} businessUnitId The ID of the business unit
18703
+ * @param {String} activityPlanId The ID of the activity plan to update
18704
+ * @param {Object} body body
18705
+ * patchWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18706
+ */},{key:"patchWorkforcemanagementBusinessunitActivityplan",value:function patchWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId,body){// verify the required parameter 'businessUnitId' is set
18707
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
18708
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'body' is set
18709
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}','PATCH',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18519
18710
  * Updates the planning group
18520
18711
  *
18521
18712
  * @param {String} businessUnitId The ID of the business unit.
@@ -18720,6 +18911,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18720
18911
  * @param {Object} opts.body body
18721
18912
  */},{key:"postWorkforcemanagementBusinessunitActivitycodes",value:function postWorkforcemanagementBusinessunitActivitycodes(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18722
18913
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18914
+ * Run an activity plan manually
18915
+ * Triggers a job running the activity plan. The activity plan cannot be updated until the job completes
18916
+ * @param {String} businessUnitId The ID of the business unit
18917
+ * @param {String} activityPlanId The ID of the activity plan to run
18918
+ * postWorkforcemanagementBusinessunitActivityplanRunsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18919
+ */},{key:"postWorkforcemanagementBusinessunitActivityplanRunsJobs",value:function postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
18920
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}// verify the required parameter 'activityPlanId' is set
18921
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs','POST',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18922
+ * Create an activity plan
18923
+ *
18924
+ * @param {String} businessUnitId The ID of the business unit
18925
+ * @param {Object} body body
18926
+ * postWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18927
+ */},{key:"postWorkforcemanagementBusinessunitActivityplans",value:function postWorkforcemanagementBusinessunitActivityplans(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
18928
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';}// verify the required parameter 'body' is set
18929
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18723
18930
  * Query adherence explanations across an entire business unit for the requested period
18724
18931
  *
18725
18932
  * @param {String} businessUnitId The ID of the business unit
@@ -19285,7 +19492,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19285
19492
  * </pre>
19286
19493
  * </p>
19287
19494
  * @module purecloud-platform-client-v2/index
19288
- * @version 196.0.0
19495
+ * @version 198.0.0
19289
19496
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
19290
19497
  * The ApiClient constructor.
19291
19498
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -19293,6 +19500,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19293
19500
  * The ApiClient class.
19294
19501
  * @property {module:purecloud-platform-client-v2/ApiClient}
19295
19502
  */this.ApiClientClass=ApiClient;/**
19503
+ * The AgentUIApi service constructor.
19504
+ * @property {module:purecloud-platform-client-v2/api/AgentUIApi}
19505
+ */this.AgentUIApi=AgentUIApi;/**
19296
19506
  * The AlertingApi service constructor.
19297
19507
  * @property {module:purecloud-platform-client-v2/api/AlertingApi}
19298
19508
  */this.AlertingApi=AlertingApi;/**
@@ -19335,6 +19545,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19335
19545
  * The EmailsApi service constructor.
19336
19546
  * @property {module:purecloud-platform-client-v2/api/EmailsApi}
19337
19547
  */this.EmailsApi=EmailsApi;/**
19548
+ * The EmployeeEngagementApi service constructor.
19549
+ * @property {module:purecloud-platform-client-v2/api/EmployeeEngagementApi}
19550
+ */this.EmployeeEngagementApi=EmployeeEngagementApi;/**
19338
19551
  * The EventsApi service constructor.
19339
19552
  * @property {module:purecloud-platform-client-v2/api/EventsApi}
19340
19553
  */this.EventsApi=EventsApi;/**