purecloud-platform-client-v2 218.0.0 → 219.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 (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1362 -94
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1362 -94
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +396 -97
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +396 -97
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +701 -1
  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/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -4
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +54 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +36 -1
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +65 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +396 -2
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +366 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +54 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +65 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +66 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -5
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -892,7 +892,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
892
892
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
893
893
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
894
894
  * @module purecloud-platform-client-v2/ApiClient
895
- * @version 218.0.0
895
+ * @version 219.0.0
896
896
  */var ApiClient=/*#__PURE__*/function(){/**
897
897
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
898
898
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1235,7 +1235,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1235
1235
  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 AgentAssistantsApi=/*#__PURE__*/function(){/**
1236
1236
  * AgentAssistants service.
1237
1237
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1238
- * @version 218.0.0
1238
+ * @version 219.0.0
1239
1239
  *//**
1240
1240
  * Constructs a new AgentAssistantsApi.
1241
1241
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1336,7 +1336,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
1336
1336
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
1337
1337
  * AgentCopilot service.
1338
1338
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1339
- * @version 218.0.0
1339
+ * @version 219.0.0
1340
1340
  *//**
1341
1341
  * Constructs a new AgentCopilotApi.
1342
1342
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1358,7 +1358,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
1358
1358
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
1359
1359
  * AgentUI service.
1360
1360
  * @module purecloud-platform-client-v2/api/AgentUIApi
1361
- * @version 218.0.0
1361
+ * @version 219.0.0
1362
1362
  *//**
1363
1363
  * Constructs a new AgentUIApi.
1364
1364
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1392,7 +1392,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
1392
1392
  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(){/**
1393
1393
  * Alerting service.
1394
1394
  * @module purecloud-platform-client-v2/api/AlertingApi
1395
- * @version 218.0.0
1395
+ * @version 219.0.0
1396
1396
  *//**
1397
1397
  * Constructs a new AlertingApi.
1398
1398
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1481,7 +1481,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1481
1481
  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(){/**
1482
1482
  * Analytics service.
1483
1483
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1484
- * @version 218.0.0
1484
+ * @version 219.0.0
1485
1485
  *//**
1486
1486
  * Constructs a new AnalyticsApi.
1487
1487
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1516,7 +1516,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
1516
1516
  * Get an agent and their active sessions by user ID
1517
1517
  *
1518
1518
  * @param {String} userId userId
1519
- * getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1520
1519
  */},{key:"getAnalyticsAgentStatus",value:function getAnalyticsAgentStatus(userId){// verify the required parameter 'userId' is set
1521
1520
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';}return this.apiClient.callApi('/api/v2/analytics/agents/{userId}/status','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1522
1521
  * Get status for async query for agent copilot aggregates
@@ -1881,13 +1880,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1881
1880
  * Count agents by segment type
1882
1881
  *
1883
1882
  * @param {Object} body query
1884
- * postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1885
1883
  */},{key:"postAnalyticsAgentsStatusCounts",value:function postAnalyticsAgentsStatusCounts(body){// verify the required parameter 'body' is set
1886
1884
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';}return this.apiClient.callApi('/api/v2/analytics/agents/status/counts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1887
1885
  * Retrieve the top 50 agents matching the query filters
1888
1886
  *
1889
1887
  * @param {Object} body query
1890
- * postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1891
1888
  */},{key:"postAnalyticsAgentsStatusQuery",value:function postAnalyticsAgentsStatusQuery(body){// verify the required parameter 'body' is set
1892
1889
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';}return this.apiClient.callApi('/api/v2/analytics/agents/status/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1893
1890
  * Query for bot aggregates asynchronously
@@ -2152,7 +2149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2152
2149
  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(){/**
2153
2150
  * Architect service.
2154
2151
  * @module purecloud-platform-client-v2/api/ArchitectApi
2155
- * @version 218.0.0
2152
+ * @version 219.0.0
2156
2153
  *//**
2157
2154
  * Constructs a new ArchitectApi.
2158
2155
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -2996,6 +2993,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2996
2993
  * @param {String} promptId Prompt ID
2997
2994
  */},{key:"postArchitectPromptHistory",value:function postArchitectPromptHistory(promptId){// verify the required parameter 'promptId' is set
2998
2995
  if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptHistory';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2996
+ * Creates a presigned URL for uploading a user prompt file
2997
+ *
2998
+ * @param {String} promptId Prompt ID
2999
+ * @param {String} languageCode Language
3000
+ */},{key:"postArchitectPromptResourceUploads",value:function postArchitectPromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
3001
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';}// verify the required parameter 'languageCode' is set
3002
+ if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2999
3003
  * Create a new user prompt resource
3000
3004
  *
3001
3005
  * @param {String} promptId Prompt ID
@@ -3023,6 +3027,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3023
3027
  * @param {String} promptId promptId
3024
3028
  */},{key:"postArchitectSystempromptHistory",value:function postArchitectSystempromptHistory(promptId){// verify the required parameter 'promptId' is set
3025
3029
  if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3030
+ * Creates a presigned URL for uploading a system prompt file
3031
+ *
3032
+ * @param {String} promptId Prompt ID
3033
+ * @param {String} languageCode Language
3034
+ */},{key:"postArchitectSystempromptResourceUploads",value:function postArchitectSystempromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
3035
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';}// verify the required parameter 'languageCode' is set
3036
+ if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3026
3037
  * Create system prompt resource override.
3027
3038
  *
3028
3039
  * @param {String} promptId Prompt ID
@@ -3270,7 +3281,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3270
3281
  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(){/**
3271
3282
  * Audit service.
3272
3283
  * @module purecloud-platform-client-v2/api/AuditApi
3273
- * @version 218.0.0
3284
+ * @version 219.0.0
3274
3285
  *//**
3275
3286
  * Constructs a new AuditApi.
3276
3287
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3320,7 +3331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3320
3331
  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(){/**
3321
3332
  * Authorization service.
3322
3333
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3323
- * @version 218.0.0
3334
+ * @version 219.0.0
3324
3335
  *//**
3325
3336
  * Constructs a new AuthorizationApi.
3326
3337
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3385,12 +3396,27 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
3385
3396
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
3386
3397
  * @param {String} opts.name Search term to filter by division name
3387
3398
  */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3399
+ * Get a list of soft deleted divisions for the org
3400
+ *
3401
+ * @param {Object} opts Optional parameters
3402
+ * @param {Number} opts.pageNumber Page number (default to 1)
3403
+ * @param {Number} opts.pageSize Page size (default to 25)
3404
+ */},{key:"getAuthorizationDivisionsDeleted",value:function getAuthorizationDivisionsDeleted(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/deleted','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3388
3405
  * Retrieve the home division for the organization.
3389
3406
  * Will not include object counts.
3390
3407
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3391
3408
  * Returns the maximum allowed number of divisions.
3392
3409
  *
3393
3410
  */},{key:"getAuthorizationDivisionsLimit",value:function getAuthorizationDivisionsLimit(){return this.apiClient.callApi('/api/v2/authorization/divisions/limit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3411
+ * Retrieve a list of all divisions defined for the organization with cursor
3412
+ * Use "after" and "before" param to fetch next/previous page}
3413
+ * @param {Object} opts Optional parameters
3414
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
3415
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
3416
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
3417
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
3418
+ * @param {String} opts.name Optionally request specific divisions by division name
3419
+ */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3394
3420
  * Returns which divisions the current user has the given permission in.
3395
3421
  * This route is deprecated, use authorization/divisionspermitted/paged/me instead.
3396
3422
  * @param {String} permission The permission string, including the object to access, e.g. routing:queue:view
@@ -3740,7 +3766,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3740
3766
  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(){/**
3741
3767
  * Billing service.
3742
3768
  * @module purecloud-platform-client-v2/api/BillingApi
3743
- * @version 218.0.0
3769
+ * @version 219.0.0
3744
3770
  *//**
3745
3771
  * Constructs a new BillingApi.
3746
3772
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3764,7 +3790,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3764
3790
  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(){/**
3765
3791
  * CarrierServices service.
3766
3792
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3767
- * @version 218.0.0
3793
+ * @version 219.0.0
3768
3794
  *//**
3769
3795
  * Constructs a new CarrierServicesApi.
3770
3796
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3784,7 +3810,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3784
3810
  */},{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(){/**
3785
3811
  * Chat service.
3786
3812
  * @module purecloud-platform-client-v2/api/ChatApi
3787
- * @version 218.0.0
3813
+ * @version 219.0.0
3788
3814
  *//**
3789
3815
  * Constructs a new ChatApi.
3790
3816
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -4002,7 +4028,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4002
4028
  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(){/**
4003
4029
  * Coaching service.
4004
4030
  * @module purecloud-platform-client-v2/api/CoachingApi
4005
- * @version 218.0.0
4031
+ * @version 219.0.0
4006
4032
  *//**
4007
4033
  * Constructs a new CoachingApi.
4008
4034
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4155,7 +4181,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4155
4181
  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(){/**
4156
4182
  * ContentManagement service.
4157
4183
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4158
- * @version 218.0.0
4184
+ * @version 219.0.0
4159
4185
  *//**
4160
4186
  * Constructs a new ContentManagementApi.
4161
4187
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4437,7 +4463,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4437
4463
  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(){/**
4438
4464
  * Conversations service.
4439
4465
  * @module purecloud-platform-client-v2/api/ConversationsApi
4440
- * @version 218.0.0
4466
+ * @version 219.0.0
4441
4467
  *//**
4442
4468
  * Constructs a new ConversationsApi.
4443
4469
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -5174,6 +5200,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5174
5200
  */},{key:"patchConversationSecureattributes",value:function patchConversationSecureattributes(conversationId,body){// verify the required parameter 'conversationId' is set
5175
5201
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';}// verify the required parameter 'body' is set
5176
5202
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5203
+ * Update the feedback for the summary.
5204
+ *
5205
+ * @param {String} conversationId Conversation ID
5206
+ * @param {String} summaryId Summary ID
5207
+ * @param {Object} opts Optional parameters
5208
+ * @param {Object} opts.body
5209
+ * patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5210
+ */},{key:"patchConversationSummaryFeedback",value:function patchConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5211
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
5212
+ if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','PATCH',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
5177
5213
  * Update the utilization label on a conversation. When there is no value provided, the system default label is applied
5178
5214
  *
5179
5215
  * @param {String} conversationId conversation ID
@@ -6276,7 +6312,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
6276
6312
  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(){/**
6277
6313
  * DataExtensions service.
6278
6314
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
6279
- * @version 218.0.0
6315
+ * @version 219.0.0
6280
6316
  *//**
6281
6317
  * Constructs a new DataExtensionsApi.
6282
6318
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -6297,7 +6333,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
6297
6333
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
6298
6334
  * DataPrivacy service.
6299
6335
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
6300
- * @version 218.0.0
6336
+ * @version 219.0.0
6301
6337
  *//**
6302
6338
  * Constructs a new DataPrivacyApi.
6303
6339
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -6337,7 +6373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6337
6373
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
6338
6374
  * Downloads service.
6339
6375
  * @module purecloud-platform-client-v2/api/DownloadsApi
6340
- * @version 218.0.0
6376
+ * @version 219.0.0
6341
6377
  *//**
6342
6378
  * Constructs a new DownloadsApi.
6343
6379
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -6356,7 +6392,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6356
6392
  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(){/**
6357
6393
  * Emails service.
6358
6394
  * @module purecloud-platform-client-v2/api/EmailsApi
6359
- * @version 218.0.0
6395
+ * @version 219.0.0
6360
6396
  *//**
6361
6397
  * Constructs a new EmailsApi.
6362
6398
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -6364,17 +6400,28 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
6364
6400
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
6365
6401
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
6366
6402
  */function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
6403
+ * Reset email threading settings to default
6404
+ *
6405
+ */return _createClass(EmailsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6367
6406
  * Get email Contact Center settings
6368
6407
  *
6369
- */return _createClass(EmailsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6408
+ */},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6409
+ * Get email threading settings
6410
+ *
6411
+ */},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6370
6412
  * Patch email Contact Center settings
6371
6413
  *
6372
6414
  * @param {Object} opts Optional parameters
6373
6415
  * @param {Object} opts.body
6374
- */},{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(){/**
6416
+ */},{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']);}/**
6417
+ * Patch email threading settings
6418
+ *
6419
+ * @param {Object} opts Optional parameters
6420
+ * @param {Object} opts.body
6421
+ */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
6375
6422
  * EmployeeEngagement service.
6376
6423
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
6377
- * @version 218.0.0
6424
+ * @version 219.0.0
6378
6425
  *//**
6379
6426
  * Constructs a new EmployeeEngagementApi.
6380
6427
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -6412,7 +6459,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6412
6459
  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(){/**
6413
6460
  * Events service.
6414
6461
  * @module purecloud-platform-client-v2/api/EventsApi
6415
- * @version 218.0.0
6462
+ * @version 219.0.0
6416
6463
  *//**
6417
6464
  * Constructs a new EventsApi.
6418
6465
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -6437,7 +6484,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6437
6484
  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(){/**
6438
6485
  * ExternalContacts service.
6439
6486
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
6440
- * @version 218.0.0
6487
+ * @version 219.0.0
6441
6488
  *//**
6442
6489
  * Constructs a new ExternalContactsApi.
6443
6490
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6588,6 +6635,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
6588
6635
  * Get a list of schemas.
6589
6636
  *
6590
6637
  */},{key:"getExternalcontactsContactsSchemas",value:function getExternalcontactsContactsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6638
+ * Get the core types from which all schemas are built.
6639
+ *
6640
+ * @param {String} coreTypeName Name of the core type
6641
+ */},{key:"getExternalcontactsContactsSchemasCoretype",value:function getExternalcontactsContactsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
6642
+ if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6643
+ * Get the core types from which all schemas are built.
6644
+ *
6645
+ */},{key:"getExternalcontactsContactsSchemasCoretypes",value:function getExternalcontactsContactsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6646
+ * Get quantitative limits on schemas
6647
+ *
6648
+ */},{key:"getExternalcontactsContactsSchemasLimits",value:function getExternalcontactsContactsSchemasLimits(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6591
6649
  * Fetch an External Source
6592
6650
  *
6593
6651
  * @param {String} externalSourceId External Source ID
@@ -6671,6 +6729,12 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
6671
6729
  * @param {Array.<String>} opts.expand which fields, if any, to expand
6672
6730
  */},{key:"getExternalcontactsOrganizationContacts",value:function getExternalcontactsOrganizationContacts(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
6673
6731
  if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6732
+ * List the identifiers for an external organization
6733
+ *
6734
+ * @param {String} externalOrganizationId External Organization ID
6735
+ * getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6736
+ */},{key:"getExternalcontactsOrganizationIdentifiers",value:function getExternalcontactsOrganizationIdentifiers(externalOrganizationId){// verify the required parameter 'externalOrganizationId' is set
6737
+ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers','GET',{'externalOrganizationId':externalOrganizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6674
6738
  * Fetch a note for an external organization
6675
6739
  *
6676
6740
  * @param {String} externalOrganizationId External Organization Id
@@ -6732,6 +6796,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
6732
6796
  * Get a list of schemas.
6733
6797
  *
6734
6798
  */},{key:"getExternalcontactsOrganizationsSchemas",value:function getExternalcontactsOrganizationsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6799
+ * Get the core types from which all schemas are built.
6800
+ *
6801
+ * @param {String} coreTypeName Name of the core type
6802
+ */},{key:"getExternalcontactsOrganizationsSchemasCoretype",value:function getExternalcontactsOrganizationsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
6803
+ if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6804
+ * Get the core types from which all schemas are built.
6805
+ *
6806
+ */},{key:"getExternalcontactsOrganizationsSchemasCoretypes",value:function getExternalcontactsOrganizationsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6807
+ * Get quantitative limits on schemas
6808
+ *
6809
+ */},{key:"getExternalcontactsOrganizationsSchemasLimits",value:function getExternalcontactsOrganizationsSchemasLimits(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6735
6810
  * Fetch a relationship
6736
6811
  *
6737
6812
  * @param {String} relationshipId Relationship Id
@@ -6810,6 +6885,14 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
6810
6885
  */},{key:"patchExternalcontactsContactIdentifiers",value:function patchExternalcontactsContactIdentifiers(contactId,body){// verify the required parameter 'contactId' is set
6811
6886
  if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';}// verify the required parameter 'body' is set
6812
6887
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/identifiers','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6888
+ * Claim or release identifiers for an external organization
6889
+ *
6890
+ * @param {String} externalOrganizationId External Organization ID
6891
+ * @param {Object} body ClaimRequest
6892
+ * patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6893
+ */},{key:"patchExternalcontactsOrganizationIdentifiers",value:function patchExternalcontactsOrganizationIdentifiers(externalOrganizationId,body){// verify the required parameter 'externalOrganizationId' is set
6894
+ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';}// verify the required parameter 'body' is set
6895
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers','PATCH',{'externalOrganizationId':externalOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6813
6896
  * Bulk fetch contacts
6814
6897
  *
6815
6898
  * @param {Object} body Contact ids
@@ -6826,6 +6909,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6826
6909
  * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6827
6910
  */},{key:"postExternalcontactsBulkContactsDivisionviews",value:function postExternalcontactsBulkContactsDivisionviews(body){// verify the required parameter 'body' is set
6828
6911
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6912
+ * Bulk Enrich Contacts - Run up to 10 Enrich operations per request
6913
+ * See the API endpoint /externalcontacts/contacts/enrich for docs on individual Enrich operations.
6914
+ * @param {Object} body Contact Enrich Requests
6915
+ * @param {Object} opts Optional parameters
6916
+ * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
6917
+ * postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6918
+ */},{key:"postExternalcontactsBulkContactsEnrich",value:function postExternalcontactsBulkContactsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
6919
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6829
6920
  * Bulk remove contacts
6830
6921
  *
6831
6922
  * @param {Object} body Contact ids
@@ -6877,6 +6968,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6877
6968
  * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6878
6969
  */},{key:"postExternalcontactsBulkOrganizationsDivisionviews",value:function postExternalcontactsBulkOrganizationsDivisionviews(body){// verify the required parameter 'body' is set
6879
6970
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6971
+ * Bulk enrich external organizations - Run up to 10 Enrich operations per request
6972
+ * See the API endpoint /externalcontacts/organizations/enrich for docs on individual Enrich operations.
6973
+ * @param {Object} body External Organization Enrich Requests
6974
+ * @param {Object} opts Optional parameters
6975
+ * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
6976
+ * postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6977
+ */},{key:"postExternalcontactsBulkOrganizationsEnrich",value:function postExternalcontactsBulkOrganizationsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
6978
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6880
6979
  * Bulk remove organizations
6881
6980
  *
6882
6981
  * @param {Object} body Organization ids
@@ -6924,11 +7023,25 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
6924
7023
  * @param {Object} body ExternalContact
6925
7024
  */},{key:"postExternalcontactsContacts",value:function postExternalcontactsContacts(body){// verify the required parameter 'body' is set
6926
7025
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7026
+ * Modify or create an External Contact, with powerful behaviors for finding and combining data with pre-existing Contacts.
7027
+ * You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/contacts. A 201 response status indicates that a new Contact was created, whereas a 200 status indicates that a Contact was updated or a merge occurred.
7028
+ * @param {Object} body ContactEnrichRequest
7029
+ * @param {Object} opts Optional parameters
7030
+ * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
7031
+ * postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7032
+ */},{key:"postExternalcontactsContactsEnrich",value:function postExternalcontactsContactsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7033
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6927
7034
  * Create bulk export
6928
7035
  *
6929
7036
  * @param {Object} body Export
6930
7037
  */},{key:"postExternalcontactsContactsExports",value:function postExternalcontactsContactsExports(body){// verify the required parameter 'body' is set
6931
7038
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7039
+ * Merge up to 25 contacts into a new contact record
7040
+ * Merge operation may fail if the resulting mergeset exceeds our default limit of 52. The valueOverride field lets you override any of the Contact fields post-merge. If any Contact field is left null in `valueOverride`, it will be taken from the most recently-modified contact in the merge set. Exception for *phone/*email fields: Conflicting data will be moved to any other available phone/email fields in the merged contact.
7041
+ * @param {Object} body MergeRequest
7042
+ * postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7043
+ */},{key:"postExternalcontactsContactsMerge",value:function postExternalcontactsContactsMerge(body){// verify the required parameter 'body' is set
7044
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsMerge';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/merge','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6932
7045
  * Create a schema
6933
7046
  *
6934
7047
  * @param {Object} body Schema
@@ -6947,6 +7060,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6947
7060
  * @deprecated
6948
7061
  */},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
6949
7062
  if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7063
+ * Fetch a contact using an identifier type and value.
7064
+ * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
7065
+ * @param {Object} identifier
7066
+ * @param {Object} opts Optional parameters
7067
+ * @param {Array.<String>} opts.expand which field, if any, to expand
7068
+ * postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7069
+ */},{key:"postExternalcontactsIdentifierlookupContacts",value:function postExternalcontactsIdentifierlookupContacts(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
7070
+ if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup/contacts','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7071
+ * Fetch an external organization using an identifier type and value.
7072
+ * This endpoint will only accept ExternalId type identifiers.
7073
+ * @param {Object} identifier
7074
+ * @param {Object} opts Optional parameters
7075
+ * @param {Array.<String>} opts.expand which field, if any, to expand
7076
+ * postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7077
+ */},{key:"postExternalcontactsIdentifierlookupOrganizations",value:function postExternalcontactsIdentifierlookupOrganizations(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
7078
+ if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupOrganizations';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup/organizations','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6950
7079
  * Create CSV import job
6951
7080
  *
6952
7081
  * @param {Object} body ImportRequest
@@ -6973,8 +7102,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6973
7102
  */},{key:"postExternalcontactsImportSettings",value:function postExternalcontactsImportSettings(body){// verify the required parameter 'body' is set
6974
7103
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6975
7104
  * Merge two contacts into a new contact record
6976
- * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
7105
+ * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details. Deprecated: This API has been superseded by a new merge API. You are encouraged to instead use /api/v2/externalcontacts/contacts/merge, which supports merging up to 25 Contacts of any type, and overriding specific fields in the resulting Contact.
6977
7106
  * @param {Object} body MergeRequest
7107
+ * @deprecated
6978
7108
  */},{key:"postExternalcontactsMergeContacts",value:function postExternalcontactsMergeContacts(body){// verify the required parameter 'body' is set
6979
7109
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/merge/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6980
7110
  * Create a note for an external organization
@@ -6989,6 +7119,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6989
7119
  * @param {Object} body ExternalOrganization
6990
7120
  */},{key:"postExternalcontactsOrganizations",value:function postExternalcontactsOrganizations(body){// verify the required parameter 'body' is set
6991
7121
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsOrganizations';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7122
+ * Modify or create an External Org, with powerful behaviors for finding and combining data with pre-existing External Orgs.
7123
+ * You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/organizations. A 201 response status indicates that a new External Organization was created, whereas a 200 status indicates that an External Organization was updated
7124
+ * @param {Object} body ExternalOrgEnrichRequest
7125
+ * @param {Object} opts Optional parameters
7126
+ * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
7127
+ * postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7128
+ */},{key:"postExternalcontactsOrganizationsEnrich",value:function postExternalcontactsOrganizationsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7129
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6992
7130
  * Create a schema
6993
7131
  *
6994
7132
  * @param {Object} body Schema
@@ -7096,7 +7234,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
7096
7234
  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(){/**
7097
7235
  * Fax service.
7098
7236
  * @module purecloud-platform-client-v2/api/FaxApi
7099
- * @version 218.0.0
7237
+ * @version 219.0.0
7100
7238
  *//**
7101
7239
  * Constructs a new FaxApi.
7102
7240
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -7145,7 +7283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7145
7283
  */},{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(){/**
7146
7284
  * Flows service.
7147
7285
  * @module purecloud-platform-client-v2/api/FlowsApi
7148
- * @version 218.0.0
7286
+ * @version 219.0.0
7149
7287
  *//**
7150
7288
  * Constructs a new FlowsApi.
7151
7289
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -7193,7 +7331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7193
7331
  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(){/**
7194
7332
  * Gamification service.
7195
7333
  * @module purecloud-platform-client-v2/api/GamificationApi
7196
- * @version 218.0.0
7334
+ * @version 219.0.0
7197
7335
  *//**
7198
7336
  * Constructs a new GamificationApi.
7199
7337
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -7206,6 +7344,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7206
7344
  * @param {String} metricId Specifies the External Metric Definition ID
7207
7345
  */return _createClass(GamificationApi,[{key:"deleteEmployeeperformanceExternalmetricsDefinition",value:function deleteEmployeeperformanceExternalmetricsDefinition(metricId){// verify the required parameter 'metricId' is set
7208
7346
  if(metricId===undefined||metricId===null){throw'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';}return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions/{metricId}','DELETE',{'metricId':metricId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7347
+ * Delete a Contest by Id
7348
+ *
7349
+ * @param {String} contestId The ID of the contest
7350
+ */},{key:"deleteGamificationContest",value:function deleteGamificationContest(contestId){// verify the required parameter 'contestId' is set
7351
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling deleteGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','DELETE',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7209
7352
  * Get an External Metric Definition
7210
7353
  *
7211
7354
  * @param {String} metricId Specifies the External Metric Definition ID
@@ -7217,6 +7360,71 @@ if(metricId===undefined||metricId===null){throw'Missing the required parameter "
7217
7360
  * @param {Number} opts.pageSize Page size (default to 25)
7218
7361
  * @param {Number} opts.pageNumber Page number (default to 1)
7219
7362
  */},{key:"getEmployeeperformanceExternalmetricsDefinitions",value:function getEmployeeperformanceExternalmetricsDefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7363
+ * Get a Contest by Id
7364
+ *
7365
+ * @param {String} contestId The ID of the contest
7366
+ */},{key:"getGamificationContest",value:function getGamificationContest(contestId){// verify the required parameter 'contestId' is set
7367
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7368
+ * Get Contest Scores (Admin)
7369
+ *
7370
+ * @param {String} contestId The ID of the contest
7371
+ * @param {Object} opts Optional parameters
7372
+ * @param {Number} opts.pageNumber (default to 1)
7373
+ * @param {Number} opts.pageSize (default to 25)
7374
+ * @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7375
+ * @param {Object} opts.returnsView Desired response results (default to All)
7376
+ */},{key:"getGamificationContestAgentsScores",value:function getGamificationContestAgentsScores(contestId,opts){opts=opts||{};// verify the required parameter 'contestId' is set
7377
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores','GET',{'contestId':contestId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'workday':opts['workday'],'returnsView':opts['returnsView']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7378
+ * Get Contest Scores for the requesting Agent/Supervisor
7379
+ *
7380
+ * @param {String} contestId The ID of the contest
7381
+ * @param {Object} opts Optional parameters
7382
+ * @param {Number} opts.pageNumber (default to 1)
7383
+ * @param {Number} opts.pageSize (default to 25)
7384
+ * @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7385
+ * @param {Object} opts.returnsView Desired response results (Supervisor Only) (default to All)
7386
+ */},{key:"getGamificationContestAgentsScoresMe",value:function getGamificationContestAgentsScoresMe(contestId,opts){opts=opts||{};// verify the required parameter 'contestId' is set
7387
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/me','GET',{'contestId':contestId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'workday':opts['workday'],'returnsView':opts['returnsView']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7388
+ * Get a Contest Score Trend (Average Trend)
7389
+ *
7390
+ * @param {String} contestId The ID of the contest
7391
+ */},{key:"getGamificationContestAgentsScoresTrends",value:function getGamificationContestAgentsScoresTrends(contestId){// verify the required parameter 'contestId' is set
7392
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/trends','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7393
+ * Get a Contest Score Trend for the requesting Agent
7394
+ *
7395
+ * @param {String} contestId The ID of the contest
7396
+ */},{key:"getGamificationContestAgentsScoresTrendsMe",value:function getGamificationContestAgentsScoresTrendsMe(contestId){// verify the required parameter 'contestId' is set
7397
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/trends/me','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7398
+ * Get a Contest Prize Image by Id
7399
+ *
7400
+ * @param {String} contestId The ID of the contest
7401
+ * @param {String} prizeImageId The ID of the prize image
7402
+ */},{key:"getGamificationContestPrizeimage",value:function getGamificationContestPrizeimage(contestId,prizeImageId){// verify the required parameter 'contestId' is set
7403
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';}// verify the required parameter 'prizeImageId' is set
7404
+ if(prizeImageId===undefined||prizeImageId===null){throw'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}','GET',{'contestId':contestId,'prizeImageId':prizeImageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7405
+ * Get a List of Contests (Admin)
7406
+ *
7407
+ * @param {Object} opts Optional parameters
7408
+ * @param {Number} opts.pageNumber (default to 1)
7409
+ * @param {Number} opts.pageSize (default to 25)
7410
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7411
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7412
+ * @param {Array.<String>} opts.status
7413
+ * @param {Object} opts.sortBy (default to dateStart)
7414
+ * @param {Object} opts.sortOrder (default to desc)
7415
+ */},{key:"getGamificationContests",value:function getGamificationContests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/gamification/contests','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd'],'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7416
+ * Get a List of Contests (Agent/Supervisor)
7417
+ *
7418
+ * @param {Object} opts Optional parameters
7419
+ * @param {Number} opts.pageNumber (default to 1)
7420
+ * @param {Number} opts.pageSize (default to 25)
7421
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7422
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
7423
+ * @param {Array.<String>} opts.status
7424
+ * @param {Object} opts.sortBy (default to dateStart)
7425
+ * @param {Object} opts.sortOrder (default to desc)
7426
+ * @param {Object} opts.view (default to participant)
7427
+ */},{key:"getGamificationContestsMe",value:function getGamificationContestsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/gamification/contests/me','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd'],'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'view':opts['view']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7220
7428
  * Get insights summary
7221
7429
  *
7222
7430
  * @param {Object} filterType Filter type for the query request.
@@ -7660,6 +7868,13 @@ if(templateId===undefined||templateId===null){throw'Missing the required paramet
7660
7868
  */},{key:"patchEmployeeperformanceExternalmetricsDefinition",value:function patchEmployeeperformanceExternalmetricsDefinition(metricId,body){// verify the required parameter 'metricId' is set
7661
7869
  if(metricId===undefined||metricId===null){throw'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';}// verify the required parameter 'body' is set
7662
7870
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';}return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions/{metricId}','PATCH',{'metricId':metricId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7871
+ * Finalize a Contest by Id
7872
+ *
7873
+ * @param {String} contestId The ID of the contest
7874
+ * @param {Object} body Finalize Contest
7875
+ */},{key:"patchGamificationContest",value:function patchGamificationContest(contestId,body){// verify the required parameter 'contestId' is set
7876
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling patchGamificationContest';}// verify the required parameter 'body' is set
7877
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','PATCH',{'contestId':contestId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7663
7878
  * Write External Metric Data
7664
7879
  *
7665
7880
  * @param {Object} opts Optional parameters
@@ -7670,6 +7885,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7670
7885
  * @param {Object} opts Optional parameters
7671
7886
  * @param {Object} opts.body The External Metric Definition to be created
7672
7887
  */},{key:"postEmployeeperformanceExternalmetricsDefinitions",value:function postEmployeeperformanceExternalmetricsDefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
7888
+ * Creates a Contest
7889
+ *
7890
+ * @param {Object} body Create Contest
7891
+ */},{key:"postGamificationContests",value:function postGamificationContests(body){// verify the required parameter 'body' is set
7892
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContests';}return this.apiClient.callApi('/api/v2/gamification/contests','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7893
+ * Generates pre-signed URL to upload a prize image for gamification contests
7894
+ *
7895
+ * @param {Object} body query
7896
+ */},{key:"postGamificationContestsUploadsPrizeimages",value:function postGamificationContestsUploadsPrizeimages(body){// verify the required parameter 'body' is set
7897
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';}return this.apiClient.callApi('/api/v2/gamification/contests/uploads/prizeimages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7673
7898
  * Activate a performance profile
7674
7899
  *
7675
7900
  * @param {String} profileId performanceProfileId
@@ -7729,6 +7954,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7729
7954
  * @param {Object} body The date range of work day.
7730
7955
  */},{key:"postGamificationProfilesUsersMeQuery",value:function postGamificationProfilesUsersMeQuery(body){// verify the required parameter 'body' is set
7731
7956
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';}return this.apiClient.callApi('/api/v2/gamification/profiles/users/me/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7957
+ * Update a Contest by Id
7958
+ *
7959
+ * @param {String} contestId The ID of the contest
7960
+ * @param {Object} body Contest
7961
+ */},{key:"putGamificationContest",value:function putGamificationContest(contestId,body){// verify the required parameter 'contestId' is set
7962
+ if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling putGamificationContest';}// verify the required parameter 'body' is set
7963
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','PUT',{'contestId':contestId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7732
7964
  * Updates a performance profile
7733
7965
  *
7734
7966
  * @param {String} profileId performanceProfileId
@@ -7752,7 +7984,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7752
7984
  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(){/**
7753
7985
  * GeneralDataProtectionRegulation service.
7754
7986
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
7755
- * @version 218.0.0
7987
+ * @version 219.0.0
7756
7988
  *//**
7757
7989
  * Constructs a new GeneralDataProtectionRegulationApi.
7758
7990
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -7787,7 +8019,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7787
8019
  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(){/**
7788
8020
  * Geolocation service.
7789
8021
  * @module purecloud-platform-client-v2/api/GeolocationApi
7790
- * @version 218.0.0
8022
+ * @version 219.0.0
7791
8023
  *//**
7792
8024
  * Constructs a new GeolocationApi.
7793
8025
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7821,7 +8053,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7821
8053
  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(){/**
7822
8054
  * Greetings service.
7823
8055
  * @module purecloud-platform-client-v2/api/GreetingsApi
7824
- * @version 218.0.0
8056
+ * @version 219.0.0
7825
8057
  *//**
7826
8058
  * Constructs a new GreetingsApi.
7827
8059
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7928,7 +8160,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7928
8160
  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(){/**
7929
8161
  * Groups service.
7930
8162
  * @module purecloud-platform-client-v2/api/GroupsApi
7931
- * @version 218.0.0
8163
+ * @version 219.0.0
7932
8164
  *//**
7933
8165
  * Constructs a new GroupsApi.
7934
8166
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -8061,7 +8293,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
8061
8293
  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(){/**
8062
8294
  * IdentityProvider service.
8063
8295
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8064
- * @version 218.0.0
8296
+ * @version 219.0.0
8065
8297
  *//**
8066
8298
  * Constructs a new IdentityProviderApi.
8067
8299
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -8217,7 +8449,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8217
8449
  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(){/**
8218
8450
  * InfrastructureAsCode service.
8219
8451
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8220
- * @version 218.0.0
8452
+ * @version 219.0.0
8221
8453
  *//**
8222
8454
  * Constructs a new InfrastructureAsCodeApi.
8223
8455
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -8271,7 +8503,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
8271
8503
  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(){/**
8272
8504
  * Integrations service.
8273
8505
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8274
- * @version 218.0.0
8506
+ * @version 219.0.0
8275
8507
  *//**
8276
8508
  * Constructs a new IntegrationsApi.
8277
8509
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -8854,6 +9086,13 @@ if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing th
8854
9086
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
8855
9087
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
8856
9088
  if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9089
+ * Invoke Webhook
9090
+ *
9091
+ * @param {String} tokenId The token of the webhook to be invoked
9092
+ * @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
9093
+ */},{key:"postIntegrationsWebhookEvents",value:function postIntegrationsWebhookEvents(tokenId,body){// verify the required parameter 'tokenId' is set
9094
+ if(tokenId===undefined||tokenId===null){throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';}// verify the required parameter 'body' is set
9095
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';}return this.apiClient.callApi('/api/v2/integrations/webhooks/{tokenId}/events','POST',{'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8857
9096
  * Update integration configuration.
8858
9097
  *
8859
9098
  * @param {String} integrationId Integration Id
@@ -8903,7 +9142,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8903
9142
  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(){/**
8904
9143
  * Journey service.
8905
9144
  * @module purecloud-platform-client-v2/api/JourneyApi
8906
- * @version 218.0.0
9145
+ * @version 219.0.0
8907
9146
  *//**
8908
9147
  * Constructs a new JourneyApi.
8909
9148
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -9383,7 +9622,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
9383
9622
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
9384
9623
  * Knowledge service.
9385
9624
  * @module purecloud-platform-client-v2/api/KnowledgeApi
9386
- * @version 218.0.0
9625
+ * @version 219.0.0
9387
9626
  *//**
9388
9627
  * Constructs a new KnowledgeApi.
9389
9628
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -10446,7 +10685,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
10446
10685
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
10447
10686
  * LanguageUnderstanding service.
10448
10687
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
10449
- * @version 218.0.0
10688
+ * @version 219.0.0
10450
10689
  *//**
10451
10690
  * Constructs a new LanguageUnderstandingApi.
10452
10691
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -10705,7 +10944,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
10705
10944
  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(){/**
10706
10945
  * Languages service.
10707
10946
  * @module purecloud-platform-client-v2/api/LanguagesApi
10708
- * @version 218.0.0
10947
+ * @version 219.0.0
10709
10948
  *//**
10710
10949
  * Constructs a new LanguagesApi.
10711
10950
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -10760,7 +10999,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10760
10999
  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(){/**
10761
11000
  * Learning service.
10762
11001
  * @module purecloud-platform-client-v2/api/LearningApi
10763
- * @version 218.0.0
11002
+ * @version 219.0.0
10764
11003
  *//**
10765
11004
  * Constructs a new LearningApi.
10766
11005
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -11031,7 +11270,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
11031
11270
  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(){/**
11032
11271
  * License service.
11033
11272
  * @module purecloud-platform-client-v2/api/LicenseApi
11034
- * @version 218.0.0
11273
+ * @version 219.0.0
11035
11274
  *//**
11036
11275
  * Constructs a new LicenseApi.
11037
11276
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -11085,7 +11324,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
11085
11324
  */},{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(){/**
11086
11325
  * Locations service.
11087
11326
  * @module purecloud-platform-client-v2/api/LocationsApi
11088
- * @version 218.0.0
11327
+ * @version 219.0.0
11089
11328
  *//**
11090
11329
  * Constructs a new LocationsApi.
11091
11330
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -11144,7 +11383,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11144
11383
  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(){/**
11145
11384
  * LogCapture service.
11146
11385
  * @module purecloud-platform-client-v2/api/LogCaptureApi
11147
- * @version 218.0.0
11386
+ * @version 219.0.0
11148
11387
  *//**
11149
11388
  * Constructs a new LogCaptureApi.
11150
11389
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -11194,7 +11433,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
11194
11433
  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(){/**
11195
11434
  * Messaging service.
11196
11435
  * @module purecloud-platform-client-v2/api/MessagingApi
11197
- * @version 218.0.0
11436
+ * @version 219.0.0
11198
11437
  *//**
11199
11438
  * Constructs a new MessagingApi.
11200
11439
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -11284,7 +11523,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11284
11523
  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(){/**
11285
11524
  * MobileDevices service.
11286
11525
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
11287
- * @version 218.0.0
11526
+ * @version 219.0.0
11288
11527
  *//**
11289
11528
  * Constructs a new MobileDevicesApi.
11290
11529
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -11323,7 +11562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11323
11562
  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(){/**
11324
11563
  * Notifications service.
11325
11564
  * @module purecloud-platform-client-v2/api/NotificationsApi
11326
- * @version 218.0.0
11565
+ * @version 219.0.0
11327
11566
  *//**
11328
11567
  * Constructs a new NotificationsApi.
11329
11568
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -11380,7 +11619,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
11380
11619
  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(){/**
11381
11620
  * OAuth service.
11382
11621
  * @module purecloud-platform-client-v2/api/OAuthApi
11383
- * @version 218.0.0
11622
+ * @version 219.0.0
11384
11623
  *//**
11385
11624
  * Constructs a new OAuthApi.
11386
11625
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -11465,7 +11704,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
11465
11704
  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(){/**
11466
11705
  * Objects service.
11467
11706
  * @module purecloud-platform-client-v2/api/ObjectsApi
11468
- * @version 218.0.0
11707
+ * @version 219.0.0
11469
11708
  *//**
11470
11709
  * Constructs a new ObjectsApi.
11471
11710
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -11500,12 +11739,27 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
11500
11739
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
11501
11740
  * @param {String} opts.name Search term to filter by division name
11502
11741
  */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11742
+ * Get a list of soft deleted divisions for the org
11743
+ *
11744
+ * @param {Object} opts Optional parameters
11745
+ * @param {Number} opts.pageNumber Page number (default to 1)
11746
+ * @param {Number} opts.pageSize Page size (default to 25)
11747
+ */},{key:"getAuthorizationDivisionsDeleted",value:function getAuthorizationDivisionsDeleted(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/deleted','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11503
11748
  * Retrieve the home division for the organization.
11504
11749
  * Will not include object counts.
11505
11750
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11506
11751
  * Returns the maximum allowed number of divisions.
11507
11752
  *
11508
11753
  */},{key:"getAuthorizationDivisionsLimit",value:function getAuthorizationDivisionsLimit(){return this.apiClient.callApi('/api/v2/authorization/divisions/limit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11754
+ * Retrieve a list of all divisions defined for the organization with cursor
11755
+ * Use "after" and "before" param to fetch next/previous page}
11756
+ * @param {Object} opts Optional parameters
11757
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
11758
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
11759
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
11760
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
11761
+ * @param {String} opts.name Optionally request specific divisions by division name
11762
+ */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11509
11763
  * Assign a list of objects to a division
11510
11764
  * Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
11511
11765
  * @param {String} divisionId Division ID
@@ -11536,7 +11790,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
11536
11790
  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(){/**
11537
11791
  * OperationalEvents service.
11538
11792
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
11539
- * @version 218.0.0
11793
+ * @version 219.0.0
11540
11794
  *//**
11541
11795
  * Constructs a new OperationalEventsApi.
11542
11796
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -11567,7 +11821,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
11567
11821
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
11568
11822
  * Organization service.
11569
11823
  * @module purecloud-platform-client-v2/api/OrganizationApi
11570
- * @version 218.0.0
11824
+ * @version 219.0.0
11571
11825
  *//**
11572
11826
  * Constructs a new OrganizationApi.
11573
11827
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -11672,7 +11926,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11672
11926
  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(){/**
11673
11927
  * OrganizationAuthorization service.
11674
11928
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
11675
- * @version 218.0.0
11929
+ * @version 219.0.0
11676
11930
  *//**
11677
11931
  * Constructs a new OrganizationAuthorizationApi.
11678
11932
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -12006,7 +12260,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
12006
12260
  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(){/**
12007
12261
  * Outbound service.
12008
12262
  * @module purecloud-platform-client-v2/api/OutboundApi
12009
- * @version 218.0.0
12263
+ * @version 219.0.0
12010
12264
  *//**
12011
12265
  * Constructs a new OutboundApi.
12012
12266
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -12114,6 +12368,13 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
12114
12368
  * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
12115
12369
  */},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
12116
12370
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12371
+ * Deletes all or expired whatsApp numbers from a DNC list.
12372
+ * This operation is only for Internal DNC lists of whatsApp numbers
12373
+ * @param {String} dncListId DncList ID
12374
+ * @param {Object} opts Optional parameters
12375
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC whatsApp numbers that are expired (default to false)
12376
+ */},{key:"deleteOutboundDnclistWhatsappnumbers",value:function deleteOutboundDnclistWhatsappnumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
12377
+ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12117
12378
  * Delete File Specification Template
12118
12379
  *
12119
12380
  * @param {String} fileSpecificationTemplateId File Specification Template ID
@@ -12734,6 +12995,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12734
12995
  */},{key:"patchOutboundDnclistPhonenumbers",value:function patchOutboundDnclistPhonenumbers(dncListId,body){// verify the required parameter 'dncListId' is set
12735
12996
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';}// verify the required parameter 'body' is set
12736
12997
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','PATCH',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12998
+ * Add entries to or delete entries from a DNC list.
12999
+ * Only Internal DNC lists may be deleted from
13000
+ * @param {String} dncListId DncList ID
13001
+ * @param {Object} body DNC whatsApp numbers
13002
+ */},{key:"patchOutboundDnclistWhatsappnumbers",value:function patchOutboundDnclistWhatsappnumbers(dncListId,body){// verify the required parameter 'dncListId' is set
13003
+ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';}// verify the required parameter 'body' is set
13004
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers','PATCH',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12737
13005
  * Update the outbound settings for this organization
12738
13006
  *
12739
13007
  * @param {Object} body outboundSettings
@@ -13123,7 +13391,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13123
13391
  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(){/**
13124
13392
  * Presence service.
13125
13393
  * @module purecloud-platform-client-v2/api/PresenceApi
13126
- * @version 218.0.0
13394
+ * @version 219.0.0
13127
13395
  *//**
13128
13396
  * Constructs a new PresenceApi.
13129
13397
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -13296,7 +13564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13296
13564
  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(){/**
13297
13565
  * ProcessAutomation service.
13298
13566
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
13299
- * @version 218.0.0
13567
+ * @version 219.0.0
13300
13568
  *//**
13301
13569
  * Constructs a new ProcessAutomationApi.
13302
13570
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -13359,7 +13627,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
13359
13627
  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(){/**
13360
13628
  * Quality service.
13361
13629
  * @module purecloud-platform-client-v2/api/QualityApi
13362
- * @version 218.0.0
13630
+ * @version 219.0.0
13363
13631
  *//**
13364
13632
  * Constructs a new QualityApi.
13365
13633
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -13837,7 +14105,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
13837
14105
  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(){/**
13838
14106
  * Recording service.
13839
14107
  * @module purecloud-platform-client-v2/api/RecordingApi
13840
- * @version 218.0.0
14108
+ * @version 219.0.0
13841
14109
  *//**
13842
14110
  * Constructs a new RecordingApi.
13843
14111
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13916,7 +14184,7 @@ if(annotationId===undefined||annotationId===null){throw'Missing the required par
13916
14184
  */},{key:"getConversationRecordingAnnotations",value:function getConversationRecordingAnnotations(conversationId,recordingId){// verify the required parameter 'conversationId' is set
13917
14185
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
13918
14186
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations','GET',{'conversationId':conversationId,'recordingId':recordingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13919
- * Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
14187
+ * Get recording metadata for a conversation. Does not return playable media nor system annotations. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
13920
14188
  *
13921
14189
  * @param {String} conversationId Conversation ID
13922
14190
  */},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId){// verify the required parameter 'conversationId' is set
@@ -14236,7 +14504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14236
14504
  */},{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(){/**
14237
14505
  * ResponseManagement service.
14238
14506
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
14239
- * @version 218.0.0
14507
+ * @version 219.0.0
14240
14508
  *//**
14241
14509
  * Constructs a new ResponseManagementApi.
14242
14510
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -14357,7 +14625,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
14357
14625
  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(){/**
14358
14626
  * Routing service.
14359
14627
  * @module purecloud-platform-client-v2/api/RoutingApi
14360
- * @version 218.0.0
14628
+ * @version 219.0.0
14361
14629
  *//**
14362
14630
  * Constructs a new RoutingApi.
14363
14631
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -14564,7 +14832,7 @@ if(domainName===undefined||domainName===null){throw'Missing the required paramet
14564
14832
  * @param {Number} opts.pageSize Page size (default to 25)
14565
14833
  * @param {Number} opts.pageNumber Page number (default to 1)
14566
14834
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
14567
- * @param {String} opts.filter Optional search filter
14835
+ * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
14568
14836
  */},{key:"getRoutingEmailDomains",value:function getRoutingEmailDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeStatus':opts['excludeStatus'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14569
14837
  * Get domain
14570
14838
  *
@@ -14584,8 +14852,10 @@ if(domainId===undefined||domainId===null){throw'Missing the required parameter "
14584
14852
  * Get outbound domains
14585
14853
  *
14586
14854
  * @param {Object} opts Optional parameters
14587
- * @param {String} opts.filter Optional search filter
14588
- */},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14855
+ * @param {Number} opts.pageSize Page size (default to 25)
14856
+ * @param {Number} opts.pageNumber Page number (default to 1)
14857
+ * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
14858
+ */},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14589
14859
  * Get email setup
14590
14860
  *
14591
14861
  */},{key:"getRoutingEmailSetup",value:function getRoutingEmailSetup(){return this.apiClient.callApi('/api/v2/routing/email/setup','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15402,7 +15672,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15402
15672
  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(){/**
15403
15673
  * SCIM service.
15404
15674
  * @module purecloud-platform-client-v2/api/SCIMApi
15405
- * @version 218.0.0
15675
+ * @version 219.0.0
15406
15676
  *//**
15407
15677
  * Constructs a new SCIMApi.
15408
15678
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -15627,7 +15897,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15627
15897
  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(){/**
15628
15898
  * ScreenRecording service.
15629
15899
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
15630
- * @version 218.0.0
15900
+ * @version 219.0.0
15631
15901
  *//**
15632
15902
  * Constructs a new ScreenRecordingApi.
15633
15903
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -15642,7 +15912,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15642
15912
  */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(){/**
15643
15913
  * Scripts service.
15644
15914
  * @module purecloud-platform-client-v2/api/ScriptsApi
15645
- * @version 218.0.0
15915
+ * @version 219.0.0
15646
15916
  *//**
15647
15917
  * Constructs a new ScriptsApi.
15648
15918
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -15778,7 +16048,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
15778
16048
  */},{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(){/**
15779
16049
  * Search service.
15780
16050
  * @module purecloud-platform-client-v2/api/SearchApi
15781
- * @version 218.0.0
16051
+ * @version 219.0.0
15782
16052
  *//**
15783
16053
  * Constructs a new SearchApi.
15784
16054
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -15950,7 +16220,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15950
16220
  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(){/**
15951
16221
  * Settings service.
15952
16222
  * @module purecloud-platform-client-v2/api/SettingsApi
15953
- * @version 218.0.0
16223
+ * @version 219.0.0
15954
16224
  *//**
15955
16225
  * Constructs a new SettingsApi.
15956
16226
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -15958,14 +16228,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15958
16228
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
15959
16229
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
15960
16230
  */function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
16231
+ * Reset email threading settings to default
16232
+ *
16233
+ */return _createClass(SettingsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15961
16234
  * Delete agent auto answer settings
15962
16235
  *
15963
16236
  * @param {String} agentId The agent to apply the auto answer settings to
15964
- */return _createClass(SettingsApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
16237
+ */},{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
15965
16238
  if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15966
16239
  * Get email Contact Center settings
15967
16240
  *
15968
16241
  */},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16242
+ * Get email threading settings
16243
+ *
16244
+ */},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15969
16245
  * Get the execution history enabled setting.
15970
16246
  * Get the execution history enabled setting.
15971
16247
  */},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15979,6 +16255,11 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
15979
16255
  * @param {Object} opts Optional parameters
15980
16256
  * @param {Object} opts.body
15981
16257
  */},{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']);}/**
16258
+ * Patch email threading settings
16259
+ *
16260
+ * @param {Object} opts Optional parameters
16261
+ * @param {Object} opts.body
16262
+ */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
15982
16263
  * Edit the execution history on off setting.
15983
16264
  * Edit the execution history on off setting.
15984
16265
  * @param {Object} body New Execution Data Setting
@@ -16000,7 +16281,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
16000
16281
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
16001
16282
  * SocialMedia service.
16002
16283
  * @module purecloud-platform-client-v2/api/SocialMediaApi
16003
- * @version 218.0.0
16284
+ * @version 219.0.0
16004
16285
  *//**
16005
16286
  * Constructs a new SocialMediaApi.
16006
16287
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -16337,7 +16618,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16337
16618
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
16338
16619
  * SpeechTextAnalytics service.
16339
16620
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
16340
- * @version 218.0.0
16621
+ * @version 219.0.0
16341
16622
  *//**
16342
16623
  * Constructs a new SpeechTextAnalyticsApi.
16343
16624
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -16660,7 +16941,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
16660
16941
  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(){/**
16661
16942
  * Stations service.
16662
16943
  * @module purecloud-platform-client-v2/api/StationsApi
16663
- * @version 218.0.0
16944
+ * @version 219.0.0
16664
16945
  *//**
16665
16946
  * Constructs a new StationsApi.
16666
16947
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -16692,7 +16973,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
16692
16973
  */},{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(){/**
16693
16974
  * Suggest service.
16694
16975
  * @module purecloud-platform-client-v2/api/SuggestApi
16695
- * @version 218.0.0
16976
+ * @version 219.0.0
16696
16977
  *//**
16697
16978
  * Constructs a new SuggestApi.
16698
16979
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -16732,7 +17013,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16732
17013
  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(){/**
16733
17014
  * TaskManagement service.
16734
17015
  * @module purecloud-platform-client-v2/api/TaskManagementApi
16735
- * @version 218.0.0
17016
+ * @version 219.0.0
16736
17017
  *//**
16737
17018
  * Constructs a new TaskManagementApi.
16738
17019
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -16946,6 +17227,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
16946
17227
  * Get a list of schemas.
16947
17228
  *
16948
17229
  */},{key:"getTaskmanagementWorkitemsSchemas",value:function getTaskmanagementWorkitemsSchemas(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17230
+ * Get the core types from which all schemas are built.
17231
+ *
17232
+ * @param {String} coreTypeName Name of the core type
17233
+ */},{key:"getTaskmanagementWorkitemsSchemasCoretype",value:function getTaskmanagementWorkitemsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
17234
+ if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17235
+ * Get the core types from which all schemas are built.
17236
+ *
17237
+ */},{key:"getTaskmanagementWorkitemsSchemasCoretypes",value:function getTaskmanagementWorkitemsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17238
+ * Get quantitative limits on schemas
17239
+ *
17240
+ */},{key:"getTaskmanagementWorkitemsSchemasLimits",value:function getTaskmanagementWorkitemsSchemasLimits(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16949
17241
  * Get a worktype
16950
17242
  *
16951
17243
  * @param {String} worktypeId Worktype id
@@ -17238,7 +17530,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
17238
17530
  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(){/**
17239
17531
  * Teams service.
17240
17532
  * @module purecloud-platform-client-v2/api/TeamsApi
17241
- * @version 218.0.0
17533
+ * @version 219.0.0
17242
17534
  *//**
17243
17535
  * Constructs a new TeamsApi.
17244
17536
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -17318,7 +17610,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17318
17610
  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(){/**
17319
17611
  * Telephony service.
17320
17612
  * @module purecloud-platform-client-v2/api/TelephonyApi
17321
- * @version 218.0.0
17613
+ * @version 219.0.0
17322
17614
  *//**
17323
17615
  * Constructs a new TelephonyApi.
17324
17616
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -17365,7 +17657,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
17365
17657
  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(){/**
17366
17658
  * TelephonyProvidersEdge service.
17367
17659
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
17368
- * @version 218.0.0
17660
+ * @version 219.0.0
17369
17661
  *//**
17370
17662
  * Constructs a new TelephonyProvidersEdgeApi.
17371
17663
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -18201,7 +18493,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
18201
18493
  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(){/**
18202
18494
  * Textbots service.
18203
18495
  * @module purecloud-platform-client-v2/api/TextbotsApi
18204
- * @version 218.0.0
18496
+ * @version 219.0.0
18205
18497
  *//**
18206
18498
  * Constructs a new TextbotsApi.
18207
18499
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -18236,7 +18528,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
18236
18528
  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(){/**
18237
18529
  * Tokens service.
18238
18530
  * @module purecloud-platform-client-v2/api/TokensApi
18239
- * @version 218.0.0
18531
+ * @version 219.0.0
18240
18532
  *//**
18241
18533
  * Constructs a new TokensApi.
18242
18534
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -18270,7 +18562,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18270
18562
  */},{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(){/**
18271
18563
  * Uploads service.
18272
18564
  * @module purecloud-platform-client-v2/api/UploadsApi
18273
- * @version 218.0.0
18565
+ * @version 219.0.0
18274
18566
  *//**
18275
18567
  * Constructs a new UploadsApi.
18276
18568
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -18285,6 +18577,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18285
18577
  */return _createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
18286
18578
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
18287
18579
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18580
+ * Generates pre-signed URL to upload a prize image for gamification contests
18581
+ *
18582
+ * @param {Object} body query
18583
+ */},{key:"postGamificationContestsUploadsPrizeimages",value:function postGamificationContestsUploadsPrizeimages(body){// verify the required parameter 'body' is set
18584
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';}return this.apiClient.callApi('/api/v2/gamification/contests/uploads/prizeimages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18288
18585
  * Create upload presigned URL for draft function package file.
18289
18586
  *
18290
18587
  * @param {String} actionId actionId
@@ -18333,7 +18630,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18333
18630
  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(){/**
18334
18631
  * Usage service.
18335
18632
  * @module purecloud-platform-client-v2/api/UsageApi
18336
- * @version 218.0.0
18633
+ * @version 219.0.0
18337
18634
  *//**
18338
18635
  * Constructs a new UsageApi.
18339
18636
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -18387,7 +18684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18387
18684
  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(){/**
18388
18685
  * UserRecordings service.
18389
18686
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
18390
- * @version 218.0.0
18687
+ * @version 219.0.0
18391
18688
  *//**
18392
18689
  * Constructs a new UserRecordingsApi.
18393
18690
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -18444,7 +18741,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
18444
18741
  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(){/**
18445
18742
  * Users service.
18446
18743
  * @module purecloud-platform-client-v2/api/UsersApi
18447
- * @version 218.0.0
18744
+ * @version 219.0.0
18448
18745
  *//**
18449
18746
  * Constructs a new UsersApi.
18450
18747
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -19171,7 +19468,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
19171
19468
  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(){/**
19172
19469
  * Utilities service.
19173
19470
  * @module purecloud-platform-client-v2/api/UtilitiesApi
19174
- * @version 218.0.0
19471
+ * @version 219.0.0
19175
19472
  *//**
19176
19473
  * Constructs a new UtilitiesApi.
19177
19474
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -19198,7 +19495,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19198
19495
  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(){/**
19199
19496
  * Voicemail service.
19200
19497
  * @module purecloud-platform-client-v2/api/VoicemailApi
19201
- * @version 218.0.0
19498
+ * @version 219.0.0
19202
19499
  *//**
19203
19500
  * Constructs a new VoicemailApi.
19204
19501
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -19360,7 +19657,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19360
19657
  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(){/**
19361
19658
  * WebChat service.
19362
19659
  * @module purecloud-platform-client-v2/api/WebChatApi
19363
- * @version 218.0.0
19660
+ * @version 219.0.0
19364
19661
  *//**
19365
19662
  * Constructs a new WebChatApi.
19366
19663
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -19504,7 +19801,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19504
19801
  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(){/**
19505
19802
  * WebDeployments service.
19506
19803
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
19507
- * @version 218.0.0
19804
+ * @version 219.0.0
19508
19805
  *//**
19509
19806
  * Constructs a new WebDeploymentsApi.
19510
19807
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -19639,7 +19936,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
19639
19936
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
19640
19937
  * WebMessaging service.
19641
19938
  * @module purecloud-platform-client-v2/api/WebMessagingApi
19642
- * @version 218.0.0
19939
+ * @version 219.0.0
19643
19940
  *//**
19644
19941
  * Constructs a new WebMessagingApi.
19645
19942
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -19655,7 +19952,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19655
19952
  */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(){/**
19656
19953
  * Widgets service.
19657
19954
  * @module purecloud-platform-client-v2/api/WidgetsApi
19658
- * @version 218.0.0
19955
+ * @version 219.0.0
19659
19956
  *//**
19660
19957
  * Constructs a new WidgetsApi.
19661
19958
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -19695,7 +19992,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
19695
19992
  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(){/**
19696
19993
  * WorkforceManagement service.
19697
19994
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
19698
- * @version 218.0.0
19995
+ * @version 219.0.0
19699
19996
  *//**
19700
19997
  * Constructs a new WorkforceManagementApi.
19701
19998
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -20307,8 +20604,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
20307
20604
  * Retrieves all delete job status for historical data
20308
20605
  *
20309
20606
  */},{key:"getWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function getWorkforcemanagementHistoricaldataBulkRemoveJobs(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20310
- * Retrieves delete job status for historical data imports of the organization
20311
- *
20607
+ * Retrieves delete job status for historical data imports of the organization.
20608
+ * Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
20609
+ * @deprecated
20312
20610
  */},{key:"getWorkforcemanagementHistoricaldataDeletejob",value:function getWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20313
20611
  * Retrieves status of the historical data imports of the organization
20314
20612
  *
@@ -21185,8 +21483,9 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
21185
21483
  * @param {Object} opts Optional parameters
21186
21484
  * @param {Object} opts.body body
21187
21485
  */},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21188
- * Delete the entries of the historical data imports in the organization
21189
- *
21486
+ * Delete the entries of the historical data imports in the organization.
21487
+ * Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
21488
+ * @deprecated
21190
21489
  */},{key:"postWorkforcemanagementHistoricaldataDeletejob",value:function postWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21191
21490
  * Trigger validation process for historical import
21192
21491
  *
@@ -21514,7 +21813,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
21514
21813
  * </pre>
21515
21814
  * </p>
21516
21815
  * @module purecloud-platform-client-v2/index
21517
- * @version 218.0.0
21816
+ * @version 219.0.0
21518
21817
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
21519
21818
  * The ApiClient constructor.
21520
21819
  * @property {module:purecloud-platform-client-v2/ApiClient}