purecloud-platform-client-v2 197.0.0 → 199.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 +401 -112
  3. package/dist/web-amd/purecloud-platform-client-v2.js +401 -112
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +167 -92
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +170 -93
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +733 -238
  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 +1 -1
  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 +37 -3
  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 +1 -1
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +2 -2
  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 +30 -2
  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 +1 -1
  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 +2 -2
  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 +1 -1
  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 +1 -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 +1 -1
@@ -4242,7 +4242,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
4242
4242
  var root = chain[i];
4243
4243
 
4244
4244
  if (root === '[]' && options.parseArrays) {
4245
- obj = options.allowEmptyArrays && leaf === '' ? [] : [].concat(leaf);
4245
+ obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
4246
+ ? []
4247
+ : [].concat(leaf);
4246
4248
  } else {
4247
4249
  obj = options.plainObjects ? Object.create(null) : {};
4248
4250
  var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
@@ -6058,7 +6060,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6058
6060
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6059
6061
  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];}}}]);}();/**
6060
6062
  * @module purecloud-platform-client-v2/ApiClient
6061
- * @version 197.0.0
6063
+ * @version 199.0.0
6062
6064
  */var ApiClient=/*#__PURE__*/function(){/**
6063
6065
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6064
6066
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6370,7 +6372,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6370
6372
  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(){/**
6371
6373
  * AgentUI service.
6372
6374
  * @module purecloud-platform-client-v2/api/AgentUIApi
6373
- * @version 197.0.0
6375
+ * @version 199.0.0
6374
6376
  */ /**
6375
6377
  * Constructs a new AgentUIApi.
6376
6378
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -6404,7 +6406,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
6404
6406
  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(){/**
6405
6407
  * Alerting service.
6406
6408
  * @module purecloud-platform-client-v2/api/AlertingApi
6407
- * @version 197.0.0
6409
+ * @version 199.0.0
6408
6410
  */ /**
6409
6411
  * Constructs a new AlertingApi.
6410
6412
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -6561,7 +6563,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
6561
6563
  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(){/**
6562
6564
  * Analytics service.
6563
6565
  * @module purecloud-platform-client-v2/api/AnalyticsApi
6564
- * @version 197.0.0
6566
+ * @version 199.0.0
6565
6567
  */ /**
6566
6568
  * Constructs a new AnalyticsApi.
6567
6569
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7182,7 +7184,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7182
7184
  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(){/**
7183
7185
  * Architect service.
7184
7186
  * @module purecloud-platform-client-v2/api/ArchitectApi
7185
- * @version 197.0.0
7187
+ * @version 199.0.0
7186
7188
  */ /**
7187
7189
  * Constructs a new ArchitectApi.
7188
7190
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -8298,7 +8300,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8298
8300
  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(){/**
8299
8301
  * Audit service.
8300
8302
  * @module purecloud-platform-client-v2/api/AuditApi
8301
- * @version 197.0.0
8303
+ * @version 199.0.0
8302
8304
  */ /**
8303
8305
  * Constructs a new AuditApi.
8304
8306
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8347,7 +8349,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8347
8349
  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(){/**
8348
8350
  * Authorization service.
8349
8351
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8350
- * @version 197.0.0
8352
+ * @version 199.0.0
8351
8353
  */ /**
8352
8354
  * Constructs a new AuthorizationApi.
8353
8355
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -8662,7 +8664,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
8662
8664
  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(){/**
8663
8665
  * Billing service.
8664
8666
  * @module purecloud-platform-client-v2/api/BillingApi
8665
- * @version 197.0.0
8667
+ * @version 199.0.0
8666
8668
  */ /**
8667
8669
  * Constructs a new BillingApi.
8668
8670
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -8686,7 +8688,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
8686
8688
  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(){/**
8687
8689
  * CarrierServices service.
8688
8690
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8689
- * @version 197.0.0
8691
+ * @version 199.0.0
8690
8692
  */ /**
8691
8693
  * Constructs a new CarrierServicesApi.
8692
8694
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -8706,7 +8708,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
8706
8708
  */},{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(){/**
8707
8709
  * Chat service.
8708
8710
  * @module purecloud-platform-client-v2/api/ChatApi
8709
- * @version 197.0.0
8711
+ * @version 199.0.0
8710
8712
  */ /**
8711
8713
  * Constructs a new ChatApi.
8712
8714
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -8931,7 +8933,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8931
8933
  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(){/**
8932
8934
  * Coaching service.
8933
8935
  * @module purecloud-platform-client-v2/api/CoachingApi
8934
- * @version 197.0.0
8936
+ * @version 199.0.0
8935
8937
  */ /**
8936
8938
  * Constructs a new CoachingApi.
8937
8939
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -9084,7 +9086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9084
9086
  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(){/**
9085
9087
  * ContentManagement service.
9086
9088
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9087
- * @version 197.0.0
9089
+ * @version 199.0.0
9088
9090
  */ /**
9089
9091
  * Constructs a new ContentManagementApi.
9090
9092
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -9367,7 +9369,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
9367
9369
  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(){/**
9368
9370
  * Conversations service.
9369
9371
  * @module purecloud-platform-client-v2/api/ConversationsApi
9370
- * @version 197.0.0
9372
+ * @version 199.0.0
9371
9373
  */ /**
9372
9374
  * Constructs a new ConversationsApi.
9373
9375
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10271,6 +10273,16 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
10271
10273
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantCommunication';}// verify the required parameter 'communicationId' is set
10272
10274
  if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling patchConversationsEmailParticipantCommunication';}// verify the required parameter 'body' is set
10273
10275
  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']);}/**
10276
+ * Update conversation by setting its parking state
10277
+ *
10278
+ * @param {String} conversationId conversationId
10279
+ * @param {String} participantId participantId
10280
+ * @param {Object} body Parking update request
10281
+ * patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10282
+ */},{key:"patchConversationsEmailParticipantParkingstate",value:function patchConversationsEmailParticipantParkingstate(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10283
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'participantId' is set
10284
+ if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'body' is set
10285
+ 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']);}/**
10274
10286
  * Update a conversation by disconnecting all of the participants
10275
10287
  *
10276
10288
  * @param {String} conversationId conversationId
@@ -10407,7 +10419,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10407
10419
  * Barge a conversation creating a barged in conference of connected participants.
10408
10420
  *
10409
10421
  * @param {String} conversationId conversation ID
10410
- * postConversationBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10411
10422
  */},{key:"postConversationBarge",value:function postConversationBarge(conversationId){// verify the required parameter 'conversationId' is set
10412
10423
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationBarge';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/barge','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10413
10424
  * Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
@@ -10519,7 +10530,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10519
10530
  *
10520
10531
  * @param {String} conversationId conversationId
10521
10532
  * @param {String} participantId participantId
10522
- * postConversationsCallParticipantBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10523
10533
  */},{key:"postConversationsCallParticipantBarge",value:function postConversationsCallParticipantBarge(conversationId,participantId){// verify the required parameter 'conversationId' is set
10524
10534
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';}// verify the required parameter 'participantId' is set
10525
10535
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/barge','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -11081,7 +11091,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
11081
11091
  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(){/**
11082
11092
  * DataExtensions service.
11083
11093
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
11084
- * @version 197.0.0
11094
+ * @version 199.0.0
11085
11095
  */ /**
11086
11096
  * Constructs a new DataExtensionsApi.
11087
11097
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -11102,7 +11112,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
11102
11112
  */},{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(){/**
11103
11113
  * Downloads service.
11104
11114
  * @module purecloud-platform-client-v2/api/DownloadsApi
11105
- * @version 197.0.0
11115
+ * @version 199.0.0
11106
11116
  */ /**
11107
11117
  * Constructs a new DownloadsApi.
11108
11118
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -11121,7 +11131,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
11121
11131
  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(){/**
11122
11132
  * Emails service.
11123
11133
  * @module purecloud-platform-client-v2/api/EmailsApi
11124
- * @version 197.0.0
11134
+ * @version 199.0.0
11125
11135
  */ /**
11126
11136
  * Constructs a new EmailsApi.
11127
11137
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -11139,7 +11149,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
11139
11149
  */},{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(){/**
11140
11150
  * EmployeeEngagement service.
11141
11151
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
11142
- * @version 197.0.0
11152
+ * @version 199.0.0
11143
11153
  */ /**
11144
11154
  * Constructs a new EmployeeEngagementApi.
11145
11155
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -11177,7 +11187,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11177
11187
  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(){/**
11178
11188
  * Events service.
11179
11189
  * @module purecloud-platform-client-v2/api/EventsApi
11180
- * @version 197.0.0
11190
+ * @version 199.0.0
11181
11191
  */ /**
11182
11192
  * Constructs a new EventsApi.
11183
11193
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -11202,7 +11212,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11202
11212
  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(){/**
11203
11213
  * ExternalContacts service.
11204
11214
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
11205
- * @version 197.0.0
11215
+ * @version 199.0.0
11206
11216
  */ /**
11207
11217
  * Constructs a new ExternalContactsApi.
11208
11218
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -11293,7 +11303,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
11293
11303
  *
11294
11304
  * @param {String} contactId ExternalContact ID
11295
11305
  * @param {Object} opts Optional parameters
11296
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
11306
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
11297
11307
  */},{key:"getExternalcontactsContactUnresolved",value:function getExternalcontactsContactUnresolved(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
11298
11308
  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']);}/**
11299
11309
  * Search for external contacts
@@ -11659,7 +11669,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
11659
11669
  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(){/**
11660
11670
  * Fax service.
11661
11671
  * @module purecloud-platform-client-v2/api/FaxApi
11662
- * @version 197.0.0
11672
+ * @version 199.0.0
11663
11673
  */ /**
11664
11674
  * Constructs a new FaxApi.
11665
11675
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -11708,7 +11718,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11708
11718
  */},{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(){/**
11709
11719
  * Flows service.
11710
11720
  * @module purecloud-platform-client-v2/api/FlowsApi
11711
- * @version 197.0.0
11721
+ * @version 199.0.0
11712
11722
  */ /**
11713
11723
  * Constructs a new FlowsApi.
11714
11724
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11756,7 +11766,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11756
11766
  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(){/**
11757
11767
  * Gamification service.
11758
11768
  * @module purecloud-platform-client-v2/api/GamificationApi
11759
- * @version 197.0.0
11769
+ * @version 199.0.0
11760
11770
  */ /**
11761
11771
  * Constructs a new GamificationApi.
11762
11772
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -12296,7 +12306,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12296
12306
  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(){/**
12297
12307
  * GeneralDataProtectionRegulation service.
12298
12308
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
12299
- * @version 197.0.0
12309
+ * @version 199.0.0
12300
12310
  */ /**
12301
12311
  * Constructs a new GeneralDataProtectionRegulationApi.
12302
12312
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -12331,7 +12341,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
12331
12341
  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(){/**
12332
12342
  * Geolocation service.
12333
12343
  * @module purecloud-platform-client-v2/api/GeolocationApi
12334
- * @version 197.0.0
12344
+ * @version 199.0.0
12335
12345
  */ /**
12336
12346
  * Constructs a new GeolocationApi.
12337
12347
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -12365,7 +12375,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
12365
12375
  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(){/**
12366
12376
  * Greetings service.
12367
12377
  * @module purecloud-platform-client-v2/api/GreetingsApi
12368
- * @version 197.0.0
12378
+ * @version 199.0.0
12369
12379
  */ /**
12370
12380
  * Constructs a new GreetingsApi.
12371
12381
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12472,7 +12482,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
12472
12482
  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(){/**
12473
12483
  * Groups service.
12474
12484
  * @module purecloud-platform-client-v2/api/GroupsApi
12475
- * @version 197.0.0
12485
+ * @version 199.0.0
12476
12486
  */ /**
12477
12487
  * Constructs a new GroupsApi.
12478
12488
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12605,7 +12615,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
12605
12615
  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(){/**
12606
12616
  * IdentityProvider service.
12607
12617
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12608
- * @version 197.0.0
12618
+ * @version 199.0.0
12609
12619
  */ /**
12610
12620
  * Constructs a new IdentityProviderApi.
12611
12621
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12761,7 +12771,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12761
12771
  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(){/**
12762
12772
  * InfrastructureAsCode service.
12763
12773
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12764
- * @version 197.0.0
12774
+ * @version 199.0.0
12765
12775
  */ /**
12766
12776
  * Constructs a new InfrastructureAsCodeApi.
12767
12777
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12815,7 +12825,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12815
12825
  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(){/**
12816
12826
  * Integrations service.
12817
12827
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12818
- * @version 197.0.0
12828
+ * @version 199.0.0
12819
12829
  */ /**
12820
12830
  * Constructs a new IntegrationsApi.
12821
12831
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -13426,7 +13436,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
13426
13436
  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(){/**
13427
13437
  * Journey service.
13428
13438
  * @module purecloud-platform-client-v2/api/JourneyApi
13429
- * @version 197.0.0
13439
+ * @version 199.0.0
13430
13440
  */ /**
13431
13441
  * Constructs a new JourneyApi.
13432
13442
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13620,7 +13630,6 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
13620
13630
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
13621
13631
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
13622
13632
  * @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
13623
- * getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13624
13633
  */},{key:"getJourneySessionEvents",value:function getJourneySessionEvents(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
13625
13634
  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']);}/**
13626
13635
  * Retrieve latest outcome score associated with a session for all outcomes.
@@ -13768,6 +13777,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13768
13777
  * @param {Object} opts.body
13769
13778
  */},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
13770
13779
  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']);}/**
13780
+ * Send a journey web event, used for tracking customer activity on a website.
13781
+ *
13782
+ * @param {String} deploymentId The ID of the deployment sending the web event.
13783
+ * @param {Object} opts Optional parameters
13784
+ * @param {Object} opts.body
13785
+ */},{key:"postJourneyDeploymentWebevents",value:function postJourneyDeploymentWebevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
13786
+ 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']);}/**
13771
13787
  * Query for flow paths.
13772
13788
  *
13773
13789
  * @param {Object} opts Optional parameters
@@ -13824,7 +13840,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13824
13840
  */},{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(){/**
13825
13841
  * Knowledge service.
13826
13842
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13827
- * @version 197.0.0
13843
+ * @version 199.0.0
13828
13844
  */ /**
13829
13845
  * Constructs a new KnowledgeApi.
13830
13846
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -14737,7 +14753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14737
14753
  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(){/**
14738
14754
  * LanguageUnderstanding service.
14739
14755
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
14740
- * @version 197.0.0
14756
+ * @version 199.0.0
14741
14757
  */ /**
14742
14758
  * Constructs a new LanguageUnderstandingApi.
14743
14759
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -14997,7 +15013,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
14997
15013
  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(){/**
14998
15014
  * Languages service.
14999
15015
  * @module purecloud-platform-client-v2/api/LanguagesApi
15000
- * @version 197.0.0
15016
+ * @version 199.0.0
15001
15017
  */ /**
15002
15018
  * Constructs a new LanguagesApi.
15003
15019
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -15052,7 +15068,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15052
15068
  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(){/**
15053
15069
  * Learning service.
15054
15070
  * @module purecloud-platform-client-v2/api/LearningApi
15055
- * @version 197.0.0
15071
+ * @version 199.0.0
15056
15072
  */ /**
15057
15073
  * Constructs a new LearningApi.
15058
15074
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -15323,7 +15339,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
15323
15339
  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(){/**
15324
15340
  * License service.
15325
15341
  * @module purecloud-platform-client-v2/api/LicenseApi
15326
- * @version 197.0.0
15342
+ * @version 199.0.0
15327
15343
  */ /**
15328
15344
  * Constructs a new LicenseApi.
15329
15345
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -15377,7 +15393,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
15377
15393
  */},{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(){/**
15378
15394
  * Locations service.
15379
15395
  * @module purecloud-platform-client-v2/api/LocationsApi
15380
- * @version 197.0.0
15396
+ * @version 199.0.0
15381
15397
  */ /**
15382
15398
  * Constructs a new LocationsApi.
15383
15399
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -15436,7 +15452,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15436
15452
  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(){/**
15437
15453
  * LogCapture service.
15438
15454
  * @module purecloud-platform-client-v2/api/LogCaptureApi
15439
- * @version 197.0.0
15455
+ * @version 199.0.0
15440
15456
  */ /**
15441
15457
  * Constructs a new LogCaptureApi.
15442
15458
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -15486,7 +15502,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15486
15502
  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(){/**
15487
15503
  * Messaging service.
15488
15504
  * @module purecloud-platform-client-v2/api/MessagingApi
15489
- * @version 197.0.0
15505
+ * @version 199.0.0
15490
15506
  */ /**
15491
15507
  * Constructs a new MessagingApi.
15492
15508
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -15576,7 +15592,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15576
15592
  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(){/**
15577
15593
  * MobileDevices service.
15578
15594
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
15579
- * @version 197.0.0
15595
+ * @version 199.0.0
15580
15596
  */ /**
15581
15597
  * Constructs a new MobileDevicesApi.
15582
15598
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -15615,7 +15631,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15615
15631
  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(){/**
15616
15632
  * Notifications service.
15617
15633
  * @module purecloud-platform-client-v2/api/NotificationsApi
15618
- * @version 197.0.0
15634
+ * @version 199.0.0
15619
15635
  */ /**
15620
15636
  * Constructs a new NotificationsApi.
15621
15637
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -15672,7 +15688,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
15672
15688
  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(){/**
15673
15689
  * OAuth service.
15674
15690
  * @module purecloud-platform-client-v2/api/OAuthApi
15675
- * @version 197.0.0
15691
+ * @version 199.0.0
15676
15692
  */ /**
15677
15693
  * Constructs a new OAuthApi.
15678
15694
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -15757,7 +15773,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
15757
15773
  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(){/**
15758
15774
  * Objects service.
15759
15775
  * @module purecloud-platform-client-v2/api/ObjectsApi
15760
- * @version 197.0.0
15776
+ * @version 199.0.0
15761
15777
  */ /**
15762
15778
  * Constructs a new ObjectsApi.
15763
15779
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -15828,7 +15844,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15828
15844
  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(){/**
15829
15845
  * OperationalEvents service.
15830
15846
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
15831
- * @version 197.0.0
15847
+ * @version 199.0.0
15832
15848
  */ /**
15833
15849
  * Constructs a new OperationalEventsApi.
15834
15850
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -15846,7 +15862,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
15846
15862
  */},{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(){/**
15847
15863
  * Organization service.
15848
15864
  * @module purecloud-platform-client-v2/api/OrganizationApi
15849
- * @version 197.0.0
15865
+ * @version 199.0.0
15850
15866
  */ /**
15851
15867
  * Constructs a new OrganizationApi.
15852
15868
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -15951,7 +15967,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15951
15967
  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(){/**
15952
15968
  * OrganizationAuthorization service.
15953
15969
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
15954
- * @version 197.0.0
15970
+ * @version 199.0.0
15955
15971
  */ /**
15956
15972
  * Constructs a new OrganizationAuthorizationApi.
15957
15973
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -16274,7 +16290,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
16274
16290
  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(){/**
16275
16291
  * Outbound service.
16276
16292
  * @module purecloud-platform-client-v2/api/OutboundApi
16277
- * @version 197.0.0
16293
+ * @version 199.0.0
16278
16294
  */ /**
16279
16295
  * Constructs a new OutboundApi.
16280
16296
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -16408,7 +16424,7 @@ if(id===undefined||id===null){throw'Missing the required parameter "id" when cal
16408
16424
  */},{key:"deleteOutboundMessagingcampaign",value:function deleteOutboundMessagingcampaign(messagingCampaignId){// verify the required parameter 'messagingCampaignId' is set
16409
16425
  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']);}/**
16410
16426
  * Reset messaging campaign progress and recycle the messaging campaign
16411
- *
16427
+ * Documented permissions are applicable based on campaign type.
16412
16428
  * @param {String} messagingCampaignId The Messaging Campaign ID
16413
16429
  */},{key:"deleteOutboundMessagingcampaignProgress",value:function deleteOutboundMessagingcampaignProgress(messagingCampaignId){// verify the required parameter 'messagingCampaignId' is set
16414
16430
  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']);}/**
@@ -17341,7 +17357,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17341
17357
  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(){/**
17342
17358
  * Presence service.
17343
17359
  * @module purecloud-platform-client-v2/api/PresenceApi
17344
- * @version 197.0.0
17360
+ * @version 199.0.0
17345
17361
  */ /**
17346
17362
  * Constructs a new PresenceApi.
17347
17363
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -17514,7 +17530,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17514
17530
  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(){/**
17515
17531
  * ProcessAutomation service.
17516
17532
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
17517
- * @version 197.0.0
17533
+ * @version 199.0.0
17518
17534
  */ /**
17519
17535
  * Constructs a new ProcessAutomationApi.
17520
17536
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -17577,7 +17593,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
17577
17593
  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(){/**
17578
17594
  * Quality service.
17579
17595
  * @module purecloud-platform-client-v2/api/QualityApi
17580
- * @version 197.0.0
17596
+ * @version 199.0.0
17581
17597
  */ /**
17582
17598
  * Constructs a new QualityApi.
17583
17599
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -18030,6 +18046,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18030
18046
  */},{key:"putQualityFormsEvaluation",value:function putQualityFormsEvaluation(formId,body){// verify the required parameter 'formId' is set
18031
18047
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';}// verify the required parameter 'body' is set
18032
18048
  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']);}/**
18049
+ * Update the AI Scoring settings of an evaluation form.
18050
+ *
18051
+ * @param {String} formId Form ID
18052
+ * @param {Object} body AI Scoring Settings
18053
+ * putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18054
+ */},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
18055
+ if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
18056
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18033
18057
  * Update a survey form.
18034
18058
  *
18035
18059
  * @param {String} formId Form ID
@@ -18046,7 +18070,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
18046
18070
  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(){/**
18047
18071
  * Recording service.
18048
18072
  * @module purecloud-platform-client-v2/api/RecordingApi
18049
- * @version 197.0.0
18073
+ * @version 199.0.0
18050
18074
  */ /**
18051
18075
  * Constructs a new RecordingApi.
18052
18076
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -18457,7 +18481,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18457
18481
  */},{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(){/**
18458
18482
  * ResponseManagement service.
18459
18483
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
18460
- * @version 197.0.0
18484
+ * @version 199.0.0
18461
18485
  */ /**
18462
18486
  * Constructs a new ResponseManagementApi.
18463
18487
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -18578,7 +18602,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
18578
18602
  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(){/**
18579
18603
  * Routing service.
18580
18604
  * @module purecloud-platform-client-v2/api/RoutingApi
18581
- * @version 197.0.0
18605
+ * @version 199.0.0
18582
18606
  */ /**
18583
18607
  * Constructs a new RoutingApi.
18584
18608
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -19547,7 +19571,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19547
19571
  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(){/**
19548
19572
  * SCIM service.
19549
19573
  * @module purecloud-platform-client-v2/api/SCIMApi
19550
- * @version 197.0.0
19574
+ * @version 199.0.0
19551
19575
  */ /**
19552
19576
  * Constructs a new SCIMApi.
19553
19577
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -19772,7 +19796,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19772
19796
  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(){/**
19773
19797
  * ScreenRecording service.
19774
19798
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
19775
- * @version 197.0.0
19799
+ * @version 199.0.0
19776
19800
  */ /**
19777
19801
  * Constructs a new ScreenRecordingApi.
19778
19802
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -19787,7 +19811,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19787
19811
  */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(){/**
19788
19812
  * Scripts service.
19789
19813
  * @module purecloud-platform-client-v2/api/ScriptsApi
19790
- * @version 197.0.0
19814
+ * @version 199.0.0
19791
19815
  */ /**
19792
19816
  * Constructs a new ScriptsApi.
19793
19817
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -19923,7 +19947,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
19923
19947
  */},{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(){/**
19924
19948
  * Search service.
19925
19949
  * @module purecloud-platform-client-v2/api/SearchApi
19926
- * @version 197.0.0
19950
+ * @version 199.0.0
19927
19951
  */ /**
19928
19952
  * Constructs a new SearchApi.
19929
19953
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -20083,7 +20107,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20083
20107
  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(){/**
20084
20108
  * Settings service.
20085
20109
  * @module purecloud-platform-client-v2/api/SettingsApi
20086
- * @version 197.0.0
20110
+ * @version 199.0.0
20087
20111
  */ /**
20088
20112
  * Constructs a new SettingsApi.
20089
20113
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -20135,7 +20159,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
20135
20159
  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(){/**
20136
20160
  * SpeechTextAnalytics service.
20137
20161
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
20138
- * @version 197.0.0
20162
+ * @version 199.0.0
20139
20163
  */ /**
20140
20164
  * Constructs a new SpeechTextAnalyticsApi.
20141
20165
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -20419,7 +20443,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
20419
20443
  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(){/**
20420
20444
  * Stations service.
20421
20445
  * @module purecloud-platform-client-v2/api/StationsApi
20422
- * @version 197.0.0
20446
+ * @version 199.0.0
20423
20447
  */ /**
20424
20448
  * Constructs a new StationsApi.
20425
20449
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -20451,7 +20475,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
20451
20475
  */},{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(){/**
20452
20476
  * Suggest service.
20453
20477
  * @module purecloud-platform-client-v2/api/SuggestApi
20454
- * @version 197.0.0
20478
+ * @version 199.0.0
20455
20479
  */ /**
20456
20480
  * Constructs a new SuggestApi.
20457
20481
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -20491,7 +20515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20491
20515
  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(){/**
20492
20516
  * TaskManagement service.
20493
20517
  * @module purecloud-platform-client-v2/api/TaskManagementApi
20494
- * @version 197.0.0
20518
+ * @version 199.0.0
20495
20519
  */ /**
20496
20520
  * Constructs a new TaskManagementApi.
20497
20521
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -20660,9 +20684,10 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
20660
20684
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
20661
20685
  * @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)
20662
20686
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
20687
+ * @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.
20663
20688
  * getTaskmanagementWorktypeHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20664
20689
  */},{key:"getTaskmanagementWorktypeHistory",value:function getTaskmanagementWorktypeHistory(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
20665
- 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']);}/**
20690
+ 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']);}/**
20666
20691
  * Get a status
20667
20692
  *
20668
20693
  * @param {String} worktypeId Worktype id
@@ -20820,7 +20845,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
20820
20845
  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(){/**
20821
20846
  * Teams service.
20822
20847
  * @module purecloud-platform-client-v2/api/TeamsApi
20823
- * @version 197.0.0
20848
+ * @version 199.0.0
20824
20849
  */ /**
20825
20850
  * Constructs a new TeamsApi.
20826
20851
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -20898,7 +20923,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20898
20923
  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(){/**
20899
20924
  * Telephony service.
20900
20925
  * @module purecloud-platform-client-v2/api/TelephonyApi
20901
- * @version 197.0.0
20926
+ * @version 199.0.0
20902
20927
  */ /**
20903
20928
  * Constructs a new TelephonyApi.
20904
20929
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -20945,7 +20970,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
20945
20970
  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(){/**
20946
20971
  * TelephonyProvidersEdge service.
20947
20972
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
20948
- * @version 197.0.0
20973
+ * @version 199.0.0
20949
20974
  */ /**
20950
20975
  * Constructs a new TelephonyProvidersEdgeApi.
20951
20976
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -21755,7 +21780,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
21755
21780
  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(){/**
21756
21781
  * Textbots service.
21757
21782
  * @module purecloud-platform-client-v2/api/TextbotsApi
21758
- * @version 197.0.0
21783
+ * @version 199.0.0
21759
21784
  */ /**
21760
21785
  * Constructs a new TextbotsApi.
21761
21786
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -21790,7 +21815,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
21790
21815
  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(){/**
21791
21816
  * Tokens service.
21792
21817
  * @module purecloud-platform-client-v2/api/TokensApi
21793
- * @version 197.0.0
21818
+ * @version 199.0.0
21794
21819
  */ /**
21795
21820
  * Constructs a new TokensApi.
21796
21821
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -21824,7 +21849,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21824
21849
  */},{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(){/**
21825
21850
  * Uploads service.
21826
21851
  * @module purecloud-platform-client-v2/api/UploadsApi
21827
- * @version 197.0.0
21852
+ * @version 199.0.0
21828
21853
  */ /**
21829
21854
  * Constructs a new UploadsApi.
21830
21855
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -21890,7 +21915,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21890
21915
  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(){/**
21891
21916
  * Usage service.
21892
21917
  * @module purecloud-platform-client-v2/api/UsageApi
21893
- * @version 197.0.0
21918
+ * @version 199.0.0
21894
21919
  */ /**
21895
21920
  * Constructs a new UsageApi.
21896
21921
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -21944,7 +21969,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21944
21969
  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(){/**
21945
21970
  * UserRecordings service.
21946
21971
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
21947
- * @version 197.0.0
21972
+ * @version 199.0.0
21948
21973
  */ /**
21949
21974
  * Constructs a new UserRecordingsApi.
21950
21975
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -21993,7 +22018,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
21993
22018
  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(){/**
21994
22019
  * Users service.
21995
22020
  * @module purecloud-platform-client-v2/api/UsersApi
21996
- * @version 197.0.0
22021
+ * @version 199.0.0
21997
22022
  */ /**
21998
22023
  * Constructs a new UsersApi.
21999
22024
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -22152,7 +22177,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22152
22177
  *
22153
22178
  * @param {String} userId User ID
22154
22179
  * @param {Object} opts Optional parameters
22155
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
22180
+ * @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.
22156
22181
  * @param {Object} opts.integrationPresenceSource Gets an integration presence for a user instead of their default.
22157
22182
  * @param {Object} opts.state Search for a user with this state (default to active)
22158
22183
  */},{key:"getUser",value:function getUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
@@ -22298,7 +22323,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22298
22323
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
22299
22324
  * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
22300
22325
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
22301
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
22326
+ * @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.
22302
22327
  * @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.
22303
22328
  * @param {Object} opts.state Only list users of this state (default to active)
22304
22329
  */},{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']);}/**
@@ -22655,7 +22680,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
22655
22680
  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(){/**
22656
22681
  * Utilities service.
22657
22682
  * @module purecloud-platform-client-v2/api/UtilitiesApi
22658
- * @version 197.0.0
22683
+ * @version 199.0.0
22659
22684
  */ /**
22660
22685
  * Constructs a new UtilitiesApi.
22661
22686
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -22682,7 +22707,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22682
22707
  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(){/**
22683
22708
  * Voicemail service.
22684
22709
  * @module purecloud-platform-client-v2/api/VoicemailApi
22685
- * @version 197.0.0
22710
+ * @version 199.0.0
22686
22711
  */ /**
22687
22712
  * Constructs a new VoicemailApi.
22688
22713
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -22831,7 +22856,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22831
22856
  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(){/**
22832
22857
  * WebChat service.
22833
22858
  * @module purecloud-platform-client-v2/api/WebChatApi
22834
- * @version 197.0.0
22859
+ * @version 199.0.0
22835
22860
  */ /**
22836
22861
  * Constructs a new WebChatApi.
22837
22862
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -22966,7 +22991,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22966
22991
  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(){/**
22967
22992
  * WebDeployments service.
22968
22993
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
22969
- * @version 197.0.0
22994
+ * @version 199.0.0
22970
22995
  */ /**
22971
22996
  * Constructs a new WebDeploymentsApi.
22972
22997
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -23087,7 +23112,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
23087
23112
  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(){/**
23088
23113
  * WebMessaging service.
23089
23114
  * @module purecloud-platform-client-v2/api/WebMessagingApi
23090
- * @version 197.0.0
23115
+ * @version 199.0.0
23091
23116
  */ /**
23092
23117
  * Constructs a new WebMessagingApi.
23093
23118
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -23103,7 +23128,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
23103
23128
  */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(){/**
23104
23129
  * Widgets service.
23105
23130
  * @module purecloud-platform-client-v2/api/WidgetsApi
23106
- * @version 197.0.0
23131
+ * @version 199.0.0
23107
23132
  */ /**
23108
23133
  * Constructs a new WidgetsApi.
23109
23134
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -23138,7 +23163,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
23138
23163
  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(){/**
23139
23164
  * WorkforceManagement service.
23140
23165
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
23141
- * @version 197.0.0
23166
+ * @version 199.0.0
23142
23167
  */ /**
23143
23168
  * Constructs a new WorkforceManagementApi.
23144
23169
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -23279,12 +23304,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
23279
23304
  * @param {String} jobId jobId
23280
23305
  */},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
23281
23306
  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']);}/**
23282
- * To get status of the modeling job.
23283
- * This Endpoint is Deprecated, and not recommended to be used.
23284
- * @param {String} jobId The id of the modeling job
23285
- * @deprecated
23286
- */},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
23287
- 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']);}/**
23288
23307
  * Get an adherence explanation
23289
23308
  *
23290
23309
  * @param {String} agentId The ID of the agent to query
@@ -23321,6 +23340,38 @@ if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required
23321
23340
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
23322
23341
  */},{key:"getWorkforcemanagementBusinessunitActivitycodes",value:function getWorkforcemanagementBusinessunitActivitycodes(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
23323
23342
  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']);}/**
23343
+ * Get an activity plan
23344
+ *
23345
+ * @param {String} businessUnitId The ID of the business unit
23346
+ * @param {String} activityPlanId The ID of the activity plan to fetch
23347
+ * getWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23348
+ */},{key:"getWorkforcemanagementBusinessunitActivityplan",value:function getWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
23349
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
23350
+ 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']);}/**
23351
+ * Gets an activity plan run job
23352
+ *
23353
+ * @param {String} businessUnitId The ID of the business unit
23354
+ * @param {String} activityPlanId The ID of the activity plan associated with the run job
23355
+ * @param {String} jobId The ID of the activity plan run job
23356
+ * getWorkforcemanagementBusinessunitActivityplanRunsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23357
+ */},{key:"getWorkforcemanagementBusinessunitActivityplanRunsJob",value:function getWorkforcemanagementBusinessunitActivityplanRunsJob(businessUnitId,activityPlanId,jobId){// verify the required parameter 'businessUnitId' is set
23358
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'activityPlanId' is set
23359
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'jobId' is set
23360
+ 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']);}/**
23361
+ * Get activity plans
23362
+ *
23363
+ * @param {String} businessUnitId The ID of the business unit
23364
+ * @param {Object} opts Optional parameters
23365
+ * @param {Object} opts.state Optionally filter by activity plan state
23366
+ * getWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23367
+ */},{key:"getWorkforcemanagementBusinessunitActivityplans",value:function getWorkforcemanagementBusinessunitActivityplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
23368
+ 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']);}/**
23369
+ * Gets the latest job for all activity plans in the business unit
23370
+ *
23371
+ * @param {String} businessUnitId The ID of the business unit
23372
+ * getWorkforcemanagementBusinessunitActivityplansJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23373
+ */},{key:"getWorkforcemanagementBusinessunitActivityplansJobs",value:function getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId){// verify the required parameter 'businessUnitId' is set
23374
+ 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']);}/**
23324
23375
  * Get intraday planning groups for the given date
23325
23376
  *
23326
23377
  * @param {String} businessUnitId The ID of the business unit
@@ -23849,6 +23900,16 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
23849
23900
  */},{key:"patchWorkforcemanagementBusinessunitActivitycode",value:function patchWorkforcemanagementBusinessunitActivitycode(businessUnitId,activityCodeId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
23850
23901
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';}// verify the required parameter 'activityCodeId' is set
23851
23902
  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']);}/**
23903
+ * Update an activity plan
23904
+ * If a job associated with the activity plan is in Processing state the activity plan cannot be updated
23905
+ * @param {String} businessUnitId The ID of the business unit
23906
+ * @param {String} activityPlanId The ID of the activity plan to update
23907
+ * @param {Object} body body
23908
+ * patchWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23909
+ */},{key:"patchWorkforcemanagementBusinessunitActivityplan",value:function patchWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId,body){// verify the required parameter 'businessUnitId' is set
23910
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
23911
+ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'body' is set
23912
+ 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']);}/**
23852
23913
  * Updates the planning group
23853
23914
  *
23854
23915
  * @param {String} businessUnitId The ID of the business unit.
@@ -24053,6 +24114,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24053
24114
  * @param {Object} opts.body body
24054
24115
  */},{key:"postWorkforcemanagementBusinessunitActivitycodes",value:function postWorkforcemanagementBusinessunitActivitycodes(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
24055
24116
  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']);}/**
24117
+ * Run an activity plan manually
24118
+ * Triggers a job running the activity plan. The activity plan cannot be updated until the job completes
24119
+ * @param {String} businessUnitId The ID of the business unit
24120
+ * @param {String} activityPlanId The ID of the activity plan to run
24121
+ * postWorkforcemanagementBusinessunitActivityplanRunsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24122
+ */},{key:"postWorkforcemanagementBusinessunitActivityplanRunsJobs",value:function postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
24123
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}// verify the required parameter 'activityPlanId' is set
24124
+ 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']);}/**
24125
+ * Create an activity plan
24126
+ *
24127
+ * @param {String} businessUnitId The ID of the business unit
24128
+ * @param {Object} body body
24129
+ * postWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24130
+ */},{key:"postWorkforcemanagementBusinessunitActivityplans",value:function postWorkforcemanagementBusinessunitActivityplans(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
24131
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';}// verify the required parameter 'body' is set
24132
+ 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']);}/**
24056
24133
  * Query adherence explanations across an entire business unit for the requested period
24057
24134
  *
24058
24135
  * @param {String} businessUnitId The ID of the business unit
@@ -24618,7 +24695,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
24618
24695
  * </pre>
24619
24696
  * </p>
24620
24697
  * @module purecloud-platform-client-v2/index
24621
- * @version 197.0.0
24698
+ * @version 199.0.0
24622
24699
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
24623
24700
  * The ApiClient constructor.
24624
24701
  * @property {module:purecloud-platform-client-v2/ApiClient}