purecloud-platform-client-v2 207.0.0 → 208.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 (89) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +384 -124
  3. package/dist/web-amd/purecloud-platform-client-v2.js +384 -124
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +185 -124
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +202 -127
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +871 -336
  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 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -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 +1 -1
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -8
  31. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -11
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -1
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -3
  43. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RoutingApi.js +12 -12
  64. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SearchApi.js +55 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
  70. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -1
  76. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsersApi.js +12 -12
  82. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -891,7 +891,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
891
891
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
892
892
  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];}}}]);}();/**
893
893
  * @module purecloud-platform-client-v2/ApiClient
894
- * @version 207.0.0
894
+ * @version 208.0.0
895
895
  */var ApiClient=/*#__PURE__*/function(){/**
896
896
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
897
897
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1213,7 +1213,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1213
1213
  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(){/**
1214
1214
  * AgentAssistants service.
1215
1215
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1216
- * @version 207.0.0
1216
+ * @version 208.0.0
1217
1217
  *//**
1218
1218
  * Constructs a new AgentAssistantsApi.
1219
1219
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1314,7 +1314,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
1314
1314
  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(){/**
1315
1315
  * AgentCopilot service.
1316
1316
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1317
- * @version 207.0.0
1317
+ * @version 208.0.0
1318
1318
  *//**
1319
1319
  * Constructs a new AgentCopilotApi.
1320
1320
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1336,7 +1336,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
1336
1336
  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(){/**
1337
1337
  * AgentUI service.
1338
1338
  * @module purecloud-platform-client-v2/api/AgentUIApi
1339
- * @version 207.0.0
1339
+ * @version 208.0.0
1340
1340
  *//**
1341
1341
  * Constructs a new AgentUIApi.
1342
1342
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1370,7 +1370,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
1370
1370
  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(){/**
1371
1371
  * Alerting service.
1372
1372
  * @module purecloud-platform-client-v2/api/AlertingApi
1373
- * @version 207.0.0
1373
+ * @version 208.0.0
1374
1374
  *//**
1375
1375
  * Constructs a new AlertingApi.
1376
1376
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1527,7 +1527,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1527
1527
  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(){/**
1528
1528
  * Analytics service.
1529
1529
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1530
- * @version 207.0.0
1530
+ * @version 208.0.0
1531
1531
  *//**
1532
1532
  * Constructs a new AnalyticsApi.
1533
1533
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2149,7 +2149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2149
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(){/**
2150
2150
  * Architect service.
2151
2151
  * @module purecloud-platform-client-v2/api/ArchitectApi
2152
- * @version 207.0.0
2152
+ * @version 208.0.0
2153
2153
  *//**
2154
2154
  * Constructs a new ArchitectApi.
2155
2155
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3241,7 +3241,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3241
3241
  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(){/**
3242
3242
  * Audit service.
3243
3243
  * @module purecloud-platform-client-v2/api/AuditApi
3244
- * @version 207.0.0
3244
+ * @version 208.0.0
3245
3245
  *//**
3246
3246
  * Constructs a new AuditApi.
3247
3247
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3291,7 +3291,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3291
3291
  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(){/**
3292
3292
  * Authorization service.
3293
3293
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3294
- * @version 207.0.0
3294
+ * @version 208.0.0
3295
3295
  *//**
3296
3296
  * Constructs a new AuthorizationApi.
3297
3297
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3614,7 +3614,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3614
3614
  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(){/**
3615
3615
  * Billing service.
3616
3616
  * @module purecloud-platform-client-v2/api/BillingApi
3617
- * @version 207.0.0
3617
+ * @version 208.0.0
3618
3618
  *//**
3619
3619
  * Constructs a new BillingApi.
3620
3620
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3638,7 +3638,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3638
3638
  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(){/**
3639
3639
  * CarrierServices service.
3640
3640
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3641
- * @version 207.0.0
3641
+ * @version 208.0.0
3642
3642
  *//**
3643
3643
  * Constructs a new CarrierServicesApi.
3644
3644
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3658,7 +3658,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3658
3658
  */},{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(){/**
3659
3659
  * Chat service.
3660
3660
  * @module purecloud-platform-client-v2/api/ChatApi
3661
- * @version 207.0.0
3661
+ * @version 208.0.0
3662
3662
  *//**
3663
3663
  * Constructs a new ChatApi.
3664
3664
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3883,7 +3883,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3883
3883
  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(){/**
3884
3884
  * Coaching service.
3885
3885
  * @module purecloud-platform-client-v2/api/CoachingApi
3886
- * @version 207.0.0
3886
+ * @version 208.0.0
3887
3887
  *//**
3888
3888
  * Constructs a new CoachingApi.
3889
3889
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4036,7 +4036,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4036
4036
  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(){/**
4037
4037
  * ContentManagement service.
4038
4038
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4039
- * @version 207.0.0
4039
+ * @version 208.0.0
4040
4040
  *//**
4041
4041
  * Constructs a new ContentManagementApi.
4042
4042
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4318,7 +4318,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4318
4318
  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(){/**
4319
4319
  * Conversations service.
4320
4320
  * @module purecloud-platform-client-v2/api/ConversationsApi
4321
- * @version 207.0.0
4321
+ * @version 208.0.0
4322
4322
  *//**
4323
4323
  * Constructs a new ConversationsApi.
4324
4324
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -6047,7 +6047,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
6047
6047
  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(){/**
6048
6048
  * DataExtensions service.
6049
6049
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
6050
- * @version 207.0.0
6050
+ * @version 208.0.0
6051
6051
  *//**
6052
6052
  * Constructs a new DataExtensionsApi.
6053
6053
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -6068,7 +6068,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
6068
6068
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
6069
6069
  * Downloads service.
6070
6070
  * @module purecloud-platform-client-v2/api/DownloadsApi
6071
- * @version 207.0.0
6071
+ * @version 208.0.0
6072
6072
  *//**
6073
6073
  * Constructs a new DownloadsApi.
6074
6074
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -6087,7 +6087,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
6087
6087
  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(){/**
6088
6088
  * Emails service.
6089
6089
  * @module purecloud-platform-client-v2/api/EmailsApi
6090
- * @version 207.0.0
6090
+ * @version 208.0.0
6091
6091
  *//**
6092
6092
  * Constructs a new EmailsApi.
6093
6093
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -6105,7 +6105,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
6105
6105
  */},{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(){/**
6106
6106
  * EmployeeEngagement service.
6107
6107
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
6108
- * @version 207.0.0
6108
+ * @version 208.0.0
6109
6109
  *//**
6110
6110
  * Constructs a new EmployeeEngagementApi.
6111
6111
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -6143,7 +6143,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6143
6143
  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(){/**
6144
6144
  * Events service.
6145
6145
  * @module purecloud-platform-client-v2/api/EventsApi
6146
- * @version 207.0.0
6146
+ * @version 208.0.0
6147
6147
  *//**
6148
6148
  * Constructs a new EventsApi.
6149
6149
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -6168,7 +6168,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6168
6168
  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(){/**
6169
6169
  * ExternalContacts service.
6170
6170
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
6171
- * @version 207.0.0
6171
+ * @version 208.0.0
6172
6172
  *//**
6173
6173
  * Constructs a new ExternalContactsApi.
6174
6174
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6196,7 +6196,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
6196
6196
  * Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.
6197
6197
  *
6198
6198
  * @param {String} externalSourceId External Source ID
6199
- * deleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6200
6199
  */},{key:"deleteExternalcontactsExternalsource",value:function deleteExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
6201
6200
  if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','DELETE',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6202
6201
  * Delete settings for CSV import
@@ -6270,7 +6269,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
6270
6269
  *
6271
6270
  * @param {String} contactId ExternalContact ID
6272
6271
  * @param {Object} opts Optional parameters
6273
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
6272
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
6274
6273
  */},{key:"getExternalcontactsContactUnresolved",value:function getExternalcontactsContactUnresolved(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
6275
6274
  if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/unresolved','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6276
6275
  * Search for external contacts
@@ -6305,7 +6304,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
6305
6304
  * Fetch an External Source
6306
6305
  *
6307
6306
  * @param {String} externalSourceId External Source ID
6308
- * getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6309
6307
  */},{key:"getExternalcontactsExternalsource",value:function getExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
6310
6308
  if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','GET',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6311
6309
  * Fetch a list of External Sources
@@ -6315,7 +6313,6 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
6315
6313
  * @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
6316
6314
  * @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
6317
6315
  * @param {Boolean} opts.active Filter by active status of external source
6318
- * getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6319
6316
  */},{key:"getExternalcontactsExternalsources",value:function getExternalcontactsExternalsources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','GET',{},{'cursor':opts['cursor'],'limit':opts['limit'],'name':opts['name'],'active':opts['active']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6320
6317
  * Get settings for CSV import
6321
6318
  *
@@ -6343,7 +6340,7 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
6343
6340
  *
6344
6341
  * @param {String} externalOrganizationId External Organization ID
6345
6342
  * @param {Object} opts Optional parameters
6346
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalDataSources)
6343
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
6347
6344
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
6348
6345
  */},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
6349
6346
  if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -6573,7 +6570,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6573
6570
  * Create an External Source
6574
6571
  *
6575
6572
  * @param {Object} body External Source
6576
- * postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6577
6573
  */},{key:"postExternalcontactsExternalsources",value:function postExternalcontactsExternalsources(body){// verify the required parameter 'body' is set
6578
6574
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6579
6575
  * Fetch a contact using an identifier type and value.
@@ -6659,7 +6655,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6659
6655
  *
6660
6656
  * @param {String} externalSourceId External Source ID
6661
6657
  * @param {Object} body External Source
6662
- * putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6663
6658
  */},{key:"putExternalcontactsExternalsource",value:function putExternalcontactsExternalsource(externalSourceId,body){// verify the required parameter 'externalSourceId' is set
6664
6659
  if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';}// verify the required parameter 'body' is set
6665
6660
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','PUT',{'externalSourceId':externalSourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -6709,7 +6704,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6709
6704
  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(){/**
6710
6705
  * Fax service.
6711
6706
  * @module purecloud-platform-client-v2/api/FaxApi
6712
- * @version 207.0.0
6707
+ * @version 208.0.0
6713
6708
  *//**
6714
6709
  * Constructs a new FaxApi.
6715
6710
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6758,7 +6753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6758
6753
  */},{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(){/**
6759
6754
  * Flows service.
6760
6755
  * @module purecloud-platform-client-v2/api/FlowsApi
6761
- * @version 207.0.0
6756
+ * @version 208.0.0
6762
6757
  *//**
6763
6758
  * Constructs a new FlowsApi.
6764
6759
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6806,7 +6801,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6806
6801
  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(){/**
6807
6802
  * Gamification service.
6808
6803
  * @module purecloud-platform-client-v2/api/GamificationApi
6809
- * @version 207.0.0
6804
+ * @version 208.0.0
6810
6805
  *//**
6811
6806
  * Constructs a new GamificationApi.
6812
6807
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -7346,7 +7341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7346
7341
  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(){/**
7347
7342
  * GeneralDataProtectionRegulation service.
7348
7343
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
7349
- * @version 207.0.0
7344
+ * @version 208.0.0
7350
7345
  *//**
7351
7346
  * Constructs a new GeneralDataProtectionRegulationApi.
7352
7347
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -7381,7 +7376,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7381
7376
  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(){/**
7382
7377
  * Geolocation service.
7383
7378
  * @module purecloud-platform-client-v2/api/GeolocationApi
7384
- * @version 207.0.0
7379
+ * @version 208.0.0
7385
7380
  *//**
7386
7381
  * Constructs a new GeolocationApi.
7387
7382
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7415,7 +7410,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7415
7410
  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(){/**
7416
7411
  * Greetings service.
7417
7412
  * @module purecloud-platform-client-v2/api/GreetingsApi
7418
- * @version 207.0.0
7413
+ * @version 208.0.0
7419
7414
  *//**
7420
7415
  * Constructs a new GreetingsApi.
7421
7416
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7522,7 +7517,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7522
7517
  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(){/**
7523
7518
  * Groups service.
7524
7519
  * @module purecloud-platform-client-v2/api/GroupsApi
7525
- * @version 207.0.0
7520
+ * @version 208.0.0
7526
7521
  *//**
7527
7522
  * Constructs a new GroupsApi.
7528
7523
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7655,7 +7650,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7655
7650
  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(){/**
7656
7651
  * IdentityProvider service.
7657
7652
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7658
- * @version 207.0.0
7653
+ * @version 208.0.0
7659
7654
  *//**
7660
7655
  * Constructs a new IdentityProviderApi.
7661
7656
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7811,7 +7806,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7811
7806
  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(){/**
7812
7807
  * InfrastructureAsCode service.
7813
7808
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7814
- * @version 207.0.0
7809
+ * @version 208.0.0
7815
7810
  *//**
7816
7811
  * Constructs a new InfrastructureAsCodeApi.
7817
7812
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7865,7 +7860,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7865
7860
  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(){/**
7866
7861
  * Integrations service.
7867
7862
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7868
- * @version 207.0.0
7863
+ * @version 208.0.0
7869
7864
  *//**
7870
7865
  * Constructs a new IntegrationsApi.
7871
7866
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -7946,9 +7941,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
7946
7941
  *
7947
7942
  * @param {String} actionId actionId
7948
7943
  * @param {String} fileName Name of schema file to be retrieved for this draft.
7949
- */},{key:"getIntegrationsActionDraftSchema",value:function getIntegrationsActionDraftSchema(actionId,fileName){// verify the required parameter 'actionId' is set
7944
+ * @param {Object} opts Optional parameters
7945
+ * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
7946
+ */},{key:"getIntegrationsActionDraftSchema",value:function getIntegrationsActionDraftSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
7950
7947
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';}// verify the required parameter 'fileName' is set
7951
- if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7948
+ if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7952
7949
  * Retrieve templates for a Draft based on filename.
7953
7950
  *
7954
7951
  * @param {String} actionId actionId
@@ -7971,9 +7968,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
7971
7968
  *
7972
7969
  * @param {String} actionId actionId
7973
7970
  * @param {String} fileName Name of schema file to be retrieved for this action.
7974
- */},{key:"getIntegrationsActionSchema",value:function getIntegrationsActionSchema(actionId,fileName){// verify the required parameter 'actionId' is set
7971
+ * @param {Object} opts Optional parameters
7972
+ * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
7973
+ */},{key:"getIntegrationsActionSchema",value:function getIntegrationsActionSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
7975
7974
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';}// verify the required parameter 'fileName' is set
7976
- if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7975
+ if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7977
7976
  * Retrieve text of templates for an action based on filename.
7978
7977
  *
7979
7978
  * @param {String} actionId actionId
@@ -8382,23 +8381,29 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8382
8381
  *
8383
8382
  * @param {String} actionId actionId
8384
8383
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
8385
- */},{key:"postIntegrationsActionDraftTest",value:function postIntegrationsActionDraftTest(actionId,body){// verify the required parameter 'actionId' is set
8384
+ * @param {Object} opts Optional parameters
8385
+ * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
8386
+ */},{key:"postIntegrationsActionDraftTest",value:function postIntegrationsActionDraftTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
8386
8387
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';}// verify the required parameter 'body' is set
8387
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8388
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8388
8389
  * Execute Action and return response from 3rd party. Responses will follow the schemas defined on the Action for success and error.
8389
8390
  *
8390
8391
  * @param {String} actionId actionId
8391
8392
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
8392
- */},{key:"postIntegrationsActionExecute",value:function postIntegrationsActionExecute(actionId,body){// verify the required parameter 'actionId' is set
8393
+ * @param {Object} opts Optional parameters
8394
+ * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
8395
+ */},{key:"postIntegrationsActionExecute",value:function postIntegrationsActionExecute(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
8393
8396
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';}// verify the required parameter 'body' is set
8394
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8397
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8395
8398
  * Test the execution of an action. Responses will show execution steps broken out with intermediate results to help in debugging.
8396
8399
  *
8397
8400
  * @param {String} actionId actionId
8398
8401
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
8399
- */},{key:"postIntegrationsActionTest",value:function postIntegrationsActionTest(actionId,body){// verify the required parameter 'actionId' is set
8402
+ * @param {Object} opts Optional parameters
8403
+ * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
8404
+ */},{key:"postIntegrationsActionTest",value:function postIntegrationsActionTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
8400
8405
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';}// verify the required parameter 'body' is set
8401
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8406
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8402
8407
  * Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
8403
8408
  *
8404
8409
  * @param {Object} body Input used to create Action.
@@ -8490,7 +8495,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8490
8495
  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(){/**
8491
8496
  * Journey service.
8492
8497
  * @module purecloud-platform-client-v2/api/JourneyApi
8493
- * @version 207.0.0
8498
+ * @version 208.0.0
8494
8499
  *//**
8495
8500
  * Constructs a new JourneyApi.
8496
8501
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8530,6 +8535,11 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
8530
8535
  * @param {String} viewId viewId
8531
8536
  */},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
8532
8537
  if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8538
+ * Delete the Schedule of a JourneyView
8539
+ * used for long descriptions
8540
+ * @param {String} viewId Journey View Id
8541
+ */},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
8542
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8533
8543
  * Get status for async query for journey aggregates
8534
8544
  *
8535
8545
  * @param {String} jobId jobId
@@ -8695,6 +8705,11 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
8695
8705
  * @param {String} viewId viewId
8696
8706
  */},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
8697
8707
  if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8708
+ * Get the Schedule for a JourneyView
8709
+ * used for long descriptions
8710
+ * @param {String} viewId Journey View Id
8711
+ */},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
8712
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8698
8713
  * Get a Journey View by ID and version
8699
8714
  *
8700
8715
  * @param {String} viewId viewId
@@ -8783,6 +8798,12 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
8783
8798
  * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
8784
8799
  * @param {String} opts.statuses Job statuses to filter for
8785
8800
  */},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8801
+ * Get the journey schedules for an organization.
8802
+ *
8803
+ * @param {Object} opts Optional parameters
8804
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
8805
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
8806
+ */},{key:"getJourneyViewsSchedules",value:function getJourneyViewsSchedules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/schedules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8786
8807
  * Update single action map.
8787
8808
  *
8788
8809
  * @param {String} actionMapId ID of the action map.
@@ -8902,6 +8923,13 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
8902
8923
  * @param {Object} opts Optional parameters
8903
8924
  * @param {Object} opts.body
8904
8925
  */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8926
+ * Add a new Schedule to a JourneyView
8927
+ *
8928
+ * @param {String} viewId Journey View Id
8929
+ * @param {Object} body journeyViewSchedule
8930
+ */},{key:"postJourneyViewSchedules",value:function postJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
8931
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
8932
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8905
8933
  * Submit a job request for a journey view version.
8906
8934
  * used for long descriptions
8907
8935
  * @param {String} viewId Journey View Id
@@ -8926,6 +8954,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8926
8954
  * @param {Object} opts Optional parameters
8927
8955
  * @param {Array.<Object>} opts.body
8928
8956
  */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8957
+ * Update the Schedule for a JourneyView
8958
+ * used for long descriptions
8959
+ * @param {String} viewId Journey View Id
8960
+ * @param {Object} body journeyViewSchedule
8961
+ */},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
8962
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling putJourneyViewSchedules';}// verify the required parameter 'body' is set
8963
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','PUT',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8929
8964
  * Update a Journey View by ID and version
8930
8965
  * does not create a new version
8931
8966
  * @param {String} viewId viewId
@@ -8937,7 +8972,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
8937
8972
  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(){/**
8938
8973
  * Knowledge service.
8939
8974
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8940
- * @version 207.0.0
8975
+ * @version 208.0.0
8941
8976
  *//**
8942
8977
  * Constructs a new KnowledgeApi.
8943
8978
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -9152,10 +9187,11 @@ if(feedbackId===undefined||feedbackId===null){throw'Missing the required paramet
9152
9187
  * @param {String} knowledgeBaseId Globally unique identifier for a knowledge base.
9153
9188
  * @param {Object} opts Optional parameters
9154
9189
  * @param {Object} opts.documentState The state of the document.
9190
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
9155
9191
  */},{key:"getKnowledgeKnowledgebaseDocumentVariation",value:function getKnowledgeKnowledgebaseDocumentVariation(documentVariationId,documentId,knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'documentVariationId' is set
9156
9192
  if(documentVariationId===undefined||documentVariationId===null){throw'Missing the required parameter "documentVariationId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'documentId' is set
9157
9193
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'knowledgeBaseId' is set
9158
- if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9194
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9159
9195
  * Get variations for a document.
9160
9196
  *
9161
9197
  * @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
@@ -9165,9 +9201,10 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
9165
9201
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9166
9202
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
9167
9203
  * @param {Object} opts.documentState The state of the document.
9204
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
9168
9205
  */},{key:"getKnowledgeKnowledgebaseDocumentVariations",value:function getKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
9169
9206
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariations';}// verify the required parameter 'documentId' is set
9170
- if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9207
+ if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9171
9208
  * Get document version.
9172
9209
  *
9173
9210
  * @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
@@ -10003,7 +10040,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
10003
10040
  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(){/**
10004
10041
  * LanguageUnderstanding service.
10005
10042
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
10006
- * @version 207.0.0
10043
+ * @version 208.0.0
10007
10044
  *//**
10008
10045
  * Constructs a new LanguageUnderstandingApi.
10009
10046
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -10263,7 +10300,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
10263
10300
  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(){/**
10264
10301
  * Languages service.
10265
10302
  * @module purecloud-platform-client-v2/api/LanguagesApi
10266
- * @version 207.0.0
10303
+ * @version 208.0.0
10267
10304
  *//**
10268
10305
  * Constructs a new LanguagesApi.
10269
10306
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -10318,7 +10355,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10318
10355
  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(){/**
10319
10356
  * Learning service.
10320
10357
  * @module purecloud-platform-client-v2/api/LearningApi
10321
- * @version 207.0.0
10358
+ * @version 208.0.0
10322
10359
  *//**
10323
10360
  * Constructs a new LearningApi.
10324
10361
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -10589,7 +10626,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
10589
10626
  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(){/**
10590
10627
  * License service.
10591
10628
  * @module purecloud-platform-client-v2/api/LicenseApi
10592
- * @version 207.0.0
10629
+ * @version 208.0.0
10593
10630
  *//**
10594
10631
  * Constructs a new LicenseApi.
10595
10632
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -10643,7 +10680,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
10643
10680
  */},{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(){/**
10644
10681
  * Locations service.
10645
10682
  * @module purecloud-platform-client-v2/api/LocationsApi
10646
- * @version 207.0.0
10683
+ * @version 208.0.0
10647
10684
  *//**
10648
10685
  * Constructs a new LocationsApi.
10649
10686
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -10702,7 +10739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10702
10739
  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(){/**
10703
10740
  * LogCapture service.
10704
10741
  * @module purecloud-platform-client-v2/api/LogCaptureApi
10705
- * @version 207.0.0
10742
+ * @version 208.0.0
10706
10743
  *//**
10707
10744
  * Constructs a new LogCaptureApi.
10708
10745
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -10752,7 +10789,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10752
10789
  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(){/**
10753
10790
  * Messaging service.
10754
10791
  * @module purecloud-platform-client-v2/api/MessagingApi
10755
- * @version 207.0.0
10792
+ * @version 208.0.0
10756
10793
  *//**
10757
10794
  * Constructs a new MessagingApi.
10758
10795
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10842,7 +10879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10842
10879
  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(){/**
10843
10880
  * MobileDevices service.
10844
10881
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10845
- * @version 207.0.0
10882
+ * @version 208.0.0
10846
10883
  *//**
10847
10884
  * Constructs a new MobileDevicesApi.
10848
10885
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10881,7 +10918,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10881
10918
  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(){/**
10882
10919
  * Notifications service.
10883
10920
  * @module purecloud-platform-client-v2/api/NotificationsApi
10884
- * @version 207.0.0
10921
+ * @version 208.0.0
10885
10922
  *//**
10886
10923
  * Constructs a new NotificationsApi.
10887
10924
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10938,7 +10975,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
10938
10975
  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(){/**
10939
10976
  * OAuth service.
10940
10977
  * @module purecloud-platform-client-v2/api/OAuthApi
10941
- * @version 207.0.0
10978
+ * @version 208.0.0
10942
10979
  *//**
10943
10980
  * Constructs a new OAuthApi.
10944
10981
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -11023,7 +11060,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
11023
11060
  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(){/**
11024
11061
  * Objects service.
11025
11062
  * @module purecloud-platform-client-v2/api/ObjectsApi
11026
- * @version 207.0.0
11063
+ * @version 208.0.0
11027
11064
  *//**
11028
11065
  * Constructs a new ObjectsApi.
11029
11066
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -11094,7 +11131,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
11094
11131
  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(){/**
11095
11132
  * OperationalEvents service.
11096
11133
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
11097
- * @version 207.0.0
11134
+ * @version 208.0.0
11098
11135
  *//**
11099
11136
  * Constructs a new OperationalEventsApi.
11100
11137
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -11112,7 +11149,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
11112
11149
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
11113
11150
  * Organization service.
11114
11151
  * @module purecloud-platform-client-v2/api/OrganizationApi
11115
- * @version 207.0.0
11152
+ * @version 208.0.0
11116
11153
  *//**
11117
11154
  * Constructs a new OrganizationApi.
11118
11155
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -11237,7 +11274,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11237
11274
  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(){/**
11238
11275
  * OrganizationAuthorization service.
11239
11276
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
11240
- * @version 207.0.0
11277
+ * @version 208.0.0
11241
11278
  *//**
11242
11279
  * Constructs a new OrganizationAuthorizationApi.
11243
11280
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -11571,7 +11608,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
11571
11608
  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(){/**
11572
11609
  * Outbound service.
11573
11610
  * @module purecloud-platform-client-v2/api/OutboundApi
11574
- * @version 207.0.0
11611
+ * @version 208.0.0
11575
11612
  *//**
11576
11613
  * Constructs a new OutboundApi.
11577
11614
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -12678,7 +12715,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12678
12715
  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(){/**
12679
12716
  * Presence service.
12680
12717
  * @module purecloud-platform-client-v2/api/PresenceApi
12681
- * @version 207.0.0
12718
+ * @version 208.0.0
12682
12719
  *//**
12683
12720
  * Constructs a new PresenceApi.
12684
12721
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -12851,7 +12888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12851
12888
  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(){/**
12852
12889
  * ProcessAutomation service.
12853
12890
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
12854
- * @version 207.0.0
12891
+ * @version 208.0.0
12855
12892
  *//**
12856
12893
  * Constructs a new ProcessAutomationApi.
12857
12894
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -12914,7 +12951,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
12914
12951
  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(){/**
12915
12952
  * Quality service.
12916
12953
  * @module purecloud-platform-client-v2/api/QualityApi
12917
- * @version 207.0.0
12954
+ * @version 208.0.0
12918
12955
  *//**
12919
12956
  * Constructs a new QualityApi.
12920
12957
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -13391,7 +13428,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
13391
13428
  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(){/**
13392
13429
  * Recording service.
13393
13430
  * @module purecloud-platform-client-v2/api/RecordingApi
13394
- * @version 207.0.0
13431
+ * @version 208.0.0
13395
13432
  *//**
13396
13433
  * Constructs a new RecordingApi.
13397
13434
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13803,7 +13840,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13803
13840
  */},{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(){/**
13804
13841
  * ResponseManagement service.
13805
13842
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
13806
- * @version 207.0.0
13843
+ * @version 208.0.0
13807
13844
  *//**
13808
13845
  * Constructs a new ResponseManagementApi.
13809
13846
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -13924,7 +13961,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
13924
13961
  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(){/**
13925
13962
  * Routing service.
13926
13963
  * @module purecloud-platform-client-v2/api/RoutingApi
13927
- * @version 207.0.0
13964
+ * @version 208.0.0
13928
13965
  *//**
13929
13966
  * Constructs a new RoutingApi.
13930
13967
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -14052,14 +14089,14 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
14052
14089
  * @param {String} codeId Wrapup Code ID
14053
14090
  */},{key:"deleteRoutingWrapupcode",value:function deleteRoutingWrapupcode(codeId){// verify the required parameter 'codeId' is set
14054
14091
  if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','DELETE',{'codeId':codeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14055
- * Remove routing language from user
14092
+ * Remove a routing language from a user
14056
14093
  *
14057
14094
  * @param {String} userId User ID
14058
14095
  * @param {String} languageId languageId
14059
14096
  */},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
14060
14097
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
14061
14098
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14062
- * Remove routing skill from user
14099
+ * Remove a routing skill from a user
14063
14100
  *
14064
14101
  * @param {String} userId User ID
14065
14102
  * @param {String} skillId skillId
@@ -14519,7 +14556,7 @@ if(codeId===undefined||codeId===null){throw'Missing the required parameter "code
14519
14556
  * @param {Array.<String>} opts.divisionId Division ID(s)
14520
14557
  */},{key:"getUserQueues",value:function getUserQueues(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
14521
14558
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'joined':opts['joined'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14522
- * List routing language for user
14559
+ * List routing languages assigned to a user
14523
14560
  *
14524
14561
  * @param {String} userId User ID
14525
14562
  * @param {Object} opts Optional parameters
@@ -14528,7 +14565,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14528
14565
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
14529
14566
  */},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
14530
14567
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14531
- * List routing skills for user
14568
+ * List routing skills assigned to a user
14532
14569
  *
14533
14570
  * @param {String} userId User ID
14534
14571
  * @param {Object} opts Optional parameters
@@ -14643,7 +14680,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14643
14680
  */},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
14644
14681
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
14645
14682
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14646
- * Update routing language proficiency or state.
14683
+ * Update an assigned routing language's proficiency
14647
14684
  *
14648
14685
  * @param {String} userId User ID
14649
14686
  * @param {String} languageId languageId
@@ -14652,14 +14689,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14652
14689
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
14653
14690
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
14654
14691
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14655
- * Add bulk routing language to user. Max limit 50 languages
14692
+ * Assign multiple routing languages to a user. Max 50 routing languages in request body
14656
14693
  *
14657
14694
  * @param {String} userId User ID
14658
14695
  * @param {Array.<Object>} body Language
14659
14696
  */},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
14660
14697
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
14661
14698
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14662
- * Bulk add routing skills to user
14699
+ * Assign multiple routing skills to a user
14663
14700
  *
14664
14701
  * @param {String} userId User ID
14665
14702
  * @param {Array.<Object>} body Skill
@@ -14813,14 +14850,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14813
14850
  * @param {Object} body WrapupCode
14814
14851
  */},{key:"postRoutingWrapupcodes",value:function postRoutingWrapupcodes(body){// verify the required parameter 'body' is set
14815
14852
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14816
- * Add routing language to user
14853
+ * Assign a routing language to a user
14817
14854
  *
14818
14855
  * @param {String} userId User ID
14819
14856
  * @param {Object} body Language
14820
14857
  */},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
14821
14858
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
14822
14859
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14823
- * Add routing skill to user
14860
+ * Assign a routing skill to a user
14824
14861
  *
14825
14862
  * @param {String} userId User ID
14826
14863
  * @param {Object} body Skill
@@ -14910,7 +14947,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14910
14947
  */},{key:"putRoutingWrapupcode",value:function putRoutingWrapupcode(codeId,body){// verify the required parameter 'codeId' is set
14911
14948
  if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling putRoutingWrapupcode';}// verify the required parameter 'body' is set
14912
14949
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','PUT',{'codeId':codeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14913
- * Update routing skill proficiency or state.
14950
+ * Update an assigned routing skill's proficiency
14914
14951
  *
14915
14952
  * @param {String} userId User ID
14916
14953
  * @param {String} skillId skillId
@@ -14919,7 +14956,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14919
14956
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
14920
14957
  if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
14921
14958
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14922
- * Replace all routing skills assigned to a user
14959
+ * Assign multiple routing skills to a user, replacing any current assignments
14923
14960
  *
14924
14961
  * @param {String} userId User ID
14925
14962
  * @param {Array.<Object>} body Skill
@@ -14928,7 +14965,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14928
14965
  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(){/**
14929
14966
  * SCIM service.
14930
14967
  * @module purecloud-platform-client-v2/api/SCIMApi
14931
- * @version 207.0.0
14968
+ * @version 208.0.0
14932
14969
  *//**
14933
14970
  * Constructs a new SCIMApi.
14934
14971
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -15153,7 +15190,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15153
15190
  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(){/**
15154
15191
  * ScreenRecording service.
15155
15192
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
15156
- * @version 207.0.0
15193
+ * @version 208.0.0
15157
15194
  *//**
15158
15195
  * Constructs a new ScreenRecordingApi.
15159
15196
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -15168,7 +15205,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15168
15205
  */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(){/**
15169
15206
  * Scripts service.
15170
15207
  * @module purecloud-platform-client-v2/api/ScriptsApi
15171
- * @version 207.0.0
15208
+ * @version 208.0.0
15172
15209
  *//**
15173
15210
  * Constructs a new ScriptsApi.
15174
15211
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -15304,7 +15341,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
15304
15341
  */},{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(){/**
15305
15342
  * Search service.
15306
15343
  * @module purecloud-platform-client-v2/api/SearchApi
15307
- * @version 207.0.0
15344
+ * @version 208.0.0
15308
15345
  *//**
15309
15346
  * Constructs a new SearchApi.
15310
15347
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -15352,6 +15389,13 @@ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when
15352
15389
  * @param {Boolean} opts.profile profile (default to true)
15353
15390
  */},{key:"getSearchSuggest",value:function getSearchSuggest(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
15354
15391
  if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'profile':opts['profile']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15392
+ * Search sites using the q64 value returned from a previous search
15393
+ *
15394
+ * @param {String} q64 q64
15395
+ * @param {Object} opts Optional parameters
15396
+ * @param {Array.<String>} opts.expand expand
15397
+ */},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
15398
+ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15355
15399
  * Search users using the q64 value returned from a previous search
15356
15400
  *
15357
15401
  * @param {String} q64 q64
@@ -15435,6 +15479,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15435
15479
  * @param {Object} body Search request options
15436
15480
  */},{key:"postTeamsSearch",value:function postTeamsSearch(body){// verify the required parameter 'body' is set
15437
15481
  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']);}/**
15482
+ * Search sites
15483
+ *
15484
+ * @param {Object} body Search request options
15485
+ */},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
15486
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15438
15487
  * Search users
15439
15488
  *
15440
15489
  * @param {Object} body Search request options
@@ -15464,7 +15513,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15464
15513
  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(){/**
15465
15514
  * Settings service.
15466
15515
  * @module purecloud-platform-client-v2/api/SettingsApi
15467
- * @version 207.0.0
15516
+ * @version 208.0.0
15468
15517
  *//**
15469
15518
  * Constructs a new SettingsApi.
15470
15519
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -15514,7 +15563,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
15514
15563
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
15515
15564
  * SpeechTextAnalytics service.
15516
15565
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
15517
- * @version 207.0.0
15566
+ * @version 208.0.0
15518
15567
  *//**
15519
15568
  * Constructs a new SpeechTextAnalyticsApi.
15520
15569
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -15699,13 +15748,13 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
15699
15748
  * @param {String} jobId The id of the publish topics job
15700
15749
  */},{key:"getSpeechandtextanalyticsTopicsPublishjob",value:function getSpeechandtextanalyticsTopicsPublishjob(jobId){// verify the required parameter 'jobId' is set
15701
15750
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15702
- * Translate all communication(s) for an interaction.
15751
+ * Translate a single interaction recording (or an email conversation)
15703
15752
  *
15704
15753
  * @param {String} languageId Target translation language
15705
15754
  * @param {String} conversationId Conversation id
15706
15755
  * @param {Object} opts Optional parameters
15707
- * @param {String} opts.communicationId Communication id associated with the conversation
15708
- * @param {String} opts.recordingId Recording id associated with the communication
15756
+ * @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
15757
+ * @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
15709
15758
  * getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15710
15759
  */},{key:"getSpeechandtextanalyticsTranslationsLanguageConversation",value:function getSpeechandtextanalyticsTranslationsLanguageConversation(languageId,conversationId,opts){opts=opts||{};// verify the required parameter 'languageId' is set
15711
15760
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}// verify the required parameter 'conversationId' is set
@@ -15813,7 +15862,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
15813
15862
  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(){/**
15814
15863
  * Stations service.
15815
15864
  * @module purecloud-platform-client-v2/api/StationsApi
15816
- * @version 207.0.0
15865
+ * @version 208.0.0
15817
15866
  *//**
15818
15867
  * Constructs a new StationsApi.
15819
15868
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -15845,7 +15894,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
15845
15894
  */},{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(){/**
15846
15895
  * Suggest service.
15847
15896
  * @module purecloud-platform-client-v2/api/SuggestApi
15848
- * @version 207.0.0
15897
+ * @version 208.0.0
15849
15898
  *//**
15850
15899
  * Constructs a new SuggestApi.
15851
15900
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -15885,7 +15934,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15885
15934
  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(){/**
15886
15935
  * TaskManagement service.
15887
15936
  * @module purecloud-platform-client-v2/api/TaskManagementApi
15888
- * @version 207.0.0
15937
+ * @version 208.0.0
15889
15938
  *//**
15890
15939
  * Constructs a new TaskManagementApi.
15891
15940
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -16291,7 +16340,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
16291
16340
  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(){/**
16292
16341
  * Teams service.
16293
16342
  * @module purecloud-platform-client-v2/api/TeamsApi
16294
- * @version 207.0.0
16343
+ * @version 208.0.0
16295
16344
  *//**
16296
16345
  * Constructs a new TeamsApi.
16297
16346
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -16371,7 +16420,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16371
16420
  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(){/**
16372
16421
  * Telephony service.
16373
16422
  * @module purecloud-platform-client-v2/api/TelephonyApi
16374
- * @version 207.0.0
16423
+ * @version 208.0.0
16375
16424
  *//**
16376
16425
  * Constructs a new TelephonyApi.
16377
16426
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -16418,7 +16467,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
16418
16467
  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(){/**
16419
16468
  * TelephonyProvidersEdge service.
16420
16469
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
16421
- * @version 207.0.0
16470
+ * @version 208.0.0
16422
16471
  *//**
16423
16472
  * Constructs a new TelephonyProvidersEdgeApi.
16424
16473
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -16910,6 +16959,13 @@ if(siteId===undefined||siteId===null){throw'Missing the required parameter "site
16910
16959
  * @param {Boolean} opts.managed Filter by managed
16911
16960
  * @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
16912
16961
  */},{key:"getTelephonyProvidersEdgesSites",value:function getTelephonyProvidersEdgesSites(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'location.id':opts['locationId'],'managed':opts['managed'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16962
+ * Search sites using the q64 value returned from a previous search
16963
+ *
16964
+ * @param {String} q64 q64
16965
+ * @param {Object} opts Optional parameters
16966
+ * @param {Array.<String>} opts.expand expand
16967
+ */},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
16968
+ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16913
16969
  * Get a list of Edge-compatible time zones
16914
16970
  *
16915
16971
  * @param {Object} opts Optional parameters
@@ -17125,6 +17181,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17125
17181
  * @param {Object} body Site
17126
17182
  */},{key:"postTelephonyProvidersEdgesSites",value:function postTelephonyProvidersEdgesSites(body){// verify the required parameter 'body' is set
17127
17183
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17184
+ * Search sites
17185
+ *
17186
+ * @param {Object} body Search request options
17187
+ */},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
17188
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17128
17189
  * Create a Trunk Base Settings object
17129
17190
  *
17130
17191
  * @param {Object} body Trunk base settings
@@ -17241,7 +17302,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
17241
17302
  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(){/**
17242
17303
  * Textbots service.
17243
17304
  * @module purecloud-platform-client-v2/api/TextbotsApi
17244
- * @version 207.0.0
17305
+ * @version 208.0.0
17245
17306
  *//**
17246
17307
  * Constructs a new TextbotsApi.
17247
17308
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -17276,7 +17337,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
17276
17337
  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(){/**
17277
17338
  * Tokens service.
17278
17339
  * @module purecloud-platform-client-v2/api/TokensApi
17279
- * @version 207.0.0
17340
+ * @version 208.0.0
17280
17341
  *//**
17281
17342
  * Constructs a new TokensApi.
17282
17343
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -17310,7 +17371,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17310
17371
  */},{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(){/**
17311
17372
  * Uploads service.
17312
17373
  * @module purecloud-platform-client-v2/api/UploadsApi
17313
- * @version 207.0.0
17374
+ * @version 208.0.0
17314
17375
  *//**
17315
17376
  * Constructs a new UploadsApi.
17316
17377
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -17376,7 +17437,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17376
17437
  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(){/**
17377
17438
  * Usage service.
17378
17439
  * @module purecloud-platform-client-v2/api/UsageApi
17379
- * @version 207.0.0
17440
+ * @version 208.0.0
17380
17441
  *//**
17381
17442
  * Constructs a new UsageApi.
17382
17443
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -17430,7 +17491,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17430
17491
  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(){/**
17431
17492
  * UserRecordings service.
17432
17493
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
17433
- * @version 207.0.0
17494
+ * @version 208.0.0
17434
17495
  *//**
17435
17496
  * Constructs a new UserRecordingsApi.
17436
17497
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -17487,7 +17548,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
17487
17548
  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(){/**
17488
17549
  * Users service.
17489
17550
  * @module purecloud-platform-client-v2/api/UsersApi
17490
- * @version 207.0.0
17551
+ * @version 208.0.0
17491
17552
  *//**
17492
17553
  * Constructs a new UsersApi.
17493
17554
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -17527,14 +17588,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17527
17588
  * @param {String} userId User ID
17528
17589
  */},{key:"deleteUser",value:function deleteUser(userId){// verify the required parameter 'userId' is set
17529
17590
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUser';}return this.apiClient.callApi('/api/v2/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17530
- * Remove routing language from user
17591
+ * Remove a routing language from a user
17531
17592
  *
17532
17593
  * @param {String} userId User ID
17533
17594
  * @param {String} languageId languageId
17534
17595
  */},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
17535
17596
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
17536
17597
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17537
- * Remove routing skill from user
17598
+ * Remove a routing skill from a user
17538
17599
  *
17539
17600
  * @param {String} userId User ID
17540
17601
  * @param {String} skillId skillId
@@ -17738,7 +17799,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17738
17799
  * @param {String} subjectId User ID
17739
17800
  */},{key:"getUserRoles",value:function getUserRoles(subjectId){// verify the required parameter 'subjectId' is set
17740
17801
  if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling getUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','GET',{'subjectId':subjectId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17741
- * List routing language for user
17802
+ * List routing languages assigned to a user
17742
17803
  *
17743
17804
  * @param {String} userId User ID
17744
17805
  * @param {Object} opts Optional parameters
@@ -17747,7 +17808,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
17747
17808
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
17748
17809
  */},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
17749
17810
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17750
- * List routing skills for user
17811
+ * List routing skills assigned to a user
17751
17812
  *
17752
17813
  * @param {String} userId User ID
17753
17814
  * @param {Object} opts Optional parameters
@@ -17912,7 +17973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17912
17973
  */},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
17913
17974
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
17914
17975
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17915
- * Update routing language proficiency or state.
17976
+ * Update an assigned routing language's proficiency
17916
17977
  *
17917
17978
  * @param {String} userId User ID
17918
17979
  * @param {String} languageId languageId
@@ -17921,14 +17982,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17921
17982
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
17922
17983
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
17923
17984
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17924
- * Add bulk routing language to user. Max limit 50 languages
17985
+ * Assign multiple routing languages to a user. Max 50 routing languages in request body
17925
17986
  *
17926
17987
  * @param {String} userId User ID
17927
17988
  * @param {Array.<Object>} body Language
17928
17989
  */},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
17929
17990
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
17930
17991
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17931
- * Bulk add routing skills to user
17992
+ * Assign multiple routing skills to a user
17932
17993
  *
17933
17994
  * @param {String} userId User ID
17934
17995
  * @param {Array.<Object>} body Skill
@@ -18031,14 +18092,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18031
18092
  */},{key:"postUserPassword",value:function postUserPassword(userId,body){// verify the required parameter 'userId' is set
18032
18093
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserPassword';}// verify the required parameter 'body' is set
18033
18094
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserPassword';}return this.apiClient.callApi('/api/v2/users/{userId}/password','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18034
- * Add routing language to user
18095
+ * Assign a routing language to a user
18035
18096
  *
18036
18097
  * @param {String} userId User ID
18037
18098
  * @param {Object} body Language
18038
18099
  */},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
18039
18100
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
18040
18101
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18041
- * Add routing skill to user
18102
+ * Assign a routing skill to a user
18042
18103
  *
18043
18104
  * @param {String} userId User ID
18044
18105
  * @param {Object} body Skill
@@ -18129,7 +18190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18129
18190
  */},{key:"putUserRoles",value:function putUserRoles(subjectId,body){// verify the required parameter 'subjectId' is set
18130
18191
  if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling putUserRoles';}// verify the required parameter 'body' is set
18131
18192
  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']);}/**
18132
- * Update routing skill proficiency or state.
18193
+ * Update an assigned routing skill's proficiency
18133
18194
  *
18134
18195
  * @param {String} userId User ID
18135
18196
  * @param {String} skillId skillId
@@ -18138,7 +18199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18138
18199
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
18139
18200
  if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
18140
18201
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18141
- * Replace all routing skills assigned to a user
18202
+ * Assign multiple routing skills to a user, replacing any current assignments
18142
18203
  *
18143
18204
  * @param {String} userId User ID
18144
18205
  * @param {Array.<Object>} body Skill
@@ -18184,7 +18245,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
18184
18245
  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(){/**
18185
18246
  * Utilities service.
18186
18247
  * @module purecloud-platform-client-v2/api/UtilitiesApi
18187
- * @version 207.0.0
18248
+ * @version 208.0.0
18188
18249
  *//**
18189
18250
  * Constructs a new UtilitiesApi.
18190
18251
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -18211,7 +18272,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18211
18272
  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(){/**
18212
18273
  * Voicemail service.
18213
18274
  * @module purecloud-platform-client-v2/api/VoicemailApi
18214
- * @version 207.0.0
18275
+ * @version 208.0.0
18215
18276
  *//**
18216
18277
  * Constructs a new VoicemailApi.
18217
18278
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -18373,7 +18434,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18373
18434
  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(){/**
18374
18435
  * WebChat service.
18375
18436
  * @module purecloud-platform-client-v2/api/WebChatApi
18376
- * @version 207.0.0
18437
+ * @version 208.0.0
18377
18438
  *//**
18378
18439
  * Constructs a new WebChatApi.
18379
18440
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -18508,7 +18569,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18508
18569
  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(){/**
18509
18570
  * WebDeployments service.
18510
18571
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
18511
- * @version 207.0.0
18572
+ * @version 208.0.0
18512
18573
  *//**
18513
18574
  * Constructs a new WebDeploymentsApi.
18514
18575
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -18629,7 +18690,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
18629
18690
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
18630
18691
  * WebMessaging service.
18631
18692
  * @module purecloud-platform-client-v2/api/WebMessagingApi
18632
- * @version 207.0.0
18693
+ * @version 208.0.0
18633
18694
  *//**
18634
18695
  * Constructs a new WebMessagingApi.
18635
18696
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -18645,7 +18706,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
18645
18706
  */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(){/**
18646
18707
  * Widgets service.
18647
18708
  * @module purecloud-platform-client-v2/api/WidgetsApi
18648
- * @version 207.0.0
18709
+ * @version 208.0.0
18649
18710
  *//**
18650
18711
  * Constructs a new WidgetsApi.
18651
18712
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -18680,7 +18741,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
18680
18741
  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(){/**
18681
18742
  * WorkforceManagement service.
18682
18743
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
18683
- * @version 207.0.0
18744
+ * @version 208.0.0
18684
18745
  *//**
18685
18746
  * Constructs a new WorkforceManagementApi.
18686
18747
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -20461,7 +20522,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
20461
20522
  * </pre>
20462
20523
  * </p>
20463
20524
  * @module purecloud-platform-client-v2/index
20464
- * @version 207.0.0
20525
+ * @version 208.0.0
20465
20526
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
20466
20527
  * The ApiClient constructor.
20467
20528
  * @property {module:purecloud-platform-client-v2/ApiClient}