purecloud-platform-client-v2 245.0.0 → 246.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 +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +334 -104
- package/dist/web-cjs/purecloud-platform-client-v2.js +388 -123
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +623 -263
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +6 -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 +1 -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/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 +661 -3
- 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 +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +31 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +248 -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 -10
- 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 +18 -6
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -952,7 +952,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
952
952
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
953
953
|
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];}}}]);}();/**
|
|
954
954
|
* @module purecloud-platform-client-v2/ApiClient
|
|
955
|
-
* @version
|
|
955
|
+
* @version 246.0.0
|
|
956
956
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
957
957
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
958
958
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1291,7 +1291,7 @@ return param.map(function(x){return _this15.paramToString(x);});default:throw ne
|
|
|
1291
1291
|
* Applies authentication headers to the request.
|
|
1292
1292
|
* @param {Object} request The axios request config object.
|
|
1293
1293
|
* @param {Array.<String>} authNames An array of authentication method names.
|
|
1294
|
-
*/},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this16=this;authNames.forEach(function(authName){var auth=_this16.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this16.addHeaders(request.headers,data);}else{request.setParams(_this16.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this16.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
|
|
1294
|
+
*/},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this16=this;authNames.forEach(function(authName){var auth=_this16.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this16.addHeaders(request.headers,data);}else{request.setParams(_this16.serialize(data));request.headers=_this16.addHeaders(request.headers,{});}}else{request.headers=_this16.addHeaders(request.headers,{});}break;case'oauth2':if(auth.accessToken){request.headers=_this16.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}else{request.headers=_this16.addHeaders(request.headers,{});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
|
|
1295
1295
|
* @description Sets the proxy agent axios will use for requests
|
|
1296
1296
|
* @param {any} agent - The proxy agent
|
|
1297
1297
|
*/},{key:"setProxyAgent",value:function setProxyAgent(agent){this.proxyAgent=agent;var httpClient=this.getHttpClient();httpClient.setHttpsAgent(this.proxyAgent);}/**
|
|
@@ -1318,7 +1318,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1318
1318
|
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(){/**
|
|
1319
1319
|
* AIStudio service.
|
|
1320
1320
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1321
|
-
* @version
|
|
1321
|
+
* @version 246.0.0
|
|
1322
1322
|
*//**
|
|
1323
1323
|
* Constructs a new AIStudioApi.
|
|
1324
1324
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1470,7 +1470,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1470
1470
|
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']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1471
1471
|
* AgentAssistants service.
|
|
1472
1472
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1473
|
-
* @version
|
|
1473
|
+
* @version 246.0.0
|
|
1474
1474
|
*//**
|
|
1475
1475
|
* Constructs a new AgentAssistantsApi.
|
|
1476
1476
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1657,7 +1657,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1657
1657
|
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']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1658
1658
|
* AgentCopilot service.
|
|
1659
1659
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1660
|
-
* @version
|
|
1660
|
+
* @version 246.0.0
|
|
1661
1661
|
*//**
|
|
1662
1662
|
* Constructs a new AgentCopilotApi.
|
|
1663
1663
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1684,7 +1684,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1684
1684
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1685
1685
|
* AgentUI service.
|
|
1686
1686
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1687
|
-
* @version
|
|
1687
|
+
* @version 246.0.0
|
|
1688
1688
|
*//**
|
|
1689
1689
|
* Constructs a new AgentUIApi.
|
|
1690
1690
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1718,7 +1718,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1718
1718
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1719
1719
|
* Alerting service.
|
|
1720
1720
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1721
|
-
* @version
|
|
1721
|
+
* @version 246.0.0
|
|
1722
1722
|
*//**
|
|
1723
1723
|
* Constructs a new AlertingApi.
|
|
1724
1724
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1807,7 +1807,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1807
1807
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1808
1808
|
* Analytics service.
|
|
1809
1809
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1810
|
-
* @version
|
|
1810
|
+
* @version 246.0.0
|
|
1811
1811
|
*//**
|
|
1812
1812
|
* Constructs a new AnalyticsApi.
|
|
1813
1813
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2626,7 +2626,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2626
2626
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
2627
2627
|
* Architect service.
|
|
2628
2628
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2629
|
-
* @version
|
|
2629
|
+
* @version 246.0.0
|
|
2630
2630
|
*//**
|
|
2631
2631
|
* Constructs a new ArchitectApi.
|
|
2632
2632
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3760,7 +3760,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3760
3760
|
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']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
3761
3761
|
* AssistantCopilotVariations service.
|
|
3762
3762
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
3763
|
-
* @version
|
|
3763
|
+
* @version 246.0.0
|
|
3764
3764
|
*//**
|
|
3765
3765
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
3766
3766
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -3805,7 +3805,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
3805
3805
|
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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3806
3806
|
* Audit service.
|
|
3807
3807
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3808
|
-
* @version
|
|
3808
|
+
* @version 246.0.0
|
|
3809
3809
|
*//**
|
|
3810
3810
|
* Constructs a new AuditApi.
|
|
3811
3811
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3855,7 +3855,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3855
3855
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3856
3856
|
* Authorization service.
|
|
3857
3857
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3858
|
-
* @version
|
|
3858
|
+
* @version 246.0.0
|
|
3859
3859
|
*//**
|
|
3860
3860
|
* Constructs a new AuthorizationApi.
|
|
3861
3861
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -4283,7 +4283,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4283
4283
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
4284
4284
|
* BackgroundAssistant service.
|
|
4285
4285
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
4286
|
-
* @version
|
|
4286
|
+
* @version 246.0.0
|
|
4287
4287
|
*//**
|
|
4288
4288
|
* Constructs a new BackgroundAssistantApi.
|
|
4289
4289
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -4304,7 +4304,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4304
4304
|
*/},{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
4305
4305
|
* Billing service.
|
|
4306
4306
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4307
|
-
* @version
|
|
4307
|
+
* @version 246.0.0
|
|
4308
4308
|
*//**
|
|
4309
4309
|
* Constructs a new BillingApi.
|
|
4310
4310
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4381,7 +4381,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4381
4381
|
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']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
4382
4382
|
* BusinessRules service.
|
|
4383
4383
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4384
|
-
* @version
|
|
4384
|
+
* @version 246.0.0
|
|
4385
4385
|
*//**
|
|
4386
4386
|
* Constructs a new BusinessRulesApi.
|
|
4387
4387
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4602,7 +4602,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4602
4602
|
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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
4603
4603
|
* CarrierServices service.
|
|
4604
4604
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4605
|
-
* @version
|
|
4605
|
+
* @version 246.0.0
|
|
4606
4606
|
*//**
|
|
4607
4607
|
* Constructs a new CarrierServicesApi.
|
|
4608
4608
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4622,7 +4622,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4622
4622
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
4623
4623
|
* Chat service.
|
|
4624
4624
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4625
|
-
* @version
|
|
4625
|
+
* @version 246.0.0
|
|
4626
4626
|
*//**
|
|
4627
4627
|
* Constructs a new ChatApi.
|
|
4628
4628
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4853,7 +4853,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4853
4853
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
4854
4854
|
* Coaching service.
|
|
4855
4855
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4856
|
-
* @version
|
|
4856
|
+
* @version 246.0.0
|
|
4857
4857
|
*//**
|
|
4858
4858
|
* Constructs a new CoachingApi.
|
|
4859
4859
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -5016,7 +5016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5016
5016
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
5017
5017
|
* ContentManagement service.
|
|
5018
5018
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
5019
|
-
* @version
|
|
5019
|
+
* @version 246.0.0
|
|
5020
5020
|
*//**
|
|
5021
5021
|
* Constructs a new ContentManagementApi.
|
|
5022
5022
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5298,7 +5298,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5298
5298
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
5299
5299
|
* Conversations service.
|
|
5300
5300
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5301
|
-
* @version
|
|
5301
|
+
* @version 246.0.0
|
|
5302
5302
|
*//**
|
|
5303
5303
|
* Constructs a new ConversationsApi.
|
|
5304
5304
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5322,6 +5322,13 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
5322
5322
|
* @param {String} conversationId conversation ID
|
|
5323
5323
|
*/},{key:"deleteConversation",value:function deleteConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
5324
5324
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}','DELETE',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5325
|
+
* Delete a custom attributes record.
|
|
5326
|
+
*
|
|
5327
|
+
* @param {String} conversationId conversation ID
|
|
5328
|
+
* @param {String} attributesId attributesId
|
|
5329
|
+
*/},{key:"deleteConversationCustomattribute",value:function deleteConversationCustomattribute(conversationId,attributesId){// verify the required parameter 'conversationId' is set
|
|
5330
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';}// verify the required parameter 'attributesId' is set
|
|
5331
|
+
if(attributesId===undefined||attributesId===null||attributesId===''){throw'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/{attributesId}','DELETE',{'conversationId':conversationId,'attributesId':attributesId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5325
5332
|
* Delete a code used to add a communication to this participant
|
|
5326
5333
|
*
|
|
5327
5334
|
* @param {String} conversationId conversation ID
|
|
@@ -5381,6 +5388,12 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
5381
5388
|
* @param {String} integrationId Integration ID
|
|
5382
5389
|
*/},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
5383
5390
|
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5391
|
+
* Delete an Open messaging integration with the Google Business Profile extension
|
|
5392
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
5393
|
+
* @param {String} integrationId Integration ID
|
|
5394
|
+
* deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5395
|
+
*/},{key:"deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
5396
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5384
5397
|
* Delete an Open messaging integration
|
|
5385
5398
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
5386
5399
|
* @param {String} integrationId Integration ID
|
|
@@ -5500,6 +5513,18 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
5500
5513
|
*/},{key:"getConversationCommunicationInternalmessages",value:function getConversationCommunicationInternalmessages(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5501
5514
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
|
|
5502
5515
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages','GET',{'conversationId':conversationId,'communicationId':communicationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5516
|
+
* Get custom attributes by id
|
|
5517
|
+
*
|
|
5518
|
+
* @param {String} conversationId conversation ID
|
|
5519
|
+
* @param {String} attributesId attributesId
|
|
5520
|
+
*/},{key:"getConversationCustomattribute",value:function getConversationCustomattribute(conversationId,attributesId){// verify the required parameter 'conversationId' is set
|
|
5521
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCustomattribute';}// verify the required parameter 'attributesId' is set
|
|
5522
|
+
if(attributesId===undefined||attributesId===null||attributesId===''){throw'Missing the required parameter "attributesId" when calling getConversationCustomattribute';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/{attributesId}','GET',{'conversationId':conversationId,'attributesId':attributesId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5523
|
+
* Get a list of custom attributes for a conversation.
|
|
5524
|
+
*
|
|
5525
|
+
* @param {String} conversationId conversation ID
|
|
5526
|
+
*/},{key:"getConversationCustomattributes",value:function getConversationCustomattributes(conversationId){// verify the required parameter 'conversationId' is set
|
|
5527
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5503
5528
|
* Fetch info on a secure session
|
|
5504
5529
|
*
|
|
5505
5530
|
* @param {String} conversationId conversation ID
|
|
@@ -5743,6 +5768,37 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
5743
5768
|
* Get active cobrowse conversations for the logged in user
|
|
5744
5769
|
*
|
|
5745
5770
|
*/},{key:"getConversationsCobrowsesessions",value:function getConversationsCobrowsesessions(){return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5771
|
+
* Get a schema
|
|
5772
|
+
*
|
|
5773
|
+
* @param {String} schemaId Schema ID
|
|
5774
|
+
*/},{key:"getConversationsCustomattributesSchema",value:function getConversationsCustomattributesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
5775
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5776
|
+
* Get a specific version of a schema
|
|
5777
|
+
*
|
|
5778
|
+
* @param {String} schemaId Schema ID
|
|
5779
|
+
* @param {String} versionId Schema version
|
|
5780
|
+
*/},{key:"getConversationsCustomattributesSchemaVersion",value:function getConversationsCustomattributesSchemaVersion(schemaId,versionId){// verify the required parameter 'schemaId' is set
|
|
5781
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';}// verify the required parameter 'versionId' is set
|
|
5782
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}','GET',{'schemaId':schemaId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5783
|
+
* Get all versions of a CCA schema
|
|
5784
|
+
*
|
|
5785
|
+
* @param {String} schemaId Schema ID
|
|
5786
|
+
*/},{key:"getConversationsCustomattributesSchemaVersions",value:function getConversationsCustomattributesSchemaVersions(schemaId){// verify the required parameter 'schemaId' is set
|
|
5787
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}/versions','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5788
|
+
* Get a list of schemas.
|
|
5789
|
+
*
|
|
5790
|
+
*/},{key:"getConversationsCustomattributesSchemas",value:function getConversationsCustomattributesSchemas(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5791
|
+
* Get the core types from which all schemas are built.
|
|
5792
|
+
*
|
|
5793
|
+
* @param {String} coreTypeName Name of the core type
|
|
5794
|
+
*/},{key:"getConversationsCustomattributesSchemasCoretype",value:function getConversationsCustomattributesSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
5795
|
+
if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5796
|
+
* Get the list of core types enabled for a specific namespace.
|
|
5797
|
+
*
|
|
5798
|
+
*/},{key:"getConversationsCustomattributesSchemasCoretypes",value:function getConversationsCustomattributesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5799
|
+
* Get quantitative limits on schemas
|
|
5800
|
+
*
|
|
5801
|
+
*/},{key:"getConversationsCustomattributesSchemasLimits",value:function getConversationsCustomattributesSchemasLimits(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5746
5802
|
* Get email conversation
|
|
5747
5803
|
*
|
|
5748
5804
|
* @param {String} conversationId conversationId
|
|
@@ -5833,7 +5889,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
5833
5889
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
5834
5890
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5835
5891
|
* Get media
|
|
5836
|
-
* See https://developer.genesys.cloud/
|
|
5892
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
5837
5893
|
* @param {String} conversationId conversationId
|
|
5838
5894
|
* @param {String} communicationId communicationId
|
|
5839
5895
|
* @param {String} mediaId mediaId
|
|
@@ -6006,6 +6062,30 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
6006
6062
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
6007
6063
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
6008
6064
|
*/},{key:"getConversationsMessagingIntegrationsOpen",value:function getConversationsMessagingIntegrationsOpen(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6065
|
+
* Get an Open messaging integration with the Google Business Profile extension
|
|
6066
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6067
|
+
* @param {String} integrationId Integration ID
|
|
6068
|
+
* @param {Object} opts Optional parameters
|
|
6069
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
6070
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6071
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
6072
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6073
|
+
* Get Google Business Profile OAuth 2 settings
|
|
6074
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6075
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6076
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings(){return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6077
|
+
* Get a Google Auth Token
|
|
6078
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6079
|
+
* @param {String} tokenId Token ID
|
|
6080
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6081
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(tokenId){// verify the required parameter 'tokenId' is set
|
|
6082
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}','GET',{'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6083
|
+
* Get Google Business Profile accounts
|
|
6084
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6085
|
+
* @param {String} tokenId Token ID
|
|
6086
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6087
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(tokenId){// verify the required parameter 'tokenId' is set
|
|
6088
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts','GET',{'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6009
6089
|
* Get an Open messaging integration
|
|
6010
6090
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6011
6091
|
* @param {String} integrationId Integration ID
|
|
@@ -6136,6 +6216,20 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
6136
6216
|
* @param {String} meetingId meetingId
|
|
6137
6217
|
*/},{key:"getConversationsVideosMeeting",value:function getConversationsVideosMeeting(meetingId){// verify the required parameter 'meetingId' is set
|
|
6138
6218
|
if(meetingId===undefined||meetingId===null||meetingId===''){throw'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings/{meetingId}','GET',{'meetingId':meetingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6219
|
+
* Update a single custom attributes record by amending the data with only the provided fields.
|
|
6220
|
+
*
|
|
6221
|
+
* @param {String} conversationId conversation ID
|
|
6222
|
+
* @param {Object} opts Optional parameters
|
|
6223
|
+
* @param {Object} opts.body
|
|
6224
|
+
*/},{key:"patchConversationCustomattributes",value:function patchConversationCustomattributes(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
6225
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','PATCH',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6226
|
+
* Update a list of custom attributes record by amending the data with only the provided fields.
|
|
6227
|
+
*
|
|
6228
|
+
* @param {String} conversationId conversation ID
|
|
6229
|
+
* @param {Object} opts Optional parameters
|
|
6230
|
+
* @param {Array.<Object>} opts.body
|
|
6231
|
+
*/},{key:"patchConversationCustomattributesBulk",value:function patchConversationCustomattributesBulk(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
6232
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/bulk','PATCH',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6139
6233
|
* Update a participant.
|
|
6140
6234
|
* Update conversation participant.
|
|
6141
6235
|
* @param {String} conversationId conversation ID
|
|
@@ -6510,6 +6604,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6510
6604
|
*/},{key:"patchConversationsMessagingIntegrationsInstagramIntegrationId",value:function patchConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
6511
6605
|
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';}// verify the required parameter 'body' is set
|
|
6512
6606
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6607
|
+
* Update an Open messaging integration with the Google Business Profile extension
|
|
6608
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6609
|
+
* @param {String} integrationId Integration ID
|
|
6610
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationUpdateRequest
|
|
6611
|
+
* patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6612
|
+
*/},{key:"patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
6613
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}// verify the required parameter 'body' is set
|
|
6614
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6513
6615
|
* Update an Open messaging integration
|
|
6514
6616
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
6515
6617
|
* @param {String} integrationId Integration ID
|
|
@@ -7019,6 +7121,16 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
7019
7121
|
*/},{key:"postConversationsCobrowsesessionParticipantReplace",value:function postConversationsCobrowsesessionParticipantReplace(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
7020
7122
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
7021
7123
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7124
|
+
* Create a schema
|
|
7125
|
+
*
|
|
7126
|
+
* @param {Object} body Schema create request body
|
|
7127
|
+
*/},{key:"postConversationsCustomattributesSchemas",value:function postConversationsCustomattributesSchemas(body){// verify the required parameter 'body' is set
|
|
7128
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7129
|
+
* Search resources.
|
|
7130
|
+
*
|
|
7131
|
+
* @param {Object} body Search request options
|
|
7132
|
+
*/},{key:"postConversationsCustomattributesSearch",value:function postConversationsCustomattributesSearch(body){// verify the required parameter 'body' is set
|
|
7133
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';}return this.apiClient.callApi('/api/v2/conversations/customattributes/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7022
7134
|
* Send an email to an external conversation. An external conversation is one where the provider is not PureCloud based. This endpoint allows the sender of the external email to reply or send a new message to the existing conversation. The new message will be treated as part of the existing conversation and chained to it.
|
|
7023
7135
|
*
|
|
7024
7136
|
* @param {String} conversationId conversationId
|
|
@@ -7110,7 +7222,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7110
7222
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
7111
7223
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7112
7224
|
* Create a URL to upload a message media file
|
|
7113
|
-
* See https://developer.genesys.cloud/
|
|
7225
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
7114
7226
|
* @param {String} conversationId conversationId
|
|
7115
7227
|
* @param {String} communicationId communicationId
|
|
7116
7228
|
* @param {Object} body request
|
|
@@ -7239,6 +7351,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7239
7351
|
* @param {Object} body OpenIntegrationRequest
|
|
7240
7352
|
*/},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
|
|
7241
7353
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7354
|
+
* Create an Open messaging integration with the Google Business Profile extension
|
|
7355
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
7356
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationRequest
|
|
7357
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7358
|
+
*/},{key:"postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile",value:function postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(body){// verify the required parameter 'body' is set
|
|
7359
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7360
|
+
* Create a Google Auth Token by exchanging the one-time auth code retrieved from Google
|
|
7361
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
7362
|
+
* @param {Object} body GoogleAuthTokenRequest
|
|
7363
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7364
|
+
*/},{key:"postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens",value:function postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(body){// verify the required parameter 'body' is set
|
|
7365
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7242
7366
|
* Create Twitter Integration
|
|
7243
7367
|
*
|
|
7244
7368
|
* @param {Object} body TwitterIntegrationRequest
|
|
@@ -7317,6 +7441,20 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
7317
7441
|
* @param {Object} body MeetingIdRequest
|
|
7318
7442
|
*/},{key:"postConversationsVideosMeetings",value:function postConversationsVideosMeetings(body){// verify the required parameter 'body' is set
|
|
7319
7443
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsVideosMeetings';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7444
|
+
* Create or update a single custom attributes record. Updating replaces all data with the provided fields.
|
|
7445
|
+
*
|
|
7446
|
+
* @param {String} conversationId conversation ID
|
|
7447
|
+
* @param {Object} opts Optional parameters
|
|
7448
|
+
* @param {Object} opts.body
|
|
7449
|
+
*/},{key:"putConversationCustomattributes",value:function putConversationCustomattributes(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
7450
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','PUT',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7451
|
+
* Create or update a list of custom attributes records. Updating replaces all data with the provided fields.
|
|
7452
|
+
*
|
|
7453
|
+
* @param {String} conversationId conversation ID
|
|
7454
|
+
* @param {Object} opts Optional parameters
|
|
7455
|
+
* @param {Array.<Object>} opts.body
|
|
7456
|
+
*/},{key:"putConversationCustomattributesBulk",value:function putConversationCustomattributesBulk(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
7457
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/bulk','PUT',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7320
7458
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
7321
7459
|
*
|
|
7322
7460
|
* @param {String} conversationId conversation ID
|
|
@@ -7379,6 +7517,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7379
7517
|
*/},{key:"putConversationsCobrowsesessionRecordingstate",value:function putConversationsCobrowsesessionRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
7380
7518
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';}// verify the required parameter 'body' is set
|
|
7381
7519
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7520
|
+
* Update a schema
|
|
7521
|
+
*
|
|
7522
|
+
* @param {String} schemaId Schema ID
|
|
7523
|
+
* @param {Object} body Schema update request body
|
|
7524
|
+
*/},{key:"putConversationsCustomattributesSchema",value:function putConversationsCustomattributesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
|
|
7525
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';}// verify the required parameter 'body' is set
|
|
7526
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7382
7527
|
* Update conversation draft reply
|
|
7383
7528
|
*
|
|
7384
7529
|
* @param {String} conversationId conversationId
|
|
@@ -7488,7 +7633,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7488
7633
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
7489
7634
|
* DataExtensions service.
|
|
7490
7635
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7491
|
-
* @version
|
|
7636
|
+
* @version 246.0.0
|
|
7492
7637
|
*//**
|
|
7493
7638
|
* Constructs a new DataExtensionsApi.
|
|
7494
7639
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7509,7 +7654,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7509
7654
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
7510
7655
|
* DataPrivacy service.
|
|
7511
7656
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7512
|
-
* @version
|
|
7657
|
+
* @version 246.0.0
|
|
7513
7658
|
*//**
|
|
7514
7659
|
* Constructs a new DataPrivacyApi.
|
|
7515
7660
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7549,7 +7694,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7549
7694
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
7550
7695
|
* Downloads service.
|
|
7551
7696
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7552
|
-
* @version
|
|
7697
|
+
* @version 246.0.0
|
|
7553
7698
|
*//**
|
|
7554
7699
|
* Constructs a new DownloadsApi.
|
|
7555
7700
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7568,7 +7713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7568
7713
|
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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
7569
7714
|
* Emails service.
|
|
7570
7715
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7571
|
-
* @version
|
|
7716
|
+
* @version 246.0.0
|
|
7572
7717
|
*//**
|
|
7573
7718
|
* Constructs a new EmailsApi.
|
|
7574
7719
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7597,7 +7742,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7597
7742
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
7598
7743
|
* EmployeeEngagement service.
|
|
7599
7744
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7600
|
-
* @version
|
|
7745
|
+
* @version 246.0.0
|
|
7601
7746
|
*//**
|
|
7602
7747
|
* Constructs a new EmployeeEngagementApi.
|
|
7603
7748
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7645,7 +7790,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7645
7790
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
7646
7791
|
* Events service.
|
|
7647
7792
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7648
|
-
* @version
|
|
7793
|
+
* @version 246.0.0
|
|
7649
7794
|
*//**
|
|
7650
7795
|
* Constructs a new EventsApi.
|
|
7651
7796
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7670,7 +7815,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7670
7815
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
7671
7816
|
* ExternalContacts service.
|
|
7672
7817
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7673
|
-
* @version
|
|
7818
|
+
* @version 246.0.0
|
|
7674
7819
|
*//**
|
|
7675
7820
|
* Constructs a new ExternalContactsApi.
|
|
7676
7821
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8420,7 +8565,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8420
8565
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
8421
8566
|
* Fax service.
|
|
8422
8567
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8423
|
-
* @version
|
|
8568
|
+
* @version 246.0.0
|
|
8424
8569
|
*//**
|
|
8425
8570
|
* Constructs a new FaxApi.
|
|
8426
8571
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8469,7 +8614,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8469
8614
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
8470
8615
|
* Flows service.
|
|
8471
8616
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8472
|
-
* @version
|
|
8617
|
+
* @version 246.0.0
|
|
8473
8618
|
*//**
|
|
8474
8619
|
* Constructs a new FlowsApi.
|
|
8475
8620
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8523,7 +8668,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8523
8668
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
8524
8669
|
* Gamification service.
|
|
8525
8670
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8526
|
-
* @version
|
|
8671
|
+
* @version 246.0.0
|
|
8527
8672
|
*//**
|
|
8528
8673
|
* Constructs a new GamificationApi.
|
|
8529
8674
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -9194,7 +9339,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9194
9339
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
9195
9340
|
* GeneralDataProtectionRegulation service.
|
|
9196
9341
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
9197
|
-
* @version
|
|
9342
|
+
* @version 246.0.0
|
|
9198
9343
|
*//**
|
|
9199
9344
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
9200
9345
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -9229,7 +9374,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
9229
9374
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
9230
9375
|
* Geolocation service.
|
|
9231
9376
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
9232
|
-
* @version
|
|
9377
|
+
* @version 246.0.0
|
|
9233
9378
|
*//**
|
|
9234
9379
|
* Constructs a new GeolocationApi.
|
|
9235
9380
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -9263,7 +9408,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
9263
9408
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
9264
9409
|
* Greetings service.
|
|
9265
9410
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
9266
|
-
* @version
|
|
9411
|
+
* @version 246.0.0
|
|
9267
9412
|
*//**
|
|
9268
9413
|
* Constructs a new GreetingsApi.
|
|
9269
9414
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9391,7 +9536,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9391
9536
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
9392
9537
|
* Groups service.
|
|
9393
9538
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9394
|
-
* @version
|
|
9539
|
+
* @version 246.0.0
|
|
9395
9540
|
*//**
|
|
9396
9541
|
* Constructs a new GroupsApi.
|
|
9397
9542
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9524,7 +9669,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9524
9669
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
9525
9670
|
* IdentityProvider service.
|
|
9526
9671
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9527
|
-
* @version
|
|
9672
|
+
* @version 246.0.0
|
|
9528
9673
|
*//**
|
|
9529
9674
|
* Constructs a new IdentityProviderApi.
|
|
9530
9675
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9680,7 +9825,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9680
9825
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
9681
9826
|
* InfrastructureAsCode service.
|
|
9682
9827
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9683
|
-
* @version
|
|
9828
|
+
* @version 246.0.0
|
|
9684
9829
|
*//**
|
|
9685
9830
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9686
9831
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9734,7 +9879,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9734
9879
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
9735
9880
|
* Integrations service.
|
|
9736
9881
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9737
|
-
* @version
|
|
9882
|
+
* @version 246.0.0
|
|
9738
9883
|
*//**
|
|
9739
9884
|
* Constructs a new IntegrationsApi.
|
|
9740
9885
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10426,7 +10571,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10426
10571
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
10427
10572
|
* Intents service.
|
|
10428
10573
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
10429
|
-
* @version
|
|
10574
|
+
* @version 246.0.0
|
|
10430
10575
|
*//**
|
|
10431
10576
|
* Constructs a new IntentsApi.
|
|
10432
10577
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -10543,7 +10688,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10543
10688
|
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']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
10544
10689
|
* Journey service.
|
|
10545
10690
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10546
|
-
* @version
|
|
10691
|
+
* @version 246.0.0
|
|
10547
10692
|
*//**
|
|
10548
10693
|
* Constructs a new JourneyApi.
|
|
10549
10694
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -11052,7 +11197,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
11052
11197
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
11053
11198
|
* Knowledge service.
|
|
11054
11199
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
11055
|
-
* @version
|
|
11200
|
+
* @version 246.0.0
|
|
11056
11201
|
*//**
|
|
11057
11202
|
* Constructs a new KnowledgeApi.
|
|
11058
11203
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11889,7 +12034,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11889
12034
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
11890
12035
|
* LanguageUnderstanding service.
|
|
11891
12036
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11892
|
-
* @version
|
|
12037
|
+
* @version 246.0.0
|
|
11893
12038
|
*//**
|
|
11894
12039
|
* Constructs a new LanguageUnderstandingApi.
|
|
11895
12040
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -12198,7 +12343,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
12198
12343
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
12199
12344
|
* Languages service.
|
|
12200
12345
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
12201
|
-
* @version
|
|
12346
|
+
* @version 246.0.0
|
|
12202
12347
|
*//**
|
|
12203
12348
|
* Constructs a new LanguagesApi.
|
|
12204
12349
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -12253,7 +12398,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12253
12398
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
12254
12399
|
* Learning service.
|
|
12255
12400
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
12256
|
-
* @version
|
|
12401
|
+
* @version 246.0.0
|
|
12257
12402
|
*//**
|
|
12258
12403
|
* Constructs a new LearningApi.
|
|
12259
12404
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12542,7 +12687,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12542
12687
|
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']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
12543
12688
|
* License service.
|
|
12544
12689
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12545
|
-
* @version
|
|
12690
|
+
* @version 246.0.0
|
|
12546
12691
|
*//**
|
|
12547
12692
|
* Constructs a new LicenseApi.
|
|
12548
12693
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12596,7 +12741,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12596
12741
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
12597
12742
|
* Locations service.
|
|
12598
12743
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12599
|
-
* @version
|
|
12744
|
+
* @version 246.0.0
|
|
12600
12745
|
*//**
|
|
12601
12746
|
* Constructs a new LocationsApi.
|
|
12602
12747
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12655,7 +12800,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12655
12800
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
12656
12801
|
* LogCapture service.
|
|
12657
12802
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12658
|
-
* @version
|
|
12803
|
+
* @version 246.0.0
|
|
12659
12804
|
*//**
|
|
12660
12805
|
* Constructs a new LogCaptureApi.
|
|
12661
12806
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12704,7 +12849,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12704
12849
|
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']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
12705
12850
|
* Messaging service.
|
|
12706
12851
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12707
|
-
* @version
|
|
12852
|
+
* @version 246.0.0
|
|
12708
12853
|
*//**
|
|
12709
12854
|
* Constructs a new MessagingApi.
|
|
12710
12855
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12794,7 +12939,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12794
12939
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
12795
12940
|
* MobileDevices service.
|
|
12796
12941
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12797
|
-
* @version
|
|
12942
|
+
* @version 246.0.0
|
|
12798
12943
|
*//**
|
|
12799
12944
|
* Constructs a new MobileDevicesApi.
|
|
12800
12945
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12833,7 +12978,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12833
12978
|
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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
12834
12979
|
* Notifications service.
|
|
12835
12980
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12836
|
-
* @version
|
|
12981
|
+
* @version 246.0.0
|
|
12837
12982
|
*//**
|
|
12838
12983
|
* Constructs a new NotificationsApi.
|
|
12839
12984
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12890,7 +13035,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12890
13035
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
12891
13036
|
* OAuth service.
|
|
12892
13037
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12893
|
-
* @version
|
|
13038
|
+
* @version 246.0.0
|
|
12894
13039
|
*//**
|
|
12895
13040
|
* Constructs a new OAuthApi.
|
|
12896
13041
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12975,7 +13120,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12975
13120
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
12976
13121
|
* Objects service.
|
|
12977
13122
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12978
|
-
* @version
|
|
13123
|
+
* @version 246.0.0
|
|
12979
13124
|
*//**
|
|
12980
13125
|
* Constructs a new ObjectsApi.
|
|
12981
13126
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -13061,7 +13206,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
13061
13206
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
13062
13207
|
* OperationalEvents service.
|
|
13063
13208
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
13064
|
-
* @version
|
|
13209
|
+
* @version 246.0.0
|
|
13065
13210
|
*//**
|
|
13066
13211
|
* Constructs a new OperationalEventsApi.
|
|
13067
13212
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -13092,7 +13237,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
13092
13237
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
13093
13238
|
* Organization service.
|
|
13094
13239
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
13095
|
-
* @version
|
|
13240
|
+
* @version 246.0.0
|
|
13096
13241
|
*//**
|
|
13097
13242
|
* Constructs a new OrganizationApi.
|
|
13098
13243
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -13197,7 +13342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13197
13342
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
13198
13343
|
* OrganizationAuthorization service.
|
|
13199
13344
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
13200
|
-
* @version
|
|
13345
|
+
* @version 246.0.0
|
|
13201
13346
|
*//**
|
|
13202
13347
|
* Constructs a new OrganizationAuthorizationApi.
|
|
13203
13348
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13531,7 +13676,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13531
13676
|
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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
13532
13677
|
* Outbound service.
|
|
13533
13678
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13534
|
-
* @version
|
|
13679
|
+
* @version 246.0.0
|
|
13535
13680
|
*//**
|
|
13536
13681
|
* Constructs a new OutboundApi.
|
|
13537
13682
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14698,7 +14843,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14698
14843
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
14699
14844
|
* Presence service.
|
|
14700
14845
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14701
|
-
* @version
|
|
14846
|
+
* @version 246.0.0
|
|
14702
14847
|
*//**
|
|
14703
14848
|
* Constructs a new PresenceApi.
|
|
14704
14849
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14871,7 +15016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14871
15016
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
14872
15017
|
* ProcessAutomation service.
|
|
14873
15018
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14874
|
-
* @version
|
|
15019
|
+
* @version 246.0.0
|
|
14875
15020
|
*//**
|
|
14876
15021
|
* Constructs a new ProcessAutomationApi.
|
|
14877
15022
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14934,7 +15079,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14934
15079
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
14935
15080
|
* Quality service.
|
|
14936
15081
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14937
|
-
* @version
|
|
15082
|
+
* @version 246.0.0
|
|
14938
15083
|
*//**
|
|
14939
15084
|
* Constructs a new QualityApi.
|
|
14940
15085
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15477,7 +15622,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15477
15622
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
15478
15623
|
* Recording service.
|
|
15479
15624
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15480
|
-
* @version
|
|
15625
|
+
* @version 246.0.0
|
|
15481
15626
|
*//**
|
|
15482
15627
|
* Constructs a new RecordingApi.
|
|
15483
15628
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15876,7 +16021,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15876
16021
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
15877
16022
|
* ResponseManagement service.
|
|
15878
16023
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15879
|
-
* @version
|
|
16024
|
+
* @version 246.0.0
|
|
15880
16025
|
*//**
|
|
15881
16026
|
* Constructs a new ResponseManagementApi.
|
|
15882
16027
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15997,7 +16142,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15997
16142
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
15998
16143
|
* Routing service.
|
|
15999
16144
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
16000
|
-
* @version
|
|
16145
|
+
* @version 246.0.0
|
|
16001
16146
|
*//**
|
|
16002
16147
|
* Constructs a new RoutingApi.
|
|
16003
16148
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -16773,6 +16918,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16773
16918
|
* @param {Object} body Organization Settings
|
|
16774
16919
|
*/},{key:"patchRoutingSettingsTranscription",value:function patchRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
16775
16920
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16921
|
+
* Update Routing Skill Division
|
|
16922
|
+
*
|
|
16923
|
+
* @param {String} skillId Skill ID
|
|
16924
|
+
* @param {Object} body updateSkillDivisionRequest
|
|
16925
|
+
*/},{key:"patchRoutingSkill",value:function patchRoutingSkill(skillId,body){// verify the required parameter 'skillId' is set
|
|
16926
|
+
if(skillId===undefined||skillId===null||skillId===''){throw'Missing the required parameter "skillId" when calling patchRoutingSkill';}// verify the required parameter 'body' is set
|
|
16927
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSkill';}return this.apiClient.callApi('/api/v2/routing/skills/{skillId}','PATCH',{'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16776
16928
|
* Update skill group definition
|
|
16777
16929
|
*
|
|
16778
16930
|
* @param {String} skillGroupId Skill Group ID
|
|
@@ -17136,7 +17288,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17136
17288
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
17137
17289
|
* SCIM service.
|
|
17138
17290
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
17139
|
-
* @version
|
|
17291
|
+
* @version 246.0.0
|
|
17140
17292
|
*//**
|
|
17141
17293
|
* Constructs a new SCIMApi.
|
|
17142
17294
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -17361,7 +17513,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17361
17513
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
17362
17514
|
* Scripts service.
|
|
17363
17515
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
17364
|
-
* @version
|
|
17516
|
+
* @version 246.0.0
|
|
17365
17517
|
*//**
|
|
17366
17518
|
* Constructs a new ScriptsApi.
|
|
17367
17519
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17507,7 +17659,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17507
17659
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
17508
17660
|
* Search service.
|
|
17509
17661
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17510
|
-
* @version
|
|
17662
|
+
* @version 246.0.0
|
|
17511
17663
|
*//**
|
|
17512
17664
|
* Constructs a new SearchApi.
|
|
17513
17665
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17577,6 +17729,11 @@ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when
|
|
|
17577
17729
|
* @param {Array.<String>} opts.expand expand
|
|
17578
17730
|
*/},{key:"getVoicemailSearch",value:function getVoicemailSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
17579
17731
|
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17732
|
+
* Search resources.
|
|
17733
|
+
*
|
|
17734
|
+
* @param {Object} body Search request options
|
|
17735
|
+
*/},{key:"postConversationsCustomattributesSearch",value:function postConversationsCustomattributesSearch(body){// verify the required parameter 'body' is set
|
|
17736
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';}return this.apiClient.callApi('/api/v2/conversations/customattributes/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17580
17737
|
* Search conversations
|
|
17581
17738
|
*
|
|
17582
17739
|
* @param {Object} body Search request options
|
|
@@ -17666,7 +17823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17666
17823
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
17667
17824
|
* Settings service.
|
|
17668
17825
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17669
|
-
* @version
|
|
17826
|
+
* @version 246.0.0
|
|
17670
17827
|
*//**
|
|
17671
17828
|
* Constructs a new SettingsApi.
|
|
17672
17829
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17738,7 +17895,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17738
17895
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
17739
17896
|
* SocialMedia service.
|
|
17740
17897
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17741
|
-
* @version
|
|
17898
|
+
* @version 246.0.0
|
|
17742
17899
|
*//**
|
|
17743
17900
|
* Constructs a new SocialMediaApi.
|
|
17744
17901
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17773,6 +17930,16 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17773
17930
|
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
17774
17931
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
17775
17932
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17933
|
+
* Delete a Google Business Profile data ingestion rule.
|
|
17934
|
+
*
|
|
17935
|
+
* @param {String} topicId topicId
|
|
17936
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
17937
|
+
* @param {Object} opts Optional parameters
|
|
17938
|
+
* @param {Boolean} opts.hardDelete Determines whether a Google Business Profile data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
17939
|
+
* deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17940
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
17941
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
17942
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','DELETE',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17776
17943
|
* Delete a Instagram data ingestion rule.
|
|
17777
17944
|
*
|
|
17778
17945
|
* @param {String} topicId topicId
|
|
@@ -17886,6 +18053,40 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIn
|
|
|
17886
18053
|
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
17887
18054
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
17888
18055
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18056
|
+
* Get a single Google Business Profile data ingestion rule.
|
|
18057
|
+
*
|
|
18058
|
+
* @param {String} topicId topicId
|
|
18059
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
18060
|
+
* @param {Object} opts Optional parameters
|
|
18061
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
18062
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18063
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18064
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
18065
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18066
|
+
* Get a single Google Business Profile data ingestion rule version.
|
|
18067
|
+
*
|
|
18068
|
+
* @param {String} topicId topicId
|
|
18069
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
18070
|
+
* @param {String} dataIngestionRuleVersion version
|
|
18071
|
+
* @param {Object} opts Optional parameters
|
|
18072
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
18073
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18074
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId,googleBusinessProfileIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18075
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
18076
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
18077
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIngestionRuleVersion===''){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18078
|
+
* Get the Google Business Profile data ingestion rule versions.
|
|
18079
|
+
*
|
|
18080
|
+
* @param {String} topicId topicId
|
|
18081
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
18082
|
+
* @param {Object} opts Optional parameters
|
|
18083
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18084
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
18085
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
18086
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18087
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18088
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
18089
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17889
18090
|
* Get a single Instagram data ingestion rule.
|
|
17890
18091
|
*
|
|
17891
18092
|
* @param {String} topicId topicId
|
|
@@ -18005,6 +18206,16 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18005
18206
|
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18006
18207
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
18007
18208
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18209
|
+
* Update the status of a Google Business Profile data ingestion rule.
|
|
18210
|
+
*
|
|
18211
|
+
* @param {String} topicId topicId
|
|
18212
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
18213
|
+
* @param {Object} opts Optional parameters
|
|
18214
|
+
* @param {Object} opts.body
|
|
18215
|
+
* patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18216
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18217
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
18218
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','PATCH',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18008
18219
|
* Update the status of a Instagram data ingestion rule.
|
|
18009
18220
|
*
|
|
18010
18221
|
* @param {String} topicId topicId
|
|
@@ -18061,6 +18272,14 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
18061
18272
|
* @param {Object} opts.body
|
|
18062
18273
|
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18063
18274
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18275
|
+
* Create a Google Business Profile data ingestion rule.
|
|
18276
|
+
*
|
|
18277
|
+
* @param {String} topicId topicId
|
|
18278
|
+
* @param {Object} opts Optional parameters
|
|
18279
|
+
* @param {Object} opts.body
|
|
18280
|
+
* postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18281
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesGooglebusinessprofile",value:function postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18282
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18064
18283
|
* Create an Instagram data ingestion rule.
|
|
18065
18284
|
*
|
|
18066
18285
|
* @param {String} topicId topicId
|
|
@@ -18126,6 +18345,16 @@ if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId==='')
|
|
|
18126
18345
|
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18127
18346
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
18128
18347
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18348
|
+
* Update the Google Business Profile data ingestion rule.
|
|
18349
|
+
*
|
|
18350
|
+
* @param {String} topicId topicId
|
|
18351
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
18352
|
+
* @param {Object} opts Optional parameters
|
|
18353
|
+
* @param {Object} opts.body
|
|
18354
|
+
* putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18355
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
18356
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
18357
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','PUT',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18129
18358
|
* Update the Instagram data ingestion rule.
|
|
18130
18359
|
*
|
|
18131
18360
|
* @param {String} topicId topicId
|
|
@@ -18155,7 +18384,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18155
18384
|
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']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
18156
18385
|
* SpeechTextAnalytics service.
|
|
18157
18386
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
18158
|
-
* @version
|
|
18387
|
+
* @version 246.0.0
|
|
18159
18388
|
*//**
|
|
18160
18389
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
18161
18390
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18534,7 +18763,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18534
18763
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
18535
18764
|
* Stations service.
|
|
18536
18765
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18537
|
-
* @version
|
|
18766
|
+
* @version 246.0.0
|
|
18538
18767
|
*//**
|
|
18539
18768
|
* Constructs a new StationsApi.
|
|
18540
18769
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18566,7 +18795,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18566
18795
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
18567
18796
|
* Suggest service.
|
|
18568
18797
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18569
|
-
* @version
|
|
18798
|
+
* @version 246.0.0
|
|
18570
18799
|
*//**
|
|
18571
18800
|
* Constructs a new SuggestApi.
|
|
18572
18801
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18606,7 +18835,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18606
18835
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
18607
18836
|
* TaskManagement service.
|
|
18608
18837
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18609
|
-
* @version
|
|
18838
|
+
* @version 246.0.0
|
|
18610
18839
|
*//**
|
|
18611
18840
|
* Constructs a new TaskManagementApi.
|
|
18612
18841
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19114,7 +19343,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
19114
19343
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
19115
19344
|
* Teams service.
|
|
19116
19345
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19117
|
-
* @version
|
|
19346
|
+
* @version 246.0.0
|
|
19118
19347
|
*//**
|
|
19119
19348
|
* Constructs a new TeamsApi.
|
|
19120
19349
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19194,7 +19423,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19194
19423
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
19195
19424
|
* Telephony service.
|
|
19196
19425
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19197
|
-
* @version
|
|
19426
|
+
* @version 246.0.0
|
|
19198
19427
|
*//**
|
|
19199
19428
|
* Constructs a new TelephonyApi.
|
|
19200
19429
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -19261,7 +19490,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19261
19490
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
19262
19491
|
* TelephonyProvidersEdge service.
|
|
19263
19492
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
19264
|
-
* @version
|
|
19493
|
+
* @version 246.0.0
|
|
19265
19494
|
*//**
|
|
19266
19495
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
19267
19496
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20109,7 +20338,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
20109
20338
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
20110
20339
|
* Textbots service.
|
|
20111
20340
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20112
|
-
* @version
|
|
20341
|
+
* @version 246.0.0
|
|
20113
20342
|
*//**
|
|
20114
20343
|
* Constructs a new TextbotsApi.
|
|
20115
20344
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20145,7 +20374,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20145
20374
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
20146
20375
|
* Tokens service.
|
|
20147
20376
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20148
|
-
* @version
|
|
20377
|
+
* @version 246.0.0
|
|
20149
20378
|
*//**
|
|
20150
20379
|
* Constructs a new TokensApi.
|
|
20151
20380
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20179,7 +20408,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20179
20408
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
20180
20409
|
* Uploads service.
|
|
20181
20410
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20182
|
-
* @version
|
|
20411
|
+
* @version 246.0.0
|
|
20183
20412
|
*//**
|
|
20184
20413
|
* Constructs a new UploadsApi.
|
|
20185
20414
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20252,7 +20481,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20252
20481
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
20253
20482
|
* Usage service.
|
|
20254
20483
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20255
|
-
* @version
|
|
20484
|
+
* @version 246.0.0
|
|
20256
20485
|
*//**
|
|
20257
20486
|
* Constructs a new UsageApi.
|
|
20258
20487
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20336,7 +20565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20336
20565
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
20337
20566
|
* UserRecordings service.
|
|
20338
20567
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20339
|
-
* @version
|
|
20568
|
+
* @version 246.0.0
|
|
20340
20569
|
*//**
|
|
20341
20570
|
* Constructs a new UserRecordingsApi.
|
|
20342
20571
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20384,7 +20613,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
20384
20613
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
20385
20614
|
* Users service.
|
|
20386
20615
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20387
|
-
* @version
|
|
20616
|
+
* @version 246.0.0
|
|
20388
20617
|
*//**
|
|
20389
20618
|
* Constructs a new UsersApi.
|
|
20390
20619
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21234,7 +21463,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
21234
21463
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
21235
21464
|
* UsersRules service.
|
|
21236
21465
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
21237
|
-
* @version
|
|
21466
|
+
* @version 246.0.0
|
|
21238
21467
|
*//**
|
|
21239
21468
|
* Constructs a new UsersRulesApi.
|
|
21240
21469
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -21245,13 +21474,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21245
21474
|
* Delete an existing users rule
|
|
21246
21475
|
*
|
|
21247
21476
|
* @param {String} ruleId The id of the rule
|
|
21248
|
-
* deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21249
21477
|
*/return _createClass(UsersRulesApi,[{key:"deleteUsersRule",value:function deleteUsersRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
21250
21478
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling deleteUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21251
21479
|
* Get a users rule
|
|
21252
21480
|
*
|
|
21253
21481
|
* @param {String} ruleId The ID of the rule to retrieve
|
|
21254
|
-
* getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21255
21482
|
*/},{key:"getUsersRule",value:function getUsersRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
21256
21483
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21257
21484
|
* Get dependent of a users rule
|
|
@@ -21259,7 +21486,6 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
21259
21486
|
* @param {String} ruleId The ID of the rule for which to retrieve dependents
|
|
21260
21487
|
* @param {Object} ruleType The type of the dependent
|
|
21261
21488
|
* @param {String} typeId The type ID of the dependent
|
|
21262
|
-
* getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21263
21489
|
*/},{key:"getUsersRuleDependentTypeId",value:function getUsersRuleDependentTypeId(ruleId,ruleType,typeId){// verify the required parameter 'ruleId' is set
|
|
21264
21490
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'ruleType' is set
|
|
21265
21491
|
if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'typeId' is set
|
|
@@ -21271,7 +21497,6 @@ if(typeId===undefined||typeId===null||typeId===''){throw'Missing the required pa
|
|
|
21271
21497
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
21272
21498
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21273
21499
|
* @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
|
|
21274
|
-
* getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21275
21500
|
*/},{key:"getUsersRuleDependents",value:function getUsersRuleDependents(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
21276
21501
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependents';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}/dependents','GET',{'ruleId':ruleId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21277
21502
|
* Get the list of users rules
|
|
@@ -21284,27 +21509,23 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
21284
21509
|
* @param {Boolean} opts.enabled Whether to list enabled or disabled rules
|
|
21285
21510
|
* @param {String} opts.searchTerm a search term for finding a rule by name
|
|
21286
21511
|
* @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
|
|
21287
|
-
* getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21288
21512
|
*/},{key:"getUsersRules",value:function getUsersRules(types,opts){opts=opts||{};// verify the required parameter 'types' is set
|
|
21289
21513
|
if(types===undefined||types===null){throw'Missing the required parameter "types" when calling getUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'types':this.apiClient.buildCollectionParam(types,'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'enabled':opts['enabled'],'searchTerm':opts['searchTerm'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21290
21514
|
* Get the settings for a specific users rule type
|
|
21291
21515
|
*
|
|
21292
21516
|
* @param {Object} ruleType The type of the rule
|
|
21293
|
-
* getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21294
21517
|
*/},{key:"getUsersRulesSetting",value:function getUsersRulesSetting(ruleType){// verify the required parameter 'ruleType' is set
|
|
21295
21518
|
if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRulesSetting';}return this.apiClient.callApi('/api/v2/users/rules/settings/{ruleType}','GET',{'ruleType':ruleType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21296
21519
|
* Update an existing users rule
|
|
21297
21520
|
* This will update an existing users rule with the specified fields.
|
|
21298
21521
|
* @param {String} ruleId The ID of the rule to update
|
|
21299
21522
|
* @param {Object} body updateRuleRequest
|
|
21300
|
-
* patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21301
21523
|
*/},{key:"patchUsersRule",value:function patchUsersRule(ruleId,body){// verify the required parameter 'ruleId' is set
|
|
21302
21524
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling patchUsersRule';}// verify the required parameter 'body' is set
|
|
21303
21525
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21304
21526
|
* Create a new rule
|
|
21305
21527
|
* This will create a new rule with the specified fields.
|
|
21306
21528
|
* @param {Object} body usersRulesCreateRuleRequest
|
|
21307
|
-
* postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21308
21529
|
*/},{key:"postUsersRules",value:function postUsersRules(body){// verify the required parameter 'body' is set
|
|
21309
21530
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21310
21531
|
* Query the result of a users rule
|
|
@@ -21313,12 +21534,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21313
21534
|
* @param {Object} opts Optional parameters
|
|
21314
21535
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21315
21536
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
21316
|
-
* postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21317
21537
|
*/},{key:"postUsersRulesQuery",value:function postUsersRulesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
21318
21538
|
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']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
21319
21539
|
* Utilities service.
|
|
21320
21540
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21321
|
-
* @version
|
|
21541
|
+
* @version 246.0.0
|
|
21322
21542
|
*//**
|
|
21323
21543
|
* Constructs a new UtilitiesApi.
|
|
21324
21544
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21345,7 +21565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21345
21565
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
21346
21566
|
* Voicemail service.
|
|
21347
21567
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21348
|
-
* @version
|
|
21568
|
+
* @version 246.0.0
|
|
21349
21569
|
*//**
|
|
21350
21570
|
* Constructs a new VoicemailApi.
|
|
21351
21571
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21507,7 +21727,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21507
21727
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
21508
21728
|
* WebChat service.
|
|
21509
21729
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21510
|
-
* @version
|
|
21730
|
+
* @version 246.0.0
|
|
21511
21731
|
*//**
|
|
21512
21732
|
* Constructs a new WebChatApi.
|
|
21513
21733
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21654,7 +21874,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21654
21874
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
21655
21875
|
* WebDeployments service.
|
|
21656
21876
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21657
|
-
* @version
|
|
21877
|
+
* @version 246.0.0
|
|
21658
21878
|
*//**
|
|
21659
21879
|
* Constructs a new WebDeploymentsApi.
|
|
21660
21880
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21693,10 +21913,14 @@ if(sessionId===undefined||sessionId===null||sessionId===''){throw'Missing the re
|
|
|
21693
21913
|
if(configurationId===undefined||configurationId===null||configurationId===''){throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersion';}// verify the required parameter 'versionId' is set
|
|
21694
21914
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getWebdeploymentsConfigurationVersion';}return this.apiClient.callApi('/api/v2/webdeployments/configurations/{configurationId}/versions/{versionId}','GET',{'configurationId':configurationId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21695
21915
|
* Get the versions of a configuration
|
|
21696
|
-
*
|
|
21916
|
+
*
|
|
21697
21917
|
* @param {String} configurationId The configuration version ID
|
|
21698
|
-
|
|
21699
|
-
|
|
21918
|
+
* @param {Object} opts Optional parameters
|
|
21919
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
21920
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
21921
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
21922
|
+
*/},{key:"getWebdeploymentsConfigurationVersions",value:function getWebdeploymentsConfigurationVersions(configurationId,opts){opts=opts||{};// verify the required parameter 'configurationId' is set
|
|
21923
|
+
if(configurationId===undefined||configurationId===null||configurationId===''){throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';}return this.apiClient.callApi('/api/v2/webdeployments/configurations/{configurationId}/versions','GET',{'configurationId':configurationId},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21700
21924
|
* Get the configuration draft
|
|
21701
21925
|
*
|
|
21702
21926
|
* @param {String} configurationId The configuration version ID
|
|
@@ -21705,8 +21929,11 @@ if(configurationId===undefined||configurationId===null||configurationId===''){th
|
|
|
21705
21929
|
* View configuration drafts
|
|
21706
21930
|
*
|
|
21707
21931
|
* @param {Object} opts Optional parameters
|
|
21932
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
21933
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
21934
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
21708
21935
|
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
21709
|
-
*/},{key:"getWebdeploymentsConfigurations",value:function getWebdeploymentsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/configurations','GET',{},{'showOnlyPublished':opts['showOnlyPublished']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21936
|
+
*/},{key:"getWebdeploymentsConfigurations",value:function getWebdeploymentsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/configurations','GET',{},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after'],'showOnlyPublished':opts['showOnlyPublished']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21710
21937
|
* Get a deployment
|
|
21711
21938
|
*
|
|
21712
21939
|
* @param {String} deploymentId The deployment ID
|
|
@@ -21737,8 +21964,11 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21737
21964
|
* Get deployments
|
|
21738
21965
|
*
|
|
21739
21966
|
* @param {Object} opts Optional parameters
|
|
21967
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
21968
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
21969
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
21740
21970
|
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
21741
|
-
*/},{key:"getWebdeploymentsDeployments",value:function getWebdeploymentsDeployments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/deployments','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21971
|
+
*/},{key:"getWebdeploymentsDeployments",value:function getWebdeploymentsDeployments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/deployments','GET',{},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21742
21972
|
* Publish the configuration draft and create a new version
|
|
21743
21973
|
*
|
|
21744
21974
|
* @param {String} configurationId The configuration version ID
|
|
@@ -21787,7 +22017,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21787
22017
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
21788
22018
|
* WebMessaging service.
|
|
21789
22019
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21790
|
-
* @version
|
|
22020
|
+
* @version 246.0.0
|
|
21791
22021
|
*//**
|
|
21792
22022
|
* Constructs a new WebMessagingApi.
|
|
21793
22023
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21828,7 +22058,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
21828
22058
|
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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
21829
22059
|
* Widgets service.
|
|
21830
22060
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21831
|
-
* @version
|
|
22061
|
+
* @version 246.0.0
|
|
21832
22062
|
*//**
|
|
21833
22063
|
* Constructs a new WidgetsApi.
|
|
21834
22064
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21868,7 +22098,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21868
22098
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
21869
22099
|
* WorkforceManagement service.
|
|
21870
22100
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21871
|
-
* @version
|
|
22101
|
+
* @version 246.0.0
|
|
21872
22102
|
*//**
|
|
21873
22103
|
* Constructs a new WorkforceManagementApi.
|
|
21874
22104
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23891,7 +24121,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23891
24121
|
* </pre>
|
|
23892
24122
|
* </p>
|
|
23893
24123
|
* @module purecloud-platform-client-v2/index
|
|
23894
|
-
* @version
|
|
24124
|
+
* @version 246.0.0
|
|
23895
24125
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23896
24126
|
* The ApiClient constructor.
|
|
23897
24127
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|