purecloud-platform-client-v2 211.0.0 → 212.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 +433 -88
- package/dist/web-amd/purecloud-platform-client-v2.js +433 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +172 -88
- package/dist/web-cjs/purecloud-platform-client-v2.js +173 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +230 -10
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- 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 +187 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.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/BillingApi.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 +7 -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 +3 -2
- 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/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 -2
- 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 +2 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +156 -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/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -882,7 +882,7 @@ return _createClass(HttpRequestOptions,[{key:"setUrl",value:function setUrl(url)
|
|
|
882
882
|
var DefaultHttpClient=/*#__PURE__*/function(_AbstractHttpClient){function DefaultHttpClient(timeout,httpsAgent){var _this2;_classCallCheck(this,DefaultHttpClient);_this2=_callSuper(this,DefaultHttpClient);if(timeout!==null&&timeout!==undefined)_this2.setTimeout(timeout);else _this2.timeout=16000;if(httpsAgent!==null&&httpsAgent!==undefined)_this2.setHttpsAgent(httpsAgent);else _this2.httpsAgent;_this2._axiosInstance=axios$1.create({});return _this2;}_inherits(DefaultHttpClient,_AbstractHttpClient);return _createClass(DefaultHttpClient,[{key:"request",value:function request(httpRequestOptions){if(!(httpRequestOptions instanceof HttpRequestOptions)){throw new Error("httpRequestOptions must be instance of HttpRequestOptions ");}var config=this.toAxiosConfig(httpRequestOptions);return this._axiosInstance.request(config);}// Method to generate Axios-compatible config
|
|
883
883
|
},{key:"toAxiosConfig",value:function toAxiosConfig(httpRequestOptions){if(!httpRequestOptions.url||!httpRequestOptions.method){throw new Error("Mandatory fields 'url' and 'method' must be set before making a request");}var config={url:httpRequestOptions.url,method:httpRequestOptions.method};if(httpRequestOptions.params)config.params=httpRequestOptions.params;if(httpRequestOptions.headers)config.headers=httpRequestOptions.headers;if(httpRequestOptions.data)config.data=httpRequestOptions.data;if(this.timeout!=null&&this.timeout!=undefined)config.timeout=this.timeout;if(this.httpsAgent)config.httpsAgent=this.httpsAgent;return config;}}]);}(AbstractHttpClient);/**
|
|
884
884
|
* @module purecloud-platform-client-v2/ApiClient
|
|
885
|
-
* @version
|
|
885
|
+
* @version 212.0.0
|
|
886
886
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
887
887
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
888
888
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1093,7 +1093,7 @@ if(error.response){_this10.config.logger.log('error',error.response.status,'POST
|
|
|
1093
1093
|
* @description Utility function to create the request for auth requests
|
|
1094
1094
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
1095
1095
|
* @param {object} data - data to url form encode
|
|
1096
|
-
*/},{key:"_formAuthRequest",value:function _formAuthRequest(encodedData,data){var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));var headers={'Authorization':'Basic '+encodedData,'Content-Type':'application/x-www-form-urlencoded'};var requestOptions=new HttpRequestOptions(loginBasePath,"POST",headers,null,qs__default["default"].stringify(data),this.timeout);var httpClient=this.getHttpClient();return httpClient.request(requestOptions);}/**
|
|
1096
|
+
*/},{key:"_formAuthRequest",value:function _formAuthRequest(encodedData,data){var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));var headers={'Authorization':'Basic '+encodedData,'Content-Type':'application/x-www-form-urlencoded'};var requestOptions=new HttpRequestOptions("".concat(loginBasePath,"/oauth/token"),"POST",headers,null,qs__default["default"].stringify(data),this.timeout);var httpClient=this.getHttpClient();return httpClient.request(requestOptions);}/**
|
|
1097
1097
|
* @description Handles an expired access token. Only available in node apps.
|
|
1098
1098
|
* @param {string} statusCode - The status code of a request
|
|
1099
1099
|
*/},{key:"_handleExpiredAccessToken",value:function _handleExpiredAccessToken(){var _this11=this;return new Promise(function(resolve,reject){if(typeof window!=='undefined'){reject(new Error('This method is not supported in a browser.'));return;}if(!_this11.refreshInProgress){_this11.refreshInProgress=true;_this11.refreshCodeAuthorizationGrant(_this11.clientId,_this11.clientSecret,_this11.authData.refreshToken).then(function(){_this11.refreshInProgress=false;resolve();})["catch"](function(err){// Handle failure response
|
|
@@ -1219,7 +1219,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1219
1219
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1220
1220
|
* AgentAssistants service.
|
|
1221
1221
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1222
|
-
* @version
|
|
1222
|
+
* @version 212.0.0
|
|
1223
1223
|
*//**
|
|
1224
1224
|
* Constructs a new AgentAssistantsApi.
|
|
1225
1225
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1320,7 +1320,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1320
1320
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1321
1321
|
* AgentCopilot service.
|
|
1322
1322
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1323
|
-
* @version
|
|
1323
|
+
* @version 212.0.0
|
|
1324
1324
|
*//**
|
|
1325
1325
|
* Constructs a new AgentCopilotApi.
|
|
1326
1326
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1342,7 +1342,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1342
1342
|
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(){/**
|
|
1343
1343
|
* AgentUI service.
|
|
1344
1344
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1345
|
-
* @version
|
|
1345
|
+
* @version 212.0.0
|
|
1346
1346
|
*//**
|
|
1347
1347
|
* Constructs a new AgentUIApi.
|
|
1348
1348
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1376,7 +1376,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1376
1376
|
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(){/**
|
|
1377
1377
|
* Alerting service.
|
|
1378
1378
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1379
|
-
* @version
|
|
1379
|
+
* @version 212.0.0
|
|
1380
1380
|
*//**
|
|
1381
1381
|
* Constructs a new AlertingApi.
|
|
1382
1382
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1533,7 +1533,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1533
1533
|
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(){/**
|
|
1534
1534
|
* Analytics service.
|
|
1535
1535
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1536
|
-
* @version
|
|
1536
|
+
* @version 212.0.0
|
|
1537
1537
|
*//**
|
|
1538
1538
|
* Constructs a new AnalyticsApi.
|
|
1539
1539
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1565,6 +1565,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1565
1565
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1566
1566
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1567
1567
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1568
|
+
* Get an agent and their active sessions by user ID
|
|
1569
|
+
*
|
|
1570
|
+
* @param {String} userId userId
|
|
1571
|
+
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1572
|
+
*/},{key:"getAnalyticsAgentStatus",value:function getAnalyticsAgentStatus(userId){// verify the required parameter 'userId' is set
|
|
1573
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';}return this.apiClient.callApi('/api/v2/analytics/agents/{userId}/status','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1568
1574
|
* Get status for async query for agent copilot aggregates
|
|
1569
1575
|
*
|
|
1570
1576
|
* @param {String} jobId jobId
|
|
@@ -1810,6 +1816,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1810
1816
|
* getAnalyticsResolutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1811
1817
|
*/},{key:"getAnalyticsResolutionsAggregatesJobResults",value:function getAnalyticsResolutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1812
1818
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1819
|
+
* Get status for async query for summary aggregates
|
|
1820
|
+
*
|
|
1821
|
+
* @param {String} jobId jobId
|
|
1822
|
+
* getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1823
|
+
*/},{key:"getAnalyticsSummariesAggregatesJob",value:function getAnalyticsSummariesAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
1824
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1825
|
+
* Fetch a page of results for an async aggregates query
|
|
1826
|
+
*
|
|
1827
|
+
* @param {String} jobId jobId
|
|
1828
|
+
* @param {Object} opts Optional parameters
|
|
1829
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
1830
|
+
* getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1831
|
+
*/},{key:"getAnalyticsSummariesAggregatesJobResults",value:function getAnalyticsSummariesAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1832
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1813
1833
|
* Get status for async query for survey aggregates
|
|
1814
1834
|
*
|
|
1815
1835
|
* @param {String} jobId jobId
|
|
@@ -1909,6 +1929,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1909
1929
|
* @param {Object} body query
|
|
1910
1930
|
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1911
1931
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1932
|
+
* Count agents by segment type
|
|
1933
|
+
*
|
|
1934
|
+
* @param {Object} body query
|
|
1935
|
+
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1936
|
+
*/},{key:"postAnalyticsAgentsStatusCounts",value:function postAnalyticsAgentsStatusCounts(body){// verify the required parameter 'body' is set
|
|
1937
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';}return this.apiClient.callApi('/api/v2/analytics/agents/status/counts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1938
|
+
* Retrieve the top 50 agents matching the query filters
|
|
1939
|
+
*
|
|
1940
|
+
* @param {Object} body query
|
|
1941
|
+
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1942
|
+
*/},{key:"postAnalyticsAgentsStatusQuery",value:function postAnalyticsAgentsStatusQuery(body){// verify the required parameter 'body' is set
|
|
1943
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';}return this.apiClient.callApi('/api/v2/analytics/agents/status/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1912
1944
|
* Query for bot aggregates asynchronously
|
|
1913
1945
|
*
|
|
1914
1946
|
* @param {Object} body query
|
|
@@ -2073,6 +2105,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2073
2105
|
* @param {Number} opts.pageNumber The desired page number
|
|
2074
2106
|
*/},{key:"postAnalyticsRoutingActivityQuery",value:function postAnalyticsRoutingActivityQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2075
2107
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';}return this.apiClient.callApi('/api/v2/analytics/routing/activity/query','POST',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2108
|
+
* Query for summary aggregates asynchronously
|
|
2109
|
+
*
|
|
2110
|
+
* @param {Object} body query
|
|
2111
|
+
* postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2112
|
+
*/},{key:"postAnalyticsSummariesAggregatesJobs",value:function postAnalyticsSummariesAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
2113
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2114
|
+
* Query for summary aggregates
|
|
2115
|
+
*
|
|
2116
|
+
* @param {Object} body query
|
|
2117
|
+
* postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2118
|
+
*/},{key:"postAnalyticsSummariesAggregatesQuery",value:function postAnalyticsSummariesAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
2119
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2076
2120
|
* Query for survey aggregates asynchronously
|
|
2077
2121
|
*
|
|
2078
2122
|
* @param {Object} body query
|
|
@@ -2155,7 +2199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2155
2199
|
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(){/**
|
|
2156
2200
|
* Architect service.
|
|
2157
2201
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2158
|
-
* @version
|
|
2202
|
+
* @version 212.0.0
|
|
2159
2203
|
*//**
|
|
2160
2204
|
* Constructs a new ArchitectApi.
|
|
2161
2205
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3247,7 +3291,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3247
3291
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3248
3292
|
* Audit service.
|
|
3249
3293
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3250
|
-
* @version
|
|
3294
|
+
* @version 212.0.0
|
|
3251
3295
|
*//**
|
|
3252
3296
|
* Constructs a new AuditApi.
|
|
3253
3297
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3297,7 +3341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3297
3341
|
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(){/**
|
|
3298
3342
|
* Authorization service.
|
|
3299
3343
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3300
|
-
* @version
|
|
3344
|
+
* @version 212.0.0
|
|
3301
3345
|
*//**
|
|
3302
3346
|
* Constructs a new AuthorizationApi.
|
|
3303
3347
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3620,7 +3664,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3620
3664
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3621
3665
|
* Billing service.
|
|
3622
3666
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3623
|
-
* @version
|
|
3667
|
+
* @version 212.0.0
|
|
3624
3668
|
*//**
|
|
3625
3669
|
* Constructs a new BillingApi.
|
|
3626
3670
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3644,7 +3688,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3644
3688
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3645
3689
|
* CarrierServices service.
|
|
3646
3690
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3647
|
-
* @version
|
|
3691
|
+
* @version 212.0.0
|
|
3648
3692
|
*//**
|
|
3649
3693
|
* Constructs a new CarrierServicesApi.
|
|
3650
3694
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3664,7 +3708,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3664
3708
|
*/},{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(){/**
|
|
3665
3709
|
* Chat service.
|
|
3666
3710
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3667
|
-
* @version
|
|
3711
|
+
* @version 212.0.0
|
|
3668
3712
|
*//**
|
|
3669
3713
|
* Constructs a new ChatApi.
|
|
3670
3714
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3889,7 +3933,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3889
3933
|
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(){/**
|
|
3890
3934
|
* Coaching service.
|
|
3891
3935
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3892
|
-
* @version
|
|
3936
|
+
* @version 212.0.0
|
|
3893
3937
|
*//**
|
|
3894
3938
|
* Constructs a new CoachingApi.
|
|
3895
3939
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4042,7 +4086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4042
4086
|
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(){/**
|
|
4043
4087
|
* ContentManagement service.
|
|
4044
4088
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4045
|
-
* @version
|
|
4089
|
+
* @version 212.0.0
|
|
4046
4090
|
*//**
|
|
4047
4091
|
* Constructs a new ContentManagementApi.
|
|
4048
4092
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4324,7 +4368,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4324
4368
|
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(){/**
|
|
4325
4369
|
* Conversations service.
|
|
4326
4370
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4327
|
-
* @version
|
|
4371
|
+
* @version 212.0.0
|
|
4328
4372
|
*//**
|
|
4329
4373
|
* Constructs a new ConversationsApi.
|
|
4330
4374
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5836,8 +5880,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5836
5880
|
* Send an agentless outbound message
|
|
5837
5881
|
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and toAddress specified, the useExistingActiveConversation param can be used to barge in to the ongoing conversation.
|
|
5838
5882
|
* @param {Object} body Create agentless outbound messaging request
|
|
5839
|
-
|
|
5840
|
-
|
|
5883
|
+
* @param {Object} opts Optional parameters
|
|
5884
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
|
|
5885
|
+
*/},{key:"postConversationsMessagesAgentless",value:function postConversationsMessagesAgentless(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5886
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagesAgentless';}return this.apiClient.callApi('/api/v2/conversations/messages/agentless','POST',{},{'useNormalizedMessage':opts['useNormalizedMessage']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5841
5887
|
* Send an inbound Open Message
|
|
5842
5888
|
* [This API is deprecated. Instead, use 1. POST /api/v2/conversations/messages/{integrationId}/inbound/open/event, if you want to send an inbound Open Event Message 2. POST /api/v2/conversations/messages/{integrationId}/inbound/open/message, if you want to send an inbound Open Message 3. POST /api/v2/conversations/messages/{integrationId}/inbound/open/receipt, to send an inbound Open Receipt Message] In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
5843
5889
|
* @param {Object} body NormalizedMessage
|
|
@@ -6052,7 +6098,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6052
6098
|
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(){/**
|
|
6053
6099
|
* DataExtensions service.
|
|
6054
6100
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6055
|
-
* @version
|
|
6101
|
+
* @version 212.0.0
|
|
6056
6102
|
*//**
|
|
6057
6103
|
* Constructs a new DataExtensionsApi.
|
|
6058
6104
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6073,7 +6119,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6073
6119
|
*/},{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(){/**
|
|
6074
6120
|
* DataPrivacy service.
|
|
6075
6121
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6076
|
-
* @version
|
|
6122
|
+
* @version 212.0.0
|
|
6077
6123
|
*//**
|
|
6078
6124
|
* Constructs a new DataPrivacyApi.
|
|
6079
6125
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6113,7 +6159,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6113
6159
|
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(){/**
|
|
6114
6160
|
* Downloads service.
|
|
6115
6161
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6116
|
-
* @version
|
|
6162
|
+
* @version 212.0.0
|
|
6117
6163
|
*//**
|
|
6118
6164
|
* Constructs a new DownloadsApi.
|
|
6119
6165
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6132,7 +6178,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6132
6178
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6133
6179
|
* Emails service.
|
|
6134
6180
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6135
|
-
* @version
|
|
6181
|
+
* @version 212.0.0
|
|
6136
6182
|
*//**
|
|
6137
6183
|
* Constructs a new EmailsApi.
|
|
6138
6184
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6150,7 +6196,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6150
6196
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6151
6197
|
* EmployeeEngagement service.
|
|
6152
6198
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6153
|
-
* @version
|
|
6199
|
+
* @version 212.0.0
|
|
6154
6200
|
*//**
|
|
6155
6201
|
* Constructs a new EmployeeEngagementApi.
|
|
6156
6202
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6188,7 +6234,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6188
6234
|
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(){/**
|
|
6189
6235
|
* Events service.
|
|
6190
6236
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6191
|
-
* @version
|
|
6237
|
+
* @version 212.0.0
|
|
6192
6238
|
*//**
|
|
6193
6239
|
* Constructs a new EventsApi.
|
|
6194
6240
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6213,7 +6259,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6213
6259
|
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(){/**
|
|
6214
6260
|
* ExternalContacts service.
|
|
6215
6261
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6216
|
-
* @version
|
|
6262
|
+
* @version 212.0.0
|
|
6217
6263
|
*//**
|
|
6218
6264
|
* Constructs a new ExternalContactsApi.
|
|
6219
6265
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6649,10 +6695,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6649
6695
|
*/},{key:"postExternalcontactsExternalsources",value:function postExternalcontactsExternalsources(body){// verify the required parameter 'body' is set
|
|
6650
6696
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6651
6697
|
* Fetch a contact using an identifier type and value.
|
|
6652
|
-
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
6698
|
+
* NOTE: Deprecated. Please use /api/v2/externalcontacts/identifierlookup/contacts as an alternative endpoint instead. Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
6653
6699
|
* @param {Object} identifier
|
|
6654
6700
|
* @param {Object} opts Optional parameters
|
|
6655
6701
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
6702
|
+
* @deprecated
|
|
6656
6703
|
*/},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
6657
6704
|
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6658
6705
|
* Create CSV import job
|
|
@@ -6804,7 +6851,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6804
6851
|
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(){/**
|
|
6805
6852
|
* Fax service.
|
|
6806
6853
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6807
|
-
* @version
|
|
6854
|
+
* @version 212.0.0
|
|
6808
6855
|
*//**
|
|
6809
6856
|
* Constructs a new FaxApi.
|
|
6810
6857
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6853,7 +6900,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6853
6900
|
*/},{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(){/**
|
|
6854
6901
|
* Flows service.
|
|
6855
6902
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6856
|
-
* @version
|
|
6903
|
+
* @version 212.0.0
|
|
6857
6904
|
*//**
|
|
6858
6905
|
* Constructs a new FlowsApi.
|
|
6859
6906
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6901,7 +6948,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6901
6948
|
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(){/**
|
|
6902
6949
|
* Gamification service.
|
|
6903
6950
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6904
|
-
* @version
|
|
6951
|
+
* @version 212.0.0
|
|
6905
6952
|
*//**
|
|
6906
6953
|
* Constructs a new GamificationApi.
|
|
6907
6954
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7441,7 +7488,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7441
7488
|
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(){/**
|
|
7442
7489
|
* GeneralDataProtectionRegulation service.
|
|
7443
7490
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7444
|
-
* @version
|
|
7491
|
+
* @version 212.0.0
|
|
7445
7492
|
*//**
|
|
7446
7493
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7447
7494
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7476,7 +7523,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7476
7523
|
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(){/**
|
|
7477
7524
|
* Geolocation service.
|
|
7478
7525
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7479
|
-
* @version
|
|
7526
|
+
* @version 212.0.0
|
|
7480
7527
|
*//**
|
|
7481
7528
|
* Constructs a new GeolocationApi.
|
|
7482
7529
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7510,7 +7557,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7510
7557
|
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(){/**
|
|
7511
7558
|
* Greetings service.
|
|
7512
7559
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7513
|
-
* @version
|
|
7560
|
+
* @version 212.0.0
|
|
7514
7561
|
*//**
|
|
7515
7562
|
* Constructs a new GreetingsApi.
|
|
7516
7563
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7617,7 +7664,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7617
7664
|
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(){/**
|
|
7618
7665
|
* Groups service.
|
|
7619
7666
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7620
|
-
* @version
|
|
7667
|
+
* @version 212.0.0
|
|
7621
7668
|
*//**
|
|
7622
7669
|
* Constructs a new GroupsApi.
|
|
7623
7670
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7750,7 +7797,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7750
7797
|
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(){/**
|
|
7751
7798
|
* IdentityProvider service.
|
|
7752
7799
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7753
|
-
* @version
|
|
7800
|
+
* @version 212.0.0
|
|
7754
7801
|
*//**
|
|
7755
7802
|
* Constructs a new IdentityProviderApi.
|
|
7756
7803
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7906,7 +7953,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7906
7953
|
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(){/**
|
|
7907
7954
|
* InfrastructureAsCode service.
|
|
7908
7955
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7909
|
-
* @version
|
|
7956
|
+
* @version 212.0.0
|
|
7910
7957
|
*//**
|
|
7911
7958
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7912
7959
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7960,7 +8007,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7960
8007
|
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(){/**
|
|
7961
8008
|
* Integrations service.
|
|
7962
8009
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7963
|
-
* @version
|
|
8010
|
+
* @version 212.0.0
|
|
7964
8011
|
*//**
|
|
7965
8012
|
* Constructs a new IntegrationsApi.
|
|
7966
8013
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8595,7 +8642,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8595
8642
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8596
8643
|
* Journey service.
|
|
8597
8644
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8598
|
-
* @version
|
|
8645
|
+
* @version 212.0.0
|
|
8599
8646
|
*//**
|
|
8600
8647
|
* Constructs a new JourneyApi.
|
|
8601
8648
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -9072,7 +9119,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
9072
9119
|
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(){/**
|
|
9073
9120
|
* Knowledge service.
|
|
9074
9121
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
9075
|
-
* @version
|
|
9122
|
+
* @version 212.0.0
|
|
9076
9123
|
*//**
|
|
9077
9124
|
* Constructs a new KnowledgeApi.
|
|
9078
9125
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -10142,7 +10189,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10142
10189
|
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(){/**
|
|
10143
10190
|
* LanguageUnderstanding service.
|
|
10144
10191
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10145
|
-
* @version
|
|
10192
|
+
* @version 212.0.0
|
|
10146
10193
|
*//**
|
|
10147
10194
|
* Constructs a new LanguageUnderstandingApi.
|
|
10148
10195
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10310,7 +10357,6 @@ if(minerId===undefined||minerId===null){throw'Missing the required parameter "mi
|
|
|
10310
10357
|
*/},{key:"getLanguageunderstandingMiners",value:function getLanguageunderstandingMiners(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/languageunderstanding/miners','GET',{},{'minerType':opts['minerType']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10311
10358
|
* Get Organization Configuration
|
|
10312
10359
|
*
|
|
10313
|
-
* getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10314
10360
|
*/},{key:"getLanguageunderstandingSettings",value:function getLanguageunderstandingSettings(){return this.apiClient.callApi('/api/v2/languageunderstanding/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10315
10361
|
* Update an NLU Domain.
|
|
10316
10362
|
*
|
|
@@ -10402,7 +10448,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10402
10448
|
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(){/**
|
|
10403
10449
|
* Languages service.
|
|
10404
10450
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10405
|
-
* @version
|
|
10451
|
+
* @version 212.0.0
|
|
10406
10452
|
*//**
|
|
10407
10453
|
* Constructs a new LanguagesApi.
|
|
10408
10454
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10457,7 +10503,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10457
10503
|
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(){/**
|
|
10458
10504
|
* Learning service.
|
|
10459
10505
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10460
|
-
* @version
|
|
10506
|
+
* @version 212.0.0
|
|
10461
10507
|
*//**
|
|
10462
10508
|
* Constructs a new LearningApi.
|
|
10463
10509
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10728,7 +10774,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10728
10774
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
10729
10775
|
* License service.
|
|
10730
10776
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10731
|
-
* @version
|
|
10777
|
+
* @version 212.0.0
|
|
10732
10778
|
*//**
|
|
10733
10779
|
* Constructs a new LicenseApi.
|
|
10734
10780
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10782,7 +10828,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10782
10828
|
*/},{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(){/**
|
|
10783
10829
|
* Locations service.
|
|
10784
10830
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10785
|
-
* @version
|
|
10831
|
+
* @version 212.0.0
|
|
10786
10832
|
*//**
|
|
10787
10833
|
* Constructs a new LocationsApi.
|
|
10788
10834
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10841,7 +10887,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10841
10887
|
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(){/**
|
|
10842
10888
|
* LogCapture service.
|
|
10843
10889
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10844
|
-
* @version
|
|
10890
|
+
* @version 212.0.0
|
|
10845
10891
|
*//**
|
|
10846
10892
|
* Constructs a new LogCaptureApi.
|
|
10847
10893
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10891,7 +10937,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10891
10937
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10892
10938
|
* Messaging service.
|
|
10893
10939
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10894
|
-
* @version
|
|
10940
|
+
* @version 212.0.0
|
|
10895
10941
|
*//**
|
|
10896
10942
|
* Constructs a new MessagingApi.
|
|
10897
10943
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10981,7 +11027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10981
11027
|
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(){/**
|
|
10982
11028
|
* MobileDevices service.
|
|
10983
11029
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10984
|
-
* @version
|
|
11030
|
+
* @version 212.0.0
|
|
10985
11031
|
*//**
|
|
10986
11032
|
* Constructs a new MobileDevicesApi.
|
|
10987
11033
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -11020,7 +11066,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11020
11066
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
11021
11067
|
* Notifications service.
|
|
11022
11068
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
11023
|
-
* @version
|
|
11069
|
+
* @version 212.0.0
|
|
11024
11070
|
*//**
|
|
11025
11071
|
* Constructs a new NotificationsApi.
|
|
11026
11072
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -11077,7 +11123,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
11077
11123
|
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(){/**
|
|
11078
11124
|
* OAuth service.
|
|
11079
11125
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
11080
|
-
* @version
|
|
11126
|
+
* @version 212.0.0
|
|
11081
11127
|
*//**
|
|
11082
11128
|
* Constructs a new OAuthApi.
|
|
11083
11129
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11162,7 +11208,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11162
11208
|
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(){/**
|
|
11163
11209
|
* Objects service.
|
|
11164
11210
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11165
|
-
* @version
|
|
11211
|
+
* @version 212.0.0
|
|
11166
11212
|
*//**
|
|
11167
11213
|
* Constructs a new ObjectsApi.
|
|
11168
11214
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11233,7 +11279,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11233
11279
|
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(){/**
|
|
11234
11280
|
* OperationalEvents service.
|
|
11235
11281
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11236
|
-
* @version
|
|
11282
|
+
* @version 212.0.0
|
|
11237
11283
|
*//**
|
|
11238
11284
|
* Constructs a new OperationalEventsApi.
|
|
11239
11285
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11264,7 +11310,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
11264
11310
|
*/},{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(){/**
|
|
11265
11311
|
* Organization service.
|
|
11266
11312
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11267
|
-
* @version
|
|
11313
|
+
* @version 212.0.0
|
|
11268
11314
|
*//**
|
|
11269
11315
|
* Constructs a new OrganizationApi.
|
|
11270
11316
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11389,7 +11435,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11389
11435
|
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(){/**
|
|
11390
11436
|
* OrganizationAuthorization service.
|
|
11391
11437
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11392
|
-
* @version
|
|
11438
|
+
* @version 212.0.0
|
|
11393
11439
|
*//**
|
|
11394
11440
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11395
11441
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11723,7 +11769,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11723
11769
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11724
11770
|
* Outbound service.
|
|
11725
11771
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11726
|
-
* @version
|
|
11772
|
+
* @version 212.0.0
|
|
11727
11773
|
*//**
|
|
11728
11774
|
* Constructs a new OutboundApi.
|
|
11729
11775
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12830,7 +12876,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12830
12876
|
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(){/**
|
|
12831
12877
|
* Presence service.
|
|
12832
12878
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12833
|
-
* @version
|
|
12879
|
+
* @version 212.0.0
|
|
12834
12880
|
*//**
|
|
12835
12881
|
* Constructs a new PresenceApi.
|
|
12836
12882
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -13003,7 +13049,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13003
13049
|
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(){/**
|
|
13004
13050
|
* ProcessAutomation service.
|
|
13005
13051
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
13006
|
-
* @version
|
|
13052
|
+
* @version 212.0.0
|
|
13007
13053
|
*//**
|
|
13008
13054
|
* Constructs a new ProcessAutomationApi.
|
|
13009
13055
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -13066,7 +13112,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
13066
13112
|
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(){/**
|
|
13067
13113
|
* Quality service.
|
|
13068
13114
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
13069
|
-
* @version
|
|
13115
|
+
* @version 212.0.0
|
|
13070
13116
|
*//**
|
|
13071
13117
|
* Constructs a new QualityApi.
|
|
13072
13118
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13545,7 +13591,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13545
13591
|
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(){/**
|
|
13546
13592
|
* Recording service.
|
|
13547
13593
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13548
|
-
* @version
|
|
13594
|
+
* @version 212.0.0
|
|
13549
13595
|
*//**
|
|
13550
13596
|
* Constructs a new RecordingApi.
|
|
13551
13597
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13957,7 +14003,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13957
14003
|
*/},{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(){/**
|
|
13958
14004
|
* ResponseManagement service.
|
|
13959
14005
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13960
|
-
* @version
|
|
14006
|
+
* @version 212.0.0
|
|
13961
14007
|
*//**
|
|
13962
14008
|
* Constructs a new ResponseManagementApi.
|
|
13963
14009
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -14078,7 +14124,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
14078
14124
|
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(){/**
|
|
14079
14125
|
* Routing service.
|
|
14080
14126
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
14081
|
-
* @version
|
|
14127
|
+
* @version 212.0.0
|
|
14082
14128
|
*//**
|
|
14083
14129
|
* Constructs a new RoutingApi.
|
|
14084
14130
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14739,7 +14785,7 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
|
|
|
14739
14785
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling patchRoutingQueueMember';}// verify the required parameter 'memberId' is set
|
|
14740
14786
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling patchRoutingQueueMember';}// verify the required parameter 'body' is set
|
|
14741
14787
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingQueueMember';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/members/{memberId}','PATCH',{'queueId':queueId,'memberId':memberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14742
|
-
* Join or unjoin a set of users for a queue
|
|
14788
|
+
* Join or unjoin a set of up to 100 users for a queue
|
|
14743
14789
|
*
|
|
14744
14790
|
* @param {String} queueId Queue ID
|
|
14745
14791
|
* @param {Array.<Object>} body Queue Members
|
|
@@ -15084,7 +15130,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15084
15130
|
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(){/**
|
|
15085
15131
|
* SCIM service.
|
|
15086
15132
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
15087
|
-
* @version
|
|
15133
|
+
* @version 212.0.0
|
|
15088
15134
|
*//**
|
|
15089
15135
|
* Constructs a new SCIMApi.
|
|
15090
15136
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15309,7 +15355,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15309
15355
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
15310
15356
|
* ScreenRecording service.
|
|
15311
15357
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15312
|
-
* @version
|
|
15358
|
+
* @version 212.0.0
|
|
15313
15359
|
*//**
|
|
15314
15360
|
* Constructs a new ScreenRecordingApi.
|
|
15315
15361
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15324,7 +15370,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15324
15370
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
15325
15371
|
* Scripts service.
|
|
15326
15372
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15327
|
-
* @version
|
|
15373
|
+
* @version 212.0.0
|
|
15328
15374
|
*//**
|
|
15329
15375
|
* Constructs a new ScriptsApi.
|
|
15330
15376
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15460,7 +15506,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15460
15506
|
*/},{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(){/**
|
|
15461
15507
|
* Search service.
|
|
15462
15508
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15463
|
-
* @version
|
|
15509
|
+
* @version 212.0.0
|
|
15464
15510
|
*//**
|
|
15465
15511
|
* Constructs a new SearchApi.
|
|
15466
15512
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15632,7 +15678,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15632
15678
|
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(){/**
|
|
15633
15679
|
* Settings service.
|
|
15634
15680
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15635
|
-
* @version
|
|
15681
|
+
* @version 212.0.0
|
|
15636
15682
|
*//**
|
|
15637
15683
|
* Constructs a new SettingsApi.
|
|
15638
15684
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15682,7 +15728,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15682
15728
|
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(){/**
|
|
15683
15729
|
* SocialMedia service.
|
|
15684
15730
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15685
|
-
* @version
|
|
15731
|
+
* @version 212.0.0
|
|
15686
15732
|
*//**
|
|
15687
15733
|
* Constructs a new SocialMediaApi.
|
|
15688
15734
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -15947,7 +15993,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15947
15993
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
15948
15994
|
* SpeechTextAnalytics service.
|
|
15949
15995
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15950
|
-
* @version
|
|
15996
|
+
* @version 212.0.0
|
|
15951
15997
|
*//**
|
|
15952
15998
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15953
15999
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -16246,7 +16292,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16246
16292
|
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(){/**
|
|
16247
16293
|
* Stations service.
|
|
16248
16294
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
16249
|
-
* @version
|
|
16295
|
+
* @version 212.0.0
|
|
16250
16296
|
*//**
|
|
16251
16297
|
* Constructs a new StationsApi.
|
|
16252
16298
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -16278,7 +16324,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
16278
16324
|
*/},{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(){/**
|
|
16279
16325
|
* Suggest service.
|
|
16280
16326
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
16281
|
-
* @version
|
|
16327
|
+
* @version 212.0.0
|
|
16282
16328
|
*//**
|
|
16283
16329
|
* Constructs a new SuggestApi.
|
|
16284
16330
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -16318,7 +16364,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16318
16364
|
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(){/**
|
|
16319
16365
|
* TaskManagement service.
|
|
16320
16366
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
16321
|
-
* @version
|
|
16367
|
+
* @version 212.0.0
|
|
16322
16368
|
*//**
|
|
16323
16369
|
* Constructs a new TaskManagementApi.
|
|
16324
16370
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -16346,6 +16392,13 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16346
16392
|
* @param {String} worktypeId Worktype id
|
|
16347
16393
|
*/},{key:"deleteTaskmanagementWorktype",value:function deleteTaskmanagementWorktype(worktypeId){// verify the required parameter 'worktypeId' is set
|
|
16348
16394
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','DELETE',{'worktypeId':worktypeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16395
|
+
* Delete a date based rule
|
|
16396
|
+
*
|
|
16397
|
+
* @param {String} worktypeId Worktype id
|
|
16398
|
+
* @param {String} ruleId ruleId
|
|
16399
|
+
*/},{key:"deleteTaskmanagementWorktypeFlowsDatebasedRule",value:function deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
16400
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
16401
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}','DELETE',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16349
16402
|
* Delete a rule
|
|
16350
16403
|
*
|
|
16351
16404
|
* @param {String} worktypeId Worktype id
|
|
@@ -16494,6 +16547,21 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16494
16547
|
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
16495
16548
|
*/},{key:"getTaskmanagementWorktype",value:function getTaskmanagementWorktype(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
16496
16549
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','GET',{'worktypeId':worktypeId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16550
|
+
* Get a date based rule
|
|
16551
|
+
*
|
|
16552
|
+
* @param {String} worktypeId Worktype id
|
|
16553
|
+
* @param {String} ruleId ruleId
|
|
16554
|
+
*/},{key:"getTaskmanagementWorktypeFlowsDatebasedRule",value:function getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
16555
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
16556
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}','GET',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16557
|
+
* Get all date based rules for a worktype
|
|
16558
|
+
*
|
|
16559
|
+
* @param {String} worktypeId Worktype id
|
|
16560
|
+
* @param {Object} opts Optional parameters
|
|
16561
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16562
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
16563
|
+
*/},{key:"getTaskmanagementWorktypeFlowsDatebasedRules",value:function getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
16564
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules','GET',{'worktypeId':worktypeId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16497
16565
|
* Get an attribute change rule
|
|
16498
16566
|
*
|
|
16499
16567
|
* @param {String} worktypeId Worktype id
|
|
@@ -16609,6 +16677,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16609
16677
|
*/},{key:"patchTaskmanagementWorktype",value:function patchTaskmanagementWorktype(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
16610
16678
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';}// verify the required parameter 'body' is set
|
|
16611
16679
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','PATCH',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16680
|
+
* Update the attributes of a date based rule
|
|
16681
|
+
*
|
|
16682
|
+
* @param {String} worktypeId Worktype id
|
|
16683
|
+
* @param {String} ruleId ruleId
|
|
16684
|
+
* @param {Object} body Rule
|
|
16685
|
+
*/},{key:"patchTaskmanagementWorktypeFlowsDatebasedRule",value:function patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId,body){// verify the required parameter 'worktypeId' is set
|
|
16686
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
16687
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'body' is set
|
|
16688
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}','PATCH',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16612
16689
|
* Update the attributes of a rule
|
|
16613
16690
|
*
|
|
16614
16691
|
* @param {String} worktypeId Worktype id
|
|
@@ -16684,6 +16761,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16684
16761
|
* @param {Object} body Schema
|
|
16685
16762
|
*/},{key:"postTaskmanagementWorkitemsSchemas",value:function postTaskmanagementWorkitemsSchemas(body){// verify the required parameter 'body' is set
|
|
16686
16763
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16764
|
+
* Add a date based rule to a worktype
|
|
16765
|
+
*
|
|
16766
|
+
* @param {String} worktypeId Worktype id
|
|
16767
|
+
* @param {Object} body Rule
|
|
16768
|
+
*/},{key:"postTaskmanagementWorktypeFlowsDatebasedRules",value:function postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
16769
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';}// verify the required parameter 'body' is set
|
|
16770
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules','POST',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16687
16771
|
* Add an attribute-change rule to a worktype
|
|
16688
16772
|
*
|
|
16689
16773
|
* @param {String} worktypeId Worktype id
|
|
@@ -16724,7 +16808,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16724
16808
|
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(){/**
|
|
16725
16809
|
* Teams service.
|
|
16726
16810
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16727
|
-
* @version
|
|
16811
|
+
* @version 212.0.0
|
|
16728
16812
|
*//**
|
|
16729
16813
|
* Constructs a new TeamsApi.
|
|
16730
16814
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16804,7 +16888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16804
16888
|
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(){/**
|
|
16805
16889
|
* Telephony service.
|
|
16806
16890
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16807
|
-
* @version
|
|
16891
|
+
* @version 212.0.0
|
|
16808
16892
|
*//**
|
|
16809
16893
|
* Constructs a new TelephonyApi.
|
|
16810
16894
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16851,7 +16935,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16851
16935
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
16852
16936
|
* TelephonyProvidersEdge service.
|
|
16853
16937
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16854
|
-
* @version
|
|
16938
|
+
* @version 212.0.0
|
|
16855
16939
|
*//**
|
|
16856
16940
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16857
16941
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17686,7 +17770,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17686
17770
|
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(){/**
|
|
17687
17771
|
* Textbots service.
|
|
17688
17772
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17689
|
-
* @version
|
|
17773
|
+
* @version 212.0.0
|
|
17690
17774
|
*//**
|
|
17691
17775
|
* Constructs a new TextbotsApi.
|
|
17692
17776
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17721,7 +17805,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17721
17805
|
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(){/**
|
|
17722
17806
|
* Tokens service.
|
|
17723
17807
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17724
|
-
* @version
|
|
17808
|
+
* @version 212.0.0
|
|
17725
17809
|
*//**
|
|
17726
17810
|
* Constructs a new TokensApi.
|
|
17727
17811
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17755,7 +17839,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17755
17839
|
*/},{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(){/**
|
|
17756
17840
|
* Uploads service.
|
|
17757
17841
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17758
|
-
* @version
|
|
17842
|
+
* @version 212.0.0
|
|
17759
17843
|
*//**
|
|
17760
17844
|
* Constructs a new UploadsApi.
|
|
17761
17845
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17821,7 +17905,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17821
17905
|
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(){/**
|
|
17822
17906
|
* Usage service.
|
|
17823
17907
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
17824
|
-
* @version
|
|
17908
|
+
* @version 212.0.0
|
|
17825
17909
|
*//**
|
|
17826
17910
|
* Constructs a new UsageApi.
|
|
17827
17911
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17875,7 +17959,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17875
17959
|
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(){/**
|
|
17876
17960
|
* UserRecordings service.
|
|
17877
17961
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17878
|
-
* @version
|
|
17962
|
+
* @version 212.0.0
|
|
17879
17963
|
*//**
|
|
17880
17964
|
* Constructs a new UserRecordingsApi.
|
|
17881
17965
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17932,7 +18016,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17932
18016
|
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(){/**
|
|
17933
18017
|
* Users service.
|
|
17934
18018
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17935
|
-
* @version
|
|
18019
|
+
* @version 212.0.0
|
|
17936
18020
|
*//**
|
|
17937
18021
|
* Constructs a new UsersApi.
|
|
17938
18022
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -18629,7 +18713,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
18629
18713
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
18630
18714
|
* Utilities service.
|
|
18631
18715
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
18632
|
-
* @version
|
|
18716
|
+
* @version 212.0.0
|
|
18633
18717
|
*//**
|
|
18634
18718
|
* Constructs a new UtilitiesApi.
|
|
18635
18719
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -18656,7 +18740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18656
18740
|
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(){/**
|
|
18657
18741
|
* Voicemail service.
|
|
18658
18742
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
18659
|
-
* @version
|
|
18743
|
+
* @version 212.0.0
|
|
18660
18744
|
*//**
|
|
18661
18745
|
* Constructs a new VoicemailApi.
|
|
18662
18746
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -18818,7 +18902,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18818
18902
|
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(){/**
|
|
18819
18903
|
* WebChat service.
|
|
18820
18904
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
18821
|
-
* @version
|
|
18905
|
+
* @version 212.0.0
|
|
18822
18906
|
*//**
|
|
18823
18907
|
* Constructs a new WebChatApi.
|
|
18824
18908
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18953,7 +19037,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18953
19037
|
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(){/**
|
|
18954
19038
|
* WebDeployments service.
|
|
18955
19039
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18956
|
-
* @version
|
|
19040
|
+
* @version 212.0.0
|
|
18957
19041
|
*//**
|
|
18958
19042
|
* Constructs a new WebDeploymentsApi.
|
|
18959
19043
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -19074,7 +19158,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19074
19158
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
19075
19159
|
* WebMessaging service.
|
|
19076
19160
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
19077
|
-
* @version
|
|
19161
|
+
* @version 212.0.0
|
|
19078
19162
|
*//**
|
|
19079
19163
|
* Constructs a new WebMessagingApi.
|
|
19080
19164
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -19090,7 +19174,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
19090
19174
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
19091
19175
|
* Widgets service.
|
|
19092
19176
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
19093
|
-
* @version
|
|
19177
|
+
* @version 212.0.0
|
|
19094
19178
|
*//**
|
|
19095
19179
|
* Constructs a new WidgetsApi.
|
|
19096
19180
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -19125,7 +19209,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19125
19209
|
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(){/**
|
|
19126
19210
|
* WorkforceManagement service.
|
|
19127
19211
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
19128
|
-
* @version
|
|
19212
|
+
* @version 212.0.0
|
|
19129
19213
|
*//**
|
|
19130
19214
|
* Constructs a new WorkforceManagementApi.
|
|
19131
19215
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -20902,7 +20986,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20902
20986
|
* </pre>
|
|
20903
20987
|
* </p>
|
|
20904
20988
|
* @module purecloud-platform-client-v2/index
|
|
20905
|
-
* @version
|
|
20989
|
+
* @version 212.0.0
|
|
20906
20990
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20907
20991
|
* The ApiClient constructor.
|
|
20908
20992
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|