purecloud-platform-client-v2 255.0.0 → 256.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.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +693 -93
- package/dist/web-amd/purecloud-platform-client-v2.js +693 -93
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +254 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +254 -94
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +362 -30
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +35 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +151 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +2 -4
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenMonitoringApi.js +381 -0
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +37 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1082,7 +1082,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
1082
1082
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
1083
1083
|
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];}}}]);}();/**
|
|
1084
1084
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1085
|
-
* @version
|
|
1085
|
+
* @version 256.0.0
|
|
1086
1086
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
1087
1087
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
1088
1088
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1451,7 +1451,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1451
1451
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
|
|
1452
1452
|
* AIStudio service.
|
|
1453
1453
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1454
|
-
* @version
|
|
1454
|
+
* @version 256.0.0
|
|
1455
1455
|
*//**
|
|
1456
1456
|
* Constructs a new AIStudioApi.
|
|
1457
1457
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1642,7 +1642,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1642
1642
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1643
1643
|
* AgentAssistants service.
|
|
1644
1644
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1645
|
-
* @version
|
|
1645
|
+
* @version 256.0.0
|
|
1646
1646
|
*//**
|
|
1647
1647
|
* Constructs a new AgentAssistantsApi.
|
|
1648
1648
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1868,7 +1868,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1868
1868
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1869
1869
|
* AgentCopilot service.
|
|
1870
1870
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1871
|
-
* @version
|
|
1871
|
+
* @version 256.0.0
|
|
1872
1872
|
*//**
|
|
1873
1873
|
* Constructs a new AgentCopilotApi.
|
|
1874
1874
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1900,7 +1900,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1900
1900
|
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'],opts['customHeaders']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1901
1901
|
* AgentUI service.
|
|
1902
1902
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1903
|
-
* @version
|
|
1903
|
+
* @version 256.0.0
|
|
1904
1904
|
*//**
|
|
1905
1905
|
* Constructs a new AgentUIApi.
|
|
1906
1906
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1942,7 +1942,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1942
1942
|
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'],opts['customHeaders']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1943
1943
|
* Alerting service.
|
|
1944
1944
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1945
|
-
* @version
|
|
1945
|
+
* @version 256.0.0
|
|
1946
1946
|
*//**
|
|
1947
1947
|
* Constructs a new AlertingApi.
|
|
1948
1948
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -2056,7 +2056,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
2056
2056
|
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'],opts['customHeaders']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
2057
2057
|
* Analytics service.
|
|
2058
2058
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2059
|
-
* @version
|
|
2059
|
+
* @version 256.0.0
|
|
2060
2060
|
*//**
|
|
2061
2061
|
* Constructs a new AnalyticsApi.
|
|
2062
2062
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -3117,7 +3117,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3117
3117
|
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'],opts['customHeaders']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
3118
3118
|
* Architect service.
|
|
3119
3119
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3120
|
-
* @version
|
|
3120
|
+
* @version 256.0.0
|
|
3121
3121
|
*//**
|
|
3122
3122
|
* Constructs a new ArchitectApi.
|
|
3123
3123
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3957,6 +3957,17 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
3957
3957
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3958
3958
|
*/},{key:"getFlowsJob",value:function getFlowsJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
3959
3959
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getFlowsJob';}return this.apiClient.callApi('/api/v2/flows/jobs/{jobId}','GET',{'jobId':jobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3960
|
+
* Look up flows by ID
|
|
3961
|
+
* Returns only flows matching the specified ID(s). Returns an empty listing if no flows match the given IDs.
|
|
3962
|
+
* @param {Array.<String>} id Flow ID(s)
|
|
3963
|
+
* @param {Object} opts Optional parameters
|
|
3964
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
3965
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
3966
|
+
* @param {String} opts.sortBy Sort by (default to id)
|
|
3967
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
3968
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3969
|
+
*/},{key:"getFlowsLookup",value:function getFlowsLookup(id,opts){opts=opts||{};// verify the required parameter 'id' is set
|
|
3970
|
+
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling getFlowsLookup';}return this.apiClient.callApi('/api/v2/flows/lookup','GET',{},{'id':this.apiClient.buildCollectionParam(id,'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3960
3971
|
* Get a flow milestone
|
|
3961
3972
|
* Returns a specified flow milestone
|
|
3962
3973
|
* @param {String} milestoneId flow milestone ID
|
|
@@ -4504,7 +4515,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
4504
4515
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
4505
4516
|
* AssistantCopilotVariations service.
|
|
4506
4517
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
4507
|
-
* @version
|
|
4518
|
+
* @version 256.0.0
|
|
4508
4519
|
*//**
|
|
4509
4520
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
4510
4521
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -4559,7 +4570,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
4559
4570
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
4560
4571
|
* Audit service.
|
|
4561
4572
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
4562
|
-
* @version
|
|
4573
|
+
* @version 256.0.0
|
|
4563
4574
|
*//**
|
|
4564
4575
|
* Constructs a new AuditApi.
|
|
4565
4576
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -4620,7 +4631,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4620
4631
|
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'],opts['customHeaders']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
4621
4632
|
* Authorization service.
|
|
4622
4633
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
4623
|
-
* @version
|
|
4634
|
+
* @version 256.0.0
|
|
4624
4635
|
*//**
|
|
4625
4636
|
* Constructs a new AuthorizationApi.
|
|
4626
4637
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -5138,7 +5149,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
5138
5149
|
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'],opts['customHeaders']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
5139
5150
|
* BackgroundAssistant service.
|
|
5140
5151
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
5141
|
-
* @version
|
|
5152
|
+
* @version 256.0.0
|
|
5142
5153
|
*//**
|
|
5143
5154
|
* Constructs a new BackgroundAssistantApi.
|
|
5144
5155
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -5161,7 +5172,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5161
5172
|
*/},{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'],opts['customHeaders']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
5162
5173
|
* Billing service.
|
|
5163
5174
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
5164
|
-
* @version
|
|
5175
|
+
* @version 256.0.0
|
|
5165
5176
|
*//**
|
|
5166
5177
|
* Constructs a new BillingApi.
|
|
5167
5178
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -5250,7 +5261,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
5250
5261
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
5251
5262
|
* BusinessRules service.
|
|
5252
5263
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
5253
|
-
* @version
|
|
5264
|
+
* @version 256.0.0
|
|
5254
5265
|
*//**
|
|
5255
5266
|
* Constructs a new BusinessRulesApi.
|
|
5256
5267
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -5639,7 +5650,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
5639
5650
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
5640
5651
|
* CarrierServices service.
|
|
5641
5652
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
5642
|
-
* @version
|
|
5653
|
+
* @version 256.0.0
|
|
5643
5654
|
*//**
|
|
5644
5655
|
* Constructs a new CarrierServicesApi.
|
|
5645
5656
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -5662,7 +5673,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
5662
5673
|
*/},{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'],opts['customHeaders']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
|
|
5663
5674
|
* CaseManagement service.
|
|
5664
5675
|
* @module purecloud-platform-client-v2/api/CaseManagementApi
|
|
5665
|
-
* @version
|
|
5676
|
+
* @version 256.0.0
|
|
5666
5677
|
*//**
|
|
5667
5678
|
* Constructs a new CaseManagementApi.
|
|
5668
5679
|
* @alias module:purecloud-platform-client-v2/api/CaseManagementApi
|
|
@@ -6036,7 +6047,7 @@ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the
|
|
|
6036
6047
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings','PUT',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
6037
6048
|
* Chat service.
|
|
6038
6049
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
6039
|
-
* @version
|
|
6050
|
+
* @version 256.0.0
|
|
6040
6051
|
*//**
|
|
6041
6052
|
* Constructs a new ChatApi.
|
|
6042
6053
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -6331,7 +6342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6331
6342
|
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'],opts['customHeaders']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
6332
6343
|
* Coaching service.
|
|
6333
6344
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6334
|
-
* @version
|
|
6345
|
+
* @version 256.0.0
|
|
6335
6346
|
*//**
|
|
6336
6347
|
* Constructs a new CoachingApi.
|
|
6337
6348
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -6530,7 +6541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6530
6541
|
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'],opts['customHeaders']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
6531
6542
|
* ContentManagement service.
|
|
6532
6543
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
6533
|
-
* @version
|
|
6544
|
+
* @version 256.0.0
|
|
6534
6545
|
*//**
|
|
6535
6546
|
* Constructs a new ContentManagementApi.
|
|
6536
6547
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -6862,7 +6873,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
6862
6873
|
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'],opts['customHeaders']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
6863
6874
|
* Conversations service.
|
|
6864
6875
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
6865
|
-
* @version
|
|
6876
|
+
* @version 256.0.0
|
|
6866
6877
|
*//**
|
|
6867
6878
|
* Constructs a new ConversationsApi.
|
|
6868
6879
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9790,7 +9801,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
9790
9801
|
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'],opts['customHeaders']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
9791
9802
|
* DataExtensions service.
|
|
9792
9803
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
9793
|
-
* @version
|
|
9804
|
+
* @version 256.0.0
|
|
9794
9805
|
*//**
|
|
9795
9806
|
* Constructs a new DataExtensionsApi.
|
|
9796
9807
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -9817,7 +9828,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
9817
9828
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
9818
9829
|
* DataPrivacy service.
|
|
9819
9830
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
9820
|
-
* @version
|
|
9831
|
+
* @version 256.0.0
|
|
9821
9832
|
*//**
|
|
9822
9833
|
* Constructs a new DataPrivacyApi.
|
|
9823
9834
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -9868,7 +9879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9868
9879
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
9869
9880
|
* Downloads service.
|
|
9870
9881
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
9871
|
-
* @version
|
|
9882
|
+
* @version 256.0.0
|
|
9872
9883
|
*//**
|
|
9873
9884
|
* Constructs a new DownloadsApi.
|
|
9874
9885
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -9888,7 +9899,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9888
9899
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
9889
9900
|
* Emails service.
|
|
9890
9901
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
9891
|
-
* @version
|
|
9902
|
+
* @version 256.0.0
|
|
9892
9903
|
*//**
|
|
9893
9904
|
* Constructs a new EmailsApi.
|
|
9894
9905
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -9925,7 +9936,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
9925
9936
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
9926
9937
|
* EmployeeEngagement service.
|
|
9927
9938
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
9928
|
-
* @version
|
|
9939
|
+
* @version 256.0.0
|
|
9929
9940
|
*//**
|
|
9930
9941
|
* Constructs a new EmployeeEngagementApi.
|
|
9931
9942
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -9983,7 +9994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9983
9994
|
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'],opts['customHeaders']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
9984
9995
|
* Events service.
|
|
9985
9996
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
9986
|
-
* @version
|
|
9997
|
+
* @version 256.0.0
|
|
9987
9998
|
*//**
|
|
9988
9999
|
* Constructs a new EventsApi.
|
|
9989
10000
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10022,7 +10033,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10022
10033
|
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'],opts['customHeaders']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
10023
10034
|
* ExternalContacts service.
|
|
10024
10035
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10025
|
-
* @version
|
|
10036
|
+
* @version 256.0.0
|
|
10026
10037
|
*//**
|
|
10027
10038
|
* Constructs a new ExternalContactsApi.
|
|
10028
10039
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -10530,6 +10541,26 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10530
10541
|
*/},{key:"patchExternalcontactsContactIdentifiers",value:function patchExternalcontactsContactIdentifiers(contactId,body,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
10531
10542
|
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';}// verify the required parameter 'body' is set
|
|
10532
10543
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/identifiers','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10544
|
+
* Update a Contact Note
|
|
10545
|
+
*
|
|
10546
|
+
* @param {String} contactId ExternalContact Id
|
|
10547
|
+
* @param {String} noteId Note Id
|
|
10548
|
+
* @param {Object} body Note field to update
|
|
10549
|
+
* @param {Object} opts Optional parameters
|
|
10550
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
10551
|
+
*/},{key:"patchExternalcontactsContactNote",value:function patchExternalcontactsContactNote(contactId,noteId,body,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
10552
|
+
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactNote';}// verify the required parameter 'noteId' is set
|
|
10553
|
+
if(noteId===undefined||noteId===null||noteId===''){throw'Missing the required parameter "noteId" when calling patchExternalcontactsContactNote';}// verify the required parameter 'body' is set
|
|
10554
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContactNote';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}','PATCH',{'contactId':contactId,'noteId':noteId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10555
|
+
* Update specific fields of an external organization
|
|
10556
|
+
*
|
|
10557
|
+
* @param {String} externalOrganizationId External Organization ID
|
|
10558
|
+
* @param {Object} body External Organization fields to update
|
|
10559
|
+
* @param {Object} opts Optional parameters
|
|
10560
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
10561
|
+
*/},{key:"patchExternalcontactsOrganization",value:function patchExternalcontactsOrganization(externalOrganizationId,body,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
10562
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null||externalOrganizationId===''){throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganization';}// verify the required parameter 'body' is set
|
|
10563
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','PATCH',{'externalOrganizationId':externalOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10533
10564
|
* Claim or release identifiers for an external organization
|
|
10534
10565
|
*
|
|
10535
10566
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -10539,6 +10570,26 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10539
10570
|
*/},{key:"patchExternalcontactsOrganizationIdentifiers",value:function patchExternalcontactsOrganizationIdentifiers(externalOrganizationId,body,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
10540
10571
|
if(externalOrganizationId===undefined||externalOrganizationId===null||externalOrganizationId===''){throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';}// verify the required parameter 'body' is set
|
|
10541
10572
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers','PATCH',{'externalOrganizationId':externalOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10573
|
+
* Update an External Organization Note
|
|
10574
|
+
*
|
|
10575
|
+
* @param {String} externalOrganizationId External Organization Id
|
|
10576
|
+
* @param {String} noteId Note Id
|
|
10577
|
+
* @param {Object} body Note field to update
|
|
10578
|
+
* @param {Object} opts Optional parameters
|
|
10579
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
10580
|
+
*/},{key:"patchExternalcontactsOrganizationNote",value:function patchExternalcontactsOrganizationNote(externalOrganizationId,noteId,body,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
10581
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null||externalOrganizationId===''){throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationNote';}// verify the required parameter 'noteId' is set
|
|
10582
|
+
if(noteId===undefined||noteId===null||noteId===''){throw'Missing the required parameter "noteId" when calling patchExternalcontactsOrganizationNote';}// verify the required parameter 'body' is set
|
|
10583
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationNote';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}','PATCH',{'externalOrganizationId':externalOrganizationId,'noteId':noteId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10584
|
+
* Update specific fields of a relationship
|
|
10585
|
+
*
|
|
10586
|
+
* @param {String} relationshipId Relationship Id
|
|
10587
|
+
* @param {Object} body Relationship fields to update
|
|
10588
|
+
* @param {Object} opts Optional parameters
|
|
10589
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
10590
|
+
*/},{key:"patchExternalcontactsRelationship",value:function patchExternalcontactsRelationship(relationshipId,body,opts){opts=opts||{};// verify the required parameter 'relationshipId' is set
|
|
10591
|
+
if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw'Missing the required parameter "relationshipId" when calling patchExternalcontactsRelationship';}// verify the required parameter 'body' is set
|
|
10592
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PATCH',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10542
10593
|
* Bulk fetch contacts
|
|
10543
10594
|
*
|
|
10544
10595
|
* @param {Object} body Contact ids
|
|
@@ -10984,7 +11035,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
10984
11035
|
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'],opts['customHeaders']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
10985
11036
|
* Fax service.
|
|
10986
11037
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
10987
|
-
* @version
|
|
11038
|
+
* @version 256.0.0
|
|
10988
11039
|
*//**
|
|
10989
11040
|
* Constructs a new FaxApi.
|
|
10990
11041
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11047,7 +11098,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11047
11098
|
*/},{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'],opts['customHeaders']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11048
11099
|
* Flows service.
|
|
11049
11100
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11050
|
-
* @version
|
|
11101
|
+
* @version 256.0.0
|
|
11051
11102
|
*//**
|
|
11052
11103
|
* Constructs a new FlowsApi.
|
|
11053
11104
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11109,7 +11160,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11109
11160
|
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'],opts['customHeaders']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11110
11161
|
* Gamification service.
|
|
11111
11162
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11112
|
-
* @version
|
|
11163
|
+
* @version 256.0.0
|
|
11113
11164
|
*//**
|
|
11114
11165
|
* Constructs a new GamificationApi.
|
|
11115
11166
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11904,7 +11955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11904
11955
|
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'],opts['customHeaders']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11905
11956
|
* GeneralDataProtectionRegulation service.
|
|
11906
11957
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11907
|
-
* @version
|
|
11958
|
+
* @version 256.0.0
|
|
11908
11959
|
*//**
|
|
11909
11960
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11910
11961
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -11945,7 +11996,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
11945
11996
|
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'],opts['customHeaders']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
11946
11997
|
* Geolocation service.
|
|
11947
11998
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
11948
|
-
* @version
|
|
11999
|
+
* @version 256.0.0
|
|
11949
12000
|
*//**
|
|
11950
12001
|
* Constructs a new GeolocationApi.
|
|
11951
12002
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -11987,7 +12038,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
11987
12038
|
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'],opts['customHeaders']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
11988
12039
|
* Greetings service.
|
|
11989
12040
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
11990
|
-
* @version
|
|
12041
|
+
* @version 256.0.0
|
|
11991
12042
|
*//**
|
|
11992
12043
|
* Constructs a new GreetingsApi.
|
|
11993
12044
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12146,7 +12197,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12146
12197
|
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'],opts['customHeaders']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12147
12198
|
* Groups service.
|
|
12148
12199
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12149
|
-
* @version
|
|
12200
|
+
* @version 256.0.0
|
|
12150
12201
|
*//**
|
|
12151
12202
|
* Constructs a new GroupsApi.
|
|
12152
12203
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12309,7 +12360,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
12309
12360
|
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'],opts['customHeaders']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12310
12361
|
* IdentityProvider service.
|
|
12311
12362
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12312
|
-
* @version
|
|
12363
|
+
* @version 256.0.0
|
|
12313
12364
|
*//**
|
|
12314
12365
|
* Constructs a new IdentityProviderApi.
|
|
12315
12366
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12541,7 +12592,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12541
12592
|
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'],opts['customHeaders']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12542
12593
|
* InfrastructureAsCode service.
|
|
12543
12594
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12544
|
-
* @version
|
|
12595
|
+
* @version 256.0.0
|
|
12545
12596
|
*//**
|
|
12546
12597
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12547
12598
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12601,7 +12652,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
12601
12652
|
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'],opts['customHeaders']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12602
12653
|
* Integrations service.
|
|
12603
12654
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12604
|
-
* @version
|
|
12655
|
+
* @version 256.0.0
|
|
12605
12656
|
*//**
|
|
12606
12657
|
* Constructs a new IntegrationsApi.
|
|
12607
12658
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12669,8 +12720,9 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
12669
12720
|
* @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
|
|
12670
12721
|
* @param {String} opts.integrationType Filter integrations by integration type ID
|
|
12671
12722
|
* @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
|
|
12723
|
+
* @param {String} opts.credentialId Filter integrations by credential ID
|
|
12672
12724
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
12673
|
-
*/},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'integrationType':opts['integrationType'],'reportedState':opts['reportedState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
12725
|
+
*/},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'integrationType':opts['integrationType'],'reportedState':opts['reportedState'],'credentialId':opts['credentialId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
12674
12726
|
* Retrieves a single Action matching id.
|
|
12675
12727
|
*
|
|
12676
12728
|
* @param {String} actionId actionId
|
|
@@ -13431,7 +13483,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
13431
13483
|
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'],opts['customHeaders']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
13432
13484
|
* Intents service.
|
|
13433
13485
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
13434
|
-
* @version
|
|
13486
|
+
* @version 256.0.0
|
|
13435
13487
|
*//**
|
|
13436
13488
|
* Constructs a new IntentsApi.
|
|
13437
13489
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -13575,7 +13627,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13575
13627
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13576
13628
|
* Journey service.
|
|
13577
13629
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13578
|
-
* @version
|
|
13630
|
+
* @version 256.0.0
|
|
13579
13631
|
*//**
|
|
13580
13632
|
* Constructs a new JourneyApi.
|
|
13581
13633
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14355,7 +14407,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
14355
14407
|
if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===''){throw'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinitionActivate';}return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions/{eventDefinitionId}/activate','PUT',{'eventDefinitionId':eventDefinitionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14356
14408
|
* Knowledge service.
|
|
14357
14409
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14358
|
-
* @version
|
|
14410
|
+
* @version 256.0.0
|
|
14359
14411
|
*//**
|
|
14360
14412
|
* Constructs a new KnowledgeApi.
|
|
14361
14413
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15550,7 +15602,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
15550
15602
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15551
15603
|
* LanguageUnderstanding service.
|
|
15552
15604
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15553
|
-
* @version
|
|
15605
|
+
* @version 256.0.0
|
|
15554
15606
|
*//**
|
|
15555
15607
|
* Constructs a new LanguageUnderstandingApi.
|
|
15556
15608
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15924,7 +15976,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
15924
15976
|
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'],opts['customHeaders']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
15925
15977
|
* Languages service.
|
|
15926
15978
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15927
|
-
* @version
|
|
15979
|
+
* @version 256.0.0
|
|
15928
15980
|
*//**
|
|
15929
15981
|
* Constructs a new LanguagesApi.
|
|
15930
15982
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15994,7 +16046,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15994
16046
|
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'],opts['customHeaders']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
15995
16047
|
* Learning service.
|
|
15996
16048
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15997
|
-
* @version
|
|
16049
|
+
* @version 256.0.0
|
|
15998
16050
|
*//**
|
|
15999
16051
|
* Constructs a new LearningApi.
|
|
16000
16052
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16119,7 +16171,6 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16119
16171
|
* Get all learning modules of an organization
|
|
16120
16172
|
*
|
|
16121
16173
|
* @param {Object} opts Optional parameters
|
|
16122
|
-
* @param {Boolean} opts.isArchived Archive status (default to false)
|
|
16123
16174
|
* @param {Array.<String>} opts.types Specifies the module types. Informational, AssessedContent and Assessment are deprecated
|
|
16124
16175
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16125
16176
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
@@ -16127,11 +16178,10 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16127
16178
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
16128
16179
|
* @param {String} opts.searchTerm Search Term (searchable by name)
|
|
16129
16180
|
* @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
|
|
16130
|
-
* @param {Object} opts.isPublished Specifies if only the Unpublished (isPublished is False) or Published (isPublished is True) modules are returned. If isPublished is Any or omitted, both types are returned (default to Any)
|
|
16131
16181
|
* @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
|
|
16132
16182
|
* @param {Array.<String>} opts.externalIds Specifies the module external IDs to filter by. Only one ID is allowed
|
|
16133
16183
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
16134
|
-
*/},{key:"getLearningModules",value:function getLearningModules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/modules','GET',{},{'
|
|
16184
|
+
*/},{key:"getLearningModules",value:function getLearningModules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/modules','GET',{},{'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'searchTerm':opts['searchTerm'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'statuses':this.apiClient.buildCollectionParam(opts['statuses'],'multi'),'externalIds':this.apiClient.buildCollectionParam(opts['externalIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
16135
16185
|
* Get all learning modules of an organization including assignments for a specific user
|
|
16136
16186
|
*
|
|
16137
16187
|
* @param {Array.<String>} userIds The IDs of the users to include
|
|
@@ -16342,7 +16392,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
16342
16392
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16343
16393
|
* License service.
|
|
16344
16394
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16345
|
-
* @version
|
|
16395
|
+
* @version 256.0.0
|
|
16346
16396
|
*//**
|
|
16347
16397
|
* Constructs a new LicenseApi.
|
|
16348
16398
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16417,7 +16467,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
16417
16467
|
*/},{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'],opts['customHeaders']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16418
16468
|
* Locations service.
|
|
16419
16469
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16420
|
-
* @version
|
|
16470
|
+
* @version 256.0.0
|
|
16421
16471
|
*//**
|
|
16422
16472
|
* Constructs a new LocationsApi.
|
|
16423
16473
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16489,7 +16539,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16489
16539
|
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'],opts['customHeaders']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16490
16540
|
* LogCapture service.
|
|
16491
16541
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16492
|
-
* @version
|
|
16542
|
+
* @version 256.0.0
|
|
16493
16543
|
*//**
|
|
16494
16544
|
* Constructs a new LogCaptureApi.
|
|
16495
16545
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16548,7 +16598,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16548
16598
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16549
16599
|
* Messaging service.
|
|
16550
16600
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16551
|
-
* @version
|
|
16601
|
+
* @version 256.0.0
|
|
16552
16602
|
*//**
|
|
16553
16603
|
* Constructs a new MessagingApi.
|
|
16554
16604
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16662,7 +16712,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16662
16712
|
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'],opts['customHeaders']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16663
16713
|
* MobileDevices service.
|
|
16664
16714
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16665
|
-
* @version
|
|
16715
|
+
* @version 256.0.0
|
|
16666
16716
|
*//**
|
|
16667
16717
|
* Constructs a new MobileDevicesApi.
|
|
16668
16718
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16709,7 +16759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16709
16759
|
if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16710
16760
|
* Notifications service.
|
|
16711
16761
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16712
|
-
* @version
|
|
16762
|
+
* @version 256.0.0
|
|
16713
16763
|
*//**
|
|
16714
16764
|
* Constructs a new NotificationsApi.
|
|
16715
16765
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16778,7 +16828,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
16778
16828
|
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'],opts['customHeaders']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16779
16829
|
* OAuth service.
|
|
16780
16830
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16781
|
-
* @version
|
|
16831
|
+
* @version 256.0.0
|
|
16782
16832
|
*//**
|
|
16783
16833
|
* Constructs a new OAuthApi.
|
|
16784
16834
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16884,7 +16934,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
16884
16934
|
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'],opts['customHeaders']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16885
16935
|
* Objects service.
|
|
16886
16936
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16887
|
-
* @version
|
|
16937
|
+
* @version 256.0.0
|
|
16888
16938
|
*//**
|
|
16889
16939
|
* Constructs a new ObjectsApi.
|
|
16890
16940
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16987,7 +17037,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
16987
17037
|
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'],opts['customHeaders']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
16988
17038
|
* OperationalEvents service.
|
|
16989
17039
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16990
|
-
* @version
|
|
17040
|
+
* @version 256.0.0
|
|
16991
17041
|
*//**
|
|
16992
17042
|
* Constructs a new OperationalEventsApi.
|
|
16993
17043
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17024,7 +17074,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
17024
17074
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
17025
17075
|
* Organization service.
|
|
17026
17076
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17027
|
-
* @version
|
|
17077
|
+
* @version 256.0.0
|
|
17028
17078
|
*//**
|
|
17029
17079
|
* Constructs a new OrganizationApi.
|
|
17030
17080
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17164,7 +17214,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17164
17214
|
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'],opts['customHeaders']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
17165
17215
|
* OrganizationAuthorization service.
|
|
17166
17216
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17167
|
-
* @version
|
|
17217
|
+
* @version 256.0.0
|
|
17168
17218
|
*//**
|
|
17169
17219
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17170
17220
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17584,7 +17634,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
17584
17634
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17585
17635
|
* Outbound service.
|
|
17586
17636
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17587
|
-
* @version
|
|
17637
|
+
* @version 256.0.0
|
|
17588
17638
|
*//**
|
|
17589
17639
|
* Constructs a new OutboundApi.
|
|
17590
17640
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18102,7 +18152,7 @@ if(contactListFilterId===undefined||contactListFilterId===null||contactListFilte
|
|
|
18102
18152
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
18103
18153
|
*/},{key:"getOutboundContactlistfilters",value:function getOutboundContactlistfilters(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlistfilters','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListId':opts['contactListId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
18104
18154
|
* Query a list of contact lists.
|
|
18105
|
-
*
|
|
18155
|
+
* Any ContactList field can be used as a query parameter to filter results. Multiple values can be specified for a field, and filter type prefixes can be used inline. Example: dateCreated=greaterthan:2025-01-01T00:00:00.000Z&dateCreated=lessthan:2027-01-01T00:00:00.000Z. See https://developer.genesys.cloud/routing/outbound/filter-type for available filter types.
|
|
18106
18156
|
* @param {Object} opts Optional parameters
|
|
18107
18157
|
* @param {Boolean} opts.includeImportStatus Include import status (default to false)
|
|
18108
18158
|
* @param {Boolean} opts.includeSize Include size (default to false)
|
|
@@ -19070,7 +19120,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19070
19120
|
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'],opts['customHeaders']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
19071
19121
|
* Presence service.
|
|
19072
19122
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19073
|
-
* @version
|
|
19123
|
+
* @version 256.0.0
|
|
19074
19124
|
*//**
|
|
19075
19125
|
* Constructs a new PresenceApi.
|
|
19076
19126
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19290,7 +19340,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19290
19340
|
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'],opts['customHeaders']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
19291
19341
|
* ProcessAutomation service.
|
|
19292
19342
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19293
|
-
* @version
|
|
19343
|
+
* @version 256.0.0
|
|
19294
19344
|
*//**
|
|
19295
19345
|
* Constructs a new ProcessAutomationApi.
|
|
19296
19346
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19404,7 +19454,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19404
19454
|
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'],opts['customHeaders']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
19405
19455
|
* Quality service.
|
|
19406
19456
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19407
|
-
* @version
|
|
19457
|
+
* @version 256.0.0
|
|
19408
19458
|
*//**
|
|
19409
19459
|
* Constructs a new QualityApi.
|
|
19410
19460
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20060,7 +20110,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20060
20110
|
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'],opts['customHeaders']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
20061
20111
|
* Recording service.
|
|
20062
20112
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20063
|
-
* @version
|
|
20113
|
+
* @version 256.0.0
|
|
20064
20114
|
*//**
|
|
20065
20115
|
* Constructs a new RecordingApi.
|
|
20066
20116
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20559,7 +20609,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20559
20609
|
*/},{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'],opts['customHeaders']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
20560
20610
|
* ResponseManagement service.
|
|
20561
20611
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20562
|
-
* @version
|
|
20612
|
+
* @version 256.0.0
|
|
20563
20613
|
*//**
|
|
20564
20614
|
* Constructs a new ResponseManagementApi.
|
|
20565
20615
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20726,7 +20776,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20726
20776
|
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'],opts['customHeaders']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
20727
20777
|
* Routing service.
|
|
20728
20778
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20729
|
-
* @version
|
|
20779
|
+
* @version 256.0.0
|
|
20730
20780
|
*//**
|
|
20731
20781
|
* Constructs a new RoutingApi.
|
|
20732
20782
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -22195,7 +22245,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22195
22245
|
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'],opts['customHeaders']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
22196
22246
|
* SCIM service.
|
|
22197
22247
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22198
|
-
* @version
|
|
22248
|
+
* @version 256.0.0
|
|
22199
22249
|
*//**
|
|
22200
22250
|
* Constructs a new SCIMApi.
|
|
22201
22251
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22455,10 +22505,107 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22455
22505
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22456
22506
|
*/},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
22457
22507
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
|
|
22458
|
-
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'],opts['customHeaders']);}}]);}();var
|
|
22508
|
+
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'],opts['customHeaders']);}}]);}();var ScreenMonitoringApi=/*#__PURE__*/function(){/**
|
|
22509
|
+
* ScreenMonitoring service.
|
|
22510
|
+
* @module purecloud-platform-client-v2/api/ScreenMonitoringApi
|
|
22511
|
+
* @version 256.0.0
|
|
22512
|
+
*//**
|
|
22513
|
+
* Constructs a new ScreenMonitoringApi.
|
|
22514
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenMonitoringApi
|
|
22515
|
+
* @class
|
|
22516
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
22517
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
22518
|
+
*/function ScreenMonitoringApi(apiClient){_classCallCheck(this,ScreenMonitoringApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
22519
|
+
* Stop a conversation-level screen monitoring session.
|
|
22520
|
+
*
|
|
22521
|
+
* @param {String} conversationId Conversation ID
|
|
22522
|
+
* @param {String} participantId Participant ID
|
|
22523
|
+
* @param {String} screenMonitoringId Screen Monitoring ID
|
|
22524
|
+
* @param {Object} opts Optional parameters
|
|
22525
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22526
|
+
*/return _createClass(ScreenMonitoringApi,[{key:"deleteConversationParticipantScreenmonitorsSession",value:function deleteConversationParticipantScreenmonitorsSession(conversationId,participantId,screenMonitoringId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
22527
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantScreenmonitorsSession';}// verify the required parameter 'participantId' is set
|
|
22528
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling deleteConversationParticipantScreenmonitorsSession';}// verify the required parameter 'screenMonitoringId' is set
|
|
22529
|
+
if(screenMonitoringId===undefined||screenMonitoringId===null||screenMonitoringId===''){throw'Missing the required parameter "screenMonitoringId" when calling deleteConversationParticipantScreenmonitorsSession';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions/{screenMonitoringId}','DELETE',{'conversationId':conversationId,'participantId':participantId,'screenMonitoringId':screenMonitoringId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22530
|
+
* Stop an agent-level screen monitoring session.
|
|
22531
|
+
*
|
|
22532
|
+
* @param {String} userId User ID
|
|
22533
|
+
* @param {String} screenMonitoringId Screen Monitoring ID
|
|
22534
|
+
* @param {Object} opts Optional parameters
|
|
22535
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22536
|
+
*/},{key:"deleteUserScreenmonitorsSession",value:function deleteUserScreenmonitorsSession(userId,screenMonitoringId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
22537
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling deleteUserScreenmonitorsSession';}// verify the required parameter 'screenMonitoringId' is set
|
|
22538
|
+
if(screenMonitoringId===undefined||screenMonitoringId===null||screenMonitoringId===''){throw'Missing the required parameter "screenMonitoringId" when calling deleteUserScreenmonitorsSession';}return this.apiClient.callApi('/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}','DELETE',{'userId':userId,'screenMonitoringId':screenMonitoringId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22539
|
+
* Get a conversation-level screen monitoring session object using the supplied screenMonitoringId.
|
|
22540
|
+
*
|
|
22541
|
+
* @param {String} conversationId Conversation ID
|
|
22542
|
+
* @param {String} participantId Participant ID
|
|
22543
|
+
* @param {String} screenMonitoringId Screen Monitoring ID
|
|
22544
|
+
* @param {Object} opts Optional parameters
|
|
22545
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22546
|
+
*/},{key:"getConversationParticipantScreenmonitorsSession",value:function getConversationParticipantScreenmonitorsSession(conversationId,participantId,screenMonitoringId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
22547
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationParticipantScreenmonitorsSession';}// verify the required parameter 'participantId' is set
|
|
22548
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationParticipantScreenmonitorsSession';}// verify the required parameter 'screenMonitoringId' is set
|
|
22549
|
+
if(screenMonitoringId===undefined||screenMonitoringId===null||screenMonitoringId===''){throw'Missing the required parameter "screenMonitoringId" when calling getConversationParticipantScreenmonitorsSession';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions/{screenMonitoringId}','GET',{'conversationId':conversationId,'participantId':participantId,'screenMonitoringId':screenMonitoringId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22550
|
+
* Get the details of all screen monitoring sessions for the current organization.
|
|
22551
|
+
*
|
|
22552
|
+
* @param {Object} opts Optional parameters
|
|
22553
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22554
|
+
*/},{key:"getScreenmonitorsSessionsDetails",value:function getScreenmonitorsSessionsDetails(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenmonitors/sessions/details','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22555
|
+
* Get the Screen Monitor Settings for the Organization
|
|
22556
|
+
*
|
|
22557
|
+
* @param {Object} opts Optional parameters
|
|
22558
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22559
|
+
*/},{key:"getScreenmonitorsSettings",value:function getScreenmonitorsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenmonitors/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22560
|
+
* Get all screen monitoring sessions for the supplied userId.
|
|
22561
|
+
*
|
|
22562
|
+
* @param {String} userId User ID
|
|
22563
|
+
* @param {Object} opts Optional parameters
|
|
22564
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22565
|
+
*/},{key:"getScreenmonitorsUserSessions",value:function getScreenmonitorsUserSessions(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
22566
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getScreenmonitorsUserSessions';}return this.apiClient.callApi('/api/v2/screenmonitors/users/{userId}/sessions','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22567
|
+
* Get an agent-level screen monitoring session object using the supplied screenMonitoringId.
|
|
22568
|
+
*
|
|
22569
|
+
* @param {String} userId User ID
|
|
22570
|
+
* @param {String} screenMonitoringId Screen Monitoring ID
|
|
22571
|
+
* @param {Object} opts Optional parameters
|
|
22572
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22573
|
+
*/},{key:"getUserScreenmonitorsSession",value:function getUserScreenmonitorsSession(userId,screenMonitoringId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
22574
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling getUserScreenmonitorsSession';}// verify the required parameter 'screenMonitoringId' is set
|
|
22575
|
+
if(screenMonitoringId===undefined||screenMonitoringId===null||screenMonitoringId===''){throw'Missing the required parameter "screenMonitoringId" when calling getUserScreenmonitorsSession';}return this.apiClient.callApi('/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}','GET',{'userId':userId,'screenMonitoringId':screenMonitoringId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22576
|
+
* Start a conversation-level screen monitoring session.
|
|
22577
|
+
*
|
|
22578
|
+
* @param {String} conversationId Conversation ID
|
|
22579
|
+
* @param {String} participantId Participant ID
|
|
22580
|
+
* @param {Object} opts Optional parameters
|
|
22581
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22582
|
+
*/},{key:"postConversationParticipantScreenmonitorsSessions",value:function postConversationParticipantScreenmonitorsSessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
22583
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantScreenmonitorsSessions';}// verify the required parameter 'participantId' is set
|
|
22584
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantScreenmonitorsSessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22585
|
+
* Get screen monitor session details for one or more users.
|
|
22586
|
+
*
|
|
22587
|
+
* @param {Array.<String>} body List of target user IDs
|
|
22588
|
+
* @param {Object} opts Optional parameters
|
|
22589
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22590
|
+
*/},{key:"postScreenmonitorsSessionsUsersDetails",value:function postScreenmonitorsSessionsUsersDetails(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
22591
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postScreenmonitorsSessionsUsersDetails';}return this.apiClient.callApi('/api/v2/screenmonitors/sessions/users/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22592
|
+
* Start an agent-level screen monitoring session.
|
|
22593
|
+
*
|
|
22594
|
+
* @param {String} userId User ID
|
|
22595
|
+
* @param {Object} opts Optional parameters
|
|
22596
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22597
|
+
*/},{key:"postUserScreenmonitorsSessions",value:function postUserScreenmonitorsSessions(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
22598
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postUserScreenmonitorsSessions';}return this.apiClient.callApi('/api/v2/users/{userId}/screenmonitors/sessions','POST',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
22599
|
+
* Update the Screen Monitor Settings for the Organization
|
|
22600
|
+
*
|
|
22601
|
+
* @param {Object} body Screen Monitor settings
|
|
22602
|
+
* @param {Object} opts Optional parameters
|
|
22603
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
22604
|
+
*/},{key:"putScreenmonitorsSettings",value:function putScreenmonitorsSettings(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
22605
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScreenmonitorsSettings';}return this.apiClient.callApi('/api/v2/screenmonitors/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
22459
22606
|
* Scripts service.
|
|
22460
22607
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22461
|
-
* @version
|
|
22608
|
+
* @version 256.0.0
|
|
22462
22609
|
*//**
|
|
22463
22610
|
* Constructs a new ScriptsApi.
|
|
22464
22611
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22620,7 +22767,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22620
22767
|
*/},{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'],opts['customHeaders']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
22621
22768
|
* Search service.
|
|
22622
22769
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22623
|
-
* @version
|
|
22770
|
+
* @version 256.0.0
|
|
22624
22771
|
*//**
|
|
22625
22772
|
* Constructs a new SearchApi.
|
|
22626
22773
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22827,7 +22974,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22827
22974
|
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'],opts['customHeaders']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
22828
22975
|
* Settings service.
|
|
22829
22976
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22830
|
-
* @version
|
|
22977
|
+
* @version 256.0.0
|
|
22831
22978
|
*//**
|
|
22832
22979
|
* Constructs a new SettingsApi.
|
|
22833
22980
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22924,7 +23071,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22924
23071
|
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'],opts['customHeaders']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
22925
23072
|
* SocialMedia service.
|
|
22926
23073
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22927
|
-
* @version
|
|
23074
|
+
* @version 256.0.0
|
|
22928
23075
|
*//**
|
|
22929
23076
|
* Constructs a new SocialMediaApi.
|
|
22930
23077
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23479,7 +23626,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23479
23626
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
23480
23627
|
* SpeechTextAnalytics service.
|
|
23481
23628
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23482
|
-
* @version
|
|
23629
|
+
* @version 256.0.0
|
|
23483
23630
|
*//**
|
|
23484
23631
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23485
23632
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23972,7 +24119,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23972
24119
|
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'],opts['customHeaders']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
23973
24120
|
* Stations service.
|
|
23974
24121
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23975
|
-
* @version
|
|
24122
|
+
* @version 256.0.0
|
|
23976
24123
|
*//**
|
|
23977
24124
|
* Constructs a new StationsApi.
|
|
23978
24125
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -24009,7 +24156,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
24009
24156
|
*/},{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'],opts['customHeaders']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
24010
24157
|
* Suggest service.
|
|
24011
24158
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
24012
|
-
* @version
|
|
24159
|
+
* @version 256.0.0
|
|
24013
24160
|
*//**
|
|
24014
24161
|
* Constructs a new SuggestApi.
|
|
24015
24162
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -24053,7 +24200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24053
24200
|
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'],opts['customHeaders']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
24054
24201
|
* TaskManagement service.
|
|
24055
24202
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
24056
|
-
* @version
|
|
24203
|
+
* @version 256.0.0
|
|
24057
24204
|
*//**
|
|
24058
24205
|
* Constructs a new TaskManagementApi.
|
|
24059
24206
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24697,7 +24844,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24697
24844
|
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'],opts['customHeaders']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
24698
24845
|
* Teams service.
|
|
24699
24846
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24700
|
-
* @version
|
|
24847
|
+
* @version 256.0.0
|
|
24701
24848
|
*//**
|
|
24702
24849
|
* Constructs a new TeamsApi.
|
|
24703
24850
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24793,7 +24940,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24793
24940
|
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'],opts['customHeaders']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
24794
24941
|
* Telephony service.
|
|
24795
24942
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24796
|
-
* @version
|
|
24943
|
+
* @version 256.0.0
|
|
24797
24944
|
*//**
|
|
24798
24945
|
* Constructs a new TelephonyApi.
|
|
24799
24946
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24962,7 +25109,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24962
25109
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24963
25110
|
* TelephonyProvidersEdge service.
|
|
24964
25111
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24965
|
-
* @version
|
|
25112
|
+
* @version 256.0.0
|
|
24966
25113
|
*//**
|
|
24967
25114
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24968
25115
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -26015,7 +26162,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
26015
26162
|
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'],opts['customHeaders']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
26016
26163
|
* Textbots service.
|
|
26017
26164
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
26018
|
-
* @version
|
|
26165
|
+
* @version 256.0.0
|
|
26019
26166
|
*//**
|
|
26020
26167
|
* Constructs a new TextbotsApi.
|
|
26021
26168
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -26058,7 +26205,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
26058
26205
|
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'],opts['customHeaders']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
26059
26206
|
* Tokens service.
|
|
26060
26207
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
26061
|
-
* @version
|
|
26208
|
+
* @version 256.0.0
|
|
26062
26209
|
*//**
|
|
26063
26210
|
* Constructs a new TokensApi.
|
|
26064
26211
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -26102,7 +26249,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26102
26249
|
*/},{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'],opts['customHeaders']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
26103
26250
|
* Uploads service.
|
|
26104
26251
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
26105
|
-
* @version
|
|
26252
|
+
* @version 256.0.0
|
|
26106
26253
|
*//**
|
|
26107
26254
|
* Constructs a new UploadsApi.
|
|
26108
26255
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -26197,7 +26344,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26197
26344
|
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'],opts['customHeaders']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
26198
26345
|
* Usage service.
|
|
26199
26346
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
26200
|
-
* @version
|
|
26347
|
+
* @version 256.0.0
|
|
26201
26348
|
*//**
|
|
26202
26349
|
* Constructs a new UsageApi.
|
|
26203
26350
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -26299,7 +26446,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26299
26446
|
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'],opts['customHeaders']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
26300
26447
|
* UserRecordings service.
|
|
26301
26448
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
26302
|
-
* @version
|
|
26449
|
+
* @version 256.0.0
|
|
26303
26450
|
*//**
|
|
26304
26451
|
* Constructs a new UserRecordingsApi.
|
|
26305
26452
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26355,7 +26502,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26355
26502
|
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'],opts['customHeaders']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
26356
26503
|
* Users service.
|
|
26357
26504
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26358
|
-
* @version
|
|
26505
|
+
* @version 256.0.0
|
|
26359
26506
|
*//**
|
|
26360
26507
|
* Constructs a new UsersApi.
|
|
26361
26508
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -27413,7 +27560,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27413
27560
|
if(stationId===undefined||stationId===null||stationId===''){throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';}return this.apiClient.callApi('/api/v2/users/stations/me/associatedstation/{stationId}','PUT',{'stationId':stationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
27414
27561
|
* UsersRules service.
|
|
27415
27562
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
27416
|
-
* @version
|
|
27563
|
+
* @version 256.0.0
|
|
27417
27564
|
*//**
|
|
27418
27565
|
* Constructs a new UsersRulesApi.
|
|
27419
27566
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -27503,7 +27650,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27503
27650
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
27504
27651
|
* Utilities service.
|
|
27505
27652
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
27506
|
-
* @version
|
|
27653
|
+
* @version 256.0.0
|
|
27507
27654
|
*//**
|
|
27508
27655
|
* Constructs a new UtilitiesApi.
|
|
27509
27656
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -27537,7 +27684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27537
27684
|
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'],opts['customHeaders']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
27538
27685
|
* Voicemail service.
|
|
27539
27686
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
27540
|
-
* @version
|
|
27687
|
+
* @version 256.0.0
|
|
27541
27688
|
*//**
|
|
27542
27689
|
* Constructs a new VoicemailApi.
|
|
27543
27690
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27744,7 +27891,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27744
27891
|
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'],opts['customHeaders']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
27745
27892
|
* WebChat service.
|
|
27746
27893
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27747
|
-
* @version
|
|
27894
|
+
* @version 256.0.0
|
|
27748
27895
|
*//**
|
|
27749
27896
|
* Constructs a new WebChatApi.
|
|
27750
27897
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27927,7 +28074,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27927
28074
|
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'],opts['customHeaders']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
27928
28075
|
* WebDeployments service.
|
|
27929
28076
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27930
|
-
* @version
|
|
28077
|
+
* @version 256.0.0
|
|
27931
28078
|
*//**
|
|
27932
28079
|
* Constructs a new WebDeploymentsApi.
|
|
27933
28080
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -28105,7 +28252,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
28105
28252
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
28106
28253
|
* WebMessaging service.
|
|
28107
28254
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
28108
|
-
* @version
|
|
28255
|
+
* @version 256.0.0
|
|
28109
28256
|
*//**
|
|
28110
28257
|
* Constructs a new WebMessagingApi.
|
|
28111
28258
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -28153,7 +28300,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
28153
28300
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
28154
28301
|
* Widgets service.
|
|
28155
28302
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
28156
|
-
* @version
|
|
28303
|
+
* @version 256.0.0
|
|
28157
28304
|
*//**
|
|
28158
28305
|
* Constructs a new WidgetsApi.
|
|
28159
28306
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -28203,7 +28350,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
28203
28350
|
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'],opts['customHeaders']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
28204
28351
|
* WorkforceManagement service.
|
|
28205
28352
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
28206
|
-
* @version
|
|
28353
|
+
* @version 256.0.0
|
|
28207
28354
|
*//**
|
|
28208
28355
|
* Constructs a new WorkforceManagementApi.
|
|
28209
28356
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28605,6 +28752,16 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
28605
28752
|
*/},{key:"getWorkforcemanagementBusinessunitCapacityplan",value:function getWorkforcemanagementBusinessunitCapacityplan(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28606
28753
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'capacityPlanId' is set
|
|
28607
28754
|
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28755
|
+
* Get a capacity plan's forecast inputs
|
|
28756
|
+
*
|
|
28757
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28758
|
+
* @param {String} capacityPlanId The ID of the capacity plan
|
|
28759
|
+
* @param {Object} opts Optional parameters
|
|
28760
|
+
* @param {Object} opts.granularity Granularity to access capacity plan forecast data, defaults to weekly
|
|
28761
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28762
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanForecast",value:function getWorkforcemanagementBusinessunitCapacityplanForecast(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28763
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';}// verify the required parameter 'capacityPlanId' is set
|
|
28764
|
+
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/forecast','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28608
28765
|
* Get a capacity plan's staffing group allocations
|
|
28609
28766
|
*
|
|
28610
28767
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -31241,7 +31398,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
31241
31398
|
* </pre>
|
|
31242
31399
|
* </p>
|
|
31243
31400
|
* @module purecloud-platform-client-v2/index
|
|
31244
|
-
* @version
|
|
31401
|
+
* @version 256.0.0
|
|
31245
31402
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
31246
31403
|
* The ApiClient constructor.
|
|
31247
31404
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -31432,6 +31589,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
31432
31589
|
* The SCIMApi service constructor.
|
|
31433
31590
|
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
31434
31591
|
*/this.SCIMApi=SCIMApi;/**
|
|
31592
|
+
* The ScreenMonitoringApi service constructor.
|
|
31593
|
+
* @property {module:purecloud-platform-client-v2/api/ScreenMonitoringApi}
|
|
31594
|
+
*/this.ScreenMonitoringApi=ScreenMonitoringApi;/**
|
|
31435
31595
|
* The ScriptsApi service constructor.
|
|
31436
31596
|
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|
|
31437
31597
|
*/this.ScriptsApi=ScriptsApi;/**
|